diff --git a/404.html b/404.html index 3a707668a..d41e0700b 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Superhero Wallet
\ No newline at end of file +Superhero Wallet
\ No newline at end of file diff --git a/css/ae-account-details-tokens.55882403.css b/css/ae-account-details-tokens.55882403.css deleted file mode 100644 index 66a0aec47..000000000 --- a/css/ae-account-details-tokens.55882403.css +++ /dev/null @@ -1 +0,0 @@ -.account-details-tokens[data-v-45549c1b]{position:relative;overflow:hidden}.account-details-tokens .tokens-list[data-v-45549c1b]{padding-top:4px}.account-details-tokens .offline-message[data-v-45549c1b]{margin-top:40px} \ No newline at end of file diff --git a/css/ae-account-details-tokens.927fff82.css b/css/ae-account-details-tokens.927fff82.css new file mode 100644 index 000000000..f59654d91 --- /dev/null +++ b/css/ae-account-details-tokens.927fff82.css @@ -0,0 +1 @@ +.account-details-tokens[data-v-08c652fc]{position:relative;overflow:hidden}.account-details-tokens .tokens-list[data-v-08c652fc]{padding-top:4px}.account-details-tokens .offline-message[data-v-08c652fc]{margin-top:40px} \ No newline at end of file diff --git a/css/ae-account-details-transactions.9c39cc2e.css b/css/ae-account-details-transactions.9c39cc2e.css deleted file mode 100644 index 736bc76c5..000000000 --- a/css/ae-account-details-transactions.9c39cc2e.css +++ /dev/null @@ -1 +0,0 @@ -.account-details-transactions[data-v-76676c94]{--filter-top-offset:175px}.account-details-transactions[data-v-76676c94] .filters{position:sticky;top:calc(var(--filter-top-offset) + env(safe-area-inset-top))}.account-details-transactions .offline-message[data-v-76676c94]{margin-top:40px} \ No newline at end of file diff --git a/css/ae-account-details.13d9e4cd.css b/css/ae-account-details.13d9e4cd.css new file mode 100644 index 000000000..59d6cea25 --- /dev/null +++ b/css/ae-account-details.13d9e4cd.css @@ -0,0 +1 @@ +.account-ion-content[data-v-22dd5d44]{overflow:hidden;background-color:#191919} \ No newline at end of file diff --git a/css/ae-account-details.166c118f.css b/css/ae-account-details.166c118f.css deleted file mode 100644 index b2517dad0..000000000 --- a/css/ae-account-details.166c118f.css +++ /dev/null @@ -1 +0,0 @@ -.account-ion-content[data-v-702e6263]{overflow:hidden;background-color:#191919} \ No newline at end of file diff --git a/css/ae-transfer-receive-modal.03b0cc24.css b/css/ae-transfer-receive-modal.03b0cc24.css deleted file mode 100644 index 8c1c27b23..000000000 --- a/css/ae-transfer-receive-modal.03b0cc24.css +++ /dev/null @@ -1 +0,0 @@ -.scrollable[data-v-a7c4f0d6]{position:relative;width:100%;height:100%;max-height:100%}.scrollable-inner[data-v-a7c4f0d6]{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:scroll}.transfer-receive-base .title[data-v-3f1311d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}span[data-v-3f1311d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-receive-base .address-scrollable-area[data-v-3f1311d8]{font-family:IBM Plex Mono;font-weight:500;font-size:14px;line-height:16px}span.address[data-v-3f1311d8]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3f1311d8]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3f1311d8],span[data-v-3f1311d8]{word-wrap:break-word}span strong[data-v-3f1311d8]{color:#fff}span.address strong[data-v-3f1311d8]{font-weight:500}.transfer-receive-base[data-v-3f1311d8]{font-weight:500;color:#fff}.transfer-receive-base .title[data-v-3f1311d8]{align-self:center;color:#fff}.transfer-receive-base .account-row[data-v-3f1311d8]{display:flex;justify-content:center}.transfer-receive-base .qrcode-wrapper[data-v-3f1311d8]{margin-top:10px;text-align:center}.transfer-receive-base .qrcode-wrapper .qrcode[data-v-3f1311d8]{display:inline-flex;padding:8px;background-color:#fff;border-radius:12px}.transfer-receive-base .address[data-v-3f1311d8]{max-width:260px;margin:14px auto 0}.transfer-receive-base .address-copy[data-v-3f1311d8]{display:block}.transfer-receive-base .address-scrollable-area[data-v-3f1311d8]{width:100%;height:74px;color:#fff;font-style:normal;text-align:left;line-height:24px}.transfer-receive-base .btn-share[data-v-3f1311d8]{min-width:60%} \ No newline at end of file diff --git a/css/ae-transfer-receive-modal.80db357d.css b/css/ae-transfer-receive-modal.80db357d.css new file mode 100644 index 000000000..ac3b0f36b --- /dev/null +++ b/css/ae-transfer-receive-modal.80db357d.css @@ -0,0 +1 @@ +.scrollable[data-v-a7c4f0d6]{position:relative;width:100%;height:100%;max-height:100%}.scrollable-inner[data-v-a7c4f0d6]{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:scroll}.transfer-receive-base .title[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}span[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:14px;line-height:16px}span.address[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-8c6510ea]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-8c6510ea],span[data-v-8c6510ea]{word-wrap:break-word}span strong[data-v-8c6510ea]{color:#fff}span.address strong[data-v-8c6510ea]{font-weight:500}.transfer-receive-base[data-v-8c6510ea]{font-weight:500;color:#fff}.transfer-receive-base .title[data-v-8c6510ea]{align-self:center;color:#fff}.transfer-receive-base .account-row[data-v-8c6510ea]{display:flex;justify-content:center}.transfer-receive-base .qrcode-wrapper[data-v-8c6510ea]{margin-top:10px;text-align:center}.transfer-receive-base .qrcode-wrapper .qrcode[data-v-8c6510ea]{display:inline-flex;padding:8px;background-color:#fff;border-radius:12px}.transfer-receive-base .address[data-v-8c6510ea]{max-width:260px;margin:14px auto 0}.transfer-receive-base .address-copy[data-v-8c6510ea]{display:block}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{width:100%;height:74px;color:#fff;font-style:normal;text-align:left;line-height:24px}.transfer-receive-base .btn-share[data-v-8c6510ea]{min-width:60%} \ No newline at end of file diff --git a/css/ae-transfer-send-modal.220d3489.css b/css/ae-transfer-send-modal.220d3489.css new file mode 100644 index 000000000..3995ea752 --- /dev/null +++ b/css/ae-transfer-send-modal.220d3489.css @@ -0,0 +1 @@ +.transfer-send-base .button-action-secondary[data-v-4a9ec2e7]{flex-basis:30%}.transfer-send-base .button-action-primary[data-v-4a9ec2e7]{flex-basis:70%}.modal-header .subtitle[data-v-0d2f2e9c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.modal-header[data-v-0d2f2e9c]{width:100%;text-align:center;padding:0 16px}.modal-header .subtitle[data-v-0d2f2e9c]{margin-block:0;line-height:24px;color:hsla(0,0%,100%,.75)}.modal-header .subtitle a[data-v-0d2f2e9c]{font-weight:500;color:#1161fe;text-decoration:none}.modal-header .subtitle a[data-v-0d2f2e9c]:hover{text-decoration:underline}.modal-header .subtitle.with-margin[data-v-0d2f2e9c]{margin-bottom:1em}.transfer-send-base .account-row[data-v-3a714a96]{display:flex;justify-content:center}.transfer-send-recipient .scan-button[data-v-54bc527e]{color:#fff;display:block;width:32px;height:24px}.transfer-send-recipient .status[data-v-54bc527e]{margin-top:9px}.max-button[data-v-2aacc100]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.max-button[data-v-2aacc100]:hover{background:rgba(17,97,254,.15)}.max-button.chosen[data-v-2aacc100]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)}.transfer-send-form .multisig-addresses-row[data-v-010136ba]{display:flex;gap:4px;margin-top:16px}.transfer-send-form .multisig-addresses-row .multisig-address-item[data-v-010136ba]{width:50%;margin-bottom:0}.transfer-send-form .multisig-addresses-row .multisig-select-account[data-v-010136ba]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;color:inherit;background:none;border:none;font:inherit;outline:none}.transfer-send-form .multisig-addresses-row .multisig-select-account[data-v-010136ba]:hover{color:#fff}.transfer-send-form .account-selector[data-v-010136ba]{color:hsla(0,0%,100%,.75)}.transfer-send-form .payload-add-wrapper[data-v-010136ba]{display:flex;align-items:center;margin-bottom:22px}.transfer-send-form .payload-add-wrapper .btn-help[data-v-010136ba]{display:flex;margin-left:4px}.transfer-send-form .payload-details[data-v-010136ba]{margin-bottom:24px}.transfer-send-form .payload-options[data-v-010136ba]{display:flex;gap:4px}.review-tip-wrapper .account-info .name-address-wrapper[data-v-abf3c1cc]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.review-tip-wrapper .counter[data-v-abf3c1cc]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.review-tip-wrapper .token-amount-wrapper[data-v-abf3c1cc]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.review-tip-wrapper .tip-url[data-v-abf3c1cc]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.review-tip-wrapper .account-info[data-v-abf3c1cc]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:24px;gap:8px}.review-tip-wrapper .account-info .name-address-wrapper[data-v-abf3c1cc]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;line-height:16px}.review-tip-wrapper .account-info .name-address-wrapper .truncate[data-v-abf3c1cc]{color:#fff;margin-bottom:5px}.review-tip-wrapper .account-info .name-address-wrapper .address-shortening[data-v-abf3c1cc]{color:#fff}.review-tip-wrapper .lowercase[data-v-abf3c1cc]{text-transform:lowercase}.review-tip-wrapper .token-amount-wrapper[data-v-abf3c1cc]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-block:16px;gap:4px;color:hsla(0,0%,100%,.75)}.review-tip-wrapper .token-amount-wrapper[data-v-abf3c1cc] .token-amount .symbol{font-weight:500}.review-tip-wrapper .token-amount-wrapper[data-v-abf3c1cc] .token-amount .fiat{color:hsla(0,0%,100%,.75)}.review-tip-wrapper .tip-url[data-v-abf3c1cc]{align-self:start;line-height:20px;margin-bottom:16px;text-align:start}.review-tip-wrapper .counter[data-v-abf3c1cc]{color:#fff;opacity:1}.review-tip-wrapper .counter.below-zero[data-v-abf3c1cc]{color:#ff4746}.review-tip-wrapper .textarea[data-v-abf3c1cc]{margin-bottom:6px}.avatar-with-chain-name .centered[data-v-247c52a6],.avatar-with-chain-name .chain-name[data-v-247c52a6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.avatar-with-chain-name[data-v-247c52a6]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;width:100%;gap:8px}.avatar-with-chain-name .avatar[data-v-247c52a6]{margin-top:8px;background-color:#000}.avatar-with-chain-name .chain-name[data-v-247c52a6]{text-align:left;opacity:.75}.avatar-with-chain-name .centered[data-v-247c52a6]{opacity:1;text-align:center;color:#fff;width:100%}.avatar-with-chain-name.only-name[data-v-247c52a6]{align-items:center}.avatar-with-chain-name.only-name .avatar[data-v-247c52a6]{margin-top:0}.transfer-review .details-item[data-v-341447da],.transfer-review-base .details-item[data-v-1a9e6090]{margin-top:16px}.transfer-review .multisig-account[data-v-341447da]{display:flex;justify-content:center} \ No newline at end of file diff --git a/css/ae-transfer-send-modal.7aca592c.css b/css/ae-transfer-send-modal.7aca592c.css deleted file mode 100644 index 4cd4d36a2..000000000 --- a/css/ae-transfer-send-modal.7aca592c.css +++ /dev/null @@ -1 +0,0 @@ -.transfer-send-base .button-action-secondary[data-v-9d6192a4]{flex-basis:30%}.transfer-send-base .button-action-primary[data-v-9d6192a4]{flex-basis:70%}.modal-header .subtitle[data-v-0d2f2e9c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.modal-header[data-v-0d2f2e9c]{width:100%;text-align:center;padding:0 16px}.modal-header .subtitle[data-v-0d2f2e9c]{margin-block:0;line-height:24px;color:hsla(0,0%,100%,.75)}.modal-header .subtitle a[data-v-0d2f2e9c]{font-weight:500;color:#1161fe;text-decoration:none}.modal-header .subtitle a[data-v-0d2f2e9c]:hover{text-decoration:underline}.modal-header .subtitle.with-margin[data-v-0d2f2e9c]{margin-bottom:1em}.transfer-send-base .account-row[data-v-73748b0e]{display:flex;justify-content:center}.transfer-send-recipient .scan-button[data-v-4322160c]{color:#fff;display:block;width:32px;height:24px}.transfer-send-recipient .status[data-v-4322160c]{margin-top:9px}.transfer-send-form .max-button[data-v-4265d770]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-send-form .multisig-addresses-row[data-v-4265d770]{display:flex;gap:4px;margin-top:16px}.transfer-send-form .multisig-addresses-row .multisig-address-item[data-v-4265d770]{width:50%;margin-bottom:0}.transfer-send-form .multisig-addresses-row .multisig-select-account[data-v-4265d770]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;color:inherit;background:none;border:none;font:inherit;outline:none}.transfer-send-form .multisig-addresses-row .multisig-select-account[data-v-4265d770]:hover{color:#fff}.transfer-send-form .account-selector[data-v-4265d770]{color:hsla(0,0%,100%,.75)}.transfer-send-form .max-button[data-v-4265d770]{padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.transfer-send-form .max-button[data-v-4265d770]:hover{background:rgba(17,97,254,.15)}.transfer-send-form .max-button.chosen[data-v-4265d770]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)}.transfer-send-form .payload-add-wrapper[data-v-4265d770]{display:flex;align-items:center;margin-bottom:22px}.transfer-send-form .payload-add-wrapper .btn-help[data-v-4265d770]{display:flex;margin-left:4px}.transfer-send-form .payload-details[data-v-4265d770]{margin-bottom:24px}.transfer-send-form .payload-options[data-v-4265d770]{display:flex;gap:4px}.review-tip-wrapper .account-info .name-address-wrapper[data-v-458b7222]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.review-tip-wrapper .counter[data-v-458b7222]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.review-tip-wrapper .token-amount-wrapper[data-v-458b7222]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.review-tip-wrapper .tip-url[data-v-458b7222]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.review-tip-wrapper .account-info[data-v-458b7222]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:24px;gap:8px}.review-tip-wrapper .account-info .name-address-wrapper[data-v-458b7222]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;line-height:16px}.review-tip-wrapper .account-info .name-address-wrapper .truncate[data-v-458b7222]{color:#fff;margin-bottom:5px}.review-tip-wrapper .account-info .name-address-wrapper .address-shortening[data-v-458b7222]{color:#fff}.review-tip-wrapper .lowercase[data-v-458b7222]{text-transform:lowercase}.review-tip-wrapper .token-amount-wrapper[data-v-458b7222]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-block:16px;gap:4px;color:hsla(0,0%,100%,.75)}.review-tip-wrapper .token-amount-wrapper[data-v-458b7222] .token-amount .symbol{font-weight:500}.review-tip-wrapper .token-amount-wrapper[data-v-458b7222] .token-amount .fiat{color:hsla(0,0%,100%,.75)}.review-tip-wrapper .tip-url[data-v-458b7222]{align-self:start;line-height:20px;margin-bottom:16px;text-align:start}.review-tip-wrapper .counter[data-v-458b7222]{color:#fff;opacity:1}.review-tip-wrapper .counter.below-zero[data-v-458b7222]{color:#ff4746}.review-tip-wrapper .textarea[data-v-458b7222]{margin-bottom:6px}.transfer-review .details-item[data-v-08dd9738],.transfer-review-base .details-item[data-v-3c5422b2]{margin-top:16px}.transfer-review .multisig-account[data-v-08dd9738]{display:flex;justify-content:center} \ No newline at end of file diff --git a/css/btc-account-details-transactions.60fe40e1.css b/css/btc-account-details-transactions.60fe40e1.css deleted file mode 100644 index 9ff1678c9..000000000 --- a/css/btc-account-details-transactions.60fe40e1.css +++ /dev/null @@ -1 +0,0 @@ -.account-details-transactions[data-v-37b2fec0]{--filter-top-offset:175px} \ No newline at end of file diff --git a/css/btc-account-details.8bbdcf25.css b/css/btc-account-details.8bbdcf25.css deleted file mode 100644 index 708cb9204..000000000 --- a/css/btc-account-details.8bbdcf25.css +++ /dev/null @@ -1 +0,0 @@ -.account-ion-content[data-v-9c6ac4be]{overflow:hidden;background-color:#191919} \ No newline at end of file diff --git a/css/btc-account-details.c3d856bc.css b/css/btc-account-details.c3d856bc.css new file mode 100644 index 000000000..a7837169c --- /dev/null +++ b/css/btc-account-details.c3d856bc.css @@ -0,0 +1 @@ +.account-ion-content[data-v-e9dfb640]{overflow:hidden;background-color:#191919} \ No newline at end of file diff --git a/css/btc-transfer-receive-modal.03b0cc24.css b/css/btc-transfer-receive-modal.03b0cc24.css deleted file mode 100644 index 8c1c27b23..000000000 --- a/css/btc-transfer-receive-modal.03b0cc24.css +++ /dev/null @@ -1 +0,0 @@ -.scrollable[data-v-a7c4f0d6]{position:relative;width:100%;height:100%;max-height:100%}.scrollable-inner[data-v-a7c4f0d6]{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:scroll}.transfer-receive-base .title[data-v-3f1311d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}span[data-v-3f1311d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-receive-base .address-scrollable-area[data-v-3f1311d8]{font-family:IBM Plex Mono;font-weight:500;font-size:14px;line-height:16px}span.address[data-v-3f1311d8]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3f1311d8]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3f1311d8],span[data-v-3f1311d8]{word-wrap:break-word}span strong[data-v-3f1311d8]{color:#fff}span.address strong[data-v-3f1311d8]{font-weight:500}.transfer-receive-base[data-v-3f1311d8]{font-weight:500;color:#fff}.transfer-receive-base .title[data-v-3f1311d8]{align-self:center;color:#fff}.transfer-receive-base .account-row[data-v-3f1311d8]{display:flex;justify-content:center}.transfer-receive-base .qrcode-wrapper[data-v-3f1311d8]{margin-top:10px;text-align:center}.transfer-receive-base .qrcode-wrapper .qrcode[data-v-3f1311d8]{display:inline-flex;padding:8px;background-color:#fff;border-radius:12px}.transfer-receive-base .address[data-v-3f1311d8]{max-width:260px;margin:14px auto 0}.transfer-receive-base .address-copy[data-v-3f1311d8]{display:block}.transfer-receive-base .address-scrollable-area[data-v-3f1311d8]{width:100%;height:74px;color:#fff;font-style:normal;text-align:left;line-height:24px}.transfer-receive-base .btn-share[data-v-3f1311d8]{min-width:60%} \ No newline at end of file diff --git a/css/btc-transfer-receive-modal.80db357d.css b/css/btc-transfer-receive-modal.80db357d.css new file mode 100644 index 000000000..ac3b0f36b --- /dev/null +++ b/css/btc-transfer-receive-modal.80db357d.css @@ -0,0 +1 @@ +.scrollable[data-v-a7c4f0d6]{position:relative;width:100%;height:100%;max-height:100%}.scrollable-inner[data-v-a7c4f0d6]{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:scroll}.transfer-receive-base .title[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}span[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:14px;line-height:16px}span.address[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-8c6510ea]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-8c6510ea],span[data-v-8c6510ea]{word-wrap:break-word}span strong[data-v-8c6510ea]{color:#fff}span.address strong[data-v-8c6510ea]{font-weight:500}.transfer-receive-base[data-v-8c6510ea]{font-weight:500;color:#fff}.transfer-receive-base .title[data-v-8c6510ea]{align-self:center;color:#fff}.transfer-receive-base .account-row[data-v-8c6510ea]{display:flex;justify-content:center}.transfer-receive-base .qrcode-wrapper[data-v-8c6510ea]{margin-top:10px;text-align:center}.transfer-receive-base .qrcode-wrapper .qrcode[data-v-8c6510ea]{display:inline-flex;padding:8px;background-color:#fff;border-radius:12px}.transfer-receive-base .address[data-v-8c6510ea]{max-width:260px;margin:14px auto 0}.transfer-receive-base .address-copy[data-v-8c6510ea]{display:block}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{width:100%;height:74px;color:#fff;font-style:normal;text-align:left;line-height:24px}.transfer-receive-base .btn-share[data-v-8c6510ea]{min-width:60%} \ No newline at end of file diff --git a/css/btc-transfer-send-modal.a9ac4361.css b/css/btc-transfer-send-modal.a9ac4361.css deleted file mode 100644 index 12148135b..000000000 --- a/css/btc-transfer-send-modal.a9ac4361.css +++ /dev/null @@ -1 +0,0 @@ -.transfer-send-base .button-action-secondary[data-v-9d6192a4]{flex-basis:30%}.transfer-send-base .button-action-primary[data-v-9d6192a4]{flex-basis:70%}.modal-header .subtitle[data-v-0d2f2e9c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.modal-header[data-v-0d2f2e9c]{width:100%;text-align:center;padding:0 16px}.modal-header .subtitle[data-v-0d2f2e9c]{margin-block:0;line-height:24px;color:hsla(0,0%,100%,.75)}.modal-header .subtitle a[data-v-0d2f2e9c]{font-weight:500;color:#1161fe;text-decoration:none}.modal-header .subtitle a[data-v-0d2f2e9c]:hover{text-decoration:underline}.modal-header .subtitle.with-margin[data-v-0d2f2e9c]{margin-bottom:1em}.transfer-review .details-item[data-v-602d1c1d],.transfer-review-base .details-item[data-v-3c5422b2]{margin-top:16px}.transfer-send-base .account-row[data-v-73748b0e]{display:flex;justify-content:center}.transfer-send-recipient .scan-button[data-v-4322160c]{color:#fff;display:block;width:32px;height:24px}.transfer-send-recipient .status[data-v-4322160c]{margin-top:9px}.transaction-speed-picker .completion-time[data-v-0223bf77]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-speed-picker[data-v-0223bf77]{margin-top:4px;margin-bottom:16px}.transaction-speed-picker .radio-wrapper[data-v-0223bf77]{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:10px}.transaction-speed-picker .completion-time[data-v-0223bf77]{letter-spacing:0;opacity:.75}.transfer-send-form .max-button[data-v-2fc8e97d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.transfer-send-form .max-button[data-v-2fc8e97d]:hover{background:rgba(17,97,254,.15)}.transfer-send-form .max-button.chosen[data-v-2fc8e97d]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)} \ No newline at end of file diff --git a/css/btc-transfer-send-modal.c23d0474.css b/css/btc-transfer-send-modal.c23d0474.css new file mode 100644 index 000000000..13477c9d5 --- /dev/null +++ b/css/btc-transfer-send-modal.c23d0474.css @@ -0,0 +1 @@ +.transfer-send-base .button-action-secondary[data-v-4a9ec2e7]{flex-basis:30%}.transfer-send-base .button-action-primary[data-v-4a9ec2e7]{flex-basis:70%}.avatar-with-chain-name .centered[data-v-247c52a6],.avatar-with-chain-name .chain-name[data-v-247c52a6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.avatar-with-chain-name[data-v-247c52a6]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;width:100%;gap:8px}.avatar-with-chain-name .avatar[data-v-247c52a6]{margin-top:8px;background-color:#000}.avatar-with-chain-name .chain-name[data-v-247c52a6]{text-align:left;opacity:.75}.avatar-with-chain-name .centered[data-v-247c52a6]{opacity:1;text-align:center;color:#fff;width:100%}.avatar-with-chain-name.only-name[data-v-247c52a6]{align-items:center}.avatar-with-chain-name.only-name .avatar[data-v-247c52a6]{margin-top:0}.modal-header .subtitle[data-v-0d2f2e9c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.modal-header[data-v-0d2f2e9c]{width:100%;text-align:center;padding:0 16px}.modal-header .subtitle[data-v-0d2f2e9c]{margin-block:0;line-height:24px;color:hsla(0,0%,100%,.75)}.modal-header .subtitle a[data-v-0d2f2e9c]{font-weight:500;color:#1161fe;text-decoration:none}.modal-header .subtitle a[data-v-0d2f2e9c]:hover{text-decoration:underline}.modal-header .subtitle.with-margin[data-v-0d2f2e9c]{margin-bottom:1em}.transfer-review .details-item[data-v-96985f64],.transfer-review-base .details-item[data-v-1a9e6090]{margin-top:16px}.transfer-send-base .account-row[data-v-3a714a96]{display:flex;justify-content:center}.transfer-send-recipient .scan-button[data-v-54bc527e]{color:#fff;display:block;width:32px;height:24px}.transfer-send-recipient .status[data-v-54bc527e]{margin-top:9px}.transaction-speed-picker .completion-time[data-v-2326ca2a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-speed-picker[data-v-2326ca2a]{margin-top:4px;margin-bottom:16px}.transaction-speed-picker .radio-wrapper[data-v-2326ca2a]{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:10px}.transaction-speed-picker .completion-time[data-v-2326ca2a]{letter-spacing:0;opacity:.75}.max-button[data-v-2aacc100]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.max-button[data-v-2aacc100]:hover{background:rgba(17,97,254,.15)}.max-button.chosen[data-v-2aacc100]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)} \ No newline at end of file diff --git a/css/chunk-vendors.3c5d1e1a.css b/css/chunk-vendors.3c5d1e1a.css deleted file mode 100644 index c889db6fe..000000000 --- a/css/chunk-vendors.3c5d1e1a.css +++ /dev/null @@ -1 +0,0 @@ -html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Roboto",sans-serif}html.md{--ion-default-font:"Roboto","Helvetica Neue",sans-serif}html{--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal ion-footer ion-toolbar:first-of-type,html.ios ion-modal.modal-card ion-header ion-toolbar:first-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:first-of-type{padding-top:6px}html.ios ion-modal.modal-card ion-header ion-toolbar:last-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:last-of-type{padding-bottom:6px}html.ios ion-modal ion-toolbar{padding-right:calc(var(--ion-safe-area-right) + 8px);padding-left:calc(var(--ion-safe-area-left) + 8px)}@media screen and (min-width:768px){html.ios ion-modal.modal-card:first-of-type{--backdrop-opacity:0.18}}ion-modal.modal-default.show-modal~ion-modal.modal-default{--backdrop-opacity:0;--box-shadow:none}html.ios ion-modal.modal-card .ion-page{border-top-left-radius:var(--border-radius)}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}ion-modal>.ion-page{position:relative;contain:layout style;height:100%}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}@supports (padding-top:constant(safe-area-inset-top)){html{--ion-safe-area-top:constant(safe-area-inset-top);--ion-safe-area-bottom:constant(safe-area-inset-bottom);--ion-safe-area-left:constant(safe-area-inset-left);--ion-safe-area-right:constant(safe-area-inset-right)}}@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{box-shadow:4px 0 16px rgba(0,0,0,.18)}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width:0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:transform .3s cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion:reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width:0px;--inner-border-width:0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}.ion-datetime-button-overlay{--width:fit-content;--height:fit-content}.ion-datetime-button-overlay ion-datetime.datetime-grid{width:320px;min-height:320px}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-moz-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{padding:0;border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAB8cABEAAAAAUVQAAB68AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwgcNAZgAII8CD4JgnMREArxGOZTC4FWAAE2AiQDgxoEIAWDFAeHVQyDWhsOSiVsm1bDbkfg6HdLfCRC2DgAhbAXi6Jkcq5R/P+3BCpD1u6adQdEw1qJUk3UeKsLLMHeeArKTNVrKdhkj46nQr/x7XS1uursqt9yrXEQ2ly0uGL+5z+v5Vh0DcTQ2lhm+9bdGltP+Nqro/FWU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k0NYV6KbCRHf0RG/0RX8MxGAMxXCMRClajFhx4iVIlCRZilRppkiXgSBTlmw5cuXJV6BQkWIlShGR/EgyCioaOkiZcgwwJhYEGwcXD5+AkIiYhJSMXAUFJRU1jUpaOlX04bKaLDIwMjE/278NZKJvbiq1oZc4YOS8yfQxkLJAh8lkcokCA62vZLigcWDga8TOHApwat1aNA34KqaahahQNIA04HIi/eHSoPNEJ3ASVoOghABGCJZnMcPwAciiSRKo1qxFU4BREcWsPFUgWHDiwosJC14s2PDDiRPXwGQJzv1fE3CIPxVehG/5RyTxvx1k00nex/dL+wvs6NH17f46V7C9pdnV3oYvE3mxU/NmXFeA5b4iGpXLhUxWnMLA/bTYyNBlAPQu/4t0PA2OEqn40aIYSJUrkFQdMANQzua42A2zQduEHIlioSK0sweYG3SDNhZ8fMWYUeyK1dYAwQk2VCRzM5PheOH2gCDJElcFJ1pjHq/bFMPxcJ71sdksyqrj4S1BkCQarjpehNvNUEOksNp5ktNUh6DzdYnxPcsX4OeYpwtlqniocyLMw1y8NxZlnYt59ZwSrbMhipNMACCSg+ECDuA93lzJZLMH8AD+Fn0AAAA=) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-cyrillic-300-normal.cd35bdf5.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-greek-300-normal.cf8e33cf.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:sw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inulXGEXE6uqnFaRVQNafUOPVizYgFrpkDMq+vncwSAJookcJItRRRUe/FoOCyuRTQioP+iDks3KOahwA+9UFlTMRI7VvSQPEkdF55fVyOTJMkxUFOz1hi/tPHBTLXffOLGOhyZdchWnTxlFQayGiDmlLWSjJUHrTp/xygMX2Cgxp6xP4IW7auV2c8rpT4SFAunmlPfcLTEFsroHF+xSlcW7klCRrN6gl/gN2XkSInTQMU8B+dRhZes4BZkzmNZRlKXOhEBJwvigkNoD97H1pg36QF95Dw==) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-latin-ext-300-normal.68feb198.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-latin-300-normal.f09407e5.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-300-normal.fa279197.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAB6oABEAAAAAUWAAAB5IAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CD4JgnMREArxKOcMC4FWAAE2AiQDgxoEIAWDOgeHVQyDMhs/SiVsmxbN7lZVEcx0dhQlnPRfUQQbB+J5syz7/6/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vucHYdSL+0ma5UVZ1c1YOz4xOTU9Mzs3v7A46JaGW7Zu275jtLyyurZz1+49tHT0MAa4YkYmBDMLKxs7koOTC5VF1gYJ0UqUgltZaHdLUCyGoaEScYsMJJpoyY9rg9mI6xEX19tDDUGCRWIQ1zs+TFDXeLKnIK5P/FEq553Uk7ziKqdO5TX0iRcSTml1LzpLPePV+nlXGzv9vEb81POgJ7mOfg1IEtIhPpJqlYhu8XkelojpG8/wgHSJL+kVz0fAIyLi2WtBiAQpsgQIkSVEhBgJEqTCiKj7Jww4wt80L/Ka/69J7E8ROeW0+qD3bwDgIjsroJzRX9vR3dxU292VLDbjEKf64VauwwLjxDTsBWnbrHDg9lNx6GFpYgC6FrzqMMjlgszhG3JpEFkEZncZ3J5wYYiM9pSCWCZBLUMXS8ep8k0hH6UVSezaa2xFJDIuXseYlXxThgLZksSa3t2UiUCJJJvb3RTXV2eVSuoqlh1PUYhno0vIBH1MLopAxdZRXgwlBNhSMltRvnExkdAFbfjd6Kn+e6KwdgTyhOwm7yBX20n2NN2J0baDy0reY4DD4O0GeYzfBgAA) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-400-normal.0e811e2e.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAB60ABEAAAAASsAAAB5UAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnYbon4cNAZgAIE4CD4JgnMREArWDM4eC4FMAAE2AiQDgwwEIAWDOgeGSQyDMhvZRCXKbRfcrapKz4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aiNIJ9h4gE/c4X92CT5+fmmvzuHbPQJ+4tl2bL8+iJywmyz+jKNbTQ0t3JITP/P6ER2mxl7ej4CO1rxOLw/GN47Tq9/J04tp5Hlq6VacvXJ4/jjbrVQDY3Vjco4g5k4VoJGTND0wa2rT0xOYJFx0IxSirqO/0ueuKaepEQeUqLrGh9PbjtMdz+GC5ep3dg3ANT15EuHcdyCMi7BVCIO5R6tCzqp6lorFzy8jL7+GWXrhLZThgX0iX288dLE7/I+WGCc7XX6mlQ1aGrhJZn4oN6ib3y1jAnRXUcEgVbJNGX6E+H049jd2AsUlhM4QZmx2PK6chfG5uccRK7TTmAZR//TQ2G2SNv3qYCzLQLwgHPTJvDheDRz9MpzsVIBug283M8CX4NcCL/a/FFuNXREm4aDgUkh+ip6eArw5o5mGn3RHRL8jIHvhHqoLwoO/XmlTHtwpxkr0zTL6vF/0Z0TSz05LibokpG4JpXE5s3Ylgzqo2XflMwXeuUnpMspmAxwzUXYJqCbUlvLnfSmudzZKFe1y4BOvrMD4CvDthqV4QE9IjcBTfs3kx857EbOWuYzHkIPgfZsgGPjQ0btyxuAgAA) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAABbkABEAAAAARHgAABaDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhkIcNAZgAIJQCD4JgnMREArddNUbC4IwAAE2AiQDhEwEIAWDOgeLaQyDMhvEPSXjmFXAxgEA+tSHKIKNgwCFeWcUZYPyTvH/Hw/oGCJlpiBz/kIgxll10R3b1dIOy1RYQKlwDBUE8R4Xsz9phLwXIMiNI374S1uLuEij//NNbyH+12qFpMNLmG8CLT98Y3tZCekmaXH0MbITro5sfzoxDyqFlPzukSsVjovsSiGF5bcEnXBYG5PYKYfVR2jpI17oH22V9b40JPUsYh8hmwh6bZ41hOvMKQBGFD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oPnwyktlOd2vhDOCAaJSWQbsDn3qq1pZU+2jocpfinWABI17LS2399DPhySlw2MrBw8AkZNW6agIwyOE03TMvhdLk9XtsH49erD0W/AVSDecNpQDRDhtFtAGHYaMQoJpYx4yZMmjKNjYOLh09ASERMQkpGboaC0iyVTdQ0tHRgCJSegZGJmYXVZnNs7BycXNw8vHz8AoJCwiKiYuISklLSMrJyeUs+Z9J5M19BUUlZRdW8LWoW1C3aapvtdthpl9322Guf/RRa/oRvlTwv48HhviDTaNviiX9puFm94X/Q8IGwQJe1UvgIC3GpAUaKvNCali21wAV6rZMCPkLEaN/JZb6eL6XSwWDcRQnVXLVW4Qy+5RoRXgwOhorw94EcIeJCuoyIu1K5+AhfCIv3NGSLJZR/gpDBKNCfqFju+FvVLb1q0sWCXGpOAx4CECTwECDaBzokyN5p2uBkrRqv/0CGxnQwBEjgIUBkGizIpPGpoKsjhDk0CNCBwIOHDAEiJIi2JNJddSODhwYdyC6R9CO5lHkbb+N8LNV5Vz3eNU9OXYGQdF638eRiPf3qbUI7erlqtXjNbzPb/Zev7f+HkY0qYf2tU11o9HGU3ySQps0f2j7d81h+PZC21RVv6BHbeNZnpGQdu9Hk6CVmI7PTrpLiqCinOZTi+l+LtpvTV2bf+OjHLyvgUguhE+wM8gXH9MDhgTdjpyPCRAWAPWMjACE3DdLH3x9SE5tA19s8LDyA4AQTG7t5v5QZPOPomzM89KTGEx+Mk+GiwTXU3L5gs00EZrcvCTFThAezEJrEMKirmW9jotzKG1HwYA7bJVhJMZr5Lpf6PpZRk5jvMQ5y5fVIeDCfmgCUAL25oMKc1QNCS4gIccY/8LtvwZOWQj/MTUJDzjrH7GaKtQo1uzHH7CbqPMhuJqeWFQAAAA==) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-ext-400-normal.33355ecb.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-400-normal.cca38a3a.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-ext-400-italic.2067daf2.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-400-italic.e049260e.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-greek-400-italic.8b6eda6d.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAABgkABEAAAAARfgAABfEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhhocNAZg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UYdRrZHROlid0kQ8kCFGwlRDoigoeL/EsbL3U3WcpDUR2rM6QCfeaQX8/3J3XR+1Ck9jwLaDMFGKJAkTJe6BPEnSh7MQysc1fx1Jk9UeOoIkYaLEtcVpNGzeC/lNxmxLlih5ioQ9kCZKXEsQHyVhF7sjTZgseYqb4nAi2axXUy9nnU8vTOZgho0pULZs2OK8fL/qm1RSC8zprtfYpg/lRL0Zfwec9/9WSpmflqN70OEo+PPkNIocOH92fM+LF5MPFHliNyY1JfxKkpY1uUZT5+PyfVc/7dPL0xflz/NV1cfN8jp+6Juwj+uFdjjCd7yXH1DAL4SGniQywobF/5dSnBzXIwZAPLezaynCQuwxcVe6NC8dvvtuoUOAWV5gucY94j+iIR89YfbqqVJURFAHR2Y0EWQkOt4Vq7McN6WX7to5dThp9K6d10qU1RQEwV+5TX1Ax12JarBR4rjp7koyVEecEbtbKFtm1DA1QIK7UviwPLhE7u5K1V9FgAbanVZTs647xS9OBML5D/wGYfoXb8Yd+BVSmPrSWqYb3xQeHvFgfKKPCxewO9AhUB++BgAA) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-ext-400-italic.a9b77bdf.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-400-italic.cdf08bcf.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAB+QABEAAAAAUnwAAB8vAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CD4JgnMREArzTOlOC4FWAAE2AiQDgxoEIAWDGgeHVQyDSht5SyXs2IsCGwdgPOsdjYq6vSgJiv8/IzkZQ4YeVJdl1SFmw6EJHcPTmQNtHCt0snCqj2B0uOGEWkfDBSlHlKAdd8hqAzdTQZZlfKLISzZUYqiuyDrwNZjY+BPL8UMvSPRKOz4if1Wwguu/33o8o5ggdos2iNy4zKfCYmnSMOG4033Gj4+fOQPbRr4mp14CaH98s7vvi3fXITfRyU5wV3S8eInJSOIbnrb574helYkgraQiIEKftIGkNeCc4jgE1GW4ynaR7bYfFY4hEzY5VAzNq5TKpmhOeHgQbrwRSGPofT4ltCxkJZMwrULytX7kZtVms3hl7fAET/M2CTZtAz4c6Gxs3ayc/nsnyWTX+gWRkgShzEjW6wUGEJvKNKU22NqxtRoq1HtRaeIhilgspybAHk0tZ7VdK+1qpX4rWbLldl3n+1b8n9I6QP+A5WDSD7A/wP6gnQ5YAlgATPiHudHT4URhQcRLIVwqvwBwC+B/mN6OM87lQYiAZFH58md7NbbJhHxN6qvvfufidS7hKwxOIfGmRMaFC3glClIEvk6t2I2/YDoXN0i3/5+qny3uGwy56QccSkuHxIPdXLnouDnWTk0BzIyGAgZDKHF/wHJDpsL5osKGTEGy+UVZTjEpOOVcO5epqNw5ly6K1ra5xAKdtokmRkHUK4/vzO3r3dF33VbCNg3BBhGRxV7n37WOWSnEc44+8lCcBb25rVzD+nN8Cl7dQih1QwJY/qsLgHIARBRZ6CBMTBAJCUihIhANA4iZGcTODuLmBgkKgoSEQCBAqSptcH2PHVVAc/9NxYD0+dMwHLA/3m1xkA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egiwUuJJHx6zJ4WpxPszk8RWf4DvkV/vT2sAaK3hCb6R66i3s47rtg81yFmDFsVSQC8BqwVv4RuyckPYVgzWGwAAAA==) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-cyrillic-500-normal.cd6aada7.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-greek-500-normal.5e3e3086.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAABdkABEAAAAAQ0gAABcEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhkgcNAZgAIJQCD4JgnMREArbSNMRC4IwAAE2AiQDhEwEIAWDGgeLaQyDShu4PBVsXIWHjQMY/C/OiqJsTp7N/v+anAwZzAc41eoQO6HJQccxtGaCFUxN9CQjtMlLs5BxIOqB87mXvlmcoVYhweRBP3I7ELf5XHK5NXhouwiO0Qg2Ge5iQfRbkBD4T3rpZG8smlfYELT4mNwINKij4pL5VbXtyn58jMRzef5pv8pzX/0eZLUh6sQSo0KP5AhkhOydkJFZF9SIdf9z5cz/WQDOImWJ73II5Kr6Kjy7uipiocnY+v9N19/JTIZJf5Q6W1qRZKsFiwLhWGG2u/aT47cJR2TcRziifz++Hsf8PxyOrHqokDf+mAN0s2tzTWpKuG7QN7o1hatBba5JeLiH+u/RetKNKLrNLrwEnEkayHmQRBRpIBCF7P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WVx3lkVHRhdecuFfStOw5LyDFvp2fbtjhy7GYq7NURuVuakpBWxCobAOa0eMoHVsm8fSyz04JRb2HAvlaclEOsD7FsM+K/+BpAUitet36hp83xCYjhF1ahnyChTmc5MZjOX+SxkMUtZzkoQWY1JTGMW81jEMlZ+Bx3r2MQ2drEPJtjggg8hxJBCDiXU0EIPGEagrwUAQWAIFAZHIFFoDBaHJxBJZAqVRmcwWWwOl8cXCEViiVQmVyhVauoamlraOrp6+gaGRsYmpt12aRC71V1XC0sraxtbO3sHRydnF1c3dw9PL28fXz//Ob2LtVZofm+RoLf/pK+xP8MpOmBQey8q6DCoiSEKFmwqSZoxQlF7PRegw4AJabkGs3+57w9GCjr2YXNf3+dUSst6DQspRnYOXRLYMGBSSy9NTQVOFz7RcLqQ1I713blJIwWy+86a4PbXl8vDVBZ7lgbya4AWPSpmtOgxJoGMGetyCNr5vjZ/U6yIkiEVmNGixygRZ6lgvxTI8TqEiOiRUdEmgRU9RpmBcUCGXJtjRYuIjDpWhBrmujo730bWm/ufddNtsI2afJi+Sq2b3f/fYSWC3Qmmn1+v2wnRuXj1t5wl/2dGIfW7okMB3gYwgvzPia4u8tH409ELja5GHLjIs5lboSPgDxauiMMkqXcLpsS39Ls+jYzBQPzP+SLpwmxInZ/wnaUL08F12so3bVUAjvJjzkZyVL6lSAMHX0tGhJuJEpg56nNqNZwgO83RE/gCdatI8DK0uHGiTV4ED0S1K4hy0WQPxJjTqyzMkq0s0Kkkzj5dWaiK42fDHJEhrarFSwcpvr6IOSfRG9Ka5KGnxUgdmtUJ6cQDyTx2YlpDIJsnF8J+b1tK8UAKM3qUhNmysyoVY6nxvukoIjpqAn6PaxElGgzwUYvH+AybRK08hs2+y0zKI+RIeRTVRKU8hg08wqdNwywSmQJVAwAA) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-ext-500-normal.db531da7.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-500-normal.f805c5d4.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-500-normal.217e5958.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAAB+cABEAAAAAUngAAB88AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CEAJgnMREArzJOlDC4FWAAE2AiQDgxoEIAWDJgeHVQyDZBuWSyXM812M2wEUuZXERVG2OH8q/v/rcTFGAgWcpb9Ghm02Uprlhya0yDyv2LsqEzV7GYGNSEf6QvWowMo4yqPXj/3nXbg4SCkf9hgLD9WWSxhnDTaSvks98xmbrKsD64gXL/We4WFf+nzN7FJg557WCccqE1XLwrIWoR2KMkUc9V8aPqtqEvHcf4TGPsnl4fv9Qs+97+9ymKhApGinsiwMK0CZiYpwRUUgo0r0B2ibHekEXQX6eEgJyJEjlW7hjhQpccRGLPKc6MqPbP1EP6KdH93/c66l7fmEjq6FrunYKopW8eOYzrIM06sMW02EiNUdQkra46n+xHd7nykQkkymUsfWeROAACQCMLTtyPjMQNAeI0154B1rHzyOdxEJxYZUvGrVEeKdNwjpUiMkr+S9voQm2vIdtOqabpbhQa1C///TZf4hjfDPCHi0qyWbF2w+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Xidhv05shxjBi4271umaOt65KNAnd71w1FreZRO/mMndqI1TTYu66Qc0SyfcwZNQmmwX7zLM7bbxrWvRp3TLbyjNTgyckAGIEoaS62rduxcSiNObBjbMAacSJWU2DGcjAEEcmYKpx48OLHgRM/Tly48eDBayJIY/+zghT6Yf4YufxvYAr/cpMX7c6+3J9MILHhNeORnQvpWrNcSjc12YZ3dftymr89zAOwyKcIRFfJuU9h+GrtHeuGCgpor35F4/5jRsJveoWWtUoRb/Mu4CvENfatG0m7Tqducs4MvEyY3H9hSS2E6dw9rrXbmBxawhV2pGE897bs2TBQmunS9Q5tNiaGlm3bmgwW0DgSfPDkUK7nPOBaC2ZzKM9bnnW7A+PNdN+KVjEaF/YO3OYKc+NUEtS6l0UdFD4VkeRqB35aPmuukCF94lfyV/hF0taAX1m8rGhNnwSrBx2ipKyBuQL4y/y4+NNAUv+dKjMHpgEAAA==) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-cyrillic-600-normal.eab18b48.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-greek-600-normal.9eb10978.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAABd8ABEAAAAAQtQAABcbAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhkgcNAZgAIJQCEAJgnMREAraMNIOC4IwAAE2AiQDhE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jKw/dN47fWNij0NcWU4JpkCQJHRRkhQF1SPtgaugHuC5qU0F5wWK6ie7vc73BlbsJ6vRThcEzu7jLrCOOIy5cp3YVKcpuP/lbIqPIV8aRuu8JR1fCYpsUOLOMrDRFMhE2m3nfhi7qNACU87so2PtpYZYsMBO6JtLwMgycHScQ2iVDZWHIt4O5OpSrCcl2JwAXYEcPdHuKgmHykIxySZ4WpcvVSUXwYHZd0d0Ng8tCcru7kguF1YPUbI7OmRNNPlTEXHSFPtRKlXSjJ3q9maXtUpc5lf7cJ2XgQ9bbROnlAtzKWMdDuBRkq5dhnV+v/x0Zhm0SyDd0kmadplSAvvxiP+D7KtpVKhKQdMBAAAA) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-ext-600-normal.f71c9948.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-600-normal.a7af6c8a.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-600-normal.ba472832.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAB+MABEAAAAAU1QAAB8rAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbknIcNA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KMRiHudn7pUorEiZn6SZCZiABHyhv4ZeYm7hTOwvg+E3t3NuwV5OMnO9VydlmqfeEFsJjx2MzHRADggUT8ioEAHOajEIYL5PjYcLqgxJOnSxwePF3ZiZSDpxvUip5ukmA93SJJpIO9k8dCq+6VMR143Ql+uAjVq4rgSui4+VqMwoXwGChoqSF0jOKC1rHwGpEAQYyKC7ALwhn0qH9TBiEumJoyupTRuYwx97SzW1Onx0gN6EOjvT1mfXQmFPWbYoDxCbRhkKWrxsf3y8UgExfHoJmESQcNgnpN/5UGcOUDgL4fzHX3v81ieQghUfSnomHWp0ETDlhXCNzjM5KPqNJ0w7Rsx/X8OEmzvCirummtm3X9fDEsV+Pe/sHh0fHJtN6cnp1fXF5d39ze3T88Pj2/kEGgMHIKSipqvTS0dPQMjEzMLKz5yMG8E9k5OGnJrL1ueYSPccAZGDtubFNhoH6JTh9nUoUOV7gRZ4nkKAMVLoFJEDFsAlSEeFrrkhGjvyhUWeeAEEtkJaFOMSMm1pGWWJ5EmoMkMaXNWDXNhkYKTuCNWo5M8JDf4CKgz2MFT6TYGK/m2FLg3MqscMo1tzxyzCmPnHLOJddcczupW4N/r0HM/Z4C26nL/mNN8o9MeXLa3EXBv+5AmZpL95nDQ1589XDcu3qVecnik+PB52/mBrSYJQgiW8S8OYTC+hPpClKv3GLAaXmAMCa6MktRVXdEvWolvlkI6j1lR/cCA9VbfuwbkoyBEmlUjo9J0WWCboMRpARnuxKON2nFxVTheLxFRyx0pebjbfoSAtE9Guf53lplFkG3yxBdeI5dAR2POUxjElIJb8jHekM0xOoeZX4aMQLmC99QgGG68TUohUcP0iTq9TIrqhC7JQ9fFX+rH72VIK01fCXP8Iso7KzjmfYKZdZ4JjhrEJZGhKST7Y18Bb+wfZMSkn0R+I802lnLO7AwAAAA) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-700-normal.df5532a0.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAB5MABEAAAAASlAAAB3uAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnYbpAIcNAZgAIE4CEAJgnMREArTcMt9C4FMAAE2AiQDgwwEIAWDIgeGSQyDdBtoRCXs2EsBugNQyd4rhJEIYeOAyGyflP3/CceNIQoNLG1b/x9yKuZakFHgAS/mgUmFjZu6NvPdT5NsqubFfMHLNzzSKqdgKzLDaEmkw45UbCWsqJ7zdVXMSMey9/nEFJOoQEQiPbbyqiP0V6OPaIqtELlR8MYEs0MMv6hD/Mcb7IKEOZCiGu8W+UcdEavZsUlef4Qmp4jpycPb7v3bBY4ky1JSknazGxshCjXK+PC69d+5mpubOEmABEJCGAYP8NQY5otq9f96qf2+V3SrnU45f1Zrn3rF1aKcOis7JIdBDjHKJQSFXwUgJSUVGW9wTpudhEN1dqyGVEBO2wELc2EuhPrgvFFHCozFRNiEOTwVCMKcGdOJlBLv5NpG/YXCkc0SKXqoxOL+Yo44T/3fo3dn/pNICHJCFAkmUvSaFMu6FJO7rYwjTFB/HtrmJzw/YBTGJA1w46REotJigdkny7izAusWlbjo+JHl5/rl5XRxvYkIlTUqVFiZDZ2Qz4a8TIcfgPbvNJvvQmasGLAwnmC1rcrVDohNpcevNHgAtYaWHWHsOgqEs00qeQLrwgVMuYAHAatwJQLXftn7YhmP4EFFt33QpxdMwxWMvNRnTvK/TC3Teb8xMGc563jhTUHykUpBgjM2kqvcJkFPzycaPY2mEXEGnMUaD2IdznPPkgNWASDkHGV8LqWKiPW8lbE2k4JEobLL5YJMCoLQuSBN5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oQIVg4YeYhzDyEwgMvmkkIr1ZCHo09MpsRpwtHTTbWeqEH4UKFiSVQ1AKzEvMRP3waCHpYbNeRCYHQ7LgV+Gi5pv/fZ04fv0FEJMwDXnjx/SsUlfdvdbgIMRIkSmLhM5hJJXbFRkLVdMO0bMf1fIFQIxaIxBJNLW2pTEdXrqdQ6qsM7BjaNTI2MTUzt1BbWlk74aRTTjvjrHPOu+CiSy674qqBoZGxiamZORS2+t2JQKL29s5ZttzgYnlmz3T/PUFn6+ea3mQhITePOELjs+8c3wBjDA//O2/nQU7FBF+Y3cRJSyl9ffn/IGiWQePOpqvZznD9BioHHcqrm1k89MCrnGzdcTOf09wfNfzNzp9v9XXhRWbsa/Reo8OdfqzpoAE0pBlrPHjupLH3njRMhECowAVxBJGDqNsBpZy2fgQxxdx2nvKWIfgiGIw8hk2k184pAmrfvnW+BnW8ZQTFtZE73pB5+27u/xXygeg1n5pCz08YLQvfVy8dlsrxR6uo4J99AzjXmeQnBbQSfT1DW7+OeD3iXYo2FJPQqlYnqvntQOLjoANLS+r/Ukj0O/5wkUOYOkK46Fq8xcOgfT1nzFXaPIBaP99QT0vA2jNB795dCZ8WHydfQly2NlFpXHAu6n43nLSjLdZjTqvt5u52xeroYvF44ZyFofT846WVXT3NvccbrjthomfHKvlYqcUV3abbXVTnLhJt7UX3S2suE+eyvNtz7nRa/6FjGylw+vpcjjtdsjTQFG/vGkM5a46EDMYC/tr9IUeuSJAL/pv+Vf8j5Hs//2r6htax5DnhfeErGZ46565U/hv+h9MD6bXuWPh/oPu8y18KHw==) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAABcIABEAAAAAQzwAABanAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhkgcNAZgAIJQCEAJgnMREArbDNJ9C4IwAAE2AiQDhEwEIAWD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2VV8qRpWDmipyLGVq4cKyHBw+BXFhxKyfEKOpKdzseUi9kTfiZqQVMxWenTGNMYDu5oz5xu1coJTlNTUuiKMfOOMtXMNIQYOL0mq2q0JeZuGnH2U/hd1yJLluigCwke4j4e0YJcxH1vjSnGD0DOQyFZmpOLeglc49a7y5n0KfB/+gq5gAtWAAAAAA==) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-ext-700-normal.91c56700.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-700-normal.05088377.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-normal.31febf01.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-ext-700-italic.327fb782.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-700-italic.2ec10a68.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-greek-700-italic.995c062a.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAABfkABEAAAAARgQAABeEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGigbhhQcNAZgAIJQCEIJgnMREArgPNdKC4IwAAE2AiQDhEwEIAWDVgeLaQyEBhs5PxXTbXbI7QAk9eWhBP9/TG7IEKwAXdsfiZ0gaHYoSKNHMKuSS9Eq3lXP5jaZg05TVu8ZGqSbozeejVF6ZhqChCN28Ste+he60ILJlq7oni9GaLtcok9kldIdLRxetfGJv4MOpT4qpQd5HjpCklke/t/uv/a5VR9+vwE+9CgFUUPXH9hR58MUXLkqGtZaHQ4j8Q7gNsEoUiXqMgMwYFSKgDAEqyYmNmEBzw70Ue2jIwAQxnDMwnju/5pebdK6AaKe8Hv5MGThxvpqgXjAeLW29ItoSpx49Epi+ptg5vOttT9yZnuc+CzSTqjQTDySIZRraWh/FqvEQuRd/wPgCvz/66y/DwW/VFyVvKpAraQxYDIQkxG7B8TZf4gj/WX38u+M3XeXDX0AOvG8rTueBzTwjvURPYfjm2MisbqT8J9fsz5b5766lcxwPvWMm6aP6gtX6f6sCFTrryn1XqUqlcqrDHB1Pg7lM1amMt1JOp9QMUkgWABUoxaA5CqSKAwKuXalXLverJNrc4k5VPyQrgyZvTD3md/vZ34uvLSqqCwMMDTFLeTk95X2F1tgEpCUZrEhbSWGtJdGpEt6IwXGnegLOvDgI0+kPf8/dwXRxY8LL8e+Ir/uKvp0UED+L5BHO7YjA5ZdfvdSTxnMAwjB6NcGAynNhwrHaRREK2YJ0ICZfKo3+2EoH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roR4UQP5a3l//5j/1FxEiksKBGVkFcEWCRFwiCr+fBlTTDWlatuNye7w+YD8YOAQkFDRM3ECFhYNHQERCRkFFQ8fAxMLGwcXDJyAkIiYhJSOnoKSipqGlo2dgZGJmYWVj5+Dk4ubh5eMXEBQSFhEVE5eQlJKWkZWTV1BUUlZRVVPX0NTSjlscMdHfjG5OHV09fQNDI2MTUzNzC0sraxtbO3uAA3lJ/n3pMcYBp6TYOsiL//pYjq8k0RIwM9M0p5gwM4VlObBiYzrt1JbjYKZFXoEJMxbszmHA8eqnqpY64OQpu3bXx0Wpw0GLIlPrIHWaZ+KBDTMWppoWRaygZxAXyd5OdbSik9UoSh2ETnpXF9D3z3nX9bhWw6sZ0K8HY6YcWTJmytwDe5asz2EhlI9r/npgzVZ76AiWjJky1xZX02CpC/udx+zIlil7jow9sGbKXEsw30hCsf3EmjFb9hx3waGM5QK9sr2lQz69MFmBGTYipmy5Ykfn5ftVvyqicIEV3fU6TipL7bs/Ds77JyyVWVKtDm7ZQhIklyk74XIg/xb51n1gaiJcWnbHFKVCkkipFSdX6HU8rn7iJalO0FW3SSWXJVh12MSh9NY+mbDYIZ/oWg9IPDwHwXbXICa8XSw2sFDcfn/a5CSFGcDo9h9MUYrDps0sC8iQx0QxKuq2oSr12MXwMrgNGalDk4zgwwmxWcboeq7jOCExUKtMrq3bE1LTVLVPHcZ5BUO0yXN0zytqV+CJ4ryS0To18XyGsvqYlBgTT6eYbLiytNBVXbXKrFlr5eLpNLs1TDFQ+uq8uiJfTCDmumGKEbOWFRVXN5V4PSWuCZJI2wm+13BZoErNRddF7uEaP0XMuJ5rcbf4c7kB41owqYYlha4K7uYn49+Xm+k+8FvEjOu4ImYCAAA=) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-ext-700-italic.8ea13c9c.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-700-italic.3224c9f6.woff2) format("woff2"),url(/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAABrsABEAAAAARvAAABqPAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbHhwuBmAAgjAIRAmCcxEQCvEg5nsLgVQAATYCJAOBVAQgBYMaB4dTDINgG84/JWxcLQbnASR96Op3RJJFWhpFxeIe+P+PCXKMGMP/G6BWCUFA6ihLz1QT7tLdHdtNcwSpZioh8b3S2oqyaMVx5ST1zEkcfIib2PoVW6/0wkzKcsXhKmGWCZSFDh7yhc3CCE9PkLR+dlYy6K89yT/vF1Z+SOElR2jsk1x44u3IN/P3SERylVQbuxLcqgNV3Q7gtv7nUZ5wbcXoMIaD3ojRI4YSBiAcgmhflncvKq/0En2RqS/0/cpX8b/Tyi9btixZ1VVu8pS2pV+vaA/eobkXQCZ5/ApOB2wXsAv0pC2AOcSCg8Lz/zvvq594hJ2RTgesk51g1pFd7rYzQQmijTuQZfOgkjyAg5XTvJMssmtNOFH52gmyqTw8pVQWwAJgCoAgcWF0h+kdd+Ia3Ayery7seaSXAzjQFZAIR0ZgKzn2E/zlLTj+4fp4rc5vvIjR0iE6YQ3ALho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ff2"),url(/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-cyrillic-500-normal.edd6e4d6.woff2) format("woff2"),url(/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAABVAABEAAAAAPtgAABTgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGi4bHhwuBmAAgkQIRAmCcxEQCth4z30Lgi4AATYCJAOESAQgBYMaB4tnDINgGwQ4RUd12DgAgL4UEUXZHowU/x+PG0NENsBc9RdBcOxYMBIp7UBIp4S4ExFhqeG6BvrKzGjbOErmpgaBiSCiFoyLryTPxDxcCbPYgqj0cIrqIWJmjWOqjY2Bl2DiJfKp2UBEKb9ip5yzd70pqX+xazM3zXtHaOyTXIKvtc9+s3OI6kK8FYeAOhX3dQgtkabyMRbIxhHsAG2zO4NtsLUVB4jkERnCkCwD2t5klWGw1s9On1fnv1eWLEuyZMsUUPwc5xEln4Cm8kQwAsDanrxh/IAlWvv24gg4TC3F8O7JIk4onw6+/7/YNPOTMEpwT9HiF4wTjeHOky1R9MUxHQAaV0AZaI0fw6/1CNov9tMtaxMMRbiwoQkGwWCoV8KpP5S+9C3xwY9rX/vpvoR3/wVRqE6FqqurBgBjcvb+TI0mUCwkgTBlwAbDdo62eY8ceGkwbWukpcZC+YyYh5aXRzj0FMP7Q0khikb7P51lqz+jL/uOfUgKNaW1vgBCU4xntGvJ2rF9e957qwNGeb0g2ccUxBa9wYMqwFBUwG26FFVeipKLok50SfMCfZXUGPPt0E5/jKEEIehIfsDj79nPu5nJiDcmIkaef/2q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kOWFGzAt4R4emSO/Ai340O4DZeIVf5we2ibbIRgwwSHuITftX9QC57itL2dS36L4IQIZAwdAgAAAA==) format("woff2"),url(/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-ext-500-normal.fa0f8cae.woff2) format("woff2"),url(/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-500-normal.90af7e1d.woff2) format("woff2"),url(/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd} \ No newline at end of file diff --git a/css/chunk-vendors.5c0c1622.css b/css/chunk-vendors.5c0c1622.css new file mode 100644 index 000000000..114a78c9a --- /dev/null +++ b/css/chunk-vendors.5c0c1622.css @@ -0,0 +1 @@ +html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Roboto",sans-serif}html.md{--ion-default-font:"Roboto","Helvetica Neue",sans-serif}html{--ion-default-dynamic-font:-apple-system-body;--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal ion-footer ion-toolbar:first-of-type,html.ios ion-modal.modal-card ion-header ion-toolbar:first-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:first-of-type{padding-top:6px}html.ios ion-modal.modal-card ion-header ion-toolbar:last-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:last-of-type{padding-bottom:6px}html.ios ion-modal ion-toolbar{padding-right:calc(var(--ion-safe-area-right) + 8px);padding-left:calc(var(--ion-safe-area-left) + 8px)}@media screen and (min-width:768px){html.ios ion-modal.modal-card:first-of-type{--backdrop-opacity:0.18}}ion-modal.modal-default.show-modal~ion-modal.modal-default{--backdrop-opacity:0;--box-shadow:none}html.ios ion-modal.modal-card .ion-page{border-top-left-radius:var(--border-radius)}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;z-index:0}ion-modal>.ion-page{position:relative;contain:layout style;height:100%}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none;overflow-y:hidden}.menu-content-open ion-content{--overflow:hidden}.menu-content-open .ion-content-scroll-host{overflow:hidden}.ios .menu-content-reveal{box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{box-shadow:4px 0 16px rgba(0,0,0,.18)}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width:0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:transform .3s cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion:reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width:0px;--inner-border-width:0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}.ion-datetime-button-overlay{--width:fit-content;--height:fit-content}.ion-datetime-button-overlay ion-datetime.datetime-grid{width:320px;min-height:320px}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-moz-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{padding:0;border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAB8cABEAAAAAUVQAAB68AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwgcNAZgAII8CD4JgnMREArxGOZTC4FWAAE2AiQDgxoEIAWDFAeHVQyDWhsOSiVsm1bDbkfg6HdLfCRC2DgAhbAXi6Jkcq5R/P+3BCpD1u6adQdEw1qJUk3UeKsLLMHeeArKTNVrKdhkj46nQr/x7XS1uursqt9yrXEQ2ly0uGL+5z+v5Vh0DcTQ2lhm+9bdGltP+Nqro/FWUyIwBGC/hsHa+YrDxxFPQFNEXbefKSHFrvO5I7T0ES8PD3b9e+6dffC8D2lDodqIW4UoP+qIL6moCbwhKnEGaJv/hxzMgZuVU6yiTzk4qqQEkShJbdjH+Fu7yn6hmIt0a6c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i1N5UzJTi1KLM4vBPMGM0rz0xKLS3JzE0hKwCD9CWzyIDwDhGed/AA==) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-cyrillic-300-normal.7f3e16d3.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-300-normal.4b7b54ff.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-greek-300-normal.cf8e33cf.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAB34AA4AAAAAMcQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAE0AAAB2A74DyEdQT1MAAAGUAAAIqQAAEra0Fa1AR1NVQgAACkAAAAAzAAAANJMNggJPUy8yAAAKdAAAAFQAAABgaTKCAmNtYXAAAArIAAAAkQAAALghThenZ2FzcAAAC1wAAAAQAAAAEAAYACFnbHlmAAALbAAADZoAABSW32joq2hlYWQAABkIAAAANgAAADYaczq9aGhlYQAAGUAAAAAeAAAAJAfGA1ZobXR4AAAZYAAAAQ0AAAGM1SkWW2xvY2EAABpwAAAAzAAAAMwlfis9bWF4cAAAGzwAAAAcAAAAIAB2AL5uYW1lAAAbWAAAAMoAAAGUHpU7EHBvc3QAABwkAAAB0gAAA0kYoJk5eNoNwYEGwgAABcB7AQgChCQQCJGklKRkwGDA/v879u4Ea8DKxrZj17HvOHQcO04dZxdxdRN3D/H0Eu+OT8fXT/w7ho6xYzLLAkcTB4cAAAB42pyWA4x1WQyAv4uHsda2bdu2bduONliEa8ZYBGvvBmv8ts3hs7pN07zc32hzTtt7qulrmyEAWrmER4hPOe2cSzju5icfuoeDbn/o1rvZ7Z4bH7mPrYgBRAiIEnyY4IMED/H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gJQEAUn7inTxlPFXZq4O06Fuzu34QSchgPxikUqvs7KLDBLjAnGJucAPx3jMXZoG4+zTMt4glMyxpNDPVOs4DaeZoNT42URJKhoF7jmQLtMmBJJxRXxPmVxRn+eEnHVf3jmkzfu+eKXDFEaOAiSU+eeKkl1aSJuVUrIJq/aGifsc2zvjflrRqMn/RMVVcmoVuqbZojMEQ2cB/IUaFLqZ9Y45pAjLkU2A3VRUt+++I6M9tqQUUYRUf1RStT0RtjvAlNIOcYAAHjabMHVQQIAAADRO7CDsLvo7ga7W3dwDUdwAPPXLXUB3iMAAH+v5BjmBdAAQZ6JkyBNjjxFylSoUqNFjz4DooQNOsIvP4465rgTTjrltDPOGjJsxKhzzvPhgosuueyKq6657oabbrntjrvuGTNuwqQp02bMmjNvwaIly1asWrNuw6Yt23bs2rPvwH0PPPTIY0889cxzL7z0ymvevPHWO/+rIAudioEgiiZtF3f4DdyjuLtDdF67aSd0pYZ9PWt1G79n52a44riysnJk/uvbx6PARUlTikAglQkEA1oCiYExIBFNSximssBU8OBPJXydLBP1DVAo8xOkhKEU2CACO/Hg0OOV94PDgmGYC+7niRgqMGawSszPL6EaruxMXyboh+pVLhGMxkD2DcSB1jkFxtzU3Y3hY9sSfGiMY5V+MhjnQpmXBuPKYHjXlXdTeW84fGsJvDv0HxJBHo36k1J/dup3SvlQvXcFWpn93THQ+qXgophwBzfOCC1tdFSf2+a1FSHNaYHFbNexabcA61SdWdPOqcsXGr/TPmbWYc39lum4y3RcM503TOcdjInbLsFzl+C5rzh224iZRWysrrv/CTHRybqy7y2FUNAxHbPmPwin6tcAAA==) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAABoMABEAAAAATkAAABmtAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjD4cggQGYACCeAg+CYJzERAK5zTd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0g5xgAAeNpswYNBKAAABcB39ZFt27Zt263SNO3UOLVAdylIkuT7I6P5zWcSClKYvRzlLDd5ylv6MpSxzGQpawr98dc//xUpVqJUmXIVKlWhWo1adeo1aNSUL81atGrTrkOnLt169OrTb8CgIcNGjBozbsKkKdNmzJozb8GiJctWrFqzbsOmLdt27Nqz78ChI8dOnDpz7sKlK9du3Lpz78GjJ89evHrz/kMQPBgxAAABAPucOlj3qG3b9nzFMk2kpGVk5eQVFJWUVeKjGt94xTOS8Y6fmrqGppa2jq6evoGhkbGJqZm5haWVtY2tnb2Do5Ozi6ubu4dnYvhnig44I4bBMI6DC7bvMm+Stm0ASZIwMHAYoNtqK+dK9Y59+7n2Xyv4eXiTB891FJH00IgPqv+Yh/vwiDp7jRbLZmhRo8Wau92ELToM3DsMmJCe2KJGizUGdGpcxsvXQExYTtPPNF+3lDjOlpyQsqzJuw4t1thyX2Orbmv56fZflnlcNDlgQkpLrX6/5/4+EFt0yh93EDSYN0ODggYr7nYjNtihV+lznvqFZx16jEhdbFDQYIUeO/V6nCNiPr0d5uA4G3JEyrKQdzs0WGHDfYWNOm9znA9z8LgI2WNESkul3o9zNNg9r1++9JdF1kXFisUKO9Qo6DaNfVoX/euCqg0gBGBg++4DvuHubI9cgEgVz8nn19QOpUDaI/WzLKImgM7/wCmdKqiwvVU4uP6C8tckbuz0mIoa8wvX89fLepx8fmWWim0gHUjY71M5N6ERjQP+U4rXSMUH1EQb6WlRTHssV9T857IJF2Nm85AWmBY/eRkzbJM3n9oW6mlv7DGTGQFc6tfFAAAA) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-latin-ext-300-normal.06a5c912.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-300-normal.c60c0bbf.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/ibm-plex-sans-latin-300-normal.61ad3a85.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-300-normal.21e0cc54.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAB6oABEAAAAAUWAAAB5IAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CD4JgnMREArxKOcMC4FWAAE2AiQDgxoEIAWDOgeHVQyDMhs/SiVsmxbN7lZVEcx0dhQlnPRfUQQbB+J5syz7/6/JDRkiFqjbax0KjoaZUI4NWXBqqBIu2kOFEpardhz9CmaK0hZZcKiFB++SHNfqQxWa6MJiSpjPLOHF1yjy2OwVf7bTEmn8/BVqEhMO0+0Gf7TzOwhHUlBOF01tKJ7yN+Ek5jZjJJ7Lw5Mt9c3fk05ke2UAvGRDRAagKgDYEtd0UgjqDRBU4cozgNtqwLDwrrXhZhUgblIDiTFh1IAxayZSdl5GqVf5FaFf8eNc9S/JK6RpUp5OgbYLPN05moUjQHsnzGeLGlAoQLffAqvvdtVXqPnRkag9L9ZV4gOdjXUBYP/N/Xvv5uPMbkE4Rs/CBR/y8QVKbGJLBK6O4P/mttU7okkyeR1Cpk3iaiWxZIaof+6sGtMNaVJA9xP9E5045OKpEsj6CvNOXd1epa+MbAT86F8u09IZxok955svcVGmm+AhR1lTom0ewYe61FiITlgDsIumQmnx3+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hdTuOwp25GGs0Sse6umqPKhOlRi1Tz13IzFRGum5cuHLpzLVbhdybe0NTtT13ciMvCkOVB7lqcWFmKjmU6UWbRC2JXlruY/9EFKH//y5Nf/w7N1N6V5kYGWskPfsO9CXRLbYqpUxyqlBIfgv1YsrVcpVXuSfZD4j6QRgAeNpsw9NBLgAYgOHvqXOybdvmn227CdoljFBj5U3idS8iKX75fIhE/MXV9yRFcizGamzEflxGU7RFVwxEQnLc+xd3/kuRKk26DJmyZMuRK0++AoWKFCtRqky5CpWqVKtRq069Bo2aNGvRqk27Dp26dOvRq0+/AYOGDBsxasy4CZMSpkybMWvOvAWLlixbsWrNug2btmzbsWvPvgOH8RQ38e7IsROnzr7EXpqXCaBpDpIghqAggF4JJFhGxP2PNDXxsnrVv1ULIcy/KYzy5nT019jWa8knK9u2VI5tPFnpXcqs9H5mRh7bninPyrm9k/67L7nr5edg1g/auSIzv/d2a5a7fsj2V2TWuw95HXJld+ewNzsTA8u2J8rz5L29o/67P3LT23sKk/6inSsw8Xtvtya56S/Zfysw6d2HvIp8srlz2JvtN66kotSyVL3kyqIc7tzE5KL8PL3kxOJU3pTM1KLU4sxiME8wozQvPbGoNDcnsbQELMKP0BYP4gMApnbnswAAAA==) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-400-normal.56c46158.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-400-normal.93f2ed2b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAB60ABEAAAAASsAAAB5UAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnYbon4cNAZgAIE4CD4JgnMREArWDM4eC4FMAAE2A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rJD37DvQl0S22KqVMcqpQSH4L9WLK1XKVV7kn2Q+I+kEYAHjaYmBiAIP/CxlsGLCBVABB8JCAAABAUfC/bNu2bWvd8eK2YzYjCQwy6q6SyqqpqZY66qmvgYaaaqmV1vLLixGTfvpixoIVG3YcOHHhxoMXH34CBPUkRJgIUWLESZAkRZoMWXLkKVCkRJkKVWrUadCkRZsOXXr0GTBkxJgJU2bMWbBkxZoNW3bsOXDkxJkLV25/MXoyejH0AZogC+SIYRiKTrjM1yjzYJmZ20Ft4kkUcrB0+tpysnXAFln/WcalcWVcGzdem+PKysoR7evbx6OQ84alDMGBtIjAHrAGnBCyDJyApQ14rKgx5bn9KxKWTDaRWG3kwkygKMBNIRsEoDoeHJp5a36jxzP0K55bVcTdGsMMVh3arAZar1U9rSJCyxe/cB2esRCcfYI4kDqnEkJ13d3wjjuMD4lxLNJPhHEuMS4J44owzOvWvGnNN/RuFYF5h9ZDxJ1HUn8S6s+d+p1QPhT/XY1KZn93jIbQ8JzXE0yVkTMitMgYlfdWeWkFyCpWYz2rOyrdDUA5rdZrunP68gXd74+P0TiUuf/PdKwzHfdM50Omcw1j4lYneNYJhKMrjt0OxWgQG6vr3X7iUHRSY9O8JR9qNkYxMv8AsYXrCwAAAA==) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAABngABEAAAAATpQAABmBAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjDIcggQGYACCeAg+CYJzERAK6BTeCwuCSgABNgIkA4R6BCAFgzoHjRAMgzIbFUcl7JghbgdQqLL+DqKo3nwcRdmi3Fv9/7fkxhCRPlCzF8Rsxyx0VW/YVRltaYxESnaQU4NCpsO20e2xFcRbxNDyTq+f/l1/Lf+G40QRUS0UamjxG5ocMnGkLFHt+PDM+sF/KipRnYd7kUH0KJ9D8i0qfah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VMEylpGVk5eQVFJeX4qMQ3nvGIZLzjp6qmrqGppa2jq6dvYGhkbGJqZm5haWVtY2tn7+Do5Ozi6ubukRg0/0zRCWfFQBiFYVsG7X+pb2ay2melttouak9vow1XQySX/vu6yRuN7XH4Zg7OKCLxoRHnVf8xD/fhEXVyGi3mXd+gRosVd4cRG+zQc9+hx4j0hAY1WqzQY6fGZbx9DsSIuZi+p/lnT5HjZMkRKUuafNihxQob7its1LqVF+t/WeJx1mSPESnNlfr9mvv7QGywU+68g6DBtOtrFDRYcncYsMYWnYrXeeoXnrXoMCB1oUZBgyU6bNXreY6AqXg7zcFxMuSAlCUhH7ZosMSa+xJrddnnuJzm4HEWssOAlOZSvZ/nqLF93r586W+LbIuKFYsltqhRsNs19mlbtL+uf11QtQGEAAxs333AN9yd7ZELEKniOakdSoG0R+pnWURNAJ3/gVM6VVBhe6twcP0F5a9J3NjpMRU15heu56+X9Tj5/MosFdtAOpCw36dybkIjGgf8pxSvkYoPqIk20tOimPZYrqj5z2UTLsbM5iEtMC1+8jJm2CZvPrUt1NPe2GMmMwKwQ9f5) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-ext-400-normal.06159238.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-400-normal.9c6c72a8.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-400-normal.e5b81454.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-400-normal.36f1a382.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-ext-400-italic.2067daf2.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAB2YAA4AAAAAMxQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAADoAAABMApkCmEdQT1MAAAGAAAAFRwAACzZy32qKR1NVQgAABsgAAAAzAAAANJMNggJPUy8yAAAG/AAAAFgAAABgaxuf7mNtYXAAAAdUAAAA2gAAATxKaGh7Z2FzcAAACDAAAAAQAAAAEAAYACFnbHlmAAAIQAAAELQAABxCA3RYvWhlYWQAABj0AAAANgAAADYaWjq7aGhlYQAAGSwAAAAhAAAAJAhzBvpobXR4AAAZUAAAAQMAAAGo+FUSGGxvY2EAABpUAAAA1gAAANajR51KbWF4cAAAGywAAAAaAAAAIAB7AOJuYW1lAAAbSAAAANAAAAGyITc9qnBvc3QAABwYAAABfwAAA81hu/gUeNoNwQEGhAAABMDZA5zekOgFIQEhAgECAvr/J9oZwQD4+RtNYu5YOlab2B3i7Lg67o6n4+18iAcFMgAAeNqNleVyZEcMhc8dz6wZwszMzMzMzMzMyf+8ROANwszMtAx2LcbMMMb1HY/y1alb43CiU33UVy11q9XyWImkOl2ux5U//czzL9eJtz3z6P069K5H77hPe95/y+MPalvlhUTgW/W7eW5+DubnUv6+Ox4l7q8seR1voqWq2sMXXK0G5fKjWFT4tHCwthZeMRWrI4129Fy0xpT+h8R4tKkmFnu+hNnGmCU+RaeqUZ3+TjbHo4THFJiINkaRfMSJuVipZlVrO9WwR1nbVM4Zia/VHBtEwrEQH8V0JUO+/ir2+JkTFpKJiHYuMeyvlK9m64K/Zysx3B9eT2waa5gNRp8ktLkUJ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NzMVHCkMchnaNrR1WKzz9nm7n7X85qKXXLoyU/sSTYyl/wUDBw6dCm2XtkS1QnChShMWikYQlRql6EPpVfEP57U/AnjabMPTQQUAFIDh82Xbtm3cbNtN0C5hhBorT9FrGKAfkRTx8/X3UyTiP27+JimSYznWYysO4zyuoyU6oieGIiE5HqXEg1Rp0mXIlCVbjlx58hUoVKRYiVJlylWoVKVajVp16jVo1KRZi1Zt2nXo1KVbj159+g0YNGTYiFFjxk2YNGVawoxZc+YtWLRk2YpVa9Zt2LRl245de/YdOHQUL3EXn46dOHXm/FfspXmZABrlwwaiEAaCaEtgsjIm9F/S6f4OSk/jdQhh/7Xg+Wsr4zP2+5lTxSbz02Ws2LBLS9jQ5U4YsciRkN4Nt1zG/u6XHuz0KZjYHbecERO+/yZboge701feiImdu9O30A0Hd3SXe6BhwCyHIb0rLrki+7sfurMHeTIa+8QlZ0DD919lM7qzT/rIG9DYuTt9M12xc0efcvffuJKKUstS9ZIri3K4cxOTi/Lz9JITi1N5UzJTi1KLM4vBPMGM0rz0xKLS3JzE0hKwCD9CWzyIDwBGN+eDAA==) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-cyrillic-400-italic.8367e30e.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-400-italic.559e9daa.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-greek-400-italic.8b6eda6d.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAB58AA4AAAAAM8wAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAE0AAAB2A88D2UdQT1MAAAGUAAAHrQAAEhy0oKrKR1NVQgAACUQAAAAzAA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FTPjRr0apNuw6dunTr0atPvwGDhgwbMWrMuAmTpkybMWvOvAWLlixbsWrNug2btmzbsWvPvgOHjhw7cerMuQuXeXLl2o2/LshCN2IYBsNSk4x5e40xC8fMvAl916h1KcXR0y91crdsbcAk/198NdhkuLS0dED36ubhMGSqlolEEJDkIfCOrEEEkKYgfJnUMCjzChOV8W+dYG2yDvXJUWkzhjyHgQTSjg+m496+lzXeJw6qFLulylgZqoEKgxSWBV2shmawMT1ZHiLr6q1doVIZgNgliL1W51hD2K7ba4OHFuOtxTjU6QfCOG0xzgnjgjC8y8a7arwXHLw2BN4NsrtQiXtSf9Dqj1b9Rivv631ToZHZ3R6hIdQqU9WYfTg5Q1qLjGFUtc23lo+ylBVW065j0nYAxmmcXpPW6ZXP/fOpaITGYczdX6ZDl+mwx3TaZzp1MMauXYJHl+Dxr+LIdV+MBrG2vGrvI0HRcYfN8Ra6UMkRipH5A+cu7ZcAAA==) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAABr8ABEAAAAAUOwAABqdAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjBYcggQGYACCeAhACYJzERAK7QDhPguCSgABNgIkA4R6BCAFgzIHjRAMg0QbuEgV7NhLuB2ARHX6SRBF2aCcmv3/+bgxJhRo5f+HmG2ajlqxz1obnVI6OjIVteVItzAVl/DcBYkWNHZO6PLcfpKVyAKRO44HHTYRCM/wS2qKxcU0qaBD8FU+JBN/sLGgBjy+R5r9ut+FdbFjM3v6ERr7JJeHcIzfu9u+YKZJPRT1aM0yiUryBKGQoBSSaxPfEG2rmd2ll15FEWkRUQGjiTQau1GME4y7tv+tiwgv6qP0s/yo9NPzolzGVhsgDiwOm77Ij+Tp6/Z2j+1AAwyS2FIIEm4+EbRrJ9zHH0KlUCQD2+0diaNtxdUZaC8mySSk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KOg2jX1aF/3rgqoNIARgYPvuA77h7myPXIBIFc/J59fUDqVA2iP1syyiJoDO/8ApnSqosL1VOLj+gvLXJG7s9JiKGvML1/PXy3qcfH5lloptIB1I2O9TOTehEY0D/lOK10jFB9REG+lpUUx7LFfU/OeyCRdjZvOQFpgWP3kZM2yTN5/aFuppb+wxkxkBeYHZ7QAAAA==) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-ext-400-italic.e93b8460.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-400-italic.91ab5b06.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-400-italic.63db2591.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-400-italic.3738056a.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAB+QABEAAAAAUnwAAB8vAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CD4JgnMREArzTOlOC4FWAAE2AiQDgxoEIAWDGgeHVQyDSht5SyXs2IsCGwdgPOsdjYq6vSgJiv8/IzkZQ4YeVJdl1SFmw6EJHcPTmQNtHCt0snCqj2B0uOGE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iWQYBkR9z/S1MTL6lX/Vi2EMP+mMMqb09FfY1uvJZ+sbNtSObbxZKV3KbPS+5kZeWx7pjwr5/ZO+u++5K6Xn4NZP2jnisz83tutWe76IdtfkVnvPuR1yJXdncPe7EwMLNueKM+T9/aO+u/+yE1v7ylM+ot2rsDE773dmuSmv2T/rcCkdx/yKvLJ5s5hb7bfuJKKUstS9ZIri3K4cxOTi/Lz9JITi1N5UzJTi1KLM4vBPMGM0rz0xKLS3JzE0hKwCD9CWzyIDwAUf+fQAA==) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-cyrillic-500-normal.ac7a4f20.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-500-normal.f1f0eede.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-greek-500-normal.5e3e3086.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAB24AA4AAAAAMZQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAE0AAAB2A74DyEdQT1MAAAGUAAAIlwAAErq9tLkjR1NVQgAACiwAAAAzAAAANJMNggJPUy8yAAAKYAAAAFQAAABgaf+EQWNtYXAAAAq0AAAAkQAAALghThenZ2FzcAAAC0gAAAAQAAAAEAAYACFnbHlmAAALWAAADWUAABRaJGvTP2hlYWQAABjAAAAANgAAADYamTq8aGhlYQAAGPgAAAAfAAAAJAfsA3JobXR4AAAZGAAAAREAAAGM3VgTGGxvY2EAABosAAAAzAAAAMwifCgkbWF4cAAAGvgAAAAcAAAAIAB2ALxuYW1lAAAbFAAAANAAAAGaHuE8HXBvc3QAABvkAAAB1AAAA0kYz5lbeNoNwYEGwgAABcB7AQg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u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAABp0ABEAAAAATSwAABoUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjDIcggQGYACCeAg+CYJzERAK5TTbQwuCSgABNgIkA4R6BCAFgxoHjRAMg0obxUUl7JghsHEAZs5+xURRNig3Zv//MTkZMlgP2FRfkElkU3qosTYHKo6LDZ+wVmxS33Z6IVjNRzQqtfnN7aZoFC20KKFDNuaycS9OkYFFqt8q11EpEgUhPxOaHMoHi/RlP1U5hUkfS0WTTRJJeHGwyeUuf5MMdzkqpcfPos3Gxp9XXDlw4aunx0g8l4f/9qPdeWs2u5gl0lpDRKKYfTSyVEIjeSOUJRHqz5wJDWgmY0/v1ObtyvJqV7KVxEE3ikPolNg5whI7JXR7hCpxeoRFcIE4Zbz7630Benjc1r8xEOzDJtQROSLaAmwYGEUYlAWXrfcj8Sr87e9qbm05jByrzesGS9C9Y65WMqbwyHlOFVeUQ3nCMh0VpBBU21PZb1heeZ52vv9jCyLpumSIU5/hEJnMBtj5OrTOS3GpvqzBNbsA/s3/KyeZn14XlfoKuFqMYLmiXfIKTla9F/2mRwKMOXVu5682lY9eZCnk4pxq2YmMfpKWJRt/Ju3//+vss9V9V/d51rOk9V8CDyxWW3TSmQmwg1ymaCS9N3qS5WcPnozH48/kWfpofemDx0s8GwDoFjCEVFSARZcOu1SpUibl9m1StF38Zz/1PRejWb6ELsygkeKVEIqz3X9vfvX1Zapev17fVtdUJEBrQPwvXgKDAIKUhAtSSgnSVAxkmByIay/YTMtgdS4C+0Ye7EfHwRY6DUagXx9H4XcsVgWufZpboLlz1gD+E609oMID9TyG82qljF5KPL8M6CRunLkHhsJv68MAignAR/C29rXoiCdSkWggEchjvAeyWJmAmFFhafXx31tMKwcTDVmCwm1NoNTfe4hN5J3tTWq0YJvVHHREsAGpDP67V0CVZigxKR0jMzuPHr0GDBs1bkZK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DfPCPDVPjDXPzUt+4jLjTDBJk5/5hRZTtOlwhatc4zo3+JWb/Mbv3OIP/uQ2d7jLPe7zgIf8xSP+5jFP5nUmG2EYxtNYCCtRUL3Qql+pT4f9rtIvLAqTFKNhoeqR6tGgeBnGQvErZWEkvuIoi8WP5GPVZ+Vj5WOlb9Vny0Gj3Rgf1dhWMjbpaY41W5NpFIvsJBKLFcvMySTOUMPFGV+msYZyit1w0PHmPZ2umVNzIjGXmcvUyTQZDK5falWzB0+knZSDSn4PobAgdHqnIaHqkerRgHgZWqH4lZKwEsS1VrPaVpvSUUWotkh2Vu1WdlZ2VjZWfbYUHMyvQzLW9RzLrUNkJ5FYrFhmTiZxhhouzvgyjTWUU+yGgpF0HSO5dag5kZjLzGXqZJoMBGfy65B2UlroJXdWx9uh32hYDIvCAWFJmNVDYTnFQrHXb7Ra67Tr6dE7LfDHsWbzcpr0RotHG/VWfaox5dlvIt+wpNZo1ToTF8fr13w1F/t6XzeeVu3Lmieqr1c9mWN7p970YrXqVH1p7o4+0ev106OX9secQlryY/vjIt045XWvm4u7On1vLp4rd6dZPuMJZqa6IitnPcbsZJe5YuazpLmZbzO7uTvM/2172BY=) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-ext-500-normal.07ec9718.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-500-normal.e374c32f.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-500-normal.076cc514.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-500-normal.ad5aff69.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAAB+cABEAAAAAUngAAB88AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbkwIcNAZgAII8CEAJgnMREArzJOlDC4FWAAE2AiQDgxoEIAWDJgeHVQyDZBuWSyXM812M2wEUuZXERVG2OH8q/v/rcTFGAgWcpb9Ghm02Uprlhya0yDyv2LsqEzV7GYGNSEf6QvWowMo4yqPXj/3nXbg4SCkf9hgLD9WWSxhnDTaSvks98xmbrKsD64gXL/We4WFf+nzN7FJg557WCccqE1XLwrIWoR2KMkUc9V8aPqtqEvHcf4TGPsnl4fv9Qs+97+9ymKhApGinsiwMK0CZiYpwRUUgo0r0B2ibHekEXQX6eEgJyJEjlW7hjhQpccRGLPKc6MqPbP1EP6KdH93/c66l7fmEjq6FrunYKopW8eOYzrIM06sMW02EiNUdQkra46n+xHd7nykQkkymUsfWeROAACQCMLTtyPjMQNAeI0154B1rHzyOdxEJxYZUvGrVEeKdNwjpUiMkr+S9voQm2vIdtOqabpbhQa1C///TZf4hjfDPCHi0qyWbF2w+CjBWRBXg6+Oi8xXdpZTDReekqIC7cJvzn9zK/2G5JO9BxLWPF+UMw+7eHXHrFNqhjboU7T0YN2/gNMLYkBXxvFCqRf9LzSzF+40G5NY0Tc2FmoLkIwXZyLvcBfFVAeheYIBGczjk8m5BLGX8FIulJUeGu54DbtXQnvG2cu3NGvGcdaHNVYrP5Zf5PLTRnQ5xtZSppRzjeJX9/bIa6K4zdy+ap0wMGDEi0mt+53OPbTg72LvPEQ3SBPn+QxfoA1LXVCCMWegwVhDBWEMO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V3Eqzy7+1w5az2gnieqqKhuAM5IZbiCHv4zXEkrfxmuYopQhqsLempo4yLDtXQwkuFWCV6IuH+c7XeHuSfEqzoi9xGWP4zfhHi2vs0SG6wyxyY7Vh5JsM8tX3b2So988mr129oDR+oQeqi/CBimj6HMO51xCaRy/fbUz0TlW0K5+cyclJmUSifnjT8k8W88458JGGKAQSakrJNdhOzrk2f5cAcFE2FUPBofjTHfB/rSKEQ9ZQB42mzB00EAABQAwHfZtm3btu0J2iWM0BINkzeJ391FQvz5eoyz+M91RJAQibEUa7EZB3EVTdEWXTEQUxLjQVLcS5YiVZp0GTJlyZYjV558BQoVKVaiVJlyFSpVqVajVp16DRo1adaiVZt2HTp16dajV59+AwYNGTZi1JhxEyZNmTZj1px5CxYtWbZi1Zp1GzZt2bZj1559Bw4dxXPcxodjJ06dOf8We2leJoCmOUiCGIKCAHolkGAZEfc/0tTEy+pV/1YthDD/pjDKm9PRX2NbryWfrGzbUjm28WSldymz0vuZGXlse6Y8K+f2TvrvvuSul5+DWT9o54rM/N7brVnu+iHbX5FZ7z7kdciV3Z3D3uxMDCzbnijPk/f2jvrv/shNb+8pTPqLdq7AxO+93Zrkpr9k/63ApHcf8iryyebOYW+237iSilLLUvWSK4tyuHMTk4vy8/SSE4tTeVMyU4tSizOLwTzBjNK89MSi0tycxNISsAg/Qls8iA8AXI3n4wA=) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-cyrillic-600-normal.660409e4.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-600-normal.481a966b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-greek-600-normal.9eb10978.woff2) format("woff2"),url(data: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RplHiwzczuoTTyJQg6WTl9bTrYO2CLrP8u4NK6Ma+PGa3NcWVk5on19+3gUct6wlCE4kBYR2APWgBNCloETsLQBjxU1pjy3f0XCkskmEquNXJgJFAW4KWSDAFTHg0Mzb81v9HiGfsVzq4q4W2OYwapDm9VA67Wqp1VEaPniF67DMxaCs08QB1LnVEKorrsb3nGH8SExjkX6iTDOJcYlYVwRhnndmjet+YberSIw79B6iLjzSOpPQv25U78Tyofiv6tRyezvjtEQGp7zeoKpMnJGhBYZo/LeKi+tAFnFaqxndUeluwEop9V6TXdOX76g+/3xMRqHMvf/mY51puOe6XzIdK5hTNzqBM86gXB0xbHboRgNYmN1vdtPHIpOamyat+RDzcYoRuYfTVzrOw==) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAABroABEAAAAATOgAABqHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjEQcggQGYACCeAhACYJzERAK5DzaZwuCSgABNgIkA4R6BCAFgyYHjRAMg2Qbo0UV3BiXPQ4A9P8IZP9/S9BgjATbDlTLFx6ixFHbadAuizLaYuEHpQcvZRBVwDqpDq+d6JvNyWbhn0ptaVmWh4fk0Ki6pBObJ3amLjX4CI5BoowoP2fQ8eEGRYntZe2016prIKbeQbNGeVLdwW9+vTbHmyH8o6n7EIb7z0dIMstD/dr3nu47SzPvE2KIyIhMVdz+uKgoYAvsDMtEEfX0/LZ67wMGYeQpqB9URFL7m1hgNPkJQQRM1F3aTPZudtvbTnZbvN3LrB9zlv9kyZYsybbiOGCIx0mGcIkyS4QpQrbtaTH3QlLilLNTxg8Ap7+99fYXEXb7GSMNktgC4AoRxvbRJnqytsPSj9BprNNoLyaIS6aKV0iEQuTgXGvF00W++HgkI/7QaIuOW/TBOu+HEqAoJ+elRadu5EUQ8eFp4JyrEphg4UQ24cigxi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kCTJ51se8pPXJBSkMDs5yEmuvt9LejKQkUxlISsK/fLbH3/981+RYiVKlSlXgUpVqtWoVadeQ941atKsRas27Tp06tKtR68+/QYMGjJsxKgx4yZMmjJtxqw58xYsWrJsxao16zZs2rJtx649+w4cOnLsxKkz5y5cunLtxq079x48fhEED0YMAAEAwD6nDtYtatu2rfmKZZqIiUtISknLyMrJKygqKauEj2r4hld4hmh4h5+auoamlraOrp6+gaGRsYmpmbmFpZW1ja2dvYOjk7OLq5u7h2dk+GeKDjgjhsEwjoMLtu8yb5K2bQBJkjAwcBig22or50r1jn37ufZfK/h5eJMHz3UUkfTQiA+q/5iH+/CIOnuNFstmaFGjxZq73YQtOgzcOwyYkJ7YokaLNQZ0alzGy9dATFhO0880X7eUOM6WnJCyrMm7Di3W2HJfY6tua/np9l+WeVw0OWBCSkutfr/n/j4QW3TKH3cQNJg3Q4OCBivudiM22KFX6XOe+oVnHXqMSF1sUNBghR479XqcI2I+vR3m4DgbckTKspB3OzRYYcN9hY06b3OcD3PwuAjZY0RKS6Xej3M02D2vX770l0XWRcWKxQo71CjoNo19Whf964KqDSAEYGD77gO+4e5sj1yASBXPyefX1A6lQNoj9bMsoiaAzv/AKZ0qqLC9VTi4/oLy1yRu7PSYihrzC9fz18t6nHx+ZZaKbSAdSNjvUzk3oRGNA/5TitdIxQfURBvpaVFMeyxX1PznsgkXY2bzkBaYFj95GTNskzef2hbqaW/sMZMZAelq2CkA) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-ext-600-normal.08d9c6e7.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-600-normal.fa3c0021.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-600-normal.a9a32ccb.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-600-normal.7223ff6b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAB+MABEAAAAAU1QAAB8rAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbknIcNAZgAII8CEAJgnMREAr1BOsCC4FWAAE2AiQDgxoEIAWDIgeHVQyDdBtRTBXsmCFuB6Ak360dRYlSXb8oygfnlMX/n5MbMkT2g2pb9QdBRhol0hpi2KOYSFJwqLUsll4cXdshw3aqiOE+xq2QEGw3bmMei0yHfYIaD5PYhmiLKBsZEgcyqnAh532vgvgrHGLHCpZZLnhZfOOH2+SIKYhJRLyDPzV4deLf1sQfr685QmOf5MID8Wf2ZuY74GahLFymvTZbpgCSyjhBOZozgNv6Fx3oHXLXRoEFOhgxEBtkGyVZFvVIa1wWchXzy/ki/VwWvkpf86pK/9+1z/eSLN2b2W2FAQANJEwHMh+wRMLOP3WZ1gGTauWqEkTA4Nw23raKWIRKshA1v2K18HbizRGzCcLwFkFISVh8uJzop2v6CYv9+M8KKDl+XDlAOYeSnaq8n/b7cernkyVZlmUNjy3FTpz4byd/LtaxAPsF7AAsoAfYHWBHk27AWsA+gAWw1MNfbO79E0skoJhSDApiXiLjpIWOH1mQItB36otlPIIpgP8jOyv6Ll1qfm3FmED7UHTaw+LgNOSiaIXS2uKITlgDsIv6X6aW6bzf6MHeyfaSKCgUau58pC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mzW2rOVxPY9rerCmJY9d1lCfvWzus/q5EgWa6F7E0X3xsMUGmxzgcT2lKCm3JnxKRq8H16CMGFHNuhk1jRHWejMfO2J42mJgYgCD//sYUhiwgSwAQfCAEAEABABwp8u2bdtdtu2+FJ7Qt+r0lZuJCAoiEQdxEudxFx8xGKMxGfORlIhfhfGjSLESpcqUq1CpSrUaterUa9CoSbMWrdq069CpS7cevfr0GzBoyLARo8aMmzBpyrQZs+bMW7BoybIVq9as25C0acu2Hbv27Dtw6MixE6fOnLtw6cq1G7fu3HuI//iKnEdPnr14zYu9NC8TQNMcJEEMQUEAvRJIsIyI+x9pauJl9ap/qxZCmH9TGOXN6eivsa3Xkk9Wtm2pHNt4stK7lFnp/cyMPLY9U56Vc3sn/XdfctfLz8GsH7RzRWZ+7+3WLHf9kO2vyKx3H/I65MruzmFvdiYGlm1PlOfJe3tH/Xd/5Ka39xQm/UU7V2Di995uTXLTX7L/VmDSuw95Fflkc+ewN9tvXElFqWWpesmVRTncuYnJRfl5esmJxam8KZmpRanFmcVgnmBGaV56YlFpbk5iaQlYhB+hLR7EBwCsMef4AAAA) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-700-normal.1ff92a55.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-700-normal.8b796aed.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAB5MABEAAAAASlAAAB3uAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnYbpAIcNAZgAIE4CEAJgnMREArTcMt9C4FMAAE2AiQDgwwEIAWDIgeGSQyDdBtoRCXs2EsBugNQyd4rhJEIYeOAyGyflP3/CceNI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QszgaIAN4VsEIDqeHBo5q35jR7P0K94blURd2sMM1h1aLMaaL1W9bSKCC1f/MJ1eMZCcPYJ4kDqnEoI1XV3wzvuMD4kxrFIPxHGucS4JIwrwjCvW/OmNd/Qu1UE5h1aDxF3Hkn9Sag/d+p3QvlQ/Hc1Kpn93TEaQsNzXk8wVUbOiNAiY1TeW+WlFSCrWI31rO6odDcA5bRar+nO6csXdL8/PkbjUOb+P9OxznTcM50Pmc41jIlbneBZJxCOrjh2OxSjQWysrnf7iUPRSY1N85Z8qNkYxcj8A5GE61AA) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAABoUABEAAAAATVgAABmzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjEQcggQGYACCeAhACYJzERAK5SDbXguCSgABNgIkA4R6BCAFgyIHjRAMg3QbJkZVRoaNAwA76+cmitJBOS37/1NyYwz8QdUaYsl2kChTQ52dZDbMo6R2QTnYRCmsY0wWZ5wktjDHtCyFemlFBbVCKVo9P8e83Ui6GtiDJvMK+mGqi1xe/DfDK1PLEp1AoWGMol/B6l5TxqNQ+lBhHgr6yBiJ5xLEL9/N27ufdEVtLv+orcsEHw1CRVGNqAqFQqHoClWqJXs8udnP213aLixFLBRhVUQsCCJWVCxgq1hQI/aWkHRNMTm8RO/OlO79/1M614kpJpd/rdcUkGLc7YsQwmhs1BJSRhHp4FX/8/R4e3fiM5kO5HuQRBRpog1sm/uSlbqFUie+7EZRVRBpaASWDprAId5Sfm9OMnhuKge0Sqq2ZQ3b5pf5vZdKo3K7OKdadlT2oaJk48/Eg/6FD7BnSyZQsPkECrqkZzLi2QAbr+D/yaa97bx5+0Y+He6RPlT+wMGiWlkXYF2Im4JGMyNYrUZrIHmtD3yA+v8ABdbZkhL2R2rDFdshgh65pKLBok/5y6Su0id9k7KO3++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2KBDjYJ+09i/rqjiAEIAhn3PfcAz3J3tkRSovOqS5ABFP7+mdsjFpT1cP8siSuLQ+R84pVMFFbq3CAPXX1D+msSNnR5VEaN+4XjeelmHk8+vzFLRjUsHAvb7VM5NYETigP3kYjVcsQExvQ33tCCmPoYrYt5z2YCLMn/zkBSYFC95GTJskjufmhbKaW7sMD8zAnJ02D4A) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-ext-700-normal.ffb27f52.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-700-normal.05607a29.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-700-normal.be218eeb.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-700-normal.29264e16.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-ext-700-italic.327fb782.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAABz8AA4AAAAAMsgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAADoAAABMApkCmEdQT1MAAAGAAAAE4QAACzBv62tKR1NVQgAABmQAAAAzAAAANJMNggJPUy8yAAAGmAAAAFkAAABg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-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-cyrillic-700-italic.145523a1.woff2) format("woff2"),url(/fonts/ibm-plex-sans-cyrillic-700-italic.2fddd97b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-greek-700-italic.995c062a.woff2) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAB7UAA4AAAAANDgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAE0AAAB2A88D2UdQT1MAAAGUAAAHygAAEmTAza64R1NVQgAACWAAAAAzAAAANJMNggJPUy8yAAAJlAAAAFcAAABgasuGcmNtYXAAAAnsAAAAjwAAALghWxezZ2FzcAAACnwAAAAQAAAAEAAYACFnbHlmAAAKjAAADzQAABcKnBA0KGhlYWQAABnAAAAANgAAADYajjq1aGhlYQAAGfgAAAAiAAAAJAimBxNobXR4AAAaHAAAARwAAAGY5oMMumxvY2EAABs4AAAAzgAAAM5RcEtibWF4cAAAHAgAAAAcAAAAIAB3ANhuYW1lAAAcJAAAANcAAAHWJNZA93Bvc3QAABz8AAAB1wAAA0uYmRpEeNoNwYEGwgAABcB7AQgCCEkgECJJKUnJgMGA/f9v7N0J1oCVjW3HrmPfceg4dpw6zi7i6ibuHuLpJd4dn46vn/h3DB1jx2SWBU37B6kAAAB42p2VBWxjSRKGfzt+vsxLxg4NYyYOc455ILgMx8zMfGKtWFqxjll4gmNmhmXe9YJPo4V4FT1ZcTSyPHGkvk/tUrYHvNFut+p1v3bVX39V1ysrJSnW6/Q5ZeYXr3qdXvPeL3/mY5r74Gfe/1ENfezdn/uEDiojhnPotgX7dLBPBXsp89H3fwa7S5+S/x1trNHruClbSfUox9u7lPE/foD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4w+Z4C12o5AjFyPwBx7ft3AA=) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAABrwABEAAAAAUOAAABqOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbjBwcggQGYACCeAhCCYJzERAK7AThDAuCSgABNgIkA4R6BCAFg1YHjRAMhAYb9EgV7NhLwMYBGJ70kSD7/3NyMoZAHTa1WwWz2cqxXajuLoxC8XTDNhYSHr4qMP7miObNFlvc8JGunP9w3mUVOBa28C98FI6MRaEiQlYFUwaHE24VFWxcr0gQPFQ1aC9MnZax9JFLft7e/N1qJio5fYQkszw8vz+oc+/7IzjNJDNaTVg6SyUIaZ3EtGnSSnd42ua/d0cfNqKCkzMAgzADBauQCVZhYSFGFIvif8xctLp0+xkpD2+797+sX3HqbUpTlSgoYtF0ISQ2vBytVD0K3DJnN2/z/cD3C91QaIlILyK4wdzBqv9VV31ZsiwHLCETjIVlk6LZFGF3L4QM793robpuQn256Jiig5KbS3RXDq+/VHSzRTcocPuSUDqFQrFszMRuWvIRj9uA0u9GYJz4gKntboCFgE14EoF0HYjnPIJNG0X6ZFH5gopdF2iUYPp4gk9e6jMrBaDvu58/wNzWjRwKOeV2UhiykE/VJnb0Sbi/ge32joRVppXuZNfUAHcavye938DtU1k0LA52qQSeT4vapq0w3YMZDAY9WKFn8fIUXuOVHOzsLsSCQmtTKuFrFT619+FTSMckXZM0TIc+/bVX+3B1bC5Fszk0yXf9Z7+0n6Ndd+1CEgYRLwgIkVSwnfmbr7f+gReA/gBINBZ4IDc+ID9qUIUWUK9hqAmTUMcdhzIwQM2YhVq0CAUBfeWaRli7PkkBZGubVgP8N21ZNXDdi3S1gIUAUIcSiswUI0jFEPEbAXQoZ49ra0HwtXT1BgDvKYDCW9Y+KC0/DR4KAiBQQH96EHQdHUMrLY17Ur/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btmzbsWvPvgOHjhw7cerMuQuXrly7cevOvQePnjx78eotfrzHb3zGRyzGd/z9EwQXNgwDAACAQmy/zq3u7j8XXN3cPTy9vH18/fwFQpFYIpXJFUqVWqPV6Q1Gk9litdkdl+Bkig44I4bBMI6DC7bvMm+Stm0ASZIwMHAYoNtqK+dK9Y59+7n2Xyv4eXiTB891FJH00IgPqv+Yh/vwiDp7jRbLZmhRo8Wau92ELToM3DsMmJCe2KJGizUGdGpcxsvXQExYTtPPNF+3lDjOlpyQsqzJuw4t1thyX2Orbmv56fZflnlcNDlgQkpLrX6/5/4+EFt0yh93EDSYN0ODggYr7nYjNtihV+lznvqFZx16jEhdbFDQYIUeO/V6nCNiPr0d5uA4G3JEyrKQdzs0WGHDfYWNOm9znA9z8LgI2WNESkul3o9zNNg9r1++9JdF1kXFisUKO9Qo6DaNfVoX/euCqg0gBGBg++4DvuHubI9cgEgVz8nn19QOpUDaI/WzLKImgM7/wCmdKqiwvVU4uP6C8tckbuz0mIoa8wvX89fLepx8fmWWim0gHUjY71M5N6ERjQP+U4rXSMUH1EQb6WlRTHssV9T857IJF2Nm85AWmBY/eRkzbJM3n9oW6mlv7DGTGQE7stoyAAAA) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-ext-700-italic.672afa11.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-ext-700-italic.21c2ba4f.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans;font-style:italic;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-700-italic.40d7026a.woff2) format("woff2"),url(/fonts/ibm-plex-sans-latin-700-italic.d6e33b96.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAABrsABEAAAAARvAAABqPAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbHhwuBmAAgjAIRAmCcxEQCvEg5nsLgVQAATYCJAOBVAQgBYMaB4dTDINgG84/JWxcLQbnASR96Op3RJJFWhpFxeIe+P+PCXKMGMP/G6BWCUFA6ihLz1QT7tLdHdtNcwSpZioh8b3S2oqyaMVx5ST1zEkcfIib2PoVW6/0wkzKcsXhKmGWCZSFDh7yhc3CCE9PkLR+dlYy6K89yT/vF1Z+SOElR2jsk1x44u3IN/P3SERylVQbuxLcqgNV3Q7gtv7nUZ5wbcXoMIaD3ojRI4YSBiAcgmhflncvKq/0En2RqS/0/cpX8b/Tyi9btixZ1VVu8pS2pV+vaA/eobkXQCZ5/ApOB2wXsAv0pC2AOcSCg8Lz/zvvq594hJ2RTgesk51g1pFd7rYzQQmijTuQZfOgkjyAg5XTvJMssmtNOFH52gmyqTw8pVQWwAJgCoAgcWF0h+kdd+Ia3Ayery7seaSXAzjQFZAIR0ZgKzn2E/zlLTj+4fp4rc5vvIjR0iE6YQ3ALhoB8+3XqmuSaGxDrBKaSbNMybOz8z7z56OqjSTWKMHEm0kWD00uU8r1eunsa+knVb+34c55a78csmocsQGZH7EzFsBG0mr+qGZn5vZCyHLOs/9qayXHUDwkgM/MZRoSishmJoQZ/h/unf7qneYQCEDXuM3ta1AgiQaWyAJPR4wVhx5Zlt0Gw38b4+fv5ioVAUH0/QqdJqms0l7b59rdJQ4YMNmZIIA3AKAIgkEQwJNozSqaW7uCQC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QghKCFIIXghqCHIIiwi9CMkI1QjhCR8JKwlwCXgJhAmQCbsJ7QoYCjMKTApYCpEKmQrQCtwK6Ar0CvwLIgsuC1cLfQuJC64LtgvDC+wMAQwjDDAMWQxuDJB42mNgZGBgyGT8waDFkMnABuYhADMDIwAwlAICeNp9jzVCQ1EQAAd3Slrc3a3B3R0q3N1zn5wgx8lpMsW3Kk9nfRco55YiCoor5DOyARfQQSbgQmpJB1zEGK8BFyd8SqjjJOBSWhgJuFaCe77d70zR7/7iik8elL/lPr7kZ/83tXfat1lig1Xm2GRHyw3/0huv3l7phmse+OGFI/kT49FKA0P0MRy800GGhojy59qT76RnLviMYoMYKYiSklHzat5J4Tzc4ZzahxhgkHEpzKIXn/r1ybM8uxsSEV8oceN/4/+L2enLAQTGOyoAAHjaXMGDVQAAFADAf9m2bdu27QUapOcwQmvlTeJzd5EQf75uYjsixH/XEbEkIZZjLTbjIK6iKdqiKwZiSmI8SooHyVKkSpMuQ6Ys2XLkypOvQKEixUqUKlOuQqUq1WrUqlOvQaMmzVq0atOuQ6cu3Xr06tNvwKAhw0aMGjNuwqQp02bMmjNvwaIly1asWrNuw6Yt23bs2rPvwKGjeI67+HDsxKkz34pkT9RLzCkxMGQvzcsE0DAHRxKDQAwAUwLABp7GmPxDurqleXVpNKUURvk3pKv/jG39LPlmZduWyrGNNyv9pcxK/zMz8tr2THlWzu2b9Oe+5K6Xv4tnb9DOE5l5/u3WLHf9kO2vyKx3H/K65MruzmFvdiYGlm1PlOfNd/tG/bl/ctPb+wrP3kM7T2Di+bdbk9z0j/xtV2DSuw95Fflmc+ewN9vfuJKKUstS9ZIri3K4cxOTi/Lz9JITi1N5UzJTi1KLM4vBPMGM0rz0xKLS3JzE0hKwCD9CWzyIDwCXGef6AAAA) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/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kgyeDKoM4Q0KDRYNNA08DVINWg1mDW4NoA2oDbQNxg3SDd4OFQ4hDi0OZg6SDp4Ovg7GDtsO4w7vDvcPIw9ID3EPfw+ND68PuQ/iD/AP/hAgAAB42mNgZGBg6GL8waDFkMnABuYhADMDIwA0DwIjeNp9jzVCQ1EQAAd3Slrc3a3B3R0q3N1zn5wgx8lpMsW3Kk9nfRco55YiCoor5DOyARfQQSbgQmpJB1zEGK8BFyd8SqjjJOBSWhgJuFaCe77d70zR7/7iik8elL/lPr7kZ/83tXfat1lig1Xm2GRHyw3/0huv3l7phmse+OGFI/kT49FKA0P0MRy800GGhojy59qT76RnLviMYoMYKYiSklHzat5J4Tzc4ZzahxhgkHEpzKIXn/r1ybM8uxsSEV8oceN/4/+L2enLAQTGOyoAAHjaXMFDYgMAAEXB/1LbdmPbtW3b7i2K+Ho5TrLPjAySJJV+tS0JVcpIWsKgZa1oTVva1oEOdaJLXckksyyyySmX3PIpoKAiiipJFdUqUkMtddTTQCNNNNNCK22000EnXXTTQy999DPAIEMMM8IoY4wzwSRGTJixYMWGHQdOXLjx4MWHnwBBQoSJECVGnARJpphmhlnmmGeBRZZYZoVV1lhng0222GaHXfbY54BDjjjmhFPOOOeCS6645oZb7rjngUeeeOaFV95UUF6LvPPBJ198U1Yee6JeYk6JgSF7aV6mkaGhGUtGUmIRiANgcb6NIIaBGAC2dKRoQxqp/5I++I12kACI8gQTMx8WVjZ2Dk4ubh5evvz+lmBi5sPCysbOwcnFzcPLl/ZTMDHzYWFlY+fg5OLm4eVL+zmYmPmwsLKxc3BycfPw8qX9amcmOZhYeHk4uah3J7nyY2PnYKa/4c8MOZhYeHk4uejPDrnyY2PnYOb+iSupKBWwslS95MqiHLCQsYEhb0pmalFqcWaxXnJicSpXYnJpSSqEmV6UWAZh8iO0xYP4AEgBF6kA) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500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XY40tWhEu05hnnrVo0SN1vkaJGku02Ir34xweY/FxmIPjqMkeKYuSvNuixhJr7kusxXmb43yYg8dJki16pDSV4vM4R43t6/rJ568ijTRYYosKJXab2rysi+bLfxdUbQAhAAPbdx/wDXdne+QCRKp4TpraoRRIe6R+lkXUBND5HzilUwUVtrcKB9dfUP6axI2dHlNRY37hev56WY+Tz6/MUrENpAMJ+30q5yY0onHAf0rxGqn4gJpoIz0timmP5Yqa/1w24WLMbB7SAtPiJy9jhm3y5lPbQj3tjT1mMiNaqthAAA==) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-ext-500-normal.9de4f482.woff2) format("woff2"),url(/fonts/ibm-plex-mono-latin-ext-500-normal.68b3211e.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-500-normal.8b504b98.woff2) format("woff2"),url(/fonts/ibm-plex-mono-latin-500-normal.c85c67e8.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd} \ No newline at end of file diff --git a/css/eth-account-details.8a72039a.css b/css/eth-account-details.8a72039a.css new file mode 100644 index 000000000..f77c94858 --- /dev/null +++ b/css/eth-account-details.8a72039a.css @@ -0,0 +1 @@ +.account-ion-content[data-v-9443b70c]{overflow:hidden;background-color:#191919} \ No newline at end of file diff --git a/css/eth-transfer-receive-modal.80db357d.css b/css/eth-transfer-receive-modal.80db357d.css new file mode 100644 index 000000000..ac3b0f36b --- /dev/null +++ b/css/eth-transfer-receive-modal.80db357d.css @@ -0,0 +1 @@ +.scrollable[data-v-a7c4f0d6]{position:relative;width:100%;height:100%;max-height:100%}.scrollable-inner[data-v-a7c4f0d6]{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:scroll}.transfer-receive-base .title[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}span[data-v-8c6510ea]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:14px;line-height:16px}span.address[data-v-8c6510ea]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-8c6510ea]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-8c6510ea],span[data-v-8c6510ea]{word-wrap:break-word}span strong[data-v-8c6510ea]{color:#fff}span.address strong[data-v-8c6510ea]{font-weight:500}.transfer-receive-base[data-v-8c6510ea]{font-weight:500;color:#fff}.transfer-receive-base .title[data-v-8c6510ea]{align-self:center;color:#fff}.transfer-receive-base .account-row[data-v-8c6510ea]{display:flex;justify-content:center}.transfer-receive-base .qrcode-wrapper[data-v-8c6510ea]{margin-top:10px;text-align:center}.transfer-receive-base .qrcode-wrapper .qrcode[data-v-8c6510ea]{display:inline-flex;padding:8px;background-color:#fff;border-radius:12px}.transfer-receive-base .address[data-v-8c6510ea]{max-width:260px;margin:14px auto 0}.transfer-receive-base .address-copy[data-v-8c6510ea]{display:block}.transfer-receive-base .address-scrollable-area[data-v-8c6510ea]{width:100%;height:74px;color:#fff;font-style:normal;text-align:left;line-height:24px}.transfer-receive-base .btn-share[data-v-8c6510ea]{min-width:60%} \ No newline at end of file diff --git a/css/eth-transfer-send-modal.66c17c4c.css b/css/eth-transfer-send-modal.66c17c4c.css new file mode 100644 index 000000000..d0832088c --- /dev/null +++ b/css/eth-transfer-send-modal.66c17c4c.css @@ -0,0 +1 @@ +.transfer-send-base .button-action-secondary[data-v-4a9ec2e7]{flex-basis:30%}.transfer-send-base .button-action-primary[data-v-4a9ec2e7]{flex-basis:70%}.avatar-with-chain-name .centered[data-v-247c52a6],.avatar-with-chain-name .chain-name[data-v-247c52a6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.avatar-with-chain-name[data-v-247c52a6]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;width:100%;gap:8px}.avatar-with-chain-name .avatar[data-v-247c52a6]{margin-top:8px;background-color:#000}.avatar-with-chain-name .chain-name[data-v-247c52a6]{text-align:left;opacity:.75}.avatar-with-chain-name .centered[data-v-247c52a6]{opacity:1;text-align:center;color:#fff;width:100%}.avatar-with-chain-name.only-name[data-v-247c52a6]{align-items:center}.avatar-with-chain-name.only-name .avatar[data-v-247c52a6]{margin-top:0}.modal-header .subtitle[data-v-0d2f2e9c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.modal-header[data-v-0d2f2e9c]{width:100%;text-align:center;padding:0 16px}.modal-header .subtitle[data-v-0d2f2e9c]{margin-block:0;line-height:24px;color:hsla(0,0%,100%,.75)}.modal-header .subtitle a[data-v-0d2f2e9c]{font-weight:500;color:#1161fe;text-decoration:none}.modal-header .subtitle a[data-v-0d2f2e9c]:hover{text-decoration:underline}.modal-header .subtitle.with-margin[data-v-0d2f2e9c]{margin-bottom:1em}.transfer-review .details-item[data-v-038e842f],.transfer-review-base .details-item[data-v-1a9e6090]{margin-top:16px}.transfer-send-base .account-row[data-v-3a714a96]{display:flex;justify-content:center}.transfer-send-recipient .scan-button[data-v-54bc527e]{color:#fff;display:block;width:32px;height:24px}.transfer-send-recipient .status[data-v-54bc527e]{margin-top:9px}.transaction-speed-picker .completion-time[data-v-2326ca2a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-speed-picker[data-v-2326ca2a]{margin-top:4px;margin-bottom:16px}.transaction-speed-picker .radio-wrapper[data-v-2326ca2a]{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:10px}.transaction-speed-picker .completion-time[data-v-2326ca2a]{letter-spacing:0;opacity:.75}.max-button[data-v-2aacc100]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.max-button[data-v-2aacc100]:hover{background:rgba(17,97,254,.15)}.max-button.chosen[data-v-2aacc100]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)} \ No newline at end of file diff --git a/css/popup.6552a5dd.css b/css/popup.6552a5dd.css new file mode 100644 index 000000000..91aac3571 --- /dev/null +++ b/css/popup.6552a5dd.css @@ -0,0 +1 @@ +.link-button[data-v-4532e494]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;padding:0;display:inline-flex;gap:4px;align-items:center}.link-button.default[data-v-4532e494]{color:#00ff9d}.link-button.simple[data-v-4532e494]{gap:0}.link-button .link-icon[data-v-4532e494]{display:flex;align-items:center;justify-content:center}.link-button .link-icon[data-v-4532e494] svg{width:24px;height:24px;opacity:.44;color:#fff}.link-button[data-v-4532e494]:hover{color:#00dc87}.link-button:hover .link-icon svg[data-v-4532e494]{opacity:1;color:#00ff9d}.link-button[data-v-4532e494]:active{opacity:.7}.link-button:active .link-icon svg[data-v-4532e494]{opacity:.7;color:#00ff9d}.link-button.muted[data-v-4532e494]{text-decoration:none;color:hsla(0,0%,100%,.75)}.link-button.muted .link-icon svg[data-v-4532e494]{opacity:1;color:hsla(0,0%,100%,.75)}.link-button.muted:hover .link-icon svg[data-v-4532e494],.link-button.muted[data-v-4532e494]:hover{color:#fff}.link-button.underlined[data-v-4532e494]:hover{text-decoration:underline}.btn-base[data-v-5a60e3f7]{--bg-color:#1161fe;--outline-size:0;--outline-opacity:0;--outline-color:transparent;position:relative;z-index:1;background-color:var(--bg-color);color:#fff;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.btn-base[data-v-5a60e3f7]:after,.btn-base[data-v-5a60e3f7]:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;transition:all .15s;will-change:opacity,box-shadow,background-color}.btn-base[data-v-5a60e3f7]:before{background-color:var(--screen-bg-color);opacity:0}.btn-base[data-v-5a60e3f7]:after{opacity:var(--outline-opacity);box-shadow:inset 0 0 0 var(--outline-size) var(--outline-color)}.btn-base[data-v-5a60e3f7]:hover:before{opacity:.2}.btn-base[data-v-5a60e3f7]:active:before{opacity:.3}.btn-base.disabled[data-v-5a60e3f7]{pointer-events:none;color:hsla(0,0%,100%,.4)}.btn-base.disabled[data-v-5a60e3f7]:before{opacity:.6}.btn-base.hollow[data-v-5a60e3f7]:not(:hover){background-color:transparent}.btn-base.outlined[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.outlined[data-v-5a60e3f7]:hover{--outline-opacity:0.3}.btn-base.outlined[data-v-5a60e3f7]:active{--outline-size:2px}.btn-base.selected[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.selected[data-v-5a60e3f7]:before{opacity:.6}.btn-base.variant-secondary[data-v-5a60e3f7]{--bg-color:#ff2b5e}.btn-base.variant-muted[data-v-5a60e3f7]{--bg-color:#373737}.btn-base.variant-danger[data-v-5a60e3f7]{--bg-color:#ff4746}.btn-base.variant-purple[data-v-5a60e3f7]{--bg-color:#8f00ff}.btn-base.variant-dark[data-v-5a60e3f7]{--bg-color:#262626}.panel-item[data-v-26fb7034]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;display:flex;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:8px 2px 8px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.panel-item[data-v-26fb7034]:active,.panel-item[data-v-26fb7034]:hover{color:#fff}.panel-item:active .panel-item-right .icon-indicator[data-v-26fb7034],.panel-item:hover .panel-item-right .icon-indicator[data-v-26fb7034]{opacity:.75}.panel-item[data-v-26fb7034]:active{transform:scale(.99)}.panel-item .panel-item-left[data-v-26fb7034],.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-left[data-v-26fb7034]{overflow-x:hidden}.panel-item .panel-item-left[data-v-26fb7034] .icon{width:24px;height:24px;margin-right:8px}.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-right .panel-item-info[data-v-26fb7034]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300}.panel-item .panel-item-right .icon-indicator[data-v-26fb7034]{margin-right:4px;width:26px;height:26px;opacity:.5;transition:all .15s}.panel-header[data-v-88f97e12]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.panel[data-v-88f97e12]{--card-padding:12px;background:hsla(0,0%,100%,.08);border-radius:10px;overflow:hidden}.panel-header[data-v-88f97e12]{color:#fff;line-height:24px;padding:8px var(--card-padding)}.about .table-item .name[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:22px}.about .table-item .value[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.about[data-v-53c0dc8b]{--screen-padding-x:8px;padding-top:16px;padding-inline:var(--screen-padding-x)}.about .table-item[data-v-53c0dc8b]{width:100%;height:48px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:4px 16px;transition:all .15s}.about .table-item[data-v-53c0dc8b]:nth-child(2n){background-color:rgba(0,0,0,.1)}.about .table-item .name[data-v-53c0dc8b],.about .table-item .value .icon[data-v-53c0dc8b],.about .table-item .value[data-v-53c0dc8b]{transition:inherit}.about .table-item .name[data-v-53c0dc8b]{color:hsla(0,0%,100%,.75);font-weight:400}.about .table-item .value[data-v-53c0dc8b]{display:inline-flex;align-items:center;color:#fff}.about .table-item .value .icon[data-v-53c0dc8b]{width:24px;height:24px;opacity:.5;margin-left:4px;margin-right:-4px}.about .table-item.link[data-v-53c0dc8b]{position:relative;text-decoration:none;cursor:pointer}.about .table-item.link[data-v-53c0dc8b]:hover{background-color:rgba(0,0,0,.16)}.about .table-item.link:hover .name[data-v-53c0dc8b]{color:#fff}.about .table-item.link:hover .value[data-v-53c0dc8b]{text-decoration:underline}.about .table-item.link:hover .value .icon[data-v-53c0dc8b]{opacity:1}.about .table-item.link[data-v-53c0dc8b]:active{background-color:rgba(0,0,0,.4)}.about .additional-links[data-v-53c0dc8b]{margin-top:24px}.message-offline .text[data-v-129d996a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.message-offline[data-v-129d996a]{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.message-offline.horizontal[data-v-129d996a]{flex-direction:row;gap:6px;text-align:left}.message-offline.horizontal .offline-icon[data-v-129d996a]{margin:0;width:26px}.message-offline.colors-disabled .offline-icon[data-v-129d996a]{color:#fff}.message-offline .offline-icon[data-v-129d996a]{width:40px;margin-bottom:2px;color:#ffb422}.message-offline .text[data-v-129d996a]{opacity:.75;margin:0 auto;max-width:240px}.asset-icon[data-v-9ac94844]{--icon-size:var(--icon-size-md);display:inline-block;flex-grow:0;flex-shrink:0;width:var(--icon-size);height:var(--icon-size);border-radius:50%}.asset-icon.is-placeholder[data-v-9ac94844]{border:.25px solid hsla(0,0%,100%,.75)}.asset-icon.sm[data-v-9ac94844]{--icon-size:var(--icon-size-sm)}.asset-icon.rg[data-v-9ac94844]{--icon-size:var(--icon-size-rg)}.asset-icon.lg[data-v-9ac94844]{--icon-size:var(--icon-size-lg)}.asset-icon.xxl[data-v-9ac94844]{--icon-size:var(--icon-size-xxl)}.tokens.vertical .symbols[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.tokens[data-v-31939e04]{font-weight:600}.tokens .symbols .symbol[data-v-31939e04],.tokens[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-size:16px;line-height:16px}.tokens .symbols .symbol[data-v-31939e04]{font-weight:400}.tokens[data-v-31939e04]{display:inline-flex;align-items:center;color:hsla(0,0%,100%,.75);letter-spacing:-2%}.tokens.bright[data-v-31939e04]{color:#fff}.tokens .icon[data-v-31939e04]{-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:4px}.tokens .symbols .symbol[data-v-31939e04]{white-space:nowrap;letter-spacing:-.02em}.tokens .separator[data-v-31939e04]{margin:0 1px;vertical-align:middle}.tokens.vertical[data-v-31939e04]{flex-direction:column}.tokens.vertical .symbols .separator[data-v-31939e04]{color:hsla(0,0%,100%,.75)}.tokens.vertical .icon[data-v-31939e04]{margin-right:0;margin-bottom:8px}.transaction-asset-rows .row.multiple-rows .amount[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.transaction-asset-rows[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;width:100%;line-height:20px}.transaction-asset-rows .row[data-v-1bbadb59]{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:var(--font-size)}.transaction-asset-rows .row .amount[data-v-1bbadb59]{color:#fff;font-weight:500;white-space:nowrap}.transaction-asset-rows .row.received .amount[data-v-1bbadb59]{color:#00d3a1}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{letter-spacing:-2%}.transaction-asset-rows .row.multiple-rows[data-v-1bbadb59]{margin-bottom:12px;padding-inline:16px}.transaction-asset-rows.reversed[data-v-1bbadb59]{display:flex;flex-direction:column-reverse}.truncate[data-v-72e5b080]{display:flex;width:100%;min-width:0;padding-right:5px}.truncate.right[data-v-72e5b080]{justify-content:flex-end}.truncate .container[data-v-72e5b080]{position:relative;overflow:hidden;white-space:nowrap}.truncate .container.fixed[data-v-72e5b080]{text-overflow:ellipsis}.truncate .container .inner[data-v-72e5b080]{position:relative;display:inline-block;min-width:-moz-fit-content;min-width:fit-content}.truncate .container.scrollable[data-v-72e5b080]{padding-right:5px;border-radius:2px;margin-left:-2px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent);mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent)}.truncate .container.scrollable .inner[data-v-72e5b080]{position:relative;display:inline-block;animation-name:animationTruncate-72e5b080;animation-duration:var(--animationDuration);animation-delay:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;padding:0 2px}.truncate .domain[data-v-72e5b080]{word-break:keep-all}@keyframes animationTruncate-72e5b080{0%{transform:translateX(0)}50%{transform:translateX(var(--animationTranslate))}to{transform:translateX(0)}}.transaction-label .secondary[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-label .label[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-label[data-v-bde64a88]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;width:100%;overflow:hidden;flex:1 1 50%;white-space:nowrap;text-overflow:ellipsis}.transaction-label .label[data-v-bde64a88]{color:#fff}.transaction-label .label .type[data-v-bde64a88]{display:flex}.transaction-label .label .error-type[data-v-bde64a88]{text-transform:lowercase}.transaction-label .secondary[data-v-bde64a88]{color:hsla(0,0%,100%,.75)}.transaction-label .icon[data-v-bde64a88]{min-width:16px;height:16px;color:#fff;margin-left:1px;margin-right:2px}.transaction-label .error[data-v-bde64a88]{display:flex;color:#ffb422}.transaction-label .error .icon[data-v-bde64a88]{color:#ffb422}.transaction-label .label[data-v-bde64a88],.transaction-label .owner[data-v-bde64a88]{width:100%;display:flex;gap:4px}.transaction-label .owner[data-v-bde64a88]{min-width:0}.button-plain[data-v-ea8fa866]{padding:0;border:none;outline:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.button-plain.avatar[data-v-ea8fa866]{width:24px;height:24px}.button-plain.extend[data-v-ea8fa866]{width:100%}.button-plain[data-v-ea8fa866]:disabled{opacity:.7}.list-item-wrapper[data-v-22701c0f]{display:block;padding:10px 12px;color:unset;text-decoration:unset;text-align:left;inline-size:-webkit-fill-available;transition:background-color .12s ease-in-out}.list-item-wrapper[data-v-22701c0f]:hover{background-color:hsla(0,0%,7%,.5)}@media(min-width:362px)and (max-width:480px){.list-item-wrapper[data-v-22701c0f]:hover{background-color:transparent}}.list-item-wrapper[data-v-22701c0f]:active{opacity:.5}.list-item-wrapper.selected[data-v-22701c0f]{color:#fff;background-color:rgba(17,97,254,.2)}.consensus-approved-label{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px;display:flex;align-items:center}.consensus-approved-label .icon{width:16px;height:16px;margin-right:6px}.transaction-item .body .footer[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-item .consensus[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-item .body[data-v-5d0ffd7a]{width:100%}.transaction-item .body .footer[data-v-5d0ffd7a]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;width:100%;color:hsla(0,0%,100%,.75);gap:3px}.transaction-item .body .footer .date[data-v-5d0ffd7a]{white-space:nowrap}.transaction-item .consensus[data-v-5d0ffd7a]{display:flex;align-items:center;gap:6px}.transaction-item .consensus .icon[data-v-5d0ffd7a]{width:16px;height:16px}.infinite-scroll[data-v-f3c3c2da]{height:100%}.back-to-top[data-v-2c42d011]{width:100%;height:0;z-index:5}.back-to-top.visible[data-v-2c42d011]{height:40px}.back-to-top-btn-container[data-v-2c42d011]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;pointer-events:none;position:fixed;bottom:0;left:0;width:100%;padding:12px 4px 4px 0;background:#191919;background:linear-gradient(180deg,rgba(25,25,25,0) 5%,rgba(25,25,25,.8) 60%,rgba(25,25,25,.9))}.back-to-top-btn[data-v-2c42d011]{display:flex;justify-content:center;align-items:center;flex-flow:row;pointer-events:all;height:40px;width:41px;border-radius:10px;background-color:#2b2b2b;transition:opacity .2s ease-in-out}.back-to-top-btn[data-v-2c42d011]:hover{background:rgba(39,39,39,.8)}.back-to-top-btn[data-v-2c42d011]:active{background:rgba(34,34,34,.8)}.back-to-top-btn .chevron[data-v-2c42d011]{width:22px;height:22px;transform:rotate(-90deg)}.back-to-top.sticky[data-v-2c42d011]{position:sticky;bottom:0}.back-to-top.sticky .back-to-top-btn-container[data-v-2c42d011]{position:absolute}.transaction-list .transactions .message[data-v-0c1013d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-list .transactions[data-v-0c1013d8]{display:flex;flex-direction:column;padding:10px 0}.transaction-list .transactions .list[data-v-0c1013d8]{padding:0;margin:0}.transaction-list .transactions .message[data-v-0c1013d8],.transaction-list .transactions .spinner[data-v-0c1013d8]{flex-grow:1;display:flex;justify-content:center;align-items:center}.transaction-list .transactions .message[data-v-0c1013d8]{color:#babac0;text-align:center;padding:48px 64px}.transaction-list .transactions .spinner[data-v-0c1013d8]{width:56px;min-height:56px;margin:0 auto;padding-bottom:48px;color:#fff}.transaction-list .offline-message[data-v-0c1013d8]{margin-top:40px;margin-bottom:100px}.protocol-icon[data-v-3c4b9f22]{--icon-size:var(--icon-size-md);display:inline-block;width:var(--icon-size);height:var(--icon-size)}.protocol-icon.xs[data-v-3c4b9f22]{--icon-size:var(--icon-size-xs)}.protocol-icon.lg[data-v-3c4b9f22]{--icon-size:var(--icon-size-lg)}.icon-wrapper[data-v-5e9dcd14]{--wrapper-size:36px;--icon-size:var(--icon-size-lg);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.icon-wrapper .icon-wrapper-icon[data-v-5e9dcd14]{width:var(--icon-size);height:var(--icon-size);color:inherit}.icon-wrapper .icon-wrapper-fill[data-v-5e9dcd14]{width:100%;height:100%}.icon-wrapper.is-boxed[data-v-5e9dcd14]{width:var(--wrapper-size);height:var(--wrapper-size);background-color:hsla(0,0%,100%,.15);border-radius:14px}.icon-wrapper.icon-size-xl[data-v-5e9dcd14]{--icon-size:var(--icon-size-xl)}.btn-box.is-big .text[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.btn-box[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.btn-box .subtitle[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.btn-box[data-v-aded6086]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;min-height:58px;padding:4px 6px;border-radius:10px}.btn-box:hover .icon[data-v-aded6086]{opacity:1}.btn-box .icon[data-v-aded6086]{color:#fff;opacity:.75}.btn-box .subtitle[data-v-aded6086]{opacity:.7}.btn-box.disabled .icon[data-v-aded6086]{opacity:.5}.btn-box.is-big[data-v-aded6086]{min-height:116px;padding:10px}.btn-box.is-big .icon[data-v-aded6086]{margin-bottom:8px}.main-balance{--font-size-token:30px;--font-size-symbol:24px;display:flex;align-items:baseline;font-family:IBM Plex Sans,sans-serif;font-size:var(--font-size-symbol)}.main-balance.lg{--font-size-token:28px;--font-size-symbol:22px}.main-balance.md{--font-size-token:26px;--font-size-symbol:20px}.main-balance.sm{--font-size-token:22px;--font-size-symbol:18px}.main-balance .asset-symbol{font-weight:500;color:#fff;margin-right:4px;text-transform:uppercase}.main-balance .asset-integer{font-size:var(--font-size-token);font-weight:600;color:#fff}.main-balance .asset-fractional{font-weight:600;color:hsla(0,0%,100%,.75);opacity:.75}.main-balance .asset-fractional,.main-balance .asset-integer,.main-balance .asset-symbol{line-height:32px}.balance-info .display-value[data-v-46d07e78]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.balance-info[data-v-46d07e78]{display:flex;flex-direction:column;align-items:center;padding-top:8px}.balance-info .display-value[data-v-46d07e78]{color:#fff;line-height:18px;margin-top:4px;opacity:.75}.avatar[data-v-1c2ad31e]{width:40px;height:40px;border-radius:50%;overflow:hidden;display:inline-block;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;border:1px solid var(--color);background-color:#171717}.avatar .avatar-img[data-v-1c2ad31e]{width:100%;height:100%}.avatar.placeholder[data-v-1c2ad31e]{background-color:hsla(0,0%,100%,.15)}.avatar.sm[data-v-1c2ad31e]{height:24px;width:24px}.avatar.xs[data-v-1c2ad31e]{height:18px;width:18px}.avatar.md[data-v-1c2ad31e]{height:32px;width:32px}.avatar.rg[data-v-1c2ad31e]{height:40px;width:40px;border-width:2px}.avatar.lg[data-v-1c2ad31e]{height:48px;width:48px;border-width:2px}.avatar.xl[data-v-1c2ad31e]{height:56px;width:56px;border-width:2px}.avatar.borderless[data-v-1c2ad31e]{border:none}.copy-text .copied[data-v-4027e3b3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.copy-text[data-v-4027e3b3]{position:relative;display:inline-block;cursor:pointer;color:inherit}.copy-text .copy-icon-copied[data-v-4027e3b3],.copy-text .copy-icon-indicator[data-v-4027e3b3]{flex-shrink:0;width:22px;height:22px}.copy-text .copy-icon-copied[data-v-4027e3b3]{margin-left:2px}.copy-text .copied[data-v-4027e3b3]{background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(90deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(180deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(270deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0);background-size:1px 100%,100% 1px,1px 100%,100% 1px;background-position:0 0,0 0,100% 0,0 100%;background-repeat:no-repeat;position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background-color:#191919;text-transform:uppercase}.copy-text.has-icon[data-v-4027e3b3]{padding-right:24px}.copy-text.has-icon .copy-icon-indicator[data-v-4027e3b3]{position:absolute;top:50%;right:0;transform:translateY(-50%)}.copy-text.disabled[data-v-4027e3b3]{cursor:inherit}.address-truncated-chunks .dots[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:400;font-size:16px;line-height:20px}.address-truncated-chunks[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.address-truncated[data-v-f112ca60]{display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.address-truncated .protocol-icon[data-v-f112ca60]{margin-right:4px}.address-truncated-chunks[data-v-f112ca60]{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;letter-spacing:.07em}.address-truncated-chunks .dots[data-v-f112ca60]{letter-spacing:-.25em;text-align:center;margin-left:-1px;margin-right:3px}.address-truncated-chunks .address-chunk[data-v-f112ca60],.address-truncated-chunks .dots[data-v-f112ca60]{white-space:nowrap}.address-truncated .external-link[data-v-f112ca60]{margin-top:-1px;flex-shrink:0;color:inherit}.address-truncated .external-link .external-link-icon[data-v-f112ca60]{width:22px;height:22px}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:15px;line-height:24px}.account-info[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start;text-align:left;color:#fff}.account-info .avatar[data-v-bf1c6ab4]{margin-right:8px}.account-info .account-details[data-v-bf1c6ab4]{max-width:250px;font-weight:500}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{margin:4px 0}.account-info .account-details.list-name[data-v-bf1c6ab4]{width:100%;min-width:0}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{margin:0}.account-info .account-details .ae-address[data-v-bf1c6ab4]{color:hsla(0,0%,100%,.85);-webkit-user-select:none;-moz-user-select:none;user-select:none}.account-info .account-details .ae-address .icon[data-v-bf1c6ab4]{width:22px;height:22px;margin-left:2px}.account-info .account-address[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start}.account-info .account-address .protocol-icon[data-v-bf1c6ab4]{margin-right:6px}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]{opacity:.85}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]:hover{opacity:1}.badge-inner[data-v-f4a4a6c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.badge[data-v-f4a4a6c2]{position:relative;display:inline-block}.badge-inner[data-v-f4a4a6c2]{color:#fff;position:absolute;z-index:1;right:-2px;top:0;min-width:14px;height:14px;background:#ff2b5e;border-radius:7px;text-align:center;line-height:14px;padding:0 3px}.btn-icon{--size:24px;--icon-opacity:0.75;--icon-opacity-hover:1;--icon-color-hover:#fff;justify-content:center;align-items:center;flex-flow:row;padding:4px;background:transparent;border:none;border-radius:50%;outline:none;cursor:pointer}.btn-icon,.btn-icon .badge{display:flex}.btn-icon .icon{color:#fff;width:var(--size);height:var(--size);opacity:var(--icon-opacity);transition:all .15s}.btn-icon:hover{transition-duration:.1s}.btn-icon:hover .icon{opacity:var(--icon-opacity-hover);color:var(--icon-color-hover)}.btn-icon:active{transform:scale(.92)}.btn-icon:active .icon{opacity:1}.btn-icon.dimmed{--icon-opacity:0.5;--icon-opacity-hover:0.75}.btn-icon.size-sm{--size:20px}.btn-icon.icon-variant-danger{--icon-color-hover:#ff4746}.btn-help[data-v-2658afd8]{display:inline-flex}.btn-help svg[data-v-2658afd8]{width:24px;height:24px;opacity:.5;color:#fff}.btn-help.small svg[data-v-2658afd8]{width:20px;height:20px}.btn-help:hover svg[data-v-2658afd8]{opacity:1}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .input[data-v-124f240c],.input-field .input-wrapper .input[data-v-124f240c]::placeholder,.input-field .label-after[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .under[data-v-124f240c],.input-field .message[data-v-124f240c],.input-field.thin .input[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.input-field.code .input[data-v-124f240c]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.input-field[data-v-124f240c]{--color-border:transparent;--color-bg:hsla(0,0%,100%,.08);--color-input-text:#babac0;--color-placeholder:hsla(0,0%,100%,.75);--color-message:hsla(0,0%,100%,.75);text-align:left}.input-field[data-v-124f240c]:focus-within,.input-field[data-v-124f240c]:hover{--color-input-text:#fff}.input-field[data-v-124f240c]:hover{--color-border:hsla(0,0%,100%,.15);--color-bg:hsla(0,0%,100%,.05)}.input-field[data-v-124f240c]:focus-within{--color-border:#1161fe;--color-bg:rgba(0,0,0,.44);--color-placeholder:#fff}.input-field .label[data-v-124f240c]{display:flex;align-items:center;margin-top:16px}.input-field .label-text[data-v-124f240c]{margin:4px 0;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .label .btn-help[data-v-124f240c]{margin-left:10px}.input-field .label-after[data-v-124f240c]{margin-left:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.input-field .input-wrapper[data-v-124f240c]{display:block;padding:8px 12px;background-color:var(--color-bg);border:none;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--color-border);transition:.1s ease-in-out;cursor:text}.input-field .input-wrapper .main-inner[data-v-124f240c]{display:flex;align-items:center;width:100%}.input-field .input-wrapper .main-inner[data-v-124f240c] .icon{width:var(--size,24px);height:var(--size,24px);flex-shrink:0}.input-field .input-wrapper .input[data-v-124f240c]{display:block;width:100%;padding:0;outline:none;border:none;background:transparent;box-shadow:none;color:var(--color-input-text);transition:.1s ease-in-out}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{color:var(--color-placeholder);-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[data-v-124f240c]::placeholder{color:var(--color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[type=number][data-v-124f240c]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-inner-spin-button,.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-outer-spin-button{-webkit-appearance:none}.input-field .input-wrapper .under[data-v-124f240c]{color:hsla(0,0%,100%,.5)}.input-field .message[data-v-124f240c]{line-height:20px;display:flex;align-items:center;margin-top:4px;text-align:left;color:var(--color-message)}.input-field .message-help[data-v-124f240c]{display:block;width:24px;height:24px;padding-left:5px;color:rgba(0,0,0,.75)}.input-field.error[data-v-124f240c]{--color-border:#ff4746;--color-message:#ff4746}.input-field.warning[data-v-124f240c]{--color-border:#ffb422;--color-message:#ffb422}.input-field.readonly[data-v-124f240c]{--color-border:transparent}.input-field.readonly .input-wrapper .input[data-v-124f240c]{opacity:.5}.input-search .erase-icon[data-v-b52ecd9a]{cursor:pointer}.input-search .erase-icon[data-v-b52ecd9a]:hover{opacity:.8}.filters .filter[data-v-78158338]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.filters[data-v-78158338]{height:36px;display:flex;gap:8px;padding-bottom:12px;background:var(--screen-bg-color);padding-inline:var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);z-index:2}.filters .filter[data-v-78158338]{display:flex;align-items:center;padding:2px 8px;max-height:24px;gap:2px;transition:all .08s ease-out;border-radius:12px;color:hsla(0,0%,100%,.5)}.filters .filter svg[data-v-78158338]{width:14px;height:14px;color:hsla(0,0%,100%,.3)}.filters .filter svg.rotate[data-v-78158338]{transform:rotate(180deg)}.filters .filter.active[data-v-78158338],.filters .filter[data-v-78158338]:hover{color:#fff;background:hsla(0,0%,100%,.1)}.filters .filter.active svg[data-v-78158338],.filters .filter:hover svg[data-v-78158338]{color:hsla(0,0%,100%,.5)}.filters .filter[data-v-78158338]:hover:not(.active){opacity:.75}.transaction-filter[data-v-5de9a71a]{max-height:20px;overflow:hidden;transition:.15s}.transaction-filter .input-search[data-v-5de9a71a]{padding-top:8px}.transaction-filter .filter-wrapper[data-v-5de9a71a]{display:flex;flex-direction:column;gap:14px}.transaction-filter .filters[data-v-5de9a71a]{padding-bottom:0;height:auto}.transaction-filter.without-search[data-v-5de9a71a]{padding-top:0}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.account-details[data-v-94271d80]{--account-info-height:120px;--screen-padding-x:12px;--screen-bg-color:#191919;--header-height:64px;position:relative;top:env(safe-area-inset-top);background-color:#191919;border-radius:10px;min-height:100%;height:100%;font-weight:500;color:#fff;box-shadow:0 0 0 1px #232323,0 0 50px rgba(0,0,0,.6)}@media(min-width:362px)and (max-width:480px){.account-details[data-v-94271d80]{min-height:100vh}}.account-details .account-info-wrapper[data-v-94271d80]{z-index:2;display:flex;justify-content:space-between;padding:8px 6px 6px;background-color:var(--screen-bg-color);height:var(--header-height)}.account-details .account-info-wrapper .button-plain[data-v-94271d80]{width:24px;height:24px;position:absolute;right:7px;top:7px;color:#fff}.account-details .account-info-wrapper .button-plain svg[data-v-94271d80]{width:24px}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{justify-content:flex-start;word-break:normal}.account-details .buttons[data-v-94271d80]{display:flex;justify-content:space-between;gap:var(--gap);width:100%;margin-top:20px;padding-inline:var(--screen-padding-x)}.account-details .header[data-v-94271d80]{position:sticky;z-index:2;top:calc(env(safe-area-inset-top) + var(--header-height));padding:var(--gap) var(--screen-padding-x);background-color:var(--screen-bg-color)}.account-details .tabs-content[data-v-94271d80]{position:relative;padding-inline:var(--screen-padding-x)}.account-details .close-button[data-v-94271d80]{position:absolute;top:4px;right:8px}.btn-pill[data-v-67d90d96]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 10px;gap:4px;border-radius:20px;background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.5)}.btn-pill.dense[data-v-67d90d96]{padding-block:0}.btn-pill.avatar[data-v-67d90d96]{padding:4px;background-color:transparent}.btn-pill.router-link-exact-active[data-v-67d90d96]{background-color:hsla(0,0%,100%,.15);color:#fff}.btn-pill[data-v-67d90d96]:not(.static){color:hsla(0,0%,100%,.75)}.btn-pill[data-v-67d90d96]:not(.static):hover{color:#fff}.btn-pill[data-v-67d90d96]:not(.static):active{color:hsla(0,0%,100%,.75)}.tab[data-v-6286b0cb]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;flex:1 1 0;padding:4px 10px;border-radius:7px;color:hsla(0,0%,100%,.75);transition:all .1s}.tab[data-v-6286b0cb]:hover{color:#fff}.tab.router-link-active.not-exact[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff}.tab.router-link-active.exact.active[data-v-6286b0cb]{background-color:transparent;color:#fff}.tab.active[data-v-6286b0cb],.tab.router-link-exact-active[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff;font-weight:600}.tabs[data-v-b4464f30]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;padding:4px;border-radius:10px;background-color:#000}.account-details-navigation .sub-tabs[data-v-c5baaaf6]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:10px;gap:var(--gap);padding-top:2px;padding-bottom:10px;background-color:var(--screen-bg-color)}.token-amount.large[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.token-amount.large .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.token-amount.large .text[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.token-amount[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.token-amount .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.token-amount.small .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.token-amount[data-v-58c0fdc8]{display:inline-flex;gap:8px;align-items:center;color:#fff}.token-amount .amount[data-v-58c0fdc8]{font-size:var(--font-size);line-height:20px;white-space:nowrap}.token-amount .symbol[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75)}.token-amount .fiat[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75);white-space:nowrap}.token-amount.vertical[data-v-58c0fdc8]{flex-direction:column;align-items:normal;gap:4px}.token-amount.large .symbol[data-v-58c0fdc8]{font:inherit}.tokens-list-item .price[data-v-686b3f34]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.tokens-list-item .row[data-v-686b3f34]{display:flex;align-items:center;justify-content:space-between}.tokens-list-item .row.bottom[data-v-686b3f34]{margin-top:4px}.tokens-list-item .price[data-v-686b3f34]{color:hsla(0,0%,100%,.75);letter-spacing:-.02em}.multisig-token-list-wrapper[data-v-d304c11c]{position:relative;padding-top:4px}.account-card-total-tokens .total-tokens[data-v-35e45495]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-total-tokens[data-v-35e45495]{width:100%}.account-card-total-tokens .total-tokens[data-v-35e45495]{color:#fff;line-height:16px}.account-card-total-tokens .total-tokens .digit[data-v-35e45495]{display:inline-block;margin-right:4px}.account-card-total-tokens .total-tokens .wording[data-v-35e45495]{opacity:.85}.account-card-base[data-v-69ea429a]{display:flex;flex-direction:column;width:100%;height:192px;padding:12px;border-radius:16px;text-decoration:none}.account-card-base.active .bottom[data-v-69ea429a],.account-card-base.active .middle[data-v-69ea429a],.account-card-base.active .top[data-v-69ea429a]{opacity:1}.account-card-base .bottom[data-v-69ea429a],.account-card-base .middle[data-v-69ea429a],.account-card-base .top[data-v-69ea429a]{opacity:.5}.account-card-base .middle[data-v-69ea429a]{margin-top:5px;text-align:center}.account-card-base .bottom[data-v-69ea429a]{flex:1;display:flex;align-items:flex-end}.account-card-add .title[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.account-card-add .description[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-card-add .title[data-v-54bf23d0]{display:flex;align-items:center;padding-bottom:12px;color:#fff;font-weight:500}.account-card-add .title .plus-icon[data-v-54bf23d0]{width:48px;height:48px;margin-right:8px}.account-card-add .description[data-v-54bf23d0]{padding-left:12px;color:hsla(0,0%,100%,.85);line-height:22px}.bullet-switcher[data-v-27e20eff]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;height:40px;padding-left:4px}.bullet-switcher .add-icon[data-v-27e20eff]{width:19px;height:19px;margin-left:8px;cursor:pointer;color:hsla(0,0%,100%,.5);transition:all .25s ease-out}.bullet-switcher .add-icon.active[data-v-27e20eff],.bullet-switcher .add-icon[data-v-27e20eff]:hover{color:#fff}.bullet-switcher .bullet-switcher-container[data-v-27e20eff]{max-width:calc(var(--bullet-size)*5);overflow:hidden}.bullet-switcher .bullet-switcher-container .bullet-switcher-track[data-v-27e20eff]{display:flex;margin-left:var(--translate-x-value);transition:margin-left .3s ease-out}.bullet-switcher .bullet-switcher-container .bullet-link[data-v-27e20eff]{--bullet-scale:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--bullet-size);height:var(--bullet-size)}.bullet-switcher .bullet-switcher-container .bullet-link:hover .bullet[data-v-27e20eff]{transform:scale(1.2)!important}.bullet-switcher .bullet-switcher-container .bullet-link.small[data-v-27e20eff]{--bullet-scale:0.5}.bullet-switcher .bullet-switcher-container .bullet-link.medium[data-v-27e20eff]{--bullet-scale:0.75}.bullet-switcher .bullet-switcher-container .bullet-link.active .bullet[data-v-27e20eff]{background-color:var(--active-color)}.bullet-switcher .bullet-switcher-container .bullet-link .bullet[data-v-27e20eff]{background-color:hsla(0,0%,100%,.2);min-width:8px;min-height:8px;border-radius:50%;transform:scale(var(--bullet-scale));transition:all .25s ease-out}.multisig-button .text[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-button .has-pending[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px}.multisig-button[data-v-34a0d63e]{display:flex;justify-content:center;align-items:center;flex-flow:row;padding:4px 8px;background:#141414;border-radius:12px;gap:1px}.multisig-button .icon-back[data-v-34a0d63e],.multisig-button .icon-pending[data-v-34a0d63e]{width:16px;height:16px}.multisig-button .icon-back[data-v-34a0d63e]{color:#fff;opacity:75%}.multisig-button .text[data-v-34a0d63e]{color:hsla(0,0%,100%,.5);line-height:16px;transition:all .15s}.multisig-button .has-pending[data-v-34a0d63e]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:rgba(255,180,34,.75);line-height:16px;margin-right:5px}.multisig-button .has-pending .icon-pending[data-v-34a0d63e]{color:#ffb422}.multisig-button:active .text[data-v-34a0d63e],.multisig-button:hover .text[data-v-34a0d63e]{color:#fff}.multisig-button[data-v-34a0d63e]:hover{background:#262626}.multisig-button[data-v-34a0d63e]:active{background:#212121}@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8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chRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.account-swiper .account-swiper-bottom[data-v-62def7db]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;padding-inline:var(--screen-padding-x)}.account-swiper .swiper-wrapper[data-v-62def7db]{position:relative}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]{--scale:1;--translate-x:0;position:absolute;z-index:1;top:50%;height:60px;padding-right:24px;color:#fff;opacity:.5;transition:all .15s;transform:scaleX(var(--scale)) translateX(var(--translate-x)) translateY(-50%)}.account-swiper .swiper-wrapper .nav-btn .icon[data-v-62def7db]{width:14px;height:22px}.account-swiper .swiper-wrapper .nav-btn.prev[data-v-62def7db]{--scale:-1;left:0}.account-swiper .swiper-wrapper .nav-btn.next[data-v-62def7db]{right:0}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]:hover{opacity:1}.account-swiper .swiper-wrapper.is-swiping .nav-btn[data-v-62def7db]{--translate-x:30px;opacity:0;visibility:hidden}.card .text[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.card .description[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.card[data-v-d2868f74]{z-index:1;position:relative;display:flex;align-items:flex-start;width:100%;min-height:116px;border-radius:10px;padding:20px 16px;gap:16px;background-color:#262626;background-repeat:no-repeat;background-size:cover;transition:all .15s}.card-darken[data-v-d2868f74]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);opacity:.7}.card .card-icon[data-v-d2868f74]{color:#fff}.card .card-close[data-v-d2868f74]{position:absolute;top:4px;right:4px}.card .text[data-v-d2868f74]{color:#fff}.card .description[data-v-d2868f74]{color:#fff;opacity:.7;margin-top:4px}.card.dense .description[data-v-d2868f74]{margin-top:0}.card.disabled[data-v-d2868f74]{pointer-events:none;opacity:.4}.btn-main[data-v-5f957749]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px;--bg-color:#1161fe;display:flex;align-items:center;justify-content:center;flex-grow:1;width:-moz-fit-content;width:fit-content;min-height:40px;padding:8px 16px;border-radius:10px;line-height:24px;font-weight:500;text-align:center}.btn-main.extra-padded[data-v-5f957749]{padding-inline:32px}.btn-main.third[data-v-5f957749]{display:inline-block;width:32%;margin:0}.btn-main.inline[data-v-5f957749]{display:inline-flex}.btn-main.nowrap[data-v-5f957749]{white-space:nowrap}.btn-main.has-icon[data-v-5f957749]{gap:4px}.btn-main.has-icon .btn-main-icon[data-v-5f957749]{--icon-size:var(--icon-size-md);flex-shrink:0;width:var(--icon-size);height:var(--icon-size);color:inherit}.btn-main.has-icon .btn-main-icon.lg[data-v-5f957749]{--icon-size:var(--icon-size-lg)}.btn-main.wide[data-v-5f957749]{flex-basis:60%}.btn-main.extend[data-v-5f957749]{width:100%}.dashboard-card .card-button[data-v-153553d6]{margin-top:12px}.total-amount[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.total-amount .label[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.total-amount[data-v-1384e7ae]{display:flex;align-items:center;color:#fff;line-height:1}.total-amount .label[data-v-1384e7ae]{display:inline-block;margin-top:1px;margin-left:4px;line-height:inherit;opacity:.5}.form-select.unstyled[data-v-3ac87742]{display:flex;align-items:center;gap:4px;font:inherit;transition:.2s}.form-select.unstyled[data-v-3ac87742]:active,.form-select.unstyled[data-v-3ac87742]:hover{color:#fff}.form-select .arrow-icon[data-v-3ac87742]{flex-shrink:0;width:8px!important;height:5px!important;opacity:.75}.form-select .input-field-text-wrapper[data-v-3ac87742]{flex-grow:1}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.dashboard-base[data-v-16ddc864]{display:flex;flex-direction:column}.dashboard-base .dashboard-header-info[data-v-16ddc864]{padding:5px 20px 8px 24px;display:flex;align-items:center}.dashboard-base .dashboard-header-info .account-select-btn[data-v-16ddc864]{padding:0;margin-left:auto}.dashboard-base .dashboard-header-info .account-select-input[data-v-16ddc864]{padding:4px 8px}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{margin-right:2px;opacity:.5;line-height:14px;letter-spacing:-.5px}.dashboard-base .dashboard-base-cards[data-v-16ddc864]{display:flex;flex-direction:column;gap:var(--gap);margin-top:8px;padding-inline:var(--screen-padding-x);padding-bottom:var(--screen-padding-x)}.dashboard-base .dashboard-base-cards .buttons-row[data-v-16ddc864]{display:flex;gap:var(--gap)}.latest-transaction-card .spinner[data-v-365b4ce0]{display:block;margin-inline:auto;height:60px}.latest-transaction-card .transaction-item[data-v-365b4ce0]{padding-block:10px}.account-card-consensus .consensus-row[data-v-0f931edd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-consensus[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:6px}.account-card-consensus .consensus-row[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:hsla(0,0%,100%,.85);line-height:16px}.account-card-consensus .consensus-row .highlighted[data-v-0f931edd]{color:#fff;margin-left:4px}.account-card-consensus .consensus-row .icon[data-v-0f931edd]{height:16px;width:16px;margin-right:4px;color:#fff}.account-card-consensus .consensus-row .check-circle[data-v-0f931edd]{opacity:.5}.account-card-multisig .pending .pending-message[data-v-becb8358]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-multisig .pending[data-v-becb8358]{display:flex;align-items:center}.account-card-multisig .pending .pending-icon[data-v-becb8358]{height:16px;width:16px;margin-right:4px}.account-card-multisig .pending .pending-message[data-v-becb8358]{opacity:.85}.pending-multisig-transaction-card .spinner[data-v-8b3187dc]{display:block;margin-inline:auto;height:60px}.account-selector[data-v-77f77faa]{display:flex;align-items:center;gap:8px;padding-block:4px}.account-selector .account-select-text[data-v-77f77faa]{max-width:220px}.account-selector .account-select[data-v-77f77faa]{margin-bottom:4px;margin-left:-3px;color:#fff}.account-selector .account-select.avatar-only[data-v-77f77faa]{margin-bottom:0}.account-selector .address-truncated[data-v-77f77faa]{color:#fff}.fixed-screen-footer[data-v-397b9317]{position:sticky;bottom:0;margin:auto 0 0;display:flex;justify-content:center;gap:8px;padding:24px}.fixed-screen-footer.noPaddingTop[data-v-397b9317]{padding-top:0}.fixed-screen-footer.mobile[data-v-397b9317]{margin-bottom:20px}.fixed-screen-footer[data-v-397b9317]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);top:40px;box-shadow:0 -30px 20px var(--screen-bg-color);opacity:.9}.fixed-screen-footer[data-v-397b9317],.fixed-screen-footer[data-v-397b9317]:before{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.comment-new .comment-text[data-v-67d57742]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.comment-new[data-v-67d57742]{padding:16px}.comment-new .comment-text[data-v-67d57742]{background-color:#262626;padding:8px 12px;border-radius:10px;margin:24px 8px 0 8px;position:relative}.comment-new .comment-text[data-v-67d57742]:after{content:"";position:absolute;visibility:visible;top:-16px;left:0;border:16px solid transparent;transform:rotate(-90deg);border-top:16px solid #262626}.comment-new .fixed-screen-footer[data-v-67d57742]{padding-inline:0;margin-top:8px}.comment-new .cancel-button[data-v-67d57742]{flex:0}.modal .container .body[data-v-79ba9f59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.modal[data-v-79ba9f59]{--screen-padding-x:24px;--screen-bg-color:#191919;--footer-padding-bottom:36px;position:fixed;z-index:4;top:0;left:0;width:100%;height:100%;min-width:360px;background-color:rgba(0,0,0,.7);display:flex;will-change:backdrop-filter}.modal .container[data-v-79ba9f59]{position:relative;display:flex;flex-direction:column;width:92%;margin:auto;background-color:var(--screen-bg-color);border-radius:16px;box-shadow:0 0 0 1px #232323,2px 4px 12px rgba(0,0,0,.22);will-change:transform}@media(min-width:481px){.modal .container[data-v-79ba9f59]{width:328px}}.modal .container .header[data-v-79ba9f59]{flex-basis:32px;flex-shrink:0;color:#fff;font-size:19px;line-height:24px;font-weight:500;word-break:break-word;text-align:center;display:flex;flex-direction:column;background-color:var(--screen-bg-color);position:relative}.modal .container .header-icon[data-v-79ba9f59]{margin:0 auto 10px;width:48px;height:48px}.modal .container .header.transparent[data-v-79ba9f59]{background-color:transparent}.modal .container .body[data-v-79ba9f59]{display:flex;flex-direction:column;padding:var(--screen-padding-x);color:#babac0;word-break:break-word}.modal .container .body.without-padding-bottom[data-v-79ba9f59]{padding-bottom:0}.modal .container .close-button[data-v-79ba9f59]{position:absolute;top:4px;right:8px}.modal .cover[data-v-79ba9f59]{position:fixed;z-index:-1;inset:0}.modal.min-height .container[data-v-79ba9f59]{min-height:480px}.modal.from-bottom[data-v-79ba9f59],.modal.full-screen[data-v-79ba9f59]{--footer-padding-bottom:24px}.modal.from-bottom .container[data-v-79ba9f59],.modal.full-screen .container[data-v-79ba9f59]{width:100%;max-height:100%;margin-top:0;margin-bottom:0;overflow:hidden auto}.modal.from-bottom .header[data-v-79ba9f59],.modal.full-screen .header[data-v-79ba9f59]{position:sticky;z-index:3;top:0}.modal.full-screen[data-v-79ba9f59]{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}@media(min-width:481px){.modal.full-screen[data-v-79ba9f59]{position:absolute}}.modal.full-screen .container[data-v-79ba9f59]{height:100%;border-radius:0}.modal.from-bottom[data-v-79ba9f59]{position:absolute;align-items:end}.modal.from-bottom .container[data-v-79ba9f59]{border-bottom-left-radius:var(--screen-border-radius);border-bottom-right-radius:var(--screen-border-radius)}.modal.has-header .body[data-v-79ba9f59]{padding-top:0}.modal.dense[data-v-79ba9f59]{--screen-padding-x:8px}.modal.semi-dense[data-v-79ba9f59]{--screen-padding-x:12px}.modal.no-padding[data-v-79ba9f59]{--screen-padding-x:0}.modal.blur-bg[data-v-79ba9f59]{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal.pop-in-transition-enter-active[data-v-79ba9f59],.modal.pop-in-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.pop-in-transition-enter-active .container[data-v-79ba9f59],.modal.pop-in-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s}.modal.pop-in-transition-enter-from[data-v-79ba9f59],.modal.pop-in-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.pop-in-transition-enter-from .container[data-v-79ba9f59],.modal.pop-in-transition-leave-to .container[data-v-79ba9f59]{transform:scale(1.1)}.modal.from-bottom-transition-enter-active[data-v-79ba9f59],.modal.from-bottom-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.from-bottom-transition-enter-active .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s cubic-bezier(.65,0,.35,1)}.modal.from-bottom-transition-enter-from[data-v-79ba9f59],.modal.from-bottom-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.from-bottom-transition-enter-from .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-to .container[data-v-79ba9f59]{transform:translateY(70%)}.address-formatted[data-v-d647dd4e]{display:inline-flex;flex-wrap:wrap;letter-spacing:.15em}.address-formatted-chunk[data-v-d647dd4e]{flex:0 0 var(--column-width);text-align:left;white-space:nowrap}.address-formatted-chunk.align-right[data-v-d647dd4e]{text-align:right;white-space:break-spaces}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-info-details-party .copy-address[data-v-06588384]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.transaction-info-details-party[data-v-06588384]{width:50%;padding-left:4px;padding-right:11px}.transaction-info-details-party.recipient[data-v-06588384]{padding-left:11px;padding-right:4px}.transaction-info-details-party.recipient .name[data-v-06588384],.transaction-info-details-party.recipient .wallet[data-v-06588384]{text-align:right}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{display:block;margin-bottom:8px;color:#fff;text-decoration:none;white-space:nowrap;line-height:16px}.transaction-info-details-party .copy-address[data-v-06588384]{height:48px}.transaction-tag[data-v-156e7b98]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:11px;line-height:16px;padding:2px 5px;color:#787878;border:1px solid #787878;border-radius:4px;text-transform:uppercase;white-space:nowrap;width:-moz-min-content;width:min-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.transaction-tag-list[data-v-abaedd20]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:8px;margin-bottom:-8px}.transaction-tag-list.dense[data-v-abaedd20]{gap:4px;margin-bottom:0}.transaction-info .parties[data-v-a033de50]{display:flex;padding-bottom:8px}.transaction-info .parties .custom-avatar[data-v-a033de50]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:2px solid #757575;border-radius:100px}.transaction-info .parties .icon[data-v-a033de50]{width:36px;height:36px;color:#fff}.transaction-info .parties .logo[data-v-a033de50]{color:#1161fe}.transaction-info .parties .mid[data-v-a033de50]{position:relative;width:100%}.transaction-info .parties .mid .triangle[data-v-a033de50]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:15px;height:17px;color:#757575}.transaction-info .parties .mid .line[data-v-a033de50]{height:calc(50% + 1px);border-bottom:2px solid #757575}.transaction-info .details[data-v-a033de50]{display:flex;justify-content:space-between;overflow:hidden}.details-item .label[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.details-item .value[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.details-item .value.small[data-v-68d052f1]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.details-item[data-v-68d052f1]{margin-top:12px}.details-item .label[data-v-68d052f1]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.details-item .label .indent[data-v-68d052f1]{margin-left:8px}.details-item .label .expand-arrow[data-v-68d052f1]{width:14px;height:14px;color:#787878;opacity:.7;margin-left:8px;transition:inherit}.details-item .value[data-v-68d052f1]{letter-spacing:.05em;color:#fff;margin-bottom:8px}.details-item .value .secondary[data-v-68d052f1]{color:#babac0;margin-left:4px;white-space:nowrap}.details-item .value.highlight[data-v-68d052f1]{color:#ff4746}.details-item.expandable>.label[data-v-68d052f1]:hover{color:hsla(0,0%,100%,.8)}.details-item.expandable>.label:hover .expand-arrow[data-v-68d052f1]{opacity:1}.details-item.expandable>.value[data-v-68d052f1]{margin-top:10px;padding:8px 12px;background:#232323;border:1px solid #2f2f2f;border-radius:6px}.details-item.expandable.expanded>.label .expand-arrow[data-v-68d052f1]{transform:scaleY(-1)}.pool-token-row .tokens[data-v-47a7c49c] .symbol{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.pool-token-row .contract-id[data-v-47a7c49c]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px;color:#babac0;letter-spacing:.07em;cursor:pointer}.pool-token-row .contract-id .icon[data-v-47a7c49c]{width:22px;height:22px}.pool-token-row .token-info[data-v-47a7c49c]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px;padding-top:4px}.pool-token-row .token-info .address-shortening[data-v-47a7c49c],.pool-token-row .token-info .symbol[data-v-47a7c49c]{font-weight:500}.pool-token-row .tokens[data-v-47a7c49c] .separator,.pool-token-row .tokens[data-v-47a7c49c] .symbol{color:#fff}.confirm-transaction-sign .loader[data-v-166c5fe2]{display:flex;margin:0 auto;width:56px;height:56px}.confirm-transaction-sign .subtitle[data-v-166c5fe2]{margin:8px 0;color:#babac0}.confirm-transaction-sign .subtitle.warning[data-v-166c5fe2]{color:#ffb422}.confirm-transaction-sign .subtitle .app-name[data-v-166c5fe2]{color:#fff}.confirm-transaction-sign .transaction-overview[data-v-166c5fe2]{margin-bottom:16px}.confirm-transaction-sign .reason[data-v-166c5fe2] .value{word-break:break-all;color:#ffb422}.confirm-transaction-sign .details[data-v-166c5fe2]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:8px;padding:8px 0}.confirm-transaction-sign .details .details-item[data-v-166c5fe2]{margin-right:24px}.confirm-transaction-sign .pool-token-row[data-v-166c5fe2]{padding-bottom:8px}.confirm-transaction-sign .button-action-primary[data-v-166c5fe2]{display:flex}.confirm-raw-sign .warning .title[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.confirm-raw-sign .warning .content[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm-raw-sign .overview[data-v-50ead23c]{margin:16px}.confirm-raw-sign .warning[data-v-50ead23c]{margin-block:16px;text-align:left}.confirm-raw-sign .warning .title[data-v-50ead23c]{display:flex;align-items:center;margin-bottom:4px;color:#ffb422}.confirm-raw-sign .warning .title .icon[data-v-50ead23c]{width:24px;height:24px;padding-right:4px}.confirm-raw-sign .warning .content[data-v-50ead23c]{color:#fff}.confirm-raw-sign .details-item[data-v-50ead23c]{margin-top:24px;text-align:left}.textarea-input[data-v-2d4905c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.textarea[data-v-2d4905c2]{--base-line-height:1.4em;--size:6}.textarea-input[data-v-2d4905c2]{min-height:calc(var(--base-line-height)*var(--size));width:100%;background:transparent;border:none;padding:0;color:#fff;outline:none;word-break:break-word;line-height:var(--base-line-height);resize:none}.textarea-input.resizable[data-v-2d4905c2]{resize:both}.textarea.xs[data-v-2d4905c2]{--size:3}.textarea.sm[data-v-2d4905c2]{--size:4}.textarea.md[data-v-2d4905c2]{--size:8}.textarea.auto-height[data-v-2d4905c2]{--size:1}.donate-error h1[data-v-de37d780]{text-align:left;font-weight:400;font-size:16px;margin:23px 0}.donate-error .error-info-title[data-v-de37d780]{text-transform:uppercase;color:#787878;text-align:left;font-size:14px;margin:0 0 15px}.donate-error .error-info-content[data-v-de37d780]{color:#fff;font-size:15px;margin:0;text-align:left;font-weight:400;margin-bottom:25px}.token-container .token-amount[data-v-dca0ef5e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:22px;line-height:24px}.token-container[data-v-dca0ef5e]{display:flex;flex-direction:column}.token-container .token-content[data-v-dca0ef5e]{--screen-padding-x:12px;display:flex;flex-direction:column;padding-inline:var(--screen-padding-x)}.token-container .top[data-v-dca0ef5e]{display:flex;flex-direction:column;text-align:center}.token-container .token-amount[data-v-dca0ef5e]{margin-top:10px;margin-bottom:20px}.token-container .token-actions[data-v-dca0ef5e]{display:flex;justify-content:center;gap:var(--gap);margin-bottom:var(--gap)}.token-container .token-router[data-v-dca0ef5e]{position:inherit;padding-inline-start:calc(var(--screen-padding-x)*-1);padding-inline-end:calc(var(--screen-padding-x)*-1)}.token-container .sticky-tabs-wrapper[data-v-dca0ef5e]{position:sticky;top:env(safe-area-inset-top);background-color:var(--screen-bg-color);padding-bottom:4px}.token-container[data-v-dca0ef5e] .filters{--buttons-height:40px;padding-top:12px;position:sticky;top:calc(var(--buttons-height) + env(safe-area-inset-top))}.details-row[data-v-1887a5f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;justify-content:space-between;align-items:center;padding:8px var(--screen-padding-x)}.details-row .title[data-v-1887a5f2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:hsla(0,0%,100%,.5)}.details-row .text[data-v-1887a5f2]{color:hsla(0,0%,100%,.75)}.token-details[data-v-b062462c]{margin-top:10px}.token-details .price .green[data-v-b062462c]{color:#00ff9d;font-weight:400}.token-details .price .red[data-v-b062462c]{color:#ff4746;font-weight:400}.token-details .link a[data-v-b062462c]{color:#babac0;text-decoration:none;display:inline-flex;align-items:center}.token-details .link a svg[data-v-b062462c]{width:22px;height:22px}.token-details .address-shortening[data-v-b062462c]{color:#babac0}.token-details .address-shortening[data-v-b062462c]:hover{color:#fff}.checkbox-container[data-v-3d62511b]{display:flex;position:relative;align-items:center;cursor:pointer;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-container>[data-v-3d62511b]{transition:all .15s ease-in-out}.checkbox-container:hover .checkmark[data-v-3d62511b]{border-color:hsla(0,0%,100%,.5);background-color:#090909}.checkbox-container:hover .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.75)}.checkbox-container input[data-v-3d62511b]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkbox-container .checkmark[data-v-3d62511b]{background-color:#131313;border:1px solid hsla(0,0%,100%,.3);box-shadow:inset 1 1 4px rgba(0,0,0,.25);border-radius:4px;height:20px;width:20px;margin-right:10px;flex-shrink:0}.checkbox-container .checkmark.checked[data-v-3d62511b]{border:none;box-shadow:none;background-color:#1161fe;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='m15.95 7.313-7.44 7.44a.17.17 0 0 1-.236 0l-4.225-4.225a.17.17 0 0 1 0-.237l1.027-1.026a.17.17 0 0 1 .237 0l3.08 3.08 6.294-6.296a.17.17 0 0 1 .238 0l1.026 1.027a.167.167 0 0 1 0 .237'/%3E%3C/svg%3E")}.checkbox-container .checkmark.checked.disabled[data-v-3d62511b]{filter:brightness(.8)}.checkbox-container .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.5)}.checkbox-container .label-text.checked[data-v-3d62511b]{color:#fff}.button-subheader .message .heading[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.button-subheader .message .description[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.button-subheader[data-v-664f7dd3]{display:flex;align-items:center;width:100%;margin-bottom:16px;padding:20px 12px;border-radius:10px;color:#fff}.button-subheader .box[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:16px;margin-right:auto;text-align:left}.button-subheader .message[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column}.button-subheader .message .heading[data-v-664f7dd3]{line-height:150%}.button-subheader .message .description[data-v-664f7dd3]{opacity:.7}.platform-icon[data-v-18a3b1c4]{height:44px;width:40px;padding:2px 0}.platform-icon .platform-icon-image[data-v-18a3b1c4]{height:100%;margin:0 auto;transition:all .15s ease-in-out}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]{filter:grayscale(1);opacity:.8}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]:hover{filter:none;opacity:1}.platforms .footer[data-v-11c59964],.platforms .heading[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.platforms[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:400;line-height:22px;font-size:15px;background-color:var(--screen-bg-color);word-break:break-word}.platforms .heading[data-v-11c59964]{margin-bottom:8px}.platforms .footer[data-v-11c59964]{margin-top:28px;margin-bottom:12px}.platforms .mobile-web-icons[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:17px;padding-top:8px}.platforms .web-icons-wrapper[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;color:#babac0}.platforms .web-icons-title[data-v-11c59964]{padding-top:4px}.platforms .web-icons[data-v-11c59964]:first-child{border-right:1px solid hsla(0,0%,100%,.2)}.platforms .web-icons .web-icons-platforms[data-v-11c59964]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;gap:32px;padding-right:30px;padding-left:30px;padding-top:12px}.index .not-iframe.go[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.index .not-iframe.mobile[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.index .not-iframe .heading[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.index[data-v-67e61e9e]{--padding-top:44px;text-align:center}.index.extended-top-padding[data-v-67e61e9e]{--padding-top:64px}.index.ios-top-padding[data-v-67e61e9e]{padding-top:env(safe-area-inset-top)}.index .iframe-image[data-v-67e61e9e],.index .superhero-logo[data-v-67e61e9e]{margin-top:var(--padding-top)}.index .terms-agreement[data-v-67e61e9e]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-bottom:16px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{color:hsla(0,0%,100%,.75);text-decoration:none;margin-left:4px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]:hover{color:#fff;text-decoration:underline}.index .terms-agreement .terms-of-use.agreed[data-v-67e61e9e]{color:#fff}.index .terms-agreement.mobile[data-v-67e61e9e]{margin-top:32px}.index .not-iframe[data-v-67e61e9e]{text-align:center}.index .not-iframe .superhero-logo[data-v-67e61e9e]{height:32px;margin-bottom:8px}.index .not-iframe .heading[data-v-67e61e9e]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;line-height:125%;color:#fff;margin:4px 60px 24px}.index .not-iframe .heading .tag[data-v-67e61e9e]{color:hsla(0,0%,100%,.75)}.index .not-iframe .heading .tag .receive[data-v-67e61e9e],.index .not-iframe .heading .tag .send[data-v-67e61e9e],.index .not-iframe .heading .tag .store[data-v-67e61e9e]{color:#fff}.index .not-iframe .heading .tag .aeternity-name[data-v-67e61e9e]{color:#ff2b5e}.index .not-iframe.mobile[data-v-67e61e9e]{color:#fff;max-width:80%;margin:0 auto;min-height:25vh;padding-top:30px}.index .not-iframe.go[data-v-67e61e9e]{margin-top:-36px;margin-bottom:42px}.index .not-iframe .spinner[data-v-67e61e9e]{width:256px;height:256px;color:#1161fe}.index .not-iframe .platforms[data-v-67e61e9e]{margin:0 auto;max-width:312px}.index .wallet-button-box[data-v-67e61e9e]{margin-inline:16px;padding-block:4px}.select-asset[data-v-2815dc49]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 12px;background-color:rgba(0,0,0,.3);border-radius:16px;gap:6px;color:#1161fe;white-space:nowrap;border:2px solid transparent;transition:all .12s ease-out}.select-asset .chevron-down[data-v-2815dc49]{width:8px!important;color:#fff;opacity:.75}.select-asset[data-v-2815dc49]:not(.disabled):hover{border-color:hsla(0,0%,100%,.15)}.select-asset:not(.disabled).focused[data-v-2815dc49]{background-color:hsla(0,0%,100%,.05)}.input-amount .readonly-symbol[data-v-a339de10]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.input-amount-desc[data-v-a339de10]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-amount-desc-total[data-v-a339de10]{word-break:break-word}.focused .input-amount-desc-total[data-v-a339de10]{color:hsla(0,0%,100%,.75)}.input-amount-desc-at[data-v-a339de10]{margin-left:auto}.input-amount-asset[data-v-a339de10]{margin-right:-2px}.input-amount .readonly-symbol[data-v-a339de10]{white-space:nowrap;color:#1161fe;-webkit-user-select:none;-moz-user-select:none;user-select:none}.invite-row[data-v-9a6ba60a]{padding:1rem var(--screen-padding-x);margin:-2px calc(var(--screen-padding-x)*-1) 0;border-style:solid;border-color:#232323;border-width:2px 0;text-align:left;color:#fff;position:relative}.invite-row .invite-link[data-v-9a6ba60a]{width:100%;margin:12px 0}.invite-row .invite-link-url[data-v-9a6ba60a]{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:11px;color:#fff}.invite-row .invite-info[data-v-9a6ba60a]{font-size:13px;display:flex;align-items:center;margin-bottom:10px;color:#787878}.invite-row .invite-info .token-amount[data-v-9a6ba60a]{flex-grow:1}.invite-row .invite-info .date[data-v-9a6ba60a]{font-size:11px;color:#fff;opacity:.5}.invite-row .input-amount[data-v-9a6ba60a]{margin-bottom:var(--gap)}.invite-row .centered-buttons[data-v-9a6ba60a]{display:flex;gap:var(--gap)}.invite-page[data-v-47b6712e]{padding-inline:var(--screen-padding-x);overflow:hidden}.invite-page .section-title[data-v-47b6712e]{display:flex;align-items:center;margin:36px 0 16px;font-size:16px;text-align:left;color:#babac0;font-weight:500}.invite-page .section-title-icon[data-v-47b6712e]{width:20px;height:20px;margin-right:4px;color:#fff;opacity:.5}.invite-page .amount[data-v-47b6712e]{margin-bottom:20px}.radio-button[data-v-30c8e33a]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.radio-button.disabled[data-v-30c8e33a]{opacity:50%;cursor:not-allowed}.radio-button .input[data-v-30c8e33a]{position:absolute;top:0;left:0;visibility:hidden}.radio-button .radio-dot[data-v-30c8e33a]{position:relative;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);width:20px;height:20px;background:var(--screen-bg-color);margin-right:6px;opacity:.5;flex-shrink:0}.radio-button .radio-dot[data-v-30c8e33a]:after{content:"";position:absolute;border-radius:50%;width:0;height:0;top:50%;left:50%;background:#1161fe;transition:all .15s ease-in-out;transform:translate(-50%,-50%)}.radio-button .radio-dot.checked[data-v-30c8e33a]{opacity:1}.radio-button .radio-dot.checked[data-v-30c8e33a]:after{width:14px;height:14px;opacity:1}.radio-button .radio-holder[data-v-30c8e33a]{width:100%;opacity:.5}.radio-button .radio-holder.checked[data-v-30c8e33a]{opacity:1}.language-settings .language[data-v-2f99176c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.language-settings[data-v-2f99176c]{padding-inline:var(--screen-padding-x)}.language-settings .text-description[data-v-2f99176c]{margin-bottom:16px}.language-settings .language[data-v-2f99176c]{padding:6px 0;opacity:.5}.language-settings .language.active[data-v-2f99176c]{opacity:1}.language-settings .language .language-code[data-v-2f99176c]{text-transform:uppercase}.language-settings .language .row[data-v-2f99176c]{width:100%;display:inline-flex;justify-content:flex-start;align-items:center;gap:4px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.currency-settings .currency .row .name[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.currency-settings[data-v-d9f35b18]{padding-inline:var(--screen-padding-x)}.currency-settings .options[data-v-d9f35b18]{margin-top:20px}.currency-settings .currency[data-v-d9f35b18]{padding:6px 0;font-weight:500;font-size:14px;line-height:24px}.currency-settings .currency .row[data-v-d9f35b18]{width:100%;display:inline-flex;align-items:center}.currency-settings .currency .row .left[data-v-d9f35b18]{display:inline-flex;align-items:center;width:95px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{text-transform:uppercase;padding-right:2px;color:hsla(0,0%,100%,.5)}.currency-settings .currency .row .name[data-v-d9f35b18]{color:hsla(0,0%,100%,.75)}.currency-settings .currency.active .row .left .code[data-v-d9f35b18],.currency-settings .currency.active .row .left .symbol[data-v-d9f35b18],.currency-settings .currency.active .row .name[data-v-d9f35b18]{color:#fff}.auction-tabs[data-v-a1bc958c]{padding-inline:var(--screen-padding-x)}.auction-router[data-v-a1bc958c]{top:8%}.auction-overview[data-v-ae141ce8]{display:flex;justify-content:space-between}.auction-overview .details-item[data-v-ae141ce8] .label{margin-bottom:4px}.auction-overview .details-item[data-v-ae141ce8] .value{text-align:left}.auction-overview .details-item[data-v-ae141ce8]:first-of-type{padding-right:24px}.auction-overview .details-item.end-height[data-v-ae141ce8] .value{color:#babac0}.auction-overview .details-item.end-height[data-v-ae141ce8] .secondary{color:#787878}.auction-card .name[data-v-57d51d1e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.auction-card[data-v-57d51d1e]{display:flex;flex-direction:column;align-items:center;height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E")}.auction-card .avatar[data-v-57d51d1e]{width:48px;height:48px;box-shadow:0 0 0 8px rgba(17,97,254,.15);margin-top:36px}.auction-card .name[data-v-57d51d1e]{line-height:16px;margin-top:16px}.auction-card .auction-overview[data-v-57d51d1e]{margin-top:16px}.auction-card .help-button[data-v-57d51d1e]{align-self:flex-end;padding-top:16px;padding-right:16px;margin-bottom:-36px}.auction-bid .form[data-v-3431fc86]{padding:16px}.auction-bid .form .tx-details[data-v-3431fc86]{display:flex;padding-top:16px}.auction-bid .form .tx-details .details-item[data-v-3431fc86]{margin-right:24px}.auction-bid .form .button[data-v-3431fc86]{margin-top:16px}.account-item .address.md[data-v-4a2fe2f6],.account-item .name.md[data-v-4a2fe2f6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-item .address.rg[data-v-4a2fe2f6],.account-item .name.rg[data-v-4a2fe2f6]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.account-item[data-v-4a2fe2f6]{display:flex;align-items:center}.account-item .avatar-wrapper[data-v-4a2fe2f6]{position:relative;display:flex;margin-right:4px}.account-item .avatar-wrapper.has-protocol-icon[data-v-4a2fe2f6]{margin-right:8px}.account-item .avatar-wrapper .protocol-icon[data-v-4a2fe2f6]{position:absolute;bottom:0;right:-4px}.account-item .address[data-v-4a2fe2f6],.account-item .name[data-v-4a2fe2f6]{text-align:left;word-break:break-all}.account-item .name[data-v-4a2fe2f6]{max-width:230px}.account-item .external-link-icon[data-v-4a2fe2f6]{flex-shrink:0;margin-top:-4px;margin-left:-4px;width:22px;height:22px}.auction-history .title[data-v-66adf79c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.auction-history[data-v-66adf79c]{min-height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");background-repeat:repeat-x}.auction-history .title[data-v-66adf79c]{padding:16px 0 8px 0;text-align:center;color:#787878;display:block}.auction-history .title .name[data-v-66adf79c]{color:#1161fe}.auction-history .item[data-v-66adf79c]{margin:0 16px;padding:8px 0}.auction-history .item[data-v-66adf79c]:not(:first-of-type){border-top:1px solid rgba(17,97,254,.44)}.auction-history .item .account-item[data-v-66adf79c]{margin-top:4px}.auction-history .item .auction-overview[data-v-66adf79c]{margin-top:16px}.auction-history .item .auction-overview[data-v-66adf79c] .details-item:first-of-type{padding-right:32px}.name-row[data-v-5a99e238]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:0 12px}.name-row .content[data-v-5a99e238]{display:flex;align-items:center;padding:8px 0;color:#fff;text-align:left;text-decoration:none;transition:.2s}.name-row .name-info[data-v-5a99e238]{margin-left:8px;width:100%}.register-name .message[data-v-06542595]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin:32px;text-align:center;color:#babac0}.register-name .btn[data-v-06542595]{margin-inline:auto}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.auction-list .toolbar[data-v-1442f094]{--background:var(--screen-bg-color);--min-height:0;padding-inline:var(--screen-padding-x)}.auction-list .auction-list-content[data-v-1442f094]{--filter-top-offset:166px;display:flex;flex-direction:column}.auction-list .auction-list-content .list[data-v-1442f094]{padding:0 12px;margin-inline:calc(var(--screen-padding-x)*-1)}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{display:flex;justify-content:space-between;line-height:16px}.auction-list .auction-list-content .list .name-wrapper .name[data-v-1442f094]{display:flex;flex-direction:column;font-weight:700}.auction-list .auction-list-content .list .name-wrapper .expiration[data-v-1442f094]{align-self:flex-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.auction-list .auction-list-content .spinner[data-v-1442f094]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.auction-list .auction-list-content[data-v-1442f094] .filters{position:sticky;top:env(safe-area-inset-top);margin-left:0;margin-right:0}.more[data-v-2588bf9a]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.claim .chain-name-counter[data-v-49ca1149]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.claim[data-v-49ca1149]{padding-inline:var(--screen-padding-x)}.claim .chain-name[data-v-49ca1149]{margin-bottom:6px}.claim .chain-name-counter[data-v-49ca1149]{color:#787878}.claim .chain-name .aens-domain[data-v-49ca1149]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.claim .auto-extend-label[data-v-49ca1149]{display:flex;align-items:center;gap:10px}.claim .explanation[data-v-49ca1149]{margin-top:10px}.claim .btn-register[data-v-49ca1149]{margin-top:20px}.name-item .collapsed .header .truncate[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.name-item .collapsed .header .pending[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help),.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.name-item .expand>.details-item[data-v-22a1d9de] .value,.name-item>span[data-v-22a1d9de]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.name-item[data-v-22a1d9de]{display:flex;flex-direction:column;padding:8px var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);transition:.2s}.name-item[data-v-22a1d9de]:hover{background-color:#121212}.name-item .collapsed[data-v-22a1d9de]{display:flex;text-align:left;justify-content:space-between}.name-item .collapsed .pending-icon[data-v-22a1d9de]{height:32px;width:32px}.name-item .collapsed .header[data-v-22a1d9de]{flex:2;max-width:260px}.name-item .collapsed .header .pending[data-v-22a1d9de]{color:#787878}.name-item .collapsed .header .truncate[data-v-22a1d9de]{line-height:16px}.name-item .collapsed .header .buttons[data-v-22a1d9de]{display:flex;margin-top:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 8px;white-space:nowrap;color:#babac0;background:#2f2f2f;border-radius:6px;opacity:1}@media(min-width:362px)and (max-width:480px){.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 6px}}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).set[data-v-22a1d9de]{background:rgba(255,180,34,.1);color:#ffb422}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).edit[data-v-22a1d9de]{background:rgba(17,97,254,.15);color:#1161fe}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help):not(:last-of-type){margin-right:4px}.name-item .collapsed .button-plain[data-v-22a1d9de]{align-self:flex-start;flex-basis:24px}.name-item .collapsed .button-plain .icon[data-v-22a1d9de]{width:14px;color:#fff;opacity:.44}.name-item .collapsed .button-plain .icon.hidden[data-v-22a1d9de]{display:none}.name-item .collapsed .button-plain .icon.rotated[data-v-22a1d9de]{transform:rotate(180deg)}.name-item .expand[data-v-22a1d9de]{display:flex;flex-direction:column}.name-item .expand .input-address[data-v-22a1d9de]{margin:8px 0}.name-item .expand .input-address-icon[data-v-22a1d9de]{width:24px;height:24px;margin:-4px 0}.name-item .expand .details-item[data-v-22a1d9de] .value{color:#babac0}.name-item .expand>.details-item[data-v-22a1d9de] .value{letter-spacing:0}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers{display:flex}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{margin-right:4px;color:#787878}.name-item .expand .heights[data-v-22a1d9de]{display:flex;flex-direction:row}.name-item .expand .heights .details-item[data-v-22a1d9de]{flex:1}.name-item .expand .heights .details-item[data-v-22a1d9de] .value .secondary{color:#787878;margin-left:-2px}.name-item .expand .heights .details-item[data-v-22a1d9de]:first-of-type{margin-right:16px}.name-item>span[data-v-22a1d9de]{margin-top:4px;color:#babac0}.names-list[data-v-a49c9f7e]{padding:4px 12px 0 12px}.names-list .name-item[data-v-a49c9f7e]{margin-top:1px}.names-list .spinner[data-v-a49c9f7e]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.not-found .title[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:22px;line-height:32px}.not-found .description[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.not-found[data-v-b270b9c2]{text-align:center;display:flex;flex-direction:column;align-items:center;height:auto;padding:0 16px}.not-found .image[data-v-b270b9c2]{margin-top:88px;width:156px}.not-found .title[data-v-b270b9c2]{margin-top:16px}.not-found .description[data-v-b270b9c2]{margin-top:8px;margin-bottom:32px;opacity:.85}.not-found .button-wrapper[data-v-b270b9c2]{width:100%}.not-found .button[data-v-b270b9c2]{width:100%;margin-bottom:16px}.not-found .icon[data-v-b270b9c2]{margin-right:4px;width:20px;height:20px}.notification-item .title[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.notification-item .external-link-button[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.notification-item .message[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.notification-item .status-and-date .date[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.notification-item .address[data-v-038ccc36]{font-family:IBM Plex Mono;font-weight:500;font-size:15px;line-height:24px}.notification-item[data-v-038ccc36]{padding:8px 16px;display:grid;row-gap:2px;grid-template-columns:48px auto;border:none;outline:none;text-decoration:none;color:#fff;cursor:pointer}.notification-item[data-v-038ccc36]:hover{background-color:#090909}.notification-item .content[data-v-038ccc36]{overflow:hidden}.notification-item .status-and-date[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;grid-column-start:2;gap:4px}.notification-item .status-and-date .unread-dot[data-v-038ccc36]{width:8px;height:8px;border-radius:8px;background-color:#ff4746}.notification-item .status-and-date .date[data-v-038ccc36]{color:hsla(0,0%,100%,.5)}.notification-item .notification-avatar[data-v-038ccc36]{margin-top:6px;margin-left:4px}.notification-item .notification-icon[data-v-038ccc36]{margin-top:3px;width:40px;height:40px}.notification-item .notification-icon-backup[data-v-038ccc36]{margin-top:12px;width:40px;height:40px}.notification-item .message[data-v-038ccc36]{line-height:20px;color:hsla(0,0%,100%,.85)}.notification-item .message[data-v-038ccc36]:first-letter{text-transform:uppercase}.notification-item .address[data-v-038ccc36]{letter-spacing:.07em}.notification-item .redirect-button[data-v-038ccc36]{margin-top:10px}.notification-item .external-link-button[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:#fff;margin-top:6px}.notification-item .external-link-button .external-link-icon[data-v-038ccc36]{width:24px;height:24px}.notifications .empty-list-message[data-v-29c48dac]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.notifications[data-v-29c48dac]{position:relative;padding:0}.notifications .empty-list-message[data-v-29c48dac]{max-width:180px;margin-top:56px;margin-inline:auto;text-align:center;opacity:.75}.switch-button .label[data-v-87c8d2dc]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.switch-button[data-v-87c8d2dc]{width:100%;display:inline-flex;justify-content:space-between;align-items:center}.switch-button.disabled[data-v-87c8d2dc]{opacity:.75}.switch-button .label[data-v-87c8d2dc]{color:hsla(0,0%,100%,.5)}.switch-button .switch[data-v-87c8d2dc]{position:relative;display:inline-block;width:36px;height:20px}.switch-button .switch input[data-v-87c8d2dc]{opacity:0;width:0;height:0}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]{background-color:#1161fe}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]:before{transform:translateX(16px)}.switch-button .switch .slider[data-v-87c8d2dc]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.15);transition:.4s}.switch-button .switch .slider[data-v-87c8d2dc]:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:hsla(0,0%,100%,.75);transition:.4s}.switch-button .switch .slider.round[data-v-87c8d2dc]{border-radius:12px}.switch-button .switch .slider.round[data-v-87c8d2dc]:before{border-radius:50%}.switch-button.active .label[data-v-87c8d2dc]{color:#fff}.switch-button.active .switch .slider[data-v-87c8d2dc]:before{background-color:#fff}.notification-settings[data-v-bacfd880]{padding-inline:var(--screen-padding-x)}.notification-settings .switches[data-v-bacfd880]{margin-top:20px}.notification-settings .switches .switch-button[data-v-bacfd880]{margin-bottom:12px}.errors-log-settings[data-v-7d9261ee]{padding-inline:var(--screen-padding-x)}.errors-log-settings .options[data-v-7d9261ee]{margin-top:20px}.permissions-settings[data-v-cd8a66b0]{padding-inline:var(--screen-padding-x)}.permissions-settings .hosts[data-v-cd8a66b0]{margin-bottom:26px}.permissions-settings .hosts .host[data-v-cd8a66b0]{margin:8px 0}.permission-manager[data-v-51e00354]{--screen-padding-x:14px;padding-inline:var(--screen-padding-x);color:#fff}.permission-manager .inputs[data-v-51e00354]{margin-bottom:32px}.permission-manager .permission-row[data-v-51e00354]{margin:10px 0}.permission-manager .permission-row.switch[data-v-51e00354]{margin-bottom:0;padding-top:3px;padding-right:5px}.permission-manager .transaction-sign-limit .transaction-limit-input[data-v-51e00354]{margin-bottom:16px}.permission-manager .transaction-sign-limit .transaction-limit-amount[data-v-51e00354]{justify-content:space-between;width:100%}.permission-manager .bottom[data-v-51e00354]{padding-top:38px;padding-bottom:16px}.permission-manager .bottom .actions[data-v-51e00354]{width:100%;display:flex;padding-bottom:12px;gap:12px}.permission-manager .bottom .actions .confirm[data-v-51e00354]{flex:1.8}.connect .permissions .title[data-v-266c673b],.connect .subtitle[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.connect .permissions .description[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.connect .transaction-info[data-v-266c673b]{margin-bottom:16px}.connect .subtitle[data-v-266c673b]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.connect .subtitle .app-name[data-v-266c673b]{color:#fff}.connect .permissions[data-v-266c673b]{margin:16px 0}.connect .permissions .title[data-v-266c673b]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.connect .permissions .title .icon[data-v-266c673b]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.connect .permissions .description[data-v-266c673b]{display:block;padding-bottom:16px;color:#fff;text-align:left}.account-list .permissions .title[data-v-eb792a74],.account-list .subtitle[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.account-list .permissions .description[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.account-list .transaction-info[data-v-eb792a74]{margin-bottom:16px}.account-list .subtitle[data-v-eb792a74]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.account-list .subtitle .app-name[data-v-eb792a74]{color:#fff}.account-list .permissions[data-v-eb792a74]{margin:16px 0}.account-list .permissions .title[data-v-eb792a74]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.account-list .permissions .title .icon[data-v-eb792a74]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.account-list .permissions .description[data-v-eb792a74]{display:block;padding-bottom:16px;color:#fff;text-align:left}.message-sign .subtitle[data-v-cd79f6b6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin-top:28px;margin-bottom:16px;color:#babac0;text-align:center}.message-sign .subtitle .app-name[data-v-cd79f6b6]{color:#fff}.message-sign .message-text[data-v-cd79f6b6]{margin-top:16px}.privacy-policy[data-v-aef7a50c]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.privacy-policy .link-button[data-v-aef7a50c]{display:inline}.privacy-policy ol[data-v-aef7a50c]{list-style:upper-roman;padding:10px}.privacy-policy ol ol[data-v-aef7a50c]{list-style-position:inside;padding:0}.privacy-policy ol ul[data-v-aef7a50c]{padding-left:20px}.privacy-policy ol li[data-v-aef7a50c]{margin-bottom:20px;margin-left:10px}.privacy-policy ol ol li[data-v-aef7a50c],.privacy-policy ol ul li[data-v-aef7a50c]{margin:16px 0 16px 3px}.privacy-policy ol ol.download-options[data-v-aef7a50c],.privacy-policy ol ul.download-options[data-v-aef7a50c]{list-style-type:decimal}.privacy-policy ol ol.sharing-terms[data-v-aef7a50c],.privacy-policy ol ul.sharing-terms[data-v-aef7a50c]{list-style-type:lower-roman}.info-box[data-v-13169d05]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;margin-top:10px;padding:8px 12px;border-radius:4px;line-height:19px}.info-box.default[data-v-13169d05]{background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.75)}.info-box.success[data-v-13169d05]{background-color:rgba(0,211,161,.15);color:#00d3a1}.info-box.danger[data-v-13169d05]{background-color:rgba(255,71,70,.15);color:#ff4746}.info-box.warning[data-v-13169d05]{background-color:rgba(255,180,34,.15);color:#ffb422}.url-status[data-v-7e3c0162]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;align-items:center}.url-status.alert[data-v-7e3c0162],.url-status.blacklisted[data-v-7e3c0162],.url-status.critical[data-v-7e3c0162]{color:#ff4746}.url-status.not-secure[data-v-7e3c0162],.url-status.not-verified[data-v-7e3c0162],.url-status.warning[data-v-7e3c0162]{color:#ffb422}.url-status.help[data-v-7e3c0162],.url-status.info[data-v-7e3c0162]{color:#1161fe}.url-status.success[data-v-7e3c0162],.url-status.verified[data-v-7e3c0162]{color:#00d3a1}.url-status .title[data-v-7e3c0162]{margin-right:8px}.url-status .icon-link[data-v-7e3c0162]{color:inherit;display:inline-block;line-height:1}.url-status .icon-link .icon[data-v-7e3c0162]{width:22px;height:22px;cursor:pointer}.retip .url-info .url[data-v-69aca2f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.retip[data-v-69aca2f2]{padding:16px}.retip .url-info[data-v-69aca2f2]{margin-block:30px 20px}.retip .url-info .url[data-v-69aca2f2]{display:block;margin-bottom:2px;overflow-wrap:anywhere;line-height:1.4em;color:#fff;text-decoration:none}.retip .button-wrapper[data-v-69aca2f2]{display:flex;gap:var(--gap)}.seed-phrase-settings[data-v-2062bb15]{padding-inline:var(--screen-padding-x)}.seed-phrase-settings .white-text[data-v-2062bb15]{color:#fff}.seed-phrase-settings .button[data-v-2062bb15]{margin-top:22px}.card-mnemonic[data-v-e74c1a8c]{background:hsla(0,0%,100%,.15);border:2px solid hsla(0,0%,100%,.1);border-radius:16px;padding:12px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-details[data-v-2f6603ef]{padding-inline:var(--screen-padding-x)}.seed-phrase-details .mnemonics[data-v-2f6603ef]{margin-bottom:18px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{letter-spacing:.1em;line-height:32px;color:#fff;text-align:left;margin-bottom:12px}.seed-phrase-details .mnemonics .copy-btn[data-v-2f6603ef]{margin:0 auto;min-width:210px}.seed-phrase-details .buttons[data-v-2f6603ef]{display:flex;flex-direction:column;gap:var(--gap);margin-top:20px}.seed-phrase-notification[data-v-53556f6a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px;border:2px solid #00d3a1;border-radius:16px;background:rgba(0,0,0,.85);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#00d3a1}.seed-phrase-notification.error[data-v-53556f6a]{border-color:#ff4746;color:#ff4746}.seed-phrase-notification .text[data-v-53556f6a]{padding:16px;text-align:center}.seed-phrase-notification .icon-wrapper .icon[data-v-53556f6a],.seed-phrase-notification .icon-wrapper[data-v-53556f6a]{width:40px;height:40px}.seed-phrase-badge[data-v-6c333003]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:16px;line-height:24px;display:inline-flex;align-items:center;height:30px;border:1px solid hsla(0,0%,100%,.44);border-radius:4px;padding:4px 6px;margin-right:4px;margin-bottom:8px;color:#fff;background-color:#000;cursor:pointer;letter-spacing:.1rem;line-height:100%}.seed-phrase-badge.selected[data-v-6c333003]{opacity:.44;cursor:unset;background:transparent;border-color:#babac0;color:#fff}.seed-phrase-badge.editable[data-v-6c333003]{background:rgba(0,0,0,.25);border:none}.seed-phrase-badge.editable .close-icon[data-v-6c333003]{color:hsla(0,0%,100%,.44);width:24px;height:24px}.seed-phrase-verify-settings .title[data-v-25d35038]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-verify-settings[data-v-25d35038]{position:relative}.seed-phrase-verify-settings-body[data-v-25d35038]{padding:var(--screen-padding-x)}.seed-phrase-verify-settings .title[data-v-25d35038]{color:#fff;margin-bottom:18px;text-align:center}.seed-phrase-verify-settings .source-phrases[data-v-25d35038]{margin-top:18px}.seed-phrase-verify-settings .selected-phrases[data-v-25d35038]{position:relative;margin-top:18px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-list[data-v-25d35038]{min-height:180px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-notification[data-v-25d35038]{position:absolute;z-index:1;inset:0}.settings[data-v-e9e78210]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.accordion-item[data-v-77e13361]{margin-bottom:8px}.accordion-item .accordion-label[data-v-77e13361]{display:flex;align-items:center;margin-block:5px;cursor:pointer}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]{width:14px;height:14px;margin-right:8px;color:#9e9e9e;transition:.3s}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]:not(.rotated){transform:rotate(-90deg)}.accordion-item .accordion-label .accordion-label-text[data-v-77e13361]{font-size:14px;font-weight:500;text-transform:uppercase;color:#00ff9d}.terms-of-service h1[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.terms-of-service[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.terms-of-service .italic[data-v-6eec62a2]{font-style:italic}.terms-of-service .underline[data-v-6eec62a2]{text-decoration:underline}.terms-of-service .bolder[data-v-6eec62a2]{font-weight:700}.terms-of-service h1[data-v-6eec62a2]{margin:20px;text-align:center}.terms-of-service ul[data-v-6eec62a2]{margin-bottom:8px;padding-left:20px}.terms-of-service .link-button[data-v-6eec62a2]{display:inline}.tips-claim[data-v-1e037461]{padding-inline:var(--screen-padding-x)}.tips-claim .header[data-v-1e037461]{margin:20px 0 24px 0;display:flex}.tips-claim .header .help-button[data-v-1e037461]{margin-left:8px}.tips-claim .header .help-button[data-v-1e037461] .icon{width:32px;height:32px}.tips-claim .input-field[data-v-1e037461]{margin:20px 0}.payload .payload-text[data-v-30e23ae8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.payload[data-v-30e23ae8]{text-align:left;width:100%}.payload .payload-header[data-v-30e23ae8]{display:flex;justify-content:space-between;margin-bottom:4px}.payload .payload-text[data-v-30e23ae8]{color:#fff;opacity:.85}.dialog[data-v-5b9d82eb]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:10px 8px;border-radius:8px;color:hsla(0,0%,100%,.5);background-color:#2b2b2b}.dialog[data-v-5b9d82eb]:after{content:"";position:absolute;z-index:-1;width:8px;height:8px;top:50%;left:-4px;transform:translateY(-50%) rotate(45deg);background-color:#2b2b2b}.dialog.dense[data-v-5b9d82eb]{padding:2px 4px;border-radius:4px;letter-spacing:0}.dialog.dense[data-v-5b9d82eb]:after{left:-3px}.dialog.bottom[data-v-5b9d82eb]:after{top:auto;left:50%;bottom:-8px}.dialog.bottom.dense[data-v-5b9d82eb]:after{left:40%}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-multisig-consensus[data-v-2ceebdf7]{width:100%}.transaction-multisig-consensus .consensus-label[data-v-2ceebdf7]{margin-bottom:20px}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.transaction-multisig-consensus .consensus-label .label .confirmations-count[data-v-2ceebdf7]{padding-left:4px;color:hsla(0,0%,100%,.75)}.transaction-multisig-consensus .consensus-label .btn-help[data-v-2ceebdf7]{margin-left:4px}.transaction-multisig-consensus .consensus .signers .signer[data-v-2ceebdf7]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px;margin-bottom:6px}.transaction-multisig-consensus .consensus .signers .signer .check-icon[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{width:20px;height:20px;margin-left:20px;margin-right:4px;opacity:.5}.transaction-multisig-consensus .consensus .signers .signer .check-icon.active[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon.active[data-v-2ceebdf7]{color:#00ff9d;opacity:1}.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{color:#ff4746;opacity:1}.multisig-proposal-details[data-v-59015a73]{display:flex;flex-direction:column}.multisig-proposal-details .spinner[data-v-59015a73]{align-self:center;width:56px;height:56px;flex-grow:1;display:flex;justify-content:center;align-items:center}.multisig-proposal-details .pending-icon[data-v-59015a73]{width:16px;height:16px}.multisig-proposal-details .header[data-v-59015a73]{display:flex;justify-content:center;align-items:center;flex-flow:column;background-color:#141414;min-height:42px;padding:14px;position:sticky;top:0;z-index:3}@media(min-width:362px)and (max-width:480px){.multisig-proposal-details .header[data-v-59015a73]{width:100%}}.multisig-proposal-details .span-3-columns[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.multisig-proposal-details .content[data-v-59015a73]{background-color:#191919;padding-bottom:120px}.multisig-proposal-details .content .transaction-overview[data-v-59015a73]{padding:16px 12px 8px}.multisig-proposal-details .content .receiving-address[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.multisig-proposal-details .content .data-grid[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px var(--screen-padding-x)}.multisig-proposal-details .content .data-grid .tip-url .copy-text[data-v-59015a73],.multisig-proposal-details .content .data-grid .tip-url[data-v-59015a73]{width:100%}.multisig-proposal-details .content .data-grid .tip-url .link-button[data-v-59015a73]{display:block}.multisig-proposal-details .content .explorer[data-v-59015a73]{height:38px;padding-inline:16px;display:flex;align-items:center}.multisig-proposal-details .details-item[data-v-59015a73] .label{white-space:nowrap}.multisig-proposal-details .reason[data-v-59015a73] .value{color:#ffb422}.multisig-proposal-details .row[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px}.multisig-proposal-details .bottom-buttons[data-v-59015a73]{padding:var(--screen-padding-x);position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(25,25,25,0),rgba(25,25,25,.8) 43.08%,rgba(25,25,25,.9) 90.79%)}.multisig-proposal-details .bottom-buttons .row[data-v-59015a73]{gap:8px;padding-bottom:8px}.reset-wallet-settings[data-v-11f9ae84]{padding-inline:var(--screen-padding-x)}.reset-wallet-settings .reset-wallet-button[data-v-11f9ae84]{margin-top:34px}.network-row .name-and-actions .name[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.network-row .network-details .url-label[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.network-row .network-details[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-row[data-v-f4fc97a8]{margin-bottom:12px}.network-row.inactive[data-v-f4fc97a8]{opacity:.5}.network-row .name-and-actions[data-v-f4fc97a8]{display:flex;justify-content:space-between}.network-row .name-and-actions .name[data-v-f4fc97a8]{margin:0}.network-row .name-and-actions .actions[data-v-f4fc97a8]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;gap:4px;flex:1}.network-row .network-details[data-v-f4fc97a8]{margin:0 0 0 26px;border-spacing:0}.network-row .network-details td[data-v-f4fc97a8]{padding:0}.network-row .network-details .url-label[data-v-f4fc97a8]{padding-right:8px;opacity:.6;text-transform:capitalize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.networks[data-v-00a35ffe]{padding-inline:var(--screen-padding-x)}.networks .networks-list[data-v-00a35ffe]{margin-top:20px}.networks .add-custom-network[data-v-00a35ffe]{margin-block:20px}.network-form .name-characters-left[data-v-e89c9e08]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-form[data-v-e89c9e08]{margin:16px var(--screen-padding-x)}.network-form .name-characters-left[data-v-e89c9e08]{opacity:.75}.network-form .invalid-form-message[data-v-e89c9e08]{margin-top:30px}.network-form .cancel-button[data-v-e89c9e08]{flex:0;padding-inline:32px}.network-form .button-wrapper[data-v-e89c9e08]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:35px;margin-bottom:10px;gap:8px}.authorized-accounts .count-value[data-v-1229a01e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.authorized-accounts .account-row[data-v-1229a01e]{display:flex;align-items:center}.authorized-accounts .external-link[data-v-1229a01e]{margin-left:7px;width:22px;height:22px;opacity:.85}.authorized-accounts .account-list[data-v-1229a01e]{display:flex;flex-direction:column;gap:8px;width:100%;min-width:154px}.authorized-accounts .count-value[data-v-1229a01e]{line-height:19px}.authorized-accounts .dialog[data-v-1229a01e]{padding:4px;border-radius:4px;margin-left:9px}.multisig-details[data-v-170ee221]{padding:0 12px;display:flex;flex-direction:column;gap:8px}.multisig-details .address-row[data-v-170ee221]{display:flex;align-items:center;gap:8px}.multisig-details .text-address[data-v-170ee221]{color:#fff}.multisig-details .row[data-v-170ee221]{display:flex;gap:24px}.multisig-details .explorer-link[data-v-170ee221]{color:hsla(0,0%,100%,.75);margin-block:4px}.multisig-details .explorer-link .external-icon[data-v-170ee221]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.multisig-details .explorer-link[data-v-170ee221]:active,.multisig-details .explorer-link[data-v-170ee221]:hover{color:#fff}.apps-browser-header .title .text[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.apps-browser-header .title .host[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.apps-browser-header[data-v-639ab793]{--header-height:40px;position:sticky;display:flex;align-items:center;justify-content:space-between;top:0;z-index:2;height:calc(var(--header-height) + env(safe-area-inset-top));background-color:var(--screen-bg-color);padding:env(safe-area-inset-top) 8px 0 8px;width:100%}@media(min-width:362px)and (max-width:480px){.apps-browser-header[data-v-639ab793]{display:flex;justify-content:space-between;width:100%}}.apps-browser-header .left[data-v-639ab793]{display:flex;gap:4px;align-items:center}.apps-browser-header .left .icon-btn[data-v-639ab793]{--size:20px;--icon-opacity:0.5;width:32px;height:32px;transform:rotate(180deg)}.apps-browser-header .right[data-v-639ab793]{display:flex;justify-content:flex-end;gap:4px}.apps-browser-header .title .text[data-v-639ab793]{padding:0 8px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.apps-browser-header .title .host[data-v-639ab793]{display:flex;align-items:center;gap:2px;color:#fff}.apps-browser-header .title .host .secure-lock[data-v-639ab793]{height:17px;width:17px;opacity:.75}.apps-browser-list-item[data-v-4e0231c6]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin-top:4px}.apps-browser-list-item[data-v-4e0231c6]:hover{cursor:pointer}.apps-browser-list-item:hover .app-image-wrapper[data-v-4e0231c6]{background:#212121}.apps-browser-list-item:hover .app-image[data-v-4e0231c6],.apps-browser-list-item:hover .app-title[data-v-4e0231c6]{opacity:1}.apps-browser-list-item .app-image-wrapper[data-v-4e0231c6]{width:88px;height:88px;display:flex;justify-content:center;align-items:center;background:#262626;border-radius:10px}.apps-browser-list-item .app-image[data-v-4e0231c6]{width:40px;height:40px;opacity:.85}.apps-browser-list-item .app-title[data-v-4e0231c6]{padding:4px 8px;font-size:12px;line-height:16px;text-align:center;color:#fff;opacity:.7}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.apps-browser-history-list-item[data-v-bd95fcd4]{display:flex;flex-direction:row;align-items:flex-start;justify-content:center;width:100%;height:100%;margin:4px 0;cursor:pointer}.apps-browser-history-list-item.no-title[data-v-bd95fcd4]{align-items:center}.apps-browser-history-list-item:hover .app-title[data-v-bd95fcd4]{opacity:.7}.apps-browser-history-list-item:hover .app-url[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-image-wrapper[data-v-bd95fcd4]{margin-right:6px}.apps-browser-history-list-item .app-image-wrapper .app-image[data-v-bd95fcd4]{width:22px;height:22px}.apps-browser-history-list-item .app-image-wrapper .app-image.default[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-info[data-v-bd95fcd4]{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;flex:1;gap:4px;color:#fff}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{line-height:16px;opacity:1}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{opacity:.7}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser-history[data-v-46fe5ab0]{margin-top:24px;padding:0 16px}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{opacity:.5;color:#fff;line-height:24px}.apps-browser-history .apps-browser-list[data-v-46fe5ab0]{display:flex;flex-direction:column;padding-top:8px;padding-bottom:16px;gap:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser[data-v-1a03c862]{height:100%}.apps-browser.app-selected[data-v-1a03c862]{height:100vh;overflow:hidden}@media(min-width:481px){.apps-browser.app-selected[data-v-1a03c862]{height:600px}}.apps-browser .input-url[data-v-1a03c862]{margin:16px 8px}.apps-browser .input-url .icon[data-v-1a03c862]{width:20px!important;height:20px!important;margin:4px}.apps-browser .apps-browser-list[data-v-1a03c862]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;align-items:flex-start;padding-top:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{margin-left:12px;margin-bottom:8px;opacity:.5;color:#fff;line-height:24px}.apps-browser .apps-browser-iframe[data-v-1a03c862]{--header-height:40px;width:100%;height:100%;overflow:hidden;border:none;margin-top:calc((var(--header-height) + env(safe-area-inset-top))*-1);padding-top:calc(var(--header-height) + env(safe-area-inset-top))}.transaction-reverted-status .status-wrapper[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.transaction-reverted-status .revert-info[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-reverted-status[data-v-e674478a]{width:100%;padding:10px 16px 16px}.transaction-reverted-status .status-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;letter-spacing:.05em;color:#ffb422}.transaction-reverted-status .status-wrapper[data-v-e674478a]:after,.transaction-reverted-status .status-wrapper[data-v-e674478a]:before{content:"";width:100%;height:1px;background:rgba(255,180,34,.44)}.transaction-reverted-status .status-wrapper .icon[data-v-e674478a]{width:20px;height:20px;margin-right:2px}.transaction-reverted-status .status-wrapper .text-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-inline:3px}.transaction-reverted-status .revert-info[data-v-e674478a]{line-height:19px;margin-top:10px;color:#babac0;text-align:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transaction-details-base[data-v-173f98fe]{display:flex;flex-direction:column}.transaction-details-base .pending-icon[data-v-173f98fe]{width:16px;height:16px}.transaction-details-base .header[data-v-173f98fe]{display:flex;justify-content:center;align-items:center;flex-flow:column;min-height:73px;position:static}@media(min-width:362px)and (max-width:480px){.transaction-details-base .header[data-v-173f98fe]{width:100%}}.transaction-details-base .span-3-columns[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.transaction-details-base .content[data-v-173f98fe]{background-color:#191919}.transaction-details-base .content .transaction-overview[data-v-173f98fe]{padding:16px 12px 8px}.transaction-details-base .content .pool-tokens.reverse[data-v-173f98fe]{flex-direction:column-reverse}.transaction-details-base .content .data-grid[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px 16px}.transaction-details-base .content .explorer[data-v-173f98fe]{height:38px;padding-inline:16px;display:flex;align-items:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{text-decoration:none;color:hsla(0,0%,100%,.75)}.transaction-details-base .content .explorer .link-button svg[data-v-173f98fe]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]:hover{color:#fff;text-decoration:underline}.transaction-details-base .content .explorer .link-button:hover svg[data-v-173f98fe]{color:#fff}.transaction-details-base .details-item[data-v-173f98fe] .label{white-space:nowrap}.transaction-details-base .reason[data-v-173f98fe] .value{word-break:break-all;color:#ffb422}.swap-rates .rate .price[data-v-42b180dd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.swap-rates[data-v-42b180dd]{width:100%}.swap-rates .rate[data-v-42b180dd]{padding-bottom:6px;width:100%;display:inline-flex;justify-content:space-between;align-items:center}.swap-rates .rate .price[data-v-42b180dd]{padding-right:4px}.swap-rates .rate div[data-v-42b180dd]{display:inline-flex;align-items:center}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.swap-route .swap-steps[data-v-17e1d96a]{display:flex;flex-wrap:wrap;gap:4px;padding-top:2px;overflow:hidden}.swap-route .swap-steps .swap-steps-item[data-v-17e1d96a]{position:relative;display:flex;gap:4px;align-items:center;height:24px}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{display:flex;align-items:center;gap:2px;padding:3px 5px;border-radius:20px;color:#fff;background:#282828;white-space:nowrap}.swap-route .arrow[data-v-17e1d96a],.swap-route .line[data-v-17e1d96a]{display:inline-flex;align-items:center;position:relative;margin-inline:1px;min-width:10px;height:100%;opacity:.3}.swap-route .arrow[data-v-17e1d96a]:before,.swap-route .line[data-v-17e1d96a]:before{content:"";position:absolute;top:calc(50% - 1px);width:100%;height:2px;background-color:#fff;transform:scaleY(.8)}.swap-route .arrow[data-v-17e1d96a]{justify-content:end;width:100%;min-width:12px}.swap-route .arrow[data-v-17e1d96a]:after{content:"";display:block;width:6px;height:6px;border-style:solid;border-color:#fff;border-width:2px 2px 0 0;border-radius:1px;transform:rotate(45deg)}.pool-tokens[data-v-6d2914ca]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:16px}.pool-tokens.reversed[data-v-6d2914ca]{flex-direction:column-reverse}.transaction-details .tip-url .copy-text[data-v-9edab714],.transaction-details .tip-url[data-v-9edab714]{width:100%}.transaction-details .tip-url .link-button[data-v-9edab714]{display:block}.transaction-details .row[data-v-9edab714]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.transaction-details .payer-id[data-v-9edab714]{position:relative}.transaction-details .payer-id .dialog-box[data-v-9edab714]{width:30px;height:20px;position:absolute;right:15px;top:-28px}.account-create-modal .message[data-v-0b7c85d9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create-modal .content-wrapper[data-v-0b7c85d9]{padding:0 16px 32px}.account-create-modal .message[data-v-0b7c85d9]{line-height:24px;margin:0 auto 36px}.status-icon.alert[data-v-6ee6fe2e],.status-icon.critical[data-v-6ee6fe2e]{color:#ff4746}.status-icon.not-secure[data-v-6ee6fe2e],.status-icon.warning[data-v-6ee6fe2e]{color:#ffb422}.status-icon.help[data-v-6ee6fe2e],.status-icon.info[data-v-6ee6fe2e]{color:#1161fe}.status-icon.success[data-v-6ee6fe2e]{color:#00d3a1}.icon-boxed{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:4px solid hsla(0,0%,100%,.05);border-radius:50%;background-color:#131313}.icon-boxed .icon{width:48px;height:48px}.default .title[data-v-55c32d28]{margin-bottom:16px}.default .top-icon-wrapper[data-v-55c32d28]{margin-bottom:20px;text-align:center}.default .center-button[data-v-55c32d28]{width:auto;padding:0 24px}.account-create .message[data-v-55406748]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create .content-wrapper[data-v-55406748]{padding:0 16px 32px}.account-create .message[data-v-55406748]{padding-inline:inherit;line-height:24px;margin:0 auto 36px}.import-account-modal[data-v-0764afea]{text-align:center}.import-account-modal .loader[data-v-0764afea]{width:56px}.import-account-modal .scan-button[data-v-0764afea]{color:#fff;display:block;width:32px;height:24px}.import-account-modal .scan-button.disabled[data-v-0764afea]{opacity:.4;pointer-events:none}.account-select-options-item[data-v-527219b2]{--border-width:3px;width:100%;padding:2px 8px}.account-select-options-item .option-wrapper[data-v-527219b2]{display:flex;align-items:center;justify-content:space-between;position:relative;padding:6px 8px;border-radius:10px;width:100%}.account-select-options-item .option-wrapper[data-v-527219b2]:before{top:0;left:0;content:"";position:absolute;width:100%;height:100%;z-index:-1;background-color:var(--bg-color);border:var(--border-width) solid var(--bg-color);box-sizing:border-box;border-radius:10px;transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper[data-v-527219b2]:hover:not(.selected):before{opacity:.8}.account-select-options-item .option-wrapper.selected[data-v-527219b2]{background-color:transparent;border:var(--border-width) solid var(--bg-color);transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper.selected[data-v-527219b2]:before{--border-offset:calc(var(--border-width) - 2px);opacity:.4;border-color:transparent;border-radius:5px;top:var(--border-offset);left:var(--border-offset);width:calc(100% - var(--border-offset)*2);height:calc(100% - var(--border-offset)*2)}.account-select-options-item .option-wrapper .account-info[data-v-527219b2]{min-width:0;width:100%}.account-select-options-item .option-wrapper .token-amount[data-v-527219b2]{text-align:right}.form-select-options-header[data-v-1e8729bf]{text-align:left}.form-select-options-header .title[data-v-1e8729bf]{padding-left:12px;line-height:48px}.form-select-options-header .search-field[data-v-1e8729bf]{margin:0 8px var(--gap)}.claim-success-modal .claimed[data-v-78c5e1d6]{color:#1161fe}.claim-success-modal .top-icon-wrapper[data-v-78c5e1d6]{margin-bottom:20px;text-align:center}.error-msg[data-v-56780574]{color:#ff4746;margin-bottom:30px}span[data-v-56780574]{display:block;font-weight:700}.form-select-options-item .option-wrapper[data-v-583e6b6c]{display:flex;gap:8px;align-items:center;padding-block:4px}.qr-code-reader .heading[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.qr-code-reader .top-icon-wrapper[data-v-1ecdcc39]{margin:0 auto 16px auto;text-align:center;color:#1161fe}.qr-code-reader .camera[data-v-1ecdcc39]{--camera-size:312px;margin:20px auto 0;width:var(--camera-size);height:var(--camera-size);display:flex;justify-content:center;align-items:center;border-radius:10px;background:hsla(0,0%,100%,.05);overflow:hidden}.qr-code-reader .camera .video[data-v-1ecdcc39]{height:var(--camera-size)}@media(min-width:362px)and (max-width:480px){.qr-code-reader .camera .video[data-v-1ecdcc39]{height:unset;width:var(--camera-size)}}.qr-code-reader .camera .video-loader[data-v-1ecdcc39]{display:flex;justify-content:center;align-items:center;position:absolute;z-index:-1}.qr-code-reader .camera .video-loader .spinner[data-v-1ecdcc39]{width:56px;height:56px}.qr-code-reader .heading[data-v-1ecdcc39]{color:#fff}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{margin-top:4px;margin-bottom:20px;line-height:24px;color:hsla(0,0%,100%,.75)}.loader[data-v-5af93660]{position:fixed;z-index:3;top:0;left:0;display:flex;width:100%;height:100%}.loader .container[data-v-5af93660]{width:100%;height:100%;background-color:var(--screen-bg-color);opacity:.9;display:flex;align-items:center;justify-content:center}@media(min-width:481px){.loader .container[data-v-5af93660]{width:360px;height:600px;border-radius:10px;margin:auto}}.loader .container .spinner[data-v-5af93660]{width:72px;height:72px}.asset-selector[data-v-2df1ce3c]{padding-top:env(safe-area-inset-top)}.asset-selector .search-bar[data-v-2df1ce3c]{margin:8px 8px 16px}.asset-selector .title[data-v-2df1ce3c]{margin-left:16px;margin-bottom:0;line-height:48px;text-align:left}.asset-selector .appearing-element[data-v-2df1ce3c]{width:100%;opacity:0;z-index:-1;transition:opacity .25s ease-in-out;padding-bottom:40px}.asset-selector .appearing-element.visible[data-v-2df1ce3c]{opacity:1;z-index:1}.reset-wallet .info .title[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.reset-wallet .info .text[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.reset-wallet .icon-wrapper[data-v-13bf16f9]{margin:8px auto 18px;color:#ff4746}.reset-wallet .info .title[data-v-13bf16f9]{color:#fff;padding-bottom:20px}.reset-wallet .info .text[data-v-13bf16f9]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}span[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84],span[data-v-3ffbff84]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{font-weight:400}span.address[data-v-3ffbff84]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3ffbff84]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3ffbff84],span[data-v-3ffbff84]{word-wrap:break-word}span strong[data-v-3ffbff84]{color:#fff}span.address strong[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{text-align:center;line-height:20px}.help a[data-v-3ffbff84],.msg a[data-v-3ffbff84]{cursor:pointer;text-decoration:none;color:#1161fe}.footer[data-v-3ffbff84]{width:100%!important}.msg .sub-header[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}span[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24],span[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.msg[data-v-2bbbdb24]{font-weight:400}span.address[data-v-2bbbdb24]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-2bbbdb24]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-2bbbdb24],span[data-v-2bbbdb24]{word-wrap:break-word}span strong[data-v-2bbbdb24]{color:#fff}span.address strong[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24]{text-align:left;line-height:20px}.msg .sub-header[data-v-2bbbdb24]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;margin-bottom:20px}.msg .title[data-v-2bbbdb24]{color:#fff}.msg .capitalize[data-v-2bbbdb24]:first-letter{text-transform:capitalize}.consensus-info .content .subtitle[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.consensus-info .content[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;text-align:center;line-height:22px}.consensus-info .content .subtitle[data-v-1660ae4c]{margin-top:-8px}.consensus-info .content .list[data-v-1660ae4c]{text-align:left;padding:16px 24px 8px;margin:0}.payload-form .header[data-v-3d4412a8]{text-align:center;padding:8px 16px 4px}.payload-form .description[data-v-3d4412a8]{margin-top:12px}.payload-form .btn-cancel[data-v-3d4412a8]{max-width:114px}.transfer-send-amount .amount-input[data-v-cdda66bc]{margin-bottom:22px}.transfer-send-amount.without-margin .amount-input[data-v-cdda66bc]{margin-bottom:0}.claim-gift-card .header[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.claim-gift-card .redeem-balance>span[data-v-5805577b],.claim-gift-card .redeemed-amount[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.claim-gift-card .already-redeemed[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.claim-gift-card .header[data-v-5805577b]{text-align:center;margin-bottom:4px}.claim-gift-card .check-circle-icon[data-v-5805577b]{width:40px;height:40px;color:#00d3a1;display:flex;align-self:center;margin:8px auto 4px auto}.claim-gift-card .redeemed-amount[data-v-5805577b]{display:flex;justify-content:center;color:#fff;line-height:24px}.claim-gift-card .redeemed-amount .redeemed-by[data-v-5805577b]{opacity:.75;margin-left:4px}.claim-gift-card .details-item[data-v-5805577b]{display:flex;justify-content:center}.claim-gift-card .redeem-balance[data-v-5805577b]{display:flex;flex-direction:column;justify-items:center;margin:auto}.claim-gift-card .redeem-balance>span[data-v-5805577b]{line-height:24px;display:block;color:#fff;opacity:.5;margin-bottom:4px}.claim-gift-card .redeem-balance .balance-info[data-v-5805577b]{padding:8px 0 16px 0;border-radius:10px;background-image:url(/img/buy-ae.616acc4d.webp)}.claim-gift-card .redeem-balance .balance-info.gray[data-v-5805577b]{filter:grayscale(1)}.claim-gift-card .already-redeemed[data-v-5805577b]{display:block;text-align:center;margin-top:24px;color:#fff}.claim-gift-card .buttons[data-v-5805577b]{width:100%;display:flex;flex-direction:column;gap:16px}.claim-gift-card .buttons .btn-main[data-v-5805577b]{width:100%}.btn-text[data-v-656ac1bf]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;color:#1161fe;display:flex;align-items:center;padding:2px 4px 2px 0;text-transform:uppercase;gap:4px;width:-moz-fit-content;width:fit-content}.btn-text[data-v-656ac1bf]:hover:not([disabled]){border-radius:8px;background:rgba(17,97,254,.15)}.btn-text.has-icon[data-v-656ac1bf]{gap:4px}.btn-text.has-icon .btn-text-icon[data-v-656ac1bf]{flex-shrink:0;width:20px;height:20px;color:inherit}.number-select-input[data-v-725fb95c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.number-select[data-v-725fb95c]{position:relative}.number-select-input[data-v-725fb95c]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;color:hsla(0,0%,100%,.75);background-color:hsla(0,0%,100%,.08);border:2px solid transparent;border-radius:10px;padding:6px 22px 6px 10px;transition:all .12s ease-out;cursor:pointer}.number-select-input[data-v-725fb95c]:hover{color:#fff;background-color:hsla(0,0%,100%,.05);border-color:hsla(0,0%,100%,.15)}.number-select-input[data-v-725fb95c]:focus{font-weight:500;color:#fff;background-color:rgba(0,0,0,.44);border-color:#1161fe}.number-select .chevron-icon[data-v-725fb95c]{top:50%;transform:translateY(-50%);right:8px;width:8px;position:absolute;color:hsla(0,0%,100%,.75);pointer-events:none}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.multisig-vault-create-review[data-v-d3f0db28]{display:flex;flex-direction:column;gap:var(--gap)}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{letter-spacing:normal;color:#ff4746;line-height:22px}.multisig-vault-create-review .creator-error-message span[data-v-d3f0db28]{font-weight:500}.multisig-vault-create-review .loading-icon[data-v-d3f0db28]{margin-inline:auto;width:72px}.multisig-vault-create-review .authorized-signers[data-v-d3f0db28]{display:flex;flex-direction:column;gap:4px}.multisig-vault-create-review .authorized-signers-row[data-v-d3f0db28]{display:flex;gap:4px;align-items:center}.progress-bar[data-v-1dd3e346]{height:12px;border-radius:4px;overflow:hidden;background-color:hsla(0,0%,100%,.1)}.progress-bar .progress[data-v-1dd3e346]{height:100%;background-color:#00d3a1;transition:width .1s}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-vault-creation-progress[data-v-23d2125d]{padding-top:env(safe-area-inset-top)}.multisig-vault-creation-progress .phase-list[data-v-23d2125d]{padding-top:24px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{display:inline-flex;align-items:center;gap:12px;padding:8px 0;opacity:.5}.multisig-vault-creation-progress .phase-list .phase-item.highlighted[data-v-23d2125d]{opacity:1}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-pending-icon[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{width:24px;height:24px}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px;border:2px solid hsla(0,0%,100%,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{color:#00d3a1;background-color:rgba(0,211,161,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-item-caption[data-v-23d2125d]{font-weight:400;color:hsla(0,0%,100%,.5)}.multisig-vault-creation-progress .multisig-account-created[data-v-23d2125d]{margin-top:30px;padding-inline:8px}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{max-width:250px;padding-bottom:16px;color:#fff;line-height:22px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{color:hsla(0,0%,100%,.85);line-height:20px}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-create[data-v-2e647252]{padding-top:env(safe-area-inset-top)}.multisig-vault-create-form .scan-button[data-v-2e647252]{color:#fff;display:block;width:32px;height:24px}.multisig-vault-create-form .signers-add-wrapper[data-v-2e647252]{display:flex;align-items:center;margin:20px 0}.multisig-vault-create-form .signers-add-wrapper .btn-help[data-v-2e647252]{display:flex;margin-left:4px}.multisig-vault-create-form .btn-plain[data-v-2e647252]{display:flex}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]{width:20px!important;margin:-4px -6px -4px 0;transform:rotate(45deg);cursor:pointer;transition:all .15s;color:#babac0}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]:hover{opacity:.8}.multisig-vault-create-form .description[data-v-2e647252],.multisig-vault-create-form .signers-count[data-v-2e647252]{color:hsla(0,0%,100%,.5)}.multisig-vault-create-form .signers-count[data-v-2e647252]{display:flex;align-items:center;padding:6px 0}.multisig-vault-create-form .signers-count .text-emphasis[data-v-2e647252]{color:hsla(0,0%,100%,.75)}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{width:45px;height:40px;margin-right:10px;border-radius:10px;text-align:center;color:#fff;border:2px solid hsla(0,0%,100%,.08);background-color:hsla(0,0%,100%,.08)}.multisig-vault-create-form .signers-count .num-of-signers-selector option[data-v-2e647252]{color:#fff;background-color:#262626}.multisig-vault-create-form .signers-count .text[data-v-2e647252]{margin-left:4px;margin-right:8px}.warning-dapp-browser .icon-wrapper[data-v-1471b94c]{margin:8px auto 18px;color:#ffb422}.warning-dapp-browser .info .title[data-v-1471b94c]{color:#fff;padding-bottom:20px}.warning-dapp-browser .info .text[data-v-1471b94c]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}.confirm .msg[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm .alert[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.confirm[data-v-42a8551a]{text-align:center}.confirm .content[data-v-42a8551a]{padding:8px 24px}.confirm .text-heading-2[data-v-42a8551a]{margin-bottom:16px}.confirm .account-selector[data-v-42a8551a]{margin:0 auto;padding-bottom:8px}.confirm .active-account[data-v-42a8551a]{display:flex;justify-content:center;align-items:space-between;flex-flow:row;margin-bottom:22px}.confirm .alert[data-v-42a8551a]{align-items:center;text-align:center;margin:10px 0;padding:8px 12px;border-radius:4px;color:rgba(255,71,70,.75);line-height:19px}.confirm .msg[data-v-42a8551a]{color:hsla(0,0%,100%,.85);padding:0 18px}.confirm .icon-wrapper[data-v-42a8551a]{margin-bottom:20px}.confirm .icon-wrapper .status-icon[data-v-42a8551a]{margin:8px}.confirm .icon-wrapper .status-icon.refuse[data-v-42a8551a]{color:#ffb422}.browser-action-item[data-v-26ae16da]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:18px 2px 18px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.browser-action-item[data-v-26ae16da]:active,.browser-action-item[data-v-26ae16da]:hover{color:#fff}.browser-action-item[data-v-26ae16da]:active{transform:scale(.99)}.browser-action-item .card-icon[data-v-26ae16da]{margin-right:16px;opacity:.85}.browser-action-item-content[data-v-26ae16da]{display:inline-flex;align-items:center}.browser-action-item-info[data-v-26ae16da]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300;font-size:14px}.network-button .circle[data-v-386368e2]{width:6px;height:6px;border-radius:100%;background-color:#ffb422}.network-button .circle.connected[data-v-386368e2]{background-color:#00d3a1}.network-button .circle.error[data-v-386368e2]{background-color:#ff4746}.apps-browser[data-v-425bf3bf]{opacity:.75}.header .wrapper .title .text[data-v-e2406f5c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.header[data-v-e2406f5c]{z-index:2;height:var(--header-height)}.header .toolbar[data-v-e2406f5c]{--opacity:0;--min-height:0;--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0}.header .wrapper[data-v-e2406f5c]{display:flex;align-items:center;justify-content:space-between;background-color:var(--screen-bg-color);padding:0 8px;width:100%;height:var(--header-height)}@media(min-width:362px)and (max-width:480px){.header .wrapper[data-v-e2406f5c]{display:flex;justify-content:space-between;width:100%}}.header .wrapper .left[data-v-e2406f5c]{display:flex}.header .wrapper .left .home-button.disabled[data-v-e2406f5c]{cursor:default}.header .wrapper .left .home-button:not(.disabled) .home-icon[data-v-e2406f5c]{cursor:pointer}.header .wrapper .left .home-button:not(.disabled):hover svg[data-v-e2406f5c]{color:#0e52d8}.header .wrapper .left .home-button:not(.disabled):active svg[data-v-e2406f5c]{color:#0e52d8;opacity:.9}.header .wrapper .left .home-button .home-icon[data-v-e2406f5c]{width:32px;height:32px;color:#1161fe}.header .wrapper .right[data-v-e2406f5c]{display:flex;justify-content:flex-end;gap:8px}.header .wrapper .title .text[data-v-e2406f5c]{padding:0 4px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.header .wrapper .title[data-v-e2406f5c]:only-child{flex-grow:2;margin-left:8px}.header .wrapper.not-logged-in:not(:only-child) .left[data-v-e2406f5c]{z-index:1}.header .wrapper.not-logged-in:not(:only-child) .title[data-v-e2406f5c]{width:100%;position:absolute}.header .wrapper .home-button+.back[data-v-e2406f5c]{margin-left:22px}.node-connection-status[data-v-7ee50ab2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 10px;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.node-connection-status[data-v-7ee50ab2]:before{content:"";position:absolute;z-index:-1;inset:0;background:#282828;opacity:.8}.node-connection-status.is-error[data-v-7ee50ab2]{color:#ffb422}.text-heading-1{font-weight:400;font-size:19px;line-height:24px}.text-heading-1,.text-heading-2{font-family:IBM Plex Sans,sans-serif}.text-heading-2{font-weight:500;font-size:18px;line-height:20px}.text-heading-3{font-weight:600}.label-text,.text-heading-3{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:24px}.label-text{font-weight:500}.text-description{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.text-address{font-family:IBM Plex Mono;font-weight:500;font-size:11px;line-height:20px}@keyframes pop-in{0%{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}.fade-transition-enter-active,.fade-transition-leave-active{transition:opacity .15s ease-out}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0}.page-transition-enter-active{transition:opacity .3s ease-out}.page-transition-enter-from,.page-transition-leave-to{opacity:0}.fade-between-enter-active,.fade-between-leave-active{transition:all .4s}.fade-between-enter-from,.fade-between-leave-to{opacity:0;position:absolute;top:0;left:0;width:100%}*{box-sizing:border-box;scrollbar-width:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-overflow-style:none;--icon-size-xs:12px;--icon-size-sm:16px;--icon-size-rg:18px;--icon-size-md:20px;--icon-size-lg:24px;--icon-size-xl:28px;--icon-size-xxl:44px}::-webkit-scrollbar{display:none}html.is-extension .ion-page,html.is-extension .tabs-inner,html.is-extension ion-router-outlet,html.is-extension ion-tabs{contain:layout style!important}html.is-extension body{position:unset}html.is-extension .app{width:360px;height:600px}body.scanner-active{background-color:transparent;--background:transparent;--ion-background-color:transparent;--screen-bg-color:transparent}body.scanner-active .app .app-wrapper{--screen-bg-color:transparent;background:transparent}body.scanner-active .ionic-wrapper,body.scanner-active.color-bg-app{background-color:transparent}body.scanner-active #app{background:transparent;position:absolute;z-index:2;width:100%}body.scanner-active .account-ion-content,body.scanner-active .ion-content-bg,body.scanner-active .ion-content-bg--lighter,body.scanner-active ion-content{--background:transparent;background:transparent}.ion-content-bg{background-color:#141414}.ion-content-bg--lighter{background-color:#191919}ion-content{--offset-bottom:auto!important;--overflow:hidden;overflow:auto}ion-content::-webkit-scrollbar{display:none}ion-content::part(scroll){--padding-end:0;--padding-start:0;--padding-top:0}#app,body,html{height:var(--height)}#app,body{--ion-text-color:$color-white;margin:0;background-color:#000}#app.color-bg-app,body.color-bg-app{background-color:#141414}@media(min-width:481px){#app,body{display:flex;flex-direction:column;justify-content:center;align-items:center}}@-moz-document url-prefix(){html{scrollbar-width:none}}h1,h2,h3,h4,h5,h6{margin:0}a{color:#1161fe;text-decoration:none;cursor:pointer}p{margin:0;word-break:break-word}p:not(:last-of-type){margin-bottom:8px}ol,ul{margin:0}button{padding:0;background:none;border:none;color:#babac0}button:focus{outline:none}hr{margin:20px calc(var(--screen-padding-x)*-1);border:none;border-bottom:1px solid hsla(0,0%,100%,.06)}.error-msg{color:#ff4746;margin-top:22px;font-size:.88rem}.tip-note-preview{border-radius:5px;padding:10px;font-size:14px;border:1px dashed #fff;margin-top:15px;margin-bottom:30px;text-align:left;word-break:break-word}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-address{display:inline-block;letter-spacing:.13em;color:hsla(0,0%,100%,.75);word-break:break-word;transition:.1s}a .text-address:hover{color:#fff}.text-heading-1{margin-bottom:18px;color:#fff;text-align:center}.text-heading-2{margin-bottom:.45em;color:#fff}.text-heading-3{color:#fff}.text-muted{color:hsla(0,0%,100%,.75)}.text-description{color:hsla(0,0%,100%,.85);white-space:pre-line}.text-description a{color:#1161fe;text-decoration:none}.text-description a:hover{text-decoration:underline}.text-description strong{font-weight:500;color:#fff}.label-text{color:#787878}.relative{position:relative}.color-warning{color:#ffb422}.styled-scrollbar,.styled-scrollbar ion-content{scrollbar-color:hsla(0,0%,100%,.15) transparent;scrollbar-width:thin;-ms-overflow-style:auto}.styled-scrollbar ion-content::-webkit-scrollbar,.styled-scrollbar::-webkit-scrollbar{display:block;width:6px;height:0}.styled-scrollbar ion-content::-webkit-scrollbar-thumb,.styled-scrollbar::-webkit-scrollbar-thumb{display:block;background-color:hsla(0,0%,100%,.15);border-radius:4px}.app .app-wrapper[data-v-353b17cc]{font-weight:400;font-size:16px;line-height:16px}.app[data-v-353b17cc]{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.app .app-wrapper[data-v-353b17cc]{--screen-padding-x:16px;--screen-border-radius:0;--screen-bg-color:#141414;--header-height:0;--gap:12px;position:relative;margin:0 auto;width:100%;height:100%;border-radius:var(--screen-border-radius);color:#fff;background-color:var(--screen-bg-color);font-family:IBM Plex Sans,sans-serif;transition:background-color .2s}.app .app-wrapper .camera-close-button[data-v-353b17cc]{position:absolute;top:calc(20px + env(safe-area-inset-top));right:20px;width:28px;height:28px;z-index:10}.app .app-wrapper .app-inner[data-v-353b17cc]{width:100%;height:100%;overflow-y:auto}.app .app-wrapper .main[data-v-353b17cc]{margin-top:calc(var(--header-height) + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);background-color:var(--screen-bg-color)}.app .app-wrapper .main.ios[data-v-353b17cc]{top:10px}.app .app-wrapper .connection-status[data-v-353b17cc]{position:fixed;z-index:2;bottom:0;padding-bottom:env(safe-area-inset-bottom);left:0;width:100%}.app .app-wrapper.is-desktop-web[data-v-353b17cc],.app .app-wrapper.is-extension[data-v-353b17cc]{width:360px;height:600px}.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #232323;transform:translate(0)}@media(min-width:362px)and (max-width:480px){.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:0;width:100%;height:100%;overflow:visible;box-shadow:none}}.app .app-wrapper.show-header[data-v-353b17cc]{--header-height:40px}body>noscript>p.fullscreen-message,body>p.fullscreen-message{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px;margin:0 auto;padding-top:30vh;padding-left:20px;padding-right:20px;max-width:400px;text-align:center}body>noscript>p.fullscreen-message.white,body>p.fullscreen-message.white{color:#fff} \ No newline at end of file diff --git a/css/popup.9a0e1567.css b/css/popup.9a0e1567.css deleted file mode 100644 index bb682df7b..000000000 --- a/css/popup.9a0e1567.css +++ /dev/null @@ -1 +0,0 @@ -.link-button[data-v-3c49ebb4]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;padding:0;display:inline-flex;gap:4px;align-items:center}.link-button.default[data-v-3c49ebb4]{color:#00ff9d}.link-button.simple[data-v-3c49ebb4]{gap:0}.link-button .link-icon[data-v-3c49ebb4]{display:flex;align-items:center;justify-content:center}.link-button .link-icon[data-v-3c49ebb4] svg{width:24px;height:24px;opacity:.44;color:#fff}.link-button[data-v-3c49ebb4]:hover{color:#00dc87}.link-button:hover .link-icon svg[data-v-3c49ebb4]{opacity:1;color:#00ff9d}.link-button[data-v-3c49ebb4]:active{opacity:.7}.link-button:active .link-icon svg[data-v-3c49ebb4]{opacity:.7;color:#00ff9d}.link-button.muted[data-v-3c49ebb4]{text-decoration:none;color:hsla(0,0%,100%,.75)}.link-button.muted .link-icon svg[data-v-3c49ebb4]{opacity:1;color:hsla(0,0%,100%,.75)}.link-button.muted:hover .link-icon svg[data-v-3c49ebb4],.link-button.muted[data-v-3c49ebb4]:hover{color:#fff}.link-button.underlined[data-v-3c49ebb4]:hover{text-decoration:underline}.btn-base[data-v-70694c86]{--bg-color:#1161fe;--outline-size:0;--outline-opacity:0;--outline-color:transparent;position:relative;z-index:1;background-color:var(--bg-color);color:#fff;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.btn-base[data-v-70694c86]:after,.btn-base[data-v-70694c86]:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;transition:all .15s;will-change:opacity,box-shadow,background-color}.btn-base[data-v-70694c86]:before{background-color:var(--screen-bg-color);opacity:0}.btn-base[data-v-70694c86]:after{opacity:var(--outline-opacity);box-shadow:inset 0 0 0 var(--outline-size) var(--outline-color)}.btn-base[data-v-70694c86]:hover:before{opacity:.2}.btn-base[data-v-70694c86]:active:before{opacity:.3}.btn-base.disabled[data-v-70694c86]{pointer-events:none;color:hsla(0,0%,100%,.4)}.btn-base.disabled[data-v-70694c86]:before{opacity:.6}.btn-base.hollow[data-v-70694c86]:not(:hover){background-color:transparent}.btn-base.outlined[data-v-70694c86]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.outlined[data-v-70694c86]:hover{--outline-opacity:0.3}.btn-base.outlined[data-v-70694c86]:active{--outline-size:2px}.btn-base.selected[data-v-70694c86]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.selected[data-v-70694c86]:before{opacity:.6}.btn-base.variant-secondary[data-v-70694c86]{--bg-color:#ff2b5e}.btn-base.variant-muted[data-v-70694c86]{--bg-color:#373737}.btn-base.variant-danger[data-v-70694c86]{--bg-color:#ff4746}.btn-base.variant-purple[data-v-70694c86]{--bg-color:#8f00ff}.btn-base.variant-dark[data-v-70694c86]{--bg-color:#262626}.panel-item[data-v-cbfcae44]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;display:flex;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:8px 2px 8px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.panel-item[data-v-cbfcae44]:active,.panel-item[data-v-cbfcae44]:hover{color:#fff}.panel-item:active .panel-item-right .icon-indicator[data-v-cbfcae44],.panel-item:hover .panel-item-right .icon-indicator[data-v-cbfcae44]{opacity:.75}.panel-item[data-v-cbfcae44]:active{transform:scale(.99)}.panel-item .panel-item-left[data-v-cbfcae44],.panel-item .panel-item-right[data-v-cbfcae44]{display:inline-flex;align-items:center}.panel-item .panel-item-left[data-v-cbfcae44]{overflow-x:hidden}.panel-item .panel-item-left[data-v-cbfcae44] .icon{width:24px;height:24px;margin-right:8px}.panel-item .panel-item-right[data-v-cbfcae44]{display:inline-flex;align-items:center}.panel-item .panel-item-right .panel-item-info[data-v-cbfcae44]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300}.panel-item .panel-item-right .icon-indicator[data-v-cbfcae44]{margin-right:4px;width:26px;height:26px;opacity:.5;transition:all .15s}.about .table .table-item .name[data-v-3ff4c836]{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:22px}.about .table .table-item .value[data-v-3ff4c836]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.about[data-v-3ff4c836]{--screen-padding-x:8px;padding-top:16px;padding-inline:var(--screen-padding-x)}.about .table[data-v-3ff4c836]{border-radius:10px;overflow:hidden}.about .table .table-item[data-v-3ff4c836]{width:100%;height:48px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:4px 16px;background:hsla(0,0%,100%,.08)}.about .table .table-item[data-v-3ff4c836]:nth-child(2n){background-color:hsla(0,0%,100%,.06)}.about .table .table-item .name[data-v-3ff4c836]{color:hsla(0,0%,100%,.75);font-weight:400}.about .table .table-item .value[data-v-3ff4c836]{display:inline-flex;align-items:center;color:#fff}.about .table .table-item .value .icon[data-v-3ff4c836]{width:24px;height:24px;opacity:.5;margin-left:4px;margin-right:-4px}.about .table .table-item.link[data-v-3ff4c836]{text-decoration:none;cursor:pointer;transition:all .15s}.about .table .table-item.link[data-v-3ff4c836]:hover{background:hsla(0,0%,100%,.05)}.about .table .table-item.link:hover .name[data-v-3ff4c836]{color:#fff}.about .table .table-item.link:hover .value[data-v-3ff4c836]{text-decoration:underline}.about .table .table-item.link:hover .value .icon[data-v-3ff4c836]{opacity:1}.about .table .table-item.link[data-v-3ff4c836]:active{background:hsla(0,0%,100%,.04)}.about .additional-links[data-v-3ff4c836]{margin-top:24px}.protocol-icon[data-v-5a76876d]{--icon-size:20px;display:inline-block;width:var(--icon-size);height:var(--icon-size)}.protocol-icon.sm[data-v-5a76876d]{--icon-size:12px}.icon-wrapper[data-v-0b415b92]{--wrapper-size:36px;--icon-size:24px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.icon-wrapper .icon-wrapper-icon[data-v-0b415b92]{width:var(--icon-size);height:var(--icon-size);color:inherit}.icon-wrapper .icon-wrapper-fill[data-v-0b415b92]{width:100%;height:100%}.icon-wrapper.is-boxed[data-v-0b415b92]{width:var(--wrapper-size);height:var(--wrapper-size);background-color:hsla(0,0%,100%,.15);border-radius:14px}.icon-wrapper.icon-size-lg[data-v-0b415b92]{--icon-size:28px}.btn-box.is-big .text[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.btn-box[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.btn-box .subtitle[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.btn-box[data-v-aded6086]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;min-height:58px;padding:4px 6px;border-radius:10px}.btn-box:hover .icon[data-v-aded6086]{opacity:1}.btn-box .icon[data-v-aded6086]{color:#fff;opacity:.75}.btn-box .subtitle[data-v-aded6086]{opacity:.7}.btn-box.disabled .icon[data-v-aded6086]{opacity:.5}.btn-box.is-big[data-v-aded6086]{min-height:116px;padding:10px}.btn-box.is-big .icon[data-v-aded6086]{margin-bottom:8px}.main-balance .token-integer{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:30px;line-height:32px}.main-balance .token-fractional,.main-balance .token-symbol{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:24px;line-height:36px}.main-balance{--font-size-token:30px;--font-size-symbol:24px;display:flex;align-items:baseline}.main-balance .token-symbol{font-size:var(--font-size-symbol);color:#fff;margin-right:4px;text-transform:uppercase}.main-balance .token-integer{font-size:var(--font-size-token);color:#fff}.main-balance .token-fractional{font-size:var(--font-size-symbol);color:hsla(0,0%,100%,.75);opacity:.75}.main-balance.lg{--font-size-token:28px;--font-size-symbol:22px}.main-balance.md{--font-size-token:26px;--font-size-symbol:20px}.main-balance.sm{--font-size-token:22px;--font-size-symbol:18px}.main-balance .token-fractional,.main-balance .token-integer,.main-balance .token-symbol{line-height:32px}.message-offline .text[data-v-129d996a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.message-offline[data-v-129d996a]{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.message-offline.horizontal[data-v-129d996a]{flex-direction:row;gap:6px;text-align:left}.message-offline.horizontal .offline-icon[data-v-129d996a]{margin:0;width:26px}.message-offline.colors-disabled .offline-icon[data-v-129d996a]{color:#fff}.message-offline .offline-icon[data-v-129d996a]{width:40px;margin-bottom:2px;color:#ffb422}.message-offline .text[data-v-129d996a]{opacity:.75;margin:0 auto;max-width:240px}.balance-info .display-value[data-v-a7dcfd3c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.balance-info[data-v-a7dcfd3c]{display:flex;flex-direction:column;align-items:center;padding-top:8px}.balance-info .display-value[data-v-a7dcfd3c]{color:#fff;line-height:18px;margin-top:4px;opacity:.75}.avatar[data-v-85a6815a]{width:40px;height:40px;border-radius:50%;overflow:hidden;display:inline-block;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;border:1px solid transparent}.avatar.sm[data-v-85a6815a]{height:24px;width:24px}.avatar.xs[data-v-85a6815a]{height:18px;width:18px}.avatar.md[data-v-85a6815a]{height:32px;width:32px}.avatar.rg[data-v-85a6815a]{height:40px;width:40px;border-width:2px}.avatar.lg[data-v-85a6815a]{height:48px;width:48px;border-width:2px}.avatar.xl[data-v-85a6815a]{height:56px;width:56px;border-width:2px}.avatar.borderless[data-v-85a6815a]{border:none}.copy-text .copied[data-v-4027e3b3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.copy-text[data-v-4027e3b3]{position:relative;display:inline-block;cursor:pointer;color:inherit}.copy-text .copy-icon-copied[data-v-4027e3b3],.copy-text .copy-icon-indicator[data-v-4027e3b3]{flex-shrink:0;width:22px;height:22px}.copy-text .copy-icon-copied[data-v-4027e3b3]{margin-left:2px}.copy-text .copied[data-v-4027e3b3]{background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(90deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(180deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(270deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0);background-size:1px 100%,100% 1px,1px 100%,100% 1px;background-position:0 0,0 0,100% 0,0 100%;background-repeat:no-repeat;position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background-color:#191919;text-transform:uppercase}.copy-text.has-icon[data-v-4027e3b3]{padding-right:24px}.copy-text.has-icon .copy-icon-indicator[data-v-4027e3b3]{position:absolute;top:50%;right:0;transform:translateY(-50%)}.copy-text.disabled[data-v-4027e3b3]{cursor:inherit}.truncate[data-v-70951260]{display:flex;width:100%;min-width:0;padding-right:5px}.truncate.right[data-v-70951260]{justify-content:flex-end}.truncate .container[data-v-70951260]{position:relative;overflow:hidden;white-space:nowrap}.truncate .container.fixed[data-v-70951260]{text-overflow:ellipsis}.truncate .container .inner[data-v-70951260]{position:relative;display:inline-block;min-width:-moz-fit-content;min-width:fit-content}.truncate .container.scrollable[data-v-70951260]{padding-right:5px;border-radius:2px;margin-left:-2px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent);mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent)}.truncate .container.scrollable .inner[data-v-70951260]{position:relative;display:inline-block;animation-name:animationTruncate-70951260;animation-duration:var(--animationDuration);animation-delay:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;padding:0 2px}.truncate .domain[data-v-70951260]{word-break:keep-all}@keyframes animationTruncate-70951260{0%{transform:translateX(0)}50%{transform:translateX(var(--animationTranslate))}to{transform:translateX(0)}}.address-truncated-chunks .dots[data-v-4b03fcb1]{font-family:IBM Plex Mono;font-weight:400;font-size:16px;line-height:20px}.address-truncated-chunks[data-v-4b03fcb1]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.address-truncated[data-v-4b03fcb1]{display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.address-truncated .protocol-icon[data-v-4b03fcb1]{margin-right:4px}.address-truncated-chunks[data-v-4b03fcb1]{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;letter-spacing:.07em}.address-truncated-chunks .dots[data-v-4b03fcb1]{letter-spacing:-.25em;text-align:center;margin-left:-1px;margin-right:3px}.address-truncated-chunks .address-chunk[data-v-4b03fcb1],.address-truncated-chunks .dots[data-v-4b03fcb1]{white-space:nowrap}.address-truncated .external-link[data-v-4b03fcb1]{margin-top:-1px;flex-shrink:0;color:inherit}.address-truncated .external-link .external-link-icon[data-v-4b03fcb1]{width:22px;height:22px}.account-info .account-details .account-name-truncated[data-v-54009fff],.account-info .account-details .account-name[data-v-54009fff]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-info .account-details.list-name .account-name-truncated[data-v-54009fff],.account-info .account-details.list-name .account-name[data-v-54009fff]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:15px;line-height:24px}.account-info[data-v-54009fff]{display:flex;align-items:center;justify-content:flex-start;text-align:left;color:#fff}.account-info .avatar[data-v-54009fff]{margin-right:8px;background-color:#000}.account-info .account-details[data-v-54009fff]{max-width:250px;font-weight:500}.account-info .account-details .account-name-truncated[data-v-54009fff],.account-info .account-details .account-name[data-v-54009fff]{margin:4px 0}.account-info .account-details.list-name[data-v-54009fff]{width:100%;min-width:0}.account-info .account-details.list-name .account-name-truncated[data-v-54009fff],.account-info .account-details.list-name .account-name[data-v-54009fff]{margin:0}.account-info .account-details .ae-address[data-v-54009fff]{color:hsla(0,0%,100%,.85);opacity:.85;-webkit-user-select:none;-moz-user-select:none;user-select:none}.account-info .account-details .ae-address .icon[data-v-54009fff]{width:22px;height:22px;margin-left:2px}.account-info .account-address[data-v-54009fff]{display:flex;align-items:center;justify-content:flex-start}.account-info .account-address .protocol-icon[data-v-54009fff]{margin-right:6px}.account-info.can-copy-address .ae-address[data-v-54009fff]:hover{opacity:1}.badge-inner[data-v-f4a4a6c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.badge[data-v-f4a4a6c2]{position:relative;display:inline-block}.badge-inner[data-v-f4a4a6c2]{color:#fff;position:absolute;z-index:1;right:-2px;top:0;min-width:14px;height:14px;background:#ff2b5e;border-radius:7px;text-align:center;line-height:14px;padding:0 3px}.btn-icon{--size:24px;--icon-opacity:0.75;--icon-opacity-hover:1;--icon-color-hover:#fff;justify-content:center;align-items:center;flex-flow:row;padding:4px;background:transparent;border:none;border-radius:50%;outline:none;cursor:pointer}.btn-icon,.btn-icon .badge{display:flex}.btn-icon .icon{color:#fff;width:var(--size);height:var(--size);opacity:var(--icon-opacity);transition:all .15s}.btn-icon:hover{transition-duration:.1s}.btn-icon:hover .icon{opacity:var(--icon-opacity-hover);color:var(--icon-color-hover)}.btn-icon:active{transform:scale(.92)}.btn-icon:active .icon{opacity:1}.btn-icon.dimmed{--icon-opacity:0.5;--icon-opacity-hover:0.75}.btn-icon.size-sm{--size:20px}.btn-icon.icon-variant-danger{--icon-color-hover:#ff4746}.button-plain[data-v-ea8fa866]{padding:0;border:none;outline:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.button-plain.avatar[data-v-ea8fa866]{width:24px;height:24px}.button-plain.extend[data-v-ea8fa866]{width:100%}.button-plain[data-v-ea8fa866]:disabled{opacity:.7}.btn-help[data-v-2658afd8]{display:inline-flex}.btn-help svg[data-v-2658afd8]{width:24px;height:24px;opacity:.5;color:#fff}.btn-help.small svg[data-v-2658afd8]{width:20px;height:20px}.btn-help:hover svg[data-v-2658afd8]{opacity:1}.input-field .input-wrapper .input[data-v-11474a89]::-moz-placeholder{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .input[data-v-11474a89],.input-field .input-wrapper .input[data-v-11474a89]::placeholder,.input-field .label-after[data-v-11474a89]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .under[data-v-11474a89],.input-field .message[data-v-11474a89],.input-field.thin .input[data-v-11474a89]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.input-field.code .input[data-v-11474a89]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.input-field[data-v-11474a89]{--color-border:transparent;--color-bg:hsla(0,0%,100%,.08);--color-input-text:#babac0;--color-placeholder:hsla(0,0%,100%,.75);--color-message:hsla(0,0%,100%,.75);text-align:left}.input-field[data-v-11474a89]:focus-within,.input-field[data-v-11474a89]:hover{--color-input-text:#fff}.input-field[data-v-11474a89]:hover{--color-border:hsla(0,0%,100%,.15);--color-bg:hsla(0,0%,100%,.05)}.input-field[data-v-11474a89]:focus-within{--color-border:#1161fe;--color-bg:rgba(0,0,0,.44);--color-placeholder:#fff}.input-field .label[data-v-11474a89]{display:flex;align-items:center;margin-top:16px}.input-field .label-text[data-v-11474a89]{margin:4px 0;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .label .btn-help[data-v-11474a89]{margin-left:10px}.input-field .label-after[data-v-11474a89]{margin-left:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.input-field .input-wrapper[data-v-11474a89]{display:block;padding:8px 12px;background-color:var(--color-bg);border:none;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--color-border);transition:.1s ease-in-out;cursor:text}.input-field .input-wrapper .main-inner[data-v-11474a89]{display:flex;align-items:center;width:100%}.input-field .input-wrapper .main-inner[data-v-11474a89] .icon{width:var(--size,24px);height:var(--size,24px);flex-shrink:0}.input-field .input-wrapper .input[data-v-11474a89]{display:block;width:100%;padding:0;outline:none;border:none;background:transparent;box-shadow:none;color:var(--color-input-text);transition:.1s ease-in-out}.input-field .input-wrapper .input[data-v-11474a89]::-moz-placeholder{color:var(--color-placeholder);-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[data-v-11474a89]::placeholder{color:var(--color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[type=number][data-v-11474a89]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.input-field .input-wrapper .input[type=number][data-v-11474a89]::-webkit-inner-spin-button,.input-field .input-wrapper .input[type=number][data-v-11474a89]::-webkit-outer-spin-button{-webkit-appearance:none}.input-field .input-wrapper .under[data-v-11474a89]{color:hsla(0,0%,100%,.5)}.input-field .message[data-v-11474a89]{line-height:20px;display:flex;align-items:center;margin-top:4px;text-align:left;color:var(--color-message)}.input-field .message-help[data-v-11474a89]{display:block;width:24px;height:24px;padding-left:5px;color:rgba(0,0,0,.75)}.input-field.error[data-v-11474a89]{--color-border:#ff4746;--color-message:#ff4746}.input-field.warning[data-v-11474a89]{--color-border:#ffb422;--color-message:#ffb422}.input-field.readonly[data-v-11474a89]{--color-border:transparent}.input-field.readonly .input-wrapper .input[data-v-11474a89]{opacity:.5}.input-search .erase-icon[data-v-b52ecd9a]{cursor:pointer}.input-search .erase-icon[data-v-b52ecd9a]:hover{opacity:.8}.filters .filter[data-v-78158338]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.filters[data-v-78158338]{height:36px;display:flex;gap:8px;padding-bottom:12px;background:var(--screen-bg-color);padding-inline:var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);z-index:2}.filters .filter[data-v-78158338]{display:flex;align-items:center;padding:2px 8px;max-height:24px;gap:2px;transition:all .08s ease-out;border-radius:12px;color:hsla(0,0%,100%,.5)}.filters .filter svg[data-v-78158338]{width:14px;height:14px;color:hsla(0,0%,100%,.3)}.filters .filter svg.rotate[data-v-78158338]{transform:rotate(180deg)}.filters .filter.active[data-v-78158338],.filters .filter[data-v-78158338]:hover{color:#fff;background:hsla(0,0%,100%,.1)}.filters .filter.active svg[data-v-78158338],.filters .filter:hover svg[data-v-78158338]{color:hsla(0,0%,100%,.5)}.filters .filter[data-v-78158338]:hover:not(.active){opacity:.75}.transaction-filter[data-v-010c99c5]{max-height:20px;overflow:hidden;transition:.15s}.transaction-filter .input-search[data-v-010c99c5]{padding-top:8px}.transaction-filter .filter-wrapper[data-v-010c99c5]{display:flex;flex-direction:column;gap:14px}.transaction-filter .filters[data-v-010c99c5]{padding-bottom:0;height:auto}.transaction-filter.without-search[data-v-010c99c5]{padding-top:0}.account-details .account-info-wrapper[data-v-5df121b1] .account-info .title{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.account-details[data-v-5df121b1]{--account-info-height:120px;--screen-padding-x:12px;--screen-bg-color:#191919;--header-height:64px;position:relative;top:env(safe-area-inset-top);background-color:#191919;border-radius:10px;min-height:100%;height:100%;font-weight:500;color:#fff;box-shadow:0 0 0 1px #232323,0 0 50px rgba(0,0,0,.6)}@media(min-width:362px)and (max-width:480px){.account-details[data-v-5df121b1]{min-height:100vh}}.account-details .account-info-wrapper[data-v-5df121b1]{z-index:2;display:flex;justify-content:space-between;padding:8px 6px 6px;background-color:var(--screen-bg-color);height:var(--header-height)}.account-details .account-info-wrapper .button-plain[data-v-5df121b1]{width:24px;height:24px;position:absolute;right:7px;top:7px;color:#fff}.account-details .account-info-wrapper .button-plain svg[data-v-5df121b1]{width:24px}.account-details .account-info-wrapper[data-v-5df121b1] .account-info .title{justify-content:flex-start;word-break:normal}.account-details .buttons[data-v-5df121b1]{display:flex;justify-content:space-between;gap:var(--gap);width:100%;margin-top:20px;padding-inline:var(--screen-padding-x)}.account-details .header[data-v-5df121b1]{position:sticky;z-index:2;top:calc(env(safe-area-inset-top) + var(--header-height));padding:var(--gap) var(--screen-padding-x);background-color:var(--screen-bg-color)}.account-details .tabs-content[data-v-5df121b1]{position:relative;padding-inline:var(--screen-padding-x)}.account-details .close-button[data-v-5df121b1]{position:absolute;top:4px;right:8px}.btn-pill[data-v-76bf0744]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 10px;gap:4px;border-radius:20px;background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.5)}.btn-pill.dense[data-v-76bf0744]{padding-block:0}.btn-pill.avatar[data-v-76bf0744]{padding:4px;background-color:transparent}.btn-pill.router-link-exact-active[data-v-76bf0744]{background-color:hsla(0,0%,100%,.15);color:#fff}.btn-pill[data-v-76bf0744]:not(.static){color:hsla(0,0%,100%,.75)}.btn-pill[data-v-76bf0744]:not(.static):hover{color:#fff}.btn-pill[data-v-76bf0744]:not(.static):active{color:hsla(0,0%,100%,.75)}.tab[data-v-7f81e821]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;flex:1 1 0;padding:4px 10px;border-radius:7px;color:hsla(0,0%,100%,.75);transition:all .1s}.tab[data-v-7f81e821]:hover{color:#fff}.tab.router-link-active.not-exact[data-v-7f81e821]{background-color:hsla(0,0%,100%,.15);color:#fff}.tab.router-link-active.exact.active[data-v-7f81e821]{background-color:transparent;color:#fff}.tab.active[data-v-7f81e821],.tab.router-link-exact-active[data-v-7f81e821]{background-color:hsla(0,0%,100%,.15);color:#fff;font-weight:600}.tabs[data-v-b4464f30]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;padding:4px;border-radius:10px;background-color:#000}.account-details-navigation .sub-tabs[data-v-152ad2b6]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:10px;gap:var(--gap);padding-top:2px;padding-bottom:10px;background-color:var(--screen-bg-color)}.token-amount.large[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.token-amount.large .fiat[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.token-amount.large .text[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.token-amount[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.token-amount .fiat[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.token-amount .label[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.token-amount.small .fiat[data-v-d4094518]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.token-amount[data-v-d4094518]{color:#fff}.token-amount .label[data-v-d4094518]{color:hsla(0,0%,100%,.5);display:block}.token-amount .amount[data-v-d4094518]{font-size:var(--font-size);line-height:20px;white-space:nowrap}.token-amount .symbol[data-v-d4094518]{color:hsla(0,0%,100%,.75)}.token-amount .fiat[data-v-d4094518]{margin-left:8px;color:hsla(0,0%,100%,.75)}.token-amount .fiat.fiat-below[data-v-d4094518]{display:block;margin-left:0;padding-top:4px;white-space:nowrap}.token-amount.has-label[data-v-d4094518]{display:inline-flex;align-items:flex-start;justify-content:space-between;width:100%}.token-amount.large .symbol[data-v-d4094518]{font:inherit}.tokens.vertical .symbols[data-v-d9e1c29c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.tokens[data-v-d9e1c29c]{font-weight:600}.tokens .symbol[data-v-d9e1c29c],.tokens[data-v-d9e1c29c]{font-family:IBM Plex Sans,sans-serif;font-size:16px;line-height:16px}.tokens .symbol[data-v-d9e1c29c]{font-weight:400}.tokens[data-v-d9e1c29c]{--icon-size:16px;color:hsla(0,0%,100%,.75);letter-spacing:-2%}.tokens.bright[data-v-d9e1c29c]{color:#fff}.tokens .icon[data-v-d9e1c29c],.tokens .symbols[data-v-d9e1c29c],.tokens[data-v-d9e1c29c]{display:inline-flex;align-items:center;align-self:center}.tokens .icon[data-v-d9e1c29c]{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:-moz-max-content;width:max-content}.tokens .icon .icon-image[data-v-d9e1c29c]{width:var(--icon-size);height:var(--icon-size);border-radius:calc(var(--icon-size)/2);vertical-align:middle;margin-right:4px}.tokens .icon .icon-image.with-border[data-v-d9e1c29c]{border:.25px solid hsla(0,0%,100%,.75)}.tokens .symbol[data-v-d9e1c29c]{vertical-align:middle;white-space:nowrap;line-height:20px;letter-spacing:-.02em}.tokens .separator[data-v-d9e1c29c]{margin:0 1px;vertical-align:middle}.tokens.md[data-v-d9e1c29c]{--icon-size:18px}.tokens.lg[data-v-d9e1c29c]{--icon-size:24px}.tokens.xl[data-v-d9e1c29c]{--icon-size:30px}.tokens.vertical[data-v-d9e1c29c]{flex-direction:column}.tokens.vertical .symbols .separator[data-v-d9e1c29c]{color:hsla(0,0%,100%,.75)}.tokens.vertical .icon[data-v-d9e1c29c]{margin-bottom:8px}.tokens.vertical .icon .icon-image[data-v-d9e1c29c]{width:44px;height:44px;margin:0;border-radius:22px}.list-item-wrapper[data-v-22701c0f]{display:block;padding:10px 12px;color:unset;text-decoration:unset;text-align:left;inline-size:-webkit-fill-available;transition:background-color .12s ease-in-out}.list-item-wrapper[data-v-22701c0f]:hover{background-color:hsla(0,0%,7%,.5)}@media(min-width:362px)and (max-width:480px){.list-item-wrapper[data-v-22701c0f]:hover{background-color:transparent}}.list-item-wrapper[data-v-22701c0f]:active{opacity:.5}.list-item-wrapper.selected[data-v-22701c0f]{color:#fff;background-color:rgba(17,97,254,.2)}.tokens-list-item .price[data-v-7d458446]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.tokens-list-item .row[data-v-7d458446]{display:flex;align-items:center;justify-content:space-between}.tokens-list-item .row.bottom[data-v-7d458446]{margin-top:4px}.tokens-list-item .price[data-v-7d458446]{color:hsla(0,0%,100%,.75);letter-spacing:-.02em}.multisig-token-list-wrapper[data-v-4f9b9837]{position:relative;padding-top:4px}.transaction-token-rows .token-row .token-name[data-v-3a515ffa]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.transaction-token-rows[data-v-3a515ffa]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;width:100%;line-height:20px}.transaction-token-rows .token-row[data-v-3a515ffa]{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:var(--font-size)}.transaction-token-rows .token-row .amount[data-v-3a515ffa]{color:#fff;font-weight:500;white-space:nowrap}.transaction-token-rows .token-row.received .amount[data-v-3a515ffa]{color:#00d3a1}.transaction-token-rows .token-row .tokens[data-v-3a515ffa]{color:#fff}.transaction-token-rows .token-row .token-name[data-v-3a515ffa]{letter-spacing:-2%}.transaction-label .secondary[data-v-148bf52a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-label .label[data-v-148bf52a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-label[data-v-148bf52a]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;width:100%;overflow:hidden;flex:1 1 50%;white-space:nowrap;text-overflow:ellipsis}.transaction-label .label[data-v-148bf52a]{color:#fff}.transaction-label .label .type[data-v-148bf52a]{display:flex}.transaction-label .label .error-type[data-v-148bf52a]{text-transform:lowercase}.transaction-label .secondary[data-v-148bf52a]{color:hsla(0,0%,100%,.75)}.transaction-label .icon[data-v-148bf52a]{min-width:16px;height:16px;color:#fff;margin-left:1px;margin-right:2px}.transaction-label .error[data-v-148bf52a]{display:flex;color:#ffb422}.transaction-label .error .icon[data-v-148bf52a]{color:#ffb422}.transaction-label .label[data-v-148bf52a],.transaction-label .owner[data-v-148bf52a]{width:100%;display:flex;gap:4px}.transaction-label .owner[data-v-148bf52a]{min-width:0}.consensus-approved-label{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px;display:flex;align-items:center}.consensus-approved-label .icon{width:16px;height:16px;margin-right:6px}.transaction-item .body .footer[data-v-87ec8a54]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-item .consensus[data-v-87ec8a54]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-item .body[data-v-87ec8a54]{width:100%}.transaction-item .body .footer[data-v-87ec8a54]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;width:100%;color:hsla(0,0%,100%,.75);gap:3px}.transaction-item .body .footer .date[data-v-87ec8a54]{white-space:nowrap}.transaction-item .consensus[data-v-87ec8a54]{display:flex;align-items:center;gap:6px}.transaction-item .consensus .icon[data-v-87ec8a54]{width:16px;height:16px}.infinite-scroll[data-v-f9e758f0]{height:100%}.transaction-list .message[data-v-7efc931c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-list[data-v-7efc931c]{display:flex;flex-direction:column;padding:10px 0}.transaction-list .list[data-v-7efc931c]{padding:0;margin:0}.transaction-list .message[data-v-7efc931c],.transaction-list .spinner[data-v-7efc931c]{flex-grow:1;display:flex;justify-content:center;align-items:center}.transaction-list .message[data-v-7efc931c]{color:#babac0;text-align:center;padding:48px 64px 0}.transaction-list .spinner[data-v-7efc931c]{width:56px;min-height:56px;margin:0 auto;padding-bottom:48px;color:#fff}.transaction-list-wrapper[data-v-5160cbf9]{--filter-top-offset:175px}.transaction-list-wrapper[data-v-5160cbf9] .filters{position:sticky;top:calc(var(--filter-top-offset) + env(safe-area-inset-top))}.transaction-list-wrapper .offline-message[data-v-5160cbf9]{text-align:center}.card .text[data-v-4304b92e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.card .description[data-v-4304b92e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.card[data-v-4304b92e]{z-index:1;position:relative;display:flex;align-items:flex-start;width:100%;min-height:116px;border-radius:10px;padding:20px 16px;gap:16px;background-color:#262626;background-repeat:no-repeat;background-size:cover;transition:all .15s}.card-darken[data-v-4304b92e]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);opacity:.7}.card .card-icon[data-v-4304b92e]{color:#fff}.card .card-close[data-v-4304b92e]{position:absolute;top:4px;right:4px}.card .text[data-v-4304b92e]{color:#fff}.card .description[data-v-4304b92e]{color:#fff;opacity:.7;margin-top:4px}.card.dense .description[data-v-4304b92e]{margin-top:0}.card.disabled[data-v-4304b92e]{pointer-events:none;opacity:.4}.btn-main[data-v-d5cda4a6]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px;--bg-color:#1161fe;display:flex;align-items:center;justify-content:center;flex-grow:1;width:-moz-fit-content;width:fit-content;min-height:40px;padding:8px 16px;border-radius:10px;line-height:24px;font-weight:500;text-align:center}.btn-main.extra-padded[data-v-d5cda4a6]{padding-inline:32px}.btn-main.third[data-v-d5cda4a6]{display:inline-block;width:32%;margin:0}.btn-main.inline[data-v-d5cda4a6]{display:inline-flex}.btn-main.nowrap[data-v-d5cda4a6]{white-space:nowrap}.btn-main.has-icon[data-v-d5cda4a6]{gap:4px}.btn-main.has-icon .btn-main-icon[data-v-d5cda4a6]{--icon-size:20px;flex-shrink:0;width:var(--icon-size);height:var(--icon-size);color:inherit}.btn-main.has-icon .btn-main-icon.lg[data-v-d5cda4a6]{--icon-size:24px}.btn-main.wide[data-v-d5cda4a6]{flex-basis:60%}.btn-main.extend[data-v-d5cda4a6]{width:100%}.dashboard-card .card-button[data-v-6f99b291]{margin-top:12px}.dashboard[data-v-fda567da]{display:flex;flex-direction:column}.dashboard .dashboard-cards[data-v-fda567da]{display:flex;flex-direction:column;gap:var(--gap);margin-top:8px;padding-inline:var(--screen-padding-x);padding-bottom:var(--screen-padding-x)}.dashboard .dashboard-cards .buttons-row[data-v-fda567da]{display:flex;gap:var(--gap)}.account-card-total-tokens .total-tokens[data-v-69d54f08]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-total-tokens[data-v-69d54f08]{width:100%}.account-card-total-tokens .total-tokens[data-v-69d54f08]{color:#fff;line-height:16px}.account-card-total-tokens .total-tokens .digit[data-v-69d54f08]{display:inline-block;margin-right:4px}.account-card-total-tokens .total-tokens .wording[data-v-69d54f08]{opacity:.85}.account-card-base[data-v-59d429d0]{display:flex;width:100%;flex-direction:column;padding:12px;text-decoration:none}.account-card-base.selected .bottom[data-v-59d429d0],.account-card-base.selected .middle[data-v-59d429d0],.account-card-base.selected .top[data-v-59d429d0]{opacity:1}.account-card-base .bottom[data-v-59d429d0],.account-card-base .middle[data-v-59d429d0],.account-card-base .top[data-v-59d429d0]{opacity:.5}.account-card-base .middle[data-v-59d429d0]{margin-top:5px;text-align:center}.account-card-base .bottom[data-v-59d429d0]{flex:1;display:flex;align-items:flex-end}.total-amount[data-v-309719d4]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.total-amount .label[data-v-309719d4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.total-amount[data-v-309719d4]{color:#fff;line-height:18px;margin-bottom:12px;margin-left:24px}.total-amount .label[data-v-309719d4]{margin-left:6px;line-height:18px;opacity:.5}.account-card-add .title[data-v-5760049e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.account-card-add .description[data-v-5760049e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.account-card-add[data-v-5760049e]{border-radius:16px;background:#262626;width:100%;height:192px}.account-card-add .wrapper[data-v-5760049e]{display:flex;flex-direction:column;height:100%;padding:16px}.account-card-add .title[data-v-5760049e]{display:inline-flex;align-items:center;padding-bottom:12px;color:#fff;font-weight:500}.account-card-add .title svg[data-v-5760049e]{width:48px;height:48px;margin-right:8px}.account-card-add .description[data-v-5760049e]{text-align:center;padding:0 4px 0 12px;color:hsla(0,0%,100%,.85);line-height:22px}.account-swiper-slide-card[data-v-f8a55348]{display:flex;border-radius:16px;color:inherit;width:100%;height:192px}.account-swiper-slide-card .swiper-button[data-v-f8a55348]{position:absolute;z-index:1;top:50%;height:60px;width:30px;color:#fff;opacity:.5;transition:all .15s}.account-swiper-slide-card .swiper-button .icon[data-v-f8a55348]{width:14px;height:22px}.account-swiper-slide-card .swiper-button.prev[data-v-f8a55348]{left:2px;transform:translateY(-50%) scaleX(-1)}.account-swiper-slide-card .swiper-button.next[data-v-f8a55348]{right:2px;transform:translateY(-50%)}.account-swiper-slide-card .swiper-button[data-v-f8a55348]:hover{opacity:1}.bullet-switcher[data-v-319569fc]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;height:40px;padding-left:4px}.bullet-switcher .add-icon[data-v-319569fc]{width:19px;height:19px;margin-left:8px;cursor:pointer;color:hsla(0,0%,100%,.5);transition:all .25s ease-out}.bullet-switcher .add-icon.active[data-v-319569fc],.bullet-switcher .add-icon[data-v-319569fc]:hover{color:#fff}.bullet-switcher .bullet-switcher-container[data-v-319569fc]{max-width:calc(var(--bullet-size)*5);overflow:hidden}.bullet-switcher .bullet-switcher-container .bullet-switcher-track[data-v-319569fc]{display:flex;margin-left:var(--translate-x-value);transition:margin-left .3s ease-out}.bullet-switcher .bullet-switcher-container .bullet-link[data-v-319569fc]{--bullet-scale:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--bullet-size);height:var(--bullet-size)}.bullet-switcher .bullet-switcher-container .bullet-link:hover .bullet[data-v-319569fc]{transform:scale(1.2)!important}.bullet-switcher .bullet-switcher-container .bullet-link.small[data-v-319569fc]{--bullet-scale:0.5}.bullet-switcher .bullet-switcher-container .bullet-link.medium[data-v-319569fc]{--bullet-scale:0.75}.bullet-switcher .bullet-switcher-container .bullet-link.active .bullet[data-v-319569fc]{background-color:var(--active-color)}.bullet-switcher .bullet-switcher-container .bullet-link .bullet[data-v-319569fc]{background-color:hsla(0,0%,100%,.2);min-width:8px;min-height:8px;border-radius:50%;transform:scale(var(--bullet-scale));transition:all .25s ease-out}.multisig-button .text[data-v-46e4c892]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-button .has-pending[data-v-46e4c892]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px}.multisig-button[data-v-46e4c892]{display:flex;justify-content:center;align-items:center;flex-flow:row;padding:4px 8px;background:#141414;border-radius:12px;gap:1px}.multisig-button .icon-back[data-v-46e4c892],.multisig-button .icon-pending[data-v-46e4c892]{width:16px;height:16px}.multisig-button .icon-back[data-v-46e4c892]{color:#fff;opacity:75%}.multisig-button .text[data-v-46e4c892]{color:hsla(0,0%,100%,.5);line-height:16px;transition:all .15s}.multisig-button .has-pending[data-v-46e4c892]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:rgba(255,180,34,.75);line-height:16px;margin-right:5px}.multisig-button .has-pending .icon-pending[data-v-46e4c892]{color:#ffb422}.multisig-button:active .text[data-v-46e4c892],.multisig-button:hover .text[data-v-46e4c892]{color:#fff}.multisig-button[data-v-46e4c892]:hover{background:#262626}.multisig-button[data-v-46e4c892]:active{background:#212121}@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj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y8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.account-swiper .account-swiper-bottom[data-v-7b471baa]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;padding-inline:var(--screen-padding-x)}.latest-transaction-card .title[data-v-40f750de]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.latest-transaction-card[data-v-40f750de]{width:100%;background-color:#262626;border-radius:10px;padding-block:8px;display:flex;flex-direction:column}.latest-transaction-card .title[data-v-40f750de]{color:#fff;line-height:24px;padding-inline:12px;margin-bottom:4px}.latest-transaction-card .offline-message[data-v-40f750de]{margin:auto;padding-block:10px}.latest-transaction-card .spinner[data-v-40f750de]{align-self:center;height:60px}.latest-transaction-card .transaction-item[data-v-40f750de]{padding-block:10px}.pending-multisig-transaction-card .title[data-v-10692ff9]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:15px;line-height:24px}.pending-multisig-transaction-card[data-v-10692ff9]{width:100%;background-color:#262626;border-radius:10px;padding:8px 12px;display:flex;flex-direction:column}.pending-multisig-transaction-card .title[data-v-10692ff9]{margin-bottom:4px}.account-card-consensus .consensus-row[data-v-8e7ff3aa]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-consensus[data-v-8e7ff3aa]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:6px}.account-card-consensus .consensus-row[data-v-8e7ff3aa]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:hsla(0,0%,100%,.85);line-height:16px}.account-card-consensus .consensus-row .highlighted[data-v-8e7ff3aa]{color:#fff;margin-left:4px}.account-card-consensus .consensus-row .icon[data-v-8e7ff3aa]{height:16px;width:16px;margin-right:4px;color:#fff}.account-card-consensus .consensus-row .check-circle[data-v-8e7ff3aa]{opacity:.5}.account-card-syncing .message[data-v-3538cf80]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-syncing[data-v-3538cf80]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:#fff}.account-card-syncing .pending-icon[data-v-3538cf80]{height:16px;width:16px;margin-right:4px}.account-card-syncing .message[data-v-3538cf80]{opacity:.85}.form-select.unstyled[data-v-183e0b50]{display:flex;align-items:center;gap:4px;font:inherit;transition:.2s}.form-select.unstyled[data-v-183e0b50]:active,.form-select.unstyled[data-v-183e0b50]:hover{color:#fff}.form-select .arrow-icon[data-v-183e0b50]{flex-shrink:0;width:8px!important;height:5px!important;opacity:.75}.form-select .input-field-text-wrapper[data-v-183e0b50]{flex-grow:1}.account-selector[data-v-65cefd72]{display:flex;align-items:center;gap:8px;padding-block:4px}.account-selector .account-select-text[data-v-65cefd72]{max-width:220px}.account-selector .account-select[data-v-65cefd72]{margin-bottom:4px;margin-left:-3px;color:#fff}.account-selector .account-select.avatar-only[data-v-65cefd72]{margin-bottom:0}.account-selector .address-truncated[data-v-65cefd72]{color:#fff}.fixed-screen-footer[data-v-511dcdca]{position:sticky;bottom:0;margin:auto 0 0;display:flex;justify-content:center;gap:8px;padding:24px}.fixed-screen-footer.noPaddingTop[data-v-511dcdca]{padding-top:0}.fixed-screen-footer.mobile[data-v-511dcdca]{margin-bottom:20px}.fixed-screen-footer[data-v-511dcdca]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);top:40px;box-shadow:0 -30px 20px var(--screen-bg-color);opacity:.9}.fixed-screen-footer[data-v-511dcdca],.fixed-screen-footer[data-v-511dcdca]:before{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.comment-new .comment-text[data-v-0a4805ca]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.comment-new[data-v-0a4805ca]{padding:16px}.comment-new .comment-text[data-v-0a4805ca]{background-color:#262626;padding:8px 12px;border-radius:10px;margin:24px 8px 0 8px;position:relative}.comment-new .comment-text[data-v-0a4805ca]:after{content:"";position:absolute;visibility:visible;top:-16px;left:0;border:16px solid transparent;transform:rotate(-90deg);border-top:16px solid #262626}.comment-new .fixed-screen-footer[data-v-0a4805ca]{padding-inline:0;margin-top:8px}.comment-new .cancel-button[data-v-0a4805ca]{flex:0}.modal .container .body[data-v-388cf64b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.modal[data-v-388cf64b]{--screen-padding-x:24px;--screen-bg-color:#191919;--footer-padding-bottom:36px;position:fixed;z-index:4;top:0;left:0;width:100%;height:100%;min-width:360px;background-color:rgba(0,0,0,.7);display:flex;will-change:backdrop-filter}.modal .container[data-v-388cf64b]{position:relative;display:flex;flex-direction:column;width:92%;margin:auto;background-color:var(--screen-bg-color);border-radius:16px;box-shadow:0 0 0 1px #232323,2px 4px 12px rgba(0,0,0,.22);will-change:transform}@media(min-width:481px){.modal .container[data-v-388cf64b]{width:328px}}.modal .container .header[data-v-388cf64b]{flex-basis:32px;flex-shrink:0;color:#fff;font-size:19px;line-height:24px;font-weight:500;word-break:break-word;text-align:center;display:flex;flex-direction:column;background-color:var(--screen-bg-color);position:relative}.modal .container .header-icon[data-v-388cf64b]{margin:0 auto 10px;width:48px;height:48px}.modal .container .header.transparent[data-v-388cf64b]{background-color:transparent}.modal .container .body[data-v-388cf64b]{display:flex;flex-direction:column;padding:var(--screen-padding-x);color:#babac0;word-break:break-word}.modal .container .body.without-padding-bottom[data-v-388cf64b]{padding-bottom:0}.modal .container .close-button[data-v-388cf64b]{position:absolute;top:4px;right:8px}.modal .cover[data-v-388cf64b]{position:fixed;z-index:-1;inset:0}.modal.min-height .container[data-v-388cf64b]{min-height:480px}.modal.from-bottom[data-v-388cf64b],.modal.full-screen[data-v-388cf64b]{--footer-padding-bottom:24px}.modal.from-bottom .container[data-v-388cf64b],.modal.full-screen .container[data-v-388cf64b]{width:100%;max-height:100%;margin-top:0;margin-bottom:0;overflow:hidden auto}.modal.from-bottom .header[data-v-388cf64b],.modal.full-screen .header[data-v-388cf64b]{position:sticky;z-index:3;top:0}.modal.full-screen[data-v-388cf64b]{padding-top:env(safe-area-inset-top);padding-bottom:0;padding-bottom:env(safe-area-inset-bottom)}@media(min-width:481px){.modal.full-screen[data-v-388cf64b]{position:absolute}}.modal.full-screen .container[data-v-388cf64b]{height:100%;border-radius:0}.modal.from-bottom[data-v-388cf64b]{position:absolute;align-items:end}.modal.from-bottom .container[data-v-388cf64b]{border-bottom-left-radius:var(--screen-border-radius);border-bottom-right-radius:var(--screen-border-radius)}.modal.has-header .body[data-v-388cf64b]{padding-top:0}.modal.dense[data-v-388cf64b]{--screen-padding-x:8px}.modal.semi-dense[data-v-388cf64b]{--screen-padding-x:12px}.modal.no-padding[data-v-388cf64b]{--screen-padding-x:0}.modal.blur-bg[data-v-388cf64b]{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal.pop-in-transition-enter-active[data-v-388cf64b],.modal.pop-in-transition-leave-active[data-v-388cf64b]{transition:opacity .3s}.modal.pop-in-transition-enter-active .container[data-v-388cf64b],.modal.pop-in-transition-leave-active .container[data-v-388cf64b]{transition:transform .3s}.modal.pop-in-transition-enter-from[data-v-388cf64b],.modal.pop-in-transition-leave-to[data-v-388cf64b]{opacity:0}.modal.pop-in-transition-enter-from .container[data-v-388cf64b],.modal.pop-in-transition-leave-to .container[data-v-388cf64b]{transform:scale(1.1)}.modal.from-bottom-transition-enter-active[data-v-388cf64b],.modal.from-bottom-transition-leave-active[data-v-388cf64b]{transition:opacity .3s}.modal.from-bottom-transition-enter-active .container[data-v-388cf64b],.modal.from-bottom-transition-leave-active .container[data-v-388cf64b]{transition:transform .3s cubic-bezier(.65,0,.35,1)}.modal.from-bottom-transition-enter-from[data-v-388cf64b],.modal.from-bottom-transition-leave-to[data-v-388cf64b]{opacity:0}.modal.from-bottom-transition-enter-from .container[data-v-388cf64b],.modal.from-bottom-transition-leave-to .container[data-v-388cf64b]{transform:translateY(70%)}.address-formatted[data-v-0c681493]{display:inline-flex;flex-wrap:wrap;letter-spacing:.15em}.address-formatted-chunk[data-v-0c681493]{flex:0 0 var(--column-width);text-align:left;white-space:nowrap}.address-formatted-chunk.align-right[data-v-0c681493]{text-align:right;white-space:break-spaces}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-info-details-party .copy-address[data-v-06588384]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.transaction-info-details-party[data-v-06588384]{width:50%;padding-left:4px;padding-right:11px}.transaction-info-details-party.recipient[data-v-06588384]{padding-left:11px;padding-right:4px}.transaction-info-details-party.recipient .name[data-v-06588384],.transaction-info-details-party.recipient .wallet[data-v-06588384]{text-align:right}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{display:block;margin-bottom:8px;color:#fff;text-decoration:none;white-space:nowrap;line-height:16px}.transaction-info-details-party .copy-address[data-v-06588384]{height:48px}.transaction-tag[data-v-156e7b98]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:11px;line-height:16px;padding:2px 5px;color:#787878;border:1px solid #787878;border-radius:4px;text-transform:uppercase;white-space:nowrap;width:-moz-min-content;width:min-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.transaction-tag-list[data-v-9bc8871c]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:8px;margin-bottom:-8px}.transaction-tag-list.dense[data-v-9bc8871c]{gap:4px;margin-bottom:0}.transaction-info .parties[data-v-37c99e44]{display:flex;padding-bottom:8px}.transaction-info .parties .avatar[data-v-37c99e44]{width:56px;height:56px;padding:8px;border:2px solid #757575;border-radius:100px}.transaction-info .parties .icon[data-v-37c99e44]{width:36px;height:36px;color:#fff}.transaction-info .parties .logo[data-v-37c99e44]{color:#1161fe}.transaction-info .parties .mid[data-v-37c99e44]{position:relative;width:100%}.transaction-info .parties .mid .triangle[data-v-37c99e44]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:15px;height:17px;color:#757575}.transaction-info .parties .mid .line[data-v-37c99e44]{height:calc(50% + 1px);border-bottom:2px solid #757575}.transaction-info .details[data-v-37c99e44]{display:flex;justify-content:space-between;overflow:hidden}.tag-wrapper[data-v-b698e8c6]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:8px}.details-item .label[data-v-1aaea9da]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.details-item .value[data-v-1aaea9da]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.details-item .value.small[data-v-1aaea9da]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.details-item[data-v-1aaea9da]{margin-block:4px}.details-item .label[data-v-1aaea9da]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.details-item .label .indent[data-v-1aaea9da]{margin-left:8px}.details-item .label .expand-arrow[data-v-1aaea9da]{width:14px;height:14px;color:#787878;opacity:.7;margin-left:8px;transition:inherit}.details-item .value[data-v-1aaea9da]{letter-spacing:.05em;color:#fff;margin-bottom:8px}.details-item .value .secondary[data-v-1aaea9da]{color:#babac0;margin-left:4px;white-space:nowrap}.details-item .value.highlight[data-v-1aaea9da]{color:#ff4746}.details-item.expandable>.label[data-v-1aaea9da]:hover{color:hsla(0,0%,100%,.8)}.details-item.expandable>.label:hover .expand-arrow[data-v-1aaea9da]{opacity:1}.details-item.expandable>.value[data-v-1aaea9da]{margin-top:10px;padding:8px 12px;background:#232323;border:1px solid #2f2f2f;border-radius:6px}.details-item.expandable.expanded>.label .expand-arrow[data-v-1aaea9da]{transform:scaleY(-1)}.pool-token-row .tokens[data-v-2f8a705b] .symbol{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.pool-token-row .contract-id[data-v-2f8a705b]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px;color:#babac0;letter-spacing:.07em;cursor:pointer}.pool-token-row .contract-id .icon[data-v-2f8a705b]{width:22px;height:22px}.pool-token-row .details-item.label[data-v-2f8a705b]{margin-bottom:4px}.pool-token-row .token-info[data-v-2f8a705b]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px;padding-top:4px}.pool-token-row .token-info .address-shortening[data-v-2f8a705b],.pool-token-row .token-info .symbol[data-v-2f8a705b]{font-weight:500}.pool-token-row .tokens[data-v-2f8a705b] .separator,.pool-token-row .tokens[data-v-2f8a705b] .symbol{color:#fff}.confirm-transaction-sign .loader[data-v-3283ef0c]{display:flex;margin:0 auto;width:56px;height:56px}.confirm-transaction-sign .subtitle[data-v-3283ef0c]{margin:8px 0;color:#babac0}.confirm-transaction-sign .subtitle.warning[data-v-3283ef0c]{color:#ffb422}.confirm-transaction-sign .subtitle .app-name[data-v-3283ef0c]{color:#fff}.confirm-transaction-sign .transaction-overview[data-v-3283ef0c]{margin-bottom:16px}.confirm-transaction-sign .reason[data-v-3283ef0c] .value{word-break:break-all;color:#ffb422}.confirm-transaction-sign .details[data-v-3283ef0c]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:8px;padding:8px 0}.confirm-transaction-sign .details .details-item[data-v-3283ef0c]{margin-right:24px}.confirm-transaction-sign .pool-token-row[data-v-3283ef0c]{padding-bottom:8px}.confirm-transaction-sign .button-action-primary[data-v-3283ef0c]{display:flex}.confirm-raw-sign .warning .title[data-v-337e8cc6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.confirm-raw-sign .warning .content[data-v-337e8cc6]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm-raw-sign .overview[data-v-337e8cc6]{margin:16px}.confirm-raw-sign .warning[data-v-337e8cc6]{margin:16px;text-align:left}.confirm-raw-sign .warning .title[data-v-337e8cc6]{display:flex;align-items:center;margin-bottom:4px;color:#ffb422}.confirm-raw-sign .warning .title .icon[data-v-337e8cc6]{width:24px;height:24px;padding-right:4px}.confirm-raw-sign .warning .content[data-v-337e8cc6]{color:#fff}.confirm-raw-sign .details-item[data-v-337e8cc6]{margin:24px 16px 16px;text-align:left}.textarea-input[data-v-4059d241]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.textarea[data-v-4059d241]{--base-line-height:1.4em;--size:6}.textarea-input[data-v-4059d241]{min-height:calc(var(--base-line-height)*var(--size));width:100%;background:transparent;border:none;padding:0;color:#fff;outline:none;word-break:break-word;line-height:var(--base-line-height);resize:none}.textarea-input.resizable[data-v-4059d241]{resize:both}.textarea.xs[data-v-4059d241]{--size:3}.textarea.sm[data-v-4059d241]{--size:4}.textarea.md[data-v-4059d241]{--size:8}.textarea.auto-height[data-v-4059d241]{--size:1}.donate-error h1[data-v-de37d780]{text-align:left;font-weight:400;font-size:16px;margin:23px 0}.donate-error .error-info-title[data-v-de37d780]{text-transform:uppercase;color:#787878;text-align:left;font-size:14px;margin:0 0 15px}.donate-error .error-info-content[data-v-de37d780]{color:#fff;font-size:15px;margin:0;text-align:left;font-weight:400;margin-bottom:25px}.token-container .token-amount[data-v-b6eef74a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:22px;line-height:24px}.token-container[data-v-b6eef74a]{display:flex;flex-direction:column}.token-container .token-content[data-v-b6eef74a]{--screen-padding-x:12px;display:flex;flex-direction:column;padding-inline:var(--screen-padding-x)}.token-container .top[data-v-b6eef74a]{text-align:center}.token-container .token-amount[data-v-b6eef74a]{padding-top:10px;margin-bottom:20px;display:block;text-align:center}.token-container .token-actions[data-v-b6eef74a]{display:flex;justify-content:center;gap:var(--gap);margin-bottom:var(--gap)}.token-container .token-router[data-v-b6eef74a]{position:inherit;padding-inline-start:calc(var(--screen-padding-x)*-1);padding-inline-end:calc(var(--screen-padding-x)*-1)}.token-container .sticky-tabs-wrapper[data-v-b6eef74a]{position:sticky;top:env(safe-area-inset-top);background-color:var(--screen-bg-color);padding-bottom:4px}.token-container[data-v-b6eef74a] .filters{--buttons-height:40px;padding-top:12px;position:sticky;top:calc(var(--buttons-height) + env(safe-area-inset-top))}.details-row[data-v-29f62982]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;justify-content:space-between;align-items:center;flex-flow:row;padding:8px var(--screen-padding-x)}.details-row .title[data-v-29f62982]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:hsla(0,0%,100%,.5)}.details-row .text[data-v-29f62982]{color:hsla(0,0%,100%,.75)}.details-row .white[data-v-29f62982]{color:#fff}.token-details .token-details-tokens[data-v-405b7261]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.token-details[data-v-405b7261]{margin-top:10px}.token-details .price .green[data-v-405b7261]{color:#00ff9d;font-weight:400}.token-details .price .red[data-v-405b7261]{color:#ff4746;font-weight:400}.token-details .link a[data-v-405b7261]{color:#babac0;text-decoration:none;display:inline-flex;align-items:center}.token-details .link a svg[data-v-405b7261]{width:22px;height:22px}.token-details .address-shortening[data-v-405b7261]{color:#babac0}.token-details .address-shortening[data-v-405b7261]:hover,.token-details .token-details-tokens[data-v-405b7261]{color:#fff}.checkbox-container[data-v-276ed195]{display:flex;position:relative;align-items:center;cursor:pointer;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-container>[data-v-276ed195]{transition:all .15s ease-in-out}.checkbox-container:hover .checkmark[data-v-276ed195]{border-color:hsla(0,0%,100%,.5);background-color:#090909}.checkbox-container:hover .label-text[data-v-276ed195]{color:hsla(0,0%,100%,.75)}.checkbox-container input[data-v-276ed195]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkbox-container .checkmark[data-v-276ed195]{background-color:#131313;border:1px solid hsla(0,0%,100%,.3);box-shadow:inset 1 1 4px rgba(0,0,0,.25);border-radius:4px;height:20px;width:20px;margin-right:10px;flex-shrink:0}.checkbox-container .checkmark.checked[data-v-276ed195]{border:none;box-shadow:none;background-color:#1161fe;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='m15.95 7.313-7.44 7.44a.168.168 0 0 1-.236 0l-4.225-4.225a.168.168 0 0 1 0-.237l1.027-1.026a.168.168 0 0 1 .237 0l3.08 3.08 6.294-6.296a.168.168 0 0 1 .238 0l1.026 1.027a.167.167 0 0 1 0 .237Z'/%3E%3C/svg%3E")}.checkbox-container .checkmark.checked.disabled[data-v-276ed195]{filter:brightness(.8)}.checkbox-container .label-text[data-v-276ed195]{color:hsla(0,0%,100%,.5)}.checkbox-container .label-text.checked[data-v-276ed195]{color:#fff}.button-subheader .message .heading[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.button-subheader .message .description[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.button-subheader[data-v-664f7dd3]{display:flex;align-items:center;width:100%;margin-bottom:16px;padding:20px 12px;border-radius:10px;color:#fff}.button-subheader .box[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:16px;margin-right:auto;text-align:left}.button-subheader .message[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column}.button-subheader .message .heading[data-v-664f7dd3]{line-height:150%}.button-subheader .message .description[data-v-664f7dd3]{opacity:.7}.platform-icon[data-v-18a3b1c4]{height:44px;width:40px;padding:2px 0}.platform-icon .platform-icon-image[data-v-18a3b1c4]{height:100%;margin:0 auto;transition:all .15s ease-in-out}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]{filter:grayscale(1);opacity:.8}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]:hover{filter:none;opacity:1}.platforms .footer[data-v-11c59964],.platforms .heading[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.platforms[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:400;line-height:22px;font-size:15px;background-color:var(--screen-bg-color);word-break:break-word}.platforms .heading[data-v-11c59964]{margin-bottom:8px}.platforms .footer[data-v-11c59964]{margin-top:28px;margin-bottom:12px}.platforms .mobile-web-icons[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:17px;padding-top:8px}.platforms .web-icons-wrapper[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;color:#babac0}.platforms .web-icons-title[data-v-11c59964]{padding-top:4px}.platforms .web-icons[data-v-11c59964]:first-child{border-right:1px solid hsla(0,0%,100%,.2)}.platforms .web-icons .web-icons-platforms[data-v-11c59964]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;gap:32px;padding-right:30px;padding-left:30px;padding-top:12px}.index .not-iframe.go[data-v-56c65848]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.index .not-iframe.mobile[data-v-56c65848]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.index .not-iframe .heading[data-v-56c65848]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.index .terms-agreement .terms-of-use[data-v-56c65848]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.index[data-v-56c65848]{--padding-top:44px;text-align:center}.index.extended-top-padding[data-v-56c65848]{--padding-top:64px}.index.ios-top-padding[data-v-56c65848]{padding-top:env(safe-area-inset-top)}.index .iframe-image[data-v-56c65848],.index .superhero-logo[data-v-56c65848]{margin-top:var(--padding-top)}.index .terms-agreement[data-v-56c65848]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-bottom:16px}.index .terms-agreement .terms-of-use[data-v-56c65848]{color:hsla(0,0%,100%,.75);text-decoration:none;margin-left:4px}.index .terms-agreement .terms-of-use[data-v-56c65848]:hover{color:#fff;text-decoration:underline}.index .terms-agreement .terms-of-use.agreed[data-v-56c65848]{color:#fff}.index .terms-agreement.mobile[data-v-56c65848]{margin-top:32px}.index .not-iframe[data-v-56c65848]{text-align:center}.index .not-iframe .superhero-logo[data-v-56c65848]{height:32px;margin-bottom:8px}.index .not-iframe .heading[data-v-56c65848]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;line-height:125%;color:#fff;margin:4px 60px 24px}.index .not-iframe .heading .tag[data-v-56c65848]{color:hsla(0,0%,100%,.75)}.index .not-iframe .heading .tag .receive[data-v-56c65848],.index .not-iframe .heading .tag .send[data-v-56c65848],.index .not-iframe .heading .tag .store[data-v-56c65848]{color:#fff}.index .not-iframe .heading .tag .aeternity-name[data-v-56c65848]{color:#ff2b5e}.index .not-iframe.mobile[data-v-56c65848]{color:#fff;max-width:80%;margin:0 auto;min-height:25vh;padding-top:30px}.index .not-iframe.go[data-v-56c65848]{margin-top:-36px;margin-bottom:42px}.index .not-iframe .spinner[data-v-56c65848]{width:256px;height:256px;color:#1161fe}.index .not-iframe .platforms[data-v-56c65848]{margin:0 auto;max-width:312px}.index .wallet-button-box[data-v-56c65848]{margin-inline:16px;padding-block:4px}.select-asset[data-v-2815dc49]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 12px;background-color:rgba(0,0,0,.3);border-radius:16px;gap:6px;color:#1161fe;white-space:nowrap;border:2px solid transparent;transition:all .12s ease-out}.select-asset .chevron-down[data-v-2815dc49]{width:8px!important;color:#fff;opacity:.75}.select-asset[data-v-2815dc49]:not(.disabled):hover{border-color:hsla(0,0%,100%,.15)}.select-asset:not(.disabled).focused[data-v-2815dc49]{background-color:hsla(0,0%,100%,.05)}.input-amount .readonly-symbol[data-v-e47c5a92]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.input-amount-desc[data-v-e47c5a92]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-amount-desc-total[data-v-e47c5a92]{word-break:break-word}.focused .input-amount-desc-total[data-v-e47c5a92]{color:hsla(0,0%,100%,.75)}.input-amount-desc-at[data-v-e47c5a92]{margin-left:auto}.input-amount-asset[data-v-e47c5a92]{margin-right:-2px}.input-amount .readonly-symbol[data-v-e47c5a92]{white-space:nowrap;color:#1161fe;-webkit-user-select:none;-moz-user-select:none;user-select:none}.invite-row[data-v-75984546]{padding:1rem var(--screen-padding-x);margin:-2px calc(var(--screen-padding-x)*-1) 0;border-style:solid;border-color:#232323;border-width:2px 0;text-align:left;color:#fff;position:relative}.invite-row .invite-link[data-v-75984546]{width:100%;margin:12px 0}.invite-row .invite-link-url[data-v-75984546]{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:11px;color:#fff}.invite-row .invite-info[data-v-75984546]{font-size:13px;display:flex;align-items:center;margin-bottom:10px;color:#787878}.invite-row .invite-info .token-amount[data-v-75984546]{flex-grow:1}.invite-row .invite-info .date[data-v-75984546]{font-size:11px;color:#fff;opacity:.5}.invite-row .input-amount[data-v-75984546]{margin-bottom:var(--gap)}.invite-row .centered-buttons[data-v-75984546]{display:flex;gap:var(--gap)}.invite-page[data-v-35ff545e]{padding-inline:var(--screen-padding-x);overflow:hidden}.invite-page .section-title[data-v-35ff545e]{display:flex;align-items:center;margin:36px 0 16px;font-size:16px;text-align:left;color:#babac0;font-weight:500}.invite-page .section-title-icon[data-v-35ff545e]{width:20px;height:20px;margin-right:4px;color:#fff;opacity:.5}.invite-page .amount[data-v-35ff545e]{margin-bottom:20px}.radio-button[data-v-e6085678]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.radio-button.disabled[data-v-e6085678]{opacity:50%;cursor:not-allowed}.radio-button .input[data-v-e6085678]{position:absolute;top:0;left:0;visibility:hidden}.radio-button .radio-dot[data-v-e6085678]{position:relative;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);width:20px;height:20px;background:var(--screen-bg-color);margin-right:6px;opacity:.5;flex-shrink:0}.radio-button .radio-dot[data-v-e6085678]:after{content:"";position:absolute;border-radius:50%;width:0;height:0;top:50%;left:50%;background:#1161fe;transition:all .15s ease-in-out;transform:translate(-50%,-50%)}.radio-button .radio-dot.checked[data-v-e6085678]{opacity:1}.radio-button .radio-dot.checked[data-v-e6085678]:after{width:14px;height:14px;opacity:1}.radio-button .radio-holder[data-v-e6085678]{width:100%;opacity:.5}.radio-button .radio-holder.checked[data-v-e6085678]{opacity:1}.language-settings[data-v-5ad4f319]{padding-inline:var(--screen-padding-x)}.language-settings .languages[data-v-5ad4f319]{margin-top:16px}.language-settings .languages .language[data-v-5ad4f319]{padding:6px 0;font-weight:500;font-size:14px;line-height:24px;opacity:.5}.language-settings .languages .language.active[data-v-5ad4f319]{opacity:1}.language-settings .languages .language span[data-v-5ad4f319]{text-transform:uppercase}.language-settings .languages .language .row[data-v-5ad4f319]{width:100%;display:inline-flex;justify-content:space-between;align-items:center}.currency-settings .currency .row .left .code[data-v-4ecb496d],.currency-settings .currency .row .left .symbol[data-v-4ecb496d]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.currency-settings .currency .row .name[data-v-4ecb496d]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.currency-settings[data-v-4ecb496d]{padding-inline:var(--screen-padding-x)}.currency-settings .options[data-v-4ecb496d]{margin-top:20px}.currency-settings .currency[data-v-4ecb496d]{padding:6px 0;font-weight:500;font-size:14px;line-height:24px}.currency-settings .currency .row[data-v-4ecb496d]{width:100%;display:inline-flex;align-items:center}.currency-settings .currency .row .left[data-v-4ecb496d]{display:inline-flex;align-items:center;width:95px}.currency-settings .currency .row .left .code[data-v-4ecb496d],.currency-settings .currency .row .left .symbol[data-v-4ecb496d]{text-transform:uppercase;padding-right:2px;color:hsla(0,0%,100%,.5)}.currency-settings .currency .row .name[data-v-4ecb496d]{color:hsla(0,0%,100%,.75)}.currency-settings .currency.active .row .left .code[data-v-4ecb496d],.currency-settings .currency.active .row .left .symbol[data-v-4ecb496d],.currency-settings .currency.active .row .name[data-v-4ecb496d]{color:#fff}.auction-tabs[data-v-69fdacb7]{padding-inline:var(--screen-padding-x)}.auction-router[data-v-69fdacb7]{top:8%}.auction-overview[data-v-7fa2c619]{display:flex;justify-content:space-between}.auction-overview .details-item[data-v-7fa2c619] .label{margin-bottom:4px}.auction-overview .details-item[data-v-7fa2c619] .value{text-align:left}.auction-overview .details-item[data-v-7fa2c619]:first-of-type{padding-right:24px}.auction-overview .details-item.end-height[data-v-7fa2c619] .value{color:#babac0}.auction-overview .details-item.end-height[data-v-7fa2c619] .secondary{color:#787878}.auction-card .name[data-v-57d51d1e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.auction-card[data-v-57d51d1e]{display:flex;flex-direction:column;align-items:center;height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360V48Z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80V64Z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96V88Z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0V0Z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80V16Z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96V40Z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E")}.auction-card .avatar[data-v-57d51d1e]{width:48px;height:48px;box-shadow:0 0 0 8px rgba(17,97,254,.15);margin-top:36px}.auction-card .name[data-v-57d51d1e]{line-height:16px;margin-top:16px}.auction-card .auction-overview[data-v-57d51d1e]{margin-top:16px}.auction-card .help-button[data-v-57d51d1e]{align-self:flex-end;padding-top:16px;padding-right:16px;margin-bottom:-36px}.auction-bid .form[data-v-076144c5]{padding:16px}.auction-bid .form .tx-details[data-v-076144c5]{display:flex;padding-top:16px}.auction-bid .form .tx-details .details-item[data-v-076144c5]{margin-right:24px}.auction-bid .form .button[data-v-076144c5]{margin-top:16px}.account-item .address.md[data-v-368128d6],.account-item .name.md[data-v-368128d6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-item .address.rg[data-v-368128d6],.account-item .name.rg[data-v-368128d6]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.account-item[data-v-368128d6]{display:flex;align-items:center}.account-item .avatar-wrapper[data-v-368128d6]{position:relative;display:flex;margin-right:4px}.account-item .avatar-wrapper.has-protocol-icon[data-v-368128d6]{margin-right:8px}.account-item .avatar-wrapper .protocol-icon[data-v-368128d6]{position:absolute;bottom:0;right:-4px}.account-item .address[data-v-368128d6],.account-item .name[data-v-368128d6]{text-align:left;word-break:break-all}.account-item .name[data-v-368128d6]{max-width:230px}.account-item .external-link-icon[data-v-368128d6]{flex-shrink:0;margin-top:-4px;margin-left:-4px;width:22px;height:22px}.auction-history .title[data-v-109a0fe0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.auction-history[data-v-109a0fe0]{min-height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360V48Z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80V64Z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96V88Z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0V0Z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80V16Z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96V40Z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");background-repeat:repeat-x}.auction-history .title[data-v-109a0fe0]{padding:16px 0 8px 0;text-align:center;color:#787878;display:block}.auction-history .title .name[data-v-109a0fe0]{color:#1161fe}.auction-history .item[data-v-109a0fe0]{margin:0 16px;padding:8px 0}.auction-history .item[data-v-109a0fe0]:not(:first-of-type){border-top:1px solid rgba(17,97,254,.44)}.auction-history .item .account-item[data-v-109a0fe0]{margin-top:4px}.auction-history .item .auction-overview[data-v-109a0fe0]{margin-top:16px}.auction-history .item .auction-overview[data-v-109a0fe0] .details-item:first-of-type{padding-right:32px}.name-row[data-v-5a99e238]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:0 12px}.name-row .content[data-v-5a99e238]{display:flex;align-items:center;padding:8px 0;color:#fff;text-align:left;text-decoration:none;transition:.2s}.name-row .name-info[data-v-5a99e238]{margin-left:8px;width:100%}.register-name .message[data-v-06542595]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin:32px;text-align:center;color:#babac0}.register-name .btn[data-v-06542595]{margin-inline:auto}.auction-list .auction-list-content .list .name-wrapper[data-v-2416ab86]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.auction-list .toolbar[data-v-2416ab86]{--background:var(--screen-bg-color);--min-height:0;padding-inline:var(--screen-padding-x)}.auction-list .auction-list-content[data-v-2416ab86]{--filter-top-offset:166px;display:flex;flex-direction:column}.auction-list .auction-list-content .list[data-v-2416ab86]{padding:0 12px;margin-inline:calc(var(--screen-padding-x)*-1)}.auction-list .auction-list-content .list .name-wrapper[data-v-2416ab86]{display:flex;justify-content:space-between;line-height:16px}.auction-list .auction-list-content .list .name-wrapper .name[data-v-2416ab86]{display:flex;flex-direction:column;font-weight:700}.auction-list .auction-list-content .list .name-wrapper .expiration[data-v-2416ab86]{align-self:flex-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.auction-list .auction-list-content .spinner[data-v-2416ab86]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.auction-list .auction-list-content[data-v-2416ab86] .filters{position:sticky;top:env(safe-area-inset-top);margin-left:0;margin-right:0}.more[data-v-f255322e]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.claim .chain-name-counter[data-v-cc403916]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.claim[data-v-cc403916]{padding-inline:var(--screen-padding-x)}.claim .chain-name[data-v-cc403916]{margin-bottom:6px}.claim .chain-name-counter[data-v-cc403916]{color:#787878}.claim .chain-name .aens-domain[data-v-cc403916]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.claim .auto-extend-label[data-v-cc403916]{display:flex;align-items:center;gap:10px}.claim .explanation[data-v-cc403916]{margin-top:10px}.claim .btn-register[data-v-cc403916]{margin-top:20px}.name-item .collapsed .header .truncate[data-v-3df53eac]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.name-item .collapsed .header .pending[data-v-3df53eac]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.name-item .collapsed .header .buttons button[data-v-3df53eac]:not(.btn-help),.name-item .expand>.details-item[data-v-3df53eac] .value .pointers span{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.name-item .expand>.details-item[data-v-3df53eac] .value,.name-item>span[data-v-3df53eac]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.name-item[data-v-3df53eac]{display:flex;flex-direction:column;padding:8px var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);transition:.2s}.name-item[data-v-3df53eac]:hover{background-color:#121212}.name-item .collapsed[data-v-3df53eac]{display:flex;text-align:left;justify-content:space-between}.name-item .collapsed .pending-icon[data-v-3df53eac]{height:32px;width:32px}.name-item .collapsed .header[data-v-3df53eac]{flex:2;max-width:260px}.name-item .collapsed .header .pending[data-v-3df53eac]{color:#787878}.name-item .collapsed .header .truncate[data-v-3df53eac]{line-height:16px}.name-item .collapsed .header .buttons[data-v-3df53eac]{display:flex;margin-top:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.name-item .collapsed .header .buttons button[data-v-3df53eac]:not(.btn-help){padding:2px 8px;cursor:pointer;background:#2f2f2f;border-radius:6px}@media(min-width:362px)and (max-width:480px){.name-item .collapsed .header .buttons button[data-v-3df53eac]:not(.btn-help){padding:2px 6px}}.name-item .collapsed .header .buttons button:not(.btn-help).set[data-v-3df53eac]{background:rgba(255,180,34,.1);color:#ffb422}.name-item .collapsed .header .buttons button:not(.btn-help).edit[data-v-3df53eac]{background:rgba(17,97,254,.15);color:#1161fe}.name-item .collapsed .header .buttons button[data-v-3df53eac]:not(.btn-help):not(:last-of-type){margin-right:4px}.name-item .collapsed .button-plain[data-v-3df53eac]{align-self:flex-start;flex-basis:24px}.name-item .collapsed .button-plain .icon[data-v-3df53eac]{width:14px;color:#fff;opacity:.44}.name-item .collapsed .button-plain .icon.hidden[data-v-3df53eac]{display:none}.name-item .collapsed .button-plain .icon.rotated[data-v-3df53eac]{transform:rotate(180deg)}.name-item .expand[data-v-3df53eac]{display:flex;flex-direction:column}.name-item .expand .input-address[data-v-3df53eac]{margin:8px 0}.name-item .expand .input-address-icon[data-v-3df53eac]{width:24px;height:24px;margin:-4px 0}.name-item .expand .details-item[data-v-3df53eac] .value{color:#babac0}.name-item .expand>.details-item[data-v-3df53eac]{margin:8px 0}.name-item .expand>.details-item[data-v-3df53eac] .value{letter-spacing:0}.name-item .expand>.details-item[data-v-3df53eac] .value .pointers{display:flex}.name-item .expand>.details-item[data-v-3df53eac] .value .pointers span{margin-right:4px;color:#787878}.name-item .expand .heights[data-v-3df53eac]{display:flex;flex-direction:row}.name-item .expand .heights .details-item[data-v-3df53eac]{flex:1}.name-item .expand .heights .details-item[data-v-3df53eac] .value .secondary{color:#787878;margin-left:-2px}.name-item .expand .heights .details-item[data-v-3df53eac]:first-of-type{margin-right:16px}.name-item>span[data-v-3df53eac]{margin-top:4px;color:#babac0}.names-list[data-v-93d3ce90]{padding:4px 12px 0 12px}.names-list .name-item[data-v-93d3ce90]{margin-top:1px}.names-list .spinner[data-v-93d3ce90]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.not-found .title[data-v-21e2ad7b]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:22px;line-height:32px}.not-found .description[data-v-21e2ad7b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.not-found[data-v-21e2ad7b]{text-align:center;display:flex;flex-direction:column;align-items:center;height:auto;padding:0 16px}.not-found .image[data-v-21e2ad7b]{margin-top:88px;width:156px}.not-found .title[data-v-21e2ad7b]{margin-top:16px}.not-found .description[data-v-21e2ad7b]{margin-top:8px;margin-bottom:32px;opacity:.85}.not-found .button-wrapper[data-v-21e2ad7b]{width:100%}.not-found .button[data-v-21e2ad7b]{width:100%;margin-bottom:16px}.not-found .icon[data-v-21e2ad7b]{margin-right:4px;width:20px;height:20px}.notification-item .title[data-v-649495f0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.notification-item .external-link-button[data-v-649495f0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.notification-item .message[data-v-649495f0]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.notification-item .status-and-date .date[data-v-649495f0]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.notification-item .address[data-v-649495f0]{font-family:IBM Plex Mono;font-weight:500;font-size:15px;line-height:24px}.notification-item[data-v-649495f0]{padding:8px 16px;display:grid;row-gap:2px;grid-template-columns:48px auto;border:none;outline:none;text-decoration:none;color:#fff;cursor:pointer}.notification-item[data-v-649495f0]:hover{background-color:#090909}.notification-item .content[data-v-649495f0]{overflow:hidden}.notification-item .status-and-date[data-v-649495f0]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;grid-column-start:2;gap:4px}.notification-item .status-and-date .unread-dot[data-v-649495f0]{width:8px;height:8px;border-radius:8px;background-color:#ff4746}.notification-item .status-and-date .date[data-v-649495f0]{color:hsla(0,0%,100%,.5)}.notification-item .notification-avatar[data-v-649495f0]{margin-top:6px;margin-left:4px}.notification-item .notification-icon[data-v-649495f0]{margin-top:3px;width:40px;height:40px}.notification-item .notification-icon-backup[data-v-649495f0]{margin-top:12px;width:40px;height:40px}.notification-item .message[data-v-649495f0]{line-height:20px;color:hsla(0,0%,100%,.85)}.notification-item .message[data-v-649495f0]:first-letter{text-transform:uppercase}.notification-item .address[data-v-649495f0]{letter-spacing:.07em}.notification-item .redirect-button[data-v-649495f0]{margin-top:10px}.notification-item .external-link-button[data-v-649495f0]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:#fff;margin-top:6px}.notification-item .external-link-button .external-link-icon[data-v-649495f0]{width:24px;height:24px}.notifications .empty-list-message[data-v-757eb7d6]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.notifications[data-v-757eb7d6]{position:relative;padding:0}.notifications .empty-list-message[data-v-757eb7d6]{max-width:180px;margin-top:56px;margin-inline:auto;text-align:center;opacity:.75}.switch-button .label[data-v-183be8b4]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.switch-button[data-v-183be8b4]{width:100%;display:inline-flex;justify-content:space-between;align-items:center}.switch-button.disabled[data-v-183be8b4]{opacity:.75}.switch-button .label[data-v-183be8b4]{color:hsla(0,0%,100%,.5)}.switch-button .switch[data-v-183be8b4]{position:relative;display:inline-block;width:36px;height:20px}.switch-button .switch input[data-v-183be8b4]{opacity:0;width:0;height:0}.switch-button .switch input:checked+.slider[data-v-183be8b4]{background-color:#1161fe}.switch-button .switch input:checked+.slider[data-v-183be8b4]:before{transform:translateX(16px)}.switch-button .switch .slider[data-v-183be8b4]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.15);transition:.4s}.switch-button .switch .slider[data-v-183be8b4]:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:hsla(0,0%,100%,.75);transition:.4s}.switch-button .switch .slider.round[data-v-183be8b4]{border-radius:12px}.switch-button .switch .slider.round[data-v-183be8b4]:before{border-radius:50%}.switch-button.active .label[data-v-183be8b4]{color:#fff}.switch-button.active .switch .slider[data-v-183be8b4]:before{background-color:#fff}.notification-settings[data-v-31ee743c]{padding-inline:var(--screen-padding-x)}.notification-settings .switches[data-v-31ee743c]{margin-top:20px}.notification-settings .switches .switch-button[data-v-31ee743c]{margin-bottom:12px}.errors-log-settings[data-v-2cb5376c]{padding-inline:var(--screen-padding-x)}.errors-log-settings .options[data-v-2cb5376c]{margin-top:20px}.permissions-settings[data-v-70c71a55]{padding-inline:var(--screen-padding-x)}.permissions-settings .hosts[data-v-70c71a55]{margin-bottom:26px}.permissions-settings .hosts .host[data-v-70c71a55]{margin:8px 0}.permission-manager[data-v-13931bbe]{--screen-padding-x:14px;padding-inline:var(--screen-padding-x);color:#fff}.permission-manager .inputs[data-v-13931bbe]{margin-bottom:32px}.permission-manager .permission-row[data-v-13931bbe]{margin:10px 0}.permission-manager .permission-row.switch[data-v-13931bbe]{margin-bottom:0;padding-top:3px;padding-right:5px}.permission-manager .transaction-sign-limit .transaction-limit-input[data-v-13931bbe]{margin-bottom:16px}.permission-manager .transaction-sign-limit .limit-info[data-v-13931bbe]{padding:4px 0}.permission-manager .bottom[data-v-13931bbe]{padding-top:38px;padding-bottom:16px}.permission-manager .bottom .actions[data-v-13931bbe]{width:100%;display:flex;padding-bottom:12px;gap:12px}.permission-manager .bottom .actions .confirm[data-v-13931bbe]{flex:1.8}.connect .permissions .title[data-v-357d1de2],.connect .subtitle[data-v-357d1de2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.connect .permissions .description[data-v-357d1de2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.connect .transaction-info[data-v-357d1de2]{margin-bottom:16px}.connect .subtitle[data-v-357d1de2]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.connect .subtitle .app-name[data-v-357d1de2]{color:#fff}.connect .permissions[data-v-357d1de2]{margin:16px 0}.connect .permissions .title[data-v-357d1de2]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.connect .permissions .title .icon[data-v-357d1de2]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.connect .permissions .description[data-v-357d1de2]{display:block;padding-bottom:16px;color:#fff;text-align:left}.account-list .permissions .title[data-v-6cba9096],.account-list .subtitle[data-v-6cba9096]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.account-list .permissions .description[data-v-6cba9096]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.account-list .transaction-info[data-v-6cba9096]{margin-bottom:16px}.account-list .subtitle[data-v-6cba9096]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.account-list .subtitle .app-name[data-v-6cba9096]{color:#fff}.account-list .permissions[data-v-6cba9096]{margin:16px 0}.account-list .permissions .title[data-v-6cba9096]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.account-list .permissions .title .icon[data-v-6cba9096]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.account-list .permissions .description[data-v-6cba9096]{display:block;padding-bottom:16px;color:#fff;text-align:left}.message-sign .subtitle[data-v-c753fd36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.message-sign .transaction-info[data-v-c753fd36]{margin-bottom:16px}.message-sign .subtitle[data-v-c753fd36]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.message-sign .subtitle .app-name[data-v-c753fd36]{color:#fff}.message-sign .details-item[data-v-c753fd36]{margin:16px;text-align:left}.privacy-policy[data-v-29a5df9e]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.privacy-policy .link-button[data-v-29a5df9e]{display:inline}.privacy-policy ol[data-v-29a5df9e]{list-style:upper-roman;padding:10px}.privacy-policy ol ol[data-v-29a5df9e]{list-style-position:inside;padding:0}.privacy-policy ol ul[data-v-29a5df9e]{padding-left:20px}.privacy-policy ol li[data-v-29a5df9e]{margin-bottom:20px;margin-left:10px}.privacy-policy ol ol li[data-v-29a5df9e],.privacy-policy ol ul li[data-v-29a5df9e]{margin:16px 0 16px 3px}.privacy-policy ol ol.download-options[data-v-29a5df9e],.privacy-policy ol ul.download-options[data-v-29a5df9e]{list-style-type:decimal}.privacy-policy ol ol.sharing-terms[data-v-29a5df9e],.privacy-policy ol ul.sharing-terms[data-v-29a5df9e]{list-style-type:lower-roman}.info-box[data-v-13169d05]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;margin-top:10px;padding:8px 12px;border-radius:4px;line-height:19px}.info-box.default[data-v-13169d05]{background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.75)}.info-box.success[data-v-13169d05]{background-color:rgba(0,211,161,.15);color:#00d3a1}.info-box.danger[data-v-13169d05]{background-color:rgba(255,71,70,.15);color:#ff4746}.info-box.warning[data-v-13169d05]{background-color:rgba(255,180,34,.15);color:#ffb422}.icon-link[data-v-74a50e4c],.url-status[data-v-74a50e4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.icon-link.alert[data-v-74a50e4c],.icon-link.blacklisted[data-v-74a50e4c],.icon-link.critical[data-v-74a50e4c],.url-status.alert[data-v-74a50e4c],.url-status.blacklisted[data-v-74a50e4c],.url-status.critical[data-v-74a50e4c]{color:#ff4746}.icon-link.not-secure[data-v-74a50e4c],.icon-link.not-verified[data-v-74a50e4c],.icon-link.warning[data-v-74a50e4c],.url-status.not-secure[data-v-74a50e4c],.url-status.not-verified[data-v-74a50e4c],.url-status.warning[data-v-74a50e4c]{color:#ffb422}.icon-link.help[data-v-74a50e4c],.icon-link.info[data-v-74a50e4c],.url-status.help[data-v-74a50e4c],.url-status.info[data-v-74a50e4c]{color:#1161fe}.icon-link.success[data-v-74a50e4c],.icon-link.verified[data-v-74a50e4c],.url-status.success[data-v-74a50e4c],.url-status.verified[data-v-74a50e4c]{color:#00d3a1}.icon-link .title[data-v-74a50e4c],.url-status .title[data-v-74a50e4c]{padding-right:10px}.icon-link .icon[data-v-74a50e4c],.url-status .icon[data-v-74a50e4c]{width:22px;height:22px;vertical-align:text-bottom;cursor:pointer}.retip .section-title[data-v-c912407c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.retip .url-bar>a[data-v-c912407c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.retip[data-v-c912407c]{padding:16px}.retip .url-bar[data-v-c912407c]{display:flex;align-items:center}.retip .url-bar svg[data-v-c912407c]{width:24px;height:24px}.retip .url-bar>a[data-v-c912407c]{overflow-wrap:anywhere;text-align:left;color:#fff;flex-grow:1;text-decoration:none;width:90%;margin:8px 0 8px 10px}.retip .input-field+.button[data-v-c912407c]{margin-top:50px}.retip .section-title[data-v-c912407c]{margin-bottom:8px;margin-top:16px;color:#fff;text-align:left}.retip .bottom-btn[data-v-c912407c]{max-width:280px;margin:10px auto 0}.seed-phrase-settings[data-v-2062bb15]{padding-inline:var(--screen-padding-x)}.seed-phrase-settings .white-text[data-v-2062bb15]{color:#fff}.seed-phrase-settings .button[data-v-2062bb15]{margin-top:22px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-34af2012]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-details[data-v-34af2012]{padding-inline:var(--screen-padding-x)}.seed-phrase-details .mnemonics[data-v-34af2012]{background:hsla(0,0%,100%,.15);border:2px solid hsla(0,0%,100%,.1);border-radius:16px;margin:0 0 20px 0;padding:12px;text-align:center;box-shadow:0 4px 8px 2px rgba(60,60,60,.1);box-sizing:border-box}.seed-phrase-details .mnemonics[data-v-34af2012] .content{padding:12px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-34af2012]{letter-spacing:.1em;line-height:32px;color:#fff;text-align:left;margin-bottom:12px}.seed-phrase-details .mnemonics .copy-btn[data-v-34af2012]{margin:0 auto;min-width:210px}.seed-phrase-details .buttons[data-v-34af2012]{display:flex;flex-direction:column;gap:var(--gap);margin-top:20px}.seed-phrase-notification[data-v-58f8a7a3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px;min-height:176px;border:2px solid #00d3a1;border-radius:16px;background:rgba(0,0,0,.85);position:absolute;bottom:90px;width:calc(100% - var(--screen-padding-x)*2);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#00d3a1}.seed-phrase-notification.error[data-v-58f8a7a3]{border-color:#ff4746;color:#ff4746}.seed-phrase-notification .text[data-v-58f8a7a3]{padding:16px;text-align:center}.seed-phrase-notification .icon-wrapper[data-v-58f8a7a3]{width:40px;height:40px;background:rgba(0,0,0,.3);border-radius:20px}.seed-phrase-notification .icon-wrapper .icon[data-v-58f8a7a3]{width:40px;height:40px}.seed-phrase-badge[data-v-54512592]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:16px;line-height:24px;height:30px;align-items:center;border:1px solid hsla(0,0%,100%,.44);border-radius:4px;padding:4px 6px;margin-right:4px;margin-bottom:8px;color:#fff;background-color:#000;cursor:pointer;letter-spacing:.1rem;line-height:100%}.seed-phrase-badge.selected[data-v-54512592]{opacity:.44;cursor:unset;background:transparent;border-color:#babac0;color:#fff}.seed-phrase-badge.editable[data-v-54512592]{background:rgba(0,0,0,.25);border-radius:4px;border:none;display:inline-flex}.seed-phrase-badge.editable .close-icon[data-v-54512592]{color:hsla(0,0%,100%,.44);width:24px;height:24px}.seed-phrase-verify-settings .title[data-v-71dd1346]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-verify-settings-body[data-v-71dd1346]{padding:var(--screen-padding-x)}.seed-phrase-verify-settings .title[data-v-71dd1346]{color:#fff;margin-bottom:18px;text-align:center}.seed-phrase-verify-settings .phraser[data-v-71dd1346]{padding:0;margin:18px -4px 0 0}.seed-phrase-verify-settings .phraser.bright[data-v-71dd1346]{background:hsla(0,0%,100%,.15);border:2px solid hsla(0,0%,100%,.1);border-radius:16px;padding:12px 8px;min-height:176px}.settings[data-v-df0a15e2]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.accordion-item[data-v-77e13361]{margin-bottom:8px}.accordion-item .accordion-label[data-v-77e13361]{display:flex;align-items:center;margin-block:5px;cursor:pointer}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]{width:14px;height:14px;margin-right:8px;color:#9e9e9e;transition:.3s}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]:not(.rotated){transform:rotate(-90deg)}.accordion-item .accordion-label .accordion-label-text[data-v-77e13361]{font-size:14px;font-weight:500;text-transform:uppercase;color:#00ff9d}.terms-of-service h1[data-v-dd719c76]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.terms-of-service[data-v-dd719c76]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.terms-of-service .italic[data-v-dd719c76]{font-style:italic}.terms-of-service .underline[data-v-dd719c76]{text-decoration:underline}.terms-of-service .bolder[data-v-dd719c76]{font-weight:700}.terms-of-service h1[data-v-dd719c76]{margin:20px;text-align:center}.terms-of-service ul[data-v-dd719c76]{margin-bottom:8px;padding-left:20px}.terms-of-service .link-button[data-v-dd719c76]{display:inline}.tips-claim[data-v-5a5b8cdc]{padding-inline:var(--screen-padding-x)}.tips-claim .header[data-v-5a5b8cdc]{margin:20px 0 24px 0;display:flex}.tips-claim .header .help-button[data-v-5a5b8cdc]{margin-left:8px}.tips-claim .header .help-button[data-v-5a5b8cdc] .icon{width:32px;height:32px}.tips-claim .input-field[data-v-5a5b8cdc]{margin:20px 0}.payload .payload-text[data-v-30e23ae8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.payload[data-v-30e23ae8]{text-align:left;width:100%}.payload .payload-header[data-v-30e23ae8]{display:flex;justify-content:space-between;margin-bottom:4px}.payload .payload-text[data-v-30e23ae8]{color:#fff;opacity:.85}.dialog[data-v-5b9d82eb]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:10px 8px;border-radius:8px;color:hsla(0,0%,100%,.5);background-color:#2b2b2b}.dialog[data-v-5b9d82eb]:after{content:"";position:absolute;z-index:-1;width:8px;height:8px;top:50%;left:-4px;transform:translateY(-50%) rotate(45deg);background-color:#2b2b2b}.dialog.dense[data-v-5b9d82eb]{padding:2px 4px;border-radius:4px;letter-spacing:0}.dialog.dense[data-v-5b9d82eb]:after{left:-3px}.dialog.bottom[data-v-5b9d82eb]:after{top:auto;left:50%;bottom:-8px}.dialog.bottom.dense[data-v-5b9d82eb]:after{left:40%}.transaction-multisig-consensus .consensus-label .label[data-v-2d65e988]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-multisig-consensus[data-v-2d65e988]{width:100%}.transaction-multisig-consensus .consensus-label[data-v-2d65e988]{margin-bottom:20px}.transaction-multisig-consensus .consensus-label .label[data-v-2d65e988]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.transaction-multisig-consensus .consensus-label .label .confirmations-count[data-v-2d65e988]{padding-left:4px;color:hsla(0,0%,100%,.75)}.transaction-multisig-consensus .consensus-label .btn-help[data-v-2d65e988]{margin-left:4px}.transaction-multisig-consensus .consensus .signers .signer[data-v-2d65e988]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px;margin-bottom:6px}.transaction-multisig-consensus .consensus .signers .signer .check-icon[data-v-2d65e988],.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2d65e988]{width:20px;height:20px;margin-left:20px;margin-right:4px;opacity:.5}.transaction-multisig-consensus .consensus .signers .signer .check-icon.active[data-v-2d65e988],.transaction-multisig-consensus .consensus .signers .signer .close-icon.active[data-v-2d65e988]{color:#00ff9d;opacity:1}.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2d65e988]{color:#ff4746;opacity:1}.multisig-proposal-details[data-v-51c1854d]{display:flex;flex-direction:column}.multisig-proposal-details .spinner[data-v-51c1854d]{align-self:center;width:56px;height:56px;flex-grow:1;display:flex;justify-content:center;align-items:center}.multisig-proposal-details .pending-icon[data-v-51c1854d]{width:16px;height:16px}.multisig-proposal-details .header[data-v-51c1854d]{display:flex;justify-content:center;align-items:center;flex-flow:column;background-color:#141414;min-height:42px;padding:14px;position:sticky;top:0;z-index:3}@media(min-width:362px)and (max-width:480px){.multisig-proposal-details .header[data-v-51c1854d]{width:100%}}.multisig-proposal-details .span-3-columns[data-v-51c1854d]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.multisig-proposal-details .content[data-v-51c1854d]{background-color:#191919;padding-bottom:120px}.multisig-proposal-details .content .transaction-overview[data-v-51c1854d]{padding:16px 12px 8px}.multisig-proposal-details .content .receiving-address[data-v-51c1854d]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.multisig-proposal-details .content .data-grid[data-v-51c1854d]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px var(--screen-padding-x)}.multisig-proposal-details .content .data-grid .tip-url .copy-text[data-v-51c1854d],.multisig-proposal-details .content .data-grid .tip-url[data-v-51c1854d]{width:100%}.multisig-proposal-details .content .data-grid .tip-url .link-button[data-v-51c1854d]{display:block}.multisig-proposal-details .content .explorer[data-v-51c1854d]{height:38px;padding-inline:16px;display:flex;align-items:center}.multisig-proposal-details .details-item[data-v-51c1854d] .label{white-space:nowrap}.multisig-proposal-details .reason[data-v-51c1854d] .value{color:#ffb422}.multisig-proposal-details .row[data-v-51c1854d]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px}.multisig-proposal-details .bottom-buttons[data-v-51c1854d]{padding:var(--screen-padding-x);position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(25,25,25,0),rgba(25,25,25,.8) 43.08%,rgba(25,25,25,.9) 90.79%)}.multisig-proposal-details .bottom-buttons .row[data-v-51c1854d]{gap:8px;padding-bottom:8px}.reset-wallet-settings[data-v-11f9ae84]{padding-inline:var(--screen-padding-x)}.reset-wallet-settings .reset-wallet-button[data-v-11f9ae84]{margin-top:34px}.network-row .name-and-actions .name[data-v-640debbe]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.network-row .network-details .url-label[data-v-640debbe]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.network-row .network-details[data-v-640debbe]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-row[data-v-640debbe]{margin-bottom:12px}.network-row.inactive[data-v-640debbe]{opacity:.5}.network-row .name-and-actions[data-v-640debbe]{display:flex;justify-content:space-between}.network-row .name-and-actions .name[data-v-640debbe]{margin:0}.network-row .name-and-actions .actions[data-v-640debbe]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;gap:4px;flex:1}.network-row .network-details[data-v-640debbe]{margin:0 0 0 26px;border-spacing:0}.network-row .network-details td[data-v-640debbe]{padding:0}.network-row .network-details .url-label[data-v-640debbe]{padding-right:8px;opacity:.6;text-transform:capitalize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.networks[data-v-00a35ffe]{padding-inline:var(--screen-padding-x)}.networks .networks-list[data-v-00a35ffe]{margin-top:20px}.networks .add-custom-network[data-v-00a35ffe]{margin-block:20px}.network-form .name-characters-left[data-v-7bbf3432]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-form[data-v-7bbf3432]{margin:16px var(--screen-padding-x)}.network-form .name-characters-left[data-v-7bbf3432]{opacity:.75}.network-form .invalid-form-message[data-v-7bbf3432]{margin-top:30px}.network-form .cancel-button[data-v-7bbf3432]{flex:0;padding-inline:32px}.network-form .button-wrapper[data-v-7bbf3432]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:35px;margin-bottom:10px;gap:8px}.authorized-accounts .count-value[data-v-667dace1]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.authorized-accounts .account-row[data-v-667dace1]{display:flex;align-items:center}.authorized-accounts .external-link[data-v-667dace1]{margin-left:7px;width:22px;height:22px;opacity:.85}.authorized-accounts .account-list[data-v-667dace1]{display:flex;flex-direction:column;gap:8px;width:100%;min-width:154px}.authorized-accounts .count-value[data-v-667dace1]{line-height:19px}.authorized-accounts .dialog[data-v-667dace1]{padding:4px;border-radius:4px;margin-left:9px}.multisig-details[data-v-304d54fa]{padding:0 12px;display:flex;flex-direction:column;gap:8px}.multisig-details .address-row[data-v-304d54fa]{display:flex;align-items:center;gap:8px}.multisig-details .text-address[data-v-304d54fa]{color:#fff}.multisig-details .row[data-v-304d54fa]{display:flex;gap:24px}.multisig-details .explorer-link[data-v-304d54fa]{color:hsla(0,0%,100%,.75);margin-block:4px}.multisig-details .explorer-link .external-icon[data-v-304d54fa]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.multisig-details .explorer-link[data-v-304d54fa]:active,.multisig-details .explorer-link[data-v-304d54fa]:hover{color:#fff}.apps-browser-header .title .text[data-v-5143cb24]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.apps-browser-header .title .host[data-v-5143cb24]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.apps-browser-header[data-v-5143cb24]{--header-height:40px;position:sticky;display:flex;align-items:center;justify-content:space-between;top:0;z-index:2;height:calc(var(--header-height) + env(safe-area-inset-top));background-color:var(--screen-bg-color);padding:env(safe-area-inset-top) 8px 0 8px;width:100%}@media(min-width:362px)and (max-width:480px){.apps-browser-header[data-v-5143cb24]{display:flex;justify-content:space-between;width:100%}}.apps-browser-header .left[data-v-5143cb24]{display:flex;gap:4px;align-items:center}.apps-browser-header .left .icon-btn[data-v-5143cb24]{--size:20px;--icon-opacity:0.5;width:32px;height:32px;transform:rotate(180deg)}.apps-browser-header .right[data-v-5143cb24]{display:flex;justify-content:flex-end;gap:4px}.apps-browser-header .title .text[data-v-5143cb24]{padding:0 8px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.apps-browser-header .title .host[data-v-5143cb24]{display:flex;align-items:center;gap:2px;color:#fff}.apps-browser-header .title .host .secure-lock[data-v-5143cb24]{height:17px;width:17px;opacity:.75}.apps-browser-list-item[data-v-75944b2a]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin-top:4px}.apps-browser-list-item[data-v-75944b2a]:hover{cursor:pointer}.apps-browser-list-item:hover .app-image-wrapper[data-v-75944b2a]{background:#212121}.apps-browser-list-item:hover .app-image[data-v-75944b2a],.apps-browser-list-item:hover .app-title[data-v-75944b2a]{opacity:1}.apps-browser-list-item .app-image-wrapper[data-v-75944b2a]{width:88px;height:88px;display:flex;justify-content:center;align-items:center;background:#262626;border-radius:10px}.apps-browser-list-item .app-image[data-v-75944b2a]{width:40px;height:40px;opacity:.85}.apps-browser-list-item .app-title[data-v-75944b2a]{padding:4px 8px;font-size:12px;line-height:16px;text-align:center;color:#fff;opacity:.7}.apps-browser[data-v-5be80fbe]{height:100vh;overflow:hidden}@media(min-width:481px){.apps-browser[data-v-5be80fbe]{height:600px}}.apps-browser .input-url[data-v-5be80fbe]{margin:16px 8px}.apps-browser .input-url .icon[data-v-5be80fbe]{width:20px!important;height:20px!important;margin:4px}.apps-browser .apps-browser-list[data-v-5be80fbe]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;align-items:flex-start;padding-top:8px}.apps-browser .apps-browser-popular-apps[data-v-5be80fbe]{margin-left:12px;margin-bottom:8px;opacity:.5;color:#fff;font-size:16px;font-weight:600;line-height:24px}.apps-browser .apps-browser-iframe[data-v-5be80fbe]{--header-height:40px;width:100%;height:100%;overflow:hidden;border:none;margin-top:calc((var(--header-height) + env(safe-area-inset-top))*-1);padding-top:calc(var(--header-height) + env(safe-area-inset-top))}.swap-route .title[data-v-e104491c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.swap-route .swap .divider[data-v-e104491c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.swap-route[data-v-e104491c]{width:100%;overflow:hidden}.swap-route .title[data-v-e104491c]{color:#787878;padding-bottom:8px}.swap-route .swap-wrapper[data-v-e104491c]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;flex-wrap:wrap;row-gap:4px}.swap-route .swap-wrapper[data-v-e104491c] :last-of-type{flex:1}.swap-route .swap-wrapper :last-of-type .tokens[data-v-e104491c]{width:100%}.swap-route .swap[data-v-e104491c]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;flex:0;position:relative;height:24px}.swap-route .swap .divider[data-v-e104491c],.swap-route .swap .tokens[data-v-e104491c]{background:#191919;z-index:1;padding-right:4px}.swap-route .swap[data-v-e104491c]:before{content:"";background-image:linear-gradient(#fff 2px,transparent 0);position:absolute;top:calc(50% - 1px);height:24px;width:100vh}.swap-route .swap .divider[data-v-e104491c]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:2px;color:#fff;white-space:nowrap}.swap-route .swap .divider .arrow[data-v-e104491c],.swap-route .swap .divider .space[data-v-e104491c]{background-image:linear-gradient(#fff 2px,transparent 0);width:12px;height:24px;transform:translateY(calc(50% - 1px));position:relative}.swap-route .swap .divider .arrow[data-v-e104491c]{margin-right:4px}.swap-route .swap .divider .arrow svg[data-v-e104491c]{position:absolute;transform:translateY(-5px);left:7px;width:9px;height:12px}.swap-rates .rate .price[data-v-469e4033]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.swap-rates .title[data-v-469e4033]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.swap-rates[data-v-469e4033]{width:100%}.swap-rates .title[data-v-469e4033]{color:#787878;padding-bottom:8px}.swap-rates .rate[data-v-469e4033]{padding-bottom:6px;width:100%;display:inline-flex;justify-content:space-between;align-items:center}.swap-rates .rate .price[data-v-469e4033]{padding-right:4px}.swap-rates .rate div[data-v-469e4033]{display:inline-flex;align-items:center}.pool-tokens[data-v-3dd663a7]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:16px}.transaction-reverted-status .status-wrapper[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.transaction-reverted-status .revert-info[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-reverted-status[data-v-e674478a]{width:100%;padding:10px 16px 16px}.transaction-reverted-status .status-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;letter-spacing:.05em;color:#ffb422}.transaction-reverted-status .status-wrapper[data-v-e674478a]:after,.transaction-reverted-status .status-wrapper[data-v-e674478a]:before{content:"";width:100%;height:1px;background:rgba(255,180,34,.44)}.transaction-reverted-status .status-wrapper .icon[data-v-e674478a]{width:20px;height:20px;margin-right:2px}.transaction-reverted-status .status-wrapper .text-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-inline:3px}.transaction-reverted-status .revert-info[data-v-e674478a]{line-height:19px;margin-top:10px;color:#babac0;text-align:center}.transaction-details-base .header .transaction-token-rows[data-v-4d3f28ab] .token-row .tokens{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.transaction-details-base .header .transaction-token-rows[data-v-4d3f28ab] .token-row .amount{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.transaction-details-base .content .explorer .link-button[data-v-4d3f28ab]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transaction-details-base[data-v-4d3f28ab]{display:flex;flex-direction:column}.transaction-details-base .pending-icon[data-v-4d3f28ab]{width:16px;height:16px}.transaction-details-base .row[data-v-4d3f28ab]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.transaction-details-base .header[data-v-4d3f28ab]{display:flex;justify-content:center;align-items:center;flex-flow:column;min-height:73px;position:static}@media(min-width:362px)and (max-width:480px){.transaction-details-base .header[data-v-4d3f28ab]{width:100%}}.transaction-details-base .header .transaction-token-rows.reverse[data-v-4d3f28ab]{display:flex;flex-direction:column-reverse}.transaction-details-base .header .transaction-token-rows[data-v-4d3f28ab] .token-row{margin-bottom:12px;padding-inline:16px}.transaction-details-base .header .transaction-token-rows[data-v-4d3f28ab] .token-row .tokens{color:hsla(0,0%,100%,.75)}.transaction-details-base .span-3-columns[data-v-4d3f28ab]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.transaction-details-base .content[data-v-4d3f28ab]{background-color:#191919}.transaction-details-base .content .transaction-overview[data-v-4d3f28ab]{padding:16px 12px 8px}.transaction-details-base .content .pool-tokens.reverse[data-v-4d3f28ab]{flex-direction:column-reverse}.transaction-details-base .content .data-grid[data-v-4d3f28ab]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px 16px}.transaction-details-base .content .explorer[data-v-4d3f28ab]{height:38px;padding-inline:16px;display:flex;align-items:center}.transaction-details-base .content .explorer .link-button[data-v-4d3f28ab]{text-decoration:none;color:hsla(0,0%,100%,.75)}.transaction-details-base .content .explorer .link-button svg[data-v-4d3f28ab]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.transaction-details-base .content .explorer .link-button[data-v-4d3f28ab]:hover{color:#fff;text-decoration:underline}.transaction-details-base .content .explorer .link-button:hover svg[data-v-4d3f28ab]{color:#fff}.transaction-details-base .content .payer-id[data-v-4d3f28ab]{position:relative}.transaction-details-base .content .payer-id .dialog-box[data-v-4d3f28ab]{width:30px;height:20px;position:absolute;right:15px;top:-28px}.transaction-details-base .details-item[data-v-4d3f28ab] .label{white-space:nowrap}.transaction-details-base .reason[data-v-4d3f28ab] .value{word-break:break-all;color:#ffb422}.transaction-details .tip-url,.transaction-details .tip-url .copy-text{width:100%}.transaction-details .tip-url .link-button{display:block}.loader[data-v-5af93660]{position:fixed;z-index:3;top:0;left:0;display:flex;width:100%;height:100%}.loader .container[data-v-5af93660]{width:100%;height:100%;background-color:var(--screen-bg-color);opacity:.9;display:flex;align-items:center;justify-content:center}@media(min-width:481px){.loader .container[data-v-5af93660]{width:360px;height:600px;border-radius:10px;margin:auto}}.loader .container .spinner[data-v-5af93660]{width:72px;height:72px}.account-create-modal .message[data-v-34ec1364]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create-modal .content-wrapper[data-v-34ec1364]{padding:0 16px 32px}.account-create-modal .message[data-v-34ec1364]{line-height:24px;margin:0 auto 36px}.status-icon.alert[data-v-6ee6fe2e],.status-icon.critical[data-v-6ee6fe2e]{color:#ff4746}.status-icon.not-secure[data-v-6ee6fe2e],.status-icon.warning[data-v-6ee6fe2e]{color:#ffb422}.status-icon.help[data-v-6ee6fe2e],.status-icon.info[data-v-6ee6fe2e]{color:#1161fe}.status-icon.success[data-v-6ee6fe2e]{color:#00d3a1}.icon-boxed{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:4px solid hsla(0,0%,100%,.05);border-radius:50%;background-color:#131313}.icon-boxed .icon{width:48px;height:48px}.default .title[data-v-0b41fe35]{margin-bottom:16px}.default .top-icon-wrapper[data-v-0b41fe35]{margin-bottom:20px;text-align:center}.default .center-button[data-v-0b41fe35]{width:auto;padding:0 24px}.account-create .message[data-v-37748331]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create .content-wrapper[data-v-37748331]{padding:0 16px 32px}.account-create .message[data-v-37748331]{padding-inline:inherit;line-height:24px;margin:0 auto 36px}.import-account-modal .import-account .header[data-v-6ba70527]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.import-account-modal .import-account .regular-text[data-v-6ba70527]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:16px;line-height:24px}.import-account-modal[data-v-6ba70527]{text-align:center}.import-account-modal .import-account .header[data-v-6ba70527]{color:#fff}.import-account-modal .import-account .regular-text[data-v-6ba70527]{color:#fff;text-align:center;margin-bottom:24px;margin-top:8px}.import-account-modal .scan-button[data-v-6ba70527]{color:#fff;display:block;width:32px;height:24px}.account-select-options-item[data-v-2a76cd77]{--border-width:3px;width:100%;padding:2px 8px}.account-select-options-item .option-wrapper[data-v-2a76cd77]{display:flex;justify-content:space-between;align-items:flex-start;flex-flow:row;position:relative;padding:6px 8px;border-radius:10px;width:100%}.account-select-options-item .option-wrapper[data-v-2a76cd77]:before{top:0;left:0;content:"";position:absolute;width:100%;height:100%;z-index:-1;background-color:var(--bg-color);border:var(--border-width) solid var(--bg-color);box-sizing:border-box;border-radius:10px;transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper[data-v-2a76cd77]:hover:not(.selected):before{opacity:.8}.account-select-options-item .option-wrapper.selected[data-v-2a76cd77]{background-color:transparent;border:var(--border-width) solid var(--bg-color);transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper.selected[data-v-2a76cd77]:before{--border-offset:calc(var(--border-width) - 2px);opacity:.4;border-color:transparent;border-radius:5px;top:var(--border-offset);left:var(--border-offset);width:calc(100% - var(--border-offset)*2);height:calc(100% - var(--border-offset)*2)}.account-select-options-item .option-wrapper .account-info[data-v-2a76cd77]{min-width:0;width:100%}.account-select-options-item .option-wrapper .token-amount[data-v-2a76cd77]{text-align:right}.form-select-options-header[data-v-25410311]{text-align:left}.form-select-options-header .title[data-v-25410311]{padding-left:12px;line-height:48px}.form-select-options-header .search-field[data-v-25410311]{margin:0 8px var(--gap)}.check-icon[data-v-0e52278e]{align-self:center;margin-bottom:8px}.claimed[data-v-0e52278e]{color:#1161fe}.error-msg[data-v-56780574]{color:#ff4746;margin-bottom:30px}span[data-v-56780574]{display:block;font-weight:700}.form-select-options-item .option-wrapper[data-v-583e6b6c]{display:flex;gap:8px;align-items:center;padding-block:4px}.qr-code-reader .heading[data-v-dd846234]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.qr-code-reader .subtitle[data-v-dd846234],.qr-code-reader .title[data-v-dd846234]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.qr-code-reader .top-icon-wrapper[data-v-dd846234]{margin:0 auto 16px auto;text-align:center;color:#1161fe}.qr-code-reader .camera[data-v-dd846234]{--camera-size:312px;margin:20px auto 0;width:var(--camera-size);height:var(--camera-size);display:flex;justify-content:center;align-items:center;border-radius:10px;background:hsla(0,0%,100%,.05);overflow:hidden}.qr-code-reader .camera .video[data-v-dd846234]{height:var(--camera-size)}.qr-code-reader .camera .video-loader[data-v-dd846234]{display:flex;justify-content:center;align-items:center;position:absolute;z-index:-1}.qr-code-reader .camera .video-loader .spinner[data-v-dd846234]{width:56px;height:56px}.qr-code-reader .heading[data-v-dd846234]{color:#fff}.qr-code-reader .subtitle[data-v-dd846234],.qr-code-reader .title[data-v-dd846234]{margin-top:4px;margin-bottom:20px;line-height:24px;color:hsla(0,0%,100%,.75)}.back-to-top[data-v-12577589]{display:flex;justify-content:center;align-items:center;flex-flow:row;width:100%;height:40px;background:hsla(0,0%,100%,.1)}.back-to-top[data-v-12577589]:hover{background:hsla(0,0%,100%,.08)}.back-to-top:hover .chevron[data-v-12577589]{opacity:.75}.back-to-top .chevron[data-v-12577589]{transform:rotate(-90deg);opacity:.5}.asset-selector[data-v-26e13b95]{padding-top:env(safe-area-inset-top)}.asset-selector .search-bar[data-v-26e13b95]{margin:8px 8px 16px}.asset-selector .title[data-v-26e13b95]{margin-left:16px;margin-bottom:0;line-height:48px;text-align:left}.asset-selector .appearing-element[data-v-26e13b95]{width:100%;opacity:0;z-index:-1;transition:opacity .25s ease-in-out}.asset-selector .appearing-element.visible[data-v-26e13b95]{opacity:1;z-index:1}.reset-wallet .info .title[data-v-0ccd3544]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.reset-wallet .info .text[data-v-0ccd3544]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.reset-wallet .icon-wrapper[data-v-0ccd3544]{margin:8px auto 18px;color:#ff4746}.reset-wallet .info .title[data-v-0ccd3544]{color:#fff;padding-bottom:20px}.reset-wallet .info .text[data-v-0ccd3544]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}span[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84],span[data-v-3ffbff84]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{font-weight:400}span.address[data-v-3ffbff84]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3ffbff84]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3ffbff84],span[data-v-3ffbff84]{word-wrap:break-word}span strong[data-v-3ffbff84]{color:#fff}span.address strong[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{text-align:center;line-height:20px}.help a[data-v-3ffbff84],.msg a[data-v-3ffbff84]{cursor:pointer;text-decoration:none;color:#1161fe}.footer[data-v-3ffbff84]{width:100%!important}.msg .sub-header[data-v-179cf921]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}span[data-v-179cf921]{font-weight:500}.msg[data-v-179cf921],span[data-v-179cf921]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.msg[data-v-179cf921]{font-weight:400}span.address[data-v-179cf921]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-179cf921]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-179cf921],span[data-v-179cf921]{word-wrap:break-word}span strong[data-v-179cf921]{color:#fff}span.address strong[data-v-179cf921]{font-weight:500}.msg[data-v-179cf921]{text-align:left;line-height:20px}.msg .sub-header[data-v-179cf921]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;margin-bottom:20px}.msg .title[data-v-179cf921]{color:#fff}.msg .capitalize[data-v-179cf921]:first-letter{text-transform:capitalize}.consensus-info .content .subtitle[data-v-2c9349fa]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.consensus-info .content[data-v-2c9349fa]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;text-align:center;line-height:22px}.consensus-info .content .subtitle[data-v-2c9349fa]{margin-top:-8px}.consensus-info .content .list[data-v-2c9349fa]{text-align:left;padding:16px 24px 8px;margin:0}.payload-form .header[data-v-3d4412a8]{text-align:center;padding:8px 16px 4px}.payload-form .description[data-v-3d4412a8]{margin-top:12px}.payload-form .btn-cancel[data-v-3d4412a8]{max-width:114px}.transfer-send-amount .amount-input[data-v-e0bc7e78]{margin-bottom:22px}.transfer-send-amount.without-margin .amount-input[data-v-e0bc7e78]{margin-bottom:0}.claim-gift-card .header[data-v-4e9dc4e3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.claim-gift-card .redeem-balance>span[data-v-4e9dc4e3],.claim-gift-card .redeemed-amount[data-v-4e9dc4e3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.claim-gift-card .already-redeemed[data-v-4e9dc4e3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.claim-gift-card .max-button[data-v-4e9dc4e3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.claim-gift-card .header[data-v-4e9dc4e3]{text-align:center;margin-bottom:4px}.claim-gift-card .check-circle-icon[data-v-4e9dc4e3]{width:40px;height:40px;color:#00d3a1;display:flex;align-self:center;margin:8px auto 4px auto}.claim-gift-card .redeemed-amount[data-v-4e9dc4e3]{display:flex;justify-content:center;color:#fff;line-height:24px}.claim-gift-card .redeemed-amount .redeemed-by[data-v-4e9dc4e3]{opacity:.75;margin-left:4px}.claim-gift-card .details-item[data-v-4e9dc4e3]{display:flex;justify-content:center}.claim-gift-card .redeem-balance[data-v-4e9dc4e3]{display:flex;flex-direction:column;justify-items:center;margin:auto}.claim-gift-card .redeem-balance>span[data-v-4e9dc4e3]{line-height:24px;display:block;color:#fff;opacity:.5;margin-bottom:4px}.claim-gift-card .redeem-balance .balance-info[data-v-4e9dc4e3]{padding:8px 0 16px 0;border-radius:10px;background-image:url(/img/buy-ae.491af327.jpg)}.claim-gift-card .redeem-balance .balance-info.gray[data-v-4e9dc4e3]{filter:grayscale(1)}.claim-gift-card .already-redeemed[data-v-4e9dc4e3]{display:block;text-align:center;margin-top:24px;color:#fff}.claim-gift-card .max-button[data-v-4e9dc4e3]{padding:2px 8px;color:#1161fe;line-height:20px;border:2px solid transparent;border-radius:12px}.claim-gift-card .max-button[data-v-4e9dc4e3]:hover{background:rgba(17,97,254,.15)}.claim-gift-card .max-button.chosen[data-v-4e9dc4e3]{background:rgba(17,97,254,.15);border-color:rgba(17,97,254,.5)}.claim-gift-card .buttons[data-v-4e9dc4e3]{width:100%;display:flex;flex-direction:column;gap:16px}.claim-gift-card .buttons .btn-main[data-v-4e9dc4e3]{width:100%}.btn-text[data-v-656ac1bf]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;color:#1161fe;display:flex;align-items:center;padding:2px 4px 2px 0;text-transform:uppercase;gap:4px;width:-moz-fit-content;width:fit-content}.btn-text[data-v-656ac1bf]:hover:not([disabled]){border-radius:8px;background:rgba(17,97,254,.15)}.btn-text.has-icon[data-v-656ac1bf]{gap:4px}.btn-text.has-icon .btn-text-icon[data-v-656ac1bf]{flex-shrink:0;width:20px;height:20px;color:inherit}.number-select-input[data-v-5b045253]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.number-select[data-v-5b045253]{position:relative}.number-select-input[data-v-5b045253]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;color:hsla(0,0%,100%,.75);background-color:hsla(0,0%,100%,.08);border:2px solid transparent;border-radius:10px;padding:6px 22px 6px 10px;transition:all .12s ease-out;cursor:pointer}.number-select-input[data-v-5b045253]:hover{color:#fff;background-color:hsla(0,0%,100%,.05);border-color:hsla(0,0%,100%,.15)}.number-select-input[data-v-5b045253]:focus{font-weight:500;color:#fff;background-color:rgba(0,0,0,.44);border-color:#1161fe}.number-select .chevron-icon[data-v-5b045253]{top:50%;transform:translateY(-50%);right:8px;width:8px;position:absolute;color:hsla(0,0%,100%,.75);pointer-events:none}.multisig-vault-create-review .creator-error-message[data-v-4ce16a02]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.multisig-vault-create-review[data-v-4ce16a02]{display:flex;flex-direction:column;gap:var(--gap)}.multisig-vault-create-review .creator-error-message[data-v-4ce16a02]{letter-spacing:normal;color:#ff4746;line-height:22px}.multisig-vault-create-review .creator-error-message span[data-v-4ce16a02]{font-weight:500}.multisig-vault-create-review .loading-icon[data-v-4ce16a02]{margin-inline:auto;width:72px}.multisig-vault-create-review .authorized-signers[data-v-4ce16a02]{display:flex;flex-direction:column;gap:4px}.multisig-vault-create-review .authorized-signers-row[data-v-4ce16a02]{display:flex;gap:4px;align-items:center}.avatar-with-chain-name .centered[data-v-247c52a6],.avatar-with-chain-name .chain-name[data-v-247c52a6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.avatar-with-chain-name[data-v-247c52a6]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;width:100%;gap:8px}.avatar-with-chain-name .avatar[data-v-247c52a6]{margin-top:8px;background-color:#000}.avatar-with-chain-name .chain-name[data-v-247c52a6]{text-align:left;opacity:.75}.avatar-with-chain-name .centered[data-v-247c52a6]{opacity:1;text-align:center;color:#fff;width:100%}.avatar-with-chain-name.only-name[data-v-247c52a6]{align-items:center}.avatar-with-chain-name.only-name .avatar[data-v-247c52a6]{margin-top:0}.progress-bar[data-v-1dd3e346]{height:12px;border-radius:4px;overflow:hidden;background-color:hsla(0,0%,100%,.1)}.progress-bar .progress[data-v-1dd3e346]{height:100%;background-color:#00d3a1;transition:width .1s}.multisig-vault-creation-progress .multisig-account-created .message[data-v-38dc3033]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-38dc3033]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-38dc3033]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-vault-creation-progress .multisig-account-created .ae-address[data-v-38dc3033]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.multisig-vault-creation-progress[data-v-38dc3033]{padding-top:env(safe-area-inset-top)}.multisig-vault-creation-progress .phase-list[data-v-38dc3033]{padding-top:24px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-38dc3033]{display:inline-flex;align-items:center;gap:12px;padding:8px 0;opacity:.5}.multisig-vault-creation-progress .phase-list .phase-item.highlighted[data-v-38dc3033]{opacity:1}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-38dc3033],.multisig-vault-creation-progress .phase-list .phase-item .phase-pending-icon[data-v-38dc3033],.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-38dc3033]{width:24px;height:24px}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-38dc3033]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px;border:2px solid hsla(0,0%,100%,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-38dc3033]{color:#00d3a1;background-color:rgba(0,211,161,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-item-caption[data-v-38dc3033]{font-weight:400;color:hsla(0,0%,100%,.5)}.multisig-vault-creation-progress .multisig-account-created[data-v-38dc3033]{padding-top:30px;text-align:center}.multisig-vault-creation-progress .multisig-account-created.left[data-v-38dc3033]{text-align:left}.multisig-vault-creation-progress .multisig-account-created.left .message[data-v-38dc3033],.multisig-vault-creation-progress .multisig-account-created.left .sub-message[data-v-38dc3033]{margin-inline:8px}.multisig-vault-creation-progress .multisig-account-created .message[data-v-38dc3033]{max-width:250px;margin-inline:auto;padding-bottom:16px;color:#fff;line-height:22px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-38dc3033]{color:hsla(0,0%,100%,.85);line-height:20px}.multisig-vault-creation-progress .multisig-account-created .ae-address[data-v-38dc3033]{align-items:flex-end;color:#fff}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-103882ae]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-create[data-v-103882ae]{padding-top:env(safe-area-inset-top)}.multisig-vault-create-form .scan-button[data-v-103882ae]{color:#fff;display:block;width:32px;height:24px}.multisig-vault-create-form .signers-add-wrapper[data-v-103882ae]{display:flex;align-items:center;margin:20px 0}.multisig-vault-create-form .signers-add-wrapper .btn-help[data-v-103882ae]{display:flex;margin-left:4px}.multisig-vault-create-form .btn-remove-signer[data-v-103882ae]{width:20px!important;margin:-4px -6px -4px 0;transform:rotate(45deg);cursor:pointer;transition:all .15s;color:#babac0}.multisig-vault-create-form .btn-remove-signer[data-v-103882ae]:hover{opacity:.8}.multisig-vault-create-form .description[data-v-103882ae],.multisig-vault-create-form .signers-count[data-v-103882ae]{color:hsla(0,0%,100%,.5)}.multisig-vault-create-form .signers-count[data-v-103882ae]{display:flex;align-items:center;padding:6px 0}.multisig-vault-create-form .signers-count .text-emphasis[data-v-103882ae]{color:hsla(0,0%,100%,.75)}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-103882ae]{width:45px;height:40px;margin-right:10px;border-radius:10px;text-align:center;color:#fff;border:2px solid hsla(0,0%,100%,.08);background-color:hsla(0,0%,100%,.08)}.multisig-vault-create-form .signers-count .num-of-signers-selector option[data-v-103882ae]{color:#fff;background-color:#262626}.multisig-vault-create-form .signers-count .text[data-v-103882ae]{margin-left:4px;margin-right:8px}.warning-dapp-browser .icon-wrapper[data-v-6827da60]{margin:8px auto 18px;color:#ffb422}.warning-dapp-browser .info .title[data-v-6827da60]{color:#fff;padding-bottom:20px}.warning-dapp-browser .info .text[data-v-6827da60]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}.confirm .msg[data-v-0a2ef5d2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm .alert[data-v-0a2ef5d2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.confirm[data-v-0a2ef5d2]{text-align:center}.confirm .content[data-v-0a2ef5d2]{padding:8px 24px}.confirm .text-heading-2[data-v-0a2ef5d2]{margin-bottom:16px}.confirm .account-selector[data-v-0a2ef5d2]{margin:0 auto;padding-bottom:8px}.confirm .active-account[data-v-0a2ef5d2]{display:flex;justify-content:center;align-items:space-between;flex-flow:row;margin-bottom:22px}.confirm .alert[data-v-0a2ef5d2]{align-items:center;text-align:center;margin:10px 0;padding:8px 12px;border-radius:4px;color:rgba(255,71,70,.75);line-height:19px}.confirm .msg[data-v-0a2ef5d2]{color:hsla(0,0%,100%,.85);padding:0 18px}.confirm .icon-wrapper[data-v-0a2ef5d2]{margin-bottom:20px}.confirm .icon-wrapper .status-icon[data-v-0a2ef5d2]{margin:8px}.confirm .icon-wrapper .status-icon.refuse[data-v-0a2ef5d2]{color:#ffb422}.browser-action-item[data-v-26ae16da]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:18px 2px 18px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.browser-action-item[data-v-26ae16da]:active,.browser-action-item[data-v-26ae16da]:hover{color:#fff}.browser-action-item[data-v-26ae16da]:active{transform:scale(.99)}.browser-action-item .card-icon[data-v-26ae16da]{margin-right:16px;opacity:.85}.browser-action-item-content[data-v-26ae16da]{display:inline-flex;align-items:center}.browser-action-item-info[data-v-26ae16da]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300;font-size:14px}.network-button .circle[data-v-8877cc2c]{width:6px;height:6px;border-radius:100%;background-color:#ffb422}.network-button .circle.connected[data-v-8877cc2c]{background-color:#00d3a1}.network-button .circle.error[data-v-8877cc2c]{background-color:#ff4746}.apps-browser[data-v-fde1aa64]{opacity:.75}.header .wrapper .title .text[data-v-1b86e0cc]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.header[data-v-1b86e0cc]{z-index:2;height:var(--header-height)}.header .toolbar[data-v-1b86e0cc]{--opacity:0;--min-height:0;--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0}.header .wrapper[data-v-1b86e0cc]{display:flex;align-items:center;justify-content:space-between;background-color:var(--screen-bg-color);padding:0 8px;width:100%;height:var(--header-height)}@media(min-width:362px)and (max-width:480px){.header .wrapper[data-v-1b86e0cc]{display:flex;justify-content:space-between;width:100%}}.header .wrapper .left[data-v-1b86e0cc]{display:flex}.header .wrapper .left .home-button.disabled[data-v-1b86e0cc]{cursor:default}.header .wrapper .left .home-button:not(.disabled) .home-icon[data-v-1b86e0cc]{cursor:pointer}.header .wrapper .left .home-button:not(.disabled):hover svg[data-v-1b86e0cc]{color:#0e52d8}.header .wrapper .left .home-button:not(.disabled):active svg[data-v-1b86e0cc]{color:#0e52d8;opacity:.9}.header .wrapper .left .home-button .home-icon[data-v-1b86e0cc]{width:32px;height:32px;color:#1161fe}.header .wrapper .right[data-v-1b86e0cc]{display:flex;justify-content:flex-end;gap:8px}.header .wrapper .title .text[data-v-1b86e0cc]{padding:0 4px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.header .wrapper .title[data-v-1b86e0cc]:only-child{flex-grow:2;margin-left:8px}.header .wrapper.not-logged-in:not(:only-child) .left[data-v-1b86e0cc]{z-index:1}.header .wrapper.not-logged-in:not(:only-child) .title[data-v-1b86e0cc]{width:100%;position:absolute}.header .wrapper .home-button+.back[data-v-1b86e0cc]{margin-left:22px}.node-connection-status[data-v-43e2443e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 10px;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.node-connection-status[data-v-43e2443e]:before{content:"";position:absolute;z-index:-1;inset:0;background:#282828;opacity:.8}.node-connection-status.is-error[data-v-43e2443e]{color:#ffb422}.text-heading-1{font-weight:400;font-size:19px;line-height:24px}.text-heading-1,.text-heading-2{font-family:IBM Plex Sans,sans-serif}.text-heading-2{font-weight:500;font-size:18px;line-height:20px}.text-heading-3{font-weight:600}.label-text,.text-heading-3{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:24px}.label-text{font-weight:500}.text-description{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.text-address{font-family:IBM Plex Mono;font-weight:500;font-size:11px;line-height:20px}@keyframes pop-in{0%{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}.fade-transition-enter-active,.fade-transition-leave-active{transition:opacity .15s ease-out}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0}.page-transition-enter-active{transition:opacity .3s ease-out}.page-transition-enter-from,.page-transition-leave-to{opacity:0}.fade-between-enter-active,.fade-between-leave-active{transition:all .4s}.fade-between-enter-from,.fade-between-leave-to{opacity:0;position:absolute;top:0;left:0;width:100%}*{box-sizing:border-box;scrollbar-width:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-overflow-style:none}::-webkit-scrollbar{display:none}html.is-extension .ion-page,html.is-extension .tabs-inner,html.is-extension ion-router-outlet,html.is-extension ion-tabs{contain:layout style!important}html.is-extension body{position:unset}html.is-extension .app{width:360px;height:600px}body.scanner-active{background-color:transparent;--background:transparent;--ion-background-color:transparent;--screen-bg-color:transparent}body.scanner-active .app .app-wrapper{--screen-bg-color:transparent;background:transparent}body.scanner-active .ionic-wrapper,body.scanner-active.color-bg-app{background-color:transparent}body.scanner-active #app{background:transparent;position:absolute;z-index:2;width:100%}body.scanner-active .account-ion-content,body.scanner-active .ion-content-bg,body.scanner-active .ion-content-bg--lighter,body.scanner-active ion-content{--background:transparent;background:transparent}.ion-content-bg{background-color:#141414}.ion-content-bg--lighter{background-color:#191919}ion-content{--offset-bottom:auto!important;--overflow:hidden;overflow:auto}ion-content::-webkit-scrollbar{display:none}ion-content::part(scroll){--padding-end:0;--padding-start:0;--padding-top:0}#app,body,html{height:var(--height)}#app,body{--ion-text-color:$color-white;margin:0;background-color:#000}#app.color-bg-app,body.color-bg-app{background-color:#141414}@media(min-width:481px){#app,body{display:flex;flex-direction:column;justify-content:center;align-items:center}}@-moz-document url-prefix(){html{scrollbar-width:none}}h1,h2,h3,h4,h5,h6{margin:0}a{color:#1161fe;text-decoration:none;cursor:pointer}p{margin:0;word-break:break-word}p:not(:last-of-type){margin-bottom:8px}ol,ul{margin:0}button{padding:0;background:none;border:none;color:#babac0}button:focus{outline:none}hr{margin:20px calc(var(--screen-padding-x)*-1);border:none;border-bottom:1px solid hsla(0,0%,100%,.06)}.error-msg{color:#ff4746;margin-top:22px;font-size:.88rem}.tip-note-preview{border-radius:5px;padding:10px;font-size:14px;border:1px dashed #fff;margin-top:15px;margin-bottom:30px;text-align:left;word-break:break-word}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-address{letter-spacing:.13em;color:hsla(0,0%,100%,.75);word-break:break-word;transition:.1s}.text-address:hover{color:#fff}.text-heading-1{margin-bottom:18px;color:#fff;text-align:center}.text-heading-2{margin-bottom:.45em;color:#fff}.text-heading-3{color:#fff}.text-muted{color:hsla(0,0%,100%,.75)}.text-description{color:hsla(0,0%,100%,.85);text-align:left;white-space:pre-line}.text-description a{color:#1161fe;text-decoration:none}.text-description a:hover{text-decoration:underline}.text-description strong{font-weight:500;color:#fff}.label-text{color:#787878}.relative{position:relative}.color-warning{color:#ffb422}.styled-scrollbar,.styled-scrollbar ion-content{scrollbar-color:hsla(0,0%,100%,.15) transparent;scrollbar-width:thin;-ms-overflow-style:auto}.styled-scrollbar ion-content::-webkit-scrollbar,.styled-scrollbar::-webkit-scrollbar{display:block;width:6px;height:0}.styled-scrollbar ion-content::-webkit-scrollbar-thumb,.styled-scrollbar::-webkit-scrollbar-thumb{display:block;background-color:hsla(0,0%,100%,.15);border-radius:4px}.app .app-wrapper[data-v-29de1f5a]{font-weight:400;font-size:16px;line-height:16px}.app[data-v-29de1f5a]{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.app .app-wrapper[data-v-29de1f5a]{--screen-padding-x:16px;--screen-border-radius:0;--screen-bg-color:#141414;--header-height:0;--gap:12px;position:relative;margin:0 auto;width:100%;height:100%;border-radius:var(--screen-border-radius);color:#fff;background-color:var(--screen-bg-color);font-family:IBM Plex Sans,sans-serif;transition:background-color .2s}.app .app-wrapper .camera-close-button[data-v-29de1f5a]{position:absolute;top:calc(20px + env(safe-area-inset-top));right:20px;width:28px;height:28px;z-index:10}.app .app-wrapper .app-inner[data-v-29de1f5a]{width:100%;height:100%;overflow-y:auto}.app .app-wrapper .main[data-v-29de1f5a]{margin-top:calc(var(--header-height) + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);background-color:var(--screen-bg-color)}.app .app-wrapper .main.ios[data-v-29de1f5a]{top:10px}.app .app-wrapper .connection-status[data-v-29de1f5a]{position:fixed;z-index:2;bottom:0;padding-bottom:env(safe-area-inset-bottom);left:0;width:100%}.app .app-wrapper.is-desktop-web[data-v-29de1f5a],.app .app-wrapper.is-extension[data-v-29de1f5a]{width:360px;height:600px}.app .app-wrapper.is-desktop-web[data-v-29de1f5a]{--screen-border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #232323;transform:translate(0)}@media(min-width:362px)and (max-width:480px){.app .app-wrapper.is-desktop-web[data-v-29de1f5a]{--screen-border-radius:0;width:100%;height:100%;overflow:visible;box-shadow:none}}.app .app-wrapper.show-header[data-v-29de1f5a]{--header-height:40px}body>noscript>p.fullscreen-message,body>p.fullscreen-message{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px;margin:0 auto;padding-top:30vh;padding-left:20px;padding-right:20px;max-width:400px;text-align:center}body>noscript>p.fullscreen-message.white,body>p.fullscreen-message.white{color:#fff} \ No newline at end of file diff --git a/favicons/favicon-128.png b/favicons/favicon-128.png index 790a535ed..13e33b2f6 100644 Binary files a/favicons/favicon-128.png and b/favicons/favicon-128.png differ diff --git a/favicons/favicon-48.png b/favicons/favicon-48.png index 0b284c5f1..79f39c3ff 100644 Binary files a/favicons/favicon-48.png and b/favicons/favicon-48.png differ diff --git a/favicons/favicon.ico b/favicons/favicon.ico index af8eee769..c753fbeaa 100644 Binary files a/favicons/favicon.ico and b/favicons/favicon.ico differ diff --git a/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff b/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff deleted file mode 100644 index 41b9ad15b..000000000 Binary files a/fonts/ibm-plex-mono-all-500-normal.6bd0a068.woff and /dev/null differ diff --git a/fonts/ibm-plex-mono-latin-500-normal.8b504b98.woff2 b/fonts/ibm-plex-mono-latin-500-normal.8b504b98.woff2 new file mode 100644 index 000000000..99c261038 Binary files /dev/null and b/fonts/ibm-plex-mono-latin-500-normal.8b504b98.woff2 differ diff --git a/fonts/ibm-plex-mono-latin-500-normal.90af7e1d.woff2 b/fonts/ibm-plex-mono-latin-500-normal.90af7e1d.woff2 deleted file mode 100644 index 89457f08f..000000000 Binary files a/fonts/ibm-plex-mono-latin-500-normal.90af7e1d.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-mono-latin-500-normal.c85c67e8.woff b/fonts/ibm-plex-mono-latin-500-normal.c85c67e8.woff new file mode 100644 index 000000000..d3bb4be87 Binary files /dev/null and b/fonts/ibm-plex-mono-latin-500-normal.c85c67e8.woff differ diff --git a/fonts/ibm-plex-mono-latin-ext-500-normal.68b3211e.woff b/fonts/ibm-plex-mono-latin-ext-500-normal.68b3211e.woff new file mode 100644 index 000000000..affd58bcf Binary files /dev/null and b/fonts/ibm-plex-mono-latin-ext-500-normal.68b3211e.woff differ diff --git a/fonts/ibm-plex-mono-latin-ext-500-normal.9de4f482.woff2 b/fonts/ibm-plex-mono-latin-ext-500-normal.9de4f482.woff2 new file mode 100644 index 000000000..72d5ae63f Binary files /dev/null and b/fonts/ibm-plex-mono-latin-ext-500-normal.9de4f482.woff2 differ diff --git a/fonts/ibm-plex-mono-latin-ext-500-normal.fa0f8cae.woff2 b/fonts/ibm-plex-mono-latin-ext-500-normal.fa0f8cae.woff2 deleted file mode 100644 index 92f202601..000000000 Binary files a/fonts/ibm-plex-mono-latin-ext-500-normal.fa0f8cae.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-300-normal.fa279197.woff b/fonts/ibm-plex-sans-all-300-normal.fa279197.woff deleted file mode 100644 index a2ad40e52..000000000 Binary files a/fonts/ibm-plex-sans-all-300-normal.fa279197.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff b/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff deleted file mode 100644 index 2815b5e6e..000000000 Binary files a/fonts/ibm-plex-sans-all-400-italic.b14518ce.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff b/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff deleted file mode 100644 index d899c4112..000000000 Binary files a/fonts/ibm-plex-sans-all-400-normal.2ee72527.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-500-normal.217e5958.woff b/fonts/ibm-plex-sans-all-500-normal.217e5958.woff deleted file mode 100644 index d1fe936fa..000000000 Binary files a/fonts/ibm-plex-sans-all-500-normal.217e5958.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-600-normal.ba472832.woff b/fonts/ibm-plex-sans-all-600-normal.ba472832.woff deleted file mode 100644 index 5323687cc..000000000 Binary files a/fonts/ibm-plex-sans-all-600-normal.ba472832.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff b/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff deleted file mode 100644 index f7b72d8f7..000000000 Binary files a/fonts/ibm-plex-sans-all-700-italic.4c7195f4.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-all-700-normal.31febf01.woff b/fonts/ibm-plex-sans-all-700-normal.31febf01.woff deleted file mode 100644 index 5d97ce0ef..000000000 Binary files a/fonts/ibm-plex-sans-all-700-normal.31febf01.woff and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-300-normal.4b7b54ff.woff b/fonts/ibm-plex-sans-cyrillic-300-normal.4b7b54ff.woff new file mode 100644 index 000000000..89b5c6006 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-300-normal.4b7b54ff.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-300-normal.7f3e16d3.woff2 b/fonts/ibm-plex-sans-cyrillic-300-normal.7f3e16d3.woff2 new file mode 100644 index 000000000..d046d8257 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-300-normal.7f3e16d3.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-300-normal.cd35bdf5.woff2 b/fonts/ibm-plex-sans-cyrillic-300-normal.cd35bdf5.woff2 deleted file mode 100644 index 2937b8d7d..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-300-normal.cd35bdf5.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-italic.559e9daa.woff b/fonts/ibm-plex-sans-cyrillic-400-italic.559e9daa.woff new file mode 100644 index 000000000..04b24297c Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-400-italic.559e9daa.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-italic.8367e30e.woff2 b/fonts/ibm-plex-sans-cyrillic-400-italic.8367e30e.woff2 new file mode 100644 index 000000000..be4bfc478 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-400-italic.8367e30e.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-italic.e049260e.woff2 b/fonts/ibm-plex-sans-cyrillic-400-italic.e049260e.woff2 deleted file mode 100644 index 2379e5957..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-400-italic.e049260e.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-normal.0e811e2e.woff2 b/fonts/ibm-plex-sans-cyrillic-400-normal.0e811e2e.woff2 deleted file mode 100644 index d06a2199a..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-400-normal.0e811e2e.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-normal.56c46158.woff2 b/fonts/ibm-plex-sans-cyrillic-400-normal.56c46158.woff2 new file mode 100644 index 000000000..50c412a27 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-400-normal.56c46158.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-400-normal.93f2ed2b.woff b/fonts/ibm-plex-sans-cyrillic-400-normal.93f2ed2b.woff new file mode 100644 index 000000000..d4a2fee71 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-400-normal.93f2ed2b.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-500-normal.ac7a4f20.woff2 b/fonts/ibm-plex-sans-cyrillic-500-normal.ac7a4f20.woff2 new file mode 100644 index 000000000..341ebfe59 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-500-normal.ac7a4f20.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-500-normal.cd6aada7.woff2 b/fonts/ibm-plex-sans-cyrillic-500-normal.cd6aada7.woff2 deleted file mode 100644 index b1014d037..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-500-normal.cd6aada7.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-500-normal.f1f0eede.woff b/fonts/ibm-plex-sans-cyrillic-500-normal.f1f0eede.woff new file mode 100644 index 000000000..b07108941 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-500-normal.f1f0eede.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-600-normal.481a966b.woff b/fonts/ibm-plex-sans-cyrillic-600-normal.481a966b.woff new file mode 100644 index 000000000..b22e6f7b5 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-600-normal.481a966b.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-600-normal.660409e4.woff2 b/fonts/ibm-plex-sans-cyrillic-600-normal.660409e4.woff2 new file mode 100644 index 000000000..efc000008 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-600-normal.660409e4.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-600-normal.eab18b48.woff2 b/fonts/ibm-plex-sans-cyrillic-600-normal.eab18b48.woff2 deleted file mode 100644 index 4a33972a4..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-600-normal.eab18b48.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-italic.145523a1.woff2 b/fonts/ibm-plex-sans-cyrillic-700-italic.145523a1.woff2 new file mode 100644 index 000000000..f59d16f44 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-700-italic.145523a1.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-italic.2ec10a68.woff2 b/fonts/ibm-plex-sans-cyrillic-700-italic.2ec10a68.woff2 deleted file mode 100644 index 324db4a3d..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-700-italic.2ec10a68.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-italic.2fddd97b.woff b/fonts/ibm-plex-sans-cyrillic-700-italic.2fddd97b.woff new file mode 100644 index 000000000..d07d60973 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-700-italic.2fddd97b.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-normal.1ff92a55.woff2 b/fonts/ibm-plex-sans-cyrillic-700-normal.1ff92a55.woff2 new file mode 100644 index 000000000..3d88418a8 Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-700-normal.1ff92a55.woff2 differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-normal.8b796aed.woff b/fonts/ibm-plex-sans-cyrillic-700-normal.8b796aed.woff new file mode 100644 index 000000000..acda8da4b Binary files /dev/null and b/fonts/ibm-plex-sans-cyrillic-700-normal.8b796aed.woff differ diff --git a/fonts/ibm-plex-sans-cyrillic-700-normal.df5532a0.woff2 b/fonts/ibm-plex-sans-cyrillic-700-normal.df5532a0.woff2 deleted file mode 100644 index 7c60c3652..000000000 Binary files a/fonts/ibm-plex-sans-cyrillic-700-normal.df5532a0.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-300-normal.21e0cc54.woff b/fonts/ibm-plex-sans-latin-300-normal.21e0cc54.woff new file mode 100644 index 000000000..3a32df1b8 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-300-normal.21e0cc54.woff differ diff --git a/fonts/ibm-plex-sans-latin-300-normal.61ad3a85.woff2 b/fonts/ibm-plex-sans-latin-300-normal.61ad3a85.woff2 new file mode 100644 index 000000000..8737b6b2e Binary files /dev/null and b/fonts/ibm-plex-sans-latin-300-normal.61ad3a85.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-300-normal.f09407e5.woff2 b/fonts/ibm-plex-sans-latin-300-normal.f09407e5.woff2 deleted file mode 100644 index 35f67b950..000000000 Binary files a/fonts/ibm-plex-sans-latin-300-normal.f09407e5.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-400-italic.3738056a.woff b/fonts/ibm-plex-sans-latin-400-italic.3738056a.woff new file mode 100644 index 000000000..a6ca4d2c7 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-400-italic.3738056a.woff differ diff --git a/fonts/ibm-plex-sans-latin-400-italic.63db2591.woff2 b/fonts/ibm-plex-sans-latin-400-italic.63db2591.woff2 new file mode 100644 index 000000000..eea16188b Binary files /dev/null and b/fonts/ibm-plex-sans-latin-400-italic.63db2591.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-400-italic.cdf08bcf.woff2 b/fonts/ibm-plex-sans-latin-400-italic.cdf08bcf.woff2 deleted file mode 100644 index 4a0bae7e4..000000000 Binary files a/fonts/ibm-plex-sans-latin-400-italic.cdf08bcf.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-400-normal.36f1a382.woff b/fonts/ibm-plex-sans-latin-400-normal.36f1a382.woff new file mode 100644 index 000000000..301b0bb15 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-400-normal.36f1a382.woff differ diff --git a/fonts/ibm-plex-sans-latin-400-normal.cca38a3a.woff2 b/fonts/ibm-plex-sans-latin-400-normal.cca38a3a.woff2 deleted file mode 100644 index 254b7a51d..000000000 Binary files a/fonts/ibm-plex-sans-latin-400-normal.cca38a3a.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-400-normal.e5b81454.woff2 b/fonts/ibm-plex-sans-latin-400-normal.e5b81454.woff2 new file mode 100644 index 000000000..93bcd6430 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-400-normal.e5b81454.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-500-normal.076cc514.woff2 b/fonts/ibm-plex-sans-latin-500-normal.076cc514.woff2 new file mode 100644 index 000000000..adbbd4c3d Binary files /dev/null and b/fonts/ibm-plex-sans-latin-500-normal.076cc514.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-500-normal.ad5aff69.woff b/fonts/ibm-plex-sans-latin-500-normal.ad5aff69.woff new file mode 100644 index 000000000..3f1d00b25 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-500-normal.ad5aff69.woff differ diff --git a/fonts/ibm-plex-sans-latin-500-normal.f805c5d4.woff2 b/fonts/ibm-plex-sans-latin-500-normal.f805c5d4.woff2 deleted file mode 100644 index 418b3cb5d..000000000 Binary files a/fonts/ibm-plex-sans-latin-500-normal.f805c5d4.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-600-normal.7223ff6b.woff b/fonts/ibm-plex-sans-latin-600-normal.7223ff6b.woff new file mode 100644 index 000000000..b4bf343a8 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-600-normal.7223ff6b.woff differ diff --git a/fonts/ibm-plex-sans-latin-600-normal.a7af6c8a.woff2 b/fonts/ibm-plex-sans-latin-600-normal.a7af6c8a.woff2 deleted file mode 100644 index 811045c64..000000000 Binary files a/fonts/ibm-plex-sans-latin-600-normal.a7af6c8a.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-600-normal.a9a32ccb.woff2 b/fonts/ibm-plex-sans-latin-600-normal.a9a32ccb.woff2 new file mode 100644 index 000000000..0ac91d60f Binary files /dev/null and b/fonts/ibm-plex-sans-latin-600-normal.a9a32ccb.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-700-italic.3224c9f6.woff2 b/fonts/ibm-plex-sans-latin-700-italic.3224c9f6.woff2 deleted file mode 100644 index 6d8b71c89..000000000 Binary files a/fonts/ibm-plex-sans-latin-700-italic.3224c9f6.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-700-italic.40d7026a.woff2 b/fonts/ibm-plex-sans-latin-700-italic.40d7026a.woff2 new file mode 100644 index 000000000..9cd1838cd Binary files /dev/null and b/fonts/ibm-plex-sans-latin-700-italic.40d7026a.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-700-italic.d6e33b96.woff b/fonts/ibm-plex-sans-latin-700-italic.d6e33b96.woff new file mode 100644 index 000000000..000ee93a5 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-700-italic.d6e33b96.woff differ diff --git a/fonts/ibm-plex-sans-latin-700-normal.05088377.woff2 b/fonts/ibm-plex-sans-latin-700-normal.05088377.woff2 deleted file mode 100644 index 79cb7d674..000000000 Binary files a/fonts/ibm-plex-sans-latin-700-normal.05088377.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-700-normal.29264e16.woff b/fonts/ibm-plex-sans-latin-700-normal.29264e16.woff new file mode 100644 index 000000000..b035d9435 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-700-normal.29264e16.woff differ diff --git a/fonts/ibm-plex-sans-latin-700-normal.be218eeb.woff2 b/fonts/ibm-plex-sans-latin-700-normal.be218eeb.woff2 new file mode 100644 index 000000000..da7d57ff9 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-700-normal.be218eeb.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-300-normal.06a5c912.woff2 b/fonts/ibm-plex-sans-latin-ext-300-normal.06a5c912.woff2 new file mode 100644 index 000000000..b8915e10f Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-300-normal.06a5c912.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-300-normal.68feb198.woff2 b/fonts/ibm-plex-sans-latin-ext-300-normal.68feb198.woff2 deleted file mode 100644 index bc62774bf..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-300-normal.68feb198.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-300-normal.c60c0bbf.woff b/fonts/ibm-plex-sans-latin-ext-300-normal.c60c0bbf.woff new file mode 100644 index 000000000..06f50c9b3 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-300-normal.c60c0bbf.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-italic.91ab5b06.woff b/fonts/ibm-plex-sans-latin-ext-400-italic.91ab5b06.woff new file mode 100644 index 000000000..f5287a52a Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-400-italic.91ab5b06.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-italic.a9b77bdf.woff2 b/fonts/ibm-plex-sans-latin-ext-400-italic.a9b77bdf.woff2 deleted file mode 100644 index da3723729..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-400-italic.a9b77bdf.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-italic.e93b8460.woff2 b/fonts/ibm-plex-sans-latin-ext-400-italic.e93b8460.woff2 new file mode 100644 index 000000000..9574faac0 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-400-italic.e93b8460.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-normal.06159238.woff2 b/fonts/ibm-plex-sans-latin-ext-400-normal.06159238.woff2 new file mode 100644 index 000000000..24f5f3a3a Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-400-normal.06159238.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-normal.33355ecb.woff2 b/fonts/ibm-plex-sans-latin-ext-400-normal.33355ecb.woff2 deleted file mode 100644 index 23387cc22..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-400-normal.33355ecb.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-400-normal.9c6c72a8.woff b/fonts/ibm-plex-sans-latin-ext-400-normal.9c6c72a8.woff new file mode 100644 index 000000000..d3a3e095a Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-400-normal.9c6c72a8.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-500-normal.07ec9718.woff2 b/fonts/ibm-plex-sans-latin-ext-500-normal.07ec9718.woff2 new file mode 100644 index 000000000..d24a8a328 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-500-normal.07ec9718.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-500-normal.db531da7.woff2 b/fonts/ibm-plex-sans-latin-ext-500-normal.db531da7.woff2 deleted file mode 100644 index 36df5af84..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-500-normal.db531da7.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-500-normal.e374c32f.woff b/fonts/ibm-plex-sans-latin-ext-500-normal.e374c32f.woff new file mode 100644 index 000000000..cf8a3683c Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-500-normal.e374c32f.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-600-normal.08d9c6e7.woff2 b/fonts/ibm-plex-sans-latin-ext-600-normal.08d9c6e7.woff2 new file mode 100644 index 000000000..56ee6ed87 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-600-normal.08d9c6e7.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-600-normal.f71c9948.woff2 b/fonts/ibm-plex-sans-latin-ext-600-normal.f71c9948.woff2 deleted file mode 100644 index 1c3b117e1..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-600-normal.f71c9948.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-600-normal.fa3c0021.woff b/fonts/ibm-plex-sans-latin-ext-600-normal.fa3c0021.woff new file mode 100644 index 000000000..07b5b0d67 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-600-normal.fa3c0021.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-italic.21c2ba4f.woff b/fonts/ibm-plex-sans-latin-ext-700-italic.21c2ba4f.woff new file mode 100644 index 000000000..23fa76353 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-700-italic.21c2ba4f.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-italic.672afa11.woff2 b/fonts/ibm-plex-sans-latin-ext-700-italic.672afa11.woff2 new file mode 100644 index 000000000..254ff7141 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-700-italic.672afa11.woff2 differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-italic.8ea13c9c.woff2 b/fonts/ibm-plex-sans-latin-ext-700-italic.8ea13c9c.woff2 deleted file mode 100644 index 6d747a89f..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-700-italic.8ea13c9c.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-normal.05607a29.woff b/fonts/ibm-plex-sans-latin-ext-700-normal.05607a29.woff new file mode 100644 index 000000000..78f148c64 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-700-normal.05607a29.woff differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-normal.91c56700.woff2 b/fonts/ibm-plex-sans-latin-ext-700-normal.91c56700.woff2 deleted file mode 100644 index 912215ea8..000000000 Binary files a/fonts/ibm-plex-sans-latin-ext-700-normal.91c56700.woff2 and /dev/null differ diff --git a/fonts/ibm-plex-sans-latin-ext-700-normal.ffb27f52.woff2 b/fonts/ibm-plex-sans-latin-ext-700-normal.ffb27f52.woff2 new file mode 100644 index 000000000..b6c0c4400 Binary files /dev/null and b/fonts/ibm-plex-sans-latin-ext-700-normal.ffb27f52.woff2 differ diff --git a/icons/apple-touch-icon.png b/icons/apple-touch-icon.png deleted file mode 100644 index f4df7e21f..000000000 Binary files a/icons/apple-touch-icon.png and /dev/null differ diff --git a/icons/apple-touch-icon.webp b/icons/apple-touch-icon.webp new file mode 100644 index 000000000..a6c589265 Binary files /dev/null and b/icons/apple-touch-icon.webp differ diff --git a/img/aepp-browser.0207bbdb.webp b/img/aepp-browser.0207bbdb.webp new file mode 100644 index 000000000..e9e636c2e Binary files /dev/null and b/img/aepp-browser.0207bbdb.webp differ diff --git a/img/aepp-browser.7a171f36.jpg b/img/aepp-browser.7a171f36.jpg deleted file mode 100644 index acdca0ede..000000000 Binary files a/img/aepp-browser.7a171f36.jpg and /dev/null differ diff --git a/img/app-store-mobile.0df2ccfc.svg b/img/app-store-mobile.0df2ccfc.svg deleted file mode 100644 index b441166fe..000000000 --- a/img/app-store-mobile.0df2ccfc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/app-store-mobile.aa908fdc.svg b/img/app-store-mobile.aa908fdc.svg new file mode 100644 index 000000000..a6cb6bc54 --- /dev/null +++ b/img/app-store-mobile.aa908fdc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/buy-ae.491af327.jpg b/img/buy-ae.491af327.jpg deleted file mode 100644 index e2d3cf738..000000000 Binary files a/img/buy-ae.491af327.jpg and /dev/null differ diff --git a/img/buy-ae.616acc4d.webp b/img/buy-ae.616acc4d.webp new file mode 100644 index 000000000..7cf0ae4db Binary files /dev/null and b/img/buy-ae.616acc4d.webp differ diff --git a/img/chain-name.bc49b8b5.webp b/img/chain-name.bc49b8b5.webp new file mode 100644 index 000000000..5aa03c66d Binary files /dev/null and b/img/chain-name.bc49b8b5.webp differ diff --git a/img/chain-name.e356e1bc.jpg b/img/chain-name.e356e1bc.jpg deleted file mode 100644 index 4ab0e86d9..000000000 Binary files a/img/chain-name.e356e1bc.jpg and /dev/null differ diff --git a/img/chrome.a54dd150.svg b/img/chrome.ac34fdda.svg similarity index 80% rename from img/chrome.a54dd150.svg rename to img/chrome.ac34fdda.svg index 8debeda80..426eeff32 100644 --- a/img/chrome.a54dd150.svg +++ b/img/chrome.ac34fdda.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/img/firefox.d4d36a42.svg b/img/firefox.d4d36a42.svg new file mode 100644 index 000000000..9c601a674 --- /dev/null +++ b/img/firefox.d4d36a42.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/firefox.f8ceaa04.svg b/img/firefox.f8ceaa04.svg deleted file mode 100644 index b6672bdfc..000000000 --- a/img/firefox.f8ceaa04.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/google-play-mobile.5825eca2.svg b/img/google-play-mobile.5825eca2.svg deleted file mode 100644 index 7658e3be3..000000000 --- a/img/google-play-mobile.5825eca2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/google-play-mobile.a27ad291.svg b/img/google-play-mobile.a27ad291.svg new file mode 100644 index 000000000..b859d3b86 --- /dev/null +++ b/img/google-play-mobile.a27ad291.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/not-found.30daa010.jpg b/img/not-found.30daa010.jpg deleted file mode 100644 index 717b96e2e..000000000 Binary files a/img/not-found.30daa010.jpg and /dev/null differ diff --git a/img/not-found.c7549e3c.webp b/img/not-found.c7549e3c.webp new file mode 100644 index 000000000..29295ff65 Binary files /dev/null and b/img/not-found.c7549e3c.webp differ diff --git a/img/sendAndReceive.5eca3aa8.svg b/img/sendAndReceive.5eca3aa8.svg new file mode 100644 index 000000000..8fde95f70 --- /dev/null +++ b/img/sendAndReceive.5eca3aa8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/sendAndReceive.fe360be1.svg b/img/sendAndReceive.fe360be1.svg deleted file mode 100644 index 70abbadc6..000000000 --- a/img/sendAndReceive.fe360be1.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/index.html b/index.html index 3a707668a..d41e0700b 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Superhero Wallet
\ No newline at end of file +Superhero Wallet
\ No newline at end of file diff --git a/js/ae-account-details-names.67401e35.js b/js/ae-account-details-names.67401e35.js deleted file mode 100644 index a5ab3a3ed..000000000 --- a/js/ae-account-details-names.67401e35.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[473],{72542:(e,n,a)=>{a.r(n),a.d(n,{default:()=>p});var t=a(66252),s={class:"account-details-names"};function l(e,n,a,l,i,u){var o=(0,t.up)("IonRouterOutlet"),r=(0,t.up)("MessageOffline"),c=(0,t.up)("IonPage");return(0,t.wg)(),(0,t.j4)(c,null,{default:(0,t.w5)((function(){return[(0,t._)("div",s,[e.isOnline?((0,t.wg)(),(0,t.j4)(o,{key:0,animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])):((0,t.wg)(),(0,t.j4)(r,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.namesNotAvailable")},null,8,["text"]))])]})),_:1})}var i=a(51268),u=a(79323),o=a(82475),r=a(9697),c=a(88757);const f=(0,t.aZ)({components:{IonPage:i._i,IonRouterOutlet:i.jP,MessageOffline:c.Z},setup:function(){var e=(0,r.Rc)(),n=e.isOnline;return{isOnline:n,IS_FIREFOX:u.D1,fadeAnimation:o.qy}}});var d=a(83744);const m=(0,d.Z)(f,[["render",l],["__scopeId","data-v-724be6d0"]]),p=m}}]); \ No newline at end of file diff --git a/js/ae-account-details-names.e377462a.js b/js/ae-account-details-names.e377462a.js new file mode 100644 index 000000000..c31c69ecb --- /dev/null +++ b/js/ae-account-details-names.e377462a.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[201],{5113:(e,n,a)=>{a.r(n),a.d(n,{default:()=>v});var t=a(20641),s={class:"account-details-names"};function l(e,n,a,l,i,u){var o=(0,t.g2)("IonRouterOutlet"),r=(0,t.g2)("MessageOffline"),c=(0,t.g2)("IonPage");return(0,t.uX)(),(0,t.Wv)(c,null,{default:(0,t.k6)((function(){return[(0,t.Lk)("div",s,[e.isOnline?((0,t.uX)(),(0,t.Wv)(o,{key:0,animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])):((0,t.uX)(),(0,t.Wv)(r,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.namesNotAvailable")},null,8,["text"]))])]})),_:1})}var i=a(62759),u=a(65563),o=a(44416),r=a(84754),c=a(17831);const f=(0,t.pM)({components:{IonPage:i.AO,IonRouterOutlet:i.Rg,MessageOffline:c.A},setup:function(){var e=(0,r.w5)(),n=e.isOnline;return{isOnline:n,IS_FIREFOX:u.$M,fadeAnimation:o.r4}}});var d=a(66262);const m=(0,d.A)(f,[["render",l],["__scopeId","data-v-724be6d0"]]),v=m}}]); \ No newline at end of file diff --git a/js/ae-account-details-tokens.51f28b92.js b/js/ae-account-details-tokens.51f28b92.js new file mode 100644 index 000000000..2abe6399a --- /dev/null +++ b/js/ae-account-details-tokens.51f28b92.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[341],{9560:(e,n,l)=>{l.r(n),l.d(n,{default:()=>k});var t=l(20641),s={ref:"innerScrollElem",class:"account-details-tokens"};function o(e,n,l,o,a,r){var i=(0,t.g2)("AssetList"),u=(0,t.g2)("MessageOffline"),c=(0,t.g2)("BackToTop"),v=(0,t.g2)("IonContent"),f=(0,t.g2)("IonPage");return(0,t.uX)(),(0,t.Wv)(f,null,{default:(0,t.k6)((function(){return[(0,t.bF)(v,{class:"ion-padding ion-content-bg--lighter"},{default:(0,t.k6)((function(){return[(0,t.Lk)("div",s,[e.isOnline?((0,t.uX)(),(0,t.Wv)(i,{key:0,"search-term":e.searchPhrase,class:"tokens-list","owned-only":""},null,8,["search-term"])):((0,t.uX)(),(0,t.Wv)(u,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.assetsNotAvailable")},null,8,["text"]))],512),e.isOnline?((0,t.uX)(),(0,t.Wv)(c,{key:0})):(0,t.Q3)("",!0)]})),_:1})]})),_:1})}var a=l(62759),r=l(50953),i=l(74022),u=l(65563),c=l(84754),v=l(50118),f=l(17831),d=l(89460);const p=(0,t.pM)({components:{AssetList:v.A,MessageOffline:f.A,IonPage:a.AO,IonContent:a.W9,BackToTop:d.A},props:{showFilters:Boolean,pageWillEnter:Boolean},setup:function(e){var n=(0,c.w5)(),l=n.isOnline,s=(0,c.QR)(),o=s.searchPhrase,a=(0,c.J$)(),v=a.setScrollConf,f=(0,r.KR)(),d=(0,r.KR)(0),p=(0,t.EW)((function(){var e;return null===(e=f.value)||void 0===e?void 0:e.parentElement}));function g(){return(0,i.A)((function(){var e,n;d.value=null!==(n=null===(e=null===p||void 0===p?void 0:p.value)||void 0===e?void 0:e.scrollTop)&&void 0!==n?n:0}),200)}return(0,t.wB)(d,(function(e){v(e>=u.OO)})),(0,t.wB)((function(){return e.pageWillEnter}),(function(e){e&&v(!1)})),(0,t.sV)((function(){f.value&&p.value&&p.value.addEventListener("scroll",g())})),{isOnline:l,searchPhrase:o,innerScrollElem:f}}});var g=l(66262);const h=(0,g.A)(p,[["render",o],["__scopeId","data-v-08c652fc"]]),k=h}}]); \ No newline at end of file diff --git a/js/ae-account-details-tokens.c4b6c236.js b/js/ae-account-details-tokens.c4b6c236.js deleted file mode 100644 index 8c50aaaae..000000000 --- a/js/ae-account-details-tokens.c4b6c236.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[857],{75338:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});var l=t(66252),s={ref:"innerScrollElem",class:"account-details-tokens"};function i(e,n,t,i,o,a){var r=(0,l.up)("TokensList"),u=(0,l.up)("MessageOffline"),c=(0,l.up)("IonContent"),f=(0,l.up)("IonPage");return(0,l.wg)(),(0,l.j4)(f,null,{default:(0,l.w5)((function(){return[(0,l.Wm)(c,{class:"ion-padding ion-content-bg--lighter"},{default:(0,l.w5)((function(){return[(0,l._)("div",s,[e.isOnline?((0,l.wg)(),(0,l.j4)(r,{key:0,class:"tokens-list","search-term":e.searchPhrase},null,8,["search-term"])):((0,l.wg)(),(0,l.j4)(u,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.assetsNotAvailable")},null,8,["text"]))],512)]})),_:1})]})),_:1})}var o=t(51268),a=t(2262),r=t(111),u=t(79323),c=t(9697),f=t(2484),v=t(88757);const d=(0,l.aZ)({components:{TokensList:f.Z,MessageOffline:v.Z,IonPage:o._i,IonContent:o.W2},props:{showFilters:Boolean,ionicLifecycleStatus:{type:String,default:null}},setup:function(e){var n=(0,c.Rc)(),t=n.isOnline,s=(0,c.R0)(),i=s.searchPhrase,o=(0,c._b)(),f=o.setScrollConf,v=(0,a.iH)(),d=(0,a.iH)(0),p=(0,l.Fl)((function(){var e;return null===(e=v.value)||void 0===e?void 0:e.parentElement}));function h(){return(0,r.Z)((function(){var e,n;d.value=null!==(n=null===(e=null===p||void 0===p?void 0:p.value)||void 0===e?void 0:e.scrollTop)&&void 0!==n?n:0}),200)}return(0,l.YP)(d,(function(e){f(e>=u._e)})),(0,l.YP)((function(){return e.ionicLifecycleStatus}),(function(){"willEnter"===e.ionicLifecycleStatus&&f(!1)})),(0,l.bv)((function(){v.value&&p.value&&p.value.addEventListener("scroll",h())})),{isOnline:t,searchPhrase:i,innerScrollElem:v}}});var p=t(83744);const h=(0,p.Z)(d,[["render",i],["__scopeId","data-v-45549c1b"]]),g=h}}]); \ No newline at end of file diff --git a/js/ae-account-details-transactions.de6181b9.js b/js/ae-account-details-transactions.de6181b9.js deleted file mode 100644 index b6baa6b70..000000000 --- a/js/ae-account-details-transactions.de6181b9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[117],{80948:(n,e,t)=>{t.r(e),t.d(e,{default:()=>m});var r=t(66252),a={ref:"innerScrollElem"};function i(n,e,t,i,o,u){var l=(0,r.up)("TransactionList"),c=(0,r.up)("MessageOffline"),s=(0,r.up)("IonContent"),v=(0,r.up)("IonPage");return(0,r.wg)(),(0,r.j4)(v,{class:"account-details-transactions"},{default:(0,r.w5)((function(){return[(0,r.Wm)(s,{class:"ion-padding ion-content-bg--lighter"},{default:(0,r.w5)((function(){return[(0,r._)("div",a,[n.isOnline?((0,r.wg)(),(0,r.j4)(l,{key:0,loading:n.loading,transactions:n.loadedTransactionList,onLoadMore:e[0]||(e[0]=function(e){return n.loadMore()})},null,8,["loading","transactions"])):((0,r.wg)(),(0,r.j4)(c,{key:1,class:"offline-message",text:n.$t("modals.accountDetails.transactionsNotAvailable")},null,8,["text"]))],512)]})),_:1})]})),_:1})}t(35666),t(41539),t(32564);var o=t(2262),u=t(33907),l=t(51268),c=t(111),s=t(79323),v=t(9697),d=t(88757),f=t(25327),p=function(n,e,t,r){function a(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,i){function o(n){try{l(r.next(n))}catch(e){i(e)}}function u(n){try{l(r["throw"](n))}catch(e){i(e)}}function l(n){n.done?t(n.value):a(n.value).then(o,u)}l((r=r.apply(n,e||[])).next())}))};const g=(0,r.aZ)({components:{TransactionList:f.Z,MessageOffline:d.Z,IonPage:l._i,IonContent:l.W2},props:{ionicLifecycleStatus:{type:String,default:null}},setup:function(n){var e,t=(0,u.oR)(),a=(0,v.Rc)(),i=a.isOnline,l=(0,v.bl)(),d=l.isAppActive,f=(0,v.xe)({store:t}),g=f.activeAccount,h=(0,v._b)(),w=h.setScrollConf,m=(0,v.Sj)(),x=m.initViewport,L=(0,v.DQ)({store:t}),_=L.getAccountAllTransactions,k=L.getAccountTransactionsState,y=L.fetchTransactions,S=(0,o.iH)(),A=(0,o.iH)(0),T=(0,o.iH)(!1),b=(0,o.iH)(!1),I=(0,r.Fl)((function(){return!!k(g.value.address).nextPageUrl})),R=(0,r.Fl)((function(){return _(g.value.address)})),P=(0,r.Fl)((function(){var n;return null===(n=S.value)||void 0===n?void 0:n.parentElement}));function C(n){return p(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return T.value=!0,e.prev=1,e.next=4,y(s.Rh,!!n,g.value.address);case 4:return e.prev=4,T.value=!1,e.finish(4);case 7:case"end":return e.stop()}}),e,null,[[1,,4,7]])})))}function E(){return p(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(T.value||b.value||!I.value){n.next=3;break}return n.next=3,C();case 3:case"end":return n.stop()}}),n)})))}function M(){return(0,c.Z)((function(){var n,e;A.value=null!==(e=null===(n=null===P||void 0===P?void 0:P.value)||void 0===n?void 0:n.scrollTop)&&void 0!==e?e:0}),200)}function O(){e&&clearInterval(e),w(!1),b.value=!0}return(0,r.YP)(A,(function(n){w(n>=s._e)})),(0,r.YP)((function(){return n.ionicLifecycleStatus}),(function(t){if("didEnter"===t)return T.value=!1,b.value=!1,w(!1),x(P.value),S.value&&P.value&&P.value.addEventListener("scroll",M()),C(),void(e=setInterval((function(){d.value&&C(!0)}),1e4));"didLeave"===n.ionicLifecycleStatus&&O()})),(0,r.Ah)(O),{isOnline:i,loading:T,loadedTransactionList:R,loadMore:E,innerScrollElem:S}}});var h=t(83744);const w=(0,h.Z)(g,[["render",i],["__scopeId","data-v-76676c94"]]),m=w}}]); \ No newline at end of file diff --git a/js/ae-account-details.85b2a4e8.js b/js/ae-account-details.85b2a4e8.js deleted file mode 100644 index 4fc37b33e..000000000 --- a/js/ae-account-details.85b2a4e8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[86],{39820:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N});var c=n(66252);function o(e,t,n,o,i,a){var u=(0,c.up)("BtnBox"),s=(0,c.up)("AccountDetailsNavigation"),l=(0,c.up)("AccountDetailsBase"),r=(0,c.up)("IonContent"),d=(0,c.up)("IonPage");return(0,c.wg)(),(0,c.j4)(d,null,{default:(0,c.w5)((function(){return[(0,c.Wm)(r,{class:"account-ion-content"},{default:(0,c.w5)((function(){return[(0,c.Wm)(l,{class:"account-details"},{buttons:(0,c.w5)((function(){return[e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,c.wg)(),(0,c.j4)(u,{key:0,icon:e.CreditCardIcon,text:e.$t("common.buy"),href:e.activeAccountSimplexLink,disabled:!e.isOnline},null,8,["icon","text","href","disabled"])):(0,c.kq)("",!0),e.isNodeTestnet?((0,c.wg)(),(0,c.j4)(u,{key:1,icon:e.FaucetIcon,text:e.$t("common.faucet"),href:e.activeAccountFaucetUrl},null,8,["icon","text","href"])):(0,c.kq)("",!0),e.IS_MOBILE_APP&&(e.isNodeMainnet||e.isNodeTestnet)||e.UNFINISHED_FEATURES?((0,c.wg)(),(0,c.j4)(u,{key:2,icon:e.GlobeSmallIcon,text:e.$t("common.browser"),to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","text","to"])):(0,c.kq)("",!0)]})),navigation:(0,c.w5)((function(){return[(0,c.Wm)(s)]})),_:1})]})),_:1})]})),_:1})}var i=n(33907),a=n(51268),u=n(79323),s=n(9697),l=n(28243),r=n(94308),d=n(66355),I=n(54481),_=n(84394),A=n(28904),S=n(64327),m=n(67962),p=n(92350);const v=(0,c.aZ)({name:u.Un,components:{BtnBox:_.Z,AccountDetailsNavigation:I.Z,AccountDetailsBase:d.Z,IonPage:a._i,IonContent:a.W2},setup:function(){var e=(0,i.oR)(),t=(0,s.Rc)(),n=t.isOnline,c=(0,s.cn)({store:e}),o=c.isNodeMainnet,a=c.isNodeTestnet,d=(0,s.xe)({store:e}),I=d.activeAccount,_=d.activeAccountSimplexLink,v=d.activeAccountFaucetUrl;return{UNFINISHED_FEATURES:u._0,ROUTE_APPS_BROWSER:r.gs,AE_DEX_URL:l.GF,IS_MOBILE_APP:u.Ag,IS_IOS:u.cj,CreditCardIcon:A.Z,SwapIcon:S.Z,FaucetIcon:m.Z,GlobeSmallIcon:p.Z,isOnline:n,isNodeMainnet:o,isNodeTestnet:a,activeAccount:I,activeAccountSimplexLink:_,activeAccountFaucetUrl:v}}});var E=n(83744);const f=(0,E.Z)(v,[["render",o],["__scopeId","data-v-702e6263"]]),N=f}}]); \ No newline at end of file diff --git a/js/ae-account-details.bf2a1151.js b/js/ae-account-details.bf2a1151.js new file mode 100644 index 000000000..f77f4715d --- /dev/null +++ b/js/ae-account-details.bf2a1151.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[386],{93553:(e,n,t)=>{t.r(n),t.d(n,{default:()=>v});var o=t(20641);function c(e,n,t,c,a,i){var u=(0,o.g2)("BtnBox"),s=(0,o.g2)("AccountDetailsNavigation"),r=(0,o.g2)("AccountDetailsBase"),l=(0,o.g2)("IonContent"),A=(0,o.g2)("IonPage");return(0,o.uX)(),(0,o.Wv)(A,null,{default:(0,o.k6)((function(){return[(0,o.bF)(l,{class:"account-ion-content"},{default:(0,o.k6)((function(){return[e.pageDidEnter?((0,o.uX)(),(0,o.Wv)(r,{key:0,class:"account-details"},{buttons:(0,o.k6)((function(){return[e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,o.uX)(),(0,o.Wv)(u,{key:0,icon:e.CreditCardIcon,text:e.$t("common.buy"),href:e.activeAccountSimplexLink,disabled:!e.isOnline},null,8,["icon","text","href","disabled"])):(0,o.Q3)("",!0),e.isNodeTestnet?((0,o.uX)(),(0,o.Wv)(u,{key:1,icon:e.FaucetIcon,text:e.$t("common.faucet"),href:e.activeAccountFaucetUrl},null,8,["icon","text","href"])):(0,o.Q3)("",!0),e.IS_MOBILE_APP&&(e.isNodeMainnet||e.isNodeTestnet)||e.UNFINISHED_FEATURES?((0,o.uX)(),(0,o.Wv)(u,{key:2,icon:e.GlobeSmallIcon,text:e.$t("common.browser"),to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","text","to"])):(0,o.Q3)("",!0)]})),navigation:(0,o.k6)((function(){return[(0,o.bF)(s,{"route-names":[e.ROUTE_ACCOUNT_DETAILS,e.ROUTE_ACCOUNT_DETAILS_ASSETS,e.ROUTE_ACCOUNT_DETAILS_NAMES]},null,8,["route-names"])]})),_:1})):(0,o.Q3)("",!0)]})),_:1})]})),_:1})}var a=t(62759),i=t(65563),u=t(84754),s=t(90973),r=t(59755),l=t(58338),A=t(58071),E=t(94449),_=t(28645),d=t(45799),S=t(43226),I=t(57171),T=t(18427);const N=(0,o.pM)({name:i.AK,components:{BtnBox:_.A,AccountDetailsNavigation:E.A,AccountDetailsBase:A.A,IonPage:a.AO,IonContent:a.W9},props:{pageDidEnter:Boolean},setup:function(){var e=(0,u.w5)(),n=e.isOnline,t=(0,u.CP)(),c=t.isNodeMainnet,a=t.isNodeTestnet,A=(0,u.oV)(),E=A.activeAccount,_=(0,o.EW)((function(){return(0,l.mV)(E.value.address)})),N=(0,o.EW)((function(){return(0,l.hj)(E.value.address)}));return{UNFINISHED_FEATURES:i.s4,ROUTE_APPS_BROWSER:s.qC,ROUTE_ACCOUNT_DETAILS:s.no,ROUTE_ACCOUNT_DETAILS_ASSETS:s.r9,ROUTE_ACCOUNT_DETAILS_NAMES:s.ao,AE_DEX_URL:r.hD,IS_MOBILE_APP:i.I$,IS_IOS:i.pz,CreditCardIcon:d.A,SwapIcon:S.A,FaucetIcon:I.A,GlobeSmallIcon:T.A,isOnline:n,isNodeMainnet:c,isNodeTestnet:a,activeAccount:E,activeAccountSimplexLink:N,activeAccountFaucetUrl:_}}});var O=t(66262);const U=(0,O.A)(N,[["render",c],["__scopeId","data-v-22dd5d44"]]),v=U}}]); \ No newline at end of file diff --git a/js/ae-transfer-receive-modal.70325c7c.js b/js/ae-transfer-receive-modal.70325c7c.js new file mode 100644 index 000000000..9429dde2e --- /dev/null +++ b/js/ae-transfer-receive-modal.70325c7c.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[375],{46707:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var a=s(20641);function n(e,t,s,n,c,i){var o=(0,a.g2)("TransferReceiveBase");return(0,a.uX)(),(0,a.Wv)(o,(0,a.v6)(e.$attrs,{heading:e.isMultisig?e.$t("modals.receiveMultisig.title"):e.$t("modals.receive.title",{name:e.$t("modals.receive.funds")}),"account-address":e.activeAccountAddress,"account-name":e.activeAccountName,tokens:e.tokens,"disable-asset-selection":e.isMultisig,protocol:e.PROTOCOLS.aeternity}),null,16,["heading","account-address","account-name","tokens","disable-asset-selection","protocol"])}var c=s(65563),i=s(84754),o=s(49012),r=s(14023);const u=(0,a.pM)({name:c.LX,components:{TransferReceiveBase:r.A},props:{isMultisig:Boolean},setup:function(e){var t=(0,i.ci)({pollOnce:!0}),s=t.activeMultisigAccountId,n=(0,i.oV)(),r=n.activeAccount,u=(0,o.q)(),l=u.getName,d=(0,i.Y7)(),v=d.getProtocolAvailableTokens,p=(0,a.EW)((function(){return e.isMultisig?s.value:r.value.address})),g=e.isMultisig?void 0:l(r.value.address),m=(0,a.EW)((function(){return v(c.yv.aeternity)}));return{PROTOCOLS:c.yv,tokens:m,activeAccountAddress:p,activeAccountName:g}}});var l=s(66262);const d=(0,l.A)(u,[["render",n]]),v=d}}]); \ No newline at end of file diff --git a/js/ae-transfer-receive-modal.a6a43f0d.js b/js/ae-transfer-receive-modal.a6a43f0d.js deleted file mode 100644 index bcd0bb142..000000000 --- a/js/ae-transfer-receive-modal.a6a43f0d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[766],{32439:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var a=s(66252);function n(e,t,s,n,i,c){var o=(0,a.up)("TransferReceiveBase");return(0,a.wg)(),(0,a.j4)(o,(0,a.dG)(e.$attrs,{heading:e.isMultisig?e.$t("modals.receiveMultisig.title"):e.$t("modals.receive.title",{name:e.$t("modals.receive.funds")}),"account-address":e.activeAccountAddress,"account-name":e.activeAccountName,tokens:e.availableTokens,"disable-asset-selection":e.isMultisig,protocol:e.PROTOCOL_AETERNITY}),null,16,["heading","account-address","account-name","tokens","disable-asset-selection","protocol"])}s(68309);var i=s(33907),c=s(79323),o=s(9697),l=s(22537);const u=(0,a.aZ)({name:c.wC,components:{TransferReceiveBase:l.Z},props:{isMultisig:Boolean},setup:function(e){var t=(0,i.oR)(),s=(0,o.Bo)({store:t,pollOnce:!0}),n=s.activeMultisigAccountId,l=(0,o.xe)({store:t}),u=l.activeAccount,r=(0,a.Fl)((function(){return t.state.fungibleTokens.availableTokens})),d=(0,a.Fl)((function(){return e.isMultisig?n.value:u.value.address})),v=(0,a.Fl)((function(){return e.isMultisig?void 0:u.value.name}));return{PROTOCOL_AETERNITY:c.DJ,availableTokens:r,activeAccountAddress:d,activeAccountName:v}}});var r=s(83744);const d=(0,r.Z)(u,[["render",n]]),v=d}}]); \ No newline at end of file diff --git a/js/ae-transfer-send-modal.9c82af31.js b/js/ae-transfer-send-modal.9c82af31.js new file mode 100644 index 000000000..e4e7daa4e --- /dev/null +++ b/js/ae-transfer-send-modal.9c82af31.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[522],{20807:(e,t,a)=>{a.r(t),a.d(t,{default:()=>he});var n=a(20641);function r(e,t,a,r,s,o){var l=(0,n.g2)("TransferSendBase");return(0,n.uX)(),(0,n.Wv)(l,{protocol:e.PROTOCOLS.aeternity,"current-step":e.currentStep,"hide-arrow-send-icon":e.isMultisig,"custom-primary-button-text":e.customPrimaryButtonText,"sending-disabled":e.isSendingDisabled,onClose:e.resolve,onStepNext:e.proceedToNextStep,onStepPrev:e.editTransfer},{content:(0,n.k6)((function(){return[((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),"is-multisig":e.isMultisig,"is-address-chain":e.isAddressChain,"is-address-url":e.isAddressUrl,onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","is-multisig","is-address-chain","is-address-url","onSuccess"]))]})),_:1},8,["protocol","current-step","hide-arrow-send-icon","custom-primary-button-text","sending-disabled","onClose","onStepNext","onStepPrev"])}var s=a(1287),o=(a(99449),a(50953)),l=a(46992),i=a(65563),u=a(31189),c=a(84754),d=a(59755),p=a(42346),m=(a(76918),a(23288),a(9868),a(26099),a(38781),a(90033)),f={class:"multisig-addresses-row"},v={key:0,class:"payload-add-wrapper"},g={class:"payload-options"};function y(e,t,a,r,s,o){var l=(0,n.g2)("ModalHeader"),i=(0,n.g2)("InfoBox"),u=(0,n.g2)("FormSelect"),c=(0,n.g2)("AccountItem"),d=(0,n.g2)("DetailsItem"),p=(0,n.g2)("TransferSendRecipient"),y=(0,n.g2)("BtnMaxAmount"),A=(0,n.g2)("TransferSendAmount"),b=(0,n.g2)("BtnText"),x=(0,n.g2)("BtnHelp"),h=(0,n.g2)("BtnIcon"),k=(0,n.g2)("PayloadDetails"),_=(0,n.g2)("TransferSendFormBase");return(0,n.uX)(),(0,n.Wv)(_,(0,n.v6)(e.$attrs,{"transfer-data":e.transferData,fee:+e.fee.toFixed(),"fee-symbol":e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,class:"transfer-send-form"}),(0,n.eX)({recipient:(0,n.k6)((function(){return[(0,n.bF)(p,{modelValue:e.formModel.address,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},errors:e.errors,"is-tip-url":e.isTipUrl,protocol:e.PROTOCOLS.aeternity,placeholder:e.isUrlTippingEnabled?e.$t("modals.send.recipientPlaceholderUrl"):e.$t("modals.send.recipientPlaceholder"),"validation-rules":Object.assign(Object.assign({aens_name_registered_or_address_or_url:e.isUrlTippingEnabled,aens_name_registered_or_address:!e.isUrlTippingEnabled},e.isMultisig?{address_not_same_as:[e.multisigVaultAddress,e.PROTOCOLS.aeternity]}:{}),{token_to_an_address:[!e.isAe]}),onOpenQrModal:e.openScanQrModal},null,8,["modelValue","errors","is-tip-url","protocol","placeholder","validation-rules","onOpenQrModal"])]})),amount:(0,n.k6)((function(){var a;return[(0,n.bF)(A,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.formModel.amount=t}),"custom-label":e.isMultisig?e.$t("modals.multisigTxProposal.amount"):"",errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:e.isMultisig,protocol:e.PROTOCOLS.aeternity,"validation-rules":Object.assign(Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0&&!e.isMultisig?{max_value:e.max}:{}),e.isMultisig?{enough_ae_signer:e.fee.toString()}:{enough_coin:e.fee.toString()}),+e.balance.minus(e.fee)>0&&e.isMultisig?{max_value_vault:null===(a=e.activeMultisigAccount)||void 0===a?void 0:a.balance.toString()}:{}),{ae_min_tip_amount:e.isTipUrl}),onAssetSelected:e.handleAssetChange},{"label-after":(0,n.k6)((function(){return[e.isMultisig?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(y,{key:0,"is-max":e.isMaxValue,onClick:e.setMaxValue},null,8,["is-max","onClick"]))]})),_:1},8,["modelValue","custom-label","errors","selected-asset","readonly","protocol","validation-rules","onAssetSelected"])]})),_:2},[e.isMultisig?{name:"header",fn:(0,n.k6)((function(){return[(0,n.bF)(l,{title:e.$t("modals.multisigTxProposal.title")},null,8,["title"]),e.hasMultisigTokenWarning?((0,n.uX)(),(0,n.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("modals.multisigTxProposal.tokenWarning")},null,8,["type","text"])):(0,n.Q3)("",!0),(0,n.Lk)("div",f,[(0,n.bF)(d,{class:"multisig-address-item"},{label:(0,n.k6)((function(){return[e.multisigVaultOwnedByManyAccounts?((0,n.uX)(),(0,n.Wv)(u,{key:0,options:e.accountsAllowedToProposeTxSelectOptions,"default-text":e.$t("modals.multisigTxProposal.signingAccount"),value:e.activeAccount.address,class:"account-selector","persistent-default-text":"",unstyled:"","account-select":"",onSelect:t[0]||(t[0]=function(t){return e.selectAccount(t)})},null,8,["options","default-text","value"])):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,m.v_)(e.$t("modals.multisigTxProposal.signingAccount")),1)],64))]})),value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol},null,8,["address","protocol"])]})),_:1}),(0,n.bF)(d,{class:"multisig-address-item",label:e.$t("modals.multisigTxProposal.multisigVault")},{value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.multisigVaultAddress,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])]})),_:1},8,["label"])])]})),key:"0"}:void 0,e.isAe?{name:"extra",fn:(0,n.k6)((function(){return[e.formModel.payload&&e.formModel.payload.length?((0,n.uX)(),(0,n.Wv)(k,{key:1,payload:e.formModel.payload,class:"payload-details"},{default:(0,n.k6)((function(){return[(0,n.Lk)("div",g,[(0,n.bF)(h,{size:"sm",dimmed:"",icon:e.EditIcon,onClick:e.editPayload},null,8,["icon","onClick"]),(0,n.bF)(h,{size:"sm","icon-variant":"danger",dimmed:"",icon:e.DeleteIcon,onClick:e.clearPayload},null,8,["icon","onClick"])])]})),_:1},8,["payload"])):((0,n.uX)(),(0,n.CE)("div",v,[(0,n.bF)(b,{icon:e.PlusCircleIcon,text:e.$t("modals.send.payload"),onClick:e.editPayload},null,8,["icon","text","onClick"]),(0,n.bF)(x,{title:e.$t("modals.payloadInfo.title"),msg:e.$t("modals.payloadInfo.msg")},null,8,["title","msg"])]))]})),key:"1"}:void 0]),1040,["transfer-data","fee","fee-symbol","protocol"])}var A=a(2327),b=(a(2008),a(74423),a(21699),a(76031),a(75220)),x=a(32118),h=a(92350),k=a(58338),_=a(6162),T=a(14812),w=a(29086),O=a(19442),S=a(72402),M=a(14552),C=a(74494),I=a(33100),P=a(37134),F=a(31157),D=a(43863),E=a(70654),R=a(40477),L=a(94386),B=a(35240),W=a(71403),$=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const V=(0,n.pM)({name:"AeTransferSendForm",components:{BtnMaxAmount:E.A,TransferSendAmount:R.A,TransferSendRecipient:D.A,DetailsItem:C.A,BtnIcon:I.A,PayloadDetails:P.A,BtnHelp:F.A,BtnText:M.A,TransferSendFormBase:_.A,InfoBox:S.A,ModalHeader:T.A,AccountItem:w.A,FormSelect:O.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},isMultisig:Boolean},emits:["update:transferData","success","error"],setup:function(e,t){var a=t.emit,r=(0,b.lq)(),s=(0,o.KR)(!1),l=(0,o.KR)(!1),p=(0,o.KR)(null),m=(0,c.U8)(),f=m.openModal,v=(0,c.ci)(),g=v.activeMultisigAccount,y=(0,c.ty)(),_=y.balance,T=(0,c.ZN)(),w=T.marketData,O=(0,c.oV)(),M=O.accounts,C=O.activeAccount,I=O.setActiveAccountByGlobalIdx,P=O.setActiveAccountByAddress,F=(0,c.Y7)(),D=F.getProtocolAvailableTokens;function E(t,a){var n=x.C.getAdapter(i.yv.aeternity).getDefaultCoin(w.value,+_.value);return t?e.isMultisig&&![d.kf,d.cK].includes(t)?void(s.value=!0):(s.value=!1,D(i.yv.aeternity)[t]||n):a?void 0:n}var R=(0,h.x)({transferData:e.transferData,getSelectedAssetValue:E}),V=R.formModel,U=R.errors,N=R.hasError,X=R.invoiceId,K=R.invoiceContract,j=R.clearPayload,Y=R.handleAssetChange,Q=R.updateFormModelValues,G=R.openScanQrModal,q=(0,c.Ym)({formModel:V}),H=q.max,z=q.fee,Z=(0,n.EW)((function(){var e;return null===(e=g.value)||void 0===e?void 0:e.gaAccountId})),J=(0,n.EW)((function(){var e;return(null===(e=V.value.selectedAsset)||void 0===e?void 0:e.contractId)===d.cK})),ee=(0,n.EW)((function(){return!!V.value.address&&l.value&&(0,u.Ks)(V.value.address)&&!(0,k.F7)(V.value.address)})),te=(0,n.EW)((function(){var e,t=+((null===(e=V.value)||void 0===e?void 0:e.amount)||0);return t>0&&t===+H.value})),ae=M.value.filter((function(e){var t,a=e.address;return null===(t=g.value)||void 0===t?void 0:t.signers.includes(a)})),ne=(0,n.EW)((function(){return(null===ae||void 0===ae?void 0:ae.length)>1})),re=(0,n.EW)((function(){return(0,u.dZ)(ae)}));function se(){f(i.kQ,{payload:V.value.payload}).then((function(e){V.value.payload=e}))["catch"]((function(){return null}))}function oe(e){e&&(P(e),V.value.amount&&p.value&&p.value.validate())}function le(){var e=z.value;V.value.amount=H.value,setTimeout((function(){e!==z.value&&(V.value.amount=H.value)}),100)}function ie(){var e,t=Object.assign(Object.assign({},V.value),{fee:z.value,total:(J.value?+z.value.toFixed():0)+ +((null===(e=V.value)||void 0===e?void 0:e.amount)||0),invoiceId:X.value,invoiceContract:K.value});return a("update:transferData",t),(0,n.dY)()}function ue(){return $(this,void 0,void 0,(0,A.A)().mark((function e(){return(0,A.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(N.value){e.next=4;break}return e.next=3,ie();case 3:a("success");case 4:case"end":return e.stop()}}),e)})))}return(0,n.wB)(N,(function(e){return a("error",e)}),{deep:!0}),(0,n.wB)(V,(function(){ie()}),{deep:!0}),(0,n.wB)(C,(function(){var t,a,n;e.isMultisig&&!(null===(t=g.value)||void 0===t?void 0:t.signers.includes(C.value.address))&&I(ae[0].globalIdx);var s=r.query;(0,u.DB)(s)&&(l.value=!0),Q(Object.assign(Object.assign({},s),{token:s.token||(null===(n=null===(a=V.value)||void 0===a?void 0:a.selectedAsset)||void 0===n?void 0:n.contractId)}))}),{deep:!0,immediate:!0}),{INFO_BOX_TYPES:S.F,AE_SYMBOL:d.kf,PROTOCOLS:i.yv,isAe:J,hasMultisigTokenWarning:s,multisigVaultAddress:Z,activeMultisigAccount:g,multisigVaultOwnedByManyAccounts:ne,accountsAllowedToProposeTxSelectOptions:re,formModel:V,isUrlTippingEnabled:l,fee:z,max:H,errors:U,balance:_,isTipUrl:ee,isMaxValue:te,activeAccount:C,editPayload:se,clearPayload:j,openScanQrModal:G,handleAssetChange:Y,selectAccount:oe,setMaxValue:le,submit:ue,EditIcon:L.A,DeleteIcon:B.A,PlusCircleIcon:W.A}}});var U=a(66262);const N=(0,U.A)(V,[["render",y],["__scopeId","data-v-010136ba"]]),X=N;a(62010);var K={class:"review-tip-wrapper"},j={class:"account-info"},Y={class:"name-address-wrapper"},Q={key:1},G={class:"token-amount-wrapper"},q={class:"lowercase"},H={class:"tip-url"},z={class:"subtitle"};function Z(e,t,a,r,s,o){var l=(0,n.g2)("LinkButton"),i=(0,n.g2)("i18n-t"),u=(0,n.g2)("ModalHeader"),c=(0,n.g2)("Avatar"),d=(0,n.g2)("Truncate"),p=(0,n.g2)("AddressTruncated"),f=(0,n.g2)("TokenAmount"),v=(0,n.g2)("FormTextarea");return(0,n.uX)(),(0,n.CE)("div",K,[(0,n.bF)(u,{title:e.$t("pages.send.sendingCryptoToUrl")},{subtitle:(0,n.k6)((function(){return[(0,n.bF)(i,{keypath:"pages.send.tipInfo",tag:"span",class:"subtitle",scope:"global"},{default:(0,n.k6)((function(){return[(0,n.bF)(l,{href:s.AGGREGATOR_URL,class:"link"},{default:(0,n.k6)((function(){return[(0,n.eW)((0,m.v_)(e.$t("pages.notifications.superhero")),1)]})),_:1},8,["href"])]})),_:1})]})),_:1},8,["title"]),(0,n.Lk)("div",j,[(0,n.bF)(c,{address:r.activeAccount.address,size:"lg"},null,8,["address"]),(0,n.Lk)("div",Y,[r.activeAccount.name?((0,n.uX)(),(0,n.Wv)(d,{key:0,str:r.activeAccount.name},null,8,["str"])):((0,n.uX)(),(0,n.CE)("div",Q,(0,m.v_)(o.getDefaultAccountLabel({idx:r.activeAccount.idx})),1)),(0,n.bF)(p,{"show-explorer-link":"",address:r.activeAccount.address,protocol:s.PROTOCOLS.aeternity},null,8,["address","protocol"])])]),(0,n.Lk)("span",G,[(0,n.eW)((0,m.v_)(e.$t("pages.send.sending"))+" ",1),(0,n.bF)(f,{amount:+a.transferData.amount,symbol:o.tokenSymbol,"hide-fiat":o.isAex9,protocol:s.PROTOCOLS.aeternity,"data-cy":"review-total"},null,8,["amount","symbol","hide-fiat","protocol"]),(0,n.Lk)("span",q,(0,m.v_)(e.$t("pages.send.to")),1)]),(0,n.Lk)("div",H,(0,m.v_)(a.transferData.address),1),(0,n.bF)(v,{modelValue:s.note,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.note=e}),size:"sm",label:e.$t("pages.send.messageUrlOwner"),message:o.noteError},{"label-after":(0,n.k6)((function(){return[(0,n.Lk)("span",{class:(0,m.C4)(["counter",{"below-zero":o.charactersLeft<0}])},(0,m.v_)(o.charactersLeft),3)]})),_:1},8,["modelValue","label","message"]),(0,n.Lk)("span",z,(0,m.v_)(e.$t("pages.tipPage.claimingExplanation")),1)])}var J=a(38151),ee=a(47206),te=a(39953),ae=a(75417),ne=a(59480),re=a(39893),se=a(28192);const oe={name:"TransferReviewTip",components:{AddressTruncated:se.A,LinkButton:ee.A,ModalHeader:T.A,TokenAmount:te.A,FormTextarea:ae.A,Avatar:ne.A,Truncate:re.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(){var e=(0,c.oV)(),t=e.activeAccount;return{activeAccount:t}},data:function(){return{AGGREGATOR_URL:i.G9,AE_CONTRACT_ID:d.cK,PROTOCOLS:i.yv,note:"",noteMaxLength:280}},computed:{isAex9:function(){var e;return(null===(e=this.transferData)||void 0===e||null===(e=e.selectedAsset)||void 0===e?void 0:e.contractId)!==d.cK},noteError:function(){return this.note.length>this.noteMaxLength?this.$t("pages.tipPage.maxNoteLengthError"):null},charactersLeft:function(){return this.noteMaxLength-this.note.length},tokenSymbol:function(){var e;return(null===(e=this.transferData.selectedAsset)||void 0===e?void 0:e.symbol)||"-"}},watch:{noteError:function(e){this.$emit("error",!!e)},note:function(e){this.$emit("input",(0,J.A)((0,J.A)({},this.transferData),{},{note:e}))}},methods:{getDefaultAccountLabel:u.$W,submit:function(){this.noteError||this.$emit("success")}}},le=(0,U.A)(oe,[["render",Z],["__scopeId","data-v-abf3c1cc"]]),ie=le;var ue={key:0,class:"multisig-account"};function ce(e,t,a,r,s,o){var l=(0,n.g2)("AccountItem"),i=(0,n.g2)("DetailsItem"),u=(0,n.g2)("TokenAmount"),c=(0,n.g2)("TransferReviewBase");return(0,n.uX)(),(0,n.Wv)(c,{title:e.isMultisig?e.$t("modals.multisigTxProposal.title"):void 0,"without-subtitle":e.isMultisig,"sender-label":e.isMultisig?e.$t("modals.multisigTxProposal.signingAddress"):void 0,"base-token-symbol":e.AE_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"avatar-name":e.isAddressChain?e.transferData.address:void 0,"show-fiat":!e.isSelectedAssetAex9,protocol:e.PROTOCOLS.aeternity,class:"transfer-review"},(0,n.eX)({subheader:(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.CE)("div",ue,[(0,n.bF)(l,{address:e.activeMultisigAccount.gaAccountId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])])):(0,n.Q3)("",!0)]})),"additional-fee":(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.Wv)(i,{key:0,class:"details-item",label:e.$t("modals.multisigTxProposal.fee")},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:e.PROPOSE_TRANSACTION_FEE,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","high-precision":"","data-cy":"multisig-review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,n.Q3)("",!0)]})),total:(0,n.k6)((function(){return[e.isSelectedAssetAex9?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(i,{key:0,label:e.$t("common.total"),class:"details-item"},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:+e.transferData.total,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":"","data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]))]})),_:2},[e.isAddressUrl?{name:"recipient",fn:(0,n.k6)((function(){return[(0,n.bF)(i,{"data-cy":"review-tip-url",class:"tip-url details-item",label:e.$t("pages.send.receivingUrl"),value:e.transferData.address},null,8,["label","value"])]})),key:"0"}:void 0]),1032,["title","without-subtitle","sender-label","base-token-symbol","transfer-data","loading","avatar-name","show-fiat","protocol"])}a(44114),a(2892);var de=a(91087),pe=a(90973);const me=JSON.parse('[{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"}],"name":"set_paid","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"PoS","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"value","type":"int"},{"name":"pos","type":"PoS"},{"name":"id","type":"int"}],"name":"burn_trigger_pos","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]');var fe=a(60831),ve=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const ge=(0,n.pM)({name:"AeTransferReview",components:{TokenAmount:te.A,DetailsItem:C.A,TransferReviewBase:fe.A,AccountItem:w.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},recipientAddress:{type:String,default:null},amount:{type:Number,default:null},isMultisig:Boolean,isAddressChain:Boolean,isAddressUrl:Boolean},setup:function(e,t){var a=t.emit,r=(0,b.rd)(),s=(0,l.s9)(),p=s.t,m=(0,c.mv)(),f=m.homeRouteName,v=(0,c.U8)(),g=v.openDefaultModal,y=(0,c.si)(),h=y.openCallbackOrGoHome,_=(0,c.rb)(),T=_.addAccountPendingTransaction,w=(0,c.oV)(),O=w.activeAccount,S=(0,c.CP)(),M=S.getAeSdk,C=(0,c.ci)(),I=C.activeMultisigAccount,P=C.addTransactionToPendingMultisigAccount,F=C.updateMultisigAccounts,D=(0,c.kz)(),E=D.getTippingContracts,R=(0,c.Y7)(),L=R.createOrChangeAllowance,B=(0,o.KR)(!1),W=18294e-8,$=(0,n.EW)((function(){var t,a;return(null===(a=null===(t=e.transferData)||void 0===t?void 0:t.selectedAsset)||void 0===a?void 0:a.contractId)!==d.cK}));function V(){g({title:p("modals.transaction-failed.msg"),icon:"critical"})}function U(e,t,a,n,r){return ve(this,void 0,void 0,(0,A.A)().mark((function s(){var o,l;return(0,A.A)().wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,M();case 2:return o=s.sent,s.next=5,o.initializeContract({aci:me,address:e});case 5:return l=s.sent,s.abrupt("return",l.burn_trigger_pos(n.toFixed(),t,a,r));case 7:case"end":return s.stop()}}),s)})))}function N(t){var n,r=t.amount,s=t.recipient,o=t.selectedAsset;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,u,c,p,m;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l=o.contractId===d.cK,B.value=!0,t.prev=2,null===e.transferData.invoiceId){t.next=9;break}return t.next=6,U(o.contractId,r.toString(),e.transferData.invoiceContract,e.transferData.invoiceId,{waitMined:!1});case 6:u=t.sent,t.next=20;break;case 9:if(l){t.next=16;break}return c=x.C.getAdapter(i.yv.aeternity),t.next=13,null===(n=c.transferToken)||void 0===n?void 0:n.call(c,Number(r),s,o.contractId,{waitMined:!1});case 13:u=t.sent,t.next=20;break;case 16:return p=x.C.getAdapter(i.yv.aeternity),t.next=19,p.spend(Number(r),s,{payload:e.transferData.payload});case 19:u=t.sent;case 20:return u&&(m={hash:u.hash,pending:!0,transactionOwner:O.value.address,protocol:i.yv.aeternity,tx:{amount:Number(r),callerId:O.value.address,contractId:o.contractId,senderId:O.value.address,type:l?de.vw[de.vw.SpendTx]:de.vw[de.vw.ContractCallTx],function:d.vG.transfer,recipientId:s,arguments:[],fee:0}},T(O.value.address,m)),a("success"),t.abrupt("return",null===u||void 0===u?void 0:u.hash);case 25:throw t.prev=25,t.t0=t["catch"](2),V(),t.t0;case 29:return t.prev=29,B.value=!1,t.finish(29);case 32:case"end":return t.stop()}}),t,null,[[2,25,29,32]])})))}function X(t){var n=t.amount,r=t.recipient,s=t.selectedAsset,o=t.note;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,c,p,m,f,v;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return B.value=!0,t.prev=1,l=null,t.next=5,E();case 5:if(c=t.sent,p=c.tippingV1,m=c.tippingV2,f=m||p,s.contractId===d.cK||!m){t.next=17;break}return t.next=12,L(s.contractId,e.amount);case 12:return t.next=14,m.tip_token(r,(0,u.y5)(o),s.contractId,n);case 14:l=t.sent,t.next=20;break;case 17:return t.next=19,f.tip(r,(0,u.y5)(o),{amount:n,waitMined:!1});case 19:l=t.sent;case 20:v={hash:l.hash,pending:!0,protocol:i.yv.aeternity,tipUrl:r,transactionOwner:O.value.address,tx:{amount:n,callerId:O.value.address,contractId:f.$options.address,type:de.vw[de.vw.ContractCallTx],function:"tip",selectedTokenContractId:s.contractId,arguments:[],fee:0}},T(O.value.address,v),h(!0),a("success"),t.next=32;break;case 26:throw t.prev=26,t.t0=t["catch"](1),h(!1),V(),t.t0.payload={url:r},t.t0;case 32:return t.prev=32,B.value=!1,t.finish(32);case 35:case"end":return t.stop()}}),t,null,[[1,26,32,35]])})))}function K(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var n,s,o,l,i,d;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(B.value=!0,t.prev=1,n=(0,c.jC)(),s=n.buildSpendTx,o=n.proposeTx,l=n.postSpendTx,!I.value){t.next=16;break}return t.next=6,s(I.value.gaAccountId,e.transferData.address,(0,k.qX)(e.transferData.amount),e.transferData.payload||void 0);case 6:return i=t.sent,t.next=9,o(i,I.value.contractId);case 9:return d=t.sent,I.value.pending&&P(d,I.value.gaAccountId,O.value.address),t.next=13,l(i,d);case 13:return t.next=15,F();case 15:r.push({name:pe.Ie});case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](1),(0,u.fY)(t.t0);case 21:return t.prev=21,a("success"),B.value=!0,t.finish(21);case 25:case"end":return t.stop()}}),t,null,[[1,18,21,25]])})))}function j(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var a,n,s,o,l,i,c;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.transferData,n=a.amount,s=a.address,o=a.selectedAsset,l=a.note,n&&s&&o){t.next=3;break}return t.abrupt("return");case 3:if(i=o.contractId===d.cK?(0,k.qX)(n):(0,u.Y9)(n,o.decimals),!e.isMultisig){t.next=9;break}return t.next=7,K();case 7:t.next=18;break;case 9:if(!e.isAddressUrl){t.next=14;break}return t.next=12,X({amount:i,recipient:s,selectedAsset:o,note:l});case 12:t.next=18;break;case 14:return t.next=16,N({amount:i,recipient:s,selectedAsset:o});case 16:c=t.sent,r.push({name:f.value,query:{latestTxHash:c}});case 18:case"end":return t.stop()}}),t)})))}return{PROTOCOLS:i.yv,isSelectedAssetAex9:$,activeMultisigAccount:I,AE_SYMBOL:d.kf,AE_CONTRACT_ID:d.cK,PROPOSE_TRANSACTION_FEE:W,loading:B,submit:j}}}),ye=(0,U.A)(ge,[["render",ce],["__scopeId","data-v-341447da"]]),Ae=ye,be=(0,n.pM)({name:i.iP,components:{TransferSendBase:p.A},props:Object.assign(Object.assign({},p.g),{tokenContractId:{type:String,default:null},isMultisig:Boolean}),setup:function(e){var t=(0,l.s9)(),a=t.t,r=(0,c.CP)(),p=r.isAeNodeReady,m=(0,c.Y7)(),f=m.getProtocolAvailableTokens,v=(0,o.KR)(),g=(0,o.KR)(i.x0.form),y=(0,o.KR)(!1),A=(0,o.KR)({address:e.address,amount:e.amount,payload:e.payload,selectedAsset:e.tokenContractId?f(i.yv.aeternity)[e.tokenContractId]:void 0}),b=(0,n.EW)((function(){var e;return!!(null===(e=A.value.address)||void 0===e?void 0:e.endsWith(d.CT))})),x=(0,n.EW)((function(){return!b.value&&A.value.address&&(0,u.Ks)(A.value.address)})),h=(0,n.EW)((function(){return y.value||!p.value||!A.value.address||!A.value.amount})),k=(0,n.EW)((function(){return e.isMultisig?a("modals.multisigTxProposal.proposeAndApprove"):""}));function _(){v.value.submit()}function T(){g.value=x.value?i.x0.reviewTip:i.x0.review}function w(){g.value=i.x0.review}function O(){y.value=!1,g.value=i.x0.form}var S=(0,s.A)((0,s.A)((0,s.A)({},i.x0.form,{component:X,onSuccess:T}),i.x0.reviewTip,{component:ie,onSuccess:w}),i.x0.review,{component:Ae,onSuccess:e.resolve}),M=(0,n.EW)((function(){return S[g.value]}));return{TRANSFER_SEND_STEPS:i.x0,PROTOCOLS:i.yv,currentRenderedComponent:v,steps:S,currentStep:g,error:y,transferData:A,currentStepConfig:M,isAddressChain:b,isAddressUrl:x,isSendingDisabled:h,customPrimaryButtonText:k,proceedToNextStep:_,editTransfer:O}}}),xe=(0,U.A)(be,[["render",r]]),he=xe}}]); \ No newline at end of file diff --git a/js/ae-transfer-send-modal.d271ac01.js b/js/ae-transfer-send-modal.d271ac01.js deleted file mode 100644 index 2d2dee6d4..000000000 --- a/js/ae-transfer-send-modal.d271ac01.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[641],{3927:(e,t,n)=>{n.r(t),n.d(t,{default:()=>xe});var a=n(66252);function r(e,t,n,r,s,o){var i=(0,a.up)("TransferSendBase");return(0,a.wg)(),(0,a.j4)(i,(0,a.dG)(e.$attrs,{protocol:e.PROTOCOL_AETERNITY,"current-step":e.currentStep,"edit-transfer":e.editTransfer,"proceed-to-next-step":e.proceedToNextStep,"hide-arrow-send-icon":e.isMultisig,"custom-primary-button-text":e.customPrimaryButtonText,"primary-button-disabled":e.isPrimaryButtonDisabled,onClose:e.resolve}),{content:(0,a.w5)((function(){return[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),"is-multisig":e.isMultisig,"is-address-chain":e.isAddressChain,"is-address-url":e.isAddressUrl,onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","is-multisig","is-address-chain","is-address-url","onSuccess"]))]})),_:1},16,["protocol","current-step","edit-transfer","proceed-to-next-step","hide-arrow-send-icon","custom-primary-button-text","primary-button-disabled","onClose"])}var s=n(62118),o=(n(27852),n(2262)),i=n(79150),l=n(33907),u=n(32720),c=n(79323),d=n(48854),p=n(9697),m=n(28243),v=n(65036),f=(n(56977),n(96647),n(83710),n(41539),n(39714),n(3577)),g={class:"multisig-addresses-row"},A={key:0,class:"payload-add-wrapper"},T={class:"payload-options"};function h(e,t,n,r,s,o){var i=(0,a.up)("ModalHeader"),l=(0,a.up)("InfoBox"),u=(0,a.up)("FormSelect"),c=(0,a.up)("AccountItem"),d=(0,a.up)("DetailsItem"),p=(0,a.up)("TransferSendRecipient"),m=(0,a.up)("BtnPlain"),v=(0,a.up)("TransferSendAmount"),h=(0,a.up)("BtnText"),w=(0,a.up)("BtnHelp"),x=(0,a.up)("BtnIcon"),b=(0,a.up)("PayloadDetails"),y=(0,a.up)("TransferSendFormBase");return(0,a.wg)(),(0,a.j4)(y,(0,a.dG)(e.$attrs,{"transfer-data":e.transferData,fee:+e.fee.toFixed(),"fee-symbol":e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY,class:"transfer-send-form"}),(0,a.Nv)({recipient:(0,a.w5)((function(){return[(0,a.Wm)(p,{modelValue:e.formModel.address,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},errors:e.errors,"is-tip-url":e.isTipUrl,protocol:e.PROTOCOL_AETERNITY,placeholder:e.isUrlTippingEnabled?e.$t("modals.send.recipientPlaceholderUrl"):e.$t("modals.send.recipientPlaceholder"),"validation-rules":Object.assign(Object.assign({name_registered_address_or_url:e.isUrlTippingEnabled,name_registered_address:!e.isUrlTippingEnabled},e.isMultisig?{not_same_as:e.multisigVaultAddress}:{}),{token_to_an_address:[!e.isAe]}),onOpenQrModal:e.openScanQrModal},null,8,["modelValue","errors","is-tip-url","protocol","placeholder","validation-rules","onOpenQrModal"])]})),amount:(0,a.w5)((function(){var n;return[(0,a.Wm)(v,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.formModel.amount=t}),"custom-label":e.isMultisig?e.$t("modals.multisigTxProposal.amount"):"",errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:e.isMultisig,protocol:e.PROTOCOL_AETERNITY,"validation-rules":Object.assign(Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0&&!e.isMultisig?{max_value:e.max}:{}),e.isMultisig?{enough_ae_signer:e.fee.toString()}:{enough_coin:e.fee.toString()}),+e.balance.minus(e.fee)>0&&e.isMultisig?{max_value_vault:null===(n=e.activeMultisigAccount)||void 0===n?void 0:n.balance.toString()}:{}),{ae_min_tip_amount:e.isTipUrl}),onAssetSelected:e.handleAssetChange},{"label-after":(0,a.w5)((function(){return[e.isMultisig?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(m,{key:0,class:(0,f.C_)(["max-button",{chosen:e.isMaxValue}]),onClick:e.setMaxValue},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,f.zw)(e.$t("common.max")),1)]})),_:1},8,["class","onClick"]))]})),_:1},8,["modelValue","custom-label","errors","selected-asset","readonly","protocol","validation-rules","onAssetSelected"])]})),_:2},[e.isMultisig?{name:"header",fn:(0,a.w5)((function(){return[(0,a.Wm)(i,{title:e.$t("modals.multisigTxProposal.title")},null,8,["title"]),e.hasMultisigTokenWarning?((0,a.wg)(),(0,a.j4)(l,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("modals.multisigTxProposal.tokenWarning")},null,8,["type","text"])):(0,a.kq)("",!0),(0,a._)("div",g,[(0,a.Wm)(d,{class:"multisig-address-item"},{label:(0,a.w5)((function(){return[e.multisigVaultOwnedByManyAccounts?((0,a.wg)(),(0,a.j4)(u,{key:0,options:e.accountsAllowedToProposeTxSelectOptions,"default-text":e.$t("modals.multisigTxProposal.signingAccount"),value:e.activeAccount.address,class:"account-selector","persistent-default-text":"",unstyled:"","account-select":"",onSelect:t[0]||(t[0]=function(t){return e.selectAccount(t)})},null,8,["options","default-text","value"])):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Uk)((0,f.zw)(e.$t("modals.multisigTxProposal.signingAccount")),1)],64))]})),value:(0,a.w5)((function(){return[(0,a.Wm)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol},null,8,["address","protocol"])]})),_:1}),(0,a.Wm)(d,{class:"multisig-address-item",label:e.$t("modals.multisigTxProposal.multisigVault")},{value:(0,a.w5)((function(){return[(0,a.Wm)(c,{address:e.multisigVaultAddress,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"])]})),_:1},8,["label"])])]})),key:"0"}:void 0,e.isAe?{name:"extra",fn:(0,a.w5)((function(){return[e.formModel.payload&&e.formModel.payload.length?((0,a.wg)(),(0,a.j4)(b,{key:1,payload:e.formModel.payload,class:"payload-details"},{default:(0,a.w5)((function(){return[(0,a._)("div",T,[(0,a.Wm)(x,{size:"sm",dimmed:"",icon:e.EditIcon,onClick:e.editPayload},null,8,["icon","onClick"]),(0,a.Wm)(x,{size:"sm","icon-variant":"danger",dimmed:"",icon:e.DeleteIcon,onClick:e.clearPayload},null,8,["icon","onClick"])])]})),_:1},8,["payload"])):((0,a.wg)(),(0,a.iD)("div",A,[(0,a.Wm)(h,{icon:e.PlusCircleIcon,text:e.$t("modals.send.payload"),onClick:e.editPayload},null,8,["icon","text","onClick"]),(0,a.Wm)(w,{title:e.$t("modals.payloadInfo.title"),msg:e.$t("modals.payloadInfo.msg")},null,8,["title","msg"])]))]})),key:"1"}:void 0]),1040,["transfer-data","fee","fee-symbol","protocol"])}n(35666),n(26699),n(32023),n(57327),n(32564);var w=n(22201),x=n(71584),b=n(2114),y=n(34601),k=n(10938),O=n(49587),_=n(23623),I=n(82825),M=n(33741),C=n(66429),R=n(11362),D=n(56378),S=n(27128),E=n(18492),P=n(51194),N=n(85721),B=n(78250),Z=n(28255),L=n(86311),F=n(43625),W=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function o(e){try{l(a.next(e))}catch(t){s(t)}}function i(e){try{l(a["throw"](e))}catch(t){s(t)}}function l(e){e.done?n(e.value):r(e.value).then(o,i)}l((a=a.apply(e,t||[])).next())}))};const Y=(0,a.aZ)({name:"AeTransferSendForm",components:{BtnPlain:N.Z,TransferSendAmount:B.Z,TransferSendRecipient:P.Z,DetailsItem:R.Z,BtnIcon:D.Z,PayloadDetails:S.Z,BtnHelp:E.Z,BtnText:C.Z,TransferSendFormBase:k.Z,InfoBox:M.Z,ModalHeader:O.Z,AccountItem:_.Z,FormSelect:I.Z},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},isMultisig:Boolean},emits:["update:transferData","success","error"],setup:function(e,t){var n=t.emit,r=(0,l.oR)(),s=(0,w.yj)(),i=(0,o.iH)(!1),v=(0,o.iH)(!1),f=(0,o.iH)(null),g=(0,p.ol)(),A=g.openModal,T=(0,p.Bo)({store:r}),h=T.activeMultisigAccount,k=(0,p.ln)({store:r}),O=k.balance,_=(0,p.jg)({store:r}),I=_.marketData,C=(0,p.xe)({store:r}),R=C.accounts,D=C.activeAccount,S=C.setActiveAccountByGlobalIdx,E=C.setActiveAccountByAddress,P=C.prepareAccountSelectOptions,N=(0,u.eJ)("fungibleTokens"),B=(0,a.Fl)((function(){return N.value.availableTokens}));function Y(t,n){var a=x.l.getAdapter(c.DJ).getDefaultCoin(I.value,+O.value);return t?e.isMultisig&&![m.WJ,m.ik].includes(t)?void(i.value=!0):(i.value=!1,B.value[t]||a):n?void 0:a}var $=(0,b.A)({transferData:e.transferData,getSelectedAssetValue:Y,protocol:c.DJ}),V=$.formModel,j=$.errors,U=$.hasError,z=$.invoiceId,H=$.invoiceContract,q=$.clearPayload,J=$.handleAssetChange,G=$.updateFormModelValues,Q=$.openScanQrModal,X=(0,p.Wp)({formModel:V,store:r}),K=X.max,ee=X.fee,te=(0,a.Fl)((function(){var e;return null===(e=h.value)||void 0===e?void 0:e.gaAccountId})),ne=(0,a.Fl)((function(){var e;return(null===(e=V.value.selectedAsset)||void 0===e?void 0:e.contractId)===m.ik})),ae=(0,a.Fl)((function(){return N.value.tokenBalances})),re=(0,a.Fl)((function(){return!!V.value.address&&v.value&&(0,d.pM)(V.value.address)&&!(0,y.qi)(V.value.address)})),se=(0,a.Fl)((function(){var e,t=+((null===(e=V.value)||void 0===e?void 0:e.amount)||0);return t>0&&t===+K.value})),oe=R.value.filter((function(e){var t,n=e.address;return null===(t=h.value)||void 0===t?void 0:t.signers.includes(n)})),ie=(0,a.Fl)((function(){return(null===oe||void 0===oe?void 0:oe.length)>1})),le=(0,a.Fl)((function(){return P(oe)}));function ue(){A(c.L1,{payload:V.value.payload}).then((function(e){V.value.payload=e}))["catch"]((function(){return null}))}function ce(e){e&&(E(e),V.value.amount&&f.value&&f.value.validate())}function de(){var e=ee.value;V.value.amount=K.value,setTimeout((function(){e!==ee.value&&(V.value.amount=K.value)}),100)}function pe(){var e,t=Object.assign(Object.assign({},V.value),{fee:ee.value,total:(ne.value?+ee.value.toFixed():0)+ +((null===(e=V.value)||void 0===e?void 0:e.amount)||0),invoiceId:z.value,invoiceContract:H.value});return n("update:transferData",t),(0,a.Y3)()}function me(){return W(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(U.value){e.next=4;break}return e.next=3,pe();case 3:n("success");case 4:case"end":return e.stop()}}),e)})))}return(0,a.YP)(U,(function(e){return n("error",e)}),{deep:!0}),(0,a.YP)(V,(function(){pe()}),{deep:!0}),(0,a.YP)(D,(function(){var t,n,a;e.isMultisig&&!(null===(t=h.value)||void 0===t?void 0:t.signers.includes(D.value.address))&&S(oe[0].globalIdx);var r=s.query;(0,d.bO)(r)&&(v.value=!0),G(Object.assign(Object.assign({},r),{token:r.token||(null===(a=null===(n=V.value)||void 0===n?void 0:n.selectedAsset)||void 0===a?void 0:a.contractId)}))}),{deep:!0,immediate:!0}),{INFO_BOX_TYPES:M._,AE_SYMBOL:m.WJ,PROTOCOL_AETERNITY:c.DJ,isAe:ne,hasMultisigTokenWarning:i,multisigVaultAddress:te,activeMultisigAccount:h,multisigVaultOwnedByManyAccounts:ie,accountsAllowedToProposeTxSelectOptions:le,formModel:V,isUrlTippingEnabled:v,fee:ee,max:K,errors:j,balance:O,isTipUrl:re,isMaxValue:se,activeAccount:D,editPayload:ue,clearPayload:q,openScanQrModal:function(){return Q(ae.value)},handleAssetChange:J,selectAccount:ce,setMaxValue:de,submit:me,EditIcon:Z.Z,DeleteIcon:L.Z,PlusCircleIcon:F.Z}}});var $=n(83744);const V=(0,$.Z)(Y,[["render",h],["__scopeId","data-v-4265d770"]]),j=V;n(68309);var U={class:"review-tip-wrapper"},z={class:"account-info"},H={class:"name-address-wrapper"},q={key:1},J={class:"token-amount-wrapper"},G={class:"lowercase"},Q={class:"tip-url"},X={class:"subtitle"};function K(e,t,n,r,s,o){var i=(0,a.up)("LinkButton"),l=(0,a.up)("i18n-t"),u=(0,a.up)("ModalHeader"),c=(0,a.up)("Avatar"),d=(0,a.up)("Truncate"),p=(0,a.up)("AddressTruncated"),m=(0,a.up)("TokenAmount"),v=(0,a.up)("FormTextarea");return(0,a.wg)(),(0,a.iD)("div",U,[(0,a.Wm)(u,{title:e.$t("pages.send.sendingCryptoToUrl")},{subtitle:(0,a.w5)((function(){return[(0,a.Wm)(l,{keypath:"pages.send.tipInfo",tag:"span",class:"subtitle",scope:"global"},{default:(0,a.w5)((function(){return[(0,a.Wm)(i,{href:s.AGGREGATOR_URL,class:"link"},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,f.zw)(e.$t("pages.notifications.superhero")),1)]})),_:1},8,["href"])]})),_:1})]})),_:1},8,["title"]),(0,a._)("div",z,[(0,a.Wm)(c,{address:r.activeAccount.address,size:"lg"},null,8,["address"]),(0,a._)("div",H,[r.activeAccount.name?((0,a.wg)(),(0,a.j4)(d,{key:0,str:r.activeAccount.name},null,8,["str"])):((0,a.wg)(),(0,a.iD)("div",q,(0,f.zw)(o.getDefaultAccountLabel({protocolIdx:r.activeAccount.idx})),1)),(0,a.Wm)(p,{"show-explorer-link":"",address:r.activeAccount.address,protocol:s.PROTOCOL_AETERNITY},null,8,["address","protocol"])])]),(0,a._)("span",J,[(0,a.Uk)((0,f.zw)(e.$t("pages.send.sending"))+" ",1),(0,a.Wm)(m,{amount:+n.transferData.amount,symbol:o.tokenSymbol,"hide-fiat":o.isAex9,protocol:s.PROTOCOL_AETERNITY,"data-cy":"review-total"},null,8,["amount","symbol","hide-fiat","protocol"]),(0,a._)("span",G,(0,f.zw)(e.$t("pages.send.to")),1)]),(0,a._)("div",Q,(0,f.zw)(n.transferData.address),1),(0,a.Wm)(v,{modelValue:s.note,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.note=e}),size:"sm",label:e.$t("pages.send.messageUrlOwner"),message:o.noteError},{"label-after":(0,a.w5)((function(){return[(0,a._)("span",{class:(0,f.C_)(["counter",{"below-zero":o.charactersLeft<0}])},(0,f.zw)(o.charactersLeft),3)]})),_:1},8,["modelValue","label","message"]),(0,a._)("span",X,(0,f.zw)(e.$t("pages.tipPage.claimingExplanation")),1)])}var ee=n(11538),te=n(70764),ne=n(26906),ae=n(48358),re=n(46010),se=n(27338),oe=n(27344);const ie={name:"TransferReviewTip",components:{AddressTruncated:oe.Z,LinkButton:te.Z,ModalHeader:O.Z,TokenAmount:ne.Z,FormTextarea:ae.Z,Avatar:re.Z,Truncate:se.Z},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(){var e=(0,l.oR)(),t=(0,p.xe)({store:e}),n=t.activeAccount;return{activeAccount:n}},data:function(){return{AGGREGATOR_URL:c.IE,AE_CONTRACT_ID:m.ik,PROTOCOL_AETERNITY:c.DJ,note:"",noteMaxLength:280}},computed:{isAex9:function(){var e;return(null===(e=this.transferData)||void 0===e||null===(e=e.selectedAsset)||void 0===e?void 0:e.contractId)!==m.ik},noteError:function(){return this.note.length>this.noteMaxLength?this.$t("pages.tipPage.maxNoteLengthError"):null},charactersLeft:function(){return this.noteMaxLength-this.note.length},tokenSymbol:function(){var e;return(null===(e=this.transferData.selectedAsset)||void 0===e?void 0:e.symbol)||"-"}},watch:{noteError:function(e){this.$emit("error",!!e)},note:function(e){this.$emit("input",(0,ee.Z)((0,ee.Z)({},this.transferData),{},{note:e}))}},methods:{getDefaultAccountLabel:d.gg,submit:function(){this.noteError||this.$emit("success")}}},le=(0,$.Z)(ie,[["render",K],["__scopeId","data-v-458b7222"]]),ue=le;var ce={key:0,class:"multisig-account"};function de(e,t,n,r,s,o){var i=(0,a.up)("AccountItem"),l=(0,a.up)("DetailsItem"),u=(0,a.up)("TokenAmount"),c=(0,a.up)("TransferReviewBase");return(0,a.wg)(),(0,a.j4)(c,{title:e.isMultisig?e.$t("modals.multisigTxProposal.title"):void 0,"without-subtitle":e.isMultisig,"sender-label":e.isMultisig?e.$t("modals.multisigTxProposal.signingAddress"):void 0,"base-token-symbol":e.AE_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"avatar-name":e.isAddressChain?e.transferData.address:void 0,"show-fiat":e.isSelectedAssetAex9,protocol:e.PROTOCOL_AETERNITY,class:"transfer-review"},(0,a.Nv)({subheader:(0,a.w5)((function(){return[e.isMultisig?((0,a.wg)(),(0,a.iD)("div",ce,[(0,a.Wm)(i,{address:e.activeMultisigAccount.gaAccountId,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"])])):(0,a.kq)("",!0)]})),"additional-fee":(0,a.w5)((function(){return[e.isMultisig?((0,a.wg)(),(0,a.j4)(l,{key:0,class:"details-item",label:e.$t("modals.multisigTxProposal.fee")},{value:(0,a.w5)((function(){return[(0,a.Wm)(u,{amount:e.PROPOSE_TRANSACTION_FEE,symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY,"hide-fiat":"","high-precision":"","data-cy":"multisig-review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,a.kq)("",!0)]})),total:(0,a.w5)((function(){return[e.transferData.selectedAsset.contractId===e.AE_CONTRACT_ID?((0,a.wg)(),(0,a.j4)(l,{key:0,label:e.$t("common.total"),class:"details-item"},{value:(0,a.w5)((function(){return[(0,a.Wm)(u,{amount:+e.transferData.total,symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY,"high-precision":"","data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,a.kq)("",!0)]})),_:2},[e.isAddressUrl?{name:"recipient",fn:(0,a.w5)((function(){return[(0,a.Wm)(l,{"data-cy":"review-tip-url",class:"tip-url details-item",label:e.$t("pages.send.receivingUrl"),value:e.transferData.address},null,8,["label","value"])]})),key:"0"}:void 0]),1032,["title","without-subtitle","sender-label","base-token-symbol","transfer-data","loading","avatar-name","show-fiat","protocol"])}n(9653),n(57658);var pe=n(65986),me=n(94308),ve=n(80746),fe=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function o(e){try{l(a.next(e))}catch(t){s(t)}}function i(e){try{l(a["throw"](e))}catch(t){s(t)}}function l(e){e.done?n(e.value):r(e.value).then(o,i)}l((a=a.apply(e,t||[])).next())}))};const ge=(0,a.aZ)({name:"AeTransferReview",components:{TokenAmount:ne.Z,DetailsItem:R.Z,TransferReviewBase:ve.Z,AccountItem:_.Z},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},recipientAddress:{type:String,default:null},amount:{type:Number,default:null},isMultisig:Boolean,isAddressChain:Boolean,isAddressUrl:Boolean},setup:function(e,t){var n=t.emit,r=(0,l.oR)(),s=(0,w.tv)(),u=(0,i.QT)(),v=u.t,f=(0,p.bl)(),g=f.homeRouteName,A=(0,p.ol)(),T=A.openDefaultModal,h=(0,p.TW)(),b=h.openCallbackOrGoHome,k=(0,p.DQ)({store:r}),O=k.upsertCustomPendingTransactionForAccount,_=(0,p.xe)({store:r}),I=_.activeAccount,M=(0,p.Bo)({store:r}),C=M.activeMultisigAccount,R=M.addTransactionToPendingMultisigAccount,D=M.updateMultisigAccounts,S=(0,p.YA)({store:r}),E=S.getTippingContracts,P=(0,o.iH)(!1),N=18294e-8,B=(0,a.Fl)((function(){var t,n;return(null===(n=null===(t=e.transferData)||void 0===t?void 0:t.selectedAsset)||void 0===n?void 0:n.contractId)!==m.ik}));function Z(){T({title:v("modals.transaction-failed.msg"),icon:"critical"})}function L(t){var a=t.amount,s=t.recipient,o=t.selectedAsset;return fe(this,void 0,void 0,regeneratorRuntime.mark((function t(){var i,l,u,d,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=o.contractId===m.ik,P.value=!0,t.prev=2,null===e.transferData.invoiceId){t.next=9;break}return t.next=6,r.dispatch("fungibleTokens/burnTriggerPoS",[o.contractId,a,e.transferData.invoiceContract,e.transferData.invoiceId,{waitMined:!1,modal:!1}]);case 6:l=t.sent,t.next=19;break;case 9:if(i){t.next=15;break}return t.next=12,r.dispatch("fungibleTokens/transfer",[o.contractId,s,a,{waitMined:!1,modal:!1}]);case 12:l=t.sent,t.next=19;break;case 15:return u=x.l.getAdapter(c.DJ),t.next=18,u.spend(a,s,{payload:e.transferData.payload});case 18:l=t.sent;case 19:return l&&!i?(d={hash:l.hash,pendingTokenTx:!0,pending:!0,transactionOwner:I.value.address,tx:{amount:a,callerId:I.value.address,contractId:o.contractId,type:pe.Vp[pe.Vp.ContractCallTx],function:m.ls.transfer,recipientId:s,arguments:[],fee:0}},O(I.value.address,d)):l&&(p={hash:l.hash,pending:!0,transactionOwner:I.value.address,tx:{amount:a,callerId:I.value.address,contractId:o.contractId,senderId:I.value.address,recipientId:s,type:pe.Vp[pe.Vp.SpendTx],function:m.ls.transfer,arguments:[],fee:0}},O(I.value.address,p)),n("success"),t.abrupt("return",l.hash);case 24:throw t.prev=24,t.t0=t["catch"](2),Z(),t.t0;case 28:return t.prev=28,P.value=!1,t.finish(28);case 31:case"end":return t.stop()}}),t,null,[[2,24,28,31]])})))}function F(t){var a=t.amount,s=t.recipient,o=t.selectedAsset,i=t.note;return fe(this,void 0,void 0,regeneratorRuntime.mark((function t(){var l,u,c,p,v,f;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return P.value=!0,t.prev=1,l=null,t.next=5,E();case 5:if(u=t.sent,c=u.tippingV1,p=u.tippingV2,v=p||c,o.contractId===m.ik||!p){t.next=17;break}return t.next=12,r.dispatch("fungibleTokens/createOrChangeAllowance",[o.contractId,e.amount]);case 12:return t.next=14,p.tip_token(s,(0,d.SC)(i),o.contractId,a);case 14:l=t.sent,t.next=20;break;case 17:return t.next=19,v.tip(s,(0,d.SC)(i),Object.assign({amount:a,waitMined:!1},{modal:!1}));case 19:l=t.sent;case 20:f={hash:l.hash,pending:!0,tipUrl:s,transactionOwner:I.value.address,tx:{amount:a,callerId:I.value.address,contractId:v.$options.address,type:pe.Vp[pe.Vp.ContractCallTx],function:"tip",selectedTokenContractId:o.contractId,arguments:[],fee:0}},O(I.value.address,f),b(!0),n("success"),t.next=32;break;case 26:throw t.prev=26,t.t0=t["catch"](1),b(!1),Z(),t.t0.payload={url:s},t.t0;case 32:return t.prev=32,P.value=!1,t.finish(32);case 35:case"end":return t.stop()}}),t,null,[[1,26,32,35]])})))}function W(){return fe(this,void 0,void 0,regeneratorRuntime.mark((function t(){var a,o,i,l,u,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(P.value=!0,t.prev=1,a=(0,p.RS)({store:r}),o=a.buildSpendTx,i=a.proposeTx,l=a.postSpendTx,!C.value){t.next=16;break}return t.next=6,o(C.value.gaAccountId,e.transferData.address,(0,y.Ze)(e.transferData.amount),e.transferData.payload||void 0);case 6:return u=t.sent,t.next=9,i(u,C.value.contractId);case 9:return c=t.sent,C.value.pending&&R(c,C.value.gaAccountId,I.value.address),t.next=13,l(u,c);case 13:return t.next=15,D();case 15:s.push({name:me.QA});case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](1),(0,d.ac)(t.t0);case 21:return t.prev=21,n("success"),P.value=!0,t.finish(21);case 25:case"end":return t.stop()}}),t,null,[[1,18,21,25]])})))}function Y(){return fe(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i,l,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.transferData,a=n.amount,r=n.address,o=n.selectedAsset,i=n.note,a&&r&&o){t.next=3;break}return t.abrupt("return");case 3:if(l=o.contractId===m.ik?(0,y.Ze)(a):(0,d.Yt)(a,o.decimals),!e.isMultisig){t.next=9;break}return t.next=7,W();case 7:t.next=18;break;case 9:if(!e.isAddressUrl){t.next=14;break}return t.next=12,F({amount:l,recipient:r,selectedAsset:o,note:i});case 12:t.next=18;break;case 14:return t.next=16,L({amount:l,recipient:r,selectedAsset:o});case 16:u=t.sent,s.push({name:g.value,query:{latestTxHash:u}});case 18:case"end":return t.stop()}}),t)})))}return{PROTOCOL_AETERNITY:c.DJ,isSelectedAssetAex9:B,activeMultisigAccount:C,AE_SYMBOL:m.WJ,AE_CONTRACT_ID:m.ik,PROPOSE_TRANSACTION_FEE:N,loading:P,submit:Y}}}),Ae=(0,$.Z)(ge,[["render",de],["__scopeId","data-v-08dd9738"]]),Te=Ae,he=(0,a.aZ)({name:c.Nj,components:{TransferSendBase:v.Z},props:{resolve:{type:Function,default:function(){return null}},tokenContractId:{type:String,default:null},address:{type:String,default:null},amount:{type:String,default:""},payload:{type:String,default:""},isMultisig:Boolean},setup:function(e){var t,n=(0,i.QT)(),r=n.t,v=(0,l.oR)(),f=(0,p.cn)({store:v}),g=f.isAeNodeReady,A=(0,o.iH)(),T=(0,o.iH)(c.Nz.form),h=(0,o.iH)(!1),w=(0,o.iH)({amount:e.amount,selectedAsset:void 0,payload:e.payload}),x=(0,u.eJ)("fungibleTokens","availableTokens"),b=(0,a.Fl)((function(){var e;return!!(null===(e=w.value.address)||void 0===e?void 0:e.endsWith(m.Dq))})),y=(0,a.Fl)((function(){return!b.value&&w.value.address&&(0,d.pM)(w.value.address)})),k=(0,a.Fl)((function(){return h.value||!g.value||!w.value.address||!w.value.amount})),O=(0,a.Fl)((function(){return e.isMultisig?r("modals.multisigTxProposal.proposeAndApprove"):""}));function _(){A.value.submit()}function I(){T.value=y.value?c.Nz.reviewTip:c.Nz.review}function M(){T.value=c.Nz.review}function C(){e.resolve()}function R(){h.value=!1,T.value=c.Nz.form}var D=(t={},(0,s.Z)(t,c.Nz.form,{component:j,onSuccess:I}),(0,s.Z)(t,c.Nz.reviewTip,{component:ue,onSuccess:M}),(0,s.Z)(t,c.Nz.review,{component:Te,onSuccess:C}),t),S=(0,a.Fl)((function(){return D[T.value]}));return e.tokenContractId&&x.value[e.tokenContractId]&&(w.value.selectedAsset=x.value[e.tokenContractId]),e.address&&(w.value.address=e.address),{TRANSFER_SEND_STEPS:c.Nz,PROTOCOL_AETERNITY:c.DJ,currentRenderedComponent:A,steps:D,currentStep:T,error:h,transferData:w,currentStepConfig:S,isAddressChain:b,isAddressUrl:y,isPrimaryButtonDisabled:k,customPrimaryButtonText:O,proceedToNextStep:_,editTransfer:R}}}),we=(0,$.Z)(he,[["render",r]]),xe=we}}]); \ No newline at end of file diff --git a/js/btc-account-details-transactions.1e4a25b2.js b/js/btc-account-details-transactions.1e4a25b2.js deleted file mode 100644 index 52ecc6c14..000000000 --- a/js/btc-account-details-transactions.1e4a25b2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[711],{12471:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var a=t(66252),r={ref:"innerScrollElem"};function i(n,e,t,i,o,u){var c=(0,a.up)("TransactionList"),l=(0,a.up)("MessageOffline"),s=(0,a.up)("IonContent"),v=(0,a.up)("IonPage");return(0,a.wg)(),(0,a.j4)(v,{class:"account-details-transactions"},{default:(0,a.w5)((function(){return[(0,a.Wm)(s,{class:"ion-padding ion-content-bg--lighter"},{default:(0,a.w5)((function(){return[(0,a._)("div",r,[n.isOnline?((0,a.wg)(),(0,a.j4)(c,{key:0,transactions:n.transactions,loading:n.loading,onLoadMore:e[0]||(e[0]=function(e){return n.loadMoreTransactions()})},null,8,["transactions","loading"])):((0,a.wg)(),(0,a.j4)(l,{key:1,class:"offline-message",text:n.$t("modals.accountDetails.transactionsNotAvailable")},null,8,["text"]))],512)]})),_:1})]})),_:1})}var o=t(95822),u=(t(35666),t(41539),t(92222),t(2262)),c=t(33907),l=t(111),s=t(51268),v=t(79323),f=t(9697),d=t(71584),p=t(25327),h=t(88757),g=t(48854),w=t(36605),m=function(n,e,t,a){function r(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,i){function o(n){try{c(a.next(n))}catch(e){i(e)}}function u(n){try{c(a["throw"](n))}catch(e){i(e)}}function c(n){n.done?t(n.value):r(n.value).then(o,u)}c((a=a.apply(n,e||[])).next())}))};const x=(0,a.aZ)({components:{TransactionList:p.Z,MessageOffline:h.Z,IonPage:s._i,IonContent:s.W2},props:{ionicLifecycleStatus:{type:String,default:null}},setup:function(n){var e,t=d.l.getAdapter(v.ou),r=(0,c.oR)(),i=(0,f.Rc)(),s=i.isOnline,p=(0,f.xe)({store:r}),h=p.activeAccount,x=(0,f._b)(),k=x.setScrollConf,b=(0,u.iH)(),Z=(0,u.iH)(0),_=(0,u.iH)([]),y=(0,u.iH)([]),L=(0,u.iH)(!1),I=(0,a.Fl)((function(){return[].concat((0,o.Z)(_.value||[]),(0,o.Z)(y.value||[]))})),S=(0,a.Fl)((function(){var n;return null===(n=b.value)||void 0===n?void 0:n.parentElement}));function T(){return m(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(L.value){n.next=14;break}return n.prev=1,L.value=!0,n.next=5,t.fetchTransactions(h.value.address);case 5:_.value=n.sent,n.next=11;break;case 8:n.prev=8,n.t0=n["catch"](1),w.Z.write(n.t0);case 11:return n.prev=11,L.value=!1,n.finish(11);case 14:case"end":return n.stop()}}),n,null,[[1,8,11,14]])})))}function M(){return m(this,void 0,void 0,regeneratorRuntime.mark((function n(){var e,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e=y.value.length?y.value[y.value.length-1].hash:_.value[_.value.length-1].hash,!e){n.next=12;break}return n.prev=2,n.next=5,t.fetchTransactions(h.value.address,e);case 5:a=n.sent,(null===a||void 0===a?void 0:a.length)&&(y.value=[].concat((0,o.Z)(y.value),[a])),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),w.Z.write(n.t0);case 12:case"end":return n.stop()}}),n,null,[[2,9]])})))}function R(){return(0,l.Z)((function(){var n,e;Z.value=null!==(e=null===(n=null===S||void 0===S?void 0:S.value)||void 0===n?void 0:n.scrollTop)&&void 0!==e?e:0}),200)}function C(){e&&clearInterval(e),k(!1)}return(0,a.YP)(Z,(function(n){k(n>=v._e)})),(0,a.YP)((function(){return n.ionicLifecycleStatus}),(function(t){if("didEnter"===t)return L.value=!1,k(!1),b.value&&S.value&&S.value.addEventListener("scroll",R()),void(e=(0,g.ID)((function(){T()}),1e4));"didLeave"===n.ionicLifecycleStatus&&C()})),(0,a.Ah)(C),{isOnline:s,transactions:I,transactionsLatest:_,transactionsMore:y,loading:L,loadMoreTransactions:M,innerScrollElem:b}}});var k=t(83744);const b=(0,k.Z)(x,[["render",i],["__scopeId","data-v-37b2fec0"]]),Z=b}}]); \ No newline at end of file diff --git a/js/btc-account-details.226ca90e.js b/js/btc-account-details.226ca90e.js deleted file mode 100644 index bb1182692..000000000 --- a/js/btc-account-details.226ca90e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[881],{6556:(n,e,t)=>{t.r(e),t.d(e,{default:()=>i});var a=t(66252);function c(n,e,t,c,u,o){var s=(0,a.up)("AccountDetailsBase"),r=(0,a.up)("IonContent"),l=(0,a.up)("IonPage");return(0,a.wg)(),(0,a.j4)(l,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(r,{class:"account-ion-content"},{default:(0,a.w5)((function(){return[(0,a.Wm)(s,{class:"account-details"})]})),_:1})]})),_:1})}var u=t(51268),o=t(79323),s=t(66355);const r=(0,a.aZ)({name:o.Un,components:{AccountDetailsBase:s.Z,IonPage:u._i,IonContent:u.W2}});var l=t(83744);const p=(0,l.Z)(r,[["render",c],["__scopeId","data-v-9c6ac4be"]]),i=p}}]); \ No newline at end of file diff --git a/js/btc-account-details.e9f47237.js b/js/btc-account-details.e9f47237.js new file mode 100644 index 000000000..d91e672fd --- /dev/null +++ b/js/btc-account-details.e9f47237.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[575],{93125:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var a=t(20641);function o(e,n,t,o,u,c){var r=(0,a.g2)("AccountDetailsBase"),s=(0,a.g2)("IonContent"),l=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(l,null,{default:(0,a.k6)((function(){return[(0,a.bF)(s,{class:"account-ion-content"},{default:(0,a.k6)((function(){return[e.pageDidEnter?((0,a.uX)(),(0,a.Wv)(r,{key:0,class:"account-details"})):(0,a.Q3)("",!0)]})),_:1})]})),_:1})}var u=t(62759),c=t(65563),r=t(58071);const s=(0,a.pM)({name:c.AK,components:{AccountDetailsBase:r.A,IonPage:u.AO,IonContent:u.W9},props:{pageDidEnter:Boolean}});var l=t(66262);const p=(0,l.A)(s,[["render",o],["__scopeId","data-v-e9dfb640"]]),d=p}}]); \ No newline at end of file diff --git a/js/btc-transaction-details.953e3017.js b/js/btc-transaction-details.953e3017.js new file mode 100644 index 000000000..3c183f6cd --- /dev/null +++ b/js/btc-transaction-details.953e3017.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[838],{45864:(n,t,e)=>{e.r(t),e.d(t,{default:()=>T});var a=e(20641),o={class:"transaction-details"};function s(n,t,e,s,r,i){var u=(0,a.g2)("TransactionAssetRows"),c=(0,a.g2)("TransactionDetailsBase"),l=(0,a.g2)("IonContent"),v=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(v,null,{default:(0,a.k6)((function(){return[(0,a.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,[n.transaction?((0,a.uX)(),(0,a.Wv)(c,{key:0,transaction:n.transaction,amount:n.amount,"amount-total":n.amountTotal,fee:n.fee,hash:n.hash,"non-ae-assets":n.assets,protocol:n.PROTOCOLS.bitcoin,"show-header":""},{tokens:(0,a.k6)((function(){return[(0,a.bF)(u,{assets:n.assets,"is-rounded":!!n.assets,protocol:n.PROTOCOLS.bitcoin,"icon-size":"rg","multiple-rows":""},null,8,["assets","is-rounded","protocol"])]})),_:1},8,["transaction","amount","amount-total","fee","hash","non-ae-assets","protocol"])):(0,a.Q3)("",!0)])]})),_:1})]})),_:1})}var r=e(2327),i=(e(44114),e(26099),e(50953)),u=e(75220),c=e(62759),l=e(65563),v=e(84754),d=e(32118),f=e(90973),h=e(28446),p=e(11948),m=e(75518),w=e(3260),O=function(n,t,e,a){function o(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,s){function r(n){try{u(a.next(n))}catch(t){s(t)}}function i(n){try{u(a["throw"](n))}catch(t){s(t)}}function u(n){n.done?e(n.value):o(n.value).then(r,i)}u((a=a.apply(n,t||[])).next())}))};const b=(0,a.pM)({components:{TransactionDetailsBase:m.A,TransactionAssetRows:w.A,IonContent:c.W9,IonPage:c.AO},setup:function(){var n=this,t=(0,u.rd)(),e=(0,u.lq)(),o=(0,v.mv)(),s=o.setLoaderVisible,c=e.params.hash,m=e.params.transactionOwner,w=d.C.getAdapter(l.yv.bitcoin),b=(0,i.KR)(),g=(0,a.EW)((function(){var n,t;return(null===(t=null===(n=b.value)||void 0===n?void 0:n.tx)||void 0===t?void 0:t.senderId)!==m})),k=(0,a.EW)((function(){var n,t;return(null===(t=null===(n=b.value)||void 0===n?void 0:n.tx)||void 0===t?void 0:t.fee)||0})),T=(0,a.EW)((function(){var n,t;return(null===(t=null===(n=b.value)||void 0===n?void 0:n.tx)||void 0===t?void 0:t.amount)||0})),C=(0,a.EW)((function(){var n;return(null===(n=b.value)||void 0===n?void 0:n.tx)?(0,p.nG)(b.value,g.value):0})),x=(0,a.EW)((function(){return g.value?l.NX.received:l.NX.sent})),A=(0,a.EW)((function(){return[{amount:T.value,symbol:h.HF,name:h.OX,isReceived:x.value===l.NX.received,contractId:w.coinContractId}]}));return(0,a.wB)(b,(function(n){s(!n)}),{immediate:!0}),(0,a.sV)((function(){return O(n,void 0,void 0,(0,r.A)().mark((function n(){return(0,r.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.t0=Object,n.t1=Object,n.t2={},n.next=6,w.fetchTransactionByHash(c);case 6:n.t3=n.sent,n.t4=n.t1.assign.call(n.t1,n.t2,n.t3),n.t5={transactionOwner:m},b.value=n.t0.assign.call(n.t0,n.t4,n.t5),n.next=16;break;case 12:n.prev=12,n.t6=n["catch"](0),s(!1),t.push({name:f.hN});case 16:case"end":return n.stop()}}),n,null,[[0,12]])})))})),{BTC_SYMBOL:h.HF,PROTOCOLS:l.yv,amount:T,amountTotal:C,direction:x,fee:k,hash:c,assets:A,transaction:b}}});var g=e(66262);const k=(0,g.A)(b,[["render",s]]),T=k}}]); \ No newline at end of file diff --git a/js/btc-transaction-details.eac14af4.js b/js/btc-transaction-details.eac14af4.js deleted file mode 100644 index 3b2f08765..000000000 --- a/js/btc-transaction-details.eac14af4.js +++ /dev/null @@ -1 +0,0 @@ -(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[476],{75544:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cg clip-path='url(%23a)'%3e%3cpath fill='%23F7931A' d='M15.759 9.935a7.998 7.998 0 1 1-15.52-3.87 7.998 7.998 0 0 1 15.52 3.87Z'/%3e%3cpath fill='%23fff' d='M11.527 6.86c.159-1.064-.652-1.637-1.76-2.018l.36-1.443-.878-.218-.35 1.404c-.231-.058-.468-.112-.704-.166l.353-1.413-.877-.219-.36 1.442a29.013 29.013 0 0 1-.56-.132v-.005l-1.21-.302-.234.938s.652.15.638.158c.355.089.42.324.409.51l-.41 1.644a.713.713 0 0 1 .092.03l-.093-.024-.574 2.302c-.044.108-.154.27-.403.208.01.013-.638-.16-.638-.16l-.435 1.006 1.142.285c.213.053.42.109.626.161l-.363 1.459.876.218.36-1.443c.24.065.472.125.7.182L6.875 12.7l.878.219.363-1.456c1.497.283 2.623.17 3.097-1.185.382-1.09-.02-1.719-.807-2.129.574-.132 1.006-.51 1.121-1.289ZM9.52 9.673c-.271 1.09-2.107.5-2.702.353l.482-1.933c.595.149 2.504.443 2.22 1.58Zm.271-2.829c-.247.992-1.775.488-2.27.365l.437-1.753c.495.124 2.091.354 1.834 1.388Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='%23fff' d='M0 0h15.998v16H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},88627:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>B});var a=n(66252),o={class:"transaction-details"},r=(0,a._)("div",null,null,-1);function l(e,t,n,l,i,c){var u=(0,a.up)("TransactionDetailsBase"),s=(0,a.up)("IonContent"),v=(0,a.up)("IonPage");return(0,a.wg)(),(0,a.j4)(v,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(s,{class:"ion-padding ion-content-bg"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[e.transaction?((0,a.wg)(),(0,a.j4)(u,{key:0,transaction:e.transaction,"coin-symbol":e.BTC_SYMBOL,"transaction-fee":e.transactionFee,"token-symbol":e.BTC_SYMBOL,"total-amount":e.totalAmount,direction:e.direction,"explorer-url":e.explorerUrl,hash:e.hash,"none-ae-coin":e.tokens,protocol:e.PROTOCOL_BITCOIN},null,8,["transaction","coin-symbol","transaction-fee","token-symbol","total-amount","direction","explorer-url","hash","none-ae-coin","protocol"])):(0,a.kq)("",!0),r])]})),_:1})]})),_:1})}n(35666),n(41539),n(57658);var i=n(2262),c=n(22201),u=n(51268),s=n(71584),v=n(79323),d=n(3437),p=n(49097),f=n(94308),h=n(9697),m=n(57413),g=n(75544),w=n.n(g),x=function(e,t,n,a){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function l(e){try{c(a.next(e))}catch(t){r(t)}}function i(e){try{c(a["throw"](e))}catch(t){r(t)}}function c(e){e.done?n(e.value):o(e.value).then(l,i)}c((a=a.apply(e,t||[])).next())}))};const O=(0,a.aZ)({components:{TransactionDetailsBase:m.Z,IonContent:u.W2,IonPage:u._i},setup:function(){var e=this,t=(0,c.tv)(),n=(0,c.yj)(),o=(0,h.bl)(),r=o.setLoaderVisible,l=n.params.hash,u=n.params.transactionOwner,m=(0,i.iH)(),g=(0,a.Fl)((function(){var e;return s.l.getAdapter(v.ou).getExplorer().prepareUrlForHash(null===(e=m.value)||void 0===e?void 0:e.hash)})),O=(0,a.Fl)((function(){var e,t,n;return null!==(n=null===(t=null===(e=m.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.fee)&&void 0!==n?n:0})),b=(0,a.Fl)((function(){var e;return(null===(e=m.value)||void 0===e?void 0:e.tx)?(0,p.oK)(m.value,m.value.tx.recipientId===u):0})),k=(0,a.Fl)((function(){var e,t;return u===(null===(t=null===(e=m.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.senderId)?v.Dl.sent:v.Dl.received})),B=(0,a.Fl)((function(){return[{amount:b.value,symbol:d.ir,isReceived:k.value===v.Dl.received,isAe:!1,image:w()}]}));return(0,a.YP)(m,(function(e){r(!e)}),{immediate:!0}),(0,a.bv)((function(){return x(e,void 0,void 0,regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=s.l.getAdapter(v.ou),e.t0=Object,e.t1=Object,e.t2={},e.next=7,n.getTransactionByHash(l);case 7:e.t3=e.sent,e.t4=e.t1.assign.call(e.t1,e.t2,e.t3),e.t5={transactionOwner:u},m.value=e.t0.assign.call(e.t0,e.t4,e.t5),e.next=16;break;case 13:e.prev=13,e.t6=e["catch"](0),t.push({name:f.vl});case 16:case"end":return e.stop()}}),e,null,[[0,13]])})))})),{BTC_SYMBOL:d.ir,PROTOCOL_BITCOIN:v.ou,direction:k,explorerUrl:g,hash:l,transaction:m,transactionFee:O,tokens:B,totalAmount:b}}});var b=n(83744);const k=(0,b.Z)(O,[["render",l]]),B=k}}]); \ No newline at end of file diff --git a/js/btc-transfer-receive-modal.6d95d4d9.js b/js/btc-transfer-receive-modal.6d95d4d9.js new file mode 100644 index 000000000..d421f9ba8 --- /dev/null +++ b/js/btc-transfer-receive-modal.6d95d4d9.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[640],{289:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var o=a(20641);function c(e,t,a,c,r,n){var s=(0,o.g2)("TransferReceiveBase");return(0,o.uX)(),(0,o.Wv)(s,(0,o.v6)(e.$attrs,{heading:e.$t("modals.receive.title",{name:e.protocolName}),"account-address":e.activeAccount.address,protocol:e.PROTOCOLS.bitcoin,"disable-asset-selection":""}),null,16,["heading","account-address","protocol"])}var r=a(65563),n=a(84754),s=a(32118),u=a(14023);const i=(0,o.pM)({name:r.LX,components:{TransferReceiveBase:u.A},setup:function(){var e=(0,n.oV)(),t=e.activeAccount;return{PROTOCOLS:r.yv,activeAccount:t,protocolName:s.C.getAdapter(r.yv.bitcoin).protocolName}}});var l=a(66262);const v=(0,l.A)(i,[["render",c]]),d=v}}]); \ No newline at end of file diff --git a/js/btc-transfer-receive-modal.be30826f.js b/js/btc-transfer-receive-modal.be30826f.js deleted file mode 100644 index b68753327..000000000 --- a/js/btc-transfer-receive-modal.be30826f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[200],{1127:(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var o=a(66252);function r(e,t,a,r,c,s){var n=(0,o.up)("TransferReceiveBase");return(0,o.wg)(),(0,o.j4)(n,(0,o.dG)(e.$attrs,{heading:e.$t("modals.receive.title",{name:e.protocolName}),"account-address":e.activeAccount.address,protocol:e.PROTOCOL_BITCOIN,"disable-asset-selection":""}),null,16,["heading","account-address","protocol"])}var c=a(33907),s=a(79323),n=a(9697),u=a(71584),l=a(22537);const d=(0,o.aZ)({name:s.wC,components:{TransferReceiveBase:l.Z},setup:function(){var e=(0,c.oR)(),t=(0,n.xe)({store:e}),a=t.activeAccount;return{PROTOCOL_BITCOIN:s.ou,activeAccount:a,protocolName:u.l.getAdapter(s.ou).protocolName}}});var i=a(83744);const p=(0,i.Z)(d,[["render",r]]),v=p}}]); \ No newline at end of file diff --git a/js/btc-transfer-send-modal.4ecf5ec4.js b/js/btc-transfer-send-modal.4ecf5ec4.js deleted file mode 100644 index 9f3577d35..000000000 --- a/js/btc-transfer-send-modal.4ecf5ec4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[899],{61037:(e,t,n)=>{n.r(t),n.d(t,{default:()=>te});var r=n(66252);function a(e,t,n,a,o,u){var s=(0,r.up)("TransferSendBase");return(0,r.wg)(),(0,r.j4)(s,(0,r.dG)(e.$attrs,{protocol:e.PROTOCOL_BITCOIN,"current-step":e.currentStep,"edit-transfer":e.editTransfer,"proceed-to-next-step":e.proceedToNextStep,"primary-button-disabled":e.error||!e.transferData.address||!e.transferData.amount,onClose:e.resolve}),{content:(0,r.w5)((function(){return[((0,r.wg)(),(0,r.j4)((0,r.LL)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","onSuccess"]))]})),_:1},16,["protocol","current-step","edit-transfer","proceed-to-next-step","primary-button-disabled","onClose"])}var o=n(62118),u=n(2262),s=n(33907),i=n(9697),l=n(65036),c=n(79323),d=n(71584);function f(e,t,n,a,o,u){var s=(0,r.up)("TokenAmount"),i=(0,r.up)("DetailsItem"),l=(0,r.up)("TransferReviewBase");return(0,r.wg)(),(0,r.j4)(l,{"base-token-symbol":e.BTC_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"show-fiat":"",protocol:e.PROTOCOL_BITCOIN,class:"transfer-review"},{total:(0,r.w5)((function(){return[(0,r.Wm)(i,{label:e.$t("common.total"),class:"details-item"},{value:(0,r.w5)((function(){return[(0,r.Wm)(s,{amount:+e.transferData.total,symbol:e.BTC_SYMBOL,"high-precision":"",protocol:e.PROTOCOL_BITCOIN,"data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])]})),_:1},8,["base-token-symbol","transfer-data","loading","protocol"])}n(35666),n(41539),n(57658);var m=n(22201),p=n(79150),v=n(80746),T=n(11362),w=n(26906),O=n(3437),S=n(70794),_=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{i(r.next(e))}catch(t){o(t)}}function s(e){try{i(r["throw"](e))}catch(t){o(t)}}function i(e){e.done?n(e.value):a(e.value).then(u,s)}i((r=r.apply(e,t||[])).next())}))};const g=(0,r.aZ)({name:"BtcTransferReview",components:{TokenAmount:w.Z,DetailsItem:T.Z,TransferReviewBase:v.Z},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(e,t){var n=t.emit,r=(0,p.QT)(),a=r.t,o=(0,m.tv)(),l=(0,i.bl)(),f=l.homeRouteName,v=(0,i.ol)(),T=v.openDefaultModal,w=(0,s.oR)(),g=(0,i.xe)({store:w}),b=g.activeAccount,C=(0,u.iH)(!1);function h(e){T({title:a("modals.transaction-failed.msg"),icon:"critical",msg:e})}function N(e){var t=document.createElement("textarea");return t.textContent=e,t.innerHTML}function I(t){var n,r=t.amount,a=t.recipient;t.selectedAsset;return _(this,void 0,void 0,regeneratorRuntime.mark((function t(){var o,u,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=d.l.getAdapter(c.ou),t.prev=1,C.value=!0,t.next=5,o.spend((0,S.Z)(r).toNumber(),a,Object.assign({fee:null===(n=e.transferData.fee)||void 0===n?void 0:n.toNumber()},b.value));case 5:return u=t.sent,s=u.hash,t.abrupt("return",s);case 10:throw t.prev=10,t.t0=t["catch"](1),h(N(t.t0.message)),t.t0;case 14:return t.prev=14,C.value=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,10,14,17]])})))}function B(){return _(this,void 0,void 0,regeneratorRuntime.mark((function t(){var r,a,u,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=e.transferData,a=r.amount,u=r.address,s=r.selectedAsset,a&&u&&s){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,I({amount:a,recipient:u,selectedAsset:s});case 5:t.sent,o.push({name:f.value}),n("success");case 8:case"end":return t.stop()}}),t)})))}return{PROTOCOL_BITCOIN:c.ou,BTC_SYMBOL:O.ir,BTC_CONTRACT_ID:O.Nd,loading:C,submit:B}}});var b=n(83744);const C=(0,b.Z)(g,[["render",f],["__scopeId","data-v-602d1c1d"]]),h=C;n(96647),n(83710),n(39714);var N=n(3577),I=n(49963);function B(e,t,n,a,o,u){var s=(0,r.up)("TransferSendRecipient"),i=(0,r.up)("BtnPlain"),l=(0,r.up)("TransferSendAmount"),c=(0,r.up)("TransactionSpeedPicker"),d=(0,r.up)("DetailsItem"),f=(0,r.up)("TransferSendFormBase");return(0,r.wg)(),(0,r.j4)(f,(0,r.dG)(e.$attrs,{"transfer-data":e.transferData,fee:e.numericFee,"fee-symbol":e.BTC_SYMBOL,protocol:e.PROTOCOL_BITCOIN,"custom-title":e.$t("modals.send.sendAsset",{name:e.BTC_COIN_NAME}),class:"transfer-send-form"}),{recipient:(0,r.w5)((function(){return[(0,r.Wm)(s,{modelValue:e.formModel.address,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},placeholder:e.$t("modals.send.recipientPlaceholderProtocol",{name:e.PROTOCOL_BITCOIN}),errors:e.errors,protocol:e.PROTOCOL_BITCOIN,"validation-rules":{address_btc:[e.activeNetwork.type]},onOpenQrModal:e.openScanQrModal},null,8,["modelValue","placeholder","errors","protocol","validation-rules","onOpenQrModal"])]})),amount:(0,r.w5)((function(){return[(0,r.Wm)(l,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:"",protocol:e.PROTOCOL_BITCOIN,"validation-rules":Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0?{max_value:e.max.toString()}:{}),{enough_coin:[e.fee.toString(),e.BTC_SYMBOL]}),e.activeNetwork.type===e.NETWORK_TYPE_TESTNET?{}:{min_value_exclusive:e.toBitcoin(e.DUST_AMOUNT)}),onAssetSelected:e.handleAssetChange},{"label-after":(0,r.w5)((function(){return[(0,r.Wm)(i,{class:(0,N.C_)(["max-button",{chosen:e.formModel.amount.toString()===e.max.toString()}]),onClick:e.setMaxAmount},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,N.zw)(e.$t("common.max")),1)]})),_:1},8,["class","onClick"])]})),_:1},8,["modelValue","errors","selected-asset","protocol","validation-rules","onAssetSelected"])]})),extra:(0,r.w5)((function(){return[(0,r.wy)((0,r._)("div",null,[(0,r.Wm)(d,{label:e.$t("modals.send.transactionSpeed")},{value:(0,r.w5)((function(){return[(0,r.Wm)(c,{modelValue:e.feeSelectedIndex,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.feeSelectedIndex=t}),"fee-list":e.feeList},null,8,["modelValue","fee-list"])]})),_:1},8,["label"])],512),[[I.F8,e.activeNetwork.type!==e.NETWORK_TYPE_TESTNET]])]})),_:1},16,["transfer-data","fee","fee-symbol","protocol","custom-title"])}n(56977);var R=n(51993),x=n(2114),D=n(48854),y=n(36605),A=n(33741),Z=n(10938),k=n(51194),M=n(78250),E={class:"transaction-speed-picker"},P={class:"radio-wrapper"},L=["textContent"],F={key:0,class:"completion-time"};function j(e,t,n,a,o,u){var s=(0,r.up)("RadioButton");return(0,r.wg)(),(0,r.iD)("div",E,[(0,r._)("div",P,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.feeList,(function(t,n){return(0,r.wg)(),(0,r.j4)(s,{key:n,value:e.modelValue===n,onInput:function(t){return e.handleInput(n)}},{default:(0,r.w5)((function(){return[(0,r._)("p",{textContent:(0,N.zw)(t.label)},null,8,L)]})),_:2},1032,["value","onInput"])})),128))]),e.UNFINISHED_FEATURES?((0,r.wg)(),(0,r.iD)("p",F,(0,N.zw)(e.$t("modals.send.transactionWillBeCompleted",{time:e.secondsToRelativeTime(e.feeList[e.modelValue].time,!0)})),1)):(0,r.kq)("",!0)])}n(9653);var H=n(70090);const U=(0,r.aZ)({components:{RadioButton:H.Z},props:{feeList:{type:Array,required:!0,validate:function(e){return 3===e.length}},modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit;function r(e){n("update:modelValue",e)}return{UNFINISHED_FEATURES:c._0,secondsToRelativeTime:D.Kg,handleInput:r}}}),V=(0,b.Z)(U,[["render",j],["__scopeId","data-v-0223bf77"]]),Y=V;var W=n(85721),z=n(28255),$=n(86311),Q=n(43625),K=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{i(r.next(e))}catch(t){o(t)}}function s(e){try{i(r["throw"](e))}catch(t){o(t)}}function i(e){e.done?n(e.value):a(e.value).then(u,s)}i((r=r.apply(e,t||[])).next())}))};const q=(0,r.aZ)({name:"BtcTransferSendForm",components:{BtnPlain:W.Z,TransactionSpeedPicker:Y,DetailsItem:T.Z,TransferSendAmount:M.Z,TransferSendRecipient:k.Z,TransferSendFormBase:Z.Z},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},emits:["update:transferData","success","error"],setup:function(e,t){var n=t.emit,a=d.l.getAdapter(c.ou),o=(0,s.oR)(),l=(0,p.QT)(),f=l.t,m=(0,i.e9)(),v=m.activeNetwork,T=(0,u.iH)(!1),w=(0,u.iH)(!1),_=(0,i.ln)({store:o}),g=_.balance,b=(0,i.xe)({store:o}),C=b.activeAccount,h=(0,x.A)({transferData:e.transferData,protocol:c.ou}),N=h.formModel,I=h.errors,B=h.hasError,Z=h.invoiceId,k=h.invoiceContract,M=h.clearPayload,E=h.openScanQrModal,P=h.handleAssetChange,L=(0,u.iH)(1),F=(0,u.iH)(new S.Z(2e-5)),j=(0,u.iH)(new S.Z(2e-5)),H=(0,u.iH)(new S.Z(2e-5)),U=(0,r.Fl)((function(){return[{fee:F.value,time:3540,label:f("common.transferSpeed.slow")},{fee:j.value,time:600,label:f("common.transferSpeed.medium")},{fee:H.value,time:25,label:f("common.transferSpeed.fast")}]})),V=(0,r.Fl)((function(){return U.value[L.value].fee})),Y=(0,r.Fl)((function(){return+V.value.toFixed()})),W=(0,r.Fl)((function(){return g.value.minus(V.value)}));function q(){var e,t=Object.assign(Object.assign({},N.value),{fee:V.value,total:Y.value+ +((null===(e=N.value)||void 0===e?void 0:e.amount)||0),invoiceId:Z.value,invoiceContract:k.value});return n("update:transferData",t),(0,r.Y3)()}function G(){return K(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(B.value){e.next=4;break}return e.next=3,q();case 3:n("success");case 4:case"end":return e.stop()}}),e)})))}function X(){N.value.amount=W.value.isPositive()?W.value.toString():"0"}function J(){return K(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,r,o,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.constructAndSignTx(0,N.value.address||C.value.address,Object.assign({fee:0},C.value));case 3:return t=e.sent.virtualSize(),n=v.value.protocols.bitcoin.nodeUrl,e.next=7,(0,D.rd)("".concat(n,"/fee-estimates"));case 7:r=e.sent["5"],o=new S.Z(.5),u=new S.Z(Math.ceil(r*t)),F.value=new S.Z((0,R.toBitcoin)(Math.ceil(u.minus(u.times(o)).toNumber()))),j.value=new S.Z((0,R.toBitcoin)(u.toNumber()*(v.value.type===c.Rn?2:1))),H.value=new S.Z((0,R.toBitcoin)(Math.ceil(u.plus(u.times(o)).toNumber()))),e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](0),y.Z.write(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,15]])})))}var ee=null;return(0,r.bv)((function(){ee=(0,D.ID)((function(){J()}),5e3)})),(0,r.Ah)((function(){ee&&clearInterval(ee)})),(0,r.YP)(B,(function(e){return n("error",e)}),{deep:!0}),(0,r.YP)(N,(function(){q()}),{deep:!0}),{INFO_BOX_TYPES:A._,BTC_SYMBOL:O.ir,BTC_COIN_NAME:O.uZ,DUST_AMOUNT:O.Vn,PROTOCOL_BITCOIN:c.ou,NETWORK_TYPE_TESTNET:c.Rn,hasMultisigTokenWarning:T,formModel:N,isUrlTippingEnabled:w,activeNetwork:v,fee:V,feeList:U,feeSelectedIndex:L,numericFee:Y,activeAccount:C,errors:I,balance:g,max:W,clearPayload:M,openScanQrModal:E,handleAssetChange:P,EditIcon:z.Z,DeleteIcon:$.Z,PlusCircleIcon:Q.Z,submit:G,setMaxAmount:X,toBitcoin:R.toBitcoin}}}),G=(0,b.Z)(q,[["render",B],["__scopeId","data-v-2fc8e97d"]]),X=G,J=(0,r.aZ)({name:c.Nj,components:{TransferSendBase:l.Z},props:{resolve:{type:Function,default:function(){return null}},tokenContractId:{type:String,default:null},address:{type:String,default:null},amount:{type:String,default:""},payload:{type:String,default:""}},setup:function(e){var t,n=(0,s.oR)(),a=(0,i.jg)({store:n}),l=a.marketData,f=(0,i.ln)({store:n}),m=f.balance,p=(0,u.iH)(),v=(0,u.iH)(c.Nz.form),T=(0,u.iH)(!1),w=(0,u.iH)({amount:e.amount,selectedAsset:d.l.getAdapter(c.ou).getDefaultCoin(l.value,+m.value),payload:e.payload});function O(){p.value.submit()}function S(){v.value=c.Nz.review}function _(){e.resolve()}function g(){T.value=!1,v.value=c.Nz.form}var b=(t={},(0,o.Z)(t,c.Nz.form,{component:X,onSuccess:S}),(0,o.Z)(t,c.Nz.review,{component:h,onSuccess:_}),t),C=(0,r.Fl)((function(){return b[v.value]}));return e.address&&(w.value.address=e.address),{TRANSFER_SEND_STEPS:c.Nz,PROTOCOL_BITCOIN:c.ou,currentRenderedComponent:p,steps:b,currentStep:v,error:T,transferData:w,currentStepConfig:C,proceedToNextStep:O,editTransfer:g}}}),ee=(0,b.Z)(J,[["render",a]]),te=ee}}]); \ No newline at end of file diff --git a/js/btc-transfer-send-modal.d39f4654.js b/js/btc-transfer-send-modal.d39f4654.js new file mode 100644 index 000000000..fa19eb27c --- /dev/null +++ b/js/btc-transfer-send-modal.d39f4654.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[875],{53007:(e,t,n)=>{n.r(t),n.d(t,{default:()=>$});var r=n(20641);function a(e,t,n,a,o,s){var i=(0,r.g2)("TransferSendBase");return(0,r.uX)(),(0,r.Wv)(i,{protocol:e.PROTOCOLS.bitcoin,"current-step":e.currentStep,"sending-disabled":e.error||!e.transferData.address||!e.transferData.amount,onClose:e.resolve,onStepNext:e.proceedToNextStep,onStepPrev:e.editTransfer},{content:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","onSuccess"]))]})),_:1},8,["protocol","current-step","sending-disabled","onClose","onStepNext","onStepPrev"])}var o=n(1287),s=n(50953),i=n(65563),c=n(32118),u=n(84754),l=n(42346);function d(e,t,n,a,o,s){var i=(0,r.g2)("TokenAmount"),c=(0,r.g2)("DetailsItem"),u=(0,r.g2)("TransferReviewBase");return(0,r.uX)(),(0,r.Wv)(u,{"base-token-symbol":e.BTC_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"show-fiat":"",protocol:e.PROTOCOLS.bitcoin,class:"transfer-review"},{total:(0,r.k6)((function(){return[(0,r.bF)(c,{label:e.$t("common.total"),class:"details-item"},{value:(0,r.k6)((function(){return[(0,r.bF)(i,{amount:+e.transferData.total,symbol:e.BTC_SYMBOL,"high-precision":"",protocol:e.PROTOCOLS.bitcoin,"data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])]})),_:1},8,["base-token-symbol","transfer-data","loading","protocol"])}var f=n(2327),v=(n(44114),n(2892),n(26099),n(75220)),m=n(46992),p=n(60831),b=n(74494),S=n(39953),A=n(28446),T=n(60346),O=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function i(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):a(e.value).then(s,i)}c((r=r.apply(e,t||[])).next())}))};const g=(0,r.pM)({name:"BtcTransferReview",components:{TokenAmount:S.A,DetailsItem:b.A,TransferReviewBase:p.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(e,t){var n=t.emit,r=(0,m.s9)(),a=r.t,o=(0,v.rd)(),l=(0,u.mv)(),d=l.homeRouteName,p=(0,u.U8)(),b=p.openDefaultModal,S=(0,u.oV)(),g=S.activeAccount,h=S.getLastActiveProtocolAccount,w=(0,u.rb)(),x=w.addAccountPendingTransaction,C=(0,s.KR)(!1);function M(e){b({title:a("modals.transaction-failed.msg"),icon:"critical",msg:e})}function y(e){var t=document.createElement("textarea");return t.textContent=e,t.innerHTML}function _(t){var n,r=t.amount,a=t.recipient;t.selectedAsset;return O(this,void 0,void 0,(0,f.A)().mark((function t(){var o,s,u;return(0,f.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=c.C.getAdapter(i.yv.bitcoin),t.prev=1,C.value=!0,t.next=5,o.spend((0,T.A)(r).toNumber(),a,Object.assign({fee:null===(n=e.transferData.fee)||void 0===n?void 0:n.toNumber()},g.value));case 5:return s=t.sent,u=s.hash,t.abrupt("return",u);case 10:throw t.prev=10,t.t0=t["catch"](1),M(y(t.t0.message)),t.t0;case 14:return t.prev=14,C.value=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,10,14,17]])})))}function k(){var t,r;return O(this,void 0,void 0,(0,f.A)().mark((function a(){var s,c,u,l,v,m,p;return(0,f.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(s=e.transferData,c=s.amount,u=s.address,l=s.selectedAsset,c&&u&&l){a.next=3;break}return a.abrupt("return");case 3:return a.next=5,_({amount:c,recipient:u,selectedAsset:l});case 5:v=a.sent,v&&(m=h(i.yv.bitcoin),p={hash:v,pending:!0,transactionOwner:null===m||void 0===m?void 0:m.address,protocol:i.yv.bitcoin,tx:{amount:Number(c),callerId:null===m||void 0===m?void 0:m.address,contractId:l.contractId,senderId:null===m||void 0===m?void 0:m.address,type:"SpendTx",recipientId:u,arguments:[],fee:null!==(r=null===(t=e.transferData.fee)||void 0===t?void 0:t.toNumber())&&void 0!==r?r:0}},x(null===m||void 0===m?void 0:m.address,p)),o.push({name:d.value}),n("success");case 9:case"end":return a.stop()}}),a)})))}return{PROTOCOLS:i.yv,BTC_SYMBOL:A.HF,loading:C,submit:k}}});var h=n(66262);const w=(0,h.A)(g,[["render",d],["__scopeId","data-v-96985f64"]]),x=w;n(76918),n(23288),n(38781);var C=n(53751);function M(e,t,n,a,o,s){var i=(0,r.g2)("TransferSendRecipient"),c=(0,r.g2)("BtnMaxAmount"),u=(0,r.g2)("TransferSendAmount"),l=(0,r.g2)("TransactionSpeedPicker"),d=(0,r.g2)("DetailsItem"),f=(0,r.g2)("TransferSendFormBase");return(0,r.uX)(),(0,r.Wv)(f,(0,r.v6)(e.$attrs,{"transfer-data":e.transferData,fee:e.numericFee,"fee-symbol":e.BTC_SYMBOL,protocol:e.PROTOCOLS.bitcoin,"custom-title":e.$t("modals.send.sendAsset",{name:e.BTC_COIN_NAME}),class:"transfer-send-form"}),{recipient:(0,r.k6)((function(){return[(0,r.bF)(i,{modelValue:e.formModel.address,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},placeholder:e.$t("modals.send.recipientPlaceholderProtocol",{name:e.PROTOCOLS.bitcoin}),errors:e.errors,protocol:e.PROTOCOLS.bitcoin,"validation-rules":{account_address:[e.PROTOCOLS.bitcoin,e.activeNetwork.type]},onOpenQrModal:e.openScanQrModal},null,8,["modelValue","placeholder","errors","protocol","validation-rules","onOpenQrModal"])]})),amount:(0,r.k6)((function(){return[(0,r.bF)(u,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:"",protocol:e.PROTOCOLS.bitcoin,"validation-rules":Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0?{max_value:e.max.toString()}:{}),{enough_coin:[e.fee.toString(),e.BTC_SYMBOL]}),e.activeNetwork.type===e.NETWORK_TYPE_TESTNET?{}:{min_value_exclusive:e.toBitcoin(e.DUST_AMOUNT)}),onAssetSelected:e.handleAssetChange},{"label-after":(0,r.k6)((function(){var t,n;return[(0,r.bF)(c,{"is-max":(null===(n=null===(t=e.formModel)||void 0===t?void 0:t.amount)||void 0===n?void 0:n.toString())===e.max.toString(),onClick:e.setMaxAmount},null,8,["is-max","onClick"])]})),_:1},8,["modelValue","errors","selected-asset","protocol","validation-rules","onAssetSelected"])]})),extra:(0,r.k6)((function(){return[(0,r.bo)((0,r.bF)(d,{label:e.$t("modals.send.transactionSpeed")},{value:(0,r.k6)((function(){return[(0,r.bF)(l,{modelValue:e.feeSelectedIndex,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.feeSelectedIndex=t}),"fee-list":e.feeList},null,8,["modelValue","fee-list"])]})),_:1},8,["label"]),[[C.aG,e.activeNetwork.type!==e.NETWORK_TYPE_TESTNET]])]})),_:1},16,["transfer-data","fee","fee-symbol","protocol","custom-title"])}n(9868);var y=n(14673),_=n(92350),k=n(31189),R=n(12589),B=n(72402),D=n(6162),N=n(43863),P=n(40477),E=n(14117),I=n(70654),L=n(94386),F=n(35240),K=n(71403),j=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function i(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):a(e.value).then(s,i)}c((r=r.apply(e,t||[])).next())}))};const V=(0,r.pM)({name:"BtcTransferSendForm",components:{BtnMaxAmount:I.A,TransactionSpeedPicker:E.A,DetailsItem:b.A,TransferSendAmount:P.A,TransferSendRecipient:N.A,TransferSendFormBase:D.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},emits:["update:transferData","success","error"],setup:function(e,t){var n=t.emit,a=c.C.getAdapter(i.yv.bitcoin),o=(0,v.lq)(),l=(0,m.s9)(),d=l.t,p=(0,u.fI)(),b=p.activeNetwork,S=(0,u.ty)(),O=S.balance,g=(0,u.oV)(),h=g.activeAccount,w=(0,s.KR)(!1),x=(0,s.KR)(!1),C=(0,_.x)({transferData:e.transferData}),M=C.formModel,D=C.errors,N=C.hasError,P=C.invoiceId,E=C.invoiceContract,I=C.clearPayload,V=C.openScanQrModal,W=C.handleAssetChange,U=C.updateFormModelValues,Y=(0,s.KR)(1),X=(0,s.KR)(new T.A(2e-5)),$=(0,s.KR)(new T.A(2e-5)),Q=(0,s.KR)(new T.A(2e-5)),q=(0,r.EW)((function(){return[{fee:X.value,time:3540,label:d("common.transferSpeed.slow")},{fee:$.value,time:600,label:d("common.transferSpeed.medium")},{fee:Q.value,time:25,label:d("common.transferSpeed.fast")}]})),H=(0,r.EW)((function(){return q.value[Y.value].fee})),z=(0,r.EW)((function(){return+H.value.toFixed()})),G=(0,r.EW)((function(){return O.value.minus(H.value)}));function Z(){var e,t=Object.assign(Object.assign({},M.value),{fee:H.value,total:z.value+ +((null===(e=M.value)||void 0===e?void 0:e.amount)||0),invoiceId:P.value,invoiceContract:E.value});return n("update:transferData",t),(0,r.dY)()}function J(){return j(this,void 0,void 0,(0,f.A)().mark((function e(){return(0,f.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(N.value){e.next=4;break}return e.next=3,Z();case 3:n("success");case 4:case"end":return e.stop()}}),e)})))}function ee(){M.value.amount=G.value.isPositive()?G.value.toString():"0"}function te(){return j(this,void 0,void 0,(0,f.A)().mark((function e(){var t,n,r,o,s;return(0,f.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.constructAndSignTx(0,M.value.address||h.value.address,Object.assign({fee:0},h.value));case 3:return t=e.sent.virtualSize(),n=b.value.protocols.bitcoin.nodeUrl,e.next=7,(0,k.x6)("".concat(n,"/fee-estimates"));case 7:r=e.sent["5"],o=new T.A(.5),s=new T.A(Math.ceil(r*t)),X.value=new T.A((0,y.toBitcoin)(Math.ceil(s.minus(s.times(o)).toNumber()))),$.value=new T.A((0,y.toBitcoin)(s.toNumber()*(b.value.type===i.Oj?2:1))),Q.value=new T.A((0,y.toBitcoin)(Math.ceil(s.plus(s.times(o)).toNumber()))),e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](0),R.A.write(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,15]])})))}var ne=null;return(0,r.sV)((function(){ne=(0,k.mX)((function(){te()}),5e3);var e=o.query;U(Object.assign(Object.assign({},e),{token:e.token}))})),(0,r.hi)((function(){ne&&clearInterval(ne)})),(0,r.wB)(N,(function(e){return n("error",e)}),{deep:!0}),(0,r.wB)(M,(function(){Z()}),{deep:!0}),{INFO_BOX_TYPES:B.F,BTC_SYMBOL:A.HF,BTC_COIN_NAME:A.OX,DUST_AMOUNT:A.uR,PROTOCOLS:i.yv,NETWORK_TYPE_TESTNET:i.Oj,hasMultisigTokenWarning:w,formModel:M,isUrlTippingEnabled:x,activeNetwork:b,fee:H,feeList:q,feeSelectedIndex:Y,numericFee:z,activeAccount:h,errors:D,balance:O,max:G,clearPayload:I,openScanQrModal:V,handleAssetChange:W,EditIcon:L.A,DeleteIcon:F.A,PlusCircleIcon:K.A,submit:J,setMaxAmount:ee,toBitcoin:y.toBitcoin}}}),W=(0,h.A)(V,[["render",M]]),U=W,Y=(0,r.pM)({name:i.iP,components:{TransferSendBase:l.A},props:l.g,setup:function(e){var t=(0,u.ZN)(),n=t.marketData,a=(0,u.ty)(),l=a.balance,d=(0,s.KR)(),f=(0,s.KR)(i.x0.form),v=(0,s.KR)(!1),m=(0,s.KR)({address:e.address,amount:e.amount,payload:e.payload,selectedAsset:c.C.getAdapter(i.yv.bitcoin).getDefaultCoin(n.value,+l.value)});function p(){d.value.submit()}function b(){f.value=i.x0.review}function S(){v.value=!1,f.value=i.x0.form}var A=(0,o.A)((0,o.A)({},i.x0.form,{component:U,onSuccess:b}),i.x0.review,{component:x,onSuccess:e.resolve}),T=(0,r.EW)((function(){return A[f.value]}));return{TRANSFER_SEND_STEPS:i.x0,PROTOCOLS:i.yv,currentRenderedComponent:d,steps:A,currentStep:f,error:v,transferData:m,currentStepConfig:T,proceedToNextStep:p,editTransfer:S}}}),X=(0,h.A)(Y,[["render",a]]),$=X}}]); \ No newline at end of file diff --git a/js/chunk-common.9817d459.js b/js/chunk-common.9817d459.js new file mode 100644 index 000000000..44aac102a --- /dev/null +++ b/js/chunk-common.9817d459.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[996],{92350:(e,t,n)=>{n.d(t,{x:()=>y});var a=n(55096),o=n(6682),r=n(2327),s=(n(25440),n(62953),n(3296),n(48408),n(76918),n(28706),n(50113),n(51629),n(62062),n(15086),n(23288),n(62010),n(53921),n(79432),n(26099),n(27495),n(38781),n(47764),n(42762),n(23500),n(14603),n(47566),n(98721),n(50953)),l=n(20641),u=n(46992),i=n(15261),c=n(21452),d=n(65563),v=n(31189),p=n(12589),m=n(39262),f=n(43631),A=n(59602),b=function(e,t,n,a){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(a.next(e))}catch(t){r(t)}}function l(e){try{u(a["throw"](e))}catch(t){r(t)}}function u(e){e.done?n(e.value):o(e.value).then(s,l)}u((a=a.apply(e,t||[])).next())}))};function y(e){var t=e.transferData,n=e.getSelectedAssetValue,y=(0,s.KR)(t),g=(0,s.KR)(null),h=(0,s.KR)(null),k=(0,u.s9)(),C=k.t,S=(0,c.U)(),w=S.openModal,x=S.openDefaultModal,E=(0,i.mN)(),I=E.errors,F=E.validate,T=E.validateField,R=(0,f.t)(),B=R.save,M=(0,A.S)(),V=M.accountAssets,_=(0,l.EW)((function(){return["address","amount"].some((function(e){return"error"===(0,v.sY)(I.value[e]).status}))}));function L(){y.value.payload=""}function N(e){y.value.selectedAsset=e}function D(e,t){var n=e.account,a=e.amount,o=e.payload,r=e.token,s={},l=t?t(r,y.value.selectedAsset):null;return l&&(s.selectedAsset=l),n&&(s.address=n),a&&(s.amount=a),o&&(s.payload=o),s}function X(e){return b(this,void 0,void 0,(0,r.A)().mark((function t(){var a;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=D(e,n),y.value=Object.assign(Object.assign({},y.value),a),t.next=4,(0,l.dY)();case 4:Object.keys(a).forEach((function(e){return T(e)}));case 5:case"end":return t.stop()}}),t)})))}function W(){var e,t;return b(this,void 0,void 0,(0,r.A)().mark((function n(){var s,l,u;return(0,r.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s="",n.next=3,w(d.$b,{title:C("pages.send.scanAddress",{assetName:null===(e=y.value.selectedAsset)||void 0===e?void 0:e.name}),icon:"critical"}).then((function(e){return e}))["catch"]((function(e){return e instanceof m.y&&B(y.value),null}));case 3:if(s=n.sent,"{"!==(null===s||void 0===s?void 0:s.trim().charAt(0))){n.next=30;break}l=null,n.prev=6,l=JSON.parse(s),n.next=16;break;case 10:return n.prev=10,n.t0=n["catch"](6),d.p8||p.A.write(n.t0),y.value.address=void 0,x({title:C("modals.invalid-qr-code.msg"),icon:"critical"}),n.abrupt("return");case 16:if(u=V.value.find((function(e){var t=e.contractId;return t===l.tokenContract})),u){n.next=21;break}return y.value.address=void 0,x({msg:C("modals.insufficient-balance.msg")}),n.abrupt("return");case 21:return y.value.selectedAsset=u,y.value.address=l.tokenContract,y.value.amount=(0,v.Y9)(l.amount,-((null===(t=y.value.selectedAsset)||void 0===t?void 0:t.decimals)||-0)).toString(),g.value=l.invoiceId,h.value=l.invoiceContract,n.next=28,F();case 28:n.next=34;break;case 30:if(s){n.next=32;break}return n.abrupt("return");case 32:X(Object.fromEntries((0,o.A)(new URL((0,v.Ks)(s)?s:"".concat(d.yS,"/account?account=").concat(s.replace("?","&"))).searchParams.entries()).map((function(e){var t=(0,a.A)(e,2),n=t[0],o=t[1];return[n,o]})))),g.value=null;case 34:y.value.address||(y.value.address=void 0);case 35:case"end":return n.stop()}}),n,null,[[6,10]])})))}return{formModel:y,errors:I,hasError:_,invoiceId:g,invoiceContract:h,openScanQrModal:W,clearPayload:L,handleAssetChange:N,validate:F,updateFormModelValues:X}}},14812:(e,t,n)=>{n.d(t,{A:()=>d});var a=n(20641),o=n(90033),r={class:"modal-header"},s={key:0,class:"title text-heading-2"};function l(e,t,n,l,u,i){return(0,a.uX)(),(0,a.CE)("div",r,[n.title||e.$slots.title?((0,a.uX)(),(0,a.CE)("h2",s,[(0,a.RG)(e.$slots,"title",{},(function(){return[(0,a.eW)((0,o.v_)(n.title),1)]}),!0)])):(0,a.Q3)("",!0),n.subtitle||e.$slots.subtitle?((0,a.uX)(),(0,a.CE)("h3",{key:1,class:(0,o.C4)(["subtitle",{"with-margin":!n.disableSubtitleMargin}])},[(0,a.RG)(e.$slots,"subtitle",{},(function(){return[(0,a.eW)((0,o.v_)(n.subtitle),1)]}),!0)],2)):(0,a.Q3)("",!0)])}const u={props:{title:{type:String,default:""},subtitle:{type:String,default:""},disableSubtitleMargin:Boolean}};var i=n(66262);const c=(0,i.A)(u,[["render",l],["__scopeId","data-v-0d2f2e9c"]]),d=c},14023:(e,t,n)=>{n.d(t,{A:()=>J});var a=n(20641),o=n(90033),r={class:"transfer-receive","data-cy":"top-up-container"},s=["textContent"],l={class:"account-row"},u={class:"qrcode-wrapper"},i={class:"address"},c={class:"request-specific-amount"};function d(e,t,n,d,v,p){var m=(0,a.g2)("AccountItem"),f=(0,a.g2)("QrCode"),A=(0,a.g2)("AddressFormatted"),b=(0,a.g2)("Scrollable"),y=(0,a.g2)("CopyText"),g=(0,a.g2)("InputAmount"),h=(0,a.g2)("Field"),k=(0,a.g2)("BtnMain"),C=(0,a.g2)("Modal");return(0,a.uX)(),(0,a.Wv)(C,{class:"transfer-receive-base","has-close-button":"","from-bottom":"",onClose:t[3]||(t[3]=function(t){return e.resolve()})},{footer:(0,a.k6)((function(){return[(0,a.bF)(k,{"data-cy":"copy",variant:e.IS_MOBILE_DEVICE?"muted":"primary",class:"btn-copy",text:e.copied?e.$t("modals.receive.copied"):e.$t("common.copy"),onClick:t[2]||(t[2]=function(t){return e.copyAddress()})},null,8,["variant","text"]),e.IS_MOBILE_DEVICE?((0,a.uX)(),(0,a.Wv)(k,{key:0,class:"btn-share",icon:e.ShareIcon,onClick:e.share},{default:(0,a.k6)((function(){return[(0,a.eW)((0,o.v_)(e.$t("modals.receive.share")),1)]})),_:1},8,["icon","onClick"])):(0,a.Q3)("",!0)]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",r,[(0,a.Lk)("h2",{class:"text-heading-2 text-center",textContent:(0,o.v_)(e.heading)},null,8,s),(0,a.Lk)("div",l,[(0,a.bF)(m,{address:e.accountAddress,name:e.accountName,protocol:e.protocol},null,8,["address","name","protocol"])]),(0,a.Lk)("div",u,[(0,a.bF)(f,{value:e.accountAddressToCopy,size:180,class:"qrcode"},null,8,["value"])]),(0,a.Lk)("div",i,[(0,a.bF)(y,{class:"address-copy","hide-icon":"",disabled:"",copied:e.copied,onClick:t[0]||(t[0]=function(t){return e.copyAddress()})},{default:(0,a.k6)((function(){return[(0,a.bF)(b,{class:"address-scrollable-area"},{default:(0,a.k6)((function(){return[(0,a.bF)(A,{address:e.accountAddressToDisplay},null,8,["address"])]})),_:1})]})),_:1},8,["copied"])]),(0,a.Lk)("div",c,[(0,a.bF)(h,{modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),name:"amount",rules:{min_value_exclusive:0,does_not_exceed_decimals:e.assetDecimals}},{default:(0,a.k6)((function(t){var n=t.field,o=t.errorMessage;return[(0,a.bF)(g,(0,a.v6)(n,{"model-value":e.amount,name:"amount",label:e.$t("modals.receive.requestAmount"),message:o,"selected-asset":e.selectedAsset,readonly:e.disableAssetSelection,protocol:e.protocol,onAssetSelected:e.handleAssetChange}),null,16,["model-value","label","message","selected-asset","readonly","protocol","onAssetSelected"])]})),_:1},8,["modelValue","rules"])])])]})),_:1})}var v=n(2327),p=(n(62953),n(48408),n(76918),n(28706),n(23288),n(26099),n(38781),n(47764),n(14603),n(47566),n(98721),n(50953)),m=n(46992),f=n(15261),A=n(65563),b=n(74335),y=n(84754),g=n(31189),h=n(59755),k=n(32118),C=n(99366),S={ref:"canvas"};function w(e,t,n,o,r,s){return(0,a.uX)(),(0,a.CE)("div",S,null,512)}n(2892),n(76031);var x=n(97283),E=n.n(x);const I="data:image/webp;base64,UklGRtoFAABXRUJQVlA4WAoAAAAQAAAAbQAATAAAQUxQSJYBAAABkFZtb91IHwRBEARDKIQwaBlMGMQMGgYTBoUQCIbwQTAEzd5ykeT9HRETgP/Nh/No0sx501BKc08NVLoFZAnz7BZzDrKYmfUItoR4W+C3P9kt9C7OlBac6qrQwrM4enZLsD/dLJbk4uRtaS4eZLdEP3Kb0lKl3lRoyVJvmbql26cbvizl5bLFkl6ukW9L+yMXaLPEqaeUljr1xKNb8v1x6MsGOB9YbIjL3+TbBvn9hzYbZlMobaAcDpTjoALQNoom+FM+Y9gE/1xHsOJoza/ieM1uxtmpZ9ZfOF+YVy+4UpkVFdcqc6LiamkZNcGNaz6b4NaazYq7ay4V978ymeGx9Cz6Cz6VOfQCr8oMqPCrLR4VnuUTrQmc11ibwH2NtCLiHKci5tSDzIhaGKG/EFfprxdEVnqjIrbsvqgIv3pqggSrn02QYvVSkeXLR0WepTuYkanyrj4hV+U9LMhW2x1U5CvbdVSkXK9qgqTrNRvynq+oyHzqpypyLzwxI3vlkT4hf+W/WDBC2f9GxSDXP6gYZjXbBREBVlA4IB4EAADQGACdASpuAE0APpFAmUmlo6IhKTgLgLASCWwGKAEIFRO635nkZt0e+fOtF37PZx3mAfo90jP5//vvUB0SPQG/kfUR7xh+1X7t+0Vm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wihw+aJAl1KPULLLdhNOJ8CG/cwplDIQrkKBCRURvTFC0GPOfxUY6BQuU1FK1Eku/mGDGzJPpfK7TBHcHYGhUeuw2CJfbll1xJC8ebFmgzq6+bJkimhI36vxbHhntZfkbVk9N7pIuf+VpObER//nQj2UADgbqvNn524+qzr3mGGO4Eekv/Uu2Bi23a1L5Vt/62h//3RL/+57f//uZ3S6jKaAAAAA",F=(0,a.pM)({name:"QrCode",props:{value:{type:String,required:!0},size:{type:Number,required:!0}},setup:function(e){var t=(0,p.KR)(),n=(0,p.KR)(),o=new(E())({data:e.value,width:e.size,height:e.size,margin:0,qrOptions:{typeNumber:10,mode:"Byte",errorCorrectionLevel:"M"},imageOptions:{hideBackgroundDots:!1,imageSize:.7,margin:0},image:I});return(0,a.wB)((function(){return e.value}),(function(e){n.value&&clearTimeout(n.value),n.value=setTimeout((function(){o.update({data:e})}),500)})),(0,a.sV)((function(){return o.append(t.value)})),{canvas:t}}});var T=n(66262);const R=(0,T.A)(F,[["render",w]]),B=R;var M={class:"scrollable"},V={class:"scrollable-inner styled-scrollbar"};function _(e,t){return(0,a.uX)(),(0,a.CE)("div",M,[(0,a.Lk)("div",V,[(0,a.RG)(e.$slots,"default",{},void 0,!0)])])}const L={},N=(0,T.A)(L,[["render",_],["__scopeId","data-v-a7c4f0d6"]]),D=N;var X=n(285),W=n(24574),Q=n(74295),U=n(20789),P=n(29086),O={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},G=(0,a.Lk)("path",{d:"M10.6653 16.8209C11.0883 16.8209 11.419 16.6594 11.8266 16.2748L17.918 10.5603C18.218 10.2757 18.3333 9.94501 18.3333 9.66044C18.3333 9.36817 18.218 9.04515 17.918 8.76058L11.8266 3.08453C11.3806 2.6692 11.0883 2.5 10.6807 2.5C10.0654 2.5 9.62699 2.97685 9.62699 3.57676V6.3148H9.43471C4.12783 6.3148 1.66667 9.72197 1.66667 15.3057C1.66667 16.2825 2.08199 16.7901 2.62037 16.7901C3.028 16.7901 3.40487 16.6594 3.70482 16.0979C4.91233 13.8521 6.62745 13.0291 9.43471 13.0291H9.62699L9.62699 15.7826C9.62699 16.3825 10.0654 16.8209 10.6653 16.8209ZM11.1575 14.8366C11.0883 14.8366 11.0422 14.7904 11.0422 14.7135V11.8755C11.0422 11.6986 10.9652 11.6217 10.7883 11.6217H9.80388C6.28135 11.6217 4.03554 12.7369 3.1126 14.6597C3.08953 14.7058 3.06646 14.7289 3.03569 14.7289C3.00493 14.7289 2.98185 14.7058 2.98185 14.652C3.10491 10.9833 4.8508 7.71458 9.80388 7.71458H10.7883C10.9652 7.71458 11.0422 7.63767 11.0422 7.46078V4.55353C11.0422 4.48431 11.0883 4.43816 11.1575 4.43816C11.2037 4.43816 11.2498 4.46124 11.2883 4.49969L16.5413 9.51431C16.5951 9.57583 16.6182 9.61429 16.6182 9.66044C16.6182 9.70658 16.6028 9.74504 16.5413 9.80657L11.2806 14.775C11.2421 14.8135 11.196 14.8366 11.1575 14.8366Z",fill:"white"},null,-1),q=[G];function H(e,t){return(0,a.uX)(),(0,a.CE)("svg",O,q)}const K={},z=(0,T.A)(K,[["render",H]]),$=z;var Z=function(e,t,n,a){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(a.next(e))}catch(t){r(t)}}function l(e){try{u(a["throw"](e))}catch(t){r(t)}}function u(e){e.done?n(e.value):o(e.value).then(s,l)}u((a=a.apply(e,t||[])).next())}))};const Y=(0,a.pM)({name:"TransferReceiveBase",components:{InputAmount:C.A,Modal:X.A,QrCode:B,BtnMain:W.A,Scrollable:D,AddressFormatted:Q.A,CopyText:U.A,AccountItem:P.A,Field:f.D0},props:{resolve:{type:Function,default:function(){return null}},tokenContractId:{type:String,default:null},heading:{type:String,default:""},accountAddress:{type:String,default:null},accountName:{type:String,default:null},tokens:{type:Object,default:function(){return{}}},disableAssetSelection:Boolean,protocol:{type:String,required:!0}},setup:function(e){var t=(0,m.s9)(),n=t.t,o=(0,y.oV)(),r=o.activeAccount,s=(0,y.T9)(),l=s.copied,u=s.copy,i=(0,p.KR)(""),c=(0,p.KR)(null);function d(e){var t,n;if(!i.value||+i.value<=0)return{};var a=(null===(t=c.value)||void 0===t?void 0:t.contractId)===h.cK?h.kf:(null===(n=c.value)||void 0===n?void 0:n.contractId)||h.kf,o={token:a,amount:i.value.toString()};return e?Object.assign(Object.assign({},o),{account:e}):o}function f(e){return e?b.r.createUrl("/account","transferSend",d(e)):""}var C=(0,a.EW)((function(){var t,n;return null!==(n=null===(t=c.value)||void 0===t?void 0:t.decimals)&&void 0!==n?n:k.C.getAdapter(e.protocol).coinPrecision})),S=(0,a.EW)((function(){return i.value&&+i.value>0?f(e.accountAddress):e.accountAddress})),w=(0,a.EW)((function(){return i.value&&+i.value>0?"".concat(e.accountAddress,"?").concat(new URLSearchParams(d()).toString()):e.accountAddress}));function x(){return Z(this,void 0,void 0,(0,v.A)().mark((function t(){var a,o,s,l,u;return(0,v.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=r.value.address,o=f(a),s=k.C.getAdapter(e.protocol),l=s.protocolName,u=i.value&&+i.value>0?n("modals.receive.shareTextNoAmount",{protocolName:l,address:a,walletLink:o}):n("modals.receive.shareTextWithAmount",{coinSymbol:k.C.getAdapter(e.protocol).coinSymbol,protocolName:l,address:a,walletLink:o,amount:i.value}),t.next=6,(0,g.oS)(u);case 6:case"end":return t.stop()}}),t)})))}function E(e){c.value=e}function I(){u(S.value)}return function(){!e.disableAssetSelection&&e.tokenContractId&&e.tokens[e.tokenContractId]&&E(e.tokens[e.tokenContractId])}(),{PROTOCOLS:A.yv,IS_MOBILE_DEVICE:A.Hy,ShareIcon:$,amount:i,selectedAsset:c,assetDecimals:C,share:x,handleAssetChange:E,copyAddress:I,copied:l,activeAccount:r,accountAddressToDisplay:w,accountAddressToCopy:S}}}),j=(0,T.A)(Y,[["render",d],["__scopeId","data-v-8c6510ea"]]),J=j},42346:(e,t,n)=>{n.d(t,{A:()=>b,g:()=>p});var a=n(20641),o=n(53751),r={class:"relative"};function s(e,t,n,s,l,u){var i=(0,a.g2)("BtnMain"),c=(0,a.g2)("Modal");return(0,a.uX)(),(0,a.Wv)(c,{class:"transfer-send-base","has-close-button":"","from-bottom":"","body-without-padding-bottom":e.currentStep===e.TRANSFER_SEND_STEPS.form,onClose:t[2]||(t[2]=function(t){return e.$emit("close")})},{footer:(0,a.k6)((function(){return[e.showEditButton?((0,a.uX)(),(0,a.Wv)(i,{key:0,variant:"muted",text:e.$t("common.edit"),class:"button-action-secondary","data-cy":"edit",onClick:t[0]||(t[0]=function(t){return e.$emit("step-prev")})},null,8,["text"])):(0,a.Q3)("",!0),(0,a.bF)(i,{class:"button-action-primary",disabled:!e.isOnline||e.sendingDisabled,icon:e.showSendButton&&!e.hideArrowSendIcon?e.ArrowSendIcon:null,text:e.primaryButtonText,"data-cy":"next-step-button",onClick:t[1]||(t[1]=function(t){return e.$emit("step-next")})},null,8,["disabled","icon","text"])]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",r,[(0,a.bF)(o.eB,{name:"fade-between"},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"content",{},void 0,!0)]})),_:3})])]})),_:3},8,["body-without-padding-bottom"])}n(74423),n(21699);var l=n(46992),u=n(65563),i=n(84754),c=n(65608),d=n(285),v=n(24574),p={resolve:{type:Function,default:function(){return null}},address:{type:String,default:void 0},amount:{type:String,default:""},payload:{type:String,default:""}};const m=(0,a.pM)({name:"TransferSendBase",components:{Modal:d.A,BtnMain:v.A},props:{customPrimaryButtonText:{type:String,default:""},currentStep:{type:String,required:!0},sendingDisabled:Boolean,hideArrowSendIcon:Boolean},emits:["close","step-prev","step-next"],setup:function(e){var t=(0,l.s9)(),n=t.t,o=(0,i.w5)(),r=o.isOnline,s=(0,a.EW)((function(){return[u.x0.review,u.x0.reviewTip].includes(e.currentStep)})),d=(0,a.EW)((function(){return e.currentStep===u.x0.review})),v=(0,a.EW)((function(){return e.customPrimaryButtonText?e.customPrimaryButtonText:d.value?n("common.send"):n("common.next")}));return{isOnline:r,primaryButtonText:v,showEditButton:s,showSendButton:d,ArrowSendIcon:c.A,TRANSFER_SEND_STEPS:u.x0}}});var f=n(66262);const A=(0,f.A)(m,[["render",s],["__scopeId","data-v-4a9ec2e7"]]),b=A},14117:(e,t,n)=>{n.d(t,{A:()=>A});var a=n(20641),o=n(90033),r={class:"transaction-speed-picker"},s={class:"radio-wrapper"},l=["textContent"],u={key:0,class:"completion-time"};function i(e,t,n,i,c,d){var v=(0,a.g2)("RadioButton");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.Lk)("div",s,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.feeList,(function(t,n){return(0,a.uX)(),(0,a.Wv)(v,{key:n,value:e.modelValue===n,onInput:function(t){return e.handleInput(n)}},{default:(0,a.k6)((function(){return[(0,a.Lk)("p",{textContent:(0,o.v_)(t.label)},null,8,l)]})),_:2},1032,["value","onInput"])})),128))]),e.UNFINISHED_FEATURES?((0,a.uX)(),(0,a.CE)("p",u,(0,o.v_)(e.$t("modals.send.transactionWillBeCompleted",{time:e.secondsToRelativeTime(e.feeList[e.modelValue].time,!0)})),1)):(0,a.Q3)("",!0)])}n(2892);var c=n(31189),d=n(65563),v=n(67239);const p=(0,a.pM)({components:{RadioButton:v.A},props:{feeList:{type:Array,required:!0,validate:function(e){return 3===e.length}},modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit;function a(e){n("update:modelValue",e)}return{UNFINISHED_FEATURES:d.s4,secondsToRelativeTime:c.Aq,handleInput:a}}});var m=n(66262);const f=(0,m.A)(p,[["render",i],["__scopeId","data-v-2326ca2a"]]),A=f},60831:(e,t,n)=>{n.d(t,{A:()=>E});n(62010),n(9868);var a=n(20641),o={class:"transfer-review-base"},r={key:0};function s(e,t,n,s,l,u){var i=(0,a.g2)("ModalHeader"),c=(0,a.g2)("AvatarWithChainName"),d=(0,a.g2)("DetailsItem"),v=(0,a.g2)("TokenAmount"),p=(0,a.g2)("PayloadDetails"),m=(0,a.g2)("Loader");return(0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(i,{title:e.title,subtitle:e.withoutSubtitle?null:e.$t("pages.send.checkalert")},null,8,["title","subtitle"]),(0,a.RG)(e.$slots,"subheader",{},void 0,!0),(0,a.bF)(d,{label:e.senderLabel,"data-cy":"review-sender"},{value:(0,a.k6)((function(){return[(0,a.bF)(c,{address:e.activeAccount.address,name:e.activeAccount.name,"show-address":!e.isRecipientName},null,8,["address","name","show-address"])]})),_:1},8,["label"]),e.$slots.recipient?((0,a.uX)(),(0,a.CE)("div",r,[(0,a.RG)(e.$slots,"recipient",{},void 0,!0)])):((0,a.uX)(),(0,a.Wv)(d,{key:1,class:"details-item","data-cy":"review-recipient",label:e.$t("pages.send.recipient")},{value:(0,a.k6)((function(){return[(0,a.bF)(c,{address:e.transferData.address,name:e.avatarName,"show-address":!e.avatarName},null,8,["address","name","show-address"])]})),_:1},8,["label"])),(0,a.bF)(d,{label:e.amountLabel,class:"details-item"},{value:(0,a.k6)((function(){return[(0,a.bF)(v,{amount:+e.transferData.amount,symbol:e.tokenSymbol,protocol:e.protocol,"hide-fiat":!e.showFiat,"data-cy":"review-amount"},null,8,["amount","symbol","protocol","hide-fiat"])]})),_:1},8,["label"]),(0,a.RG)(e.$slots,"additional-fee",{},void 0,!0),(0,a.bF)(d,{class:"details-item",label:e.$t("transaction.fee")},{value:(0,a.k6)((function(){return[(0,a.bF)(v,{amount:+e.transferData.fee.toFixed(),symbol:e.baseTokenSymbol,protocol:e.protocol,"high-precision":"","data-cy":"review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,a.RG)(e.$slots,"total",{},void 0,!0),(0,a.bF)(p,{class:"details-item","data-cy":"review-payload",payload:e.transferData.payload},null,8,["payload"]),e.loading?((0,a.uX)(),(0,a.Wv)(m,{key:2})):(0,a.Q3)("",!0)])}var l=n(84754),u=n(59755),i=n(58338),c=n(44343),d=n(37354),v=n(74494),p=n(39953),m=n(90033);function f(e,t,n,o,r,s){var l=(0,a.g2)("Avatar"),u=(0,a.g2)("AddressFormatted");return(0,a.uX)(),(0,a.CE)("div",{class:(0,m.C4)(["avatar-with-chain-name",{"only-name":(n.name||!n.showAddress)&&!n.hideAvatar}])},[n.hideAvatar?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(l,(0,a.v6)({key:0},e.$attrs,{size:n.avatarSize,address:n.address}),null,16,["size","address"])),n.name||!n.showAddress?((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,m.C4)(["chain-name",{centered:n.hideAvatar}])},(0,m.v_)(n.name),3)):((0,a.uX)(),(0,a.Wv)(u,(0,a.v6)({key:2},e.$attrs,{address:n.address,columns:""}),null,16,["address"]))],2)}var A=n(59480),b=n(74295);const y={components:{AddressFormatted:b.A,Avatar:A.A},props:{address:{type:String,required:!0},name:{type:String,default:""},hideAvatar:Boolean,avatarSize:{type:String,default:"md"},showAddress:Boolean}};var g=n(66262);const h=(0,g.A)(y,[["render",f],["__scopeId","data-v-247c52a6"]]),k=h;var C=n(14812),S=n(37134);const w=(0,a.pM)({name:"TransferReviewBase",components:{PayloadDetails:S.A,ModalHeader:C.A,AvatarWithChainName:k,DetailsItem:v.A,Loader:d.A,TokenAmount:p.A},props:{title:{type:String,default:(0,c.tg)("pages.send.reviewtx")},senderLabel:{type:String,default:(0,c.tg)("pages.send.sender")},amountLabel:{type:String,default:(0,c.tg)("common.amount")},baseTokenSymbol:{type:String,required:!0},transferData:{type:Object,required:!0},protocol:{type:String,required:!0},recipientAddress:{type:String,default:null},avatarName:{type:String,default:null},withoutSubtitle:Boolean,loading:Boolean,showFiat:Boolean},setup:function(e){var t=(0,l.oV)(),n=t.activeAccount,o=(0,a.EW)((function(){return e.recipientAddress&&(0,i.F7)(e.recipientAddress)})),r=(0,a.EW)((function(){var t;return(null===(t=e.transferData.selectedAsset)||void 0===t?void 0:t.symbol)||"-"}));return{AE_CONTRACT_ID:u.cK,isRecipientName:o,tokenSymbol:r,activeAccount:n}}}),x=(0,g.A)(w,[["render",s],["__scopeId","data-v-1a9e6090"]]),E=x},43863:(e,t,n)=>{n.d(t,{A:()=>g});var a=n(20641),o={class:"transfer-send-recipient"},r={key:0,class:"status"};function s(e,t,n,s,l,u){var i=(0,a.g2)("QrScanIcon"),c=(0,a.g2)("BtnPlain"),d=(0,a.g2)("FormTextarea"),v=(0,a.g2)("Field"),p=(0,a.g2)("UrlStatus");return(0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(v,{name:"address","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,address_not_same_as:[e.activeAccount.address,e.protocol]},e.validationRules)},{default:(0,a.k6)((function(n){var o=n.field;return[(0,a.bF)(d,(0,a.v6)(o,{"model-value":e.modelValue,name:"address","data-cy":"address","auto-height":"","show-help":"","show-message-help":"",label:e.$t("modals.send.recipientLabel"),placeholder:e.placeholder,message:e.addressMessage,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)}),onHelp:t[2]||(t[2]=function(t){return e.showRecipientHelp()})}),{"label-after":(0,a.k6)((function(){return[(0,a.bF)(c,{class:"scan-button","data-cy":"scan-button",onClick:t[0]||(t[0]=function(t){return e.$emit("openQrModal")})},{default:(0,a.k6)((function(){return[(0,a.bF)(i)]})),_:1})]})),_:2},1040,["model-value","label","placeholder","message"])]})),_:1},8,["model-value","validate-on-mount","rules"]),e.isTipUrl?((0,a.uX)(),(0,a.CE)("div",r,[(0,a.bF)(p,{status:e.urlStatus},null,8,["status"])])):(0,a.Q3)("",!0)])}n(16280),n(76918);var l=n(15261),u=n(31189),i=n(65563),c=n(84754),d=n(41549),v=n(5335),p=n(75417),m=n(73665),f=n(24528);const A=(0,a.pM)({components:{FormTextarea:p.A,UrlStatus:v.A,Field:l.D0,QrScanIcon:m.A,BtnPlain:f.A},props:{isTipUrl:Boolean,modelValue:{type:String,default:""},placeholder:{type:String,default:""},protocol:{type:String,required:!0},validationRules:{type:Object,default:function(){return{}}},errors:{type:Object,required:!0}},emits:["openQrModal","update:modelValue"],setup:function(e){var t=(0,a.EW)((function(){return e.protocol===i.yv.aeternity})),n=(0,c.U8)(),o=n.openModal,r=(0,c.oV)(),s=r.activeAccount,l=(0,d.NC)({ensureFetchedOnInit:t.value}),v=l.getTippingUrlStatus,p=(0,a.EW)((function(){return v(e.modelValue)})),m=(0,a.EW)((function(){if(e.isTipUrl)switch(p.value){case"verified":return{status:"success",text:"",hideMessage:!0};case"not-secure":case"not-verified":return{status:"warning",text:"",hideMessage:!0};case"blacklisted":return{status:"error",text:"",hideMessage:!0};default:throw new Error("Unknown url status: ".concat(p.value))}return(0,u.sY)(e.errors.address)}));function f(){o(i.R$,{protocol:e.protocol})}return{urlStatus:p,activeAccount:s,addressMessage:m,showRecipientHelp:f}}});var b=n(66262);const y=(0,b.A)(A,[["render",s],["__scopeId","data-v-54bc527e"]]),g=y},6162:(e,t,n)=>{n.d(t,{A:()=>f});n(62010);var a=n(20641),o={class:"transfer-send-base"},r={class:"account-row"};function s(e,t,n,s,l,u){var i=(0,a.g2)("ModalHeader"),c=(0,a.g2)("AccountItem"),d=(0,a.g2)("TokenAmount"),v=(0,a.g2)("DetailsItem");return(0,a.uX)(),(0,a.CE)("div",o,[e.$slots.header?(0,a.RG)(e.$slots,"header",{key:0},void 0,!0):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.bF)(i,{title:e.customTitle||e.$t("modals.send.sendTitle")},null,8,["title"]),(0,a.Lk)("div",r,[(0,a.bF)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol,name:e.activeAccount.name,size:"md"},null,8,["address","protocol","name"])])],64)),(0,a.RG)(e.$slots,"recipient",{},void 0,!0),(0,a.RG)(e.$slots,"amount",{},void 0,!0),(0,a.RG)(e.$slots,"extra",{},void 0,!0),(0,a.bF)(v,{label:e.$t("transaction.fee")},{value:(0,a.k6)((function(){return[(0,a.bF)(d,{amount:e.fee,symbol:e.feeSymbol,protocol:e.protocol,"data-cy":"review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])])}n(2892);var l=n(84754),u=n(74494),i=n(39953),c=n(14812),d=n(29086);const v=(0,a.pM)({name:"TransferSendFormBase",components:{ModalHeader:c.A,AccountItem:d.A,DetailsItem:u.A,TokenAmount:i.A},props:{fee:{type:Number,default:0},feeSymbol:{type:String,required:!0},customTitle:{type:String,default:""},protocol:{type:String,required:!0}},setup:function(){var e=(0,l.oV)(),t=e.activeAccount;return{activeAccount:t}}});var p=n(66262);const m=(0,p.A)(v,[["render",s],["__scopeId","data-v-3a714a96"]]),f=m},70654:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(20641),o=n(90033);function r(e,t,n,r,s,l){var u=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(u,{class:(0,o.C4)(["max-button",{chosen:e.isMax}]),text:e.$t("common.max"),onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},null,8,["class","text"])}var s=n(24528);const l=(0,a.pM)({name:"BtnMaxAmount",components:{BtnPlain:s.A},props:{isMax:Boolean},emits:["click"]});var u=n(66262);const i=(0,u.A)(l,[["render",r],["__scopeId","data-v-2aacc100"]]),c=i}}]); \ No newline at end of file diff --git a/js/chunk-common.c9eb2036.js b/js/chunk-common.c9eb2036.js deleted file mode 100644 index f07193332..000000000 --- a/js/chunk-common.c9eb2036.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[64],{2114:(e,t,n)=>{n.d(t,{A:()=>y});var a=n(62118),o=n(25706),r=n(95822),s=(n(33948),n(60285),n(41637),n(15306),n(35666),n(41539),n(5212),n(89554),n(54747),n(47941),n(68309),n(73210),n(69826),n(96647),n(83710),n(39714),n(85827),n(78783),n(46229),n(17330),n(62062),n(23157),n(92222),n(74916),n(2262)),l=n(66252),u=n(79150),i=n(12954),c=n(40223),d=n(79323),p=n(48854),m=n(36605),v=n(71584),f=n(7243),w=n(75664),b=function(e,t,n,a){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(a.next(e))}catch(t){r(t)}}function l(e){try{u(a["throw"](e))}catch(t){r(t)}}function u(e){e.done?n(e.value):o(e.value).then(s,l)}u((a=a.apply(e,t||[])).next())}))};function y(e){var t=e.transferData,n=e.getSelectedAssetValue,y=e.protocol,h=(0,s.iH)(t),g=(0,s.iH)(null),A=(0,s.iH)(null),S=(0,u.QT)(),C=S.t,k=(0,c.o)(),x=k.openModal,I=k.openDefaultModal,W=(0,i.cI)(),F=W.errors,T=W.validate,Z=W.validateField,D=(0,w.v)(),B=D.save,R=(0,l.Fl)((function(){return["address","amount"].some((function(e){return"error"===(0,p.B)(F.value[e]).status}))}));function L(){h.value.payload=""}function M(e){h.value.selectedAsset=e}function N(e,t){var n=e.account,a=e.amount,o=e.payload,r=e.token,s={},l=t?t(r,h.value.selectedAsset):null;return l&&(s.selectedAsset=l),n&&(s.address=n),a&&(s.amount=a),o&&(s.payload=o),s}function O(e){return b(this,void 0,void 0,regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=N(e,n),h.value=Object.assign(Object.assign({},h.value),a),t.next=4,(0,l.Y3)();case 4:Object.keys(a).forEach((function(e){return Z(e)}));case 5:case"end":return t.stop()}}),t)})))}function P(e){var t,n;return b(this,void 0,void 0,regeneratorRuntime.mark((function s(){var l,u,i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return l="",s.next=3,x(d.U0,{title:C("pages.send.scanAddress",{assetName:null===(t=h.value.selectedAsset)||void 0===t?void 0:t.name}),icon:"critical"}).then((function(e){return e}))["catch"]((function(e){return e instanceof f.d&&B(h.value),null}));case 3:if(l=s.sent,"{"!==(null===l||void 0===l?void 0:l.trim().charAt(0))){s.next=30;break}u=null,s.prev=6,u=JSON.parse(l),s.next=16;break;case 10:return s.prev=10,s.t0=s["catch"](6),d.Mw||m.Z.write(s.t0),h.value.address=void 0,I({title:C("modals.invalid-qr-code.msg"),icon:"critical"}),s.abrupt("return");case 16:if(i=e.find((function(e){var t=e.value;return t===u.tokenContract})),i){s.next=21;break}return h.value.address=void 0,I({msg:C("modals.insufficient-balance.msg")}),s.abrupt("return");case 21:return h.value.selectedAsset=e.find((function(e){var t=e.value;return t===u.tokenContract})),h.value.address=u.tokenContract,h.value.amount=(0,p.Yt)(u.amount,-(null===(n=h.value.selectedAsset)||void 0===n?void 0:n.decimals)).toString(),g.value=u.invoiceId,A.value=u.invoiceContract,s.next=28,T();case 28:s.next=34;break;case 30:if(l){s.next=32;break}return s.abrupt("return");case 32:O((0,r.Z)(new URL(l.startsWith(v.l.getAdapter(y).getAccountPrefix())?"".concat(d.Bk,"/account?account=").concat(l.replace("?","&")):l).searchParams.entries()).reduce((function(e,t){var n=(0,o.Z)(t,2),r=n[0],s=n[1];return Object.assign(Object.assign({},e),(0,a.Z)({},r,s))}),{})),g.value=null;case 34:h.value.address||(h.value.address=void 0);case 35:case"end":return s.stop()}}),s,null,[[6,10]])})))}return{formModel:h,errors:F,hasError:R,invoiceId:g,invoiceContract:A,openScanQrModal:P,clearPayload:L,handleAssetChange:M,validate:T,updateFormModelValues:O}}},49587:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(66252),o=n(3577),r={class:"modal-header"},s={key:0,class:"title text-heading-2"};function l(e,t,n,l,u,i){return(0,a.wg)(),(0,a.iD)("div",r,[n.title||e.$slots.title?((0,a.wg)(),(0,a.iD)("h2",s,[(0,a.WI)(e.$slots,"title",{},(function(){return[(0,a.Uk)((0,o.zw)(n.title),1)]}),!0)])):(0,a.kq)("",!0),n.subtitle||e.$slots.subtitle?((0,a.wg)(),(0,a.iD)("h3",{key:1,class:(0,o.C_)(["subtitle",{"with-margin":!n.disableSubtitleMargin}])},[(0,a.WI)(e.$slots,"subtitle",{},(function(){return[(0,a.Uk)((0,o.zw)(n.subtitle),1)]}),!0)],2)):(0,a.kq)("",!0)])}const u={props:{title:{type:String,default:""},subtitle:{type:String,default:""},disableSubtitleMargin:Boolean}};var i=n(83744);const c=(0,i.Z)(u,[["render",l],["__scopeId","data-v-0d2f2e9c"]]),d=c},22537:(e,t,n)=>{n.d(t,{Z:()=>$});var a=n(66252),o=n(3577),r={class:"transfer-receive","data-cy":"top-up-container"},s=["textContent"],l={class:"account-row"},u={class:"qrcode-wrapper"},i={class:"address"},c={class:"request-specific-amount"};function d(e,t,n,d,p,m){var v=(0,a.up)("AccountItem"),f=(0,a.up)("QrCode"),w=(0,a.up)("AddressFormatted"),b=(0,a.up)("Scrollable"),y=(0,a.up)("CopyText"),h=(0,a.up)("InputAmount"),g=(0,a.up)("Field"),A=(0,a.up)("BtnMain"),S=(0,a.up)("Modal");return(0,a.wg)(),(0,a.j4)(S,{class:"transfer-receive-base","has-close-button":"","from-bottom":"",onClose:t[3]||(t[3]=function(t){return e.resolve()})},{footer:(0,a.w5)((function(){return[(0,a.Wm)(A,{"data-cy":"copy",variant:e.IS_MOBILE_DEVICE?"muted":"primary",class:"btn-copy",text:e.copied?e.$t("modals.receive.copied"):e.$t("common.copy"),onClick:t[2]||(t[2]=function(t){return e.copyAddress()})},null,8,["variant","text"]),e.IS_MOBILE_DEVICE?((0,a.wg)(),(0,a.j4)(A,{key:0,class:"btn-share",icon:e.ShareIcon,onClick:e.share},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,o.zw)(e.$t("modals.receive.share")),1)]})),_:1},8,["icon","onClick"])):(0,a.kq)("",!0)]})),default:(0,a.w5)((function(){return[(0,a._)("div",r,[(0,a._)("h2",{class:"text-heading-2 text-center",textContent:(0,o.zw)(e.heading)},null,8,s),(0,a._)("div",l,[(0,a.Wm)(v,{address:e.accountAddress,name:e.accountName,protocol:e.protocol},null,8,["address","name","protocol"])]),(0,a._)("div",u,[(0,a.Wm)(f,{value:e.accountAddressToCopy,size:180,class:"qrcode"},null,8,["value"])]),(0,a._)("div",i,[(0,a.Wm)(y,{class:"address-copy","hide-icon":"",disabled:"",copied:e.copied,onClick:t[0]||(t[0]=function(t){return e.copyAddress()})},{default:(0,a.w5)((function(){return[(0,a.Wm)(b,{class:"address-scrollable-area"},{default:(0,a.w5)((function(){return[(0,a.Wm)(w,{address:e.accountAddressToDisplay,"split-address":e.protocol===e.PROTOCOL_BITCOIN&&!e.amount},null,8,["address","split-address"])]})),_:1})]})),_:1},8,["copied"])]),(0,a._)("div",c,[(0,a.Wm)(g,{modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),name:"amount",rules:{min_value_exclusive:0}},{default:(0,a.w5)((function(t){var n=t.field,o=t.errorMessage;return[(0,a.Wm)(h,(0,a.dG)(n,{"model-value":e.amount,name:"amount",label:e.$t("modals.receive.requestAmount"),message:o,"selected-asset":e.selectedAsset,readonly:e.disableAssetSelection,protocol:e.protocol,onAssetSelected:e.handleAssetChange}),null,16,["model-value","label","message","selected-asset","readonly","protocol","onAssetSelected"])]})),_:1},8,["modelValue"])])])]})),_:1})}n(35666),n(33948),n(41637),n(41539),n(9653),n(96647),n(83710),n(39714),n(92222),n(78783),n(46229),n(17330),n(62062);var p=n(2262),m=n(33907),v=n(79150),f=n(12954),w=n(79323),b=n(84186),y=n(9697),h=n(48854),g=n(28243),A=n(71584),S=n(72925),C={ref:"canvas"};function k(e,t,n,o,r,s){return(0,a.wg)(),(0,a.iD)("div",C,null,512)}n(32564);var x=n(91915),I=n.n(x);const W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABNCAYAAABHY1FjAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAb+SURBVHgB7Z0/jBVFHMd/qzExNlCYaCPZTgqJQHskcjE0EvWusDijgZPmIhiOQkmwYK8xwUKOeEQK0Gc0Xglqt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0uESxAWNChBQAf5HKpEZ6rBAK56QHnX4h0/0rHFHRh3NwSd8wtT//+cy6mgePvF7TW4obPBaF9JRAQuQKsVDLxWVDHZ4RiEe2ojyYEdDmDzrLVeIllJHnLA4851oLcVszHrLZsSC9f8dQl/bdsNccQAAAABJRU5ErkJggg==",F=(0,a.aZ)({name:"QrCode",props:{value:{type:String,required:!0},size:{type:Number,required:!0}},setup:function(e){var t=(0,p.iH)(),n=(0,p.iH)(),o=new(I())({data:e.value,width:e.size,height:e.size,margin:0,qrOptions:{typeNumber:10,mode:"Byte",errorCorrectionLevel:"M"},imageOptions:{hideBackgroundDots:!1,imageSize:.7,margin:0},image:W});return(0,a.YP)((function(){return e.value}),(function(e){n.value&&clearTimeout(n.value),n.value=setTimeout((function(){o.update({data:e})}),500)})),(0,a.bv)((function(){return o.append(t.value)})),{canvas:t}}});var T=n(83744);const Z=(0,T.Z)(F,[["render",k]]),D=Z;var B={class:"scrollable"},R={class:"scrollable-inner styled-scrollbar"};function L(e,t){return(0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",R,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])}const M={},N=(0,T.Z)(M,[["render",L],["__scopeId","data-v-a7c4f0d6"]]),O=N;var P=n(89815),j=n(59882),V=n(77558),_=n(91802),H=n(23623),q={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},E=(0,a._)("path",{d:"M10.6653 16.8209C11.0883 16.8209 11.419 16.6594 11.8266 16.2748L17.918 10.5603C18.218 10.2757 18.3333 9.94501 18.3333 9.66044C18.3333 9.36817 18.218 9.04515 17.918 8.76058L11.8266 3.08453C11.3806 2.6692 11.0883 2.5 10.6807 2.5C10.0654 2.5 9.62699 2.97685 9.62699 3.57676V6.3148H9.43471C4.12783 6.3148 1.66667 9.72197 1.66667 15.3057C1.66667 16.2825 2.08199 16.7901 2.62037 16.7901C3.028 16.7901 3.40487 16.6594 3.70482 16.0979C4.91233 13.8521 6.62745 13.0291 9.43471 13.0291H9.62699L9.62699 15.7826C9.62699 16.3825 10.0654 16.8209 10.6653 16.8209ZM11.1575 14.8366C11.0883 14.8366 11.0422 14.7904 11.0422 14.7135V11.8755C11.0422 11.6986 10.9652 11.6217 10.7883 11.6217H9.80388C6.28135 11.6217 4.03554 12.7369 3.1126 14.6597C3.08953 14.7058 3.06646 14.7289 3.03569 14.7289C3.00493 14.7289 2.98185 14.7058 2.98185 14.652C3.10491 10.9833 4.8508 7.71458 9.80388 7.71458H10.7883C10.9652 7.71458 11.0422 7.63767 11.0422 7.46078V4.55353C11.0422 4.48431 11.0883 4.43816 11.1575 4.43816C11.2037 4.43816 11.2498 4.46124 11.2883 4.49969L16.5413 9.51431C16.5951 9.57583 16.6182 9.61429 16.6182 9.66044C16.6182 9.70658 16.6028 9.74504 16.5413 9.80657L11.2806 14.775C11.2421 14.8135 11.196 14.8366 11.1575 14.8366Z",fill:"white"},null,-1),U=[E];function z(e,t){return(0,a.wg)(),(0,a.iD)("svg",q,U)}const G={},Q=(0,T.Z)(G,[["render",z]]),X=Q;var Y=function(e,t,n,a){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(a.next(e))}catch(t){r(t)}}function l(e){try{u(a["throw"](e))}catch(t){r(t)}}function u(e){e.done?n(e.value):o(e.value).then(s,l)}u((a=a.apply(e,t||[])).next())}))};const J=(0,a.aZ)({name:"TransferReceiveBase",components:{InputAmount:S.Z,Modal:P.Z,QrCode:D,BtnMain:j.Z,Scrollable:O,AddressFormatted:V.Z,CopyText:_.Z,AccountItem:H.Z,Field:f.gN},props:{resolve:{type:Function,default:function(){return null}},tokenContractId:{type:[String,Number],default:null},heading:{type:String,default:""},accountAddress:{type:String,default:null},accountName:{type:String,default:null},tokens:{type:Object,default:function(){return{}}},disableAssetSelection:Boolean,protocol:{type:String,required:!0}},setup:function(e){var t=(0,m.oR)(),n=(0,v.QT)(),o=n.t,r=(0,y.xe)({store:t}),s=r.activeAccount,l=(0,y.FU)(),u=l.copied,i=l.copy,c=(0,p.iH)(""),d=(0,p.iH)(null);function f(e){var t,n;if(!c.value||+c.value<=0)return{};var a=(null===(t=d.value)||void 0===t?void 0:t.contractId)===g.ik?g.WJ:(null===(n=d.value)||void 0===n?void 0:n.contractId)||g.WJ,o={token:a,amount:c.value.toString()};return e?Object.assign(Object.assign({},o),{account:e}):o}function S(e){return e?b.t.createUrl("/account","transferSend",f(e)):""}var C=(0,a.Fl)((function(){return c.value&&+c.value>0?S(e.accountAddress):e.accountAddress})),k=(0,a.Fl)((function(){return c.value&&+c.value>0?"".concat(e.accountAddress,"?").concat(new URLSearchParams(f()).toString()):e.accountAddress}));function x(){return Y(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,l,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=s.value.address,a=S(n),r=A.l.getAdapter(e.protocol),l=r.protocolName,u=c.value&&+c.value>0?o("modals.receive.shareTextNoAmount",{protocolName:l,address:n,walletLink:a}):o("modals.receive.shareTextWithAmount",{coinSymbol:A.l.getAdapter(e.protocol).getCoinSymbol(!1),protocolName:l,address:n,walletLink:a,amount:c.value}),t.next=6,(0,h.TM)(u);case 6:case"end":return t.stop()}}),t)})))}function I(e){d.value=e}function W(){i(C.value)}return function(){!e.disableAssetSelection&&e.tokenContractId&&e.tokens[e.tokenContractId]&&I(e.tokens[e.tokenContractId])}(),{PROTOCOL_BITCOIN:w.ou,IS_MOBILE_DEVICE:w.ry,ShareIcon:X,amount:c,selectedAsset:d,share:x,handleAssetChange:I,copyAddress:W,copied:u,activeAccount:s,accountAddressToDisplay:k,accountAddressToCopy:C}}}),K=(0,T.Z)(J,[["render",d],["__scopeId","data-v-3f1311d8"]]),$=K},65036:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(66252),o=n(49963),r={class:"relative"};function s(e,t,n,s,l,u){var i=(0,a.up)("BtnMain"),c=(0,a.up)("Modal");return(0,a.wg)(),(0,a.j4)(c,{class:"transfer-send-base","has-close-button":"","from-bottom":"","body-without-padding-bottom":e.currentStep===e.TRANSFER_SEND_STEPS.form,onClose:t[0]||(t[0]=function(t){return e.$emit("close")})},{footer:(0,a.w5)((function(){return[e.showEditButton?((0,a.wg)(),(0,a.j4)(i,{key:0,variant:"muted",text:e.$t("common.edit"),class:"button-action-secondary","data-cy":"edit",onClick:e.editTransfer},null,8,["text","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(i,{class:"button-action-primary",disabled:e.primaryButtonDisabled,icon:e.showSendButton&&!e.hideArrowSendIcon?e.ArrowSendIcon:null,text:e.primaryButtonText,"data-cy":"next-step-button",onClick:e.proceedToNextStep},null,8,["disabled","icon","text","onClick"])]})),default:(0,a.w5)((function(){return[(0,a._)("div",r,[(0,a.Wm)(o.uT,{name:"fade-between"},{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"content",{},void 0,!0)]})),_:3})])]})),_:3},8,["body-without-padding-bottom"])}n(26699),n(32023);var l=n(79150),u=n(79323),i=n(6299),c=n(89815),d=n(59882);const p=(0,a.aZ)({name:"TransferSendBase",components:{Modal:c.Z,BtnMain:d.Z},props:{editTransfer:{type:Function,default:function(){return null}},proceedToNextStep:{type:Function,default:function(){return null}},customPrimaryButtonText:{type:String,default:""},currentStep:{type:String,required:!0},primaryButtonDisabled:Boolean,hideArrowSendIcon:Boolean},setup:function(e){var t=(0,l.QT)(),n=t.t,o=(0,a.Fl)((function(){return[u.Nz.review,u.Nz.reviewTip].includes(e.currentStep)})),r=(0,a.Fl)((function(){return e.currentStep===u.Nz.review})),s=(0,a.Fl)((function(){return e.customPrimaryButtonText?e.customPrimaryButtonText:r.value?n("common.send"):n("common.next")}));return{primaryButtonText:s,showEditButton:o,showSendButton:r,ArrowSendIcon:i.Z,TRANSFER_SEND_STEPS:u.Nz}}});var m=n(83744);const v=(0,m.Z)(p,[["render",s],["__scopeId","data-v-9d6192a4"]]),f=v},80746:(e,t,n)=>{n.d(t,{Z:()=>A});n(68309),n(56977);var a=n(66252),o={class:"transfer-review-base"},r={key:0};function s(e,t,n,s,l,u){var i=(0,a.up)("ModalHeader"),c=(0,a.up)("AvatarWithChainName"),d=(0,a.up)("DetailsItem"),p=(0,a.up)("TokenAmount"),m=(0,a.up)("PayloadDetails"),v=(0,a.up)("Loader");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a.Wm)(i,{title:e.title,subtitle:e.withoutSubtitle?null:e.$t("pages.send.checkalert")},null,8,["title","subtitle"]),(0,a.WI)(e.$slots,"subheader",{},void 0,!0),(0,a.Wm)(d,{label:e.senderLabel,"data-cy":"review-sender"},{value:(0,a.w5)((function(){return[(0,a.Wm)(c,{address:e.activeAccount.address,name:e.activeAccount.name,"show-address":!e.isRecipientName},null,8,["address","name","show-address"])]})),_:1},8,["label"]),e.$slots.recipient?((0,a.wg)(),(0,a.iD)("div",r,[(0,a.WI)(e.$slots,"recipient",{},void 0,!0)])):((0,a.wg)(),(0,a.j4)(d,{key:1,class:"details-item","data-cy":"review-recipient",label:e.$t("pages.send.recipient")},{value:(0,a.w5)((function(){return[(0,a.Wm)(c,{address:e.transferData.address,name:e.avatarName,"show-address":!e.avatarName},null,8,["address","name","show-address"])]})),_:1},8,["label"])),(0,a.Wm)(d,{label:e.amountLabel,class:"details-item"},{value:(0,a.w5)((function(){return[(0,a.Wm)(p,{amount:+e.transferData.amount,symbol:e.tokenSymbol,protocol:e.protocol,"hide-fiat":!e.showFiat},null,8,["amount","symbol","protocol","hide-fiat"])]})),_:1},8,["label"]),(0,a.WI)(e.$slots,"additional-fee",{},void 0,!0),(0,a.Wm)(d,{class:"details-item",label:e.$t("transaction.fee")},{value:(0,a.w5)((function(){return[(0,a.Wm)(p,{amount:+e.transferData.fee.toFixed(),symbol:e.baseTokenSymbol,protocol:e.protocol,"high-precision":"","data-cy":"review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,a.WI)(e.$slots,"total",{},void 0,!0),(0,a.Wm)(m,{class:"details-item",payload:e.transferData.payload},null,8,["payload"]),e.loading?((0,a.wg)(),(0,a.j4)(v,{key:2})):(0,a.kq)("",!0)])}var l=n(33907),u=n(9697),i=n(28243),c=n(34601),d=n(57940),p=n(15401),m=n(11362),v=n(26906),f=n(75693),w=n(49587),b=n(27128);const y=(0,a.aZ)({name:"TransferReviewBase",components:{PayloadDetails:b.Z,ModalHeader:w.Z,AvatarWithChainName:f.Z,DetailsItem:m.Z,Loader:p.Z,TokenAmount:v.Z},props:{title:{type:String,default:(0,d.tg)("pages.send.reviewtx")},senderLabel:{type:String,default:(0,d.tg)("pages.send.sender")},amountLabel:{type:String,default:(0,d.tg)("common.amount")},baseTokenSymbol:{type:String,required:!0},transferData:{type:Object,required:!0},protocol:{type:String,required:!0},recipientAddress:{type:String,default:null},avatarName:{type:String,default:null},withoutSubtitle:Boolean,loading:Boolean,showFiat:Boolean},setup:function(e){var t=(0,l.oR)(),n=(0,u.xe)({store:t}),o=n.activeAccount,r=(0,a.Fl)((function(){return e.recipientAddress&&(0,c.qi)(e.recipientAddress)})),s=(0,a.Fl)((function(){var t;return(null===(t=e.transferData.selectedAsset)||void 0===t?void 0:t.symbol)||"-"}));return{AE_CONTRACT_ID:i.ik,isRecipientName:r,tokenSymbol:s,activeAccount:o}}});var h=n(83744);const g=(0,h.Z)(y,[["render",s],["__scopeId","data-v-3c5422b2"]]),A=g},51194:(e,t,n)=>{n.d(t,{Z:()=>h});var a=n(66252),o=n(49963),r={class:"transfer-send-recipient"},s={class:"status"};function l(e,t,n,l,u,i){var c=(0,a.up)("QrScanIcon"),d=(0,a.up)("InputField"),p=(0,a.up)("Field"),m=(0,a.up)("UrlStatus");return(0,a.wg)(),(0,a.iD)("div",r,[(0,a.Wm)(p,{name:"address","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,not_same_as:[e.activeAccount.address,e.protocol]},e.validationRules)},{default:(0,a.w5)((function(n){var o=n.field;return[(0,a.Wm)(d,(0,a.dG)(o,{"model-value":e.modelValue,name:"address","data-cy":"address","show-help":"","show-message-help":"",label:e.$t("modals.send.recipientLabel"),placeholder:e.placeholder,message:e.addressMessage,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)}),onHelp:t[2]||(t[2]=function(t){return e.showRecipientHelp()})}),{"label-after":(0,a.w5)((function(){return[(0,a._)("a",{class:"scan-button","data-cy":"scan-button",onClick:t[0]||(t[0]=function(t){return e.$emit("openQrModal")})},[(0,a.Wm)(c)])]})),_:2},1040,["model-value","label","placeholder","message"])]})),_:1},8,["model-value","validate-on-mount","rules"]),(0,a._)("div",s,[(0,a.wy)((0,a.Wm)(m,{status:e.urlStatus},null,8,["status"]),[[o.F8,e.isTipUrl]])])])}n(21703),n(96647);var u=n(33907),i=n(12954),c=n(48854),d=n(9697),p=n(35812),m=n(36179),v=n(39702),f=n(79323);const w=(0,a.aZ)({components:{InputField:m.Z,UrlStatus:p.Z,Field:i.gN,QrScanIcon:v.Z},props:{isTipUrl:Boolean,modelValue:{type:String,default:""},placeholder:{type:String,default:""},protocol:{type:String,required:!0},validationRules:{type:Object,default:function(){}},errors:{type:Object,required:!0}},emits:["openQrModal","update:modelValue"],setup:function(e){var t=(0,u.oR)(),n=(0,d.ol)(),o=n.openModal,r=(0,d.xe)({store:t}),s=r.activeAccount,l=(0,a.Fl)((function(){return t.getters["tipUrl/status"](e.modelValue)})),i=(0,a.Fl)((function(){if(e.isTipUrl)switch(l.value){case"verified":return{status:"success",text:"",hideMessage:!0};case"not-secure":return{status:"warning",text:"",hideMessage:!0};case"not-verified":return{status:"warning",text:"",hideMessage:!0};case"blacklisted":return{status:"error",text:"",hideMessage:!0};default:throw new Error("Unknown url status: ".concat(l.value))}return(0,c.B)(e.errors.address)}));function p(){o(f.WW,{protocol:e.protocol})}return{urlStatus:l,activeAccount:s,addressMessage:i,showRecipientHelp:p}}});var b=n(83744);const y=(0,b.Z)(w,[["render",l],["__scopeId","data-v-4322160c"]]),h=y},10938:(e,t,n)=>{n.d(t,{Z:()=>w});n(68309);var a=n(66252),o={class:"transfer-send-base"},r={class:"account-row"};function s(e,t,n,s,l,u){var i=(0,a.up)("ModalHeader"),c=(0,a.up)("AccountItem"),d=(0,a.up)("TokenAmount"),p=(0,a.up)("DetailsItem");return(0,a.wg)(),(0,a.iD)("div",o,[e.$slots.header?(0,a.WI)(e.$slots,"header",{key:0},void 0,!0):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)(i,{title:e.customTitle||e.$t("modals.send.sendTitle")},null,8,["title"]),(0,a._)("div",r,[(0,a.Wm)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol,name:e.activeAccount.name,size:"md"},null,8,["address","protocol","name"])])],64)),(0,a.WI)(e.$slots,"recipient",{},void 0,!0),(0,a.WI)(e.$slots,"amount",{},void 0,!0),(0,a.WI)(e.$slots,"extra",{},void 0,!0),(0,a.Wm)(p,{label:e.$t("transaction.fee")},{value:(0,a.w5)((function(){return[(0,a.Wm)(d,{amount:e.fee,symbol:e.feeSymbol,protocol:e.protocol,"data-cy":"review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])])}n(9653);var l=n(33907),u=n(9697),i=n(11362),c=n(26906),d=n(49587),p=n(23623);const m=(0,a.aZ)({name:"TransferSendFormBase",components:{ModalHeader:d.Z,AccountItem:p.Z,DetailsItem:i.Z,TokenAmount:c.Z},props:{fee:{type:Number,default:0},feeSymbol:{type:String,required:!0},customTitle:{type:String,default:""},protocol:{type:String,required:!0}},setup:function(){var e=(0,l.oR)(),t=(0,u.xe)({store:e}),n=t.activeAccount;return{activeAccount:n}}});var v=n(83744);const f=(0,v.Z)(m,[["render",s],["__scopeId","data-v-73748b0e"]]),w=f}}]); \ No newline at end of file diff --git a/js/chunk-vendors.96b6701a.js b/js/chunk-vendors.96b6701a.js new file mode 100644 index 000000000..96a528d3d --- /dev/null +++ b/js/chunk-vendors.96b6701a.js @@ -0,0 +1,225 @@ +(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[504],{89226:(e,t,r)=>{const n=r(79986),o=r(67776),i=r(29101),a=r(52813),s=r(8836),{FateTypeCalldata:c,FateTypeString:u}=r(53182),l=r(47611);class d{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a,this._canonicalMapper=new s}encodeCall(e,t,r){const{types:n,required:o}=this._typeResolver.getCallTypes(e,t);if(r.length>n.length||r.length{const n=r(77815),o=r(26876),{FateTypeEvent:i}=r(53182),a=e=>e&&"object"===typeof e&&e.constructor===Object,s=({type:e})=>{let t,r=e;return a(r)&&([[r,t]]=Object.entries(r)),"option"===r};class c extends n{constructor(e){super(),this.aci=e}getCallTypes(e,t){const r=this.getNamespaceAci(e).functions.find((e=>e.name===t));if(r){const e=r.arguments.map((e=>this.resolveType(e.type))),t=r.arguments.filter(s);return{types:e,required:e.length-t.length}}if("init"===t)return{types:[],required:0};throw new o(`Unknown function ${t}`)}getReturnType(e,t){if("init"===t)return this.resolveType("void");const r=this.getNamespaceAci(e).functions.find((e=>e.name===t));if(!r)throw new o(`Unknown function ${t}`);return this.resolveType(r.returns)}getEventType(e,t){const r=this.getNamespaceAci(e);if(!r.hasOwnProperty("event"))throw new o("Missing event declaration");return i(this.resolveType(r.event),t)}isCustomType(e){if("string"!==typeof e)return!1;if(this.isStdType(e))return!1;const[t,r]=e.split("."),n=this.getNamespaceAci(t);return!!n}isStdType(e){return"Set.set"===e}getNamespaceAci(e){for(const t of this.aci){const[[r,n]]=Object.entries(t);if(n.name===e)return n}return null}resolveTypeDef(e,t=[]){const[r,n]=e.split("."),i=this.getNamespaceAci(r);if(!i)throw new o("Unknown namespace for "+JSON.stringify(e));if(i.name===e)return["contract_pubkey",[]];const a=[...i.typedefs||i.type_defs,...i.state?[{name:"state",typedef:i.state,vars:[]}]:[]].find((e=>e.name===n));if(!a)throw new o("Unknown type definition: "+JSON.stringify(e));const s={};a.vars.forEach(((e,r)=>{const[[n,o]]=Object.entries(e);s[o]=t[r]}));const c=s.hasOwnProperty(a.typedef)?s[a.typedef]:a.typedef;return[c,s]}}e.exports=c},29101:(e,t,r)=>{const n=r(12122),o=r(66911),i=r(75450),a=r(95345),s={key_block_hash:{tag:"kh",size:32,encoder:o},micro_block_hash:{tag:"mh",size:32,encoder:o},block_pof_hash:{tag:"bf",size:32,encoder:o},block_tx_hash:{tag:"bx",size:32,encoder:o},block_state_hash:{tag:"bs",size:32,encoder:o},contract_bytearray:{tag:"cb",size:0,encoder:n},contract_pubkey:{tag:"ct",size:32,encoder:o},account_pubkey:{tag:"ak",size:32,encoder:o},channel:{tag:"ch",size:32,encoder:o},oracle_pubkey:{tag:"ok",size:32,encoder:o},oracle_query_id:{tag:"oq",size:32,encoder:o},peer_pubkey:{tag:"pp",size:32,encoder:o},name:{tag:"nm",size:0,encoder:o},tx_hash:{tag:"th",size:32,encoder:o},signature:{tag:"sg",size:64,encoder:o},commitment:{tag:"cm",size:32,encoder:o},bytearray:{tag:"ba",size:0,encoder:n}},c={kh:"key_block_hash",mh:"micro_block_hash",bf:"block_pof_hash",bx:"block_tx_hash",bs:"block_state_hash",cb:"contract_bytearray",ct:"contract_pubkey",ak:"account_pubkey",ch:"channel",ok:"oracle_pubkey",oq:"oracle_query_id",pp:"peer_pubkey",nm:"name",th:"tx_hash",sg:"signature",cm:"commitment",ba:"bytearray"};class u{encode(e,t){if(!s.hasOwnProperty(e))throw new a(e,`Unsupported API type ${e}`);const r=s[e];if(r.size>0&&t.length!==r.size)throw new a(e,`Invalid payload. Expected size ${r.size}, but got ${t.length}`);const n=r.encoder.encode(t);return`${r.tag}_${n}`}decode(e){const t=e.substring(0,2);if(!c.hasOwnProperty(t))throw new i(`Invalid API data format. Unsupported tag: ${t}`);if("_"!==e[2])throw new i(`Invalid API data format. Expected _ separator on position 2, got ${e[2]}`);const r=s[c[t]],n=e.substring(3),o=r.encoder.decode(n);if(r.size>0&&o.length!==r.size)throw new i(`Invalid API data format. Expected size ${r.size}, but got ${o.length}`);return o}decodeWithType(e,t){const r=e.substring(0,2);if(!s.hasOwnProperty(t))throw new a(t,"Unsupported API type");const n=s[t].tag;if(r!==n){const r=this.capitalizeType(t);throw new a(t,`${r} should start with ${n}_, got ${e} instead`)}return this.decode(e)}capitalizeType(e){const t=e.replace("_"," ");return t.charAt(0).toUpperCase()+t.slice(1)}}e.exports=u},70146:(e,t,r)=>{const n=r(79986),o=r(95192),i=r(29101),a=r(52813),{FateTypeCalldata:s,FateTypeString:c}=r(53182),u=r(47611);class l{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a}encodeCall(e,t){const{types:r,required:n}=this._typeResolver.getCallTypes(e);if(t.length>r.length||t.length{const n=r(79479),o=r(26876),{FateTypeVoid:i,FateTypeTuple:a,FateTypeEvent:s,FateTypeList:c,FateTypeMap:u,FateTypeVariant:l,FateTypeOracleAddress:d,FateTypeOracleQueryAddress:f}=r(53182);class h{constructor(e){this._contractEncoder=new n,this._encodedContract=e,this._contract=null}get _bytecode(){return null===this._contract&&(this._contract=this._contractEncoder.decode(this._encodedContract)),this._contract.bytecode}getFunctionId(e){const{symbols:t}=this._bytecode;return Object.keys(t).find((r=>t[r]===e))}getFunction(e){const{functions:t}=this._bytecode;return t.find((t=>t.id===e))}getFunctionName(e){const{name:t}=this.getFunction(e);return t}getCallTypes(e){const t=this.getFunction(this.getFunctionId(e));if(t){const e=t.args.valueTypes.map((e=>this.resolveType(e)));return{types:e,required:e.length}}if("init"===e)return{types:[],required:0};throw new o(`Unknown function ${e}`)}getReturnType(e){if("init"===e)return i();const t=this.getFunction(this.getFunctionId(e));if(t)return this.resolveType(t.returnType);throw new o(`Unknown function ${e}`)}getEventType(e){const t=this.getFunction(this.getFunctionId("Chain.event"));if(!t)throw new o("The contract does not have event declaration");const r=t.args.valueTypes[0];return s(this.resolveType(r),e)}resolveType(e){if("variant"===e.name){const t=e.variants.map(((e,t)=>{const r=e.valueTypes.map((e=>this.resolveType(e)));return{[t]:r}}));return l(t)}let t=[];return Array.isArray(e.valueTypes)&&(t=e.valueTypes.map((e=>this.resolveType(e)))),"tuple"===e.name?a(t):"list"===e.name?c(...t):"map"===e.name?u(...t):"oracle"===e.name?d(...t):"oracle_query"===e.name?f(...t):e}}e.exports=h},79986:(e,t,r)=>{const n=r(69945),o=r(29101),i=r(8836),a=r(77746);class s{constructor(){this._serializer=new n,this._apiEncoder=new o,this._externalDataFactory=new a,this._canonicalMapper=new i}encode(e,t){const r=this._externalDataFactory.create(e,t),n=this._serializer.serialize(r),o=new Uint8Array(n.flat(1/0));return this._apiEncoder.encode("contract_bytearray",o)}decode(e){const t=this._apiEncoder.decodeWithType(e,"contract_bytearray"),r=this._serializer.deserialize(t);return this._canonicalMapper.toCanonical(r)}decodeWithType(e,t){const r=this._apiEncoder.decodeWithType(e,"contract_bytearray"),n=this._serializer.deserializeWithType(r,t);return this._canonicalMapper.toCanonical(n)}}e.exports=s},79479:(e,t,r)=>{const n=r(50858),o=r(29101),i=r(69945),a=r(92664),{byteArray2Int:s,byteArray2Hex:c}=r(61247);class u{constructor(){this._apiEncoder=new o,this._bytecodeSerializer=new a(new i)}decode(e){const t=this._apiEncoder.decodeWithType(e,"contract_bytearray"),r=n.decode(t,!0),o=new TextDecoder;return{tag:s(r.data[0]),vsn:s(r.data[1]),sourceHash:c(r.data[2]),aevmTypeInfo:r.data[3],compilerVersion:o.decode(r.data[5]),payable:Boolean(r.data[6][0]),bytecode:this._bytecodeSerializer.deserialize(new Uint8Array(r.data[4]))}}}e.exports=u},88269:e=>{class t{constructor(e){this._valueFactory=e}get valueFactory(){return this._valueFactory}supports({_name:e,_valueTypes:t}){return!1}create(e,t){throw new Error("Not implemented.")}}e.exports=t},38824:(e,t,r)=>{const n=r(11047),o=r(54537),i=r(88269),a=["bls12_381.fr","bls12_381.fp"];class s extends i{supports({name:e,_valueTypes:t}){return a.includes(e)}create(e,t){switch(e.name){case"bls12_381.fr":return new n(t);case"bls12_381.fp":return new o(t);default:throw new Error(`Unsupported type "${e.name}"`)}}}e.exports=s},79310:(e,t,r)=>{const{symbolIdentifier:n}=r(27439),o=r(95345),i=r(33585),a=r(88269);class s extends a{supports({name:e,_valueTypes:t}){return"calldata"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate calldata arguments must be an Array, got ${t} instead`);const r=this.valueFactory.createMultiple(e.argumentTypes,t),a=n(e.functionName);return new i(a,e.argumentTypes,r)}}e.exports=s},96753:(e,t,r)=>{const n=r(86949),o=r(37412),i=r(10715),a=r(75542),s=r(30344),c=r(82182),u=r(19398),l=r(50329),d=r(46571),f=r(97196),h=r(38824),p=r(79310);class m{constructor(){this._factories=[new i(this),new a(this),new s(this),new c(this),new u(this),new l(this),new f(this),new d(this),new h(this),new p(this)]}createMultiple(e,t){return n(t.length===e.length,`Number of types (${e.length}) and values (${t.length}) should match`),o(e,t).map((e=>this.create(...e)))}create(e,t){const r=this._factories.find((t=>t.supports(e)));return n(r,`Unsupported type "${e.name}"`),r.create(e,t)}}e.exports=m},97196:(e,t,r)=>{const{hash:n}=r(27439),{byteArray2Int:o}=r(61247),i=r(26876),a=r(88269),s=["string","signature","bytes"];class c extends a{supports({name:e,_valueTypes:t}){return"event"===e}create({variantType:e,topics:t},r){const[a,...s]=t;if("bigint"!==typeof a)throw new i(`Event name hash (first topic) should be of type "BigInt", got "${typeof a}" instead.`);const c=e.variants.map((e=>o(n(Object.keys(e)[0])))).findIndex((e=>e===a));if(-1===c)throw new i("Event name hash does not match any event variant constructor");const u=e.variants[c],l=Object.keys(u)[0],[d]=Object.values(u),f=d.map((e=>this._isData(e)?r:s.shift()));return this.valueFactory.create(e,{[l]:f})}_isData(e){return!!s.includes(e.name)&&!("bytes"===e.name&&e.size<=32)}}e.exports=c},75542:(e,t,r)=>{const n=r(50889),o=r(95345),i=r(88269);class a extends i{supports({name:e,_valueTypes:t}){return"list"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate list must be an Array, got ${t} instead`);const r=t.map((t=>this.valueFactory.create(e.valuesType,t)));return new n(e.valuesType,r)}}e.exports=a},82182:(e,t,r)=>{const n=r(25603),o=r(88269);class i extends o{supports({name:e,_valueTypes:t}){return"map"===e}create(e,t){const r=[];for(const n of t)r.push([this.valueFactory.create(e.keyType,n[0]),this.valueFactory.create(e.valueType,n[1])]);return new n(e.keyType,e.valueType,r)}}e.exports=i},10715:(e,t,r)=>{const n=r(89512),o=r(16465),i=r(62280),a=r(11649),s=r(1143),c=r(1794),u=r(82325),l=r(79640),d=r(38767),f=r(59216),h=r(49511),p=r(53131),m=r(88269),g=["int","bool","string","bits","hash","bytes","signature","account_pubkey","contract_pubkey","channel","oracle_pubkey","oracle_query_id"];class y extends m{supports({name:e,_valueTypes:t}){return g.includes(e)}create(e,t){switch(e.name){case"int":return new n(t);case"bool":return new o(t);case"string":return new i(t);case"bits":return new u(t);case"hash":return new a(t);case"bytes":return new c(t,e.valueTypes);case"signature":return new s(t);case"account_pubkey":return new l(t);case"contract_pubkey":return new d(t);case"channel":return new f(t);case"oracle_pubkey":return new h(t);case"oracle_query_id":return new p(t);default:throw new Error(`Unsupported type "${e.name}"`)}}}e.exports=y},50329:(e,t,r)=>{const n=r(88269),o=r(4899),{FateTypeRecord:i}=r(53182),a=r(95345);class s extends n{supports({name:e,_valueTypes:t}){return"record"===e}create(e,t){if("object"!==typeof t)throw new a(e.name,`Fate record must be an Object, got ${t} instead`);const r=Object.keys(t).length;if(r!==e.keys.length)throw new a(e.name,`Number of expected keys (${e.keys.length}) and actual keys (${r}) should match`);const n=e.valueTypes.map(((r,n)=>{const o=e.keys[n];return this.valueFactory.create(r,t[o])}));return 1===n.length?n[0]:new o(i(e.keys,e.valueTypes),n)}}e.exports=s},30344:(e,t,r)=>{const n=r(95981),o=r(88269);class i extends o{supports({name:e,_valueTypes:t}){return"set"===e}create(e,t){const r=[];for(const n of t)r.push(this.valueFactory.create(e.valuesType,n));return new n(e.valuesType,r)}}e.exports=i},19398:(e,t,r)=>{const n=r(4899),o=r(95345),i=r(88269);class a extends i{supports({name:e,_valueTypes:t}){return"tuple"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate tuple must be an Array, got ${t} instead`);const r=e.valueTypes.map(((e,r)=>this.valueFactory.create(e,t[r])));return 1===r.length?r[0]:new n(e.valueTypes,r)}}e.exports=a},46571:(e,t,r)=>{const n=r(29560),o=r(95345),i=r(88269),a=["variant","Chain.ttl","AENS.pointee","AENS.name"];class s extends i{supports({name:e,_valueTypes:t}){return a.includes(e)}create(e,t){if(!this.isValid(t))throw new o(e.name,`Variant should be an object mapping constructor to array of values, got "${t}" instead`);const[r,i]=Object.entries(t)[0],a=e.variants.map((e=>{const[[,t]]=Object.entries(e);return t.length})),s=e.variants.findIndex((e=>{const[[t,n]]=Object.entries(e);return t===r}));if(-1===s)throw new o(e.name,`Unknown variant constructor: ${r}`);const[[,c]]=Object.entries(e.variants[s]);if(i.length!==c.length)throw new o(e.name,`"${r}" variant constructor expects ${c.length} argument(s) but got ${i.length} instead`);const u=this.valueFactory.createMultiple(c,i);return new n(a,s,u,c,e.variants)}isValid(e){return"object"===typeof e&&null!==e&&1===Object.entries(e).length&&Array.isArray(Object.values(e)[0])}}e.exports=s},14841:(e,t,r)=>{const n=r(79986),o=r(67776),i=r(29101),a=r(52813),s=r(8836),{FateTypeCalldata:c,FateTypeString:u}=r(53182),l=r(47611);class d{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a,this._canonicalMapper=new s}encode(e,t,r){const{types:n,required:o}=this._typeResolver.getCallTypes(e,t);if(r.length>n.length||r.length{class t extends Error{constructor(e){super(e),this.name="EncoderError"}}e.exports=t},43541:e=>{class t extends Error{constructor(e){super("Invalid FATE prefix: 0b"+e.toString(2).padStart(8,"0")),this.name="FatePrefixError",this.prefix=e}}e.exports=t},95345:e=>{class t extends Error{constructor(e,t){super(t),this.name="FateTypeError",this.type=e}}e.exports=t},75450:e=>{class t extends Error{constructor(e){super(e),this.name="FormatError"}}e.exports=t},29520:e=>{class t extends Error{constructor(e){super(e),this.name="InternalError"}}e.exports=t},84275:e=>{class t extends Error{constructor(e){super(e),this.name="SerializerError"}}e.exports=t},26876:e=>{class t extends Error{constructor(e){super(e),this.name="TypeResolveError"}}e.exports=t},52813:(e,t,r)=>{const n=r(29101),o=r(96753),i=r(8836);class a{constructor(){this._dataFactory=new o,this._apiEncoder=new n,this._canonicalMapper=new i}decodeWithType(e,t){const r=this._apiEncoder.decode(e),n=this._dataFactory.create(t,r);return this._canonicalMapper.toCanonical(n)}}e.exports=a},77746:(e,t,r)=>{const n=r(96753),o=r(40991);class i extends n{constructor(){super(),this._mapper=new o}create(e,t){const r=this._mapper.toInternal(e,t);return super.create(e,r)}}e.exports=i},85167:(e,t,r)=>{const n=r(86949),o=r(50889),i=r(4899),{FateTypeTuple:a,FateTypeInt:s}=r(53182),c=(e,t)=>{if(0===e.length)return-1;if(0===t.length)return 1;const r=b(e.itemsType);for(let n=0;n{if(0===e.size)return-1;const r=e.size-t.size;if(0!==r)return r;for(let n=0;n{const r=e.arities.length-t.arities.length;if(0!==r)return r;const n=new o(e.aritiesType,e.arities),s=new o(t.aritiesType,t.arities),c=b(n),u=c(n,s);if(0!==u)return u;const l=e.tag-t.tag;if(0!==l)return l;const d=b(a());return d(new i(e.valueTypes,e.value),new i(t.valueTypes,t.value))},d=e=>{const t=b(e);return(e,r)=>t(e.key,r.key)},f=(e,t)=>{const r=[...e.items],n=[...t.items];r.sort(d(e.keyType)),n.sort(d(t.keyType));const o=b(e.keyType),i=b(e.valueType);for(let a=0;a{const r=new o(s(),e.valueOf()),n=new o(s(),t.valueOf());return c(r,n)},p=(e,t)=>{const r=new TextEncoder,n=e.toString(),o=t.toString();return n.length===o.length?h(r.encode(e),r.encode(t)):n.length-o.length},m=(e,t)=>Number(BigInt(e)-BigInt(t)),g=(e,t)=>e-t,y=(e,t)=>e<0||t<0?-m(e,t):m(e,t),v={int:m,bool:g,string:p,bits:y,list:c,tuple:u,variant:l,map:f,bytes:h,account_pubkey:h,channel:h,contract_pubkey:h,oracle_query_id:h,oracle_pubkey:h},b=e=>(n(e.hasOwnProperty("name"),`Cannot determine type name of ${JSON.stringify(e)}`),n(v.hasOwnProperty(e.name),`Unsupported comparator for ${e.name}`),v[e.name]);e.exports=b},7824:e=>{e.exports=Object.freeze({0:{mnemonic:"RETURN",args:0,end:!0},1:{mnemonic:"RETURNR",args:1,end:!0},2:{mnemonic:"CALL",args:1,end:!0},3:{mnemonic:"CALL_R",args:5,end:!0},4:{mnemonic:"CALL_T",args:1,end:!0},5:{mnemonic:"CALL_GR",args:6,end:!0},6:{mnemonic:"JUMP",args:1,end:!0},7:{mnemonic:"JUMPIF",args:2,end:!0},8:{mnemonic:"SWITCH_V2",args:3,end:!0},9:{mnemonic:"SWITCH_V3",args:4,end:!0},10:{mnemonic:"SWITCH_VN",args:2,end:!0},11:{mnemonic:"CALL_VALUE",args:1,end:!1},12:{mnemonic:"PUSH",args:1,end:!1},13:{mnemonic:"DUPA",args:0,end:!1},14:{mnemonic:"DUP",args:1,end:!1},15:{mnemonic:"POP",args:1,end:!1},16:{mnemonic:"INCA",args:0,end:!1},17:{mnemonic:"INC",args:1,end:!1},18:{mnemonic:"DECA",args:0,end:!1},19:{mnemonic:"DEC",args:1,end:!1},20:{mnemonic:"ADD",args:3,end:!1},21:{mnemonic:"SUB",args:3,end:!1},22:{mnemonic:"MUL",args:3,end:!1},23:{mnemonic:"DIV",args:3,end:!1},24:{mnemonic:"MOD",args:3,end:!1},25:{mnemonic:"POW",args:3,end:!1},26:{mnemonic:"STORE",args:2,end:!1},27:{mnemonic:"SHA3",args:2,end:!1},28:{mnemonic:"SHA256",args:2,end:!1},29:{mnemonic:"BLAKE2B",args:2,end:!1},30:{mnemonic:"LT",args:3,end:!1},31:{mnemonic:"GT",args:3,end:!1},32:{mnemonic:"EQ",args:3,end:!1},33:{mnemonic:"ELT",args:3,end:!1},34:{mnemonic:"EGT",args:3,end:!1},35:{mnemonic:"NEQ",args:3,end:!1},36:{mnemonic:"AND",args:3,end:!1},37:{mnemonic:"OR",args:3,end:!1},38:{mnemonic:"NOT",args:2,end:!1},39:{mnemonic:"TUPLE",args:2,end:!1},40:{mnemonic:"ELEMENT",args:3,end:!1},41:{mnemonic:"SETELEMENT",args:4,end:!1},42:{mnemonic:"MAP_EMPTY",args:1,end:!1},43:{mnemonic:"MAP_LOOKUP",args:3,end:!1},44:{mnemonic:"MAP_LOOKUPD",args:4,end:!1},45:{mnemonic:"MAP_UPDATE",args:4,end:!1},46:{mnemonic:"MAP_DELETE",args:3,end:!1},47:{mnemonic:"MAP_MEMBER",args:3,end:!1},48:{mnemonic:"MAP_FROM_LIST",args:2,end:!1},49:{mnemonic:"MAP_SIZE",args:2,end:!1},50:{mnemonic:"MAP_TO_LIST",args:2,end:!1},51:{mnemonic:"IS_NIL",args:2,end:!1},52:{mnemonic:"CONS",args:3,end:!1},53:{mnemonic:"HD",args:2,end:!1},54:{mnemonic:"TL",args:2,end:!1},55:{mnemonic:"LENGTH",args:2,end:!1},56:{mnemonic:"NIL",args:1,end:!1},57:{mnemonic:"APPEND",args:3,end:!1},58:{mnemonic:"STR_JOIN",args:3,end:!1},59:{mnemonic:"INT_TO_STR",args:2,end:!1},60:{mnemonic:"ADDR_TO_STR",args:2,end:!1},61:{mnemonic:"STR_REVERSE",args:2,end:!1},62:{mnemonic:"STR_LENGTH",args:2,end:!1},63:{mnemonic:"BYTES_TO_INT",args:2,end:!1},64:{mnemonic:"BYTES_TO_STR",args:2,end:!1},65:{mnemonic:"BYTES_CONCAT",args:3,end:!1},66:{mnemonic:"BYTES_SPLIT",args:3,end:!1},67:{mnemonic:"INT_TO_ADDR",args:2,end:!1},68:{mnemonic:"VARIANT",args:4,end:!1},69:{mnemonic:"VARIANT_TEST",args:3,end:!1},70:{mnemonic:"VARIANT_ELEMENT",args:3,end:!1},71:{mnemonic:"BITS_NONEA",args:0,end:!1},72:{mnemonic:"BITS_NONE",args:1,end:!1},73:{mnemonic:"BITS_ALLA",args:0,end:!1},74:{mnemonic:"BITS_ALL",args:1,end:!1},75:{mnemonic:"BITS_ALL_N",args:2,end:!1},76:{mnemonic:"BITS_SET",args:3,end:!1},77:{mnemonic:"BITS_CLEAR",args:3,end:!1},78:{mnemonic:"BITS_TEST",args:3,end:!1},79:{mnemonic:"BITS_SUM",args:2,end:!1},80:{mnemonic:"BITS_OR",args:3,end:!1},81:{mnemonic:"BITS_AND",args:3,end:!1},82:{mnemonic:"BITS_DIFF",args:3,end:!1},83:{mnemonic:"BALANCE",args:1,end:!1},84:{mnemonic:"ORIGIN",args:1,end:!1},85:{mnemonic:"CALLER",args:1,end:!1},86:{mnemonic:"BLOCKHASH",args:2,end:!1},87:{mnemonic:"BENEFICIARY",args:1,end:!1},88:{mnemonic:"TIMESTAMP",args:1,end:!1},89:{mnemonic:"GENERATION",args:1,end:!1},90:{mnemonic:"MICROBLOCK",args:1,end:!1},91:{mnemonic:"DIFFICULTY",args:1,end:!1},92:{mnemonic:"GASLIMIT",args:1,end:!1},93:{mnemonic:"GAS",args:1,end:!1},94:{mnemonic:"ADDRESS",args:1,end:!1},95:{mnemonic:"GASPRICE",args:1,end:!1},96:{mnemonic:"LOG0",args:1,end:!1},97:{mnemonic:"LOG1",args:2,end:!1},98:{mnemonic:"LOG2",args:3,end:!1},99:{mnemonic:"LOG3",args:4,end:!1},100:{mnemonic:"LOG4",args:5,end:!1},101:{mnemonic:"SPEND",args:2,end:!1},102:{mnemonic:"ORACLE_REGISTER",args:7,end:!1},103:{mnemonic:"ORACLE_QUERY",args:8,end:!1},104:{mnemonic:"ORACLE_RESPOND",args:6,end:!1},105:{mnemonic:"ORACLE_EXTEND",args:3,end:!1},106:{mnemonic:"ORACLE_GET_ANSWER",args:5,end:!1},107:{mnemonic:"ORACLE_GET_QUESTION",args:5,end:!1},108:{mnemonic:"ORACLE_QUERY_FEE",args:2,end:!1},109:{mnemonic:"AENS_RESOLVE",args:4,end:!1},110:{mnemonic:"AENS_PRECLAIM",args:3,end:!1},111:{mnemonic:"AENS_CLAIM",args:5,end:!1},112:{mnemonic:"AENS_UPDATE",args:6,end:!1},113:{mnemonic:"AENS_TRANSFER",args:4,end:!1},114:{mnemonic:"AENS_REVOKE",args:3,end:!1},115:{mnemonic:"BALANCE_OTHER",args:2,end:!1},116:{mnemonic:"VERIFY_SIG",args:4,end:!1},117:{mnemonic:"VERIFY_SIG_SECP256K1",args:4,end:!1},118:{mnemonic:"CONTRACT_TO_ADDRESS",args:2,end:!1},119:{mnemonic:"AUTH_TX_HASH",args:1,end:!1},120:{mnemonic:"ORACLE_CHECK",args:4,end:!1},121:{mnemonic:"ORACLE_CHECK_QUERY",args:5,end:!1},122:{mnemonic:"IS_ORACLE",args:2,end:!1},123:{mnemonic:"IS_CONTRACT",args:2,end:!1},124:{mnemonic:"IS_PAYABLE",args:2,end:!1},125:{mnemonic:"CREATOR",args:1,end:!1},126:{mnemonic:"ECVERIFY_SECP256K1",args:4,end:!1},127:{mnemonic:"ECRECOVER_SECP256K1",args:3,end:!1},128:{mnemonic:"ADDRESS_TO_CONTRACT",args:2,end:!1},129:{mnemonic:"BLS12_381_G1_NEG",args:2,end:!1},130:{mnemonic:"BLS12_381_G1_NORM",args:2,end:!1},131:{mnemonic:"BLS12_381_G1_VALID",args:2,end:!1},132:{mnemonic:"BLS12_381_G1_IS_ZERO",args:2,end:!1},133:{mnemonic:"BLS12_381_G1_ADD",args:3,end:!1},134:{mnemonic:"BLS12_381_G1_MUL",args:3,end:!1},135:{mnemonic:"BLS12_381_G2_NEG",args:2,end:!1},136:{mnemonic:"BLS12_381_G2_NORM",args:2,end:!1},137:{mnemonic:"BLS12_381_G2_VALID",args:2,end:!1},138:{mnemonic:"BLS12_381_G2_IS_ZERO",args:2,end:!1},139:{mnemonic:"BLS12_381_G2_ADD",args:3,end:!1},140:{mnemonic:"BLS12_381_G2_MUL",args:3,end:!1},141:{mnemonic:"BLS12_381_GT_INV",args:2,end:!1},142:{mnemonic:"BLS12_381_GT_ADD",args:3,end:!1},143:{mnemonic:"BLS12_381_GT_MUL",args:3,end:!1},144:{mnemonic:"BLS12_381_GT_POW",args:3,end:!1},145:{mnemonic:"BLS12_381_GT_IS_ONE",args:2,end:!1},146:{mnemonic:"BLS12_381_PAIRING",args:3,end:!1},147:{mnemonic:"BLS12_381_MILLER_LOOP",args:3,end:!1},148:{mnemonic:"BLS12_381_FINAL_EXP",args:2,end:!1},149:{mnemonic:"BLS12_381_INT_TO_FR",args:2,end:!1},150:{mnemonic:"BLS12_381_INT_TO_FP",args:2,end:!1},151:{mnemonic:"BLS12_381_FR_TO_INT",args:2,end:!1},152:{mnemonic:"BLS12_381_FP_TO_INT",args:2,end:!1},153:{mnemonic:"AENS_LOOKUP",args:2,end:!1},154:{mnemonic:"ORACLE_EXPIRY",args:2,end:!1},155:{mnemonic:"AUTH_TX",args:1,end:!1},156:{mnemonic:"STR_TO_LIST",args:2,end:!1},157:{mnemonic:"STR_FROM_LIST",args:2,end:!1},158:{mnemonic:"STR_TO_UPPER",args:2,end:!1},159:{mnemonic:"STR_TO_LOWER",args:2,end:!1},160:{mnemonic:"CHAR_TO_INT",args:2,end:!1},161:{mnemonic:"CHAR_FROM_INT",args:2,end:!1},162:{mnemonic:"CALL_PGR",args:7,end:!0},163:{mnemonic:"CREATE",args:3,end:!0},164:{mnemonic:"CLONE",args:4,end:!0},165:{mnemonic:"CLONE_G",args:5,end:!0},166:{mnemonic:"BYTECODE_HASH",args:2,end:!1},167:{mnemonic:"FEE",args:1,end:!1},168:{mnemonic:"ADDRESS_TO_BYTES",args:2,end:!1},169:{mnemonic:"POSEIDON",args:3,end:!1},170:{mnemonic:"MULMOD",args:4,end:!1},171:{mnemonic:"BAND",args:3,end:!1},172:{mnemonic:"BOR",args:3,end:!1},173:{mnemonic:"BXOR",args:3,end:!1},174:{mnemonic:"BNOT",args:2,end:!1},175:{mnemonic:"BSL",args:3,end:!1},176:{mnemonic:"BSR",args:3,end:!1},250:{mnemonic:"DEACTIVATE",args:0,end:!1},251:{mnemonic:"ABORT",args:1,end:!0},252:{mnemonic:"EXIT",args:1,end:!0},253:{mnemonic:"NOP",args:0,end:!1},254:{mnemonic:"FUNCTION",args:0,end:!1},255:{mnemonic:"EXTEND",args:0,end:!1}})},88707:e=>{e.exports=Object.freeze({SMALL_INT:0,LONG_STRING:1,SHORT_STRING:1,SHORT_LIST:3,TYPE_INTEGER:7,TYPE_BOOLEAN:23,TYPE_LIST:39,TYPE_TUPLE:55,TYPE_OBJECT:71,TYPE_BITS:87,TYPE_MAP:103,TYPE_STRING:119,TYPE_VARIANT:135,TYPE_BYTES:151,TYPE_CONTRACT_BYTEARRAY:167,TYPE_VAR:231,TYPE_ANY:247,LONG_TUPLE:11,SHORT_TUPLE:11,LONG_LIST:31,MAP:47,EMPTY_TUPLE:63,POS_BITS:79,EMPTY_STRING:95,POS_BIG_INT:111,FALSE:127,OBJECT:159,VARIANT:175,MAP_ID:191,NEG_BITS:207,EMPTY_MAP:223,NEG_BIG_INT:239,TRUE:255,OTYPE_ADDRESS:0,OTYPE_BYTES:1,OTYPE_CONTRACT:2,OTYPE_ORACLE:3,OTYPE_ORACLE_QUERY:4,OTYPE_CHANNEL:5})},53182:e=>{const t=()=>({name:"void"}),r=()=>({name:"int"}),n=()=>({name:"bool"}),o=()=>({name:"string"}),i=()=>({name:"bits"}),a=e=>({name:"bytes",size:e}),s=()=>({name:"hash"}),c=()=>({name:"signature"}),u=()=>({name:"account_pubkey"}),l=()=>({name:"contract_pubkey"}),d=()=>({name:"channel"}),f=(e,t)=>({name:"oracle_pubkey",questionType:e,answerType:t}),h=(e,t)=>({name:"oracle_query_id",questionType:e,answerType:t}),p=()=>({name:"byte_array"}),m=e=>({name:"list",valuesType:e}),g=(e=[])=>({name:"tuple",valueTypes:e}),y=(e,t)=>({name:"record",keys:e,valueTypes:t}),v=e=>({name:"set",valuesType:e}),b=(e,t)=>({name:"map",keyType:e,valueType:t}),w=e=>({name:"variant",variants:e}),_=e=>({name:"type",type:e}),E=e=>{const t=[{None:[]},{Some:e}];return w(t)},A=()=>{const e=[{RelativeTTL:[r()]},{FixedTTL:[r()]}];return w(e)},S=()=>{const e=[{"Chain.GAMetaTx":[u(),r()]}];return w(e)},T=()=>{const e=[{"Chain.PayingForTx":[u(),r()]}];return w(e)},x=()=>{const e=[{"Chain.SpendTx":[u(),r(),o()]},{"Chain.OracleRegisterTx":[]},{"Chain.OracleQueryTx":[]},{"Chain.OracleResponseTx":[]},{"Chain.OracleExtendTx":[]},{"Chain.NamePreclaimTx":[]},{"Chain.NameClaimTx":[o()]},{"Chain.NameUpdateTx":[s()]},{"Chain.NameRevokeTx":[s()]},{"Chain.NameTransferTx":[u(),s()]},{"Chain.ChannelCreateTx":[u()]},{"Chain.ChannelDepositTx":[u(),r()]},{"Chain.ChannelWithdrawTx":[u(),r()]},{"Chain.ChannelForceProgressTx":[u()]},{"Chain.ChannelCloseMutualTx":[u()]},{"Chain.ChannelCloseSoloTx":[u()]},{"Chain.ChannelSlashTx":[u()]},{"Chain.ChannelSettleTx":[u()]},{"Chain.ChannelSnapshotSoloTx":[u()]},{"Chain.ContractCreateTx":[u()]},{"Chain.ContractCallTx":[u(),r()]},{"Chain.GAAttachTx":[]}];return w(e)},C=()=>{const e=[{"AENS.AccountPt":[u()]},{"AENS.OraclePt":[u()]},{"AENS.ContractPt":[u()]},{"AENS.ChannelPt":[u()]}];return w(e)},I=()=>{const e=[{"AENS.Name":[u(),A(),b(o(),C())]}];return w(e)},O=(e,t)=>({name:"event",variantType:e,topics:t}),P=()=>({name:"bls12_381.fr"}),k=()=>({name:"bls12_381.fp"}),N=(e,t)=>({name:"calldata",functionName:e,argumentTypes:t}),R=e=>({name:"tvar",id:e}),M=()=>({name:"any"});e.exports={FateTypeVoid:t,FateTypeInt:r,FateTypeBool:n,FateTypeString:o,FateTypeBits:i,FateTypeBytes:a,FateTypeHash:s,FateTypeSignature:c,FateTypeAccountAddress:u,FateTypeContractAddress:l,FateTypeChannelAddress:d,FateTypeOracleAddress:f,FateTypeOracleQueryAddress:h,FateTypeByteArray:p,FateTypeList:m,FateTypeTuple:g,FateTypeRecord:y,FateTypeSet:v,FateTypeMap:b,FateTypeVariant:w,FateTypeType:_,FateTypeOption:E,FateTypeChainTTL:A,FateTypeChainGAMetaTx:S,FateTypeChainPayingForTx:T,FateTypeChainBaseTx:x,FateTypeAENSPointee:C,FateTypeAENSName:I,FateTypeEvent:O,FateTypeBls12381Fr:P,FateTypeBls12381Fp:k,FateTypeCalldata:N,FateTypeVar:R,FateTypeAny:M}},8836:(e,t,r)=>{const n=r(29101),{montBytes2Int:o}=r(32041),{byteArray2Hex:i}=r(61247);class a{constructor(){this._apiEncoder=new n}toCanonical(e){return e.accept(this)}visitData(e){return e.valueOf()}visitAddress(e){return this._apiEncoder.encode(e.name,e.value)}visitList(e){return e.items.map((e=>e.accept(this)))}visitSet(e){return new Set(e.items.map((e=>e.accept(this))))}visitMap(e){const t=new Map;for(const[r,n]of e.iterator)t.set(r.accept(this),n.accept(this));return t}visitTuple(e){return e.prepareItems((e=>e.accept(this)))}visitVariant(e){const t=e.value.map((e=>e.accept(this)));if("None"!==e.variantName)return"Some"===e.variantName?t[0]:{[e.variantName]:t}}visitBls12381Fr(e){return o(e.valueOf(),"r")}visitBls12381Fp(e){return o(e.valueOf(),"p")}visitCalldata(e){const{functionId:t,args:r}=e.valueOf();return{functionId:i(t),args:r.map((e=>e.accept(this)))}}}e.exports=a},40991:(e,t,r)=>{const n=r(29101),{int2MontBytes:o}=r(32041),i=r(95345);class a{constructor(){this._apiEncoder=new n}toInternal(e,t){switch(e.name){case"account_pubkey":case"contract_pubkey":case"channel":case"oracle_pubkey":case"oracle_query_id":return this.toAddress(e,t);case"variant":return this.toVariant(e,t);case"map":return this.toMap(e,t);case"set":return this.toSet(e,t);case"record":return this.toRecord(e,t);case"bls12_381.fr":return this.toBls12381Fr(e,t);case"bls12_381.fp":return this.toBls12381Fp(e,t);default:return t}}toAddress({name:e,_:t},r){return this._apiEncoder.decodeWithType(r,e)}toVariant(e,t){if(!this.isOptionVariant(e))return t;if([void 0,null].includes(t))return{None:[]};const[r]=Object.keys(t);return["Some","None"].includes(r)?t:{Some:[t]}}isOptionVariant({_name:e,variants:t}){return t.some((({None:e})=>e&&0===e.length))&&t.some((({Some:e})=>e))}toMap(e,t){if("object"!==typeof t||null===t)throw new i("map",`Fate map must be one of: Map, Array, Object; got ${t} instead`);return Array.isArray(t)||t instanceof Map?t:Object.entries(t)}toSet(e,t){if(t instanceof Set)return t;if(Array.isArray(t))return new Set(t);throw new i("set",`Fate set must be a Set or Array, got "${t}" instead`)}toRecord(e,t){return e.keys.reduce(((e,r)=>({...e,[r]:t[r]})),{})}validateBls12381Field(e,t){if("bigint"!==typeof t&&!Number.isInteger(t))throw new i(e.name,`Should be one of: BigInt or Number; got ${t} instead`)}toBls12381Fr(e,t){return this.validateBls12381Field(e,t),o(t,"r")}toBls12381Fp(e,t){return this.validateBls12381Field(e,t),o(t,"p")}}e.exports=a},69945:(e,t,r)=>{const n=r(19291),o=r(48517),i=r(11666),a=r(45323),s=r(85499),c=r(21251),u=r(5980),l=r(57596),d=r(40284),f=r(51849),h=r(98766),p=r(29737),m=r(5411),g=r(26291),y=r(41885),v=r(24157),b=r(25945),w=r(58566),_=r(82021),E=r(38950),A=r(96937),S=r(28003),T=r(94323),x=r(84275);class C extends i{constructor(){super(),this.typeFactory=new n,this._serializers={void:new p,bool:new c,int:new h,tuple:new _(this),record:new _(this),list:new m(this),set:new g(this),map:new y(this),byte_array:new u,string:new w,hash:new l,signature:new l,bits:new s,variant:new E(this),bytes:new l,account_pubkey:new a,contract_pubkey:new f,oracle_pubkey:new b,oracle_query_id:new v,channel:new d,"bls12_381.fr":new A,"bls12_381.fp":new A,calldata:new S(this),type:new T}}_getSerializer(e){if(!e.hasOwnProperty("name"))throw new x("Unsupported type: "+JSON.stringify(e));const t=e.name;if(!this._serializers.hasOwnProperty(t))throw new x("Unsupported type: "+JSON.stringify(t));return this._serializers[t]}serialize(e){if("object"!==typeof e)throw new x("Only object serialization is supported. Got: "+JSON.stringify(e));if(!(e instanceof o))throw new x("Only instances of FateData is supported.");return this._getSerializer(e).serialize(e)}deserializeWithType(e,t){if(!(e instanceof Uint8Array))throw new x("Only instances of Uint8Array is supported.");return this._getSerializer(t).deserialize(e,t)}deserialize(e){if(!(e instanceof Uint8Array))throw new x("Only instances of Uint8Array is supported.");const t=this.typeFactory.createType(e);return this.deserializeWithType(e,t)}deserializeStream(e,t){if(!(e instanceof Uint8Array))throw new x("Only instances of Uint8Array is supported.");let r=t;return"undefined"===typeof t&&(r=this.typeFactory.createType(e)),this._getSerializer(r).deserializeStream(e,t)}}e.exports=C},45323:(e,t,r)=>{const n=r(50858),o=r(88707),i=r(11666),a=r(79640);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ADDRESS,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},11666:(e,t,r)=>{const n=r(84275);class o{constructor(e){this.globalSerializer=e}serialize(e){throw new n("Not implemented.")}deserialize(e,t){const[r,n]=this.deserializeStream(e,t);return r}deserializeStream(e,t){throw new n("Not implemented.")}}e.exports=o},85499:(e,t,r)=>{const n=r(88707),o=r(26128),i=r(82325),a=r(11666),s=r(11351);class c extends a{serialize(e){const t=e.value>=0?n.POS_BITS:n.NEG_BITS;return[t,...o.encode(s(e.value))]}deserializeStream(e){const t=new Uint8Array(e),r=t[0]===n.POS_BITS?1n:-1n,[a,s]=o.decode(t.slice(1));return[new i(a*r),new Uint8Array(s)]}}e.exports=c},96937:(e,t,r)=>{const n=r(11666),o=r(57596),i=r(11047),a=r(54537),s=new o,c=(e,t)=>{switch(e.name){case"bls12_381.fr":return new i(t);case"bls12_381.fp":return new a(t);default:throw new Error(`Unsupported type "${e.name}"`)}};class u extends n{serialize(e){return s.serialize(e)}deserializeStream(e,t){const[r,n]=s.deserializeStream(e);return[c(t,r.valueOf()),n]}}e.exports=u},21251:(e,t,r)=>{const n=r(88707),o=r(16465),i=r(11666),a=r(43541);class s extends i{serialize(e){return!0===e.valueOf()?[n.TRUE]:[n.FALSE]}deserializeStream(e){const t=new Uint8Array(e),r=t[0],i=t.slice(1);if(r===n.TRUE)return[new o(!0),i];if(r===n.FALSE)return[new o(!1),i];throw new a(r)}}e.exports=s},5980:(e,t,r)=>{const n=r(88707),o=r(11666),i=r(20030),a=r(98766),s=new a;class c extends o{serialize(e){if(0===e.length)return[n.EMPTY_STRING];if(e.length<64){const t=e.length<<2|n.SHORT_STRING;return[t,...e.valueOf()]}return[n.LONG_STRING,...s.serialize(e.length-64),...e.valueOf()]}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(r===n.EMPTY_STRING)return[new i,t.slice(1)];if(r===n.LONG_STRING){const[e,r]=s.deserializeStream(t.slice(1)),n=Number(e.valueOf())+64;return[new i(r.slice(0,n)),r.slice(n)]}const o=1+(r>>2);return[new i(t.slice(1,o)),t.slice(o)]}}e.exports=c},92664:(e,t,r)=>{const n=r(50858),o=r(11666),i=r(94323),{byteArray2Hex:a,byteArray2Int:s}=r(61247),c=r(7824),{FateTypeByteArray:u,FateTypeString:l,FateTypeMap:d}=r(53182),f={3:"immediate",2:"var",1:"arg",0:"stack"},h=(e,t=1)=>{const r=[];let n=Number(s(e));for(let o=0;o<2*t;o+=2)r.push(3&n),n>>=2;if(0!==n)throw new Error(`Invalid argument modifier data. Unexpected padding: 0b${n.toString(2)}`);return r};class p extends o{constructor(e){super(e),this._typeSerializer=new i}deserialize(e){const t=n.decode(e,!0),r=n.decode(t.remainder,!0),o=n.decode(r.remainder),i=this.deserializeSymbols(r.data),a=this.deserializeFunctions(t.data,i),s=this.deserializeAnnotations(o);return{functions:a,symbols:i,annotations:s}}deserializeFunctions(e,t){let r={},n=e;const o=[];while(n.length)[r,n]=this.deserializeFunction(n,t),o.push(r);return o}deserializeFunction(e,t){const r=e[0],n=a(e.slice(1,5));if(254!==r)throw new Error(`Wrong function prefix, expeted 0xfe got 0x${e[0].toString(16)}`);const o=t[n],[i,s]=this.deserializeAttributes(e.slice(5)),[c,u,l]=this.deserializeSignature(s),[d,f]=this.deserializeInstructions(l);return[{id:n,name:o,attributes:i,args:c,returnType:u,instructions:d},f]}deserializeInstructions(e){let t={},r=e;const n=[];let o=0,i=!1;while(r.length&&254!==r[0])void 0===n[o]&&(n[o]=[]),[t,r,i]=this.deserializeInstruction(r),n[o].push(t),i&&o++;return[n,r]}deserializeInstruction(e){const t=e[0],r=e.slice(1);if(!c.hasOwnProperty(t))throw new Error(`Unsupported opcode: 0x${t.toString(16)}`);const n=c[t],{mnemonic:o,end:i}=n;if(0===n.args)return[{mnemonic:o,args:[]},r,i];const[a,s]=this.deserializeArguments(r,n.args);return[{mnemonic:o,args:a},s,i]}deserializeArguments(e,t){const r=t<=4?1:2,n=e.subarray(0,r),o=e.slice(r),i=h(n,t),a=[];let s,c=o;return i.forEach((e=>{[s,c]=this.deserializeArgument(e,c),a.push(s)})),[a,c]}deserializeArgument(e,t){const r=f[e];if("stack"===r)return[{mod:r,arg:0},t];const[n,o]=this.globalSerializer.deserializeStream(t);return[{mod:r,arg:n.valueOf()},o]}deserializeSignature(e){const[t,r]=this._typeSerializer.deserializeStream(e),[n,o]=this._typeSerializer.deserializeStream(r);return[t,n,o]}deserializeAttributes(e){const[t,r]=this.globalSerializer.deserializeStream(e),n=Number(t.valueOf()),o=[];return 1&n&&o.push("private"),2&n&&o.push("payable"),[o,r]}deserializeSymbols(e){const t=d(u(),l()),r=this.globalSerializer.deserializeWithType(e,t).valueOf(),n={};return r.forEach(((e,t)=>{const r=a(t);n[r]=e})),n}deserializeAnnotations(e){const t=this.globalSerializer.deserialize(e).valueOf();return t}}e.exports=p},57596:(e,t,r)=>{const n=r(88707),o=r(5980),i=r(1794),a=r(11666),s=new o;class c extends a{serialize(e){return[n.OBJECT,n.OTYPE_BYTES,...s.serialize(e.value)]}deserializeStream(e){const t=new Uint8Array(e),[r,n]=s.deserializeStream(t.slice(2));return[new i(r.valueOf()),n]}}e.exports=c},28003:(e,t,r)=>{const n=r(4899),o=r(33585),i=r(20030),a=r(11666),{FateTypeTuple:s,FateTypeByteArray:c}=r(53182);class u extends a{serialize(e){const t=new i(e.functionId),r=new n(e.argTypes,e.args),o=new n([t.type,r.type],[t,r]);return this.globalSerializer.serialize(o)}deserialize(e,t){const r=s([c(),s(t.argumentTypes)]),[n]=this.globalSerializer.deserializeStream(e,r),[i,a]=n.items;return new o(i.valueOf(),a.valueTypes,a.items)}}e.exports=u},40284:(e,t,r)=>{const n=r(50858),o=r(88707),i=r(11666),a=r(59216);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_CHANNEL,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},51849:(e,t,r)=>{const n=r(50858),o=r(88707),i=r(11666),a=r(38767);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_CONTRACT,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},98766:(e,t,r)=>{const n=r(88707),o=r(26128),i=r(89512),a=r(11666),s=r(43541),c=r(11351),u=1;class l extends a{serialize(e){const t=e instanceof i?e.value:BigInt(e),r=c(t);if(r<64){const e=Number(r);return t>=0?[e<<1]:[e<<1&254|128]}return t<0?[n.NEG_BIG_INT,...o.encode(r-64n)]:[n.POS_BIG_INT,...o.encode(r-64n)]}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(0===(r&u)){if(0===(128&r))return[new i(r>>1),t.slice(1)];const e=(126&r)>>1;return[new i(-e),t.slice(1)]}if(r===n.POS_BIG_INT||r===n.NEG_BIG_INT){const e=r===n.POS_BIG_INT?1n:-1n,[a,s]=o.decode(t.slice(1));return[new i((a+64n)*e),new Uint8Array(s)]}throw new s(r)}}e.exports=l},5411:(e,t,r)=>{const n=r(26128),o=r(88707),i=r(50889),a=r(11666);class s extends a{serialize(e){const t=e.items.map((e=>this.globalSerializer.serialize(e))).flat(1/0),r=e.items.length;if(r<16){const e=r<<4|o.SHORT_LIST;return[e,...t]}return[o.LONG_LIST,...n.encode(r-16),...t]}deserializeStream(e,t){const r=new Uint8Array(e),a=r[0];let s,c,u=0n,l=r.slice(1);a===o.LONG_LIST&&([u,l]=n.decode(r.slice(1)),u+=16n),(15&a)===o.SHORT_LIST&&(u=BigInt((240&a)>>4)),"undefined"!==typeof t&&(s=t.valuesType);const d=[];for(let n=0n;n{const n=r(88707),o=r(26128),i=r(11666),a=r(85167),s=r(25603),c=r(43541);class u extends i{serialize(e){const t=e.length,r=a(e.keyType),i=[...e.items];i.sort(((e,t)=>r(e.key,t.key)));const s=i.map((e=>[this.globalSerializer.serialize(e.key),this.globalSerializer.serialize(e.value)]));return[n.MAP,...o.encode(t),...s.flat(1/0)]}deserializeStream(e,t){const r=new Uint8Array(e),i=r[0];if(i!==n.MAP)throw new c(i);const[a,u]=o.decode(r.slice(1));let l,d,f=u;if(0n===a)return[new s,f];"undefined"!==typeof t&&({keyType:l,valueType:d}=t);const h=[];for(let n=0n;n{const n=r(50858),o=r(88707),i=r(11666),a=r(53131);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ORACLE_QUERY,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},25945:(e,t,r)=>{const n=r(50858),o=r(88707),i=r(11666),a=r(49511);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ORACLE,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},26291:(e,t,r)=>{const n=r(11666),{FateTypeTuple:o,FateTypeMap:i}=r(53182),a=r(25603),s=r(4899),c=r(95981);class u extends n{serialize(e){return this.globalSerializer.serialize(new a(e.itemsType,o(),e.items.map((e=>[e,new s]))))}deserializeStream(e,t){const r=i(t.valuesType,o()),[n,a]=this.globalSerializer.deserializeStream(e,r);return[new c(t.valuesType,n.keys),a]}}e.exports=u},58566:(e,t,r)=>{const n=r(88707),o=r(11666),i=r(5980),a=r(62280),s=r(43541),c=new i;class u extends o{serialize(e){const t=new TextEncoder,r=t.encode(e);return c.serialize(r)}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if((3&r)!==n.SHORT_STRING&&![n.EMPTY_STRING,n.LONG_STRING].includes(r))throw new s(r);const o=new TextDecoder,[i,u]=c.deserializeStream(t);return[new a(o.decode(i.valueOf())),u]}}e.exports=u},82021:(e,t,r)=>{const n=r(88707),o=r(4899),i=r(11666),a=r(26128);class s extends i{serialize(e){const t=e.size;if(0===t)return[n.EMPTY_TUPLE];const r=e.items.map((e=>this.globalSerializer.serialize(e))).flat(1/0);if(t<16){const e=t<<4|n.SHORT_TUPLE;return[e,...r]}return[n.LONG_TUPLE,...a.encode(t-16),...r]}deserializeStream(e,t){const r=new Uint8Array(e),i=r[0];let s=0n,c=r.slice(1);if(i===n.EMPTY_TUPLE)return[new o,c];(15&i)===n.SHORT_TUPLE&&(s=(240&i)>>4),i===n.LONG_TUPLE&&([s,c]=a.decode(r.slice(1)),s+=16n);let u=[];"undefined"!==typeof t&&(u=t.valueTypes);const l=[];let d=null;for(let n=0n;ne.type))),[new o(f,l),c]}}e.exports=s},94323:(e,t,r)=>{const n=r(88707),o=r(11666),i=r(98766),a=r(43541),{FateTypeInt:s,FateTypeBool:c,FateTypeString:u,FateTypeBits:l,FateTypeBytes:d,FateTypeAccountAddress:f,FateTypeContractAddress:h,FateTypeOracleAddress:p,FateTypeOracleQueryAddress:m,FateTypeChannelAddress:g,FateTypeList:y,FateTypeMap:v,FateTypeTuple:b,FateTypeVariant:w,FateTypeVar:_,FateTypeAny:E}=r(53182),A={[n.TYPE_INTEGER]:s(),[n.TYPE_BOOLEAN]:c(),[n.TYPE_BITS]:l(),[n.TYPE_STRING]:u(),[n.TYPE_ANY]:E()},S={[n.OTYPE_ADDRESS]:f(),[n.OTYPE_CONTRACT]:h(),[n.OTYPE_ORACLE]:p(),[n.OTYPE_ORACLE_QUERY]:m(),[n.OTYPE_CHANNEL]:g()};class T extends o{constructor(e){super(e),this._intSerializer=new i}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(A.hasOwnProperty(r))return[A[r],t.slice(1)];if(r===n.TYPE_OBJECT){const e=t[1];if(!S.hasOwnProperty(e))throw new a(e,"Unsupported object type");return[S[e],t.slice(2)]}if(r===n.TYPE_VAR)return[_(t[1]),t.slice(2)];if(r===n.TYPE_BYTES){const[e,r]=this._intSerializer.deserializeStream(t.slice(1));return[d(e.valueOf()),r]}if(r===n.TYPE_LIST){const[e,r]=this.deserializeStream(t.slice(1));return[y(e),r]}if(r===n.TYPE_MAP){const[e,r]=this.deserializeStream(t.slice(1)),[n,o]=this.deserializeStream(r);return[v(e,n),o]}if(r===n.TYPE_TUPLE){const e=t[1],r=[];let n,o=t.slice(2);for(let t=0;t{const n=r(50858),o=r(88707),i=r(4899),a=r(29560),{FateTypeTuple:s}=r(53182),c=r(11666);class u extends c{serialize(e){const t=new i(e.valueTypes,e.value);return[o.VARIANT,...n.encode(new Uint8Array(e.arities)),e.tag,...this.globalSerializer.serialize(t)]}deserializeStream(e,t){const r=new Uint8Array(e),o=n.decode(r.slice(1),!0),i=[...o.data],c=o.remainder[0],u=o.remainder.slice(1);let l,d=[];"undefined"!==typeof t&&"undefined"!==typeof t.variants&&(d=t.variants,l=s(Object.values(d[c])[0]));const[f,h]=this.globalSerializer.deserializeStream(u,l);return[new a(i,c,f.items,f.valueTypes,d),h]}}e.exports=u},29737:(e,t,r)=>{const n=r(14779),o=r(11666);class i extends o{serialize(){return""}deserialize(){return new n}deserializeStream(e){return[new n,e]}}e.exports=i},19291:(e,t,r)=>{const n=r(86949),o=r(88707),i=r(43541),{FateTypeInt:a,FateTypeBool:s,FateTypeString:c,FateTypeBits:u,FateTypeBytes:l,FateTypeAccountAddress:d,FateTypeContractAddress:f,FateTypeOracleAddress:h,FateTypeOracleQueryAddress:p,FateTypeChannelAddress:m,FateTypeList:g,FateTypeMap:y,FateTypeTuple:v,FateTypeVariant:b,FateTypeType:w}=r(53182),_={[o.OTYPE_ADDRESS]:d(),[o.OTYPE_BYTES]:l(),[o.OTYPE_CONTRACT]:f(),[o.OTYPE_ORACLE]:h(),[o.OTYPE_ORACLE_QUERY]:p(),[o.OTYPE_CHANNEL]:m()};class E{createType(e){const t=e[0];if(t===o.TRUE||t===o.FALSE)return s();if((1&t)===o.SMALL_INT||t===o.POS_BIG_INT||t===o.NEG_BIG_INT)return a();if((3&t)===o.SHORT_STRING||t===o.LONG_STRING||t===o.EMPTY_STRING)return c();if((15&t)===o.SHORT_LIST||t===o.LONG_LIST)return g();if((15&t)===o.SHORT_TUPLE||t===o.LONG_TUPLE||t===o.EMPTY_TUPLE)return v();if(t===o.MAP||t===o.EMPTY_MAP)return y();if(t===o.POS_BITS||t===o.NEG_BITS)return u();if(t===o.VARIANT)return b();if(t===o.OBJECT){const t=e[1];return n(_.hasOwnProperty(t),`Unsupported object type "${t}"`),_[t]}if(t===o.TYPE_INTEGER||t===o.TYPE_BOOLEAN||t===o.TYPE_LIST||t===o.TYPE_TUPLE||t===o.TYPE_OBJECT||t===o.TYPE_BITS||t===o.TYPE_MAP||t===o.TYPE_STRING||t===o.TYPE_VARIANT||t===o.TYPE_BYTES||t===o.TYPE_CONTRACT_BYTEARRAY||t===o.TYPE_VAR||t===o.TYPE_ANY)return w();throw new i(t)}}e.exports=E},77815:(e,t,r)=>{const n=r(26876),{FateTypeVoid:o,FateTypeInt:i,FateTypeBool:a,FateTypeString:s,FateTypeBits:c,FateTypeBytes:u,FateTypeHash:l,FateTypeSignature:d,FateTypeAccountAddress:f,FateTypeContractAddress:h,FateTypeOracleAddress:p,FateTypeOracleQueryAddress:m,FateTypeList:g,FateTypeMap:y,FateTypeTuple:v,FateTypeRecord:b,FateTypeSet:w,FateTypeVariant:_,FateTypeOption:E,FateTypeChainTTL:A,FateTypeChainGAMetaTx:S,FateTypeChainPayingForTx:T,FateTypeChainBaseTx:x,FateTypeAENSPointee:C,FateTypeAENSName:I,FateTypeBls12381Fr:O,FateTypeBls12381Fp:P}=r(53182),k=e=>e&&"object"===typeof e&&e.constructor===Object;class N{isCustomType(){return!1}resolveTypeDef(e,t){return[e,t]}resolveValueTypes(e,t){return Array.isArray(e)?e.map((e=>{const r=e.hasOwnProperty("type")?e.type:e,n=t.hasOwnProperty(r)?t[r]:r;return this.resolveType(n,t)})):[]}resolveType(e,t={}){let r=e,_=[],N=[];if(k(e)&&([[r,_]]=Object.entries(e)),this.isCustomType(r)){const[e,t]=this.resolveTypeDef(r,_);return this.resolveType(e,t)}if("variant"!==r&&(N=this.resolveValueTypes(_,t)),"void"===r)return o();if("unit"===r)return v([]);if("int"===r)return i();if("bool"===r)return a();if("string"===r)return s();if("bits"===r)return c();if("hash"===r)return l();if("signature"===r)return d();if("address"===r)return f();if("contract_pubkey"===r)return h();if("Chain.ttl"===r)return A();if("Chain.ga_meta_tx"===r)return S();if("Chain.paying_for_tx"===r)return T();if("Chain.base_tx"===r)return x();if("AENS.pointee"===r)return C();if("AENS.name"===r)return I();if("Set.set"===r)return w(...N);if("MCL_BLS12_381.fr"===r)return O();if("MCL_BLS12_381.fp"===r)return P();if("bytes"===r)return u(_);if("list"===r)return g(...N);if("map"===r)return y(...N);if(("tuple"===r||"record"===r)&&1===N.length)return N[0];if("tuple"===r)return v(N);if("record"===r){const e=_.map((e=>e.name));return b(e,N)}if("variant"===r)return this.resolveVariant(_,t);if("option"===r)return E(N);if("oracle"===r)return p(...N);if("oracle_query"===r)return m(...N);throw new n("Cannot resolve type: "+JSON.stringify(e))}resolveVariant(e,t){const r=e.map((e=>{const[[r,n]]=Object.entries(e),o=n.map((e=>{const r=t.hasOwnProperty(e)?t[e]:e;return this.resolveType(r,t)}));return{[r]:o}}));return _(r)}}e.exports=N},35711:(e,t,r)=>{const n=r(89226);class o{constructor(e){this._internalEncoder=new n(e)}encodeCall(e,t,r){return this._internalEncoder.encodeCall(e,t,r)}decodeCall(e,t,r){return this._internalEncoder.decodeCall(e,t,r)}decodeResult(e,t,r,n="ok"){return this._internalEncoder.decodeResult(e,t,r,n)}decodeEvent(e,t,r){return this._internalEncoder.decodeEvent(e,t,r)}}e.exports=o},11877:(e,t,r)=>{const n=r(70146);class o{constructor(e){this._internalEncoder=new n(e)}encodeCall(e,t){return this._internalEncoder.encodeCall(e,t)}decodeCall(e){return this._internalEncoder.decodeCall(e)}decodeResult(e,t="ok"){return this._internalEncoder.decodeResult(e,t)}}e.exports=o},54747:(e,t,r)=>{const n=r(79986);class o{constructor(){this._internalEncoder=new n}encodeWithType(e,t){return this._internalEncoder.encode(t,e)}decode(e){return this._internalEncoder.decode(e)}decodeWithType(e,t){return this._internalEncoder.decodeWithType(e,t)}}e.exports=o},79316:(e,t,r)=>{const n=r(79479);class o{constructor(){this._internalEncoder=new n}decode(e){return this._internalEncoder.decode(e)}}e.exports=o},41061:(e,t,r)=>{const n=r(14841);class o{constructor(e){this._internalEncoder=new n(e)}encode(e,t,r){return this._internalEncoder.encode(e,t,r)}decode(e,t,r){return this._internalEncoder.decode(e,t,r)}decodeContractByteArray(e){return this._internalEncoder.decodeContractByteArray(e)}decodeString(e){return this._internalEncoder.decodeString(e)}decodeFateString(e){return this._internalEncoder.decodeFateString(e)}decodeEvent(e,t,r){return this._internalEncoder.decodeEvent(e,t,r)}}e.exports=o},26278:(e,t,r)=>{const n=r(29101);class o{constructor(){this._internalEncoder=new n}encode(e,t){return this._internalEncoder.encode(e,t)}decode(e){return this._internalEncoder.decode(e)}}e.exports=o},79102:(e,t,r)=>{const n=r(77815);class o{constructor(){this._internalResolver=new n}resolveType(e,t={}){return this._internalResolver.resolveType(e,t)}}e.exports=o},66176:(e,t,r)=>{const n=r(41061),o=r(35711),i=r(11877),a=r(54747),s=r(26278),c=r(79316),u=r(79102);e.exports={Encoder:n,AciContractCallEncoder:o,BytecodeContractCallEncoder:i,ContractByteArrayEncoder:a,FateApiEncoder:s,ContractEncoder:c,TypeResolver:u}},79640:(e,t,r)=>{const n=r(33533);class o extends n{constructor(e){super(e,"account_pubkey","ak")}}e.exports=o},33533:(e,t,r)=>{const n=r(1794);class o extends n{constructor(e,t,r){super(e,32,t),this._prefix=r}get prefix(){return this._prefix}accept(e){return e.visitAddress(this)}}e.exports=o},82325:(e,t,r)=>{const n=r(48517);class o extends n{constructor(e){super("bits"),this._value=BigInt(e)}get value(){return this._value}valueOf(){return this._value}}e.exports=o},76859:(e,t,r)=>{const n=r(48517),o=r(95345);class i extends n{constructor(e,t,r){if(super(r),!Array.isArray(e)&&!ArrayBuffer.isView(e))throw new o(r,`Should be one of: Array or ArrayBuffer; got ${e} instead`);const n=new Uint8Array(e);if(n.byteLength!==t)throw new o(r,`Invalid length: got ${n.byteLength} bytes instead of ${t} bytes`);this._value=n,this._size=t}get value(){return this._value}get size(){return this._size}valueOf(){return this._value}}e.exports=i},54537:(e,t,r)=>{const n=r(76859),{FateTypeBls12381Fp:o}=r(53182),i=48,a="bls12_381.fp";class s extends n{constructor(e){super(e,i,a)}get type(){return o()}accept(e){return e.visitBls12381Fp(this)}}e.exports=s},11047:(e,t,r)=>{const n=r(76859),{FateTypeBls12381Fr:o}=r(53182),i=32,a="bls12_381.fr";class s extends n{constructor(e){super(e,i,a)}get type(){return o()}accept(e){return e.visitBls12381Fr(this)}}e.exports=s},16465:(e,t,r)=>{const n=r(48517),{FateTypeBool:o}=r(53182);class i extends n{constructor(e){super("bool"),this._value=!!e}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},20030:(e,t,r)=>{const n=r(48517),{FateTypeByteArray:o}=r(53182);class i extends n{constructor(e=[]){super("byte_array"),this._value=new Uint8Array(e)}get length(){return this._value.length}get type(){return o()}valueOf(){return this._value}}e.exports=i},1794:(e,t,r)=>{const n=r(48517),{int2ByteArray:o}=r(61247),i=r(86423),a=r(95345),s=(e,t=0)=>{if(Array.isArray(e)||ArrayBuffer.isView(e))return new Uint8Array(e);if("string"===typeof e)return i(e);if("bigint"!==typeof e&&!Number.isInteger(e))throw new a("byte_array",`Should be one of: Array, ArrayBuffer, hex string, Number, BigInt; got ${e} instead`);const r=o(e);if(r.length>=t)return r;const n=new Uint8Array(t);return n.set(r,t-r.length),n};class c extends n{constructor(e,t,r="bytes"){if(super(r),this._value=s(e,t),t&&this._value.byteLength!==t)throw new a(r,`Invalid length: got ${this._value.byteLength} bytes instead of ${t} bytes`);this._size=t}get value(){return this._value}get size(){return this._size}valueOf(){return this._value}}e.exports=c},33585:(e,t,r)=>{const n=r(48517);class o extends n{constructor(e,t,r){super("calldata"),this._functionId=new Uint8Array(e),this._argTypes=t,this._args=r}get functionId(){return this._functionId}get argTypes(){return this._argTypes}get args(){return this._args}valueOf(){return{functionId:this._functionId,args:this._args}}accept(e){return e.visitCalldata(this)}}e.exports=o},59216:(e,t,r)=>{const n=r(33533);class o extends n{constructor(e){super(e,"channel","ch")}}e.exports=o},38767:(e,t,r)=>{const n=r(33533);class o extends n{constructor(e){super(e,"contract_pubkey","ct")}}e.exports=o},48517:(e,t,r)=>{const n=r(29520);class o{constructor(e){this.name=e}valueOf(){throw new n("Not implemented.")}accept(e){return e.visitData(this)}}e.exports=o},11649:(e,t,r)=>{const n=r(1794);class o extends n{constructor(e){super(e,32,"hash")}}e.exports=o},89512:(e,t,r)=>{const n=r(48517),{FateTypeInt:o}=r(53182);class i extends n{constructor(e){super("int"),this._value=BigInt(e)}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},50889:(e,t,r)=>{const n=r(48517),{FateTypeList:o}=r(53182);class i extends n{constructor(e,t=[]){super("list"),this._itemsType=e,this.items=Array.from(t)}get itemsType(){return this._itemsType}get type(){return o(this.itemsType)}get length(){return this.items.length}valueOf(){return this.items.map((e=>e.valueOf()))}accept(e){return e.visitList(this)}}e.exports=i},25603:(e,t,r)=>{const n=r(48517),{FateTypeMap:o}=r(53182),i=e=>{const[t,r]=e;return{key:t,value:r}};class a extends n{constructor(e,t,r=[]){super("map"),this._keyType=e,this._valueType=t,this._type=o(e,t),this._value=new Map(r)}get items(){return[...this._value.entries()].map(i)}get keyType(){return this._keyType}get valueType(){return this._valueType}get type(){return this._type}get length(){return this._value.size}get iterator(){return this._value[Symbol.iterator]()}get keys(){return this._value.keys()}valueOf(){const e=new Map;for(const[t,r]of this.iterator)e.set(t.valueOf(),r.valueOf());return e}accept(e){return e.visitMap(this)}}e.exports=a},49511:(e,t,r)=>{const n=r(33533);class o extends n{constructor(e){super(e,"oracle_pubkey","ok")}}e.exports=o},53131:(e,t,r)=>{const n=r(33533);class o extends n{constructor(e){super(e,"oracle_query_id","oq")}}e.exports=o},95981:(e,t,r)=>{const n=r(48517),{FateTypeSet:o}=r(53182);class i extends n{constructor(e,t=[]){super("set"),this._itemsType=e,this._items=new Set(t)}get items(){return Array.from(this._items.values())}get itemsType(){return this._itemsType}get type(){return o(this.itemsType)}get length(){return this._items.size}valueOf(){return new Set(this.items.map((e=>e.valueOf())))}accept(e){return e.visitSet(this)}}e.exports=i},1143:(e,t,r)=>{const n=r(1794);class o extends n{constructor(e){super(e,64,"signature")}}e.exports=o},62280:(e,t,r)=>{const n=r(48517),{FateTypeString:o}=r(53182),i=e=>{if(e instanceof Uint8Array){const t=new TextDecoder;return t.decode(e)}return e.toString()};class a extends n{constructor(e){super("string"),this._value=i(e)}get type(){return o()}toString(){return this._value}valueOf(){return this._value}}e.exports=a},4899:(e,t,r)=>{const n=r(48517),{FateTypeTuple:o}=r(53182),i=(e,t)=>{const r=(e,r,n)=>(e[r]=t[n],e);return e.reduce(r,{})};class a extends n{constructor(e=[],t=[]){super("tuple"),this._valueTypes=e.hasOwnProperty("valueTypes")?e.valueTypes:e,this._type=Array.isArray(e)?o(e):e,this._items=Array.from(t)}get valueTypes(){return this._valueTypes}get type(){return this._type}get size(){return this._items.length}get items(){return this._items}valueOf(){return this.prepareItems((e=>e.valueOf()))}prepareItems(e){const t=this._items.map(e);return"record"===this._type.name?i(this._type.keys,t):t}accept(e){return e.visitTuple(this)}}e.exports=a},29560:(e,t,r)=>{const n=r(48517),{FateTypeVariant:o,FateTypeTuple:i,FateTypeInt:a}=r(53182);class s extends n{constructor(e,t,r=[],n=[],i=[]){super("variant"),this.arities=Array.from(e),this._tag=t,this._value=r,this._valueTypes=n,this._type=o(i)}get valueTypes(){return this._valueTypes}get type(){return this._type}get tag(){return this._tag}get value(){return this._value}get aritiesType(){return a()}get variantType(){return i(this._valueTypes)}get variants(){return this._type.variants}get variantName(){if(0===this.variants.length)return this.tag;const e=this.variants[this.tag];return Object.keys(e)[0]}valueOf(){if(0===this.variants.length)return this;const e=this._value.map((e=>e.valueOf()));return{[this.variantName]:e}}accept(e){return e.visitVariant(this)}}e.exports=s},14779:(e,t,r)=>{const n=r(48517),{FateTypeVoid:o}=r(53182);class i extends n{constructor(){super("void"),this._value=void 0}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},26128:(e,t,r)=>{const n=r(50858),{int2ByteArray:o,byteArray2Int:i}=r(61247);e.exports={encode(e){return new Uint8Array(n.encode(o(e)))},decode(e){const t=n.decode(e,!0);return[i(t.data),t.remainder]}}},11351:e=>{const t=e=>e>0?e:-1n*e;e.exports=t},86949:(e,t,r)=>{const n=r(29520),o=(e,t)=>{if(!e)throw new n(t)};e.exports=o},66911:(e,t,r)=>{const n=r(16763),{addChecksum:o,getPayload:i}=r(12122),a=e=>n.encode(o(e)),s=e=>i(n.decode(e));e.exports={encode:a,decode:s}},12122:(e,t,r)=>{const n=r(24107),{Buffer:o}=r(92861),i=r(75450),a=e=>(new n).update(e).digest(),s=e=>a(a(e)).slice(0,4),c=e=>{const t=o.from(e),r=s(e);return o.concat([t,r],t.length+4)},u=e=>{const t=o.from(e),r=t.slice(0,-4),n=t.slice(-4),a=s(r);if(!n.equals(a))throw new i("Invalid checksum");return new Uint8Array(r)},l=e=>c(e).toString("base64"),d=e=>{const t=o.from(e,"base64");return u(t)};e.exports={addChecksum:c,getPayload:u,encode:l,decode:d}},32041:(e,t,r)=>{const{int2ByteArray:n,byteArray2IntBE:o}=r(61247),i={r:{R:1n<<256n,N:0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001n},p:{R:1n<<384n,N:0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaabn}},a=(e,t)=>{if(0n===t)return[1n,0n,e];const[r,n,o]=a(t,e%t);return[n,r-n*(e/t),o]},s=(e,t)=>{const[r,n,o]=a(e,t);return(r+t)%t},c=(e,t)=>{const r=i[t],o=BigInt(e),a=o*r.R%r.N;return n(a)},u=(e,t)=>{const r=i[t],n=o(e),a=s(r.R,r.N);return n*a%r.N};e.exports={int2MontBytes:c,montBytes2Int:u}},27439:(e,t,r)=>{const n=r(74156),o=32,i=e=>Array.from(n.blake2b(e,null,o)),a=e=>i(e).slice(0,4);e.exports={hash:i,symbolIdentifier:a}},86423:(e,t,r)=>{const n=r(75450),o=e=>{const t=e.match(/^(0x)?([a-f0-9]*)$/i);if(!t)throw new n(`Invalid hex string: ${e}`);return new Uint8Array(t[2].split(/(.{1,2})/).filter((e=>e)).map((e=>parseInt(e,16))))};e.exports=o},61247:e=>{const t=e=>{const r=BigInt(e);return r<256n?new Uint8Array([Number(r)]):new Uint8Array([...t(r>>8n),Number(0xffn&r)])},r=e=>[...e].map((e=>e.toString(16).padStart(2,"0"))),n=e=>{const t=r(e);return BigInt("0x"+t.join(""))},o=e=>{const t=r(e).reverse();return BigInt("0x"+t.join(""))},i=e=>r(e).join("");e.exports={int2ByteArray:t,byteArray2Int:n,byteArray2IntBE:o,byteArray2Hex:i}},37412:e=>{e.exports=(e,...t)=>e.map(((e,r)=>t.reduce(((e,t)=>[...e,t[r]]),[e])))},46582:(e,t,r)=>{var n=r(92861).Buffer,o=r(47108),i=r(78396).pbkdf2Sync,a=r(53209),s=r(15115),c=s,u="Invalid mnemonic",l="Invalid entropy",d="Invalid mnemonic checksum";function f(e,t,r){while(e.length32)throw new Error(l);if(p.length%4!==0)throw new Error(l);var g=n.from(p),v=m(g);if(v!==s)throw new Error(d);return g.toString("hex")}function _(e,t){if(n.isBuffer(e)||(e=n.from(e,"hex")),t=t||c,e.length<16)throw new TypeError(l);if(e.length>32)throw new TypeError(l);if(e.length%4!==0)throw new TypeError(l);var r=p([].slice.call(e)),o=m(e),i=r+o,a=i.match(/(.{1,11})/g),s=a.map((function(e){var r=h(e);return t[r]}));return s.join(" ")}function E(e,t,r){if(e=e||128,e%32!==0)throw new TypeError(l);return t=t||a,_(t(e/8),r)}function A(e,t){try{w(e,t)}catch(r){return!1}return!0}e.exports={mnemonicToSeed:v,mnemonicToSeedHex:b,mnemonicToEntropy:w,entropyToMnemonic:_,generateMnemonic:E,validateMnemonic:A,wordlists:{EN:s,english:s}}},1843:(e,t,r)=>{var n=r(48162).stringify,o=r(9036);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},9036:(e,t,r)=>{var n=null,o=function(e){"use strict";var t={strict:!1,storeAsString:!1};void 0!==e&&null!==e&&(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0));var o,i,a,s,c={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=function(e){throw{name:"SyntaxError",message:e,at:o,text:a}},l=function(e){return e&&e!==i&&u("Expected '"+e+"' instead of '"+i+"'"),i=a.charAt(o),o+=1,i},d=function(){var e,o="";"-"===i&&(o="-",l("-"));while(i>="0"&&i<="9")o+=i,l();if("."===i){o+=".";while(l()&&i>="0"&&i<="9")o+=i}if("e"===i||"E"===i){o+=i,l(),"-"!==i&&"+"!==i||(o+=i,l());while(i>="0"&&i<="9")o+=i,l()}if(e=+o,isFinite(e))return null==n&&(n=r(61594)),o.length>15?!0===t.storeAsString?o:new n(o):e;u("Bad number")},f=function(){var e,t,r,n="";if('"'===i)while(l()){if('"'===i)return l(),n;if("\\"===i)if(l(),"u"===i){for(r=0,t=0;t<4;t+=1){if(e=parseInt(l(),16),!isFinite(e))break;r=16*r+e}n+=String.fromCharCode(r)}else{if("string"!==typeof c[i])break;n+=c[i]}else n+=i}u("Bad string")},h=function(){while(i&&i<=" ")l()},p=function(){switch(i){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}u("Unexpected '"+i+"'")},m=function(){var e=[];if("["===i){if(l("["),h(),"]"===i)return l("]"),e;while(i){if(e.push(s()),h(),"]"===i)return l("]"),e;l(","),h()}}u("Bad array")},g=function(){var e,r={};if("{"===i){if(l("{"),h(),"}"===i)return l("}"),r;while(i){if(e=f(),h(),l(":"),!0===t.strict&&Object.hasOwnProperty.call(r,e)&&u('Duplicate key "'+e+'"'),r[e]=s(),h(),"}"===i)return l("}"),r;l(","),h()}}u("Bad object")};return s=function(){switch(h(),i){case"{":return g();case"[":return m();case'"':return f();case"-":return d();default:return i>="0"&&i<="9"?d():p()}},function(e,t){var r;return a=e+"",o=0,i=" ",r=s(),h(),i&&u("Syntax error"),"function"===typeof t?function e(r,n){var o,i=r[n];return i&&"object"===typeof i&&Object.keys(i).forEach((function(t){o=e(i,t),void 0!==o?i[t]=o:delete i[t]})),t.call(r,n,i)}({"":r},""):r}};e.exports=o},48162:(e,t,r)=>{var n=r(61594),o=e.exports;(function(){"use strict";var e,t,r,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function c(o,i){var a,u,l,d,f,h=e,p=i[o],m=null!=p&&(p instanceof n||n.isBigNumber(p));switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(o)),"function"===typeof r&&(p=r.call(i,o,p)),typeof p){case"string":return m?p:s(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(e+=t,f=[],"[object Array]"===Object.prototype.toString.apply(p)){for(d=p.length,a=0;a{"use strict";r.d(t,{J:()=>n});const n={FRONT:"front",BACK:"back"}},64302:(e,t,r)=>{"use strict";r.d(t,{vi:()=>o});var n=r(16546);r(12816);const o=(0,n.F3)("BarcodeScanner",{web:()=>r.e(504).then(r.bind(r,92556)).then((e=>new e.BarcodeScannerWeb))})},92556:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BarcodeScannerWeb:()=>s});var n=r(16546),o=r(16380),i=r(21917),a=r(12816);class s extends n.E_{constructor(){super(...arguments),this._formats=[],this._controls=null,this._torchState=!1,this._video=null,this._options=null,this._backgroundColor=null}async prepare(){await this._getVideoElement()}async hideBackground(){this._backgroundColor=document.documentElement.style.backgroundColor,document.documentElement.style.backgroundColor="transparent"}async showBackground(){document.documentElement.style.backgroundColor=this._backgroundColor||""}async startScan(e){var t;this._options=e,this._formats=[],null===(t=null===e||void 0===e?void 0:e.targetedFormats)||void 0===t||t.forEach((e=>{const t=Object.keys(o.BarcodeFormat).indexOf(e);t>=0?this._formats.push(0):console.error(e,"is not supported on web")}));const r=await this._getVideoElement();if(r)return await this._getFirstResultFromReader();throw this.unavailable("Missing video element")}async startScanning(e,t){throw this.unimplemented("Not implemented on web.")}async pauseScanning(){this._controls&&(this._controls.stop(),this._controls=null)}async resumeScanning(){this._getFirstResultFromReader()}async stopScan(e){this._stop(),this._controls&&(this._controls.stop(),this._controls=null)}async checkPermission(e){if("undefined"===typeof navigator||!navigator.permissions)throw this.unavailable("Permissions API not available in this browser");try{const e=await window.navigator.permissions.query({name:"camera"});return"prompt"===e.state?{neverAsked:!0}:"denied"===e.state?{denied:!0}:"granted"===e.state?{granted:!0}:{unknown:!0}}catch(t){throw this.unavailable("Camera permissions are not available in this browser")}}async openAppSettings(){throw this.unavailable("App settings are not available in this browser")}async disableTorch(){this._controls&&this._controls.switchTorch&&(this._controls.switchTorch(!1),this._torchState=!1)}async enableTorch(){this._controls&&this._controls.switchTorch&&(this._controls.switchTorch(!0),this._torchState=!0)}async toggleTorch(){this._controls&&this._controls.switchTorch&&this._controls.switchTorch(!0)}async getTorchState(){return{isEnabled:this._torchState}}async _getVideoElement(){return this._video||await this._startVideo(),this._video}async _getFirstResultFromReader(){const e=await this._getVideoElement();return new Promise((async t=>{if(e){let r;this._formats.length&&(r=new Map,r.set(i.DecodeHintType.POSSIBLE_FORMATS,this._formats));const n=new o.BrowserQRCodeReader(r);this._controls=await n.decodeFromVideoElement(e,((e,r,n)=>{!r&&e&&e.getText()&&(t({hasContent:!0,content:e.getText(),format:e.getBarcodeFormat().toString()}),n.stop(),this._controls=null,this._stop()),r&&r.message&&console.error(r.message)}))}}))}async _startVideo(){return new Promise((async(e,t)=>{var r;await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then((e=>{e.getTracks().forEach((e=>e.stop()))})).catch((e=>{t(e)}));const n=document.body,o=document.getElementById("video");if(o)t({message:"camera already started"});else{const o=document.createElement("div");o.setAttribute("style","position:absolute; top: 0; left: 0; width:100%; height: 100%; background-color: black;"),this._video=document.createElement("video"),this._video.id="video",(null===(r=this._options)||void 0===r?void 0:r.cameraDirection)!==a.J.BACK?this._video.setAttribute("style","-webkit-transform: scaleX(-1); transform: scaleX(-1); width:100%; height: 100%;"):this._video.setAttribute("style","width:100%; height: 100%;");const i=navigator.userAgent.toLowerCase(),s=i.includes("safari")&&!i.includes("chrome");if(s&&(this._video.setAttribute("autoplay","true"),this._video.setAttribute("muted","true"),this._video.setAttribute("playsinline","true")),o.appendChild(this._video),n.appendChild(o),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){const r={video:{}};navigator.mediaDevices.getUserMedia(r).then((t=>{this._video&&(this._video.srcObject=t,this._video.play()),e({})}),(e=>{t(e)}))}}}))}async _stop(){var e;if(this._video){this._video.pause();const n=this._video.srcObject,o=n.getTracks();for(var t=0;t{"use strict";r.d(t,{q:()=>o});var n=r(16546);const o=(0,n.F3)("App",{web:()=>r.e(504).then(r.bind(r,41168)).then((e=>new e.AppWeb))})},41168:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppWeb:()=>o});var n=r(16546);class o extends n.E_{constructor(){super(),this.handleVisibilityChange=()=>{const e={isActive:!0!==document.hidden};this.notifyListeners("appStateChange",e),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:!0!==document.hidden}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}}},12220:(e,t,r)=>{"use strict";var n,o,i;r.d(t,{Jb:()=>o,ru:()=>n}),function(e){e["Prompt"]="PROMPT",e["Camera"]="CAMERA",e["Photos"]="PHOTOS"}(n||(n={})),function(e){e["Rear"]="REAR",e["Front"]="FRONT"}(o||(o={})),function(e){e["Uri"]="uri",e["Base64"]="base64",e["DataUrl"]="dataUrl"}(i||(i={}))},86986:(e,t,r)=>{"use strict";r.d(t,{i7:()=>o});var n=r(16546);r(12220);const o=(0,n.F3)("Camera",{web:()=>r.e(504).then(r.bind(r,38352)).then((e=>new e.CameraWeb))})},38352:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Camera:()=>a,CameraWeb:()=>i});var n=r(16546),o=r(12220);class i extends n.E_{async getPhoto(e){return new Promise((async(t,r)=>{if(e.webUseInput||e.source===o.ru.Photos)this.fileInputExperience(e,t,r);else if(e.source===o.ru.Prompt){let n=document.querySelector("pwa-action-sheet");n||(n=document.createElement("pwa-action-sheet"),document.body.appendChild(n)),n.header=e.promptLabelHeader||"Photo",n.cancelable=!1,n.options=[{title:e.promptLabelPhoto||"From Photos"},{title:e.promptLabelPicture||"Take Picture"}],n.addEventListener("onSelection",(async n=>{const o=n.detail;0===o?this.fileInputExperience(e,t,r):this.cameraExperience(e,t,r)}))}else this.cameraExperience(e,t,r)}))}async pickImages(e){return new Promise((async(e,t)=>{this.multipleFileInputExperience(e,t)}))}async cameraExperience(e,t,r){if(customElements.get("pwa-camera-modal")){const a=document.createElement("pwa-camera-modal");a.facingMode=e.direction===o.Jb.Front?"user":"environment",document.body.appendChild(a);try{await a.componentOnReady(),a.addEventListener("onPhoto",(async o=>{const i=o.detail;null===i?r(new n.I9("User cancelled photos app")):i instanceof Error?r(i):t(await this._getCameraPhoto(i,e)),a.dismiss(),document.body.removeChild(a)})),a.present()}catch(i){this.fileInputExperience(e,t,r)}}else console.error("Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/web/pwa-elements."),this.fileInputExperience(e,t,r)}fileInputExperience(e,t,r){let i=document.querySelector("#_capacitor-camera-input");const a=()=>{var e;null===(e=i.parentNode)||void 0===e||e.removeChild(i)};i||(i=document.createElement("input"),i.id="_capacitor-camera-input",i.type="file",i.hidden=!0,document.body.appendChild(i),i.addEventListener("change",(r=>{const n=i.files[0];let o="jpeg";if("image/png"===n.type?o="png":"image/gif"===n.type&&(o="gif"),"dataUrl"===e.resultType||"base64"===e.resultType){const r=new FileReader;r.addEventListener("load",(()=>{if("dataUrl"===e.resultType)t({dataUrl:r.result,format:o});else if("base64"===e.resultType){const e=r.result.split(",")[1];t({base64String:e,format:o})}a()})),r.readAsDataURL(n)}else t({webPath:URL.createObjectURL(n),format:o}),a()})),i.addEventListener("cancel",(e=>{r(new n.I9("User cancelled photos app")),a()}))),i.accept="image/*",i.capture=!0,e.source===o.ru.Photos||e.source===o.ru.Prompt?i.removeAttribute("capture"):e.direction===o.Jb.Front?i.capture="user":e.direction===o.Jb.Rear&&(i.capture="environment"),i.click()}multipleFileInputExperience(e,t){let r=document.querySelector("#_capacitor-camera-input-multiple");const o=()=>{var e;null===(e=r.parentNode)||void 0===e||e.removeChild(r)};r||(r=document.createElement("input"),r.id="_capacitor-camera-input-multiple",r.type="file",r.hidden=!0,r.multiple=!0,document.body.appendChild(r),r.addEventListener("change",(t=>{const n=[];for(let e=0;e{t(new n.I9("User cancelled photos app")),o()}))),r.accept="image/*",r.click()}_getCameraPhoto(e,t){return new Promise(((r,n)=>{const o=new FileReader,i=e.type.split("/")[1];"uri"===t.resultType?r({webPath:URL.createObjectURL(e),format:i,saved:!1}):(o.readAsDataURL(e),o.onloadend=()=>{const e=o.result;"dataUrl"===t.resultType?r({dataUrl:e,format:i,saved:!1}):r({base64String:e.split(",")[1],format:i,saved:!1})},o.onerror=e=>{n(e)})}))}async checkPermissions(){if("undefined"===typeof navigator||!navigator.permissions)throw this.unavailable("Permissions API not available in this browser");try{const e=await window.navigator.permissions.query({name:"camera"});return{camera:e.state,photos:"granted"}}catch(e){throw this.unavailable("Camera permissions are not available in this browser")}}async requestPermissions(){throw this.unimplemented("Not implemented on web.")}async pickLimitedLibraryPhotos(){throw this.unavailable("Not implemented on web.")}async getLimitedLibraryPhotos(){throw this.unavailable("Not implemented on web.")}}const a=new i},85811:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(16546);class o extends n.E_{async write(e){if("undefined"===typeof navigator||!navigator.clipboard)throw this.unavailable("Clipboard API not available in this browser");if(void 0!==e.string)await this.writeText(e.string);else if(e.url)await this.writeText(e.url);else{if(!e.image)throw new Error("Nothing to write");if("undefined"===typeof ClipboardItem)throw this.unavailable("Writing images to the clipboard is not supported in this browser");try{const t=await(await fetch(e.image)).blob(),r=new ClipboardItem({[t.type]:t});await navigator.clipboard.write([r])}catch(t){throw new Error("Failed to write image")}}}async read(){if("undefined"===typeof navigator||!navigator.clipboard)throw this.unavailable("Clipboard API not available in this browser");if("undefined"===typeof ClipboardItem)return this.readText();try{const e=await navigator.clipboard.read(),t=e[0].types[0],r=await e[0].getType(t),n=await this._getBlobData(r,t);return{value:n,type:t}}catch(e){return this.readText()}}async readText(){if("undefined"===typeof navigator||!navigator.clipboard||!navigator.clipboard.readText)throw this.unavailable("Reading from clipboard not supported in this browser");const e=await navigator.clipboard.readText();return{value:e,type:"text/plain"}}async writeText(e){if("undefined"===typeof navigator||!navigator.clipboard||!navigator.clipboard.writeText)throw this.unavailable("Writting to clipboard not supported in this browser");await navigator.clipboard.writeText(e)}_getBlobData(e,t){return new Promise(((r,n)=>{const o=new FileReader;t.includes("image")?o.readAsDataURL(e):o.readAsText(e),o.onloadend=()=>{const e=o.result;r(e)},o.onerror=e=>{n(e)}}))}}const i=(0,n.F3)("Clipboard",{web:()=>new o})},16546:(e,t,r)=>{"use strict";r.d(t,{EA:()=>w,E_:()=>h,F3:()=>f,I9:()=>s}); +/*! Capacitor: https://capacitorjs.com/ - MIT License */ +const n=e=>{const t=new Map;t.set("web",{name:"web"});const r=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t},n=(e,t)=>{r.platforms.set(e,t)},o=e=>{r.platforms.has(e)&&(r.currentPlatform=r.platforms.get(e))};return r.addPlatform=n,r.setPlatform=o,r},o=e=>e.CapacitorPlatforms=n(e),i=o("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{});i.addPlatform,i.setPlatform;var a;(function(e){e["Unimplemented"]="UNIMPLEMENTED",e["Unavailable"]="UNAVAILABLE"})(a||(a={}));class s extends Error{constructor(e,t,r){super(e),this.message=e,this.code=t,this.data=r}}const c=e=>{var t,r;return(null===e||void 0===e?void 0:e.androidBridge)?"android":(null===(r=null===(t=null===e||void 0===e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===r?void 0:r.bridge)?"ios":"web"},u=e=>{var t,r,n,o,i;const u=e.CapacitorCustomPlatform||null,l=e.Capacitor||{},d=l.Plugins=l.Plugins||{},f=e.CapacitorPlatforms,h=()=>null!==u?u.name:c(e),p=(null===(t=null===f||void 0===f?void 0:f.currentPlatform)||void 0===t?void 0:t.getPlatform)||h,m=()=>"web"!==p(),g=(null===(r=null===f||void 0===f?void 0:f.currentPlatform)||void 0===r?void 0:r.isNativePlatform)||m,y=e=>{const t=A.get(e);return!!(null===t||void 0===t?void 0:t.platforms.has(p()))||!!w(e)},v=(null===(n=null===f||void 0===f?void 0:f.currentPlatform)||void 0===n?void 0:n.isPluginAvailable)||y,b=e=>{var t;return null===(t=l.PluginHeaders)||void 0===t?void 0:t.find((t=>t.name===e))},w=(null===(o=null===f||void 0===f?void 0:f.currentPlatform)||void 0===o?void 0:o.getPluginHeader)||b,_=t=>e.console.error(t),E=(e,t,r)=>Promise.reject(`${r} does not have an implementation of "${t}".`),A=new Map,S=(e,t={})=>{const r=A.get(e);if(r)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),r.proxy;const n=p(),o=w(e);let i;const c=async()=>(!i&&n in t?i=i="function"===typeof t[n]?await t[n]():t[n]:null!==u&&!i&&"web"in t&&(i=i="function"===typeof t["web"]?await t["web"]():t["web"]),i),f=(t,r)=>{var i,c;if(!o){if(t)return null===(c=t[r])||void 0===c?void 0:c.bind(t);throw new s(`"${e}" plugin is not implemented on ${n}`,a.Unimplemented)}{const n=null===o||void 0===o?void 0:o.methods.find((e=>r===e.name));if(n)return"promise"===n.rtype?t=>l.nativePromise(e,r.toString(),t):(t,n)=>l.nativeCallback(e,r.toString(),t,n);if(t)return null===(i=t[r])||void 0===i?void 0:i.bind(t)}},h=t=>{let r;const o=(...o)=>{const i=c().then((i=>{const c=f(i,t);if(c){const e=c(...o);return r=null===e||void 0===e?void 0:e.remove,e}throw new s(`"${e}.${t}()" is not implemented on ${n}`,a.Unimplemented)}));return"addListener"===t&&(i.remove=async()=>r()),i};return o.toString=()=>`${t.toString()}() { [capacitor code] }`,Object.defineProperty(o,"name",{value:t,writable:!1,configurable:!1}),o},m=h("addListener"),g=h("removeListener"),y=(e,t)=>{const r=m({eventName:e},t),n=async()=>{const n=await r;g({eventName:e,callbackId:n},t)},o=new Promise((e=>r.then((()=>e({remove:n})))));return o.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await n()},o},v=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return o?y:m;case"removeListener":return g;default:return h(t)}}});return d[e]=v,A.set(e,{name:e,proxy:v,platforms:new Set([...Object.keys(t),...o?[n]:[]])}),v},T=(null===(i=null===f||void 0===f?void 0:f.currentPlatform)||void 0===i?void 0:i.registerPlugin)||S;return l.convertFileSrc||(l.convertFileSrc=e=>e),l.getPlatform=p,l.handleError=_,l.isNativePlatform=g,l.isPluginAvailable=v,l.pluginMethodNoop=E,l.registerPlugin=T,l.Exception=s,l.DEBUG=!!l.DEBUG,l.isLoggingEnabled=!!l.isLoggingEnabled,l.platform=l.getPlatform(),l.isNative=l.isNativePlatform(),l},l=e=>e.Capacitor=u(e),d=l("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{}),f=d.registerPlugin;d.Plugins;class h{constructor(e){this.listeners={},this.windowListeners={},e&&(console.warn(`Capacitor WebPlugin "${e.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=e)}addListener(e,t){const r=this.listeners[e];r||(this.listeners[e]=[]),this.listeners[e].push(t);const n=this.windowListeners[e];n&&!n.registered&&this.addWindowListener(n);const o=async()=>this.removeListener(e,t),i=Promise.resolve({remove:o});return Object.defineProperty(i,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await o()}}),i}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t){const r=this.listeners[e];r&&r.forEach((e=>e(t)))}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e="not implemented"){return new d.Exception(e,a.Unimplemented)}unavailable(e="not available"){return new d.Exception(e,a.Unavailable)}async removeListener(e,t){const r=this.listeners[e];if(!r)return;const n=r.indexOf(t);this.listeners[e].splice(n,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}}const p=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),m=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class g extends h{async getCookies(){const e=document.cookie,t={};return e.split(";").forEach((e=>{if(e.length<=0)return;let[r,n]=e.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");r=m(r).trim(),n=m(n).trim(),t[r]=n})),t}async setCookie(e){try{const t=p(e.key),r=p(e.value),n=`; expires=${(e.expires||"").replace("expires=","")}`,o=(e.path||"/").replace("path=",""),i=null!=e.url&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${t}=${r||""}${n}; path=${o}; ${i};`}catch(t){return Promise.reject(t)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}f("CapacitorCookies",{web:()=>new g});const y=async e=>new Promise(((t,r)=>{const n=new FileReader;n.onload=()=>{const e=n.result;t(e.indexOf(",")>=0?e.split(",")[1]:e)},n.onerror=e=>r(e),n.readAsDataURL(e)})),v=(e={})=>{const t=Object.keys(e),r=Object.keys(e).map((e=>e.toLocaleLowerCase())),n=r.reduce(((r,n,o)=>(r[n]=e[t[o]],r)),{});return n},b=(e,t=!0)=>{if(!e)return null;const r=Object.entries(e).reduce(((e,r)=>{const[n,o]=r;let i,a;return Array.isArray(o)?(a="",o.forEach((e=>{i=t?encodeURIComponent(e):e,a+=`${n}=${i}&`})),a.slice(0,-1)):(i=t?encodeURIComponent(o):o,a=`${n}=${i}`),`${e}&${a}`}),"");return r.substr(1)},w=(e,t={})=>{const r=Object.assign({method:e.method||"GET",headers:e.headers},t),n=v(e.headers),o=n["content-type"]||"";if("string"===typeof e.data)r.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const t=new URLSearchParams;for(const[r,n]of Object.entries(e.data||{}))t.set(r,n);r.body=t.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const t=new FormData;if(e.data instanceof FormData)e.data.forEach(((e,r)=>{t.append(r,e)}));else for(const r of Object.keys(e.data))t.append(r,e.data[r]);r.body=t;const n=new Headers(r.headers);n.delete("content-type"),r.headers=n}else(o.includes("application/json")||"object"===typeof e.data)&&(r.body=JSON.stringify(e.data));return r};class _ extends h{async request(e){const t=w(e,e.webFetchExtra),r=b(e.params,e.shouldEncodeUrlParams),n=r?`${e.url}?${r}`:e.url,o=await fetch(n,t),i=o.headers.get("content-type")||"";let a,s,{responseType:c="text"}=o.ok?e:{};switch(i.includes("application/json")&&(c="json"),c){case"arraybuffer":case"blob":s=await o.blob(),a=await y(s);break;case"json":a=await o.json();break;case"document":case"text":default:a=await o.text()}const u={};return o.headers.forEach(((e,t)=>{u[t]=e})),{data:a,headers:u,status:o.status,url:o.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}f("CapacitorHttp",{web:()=>new _})},37448:(e,t,r)=>{"use strict";var n,o;r.d(t,{Wi:()=>o,__:()=>n}),function(e){e["Documents"]="DOCUMENTS",e["Data"]="DATA",e["Library"]="LIBRARY",e["Cache"]="CACHE",e["External"]="EXTERNAL",e["ExternalStorage"]="EXTERNAL_STORAGE"}(n||(n={})),function(e){e["UTF8"]="utf8",e["ASCII"]="ascii",e["UTF16"]="utf16"}(o||(o={}))},85142:(e,t,r)=>{"use strict";r.d(t,{YA:()=>i,__:()=>o.__});var n=r(16546),o=r(37448);const i=(0,n.F3)("Filesystem",{web:()=>r.e(504).then(r.bind(r,69956)).then((e=>new e.FilesystemWeb))})},69956:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilesystemWeb:()=>s});var n=r(16546),o=r(37448);function i(e){const t=e.split("/").filter((e=>"."!==e)),r=[];return t.forEach((e=>{".."===e&&r.length>0&&".."!==r[r.length-1]?r.pop():r.push(e)})),r.join("/")}function a(e,t){e=i(e),t=i(t);const r=e.split("/"),n=t.split("/");return e!==t&&r.every(((e,t)=>e===n[t]))}class s extends n.E_{constructor(){super(...arguments),this.DB_VERSION=1,this.DB_NAME="Disc",this._writeCmds=["add","put","delete"],this.downloadFile=async e=>{var t,r;const o=(0,n.EA)(e,e.webFetchExtra),i=await fetch(e.url,o);let a;if(e.progress)if(null===i||void 0===i?void 0:i.body){const t=i.body.getReader();let r=0;const n=[],o=i.headers.get("content-type"),s=parseInt(i.headers.get("content-length")||"0",10);while(1){const{done:o,value:i}=await t.read();if(o)break;n.push(i),r+=(null===i||void 0===i?void 0:i.length)||0;const a={url:e.url,bytes:r,contentLength:s};this.notifyListeners("progress",a)}const c=new Uint8Array(r);let u=0;for(const e of n)"undefined"!==typeof e&&(c.set(e,u),u+=e.length);a=new Blob([c.buffer],{type:o||void 0})}else a=new Blob;else a=await i.blob();const s=await this.writeFile({path:e.path,directory:null!==(t=e.directory)&&void 0!==t?t:void 0,recursive:null!==(r=e.recursive)&&void 0!==r&&r,data:a});return{path:s.uri,blob:a}}}async initDb(){if(void 0!==this._db)return this._db;if(!("indexedDB"in window))throw this.unavailable("This browser doesn't support IndexedDB");return new Promise(((e,t)=>{const r=indexedDB.open(this.DB_NAME,this.DB_VERSION);r.onupgradeneeded=s.doUpgrade,r.onsuccess=()=>{this._db=r.result,e(r.result)},r.onerror=()=>t(r.error),r.onblocked=()=>{console.warn("db blocked")}}))}static doUpgrade(e){const t=e.target,r=t.result;switch(e.oldVersion){case 0:case 1:default:{r.objectStoreNames.contains("FileStorage")&&r.deleteObjectStore("FileStorage");const e=r.createObjectStore("FileStorage",{keyPath:"path"});e.createIndex("by_folder","folder")}}}async dbRequest(e,t){const r=-1!==this._writeCmds.indexOf(e)?"readwrite":"readonly";return this.initDb().then((n=>new Promise(((o,i)=>{const a=n.transaction(["FileStorage"],r),s=a.objectStore("FileStorage"),c=s[e](...t);c.onsuccess=()=>o(c.result),c.onerror=()=>i(c.error)}))))}async dbIndexRequest(e,t,r){const n=-1!==this._writeCmds.indexOf(t)?"readwrite":"readonly";return this.initDb().then((o=>new Promise(((i,a)=>{const s=o.transaction(["FileStorage"],n),c=s.objectStore("FileStorage"),u=c.index(e),l=u[t](...r);l.onsuccess=()=>i(l.result),l.onerror=()=>a(l.error)}))))}getPath(e,t){const r=void 0!==t?t.replace(/^[/]+|[/]+$/g,""):"";let n="";return void 0!==e&&(n+="/"+e),""!==t&&(n+="/"+r),n}async clear(){const e=await this.initDb(),t=e.transaction(["FileStorage"],"readwrite"),r=t.objectStore("FileStorage");r.clear()}async readFile(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(void 0===r)throw Error("File does not exist.");return{data:r.content?r.content:""}}async writeFile(e){const t=this.getPath(e.directory,e.path);let r=e.data;const n=e.encoding,o=e.recursive,i=await this.dbRequest("get",[t]);if(i&&"directory"===i.type)throw Error("The supplied path is a directory.");const a=t.substr(0,t.lastIndexOf("/")),s=await this.dbRequest("get",[a]);if(void 0===s){const t=a.indexOf("/",1);if(-1!==t){const r=a.substr(t);await this.mkdir({path:r,directory:e.directory,recursive:o})}}if(!n&&!(r instanceof Blob)&&(r=r.indexOf(",")>=0?r.split(",")[1]:r,!this.isBase64String(r)))throw Error("The supplied data is not valid base64 content.");const c=Date.now(),u={path:t,folder:a,type:"file",size:r instanceof Blob?r.size:r.length,ctime:c,mtime:c,content:r};return await this.dbRequest("put",[u]),{uri:u.path}}async appendFile(e){const t=this.getPath(e.directory,e.path);let r=e.data;const n=e.encoding,o=t.substr(0,t.lastIndexOf("/")),i=Date.now();let a=i;const s=await this.dbRequest("get",[t]);if(s&&"directory"===s.type)throw Error("The supplied path is a directory.");const c=await this.dbRequest("get",[o]);if(void 0===c){const t=o.indexOf("/",1);if(-1!==t){const r=o.substr(t);await this.mkdir({path:r,directory:e.directory,recursive:!0})}}if(!n&&!this.isBase64String(r))throw Error("The supplied data is not valid base64 content.");if(void 0!==s){if(s.content instanceof Blob)throw Error("The occupied entry contains a Blob object which cannot be appended to.");r=void 0===s.content||n?s.content+r:btoa(atob(s.content)+atob(r)),a=s.ctime}const u={path:t,folder:o,type:"file",size:r.length,ctime:a,mtime:i,content:r};await this.dbRequest("put",[u])}async deleteFile(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(void 0===r)throw Error("File does not exist.");const n=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(t)]);if(0!==n.length)throw Error("Folder is not empty.");await this.dbRequest("delete",[t])}async mkdir(e){const t=this.getPath(e.directory,e.path),r=e.recursive,n=t.substr(0,t.lastIndexOf("/")),o=(t.match(/\//g)||[]).length,i=await this.dbRequest("get",[n]),a=await this.dbRequest("get",[t]);if(1===o)throw Error("Cannot create Root directory");if(void 0!==a)throw Error("Current directory does already exist.");if(!r&&2!==o&&void 0===i)throw Error("Parent directory must exist");if(r&&2!==o&&void 0===i){const t=n.substr(n.indexOf("/",1));await this.mkdir({path:t,directory:e.directory,recursive:r})}const s=Date.now(),c={path:t,folder:n,type:"directory",size:0,ctime:s,mtime:s};await this.dbRequest("put",[c])}async rmdir(e){const{path:t,directory:r,recursive:n}=e,o=this.getPath(r,t),i=await this.dbRequest("get",[o]);if(void 0===i)throw Error("Folder does not exist.");if("directory"!==i.type)throw Error("Requested path is not a directory");const a=await this.readdir({path:t,directory:r});if(0!==a.files.length&&!n)throw Error("Folder is not empty");for(const s of a.files){const e=`${t}/${s.name}`,o=await this.stat({path:e,directory:r});"file"===o.type?await this.deleteFile({path:e,directory:r}):await this.rmdir({path:e,directory:r,recursive:n})}await this.dbRequest("delete",[o])}async readdir(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(""!==e.path&&void 0===r)throw Error("Folder does not exist.");const n=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(t)]),o=await Promise.all(n.map((async e=>{let r=await this.dbRequest("get",[e]);return void 0===r&&(r=await this.dbRequest("get",[e+"/"])),{name:e.substring(t.length+1),type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}})));return{files:o}}async getUri(e){const t=this.getPath(e.directory,e.path);let r=await this.dbRequest("get",[t]);return void 0===r&&(r=await this.dbRequest("get",[t+"/"])),{uri:(null===r||void 0===r?void 0:r.path)||t}}async stat(e){const t=this.getPath(e.directory,e.path);let r=await this.dbRequest("get",[t]);if(void 0===r&&(r=await this.dbRequest("get",[t+"/"])),void 0===r)throw Error("Entry does not exist.");return{type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}}async rename(e){await this._copy(e,!0)}async copy(e){return this._copy(e,!1)}async requestPermissions(){return{publicStorage:"granted"}}async checkPermissions(){return{publicStorage:"granted"}}async _copy(e,t=!1){let{toDirectory:r}=e;const{to:n,from:i,directory:s}=e;if(!n||!i)throw Error("Both to and from must be provided");r||(r=s);const c=this.getPath(s,i),u=this.getPath(r,n);if(c===u)return{uri:u};if(a(c,u))throw Error("To path cannot contain the from path");let l;try{l=await this.stat({path:n,directory:r})}catch(p){const e=n.split("/");e.pop();const t=e.join("/");if(e.length>0){const e=await this.stat({path:t,directory:r});if("directory"!==e.type)throw new Error("Parent directory of the to path is a file")}}if(l&&"directory"===l.type)throw new Error("Cannot overwrite a directory with a file");const d=await this.stat({path:i,directory:s}),f=async(e,t,n)=>{const o=this.getPath(r,e),i=await this.dbRequest("get",[o]);i.ctime=t,i.mtime=n,await this.dbRequest("put",[i])},h=d.ctime?d.ctime:Date.now();switch(d.type){case"file":{const e=await this.readFile({path:i,directory:s});let a;t&&await this.deleteFile({path:i,directory:s}),e.data instanceof Blob||this.isBase64String(e.data)||(a=o.Wi.UTF8);const c=await this.writeFile({path:n,directory:r,data:e.data,encoding:a});return t&&await f(n,h,d.mtime),c}case"directory":{if(l)throw Error("Cannot move a directory over an existing object");try{await this.mkdir({path:n,directory:r,recursive:!1}),t&&await f(n,h,d.mtime)}catch(p){}const e=(await this.readdir({path:i,directory:s})).files;for(const o of e)await this._copy({from:`${i}/${o.name}`,to:`${n}/${o.name}`,directory:s,toDirectory:r},t);t&&await this.rmdir({path:i,directory:s})}}return{uri:u}}isBase64String(e){try{return btoa(atob(e))==e}catch(t){return!1}}}s._debug=!0},81849:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(16546);const o=(0,n.F3)("Network",{web:()=>r.e(504).then(r.bind(r,22539)).then((e=>new e.NetworkWeb))})},22539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Network:()=>a,NetworkWeb:()=>i});var n=r(16546);function o(){const e=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;let t="unknown";const r=e?e.type||e.effectiveType:null;if(r&&"string"===typeof r)switch(r){case"bluetooth":case"cellular":t="cellular";break;case"none":t="none";break;case"ethernet":case"wifi":case"wimax":t="wifi";break;case"other":case"unknown":t="unknown";break;case"slow-2g":case"2g":case"3g":t="cellular";break;case"4g":t="wifi";break;default:break}return t}class i extends n.E_{constructor(){super(),this.handleOnline=()=>{const e=o(),t={connected:!0,connectionType:e};this.notifyListeners("networkStatusChange",t)},this.handleOffline=()=>{const e={connected:!1,connectionType:"none"};this.notifyListeners("networkStatusChange",e)},"undefined"!==typeof window&&(window.addEventListener("online",this.handleOnline),window.addEventListener("offline",this.handleOffline))}async getStatus(){if(!window.navigator)throw this.unavailable("Browser does not support the Network Information API");const e=window.navigator.onLine,t=o(),r={connected:e,connectionType:e?t:"none"};return r}}const a=new i},40962:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});var n=r(16546);const o=(0,n.F3)("Share",{web:()=>r.e(504).then(r.bind(r,78104)).then((e=>new e.ShareWeb))})},78104:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ShareWeb:()=>o});var n=r(16546);class o extends n.E_{async canShare(){return"undefined"!==typeof navigator&&navigator.share?{value:!0}:{value:!1}}async share(e){if("undefined"===typeof navigator||!navigator.share)throw this.unavailable("Share API not available in this browser");return await navigator.share({title:e.title,text:e.text,url:e.url}),{}}}},83633:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});var n=r(16546);const o=(0,n.F3)("SplashScreen",{web:()=>r.e(504).then(r.bind(r,7411)).then((e=>new e.SplashScreenWeb))})},7411:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplashScreenWeb:()=>o});var n=r(16546);class o extends n.E_{async show(e){}async hide(e){}}},79417:(e,t,r)=>{"use strict";r.d(t,{eA:()=>a,OF:()=>n});var n,o,i=r(16546);(function(e){e["Dark"]="DARK",e["Light"]="LIGHT",e["Default"]="DEFAULT"})(n||(n={})),function(e){e["None"]="NONE",e["Slide"]="SLIDE",e["Fade"]="FADE"}(o||(o={}));const a=(0,i.F3)("StatusBar")},66289:(e,t)=>{"use strict";function r(e){if(Array.isArray(e)){const t=[];let n=0;for(let o=0;oe.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return l(u(e))}function i(e,t){if(e<56)return Uint8Array.from([e+t]);const r=p(e),n=r.length/2,o=p(t+55+n);return Uint8Array.from(d(o+r))}function a(e,t=!1){if("undefined"===typeof e||null===e||0===e.length)return Uint8Array.from([]);const r=v(e),n=s(r);if(t)return n;if(0!==n.remainder.length)throw new Error("invalid RLP: remainder must be zero");return n.data}function s(e){let t,r,i,a,c;const u=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(t=l-127,i=128===l?Uint8Array.from([]):n(e,1,t),2===t&&i[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:i,remainder:e.slice(t)}}if(l<=191){if(r=l-182,e.length-1e.length)throw new Error("invalid RLP: total length is larger than the data");a=n(e,r,i);while(a.length)c=s(a),u.push(c.data),a=c.remainder;return{data:u,remainder:e.slice(i)}}}t.Tj=void 0;const c=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function u(e){let t="";for(let r=0;re+t.length),0),r=new Uint8Array(t);for(let n=0,o=0;n=2&&"0"===e[0]&&"x"===e[1]}function y(e){return"string"!==typeof e?e:g(e)?e.slice(2):e}function v(e){if(e instanceof Uint8Array)return e;if("string"===typeof e)return g(e)?d(m(y(e))):h(e);if("number"===typeof e||"bigint"===typeof e)return e?d(p(e)):Uint8Array.from([]);if(null===e||void 0===e)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}t.Tj={encode:r,decode:a}},67746:(e,t,r)=>{"use strict";r.d(t,{c:()=>v});var n=r(72289),o=r(69185); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +let i;const a=e=>(e.forEach((e=>{for(const t in e)if(e.hasOwnProperty(t)){const r=e[t];if("easing"===t){const n="animation-timing-function";e[n]=r,delete e[t]}else{const n=s(t);n!==t&&(e[n]=r,delete e[t])}}})),e),s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),c=e=>{if(void 0===i){const t=void 0!==e.style.animationName,r=void 0!==e.style.webkitAnimationName;i=!t&&r?"-webkit-":""}return i},u=(e,t,r)=>{const n=t.startsWith("animation")?c(e):"";e.style.setProperty(n+t,r)},l=(e,t)=>{const r=t.startsWith("animation")?c(e):"";e.style.removeProperty(r+t)},d=(e,t)=>{let r;const n={passive:!0},o=()=>{r&&r()},i=r=>{e===r.target&&(o(),t(r))};return e&&(e.addEventListener("webkitAnimationEnd",i,n),e.addEventListener("animationend",i,n),r=()=>{e.removeEventListener("webkitAnimationEnd",i,n),e.removeEventListener("animationend",i,n)}),o},f=(e=[])=>e.map((e=>{const t=e.offset,r=[];for(const n in e)e.hasOwnProperty(n)&&"offset"!==n&&r.push(`${n}: ${e[n]};`);return`${100*t}% { ${r.join(" ")} }`})).join(" "),h=[],p=e=>{let t=h.indexOf(e);return t<0&&(t=h.push(e)-1),`ion-animation-${t}`},m=e=>{const t=void 0!==e.getRootNode?e.getRootNode():e;return t.head||t},g=(e,t,r)=>{var n;const o=m(r),i=c(r),a=o.querySelector("#"+e);if(a)return a;const s=(null!==(n=r.ownerDocument)&&void 0!==n?n:document).createElement("style");return s.id=e,s.textContent=`@${i}keyframes ${e} { ${t} } @${i}keyframes ${e}-alt { ${t} }`,o.appendChild(s),s},y=(e=[],t)=>{if(void 0!==t){const r=Array.isArray(t)?t:[t];return[...e,...r]}return e},v=e=>{let t,r,i,s,c,h,m,v,b,w,_,E,A,S=[],T=[],x=[],C=!1,I={},O=[],P=[],k={},N=0,R=!1,M=!1,B=!0,L=!1,D=!0,F=!1;const j=e,U=[],$=[],z=[],H=[],V=[],G=[],q=[],W=[],K=[],X=[],Z=[],Y="function"===typeof AnimationEffect||void 0!==n.w&&"function"===typeof n.w.AnimationEffect,Q="function"===typeof Element&&"function"===typeof Element.prototype.animate&&Y,J=100,ee=()=>Z,te=e=>(V.forEach((t=>{t.destroy(e)})),re(e),H.length=0,V.length=0,S.length=0,ce(),C=!1,D=!0,A),re=e=>{ue(),e&&le()},ne=()=>{R=!1,M=!1,D=!0,b=void 0,w=void 0,_=void 0,N=0,L=!1,B=!0,F=!1},oe=()=>0!==N&&!F,ie=(e,t)=>{const r=t.findIndex((t=>t.c===e));r>-1&&t.splice(r,1)},ae=(e,t)=>(z.push({c:e,o:t}),A),se=(e,t)=>{const r=(null===t||void 0===t?void 0:t.oneTimeCallback)?$:U;return r.push({c:e,o:t}),A},ce=()=>(U.length=0,$.length=0,A),ue=()=>{if(Q)Z.forEach((e=>{e.cancel()})),Z.length=0;else{const e=H.slice();(0,o.r)((()=>{e.forEach((e=>{l(e,"animation-name"),l(e,"animation-duration"),l(e,"animation-timing-function"),l(e,"animation-iteration-count"),l(e,"animation-delay"),l(e,"animation-play-state"),l(e,"animation-fill-mode"),l(e,"animation-direction")}))}))}},le=()=>{G.forEach((e=>{(null===e||void 0===e?void 0:e.parentNode)&&e.parentNode.removeChild(e)})),G.length=0},de=e=>(q.push(e),A),fe=e=>(W.push(e),A),he=e=>(K.push(e),A),pe=e=>(X.push(e),A),me=e=>(T=y(T,e),A),ge=e=>(x=y(x,e),A),ye=(e={})=>(I=e,A),ve=(e=[])=>{for(const t of e)I[t]="";return A},be=e=>(O=y(O,e),A),we=e=>(P=y(P,e),A),_e=(e={})=>(k=e,A),Ee=(e=[])=>{for(const t of e)k[t]="";return A},Ae=()=>void 0!==c?c:m?m.getFill():"both",Se=()=>void 0!==b?b:void 0!==h?h:m?m.getDirection():"normal",Te=()=>R?"linear":void 0!==i?i:m?m.getEasing():"linear",xe=()=>M?0:void 0!==w?w:void 0!==r?r:m?m.getDuration():0,Ce=()=>void 0!==s?s:m?m.getIterations():1,Ie=()=>void 0!==_?_:void 0!==t?t:m?m.getDelay():0,Oe=()=>S,Pe=e=>(h=e,Ze(!0),A),ke=e=>(c=e,Ze(!0),A),Ne=e=>(t=e,Ze(!0),A),Re=e=>(i=e,Ze(!0),A),Me=e=>(Q||0!==e||(e=1),r=e,Ze(!0),A),Be=e=>(s=e,Ze(!0),A),Le=e=>(m=e,A),De=e=>{if(null!=e)if(1===e.nodeType)H.push(e);else if(e.length>=0)for(let t=0;t{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(A),V.push(t);else e.parent(A),V.push(e);return A},je=e=>{const t=S!==e;return S=e,t&&Ue(S),A},Ue=e=>{Q?ee().forEach((t=>{const r=t.effect;if(r.setKeyframes)r.setKeyframes(e);else{const n=new KeyframeEffect(r.target,e,r.getTiming());t.effect=n}})):Ve()},$e=()=>{q.forEach((e=>e())),W.forEach((e=>e()));const e=T,t=x,r=I;H.forEach((n=>{const o=n.classList;e.forEach((e=>o.add(e))),t.forEach((e=>o.remove(e)));for(const e in r)r.hasOwnProperty(e)&&u(n,e,r[e])}))},ze=()=>{nt(),K.forEach((e=>e())),X.forEach((e=>e()));const e=B?1:0,t=O,r=P,n=k;H.forEach((e=>{const o=e.classList;t.forEach((e=>o.add(e))),r.forEach((e=>o.remove(e)));for(const t in n)n.hasOwnProperty(t)&&u(e,t,n[t])})),w=void 0,b=void 0,_=void 0,U.forEach((t=>t.c(e,A))),$.forEach((t=>t.c(e,A))),$.length=0,D=!0,B&&(L=!0),B=!0},He=()=>{0!==N&&(N--,0===N&&(ze(),m&&m.animationFinish()))},Ve=(t=!0)=>{le();const r=a(S);H.forEach((n=>{if(r.length>0){const i=f(r);E=void 0!==e?e:p(i);const a=g(E,i,n);G.push(a),u(n,"animation-duration",`${xe()}ms`),u(n,"animation-timing-function",Te()),u(n,"animation-delay",`${Ie()}ms`),u(n,"animation-fill-mode",Ae()),u(n,"animation-direction",Se());const s=Ce()===1/0?"infinite":Ce().toString();u(n,"animation-iteration-count",s),u(n,"animation-play-state","paused"),t&&u(n,"animation-name",`${a.id}-alt`),(0,o.r)((()=>{u(n,"animation-name",a.id||null)}))}}))},Ge=()=>{H.forEach((e=>{const t=e.animate(S,{id:j,delay:Ie(),duration:xe(),easing:Te(),iterations:Ce(),fill:Ae(),direction:Se()});t.pause(),Z.push(t)})),Z.length>0&&(Z[0].onfinish=()=>{He()})},qe=(e=!0)=>{$e(),S.length>0&&(Q?Ge():Ve(e)),C=!0},We=e=>{if(e=Math.min(Math.max(e,0),.9999),Q)Z.forEach((t=>{t.currentTime=t.effect.getComputedTiming().delay+xe()*e,t.pause()}));else{const t=`-${xe()*e}ms`;H.forEach((e=>{S.length>0&&(u(e,"animation-delay",t),u(e,"animation-play-state","paused"))}))}},Ke=e=>{Z.forEach((e=>{e.effect.updateTiming({delay:Ie(),duration:xe(),easing:Te(),iterations:Ce(),fill:Ae(),direction:Se()})})),void 0!==e&&We(e)},Xe=(e=!0,t)=>{(0,o.r)((()=>{H.forEach((r=>{u(r,"animation-name",E||null),u(r,"animation-duration",`${xe()}ms`),u(r,"animation-timing-function",Te()),u(r,"animation-delay",void 0!==t?`-${t*xe()}ms`:`${Ie()}ms`),u(r,"animation-fill-mode",Ae()||null),u(r,"animation-direction",Se()||null);const n=Ce()===1/0?"infinite":Ce().toString();u(r,"animation-iteration-count",n),e&&u(r,"animation-name",`${E}-alt`),(0,o.r)((()=>{u(r,"animation-name",E||null)}))}))}))},Ze=(e=!1,t=!0,r)=>(e&&V.forEach((n=>{n.update(e,t,r)})),Q?Ke(r):Xe(t,r),A),Ye=(e=!1,t)=>(V.forEach((r=>{r.progressStart(e,t)})),et(),R=e,C||qe(),Ze(!1,!0,t),A),Qe=e=>(V.forEach((t=>{t.progressStep(e)})),We(e),A),Je=(e,t,r)=>(R=!1,V.forEach((n=>{n.progressEnd(e,t,r)})),void 0!==r&&(w=r),L=!1,B=!0,0===e?(b="reverse"===Se()?"normal":"reverse","reverse"===b&&(B=!1),Q?(Ze(),We(1-t)):(_=(1-t)*xe()*-1,Ze(!1,!1))):1===e&&(Q?(Ze(),We(t)):(_=t*xe()*-1,Ze(!1,!1))),void 0===e||m||ct(),A),et=()=>{C&&(Q?Z.forEach((e=>{e.pause()})):H.forEach((e=>{u(e,"animation-play-state","paused")})),F=!0)},tt=()=>(V.forEach((e=>{e.pause()})),et(),A),rt=()=>{v=void 0,He()},nt=()=>{v&&clearTimeout(v)},ot=()=>{if(nt(),(0,o.r)((()=>{H.forEach((e=>{S.length>0&&u(e,"animation-play-state","running")}))})),0===S.length||0===H.length)He();else{const e=Ie()||0,t=xe()||0,r=Ce()||1;isFinite(r)&&(v=setTimeout(rt,e+t*r+J)),d(H[0],(()=>{nt(),(0,o.r)((()=>{it(),(0,o.r)(He)}))}))}},it=()=>{H.forEach((e=>{l(e,"animation-duration"),l(e,"animation-delay"),l(e,"animation-play-state")}))},at=()=>{Z.forEach((e=>{e.play()})),0!==S.length&&0!==H.length||He()},st=()=>{Q?(We(0),Ke()):Xe()},ct=e=>new Promise((t=>{(null===e||void 0===e?void 0:e.sync)&&(M=!0,se((()=>M=!1),{oneTimeCallback:!0})),C||qe(),L&&(st(),L=!1),D&&(N=V.length+1,D=!1);const r=()=>{ie(n,$),t()},n=()=>{ie(r,z),t()};se(n,{oneTimeCallback:!0}),ae(r,{oneTimeCallback:!0}),V.forEach((e=>{e.play()})),Q?at():ot(),F=!1})),ut=()=>{V.forEach((e=>{e.stop()})),C&&(ue(),C=!1),ne(),z.forEach((e=>e.c(0,A))),z.length=0},lt=(e,t)=>{const r=S[0];return void 0===r||void 0!==r.offset&&0!==r.offset?S=[{offset:0,[e]:t},...S]:r[e]=t,A},dt=(e,t)=>{const r=S[S.length-1];return void 0===r||void 0!==r.offset&&1!==r.offset?S=[...S,{offset:1,[e]:t}]:r[e]=t,A},ft=(e,t,r)=>lt(e,t).to(e,r);return A={parentAnimation:m,elements:H,childAnimations:V,id:j,animationFinish:He,from:lt,to:dt,fromTo:ft,parent:Le,play:ct,pause:tt,stop:ut,destroy:te,keyframes:je,addAnimation:Fe,addElement:De,update:Ze,fill:ke,direction:Pe,iterations:Be,duration:Me,easing:Re,delay:Ne,getWebAnimations:ee,getKeyframes:Oe,getFill:Ae,getDirection:Se,getDelay:Ie,getIterations:Ce,getEasing:Te,getDuration:xe,afterAddRead:he,afterAddWrite:pe,afterClearStyles:Ee,afterStyles:_e,afterRemoveClass:we,afterAddClass:be,beforeAddRead:de,beforeAddWrite:fe,beforeClearStyles:ve,beforeStyles:ye,beforeRemoveClass:ge,beforeAddClass:me,onFinish:se,isRunning:oe,progressStart:Ye,progressStep:Qe,progressEnd:Je}}},63183:(e,t,r)=>{"use strict";r.d(t,{i:()=>n}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase())},97559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startFocusVisible:()=>a}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n="ion-focused",o="ion-focusable",i=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],a=e=>{let t=[],r=!0;const a=e?e.shadowRoot:document,s=e||document.body,c=e=>{t.forEach((e=>e.classList.remove(n))),e.forEach((e=>e.classList.add(n))),t=e},u=()=>{r=!1,c([])},l=e=>{r=i.includes(e.key),r||c([])},d=e=>{if(r&&void 0!==e.composedPath){const t=e.composedPath().filter((e=>!!e.classList&&e.classList.contains(o)));c(t)}},f=()=>{a.activeElement===s&&c([])};a.addEventListener("keydown",l),a.addEventListener("focusin",d),a.addEventListener("focusout",f),a.addEventListener("touchstart",u,{passive:!0}),a.addEventListener("mousedown",u);const h=()=>{a.removeEventListener("keydown",l),a.removeEventListener("focusin",d),a.removeEventListener("focusout",f),a.removeEventListener("touchstart",u),a.removeEventListener("mousedown",u)};return{destroy:h,setFocus:c}}},51789:(e,t,r)=>{"use strict";r.r(t),r.d(t,{MENU_BACK_BUTTON_PRIORITY:()=>u,OVERLAY_BACK_BUTTON_PRIORITY:()=>c,blockHardwareBackButton:()=>a,shouldUseCloseWatcher:()=>i,startHardwareBackButton:()=>s});var n=r(72289),o=r(37736); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i=()=>o.c.get("experimentalCloseWatcher",!1)&&void 0!==n.w&&"CloseWatcher"in n.w,a=()=>{document.addEventListener("backbutton",(()=>{}))},s=()=>{const e=document;let t=!1;const r=()=>{if(t)return;let r=0,n=[];const o=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){n.push({priority:e,handler:t,id:r++})}}});e.dispatchEvent(o);const i=async e=>{try{if(null===e||void 0===e?void 0:e.handler){const t=e.handler(a);null!=t&&await t}}catch(t){console.error(t)}},a=()=>{if(n.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};n.forEach((t=>{t.priority>=e.priority&&(e=t)})),t=!0,n=n.filter((t=>t.id!==e.id)),i(e).then((()=>t=!1))}};a()};if(i()){let e;const t=()=>{null===e||void 0===e||e.destroy(),e=new n.w.CloseWatcher,e.onclose=()=>{r(),t()}};t()}else e.addEventListener("backbutton",r)},c=100,u=99},69185:(e,t,r)=>{"use strict";r.d(t,{a:()=>c,b:()=>u,c:()=>n,d:()=>i,i:()=>s,l:()=>o,m:()=>d,p:()=>f,r:()=>l,s:()=>m,u:()=>h,v:()=>p}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n=(e,t)=>{e.componentOnReady?e.componentOnReady().then((e=>t(e))):l((()=>t(e)))},o=e=>void 0!==e.componentOnReady,i=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=(e,t)=>{let r=a;return t&&t.length>0&&(r=r.filter((e=>!t.includes(e)))),i(e,r)},c=(e,t,r,n)=>{var o;if("undefined"!==typeof window){const i=window,a=null===(o=null===i||void 0===i?void 0:i.Ionic)||void 0===o?void 0:o.config;if(a){const o=a.get("_ael");if(o)return o(e,t,r,n);if(a._ael)return a._ael(e,t,r,n)}}return e.addEventListener(t,r,n)},u=(e,t,r,n)=>{var o;if("undefined"!==typeof window){const i=window,a=null===(o=null===i||void 0===i?void 0:i.Ionic)||void 0===o?void 0:o.config;if(a){const o=a.get("_rel");if(o)return o(e,t,r,n);if(a._rel)return a._rel(e,t,r,n)}}return e.removeEventListener(t,r,n)},l=e=>"function"===typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"===typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),d=(e,t,r)=>Math.max(e,Math.min(t,r)),f=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},h=e=>e.timeStamp||Date.now(),p=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},m=(e,t)=>{if(null!==e&&void 0!==e||(e={}),null!==t&&void 0!==t||(t={}),e===t)return!0;const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(const n of r){if(!(n in t))return!1;if(e[n]!==t[n])return!1}return!0}},44692:(e,t,r)=>{"use strict";r.d(t,{L:()=>i,a:()=>a,b:()=>s,c:()=>c,d:()=>u,g:()=>I,l:()=>S,s:()=>x,t:()=>f});var n=r(46061),o=r(69185); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i="ionViewWillEnter",a="ionViewDidEnter",s="ionViewWillLeave",c="ionViewDidLeave",u="ionViewWillUnload",l=()=>r.e(504).then(r.bind(r,84692)),d=()=>r.e(504).then(r.bind(r,4394)),f=e=>new Promise(((t,r)=>{(0,n.bN)((()=>{h(e),p(e).then((r=>{r.animation&&r.animation.destroy(),m(e),t(r)}),(t=>{m(e),r(t)}))}))})),h=e=>{const t=e.enteringEl,r=e.leavingEl;C(t,r,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),x(t,!1),t.style.setProperty("pointer-events","none"),r&&(x(r,!1),r.style.setProperty("pointer-events","none"))},p=async e=>{const t=await g(e),r=t&&n.L2.isBrowser?y(t,e):v(e);return r},m=e=>{const t=e.enteringEl,r=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),void 0!==r&&(r.classList.remove("ion-page-invisible"),r.style.removeProperty("pointer-events"))},g=async e=>{if(!e.leavingEl||!e.animated||0===e.duration)return;if(e.animationBuilder)return e.animationBuilder;const t="ios"===e.mode?(await l()).iosTransitionAnimation:(await d()).mdTransitionAnimation;return t},y=async(e,t)=>{await b(t,!0);const r=e(t.baseEl,t);E(t.enteringEl,t.leavingEl);const n=await _(r,t);return t.progressCallback&&t.progressCallback(void 0),n&&A(t.enteringEl,t.leavingEl),{hasCompleted:n,animation:r}},v=async e=>{const t=e.enteringEl,r=e.leavingEl;return await b(e,!1),E(t,r),A(t,r),{hasCompleted:!0}},b=async(e,t)=>{const r=void 0!==e.deepWait?e.deepWait:t;r&&await Promise.all([T(e.enteringEl),T(e.leavingEl)]),await w(e.viewIsReady,e.enteringEl)},w=async(e,t)=>{e&&await e(t)},_=(e,t)=>{const r=t.progressCallback,n=new Promise((t=>{e.onFinish((e=>t(1===e)))}));return r?(e.progressStart(!0),r(e)):e.play(),n},E=(e,t)=>{S(t,s),S(e,i)},A=(e,t)=>{S(e,a),S(t,c)},S=(e,t)=>{if(e){const r=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}},T=async e=>{const t=e;if(t){if(null!=t.componentOnReady){const e=await t.componentOnReady();if(null!=e)return}else if(null!=t.__registerHost){const e=new Promise((e=>(0,o.r)(e)));return void await e}await Promise.all(Array.from(t.children).map(T))}},x=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},C=(e,t,r)=>{void 0!==e&&(e.style.zIndex="back"===r?"99":"101"),void 0!==t&&(t.style.zIndex="100")},I=e=>{if(e.classList.contains("ion-page"))return e;const t=e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");return t||e}},72289:(e,t,r)=>{"use strict";r.d(t,{d:()=>o,w:()=>n}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n="undefined"!==typeof window?window:void 0,o="undefined"!==typeof document?document:void 0},53544:(e,t,r)=>{"use strict";r.d(t,{b:()=>o,p:()=>n}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),o=(e,...t)=>console.error(`<${e.tagName.toLowerCase()}> must be used inside ${t.join(" or ")}.`)},4534:(e,t,r)=>{"use strict";r.d(t,{a:()=>f,c:()=>p,f:()=>d,g:()=>l,p:()=>m,s:()=>h});var n=r(69185),o=r(53544); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i="ION-CONTENT",a="ion-content",s=".ion-content-scroll-host",c=`${a}, ${s}`,u=e=>e.tagName===i,l=async e=>u(e)?(await new Promise((t=>(0,n.c)(e,t))),e.getScrollElement()):e,d=e=>{const t=e.querySelector(s);return t||e.querySelector(c)},f=e=>e.closest(c),h=(e,t)=>{if(u(e)){const r=e;return r.scrollToTop(t)}return Promise.resolve(e.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"}))},p=(e,t,r,n)=>{if(u(e)){const o=e;return o.scrollByPoint(t,r,n)}return Promise.resolve(e.scrollBy({top:r,left:t,behavior:n>0?"smooth":"auto"}))},m=e=>(0,o.b)(e,a)},32725:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startTapClick:()=>i});var n=r(72289),o=r(69185); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i=e=>{if(void 0===n.d)return;let t,r,i,h=10*-f,p=0;const m=e.getBoolean("animated",!0)&&e.getBoolean("rippleEffect",!0),g=new WeakMap,y=e=>{h=(0,o.u)(e),E(e)},v=e=>{h=(0,o.u)(e),A(e)},b=e=>{if(2===e.button)return;const t=(0,o.u)(e)-f;h{const t=(0,o.u)(e)-f;h{i&&clearTimeout(i),i=void 0,t&&(C(!1),t=void 0)},E=e=>{t||S(a(e),e)},A=e=>{S(void 0,e)},S=(e,r)=>{if(e&&e===t)return;i&&clearTimeout(i),i=void 0;const{x:n,y:a}=(0,o.v)(r);if(t){if(g.has(t))throw new Error("internal error");t.classList.contains(u)||T(t,n,a),C(!0)}if(e){const t=g.get(e);t&&(clearTimeout(t),g.delete(e)),e.classList.remove(u);const r=()=>{T(e,n,a),i=void 0};s(e)?r():i=setTimeout(r,l)}t=e},T=(e,t,n)=>{if(p=Date.now(),e.classList.add(u),!m)return;const o=c(e);null!==o&&(x(),r=o.addRipple(t,n))},x=()=>{void 0!==r&&(r.then((e=>e())),r=void 0)},C=e=>{x();const r=t;if(!r)return;const n=d-Date.now()+p;if(e&&n>0&&!s(r)){const e=setTimeout((()=>{r.classList.remove(u),g.delete(r)}),d);g.set(r,e)}else r.classList.remove(u)};n.d.addEventListener("ionGestureCaptured",_),n.d.addEventListener("touchstart",y,!0),n.d.addEventListener("touchcancel",v,!0),n.d.addEventListener("touchend",v,!0),n.d.addEventListener("pointercancel",_,!0),n.d.addEventListener("mousedown",b,!0),n.d.addEventListener("mouseup",w,!0)},a=e=>{if(void 0===e.composedPath)return e.target.closest(".ion-activatable");{const t=e.composedPath();for(let e=0;ee.classList.contains("ion-activatable-instant"),c=e=>{if(e.shadowRoot){const t=e.shadowRoot.querySelector("ion-ripple-effect");if(t)return t}return e.querySelector("ion-ripple-effect")},u="ion-activated",l=100,d=150,f=2500},335:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startInputShims:()=>I});var n=r(72289),o=r(4534),i=r(69185),a=r(35856); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const s=new WeakMap,c=(e,t,r,n=0,o=!1)=>{s.has(e)!==r&&(r?l(e,t,n,o):d(e,t))},u=e=>e===e.getRootNode().activeElement,l=(e,t,r,n=!1)=>{const o=t.parentNode,i=t.cloneNode(!1);i.classList.add("cloned-input"),i.tabIndex=-1,n&&(i.disabled=!0),o.appendChild(i),s.set(e,i);const a=e.ownerDocument,c="rtl"===a.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${c}px,${r}px,0) scale(0)`},d=(e,t)=>{const r=s.get(e);r&&(s.delete(e),r.remove()),e.style.pointerEvents="",t.style.transform=""},f=50,h=(e,t,r)=>{if(!r||!t)return()=>{};const n=r=>{u(t)&&c(e,t,r)},o=()=>c(e,t,!1),a=()=>n(!0),s=()=>n(!1);return(0,i.a)(r,"ionScrollStart",a),(0,i.a)(r,"ionScrollEnd",s),t.addEventListener("blur",o),()=>{(0,i.b)(r,"ionScrollStart",a),(0,i.b)(r,"ionScrollEnd",s),t.removeEventListener("blur",o)}},p="input, textarea, [no-blur], [contenteditable]",m=()=>{let e=!0,t=!1;const r=document,n=()=>{t=!0},o=()=>{e=!0},a=n=>{if(t)return void(t=!1);const o=r.activeElement;if(!o)return;if(o.matches(p))return;const i=n.target;i!==o&&(i.matches(p)||i.closest(p)||(e=!1,setTimeout((()=>{e||o.blur()}),50)))};return(0,i.a)(r,"ionScrollStart",n),r.addEventListener("focusin",o,!0),r.addEventListener("touchend",a,!1),()=>{(0,i.b)(r,"ionScrollStart",n,!0),r.removeEventListener("focusin",o,!0),r.removeEventListener("touchend",a,!1)}},g=.3,y=(e,t,r,n)=>{var o;const i=null!==(o=e.closest("ion-item,[ion-item]"))&&void 0!==o?o:e;return v(i.getBoundingClientRect(),t.getBoundingClientRect(),r,n)},v=(e,t,r,n)=>{const o=e.top,i=e.bottom,a=t.top,s=Math.min(t.bottom,n-r),c=a+15,u=s-f,l=u-i,d=c-o,h=Math.round(l<0?-l:d>0?-d:0),p=Math.min(h,o-a),m=Math.abs(p),y=m/g,v=Math.min(400,Math.max(150,y));return{scrollAmount:p,scrollDuration:v,scrollPadding:r,inputSafeY:4-(o-c)}},b="$ionPaddingTimer",w=(e,t,r)=>{const n=e[b];n&&clearTimeout(n),t>0?e.style.setProperty("--keyboard-offset",`${t}px`):e[b]=setTimeout((()=>{e.style.setProperty("--keyboard-offset","0px"),r&&r()}),120)},_=(e,t,r)=>{const n=()=>{t&&w(t,0,r)};e.addEventListener("focusout",n,{once:!0})};let E=0;const A="data-ionic-skip-scroll-assist",S=(e,t,r,o,i,s,c,u=!1)=>{const l=s&&(void 0===c||c.mode===a.a.None);let d=!1;const f=void 0!==n.w?n.w.innerHeight:0,h=n=>{!1!==d?x(e,t,r,o,n.detail.keyboardHeight,l,u,f,!1):d=!0},p=()=>{d=!1,null===n.w||void 0===n.w||n.w.removeEventListener("ionKeyboardDidShow",h),e.removeEventListener("focusout",p,!0)},m=async()=>{t.hasAttribute(A)?t.removeAttribute(A):(x(e,t,r,o,i,l,u,f),null===n.w||void 0===n.w||n.w.addEventListener("ionKeyboardDidShow",h),e.addEventListener("focusout",p,!0))};return e.addEventListener("focusin",m,!0),()=>{e.removeEventListener("focusin",m,!0),null===n.w||void 0===n.w||n.w.removeEventListener("ionKeyboardDidShow",h),e.removeEventListener("focusout",p,!0)}},T=e=>{document.activeElement!==e&&(e.setAttribute(A,"true"),e.focus())},x=async(e,t,r,n,a,s,u=!1,l=0,d=!0)=>{if(!r&&!n)return;const h=y(e,r||n,a,l);if(r&&Math.abs(h.scrollAmount)<4)return T(t),void(s&&null!==r&&(w(r,E),_(t,r,(()=>E=0))));if(c(e,t,!0,h.inputSafeY,u),T(t),(0,i.r)((()=>e.click())),s&&r&&(E=h.scrollPadding,w(r,E)),"undefined"!==typeof window){let n;const i=async()=>{void 0!==n&&clearTimeout(n),window.removeEventListener("ionKeyboardDidShow",a),window.removeEventListener("ionKeyboardDidShow",i),r&&await(0,o.c)(r,0,h.scrollAmount,h.scrollDuration),c(e,t,!1,h.inputSafeY),T(t),s&&_(t,r,(()=>E=0))},a=()=>{window.removeEventListener("ionKeyboardDidShow",a),window.addEventListener("ionKeyboardDidShow",i)};if(r){const e=await(0,o.g)(r),s=e.scrollHeight-e.clientHeight;if(d&&h.scrollAmount>s-e.scrollTop)return"password"===t.type?(h.scrollAmount+=f,window.addEventListener("ionKeyboardDidShow",a)):window.addEventListener("ionKeyboardDidShow",i),void(n=setTimeout(i,1e3))}i()}},C=!0,I=async(e,t)=>{if(void 0===n.d)return;const r="ios"===t,s="android"===t,c=e.getNumber("keyboardHeight",290),u=e.getBoolean("scrollAssist",!0),l=e.getBoolean("hideCaretOnScroll",r),d=e.getBoolean("inputBlurring",r),f=e.getBoolean("scrollPadding",!0),p=Array.from(n.d.querySelectorAll("ion-input, ion-textarea")),g=new WeakMap,y=new WeakMap,v=await a.K.getResizeMode(),b=async e=>{await new Promise((t=>(0,i.c)(e,t)));const t=e.shadowRoot||e,r=t.querySelector("input")||t.querySelector("textarea"),n=(0,o.a)(e),a=n?null:e.closest("ion-footer");if(!r)return;if(n&&l&&!g.has(e)){const t=h(e,r,n);g.set(e,t)}const d="date"===r.type||"datetime-local"===r.type;if(!d&&(n||a)&&u&&!y.has(e)){const t=S(e,r,n,a,c,f,v,s);y.set(e,t)}},w=e=>{if(l){const t=g.get(e);t&&t(),g.delete(e)}if(u){const t=y.get(e);t&&t(),y.delete(e)}};d&&C&&m();for(const n of p)b(n);n.d.addEventListener("ionInputDidLoad",(e=>{b(e.detail)})),n.d.addEventListener("ionInputDidUnload",(e=>{w(e.detail)}))}},37736:(e,t,r)=>{"use strict";r.d(t,{a:()=>h,b:()=>B,c:()=>i,i:()=>L});var n=r(46061); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */class o{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const r=this.m.get(e);return void 0!==r?r:t}getBoolean(e,t=!1){const r=this.m.get(e);return void 0===r?t:"string"===typeof r?"true"===r:!!r}getNumber(e,t){const r=parseFloat(this.m.get(e));return isNaN(r)?void 0!==t?t:NaN:r}set(e,t){this.m.set(e,t)}}const i=new o,a=e=>{try{const t=e.sessionStorage.getItem(d);return null!==t?JSON.parse(t):{}}catch(t){return{}}},s=(e,t)=>{try{e.sessionStorage.setItem(d,JSON.stringify(t))}catch(r){return}},c=e=>{const t={};return e.location.search.slice(1).split("&").map((e=>e.split("="))).map((([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)])).filter((([e])=>u(e,l))).map((([e,t])=>[e.slice(l.length),t])).forEach((([e,r])=>{t[e]=r})),t},u=(e,t)=>e.substr(0,t.length)===t,l="ionic:",d="ionic-persist-config",f=e=>p(e),h=(e,t)=>("string"===typeof e&&(t=e,e=void 0),f(e).includes(t)),p=(e=window)=>{if("undefined"===typeof e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=m(e),t.forEach((t=>e.document.documentElement.classList.add(`plt-${t}`)))),t},m=e=>{const t=i.get("platform");return Object.keys(R).filter((r=>{const n=null===t||void 0===t?void 0:t[r];return"function"===typeof n?n(e):R[r](e)}))},g=e=>S(e)&&!x(e),y=e=>!!k(e,/iPad/i)||!(!k(e,/Macintosh/i)||!S(e)),v=e=>k(e,/iPhone/i),b=e=>k(e,/iPhone|iPod/i)||y(e),w=e=>k(e,/android|sink/i),_=e=>w(e)&&!k(e,/mobile/i),E=e=>{const t=e.innerWidth,r=e.innerHeight,n=Math.min(t,r),o=Math.max(t,r);return n>390&&n<520&&o>620&&o<800},A=e=>{const t=e.innerWidth,r=e.innerHeight,n=Math.min(t,r),o=Math.max(t,r);return y(e)||_(e)||n>460&&n<820&&o>780&&o<1400},S=e=>N(e,"(any-pointer:coarse)"),T=e=>!S(e),x=e=>C(e)||I(e),C=e=>!!(e["cordova"]||e["phonegap"]||e["PhoneGap"]),I=e=>{const t=e["Capacitor"];return!!(null===t||void 0===t?void 0:t.isNative)},O=e=>k(e,/electron/i),P=e=>{var t;return!(!(null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(display-mode: standalone)").matches)&&!e.navigator.standalone)},k=(e,t)=>t.test(e.navigator.userAgent),N=(e,t)=>{var r;return null===(r=e.matchMedia)||void 0===r?void 0:r.call(e,t).matches},R={ipad:y,iphone:v,ios:b,android:w,phablet:E,tablet:A,cordova:C,capacitor:I,electron:O,pwa:P,mobile:S,mobileweb:g,desktop:T,hybrid:x};let M;const B=e=>e&&(0,n.Wi)(e)||M,L=(e={})=>{if("undefined"===typeof window)return;const t=window.document,r=window,o=r.Ionic=r.Ionic||{},u={};e._ael&&(u.ael=e._ael),e._rel&&(u.rel=e._rel),e._ce&&(u.ce=e._ce),(0,n.zb)(u);const l=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a(r)),{persistConfig:!1}),o.config),c(r)),e);i.reset(l),i.getBoolean("persistConfig")&&s(r,l),p(r),o.config=i,o.mode=M=i.get("mode",t.documentElement.getAttribute("mode")||(h(r,"ios")?"ios":"md")),i.set("mode",M),t.documentElement.setAttribute("mode",M),t.documentElement.classList.add(M),i.getBoolean("_testing")&&i.set("animated",!1);const d=e=>{var t;return null===(t=e.tagName)||void 0===t?void 0:t.startsWith("ION-")},f=e=>["ios","md"].includes(e);(0,n.iY)((e=>{while(e){const t=e.mode||e.getAttribute("mode");if(t){if(f(t))return t;d(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return M}))}},84692:(e,t,r)=>{"use strict";r.r(t),r.d(t,{iosTransitionAnimation:()=>h,shadow:()=>s});var n=r(67746),o=r(44692); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i=540,a=e=>document.querySelector(`${e}.ion-cloned-element`),s=e=>e.shadowRoot||e,c=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),r="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(r):null}return e.querySelector(r)},u=(e,t)=>{const r="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let n=[];if(null!=r){const e=r.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(n=e.querySelectorAll("ion-buttons"))}else n=e.querySelectorAll("ion-buttons");for(const o of n){const e=o.closest("ion-header"),r=e&&!e.classList.contains("header-collapse-condense-inactive"),n=o.querySelector("ion-back-button"),i=o.classList.contains("buttons-collapse"),a="start"===o.slot||""===o.slot;if(null!==n&&a&&(i&&r&&t||!i))return n}return null},l=(e,t,r,n,o)=>{const i=u(n,r),a=c(o),l=c(n),h=u(o,r),p=null!==i&&null!==a&&!r,m=null!==l&&null!==h&&r;if(p){const n=a.getBoundingClientRect(),o=i.getBoundingClientRect(),c=s(i).querySelector(".button-text"),u=c.getBoundingClientRect(),l=s(a).querySelector(".toolbar-title"),h=l.getBoundingClientRect();f(e,t,r,a,n,h,c,u),d(e,t,r,i,o,c,u,a,h)}else if(m){const n=l.getBoundingClientRect(),o=h.getBoundingClientRect(),i=s(h).querySelector(".button-text"),a=i.getBoundingClientRect(),c=s(l).querySelector(".toolbar-title"),u=c.getBoundingClientRect();f(e,t,r,l,n,u,i,a),d(e,t,r,h,o,i,a,l,u)}return{forward:p,backward:m}},d=(e,t,r,o,i,c,u,l,d)=>{var f,h;const m=t?`calc(100% - ${i.right+4}px)`:i.left-4+"px",g=t?"right":"left",y=t?"left":"right",v=t?"right":"left",b=(null===(f=c.textContent)||void 0===f?void 0:f.trim())===(null===(h=l.textContent)||void 0===h?void 0:h.trim()),w=d.width/u.width,_=(d.height-p)/u.height,E=b?`scale(${w}, ${_})`:`scale(${_})`,A="scale(1)",S=s(o).querySelector("ion-icon"),T=S.getBoundingClientRect(),x=t?T.width/2-(T.right-i.right)+"px":i.left-T.width/2+"px",C=t?`-${window.innerWidth-i.right}px`:`${i.left}px`,I=`${d.top}px`,O=`${i.top}px`,P=[{offset:0,transform:`translate3d(${x}, ${I}, 0)`},{offset:1,transform:`translate3d(${C}, ${O}, 0)`}],k=[{offset:0,transform:`translate3d(${C}, ${O}, 0)`},{offset:1,transform:`translate3d(${x}, ${I}, 0)`}],N=r?k:P,R=[{offset:0,opacity:0,transform:E},{offset:1,opacity:1,transform:A}],M=[{offset:0,opacity:1,transform:A},{offset:1,opacity:0,transform:E}],B=r?M:R,L=[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],D=[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}],F=r?D:L,j=(0,n.c)(),U=(0,n.c)(),$=(0,n.c)(),z=a("ion-back-button"),H=s(z).querySelector(".button-text"),V=s(z).querySelector("ion-icon");z.text=o.text,z.mode=o.mode,z.icon=o.icon,z.color=o.color,z.disabled=o.disabled,z.style.setProperty("display","block"),z.style.setProperty("position","fixed"),U.addElement(V),j.addElement(H),$.addElement(z),$.beforeStyles({position:"absolute",top:"0px",[v]:"0px"}).keyframes(N),j.beforeStyles({"transform-origin":`${g} top`}).beforeAddWrite((()=>{o.style.setProperty("display","none"),z.style.setProperty(g,m)})).afterAddWrite((()=>{o.style.setProperty("display",""),z.style.setProperty("display","none"),z.style.removeProperty(g)})).keyframes(B),U.beforeStyles({"transform-origin":`${y} center`}).keyframes(F),e.addAnimation([j,U,$])},f=(e,t,r,o,i,s,c,u)=>{var l,d;const f=t?"right":"left",h=t?`calc(100% - ${i.right}px)`:`${i.left}px`,m="0px",g=`${i.top}px`,y=8,v=t?`-${window.innerWidth-u.right-y}px`:u.x-y+"px",b=2,w=u.y-b+"px",_=(null===(l=c.textContent)||void 0===l?void 0:l.trim())===(null===(d=o.textContent)||void 0===d?void 0:d.trim()),E=u.width/s.width,A=u.height/(s.height-p),S="scale(1)",T=_?`scale(${E}, ${A})`:`scale(${A})`,x=[{offset:0,opacity:0,transform:`translate3d(${v}, ${w}, 0) ${T}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(${m}, ${g}, 0) ${S}`}],C=[{offset:0,opacity:.99,transform:`translate3d(${m}, ${g}, 0) ${S}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${v}, ${w}, 0) ${T}`}],I=r?x:C,O=a("ion-title"),P=(0,n.c)();O.innerText=o.innerText,O.size=o.size,O.color=o.color,P.addElement(O),P.beforeStyles({"transform-origin":`${f} top`,height:`${i.height}px`,display:"",position:"relative",[f]:h}).beforeAddWrite((()=>{o.style.setProperty("opacity","0")})).afterAddWrite((()=>{o.style.setProperty("opacity",""),O.style.setProperty("display","none")})).keyframes(I),e.addAnimation(P)},h=(e,t)=>{var r;try{const a="cubic-bezier(0.32,0.72,0,1)",c="opacity",u="transform",d="0%",f=.8,h="rtl"===e.ownerDocument.dir,p=h?"-99.5%":"99.5%",m=h?"33%":"-33%",g=t.enteringEl,y=t.leavingEl,v="back"===t.direction,b=g.querySelector(":scope > ion-content"),w=g.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),_=g.querySelectorAll(":scope > ion-header > ion-toolbar"),E=(0,n.c)(),A=(0,n.c)();if(E.addElement(g).duration((null!==(r=t.duration)&&void 0!==r?r:0)||i).easing(t.easing||a).fill("both").beforeRemoveClass("ion-page-invisible"),y&&null!==e&&void 0!==e){const t=(0,n.c)();t.addElement(e),E.addAnimation(t)}if(b||0!==_.length||0!==w.length?(A.addElement(b),A.addElement(w)):A.addElement(g.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),E.addAnimation(A),v?A.beforeClearStyles([c]).fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(c,f,1):A.beforeClearStyles([c]).fromTo("transform",`translateX(${p})`,`translateX(${d})`),b){const e=s(b).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),r=e.querySelector(".transition-shadow"),o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();o.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),i.addElement(t).beforeClearStyles([c]).fromTo(c,0,.1),a.addElement(r).beforeClearStyles([c]).fromTo(c,.03,.7),o.addAnimation([i,a]),A.addAnimation([o])}}const S=g.querySelector("ion-header.header-collapse-condense"),{forward:T,backward:x}=l(E,h,v,g,y);if(_.forEach((e=>{const t=(0,n.c)();t.addElement(e),E.addAnimation(t);const r=(0,n.c)();r.addElement(e.querySelector("ion-title"));const o=(0,n.c)(),i=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),a=e.closest("ion-header"),u=null===a||void 0===a?void 0:a.classList.contains("header-collapse-condense-inactive");let l;l=v?i.filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!u||!t})):i.filter((e=>!e.classList.contains("buttons-collapse"))),o.addElement(l);const f=(0,n.c)();f.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const g=(0,n.c)();g.addElement(s(e).querySelector(".toolbar-background"));const y=(0,n.c)(),b=e.querySelector("ion-back-button");if(b&&y.addElement(b),t.addAnimation([r,o,f,g,y]),o.fromTo(c,.01,1),f.fromTo(c,.01,1),v)u||r.fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(c,.01,1),f.fromTo("transform",`translateX(${m})`,`translateX(${d})`),y.fromTo(c,.01,1);else{S||r.fromTo("transform",`translateX(${p})`,`translateX(${d})`).fromTo(c,.01,1),f.fromTo("transform",`translateX(${p})`,`translateX(${d})`),g.beforeClearStyles([c,"transform"]);const e=null===a||void 0===a?void 0:a.translucent;if(e?g.fromTo("transform",h?"translateX(-100%)":"translateX(100%)","translateX(0px)"):g.fromTo(c,.01,"var(--opacity)"),T||y.fromTo(c,.01,1),b&&!T){const e=(0,n.c)();e.addElement(s(b).querySelector(".button-text")).fromTo("transform",h?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}})),y){const e=(0,n.c)(),t=y.querySelector(":scope > ion-content"),r=y.querySelectorAll(":scope > ion-header > ion-toolbar"),i=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==r.length||0!==i.length?(e.addElement(t),e.addElement(i)):e.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),E.addAnimation(e),v){e.beforeClearStyles([c]).fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)");const t=(0,o.g)(y);E.afterAddWrite((()=>{"normal"===E.getDirection()&&t.style.setProperty("display","none")}))}else e.fromTo("transform",`translateX(${d})`,`translateX(${m})`).fromTo(c,1,f);if(t){const r=s(t).querySelector(".transition-effect");if(r){const t=r.querySelector(".transition-cover"),o=r.querySelector(".transition-shadow"),i=(0,n.c)(),a=(0,n.c)(),s=(0,n.c)();i.addElement(r).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([c]).fromTo(c,.1,0),s.addElement(o).beforeClearStyles([c]).fromTo(c,.7,.03),i.addAnimation([a,s]),e.addAnimation([i])}}r.forEach((e=>{const t=(0,n.c)();t.addElement(e);const r=(0,n.c)();r.addElement(e.querySelector("ion-title"));const o=(0,n.c)(),i=e.querySelectorAll("ion-buttons,[menuToggle]"),a=e.closest("ion-header"),l=null===a||void 0===a?void 0:a.classList.contains("header-collapse-condense-inactive"),f=Array.from(i).filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!l||!t}));o.addElement(f);const p=(0,n.c)(),g=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");g.length>0&&p.addElement(g);const y=(0,n.c)();y.addElement(s(e).querySelector(".toolbar-background"));const b=(0,n.c)(),w=e.querySelector("ion-back-button");if(w&&b.addElement(w),t.addAnimation([r,o,p,b,y]),E.addAnimation(t),b.fromTo(c,.99,0),o.fromTo(c,.99,0),p.fromTo(c,.99,0),v){l||r.fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)").fromTo(c,.99,0),p.fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([c,"transform"]);const e=null===a||void 0===a?void 0:a.translucent;if(e?y.fromTo("transform","translateX(0px)",h?"translateX(-100%)":"translateX(100%)"):y.fromTo(c,"var(--opacity)",0),w&&!x){const e=(0,n.c)();e.addElement(s(w).querySelector(".button-text")).fromTo("transform",`translateX(${d})`,`translateX(${(h?-124:124)+"px"})`),t.addAnimation(e)}}else l||r.fromTo("transform",`translateX(${d})`,`translateX(${m})`).fromTo(c,.99,0).afterClearStyles([u,c]),p.fromTo("transform",`translateX(${d})`,`translateX(${m})`).afterClearStyles([u,c]),b.afterClearStyles([c]),r.afterClearStyles([c]),o.afterClearStyles([c])}))}return E}catch(a){throw a}},p=10},35856:(e,t,r)=>{"use strict";r.d(t,{K:()=>s,a:()=>a});var n=r(72289); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=()=>{if(void 0!==n.w)return n.w.Capacitor}; +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +var i,a;(function(e){e["Unimplemented"]="UNIMPLEMENTED",e["Unavailable"]="UNAVAILABLE"})(i||(i={})),function(e){e["Body"]="body",e["Ionic"]="ionic",e["Native"]="native",e["None"]="none"}(a||(a={}));const s={getEngine(){const e=o();if(null===e||void 0===e?void 0:e.isPluginAvailable("Keyboard"))return e.Plugins.Keyboard},getResizeMode(){const e=this.getEngine();return(null===e||void 0===e?void 0:e.getResizeMode)?e.getResizeMode().catch((e=>{if(e.code!==i.Unimplemented)throw e})):Promise.resolve(void 0)}}},6217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{KEYBOARD_DID_CLOSE:()=>i,KEYBOARD_DID_OPEN:()=>o,copyVisualViewport:()=>_,keyboardDidClose:()=>y,keyboardDidOpen:()=>m,keyboardDidResize:()=>g,resetKeyboardAssist:()=>l,setKeyboardClose:()=>p,setKeyboardOpen:()=>h,startKeyboardAssist:()=>d,trackViewportChanges:()=>w});var n=r(35856); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */const o="ionKeyboardDidShow",i="ionKeyboardDidHide",a=150;let s={},c={},u=!1;const l=()=>{s={},c={},u=!1},d=e=>{const t=n.K.getEngine();if(t)f(e);else{if(!e.visualViewport)return;c=_(e.visualViewport),e.visualViewport.onresize=()=>{w(e),m()||g(e)?h(e):y(e)&&p(e)}}},f=e=>{e.addEventListener("keyboardDidShow",(t=>h(e,t))),e.addEventListener("keyboardDidHide",(()=>p(e)))},h=(e,t)=>{v(e,t),u=!0},p=e=>{b(e),u=!1},m=()=>{const e=(s.height-c.height)*c.scale;return!u&&s.width===c.width&&e>a},g=e=>u&&!y(e),y=e=>u&&c.height===e.innerHeight,v=(e,t)=>{const r=t?t.keyboardHeight:e.innerHeight-c.height,n=new CustomEvent(o,{detail:{keyboardHeight:r}});e.dispatchEvent(n)},b=e=>{const t=new CustomEvent(i);e.dispatchEvent(t)},w=e=>{s=Object.assign({},c),c=_(e.visualViewport)},_=e=>({width:Math.round(e.width),height:Math.round(e.height),offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,pageTop:e.pageTop,pageLeft:e.pageLeft,scale:e.scale})},4394:(e,t,r)=>{"use strict";r.r(t),r.d(t,{mdTransitionAnimation:()=>i});var n=r(67746),o=r(44692); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i=(e,t)=>{var r,i,a;const s="40px",c="0px",u="back"===t.direction,l=t.enteringEl,d=t.leavingEl,f=(0,o.g)(l),h=f.querySelector("ion-toolbar"),p=(0,n.c)();if(p.addElement(f).fill("both").beforeRemoveClass("ion-page-invisible"),u?p.duration((null!==(r=t.duration)&&void 0!==r?r:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):p.duration((null!==(i=t.duration)&&void 0!==i?i:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${s})`,`translateY(${c})`).fromTo("opacity",.01,1),h){const e=(0,n.c)();e.addElement(h),p.addAnimation(e)}if(d&&u){p.duration((null!==(a=t.duration)&&void 0!==a?a:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=(0,n.c)();e.addElement((0,o.g)(d)).onFinish((t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")})).fromTo("transform",`translateY(${c})`,`translateY(${s})`).fromTo("opacity",1,0),p.addAnimation(e)}return p}},18336:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startStatusTap:()=>a});var n=r(46061),o=r(4534),i=r(69185); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const a=()=>{const e=window;e.addEventListener("statusTap",(()=>{(0,n.gv)((()=>{const t=e.innerWidth,r=e.innerHeight,a=document.elementFromPoint(t/2,r/2);if(!a)return;const s=(0,o.a)(a);s&&new Promise((e=>(0,i.c)(s,e))).then((()=>{(0,n.bN)((async()=>{s.style.setProperty("--overflow","hidden"),await(0,o.s)(s,300),s.style.removeProperty("--overflow")}))}))}))}))}},53903:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createSwipeBackGesture:()=>_});var n=r(69185),o=r(63183); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +class i{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){var t;return new a(this,this.newID(),e.name,null!==(t=e.priority)&&void 0!==t?t:0,!!e.disableScroll)}createBlocker(e={}){return new s(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,r){return this.canStart(e)?(this.requestedStart.set(t,r),!0):(this.requestedStart.delete(t),!1)}capture(e,t,r){if(!this.start(e,t,r))return!1;const n=this.requestedStart;let o=-1e4;if(n.forEach((e=>{o=Math.max(o,e)})),o===r){this.capturedId=t,n.clear();const r=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(r),!0}return n.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let r=this.disabledGestures.get(e);void 0===r&&(r=new Set,this.disabledGestures.set(e,r)),r.add(t)}enableGesture(e,t){const r=this.disabledGestures.get(e);void 0!==r&&r.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add(c)}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove(c)}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}class a{constructor(e,t,r,n,o){this.id=t,this.name=r,this.disableScroll=o,this.priority=1e6*n+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class s{constructor(e,t,r,n){this.id=t,this.disable=r,this.disableScroll=n,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const c="backdrop-no-scroll",u=new i,l=(e,t,r,n)=>{const o=d(e)?{capture:!!n.capture,passive:!!n.passive}:!!n.capture;let i,a;return e["__zone_symbol__addEventListener"]?(i="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(i="addEventListener",a="removeEventListener"),e[i](t,r,o),()=>{e[a](t,r,o)}},d=e=>{if(void 0===f)try{const t=Object.defineProperty({},"passive",{get:()=>{f=!0}});e.addEventListener("optsTest",(()=>{}),t)}catch(t){f=!1}return!!f};let f;const h=2e3,p=(e,t,r,n,o)=>{let i,a,s,c,u,d,f,p=0;const g=n=>{p=Date.now()+h,t(n)&&(!a&&r&&(a=l(e,"touchmove",r,o)),s||(s=l(n.target,"touchend",v,o)),c||(c=l(n.target,"touchcancel",v,o)))},y=n=>{p>Date.now()||t(n)&&(!d&&r&&(d=l(m(e),"mousemove",r,o)),f||(f=l(m(e),"mouseup",b,o)))},v=e=>{w(),n&&n(e)},b=e=>{_(),n&&n(e)},w=()=>{a&&a(),s&&s(),c&&c(),a=s=c=void 0},_=()=>{d&&d(),f&&f(),d=f=void 0},E=()=>{w(),_()},A=(t=!0)=>{t?(i||(i=l(e,"touchstart",g,o)),u||(u=l(e,"mousedown",y,o))):(i&&i(),u&&u(),i=u=void 0,E())},S=()=>{A(!1),n=r=t=void 0};return{enable:A,stop:E,destroy:S}},m=e=>e instanceof Document?e:e.ownerDocument,g=(e,t,r)=>{const n=r*(Math.PI/180),o="x"===e,i=Math.cos(n),a=t*t;let s=0,c=0,u=!1,l=0;return{start(e,t){s=e,c=t,l=0,u=!0},detect(e,t){if(!u)return!1;const r=e-s,n=t-c,d=r*r+n*n;if(di?1:h<-i?-1:0,u=!1,!0},isGesture(){return 0!==l},getDirection(){return l}}},y=e=>{let t=!1,r=!1,n=!0,o=!1;const i=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),a=i.canStart,s=i.onWillStart,c=i.onStart,l=i.onEnd,d=i.notCaptured,f=i.onMove,h=i.threshold,m=i.passive,y=i.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},E=g(i.direction,i.threshold,i.maxAngle),A=u.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),S=e=>{const t=w(e);return!(r||!n)&&(b(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!a||!1!==a(_))&&(A.release(),!!A.start()&&(r=!0,0===h?C():(E.start(_.startX,_.startY),!0))))},T=e=>{t?!o&&n&&(o=!0,v(_,e),requestAnimationFrame(x)):(v(_,e),E.detect(_.currentX,_.currentY)&&(E.isGesture()&&C()||R()))},x=()=>{t&&(o=!1,f&&f(_))},C=()=>!!A.capture()&&(t=!0,n=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,s?s(_).then(O):O(),!0),I=()=>{if("undefined"!==typeof document){const e=document.activeElement;(null===e||void 0===e?void 0:e.blur)&&e.blur()}},O=()=>{y&&I(),c&&c(_),n=!0},P=()=>{t=!1,r=!1,o=!1,n=!0,A.release()},k=e=>{const r=t,o=n;P(),o&&(v(_,e),r?l&&l(_):d&&d(_))},N=p(i.el,S,T,k,{capture:!1,passive:m}),R=()=>{P(),N.stop(),d&&d(_)};return{enable(e=!0){e||(t&&k(void 0),P()),N.enable(e)},destroy(){A.destroy(),N.destroy()}}},v=(e,t)=>{if(!t)return;const r=e.currentX,n=e.currentY,o=e.currentTime;b(t,e);const i=e.currentX,a=e.currentY,s=e.currentTime=w(t),c=s-o;if(c>0&&c<100){const t=(i-r)/c,o=(a-n)/c;e.velocityX=.7*t+.3*e.velocityX,e.velocityY=.7*o+.3*e.velocityY}e.deltaX=i-e.startX,e.deltaY=a-e.startY,e.event=t},b=(e,t)=>{let r=0,n=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];r=e.clientX,n=e.clientY}else void 0!==e.pageX&&(r=e.pageX,n=e.pageY)}t.currentX=r,t.currentY=n},w=e=>e.timeStamp||Date.now(),_=(e,t,r,i,a)=>{const s=e.ownerDocument.defaultView;let c=(0,o.i)(e);const u=e=>{const t=50,{startX:r}=e;return c?r>=s.innerWidth-t:r<=t},l=e=>c?-e.deltaX:e.deltaX,d=e=>c?-e.velocityX:e.velocityX,f=r=>(c=(0,o.i)(e),u(r)&&t()),h=e=>{const t=l(e),r=t/s.innerWidth;i(r)},p=e=>{const t=l(e),r=s.innerWidth,o=t/r,i=d(e),c=r/2,u=i>=0&&(i>.2||t>c),f=u?1-o:o,h=f*r;let p=0;if(h>5){const e=h/Math.abs(i);p=Math.min(e,540)}a(u,o<=0?.01:(0,n.m)(0,o,.9999),p)};return y({el:e,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:f,onStart:r,onMove:h,onEnd:p})}},92875:(e,t,r)=>{"use strict";r.d(t,{Bt:()=>f,LA:()=>d,aE:()=>l});var n=r(75220),o=r(50953);const i=()=>{const e=[],t={},r=e=>{switch(e.routerAction){case"pop":o(e);break;default:i(e);break}"root"===e.routerDirection&&(a(),i(e))},n=r=>{const n=e.findIndex((e=>e.id===r.id));n>-1&&e.splice(n,1,r);const o=t[r.tab||""];if(o){const e=o.findIndex((e=>e.id===r.id));e>-1?o.splice(e,1,r):o.push(r)}else r.tab&&(t[r.tab]=[r])},o=t=>{const r=s(t.tab);let n;if(r){n=r[r.length-1];while(n&&n.id!==t.id)r.pop(),n=r[r.length-1];r.pop(),r.push(t)}n=e[e.length-1];while(n&&n.id!==t.id)e.pop(),n=e[e.length-1];e.pop(),e.push(t)},i=t=>{const r=s(t.tab);r&&(r[r.length-1]&&r[r.length-1].id===t.id&&r.pop(),r.push(t)),e.push(t)},a=r=>{if(r){const{position:n,tab:o}=r,i=e.findIndex((e=>e.position===n));if(-1===i)return;e.splice(i);const a=e=>{const r=t[e].findIndex((e=>e.position===n));-1!==r&&t[e].splice(r)},s=t[o];if(o&&s)a(o);else for(const e in t)a(e)}else{for(const e in t)t[e]=[];e.length=0}},s=e=>{let r;return e&&(r=t[e],r||(r=t[e]=[])),r},c=()=>e.length,u=(t,r)=>{const n=r-t;return e[n]||l()},l=()=>e[e.length-1],d=(e=1,t,r)=>r-e>=t,f=e=>{const t=s(e);if(t)return t[0]},h=e=>{const t=s(e);if(t)return t[t.length-1]},p=(t,r=-1)=>{const n=s(t.tab);if(n){if(r<-1)return n[n.length-1+r];for(let e=n.length-2;e>=0;e--){const r=n[e];if(r&&r.pathname===t.pushedByRoute)return r}}if(r<-1)return e[e.length-1+r];for(let o=e.length-2;o>=0;o--){const r=e[o];if(r&&r.pathname===t.pushedByRoute)return r}};return{current:u,size:c,last:l,add:r,canGoBack:d,update:n,getFirstRouteInfoForTab:f,getCurrentRouteInfoForTab:h,findLastLocation:p,clearHistory:a}},a={main:0},s=(e="main")=>{var t;const r=(null!==(t=a[e])&&void 0!==t?t:0)+1;return a[e]=r,r.toString()},c=(e,t)=>{let r={direction:void 0,action:void 0,delta:void 0};t.afterEach(((t,n,o)=>{if(o)return;const{direction:i,action:a,delta:s}=r;l=e.history.state.position;const c=e.history.state.replaced?"replace":void 0;p(t,a||c,i,s),r={direction:void 0,action:void 0,delta:void 0}}));const o=i();let a,c,u=e.history.state.position,l=e.history.state.position;const d=[];"undefined"!==typeof document&&document.addEventListener("ionBackButton",(t=>{t.detail.register(0,(t=>{e.history.go(-1),t()}))})),e.history.listen(((e,t,n)=>{r={delta:n.delta,action:"pop"===n.type&&n.delta>=1?"push":n.type,direction:""===n.direction?"forward":n.direction}}));const f=(e,r)=>{const n=o.current(u,l);if(n&&n.pushedByRoute){const i=o.findLastLocation(n);i?(c=Object.assign(Object.assign({},i),{routerAction:"pop",routerDirection:"back",routerAnimation:r||n.routerAnimation}),n.lastPathname===n.pushedByRoute||i.pathname===n.pushedByRoute&&!n.tab&&!i.tab?t.back():t.go(i.position-n.position)):h(e,"pop","back",r)}else h(e,"pop","back",r)},h=(e,r,n,o,i)=>{E(r,n,o,i),"push"===r?t.push(e):t.replace(e)},p=(e,t,r,n)=>{let i;if(c)if("replace"===c.routerAction)i=o.current(u,l);else if("pop"===c.routerAction)i=o.current(u,l+1),"replace"===t&&o.clearHistory();else{const e="root"===c.routerDirection?l:l-1;i=o.current(u,e)}else i=a;i||(i={pathname:"",search:""});const f=i.pathname+i.search;if(f!==e.fullPath){if(!c){if("replace"===t)c={routerAction:"replace",routerDirection:"none"};else if("pop"===t){const e=o.current(u,l-n);if(e&&e.pushedByRoute){const t=o.findLastLocation(e,n);c=Object.assign(Object.assign({},t),{routerAction:"pop",routerDirection:"back"})}else c={routerAction:"pop",routerDirection:"none"}}c||(c={routerAction:"push",routerDirection:r||"forward"})}let d;if(null===c||void 0===c?void 0:c.id)d=Object.assign(Object.assign({},c),{lastPathname:i.pathname});else{const t="push"===c.routerAction&&"forward"===c.routerDirection;if(d=Object.assign(Object.assign({id:s("routeInfo")},c),{lastPathname:i.pathname,pathname:e.path,search:e.fullPath&&e.fullPath.split("?")[1]||"",params:e.params&&e.params,prevRouteLastPathname:i.lastPathname}),t)d.pushedByRoute=""!==i.pathname?i.pathname:void 0;else if("pop"===d.routerAction){const e=o.findLastLocation(d);d.pushedByRoute=null===e||void 0===e?void 0:e.pushedByRoute}else if("push"===d.routerAction&&d.tab!==i.tab){const e=o.getCurrentRouteInfoForTab(d.tab);d.pushedByRoute=null===e||void 0===e?void 0:e.pushedByRoute}else if("replace"===d.routerAction){const e=o.current(u,l),t=null===e||void 0===e?void 0:e.pushedByRoute,r=void 0!==t&&t!==d.pathname?t:d.pushedByRoute;d.lastPathname=(null===e||void 0===e?void 0:e.pathname)||d.lastPathname,d.pushedByRoute=r,d.routerDirection=(null===e||void 0===e?void 0:e.routerDirection)||d.routerDirection,d.routerAnimation=(null===e||void 0===e?void 0:e.routerAnimation)||d.routerAnimation,d.prevRouteLastPathname=null===e||void 0===e?void 0:e.lastPathname}}d.position=l,d.delta=n;const f=o.size(),h=l-u,p=f===h&&f>0&&"replace"===t;f>h||p?"push"!==d.routerAction&&"replace"!==d.routerAction||void 0!==n||(o.clearHistory(d),o.add(d)):o.add(d),1===o.size()&&(u=d.position),a=d}c=void 0,d.forEach((e=>e(a)))},m=()=>a,g=(e=1)=>o.canGoBack(e,u,l),y=e=>{const{routerAnimation:r,routerDirection:n,routerLink:o}=e;E("push",n,r),t.push(o)},v=e=>{const r=o.getFirstRouteInfoForTab(e);r&&t.go(r.position-l)},b=(e,r)=>{if(!r)return;const i=o.getCurrentRouteInfoForTab(e),[a]=r.split("?");i?(c=Object.assign(Object.assign({},c),{routerAction:"push",routerDirection:"none",tab:e}),i.pathname===a?t.push({path:i.pathname,query:(0,n.mA)(i.search)}):t.push({path:a,query:(0,n.mA)(i.search)})):h(a,"push","none",void 0,e)},w=e=>{const t=Object.assign({},o.current(u,l));t.tab!==e&&(t.tab=e,o.update(t));const r=o.findLastLocation(t);t.pushedByRoute!==t.lastPathname&&(null===r||void 0===r?void 0:r.tab)!==e&&(t.pushedByRoute=void 0,o.update(t))},_=e=>{d.push(e)},E=(e="push",t="forward",r,n)=>{c={routerAction:e,routerDirection:t,routerAnimation:r,tab:n}},A=e=>{E("pop","back",e),t.back()},S=e=>{E("push","forward",e),t.forward()},T=()=>o.current(u,l);return{handleNavigate:h,getLeavingRouteInfo:T,handleNavigateBack:f,handleSetCurrentTab:w,getCurrentRouteInfo:m,canGoBack:g,navigate:y,resetTab:v,changeTab:b,registerHistoryChangeListener:_,goBack:A,goForward:S}},u=e=>{const t={},r=()=>Object.keys(t).length,n=e=>{delete t[e]},i=e=>t[e],a=(e,t)=>{e.ionPageElement=t,e.ionRoute=!0,e.matchedRoute.instances={default:e.vueComponentRef.value}},c=(e,t)=>f(e.pathname,t,!1),u=(e,t,r=!0)=>f(e.lastPathname,t,r),l=(e,t)=>f(e,t,!1),d=(e,t)=>t.find((t=>{if(t.pathname===e)return t})),f=(r,n,o=!1)=>{const i=t=>{if(o&&!t.ionRoute||""===r)return!1;const n=e.resolve(r),i=n.matched.find((e=>e===t.matchedRoute));if(i){const e=i.path.includes(":");return(!e||r===t.pathname)&&t}};if(n){const o=t[n];if(!o)return;const a=e?o.find(i):d(r,o);if(a)return a}else for(const e in t){const n=t[e],o=d(r,n);if(o)return o}},h=(e,t,r,n,i)=>({id:s("viewItem"),pathname:n.pathname,outletId:e,matchedRoute:r,ionPageElement:i,vueComponent:t,vueComponentRef:(0,o.IJ)(),ionRoute:!1,mount:!1,exact:n.pathname===r.path,params:n.params,vueComponentData:{}}),p=e=>{const{outletId:r}=e;t[r]?t[r].push(e):t[r]=[e]},m=(e,r)=>{if(!r)throw Error("outletId required");const n=t[r];n&&(t[r]=n.filter((t=>t.id!==e.id)))},g=e=>{const r=t[e];if(r){const r=t[e].filter((e=>e.mount));return r}return[]},y=(e,r,n=1)=>{const o=t[e];if(!o)return;const i=o.findIndex((e=>e===r));for(let t=i+1;t{const o=t[e];if(!o)return;const i=o.findIndex((e=>e===r));for(let t=i+1;t{const t=Object.assign({},e);delete t.tabsPrefix;const r=(0,n.aE)(t),o=c(e,r),i=u(r),a=r.install.bind(r);r.install=e=>{e.provide("navManager",o),e.provide("viewStacks",i),a(e)};const s=r.isReady.bind(r);return r.isReady=()=>s(),r},d=e=>(0,n.LA)(e),f=e=>(0,n.Bt)(e)},62759:(e,t,r)=>{"use strict";r.d(t,{U1:()=>Vr,W9:()=>gr,eU:()=>yr,AO:()=>Dr,Rg:()=>Ur,ai:()=>vr,hx:()=>Br,UO:()=>Or,r0:()=>kr,xX:()=>Ir,Y0:()=>Pr,zE:()=>br,jq:()=>Nr});var n=r(20641),o=r(50953),i=r(46061),a=r(69185),s=r(37736),c=r(63183); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const u=(e,t)=>null!==t.closest(e),l=(e,t)=>"string"===typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,d=/^[a-z][a-z0-9+\-.]*:/,f=async(e,t,r,n)=>{if(null!=e&&"#"!==e[0]&&!d.test(e)){const o=document.querySelector("ion-router");if(o)return null!=t&&t.preventDefault(),o.push(e,r,n)}return!1},h=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}',p=h,m=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=(0,i.lh)(this,"ionScrollStart",7),this.ionScroll=(0,i.lh)(this,"ionScroll",7),this.ionScrollEnd=(0,i.lh)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,a.l)(this.el)){const e=this.tabsElement=this.el.closest("ion-tabs");null!==e&&(this.tabsLoadCallback=()=>this.resize(),e.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,a.l)(this.el)){const{tabsElement:e,tabsLoadCallback:t}=this;null!==e&&void 0!==t&&e.removeEventListener("ionTabBarLoaded",t),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout((()=>{null!==this.el.offsetParent&&this.resize()}),100)}shouldForceOverscroll(){const{forceOverscroll:e}=this,t=(0,s.b)(this);return void 0===e?"ios"===t&&(0,s.a)("ios"):e}resize(){i.L2.isBrowser&&(this.fullscreen?(0,i.gv)((()=>this.readDimensions())):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,(0,i.$x)(this)))}readDimensions(){const e=y(this.el),t=Math.max(this.el.offsetTop,0),r=Math.max(e.offsetHeight-t-this.el.offsetHeight,0),n=t!==this.cTop||r!==this.cBottom;n&&(this.cTop=t,this.cBottom=r,(0,i.$x)(this))}onScroll(e){const t=Date.now(),r=!this.isScrolling;this.lastScroll=t,r&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,i.gv)((t=>{this.queued=!1,this.detail.event=e,v(this.detail,this.scrollEl,t,r),this.ionScroll.emit(this.detail)})))}async getScrollElement(){return this.scrollEl||await new Promise((e=>(0,a.c)(this.el,e))),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise((e=>(0,a.c)(this.el,e))),Promise.resolve(this.backgroundContentEl)}scrollToTop(e=0){return this.scrollToPoint(void 0,0,e)}async scrollToBottom(e=0){const t=await this.getScrollElement(),r=t.scrollHeight-t.clientHeight;return this.scrollToPoint(void 0,r,e)}async scrollByPoint(e,t,r){const n=await this.getScrollElement();return this.scrollToPoint(e+n.scrollLeft,t+n.scrollTop,r)}async scrollToPoint(e,t,r=0){const n=await this.getScrollElement();if(r<32)return null!=t&&(n.scrollTop=t),void(null!=e&&(n.scrollLeft=e));let o,i=0;const a=new Promise((e=>o=e)),s=n.scrollTop,c=n.scrollLeft,u=null!=t?t-s:0,l=null!=e?e-c:0,d=e=>{const t=Math.min(1,(e-i)/r)-1,a=Math.pow(t,3)+1;0!==u&&(n.scrollTop=Math.floor(a*u+s)),0!==l&&(n.scrollLeft=Math.floor(a*l+c)),a<1?requestAnimationFrame(d):o()};return requestAnimationFrame((e=>{i=e,d(e)})),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval((()=>{this.lastScrollthis.backgroundContentEl=e,id:"background-content",part:"background"}),(0,i.h)(h,{key:"567a4bc2bcb13adfd987b088f95ac4b20b789f2c",class:{"inner-scroll":!0,"scroll-x":t,"scroll-y":r,overscroll:(t||r)&&d},ref:e=>this.scrollEl=e,onScroll:this.scrollEvents?e=>this.onScroll(e):void 0,part:"scroll"},(0,i.h)("slot",{key:"13909f87dd9f49bf1664ad95038499da376b9480"})),f?(0,i.h)("div",{class:"transition-effect"},(0,i.h)("div",{class:"transition-cover"}),(0,i.h)("div",{class:"transition-shadow"})):null,(0,i.h)("slot",{key:"05b56c139e203cfd1e3dd08054e99328e97e9243",name:"fixed"}))}get el(){return this}static get style(){return p}},[1,"ion-content",{color:[513],fullscreen:[4],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[9,"resize","onResize"]]]),g=e=>{var t;return e.parentElement?e.parentElement:(null===(t=e.parentNode)||void 0===t?void 0:t.host)?e.parentNode.host:null},y=e=>{const t=e.closest("ion-tabs");if(t)return t;const r=e.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return r||g(e)},v=(e,t,r,n)=>{const o=e.currentX,i=e.currentY,a=e.currentTime,s=t.scrollLeft,c=t.scrollTop,u=r-a;if(n&&(e.startTime=r,e.startX=s,e.startY=c,e.velocityX=e.velocityY=0),e.currentTime=r,e.currentX=e.scrollLeft=s,e.currentY=e.scrollTop=c,e.deltaX=s-e.startX,e.deltaY=c-e.startY,u>0&&u<100){const t=(s-o)/u,r=(c-i)/u;e.velocityX=.7*t+.3*e.velocityX,e.velocityY=.7*r+.3*e.velocityY}};function b(){if("undefined"===typeof customElements)return;const e=["ion-content"];e.forEach((e=>{switch(e){case"ion-content":customElements.get(e)||customElements.define(e,m);break}}))}const w=b;var _=r(4534); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const E="all 0.2s ease-in-out",A=e=>{const t=document.querySelector(`${e}.ion-cloned-element`);if(null!==t)return t;const r=document.createElement(e);return r.classList.add("ion-cloned-element"),r.style.setProperty("display","none"),document.body.appendChild(r),r},S=e=>{if(!e)return;const t=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(t).map((e=>{const t=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:t,innerTitleEl:t?t.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}}))}},T=(e,t,r)=>{(0,i.gv)((()=>{const n=e.scrollTop,o=(0,a.m)(1,1+-n/500,1.1),s=r.querySelector("ion-refresher.refresher-native");null===s&&(0,i.bN)((()=>{P(t.toolbars,o)}))}))},x=(e,t)=>{"fade"!==e.collapse&&(void 0===t?e.style.removeProperty("--opacity-scale"):e.style.setProperty("--opacity-scale",t.toString()))},C=(e,t,r)=>{if(!e[0].isIntersecting)return;const n=e[0].intersectionRatio>.9||r<=0?0:100*(1-e[0].intersectionRatio)/75;x(t.el,1===n?void 0:n)},I=(e,t,r,n)=>{(0,i.bN)((()=>{const o=n.scrollTop;C(e,t,o);const i=e[0],a=i.intersectionRect,s=a.width*a.height,c=i.rootBounds.width*i.rootBounds.height,u=0===s&&0===c,l=Math.abs(a.left-i.boundingClientRect.left),d=Math.abs(a.right-i.boundingClientRect.right),f=s>0&&(l>=5||d>=5);if(!u&&!f)if(i.isIntersecting)O(t,!1),O(r);else{const e=0===a.x&&0===a.y||0!==a.width&&0!==a.height;e&&o>0&&(O(t),O(r,!1),x(t.el))}}))},O=(e,t=!0)=>{const r=e.el;t?(r.classList.remove("header-collapse-condense-inactive"),r.removeAttribute("aria-hidden")):(r.classList.add("header-collapse-condense-inactive"),r.setAttribute("aria-hidden","true"))},P=(e=[],t=1,r=!1)=>{e.forEach((e=>{const n=e.ionTitleEl,o=e.innerTitleEl;n&&"large"===n.size&&(o.style.transition=r?E:"",o.style.transform=`scale3d(${t}, ${t}, 1)`)}))},k=(e,t,r)=>{(0,i.gv)((()=>{const n=e.scrollTop,o=t.clientHeight,s=r?r.clientHeight:0;if(null!==r&&n{e.style.removeProperty("clip-path"),t.style.setProperty("--opacity-scale",l.toString())}))}))},N="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header[collapse=condense],~ion-content ion-header.header-collapse-condense){opacity:0}",R=N,M="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}",B=M,L=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=async(e,t)=>{const r=this.scrollEl=await(0,_.g)(e);this.contentScrollCallback=()=>{k(this.scrollEl,this.el,t)},r.addEventListener("scroll",this.contentScrollCallback),k(this.scrollEl,this.el,t)},this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,a.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){const e=(0,s.b)(this);if("ios"!==e)return;const{collapse:t}=this,r="condense"===t,n="fade"===t;if(this.destroyCollapsibleHeader(),r){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?(0,_.f)(e):null;(0,i.bN)((()=>{const e=A("ion-title");e.size="large",A("ion-back-button")})),await this.setupCondenseHeader(t,e)}else if(n){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?(0,_.f)(e):null;if(!t)return void(0,_.p)(this.el);const r=t.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(t,r)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(e,t){if(!e||!t)return void(0,_.p)(this.el);if("undefined"===typeof IntersectionObserver)return;this.scrollEl=await(0,_.g)(e);const r=t.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(r).find((e=>"condense"!==e.collapse)),!this.collapsibleMainHeader)return;const n=S(this.collapsibleMainHeader),o=S(this.el);if(!n||!o)return;O(n,!1),x(n.el,0);const a=e=>{I(e,n,o,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(a,{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(o.toolbars[o.toolbars.length-1].el),this.contentScrollCallback=()=>{T(this.scrollEl,o,e)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),(0,i.bN)((()=>{void 0!==this.collapsibleMainHeader&&this.collapsibleMainHeader.classList.add("header-collapse-main")}))}render(){const{translucent:e,inheritedAttributes:t}=this,r=(0,s.b)(this),n=this.collapse||"none",o=u("ion-menu",this.el)?"none":"banner";return(0,i.h)(i.xr,Object.assign({key:"a33e7e1818cb4718ae36b8bcfa811c4138b85fac",role:o,class:{[r]:!0,[`header-${r}`]:!0,["header-translucent"]:this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${r}`]:this.translucent}},t),"ios"===r&&e&&(0,i.h)("div",{class:"header-background"}),(0,i.h)("slot",{key:"7e2fa75034f7422a3dc5691e9b3c25393e16c0ca"}))}get el(){return this}static get style(){return{ios:R,md:B}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function D(){if("undefined"===typeof customElements)return;const e=["ion-header"];e.forEach((e=>{switch(e){case"ion-header":customElements.get(e)||customElements.define(e,L);break}}))}const F=D,j=(e,t,r,n,o)=>$(e[1],t[1],r[1],n[1],o).map((o=>U(e[0],t[0],r[0],n[0],o))),U=(e,t,r,n,o)=>{const i=3*t*Math.pow(o-1,2),a=-3*r*o+3*r+n*o,s=e*Math.pow(o-1,3);return o*(i+o*a)-s},$=(e,t,r,n,o)=>{e-=o,t-=o,r-=o,n-=o;const i=H(n-3*r+3*t-e,3*r-6*t+3*e,3*t-3*e,e);return i.filter((e=>e>=0&&e<=1))},z=(e,t,r)=>{const n=t*t-4*e*r;return n<0?[]:[(-t+Math.sqrt(n))/(2*e),(-t-Math.sqrt(n))/(2*e)]},H=(e,t,r,n)=>{if(0===e)return z(t,r,n);t/=e,r/=e,n/=e;const o=(3*r-t*t)/3,i=(2*t*t*t-9*t*r+27*n)/27;if(0===o)return[Math.pow(-i,1/3)];if(0===i)return[Math.sqrt(-o),-Math.sqrt(-o)];const a=Math.pow(i/2,2)+Math.pow(o/3,3);if(0===a)return[Math.pow(i/2,.5)-t/3];if(a>0)return[Math.pow(-i/2+Math.sqrt(a),1/3)-Math.pow(i/2+Math.sqrt(a),1/3)-t/3];const s=Math.sqrt(Math.pow(-o/3,3)),c=Math.acos(-i/(2*Math.sqrt(Math.pow(-o/3,3)))),u=2*Math.pow(s,1/3);return[u*Math.cos(c/3)-t/3,u*Math.cos((c+2*Math.PI)/3)-t/3,u*Math.cos((c+4*Math.PI)/3)-t/3]};var V=r(53544),G=r(44692); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const q=async(e,t,r,n,o,i)=>{var s;if(e)return e.attachViewToDom(t,r,o,n);if(!i&&"string"!==typeof r&&!(r instanceof HTMLElement))throw new Error("framework delegate is missing");const c="string"===typeof r?null===(s=t.ownerDocument)||void 0===s?void 0:s.createElement(r):r;return n&&n.forEach((e=>c.classList.add(e))),o&&Object.assign(c,o),t.appendChild(c),await new Promise((e=>(0,a.c)(c,e))),c},W=(e,t)=>{if(t){if(e){const r=t.parentElement;return e.removeViewFromDom(r,t)}t.remove()}return Promise.resolve()},K=1,X=2,Z=3;class Y{constructor(e,t){this.component=e,this.params=t,this.state=K}async init(e){if(this.state=X,!this.element){const t=this.component;this.element=await q(this.delegate,e,t,["ion-page","ion-page-invisible"],this.params)}}_destroy(){(0,a.p)(this.state!==Z,"view state must be ATTACHED");const e=this.element;e&&(this.delegate?this.delegate.removeViewFromDom(e.parentElement,e):e.remove()),this.nav=void 0,this.state=Z}}const Q=(e,t,r)=>!!e&&(e.component===t&&(0,a.s)(e.params,r)),J=(e,t)=>e?e instanceof Y?e:new Y(e,t):null,ee=e=>e.map((e=>e instanceof Y?e:"component"in e?J(e.component,null===e.componentProps?void 0:e.componentProps):J(e,void 0))).filter((e=>null!==e)),te=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",re=te,ne=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,i.lh)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.lh)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.lh)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){const e=i.L2.isDev;void 0!==this.root&&!1!==this.didLoad&&(this.useRouter?e&&(0,V.p)(" does not support a root attribute when using ion-router.",this.el):void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,s.b)(this);this.swipeGesture=s.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await r.e(504).then(r.bind(r,53903))).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,G.l)(e.element,G.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,r,n){return this.insert(-1,e,t,r,n)}insert(e,t,r,n,o){return this.insertPages(e,[{component:t,componentProps:r}],n,o)}insertPages(e,t,r,n){return this.queueTrns({insertStart:e,insertViews:t,opts:r},n)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,r){const n={removeStart:-1,removeCount:-1,opts:t};return"object"===typeof e&&e.component?(n.removeView=e,n.removeStart=1):"number"===typeof e&&(n.removeStart=e+1),this.queueTrns(n,r)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,r,n){return this.queueTrns({removeStart:e,removeCount:t,opts:r},n)}setRoot(e,t,r,n){return this.setPages([{component:e,componentProps:t}],r,n)}setPages(e,t,r){return null!==t&&void 0!==t||(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},r)}setRouteId(e,t,r,n){const o=this.getActiveSync();if(Q(o,e,t))return Promise.resolve({changed:!1,element:o.element});let i;const a=new Promise((e=>i=e));let s;const c={updateURL:!1,viewIsReady:e=>{let t;const r=new Promise((e=>t=e));return i({changed:!0,element:e,markVisible:async()=>{t(),await s}}),r}};if("root"===r)s=this.setRoot(e,t,c);else{const o=this.views.find((r=>Q(r,e,t)));o?s=this.popTo(o,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:n})):"forward"===r?s=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:n})):"back"===r&&(s=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:n})))}return a}async getRouteId(){const e=this.getActiveSync();if(e)return{id:e.element.tagName,params:e.params,element:e.element}}async getActive(){return this.getActiveSync()}async getByIndex(e){return this.views[e]}async canGoBack(e){return this.canGoBackSync(e)}async getPrevious(e){return this.getPreviousSync(e)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,r=t.indexOf(e);return r>0?t[r-1]:void 0}async queueTrns(e,t){var r,n;if(this.isTransitioning&&(null===(r=e.opts)||void 0===r?void 0:r.skipIfBusy))return!1;const o=new Promise(((t,r)=>{e.resolve=t,e.reject=r}));if(e.done=t,e.opts&&!1!==e.opts.updateURL&&this.useRouter){const t=document.querySelector("ion-router");if(t){const r=await t.canTransition();if(!1===r)return!1;if("string"===typeof r)return t.push(r,e.opts.direction||"back"),!1}}return 0===(null===(n=e.insertViews)||void 0===n?void 0:n.length)&&(e.insertViews=void 0),this.transInstr.push(e),this.nextTrns(),o}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const t=document.querySelector("ion-router");if(t){const r="back"===e.direction?"back":"forward";t.navChanged(r)}}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}async runTransition(e){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(e);const t=this.getActiveSync(),r=this.getEnteringView(e,t);if(!t&&!r)throw new Error("no views in the stack to be removed");r&&r.state===K&&await r.init(this.el),this.postViewInit(r,t,e);const n=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&r!==t;if(n&&e.opts&&t){const n="back"===e.opts.direction;n&&(e.opts.animationBuilder=e.opts.animationBuilder||(null===r||void 0===r?void 0:r.animationBuilder)),t.animationBuilder=e.opts.animationBuilder}let o;o=n?await this.transition(r,t,e):{hasCompleted:!0,requiresTransition:!1},this.success(o,e),this.ionNavDidChange.emit()}catch(t){this.failed(t,e)}this.isTransitioning=!1,this.nextTrns()}prepareTI(e){var t,r,n;const o=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(r=(n=e.opts).delegate)&&void 0!==r||(n.delegate=this.delegate),void 0!==e.removeView){(0,a.p)(void 0!==e.removeStart,"removeView needs removeStart"),(0,a.p)(void 0!==e.removeCount,"removeView needs removeCount");const t=this.views.indexOf(e.removeView);if(t<0)throw new Error("removeView was not found");e.removeStart+=t}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=o-1),e.removeCount<0&&(e.removeCount=o-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===o),e.insertViews&&((e.insertStart<0||e.insertStart>o)&&(e.insertStart=o),e.enteringRequiresTransition=e.insertStart===o);const i=e.insertViews;if(!i)return;(0,a.p)(i.length>0,"length can not be zero");const s=ee(i);if(0===s.length)throw new Error("invalid views to insert");for(const a of s){a.delegate=e.opts.delegate;const t=a.nav;if(t&&t!==this)throw new Error("inserted view was already inserted");if(a.state===Z)throw new Error("inserted view was already destroyed")}e.insertViews=s}getEnteringView(e,t){const r=e.insertViews;if(void 0!==r)return r[r.length-1];const n=e.removeStart;if(void 0!==n){const r=this.views,o=n+e.removeCount;for(let e=r.length-1;e>=0;e--){const i=r[e];if((e=o)&&i!==t)return i}}}postViewInit(e,t,r){var n,o,i;(0,a.p)(t||e,"Both leavingView and enteringView are null"),(0,a.p)(r.resolve,"resolve must be valid"),(0,a.p)(r.reject,"reject must be valid");const s=r.opts,{insertViews:c,removeStart:u,removeCount:l}=r;let d;if(void 0!==u&&void 0!==l){(0,a.p)(u>=0,"removeStart can not be negative"),(0,a.p)(l>=0,"removeCount can not be negative"),d=[];for(let r=u;r=0,"final balance can not be negative"),0===f)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(c){let e=r.insertStart;for(const t of c)this.insertViewAt(t,e),e++;r.enteringRequiresTransition&&(null!==(i=s.direction)&&void 0!==i||(s.direction="forward"))}if(d&&d.length>0){for(const e of d)(0,G.l)(e.element,G.b),(0,G.l)(e.element,G.c),(0,G.l)(e.element,G.d);for(const e of d)this.destroyView(e)}}async transition(e,t,r){const n=r.opts,o=n.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.sbAni=e:(this.gestureOrAnimationInProgress=!0,e.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0,i=(0,s.b)(this),a=e.element,c=t&&t.element,u=Object.assign(Object.assign({mode:i,showGoBack:this.canGoBackSync(e),baseEl:this.el,progressCallback:o,animated:this.animated&&s.c.getBoolean("animated",!0),enteringEl:a,leavingEl:c},n),{animationBuilder:n.animationBuilder||this.animation||s.c.get("navAnimation")}),{hasCompleted:l}=await(0,G.t)(u);return this.transitionFinish(l,e,t,n)}transitionFinish(e,t,r,n){const o=e?t:r;return o&&this.unmountInactiveViews(o),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:r,direction:n.direction}}insertViewAt(e,t){const r=this.views,n=r.indexOf(e);n>-1?((0,a.p)(e.nav===this,"view is not part of the nav"),r.splice(n,1),r.splice(t,0,e)):((0,a.p)(!e.nav,"nav is used"),e.nav=this,r.splice(t,0,e))}removeView(e){(0,a.p)(e.state===X||e.state===Z,"view state should be loaded or destroyed");const t=this.views,r=t.indexOf(e);(0,a.p)(r>-1,"view must be part of the stack"),r>=0&&t.splice(r,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,r=t.indexOf(e);for(let n=t.length-1;n>=0;n--){const e=t[n],o=e.element;o&&(n>r?((0,G.l)(o,G.d),this.destroyView(e)):n{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let n=e?-.001:.001;e?n+=j([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),n+=j([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,n,r)}else this.gestureOrAnimationInProgress=!1}render(){return(0,i.h)("slot",{key:"654286a8a7ef03d4a22497eb51e781a9a8979774"})}get el(){return this}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}static get style(){return re}},[1,"ion-nav",{delegate:[16],swipeGesture:[1028,"swipe-gesture"],animated:[4],animation:[16],rootParams:[16],root:[1],push:[64],insert:[64],insertPages:[64],pop:[64],popTo:[64],popToRoot:[64],removeIndex:[64],setRoot:[64],setPages:[64],setRouteId:[64],getRouteId:[64],getActive:[64],getByIndex:[64],canGoBack:[64],getPrevious:[64]},void 0,{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}]);function oe(){if("undefined"===typeof customElements)return;const e=["ion-nav"];e.forEach((e=>{switch(e){case"ion-nav":customElements.get(e)||customElements.define(e,ne);break}}))}const ie=oe,ae=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",se=ae,ce=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}",ue=ce,le=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const e=Array.from(this.el.querySelectorAll("ion-buttons")),t=e.find((e=>"start"===e.slot));t&&t.classList.add("buttons-first-slot");const r=e.reverse(),n=r.find((e=>"end"===e.slot))||r.find((e=>"primary"===e.slot))||r.find((e=>"secondary"===e.slot));n&&n.classList.add("buttons-last-slot")}childrenStyle(e){e.stopPropagation();const t=e.target.tagName,r=e.detail,n={},o=this.childrenStyles.get(t)||{};let a=!1;Object.keys(r).forEach((e=>{const t=`toolbar-${e}`,i=r[e];i!==o[t]&&(a=!0),i&&(n[t]=!0)})),a&&(this.childrenStyles.set(t,n),(0,i.$x)(this))}render(){const e=(0,s.b)(this),t={};return this.childrenStyles.forEach((e=>{Object.assign(t,e)})),(0,i.h)(i.xr,{key:"afac0f08f3981483c072984ce047df5dc9cc1e99",class:Object.assign(Object.assign({},t),l(this.color,{[e]:!0,"in-toolbar":u("ion-toolbar",this.el)}))},(0,i.h)("div",{key:"30d4f1d0ec01cc646398301b5f7d469391eb35d2",class:"toolbar-background"}),(0,i.h)("div",{key:"175d1f283e670b57a9bf8fd2a8c5e7d0da749aa8",class:"toolbar-container"},(0,i.h)("slot",{key:"4853b18092737b32b5995457536fa5a7fc2816ef",name:"start"}),(0,i.h)("slot",{key:"6eb4921200aad02d7977d134edad6cff2aad91ad",name:"secondary"}),(0,i.h)("div",{key:"024e0339c74c4b9a886d49e96723243719643dc2",class:"toolbar-content"},(0,i.h)("slot",{key:"b6452c84692fedd6efe33ac67907d01253b76f8f"})),(0,i.h)("slot",{key:"636e56eeaa318ce45a9c3854a30b8eb2819a33e0",name:"primary"}),(0,i.h)("slot",{key:"a45c19b93dca3719d75bd4d99acc49de87137a7d",name:"end"})))}get el(){return this}static get style(){return{ios:se,md:ue}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function de(){if("undefined"===typeof customElements)return;const e=["ion-toolbar"];e.forEach((e=>{switch(e){case"ion-toolbar":customElements.get(e)||customElements.define(e,le);break}}))}const fe=de,he="data:image/svg+xml;utf8,",pe="data:image/svg+xml;utf8,"; +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +let me;const ge=()=>{if("undefined"===typeof window)return new Map;if(!me){const e=window;e.Ionicons=e.Ionicons||{},me=e.Ionicons.map=e.Ionicons.map||new Map}return me},ye=e=>{let t=we(e.src);if(t)return t;if(t=be(e.name,e.icon,e.mode,e.ios,e.md),t)return ve(t,e);if(e.icon){if(t=we(e.icon),t)return t;if(t=we(e.icon[e.mode]),t)return t}return null},ve=(e,t)=>{const r=ge().get(e);if(r)return r;try{return(0,i.OX)(`svg/${e}.svg`)}catch(n){console.warn(`[Ionicons Warning]: Could not load icon with name "${e}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}},be=(e,t,r,n,o)=>{if(r="ios"===(r&&Ae(r))?"ios":"md",n&&"ios"===r?e=Ae(n):o&&"md"===r?e=Ae(o):(e||!t||_e(t)||(e=t),Ee(e)&&(e=Ae(e))),!Ee(e)||""===e.trim())return null;const i=e.replace(/[a-z]|-|\d/gi,"");return""!==i?null:e},we=e=>Ee(e)&&(e=e.trim(),_e(e))?e:null,_e=e=>e.length>0&&/(\/|\.)/.test(e),Ee=e=>"string"===typeof e,Ae=e=>e.toLowerCase(),Se=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},Te=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),xe=e=>{const t=document.createElement("div");t.innerHTML=e;for(let n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);const r=t.firstElementChild;if(r&&"svg"===r.nodeName.toLowerCase()){const e=r.getAttribute("class")||"";if(r.setAttribute("class",(e+" s-ion-icon").trim()),Ce(r))return t.innerHTML}return""},Ce=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;te.startsWith("data:image/svg+xml"),Oe=e=>-1!==e.indexOf(";utf8,"),Pe=new Map,ke=new Map;let Ne;const Re=(e,t)=>{let r=ke.get(e);if(!r){if("undefined"===typeof fetch||"undefined"===typeof document)return Pe.set(e,""),Promise.resolve();if(Ie(e)&&Oe(e)){Ne||(Ne=new DOMParser);const t=Ne.parseFromString(e,"text/html"),r=t.querySelector("svg");return r&&Pe.set(e,r.outerHTML),Promise.resolve()}r=fetch(e).then((r=>{if(r.ok)return r.text().then((r=>{r&&!1!==t&&(r=xe(r)),Pe.set(e,r||"")}));Pe.set(e,"")})),ke.set(e,r)}return r},Me=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",Be=Me,Le=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=De(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=Se(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,r){if(i.L2.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const n=this.io=new window.IntersectionObserver((e=>{e[0].isIntersecting&&(n.disconnect(),this.io=void 0,r())}),{rootMargin:t});n.observe(e)}else r()}loadIcon(){if(i.L2.isBrowser&&this.isVisible){const e=ye(this);e&&(Pe.has(e)?this.svgContent=Pe.get(e):Re(e,this.sanitize).then((()=>this.svgContent=Pe.get(e))),this.didLoadIcon=!0)}this.iconName=be(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:e,iconName:t,inheritedAttributes:r,el:n}=this,o=this.mode||"md",a=!!t&&((t.includes("arrow")||t.includes("chevron"))&&!1!==e),s=e||a;return(0,i.h)(i.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[o]:!0},Fe(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":s,"icon-rtl":s&&Te(n)})},r),i.L2.isBrowser&&this.svgContent?(0,i.h)("div",{class:"icon-inner",innerHTML:this.svgContent}):(0,i.h)("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return Be}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},void 0,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}]),De=()=>i.L2.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",Fe=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function je(){if("undefined"===typeof customElements)return;const e=["ion-icon"];e.forEach((e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,Le);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ue=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",$e=Ue,ze=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,t){return new Promise((r=>{(0,i.gv)((()=>{const n=this.el.getBoundingClientRect(),o=n.width,a=n.height,s=Math.sqrt(o*o+a*a),c=Math.max(a,o),u=this.unbounded?c:s+Ve,l=Math.floor(c*Ge),d=u/l;let f=e-n.left,h=t-n.top;this.unbounded&&(f=.5*o,h=.5*a);const p=f-.5*l,m=h-.5*l,g=.5*o-f,y=.5*a-h;(0,i.bN)((()=>{const e=document.createElement("div");e.classList.add("ripple-effect");const t=e.style;t.top=m+"px",t.left=p+"px",t.width=t.height=l+"px",t.setProperty("--final-scale",`${d}`),t.setProperty("--translate-end",`${g}px, ${y}px`);const n=this.el.shadowRoot||this.el;n.appendChild(e),setTimeout((()=>{r((()=>{He(e)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const e=(0,s.b)(this);return(0,i.h)(i.xr,{key:"a9ff1956627908ee4071002ca018eaa80f87cd59",role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return $e}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),He=e=>{e.classList.add("fade-out"),setTimeout((()=>{e.remove()}),200)},Ve=10,Ge=.5;function qe(){if("undefined"===typeof customElements)return;const e=["ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-ripple-effect":customElements.get(e)||customElements.define(e,ze);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const We=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',Ke=We,Xe=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',Ze=Xe,Ye=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.onClick=async e=>{const t=this.el.closest("ion-nav");return e.preventDefault(),t&&await t.canGoBack()?t.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):f(this.defaultHref,e,"back",this.routerAnimation)},this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,a.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=s.c.get("backButtonDefaultHref"))}get backButtonIcon(){const e=this.icon;return null!=e?e:"ios"===(0,s.b)(this)?s.c.get("backButtonIcon",pe):s.c.get("backButtonIcon",he)}get backButtonText(){const e="ios"===(0,s.b)(this)?"Back":null;return null!=this.text?this.text:s.c.get("backButtonText",e)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:e,defaultHref:t,disabled:r,type:n,hasIconOnly:o,backButtonIcon:a,backButtonText:c,icon:d,inheritedAttributes:f}=this,h=void 0!==t,p=(0,s.b)(this),m=f["aria-label"]||c||"back";return(0,i.h)(i.xr,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:l(e,{[p]:!0,button:!0,"back-button-disabled":r,"back-button-has-icon-only":o,"in-toolbar":u("ion-toolbar",this.el),"in-toolbar-color":u("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":h})},(0,i.h)("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:n,disabled:r,class:"button-native",part:"native","aria-label":m},(0,i.h)("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},a&&(0,i.h)("ion-icon",{part:"icon",icon:a,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===d}),c&&(0,i.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},c)),"md"===p&&(0,i.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get style(){return{ios:Ke,md:Ze}}},[33,"ion-back-button",{color:[513],defaultHref:[1025,"default-href"],disabled:[516],icon:[1],text:[1],type:[1],routerAnimation:[16]}]);function Qe(){if("undefined"===typeof customElements)return;const e=["ion-back-button","ion-icon","ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-back-button":customElements.get(e)||customElements.define(e,Ye);break;case"ion-icon":customElements.get(e)||je();break;case"ion-ripple-effect":customElements.get(e)||qe();break}}))}const Je=Qe,et=()=>{let e;const t=async()=>{const t=e;let r;return e=new Promise((e=>r=e)),void 0!==t&&await t,r};return{lock:t}},tt=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",rt=tt,nt=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,i.lh)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.lh)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.lh)(this,"ionNavDidChange",3),this.lockController=et(),this.gestureOrAnimationInProgress=!1,this.mode=(0,s.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}async connectedCallback(){const e=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await r.e(504).then(r.bind(r,53903))).createSwipeBackGesture(this.el,(()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart()),(()=>e()),(e=>{var t;return null===(t=this.ani)||void 0===t?void 0:t.progressStep(e)}),((e,t,r)=>{if(this.ani){this.ani.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(e)}),{oneTimeCallback:!0});let n=e?-.001:.001;e?n+=j([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),n+=j([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.ani.progressEnd(e?1:0,n,r)}else this.gestureOrAnimationInProgress=!1})),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(e,t,r){const n=await this.lockController.lock();let o=!1;try{o=await this.transition(e,t,r)}catch(i){console.error(i)}return n(),o}async setRouteId(e,t,r,n){const o=await this.setRoot(e,t,{duration:"root"===r?0:void 0,direction:"back"===r?"back":"forward",animationBuilder:n});return{changed:o,element:this.activeEl}}async getRouteId(){const e=this.activeEl;return e?{id:e.tagName,element:e,params:this.activeParams}:void 0}async setRoot(e,t,r){if(this.activeComponent===e&&(0,a.s)(t,this.activeParams))return!1;const n=this.activeEl,o=await q(this.delegate,this.el,e,["ion-page","ion-page-invisible"],t);return this.activeComponent=e,this.activeEl=o,this.activeParams=t,await this.commit(o,n,r),await W(this.delegate,n),!0}async transition(e,t,r={}){if(t===e)return!1;this.ionNavWillChange.emit();const{el:n,mode:o}=this,i=this.animated&&s.c.getBoolean("animated",!0),c=r.animationBuilder||this.animation||s.c.get("navAnimation");return await(0,G.t)(Object.assign(Object.assign({mode:o,animated:i,enteringEl:e,leavingEl:t,baseEl:n,deepWait:(0,a.l)(n),progressCallback:r.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.ani=e:(this.gestureOrAnimationInProgress=!0,e.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)}),{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0},r),{animationBuilder:c})),this.ionNavDidChange.emit(),!0}render(){return(0,i.h)("slot",{key:"69b452a0dc0c10440bdd8700cf4843c43154c707"})}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return rt}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]);function ot(){if("undefined"===typeof customElements)return;const e=["ion-router-outlet"];e.forEach((e=>{switch(e){case"ion-router-outlet":customElements.get(e)||customElements.define(e,nt);break}}))}const it=ot;var at=r(75220); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const st=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',ct=st,ut=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}',lt=ut,dt=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=(0,i.lh)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{"Enter"!==e.key&&" "!==e.key||this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(e){const t=e.target,r=this.el.parentElement;(e.composedPath().includes(r)||(null===t||void 0===t?void 0:t.contains(this.el)))&&(this.selected=this.tab===e.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,a.d)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=s.c.get("tabButtonLayout","icon-top"))}selectTab(e){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),e.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:e,hasIcon:t,hasLabel:r,href:n,rel:o,target:a,layout:c,selected:u,tab:l,inheritedAttributes:d}=this,f=(0,s.b)(this),h={download:this.download,href:n,rel:o,target:a};return(0,i.h)(i.xr,{key:"9926f9392e7910ff3159397e4f907e0d7d2cf5a0",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==l?`tab-button-${l}`:null,class:{[f]:!0,"tab-selected":u,"tab-disabled":e,"tab-has-label":r,"tab-has-icon":t,"tab-has-label-only":r&&!t,"tab-has-icon-only":t&&!r,[`tab-layout-${c}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,i.h)("a",Object.assign({key:"4b3ace749583a5502e94462f9a70c5158fe0194a"},h,{class:"button-native",part:"native",role:"tab","aria-selected":u?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":void 0},d),(0,i.h)("span",{key:"a2a30c02fbd5052da12586a5ab00a45f3bf53b88",class:"button-inner"},(0,i.h)("slot",{key:"3fb22ffbb09000d99537b531220c029330ae6940"})),"md"===f&&(0,i.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return this}static get style(){return{ios:ct,md:lt}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);function ft(){if("undefined"===typeof customElements)return;const e=["ion-tab-button","ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-tab-button":customElements.get(e)||customElements.define(e,dt);break;case"ion-ripple-effect":customElements.get(e)||qe();break}}))}const ht=ft;var pt=r(72289),mt=r(35856); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const gt=e=>{if(void 0===pt.d||e===mt.a.None||void 0===e)return null;const t=pt.d.querySelector("ion-app");return null!==t&&void 0!==t?t:pt.d.body},yt=e=>{const t=gt(e);return null===t?0:t.clientHeight},vt=async e=>{let t,r,n,o;const i=async()=>{const e=await mt.K.getResizeMode(),i=void 0===e?void 0:e.mode;t=()=>{void 0===o&&(o=yt(i)),n=!0,a(n,i)},r=()=>{n=!1,a(n,i)},null===pt.w||void 0===pt.w||pt.w.addEventListener("keyboardWillShow",t),null===pt.w||void 0===pt.w||pt.w.addEventListener("keyboardWillHide",r)},a=(t,r)=>{e&&e(t,s(r))},s=e=>{if(0===o||o===yt(e))return;const t=gt(e);return null!==t?new Promise((e=>{const r=()=>{t.clientHeight===o&&(n.disconnect(),e())},n=new ResizeObserver(r);n.observe(t)})):void 0},c=()=>{null===pt.w||void 0===pt.w||pt.w.removeEventListener("keyboardWillShow",t),null===pt.w||void 0===pt.w||pt.w.removeEventListener("keyboardWillHide",r),t=r=void 0},u=()=>n;return await i(),{init:i,destroy:c,isKeyboardVisible:u}},bt=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",wt=bt,_t=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}",Et=_t,At=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=(0,i.lh)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,i.lh)(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await vt((async(e,t)=>{!1===e&&void 0!==t&&await t,this.keyboardVisible=e}))}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:e,translucent:t,keyboardVisible:r}=this,n=(0,s.b)(this),o=r&&"top"!==this.el.getAttribute("slot");return(0,i.h)(i.xr,{key:"e2b4b50270f171ed251359df6c65c5e7e4d526a4",role:"tablist","aria-hidden":o?"true":null,class:l(e,{[n]:!0,"tab-bar-translucent":t,"tab-bar-hidden":o})},(0,i.h)("slot",{key:"37495b2eddd01a758ceaeb36426abc9bd20bcca3"}))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:wt,md:Et}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]);function St(){if("undefined"===typeof customElements)return;const e=["ion-tab-bar"];e.forEach((e=>{switch(e){case"ion-tab-bar":customElements.get(e)||customElements.define(e,At);break}}))}const Tt=St;var xt=r(51789); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ct="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}",It=Ct,Ot=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost()}componentDidLoad(){i.L2.isBrowser&&kt((async()=>{const e=(0,s.a)(window,"hybrid");if(s.c.getBoolean("_testing")||r.e(504).then(r.bind(r,32725)).then((e=>e.startTapClick(s.c))),s.c.getBoolean("statusTap",e)&&r.e(504).then(r.bind(r,18336)).then((e=>e.startStatusTap())),s.c.getBoolean("inputShims",Pt())){const e=(0,s.a)(window,"ios")?"ios":"android";r.e(504).then(r.bind(r,335)).then((t=>t.startInputShims(s.c,e)))}const t=await Promise.resolve().then(r.bind(r,51789)),n=e||(0,xt.shouldUseCloseWatcher)();s.c.getBoolean("hardwareBackButton",n)?t.startHardwareBackButton():((0,xt.shouldUseCloseWatcher)()&&(0,V.p)("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),t.blockHardwareBackButton()),"undefined"!==typeof window&&r.e(504).then(r.bind(r,6217)).then((e=>e.startKeyboardAssist(window))),r.e(504).then(r.bind(r,97559)).then((e=>this.focusVisible=e.startFocusVisible()))}))}async setFocus(e){this.focusVisible&&this.focusVisible.setFocus(e)}render(){const e=(0,s.b)(this);return(0,i.h)(i.xr,{key:"0ac01df6d90d8185017e1f8e8f02cdf407e6c94b",class:{[e]:!0,"ion-page":!0,"force-statusbar-padding":s.c.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return It}},[0,"ion-app",{setFocus:[64]}]),Pt=()=>{const e=(0,s.a)(window,"ios")&&(0,s.a)(window,"mobile");if(e)return!0;const t=(0,s.a)(window,"android")&&(0,s.a)(window,"mobileweb");return!!t},kt=e=>{"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,32)};function Nt(){if("undefined"===typeof customElements)return;const e=["ion-app"];e.forEach((e=>{switch(e){case"ion-app":customElements.get(e)||customElements.define(e,Ot);break}}))}const Rt=Nt;let Mt;const Bt=()=>{if("undefined"===typeof window)return new Map;if(!Mt){const e=window;e.Ionicons=e.Ionicons||{},Mt=e.Ionicons.map=e.Ionicons.map||new Map}return Mt},Lt=e=>{let t=jt(e.src);if(t)return t;if(t=Ft(e.name,e.icon,e.mode,e.ios,e.md),t)return Dt(t,e);if(e.icon){if(t=jt(e.icon),t)return t;if(t=jt(e.icon[e.mode]),t)return t}return null},Dt=(e,t)=>{const r=Bt().get(e);if(r)return r;try{return(0,i.OX)(`svg/${e}.svg`)}catch(n){console.warn(`[Ionicons Warning]: Could not load icon with name "${e}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}},Ft=(e,t,r,n,o)=>{if(r="ios"===(r&&zt(r))?"ios":"md",n&&"ios"===r?e=zt(n):o&&"md"===r?e=zt(o):(e||!t||Ut(t)||(e=t),$t(e)&&(e=zt(e))),!$t(e)||""===e.trim())return null;const i=e.replace(/[a-z]|-|\d/gi,"");return""!==i?null:e},jt=e=>$t(e)&&(e=e.trim(),Ut(e))?e:null,Ut=e=>e.length>0&&/(\/|\.)/.test(e),$t=e=>"string"===typeof e,zt=e=>e.toLowerCase(),Ht=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},Vt=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),Gt=e=>{const t=document.createElement("div");t.innerHTML=e;for(let n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);const r=t.firstElementChild;if(r&&"svg"===r.nodeName.toLowerCase()){const e=r.getAttribute("class")||"";if(r.setAttribute("class",(e+" s-ion-icon").trim()),qt(r))return t.innerHTML}return""},qt=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;te.startsWith("data:image/svg+xml"),Kt=e=>-1!==e.indexOf(";utf8,"),Xt=new Map,Zt=new Map;let Yt;const Qt=(e,t)=>{let r=Zt.get(e);if(!r){if("undefined"===typeof fetch||"undefined"===typeof document)return Xt.set(e,""),Promise.resolve();if(Wt(e)&&Kt(e)){Yt||(Yt=new DOMParser);const t=Yt.parseFromString(e,"text/html"),r=t.querySelector("svg");return r&&Xt.set(e,r.outerHTML),Promise.resolve()}r=fetch(e).then((r=>{if(r.ok)return r.text().then((r=>{r&&!1!==t&&(r=Gt(r)),Xt.set(e,r||"")}));Xt.set(e,"")})),Zt.set(e,r)}return r},Jt=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",er=(0,i.w$)(class extends i.wt{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=tr(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=Ht(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,r){if(i.L2.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const n=this.io=new window.IntersectionObserver((e=>{e[0].isIntersecting&&(n.disconnect(),this.io=void 0,r())}),{rootMargin:t});n.observe(e)}else r()}loadIcon(){if(i.L2.isBrowser&&this.isVisible){const e=Lt(this);e&&(Xt.has(e)?this.svgContent=Xt.get(e):Qt(e,this.sanitize).then((()=>this.svgContent=Xt.get(e))),this.didLoadIcon=!0)}this.iconName=Ft(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:e,iconName:t,inheritedAttributes:r,el:n}=this,o=this.mode||"md",a=!!t&&((t.includes("arrow")||t.includes("chevron"))&&!1!==e),s=e||a;return(0,i.h)(i.xr,Object.assign({role:"img",class:Object.assign(Object.assign({[o]:!0},rr(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":s,"icon-rtl":s&&Vt(n)})},r),i.L2.isBrowser&&this.svgContent?(0,i.h)("div",{class:"icon-inner",innerHTML:this.svgContent}):(0,i.h)("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return Jt}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]),tr=()=>i.L2.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",rr=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function nr(){if("undefined"===typeof customElements)return;const e=["ion-icon"];e.forEach((e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,er);break}}))}const or=nr,ir="update:modelValue",ar="modelValue",sr="routerLink",cr="navManager",ur="router",lr="aria",dr=Symbol(),fr={default:dr},hr=e=>(null===e||void 0===e?void 0:e.split(" "))||[],pr=(e,t,r=[])=>{var n;return[...Array.from((null===(n=e.value)||void 0===n?void 0:n.classList)||[]),...r].filter(((e,r,n)=>!t.has(e)&&n.indexOf(e)===r))},mr=(e,t,r=[],i,a)=>{void 0!==t&&t();const s=(0,n.pM)(((t,{attrs:r,slots:s,emit:c})=>{var u;let l=t[i];const d=(0,o.KR)(),f=new Set(hr(r.class)),h={created:e=>{const t=Array.isArray(a)?a:[a];t.forEach((t=>{e.addEventListener(t.toLowerCase(),(e=>{l=(null===e||void 0===e?void 0:e.target)[i],c(ir,l)}))}))}},p=(0,n.nI)(),m=null===(u=null===p||void 0===p?void 0:p.appContext)||void 0===u?void 0:u.provides[cr],g=m?(0,n.WQ)(cr):void 0,y=e=>{const{routerLink:r}=t;if(r!==dr)if(void 0!==g){let r={event:e};for(const e in t){const n=t[e];t.hasOwnProperty(e)&&e.startsWith(ur)&&n!==dr&&(r[e]=n)}g.navigate(r)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{l=t[i],hr(r.class).forEach((e=>{f.add(e)}));const o=t.onClick,a=e=>{void 0!==o&&o(e),e.defaultPrevented||y(e)};let c={ref:d,class:pr(d,f),onClick:a};for(const e in t){const r=t[e];(t.hasOwnProperty(e)&&r!==dr||e.startsWith(lr))&&(c[e]=r)}i&&(t[ar]!==dr?c=Object.assign(Object.assign({},c),{[i]:t[ar]}):l!==dr&&(c=Object.assign(Object.assign({},c),{[i]:l})));const u=(0,n.h)(e,c,s.default&&s.default());return void 0===i?u:(0,n.bo)(u,[[h]])}}));return"function"!==typeof s&&(s.name=e,s.props={[sr]:fr},r.forEach((e=>{s.props[e]=fr})),i&&(s.props[ar]=fr,s.emits=[ir])),s},gr=mr("ion-content",w,["color","fullscreen","forceOverscroll","scrollX","scrollY","scrollEvents","ionScrollStart","ionScroll","ionScrollEnd"]),yr=mr("ion-header",F,["collapse","translucent"]),vr=mr("ion-toolbar",fe,["color"]),br=(e,t)=>{const r=r=>r.detail.register(e,t),n=()=>document.removeEventListener("ionBackButton",r);return document.addEventListener("ionBackButton",r),{unregister:n}};var wr;(function(e){e["WillEnter"]="onIonViewWillEnter",e["DidEnter"]="onIonViewDidEnter",e["WillLeave"]="onIonViewWillLeave",e["DidLeave"]="onIonViewDidLeave"})(wr||(wr={}));const _r={[G.L]:wr.WillEnter,[G.a]:wr.DidEnter,[G.b]:wr.WillLeave,[G.c]:wr.DidLeave},Er={main:0},Ar=(e="main")=>{var t;const r=(null!==(t=Er[e])&&void 0!==t?t:0)+1;return Er[e]=r,r.toString()},Sr=(e,t,r)=>{(null===e||void 0===e?void 0:e[r])&&e[r].bind(null===t||void 0===t?void 0:t.value)();const n=null===t||void 0===t?void 0:t.value;if((null===n||void 0===n?void 0:n[r])&&n[r](),n){const e=_r[r],t=n[e];t&&t.forEach((e=>e()))}},Tr=()=>{if("undefined"!==typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null},xr=(e,t,r)=>{if(r){const n=r,o=n.proxy[e]||(n.proxy[e]=[]);n.exposed&&(n.exposed[e]=o);const i=(...e)=>{if(!n.isUnmounted)return e?t(...e):t()};return o.push(i),i}console.warn("[@ionic/vue]: Ionic Lifecycle Hooks can only be used during execution of setup().")},Cr=e=>(t,r=(0,n.nI)())=>xr(e,t,r),Ir=Cr(wr.WillEnter),Or=Cr(wr.DidEnter),Pr=Cr(wr.WillLeave),kr=Cr(wr.DidLeave),Nr=()=>{const{canGoBack:e,goBack:t,goForward:r,handleNavigate:o}=(0,n.WQ)("navManager"),i=(e,t,r,n)=>o(e,r,t,n),a=(e,t)=>i(e,"forward","push",t),s=(e,t)=>i(e,"root","replace",t),c=e=>t(e),u=e=>r(e);return{canGoBack:e,push:a,replace:s,back:c,forward:u,navigate:i}},Rr=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),Mr=()=>({ael:(e,t,r,n)=>e.addEventListener(Rr(t),r,n),rel:(e,t,r,n)=>e.removeEventListener(Rr(t),r,n),ce:(e,t)=>new CustomEvent(Rr(e),t)}),Br={async install(e,t={}){"undefined"!==typeof document&&document.documentElement.classList.add("ion-ce");const{ael:r,rel:n,ce:o}=Mr();(0,s.i)(Object.assign(Object.assign({},t),{_ael:r,_rel:n,_ce:o}))}},Lr=(0,n.pM)(((e,{attrs:t,slots:r})=>{Je();const o=(0,n.WQ)("navManager"),i=()=>{if(void 0===o)return;const e=t["default-href"]||t["defaultHref"],r=t["router-animation"]||t["routerAnimation"];o.handleNavigateBack(e,r)};return()=>(0,n.h)("ion-back-button",Object.assign({onClick:i},t),r.default&&r.default())}));Lr.name="IonBackButton";const Dr=(0,n.pM)({name:"IonPage",props:{registerIonPage:{type:Function,default:()=>{}}},mounted(){this.$props.registerIonPage(this.$refs.ionPage)},setup(e,{attrs:t,slots:r}){return()=>(0,n.h)("div",Object.assign(Object.assign({},t),{["class"]:"ion-page",ref:"ionPage"}),r.default&&r.default())}}),Fr=e=>!e.classList.contains("ion-page-hidden")&&!e.classList.contains("ion-page-invisible"),jr=Symbol(0),Ur=(0,n.pM)({name:"IonRouterOutlet",setup(){it();const e=(0,n.WQ)(at.Ur),t=(0,at.lq)(),r=(0,n.WQ)(jr,0),i=(0,n.EW)((()=>t.matched[r]));let a,s;(0,n.Gt)(jr,r+1),(0,n.Gt)(at.nU,i);const c=(0,o.KR)(),u=Ar("ion-router-outlet"),l=(0,n.WQ)("navManager"),d=(0,n.WQ)("viewStacks"),f=(0,o.IJ)([]);let h,p=!1;(0,n.wB)((()=>[t,i.value]),(([e,t])=>{if(void 0!==t){const r=t!==a,n=e.matched[e.matched.length-1]===t&&e.path!==s;(r||n)&&w(i)}a=t,s=e.path}),{deep:!0});const m=()=>{const e=Tr(),t=e&&e.get("swipeBackEnabled","ios"===c.value.mode);if(!t)return!1;const r=d.getViewStack(u);if(!r||r.length<=1)return!1;const n=l.getLeavingRouteInfo(),o=d.findViewItemByRouteInfo({pathname:n.pushedByRoute||""},u);return!!o},g=async()=>{const e=l.getLeavingRouteInfo(),{routerAnimation:t}=e,r=d.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},u),n=d.findViewItemByRouteInfo(e,u);if(n){let e=t;const o=r.ionPageElement,i=n.ionPageElement,a=r.routerAnimation;void 0===e&&void 0!==a&&(e=a),n.routerAnimation=e,await v(o,i,"back",l.canGoBack(2),!0,e)}return Promise.resolve()},y=e=>{if(e)p=!0,l.handleNavigateBack();else{const e=l.getCurrentRouteInfo(),t=d.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},u);t.ionPageElement.setAttribute("aria-hidden","true"),t.ionPageElement.classList.add("ion-page-hidden")}};(0,n.wB)(c,(()=>{c.value.swipeHandler={canStart:m,onStart:g,onEnd:y}}));const v=async(e,t,r,n,o,i)=>{if(p)return p=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);e.classList.add("ion-page-invisible");const a=void 0===r||"root"===r||"none"===r,s=await c.value.commit(e,t,{duration:a&&void 0===i?0:void 0,direction:r,showGoBack:n,progressAnimation:o,animationBuilder:i});return s},b=async()=>{const e=l.getCurrentRouteInfo(),{routerDirection:t,routerAction:r,routerAnimation:n,prevRouteLastPathname:o,delta:i}=e,a=d.findViewItemByRouteInfo(e,u);let s=d.findLeavingViewItemByRouteInfo(e,u);const c=a.ionPageElement;if(void 0===c&&console.warn(`[@ionic/vue Warning]: The view you are trying to render for path ${e.pathname} does not have the required component. Transitions and lifecycle methods may not work as expected.\n\nSee https://ionicframework.com/docs/vue/navigation#ionpage for more information.`),a!==s&&(!s&&o&&(s=d.findViewItemByPathname(o,u)),!Fr(c)||void 0===(null===s||void 0===s?void 0:s.ionPageElement)||Fr(s.ionPageElement))){if(Sr(a.vueComponent,a.vueComponentRef,G.L),(null===s||void 0===s?void 0:s.ionPageElement)&&a!==s){let o=n;const l=s.ionPageElement;Sr(s.vueComponent,s.vueComponentRef,G.b);const f=a.routerAnimation;void 0===o&&"back"===t&&void 0!==f&&(o=f),s.routerAnimation=o,await v(c,l,t,!!e.pushedByRoute,!1,o),l.classList.add("ion-page-hidden"),l.setAttribute("aria-hidden","true");const h=1===d.size();if("replace"===r)s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1;else if("push"!==r||"forward"!==t){const e="none"!==t&&s&&a!==s;e&&(s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1,h&&d.unmountLeavingViews(u,a,i))}else h&&d.mountIntermediaryViews(u,s,i);Sr(s.vueComponent,s.vueComponentRef,G.c)}else requestAnimationFrame((()=>c.classList.remove("ion-page-invisible")));Sr(a.vueComponent,a.vueComponentRef,G.a),f.value=d.getChildrenToRender(u)}},w=e=>{const r=t.matched[0];if(h||(h=r.path),!e.value||e.value!==r&&r.path!==h)return;const n=l.getCurrentRouteInfo();let o=d.findViewItemByRouteInfo(n,u);o||(o=d.createViewItem(u,e.value.components.default,e.value,n),d.add(o)),o.mount?b():(o.mount=!0,o.registerCallback=()=>{b(),o.registerCallback=void 0}),f.value=d.getChildrenToRender(u)};i.value&&w(i),(0,n.hi)((()=>d.clear(u)));const _=(e,t)=>{const r=e.ionPageElement;d.registerIonPage(e,t),e.registerCallback?(t.classList.add("ion-page-invisible"),e.registerCallback()):r&&!r.classList.contains("ion-page-invisible")&&t.classList.remove("ion-page-invisible")};return{id:u,components:f,injectedRoute:e,ionRouterOutlet:c,registerIonPage:_}},render(){const{components:e,registerIonPage:t,injectedRoute:r}=this;return(0,n.h)("ion-router-outlet",{ref:"ionRouterOutlet"},e&&e.map((e=>{var o,i;let a={ref:e.vueComponentRef,key:e.pathname,registerIonPage:r=>t(e,r)};const s=null===(i=null===(o=e.matchedRoute)||void 0===o?void 0:o.props)||void 0===i?void 0:i.default,c=()=>{var t;const n=null===(t=e.vueComponentData)||void 0===t?void 0:t.propsFunctionResult;if(n)return n;{const t=s(r);return e.vueComponentData=Object.assign(Object.assign({},e.vueComponentData),{propsFunctionResult:t}),t}},u=s?!0===s?e.params:"function"===typeof s?c():s:null;return a=Object.assign(Object.assign({},a),u),(0,n.h)(e.vueComponent,a)})))}}),$r=(Boolean,Boolean,e=>{var t;return"IonTabButton"===(null===(t=e.type)||void 0===t?void 0:t.name)}),zr=e=>{let t=[];return e.forEach((e=>{if($r(e))t.push(e);else if(Array.isArray(e.children)&&e.children.length>1){const r=zr(e.children);t=[...t,...r]}})),t},Hr=((0,n.pM)({name:"IonTabBar",props:{_tabsWillChange:{type:Function,default:()=>{}},_tabsDidChange:{type:Function,default:()=>{}}},data(){return{tabState:{activeTab:void 0,tabs:{}},tabVnodes:[]}},updated(){this.setupTabState((0,n.WQ)("navManager"))},methods:{setupTabState(e){const t=this.$data.tabState,r=(0,n.nI)(),o=this.$data.tabVnodes=zr(r.subTree.children||[]);o.forEach((e=>{t.tabs[e.props.tab]={originalHref:e.props.href,currentHref:e.props.href,ref:e},e.component.props._getTabState=()=>t})),this.checkActiveTab(e)},checkActiveTab(e){const t=e.getCurrentRouteInfo(),r=this.$data.tabVnodes,{tabs:n,activeTab:o}=this.$data.tabState,i=this.$data.tabState,a=Object.keys(n),s=a.find((e=>{const r=n[e].originalHref;return t.pathname.startsWith(r)}));if(r.forEach((e=>{const t=n[e.props.tab];t&&t.originalHref===e.props.href||(n[e.props.tab]={originalHref:e.props.href,currentHref:e.props.href,ref:e})})),s&&o){const e=this.$data.tabState.tabs[o].currentHref;if(s!==o||e!==t.pathname){const e=t.search?`?${t.search}`:"";n[s]=Object.assign(Object.assign({},n[s]),{currentHref:t.pathname+e})}"pop"===t.routerAction&&s!==o&&(n[o]=Object.assign(Object.assign({},n[o]),{currentHref:n[o].originalHref}))}const c=r.find((e=>{var t;return $r(e)&&(null===(t=e.props)||void 0===t?void 0:t.tab)===s})),u=this.$refs.ionTabBar,l=s!==o;u&&(c?(l&&this.$props._tabsWillChange(s),e.handleSetCurrentTab(s),u.selectedTab=i.activeTab=s,l&&this.$props._tabsDidChange(s)):u.selectedTab=i.activeTab="")}},mounted(){const e=(0,n.WQ)("navManager");this.setupTabState(e),e.registerHistoryChangeListener((()=>this.checkActiveTab(e)))},setup(e,{slots:t}){return Tt(),()=>(0,n.h)("ion-tab-bar",{ref:"ionTabBar"},t.default&&t.default())}}),(0,o.IJ)([])),Vr=(0,n.pM)(((e,{attrs:t,slots:r})=>(Rt(),()=>(0,n.h)("ion-app",Object.assign({},t),[r.default&&r.default(),...Hr.value]))));Vr.name="IonApp";const Gr=e=>{Hr.value=[...Hr.value,e]},qr=e=>{Hr.value=Hr.value.filter((t=>t!==e))},Wr=(e=Gr,t=qr)=>{const r=new WeakMap,o=(t,o,i={},a)=>{const s=document.createElement("div");a&&s.classList.add(...a),t.appendChild(s);const c=(0,n.h)(n.Im,{to:s},(0,n.h)(o,Object.assign({},i)));return r.set(s,c),e(c),Promise.resolve(s)},i=(e,n)=>{const o=r.get(n);return o&&t(o),Promise.resolve()};return{attachViewToDom:o,removeViewFromDom:i}},Kr=(0,n.pM)((e=>{ie();const t=(0,o.IJ)([]),r=e=>t.value=[...t.value,e],i=e=>t.value=t.value.filter((t=>t!==e)),a=Wr(r,i);return()=>(0,n.h)("ion-nav",Object.assign(Object.assign({},e),{delegate:a}),t.value)}));Kr.name="IonNav",Kr.props={animated:{type:Boolean,default:!0},animation:{type:Function,default:void 0},root:{type:[Function,Object,String],default:void 0},rootParams:{type:Object,default:void 0},swipeGesture:{type:Boolean,default:void 0}};Boolean,Symbol()},67557:(e,t)=>{"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!==typeof e)throw new Error(`boolean expected, not ${e}`)}function o(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}function i(e,...t){if(!o(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function a(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function c(e,t){i(e);const r=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashMD=t.Maj=t.Chi=void 0;const n=r(67557),o=r(99175);function i(e,t,r,n){if("function"===typeof e.setBigUint64)return e.setBigUint64(t,r,n);const o=BigInt(32),i=BigInt(4294967295),a=Number(r>>o&i),s=Number(r&i),c=n?4:0,u=n?0:4;e.setUint32(t+c,a,n),e.setUint32(t+u,s,n)}const a=(e,t,r)=>e&t^~e&r;t.Chi=a;const s=(e,t,r)=>e&t^e&r^t&r;t.Maj=s;class c extends o.Hash{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,o.createView)(this.buffer)}update(e){(0,n.exists)(this);const{view:t,buffer:r,blockLen:i}=this;e=(0,o.toBytes)(e);const a=e.length;for(let n=0;na-c&&(this.process(r,0),c=0);for(let n=c;nf.length)throw new Error("_sha2: outputLen bigger than state");for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;const r=BigInt(2**32-1),n=BigInt(32);function o(e,t=!1){return t?{h:Number(e&r),l:Number(e>>n&r)}:{h:0|Number(e>>n&r),l:0|Number(e&r)}}function i(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);t.toBig=a;const s=(e,t,r)=>e>>>r;t.shrSH=s;const c=(e,t,r)=>e<<32-r|t>>>r;t.shrSL=c;const u=(e,t,r)=>e>>>r|t<<32-r;t.rotrSH=u;const l=(e,t,r)=>e<<32-r|t>>>r;t.rotrSL=l;const d=(e,t,r)=>e<<64-r|t>>>r-32;t.rotrBH=d;const f=(e,t,r)=>e>>>r-32|t<<64-r;t.rotrBL=f;const h=(e,t)=>t;t.rotr32H=h;const p=(e,t)=>e;t.rotr32L=p;const m=(e,t,r)=>e<>>32-r;t.rotlSH=m;const g=(e,t,r)=>t<>>32-r;t.rotlSL=g;const y=(e,t,r)=>t<>>64-r;t.rotlBH=y;const v=(e,t,r)=>e<>>64-r;function b(e,t,r,n){const o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:0|o}}t.rotlBL=v,t.add=b;const w=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);t.add3L=w;const _=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;t.add3H=_;const E=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);t.add4L=E;const A=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0;t.add4H=A;const S=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0);t.add5L=S;const T=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0;t.add5H=T;const x={fromBig:o,split:i,toBig:a,shrSH:s,shrSL:c,rotrSH:u,rotrSL:l,rotrBH:d,rotrBL:f,rotr32H:h,rotr32L:p,rotlSH:m,rotlSL:g,rotlBH:y,rotlBL:v,add:b,add3L:w,add3H:_,add4L:E,add4H:A,add5H:T,add5L:S};t["default"]=x},25145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},39615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;const n=r(67557),o=r(99175);class i extends o.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);const r=(0,o.toBytes)(t);if(this.iHash=e.create(),"function"!==typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,a=new Uint8Array(i);a.set(r.length>i?e.create().update(r).digest():r);for(let n=0;nnew i(e,t).update(r).digest();t.hmac=a,t.hmac.create=(e,t)=>new i(e,t)},93238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ripemd160=t.RIPEMD160=void 0;const n=r(37202),o=r(99175),i=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),a=new Uint8Array(new Array(16).fill(0).map(((e,t)=>t))),s=a.map((e=>(9*e+5)%16));let c=[a],u=[s];for(let v=0;v<4;v++)for(let e of[c,u])e.push(e[v].map((e=>i[e])));const l=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),d=c.map(((e,t)=>e.map((e=>l[t][e])))),f=u.map(((e,t)=>e.map((e=>l[t][e])))),h=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),p=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function m(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const g=new Uint32Array(16);class y extends n.HashMD{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|o}process(e,t){for(let o=0;o<16;o++,t+=4)g[o]=e.getUint32(t,!0);let r=0|this.h0,n=r,i=0|this.h1,a=i,s=0|this.h2,l=s,y=0|this.h3,v=y,b=0|this.h4,w=b;for(let _=0;_<5;_++){const e=4-_,t=h[_],E=p[_],A=c[_],S=u[_],T=d[_],x=f[_];for(let n=0;n<16;n++){const e=(0,o.rotl)(r+m(_,i,s,y)+g[A[n]]+t,T[n])+b|0;r=b,b=y,y=0|(0,o.rotl)(s,10),s=i,i=e}for(let r=0;r<16;r++){const t=(0,o.rotl)(n+m(e,a,l,v)+g[S[r]]+E,x[r])+w|0;n=w,w=v,v=0|(0,o.rotl)(l,10),l=a,a=t}}this.set(this.h1+s+v|0,this.h2+y+w|0,this.h3+b+n|0,this.h4+r+a|0,this.h0+i+l|0)}roundClean(){g.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}t.RIPEMD160=y,t.ripemd160=(0,o.wrapConstructor)((()=>new y))},31549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha1=void 0;const n=r(37202),o=r(99175),i=new Uint32Array([1732584193,4023233417,2562383102,271733878,3285377520]),a=new Uint32Array(80);class s extends n.HashMD{constructor(){super(64,20,8,!1),this.A=0|i[0],this.B=0|i[1],this.C=0|i[2],this.D=0|i[3],this.E=0|i[4]}get(){const{A:e,B:t,C:r,D:n,E:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o}process(e,t){for(let n=0;n<16;n++,t+=4)a[n]=e.getUint32(t,!1);for(let n=16;n<80;n++)a[n]=(0,o.rotl)(a[n-3]^a[n-8]^a[n-14]^a[n-16],1);let{A:r,B:i,C:s,D:c,E:u}=this;for(let l=0;l<80;l++){let e,t;l<20?(e=(0,n.Chi)(i,s,c),t=1518500249):l<40?(e=i^s^c,t=1859775393):l<60?(e=(0,n.Maj)(i,s,c),t=2400959708):(e=i^s^c,t=3395469782);const d=(0,o.rotl)(r,5)+e+u+t+a[l]|0;u=c,c=s,s=(0,o.rotl)(i,30),i=r,r=d}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,c=c+this.D|0,u=u+this.E|0,this.set(r,i,s,c,u)}roundClean(){a.fill(0)}destroy(){this.set(0,0,0,0,0),this.buffer.fill(0)}}t.sha1=(0,o.wrapConstructor)((()=>new s))},22623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;const n=r(37202),o=r(99175),i=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint32Array(64);class c extends n.HashMD{constructor(){super(64,32,8,!1),this.A=0|a[0],this.B=0|a[1],this.C=0|a[2],this.D=0|a[3],this.E=0|a[4],this.F=0|a[5],this.G=0|a[6],this.H=0|a[7]}get(){const{A:e,B:t,C:r,D:n,E:o,F:i,G:a,H:s}=this;return[e,t,r,n,o,i,a,s]}set(e,t,r,n,o,i,a,s){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|i,this.G=0|a,this.H=0|s}process(e,t){for(let n=0;n<16;n++,t+=4)s[n]=e.getUint32(t,!1);for(let n=16;n<64;n++){const e=s[n-15],t=s[n-2],r=(0,o.rotr)(e,7)^(0,o.rotr)(e,18)^e>>>3,i=(0,o.rotr)(t,17)^(0,o.rotr)(t,19)^t>>>10;s[n]=i+s[n-7]+r+s[n-16]|0}let{A:r,B:a,C:c,D:u,E:l,F:d,G:f,H:h}=this;for(let p=0;p<64;p++){const e=(0,o.rotr)(l,6)^(0,o.rotr)(l,11)^(0,o.rotr)(l,25),t=h+e+(0,n.Chi)(l,d,f)+i[p]+s[p]|0,m=(0,o.rotr)(r,2)^(0,o.rotr)(r,13)^(0,o.rotr)(r,22),g=m+(0,n.Maj)(r,a,c)|0;h=f,f=d,d=l,l=u+t|0,u=c,c=a,a=r,r=t+g|0}r=r+this.A|0,a=a+this.B|0,c=c+this.C|0,u=u+this.D|0,l=l+this.E|0,d=d+this.F|0,f=f+this.G|0,h=h+this.H|0,this.set(r,a,c,u,l,d,f,h)}roundClean(){s.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class u extends c{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,o.wrapConstructor)((()=>new c)),t.sha224=(0,o.wrapConstructor)((()=>new u))},30102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512_224=t.sha512=t.SHA512=void 0;const n=r(37202),o=r(22318),i=r(99175),[a,s]=(()=>o.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))))(),c=new Uint32Array(80),u=new Uint32Array(80);class l extends n.HashMD{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:r,Bl:n,Ch:o,Cl:i,Dh:a,Dl:s,Eh:c,El:u,Fh:l,Fl:d,Gh:f,Gl:h,Hh:p,Hl:m}=this;return[e,t,r,n,o,i,a,s,c,u,l,d,f,h,p,m]}set(e,t,r,n,o,i,a,s,c,u,l,d,f,h,p,m){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|o,this.Cl=0|i,this.Dh=0|a,this.Dl=0|s,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|f,this.Gl=0|h,this.Hh=0|p,this.Hl=0|m}process(e,t){for(let o=0;o<16;o++,t+=4)c[o]=e.getUint32(t),u[o]=e.getUint32(t+=4);for(let a=16;a<80;a++){const e=0|c[a-15],t=0|u[a-15],r=o.default.rotrSH(e,t,1)^o.default.rotrSH(e,t,8)^o.default.shrSH(e,t,7),n=o.default.rotrSL(e,t,1)^o.default.rotrSL(e,t,8)^o.default.shrSL(e,t,7),i=0|c[a-2],s=0|u[a-2],l=o.default.rotrSH(i,s,19)^o.default.rotrBH(i,s,61)^o.default.shrSH(i,s,6),d=o.default.rotrSL(i,s,19)^o.default.rotrBL(i,s,61)^o.default.shrSL(i,s,6),f=o.default.add4L(n,d,u[a-7],u[a-16]),h=o.default.add4H(f,r,l,c[a-7],c[a-16]);c[a]=0|h,u[a]=0|f}let{Ah:r,Al:n,Bh:i,Bl:l,Ch:d,Cl:f,Dh:h,Dl:p,Eh:m,El:g,Fh:y,Fl:v,Gh:b,Gl:w,Hh:_,Hl:E}=this;for(let A=0;A<80;A++){const e=o.default.rotrSH(m,g,14)^o.default.rotrSH(m,g,18)^o.default.rotrBH(m,g,41),t=o.default.rotrSL(m,g,14)^o.default.rotrSL(m,g,18)^o.default.rotrBL(m,g,41),S=m&y^~m&b,T=g&v^~g&w,x=o.default.add5L(E,t,T,s[A],u[A]),C=o.default.add5H(x,_,e,S,a[A],c[A]),I=0|x,O=o.default.rotrSH(r,n,28)^o.default.rotrBH(r,n,34)^o.default.rotrBH(r,n,39),P=o.default.rotrSL(r,n,28)^o.default.rotrBL(r,n,34)^o.default.rotrBL(r,n,39),k=r&i^r&d^i&d,N=n&l^n&f^l&f;_=0|b,E=0|w,b=0|y,w=0|v,y=0|m,v=0|g,({h:m,l:g}=o.default.add(0|h,0|p,0|C,0|I)),h=0|d,p=0|f,d=0|i,f=0|l,i=0|r,l=0|n;const R=o.default.add3L(I,P,N);r=o.default.add3H(R,C,O,k),n=0|R}({h:r,l:n}=o.default.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l}=o.default.add(0|this.Bh,0|this.Bl,0|i,0|l)),({h:d,l:f}=o.default.add(0|this.Ch,0|this.Cl,0|d,0|f)),({h,l:p}=o.default.add(0|this.Dh,0|this.Dl,0|h,0|p)),({h:m,l:g}=o.default.add(0|this.Eh,0|this.El,0|m,0|g)),({h:y,l:v}=o.default.add(0|this.Fh,0|this.Fl,0|y,0|v)),({h:b,l:w}=o.default.add(0|this.Gh,0|this.Gl,0|b,0|w)),({h:_,l:E}=o.default.add(0|this.Hh,0|this.Hl,0|_,0|E)),this.set(r,n,i,l,d,f,h,p,m,g,y,v,b,w,_,E)}roundClean(){c.fill(0),u.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.SHA512=l;class d extends l{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends l{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class h extends l{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}t.sha512=(0,i.wrapConstructor)((()=>new l)),t.sha512_224=(0,i.wrapConstructor)((()=>new d)),t.sha512_256=(0,i.wrapConstructor)((()=>new f)),t.sha384=(0,i.wrapConstructor)((()=>new h))},99175:(e,t,r)=>{"use strict"; +/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;const n=r(25145),o=r(67557);function i(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}t.isBytes=i;const a=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t.u8=a;const s=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.u32=s;const c=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);t.createView=c;const u=(e,t)=>e<<32-t|e>>>t;t.rotr=u;const l=(e,t)=>e<>>32-t>>>0;t.rotl=l,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];const d=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function f(e){for(let r=0;re:e=>(0,t.byteSwap)(e),t.byteSwap32=f;const h=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function p(e){(0,o.bytes)(e);let t="";for(let r=0;r=m._0&&e<=m._9?e-m._0:e>=m._A&&e<=m._F?e-(m._A-10):e>=m._a&&e<=m._f?e-(m._a-10):void 0}function y(e){if("string"!==typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let o=0,i=0;o{};async function b(e,r,n){let o=Date.now();for(let i=0;i=0&&ee().update(_(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function C(e){const t=(t,r)=>e(r).update(_(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function I(e){const t=(t,r)=>e(r).update(_(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function O(e=32){if(n.crypto&&"function"===typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}t.checkOpts=T,t.wrapConstructor=x,t.wrapConstructorWithOpts=C,t.wrapXOFConstructorWithOpts=I,t.randomBytes=O},63203:(e,t)=>{"use strict"; +/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function r(e){if(!Number.isSafeInteger(e))throw new Error(`Wrong integer: ${e}`)}function n(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}function o(...e){const t=e=>e,r=(e,t)=>r=>e(t(r)),n=e.map((e=>e.encode)).reduceRight(r,t),o=e.map((e=>e.decode)).reduce(r,t);return{encode:n,decode:o}}function i(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((t=>{if(r(t),t<0||t>=e.length)throw new Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]}))},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((t=>{if("string"!==typeof t)throw new Error(`alphabet.decode: not string element=${t}`);const r=e.indexOf(t);if(-1===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r}))}}}function a(e=""){if("string"!==typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!==typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!==typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function s(e,t="="){if(r(e),"string"!==typeof t)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!==typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!==typeof e)throw new Error(`padding.encode: non-string input=${e}`);while(r.length*e%8)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!==typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!==typeof e)throw new Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function c(e){if("function"!==typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function u(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let o=0;const i=[],a=Array.from(e);a.forEach((e=>{if(r(e),e<0||e>=t)throw new Error(`Wrong integer: ${e}`)}));while(1){let e=0,r=!0;for(let i=o;it?l(t,e%t):e,d=(e,t)=>e+(t-l(e,t));function f(e,t,n,o){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(d(t,n)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${d(t,n)}`);let i=0,a=0;const s=2**n-1,c=[];for(const u of e){if(r(u),u>=2**t)throw new Error(`convertRadix2: invalid data word=${u} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=n;a-=n)c.push((i>>a-n&s)>>>0);i&=2**a-1}if(i=i<=t)throw new Error("Excess padding");if(!o&&i)throw new Error(`Non-zero padding: ${i}`);return o&&a>0&&c.push(i>>>0),c}function h(e){return r(e),{encode:t=>{if(!n(t))throw new Error("radix.encode input should be Uint8Array");return u(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(u(t,e,256))}}}function p(e,t=!1){if(r(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(d(8,e)>32||d(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!n(r))throw new Error("radix2.encode input should be Uint8Array");return f(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!==typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(f(r,e,8,t))}}}function m(e){if("function"!==typeof e)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(r){}}}function g(e,t){if(r(e),"function"!==typeof t)throw new Error("checksum fn should be function");return{encode(r){if(!n(r))throw new Error("checksum.encode: input should be Uint8Array");const o=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(o,r.length),i},decode(r){if(!n(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-e),i=t(o).slice(0,e),a=r.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")))),t.base64=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),s(6),a("")),t.base64url=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),s(6),a("")),t.base64urlnopad=o(p(6),i("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),a(""));const y=e=>o(h(58),i(e),a(""));t.base58=y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=y("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=y("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const v=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let r="";for(let n=0;no(g(4,(t=>e(e(t)))),t.base58);t.createBase58check=b,t.base58check=t.createBase58check;const w=o(i("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),a("")),_=[996825010,642813549,513874426,1027748829,705979059];function E(e){const t=e>>25;let r=(33554431&e)<<5;for(let n=0;n<_.length;n++)1===(t>>n&1)&&(r^=_[n]);return r}function A(e,t,r=1){const n=e.length;let o=1;for(let i=0;i126)throw new Error(`Invalid prefix (${e})`);o=E(o)^t>>5}o=E(o);for(let i=0;in)throw new TypeError(`Length ${o} exceeds limit ${n}`);const i=e.toLowerCase(),a=A(i,r,t);return`${i}1${w.encode(r)}${a}`}function s(e,r=90){if("string"!==typeof e)throw new Error("bech32.decode input should be string, not "+typeof e);if(e.length<8||!1!==r&&e.length>r)throw new TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);const n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");e=n;const o=e.lastIndexOf("1");if(0===o||-1===o)throw new Error('Letter "1" must be present between prefix and data only');const i=e.slice(0,o),a=e.slice(o+1);if(a.length<6)throw new Error("Data must be at least 6 characters long");const s=w.decode(a).slice(0,-6),c=A(i,s,t);if(!a.endsWith(c))throw new Error(`Invalid checksum in ${e}: expected "${c}"`);return{prefix:i,words:s}}const c=m(s);function u(e){const{prefix:t,words:r}=s(e,!1);return{prefix:t,words:r,bytes:n(r)}}return{encode:a,decode:s,decodeToBytes:u,decodeUnsafe:c,fromWords:n,fromWordsUnsafe:i,toWords:o}}t.bech32=S("bech32"),t.bech32m=S("bech32m"),t.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},t.hex=o(p(4),i("0123456789abcdef"),a(""),c((e=>{if("string"!==typeof e||e.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()})));const T={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},x="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr",C=(e,t)=>{if("string"!==typeof e||!T.hasOwnProperty(e))throw new TypeError(x);if(!n(t))throw new TypeError("bytesToString() expects Uint8Array");return T[e].encode(t)};t.bytesToString=C,t.str=t.bytesToString;const I=(e,t)=>{if(!T.hasOwnProperty(e))throw new TypeError(x);if("string"!==typeof t)throw new TypeError("stringToBytes() expects string");return T[e].decode(t)};t.stringToBytes=I,t.bytes=t.stringToBytes},46061:(e,t,r)=>{"use strict";r.d(t,{L2:()=>y,wt:()=>Mt,xr:()=>j,lh:()=>J,$x:()=>Fe,OX:()=>v,Wi:()=>Z,h:()=>D,w$:()=>pt,gv:()=>Xt,iY:()=>X,zb:()=>Lt,bN:()=>Zt});const n={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},o="app";let i,a,s,c,u=0,l=!1,d=!1,f=!1,h=!1,p=null,m=0,g=!1;const y={isDev:!!n.isDev,isBrowser:!0,isServer:!1,isTesting:!!n.isTesting},v=e=>{const t=new URL(e,Bt.$resourcesUrl$);return t.origin!==Nt.location.origin?t.href:t.pathname},b=(e,t="")=>{if(n.profile&&performance.mark){const r=`st:${e}:${t}:${u++}`;return performance.mark(r),()=>performance.measure(`[Stencil] ${e}() <${t}>`,r)}return()=>{}},w=(e,t)=>n.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(t,"measure").length&&performance.measure(t,e)}):()=>{},_="r",E="o",A="s",S="t",T="s-id",x="sty-id",C="c-id",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",O="http://www.w3.org/1999/xlink",P=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],k={},N="http://www.w3.org/2000/svg",R="http://www.w3.org/1999/xhtml",M=e=>null!=e,B=e=>(e=typeof e,"object"===e||"function"===e);function L(e){var t,r,n;return null!==(n=null===(r=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===r?void 0:r.getAttribute("content"))&&void 0!==n?n:void 0}const D=(e,t,...r)=>{let o=null,i=null,a=null,s=!1,c=!1;const u=[],l=t=>{for(let r=0;re[t])).join(" "))}if(n.isDev&&u.some(U)&&xt("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),n.vdomFunctional&&"function"===typeof e)return e(null===t?{}:t,u,$);const d=F(e,null);return d.$attrs$=t,u.length>0&&(d.$children$=u),n.vdomKey&&(d.$key$=i),n.slotRelocation&&(d.$name$=a),d},F=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.vdomAttribute&&(r.$attrs$=null),n.vdomKey&&(r.$key$=null),n.slotRelocation&&(r.$name$=null),r},j={},U=e=>e&&e.$tag$===j,$={forEach:(e,t)=>e.map(z).forEach(t),map:(e,t)=>e.map(z).map(t).map(H)},z=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),H=e=>{if("function"===typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=F(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},V=e=>{const t=Object.keys(e),r=t.indexOf("value");if(-1===r)return;const n=t.indexOf("type"),o=t.indexOf("min"),i=t.indexOf("max"),a=t.indexOf("step");(r should be set after "min", "max", "type" and "step"')},G=(e,t,r,o)=>{const i=b("hydrateClient",t),a=e.shadowRoot,s=[],c=[],u=n.shadowDom&&a?[]:null,l=o.$vnode$=F(t,null);Bt.$orgLocNodes$||W(Rt.body,Bt.$orgLocNodes$=new Map),e[T]=r,e.removeAttribute(T),q(l,s,c,u,e,e,r),s.map((e=>{const r=e.$hostId$+"."+e.$nodeId$,n=Bt.$orgLocNodes$.get(r),o=e.$elm$;n&&Dt&&""===n["s-en"]&&n.parentNode.insertBefore(o,n.nextSibling),a||(o["s-hn"]=t,n&&(o["s-ol"]=n,o["s-ol"]["s-nr"]=o)),Bt.$orgLocNodes$.delete(r)})),n.shadowDom&&a&&u.map((e=>{e&&a.appendChild(e)})),i()},q=(e,t,r,o,i,a,s)=>{let c,u,l,d;if(1===a.nodeType){for(c=a.getAttribute(C),c&&(u=c.split("."),u[0]!==s&&"0"!==u[0]||(l={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(l),a.removeAttribute(C),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l,e=l,o&&"0"===l.$depth$&&(o[l.$index$]=l.$elm$))),d=a.childNodes.length-1;d>=0;d--)q(e,t,r,o,i,a.childNodes[d],s);if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)q(e,t,r,o,i,a.shadowRoot.childNodes[d],s)}else if(8===a.nodeType)u=a.nodeValue.split("."),u[1]!==s&&"0"!==u[1]||(c=u[0],l={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},c===S?(l.$elm$=a.nextSibling,l.$elm$&&3===l.$elm$.nodeType&&(l.$text$=l.$elm$.textContent,t.push(l),a.remove(),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l,o&&"0"===l.$depth$&&(o[l.$index$]=l.$elm$))):l.$hostId$===s&&(c===A?(l.$tag$="slot",u[5]?a["s-sn"]=l.$name$=u[5]:a["s-sn"]="",a["s-sr"]=!0,n.shadowDom&&o&&(l.$elm$=Rt.createElement(l.$tag$),l.$name$&&l.$elm$.setAttribute("name",l.$name$),a.parentNode.insertBefore(l.$elm$,a),a.remove(),"0"===l.$depth$&&(o[l.$index$]=l.$elm$)),r.push(l),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l):c===_&&(n.shadowDom&&o?a.remove():n.slotRelocation&&(i["s-cr"]=a,a["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=F(null,a.textContent);t.$elm$=a,t.$index$="0",e.$children$=[t]}},W=(e,t)=>{if(1===e.nodeType){let r=0;for(;rkt.map((t=>t(e))).find((e=>!!e)),X=e=>kt.push(e),Z=e=>_t(e).$modeName$,Y=(e,t)=>null==e||B(e)?e:n.propBoolean&&4&t?"false"!==e&&(""===e||!!e):n.propNumber&&2&t?parseFloat(e):n.propString&&1&t?String(e):e,Q=e=>n.lazyLoad?_t(e).$hostElement$:e,J=(e,t,r)=>{const o=Q(e);return{emit:e=>(n.isDev&&!o.isConnected&&Ct(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),ee(o,t,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:e}))}},ee=(e,t,r)=>{const n=Bt.ce(t,r);return e.dispatchEvent(n),n},te=new WeakMap,re=(e,t,r)=>{let n=Pt.get(e);Ut&&r?(n=n||new CSSStyleSheet,"string"===typeof n?n=t:n.replaceSync(t)):n=t,Pt.set(e,n)},ne=(e,t,r)=>{var o;const i=ie(t,r),a=Pt.get(i);if(!n.attachStyles)return i;if(e=11===e.nodeType?e:Rt,a)if("string"===typeof a){e=e.head||e;let r,s=te.get(e);if(s||te.set(e,s=new Set),!s.has(i)){if(n.hydrateClientSide&&e.host&&(r=e.querySelector(`[${x}="${i}"]`)))r.innerHTML=a;else{r=Rt.createElement("style"),r.innerHTML=a;const t=null!==(o=Bt.$nonce$)&&void 0!==o?o:L(Rt);null!=t&&r.setAttribute("nonce",t),(n.hydrateServerSide||n.hotModuleReplacement)&&r.setAttribute(x,i),e.insertBefore(r,e.querySelector("link"))}4&t.$flags$&&(r.innerHTML+=I),s&&s.add(i)}}else n.constructableCSS&&!e.adoptedStyleSheets.includes(a)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return i},oe=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,o=t.$flags$,i=b("attachStyles",t.$tagName$),a=ne(n.shadowDom&&Dt&&r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$modeName$);(n.shadowDom||n.scoped)&&n.cssAnnotations&&10&o&&(r["s-sc"]=a,r.classList.add(a+"-h"),n.scoped&&2&o&&r.classList.add(a+"-s")),i()},ie=(e,t)=>"sc-"+(n.mode&&t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),ae=(e,t,r,o,i,a)=>{if(r!==o){let c=At(e,t),u=t.toLowerCase();if(n.vdomClass&&"class"===t){const t=e.classList,n=ce(r),i=ce(o);t.remove(...n.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!n.includes(e))))}else if(n.vdomStyle&&"style"===t){if(n.updatable)for(const t in r)o&&null!=o[t]||(!n.hydrateServerSide&&t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)r&&o[t]===r[t]||(!n.hydrateServerSide&&t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if(n.vdomKey&&"key"===t);else if(n.vdomRef&&"ref"===t)o&&o(e);else if(!n.vdomListener||(n.lazyLoad?c:e.__lookupSetter__(t))||"o"!==t[0]||"n"!==t[1]){if(n.vdomPropOrAttr){const l=B(o);if((c||l&&null!==o)&&!i)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?c=!1:null!=r&&e[t]==n||(e[t]=n)}}catch(s){}let d=!1;n.vdomXlink&&u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,d=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(n.vdomXlink&&d?e.removeAttributeNS(O,t):e.removeAttribute(t)):(!c||4&a||i)&&!l&&(o=!0===o?"":o,n.vdomXlink&&d?e.setAttributeNS(O,t,o):e.setAttribute(t,o))}}else if(t="-"===t[2]?t.slice(3):At(Nt,u)?u.slice(2):u[2]+t.slice(3),r||o){const n=t.endsWith(ue);t=t.replace(le,""),r&&Bt.rel(e,t,r,n),o&&Bt.ael(e,t,o,n)}}},se=/\s/,ce=e=>e?e.split(se):[],ue="Capture",le=new RegExp(ue+"$"),de=(e,t,r,o)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||k,s=t.$attrs$||k;if(n.updatable)for(o in a)o in s||ae(i,o,a[o],void 0,r,t.$flags$);for(o in s)ae(i,o,a[o],s[o],r,t.$flags$)},fe=(e,t,r,o)=>{var c;const u=t.$children$[r];let d,p,m,g=0;if(n.slotRelocation&&!l&&(f=!0,"slot"===u.$tag$&&(i&&o.classList.add(i+"-s"),u.$flags$|=u.$children$?2:1)),n.isDev&&u.$elm$&&xt(`The JSX ${null!==u.$text$?`"${u.$text$}" text`:`"${u.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),n.vdomText&&null!==u.$text$)d=u.$elm$=Rt.createTextNode(u.$text$);else if(n.slotRelocation&&1&u.$flags$)d=u.$elm$=n.isDebug||n.hydrateServerSide?Ie(u):Rt.createTextNode("");else{if(n.svg&&!h&&(h="svg"===u.$tag$),d=u.$elm$=n.svg?Rt.createElementNS(h?N:R,n.slotRelocation&&2&u.$flags$?"slot-fb":u.$tag$):Rt.createElement(n.slotRelocation&&2&u.$flags$?"slot-fb":u.$tag$),n.svg&&h&&"foreignObject"===u.$tag$&&(h=!1),n.vdomAttribute&&de(null,u,h),(n.shadowDom||n.scoped)&&M(i)&&d["s-si"]!==i&&d.classList.add(d["s-si"]=i),u.$children$)for(g=0;g{Bt.$flags$|=1;const t=e.closest(s.toLowerCase());if(null!=t){const r=Array.from(t.childNodes).find((e=>e["s-cr"])),n=Array.from(e.childNodes);for(const e of r?n.reverse():n)null!=e["s-sh"]&&(t.insertBefore(e,null!==r&&void 0!==r?r:null),e["s-sh"]=void 0,f=!0)}Bt.$flags$&=-2},pe=(e,t)=>{Bt.$flags$|=1;const r=Array.from(e.childNodes);if(e["s-sr"]&&n.experimentalSlotFixes){let t=e;while(t=t.nextSibling)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===s&&r.push(t)}for(let n=r.length-1;n>=0;n--){const e=r[n];e["s-hn"]!==s&&e["s-ol"]&&(we(e).insertBefore(e,be(e)),e["s-ol"].remove(),e["s-ol"]=void 0,e["s-sh"]=void 0,f=!0),t&&pe(e,t)}Bt.$flags$&=-2},me=(e,t,r,o,i,a)=>{let c,u=n.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(n.shadowDom&&u.shadowRoot&&u.tagName===s&&(u=u.shadowRoot);i<=a;++i)o[i]&&(c=fe(null,r,i,e),c&&(o[i].$elm$=c,u.insertBefore(c,n.slotRelocation?be(t):t)))},ge=(e,t,r)=>{for(let o=t;o<=r;++o){const t=e[o];if(t){const e=t.$elm$;xe(t),e&&(n.slotRelocation&&(d=!0,e["s-ol"]?e["s-ol"].remove():pe(e,!0)),e.remove())}}},ye=(e,t,r,o,i=!1)=>{let a,s,c=0,u=0,l=0,d=0,f=t.length-1,h=t[0],p=t[f],m=o.length-1,g=o[0],y=o[m];while(c<=f&&u<=m)if(null==h)h=t[++c];else if(null==p)p=t[--f];else if(null==g)g=o[++u];else if(null==y)y=o[--m];else if(ve(h,g,i))_e(h,g,i),h=t[++c],g=o[++u];else if(ve(p,y,i))_e(p,y,i),p=t[--f],y=o[--m];else if(ve(h,y,i))!n.slotRelocation||"slot"!==h.$tag$&&"slot"!==y.$tag$||pe(h.$elm$.parentNode,!1),_e(h,y,i),e.insertBefore(h.$elm$,p.$elm$.nextSibling),h=t[++c],y=o[--m];else if(ve(p,g,i))!n.slotRelocation||"slot"!==h.$tag$&&"slot"!==y.$tag$||pe(p.$elm$.parentNode,!1),_e(p,g,i),e.insertBefore(p.$elm$,h.$elm$),p=t[--f],g=o[++u];else{if(l=-1,n.vdomKey)for(d=c;d<=f;++d)if(t[d]&&null!==t[d].$key$&&t[d].$key$===g.$key$){l=d;break}n.vdomKey&&l>=0?(s=t[l],s.$tag$!==g.$tag$?a=fe(t&&t[u],r,l,e):(_e(s,g,i),t[l]=void 0,a=s.$elm$),g=o[++u]):(a=fe(t&&t[u],r,u,e),g=o[++u]),a&&(n.slotRelocation?we(h.$elm$).insertBefore(a,be(h.$elm$)):h.$elm$.parentNode.insertBefore(a,h.$elm$))}c>f?me(e,null==o[m+1]?null:o[m+1].$elm$,r,o,u,m):n.updatable&&u>m&&ge(t,c,f)},ve=(e,t,r=!1)=>e.$tag$===t.$tag$&&(n.slotRelocation&&"slot"===e.$tag$?e.$name$===t.$name$:!(n.vdomKey&&!r)||e.$key$===t.$key$),be=e=>e&&e["s-ol"]||e,we=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_e=(e,t,r=!1)=>{const o=t.$elm$=e.$elm$,i=e.$children$,a=t.$children$,s=t.$tag$,c=t.$text$;let u;n.vdomText&&null!==c?n.vdomText&&n.slotRelocation&&(u=o["s-cr"])?u.parentNode.textContent=c:n.vdomText&&e.$text$!==c&&(o.data=c):(n.svg&&(h="svg"===s||"foreignObject"!==s&&h),(n.vdomAttribute||n.reflect)&&(n.slot&&"slot"===s&&!l?n.experimentalSlotFixes&&e.$name$!==t.$name$&&(t.$elm$["s-sn"]=t.$name$||"",he(t.$elm$.parentElement)):de(e,t,h)),n.updatable&&null!==i&&null!==a?ye(o,i,t,a,r):null!==a?(n.updatable&&n.vdomText&&null!==e.$text$&&(o.textContent=""),me(o,null,t,a,0,a.length-1)):n.updatable&&null!==i&&ge(i,0,i.length-1),n.svg&&h&&"svg"===s&&(h=!1))},Ee=e=>{const t=e.childNodes;for(const r of t)if(1===r.nodeType){if(r["s-sr"]){const e=r["s-sn"];r.hidden=!1;for(const n of t)if(n!==r)if(n["s-hn"]!==r["s-hn"]||""!==e){if(1===n.nodeType&&(e===n.getAttribute("slot")||e===n["s-sn"])){r.hidden=!0;break}}else if(1===n.nodeType||3===n.nodeType&&""!==n.textContent.trim()){r.hidden=!0;break}}Ee(r)}},Ae=[],Se=e=>{let t,r,o;for(const i of e.childNodes){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;const e=i["s-sn"];for(o=r.length-1;o>=0;o--)if(t=r[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"]&&(!n.experimentalSlotFixes||!t["s-sh"]||t["s-sh"]!==i["s-hn"]))if(Te(t,e)){let r=Ae.find((e=>e.$nodeToRelocate$===t));d=!0,t["s-sn"]=t["s-sn"]||e,r?(r.$nodeToRelocate$["s-sh"]=i["s-hn"],r.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],Ae.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&Ae.map((e=>{Te(e.$nodeToRelocate$,t["s-sn"])&&(r=Ae.find((e=>e.$nodeToRelocate$===t)),r&&!e.$slotRefNode$&&(e.$slotRefNode$=r.$slotRefNode$))}))}else Ae.some((e=>e.$nodeToRelocate$===t))||Ae.push({$nodeToRelocate$:t})}1===i.nodeType&&Se(i)}},Te=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,xe=e=>{n.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(xe))},Ce=(e,t,r=!1)=>{var o,c,u,h,p;const m=e.$hostElement$,g=e.$cmpMeta$,y=e.$vnode$||F(null,null),v=U(t)?t:D(null,null,t);if(s=m.tagName,n.isDev&&Array.isArray(t)&&t.some(U))throw new Error(`The must be the single root component.\nLooks like the render() function of "${s.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(n.reflect&&g.$attrsToReflect$&&(v.$attrs$=v.$attrs$||{},g.$attrsToReflect$.map((([e,t])=>v.$attrs$[t]=m[e]))),r&&v.$attrs$)for(const n of Object.keys(v.$attrs$))m.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(v.$attrs$[n]=m[n]);if(v.$tag$=null,v.$flags$|=4,e.$vnode$=v,v.$elm$=y.$elm$=n.shadowDom&&m.shadowRoot||m,(n.scoped||n.shadowDom)&&(i=m["s-sc"]),l=Dt&&0!==(1&g.$flags$),n.slotRelocation&&(a=m["s-cr"],d=!1),_e(y,v,r),n.slotRelocation){if(Bt.$flags$|=1,f){Se(v.$elm$);for(const e of Ae){const t=e.$nodeToRelocate$;if(!t["s-ol"]){const e=n.isDebug||n.hydrateServerSide?Oe(t):Rt.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Ae){const t=e.$nodeToRelocate$,i=e.$slotRefNode$;if(i){const e=i.parentNode;let r=i.nextSibling;if(!n.experimentalSlotFixes||r&&1===r.nodeType){let n=null===(o=t["s-ol"])||void 0===o?void 0:o.previousSibling;while(n){let o=null!==(c=n["s-nr"])&&void 0!==c?c:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){r=o;break}n=n.previousSibling}}(!r&&e!==t.parentNode||t.nextSibling!==r)&&t!==r&&(n.experimentalSlotFixes||t["s-hn"]||!t["s-ol"]||(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,r),1===t.nodeType&&(t.hidden=null!==(u=t["s-ih"])&&void 0!==u&&u)),t&&"function"===typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(h=t.hidden)&&void 0!==h&&h),t.hidden=!0)}}d&&Ee(v.$elm$),Bt.$flags$&=-2,Ae.length=0}if(n.experimentalScopedSlotChanges&&2&g.$flags$)for(const n of v.$elm$.childNodes)n["s-hn"]===s||n["s-sh"]||(r&&null==n["s-ih"]&&(n["s-ih"]=null!==(p=n.hidden)&&void 0!==p&&p),n.hidden=!0);a=void 0},Ie=e=>Rt.createComment(` (host=${s.toLowerCase()})`),Oe=e=>Rt.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`)),Pe=(e,t)=>{n.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},ke=(e,t)=>{if(n.taskQueue&&n.updatable&&(e.$flags$|=16),n.asyncLoading&&4&e.$flags$)return void(e.$flags$|=512);Pe(e,e.$ancestorComponent$);const r=()=>Ne(e,t);return n.taskQueue?Zt(r):r()},Ne=(e,t)=>{const r=e.$hostElement$,o=b("scheduleUpdate",e.$cmpMeta$.$tagName$),i=n.lazyLoad?e.$lazyInstance$:r;let a;return t?(n.lazyLoad&&n.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((([e,t])=>Ue(i,e,t))),e.$queuedListeners$=void 0)),$e(r,"componentWillLoad"),n.cmpWillLoad&&(a=Ue(i,"componentWillLoad"))):($e(r,"componentWillUpdate"),n.cmpWillUpdate&&(a=Ue(i,"componentWillUpdate"))),$e(r,"componentWillRender"),n.cmpWillRender&&(a=Re(a,(()=>Ue(i,"componentWillRender")))),o(),Re(a,(()=>Be(e,i,t)))},Re=(e,t)=>Me(e)?e.then(t):t(),Me=e=>e instanceof Promise||e&&e.then&&"function"===typeof e.then,Be=async(e,t,r)=>{var o;const i=e.$hostElement$,a=b("update",e.$cmpMeta$.$tagName$),s=i["s-rc"];n.style&&r&&oe(e);const c=b("render",e.$cmpMeta$.$tagName$);if(n.isDev&&(e.$flags$|=1024),n.hydrateServerSide?await Le(e,t,i,r):Le(e,t,i,r),n.isDev&&(e.$renderCount$=void 0===e.$renderCount$?1:e.$renderCount$+1,e.$flags$&=-1025),n.hydrateServerSide)try{He(i),r&&(1&e.$cmpMeta$.$flags$?i["s-en"]="":2&e.$cmpMeta$.$flags$&&(i["s-en"]="c"))}catch(u){St(u,i)}if(n.asyncLoading&&s&&(s.map((e=>e())),i["s-rc"]=void 0),c(),a(),n.asyncLoading){const t=null!==(o=i["s-p"])&&void 0!==o?o:[],r=()=>De(e);0===t.length?r():(Promise.all(t).then(r),e.$flags$|=4,t.length=0)}else De(e)},Le=(e,t,r,o)=>{const i=!!n.allRenderFn,a=!!n.lazyLoad,s=!!n.taskQueue,c=!!n.updatable;try{if(p=t,t=(i||t.render)&&t.render(),c&&s&&(e.$flags$&=-17),(c||a)&&(e.$flags$|=2),n.hasRenderFn||n.reflect)if(n.vdomRender||n.reflect){if(n.hydrateServerSide)return Promise.resolve(t).then((t=>Ce(e,t,o)));Ce(e,t,o)}else{const n=r.shadowRoot;1&e.$cmpMeta$.$flags$?n.textContent=t:r.textContent=t}}catch(u){St(u,e.$hostElement$)}return p=null,null},De=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,o=b("postUpdate",t),i=n.lazyLoad?e.$lazyInstance$:r,a=e.$ancestorComponent$;n.cmpDidRender&&(n.isDev&&(e.$flags$|=1024),Ue(i,"componentDidRender"),n.isDev&&(e.$flags$&=-1025)),$e(r,"componentDidRender"),64&e.$flags$?(n.cmpDidUpdate&&(n.isDev&&(e.$flags$|=1024),Ue(i,"componentDidUpdate"),n.isDev&&(e.$flags$&=-1025)),$e(r,"componentDidUpdate"),o()):(e.$flags$|=64,n.asyncLoading&&n.cssAnnotations&&ze(r),n.cmpDidLoad&&(n.isDev&&(e.$flags$|=2048),Ue(i,"componentDidLoad"),n.isDev&&(e.$flags$&=-2049)),$e(r,"componentDidLoad"),o(),n.asyncLoading&&(e.$onReadyResolve$(r),a||je(t))),n.method&&n.lazyLoad&&e.$onInstanceResolve$(r),n.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Kt((()=>ke(e,!1))),e.$flags$&=-517)},Fe=e=>{if(n.updatable&&(y.isBrowser||y.isTesting)){const t=_t(e),r=t.$hostElement$.isConnected;return r&&2===(18&t.$flags$)&&ke(t,!1),r}return!1},je=e=>{n.cssAnnotations&&ze(Rt.documentElement),n.asyncQueue&&(Bt.$flags$|=2),Kt((()=>ee(Nt,"appload",{detail:{namespace:o}}))),n.profile&&performance.measure&&performance.measure(`[Stencil] ${o} initial load (by ${e})`,"st:app:start")},Ue=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(n){St(n)}},$e=(e,t)=>{n.lifecycleDOMEvents&&ee(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:o}})},ze=e=>n.hydratedClass?e.classList.add("hydrated"):n.hydratedAttribute?e.setAttribute("hydrated",""):void 0,He=e=>{const t=e.children;if(null!=t)for(let r=0,n=t.length;r_t(e).$instanceValues$.get(t),Ge=(e,t,r,o)=>{const i=_t(e),a=n.lazyLoad?i.$hostElement$:e,s=i.$instanceValues$.get(t),c=i.$flags$,u=n.lazyLoad?i.$lazyInstance$:a;r=Y(r,o.$members$[t][0]);const l=Number.isNaN(s)&&Number.isNaN(r),d=r!==s&&!l;if((!n.lazyLoad||!(8&c)||void 0===s)&&d&&(i.$instanceValues$.set(t,r),n.isDev&&(1024&i.$flags$?Ct(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",a,"\nNew value",r,"\nOld value",s):2048&i.$flags$&&Ct(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",a,"\nNew value",r,"\nOld value",s)),!n.lazyLoad||u)){if(n.watchCallback&&o.$watchers$&&128&c){const e=o.$watchers$[t];e&&e.map((e=>{try{u[e](r,s,t)}catch(n){St(n,a)}}))}if(n.updatable&&2===(18&c)){if(n.cmpShouldUpdate&&u.componentShouldUpdate&&!1===u.componentShouldUpdate(r,s,t))return;ke(i,!1)}}},qe=(e,t,r)=>{var o;const i=e.prototype;if(n.formAssociated&&64&t.$flags$&&1&r&&P.forEach((e=>Object.defineProperty(i,e,{value(...t){const r=_t(this),o=n.lazyLoad?r.$hostElement$:this,i=n.lazyLoad?r.$lazyInstance$:o;if(i){const r=i[e];"function"===typeof r&&r.call(i,...t)}else r.$onReadyPromise$.then((r=>{const n=r[e];"function"===typeof n&&n.call(r,...t)}))}}))),n.member&&t.$members$){n.watchCallback&&e.watchers&&(t.$watchers$=e.watchers);const a=Object.entries(t.$members$);if(a.map((([e,[o]])=>{(n.prop||n.state)&&(31&o||(!n.lazyLoad||2&r)&&32&o)?Object.defineProperty(i,e,{get(){return Ve(this,e)},set(i){if(n.isDev){const n=_t(this);0===(1&r)&&0===(n&&8&n.$flags$)&&0!==(31&o)&&0===(1024&o)&&Ct(`@Prop() "${e}" on <${t.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}Ge(this,e,i,t)},configurable:!0,enumerable:!0}):n.lazyLoad&&n.method&&1&r&&64&o&&Object.defineProperty(i,e,{value(...t){var r;const n=_t(this);return null===(r=null===n||void 0===n?void 0:n.$onInstancePromise$)||void 0===r?void 0:r.then((()=>{var r;return null===(r=n.$lazyInstance$)||void 0===r?void 0:r[e](...t)}))}})})),n.observeAttribute&&(!n.lazyLoad||1&r)){const r=new Map;i.attributeChangedCallback=function(e,o,a){Bt.jmp((()=>{var s;const c=r.get(e);if(this.hasOwnProperty(c))a=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"===typeof this[c]&&this[c]==a)return;if(null==c){const r=_t(this),i=null===r||void 0===r?void 0:r.$flags$;if(i&&!(8&i)&&128&i&&a!==o){const i=n.lazyLoad?r.$hostElement$:this,c=n.lazyLoad?r.$lazyInstance$:i,u=null===(s=t.$watchers$)||void 0===s?void 0:s[e];null===u||void 0===u||u.forEach((t=>{null!=c[t]&&c[t].call(c,a,o,e)}))}return}}this[c]=(null!==a||"boolean"!==typeof this[c])&&a}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(o=t.$watchers$)&&void 0!==o?o:{}),...a.filter((([e,t])=>15&t[0])).map((([e,o])=>{var i;const a=o[1]||e;return r.set(a,e),n.reflect&&512&o[0]&&(null===(i=t.$attrsToReflect$)||void 0===i||i.push([e,a])),a}))]))}}return e},We=async(e,t,o,i)=>{let a;if(0===(32&t.$flags$)){t.$flags$|=32;const s=o.$lazyBundleId$;if((n.lazyLoad||n.hydrateClientSide)&&s){if(a=Ot(o,t,i),a.then){const e=w(`st:load:${o.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${o.$tagName$}>`);a=await a,e()}if((n.isDev||n.isDebug)&&!a)throw new Error(`Constructor for "${o.$tagName$}#${t.$modeName$}" was not found`);n.member&&!a.isProxied&&(n.watchCallback&&(o.$watchers$=a.watchers),qe(a,o,2),a.isProxied=!0);const e=b("createInstance",o.$tagName$);n.member&&(t.$flags$|=8);try{new a(t)}catch(u){St(u)}n.member&&(t.$flags$&=-9),n.watchCallback&&(t.$flags$|=128),e(),Ke(t.$lazyInstance$)}else a=e.constructor,customElements.whenDefined(o.$tagName$).then((()=>t.$flags$|=128));if(n.style&&a.style){let i=a.style;n.mode&&"string"!==typeof i&&(i=i[t.$modeName$=K(e)],n.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));const s=ie(o,t.$modeName$);if(!Pt.has(s)){const e=b("registerStyles",o.$tagName$);!n.hydrateServerSide&&n.shadowDom&&n.shadowDomShim&&8&o.$flags$&&(i=await r.e(504).then(r.bind(r,92169)).then((e=>e.scopeCss(i,s,!1)))),re(s,i,!!(1&o.$flags$)),e()}}}const s=t.$ancestorComponent$,c=()=>ke(t,!0);n.asyncLoading&&s&&s["s-rc"]?s["s-rc"].push(c):c()},Ke=e=>{n.lazyLoad&&n.connectedCallback&&Ue(e,"connectedCallback")},Xe=e=>{if(0===(1&Bt.$flags$)){const t=_t(e),r=t.$cmpMeta$,o=b("connectedCallback",r.$tagName$);if(n.hostListenerTargetParent&&mt(e,t,r.$listeners$,!0),1&t.$flags$)mt(e,t,r.$listeners$,!1),(null===t||void 0===t?void 0:t.$lazyInstance$)?Ke(t.$lazyInstance$):(null===t||void 0===t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>Ke(t.$lazyInstance$)));else{let o;if(t.$flags$|=1,n.hydrateClientSide&&(o=e.getAttribute(T),o)){if(n.shadowDom&&Dt&&1&r.$flags$){const t=n.mode?ne(e.shadowRoot,r,e.getAttribute("s-mode")):ne(e.shadowRoot,r);e.classList.remove(t+"-h",t+"-s")}G(e,r.$tagName$,o,t)}if(n.slotRelocation&&!o&&(n.hydrateServerSide||(n.slot||n.shadowDom)&&12&r.$flags$)&&Ze(e),n.asyncLoading){let r=e;while(r=r.parentNode||r.host)if(n.hydrateClientSide&&1===r.nodeType&&r.hasAttribute("s-id")&&r["s-p"]||r["s-p"]){Pe(t,t.$ancestorComponent$=r);break}}n.prop&&!n.hydrateServerSide&&r.$members$&&Object.entries(r.$members$).map((([t,[r]])=>{if(31&r&&e.hasOwnProperty(t)){const r=e[t];delete e[t],e[t]=r}})),n.initializeNextTick?Kt((()=>We(e,t,r))):We(e,t,r)}o()}},Ze=e=>{const t=e["s-cr"]=Rt.createComment(n.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Ye=e=>{n.lazyLoad&&n.disconnectedCallback&&Ue(e,"disconnectedCallback"),n.cmpDidUnload&&Ue(e,"componentDidUnload")},Qe=async e=>{if(0===(1&Bt.$flags$)){const t=_t(e);n.hostListener&&t.$rmListeners$&&(t.$rmListeners$.map((e=>e())),t.$rmListeners$=void 0),n.lazyLoad?(null===t||void 0===t?void 0:t.$lazyInstance$)?Ye(t.$lazyInstance$):(null===t||void 0===t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>Ye(t.$lazyInstance$))):Ye(e)}},Je=(e,t)=>{et(e),tt(e),ot(e),nt(e),st(e),it(e),at(e),ct(e),ut(e,t),rt(e)},et=e=>{const t=e.cloneNode;e.cloneNode=function(e){const r=this,o=!!n.shadowDom&&(r.shadowRoot&&Dt),i=t.call(r,!!o&&e);if(n.slot&&!o&&e){let e,t,o=0;const a=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf"];for(;o!r.childNodes[o][e])),e&&(n.appendChildSlotFix&&i.__appendChild?i.__appendChild(e.cloneNode(!0)):i.appendChild(e.cloneNode(!0))),t&&i.appendChild(r.childNodes[o].cloneNode(!0))}return i}},tt=e=>{e.__appendChild=e.appendChild,e.appendChild=function(e){const t=e["s-sn"]=dt(e),r=ft(this.childNodes,t);if(r){const n=ht(r,t),o=n[n.length-1],i=o.parentNode.insertBefore(e,o.nextSibling);return Ee(this),i}return this.__appendChild(e)}},rt=e=>{e.__removeChild=e.removeChild,e.removeChild=function(e){if(e&&"undefined"!==typeof e["s-sn"]){const t=ft(this.childNodes,e["s-sn"]);if(t){const r=ht(t,e["s-sn"]),n=r.find((t=>t===e));if(n)return n.remove(),void Ee(this)}}return this.__removeChild(e)}},nt=e=>{const t=e.prepend;e.prepend=function(...e){e.forEach((e=>{"string"===typeof e&&(e=this.ownerDocument.createTextNode(e));const r=e["s-sn"]=dt(e),n=ft(this.childNodes,r);if(n){const t=document.createTextNode("");t["s-nr"]=e,n["s-cr"].parentNode.__appendChild(t),e["s-ol"]=t;const o=ht(n,r),i=o[0];return i.parentNode.insertBefore(e,i.nextSibling)}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.call(this,e)}))}},ot=e=>{e.append=function(...e){e.forEach((e=>{"string"===typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)}))}},it=e=>{const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,r);const n=this.ownerDocument.createElement("_");let o;if(n.innerHTML=r,"afterbegin"===e)while(o=n.firstChild)this.prepend(o);else if("beforeend"===e)while(o=n.firstChild)this.append(o)}},at=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},st=e=>{const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,r):"afterbegin"===e?(this.prepend(r),r):"beforeend"===e?(this.append(r),r):r}},ct=e=>{const t=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",t),n.experimentalScopedSlotChanges?Object.defineProperty(e,"textContent",{get(){const e=lt(this.childNodes),t=e.map((e=>{var t,r;const n=[];let o=e.nextSibling;while(o&&o["s-sn"]===e["s-sn"])3!==o.nodeType&&1!==o.nodeType||n.push(null!==(r=null===(t=o.textContent)||void 0===t?void 0:t.trim())&&void 0!==r?r:""),o=o.nextSibling;return n.filter((e=>""!==e)).join(" ")})).filter((e=>""!==e)).join(" ");return" "+t+" "},set(e){const t=lt(this.childNodes);t.forEach((t=>{let r=t.nextSibling;while(r&&r["s-sn"]===t["s-sn"]){const e=r;r=r.nextSibling,e.remove()}if(""===t["s-sn"]){const r=this.ownerDocument.createTextNode(e);r["s-sn"]="",t.parentElement.insertBefore(r,t.nextSibling)}else t.remove()}))}}):Object.defineProperty(e,"textContent",{get(){var e;const t=ft(this.childNodes,"");return 3===(null===(e=null===t||void 0===t?void 0:t.nextSibling)||void 0===e?void 0:e.nodeType)?t.nextSibling.textContent:t?t.textContent:this.__textContent},set(e){var t;const r=ft(this.childNodes,"");if(3===(null===(t=null===r||void 0===r?void 0:r.nextSibling)||void 0===t?void 0:t.nodeType))r.nextSibling.textContent=e;else if(r)r.textContent=e;else{this.__textContent=e;const t=this["s-cr"];t&&this.insertBefore(t,this.firstChild)}}})},ut=(e,t)=>{class r extends Array{item(e){return this[e]}}if(8&t.$flags$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get(){return e.children.length}}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0===(1&Bt.$flags$)&&2&_t(this).$flags$){const t=new r;for(let r=0;r{const t=[];for(const r of Array.from(e))r["s-sr"]&&t.push(r),t.push(...lt(r.childNodes));return t},dt=e=>e["s-sn"]||1===e.nodeType&&e.getAttribute("slot")||"",ft=(e,t)=>{let r,n=0;for(;n{const r=[e];while((e=e.nextSibling)&&e["s-sn"]===t)r.push(e);return r},pt=(e,t)=>{const r={$flags$:t[0],$tagName$:t[1]};n.member&&(r.$members$=t[2]),n.hostListener&&(r.$listeners$=t[3]),n.watchCallback&&(r.$watchers$=e.$watchers$),n.reflect&&(r.$attrsToReflect$=[]),n.shadowDom&&!Dt&&1&r.$flags$&&(r.$flags$|=8),n.experimentalSlotFixes?n.scoped&&2&r.$flags$&&Je(e.prototype,r):(n.slotChildNodesFix&&ut(e.prototype,r),n.cloneNodeFix&&et(e.prototype),n.appendChildSlotFix&&tt(e.prototype),n.scopedSlotTextContentFix&&2&r.$flags$&&ct(e.prototype));const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){Et(this,r)},connectedCallback(){Xe(this),n.connectedCallback&&o&&o.call(this)},disconnectedCallback(){Qe(this),n.disconnectedCallback&&i&&i.call(this)},__attachShadow(){Dt?n.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),e.is=r.$tagName$,qe(e,r,3)},mt=(e,t,r,o)=>{n.hostListener&&r&&(n.hostListenerTargetParent&&(r=o?r.filter((([e])=>32&e)):r.filter((([e])=>!(32&e)))),r.map((([r,o,i])=>{const a=n.hostListenerTarget?yt(e,r):e,s=gt(t,i),c=vt(r);Bt.ael(a,o,s,c),(t.$rmListeners$=t.$rmListeners$||[]).push((()=>Bt.rel(a,o,s,c)))})))},gt=(e,t)=>r=>{try{n.lazyLoad?256&e.$flags$?e.$lazyInstance$[t](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r]):e.$hostElement$[t](r)}catch(o){St(o)}},yt=(e,t)=>n.hostListenerTargetDocument&&4&t?Rt:n.hostListenerTargetWindow&&8&t?Nt:n.hostListenerTargetBody&&16&t?Rt.body:n.hostListenerTargetParent&&32&t?e.parentElement:e,vt=e=>Ft?{passive:0!==(1&e),capture:0!==(2&e)}:0!==(2&e);var bt;const wt=n.hotModuleReplacement?(bt=window).__STENCIL_HOSTREFS__||(bt.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,_t=e=>wt.get(e),Et=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.isDev&&(r.$renderCount$=0),n.method&&n.lazyLoad&&(r.$onInstancePromise$=new Promise((e=>r.$onInstanceResolve$=e))),n.asyncLoading&&(r.$onReadyPromise$=new Promise((e=>r.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[]),mt(e,r,t.$listeners$,!1),wt.set(e,r)},At=(e,t)=>t in e,St=(e,t)=>(c||console.error)(e,t),Tt=n.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],xt=(...e)=>console.error(...Tt,...e),Ct=(...e)=>console.warn(...Tt,...e),It=new Map,Ot=(e,t,o)=>{const i=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$;if(n.isDev&&"string"!==typeof a)return void xt(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);const s=!n.hotModuleReplacement&&It.get(a);return s?s[i]:r(3199)(`./${a}.entry.js${n.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((e=>(n.hotModuleReplacement||It.set(a,e),e[i])),St) +/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Pt=new Map,kt=[],Nt="undefined"!==typeof window?window:{},Rt=Nt.document||{head:{}},Mt=Nt.HTMLElement||class{},Bt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,n)=>e.addEventListener(t,r,n),rel:(e,t,r,n)=>e.removeEventListener(t,r,n),ce:(e,t)=>new CustomEvent(e,t)},Lt=e=>{Object.assign(Bt,e)},Dt=!n.shadowDomShim||!n.shadowDom||(()=>(Rt.head.attachShadow+"").indexOf("[native")>-1)(),Ft=(()=>{let e=!1;try{Rt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),jt=e=>Promise.resolve(e),Ut=!!n.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),$t=[],zt=[],Ht=[],Vt=(e,t)=>r=>{e.push(r),g||(g=!0,t&&4&Bt.$flags$?Kt(Wt):Bt.raf(Wt))},Gt=e=>{for(let r=0;r{let r=0,n=0;while(r{if(n.asyncQueue&&m++,Gt($t),n.asyncQueue){const e=2===(6&Bt.$flags$)?performance.now()+14*Math.ceil(.1*m):1/0;qt(zt,e),qt(Ht,e),zt.length>0&&(Ht.push(...zt),zt.length=0),(g=$t.length+zt.length+Ht.length>0)?Bt.raf(Wt):m=0}else Gt(zt),(g=$t.length>0)&&Bt.raf(Wt)},Kt=e=>jt().then(e),Xt=Vt($t,!1),Zt=Vt(zt,!0)},92169:(e,t,r)=>{"use strict";r.r(t),r.d(t,{scopeCss:()=>Y});const n=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=e=>{const t=[];let r=0;e=e.replace(/(\[[^\]]*\])/g,((e,n)=>{const o=`__ph-${r}__`;return t.push(n),r++,o}));const n=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,n,o)=>{const i=`__ph-${r}__`;return t.push(o),r++,n+i})),o={content:n,placeholders:t};return o},i=(e,t)=>t.replace(/__ph-(\d+)__/g,((t,r)=>e[+r])),a="-shadowcsshost",s="-shadowcssslotted",c="-shadowcsscontext",u=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",l=new RegExp("("+a+u,"gim"),d=new RegExp("("+c+u,"gim"),f=new RegExp("("+s+u,"gim"),h=a+"-no-combinator",p=/-shadowcsshost-no-combinator([^\s]*)/,m=[/::shadow/g,/::content/g],g="([>\\s~+[.,{:][\\s\\S]*)?$",y=/-shadowcsshost/gim,v=e=>new RegExp(`((?e.replace(E,""),S=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,T=e=>e.match(S)||[],x=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,C=/([{}])/g,I=/(^.*?[^\\])??((:+)(.*)|$)/,O="{",P="}",k="%BLOCK%",N=(e,t)=>{const r=R(e);let n=0;return r.escapedString.replace(x,((...e)=>{const o=e[2];let i="",a=e[4],s="";a&&a.startsWith("{"+k)&&(i=r.blocks[n++],a=a.substring(k.length+1),s="{");const c={selector:o,content:i},u=t(c);return`${e[1]}${u.selector}${e[3]}${s}${u.content}${a}`}))},R=e=>{const t=e.split(C),r=[],n=[];let o=0,i=[];for(let s=0;s0?i.push(e):(i.length>0&&(n.push(i.join("")),r.push(k),i=[]),r.push(e)),e===O&&o++}i.length>0&&(n.push(i.join("")),r.push(k));const a={escapedString:r.join(""),blocks:n};return a},M=e=>(e=e.replace(_,`$1${c}`).replace(w,`$1${a}`).replace(b,`$1${s}`),e),B=(e,t,r)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),n=[];for(let o=0;oe+t.replace(a,"")+r,D=e=>B(e,l,L),F=(e,t,r)=>t.indexOf(a)>-1?L(e,t,r):e+t+r+", "+t+" "+e+r,j=(e,t)=>{const r="."+t+" > ",n=[];return e=e.replace(f,((...e)=>{if(e[2]){const t=e[2].trim(),o=e[3],i=r+t+o;let a="";for(let r=e[4]-1;r>=0;r--){const t=e[5][r];if("}"===t||","===t)break;a=t+a}const s=(a+i).trim(),c=`${a.trimEnd()}${i.trim()}`.trim();if(s!==c){const e=`${c}, ${s}`;n.push({orgSelector:s,updatedSelector:e})}return i}return h+e[3]})),{selectors:n,cssText:e}},U=e=>B(e,d,F),$=e=>m.reduce(((e,t)=>e.replace(t," ")),e),z=e=>{const t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+g,"m")},H=(e,t)=>{const r=z(t);return!r.test(e)},V=(e,t)=>e.replace(I,((e,r="",n,o="",i="")=>r+t+o+i)),G=(e,t,r)=>{if(y.lastIndex=0,y.test(e)){const t=`.${r}`;return e.replace(p,((e,r)=>V(r,t))).replace(y,t+" ")}return t+" "+e},q=(e,t,r)=>{const n=/\[is=([^\]]*)\]/g;t=t.replace(n,((e,...t)=>t[0]));const a="."+t,s=e=>{let n=e.trim();if(!n)return"";if(e.indexOf(h)>-1)n=G(e,t,r);else{const t=e.replace(y,"");t.length>0&&(n=V(t,a))}return n},c=o(e);e=c.content;let u,l="",d=0;const f=/( |>|\+|~(?!=))\s*/g,p=e.indexOf(h)>-1;let m=!p;while(null!==(u=f.exec(e))){const t=u[1],r=e.slice(d,u.index).trim();m=m||r.indexOf(h)>-1;const n=m?s(r):r;l+=`${n} ${t} `,d=f.lastIndex}const g=e.substring(d);return m=m||g.indexOf(h)>-1,l+=m?s(g):g,i(c.placeholders,l)},W=(e,t,r,n)=>e.split(",").map((e=>n&&e.indexOf("."+n)>-1?e.trim():H(e,t)?q(e,t,r).trim():e.trim())).join(", "),K=(e,t,r,n,o)=>N(e,(e=>{let o=e.selector,i=e.content;"@"!==e.selector[0]?o=W(e.selector,t,r,n):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=K(e.content,t,r,n));const a={selector:o.replace(/\s{2,}/g," ").trim(),content:i};return a})),X=(e,t,r,n,o)=>{e=M(e),e=D(e),e=U(e);const i=j(e,n);return e=i.cssText,e=$(e),t&&(e=K(e,t,r,n)),e=Z(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors.map((e=>({orgSelector:Z(e.orgSelector,r),updatedSelector:Z(e.updatedSelector,r)})))}},Z=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),Y=(e,t,r)=>{const o=t+"-h",i=t+"-s",a=T(e);e=A(e);const s=[];if(r){const t=e=>{const t=`/*!@___${s.length}___*/`,r=`/*!@${e.selector}*/`;return s.push({placeholder:t,comment:r}),e.selector=t+e.selector,e};e=N(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=N(e.content,t),e):e))}const c=X(e,t,o,i);return e=[c.cssText,...a].join("\n"),r&&s.forEach((({placeholder:t,comment:r})=>{e=e.replace(t,r)})),c.slottedSelectors.forEach((t=>{const r=new RegExp(n(t.orgSelector),"g");e=e.replace(r,t.updatedSelector)})),e}; +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + * + * This file is a port of shadowCSS from `webcomponents.js` to TypeScript. + * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js + * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts + */},3505:(e,t,r)=>{"use strict";r.d(t,{mw:()=>i});function n(e){return null===e||void 0===e}function o(e){return Array.isArray(e)&&0===e.length}const i=e=>!n(e)&&!o(e)&&!1!==e&&!!String(e).trim().length},50953:(e,t,r)=>{"use strict";r.d(t,{BA:()=>Fe,C4:()=>v,EW:()=>Oe,Gc:()=>ye,IG:()=>Te,IJ:()=>Me,KR:()=>Re,Kh:()=>ge,Pr:()=>Ue,R1:()=>De,X2:()=>l,bl:()=>b,fE:()=>Ee,g8:()=>we,hZ:()=>P,i9:()=>Ne,ju:()=>Ae,lW:()=>He,o5:()=>u,tB:()=>ve,u4:()=>O,uY:()=>s,ux:()=>Se,yC:()=>a});var n=r(90033); +/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let o,i;class a{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,r;for(t=0,r=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),b()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=m,t=i;try{return m=!0,i=this,this._runnings++,f(this),this.fn()}finally{h(this),this._runnings--,i=t,m=e}}stop(){var e;this.active&&(f(this),h(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function d(e){return e.value}function f(e){e._trackId++,e._depsLength=0}function h(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},x=new WeakMap,C=Symbol(""),I=Symbol("");function O(e,t,r){if(m&&i){let t=x.get(e);t||x.set(e,t=new Map);let n=t.get(r);n||t.set(r,n=T((()=>t.delete(r)))),E(i,n,void 0)}}function P(e,t,r,o,i,a){const s=x.get(e);if(!s)return;let c=[];if("clear"===t)c=[...s.values()];else if("length"===r&&(0,n.cy)(e)){const e=Number(o);s.forEach(((t,r)=>{("length"===r||!(0,n.Bm)(r)&&r>=e)&&c.push(t)}))}else switch(void 0!==r&&c.push(s.get(r)),t){case"add":(0,n.cy)(e)?(0,n.yI)(r)&&c.push(s.get("length")):(c.push(s.get(C)),(0,n.CE)(e)&&c.push(s.get(I)));break;case"delete":(0,n.cy)(e)||(c.push(s.get(C)),(0,n.CE)(e)&&c.push(s.get(I)));break;case"set":(0,n.CE)(e)&&c.push(s.get(C));break}w();for(const n of c)n&&S(n,4,void 0);_()}function k(e,t){var r;return null==(r=x.get(e))?void 0:r.get(t)}const N=(0,n.pD)("__proto__,__v_isRef,__isVue"),R=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(n.Bm)),M=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const r=Se(this);for(let t=0,o=this.length;t{e[t]=function(...e){v(),w();const r=Se(this)[t].apply(this,e);return _(),b(),r}})),e}function L(e){const t=Se(this);return O(t,"has",e),t.hasOwnProperty(e)}class D{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,r){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return r===(o?i?he:fe:i?de:le).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const a=(0,n.cy)(e);if(!o){if(a&&(0,n.$3)(M,t))return Reflect.get(M,t,r);if("hasOwnProperty"===t)return L}const s=Reflect.get(e,t,r);return((0,n.Bm)(t)?R.has(t):N(t))?s:(o||O(e,"get",t),i?s:Ne(s)?a&&(0,n.yI)(t)?s:s.value:(0,n.Gv)(s)?o?ve(s):ge(s):s)}}class F extends D{constructor(e=!1){super(!1,e)}set(e,t,r,o){let i=e[t];if(!this._isShallow){const t=_e(i);if(Ee(r)||_e(r)||(i=Se(i),r=Se(r)),!(0,n.cy)(e)&&Ne(i)&&!Ne(r))return!t&&(i.value=r,!0)}const a=(0,n.cy)(e)&&(0,n.yI)(t)?Number(t)e,V=e=>Reflect.getPrototypeOf(e);function G(e,t,r=!1,o=!1){e=e["__v_raw"];const i=Se(e),a=Se(t);r||((0,n.$H)(t,a)&&O(i,"get",t),O(i,"get",a));const{has:s}=V(i),c=o?H:r?Ce:xe;return s.call(i,t)?c(e.get(t)):s.call(i,a)?c(e.get(a)):void(e!==i&&e.get(t))}function q(e,t=!1){const r=this["__v_raw"],o=Se(r),i=Se(e);return t||((0,n.$H)(e,i)&&O(o,"has",e),O(o,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function W(e,t=!1){return e=e["__v_raw"],!t&&O(Se(e),"iterate",C),Reflect.get(e,"size",e)}function K(e){e=Se(e);const t=Se(this),r=V(t),n=r.has.call(t,e);return n||(t.add(e),P(t,"add",e,e)),this}function X(e,t){t=Se(t);const r=Se(this),{has:o,get:i}=V(r);let a=o.call(r,e);a||(e=Se(e),a=o.call(r,e));const s=i.call(r,e);return r.set(e,t),a?(0,n.$H)(t,s)&&P(r,"set",e,t,s):P(r,"add",e,t),this}function Z(e){const t=Se(this),{has:r,get:n}=V(t);let o=r.call(t,e);o||(e=Se(e),o=r.call(t,e));const i=n?n.call(t,e):void 0,a=t.delete(e);return o&&P(t,"delete",e,void 0,i),a}function Y(){const e=Se(this),t=0!==e.size,r=void 0,n=e.clear();return t&&P(e,"clear",void 0,void 0,r),n}function Q(e,t){return function(r,n){const o=this,i=o["__v_raw"],a=Se(i),s=t?H:e?Ce:xe;return!e&&O(a,"iterate",C),i.forEach(((e,t)=>r.call(n,s(e),s(t),o)))}}function J(e,t,r){return function(...o){const i=this["__v_raw"],a=Se(i),s=(0,n.CE)(a),c="entries"===e||e===Symbol.iterator&&s,u="keys"===e&&s,l=i[e](...o),d=r?H:t?Ce:xe;return!t&&O(a,"iterate",u?I:C),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function ee(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function te(){const e={get(e){return G(this,e)},get size(){return W(this)},has:q,add:K,set:X,delete:Z,clear:Y,forEach:Q(!1,!1)},t={get(e){return G(this,e,!1,!0)},get size(){return W(this)},has:q,add:K,set:X,delete:Z,clear:Y,forEach:Q(!1,!0)},r={get(e){return G(this,e,!0)},get size(){return W(this,!0)},has(e){return q.call(this,e,!0)},add:ee("add"),set:ee("set"),delete:ee("delete"),clear:ee("clear"),forEach:Q(!0,!1)},n={get(e){return G(this,e,!0,!0)},get size(){return W(this,!0)},has(e){return q.call(this,e,!0)},add:ee("add"),set:ee("set"),delete:ee("delete"),clear:ee("clear"),forEach:Q(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=J(o,!1,!1),r[o]=J(o,!0,!1),t[o]=J(o,!1,!0),n[o]=J(o,!0,!0)})),[e,r,t,n]}const[re,ne,oe,ie]=te();function ae(e,t){const r=t?e?ie:oe:e?ne:re;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,n.$3)(r,o)&&o in t?r:t,o,i)}const se={get:ae(!1,!1)},ce={get:ae(!1,!0)},ue={get:ae(!0,!1)};const le=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap;function pe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function me(e){return e["__v_skip"]||!Object.isExtensible(e)?0:pe((0,n.Zf)(e))}function ge(e){return _e(e)?e:be(e,!1,U,se,le)}function ye(e){return be(e,!1,z,ce,de)}function ve(e){return be(e,!0,$,ue,fe)}function be(e,t,r,o,i){if(!(0,n.Gv)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const a=i.get(e);if(a)return a;const s=me(e);if(0===s)return e;const c=new Proxy(e,2===s?o:r);return i.set(e,c),c}function we(e){return _e(e)?we(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function _e(e){return!(!e||!e["__v_isReadonly"])}function Ee(e){return!(!e||!e["__v_isShallow"])}function Ae(e){return we(e)||_e(e)}function Se(e){const t=e&&e["__v_raw"];return t?Se(t):e}function Te(e){return Object.isExtensible(e)&&(0,n.yQ)(e,"__v_skip",!0),e}const xe=e=>(0,n.Gv)(e)?ge(e):e,Ce=e=>(0,n.Gv)(e)?ve(e):e;class Ie{constructor(e,t,r,n){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this.effect=new l((()=>e(this._value)),(()=>ke(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!n,this["__v_isReadonly"]=r}get value(){const e=Se(this);return e._cacheable&&!e.effect.dirty||!(0,n.$H)(e._value,e._value=e.effect.run())||ke(e,4),Pe(e),e.effect._dirtyLevel>=2&&ke(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Oe(e,t,r=!1){let o,i;const a=(0,n.Tn)(e);a?(o=e,i=n.tE):(o=e.get,i=e.set);const s=new Ie(o,i,a||!i,r);return s}function Pe(e){var t;m&&i&&(e=Se(e),E(i,null!=(t=e.dep)?t:e.dep=T((()=>e.dep=void 0),e instanceof Ie?e:void 0),void 0))}function ke(e,t=4,r){e=Se(e);const n=e.dep;n&&S(n,t,void 0)}function Ne(e){return!(!e||!0!==e.__v_isRef)}function Re(e){return Be(e,!1)}function Me(e){return Be(e,!0)}function Be(e,t){return Ne(e)?e:new Le(e,t)}class Le{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Se(e),this._value=t?e:xe(e)}get value(){return Pe(this),this._value}set value(e){const t=this.__v_isShallow||Ee(e)||_e(e);e=t?e:Se(e),(0,n.$H)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:xe(e),ke(this,4,e))}}function De(e){return Ne(e)?e.value:e}function Fe(e){return(0,n.Tn)(e)?e():De(e)}const je={get:(e,t,r)=>De(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Ne(o)&&!Ne(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Ue(e){return we(e)?e:new Proxy(e,je)}class $e{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return k(Se(this._object),this._key)}}class ze{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function He(e,t,r){return Ne(e)?e:(0,n.Tn)(e)?new ze(e):(0,n.Gv)(e)&&arguments.length>1?Ve(e,t,r):Re(e)}function Ve(e,t,r){const n=e[t];return Ne(n)?n:new $e(e,t,r)}},20641:(e,t,r)=>{"use strict";r.d(t,{$V:()=>Se,$u:()=>je,$y:()=>W,CE:()=>yr,Df:()=>_e,EW:()=>an,EY:()=>sr,FK:()=>ar,Fv:()=>Pr,Gt:()=>_t,Gy:()=>de,Ic:()=>Fe,Im:()=>or,K9:()=>zt,KC:()=>Le,Lk:()=>Sr,MZ:()=>we,OW:()=>ye,Q3:()=>kr,QP:()=>he,Qi:()=>B,RG:()=>Ke,Tb:()=>Ze,WQ:()=>Et,Wv:()=>vr,bF:()=>Tr,bo:()=>se,dY:()=>v,eW:()=>Or,eX:()=>We,g2:()=>G,h:()=>sn,hi:()=>$e,jt:()=>L,k6:()=>D,nI:()=>$r,nT:()=>ee,pI:()=>qe,pM:()=>Ee,pR:()=>me,qL:()=>a,sV:()=>De,uX:()=>fr,v6:()=>Br,wB:()=>re,xo:()=>Ue});var n=r(50953),o=r(90033);function i(e,t,r,n){try{return n?e(...n):e()}catch(o){s(o,t,r)}}function a(e,t,r,n){if((0,o.Tn)(e)){const a=i(e,t,r,n);return a&&(0,o.yL)(a)&&a.catch((e=>{s(e,t,r)})),a}const c=[];for(let o=0;o>>1,o=d[n],i=x(o);if&&d.splice(t,1)}function A(e){(0,o.cy)(e)?h.push(...e):p&&p.includes(e,e.allowRecurse?m+1:m)||h.push(e),_()}function S(e,t,r=(u?f+1:0)){for(0;rx(e)-x(t)));if(h.length=0,p)return void p.push(...e);for(p=e,m=0;mnull==e.id?1/0:e.id,C=(e,t)=>{const r=x(e)-x(t);if(0===r){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function I(e){l=!1,u=!0,d.sort(C);o.tE;try{for(f=0;f(0,o.Kg)(e)?e.trim():e))),t&&(i=r.map(o.bB))}let u;let l=n[u=(0,o.rU)(t)]||n[u=(0,o.rU)((0,o.PT)(t))];!l&&s&&(l=n[u=(0,o.rU)((0,o.Tg)(t))]),l&&a(l,e,6,i);const d=n[u+"Once"];if(d){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,a(d,e,6,i)}}function P(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(void 0!==i)return i;const a=e.emits;let s={},c=!1;if(!(0,o.Tn)(e)){const n=e=>{const r=P(e,t,!0);r&&(c=!0,(0,o.X$)(s,r))};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return a||c?((0,o.cy)(a)?a.forEach((e=>s[e]=null)):(0,o.X$)(s,a),(0,o.Gv)(e)&&n.set(e,s),s):((0,o.Gv)(e)&&n.set(e,null),null)}function k(e,t){return!(!e||!(0,o.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,o.$3)(e,(0,o.Tg)(t))||(0,o.$3)(e,t))}let N=null,R=null;function M(e){const t=N;return N=e,R=e&&e.type.__scopeId||null,t}function B(e){R=e}function L(){R=null}function D(e,t=N,r){if(!t)return e;if(e._n)return e;const n=(...r)=>{n._d&&mr(-1);const o=M(t);let i;try{i=e(...r)}finally{M(o),n._d&&mr(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function F(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[c],slots:u,attrs:l,emit:d,render:f,renderCache:h,data:p,setupState:m,ctx:g,inheritAttrs:y}=e;let v,b;const w=M(e);try{if(4&r.shapeFlag){const e=i||n,t=e;v=Nr(f.call(t,e,h,a,m,p,g)),b=l}else{const e=t;0,v=Nr(e.length>1?e(a,{attrs:l,slots:u,emit:d}):e(a,null)),b=t.props?l:j(l)}}catch(E){lr.length=0,s(E,e,1),v=Tr(cr)}let _=v;if(b&&!1!==y){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(c&&e.some(o.CP)&&(b=U(b,c)),_=Ir(_,b))}return r.dirs&&(_=Ir(_),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),v=_,M(w),v}const j=e=>{let t;for(const r in e)("class"===r||"style"===r||(0,o.Mp)(r))&&((t||(t={}))[r]=e[r]);return t},U=(e,t)=>{const r={};for(const n in e)(0,o.CP)(n)&&n.slice(9)in t||(r[n]=e[n]);return r};function $(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(r&&c>=0))return!(!o&&!s||s&&s.$stable)||n!==a&&(n?!a||z(n,a,u):!!a);if(1024&c)return!0;if(16&c)return n?z(n,a,u):!!a;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function Y(e,t){t&&t.pendingBranch?(0,o.cy)(e)?t.effects.push(...e):t.effects.push(e):A(e)}const Q=Symbol.for("v-scx"),J=()=>{{const e=Et(Q);return e}};function ee(e,t){return ne(e,null,t)}const te={};function re(e,t,r){return ne(e,t,r)}function ne(e,t,{immediate:r,deep:s,flush:c,once:u,onTrack:l,onTrigger:d}=o.MZ){if(t&&u){const e=t;t=(...t)=>{e(...t),x()}}const f=Ur,h=e=>!0===s?e:ae(e,!1===s?1:void 0);let p,m,g=!1,y=!1;if((0,n.i9)(e)?(p=()=>e.value,g=(0,n.fE)(e)):(0,n.g8)(e)?(p=()=>h(e),g=!0):(0,o.cy)(e)?(y=!0,g=e.some((e=>(0,n.g8)(e)||(0,n.fE)(e))),p=()=>e.map((e=>(0,n.i9)(e)?e.value:(0,n.g8)(e)?h(e):(0,o.Tn)(e)?i(e,f,2):void 0))):p=(0,o.Tn)(e)?t?()=>i(e,f,2):()=>(m&&m(),a(e,f,3,[b])):o.tE,t&&s){const e=p;p=()=>ae(e())}let v,b=e=>{m=S.onStop=()=>{i(e,f,4),m=S.onStop=void 0}};if(Xr){if(b=o.tE,t?r&&a(t,f,3,[p(),y?[]:void 0,b]):p(),"sync"!==c)return o.tE;{const e=J();v=e.__watcherHandles||(e.__watcherHandles=[])}}let _=y?new Array(e.length).fill(te):te;const E=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(s||g||(y?e.some(((e,t)=>(0,o.$H)(e,_[t]))):(0,o.$H)(e,_)))&&(m&&m(),a(t,f,3,[e,_===te?void 0:y&&_[0]===te?[]:_,b]),_=e)}else S.run()};let A;E.allowRecurse=!!t,"sync"===c?A=E:"post"===c?A=()=>$t(E,f&&f.suspense):(E.pre=!0,f&&(E.id=f.uid),A=()=>w(E));const S=new n.X2(p,o.tE,A),T=(0,n.o5)(),x=()=>{S.stop(),T&&(0,o.TF)(T.effects,S)};return t?r?E():_=S.run():"post"===c?$t(S.run.bind(S),f&&f.suspense):S.run(),v&&v.push(x),x}function oe(e,t,r){const n=this.proxy,i=(0,o.Kg)(e)?e.includes(".")?ie(n,e):()=>n[e]:e.bind(n,n);let a;(0,o.Tn)(t)?a=t:(a=t.handler,r=t);const s=Vr(this),c=ne(i,a.bind(n),r);return s(),c}function ie(e,t){const r=t.split(".");return()=>{let t=e;for(let e=0;e0){if(r>=t)return e;r++}if(i=i||new Set,i.has(e))return e;if(i.add(e),(0,n.i9)(e))ae(e.value,t,r,i);else if((0,o.cy)(e))for(let n=0;n{ae(e,t,r,i)}));else if((0,o.Qd)(e))for(const n in e)ae(e[n],t,r,i);return e}function se(e,t){if(null===N)return e;const r=rn(N)||N.proxy,n=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ue((()=>{e.isUnmounting=!0})),e}const fe=[Function,Array],he={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fe,onEnter:fe,onAfterEnter:fe,onEnterCancelled:fe,onBeforeLeave:fe,onLeave:fe,onAfterLeave:fe,onLeaveCancelled:fe,onBeforeAppear:fe,onAppear:fe,onAfterAppear:fe,onAppearCancelled:fe},pe={name:"BaseTransition",props:he,setup(e,{slots:t}){const r=$r(),o=de();return()=>{const i=t.default&&_e(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==cr){0,a=t,e=!0;break}}const s=(0,n.ux)(e),{mode:c}=s;if(o.isLeaving)return ve(a);const u=be(a);if(!u)return ve(a);const l=ye(u,s,o,r);we(u,l);const d=r.subTree,f=d&&be(d);if(f&&f.type!==cr&&!wr(u,f)){const e=ye(f,s,o,r);if(we(f,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==r.update.active&&(r.effect.dirty=!0,r.update())},ve(a);"in-out"===c&&u.type!==cr&&(e.delayLeave=(e,t,r)=>{const n=ge(o,f);n[String(f.key)]=f,e[ue]=()=>{t(),e[ue]=void 0,delete l.delayedLeave},l.delayedLeave=r})}return a}}},me=pe;function ge(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ye(e,t,r,n){const{appear:i,mode:s,persisted:c=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:y,onAppear:v,onAfterAppear:b,onAppearCancelled:w}=t,_=String(e.key),E=ge(r,e),A=(e,t)=>{e&&a(e,n,9,t)},S=(e,t)=>{const r=t[1];A(e,t),(0,o.cy)(e)?e.every((e=>e.length<=1))&&r():e.length<=1&&r()},T={mode:s,persisted:c,beforeEnter(t){let n=u;if(!r.isMounted){if(!i)return;n=y||u}t[ue]&&t[ue](!0);const o=E[_];o&&wr(e,o)&&o.el[ue]&&o.el[ue](),A(n,[t])},enter(e){let t=l,n=d,o=f;if(!r.isMounted){if(!i)return;t=v||l,n=b||d,o=w||f}let a=!1;const s=e[le]=t=>{a||(a=!0,A(t?o:n,[e]),T.delayedLeave&&T.delayedLeave(),e[le]=void 0)};t?S(t,[e,s]):s()},leave(t,n){const o=String(e.key);if(t[le]&&t[le](!0),r.isUnmounting)return n();A(h,[t]);let i=!1;const a=t[ue]=r=>{i||(i=!0,n(),A(r?g:m,[t]),t[ue]=void 0,E[o]===e&&delete E[o])};E[o]=e,p?S(p,[t,a]):a()},clone(e){return ye(e,t,r,n)}};return T}function ve(e){if(xe(e))return e=Ir(e),e.children=null,e}function be(e){return xe(e)?e.children?e.children[0]:void 0:e}function we(e,t){6&e.shapeFlag&&e.component?we(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _e(e,t=!1,r){let n=[],o=0;for(let i=0;i1)for(let i=0;i(0,o.X$)({name:e.name},t,{setup:e}))():e}const Ae=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function Se(e){(0,o.Tn)(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:i,delay:a=200,timeout:c,suspensible:u=!0,onError:l}=e;let d,f=null,h=0;const p=()=>(h++,f=null,m()),m=()=>{let e;return f||(e=f=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,r)=>{const n=()=>t(p()),o=()=>r(e);l(e,n,o,h+1)}));throw e})).then((t=>e!==f&&f?f:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),d=t,t))))};return Ee({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return d},setup(){const e=Ur;if(d)return()=>Te(d,e);const t=t=>{f=null,s(t,e,13,!i)};if(u&&e.suspense||Xr)return m().then((t=>()=>Te(t,e))).catch((e=>(t(e),()=>i?Tr(i,{error:e}):null)));const o=(0,n.KR)(!1),l=(0,n.KR)(),h=(0,n.KR)(!!a);return a&&setTimeout((()=>{h.value=!1}),a),null!=c&&setTimeout((()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${c}ms.`);t(e),l.value=e}}),c),m().then((()=>{o.value=!0,e.parent&&xe(e.parent.vnode)&&(e.parent.effect.dirty=!0,w(e.parent.update))})).catch((e=>{t(e),l.value=e})),()=>o.value&&d?Te(d,e):l.value&&i?Tr(i,{error:l.value}):r&&!h.value?Tr(r):void 0}})}function Te(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=Tr(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}const xe=e=>e.type.__isKeepAlive;RegExp,RegExp;function Ce(e,t){return(0,o.cy)(e)?e.some((e=>Ce(e,t))):(0,o.Kg)(e)?e.split(",").includes(t):!!(0,o.gd)(e)&&e.test(t)}function Ie(e,t){Pe(e,"a",t)}function Oe(e,t){Pe(e,"da",t)}function Pe(e,t,r=Ur){const n=e.__wdc||(e.__wdc=()=>{let t=r;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(Me(t,n,r),r){let e=r.parent;while(e&&e.parent)xe(e.parent.vnode)&&ke(n,t,r,e),e=e.parent}}function ke(e,t,r,n){const i=Me(t,e,n,!0);$e((()=>{(0,o.TF)(n[t],i)}),r)}function Ne(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Re(e){return 128&e.shapeFlag?e.ssContent:e}function Me(e,t,r=Ur,o=!1){if(r){const i=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;(0,n.C4)();const i=Vr(r),s=a(t,r,e,o);return i(),(0,n.bl)(),s});return o?i.unshift(s):i.push(s),s}}const Be=e=>(t,r=Ur)=>(!Xr||"sp"===e)&&Me(e,((...e)=>t(...e)),r),Le=Be("bm"),De=Be("m"),Fe=Be("bu"),je=Be("u"),Ue=Be("bum"),$e=Be("um"),ze=Be("sp"),He=Be("rtg"),Ve=Be("rtc");function Ge(e,t=Ur){Me("ec",e,t)}function qe(e,t,r,n){let i;const a=r&&r[n];if((0,o.cy)(e)||(0,o.Kg)(e)){i=new Array(e.length);for(let r=0,n=e.length;rt(e,r,void 0,a&&a[r])));else{const r=Object.keys(e);i=new Array(r.length);for(let n=0,o=r.length;n{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return e}function Ke(e,t,r={},n,o){if(N.isCE||N.parent&&Ae(N.parent)&&N.parent.isCE)return"default"!==t&&(r.name=t),Tr("slot",r,n&&n());let i=e[t];i&&i._c&&(i._d=!1),fr();const a=i&&Xe(i(r)),s=vr(ar,{key:r.key||a&&a.key||`_${t}`},a||(n?n():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Xe(e){return e.some((e=>!br(e)||e.type!==cr&&!(e.type===ar&&!Xe(e.children))))?e:null}function Ze(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:(0,o.rU)(n)]=e[n];return r}const Ye=e=>e?qr(e)?rn(e)||e.proxy:Ye(e.parent):null,Qe=(0,o.X$)(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=>Ye(e.parent),$root:e=>Ye(e.root),$emit:e=>e.emit,$options:e=>st(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,w(e.update)}),$nextTick:e=>e.n||(e.n=v.bind(e.proxy)),$watch:e=>oe.bind(e)}),Je=(e,t)=>e!==o.MZ&&!e.__isScriptSetup&&(0,o.$3)(e,t),et={get({_:e},t){const{ctx:r,setupState:i,data:a,props:s,accessCache:c,type:u,appContext:l}=e;let d;if("$"!==t[0]){const n=c[t];if(void 0!==n)switch(n){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return s[t]}else{if(Je(i,t))return c[t]=1,i[t];if(a!==o.MZ&&(0,o.$3)(a,t))return c[t]=2,a[t];if((d=e.propsOptions[0])&&(0,o.$3)(d,t))return c[t]=3,s[t];if(r!==o.MZ&&(0,o.$3)(r,t))return c[t]=4,r[t];rt&&(c[t]=0)}}const f=Qe[t];let h,p;return f?("$attrs"===t&&(0,n.u4)(e,"get",t),f(e)):(h=u.__cssModules)&&(h=h[t])?h:r!==o.MZ&&(0,o.$3)(r,t)?(c[t]=4,r[t]):(p=l.config.globalProperties,(0,o.$3)(p,t)?p[t]:void 0)},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return Je(i,t)?(i[t]=r,!0):n!==o.MZ&&(0,o.$3)(n,t)?(n[t]=r,!0):!(0,o.$3)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=r,!0))},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},s){let c;return!!r[s]||e!==o.MZ&&(0,o.$3)(e,s)||Je(t,s)||(c=a[0])&&(0,o.$3)(c,s)||(0,o.$3)(n,s)||(0,o.$3)(Qe,s)||(0,o.$3)(i.config.globalProperties,s)},defineProperty(e,t,r){return null!=r.get?e._.accessCache[t]=0:(0,o.$3)(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function tt(e){return(0,o.cy)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let rt=!0;function nt(e){const t=st(e),r=e.proxy,i=e.ctx;rt=!1,t.beforeCreate&&it(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:c,watch:u,provide:l,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:g,activated:y,deactivated:v,beforeDestroy:b,beforeUnmount:w,destroyed:_,unmounted:E,render:A,renderTracked:S,renderTriggered:T,errorCaptured:x,serverPrefetch:C,expose:I,inheritAttrs:O,components:P,directives:k,filters:N}=t,R=null;if(d&&ot(d,i,R),c)for(const n in c){const e=c[n];(0,o.Tn)(e)&&(i[n]=e.bind(r))}if(a){0;const t=a.call(r,r);0,(0,o.Gv)(t)&&(e.data=(0,n.Kh)(t))}if(rt=!0,s)for(const n in s){const e=s[n],t=(0,o.Tn)(e)?e.bind(r,r):(0,o.Tn)(e.get)?e.get.bind(r,r):o.tE;0;const a=!(0,o.Tn)(e)&&(0,o.Tn)(e.set)?e.set.bind(r):o.tE,c=an({get:t,set:a});Object.defineProperty(i,n,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(u)for(const n in u)at(u[n],i,r,n);if(l){const e=(0,o.Tn)(l)?l.call(r):l;Reflect.ownKeys(e).forEach((t=>{_t(t,e[t])}))}function M(e,t){(0,o.cy)(t)?t.forEach((t=>e(t.bind(r)))):t&&e(t.bind(r))}if(f&&it(f,e,"c"),M(Le,h),M(De,p),M(Fe,m),M(je,g),M(Ie,y),M(Oe,v),M(Ge,x),M(Ve,S),M(He,T),M(Ue,w),M($e,E),M(ze,C),(0,o.cy)(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>r[e],set:t=>r[e]=t})}))}else e.exposed||(e.exposed={});A&&e.render===o.tE&&(e.render=A),null!=O&&(e.inheritAttrs=O),P&&(e.components=P),k&&(e.directives=k)}function ot(e,t,r=o.tE){(0,o.cy)(e)&&(e=ft(e));for(const i in e){const r=e[i];let a;a=(0,o.Gv)(r)?"default"in r?Et(r.from||i,r.default,!0):Et(r.from||i):Et(r),(0,n.i9)(a)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[i]=a}}function it(e,t,r){a((0,o.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,r)}function at(e,t,r,n){const i=n.includes(".")?ie(r,n):()=>r[n];if((0,o.Kg)(e)){const r=t[e];(0,o.Tn)(r)&&re(i,r)}else if((0,o.Tn)(e))re(i,e.bind(r));else if((0,o.Gv)(e))if((0,o.cy)(e))e.forEach((e=>at(e,t,r,n)));else{const n=(0,o.Tn)(e.handler)?e.handler.bind(r):t[e.handler];(0,o.Tn)(n)&&re(i,n,e)}else 0}function st(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,c=a.get(t);let u;return c?u=c:i.length||r||n?(u={},i.length&&i.forEach((e=>ct(u,e,s,!0))),ct(u,t,s)):u=t,(0,o.Gv)(t)&&a.set(t,u),u}function ct(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&ct(e,i,r,!0),o&&o.forEach((t=>ct(e,t,r,!0)));for(const a in t)if(n&&"expose"===a);else{const n=ut[a]||r&&r[a];e[a]=n?n(e[a],t[a]):t[a]}return e}const ut={data:lt,props:mt,emits:mt,methods:pt,computed:pt,beforeCreate:ht,created:ht,beforeMount:ht,mounted:ht,beforeUpdate:ht,updated:ht,beforeDestroy:ht,beforeUnmount:ht,destroyed:ht,unmounted:ht,activated:ht,deactivated:ht,errorCaptured:ht,serverPrefetch:ht,components:pt,directives:pt,watch:gt,provide:lt,inject:dt};function lt(e,t){return t?e?function(){return(0,o.X$)((0,o.Tn)(e)?e.call(this,this):e,(0,o.Tn)(t)?t.call(this,this):t)}:t:e}function dt(e,t){return pt(ft(e),ft(t))}function ft(e){if((0,o.cy)(e)){const t={};for(let r=0;r1)return r&&(0,o.Tn)(t)?t.call(n&&n.proxy):t}else 0}function At(e,t,r,i=!1){const a={},s={};(0,o.yQ)(s,_r,1),e.propsDefaults=Object.create(null),Tt(e,t,a,s);for(const n in e.propsOptions[0])n in a||(a[n]=void 0);r?e.props=i?a:(0,n.Gc)(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function St(e,t,r,i){const{props:a,attrs:s,vnode:{patchFlag:c}}=e,u=(0,n.ux)(a),[l]=e.propsOptions;let d=!1;if(!(i||c>0)||16&c){let n;Tt(e,t,a,s)&&(d=!0);for(const i in u)t&&((0,o.$3)(t,i)||(n=(0,o.Tg)(i))!==i&&(0,o.$3)(t,n))||(l?!r||void 0===r[i]&&void 0===r[n]||(a[i]=xt(l,u,i,void 0,e,!0)):delete a[i]);if(s!==u)for(const e in s)t&&(0,o.$3)(t,e)||(delete s[e],d=!0)}else if(8&c){const r=e.vnode.dynamicProps;for(let n=0;n{u=!0;const[r,n]=Ct(e,t,!0);(0,o.X$)(s,r),n&&c.push(...n)};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!a&&!u)return(0,o.Gv)(e)&&n.set(e,o.Oj),o.Oj;if((0,o.cy)(a))for(let d=0;d-1,n[1]=r<0||e-1||(0,o.$3)(n,"default"))&&c.push(t)}}}}const l=[s,c];return(0,o.Gv)(e)&&n.set(e,l),l}function It(e){return"$"!==e[0]&&!(0,o.SU)(e)}function Ot(e){if(null===e)return"null";if("function"===typeof e)return e.name||"";if("object"===typeof e){const t=e.constructor&&e.constructor.name;return t||""}return""}function Pt(e,t){return Ot(e)===Ot(t)}function kt(e,t){return(0,o.cy)(t)?t.findIndex((t=>Pt(t,e))):(0,o.Tn)(t)&&Pt(t,e)?0:-1}const Nt=e=>"_"===e[0]||"$stable"===e,Rt=e=>(0,o.cy)(e)?e.map(Nr):[Nr(e)],Mt=(e,t,r)=>{if(t._n)return t;const n=D(((...e)=>Rt(t(...e))),r);return n._c=!1,n},Bt=(e,t,r)=>{const n=e._ctx;for(const i in e){if(Nt(i))continue;const r=e[i];if((0,o.Tn)(r))t[i]=Mt(i,r,n);else if(null!=r){0;const e=Rt(r);t[i]=()=>e}}},Lt=(e,t)=>{const r=Rt(t);e.slots.default=()=>r},Dt=(e,t)=>{if(32&e.vnode.shapeFlag){const r=t._;r?(e.slots=(0,n.ux)(t),(0,o.yQ)(t,"_",r)):Bt(t,e.slots={})}else e.slots={},t&&Lt(e,t);(0,o.yQ)(e.slots,_r,1)},Ft=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,s=o.MZ;if(32&n.shapeFlag){const e=t._;e?r&&1===e?a=!1:((0,o.X$)(i,t),r||1!==e||delete i._):(a=!t.$stable,Bt(t,i)),s=t}else t&&(Lt(e,t),s={default:1});if(a)for(const o in i)Nt(o)||null!=s[o]||delete i[o]};function jt(e,t,r,a,s=!1){if((0,o.cy)(e))return void e.forEach(((e,n)=>jt(e,t&&((0,o.cy)(t)?t[n]:t),r,a,s)));if(Ae(a)&&!s)return;const c=4&a.shapeFlag?rn(a.component)||a.component.proxy:a.el,u=s?null:c,{i:l,r:d}=e;const f=t&&t.r,h=l.refs===o.MZ?l.refs={}:l.refs,p=l.setupState;if(null!=f&&f!==d&&((0,o.Kg)(f)?(h[f]=null,(0,o.$3)(p,f)&&(p[f]=null)):(0,n.i9)(f)&&(f.value=null)),(0,o.Tn)(d))i(d,l,12,[u,h]);else{const t=(0,o.Kg)(d),i=(0,n.i9)(d);if(t||i){const n=()=>{if(e.f){const r=t?(0,o.$3)(p,d)?p[d]:h[d]:d.value;s?(0,o.cy)(r)&&(0,o.TF)(r,c):(0,o.cy)(r)?r.includes(c)||r.push(c):t?(h[d]=[c],(0,o.$3)(p,d)&&(p[d]=h[d])):(d.value=[c],e.k&&(h[e.k]=d.value))}else t?(h[d]=u,(0,o.$3)(p,d)&&(p[d]=u)):i&&(d.value=u,e.k&&(h[e.k]=u))};u?(n.id=-1,$t(n,r)):n()}else 0}}function Ut(){}const $t=Y;function zt(e){return Ht(e)}function Ht(e,t){Ut();const r=(0,o.We)();r.__VUE__=!0;const{insert:i,remove:a,patchProp:s,createElement:c,createText:u,createComment:l,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=o.tE,insertStaticContent:g}=e,y=(e,t,r,n=null,o=null,i=null,a=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!wr(e,t)&&(n=Q(e),W(e,o,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:l,shapeFlag:d}=t;switch(u){case sr:v(e,t,r,n);break;case cr:b(e,t,r,n);break;case ur:null==e&&_(t,r,n,a);break;case ar:M(e,t,r,n,o,i,a,s,c);break;default:1&d?C(e,t,r,n,o,i,a,s,c):6&d?B(e,t,r,n,o,i,a,s,c):(64&d||128&d)&&u.process(e,t,r,n,o,i,a,s,c,te)}null!=l&&o&&jt(l,e&&e.ref,i,t||e,!t)},v=(e,t,r,n)=>{if(null==e)i(t.el=u(t.children),r,n);else{const r=t.el=e.el;t.children!==e.children&&d(r,t.children)}},b=(e,t,r,n)=>{null==e?i(t.el=l(t.children||""),r,n):t.el=e.el},_=(e,t,r,n)=>{[e.el,e.anchor]=g(e.children,t,r,n,e.el,e.anchor)},A=({el:e,anchor:t},r,n)=>{let o;while(e&&e!==t)o=p(e),i(e,r,n),e=o;i(t,r,n)},x=({el:e,anchor:t})=>{let r;while(e&&e!==t)r=p(e),a(e),e=r;a(t)},C=(e,t,r,n,o,i,a,s,c)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?I(t,r,n,o,i,a,s,c):k(e,t,o,i,a,s,c)},I=(e,t,r,n,a,u,l,d)=>{let h,p;const{props:m,shapeFlag:g,transition:y,dirs:v}=e;if(h=e.el=c(e.type,u,m&&m.is,m),8&g?f(h,e.children):16&g&&P(e.children,h,null,n,a,Vt(e,u),l,d),v&&ce(e,null,n,"created"),O(h,e,e.scopeId,l,n),m){for(const t in m)"value"===t||(0,o.SU)(t)||s(h,t,null,m[t],u,e.children,n,a,Y);"value"in m&&s(h,"value",null,m.value,u),(p=m.onVnodeBeforeMount)&&Lr(p,n,e)}v&&ce(e,null,n,"beforeMount");const b=qt(a,y);b&&y.beforeEnter(h),i(h,t,r),((p=m&&m.onVnodeMounted)||b||v)&&$t((()=>{p&&Lr(p,n,e),b&&y.enter(h),v&&ce(e,null,n,"mounted")}),a)},O=(e,t,r,n,o)=>{if(r&&m(e,r),n)for(let i=0;i{for(let u=c;u{const u=t.el=e.el;let{patchFlag:l,dynamicChildren:d,dirs:h}=t;l|=16&e.patchFlag;const p=e.props||o.MZ,m=t.props||o.MZ;let g;if(r&&Gt(r,!1),(g=m.onVnodeBeforeUpdate)&&Lr(g,r,t,e),h&&ce(t,e,r,"beforeUpdate"),r&&Gt(r,!0),d?N(e.dynamicChildren,d,u,r,n,Vt(t,i),a):c||z(e,t,u,null,r,n,Vt(t,i),a,!1),l>0){if(16&l)R(u,t,p,m,r,n,i);else if(2&l&&p.class!==m.class&&s(u,"class",null,m.class,i),4&l&&s(u,"style",p.style,m.style,i),8&l){const o=t.dynamicProps;for(let t=0;t{g&&Lr(g,r,t,e),h&&ce(t,e,r,"updated")}),n)},N=(e,t,r,n,o,i,a)=>{for(let s=0;s{if(r!==n){if(r!==o.MZ)for(const u in r)(0,o.SU)(u)||u in n||s(e,u,r[u],null,c,t.children,i,a,Y);for(const u in n){if((0,o.SU)(u))continue;const l=n[u],d=r[u];l!==d&&"value"!==u&&s(e,u,d,l,c,t.children,i,a,Y)}"value"in n&&s(e,"value",r.value,n.value,c)}},M=(e,t,r,n,o,a,s,c,l)=>{const d=t.el=e?e.el:u(""),f=t.anchor=e?e.anchor:u("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(i(d,r,n),i(f,r,n),P(t.children||[],r,f,o,a,s,c,l)):h>0&&64&h&&p&&e.dynamicChildren?(N(e.dynamicChildren,p,r,o,a,s,c),(null!=t.key||o&&t===o.subTree)&&Wt(e,t,!0)):z(e,t,r,f,o,a,s,c,l)},B=(e,t,r,n,o,i,a,s,c)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,r,n,a,c):L(t,r,n,o,i,a,c):D(e,t,c)},L=(e,t,r,n,o,i,a)=>{const s=e.component=jr(e,n,o);if(xe(e)&&(s.ctx.renderer=te),Zr(s),s.asyncDep){if(o&&o.registerDep(s,j),!e.el){const e=s.subTree=Tr(cr);b(null,e,t,r)}}else j(s,e,t,r,o,i,a)},D=(e,t,r)=>{const n=t.component=e.component;if($(e,t,r)){if(n.asyncDep&&!n.asyncResolved)return void U(n,t,r);n.next=t,E(n.update),n.effect.dirty=!0,n.update()}else t.el=e.el,n.vnode=t},j=(e,t,r,i,a,s,c)=>{const u=()=>{if(e.isMounted){let{next:t,bu:r,u:n,parent:i,vnode:l}=e;{const r=Xt(e);if(r)return t&&(t.el=l.el,U(e,t,c)),void r.asyncDep.then((()=>{e.isUnmounted||u()}))}let d,f=t;0,Gt(e,!1),t?(t.el=l.el,U(e,t,c)):t=l,r&&(0,o.DY)(r),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Lr(d,i,t,l),Gt(e,!0);const p=F(e);0;const m=e.subTree;e.subTree=p,y(m,p,h(m.el),Q(m),e,a,s),t.el=p.el,null===f&&H(e,p.el),n&&$t(n,a),(d=t.props&&t.props.onVnodeUpdated)&&$t((()=>Lr(d,i,t,l)),a)}else{let n;const{el:c,props:u}=t,{bm:l,m:d,parent:f}=e,h=Ae(t);if(Gt(e,!1),l&&(0,o.DY)(l),!h&&(n=u&&u.onVnodeBeforeMount)&&Lr(n,f,t),Gt(e,!0),c&&ne){const r=()=>{e.subTree=F(e),ne(c,e.subTree,e,a,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&r())):r()}else{0;const n=e.subTree=F(e);0,y(null,n,r,i,e,a,s),t.el=n.el}if(d&&$t(d,a),!h&&(n=u&&u.onVnodeMounted)){const e=t;$t((()=>Lr(n,f,e)),a)}(256&t.shapeFlag||f&&Ae(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&$t(e.a,a),e.isMounted=!0,t=r=i=null}},l=e.effect=new n.X2(u,o.tE,(()=>w(d)),e.scope),d=e.update=()=>{l.dirty&&l.run()};d.id=e.uid,Gt(e,!0),d()},U=(e,t,r)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,St(e,t.props,o,r),Ft(e,t.children,r),(0,n.C4)(),S(e),(0,n.bl)()},z=(e,t,r,n,o,i,a,s,c=!1)=>{const u=e&&e.children,l=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void G(u,d,r,n,o,i,a,s,c);if(256&h)return void V(u,d,r,n,o,i,a,s,c)}8&p?(16&l&&Y(u,o,i),d!==u&&f(r,d)):16&l?16&p?G(u,d,r,n,o,i,a,s,c):Y(u,o,i,!0):(8&l&&f(r,""),16&p&&P(d,r,n,o,i,a,s,c))},V=(e,t,r,n,i,a,s,c,u)=>{e=e||o.Oj,t=t||o.Oj;const l=e.length,d=t.length,f=Math.min(l,d);let h;for(h=0;hd?Y(e,i,a,!0,!1,f):P(t,r,n,i,a,s,c,u,f)},G=(e,t,r,n,i,a,s,c,u)=>{let l=0;const d=t.length;let f=e.length-1,h=d-1;while(l<=f&&l<=h){const n=e[l],o=t[l]=u?Rr(t[l]):Nr(t[l]);if(!wr(n,o))break;y(n,o,r,null,i,a,s,c,u),l++}while(l<=f&&l<=h){const n=e[f],o=t[h]=u?Rr(t[h]):Nr(t[h]);if(!wr(n,o))break;y(n,o,r,null,i,a,s,c,u),f--,h--}if(l>f){if(l<=h){const e=h+1,o=eh)while(l<=f)W(e[l],i,a,!0),l++;else{const p=l,m=l,g=new Map;for(l=m;l<=h;l++){const e=t[l]=u?Rr(t[l]):Nr(t[l]);null!=e.key&&g.set(e.key,l)}let v,b=0;const w=h-m+1;let _=!1,E=0;const A=new Array(w);for(l=0;l=w){W(n,i,a,!0);continue}let o;if(null!=n.key)o=g.get(n.key);else for(v=m;v<=h;v++)if(0===A[v-m]&&wr(n,t[v])){o=v;break}void 0===o?W(n,i,a,!0):(A[o-m]=l+1,o>=E?E=o:_=!0,y(n,t[o],r,null,i,a,s,c,u),b++)}const S=_?Kt(A):o.Oj;for(v=S.length-1,l=w-1;l>=0;l--){const e=m+l,o=t[e],f=e+1{const{el:a,type:s,transition:c,children:u,shapeFlag:l}=e;if(6&l)return void q(e.component.subTree,t,r,n);if(128&l)return void e.suspense.move(t,r,n);if(64&l)return void s.move(e,t,r,te);if(s===ar){i(a,t,r);for(let e=0;ec.enter(a)),o);else{const{leave:e,delayLeave:n,afterLeave:o}=c,s=()=>i(a,t,r),u=()=>{e(a,(()=>{s(),o&&o()}))};n?n(a,s,u):u()}else i(a,t,r)},W=(e,t,r,n=!1,o=!1)=>{const{type:i,props:a,ref:s,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:d,dirs:f}=e;if(null!=s&&jt(s,null,r,e,!0),256&l)return void t.ctx.deactivate(e);const h=1&l&&f,p=!Ae(e);let m;if(p&&(m=a&&a.onVnodeBeforeUnmount)&&Lr(m,t,e),6&l)Z(e.component,r,n);else{if(128&l)return void e.suspense.unmount(r,n);h&&ce(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,r,o,te,n):u&&(i!==ar||d>0&&64&d)?Y(u,t,r,!1,!0):(i===ar&&384&d||!o&&16&l)&&Y(c,t,r),n&&K(e)}(p&&(m=a&&a.onVnodeUnmounted)||h)&&$t((()=>{m&&Lr(m,t,e),h&&ce(e,null,t,"unmounted")}),r)},K=e=>{const{type:t,el:r,anchor:n,transition:o}=e;if(t===ar)return void X(r,n);if(t===ur)return void x(e);const i=()=>{a(r),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:n}=o,a=()=>t(r,i);n?n(e.el,i,a):a()}else i()},X=(e,t)=>{let r;while(e!==t)r=p(e),a(e),e=r;a(t)},Z=(e,t,r)=>{const{bum:n,scope:i,update:a,subTree:s,um:c}=e;n&&(0,o.DY)(n),i.stop(),a&&(a.active=!1,W(s,e,t,r)),c&&$t(c,t),$t((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,r,n=!1,o=!1,i=0)=>{for(let a=i;a6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el);let J=!1;const ee=(e,t,r)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,r),J||(J=!0,S(),T(),J=!1),t._vnode=e},te={p:y,um:W,m:q,r:K,mt:L,mc:P,pc:z,pbc:N,n:Q,o:e};let re,ne;return t&&([re,ne]=t(te)),{render:ee,hydrate:re,createApp:bt(ee,re)}}function Vt({type:e,props:t},r){return"svg"===r&&"foreignObject"===e||"mathml"===r&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Gt({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function qt(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wt(e,t,r=!1){const n=e.children,i=t.children;if((0,o.cy)(n)&&(0,o.cy)(i))for(let o=0;o>1,e[r[s]]0&&(t[n]=r[i-1]),r[i]=n)}}i=r.length,a=r[i-1];while(i-- >0)r[i]=a,a=t[a];return r}function Xt(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xt(t)}const Zt=e=>e.__isTeleport,Yt=e=>e&&(e.disabled||""===e.disabled),Qt=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,Jt=e=>"function"===typeof MathMLElement&&e instanceof MathMLElement,er=(e,t)=>{const r=e&&e.to;if((0,o.Kg)(r)){if(t){const e=t(r);return e}return null}return r},tr={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,a,s,c,u){const{mc:l,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:g}}=u,y=Yt(t.props);let{shapeFlag:v,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),u=t.anchor=m("");h(e,r,n),h(u,r,n);const d=t.target=er(t.props,p),f=t.targetAnchor=m("");d&&(h(f,d),"svg"===a||Qt(d)?a="svg":("mathml"===a||Jt(d))&&(a="mathml"));const g=(e,t)=>{16&v&&l(b,e,t,o,i,a,s,c)};y?g(r,u):d&&g(d,f)}else{t.el=e.el;const n=t.anchor=e.anchor,l=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=Yt(e.props),g=m?r:l,v=m?n:h;if("svg"===a||Qt(l)?a="svg":("mathml"===a||Jt(l))&&(a="mathml"),w?(f(e.dynamicChildren,w,g,o,i,a,s),Wt(e,t,!0)):c||d(e,t,g,v,o,i,a,s,!1),y)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rr(t,r,n,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=er(t.props,p);e&&rr(t,e,null,u,0)}else m&&rr(t,l,h,u,1)}ir(t)},remove(e,t,r,n,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:u,targetAnchor:l,target:d,props:f}=e;if(d&&i(l),a&&i(u),16&s){const e=a||!Yt(f);for(let n=0;n0?dr||o.Oj:null,hr(),pr>0&&dr&&dr.push(e),e}function yr(e,t,r,n,o,i){return gr(Sr(e,t,r,n,o,i,!0))}function vr(e,t,r,n,o){return gr(Tr(e,t,r,n,o,!0))}function br(e){return!!e&&!0===e.__v_isVNode}function wr(e,t){return e.type===t.type&&e.key===t.key}const _r="__vInternal",Er=({key:e})=>null!=e?e:null,Ar=({ref:e,ref_key:t,ref_for:r})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.Kg)(e)||(0,n.i9)(e)||(0,o.Tn)(e)?{i:N,r:e,k:t,f:!!r}:e:null);function Sr(e,t=null,r=null,n=0,i=null,a=(e===ar?0:1),s=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Er(t),ref:t&&Ar(t),scopeId:R,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:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:N};return c?(Mr(u,r),128&a&&e.normalize(u)):r&&(u.shapeFlag|=(0,o.Kg)(r)?8:16),pr>0&&!s&&dr&&(u.patchFlag>0||6&a)&&32!==u.patchFlag&&dr.push(u),u}const Tr=xr;function xr(e,t=null,r=null,i=0,a=null,s=!1){if(e&&e!==q||(e=cr),br(e)){const n=Ir(e,t,!0);return r&&Mr(n,r),pr>0&&!s&&dr&&(6&n.shapeFlag?dr[dr.indexOf(e)]=n:dr.push(n)),n.patchFlag|=-2,n}if(on(e)&&(e=e.__vccOpts),t){t=Cr(t);let{class:e,style:r}=t;e&&!(0,o.Kg)(e)&&(t.class=(0,o.C4)(e)),(0,o.Gv)(r)&&((0,n.ju)(r)&&!(0,o.cy)(r)&&(r=(0,o.X$)({},r)),t.style=(0,o.Tr)(r))}const c=(0,o.Kg)(e)?1:Z(e)?128:Zt(e)?64:(0,o.Gv)(e)?4:(0,o.Tn)(e)?2:0;return Sr(e,t,r,i,a,c,s,!0)}function Cr(e){return e?(0,n.ju)(e)||_r in e?(0,o.X$)({},e):e:null}function Ir(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:s}=e,c=t?Br(n||{},t):n,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Er(c),ref:t&&t.ref?r&&i?(0,o.cy)(i)?i.concat(Ar(t)):[i,Ar(t)]:Ar(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ar?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u}function Or(e=" ",t=0){return Tr(sr,null,e,t)}function Pr(e,t){const r=Tr(ur,null,e);return r.staticCount=t,r}function kr(e="",t=!1){return t?(fr(),vr(cr,null,e)):Tr(cr,null,e)}function Nr(e){return null==e||"boolean"===typeof e?Tr(cr):(0,o.cy)(e)?Tr(ar,null,e.slice()):"object"===typeof e?Rr(e):Tr(sr,null,String(e))}function Rr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ir(e)}function Mr(e,t){let r=0;const{shapeFlag:n}=e;if(null==t)t=null;else if((0,o.cy)(t))r=16;else if("object"===typeof t){if(65&n){const r=t.default;return void(r&&(r._c&&(r._d=!1),Mr(e,r()),r._c&&(r._d=!0)))}{r=32;const n=t._;n||_r in t?3===n&&N&&(1===N.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=N}}else(0,o.Tn)(t)?(t={default:t,_ctx:N},r=32):(t=String(t),64&n?(r=16,t=[Or(t)]):r=8);e.children=t,e.shapeFlag|=r}function Br(...e){const t={};for(let r=0;rUr||N;let zr,Hr;{const e=(0,o.We)(),t=(t,r)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(r),e=>{n.length>1?n.forEach((t=>t(e))):n[0](e)}};zr=t("__VUE_INSTANCE_SETTERS__",(e=>Ur=e)),Hr=t("__VUE_SSR_SETTERS__",(e=>Xr=e))}const Vr=e=>{const t=Ur;return zr(e),e.scope.on(),()=>{e.scope.off(),zr(t)}},Gr=()=>{Ur&&Ur.scope.off(),zr(null)};function qr(e){return 4&e.vnode.shapeFlag}let Wr,Kr,Xr=!1;function Zr(e,t=!1){t&&Hr(t);const{props:r,children:n}=e.vnode,o=qr(e);At(e,r,o,t),Dt(e,n);const i=o?Yr(e,t):void 0;return t&&Hr(!1),i}function Yr(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=(0,n.IG)(new Proxy(e.ctx,et));const{setup:a}=r;if(a){const r=e.setupContext=a.length>1?tn(e):null,c=Vr(e);(0,n.C4)();const u=i(a,e,0,[e.props,r]);if((0,n.bl)(),c(),(0,o.yL)(u)){if(u.then(Gr,Gr),t)return u.then((r=>{Qr(e,r,t)})).catch((t=>{s(t,e,0)}));e.asyncDep=u}else Qr(e,u,t)}else Jr(e,t)}function Qr(e,t,r){(0,o.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Gv)(t)&&(e.setupState=(0,n.Pr)(t)),Jr(e,r)}function Jr(e,t,r){const i=e.type;if(!e.render){if(!t&&Wr&&!i.render){const t=i.template||st(e).template;if(t){0;const{isCustomElement:r,compilerOptions:n}=e.appContext.config,{delimiters:a,compilerOptions:s}=i,c=(0,o.X$)((0,o.X$)({isCustomElement:r,delimiters:a},n),s);i.render=Wr(t,c)}}e.render=i.render||o.tE,Kr&&Kr(e)}{const t=Vr(e);(0,n.C4)();try{nt(e)}finally{(0,n.bl)(),t()}}}function en(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return(0,n.u4)(e,"get","$attrs"),t[r]}}))}function tn(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return en(e)},slots:e.slots,emit:e.emit,expose:t}}function rn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,n.Pr)((0,n.IG)(e.exposed)),{get(t,r){return r in t?t[r]:r in Qe?Qe[r](e):void 0},has(e,t){return t in e||t in Qe}}))}function nn(e,t=!0){return(0,o.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function on(e){return(0,o.Tn)(e)&&"__vccOpts"in e}const an=(e,t)=>{const r=(0,n.EW)(e,t,Xr);return r};function sn(e,t,r){const n=arguments.length;return 2===n?(0,o.Gv)(t)&&!(0,o.cy)(t)?br(t)?Tr(e,null,[t]):Tr(e,t):Tr(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):3===n&&br(r)&&(r=[r]),Tr(e,t,r))}const cn="3.4.21"},53751:(e,t,r)=>{"use strict";r.d(t,{D$:()=>Se,Ef:()=>Pe,aG:()=>M,eB:()=>p,jR:()=>xe,lH:()=>ve});var n=r(20641),o=r(90033),i=r(50953); +/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +const a="http://www.w3.org/2000/svg",s="http://www.w3.org/1998/Math/MathML",c="undefined"!==typeof document?document:null,u=c&&c.createElement("template"),l={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="svg"===t?c.createElementNS(a,e):"mathml"===t?c.createElementNS(s,e):c.createElement(e,r?{is:r}:void 0);return"select"===e&&n&&null!=n.multiple&&o.setAttribute("multiple",n.multiple),o},createText:e=>c.createTextNode(e),createComment:e=>c.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>c.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const a=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),r),o===i||!(o=o.nextSibling))break}else{u.innerHTML="svg"===n?`${e}`:"mathml"===n?`${e}`:e;const o=u.content;if("svg"===n||"mathml"===n){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},d="transition",f="animation",h=Symbol("_vtc"),p=(e,{slots:t})=>(0,n.h)(n.pR,b(e),t);p.displayName="Transition";const m={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},g=p.props=(0,o.X$)({},n.QP,m),y=(e,t=[])=>{(0,o.cy)(e)?e.forEach((e=>e(...t))):e&&e(...t)},v=e=>!!e&&((0,o.cy)(e)?e.some((e=>e.length>1)):e.length>1);function b(e){const t={};for(const o in e)o in m||(t[o]=e[o]);if(!1===e.css)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:u=a,appearActiveClass:l=s,appearToClass:d=c,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,g=w(i),b=g&&g[0],_=g&&g[1],{onBeforeEnter:T,onEnter:C,onEnterCancelled:I,onLeave:O,onLeaveCancelled:k,onBeforeAppear:N=T,onAppear:R=C,onAppearCancelled:M=I}=t,B=(e,t,r)=>{A(e,t?d:c),A(e,t?l:s),r&&r()},L=(e,t)=>{e._isLeaving=!1,A(e,f),A(e,p),A(e,h),t&&t()},D=e=>(t,r)=>{const o=e?R:C,i=()=>B(t,e,r);y(o,[t,i]),S((()=>{A(t,e?u:a),E(t,e?d:c),v(o)||x(t,n,b,i)}))};return(0,o.X$)(t,{onBeforeEnter(e){y(T,[e]),E(e,a),E(e,s)},onBeforeAppear(e){y(N,[e]),E(e,u),E(e,l)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;const r=()=>L(e,t);E(e,f),P(),E(e,h),S((()=>{e._isLeaving&&(A(e,f),E(e,p),v(O)||x(e,n,_,r))})),y(O,[e,r])},onEnterCancelled(e){B(e,!1),y(I,[e])},onAppearCancelled(e){B(e,!0),y(M,[e])},onLeaveCancelled(e){L(e),y(k,[e])}})}function w(e){if(null==e)return null;if((0,o.Gv)(e))return[_(e.enter),_(e.leave)];{const t=_(e);return[t,t]}}function _(e){const t=(0,o.Ro)(e);return t}function E(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[h]||(e[h]=new Set)).add(t)}function A(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const r=e[h];r&&(r.delete(t),r.size||(e[h]=void 0))}function S(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let T=0;function x(e,t,r,n){const o=e._endId=++T,i=()=>{o===e._endId&&n()};if(r)return setTimeout(i,r);const{type:a,timeout:s,propCount:c}=C(e,t);if(!a)return n();const u=a+"end";let l=0;const d=()=>{e.removeEventListener(u,f),i()},f=t=>{t.target===e&&++l>=c&&d()};setTimeout((()=>{l(r[e]||"").split(", "),o=n(`${d}Delay`),i=n(`${d}Duration`),a=I(o,i),s=n(`${f}Delay`),c=n(`${f}Duration`),u=I(s,c);let l=null,h=0,p=0;t===d?a>0&&(l=d,h=a,p=i.length):t===f?u>0&&(l=f,h=u,p=c.length):(h=Math.max(a,u),l=h>0?a>u?d:f:null,p=l?l===d?i.length:c.length:0);const m=l===d&&/\b(transform|all)(,|$)/.test(n(`${d}Property`).toString());return{type:l,timeout:h,propCount:p,hasTransform:m}}function I(e,t){while(e.lengthO(t)+O(e[r]))))}function O(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function P(){return document.body.offsetHeight}function k(e,t,r){const n=e[h];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const N=Symbol("_vod"),R=Symbol("_vsh"),M={beforeMount(e,{value:t},{transition:r}){e[N]="none"===e.style.display?"":e.style.display,r&&t?r.beforeEnter(e):B(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),B(e,!0),n.enter(e)):n.leave(e,(()=>{B(e,!1)})):B(e,t))},beforeUnmount(e,{value:t}){B(e,t)}};function B(e,t){e.style.display=t?e[N]:"none",e[R]=!t}const L=Symbol("");const D=/(^|;)\s*display\s*:/;function F(e,t,r){const n=e.style,i=(0,o.Kg)(r);let a=!1;if(r&&!i){if(t)if((0,o.Kg)(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&U(n,t,"")}else for(const e in t)null==r[e]&&U(n,e,"");for(const e in r)"display"===e&&(a=!0),U(n,e,r[e])}else if(i){if(t!==r){const e=n[L];e&&(r+=";"+e),n.cssText=r,a=D.test(r)}}else t&&e.removeAttribute("style");N in e&&(e[N]=a?n.display:"",e[R]&&(n.display="none"))}const j=/\s*!important$/;function U(e,t,r){if((0,o.cy)(r))r.forEach((r=>U(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=H(e,t);j.test(r)?e.setProperty((0,o.Tg)(n),r.replace(j,""),"important"):e[n]=r}}const $=["Webkit","Moz","ms"],z={};function H(e,t){const r=z[t];if(r)return r;let n=(0,o.PT)(t);if("filter"!==n&&n in e)return z[t]=n;n=(0,o.ZH)(n);for(let o=0;o<$.length;o++){const r=$[o]+n;if(r in e)return z[t]=r}return t}const V="http://www.w3.org/1999/xlink";function G(e,t,r,n,i){if(n&&t.startsWith("xlink:"))null==r?e.removeAttributeNS(V,t.slice(6,t.length)):e.setAttributeNS(V,t,r);else{const n=(0,o.J$)(t);null==r||n&&!(0,o.Y2)(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function q(e,t,r,n,i,a,s){if("innerHTML"===t||"textContent"===t)return n&&s(n,i,a),void(e[t]=null==r?"":r);const c=e.tagName;if("value"===t&&"PROGRESS"!==c&&!c.includes("-")){const n="OPTION"===c?e.getAttribute("value")||"":e.value,o=null==r?"":r;return n===o&&"_value"in e||(e.value=o),null==r&&e.removeAttribute(t),void(e._value=r)}let u=!1;if(""===r||null==r){const n=typeof e[t];"boolean"===n?r=(0,o.Y2)(r):null==r&&"string"===n?(r="",u=!0):"number"===n&&(r=0,u=!0)}try{e[t]=r}catch(l){0}u&&e.removeAttribute(t)}function W(e,t,r,n){e.addEventListener(t,r,n)}function K(e,t,r,n){e.removeEventListener(t,r,n)}const X=Symbol("_vei");function Z(e,t,r,n,o=null){const i=e[X]||(e[X]={}),a=i[t];if(n&&a)a.value=n;else{const[r,s]=Q(t);if(n){const a=i[t]=re(n,o);W(e,r,a,s)}else a&&(K(e,r,a,s),i[t]=void 0)}}const Y=/(?:Once|Passive|Capture)$/;function Q(e){let t;if(Y.test(e)){let r;t={};while(r=e.match(Y))e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}const r=":"===e[2]?e.slice(3):(0,o.Tg)(e.slice(2));return[r,t]}let J=0;const ee=Promise.resolve(),te=()=>J||(ee.then((()=>J=0)),J=Date.now());function re(e,t){const r=e=>{if(e._vts){if(e._vts<=r.attached)return}else e._vts=Date.now();(0,n.qL)(ne(e,r.value),t,5,[e])};return r.value=e,r.attached=te(),r}function ne(e,t){if((0,o.cy)(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const oe=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ie=(e,t,r,n,i,a,s,c,u)=>{const l="svg"===i;"class"===t?k(e,n,l):"style"===t?F(e,r,n):(0,o.Mp)(t)?(0,o.CP)(t)||Z(e,t,r,n,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):ae(e,t,n,l))?q(e,t,n,a,s,c,u):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),G(e,t,n,l))};function ae(e,t,r,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&oe(t)&&(0,o.Tn)(r));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!oe(t)||!(0,o.Kg)(r))&&t in e} +/*! #__NO_SIDE_EFFECTS__ */ +/*! #__NO_SIDE_EFFECTS__ */ +"undefined"!==typeof HTMLElement&&HTMLElement;const se=new WeakMap,ce=new WeakMap,ue=Symbol("_moveCb"),le=Symbol("_enterCb"),de={name:"TransitionGroup",props:(0,o.X$)({},g,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=(0,n.nI)(),o=(0,n.Gy)();let a,s;return(0,n.$u)((()=>{if(!a.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!me(a[0].el,r.vnode.el,t))return;a.forEach(fe),a.forEach(he);const n=a.filter(pe);P(),n.forEach((e=>{const r=e.el,n=r.style;E(r,t),n.transform=n.webkitTransform=n.transitionDuration="";const o=r[ue]=e=>{e&&e.target!==r||e&&!/transform$/.test(e.propertyName)||(r.removeEventListener("transitionend",o),r[ue]=null,A(r,t))};r.addEventListener("transitionend",o)}))})),()=>{const c=(0,i.ux)(e),u=b(c);let l=c.tag||n.FK;a=s,s=t.default?(0,n.Df)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&n.classList.remove(e)))})),r.split(/\s+/).forEach((e=>e&&n.classList.add(e))),n.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=C(n);return i.removeChild(n),a}const ge=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.cy)(t)?e=>(0,o.DY)(t,e):t};const ye=Symbol("_assign"),ve={deep:!0,created(e,t,r){e[ye]=ge(r),W(e,"change",(()=>{const t=e._modelValue,r=we(e),n=e.checked,i=e[ye];if((0,o.cy)(t)){const e=(0,o.u3)(t,r),a=-1!==e;if(n&&!a)i(t.concat(r));else if(!n&&a){const r=[...t];r.splice(e,1),i(r)}}else if((0,o.vM)(t)){const e=new Set(t);n?e.add(r):e.delete(r),i(e)}else i(_e(e,n))}))},mounted:be,beforeUpdate(e,t,r){e[ye]=ge(r),be(e,t,r)}};function be(e,{value:t,oldValue:r},n){e._modelValue=t,(0,o.cy)(t)?e.checked=(0,o.u3)(t,n.props.value)>-1:(0,o.vM)(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=(0,o.BX)(t,_e(e,!0)))}function we(e){return"_value"in e?e._value:e.value}function _e(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Ee=["ctrl","shift","alt","meta"],Ae={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ee.some((r=>e[`${r}Key`]&&!t.includes(r)))},Se=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(r,...n)=>{for(let e=0;e{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=r=>{if(!("key"in r))return;const n=(0,o.Tg)(r.key);return t.some((e=>e===n||Te[e]===n))?e(r):void 0})},Ce=(0,o.X$)({patchProp:ie},l);let Ie;function Oe(){return Ie||(Ie=(0,n.K9)(Ce))}const Pe=(...e)=>{const t=Oe().createApp(...e);const{mount:r}=t;return t.mount=e=>{const n=Ne(e);if(!n)return;const i=t._component;(0,o.Tn)(i)||i.render||i.template||(i.template=n.innerHTML),n.innerHTML="";const a=r(n,!1,ke(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},t};function ke(e){return e instanceof SVGElement?"svg":"function"===typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Ne(e){if((0,o.Kg)(e)){const t=document.querySelector(e);return t}return e}},90033:(e,t,r)=>{"use strict"; +/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +function n(e,t){const r=new Set(e.split(","));return t?e=>r.has(e.toLowerCase()):e=>r.has(e)}r.d(t,{$3:()=>h,$H:()=>D,BH:()=>G,BX:()=>ne,Bm:()=>_,C4:()=>Y,CE:()=>m,CP:()=>u,DY:()=>F,Gv:()=>E,J$:()=>ee,Kg:()=>w,MZ:()=>o,Mp:()=>c,NO:()=>s,Oj:()=>i,PT:()=>N,Qd:()=>C,Ro:()=>$,SU:()=>O,TF:()=>d,Tg:()=>M,Tn:()=>b,Tr:()=>q,We:()=>H,X$:()=>l,Y2:()=>te,ZH:()=>B,Zf:()=>x,_B:()=>Q,bB:()=>U,cy:()=>p,gd:()=>v,pD:()=>n,rU:()=>L,tE:()=>a,u3:()=>oe,vM:()=>g,v_:()=>ie,yI:()=>I,yL:()=>A,yQ:()=>j});const o={},i=[],a=()=>{},s=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),l=Object.assign,d=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},f=Object.prototype.hasOwnProperty,h=(e,t)=>f.call(e,t),p=Array.isArray,m=e=>"[object Map]"===T(e),g=e=>"[object Set]"===T(e),y=e=>"[object Date]"===T(e),v=e=>"[object RegExp]"===T(e),b=e=>"function"===typeof e,w=e=>"string"===typeof e,_=e=>"symbol"===typeof e,E=e=>null!==e&&"object"===typeof e,A=e=>(E(e)||b(e))&&b(e.then)&&b(e.catch),S=Object.prototype.toString,T=e=>S.call(e),x=e=>T(e).slice(8,-1),C=e=>"[object Object]"===T(e),I=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,O=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return r=>{const n=t[r];return n||(t[r]=e(r))}},k=/-(\w)/g,N=P((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),R=/\B([A-Z])/g,M=P((e=>e.replace(R,"-$1").toLowerCase())),B=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=P((e=>{const t=e?`on${B(e)}`:"";return t})),D=(e,t)=>!Object.is(e,t),F=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},U=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let z;const H=()=>z||(z="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{});const V="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",G=n(V);function q(e){if(p(e)){const t={};for(let r=0;r{if(e){const r=e.split(K);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function Y(e){let t="";if(w(e))t=e;else if(p(e))for(let r=0;rne(e,t)))}const ie=e=>w(e)?e:null==e?"":p(e)||E(e)&&(e.toString===S||!b(e.toString))?JSON.stringify(e,ae,2):String(e),ae=(e,t)=>t&&t.__v_isRef?ae(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r],n)=>(e[se(t,n)+" =>"]=r,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>se(e)))}:_(t)?se(t):!E(t)||p(t)||C(t)?t:String(t),se=(e,t="")=>{var r;return _(e)?`Symbol(${null!=(r=e.description)?r:t})`:e}},16380:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BarcodeFormat:()=>n.BarcodeFormat,BrowserAztecCodeReader:()=>g,BrowserCodeReader:()=>p,BrowserCodeSvgWriter:()=>I,BrowserDatamatrixCodeReader:()=>w,BrowserMultiFormatOneDReader:()=>v,BrowserMultiFormatReader:()=>E,BrowserPDF417Reader:()=>S,BrowserQRCodeReader:()=>x,BrowserQRCodeSvgWriter:()=>P,HTMLCanvasElementLuminanceSource:()=>i});var n=r(21917),o=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(e){function t(r){var n=e.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=t.makeBufferFromCanvasImageData(r),n}return o(t,e),t.makeBufferFromCanvasImageData=function(e){var r=e.getContext("2d");if(!r)throw new Error("Couldn't get canvas context.");var n=r.getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(n.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,t,r){for(var n=new Uint8ClampedArray(t*r),o=0,i=0,a=e.length;o>10}n[i]=s}return n},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new n.IllegalArgumentException("Requested row is outside the image: "+e);var r=this.getWidth(),o=e*r;return null===t?t=this.buffer.slice(o,o+r):(t.length0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h={delayBetweenScanAttempts:500,delayBetweenScanSuccess:500,tryPlayVideoTimeout:5e3},p=function(){function e(e,t,r){void 0===t&&(t=new Map),void 0===r&&(r={}),this.reader=e,this.hints=t,this.options=u(u({},h),r)}return Object.defineProperty(e.prototype,"possibleFormats",{set:function(e){this.hints.set(n.DecodeHintType.POSSIBLE_FORMATS,e)},enumerable:!1,configurable:!0}),e.addVideoSource=function(e,t){try{e.srcObject=t}catch(r){console.error("got interrupted by new loading request")}},e.mediaStreamSetTorch=function(e,t){return l(this,void 0,void 0,(function(){return d(this,(function(r){switch(r.label){case 0:return[4,e.applyConstraints({advanced:[{fillLightMode:t?"flash":"off",torch:!!t}]})];case 1:return r.sent(),[2]}}))}))},e.mediaStreamIsTorchCompatible=function(t){var r,n,o=t.getVideoTracks();try{for(var i=f(o),a=i.next();!a.done;a=i.next()){var s=a.value;if(e.mediaStreamIsTorchCompatibleTrack(s))return!0}}catch(c){r={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},e.mediaStreamIsTorchCompatibleTrack=function(e){try{var t=e.getCapabilities();return"torch"in t}catch(r){return console.error(r),console.warn("Your browser may be not fully compatible with WebRTC and/or ImageCapture specs. Torch will not be available."),!1}},e.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&e.readyState>2},e.getMediaElement=function(e,t){var r=document.getElementById(e);if(!r)throw new n.ArgumentException("element with id '".concat(e,"' not found"));if(r.nodeName.toLowerCase()!==t.toLowerCase())throw new n.ArgumentException("element with id '".concat(e,"' must be an ").concat(t," element"));return r},e.createVideoElement=function(t){if(t instanceof HTMLVideoElement)return t;if("string"===typeof t)return e.getMediaElement(t,"video");if(!t&&"undefined"!==typeof document){var r=document.createElement("video");return r.width=200,r.height=200,r}throw new Error("Couldn't get videoElement from videoSource!")},e.prepareImageElement=function(t){if(t instanceof HTMLImageElement)return t;if("string"===typeof t)return e.getMediaElement(t,"img");if("undefined"===typeof t){var r=document.createElement("img");return r.width=200,r.height=200,r}throw new Error("Couldn't get imageElement from imageSource!")},e.prepareVideoElement=function(t){var r=e.createVideoElement(t);return r.setAttribute("autoplay","true"),r.setAttribute("muted","true"),r.setAttribute("playsinline","true"),r},e.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.createBinaryBitmapFromCanvas=function(e){var t=new i(e),r=new n.HybridBinarizer(t);return new n.BinaryBitmap(r)},e.drawImageOnCanvas=function(e,t){e.drawImage(t,0,0)},e.getMediaElementDimensions=function(e){if(e instanceof HTMLVideoElement)return{height:e.videoHeight,width:e.videoWidth};if(e instanceof HTMLImageElement)return{height:e.naturalHeight||e.height,width:e.naturalWidth||e.width};throw new Error("Couldn't find the Source's dimensions!")},e.createCaptureCanvas=function(t){if(!t)throw new n.ArgumentException("Cannot create a capture canvas without a media element.");if("undefined"===typeof document)throw new Error('The page "Document" is undefined, make sure you\'re running in a browser.');var r=document.createElement("canvas"),o=e.getMediaElementDimensions(t),i=o.width,a=o.height;return r.style.width=i+"px",r.style.height=a+"px",r.width=i,r.height=a,r},e.tryPlayVideo=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:if(null===t||void 0===t?void 0:t.ended)return console.error("Trying to play video that has ended."),[2,!1];if(e.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2,!0];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,t.play()];case 2:return n.sent(),[2,!0];case 3:return r=n.sent(),console.warn("It was not possible to play the video.",r),[2,!1];case 4:return[2]}}))}))},e.createCanvasFromMediaElement=function(t){var r=e.createCaptureCanvas(t),n=r.getContext("2d");if(!n)throw new Error("Couldn't find Canvas 2D Context.");return e.drawImageOnCanvas(n,t),r},e.createBinaryBitmapFromMediaElem=function(t){var r=e.createCanvasFromMediaElement(t);return e.createBinaryBitmapFromCanvas(r)},e.destroyImageElement=function(e){e.src="",e.removeAttribute("src"),e=void 0},e.listVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var e,t,r,n,o,i,s,u,l,h,p,m;return d(this,(function(d){switch(d.label){case 0:if(!a())throw new Error("Can't enumerate devices, navigator is not present.");if(!c())throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=d.sent(),t=[];try{for(r=f(e),n=r.next();!n.done;n=r.next())o=n.value,i="video"===o.kind?"videoinput":o.kind,"videoinput"===i&&(s=o.deviceId||o.id,u=o.label||"Video device ".concat(t.length+1),l=o.groupId,h={deviceId:s,label:u,kind:i,groupId:l},t.push(h))}catch(g){p={error:g}}finally{try{n&&!n.done&&(m=r.return)&&m.call(r)}finally{if(p)throw p.error}}return[2,t]}}))}))},e.findDeviceById=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,e.listVideoInputDevices()];case 1:return r=n.sent(),r?[2,r.find((function(e){return e.deviceId===t}))]:[2]}}))}))},e.cleanVideoSource=function(e){if(e){try{e.srcObject=null}catch(t){e.src=""}e&&e.removeAttribute("src")}},e.releaseAllStreams=function(){0!==e.streamTracker.length&&e.streamTracker.forEach((function(e){e.getTracks().forEach((function(e){return e.stop()}))})),e.streamTracker=[]},e.playVideoOnLoadAsync=function(t,r){return l(this,void 0,void 0,(function(){var n;return d(this,(function(o){switch(o.label){case 0:return[4,e.tryPlayVideo(t)];case 1:return n=o.sent(),n?[2,!0]:[2,new Promise((function(n,o){var i=setTimeout((function(){e.isVideoPlaying(t)||(o(!1),t.removeEventListener("canplay",a))}),r),a=function(){e.tryPlayVideo(t).then((function(e){clearTimeout(i),t.removeEventListener("canplay",a),n(e)}))};t.addEventListener("canplay",a)}))]}}))}))},e.attachStreamToVideo=function(t,r,n){return void 0===n&&(n=5e3),l(this,void 0,void 0,(function(){var o;return d(this,(function(i){switch(i.label){case 0:return o=e.prepareVideoElement(r),e.addVideoSource(o,t),[4,e.playVideoOnLoadAsync(o,n)];case 1:return i.sent(),[2,o]}}))}))},e._waitImageLoad=function(t){return new Promise((function(r,n){var o=1e4,i=setTimeout((function(){e.isImageLoaded(t)||(t.removeEventListener("load",a),n())}),o),a=function(){clearTimeout(i),t.removeEventListener("load",a),r()};t.addEventListener("load",a)}))},e.checkCallbackFnOrThrow=function(e){if(!e)throw new n.ArgumentException("`callbackFn` is a required parameter, you cannot capture results without it.")},e.disposeMediaStream=function(e){e.getVideoTracks().forEach((function(e){return e.stop()})),e=void 0},e.prototype.decode=function(t){var r=e.createCanvasFromMediaElement(t);return this.decodeFromCanvas(r)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this.hints)},e.prototype.decodeFromCanvas=function(t){var r=e.createBinaryBitmapFromCanvas(t);return this.decodeBitmap(r)},e.prototype.decodeFromImageElement=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(o){switch(o.label){case 0:if(!t)throw new n.ArgumentException("An image element must be provided.");return r=e.prepareImageElement(t),[4,this._decodeOnLoadImage(r)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeFromImageUrl=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(o){switch(o.label){case 0:if(!t)throw new n.ArgumentException("An URL must be provided.");r=e.prepareImageElement(),r.src=t,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.decodeFromImageElement(r)];case 2:return[2,o.sent()];case 3:return e.destroyImageElement(r),[7];case 4:return[2]}}))}))},e.prototype.decodeFromConstraints=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:return e.checkCallbackFnOrThrow(n),[4,this.getUserMedia(t)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.decodeFromStream(o,r,n)];case 3:return[2,a.sent()];case 4:throw i=a.sent(),e.disposeMediaStream(o),i;case 5:return[2]}}))}))},e.prototype.decodeFromStream=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i,a,s,c,h,p,m,g,y=this;return d(this,(function(v){switch(v.label){case 0:return e.checkCallbackFnOrThrow(n),o=this.options.tryPlayVideoTimeout,[4,e.attachStreamToVideo(t,r,o)];case 1:return i=v.sent(),a=function(){e.disposeMediaStream(t),e.cleanVideoSource(i)},s=this.scan(i,n,a),c=t.getVideoTracks(),h=u(u({},s),{stop:function(){s.stop()},streamVideoConstraintsApply:function(e,t){return l(this,void 0,void 0,(function(){var r,n,o,i,a,s,u;return d(this,(function(l){switch(l.label){case 0:r=t?c.filter(t):c,l.label=1;case 1:l.trys.push([1,6,7,8]),n=f(r),o=n.next(),l.label=2;case 2:return o.done?[3,5]:(i=o.value,[4,i.applyConstraints(e)]);case 3:l.sent(),l.label=4;case 4:return o=n.next(),[3,2];case 5:return[3,8];case 6:return a=l.sent(),s={error:a},[3,8];case 7:try{o&&!o.done&&(u=n.return)&&u.call(n)}finally{if(s)throw s.error}return[7];case 8:return[2]}}))}))},streamVideoConstraintsGet:function(e){return c.find(e).getConstraints()},streamVideoSettingsGet:function(e){return c.find(e).getSettings()},streamVideoCapabilitiesGet:function(e){return c.find(e).getCapabilities()}}),p=e.mediaStreamIsTorchCompatible(t),p&&(m=null===c||void 0===c?void 0:c.find((function(t){return e.mediaStreamIsTorchCompatibleTrack(t)})),g=function(t){return l(y,void 0,void 0,(function(){return d(this,(function(r){switch(r.label){case 0:return[4,e.mediaStreamSetTorch(m,t)];case 1:return r.sent(),[2]}}))}))},h.switchTorch=g,h.stop=function(){return l(y,void 0,void 0,(function(){return d(this,(function(e){switch(e.label){case 0:return s.stop(),[4,g(!1)];case 1:return e.sent(),[2]}}))}))}),[2,h]}}))}))},e.prototype.decodeFromVideoDevice=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:return e.checkCallbackFnOrThrow(n),o=t?{deviceId:{exact:t}}:{facingMode:"environment"},i={video:o},[4,this.decodeFromConstraints(i,r,n)];case 1:return[2,a.sent()]}}))}))},e.prototype.decodeFromVideoElement=function(t,r){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:if(e.checkCallbackFnOrThrow(r),!t)throw new n.ArgumentException("A video element must be provided.");return o=e.prepareVideoElement(t),i=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(o,i)];case 1:return a.sent(),[2,this.scan(o,r)]}}))}))},e.prototype.decodeFromVideoUrl=function(t,r){return l(this,void 0,void 0,(function(){var o,i,a,s;return d(this,(function(c){switch(c.label){case 0:if(e.checkCallbackFnOrThrow(r),!t)throw new n.ArgumentException("An URL must be provided.");return o=e.prepareVideoElement(),o.src=t,i=function(){e.cleanVideoSource(o)},a=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(o,a)];case 1:return c.sent(),s=this.scan(o,r,i),[2,s]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,this.getUserMedia(e)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,t)];case 2:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(t,r){return l(this,void 0,void 0,(function(){var n,o,i;return d(this,(function(a){switch(a.label){case 0:return n=Boolean(r),[4,e.attachStreamToVideo(t,r)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,,4,5]),[4,this.scanOneResult(o)];case 3:return i=a.sent(),[2,i];case 4:return n||e.cleanVideoSource(o),[7];case 5:return[2]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return l(this,void 0,void 0,(function(){var r,n;return d(this,(function(o){switch(o.label){case 0:return r=e?{deviceId:{exact:e}}:{facingMode:"environment"},n={video:r},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeOnceFromVideoElement=function(t){return l(this,void 0,void 0,(function(){var r,o;return d(this,(function(i){switch(i.label){case 0:if(!t)throw new n.ArgumentException("A video element must be provided.");return r=e.prepareVideoElement(t),o=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(r,o)];case 1:return i.sent(),[4,this.scanOneResult(r)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeOnceFromVideoUrl=function(t){return l(this,void 0,void 0,(function(){var r,o;return d(this,(function(i){switch(i.label){case 0:if(!t)throw new n.ArgumentException("An URL must be provided.");r=e.prepareVideoElement(),r.src=t,o=this.decodeOnceFromVideoElement(r),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,o];case 2:return[2,i.sent()];case 3:return e.cleanVideoSource(r),[7];case 4:return[2]}}))}))},e.prototype.scanOneResult=function(e,t,r,o){var i=this;return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===o&&(o=!0),new Promise((function(a,s){i.scan(e,(function(e,i,c){if(e)return a(e),void c.stop();if(i){if(i instanceof n.NotFoundException&&t)return;if(i instanceof n.ChecksumException&&r)return;if(i instanceof n.FormatException&&o)return;c.stop(),s(i)}}))}))},e.prototype.scan=function(t,r,o){var i=this;e.checkCallbackFnOrThrow(r);var a=e.createCaptureCanvas(t),s=a.getContext("2d");if(!s)throw new Error("Couldn't create canvas for visual element scan.");var c,u=function(){s=void 0,a=void 0},l=!1,d=function(){l=!0,clearTimeout(c),u(),o&&o()},f={stop:d},h=function(){if(!l)try{e.drawImageOnCanvas(s,t);var d=i.decodeFromCanvas(a);r(d,void 0,f),c=setTimeout(h,i.options.delayBetweenScanSuccess)}catch(y){r(void 0,y,f);var p=y instanceof n.ChecksumException,m=y instanceof n.FormatException,g=y instanceof n.NotFoundException;if(p||m||g)return void(c=setTimeout(h,i.options.delayBetweenScanAttempts));u(),o&&o(y)}};return h(),f},e.prototype._decodeOnLoadImage=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return r=e.isImageLoaded(t),r?[3,2]:[4,e._waitImageLoad(t)];case 1:n.sent(),n.label=2;case 2:return[2,this.decode(t)]}}))}))},e.prototype.getUserMedia=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=n.sent(),e.streamTracker.push(r),[2,r]}}))}))},e.streamTracker=[],e}(),m=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),g=function(e){function t(t,r){return e.call(this,new n.AztecCodeReader,t,r)||this}return m(t,e),t}(p),y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v=function(e){function t(t,r){return e.call(this,new n.MultiFormatOneDReader(t),t,r)||this}return y(t,e),t}(p),b=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(e){function t(t,r){return e.call(this,new n.DataMatrixReader,t,r)||this}return b(t,e),t}(p),_=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),E=function(e){function t(t,r){var o=this,i=new n.MultiFormatReader;return i.setHints(t),o=e.call(this,i,t,r)||this,o.reader=i,o}return _(t,e),Object.defineProperty(t.prototype,"possibleFormats",{set:function(e){this.hints.set(n.DecodeHintType.POSSIBLE_FORMATS,e),this.reader.setHints(this.hints)},enumerable:!1,configurable:!0}),t.prototype.decodeBitmap=function(e){return this.reader.decodeWithState(e)},t.prototype.setHints=function(e){this.hints=e,this.reader.setHints(this.hints)},t}(p),A=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),S=function(e){function t(t,r){return e.call(this,new n.PDF417Reader,t,r)||this}return A(t,e),t}(p),T=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),x=function(e){function t(t,r){return e.call(this,new n.QRCodeReader,t,r)||this}return T(t,e),t}(p),C="http://www.w3.org/2000/svg",I=function(){function e(e){if("string"===typeof e){var t=document.getElementById(e);if(!t)throw new Error("Could not find a Container element with '".concat(e,"'."));this.containerElement=t}else this.containerElement=e}return e.prototype.write=function(t,r,o,i){if(0===t.length)throw new n.IllegalArgumentException("Found empty contents");if(r<0||o<0)throw new n.IllegalArgumentException("Requested dimensions are too small: "+r+"x"+o);var a=i&&void 0!==i.get(n.EncodeHintType.MARGIN)?Number.parseInt(i.get(n.EncodeHintType.MARGIN).toString(),10):e.QUIET_ZONE_SIZE,s=this.encode(i,t);return this.renderResult(s,r,o,a)},e.prototype.createSVGElement=function(t,r){var n=document.createElementNS(e.SVG_NS,"svg");return n.setAttributeNS(C,"width",r.toString()),n.setAttributeNS(C,"height",t.toString()),n},e.prototype.createSvgPathPlaceholderElement=function(t,r){var n=document.createElementNS(e.SVG_NS,"path");return n.setAttributeNS(C,"d","M0 0h".concat(t,"v").concat(r,"H0z")),n.setAttributeNS(C,"fill","none"),n},e.prototype.createSvgRectElement=function(t,r,n,o){var i=document.createElementNS(e.SVG_NS,"rect");return i.setAttributeNS(C,"x",t.toString()),i.setAttributeNS(C,"y",r.toString()),i.setAttributeNS(C,"height",n.toString()),i.setAttributeNS(C,"width",o.toString()),i.setAttributeNS(C,"fill","#000000"),i},e.prototype.encode=function(e,t){var r=n.QRCodeDecoderErrorCorrectionLevel.L;if(e&&void 0!==e.get(n.EncodeHintType.ERROR_CORRECTION)){var o=e.get(n.EncodeHintType.ERROR_CORRECTION).toString();r=n.QRCodeDecoderErrorCorrectionLevel.fromString(o)}var i=n.QRCodeEncoder.encode(t,r,e);return i},e.prototype.renderResult=function(e,t,r,o){var i=e.getMatrix();if(null===i)throw new n.IllegalStateException;var a=i.getWidth(),s=i.getHeight(),c=a+2*o,u=s+2*o,l=Math.max(t,c),d=Math.max(r,u),f=Math.min(Math.floor(l/c),Math.floor(d/u)),h=Math.floor((l-a*f)/2),p=Math.floor((d-s*f)/2),m=this.createSVGElement(l,d),g=this.createSvgPathPlaceholderElement(t,r);m.appendChild(g),this.containerElement.appendChild(m);for(var y=0,v=p;y{"use strict";function n(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function o(e,t){void 0===t&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}r.d(t,{ArgumentException:()=>f,AztecCodeReader:()=>xt,BarcodeFormat:()=>Ie,BinaryBitmap:()=>y,ChecksumException:()=>w,DataMatrixReader:()=>To,DecodeHintType:()=>j,EncodeHintType:()=>Za,FormatException:()=>z,HybridBinarizer:()=>fe,IllegalArgumentException:()=>m,IllegalStateException:()=>Ke,InvertedLuminanceSource:()=>ye,LuminanceSource:()=>pe,MultiFormatOneDReader:()=>to,MultiFormatReader:()=>Ga,NotFoundException:()=>ae,PDF417Reader:()=>ja,QRCodeDecoderErrorCorrectionLevel:()=>Oo,QRCodeEncoder:()=>ms,QRCodeReader:()=>Ei});var i=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=function(e){function t(t,r){var i=this.constructor,a=e.call(this,t,r)||this;return Object.defineProperty(a,"name",{value:i.name,enumerable:!1,configurable:!0}),n(a,i.prototype),o(a),a}return i(t,e),t}(Error);var s=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=function(e){function t(t){void 0===t&&(t=void 0);var r=e.call(this,t)||this;return r.message=t,r}return s(t,e),t.prototype.getKind=function(){var e=this.constructor;return e.kind},t.kind="Exception",t}(a);const u=c;var l=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.kind="ArgumentException",t}(u);const f=d;var h=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.kind="IllegalArgumentException",t}(u);const m=p;var g=function(){function e(e){if(this.binarizer=e,null===e)throw new m("Binarizer must be non-null.")}return e.prototype.getWidth=function(){return this.binarizer.getWidth()},e.prototype.getHeight=function(){return this.binarizer.getHeight()},e.prototype.getBlackRow=function(e,t){return this.binarizer.getBlackRow(e,t)},e.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},e.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},e.prototype.crop=function(t,r,n,o){var i=this.binarizer.getLuminanceSource().crop(t,r,n,o);return new e(this.binarizer.createBinarizer(i))},e.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},e.prototype.rotateCounterClockwise=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new e(this.binarizer.createBinarizer(t))},e.prototype.rotateCounterClockwise45=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new e(this.binarizer.createBinarizer(t))},e.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(e){return""}},e}();const y=g;var v=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.getChecksumInstance=function(){return new t},t.kind="ChecksumException",t}(u);const w=b;var _=function(){function e(e){this.source=e}return e.prototype.getLuminanceSource=function(){return this.source},e.prototype.getWidth=function(){return this.source.getWidth()},e.prototype.getHeight=function(){return this.source.getHeight()},e}();const E=_;var A=function(){function e(){}return e.arraycopy=function(e,t,r,n,o){while(o--)r[n++]=e[t++]},e.currentTimeMillis=function(){return Date.now()},e}();const S=A;var T=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.kind="IndexOutOfBoundsException",t}(u);const C=x;var I=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=function(e){function t(t,r){void 0===t&&(t=void 0),void 0===r&&(r=void 0);var n=e.call(this,r)||this;return n.index=t,n.message=r,n}return I(t,e),t.kind="ArrayIndexOutOfBoundsException",t}(C);const P=O;var k=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(){function e(){}return e.fill=function(e,t){for(var r=0,n=e.length;rr)throw new m("fromIndex("+t+") > toIndex("+r+")");if(t<0)throw new P(t);if(r>e)throw new P(r)},e.asList=function(){for(var e=[],t=0;t>1,s=n(r,t[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},e.numberComparator=function(e,t){return e-t},e}();const R=N;var M=function(){function e(){}return e.numberOfTrailingZeros=function(e){var t;if(0===e)return 32;var r=31;return t=e<<16,0!==t&&(r-=16,e=t),t=e<<8,0!==t&&(r-=8,e=t),t=e<<4,0!==t&&(r-=4,e=t),t=e<<2,0!==t&&(r-=2,e=t),r-(e<<1>>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16===0&&(t+=16,e<<=16),e>>>24===0&&(t+=8,e<<=8),e>>>28===0&&(t+=4,e<<=4),e>>>30===0&&(t+=2,e<<=2),t-=e>>>31,t},e.toHexString=function(e){return e.toString(16)},e.toBinaryString=function(e){return String(parseInt(String(e),2))},e.bitCount=function(e){return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),e=e+(e>>>4)&252645135,e+=e>>>8,e+=e>>>16,63&e},e.truncDivision=function(e,t){return Math.trunc(e/t)},e.parseInt=function(e,t){return void 0===t&&(t=void 0),parseInt(e,t)},e.MIN_VALUE_32_BITS=-2147483648,e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();const B=M;var L=function(){function e(t,r){void 0===t?(this.size=0,this.bits=new Int32Array(1)):(this.size=t,this.bits=void 0===r||null===r?e.makeArray(t):r)}return e.prototype.getSize=function(){return this.size},e.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},e.prototype.ensureCapacity=function(t){if(t>32*this.bits.length){var r=e.makeArray(t);S.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},e.prototype.get=function(e){return 0!==(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=r[n];o&=~((1<<(31&e))-1);var i=r.length;while(0===o){if(++n===i)return t;o=r[n]}var a=32*n+B.numberOfTrailingZeros(o);return a>t?t:a},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=~r[n];o&=~((1<<(31&e))-1);var i=r.length;while(0===o){if(++n===i)return t;o=~r[n]}var a=32*n+B.numberOfTrailingZeros(o);return a>t?t:a},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(tthis.size)throw new m;if(t!==e){t--;for(var r=Math.floor(e/32),n=Math.floor(t/32),o=this.bits,i=r;i<=n;i++){var a=i>r?0:31&e,s=ithis.size)throw new m;if(t===e)return!0;t--;for(var n=Math.floor(e/32),o=Math.floor(t/32),i=this.bits,a=n;a<=o;a++){var s=a>n?0:31&e,c=a32)throw new m("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(var r=t;r>0;r--)this.appendBit(1===(e>>r-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t);for(var r=0;r>1&1431655765|(1431655765&i)<<1,i=i>>2&858993459|(858993459&i)<<2,i=i>>4&252645135|(252645135&i)<<4,i=i>>8&16711935|(16711935&i)<<8,i=i>>16&65535|(65535&i)<<16,e[t-o]=i}if(this.size!==32*r){var a=32*r-this.size,s=e[0]>>>a;for(o=1;o>>a}e[r-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.size===r.size&&R.equals(this.bits,r.bits)},e.prototype.hashCode=function(){return 31*this.size+R.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,r=this.size;t=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};(function(e){e[e["Cp437"]=0]="Cp437",e[e["ISO8859_1"]=1]="ISO8859_1",e[e["ISO8859_2"]=2]="ISO8859_2",e[e["ISO8859_3"]=3]="ISO8859_3",e[e["ISO8859_4"]=4]="ISO8859_4",e[e["ISO8859_5"]=5]="ISO8859_5",e[e["ISO8859_6"]=6]="ISO8859_6",e[e["ISO8859_7"]=7]="ISO8859_7",e[e["ISO8859_8"]=8]="ISO8859_8",e[e["ISO8859_9"]=9]="ISO8859_9",e[e["ISO8859_10"]=10]="ISO8859_10",e[e["ISO8859_11"]=11]="ISO8859_11",e[e["ISO8859_13"]=12]="ISO8859_13",e[e["ISO8859_14"]=13]="ISO8859_14",e[e["ISO8859_15"]=14]="ISO8859_15",e[e["ISO8859_16"]=15]="ISO8859_16",e[e["SJIS"]=16]="SJIS",e[e["Cp1250"]=17]="Cp1250",e[e["Cp1251"]=18]="Cp1251",e[e["Cp1252"]=19]="Cp1252",e[e["Cp1256"]=20]="Cp1256",e[e["UnicodeBigUnmarked"]=21]="UnicodeBigUnmarked",e[e["UTF8"]=22]="UTF8",e[e["ASCII"]=23]="ASCII",e[e["Big5"]=24]="Big5",e[e["GB18030"]=25]="GB18030",e[e["EUC_KR"]=26]="EUC_KR"})(H||(H={}));var G=function(){function e(t,r,n){for(var o,i,a=[],s=3;s=900)throw new z("incorect value");var r=e.VALUES_TO_ECI.get(t);if(void 0===r)throw new z("incorect value");return r},e.getCharacterSetECIByName=function(t){var r=e.NAME_TO_ECI.get(t);if(void 0===r)throw new z("incorect value");return r},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.getName()===r.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(H.Cp437,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(H.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(H.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(H.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(H.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(H.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(H.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(H.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(H.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(H.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(H.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(H.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(H.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(H.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(H.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(H.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(H.SJIS,20,"SJIS","Shift_JIS"),e.Cp1250=new e(H.Cp1250,21,"Cp1250","windows-1250"),e.Cp1251=new e(H.Cp1251,22,"Cp1251","windows-1251"),e.Cp1252=new e(H.Cp1252,23,"Cp1252","windows-1252"),e.Cp1256=new e(H.Cp1256,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(H.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(H.UTF8,26,"UTF8","UTF-8"),e.ASCII=new e(H.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(H.Big5,28,"Big5"),e.GB18030=new e(H.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(H.EUC_KR,30,"EUC_KR","EUC-KR"),e}();const q=G;var W=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.kind="UnsupportedOperationException",t}(u);const X=K;var Z=function(){function e(){}return e.decode=function(e,t){var r=this.encodingName(t);return this.customDecoder?this.customDecoder(e,r):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(e,r):new TextDecoder(r).decode(e)},e.shouldDecodeOnFallback=function(t){return!e.isBrowser()&&"ISO-8859-1"===t},e.encode=function(e,t){var r=this.encodingName(t);return this.customEncoder?this.customEncoder(e,r):"undefined"===typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},e.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"===typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return e instanceof q?e:q.getCharacterSetECIByName(e)},e.decodeFallback=function(t,r){var n=this.encodingCharacterSet(r);if(e.isDecodeFallbackSupported(n)){for(var o="",i=0,a=t.length;i3&&239===t[0]&&187===t[1]&&191===t[2],b=0;b0?0===(128&w)?a=!1:s--:0!==(128&w)&&(0===(64&w)?a=!1:(s++,0===(32&w)?c++:(s++,0===(16&w)?u++:(s++,0===(8&w)?l++:a=!1))))),o&&(w>127&&w<160?o=!1:w>159&&(w<192||215===w||247===w)&&y++),i&&(d>0?w<64||127===w||w>252?i=!1:d--:128===w||160===w||w>239?i=!1:w>160&&w<224?(f++,p=0,h++,h>m&&(m=h)):w>127?(d++,h=0,p++,p>g&&(g=p)):(h=0,p=0))}return a&&s>0&&(a=!1),i&&d>0&&(i=!1),a&&(v||c+u+l>0)?e.UTF8:i&&(e.ASSUME_SHIFT_JIS||m>=3||g>=3)?e.SHIFT_JIS:o&&i?2===m&&2===f||10*y>=n?e.SHIFT_JIS:e.ISO88591:o?e.ISO88591:i?e.SHIFT_JIS:a?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],r=1;ra){if(-1===s)s=i-a;else if(i-a!==s)throw new m("row lengths do not match");a=i,c++}u++}else if(t.substring(u,u+r.length)===r)u+=r.length,o[i]=!0,i++;else{if(t.substring(u,u+n.length)!==n)throw new m("illegal character encountered: "+t.substring(u));u+=n.length,o[i]=!1,i++}if(i>a){if(-1===s)s=i-a;else if(i-a!==s)throw new m("row lengths do not match");c++}for(var l=new e(s,c),d=0;d>>(31&e)&1)},e.prototype.set=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new m("input matrix dimensions do not match");for(var t=new D(Math.floor(this.width/32)+1),r=this.rowSize,n=this.bits,o=0,i=this.height;othis.height||o>this.width)throw new m("The region must fit inside the matrix");for(var a=this.rowSize,s=this.bits,c=t;cs&&(s=c),32*ua){d=31;while(l>>>d===0)d--;32*u+d>a&&(a=32*u+d)}}}return a=0&&0===t[r])r--;if(r<0)return null;var n=Math.floor(r/e),o=32*Math.floor(r%e),i=t[r],a=31;while(i>>>a===0)a--;return o+=a,Int32Array.from([o,n])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&R.equals(this.bits,r.bits)},e.prototype.hashCode=function(){var e=this.width;return e=31*e+this.width,e=31*e+this.height,e=31*e+this.rowSize,e=31*e+R.hashCode(this.bits),e},e.prototype.toString=function(e,t,r){return void 0===e&&(e="X "),void 0===t&&(t=" "),void 0===r&&(r="\n"),this.buildToString(e,t,r)},e.prototype.buildToString=function(e,t,r){for(var n=new te,o=0,i=this.height;o>t.LUMINANCE_SHIFT]++;var c=t.estimateBlackPoint(a);if(o<3)for(s=0;s>t.LUMINANCE_SHIFT]++}var f=t.estimateBlackPoint(i),h=e.getMatrix();for(a=0;ai&&(o=a,i=e[a]),e[a]>n&&(n=e[a]);var s=0,c=0;for(a=0;ac&&(s=a,c=l)}if(o>s){var d=o;o=s,s=d}if(s-o<=r/16)throw new ae;var f=s-1,h=-1;for(a=s-1;a>o;a--){var p=a-o;l=p*p*(s-a)*(n-e[a]);l>h&&(f=a,h=l)}return f<=t.MINIMUM_DIMENSION&&o>=t.MINIMUM_DIMENSION){var i=r.getMatrix(),a=n>>t.BLOCK_SIZE_POWER;0!==(n&t.BLOCK_SIZE_MASK)&&a++;var s=o>>t.BLOCK_SIZE_POWER;0!==(o&t.BLOCK_SIZE_MASK)&&s++;var c=t.calculateBlackPoints(i,a,s,n,o),u=new ne(n,o);t.calculateThresholdForBlock(i,a,s,n,o,c,u),this.matrix=u}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,r,n,o,i,a,s){for(var c=i-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,l=0;lc&&(d=c);for(var f=t.cap(l,2,n-3),h=0;hu&&(p=u);for(var m=t.cap(h,2,r-3),g=0,y=-2;y<=2;y++){var v=a[f+y];g+=v[m-2]+v[m-1]+v[m]+v[m+1]+v[m+2]}var b=g/25;t.thresholdBlock(e,p,d,b,o,s)}}},t.cap=function(e,t,r){return er?r:e},t.thresholdBlock=function(e,r,n,o,i,a){for(var s=0,c=n*i+r;sa&&(l=a);for(var d=0;ds&&(f=s);for(var h=0,p=255,m=0,g=0,y=l*o+f;gm&&(m=b)}if(m-p>t.MIN_DYNAMIC_RANGE)for(g++,y+=o;g>2*t.BLOCK_SIZE_POWER;if(m-p<=t.MIN_DYNAMIC_RANGE&&(w=p/2,u>0&&d>0)){var _=(c[u-1][d]+2*c[u][d-1]+c[u-1][d-1])/4;p<_&&(w=_)}c[u][d]=w}}return c},t.BLOCK_SIZE_POWER=3,t.BLOCK_SIZE=1<>10}o[a]=c}else{i=0,a=0;for(var h=e.length;i>10}o[a]=255-c}}return o},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new m("Requested row is outside the image: "+e);var r=this.getWidth(),n=e*r;return null===t?t=this.buffer.slice(n,n+r):(t.length0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Se=function(){function e(e,t,r){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!1,configurable:!0}),e.prototype.listVideoInputDevices=function(){return _e(this,void 0,void 0,(function(){var e,t,r,n,o,i,a,s,c,u,l,d;return Ee(this,(function(f){switch(f.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=f.sent(),t=[];try{for(r=Ae(e),n=r.next();!n.done;n=r.next())o=n.value,i="video"===o.kind?"videoinput":o.kind,"videoinput"===i&&(a=o.deviceId||o.id,s=o.label||"Video device "+(t.length+1),c=o.groupId,u={deviceId:a,label:s,kind:i,groupId:c},t.push(u))}catch(h){l={error:h}}finally{try{n&&!n.done&&(d=r.return)&&d.call(r)}finally{if(l)throw l.error}}return[2,t]}}))}))},e.prototype.getVideoInputDevices=function(){return _e(this,void 0,void 0,(function(){var e;return Ee(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return e=t.sent(),[2,e.map((function(e){return new we(e.deviceId,e.label)}))]}}))}))},e.prototype.findDeviceById=function(e){return _e(this,void 0,void 0,(function(){var t;return Ee(this,(function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return t=r.sent(),t?[2,t.find((function(t){return t.deviceId===e}))]:[2,null]}}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){return _e(this,void 0,void 0,(function(){return Ee(this,(function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,r.sent()]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return _e(this,void 0,void 0,(function(){var r,n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),r=e?{deviceId:{exact:e}}:{facingMode:"environment"},n={video:r},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return _e(this,void 0,void 0,(function(){var r;return Ee(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,t)];case 2:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(e,t){return _e(this,void 0,void 0,(function(){var r,n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return r=o.sent(),[4,this.decodeOnce(r)];case 2:return n=o.sent(),[2,n]}}))}))},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,r){return _e(this,void 0,void 0,(function(){return Ee(this,(function(n){switch(n.label){case 0:return[4,this.decodeFromVideoDevice(e,t,r)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeFromVideoDevice=function(e,t,r){return _e(this,void 0,void 0,(function(){var n,o;return Ee(this,(function(i){switch(i.label){case 0:return n=e?{deviceId:{exact:e}}:{facingMode:"environment"},o={video:n},[4,this.decodeFromConstraints(o,t,r)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromConstraints=function(e,t,r){return _e(this,void 0,void 0,(function(){var n;return Ee(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=o.sent(),[4,this.decodeFromStream(n,t,r)];case 2:return[2,o.sent()]}}))}))},e.prototype.decodeFromStream=function(e,t,r){return _e(this,void 0,void 0,(function(){var n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=o.sent(),[4,this.decodeContinuously(n,r)];case 2:return[2,o.sent()]}}))}))},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return _e(this,void 0,void 0,(function(){var r;return Ee(this,(function(n){switch(n.label){case 0:return r=this.prepareVideoElement(t),this.addVideoSource(r,e),this.videoElement=r,this.stream=e,[4,this.playVideoOnLoadAsync(r)];case 1:return n.sent(),[2,r]}}))}))},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise((function(r,n){return t.playVideoOnLoad(e,(function(){return r()}))}))},e.prototype.playVideoOnLoad=function(e,t){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return _e(this,void 0,void 0,(function(){return Ee(this,(function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},e.prototype.getMediaElement=function(e,t){var r=document.getElementById(e);if(!r)throw new f("element with id '"+e+"' not found");if(r.nodeName.toLowerCase()!==t.toLowerCase())throw new f("element with id '"+e+"' must be an "+t+" element");return r},e.prototype.decodeFromImage=function(e,t){if(!e&&!t)throw new f("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,t){if(!e&&!t)throw new f("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,t,r){if(void 0===e&&void 0===t)throw new f("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,r):this.decodeFromVideoElementContinuously(e,r)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new f("An image element must be provided.");this.reset();var t,r=this.prepareImageElement(e);return this.imageElement=r,t=this.isImageLoaded(r)?this.decodeOnce(r,!1,!0):this._decodeOnLoadImage(r),t},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var r=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(r,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new f("A video element must be provided.");this.reset();var t=this.prepareVideoElement(e);return this.videoElement=t,t},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new f("An URL must be provided.");this.reset();var t=this.prepareImageElement();this.imageElement=t;var r=this._decodeOnLoadImage(t);return t.src=e,r},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new f("An URL must be provided.");this.reset();var t=this.prepareVideoElement(),r=this.decodeFromVideoElement(t);return t.src=e,r},e.prototype.decodeFromVideoUrlContinuously=function(e,t){if(!e)throw new f("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),n=this.decodeFromVideoElementContinuously(r,t);return r.src=e,n},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise((function(r,n){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(r,n)},e.addEventListener("load",t.imageLoadedListener)}))},e.prototype._decodeOnLoadVideo=function(e){return _e(this,void 0,void 0,(function(){return Ee(this,(function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}}))}))},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return _e(this,void 0,void 0,(function(){return Ee(this,(function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return r.sent(),this.decodeContinuously(e,t),[2]}}))}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){var t;return"undefined"===typeof e&&(t=document.createElement("img"),t.width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||"undefined"===typeof document||(t=document.createElement("video"),t.width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t},e.prototype.decodeOnce=function(e,t,r){var n=this;void 0===t&&(t=!0),void 0===r&&(r=!0),this._stopAsyncDecode=!1;var o=function(i,a){if(n._stopAsyncDecode)return a(new ae("Video stream has ended before any code could be detected.")),void(n._stopAsyncDecode=void 0);try{var s=n.decode(e);i(s)}catch(d){var c=t&&d instanceof ae,u=d instanceof w||d instanceof z,l=u&&r;if(c||l)return setTimeout(o,n._timeBetweenDecodingAttempts,i,a);a(d)}};return new Promise((function(e,t){return o(e,t)}))},e.prototype.decodeContinuously=function(e,t){var r=this;this._stopContinuousDecode=!1;var n=function(){if(r._stopContinuousDecode)r._stopContinuousDecode=void 0;else try{var o=r.decode(e);t(o,null),setTimeout(n,r.timeBetweenScansMillis)}catch(s){t(null,s);var i=s instanceof w||s instanceof z,a=s instanceof ae;(i||a)&&setTimeout(n,r._timeBetweenDecodingAttempts)}};n()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){this.getCaptureCanvasContext(e);e instanceof HTMLVideoElement?this.drawFrameOnCanvas(e):this.drawImageOnCanvas(e);var t=this.getCaptureCanvas(e),r=new be(t),n=new fe(r);return new y(n)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e),r=void 0;try{r=t.getContext("2d",{willReadFrequently:!0})}catch(n){r=t.getContext("2d")}this.captureCanvasContext=r}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawFrameOnCanvas=function(e,t,r){void 0===t&&(t={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.drawImageOnCanvas=function(e,t,r){void 0===t&&(t={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var t,r,n=document.createElement("canvas");return"undefined"!==typeof e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,r=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,r=e.naturalHeight||e.height)),n.style.width=t+"px",n.style.height=r+"px",n.width=t,n.height=r,n},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(e){return e.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&("undefined"!==typeof this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),"undefined"!==typeof this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),"undefined"!==typeof this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(r){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")},e}(),Te=function(){function e(e,t,r,n,o,i){void 0===r&&(r=null==t?0:8*t.length),void 0===i&&(i=S.currentTimeMillis()),this.text=e,this.rawBytes=t,this.numBits=r,this.resultPoints=n,this.format=o,this.timestamp=i,this.text=e,this.rawBytes=t,this.numBits=void 0===r||null===r?null===t||void 0===t?0:8*t.length:r,this.resultPoints=n,this.format=o,this.resultMetadata=null,this.timestamp=void 0===i||null===i?S.currentTimeMillis():i}return e.prototype.getText=function(){return this.text},e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.getBarcodeFormat=function(){return this.format},e.prototype.getResultMetadata=function(){return this.resultMetadata},e.prototype.putMetadata=function(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)},e.prototype.putAllMetadata=function(e){null!==e&&(null===this.resultMetadata?this.resultMetadata=e:this.resultMetadata=new Map(e))},e.prototype.addResultPoints=function(e){var t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){var r=new Array(t.length+e.length);S.arraycopy(t,0,r,0,t.length),S.arraycopy(e,0,r,t.length,e.length),this.resultPoints=r}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();const xe=Te;var Ce;(function(e){e[e["AZTEC"]=0]="AZTEC",e[e["CODABAR"]=1]="CODABAR",e[e["CODE_39"]=2]="CODE_39",e[e["CODE_93"]=3]="CODE_93",e[e["CODE_128"]=4]="CODE_128",e[e["DATA_MATRIX"]=5]="DATA_MATRIX",e[e["EAN_8"]=6]="EAN_8",e[e["EAN_13"]=7]="EAN_13",e[e["ITF"]=8]="ITF",e[e["MAXICODE"]=9]="MAXICODE",e[e["PDF_417"]=10]="PDF_417",e[e["QR_CODE"]=11]="QR_CODE",e[e["RSS_14"]=12]="RSS_14",e[e["RSS_EXPANDED"]=13]="RSS_EXPANDED",e[e["UPC_A"]=14]="UPC_A",e[e["UPC_E"]=15]="UPC_E",e[e["UPC_EAN_EXTENSION"]=16]="UPC_EAN_EXTENSION"})(Ce||(Ce={}));const Ie=Ce;var Oe;(function(e){e[e["OTHER"]=0]="OTHER",e[e["ORIENTATION"]=1]="ORIENTATION",e[e["BYTE_SEGMENTS"]=2]="BYTE_SEGMENTS",e[e["ERROR_CORRECTION_LEVEL"]=3]="ERROR_CORRECTION_LEVEL",e[e["ISSUE_NUMBER"]=4]="ISSUE_NUMBER",e[e["SUGGESTED_PRICE"]=5]="SUGGESTED_PRICE",e[e["POSSIBLE_COUNTRY"]=6]="POSSIBLE_COUNTRY",e[e["UPC_EAN_EXTENSION"]=7]="UPC_EAN_EXTENSION",e[e["PDF417_EXTRA_METADATA"]=8]="PDF417_EXTRA_METADATA",e[e["STRUCTURED_APPEND_SEQUENCE"]=9]="STRUCTURED_APPEND_SEQUENCE",e[e["STRUCTURED_APPEND_PARITY"]=10]="STRUCTURED_APPEND_PARITY"})(Oe||(Oe={}));const Pe=Oe;var ke=function(){function e(e,t,r,n,o,i){void 0===o&&(o=-1),void 0===i&&(i=-1),this.rawBytes=e,this.text=t,this.byteSegments=r,this.ecLevel=n,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=i,this.numBits=void 0===e||null===e?0:8*e.length}return e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.setNumBits=function(e){this.numBits=e},e.prototype.getText=function(){return this.text},e.prototype.getByteSegments=function(){return this.byteSegments},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getErrorsCorrected=function(){return this.errorsCorrected},e.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},e.prototype.getErasures=function(){return this.erasures},e.prototype.setErasures=function(e){this.erasures=e},e.prototype.getOther=function(){return this.other},e.prototype.setOther=function(e){this.other=e},e.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();const Ne=ke;var Re=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new m;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();const Me=Re;var Be=function(){function e(e,t){if(0===t.length)throw new m;this.field=e;var r=t.length;if(r>1&&0===t[0]){var n=1;while(nn.length){var o=r;r=n,n=o}var i=new Int32Array(n.length),a=n.length-r.length;S.arraycopy(n,0,i,0,a);for(var s=a;s=e.getDegree()&&!n.isZero()){var a=n.getDegree()-e.getDegree(),s=t.multiply(n.getCoefficient(n.getDegree()),i),c=e.multiplyByMonomial(a,s),u=t.buildMonomial(a,s);r=r.addOrSubtract(u),n=n.addOrSubtract(c)}return[r,n]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);if(0!==r){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),0===t||1!==r){var n=this.field.log(r);0===n?e+="1":1===n?e+="a":(e+="a^",e+=n)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();const Le=Be;var De=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return De(t,e),t.kind="ArithmeticException",t}(u);const je=Fe;var Ue=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),$e=function(e){function t(t,r,n){var o=e.call(this)||this;o.primitive=t,o.size=r,o.generatorBase=n;for(var i=new Int32Array(r),a=1,s=0;s=r&&(a^=t,a&=r-1);o.expTable=i;var c=new Int32Array(r);for(s=0;s=(r/2|0)){var u=i,l=s;if(i=a,s=c,i.isZero())throw new Ge("r_{i-1} was zero");a=u;var d=o.getZero(),f=i.getCoefficient(i.getDegree()),h=o.inverse(f);while(a.getDegree()>=i.getDegree()&&!a.isZero()){var p=a.getDegree()-i.getDegree(),m=o.multiply(a.getCoefficient(a.getDegree()),h);d=d.addOrSubtract(o.buildMonomial(p,m)),a=a.addOrSubtract(i.multiplyByMonomial(p,m))}if(c=d.multiply(s).addOrSubtract(l),a.getDegree()>=i.getDegree())throw new Ke("Division algorithm failed to reduce polynomial?")}var g=c.getCoefficient(0);if(0===g)throw new Ge("sigmaTilde(0) was zero");var y=o.inverse(g),v=c.multiplyScalar(y),b=a.multiplyScalar(y);return[v,b]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var r=new Int32Array(t),n=0,o=this.field,i=1;i1,p,p+n-1),p+=n-1;else for(var m=n-1;m>=0;--m)h[p++]=0!==(f&1<=8?e.readCode(t,r,8):e.readCode(t,r,n)<<8-n},e.convertBoolArrayToByteArray=function(t){for(var r=new Uint8Array((t.length+7)/8),n=0;n","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}();const Je=Qe;var et=function(){function e(){}return e.round=function(e){return isNaN(e)?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,r,n){var o=e-r,i=t-n;return Math.sqrt(o*o+i*i)},e.sum=function(e){for(var t=0,r=0,n=e.length;r!==n;r++){var o=e[r];t+=o}return t},e}();const tt=et;var rt=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();const nt=rt;var ot=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){if(t instanceof e){var r=t;return this.x===r.x&&this.y===r.y}return!1},e.prototype.hashCode=function(){return 31*nt.floatToIntBits(this.x)+nt.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,r,n,o=this.distance(e[0],e[1]),i=this.distance(e[1],e[2]),a=this.distance(e[0],e[2]);if(i>=o&&i>=a?(r=e[0],t=e[1],n=e[2]):a>=i&&a>=o?(r=e[1],t=e[0],n=e[2]):(r=e[2],t=e[0],n=e[1]),this.crossProductZ(t,r,n)<0){var s=t;t=n,n=s}e[0]=t,e[1]=r,e[2]=n},e.distance=function(e,t){return tt.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,r){var n=t.x,o=t.y;return(r.x-n)*(e.y-o)-(r.y-o)*(e.x-n)},e}();const it=ot;var at=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();const st=at;var ct=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ut=function(e){function t(t,r,n,o,i){var a=e.call(this,t,r)||this;return a.compact=n,a.nbDatablocks=o,a.nbLayers=i,a}return ct(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(st);const lt=ut;var dt=function(){function e(t,r,n,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),void 0!==r&&null!==r||(r=e.INIT_SIZE),void 0!==n&&null!==n||(n=t.getWidth()/2|0),void 0!==o&&null!==o||(o=t.getHeight()/2|0);var i=r/2|0;if(this.leftInit=n-i,this.rightInit=n+i,this.upInit=o-i,this.downInit=o+i,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new ae}return e.prototype.detect=function(){var e=this.leftInit,t=this.rightInit,r=this.upInit,n=this.downInit,o=!1,i=!0,a=!1,s=!1,c=!1,u=!1,l=!1,d=this.width,f=this.height;while(i){i=!1;var h=!0;while((h||!s)&&t=d){o=!0;break}var p=!0;while((p||!c)&&n=f){o=!0;break}var m=!0;while((m||!u)&&e>=0)m=this.containsBlackPoint(r,n,e,!1),m?(e--,i=!0,u=!0):u||e--;if(e<0){o=!0;break}var g=!0;while((g||!l)&&r>=0)g=this.containsBlackPoint(e,t,r,!0),g?(r--,i=!0,l=!0):l||r--;if(r<0){o=!0;break}i&&(a=!0)}if(!o&&a){for(var y=t-e,v=null,b=1;null===v&&br||s<-1||s>n)throw new ae;o=!1,-1===a?(t[i]=0,o=!0):a===r&&(t[i]=r-1,o=!0),-1===s?(t[i+1]=0,o=!0):s===n&&(t[i+1]=n-1,o=!0)}o=!0;for(i=t.length-2;i>=0&&o;i-=2){a=Math.floor(t[i]),s=Math.floor(t[i+1]);if(a<-1||a>r||s<-1||s>n)throw new ae;o=!1,-1===a?(t[i]=0,o=!0):a===r&&(t[i]=r-1,o=!0),-1===s?(t[i+1]=0,o=!0):s===n&&(t[i+1]=n-1,o=!0)}},e}();const pt=ht;var mt=function(){function e(e,t,r,n,o,i,a,s,c){this.a11=e,this.a21=t,this.a31=r,this.a12=n,this.a22=o,this.a32=i,this.a13=a,this.a23=s,this.a33=c}return e.quadrilateralToQuadrilateral=function(t,r,n,o,i,a,s,c,u,l,d,f,h,p,m,g){var y=e.quadrilateralToSquare(t,r,n,o,i,a,s,c),v=e.squareToQuadrilateral(u,l,d,f,h,p,m,g);return v.times(y)},e.prototype.transformPoints=function(e){for(var t=e.length,r=this.a11,n=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,c=this.a31,u=this.a32,l=this.a33,d=0;d>1&127):(n<<=10,n+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},e.prototype.getRotation=function(e,t){var r=0;e.forEach((function(e,n,o){var i=(e>>t-2<<1)+(1&e);r=(r<<3)+i})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(B.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new ae},e.prototype.getCorrectedParameterData=function(e,t){var r,n;t?(r=7,n=2):(r=10,n=4);for(var o=r-n,i=new Int32Array(r),a=r-1;a>=0;--a)i[a]=15&e,e>>=4;try{var s=new Ze(ze.AZTEC_PARAM);s.decode(i,o)}catch(u){throw new ae}var c=0;for(a=0;a2){var l=this.distancePoint(u,a)*this.nbCenterLayers/(this.distancePoint(o,t)*(this.nbCenterLayers+2));if(l<.75||l>1.25||!this.isWhiteOrBlackRectangle(a,s,c,u))break}t=a,r=s,n=c,o=u,i=!i}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new ae;this.compact=5===this.nbCenterLayers;var d=new it(t.getX()+.5,t.getY()-.5),f=new it(r.getX()+.5,r.getY()+.5),h=new it(n.getX()-.5,n.getY()+.5),p=new it(o.getX()-.5,o.getY()-.5);return this.expandSquare([d,f,h,p],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,r,n;try{var o=new ft(this.image).detect();e=o[0],t=o[1],r=o[2],n=o[3]}catch(u){var i=this.image.getWidth()/2,a=this.image.getHeight()/2;e=this.getFirstDifferent(new Et(i+7,a-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new Et(i+7,a+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Et(i-7,a+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new Et(i-7,a-7),!1,-1,-1).toResultPoint()}var s=tt.round((e.getX()+n.getX()+t.getX()+r.getX())/4),c=tt.round((e.getY()+n.getY()+t.getY()+r.getY())/4);try{o=new ft(this.image,15,s,c).detect();e=o[0],t=o[1],r=o[2],n=o[3]}catch(u){e=this.getFirstDifferent(new Et(s+7,c-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new Et(s+7,c+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Et(s-7,c+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new Et(s-7,c-7),!1,-1,-1).toResultPoint()}return s=tt.round((e.getX()+n.getX()+t.getX()+r.getX())/4),c=tt.round((e.getY()+n.getY()+t.getY()+r.getY())/4),new Et(s,c)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,r,n,o){var i=_t.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,c=a/2+this.nbCenterLayers;return i.sampleGrid(e,a,a,s,s,c,s,c,c,s,c,t.getX(),t.getY(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,r){for(var n=0,o=this.distanceResultPoint(e,t),i=o/r,a=e.getX(),s=e.getY(),c=i*(t.getX()-e.getX())/o,u=i*(t.getY()-e.getY())/o,l=0;l.1&&d<.9?0:d<=.1===c?1:-1},e.prototype.getFirstDifferent=function(e,t,r,n){var o=e.getX()+r,i=e.getY()+n;while(this.isValid(o,i)&&this.image.get(o,i)===t)o+=r,i+=n;o-=r,i-=n;while(this.isValid(o,i)&&this.image.get(o,i)===t)o+=r;o-=r;while(this.isValid(o,i)&&this.image.get(o,i)===t)i+=n;return i-=n,new Et(o,i)},e.prototype.expandSquare=function(e,t,r){var n=r/(2*t),o=e[0].getX()-e[2].getX(),i=e[0].getY()-e[2].getY(),a=(e[0].getX()+e[2].getX())/2,s=(e[0].getY()+e[2].getY())/2,c=new it(a+n*o,s+n*i),u=new it(a-n*o,s-n*i);o=e[1].getX()-e[3].getX(),i=e[1].getY()-e[3].getY(),a=(e[1].getX()+e[3].getX())/2,s=(e[1].getY()+e[3].getY())/2;var l=new it(a+n*o,s+n*i),d=new it(a-n*o,s-n*i),f=[c,l,u,d];return f},e.prototype.isValid=function(e,t){return e>=0&&e0&&t>(a?8:5));r=a?o:15;for(var c=Math.trunc(o/2),u=0;u=o)break;try{i=e.getBlackRow(f,i)}catch(y){continue}for(var h=function(e){if(1===e&&(i.reverse(),t&&!0===t.get(j.NEED_RESULT_POINT_CALLBACK))){var r=new Map;t.forEach((function(e,t){return r.set(t,e)})),r.delete(j.NEED_RESULT_POINT_CALLBACK),t=r}try{var o=p.decodeRow(f,i,t);if(1===e){o.putMetadata(Pe.ORIENTATION,180);var a=o.getResultPoints();null!==a&&(a[0]=new it(n-a[0].getX()-1,a[0].getY()),a[1]=new it(n-a[1].getX()-1,a[1].getY()))}return{value:o}}catch(s){}},p=this,m=0;m<2;m++){var g=h(m);if("object"===typeof g)return g.value}}throw new ae},e.recordPattern=function(e,t,r){for(var n=r.length,o=0;o=i)throw new ae;var a=!e.get(t),s=0,c=t;while(c0&&o>=0)t.get(--r)!==i&&(o--,i=!i);if(o>=0)throw new ae;e.recordPattern(t,r+1,n)},e.patternMatchVariance=function(e,t,r){for(var n=e.length,o=0,i=0,a=0;ad?l-d:d-l;if(f>r)return Number.POSITIVE_INFINITY;c+=f}return c/o},e}());const Ot=It;var Pt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pt(t,e),t.findStartPattern=function(e){for(var r=e.getSize(),n=e.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=n,s=!1,c=6,u=n;u=0&&e.isRange(Math.max(0,a-(u-a)/2),a,!1))return Int32Array.from([a,u,d]);a+=i[0]+i[1],i=i.slice(2,i.length-1),i[o-1]=0,i[o]=0,o--}else o++;i[o]=1,s=!s}throw new ae},t.decodeCode=function(e,r,n){Ot.recordPattern(e,n,r);for(var o=t.MAX_AVG_VARIANCE,i=-1,a=0;a=0)return i;throw new ae},t.prototype.decodeRow=function(e,r,n){var o,i=n&&!0===n.get(j.ASSUME_GS1),a=t.findStartPattern(r),s=a[2],c=0,u=new Uint8Array(20);switch(u[c++]=s,s){case t.CODE_START_A:o=t.CODE_CODE_A;break;case t.CODE_START_B:o=t.CODE_CODE_B;break;case t.CODE_START_C:o=t.CODE_CODE_C;break;default:throw new z}var l=!1,d=!1,f="",h=a[0],p=a[1],m=Int32Array.from([0,0,0,0,0,0]),g=0,y=0,v=s,b=0,_=!0,E=!1,A=!1;while(!l){var S=d;switch(d=!1,g=y,y=t.decodeCode(r,m,p),u[c++]=y,y!==t.CODE_STOP&&(_=!0),y!==t.CODE_STOP&&(b++,v+=b*y),h=p,p+=m.reduce((function(e,t){return e+t}),0),y){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new z}switch(o){case t.CODE_CODE_A:if(y<64)f+=A===E?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),A=!1;else if(y<96)f+=A===E?String.fromCharCode(y-64):String.fromCharCode(y+64),A=!1;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!E&&A?(E=!0,A=!1):E&&A?(E=!1,A=!1):A=!0;break;case t.CODE_SHIFT:d=!0,o=t.CODE_CODE_B;break;case t.CODE_CODE_B:o=t.CODE_CODE_B;break;case t.CODE_CODE_C:o=t.CODE_CODE_C;break;case t.CODE_STOP:l=!0;break}break;case t.CODE_CODE_B:if(y<96)f+=A===E?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),A=!1;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!E&&A?(E=!0,A=!1):E&&A?(E=!1,A=!1):A=!0;break;case t.CODE_SHIFT:d=!0,o=t.CODE_CODE_A;break;case t.CODE_CODE_A:o=t.CODE_CODE_A;break;case t.CODE_CODE_C:o=t.CODE_CODE_C;break;case t.CODE_STOP:l=!0;break}break;case t.CODE_CODE_C:if(y<100)y<10&&(f+="0"),f+=y;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_CODE_A:o=t.CODE_CODE_A;break;case t.CODE_CODE_B:o=t.CODE_CODE_B;break;case t.CODE_STOP:l=!0;break}break}S&&(o=o===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var T=p-h;if(p=r.getNextUnset(p),!r.isRange(p,Math.min(r.getSize(),p+(p-h)/2),!1))throw new ae;if(v-=b*g,v%103!==g)throw new w;var x=f.length;if(0===x)throw new ae;x>0&&_&&(f=o===t.CODE_CODE_C?f.substring(0,x-2):f.substring(0,x-1));for(var C=(a[1]+a[0])/2,I=h+T/2,O=u.length,P=new Uint8Array(O),k=0;k=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Bt=function(e){function t(t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.call(this)||this;return n.usingCheckDigit=t,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return Rt(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c=this.counters;c.fill(0),this.decodeRowResult="";var u,l,d=t.findAsteriskPattern(r,c),f=r.getNextSet(d[1]),h=r.getSize();do{t.recordPattern(r,f,c);var p=t.toNarrowWidePattern(c);if(p<0)throw new ae;u=t.patternToChar(p),this.decodeRowResult+=u,l=f;try{for(var m=(o=void 0,Mt(c)),g=m.next();!g.done;g=m.next()){var y=g.value;f+=y}}catch(O){o={error:O}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}f=r.getNextSet(f)}while("*"!==u);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var b=Mt(c),_=b.next();!_.done;_=b.next()){y=_.value;v+=y}}catch(P){a={error:P}}finally{try{_&&!_.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}var E,A=f-l-v;if(f!==h&&2*Ai&&(a=u)}}catch(h){t={error:h}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}i=a,n=0;for(var l=0,d=0,f=0;fi&&(d|=1<0;f++){u=e[f];if(u>i&&(n--,2*u>=l))return-1}return d}}while(n>3);return-1},t.patternToChar=function(e){for(var r=0;r="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")a=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")a=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")a=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)a="\0";else if("V"===i)a="@";else if("W"===i)a="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new z;a=""}break;case"/":if(i>="A"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new z;a=":"}break}r+=a,n++}else r+=o}return r},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(Ot);const Lt=Bt;var Dt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ft=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},jt=function(e){function t(){var t=e.call(this)||this;return t.decodeRowResult="",t.counters=new Int32Array(6),t}return Dt(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c,u,l=this.findAsteriskPattern(r),d=r.getNextSet(l[1]),f=r.getSize(),h=this.counters;h.fill(0),this.decodeRowResult="";do{t.recordPattern(r,d,h);var p=this.toPattern(h);if(p<0)throw new ae;c=this.patternToChar(p),this.decodeRowResult+=c,u=d;try{for(var m=(o=void 0,Ft(h)),g=m.next();!g.done;g=m.next()){var y=g.value;d+=y}}catch(S){o={error:S}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}d=r.getNextSet(d)}while("*"!==c);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var b=Ft(h),w=b.next();!w.done;w=b.next()){y=w.value;v+=y}}catch(T){a={error:T}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}if(d===f||!r.get(d))throw new ae;if(this.decodeRowResult.length<2)throw new ae;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var _=this.decodeExtended(this.decodeRowResult),E=(l[1]+l[0])/2,A=u+v/2;return new xe(_,null,0,[new it(E,e),new it(A,e)],Ie.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var r=e.getSize(),n=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,i=n,a=!1,s=o.length,c=0,u=n;u4)return-1;if(0===(1&u))for(var d=0;d="a"&&o<="d"){if(n>=t-1)throw new z;var i=e.charAt(n+1),a="\0";switch(o){case"d":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)+32);break;case"a":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)-64);break;case"b":if(i>="A"&&i<="E")a=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")a=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")a=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)a="\0";else if("V"===i)a="@";else if("W"===i)a="`";else{if(!(i>="X"&&i<="Z"))throw new z;a=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new z;a=":"}break}r+=a,n++}else r+=o}return r},t.prototype.checkChecksums=function(e){var t=e.length;this.checkOneChecksum(e,t-2,20),this.checkOneChecksum(e,t-1,15)},t.prototype.checkOneChecksum=function(e,r,n){for(var o=1,i=0,a=r-1;a>=0;a--)i+=o*t.ALPHABET_STRING.indexOf(e.charAt(a)),++o>n&&(o=1);if(e.charAt(r)!==t.ALPHABET_STRING[i%47])throw new w},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",t.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],t.ASTERISK_ENCODING=t.CHARACTER_ENCODINGS[47],t}(Ot);const Ut=jt;var $t=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),zt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ht=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return $t(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a=this.decodeStart(r),s=this.decodeEnd(r),c=new te;t.decodeMiddle(r,a[1],s[0],c);var u=c.toString(),l=null;null!=n&&(l=n.get(j.ALLOWED_LENGTHS)),null==l&&(l=t.DEFAULT_ALLOWED_LENGTHS);var d=u.length,f=!1,h=0;try{for(var p=zt(l),m=p.next();!m.done;m=p.next()){var g=m.value;if(d===g){f=!0;break}g>h&&(h=g)}}catch(b){o={error:b}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(!f&&d>h&&(f=!0),!f)throw new z;var y=[new it(a[1],e),new it(s[0],e)],v=new xe(u,null,0,y,Ie.ITF,(new Date).getTime());return v},t.decodeMiddle=function(e,r,n,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);i.fill(0),a.fill(0),s.fill(0);while(r0&&n>=0;n--){if(e.get(n))break;r--}if(0!==r)throw new ae},t.skipWhiteSpace=function(e){var t=e.getSize(),r=e.getNextSet(0);if(r===t)throw new ae;return r},t.prototype.decodeEnd=function(e){e.reverse();try{var r=t.skipWhiteSpace(e),n=void 0;try{n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[0])}catch(i){i instanceof ae&&(n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,n[0]);var o=n[0];return n[0]=e.getSize()-n[1],n[1]=e.getSize()-o,n}finally{e.reverse()}},t.findGuardPattern=function(e,r,n){var o=n.length,i=new Int32Array(o),a=e.getSize(),s=!1,c=0,u=r;i.fill(0);for(var l=r;l=0)return n%10;throw new ae},t.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=Int32Array.from([1,1,1,1]),t.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],t}(Ot);const Vt=Ht;var Gt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),qt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.decodeRowStringBuffer="",t}return Gt(t,e),t.findStartGuardPattern=function(e){var r,n=!1,o=0,i=Int32Array.from([0,0,0]);while(!n){i=Int32Array.from([0,0,0]),r=t.findGuardPattern(e,o,!1,this.START_END_PATTERN,i);var a=r[0];o=r[1];var s=a-(o-a);s>=0&&(n=e.isRange(s,a,!1))}return r},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var r=e.length;if(0===r)return!1;var n=parseInt(e.charAt(r-1),10);return t.getStandardUPCEANChecksum(e.substring(0,r-1))===n},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,r=0,n=t-1;n>=0;n-=2){var o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}r*=3;for(n=t-2;n>=0;n-=2){o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}return(1e3-r)%10},t.decodeEnd=function(e,r){return t.findGuardPattern(e,r,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPatternWithoutCounters=function(e,t,r,n){return this.findGuardPattern(e,t,r,n,new Int32Array(n.length))},t.findGuardPattern=function(e,r,n,o,i){var a=e.getSize();r=n?e.getNextUnset(r):e.getNextSet(r);for(var s=0,c=r,u=o.length,l=n,d=r;d=0)return a;throw new ae},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=Int32Array.from([1,1,1]),t.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),t.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],t}(Ot);const Wt=qt;var Kt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Xt=function(){function e(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,n){var o=this.decodeRowStringBuffer,i=this.decodeMiddle(r,n,o),a=o.toString(),s=e.parseExtensionString(a),c=[new it((n[0]+n[1])/2,t),new it(i,t)],u=new xe(a,null,0,c,Ie.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&u.putAllMetadata(s),u},e.prototype.decodeMiddle=function(t,r,n){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),c=r[1],u=0,l=0;l<5&&c=10&&(u|=1<<4-l),4!==l&&(c=t.getNextSet(c),c=t.getNextUnset(c))}if(5!==n.length)throw new ae;var m=this.determineCheckDigit(u);if(e.extensionChecksum(n.toString())!==m)throw new ae;return c},e.extensionChecksum=function(e){for(var t=e.length,r=0,n=t-2;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=t-1;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return r*=3,r%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new ae},e.parseExtensionString=function(t){if(5!==t.length)return null;var r=e.parseExtension5String(t);return null==r?null:new Map([[Pe.SUGGESTED_PRICE,r]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="£";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t="";break}var r=parseInt(e.substring(1)),n=(r/100).toString(),o=r%100,i=o<10?"0"+o:o.toString();return t+n+"."+i},e}();const Zt=Xt;var Yt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Qt=function(){function e(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,n){var o=this.decodeRowStringBuffer,i=this.decodeMiddle(r,n,o),a=o.toString(),s=e.parseExtensionString(a),c=[new it((n[0]+n[1])/2,t),new it(i,t)],u=new xe(a,null,0,c,Ie.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&u.putAllMetadata(s),u},e.prototype.decodeMiddle=function(e,t,r){var n,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=e.getSize(),s=t[1],c=0,u=0;u<2&&s=10&&(c|=1<<1-u),1!==u&&(s=e.getNextSet(s),s=e.getNextUnset(s))}if(2!==r.length)throw new ae;if(parseInt(r.toString())%4!==c)throw new ae;return s},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[Pe.ISSUE_NUMBER,parseInt(e)]])},e}();const Jt=Qt;var er=function(){function e(){}return e.decodeRow=function(e,t,r){var n=Wt.findGuardPattern(t,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{var o=new Zt;return o.decodeRow(e,t,n)}catch(a){var i=new Jt;return i.decodeRow(e,t,n)}},e.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),e}();const tr=er;var rr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),nr=function(e){function t(){var r=e.call(this)||this;r.decodeRowStringBuffer="",t.L_AND_G_PATTERNS=t.L_PATTERNS.map((function(e){return Int32Array.from(e)}));for(var n=10;n<20;n++){for(var o=t.L_PATTERNS[n-10],i=new Int32Array(o.length),a=0;a=r.getSize()||!r.isRange(h,p,!1))throw new ae;var m=u.toString();if(m.length<8)throw new z;if(!t.checkChecksum(m))throw new w;var g=(o[1]+o[0])/2,y=(d[1]+d[0])/2,v=this.getBarcodeFormat(),b=[new it(g,e),new it(y,e)],_=new xe(m,null,0,b,v,(new Date).getTime()),E=0;try{var A=tr.decodeRow(e,r,d[1]);_.putMetadata(Pe.UPC_EAN_EXTENSION,A.getText()),_.putAllMetadata(A.getResultMetadata()),_.addResultPoints(A.getResultPoints()),E=A.getText().length}catch(C){}var S=null==n?null:n.get(j.ALLOWED_EAN_EXTENSIONS);if(null!=S){var T=!1;for(var x in S)if(E.toString()===x){T=!0;break}if(!T)throw new ae}return v===Ie.EAN_13||Ie.UPC_A,_},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var r=e.length;if(0===r)return!1;var n=parseInt(e.charAt(r-1),10);return t.getStandardUPCEANChecksum(e.substring(0,r-1))===n},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,r=0,n=t-1;n>=0;n-=2){var o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}r*=3;for(n=t-2;n>=0;n-=2){o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}return(1e3-r)%10},t.decodeEnd=function(e,r){return t.findGuardPattern(e,r,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t}(Wt);const or=nr;var ir=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ar=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},sr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return ir(t,e),t.prototype.decodeMiddle=function(e,r,n){var o,i,a,s,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var u=e.getSize(),l=r[1],d=0,f=0;f<6&&l=10&&(d|=1<<5-f)}n=t.determineFirstDigit(n,d);var y=or.findGuardPattern(e,l,!0,or.MIDDLE_PATTERN,new Int32Array(or.MIDDLE_PATTERN.length).fill(0));l=y[1];for(f=0;f<6&&l=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},dr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return ur(t,e),t.prototype.decodeMiddle=function(e,t,r){var n,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=e.getSize(),u=t[1],l=0;l<4&&u=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},vr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return gr(t,e),t.prototype.decodeMiddle=function(e,r,n){var o,i,a=this.decodeMiddleCounters.map((function(e){return e}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=r[1],u=0,l=0;l<6&&c=10&&(u|=1<<5-l)}return t.determineNumSysAndCheckDigit(new te(n),u),c},t.prototype.decodeEnd=function(e,r){return t.findGuardPatternWithoutCounters(e,r,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return or.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return e.insert(0,"0"+r),void e.append("0"+n);throw ae.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return Ie.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),r=new te;r.append(e.charAt(0));var n=t[5];switch(n){case 0:case 1:case 2:r.appendChars(t,0,2),r.append(n),r.append("0000"),r.appendChars(t,2,3);break;case 3:r.appendChars(t,0,3),r.append("00000"),r.appendChars(t,3,2);break;case 4:r.appendChars(t,0,4),r.append("00000"),r.append(t[4]);break;default:r.appendChars(t,0,5),r.append("0000"),r.append(n);break}return e.length>=8&&r.append(e.charAt(7)),r.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],t}(or);const br=vr;var wr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),_r=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Er=function(e){function t(t){var r=e.call(this)||this,n=null==t?null:t.get(j.POSSIBLE_FORMATS),o=[];return null!=n&&(n.indexOf(Ie.EAN_13)>-1&&o.push(new cr),n.indexOf(Ie.UPC_A)>-1&&o.push(new mr),n.indexOf(Ie.EAN_8)>-1&&o.push(new fr),n.indexOf(Ie.UPC_E)>-1&&o.push(new br)),0===o.length&&(o.push(new cr),o.push(new mr),o.push(new fr),o.push(new br)),r.readers=o,r}return wr(t,e),t.prototype.decodeRow=function(e,t,r){var n,o;try{for(var i=_r(this.readers),a=i.next();!a.done;a=i.next()){var s=a.value;try{var c=s.decodeRow(e,t,r),u=c.getBarcodeFormat()===Ie.EAN_13&&"0"===c.getText().charAt(0),l=null==r?null:r.get(j.POSSIBLE_FORMATS),d=null==l||l.includes(Ie.UPC_A);if(u&&d){var f=c.getRawBytes(),h=new xe(c.getText().substring(1),f,f?f.length:null,c.getResultPoints(),Ie.UPC_A);return h.putAllMetadata(c.getResultMetadata()),h}return c}catch(p){}}}catch(m){n={error:m}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}throw new ae},t.prototype.reset=function(){var e,t;try{for(var r=_r(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t}(Ot);const Ar=Er;var Sr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Tr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},t}return Sr(t,e),t.prototype.decodeRow=function(e,t,r){var n=this.getValidRowData(t);if(!n)throw new ae;var o=this.codaBarDecodeRow(n.row);if(!o)throw new ae;return new xe(o,null,0,[new it(n.left,e),new it(n.right,e)],Ie.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),r=t.indexOf(!0);if(-1===r)return null;var n=t.lastIndexOf(!0);if(n<=r)return null;t=t.slice(r,n+1);for(var o=[],i=t[0],a=1,s=1;s0){var n=e.splice(0,8).splice(0,7),o=n.map((function(e){return e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Or=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Int32Array(4),t.dataCharacterCounters=new Int32Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return Cr(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,r){for(var n=0;nn&&(n=t[o],r=o);e[r]++},t.decrement=function(e,t){for(var r=0,n=t[0],o=1;o=t.MIN_FINDER_PATTERN_RATIO&&a<=t.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,c=Number.MIN_SAFE_INTEGER;try{for(var u=Ir(e),l=u.next();!l.done;l=u.next()){var d=l.value;d>c&&(c=d),d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Lr=function(){function e(){}return e.getRSSvalue=function(t,r,n){var o,i,a=0;try{for(var s=Br(t),c=s.next();!c.done;c=s.next()){var u=c.value;a+=u}}catch(v){o={error:v}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}for(var l=0,d=0,f=t.length,h=0;h=f-h-1&&(m-=e.combins(a-p-(f-h),f-h-2)),f-h-1>1){for(var g=0,y=a-p-(f-h-2);y>r;y--)g+=e.combins(a-p-y-1,f-h-3);m-=g*(f-1-h)}else a-p>r&&m--;l+=m}a-=p}return l},e.combins=function(e,t){var r,n;e-t>t?(n=t,r=e-t):(n=e-t,r=t);for(var o=1,i=1,a=e;a>r;a--)o*=a,i<=n&&(o/=i,i++);while(i<=n)o/=i,i++;return o},e}();const Dr=Lr;var Fr=function(){function e(){}return e.buildBitArray=function(e){var t=2*e.length-1;null==e[e.length-1].getRightChar()&&(t-=1);for(var r=12*t,n=new D(r),o=0,i=e[0],a=i.getRightChar().getValue(),s=11;s>=0;--s)0!==(a&1<=0;--l)0!==(u&1<=0;--l)0!==(d&1<10||n<0||n>10)throw new z;return o.firstDigit=r,o.secondDigit=n,o}return Zr(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(Hr);const Qr=Yr;var Jr=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},en=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var r,n,o,i,a,s,c,u;if(!t)return null;if(t.length<2)throw new ae;var l=t.substring(0,2);try{for(var d=Jr(e.TWO_DIGIT_DATA_LENGTH),f=d.next();!f.done;f=d.next()){var h=f.value;if(h[0]===l)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,h[2],t):e.processFixedAI(2,h[1],t)}}catch(E){r={error:E}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}if(t.length<3)throw new ae;var p=t.substring(0,3);try{for(var m=Jr(e.THREE_DIGIT_DATA_LENGTH),g=m.next();!g.done;g=m.next()){h=g.value;if(h[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,h[2],t):e.processFixedAI(3,h[1],t)}}catch(A){o={error:A}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}try{for(var y=Jr(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),v=y.next();!v.done;v=y.next()){h=v.value;if(h[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(S){a={error:S}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}if(t.length<4)throw new ae;var b=t.substring(0,4);try{for(var w=Jr(e.FOUR_DIGIT_DATA_LENGTH),_=w.next();!_.done;_=w.next()){h=_.value;if(h[0]===b)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(T){c={error:T}}finally{try{_&&!_.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}throw new ae},e.processFixedAI=function(t,r,n){if(n.lengththis.information.getSize())return e+4<=this.information.getSize();for(var t=e;tthis.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new Qr(this.information.getSize(),0===t?Qr.FNC1:t-1,Qr.FNC1)}var r=this.extractNumericValueFromBitArray(e,7),n=(r-8)/11,o=(r-8)%11;return new Qr(e+7,n,o)},e.prototype.extractNumericValueFromBitArray=function(t,r){return e.extractNumericValueFromBitArray(this.information,t,r)},e.extractNumericValueFromBitArray=function(e,t,r){for(var n=0,o=0;othis.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<116)return!0;if(e+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,8);return n>=232&&n<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new qr(e+5,qr.FNC1);if(t>=5&&t<15)return new qr(e+5,"0"+(t-5));var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new qr(e+7,""+(r+1));if(r>=90&&r<116)return new qr(e+7,""+(r+7));var n,o=this.extractNumericValueFromBitArray(e,8);switch(o){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new z}return new qr(e+8,n)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,6);return r>=16&&r<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new qr(e+5,qr.FNC1);if(t>=5&&t<15)return new qr(e+5,"0"+(t-5));var r,n=this.extractNumericValueFromBitArray(e,6);if(n>=32&&n<58)return new qr(e+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new Ke("Decoding invalid alphanumeric value: "+n)}return new qr(e+6,r)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+ethis.information.getSize())return!1;for(var t=e;tthis.information.getSize())return!1;for(var t=0;t<4&&t+e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vn=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.pairs=new Array(t.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return zn(t,e),t.prototype.decodeRow=function(e,r,n){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,r))}catch(o){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,r))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){var r,n=!1;while(!n)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(i){if(i instanceof ae){if(!this.pairs.length)throw new ae;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(e,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(o=this.checkRowsBoolean(!0),null!=o)return o}throw new ae},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(r){console.log(r)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,r){for(var n,o,i=r;ia.length)){for(var s=!0,c=0;ce){i=a.isEquivalent(this.pairs);break}o=a.isEquivalent(this.pairs),n++}i||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new $n(this.pairs,e,r)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var r,n,o,i,a,s;try{for(var c=Hn(t),u=c.next();!u.done;u=c.next()){var l=u.value;if(l.getPairs().length!==e.length){try{for(var d=(o=void 0,Hn(l.getPairs())),f=d.next();!f.done;f=d.next()){var h=f.value,p=!1;try{for(var m=(a=void 0,Hn(e)),g=m.next();!g.done;g=m.next()){var y=g.value;if(jn.equals(h,y)){p=!0;break}}}catch(v){a={error:v}}finally{try{g&&!g.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}p||!1}}catch(b){o={error:b}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}}}catch(w){r={error:w}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}},t.isPartialRow=function(e,t){var r,n,o,i,a,s;try{for(var c=Hn(t),u=c.next();!u.done;u=c.next()){var l=u.value,d=!0;try{for(var f=(o=void 0,Hn(e)),h=f.next();!h.done;h=f.next()){var p=h.value,m=!1;try{for(var g=(a=void 0,Hn(l.getPairs())),y=g.next();!y.done;y=g.next()){var v=y.value;if(p.equals(v)){m=!0;break}}}catch(b){a={error:b}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}if(!m){d=!1;break}}}catch(w){o={error:w}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}if(d)return!0}}catch(_){r={error:_}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=jr.buildBitArray(e),r=Dn(t),n=r.parseInformation(),o=e[0].getFinderPattern().getResultPoints(),i=e[e.length-1].getFinderPattern().getResultPoints(),a=[o[0],o[1],i[0],i[1]];return new xe(n,null,null,a,Ie.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),r=e.getRightChar();if(null===r)return!1;for(var n=r.getChecksumPortion(),o=2,i=1;i=0)i=n;else if(this.isEmptyPair(r))i=0;else{var s=r[r.length-1];i=s.getFinderPattern().getStartEnd()[1]}var c=r.length%2!==0;this.startFromEven&&(c=!c);var u=!1;while(i=0&&!e.get(s))s--;s++,o=this.startEnd[0]-s,i=s,a=this.startEnd[1]}else i=this.startEnd[0],a=e.getNextUnset(this.startEnd[1]+1),o=a-this.startEnd[1];var c,u=this.getDecodeFinderCounters();S.arraycopy(u,0,u,1,u.length-1),u[0]=o;try{c=this.parseFinderValue(u,t.FINDER_PATTERNS)}catch(l){return null}return new Mr(c,[i,a],i,a,r)},t.prototype.decodeDataCharacter=function(e,r,n,o){for(var i=this.getDataCharacterCounters(),a=0;a.3)throw new ae;var h=this.getOddCounts(),p=this.getEvenCounts(),m=this.getOddRoundingErrors(),g=this.getEvenRoundingErrors();for(s=0;s8){if(y>8.7)throw new ae;v=8}var b=s/2;0===(1&s)?(h[b]=v,m[b]=y-v):(p[b]=v,g[b]=y-v)}this.adjustOddEvenCounts(l);var w=4*r.getValue()+(n?0:2)+(o?0:1)-1,_=0,E=0;for(s=h.length-1;s>=0;s--){if(t.isNotA1left(r,n,o)){var A=t.WEIGHTS[w][2*s];E+=h[s]*A}_+=h[s]}var S=0;for(s=p.length-1;s>=0;s--)if(t.isNotA1left(r,n,o)){A=t.WEIGHTS[w][2*s+1];S+=p[s]*A}var T=E+S;if(0!==(1&_)||_>13||_<4)throw new ae;var x=(13-_)/2,C=t.SYMBOL_WIDEST[x],I=9-C,O=Dr.getRSSvalue(h,C,!0),P=Dr.getRSSvalue(p,I,!1),k=t.EVEN_TOTAL_SUBSET[x],N=t.GSUM[x],R=O*k+P+N;return new Nr(R,T)},t.isNotA1left=function(e,t,r){return!(0===e.getValue()&&t&&r)},t.prototype.adjustOddEvenCounts=function(e){var r=tt.sum(new Int32Array(this.getOddCounts())),n=tt.sum(new Int32Array(this.getEvenCounts())),o=!1,i=!1;r>13?i=!0:r<4&&(o=!0);var a=!1,s=!1;n>13?s=!0:n<4&&(a=!0);var c=r+n-e,u=1===(1&r),l=0===(1&n);if(1===c)if(u){if(l)throw new ae;i=!0}else{if(!l)throw new ae;s=!0}else if(-1===c)if(u){if(l)throw new ae;o=!0}else{if(!l)throw new ae;a=!0}else{if(0!==c)throw new ae;if(u){if(!l)throw new ae;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Yn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return Xn(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c=this.decodePair(r,!1,e,n);t.addOrTally(this.possibleLeftPairs,c),r.reverse();var u=this.decodePair(r,!0,e,n);t.addOrTally(this.possibleRightPairs,u),r.reverse();try{for(var l=Zn(this.possibleLeftPairs),d=l.next();!d.done;d=l.next()){var f=d.value;if(f.getCount()>1)try{for(var h=(a=void 0,Zn(this.possibleRightPairs)),p=h.next();!p.done;p=h.next()){var m=p.value;if(m.getCount()>1&&t.checkChecksum(f,m))return t.constructResult(f,m)}}catch(g){a={error:g}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}}}catch(y){o={error:y}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}throw new ae},t.addOrTally=function(e,t){var r,n;if(null!=t){var o=!1;try{for(var i=Zn(e),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.getValue()===t.getValue()){s.incrementCount(),o=!0;break}}}catch(c){r={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var r=4537077*e.getValue()+t.getValue(),n=new String(r).toString(),o=new te,i=13-n.length;i>0;i--)o.append("0");o.append(n);var a=0;for(i=0;i<13;i++){var s=o.charAt(i).charCodeAt(0)-"0".charCodeAt(0);a+=0===(1&i)?3*s:s}a=10-a%10,10===a&&(a=0),o.append(a.toString());var c=e.getFinderPattern().getResultPoints(),u=t.getFinderPattern().getResultPoints();return new xe(o.toString(),null,0,[c[0],c[1],u[0],u[1]],Ie.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var r=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,n=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},t.prototype.decodePair=function(e,t,r,n){try{var o=this.findFinderPattern(e,t),i=this.parseFoundFinderPattern(e,r,t,o),a=null==n?null:n.get(j.NEED_RESULT_POINT_CALLBACK);if(null!=a){var s=(o[0]+o[1])/2;t&&(s=e.getSize()-1-s),a.foundPossibleResultPoint(new it(s,r))}var c=this.decodeDataCharacter(e,i,!0),u=this.decodeDataCharacter(e,i,!1);return new Kn(1597*c.getValue()+u.getValue(),c.getChecksumPortion()+4*u.getChecksumPortion(),i)}catch(l){return null}},t.prototype.decodeDataCharacter=function(e,r,n){for(var o=this.getDataCharacterCounters(),i=0;i8&&(g=8);var y=Math.floor(a/2);0===(1&a)?(d[y]=g,h[y]=m-g):(f[y]=g,p[y]=m-g)}this.adjustOddEvenCounts(n,u);var v=0,b=0;for(a=d.length-1;a>=0;a--)b*=9,b+=d[a],v+=d[a];var w=0,_=0;for(a=f.length-1;a>=0;a--)w*=9,w+=f[a],_+=f[a];var E=b+3*w;if(n){if(0!==(1&v)||v>12||v<4)throw new ae;var A=(12-v)/2,S=t.OUTSIDE_ODD_WIDEST[A],T=9-S,x=Dr.getRSSvalue(d,S,!1),C=Dr.getRSSvalue(f,T,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[A],O=t.OUTSIDE_GSUM[A];return new Nr(x*I+C+O,E)}if(0!==(1&_)||_>10||_<4)throw new ae;A=(10-_)/2,S=t.INSIDE_ODD_WIDEST[A],T=9-S,x=Dr.getRSSvalue(d,S,!0),C=Dr.getRSSvalue(f,T,!1);var P=t.INSIDE_ODD_TOTAL_SUBSET[A];O=t.INSIDE_GSUM[A];return new Nr(C*P+x+O,E)},t.prototype.findFinderPattern=function(e,t){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;var n=e.getSize(),o=!1,i=0;while(i=0&&i!==e.get(a))a--;a++;var s=o[0]-a,c=this.getDecodeFinderCounters(),u=new Int32Array(c.length);S.arraycopy(c,0,u,1,c.length-1),u[0]=s;var l=this.parseFinderValue(u,t.FINDER_PATTERNS),d=a,f=o[1];return n&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new Mr(l,[a,o[1]],d,f,r)},t.prototype.adjustOddEvenCounts=function(e,t){var r=tt.sum(new Int32Array(this.getOddCounts())),n=tt.sum(new Int32Array(this.getEvenCounts())),o=!1,i=!1,a=!1,s=!1;e?(r>12?i=!0:r<4&&(o=!0),n>12?s=!0:n<4&&(a=!0)):(r>11?i=!0:r<5&&(o=!0),n>10?s=!0:n<4&&(a=!0));var c=r+n-t,u=(1&r)===(e?1:0),l=1===(1&n);if(1===c)if(u){if(l)throw new ae;i=!0}else{if(!l)throw new ae;s=!0}else if(-1===c)if(u){if(l)throw new ae;o=!0}else{if(!l)throw new ae;a=!0}else{if(0!==c)throw new ae;if(u){if(!l)throw new ae;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}),oo=function(){function e(e,t,r){this.ecCodewords=e,this.ecBlocks=[t],r&&this.ecBlocks.push(r)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),io=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),ao=function(){function e(e,t,r,n,o,i){var a,s;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,this.dataRegionSizeColumns=o,this.ecBlocks=i;var c=0,u=i.getECCodewords(),l=i.getECBlocks();try{for(var d=no(l),f=d.next();!f.done;f=d.next()){var h=f.value;c+=h.getCount()*(h.getDataCodewords()+u)}}catch(p){a={error:p}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}this.totalCodewords=c}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,r){var n,o;if(0!==(1&t)||0!==(1&r))throw new z;try{for(var i=no(e.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===t&&s.symbolSizeColumns===r)return s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}throw new z},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new oo(5,new io(1,3))),new e(2,12,12,10,10,new oo(7,new io(1,5))),new e(3,14,14,12,12,new oo(10,new io(1,8))),new e(4,16,16,14,14,new oo(12,new io(1,12))),new e(5,18,18,16,16,new oo(14,new io(1,18))),new e(6,20,20,18,18,new oo(18,new io(1,22))),new e(7,22,22,20,20,new oo(20,new io(1,30))),new e(8,24,24,22,22,new oo(24,new io(1,36))),new e(9,26,26,24,24,new oo(28,new io(1,44))),new e(10,32,32,14,14,new oo(36,new io(1,62))),new e(11,36,36,16,16,new oo(42,new io(1,86))),new e(12,40,40,18,18,new oo(48,new io(1,114))),new e(13,44,44,20,20,new oo(56,new io(1,144))),new e(14,48,48,22,22,new oo(68,new io(1,174))),new e(15,52,52,24,24,new oo(42,new io(2,102))),new e(16,64,64,14,14,new oo(56,new io(2,140))),new e(17,72,72,16,16,new oo(36,new io(4,92))),new e(18,80,80,18,18,new oo(48,new io(4,114))),new e(19,88,88,20,20,new oo(56,new io(4,144))),new e(20,96,96,22,22,new oo(68,new io(4,174))),new e(21,104,104,24,24,new oo(56,new io(6,136))),new e(22,120,120,18,18,new oo(68,new io(6,175))),new e(23,132,132,20,20,new oo(62,new io(8,163))),new e(24,144,144,22,22,new oo(62,new io(8,156),new io(2,155))),new e(25,8,18,6,16,new oo(7,new io(1,5))),new e(26,8,32,6,14,new oo(11,new io(1,10))),new e(27,12,26,10,24,new oo(14,new io(1,16))),new e(28,12,36,10,16,new oo(18,new io(1,22))),new e(29,16,36,14,16,new oo(24,new io(1,32))),new e(30,16,48,14,22,new oo(28,new io(1,49)))]},e.VERSIONS=e.buildVersions(),e}();const so=ao;var co=function(){function e(t){var r=t.getHeight();if(r<8||r>144||0!==(1&r))throw new z;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new ne(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),r=e.getWidth();return so.getVersionForDimensions(t,r)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,c=!1,u=!1;do{if(r!==o||0!==n||a)if(r!==o-2||0!==n||0===(3&i)||s)if(r!==o+4||2!==n||0!==(7&i)||c)if(r!==o-2||0!==n||4!==(7&i)||u){do{r=0&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,i)),r-=2,n+=2}while(r>=0&&n=0&&n=0);r+=3,n+=1}else e[t++]=255&this.readCorner4(o,i),r-=2,n+=2,u=!0;else e[t++]=255&this.readCorner3(o,i),r-=2,n+=2,c=!0;else e[t++]=255&this.readCorner2(o,i),r-=2,n+=2,s=!0;else e[t++]=255&this.readCorner1(o,i),r-=2,n+=2,a=!0}while(r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},fo=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r){var n,o,i,a,s=r.getECBlocks(),c=0,u=s.getECBlocks();try{for(var l=lo(u),d=l.next();!d.done;d=l.next()){var f=d.value;c+=f.getCount()}}catch(k){n={error:k}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}var h=new Array(c),p=0;try{for(var g=lo(u),y=g.next();!y.done;y=g.next()){f=y.value;for(var v=0;v7?v-1:v;h[O].codewords[P]=t[S++]}if(S!==t.length)throw new m;return h},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}();const ho=fo;var po=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new m(""+e);var t=0,r=this.bitOffset,n=this.byteOffset,o=this.bytes;if(r>0){var i=8-r,a=e>8-a<>s,e-=a,r+=a,8===r&&(r=0,n++)}if(e>0){while(e>=8)t=t<<8|255&o[n],n++,e-=8;if(e>0){s=8-e,c=255>>s<>s,r+=e}}return this.bitOffset=r,this.byteOffset=n,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();const mo=po;var go;(function(e){e[e["PAD_ENCODE"]=0]="PAD_ENCODE",e[e["ASCII_ENCODE"]=1]="ASCII_ENCODE",e[e["C40_ENCODE"]=2]="C40_ENCODE",e[e["TEXT_ENCODE"]=3]="TEXT_ENCODE",e[e["ANSIX12_ENCODE"]=4]="ANSIX12_ENCODE",e[e["EDIFACT_ENCODE"]=5]="EDIFACT_ENCODE",e[e["BASE256_ENCODE"]=6]="BASE256_ENCODE"})(go||(go={}));var yo=function(){function e(){}return e.decode=function(e){var t=new mo(e),r=new te,n=new te,o=new Array,i=go.ASCII_ENCODE;do{if(i===go.ASCII_ENCODE)i=this.decodeAsciiSegment(t,r,n);else{switch(i){case go.C40_ENCODE:this.decodeC40Segment(t,r);break;case go.TEXT_ENCODE:this.decodeTextSegment(t,r);break;case go.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,r);break;case go.EDIFACT_ENCODE:this.decodeEdifactSegment(t,r);break;case go.BASE256_ENCODE:this.decodeBase256Segment(t,r,o);break;default:throw new z}i=go.ASCII_ENCODE}}while(i!==go.PAD_ENCODE&&t.available()>0);return n.length()>0&&r.append(n.toString()),new Ne(e,r.toString(),0===o.length?null:o,null)},e.decodeAsciiSegment=function(e,t,r){var n=!1;do{var o=e.readBits(8);if(0===o)throw new z;if(o<=128)return n&&(o+=128),t.append(String.fromCharCode(o-1)),go.ASCII_ENCODE;if(129===o)return go.PAD_ENCODE;if(o<=229){var i=o-130;i<10&&t.append("0"),t.append(""+i)}else switch(o){case 230:return go.C40_ENCODE;case 231:return go.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:n=!0;break;case 236:t.append("[)>05"),r.insert(0,"");break;case 237:t.append("[)>06"),r.insert(0,"");break;case 238:return go.ANSIX12_ENCODE;case 239:return go.TEXT_ENCODE;case 240:return go.EDIFACT_ENCODE;case 241:break;default:if(254!==o||0!==e.available())throw new z;break}}while(e.available()>0);return go.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var r=!1,n=[],o=0;do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s0)},e.decodeTextSegment=function(e,t){var r=!1,n=[],o=0;do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s0)},e.decodeAnsiX12Segment=function(e,t){var r=[];do{if(8===e.available())return;var n=e.readBits(8);if(254===n)return;this.parseTwoBytes(n,e.readBits(8),r);for(var o=0;o<3;o++){var i=r[o];switch(i){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(i<14)t.append(String.fromCharCode(i+44));else{if(!(i<40))throw new z;t.append(String.fromCharCode(i+51))}break}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,r){var n=(e<<8)+t-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var n=e.readBits(6);if(31===n){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0===(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,r){var n,o=1+e.getByteOffset(),i=this.unrandomize255State(e.readBits(8),o++);if(n=0===i?e.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(e.readBits(8),o++),n<0)throw new z;for(var a=new Uint8Array(n),s=0;s=0?n:n+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],e}();const vo=yo;var bo=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},wo=function(){function e(){this.rsDecoder=new Ze(ze.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,r,n=new uo(e),o=n.getVersion(),i=n.readCodewords(),a=ho.getDataBlocks(i,o),s=0;try{for(var c=bo(a),u=c.next();!u.done;u=c.next()){var l=u.value;s+=l.getNumDataCodewords()}}catch(v){t={error:v}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}for(var d=new Uint8Array(s),f=a.length,h=0;ha&&(u=a,l[0]=t,l[1]=r,l[2]=n,l[3]=o),u>s&&(u=s,l[0]=r,l[1]=n,l[2]=o,l[3]=t),u>c&&(l[0]=n,l[1]=o,l[2]=t,l[3]=r),l},e.prototype.detectSolid2=function(t){var r=t[0],n=t[1],o=t[2],i=t[3],a=this.transitionsBetween(r,i),s=e.shiftPoint(n,o,4*(a+1)),c=e.shiftPoint(o,n,4*(a+1)),u=this.transitionsBetween(s,r),l=this.transitionsBetween(c,i);return uh?l:d},e.prototype.shiftToModuleCenter=function(t){var r=t[0],n=t[1],o=t[2],i=t[3],a=this.transitionsBetween(r,i)+1,s=this.transitionsBetween(o,i)+1,c=e.shiftPoint(r,n,4*s),u=e.shiftPoint(o,n,4*a);a=this.transitionsBetween(c,i)+1,s=this.transitionsBetween(u,i)+1,1===(1&a)&&(a+=1),1===(1&s)&&(s+=1);var l,d,f=(r.getX()+n.getX()+o.getX()+i.getX())/4,h=(r.getY()+n.getY()+o.getY()+i.getY())/4;return r=e.moveAway(r,f,h),n=e.moveAway(n,f,h),o=e.moveAway(o,f,h),i=e.moveAway(i,f,h),c=e.shiftPoint(r,n,4*s),c=e.shiftPoint(c,i,4*a),l=e.shiftPoint(n,r,4*s),l=e.shiftPoint(l,o,4*a),u=e.shiftPoint(o,i,4*s),u=e.shiftPoint(u,n,4*a),d=e.shiftPoint(i,o,4*s),d=e.shiftPoint(d,r,4*a),[c,l,u,d]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(o-r);if(a){var s=r;r=n,n=s,s=o,o=i,i=s}for(var c=Math.abs(o-r),u=Math.abs(i-n),l=-c/2,d=n0){if(g===i)break;g+=d,l-=c}}return h},e}();const Ao=Eo;var So=function(){function e(){this.decoder=new _o}return e.prototype.decode=function(t,r){var n,o;if(void 0===r&&(r=null),null!=r&&r.has(j.PURE_BARCODE)){var i=e.extractPureBits(t.getBlackMatrix());n=this.decoder.decode(i),o=e.NO_POINTS}else{var a=new Ao(t.getBlackMatrix()).detect();n=this.decoder.decode(a.getBits()),o=a.getPoints()}var s=n.getRawBytes(),c=new xe(n.getText(),s,8*s.length,o,Ie.DATA_MATRIX,S.currentTimeMillis()),u=n.getByteSegments();null!=u&&c.putMetadata(Pe.BYTE_SEGMENTS,u);var l=n.getECLevel();return null!=l&&c.putMetadata(Pe.ERROR_CORRECTION_LEVEL,l),c},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null==t||null==r)throw new ae;var n=this.moduleSize(t,e),o=t[1],i=r[1],a=t[0],s=r[0],c=(s-a+1)/n,u=(i-o+1)/n;if(c<=0||u<=0)throw new ae;var l=n/2;o+=l,a+=l;for(var d=new ne(c,u),f=0;f=e.FOR_BITS.size)throw new m;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(xo.L,"L",1),e.M=new e(xo.M,"M",0),e.Q=new e(xo.Q,"Q",3),e.H=new e(xo.H,"H",2),e}();const Oo=Io;var Po=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ko=function(){function e(e){this.errorCorrectionLevel=Oo.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return B.bitCount(e^t)},e.decodeFormatInformation=function(t,r){var n=e.doDecodeFormatInformation(t,r);return null!==n?n:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,r^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,r){var n,o,i=Number.MAX_SAFE_INTEGER,a=0;try{for(var s=Po(e.FORMAT_INFO_DECODE_LOOKUP),c=s.next();!c.done;c=s.next()){var u=c.value,l=u[0];if(l===t||l===r)return new e(u[1]);var d=e.numBitsDiffering(t,l);d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Mo=function(){function e(e){for(var t=[],r=1;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},jo=function(){function e(e,t){for(var r,n,o=[],i=2;i40)throw new m;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var r=Number.MAX_SAFE_INTEGER,n=0,o=0;o6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new Bo(7,new Do(1,19)),new Bo(10,new Do(1,16)),new Bo(13,new Do(1,13)),new Bo(17,new Do(1,9))),new e(2,Int32Array.from([6,18]),new Bo(10,new Do(1,34)),new Bo(16,new Do(1,28)),new Bo(22,new Do(1,22)),new Bo(28,new Do(1,16))),new e(3,Int32Array.from([6,22]),new Bo(15,new Do(1,55)),new Bo(26,new Do(1,44)),new Bo(18,new Do(2,17)),new Bo(22,new Do(2,13))),new e(4,Int32Array.from([6,26]),new Bo(20,new Do(1,80)),new Bo(18,new Do(2,32)),new Bo(26,new Do(2,24)),new Bo(16,new Do(4,9))),new e(5,Int32Array.from([6,30]),new Bo(26,new Do(1,108)),new Bo(24,new Do(2,43)),new Bo(18,new Do(2,15),new Do(2,16)),new Bo(22,new Do(2,11),new Do(2,12))),new e(6,Int32Array.from([6,34]),new Bo(18,new Do(2,68)),new Bo(16,new Do(4,27)),new Bo(24,new Do(4,19)),new Bo(28,new Do(4,15))),new e(7,Int32Array.from([6,22,38]),new Bo(20,new Do(2,78)),new Bo(18,new Do(4,31)),new Bo(18,new Do(2,14),new Do(4,15)),new Bo(26,new Do(4,13),new Do(1,14))),new e(8,Int32Array.from([6,24,42]),new Bo(24,new Do(2,97)),new Bo(22,new Do(2,38),new Do(2,39)),new Bo(22,new Do(4,18),new Do(2,19)),new Bo(26,new Do(4,14),new Do(2,15))),new e(9,Int32Array.from([6,26,46]),new Bo(30,new Do(2,116)),new Bo(22,new Do(3,36),new Do(2,37)),new Bo(20,new Do(4,16),new Do(4,17)),new Bo(24,new Do(4,12),new Do(4,13))),new e(10,Int32Array.from([6,28,50]),new Bo(18,new Do(2,68),new Do(2,69)),new Bo(26,new Do(4,43),new Do(1,44)),new Bo(24,new Do(6,19),new Do(2,20)),new Bo(28,new Do(6,15),new Do(2,16))),new e(11,Int32Array.from([6,30,54]),new Bo(20,new Do(4,81)),new Bo(30,new Do(1,50),new Do(4,51)),new Bo(28,new Do(4,22),new Do(4,23)),new Bo(24,new Do(3,12),new Do(8,13))),new e(12,Int32Array.from([6,32,58]),new Bo(24,new Do(2,92),new Do(2,93)),new Bo(22,new Do(6,36),new Do(2,37)),new Bo(26,new Do(4,20),new Do(6,21)),new Bo(28,new Do(7,14),new Do(4,15))),new e(13,Int32Array.from([6,34,62]),new Bo(26,new Do(4,107)),new Bo(22,new Do(8,37),new Do(1,38)),new Bo(24,new Do(8,20),new Do(4,21)),new Bo(22,new Do(12,11),new Do(4,12))),new e(14,Int32Array.from([6,26,46,66]),new Bo(30,new Do(3,115),new Do(1,116)),new Bo(24,new Do(4,40),new Do(5,41)),new Bo(20,new Do(11,16),new Do(5,17)),new Bo(24,new Do(11,12),new Do(5,13))),new e(15,Int32Array.from([6,26,48,70]),new Bo(22,new Do(5,87),new Do(1,88)),new Bo(24,new Do(5,41),new Do(5,42)),new Bo(30,new Do(5,24),new Do(7,25)),new Bo(24,new Do(11,12),new Do(7,13))),new e(16,Int32Array.from([6,26,50,74]),new Bo(24,new Do(5,98),new Do(1,99)),new Bo(28,new Do(7,45),new Do(3,46)),new Bo(24,new Do(15,19),new Do(2,20)),new Bo(30,new Do(3,15),new Do(13,16))),new e(17,Int32Array.from([6,30,54,78]),new Bo(28,new Do(1,107),new Do(5,108)),new Bo(28,new Do(10,46),new Do(1,47)),new Bo(28,new Do(1,22),new Do(15,23)),new Bo(28,new Do(2,14),new Do(17,15))),new e(18,Int32Array.from([6,30,56,82]),new Bo(30,new Do(5,120),new Do(1,121)),new Bo(26,new Do(9,43),new Do(4,44)),new Bo(28,new Do(17,22),new Do(1,23)),new Bo(28,new Do(2,14),new Do(19,15))),new e(19,Int32Array.from([6,30,58,86]),new Bo(28,new Do(3,113),new Do(4,114)),new Bo(26,new Do(3,44),new Do(11,45)),new Bo(26,new Do(17,21),new Do(4,22)),new Bo(26,new Do(9,13),new Do(16,14))),new e(20,Int32Array.from([6,34,62,90]),new Bo(28,new Do(3,107),new Do(5,108)),new Bo(26,new Do(3,41),new Do(13,42)),new Bo(30,new Do(15,24),new Do(5,25)),new Bo(28,new Do(15,15),new Do(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new Bo(28,new Do(4,116),new Do(4,117)),new Bo(26,new Do(17,42)),new Bo(28,new Do(17,22),new Do(6,23)),new Bo(30,new Do(19,16),new Do(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new Bo(28,new Do(2,111),new Do(7,112)),new Bo(28,new Do(17,46)),new Bo(30,new Do(7,24),new Do(16,25)),new Bo(24,new Do(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new Bo(30,new Do(4,121),new Do(5,122)),new Bo(28,new Do(4,47),new Do(14,48)),new Bo(30,new Do(11,24),new Do(14,25)),new Bo(30,new Do(16,15),new Do(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new Bo(30,new Do(6,117),new Do(4,118)),new Bo(28,new Do(6,45),new Do(14,46)),new Bo(30,new Do(11,24),new Do(16,25)),new Bo(30,new Do(30,16),new Do(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new Bo(26,new Do(8,106),new Do(4,107)),new Bo(28,new Do(8,47),new Do(13,48)),new Bo(30,new Do(7,24),new Do(22,25)),new Bo(30,new Do(22,15),new Do(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new Bo(28,new Do(10,114),new Do(2,115)),new Bo(28,new Do(19,46),new Do(4,47)),new Bo(28,new Do(28,22),new Do(6,23)),new Bo(30,new Do(33,16),new Do(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new Bo(30,new Do(8,122),new Do(4,123)),new Bo(28,new Do(22,45),new Do(3,46)),new Bo(30,new Do(8,23),new Do(26,24)),new Bo(30,new Do(12,15),new Do(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new Bo(30,new Do(3,117),new Do(10,118)),new Bo(28,new Do(3,45),new Do(23,46)),new Bo(30,new Do(4,24),new Do(31,25)),new Bo(30,new Do(11,15),new Do(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new Bo(30,new Do(7,116),new Do(7,117)),new Bo(28,new Do(21,45),new Do(7,46)),new Bo(30,new Do(1,23),new Do(37,24)),new Bo(30,new Do(19,15),new Do(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new Bo(30,new Do(5,115),new Do(10,116)),new Bo(28,new Do(19,47),new Do(10,48)),new Bo(30,new Do(15,24),new Do(25,25)),new Bo(30,new Do(23,15),new Do(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new Bo(30,new Do(13,115),new Do(3,116)),new Bo(28,new Do(2,46),new Do(29,47)),new Bo(30,new Do(42,24),new Do(1,25)),new Bo(30,new Do(23,15),new Do(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new Bo(30,new Do(17,115)),new Bo(28,new Do(10,46),new Do(23,47)),new Bo(30,new Do(10,24),new Do(35,25)),new Bo(30,new Do(19,15),new Do(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new Bo(30,new Do(17,115),new Do(1,116)),new Bo(28,new Do(14,46),new Do(21,47)),new Bo(30,new Do(29,24),new Do(19,25)),new Bo(30,new Do(11,15),new Do(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new Bo(30,new Do(13,115),new Do(6,116)),new Bo(28,new Do(14,46),new Do(23,47)),new Bo(30,new Do(44,24),new Do(7,25)),new Bo(30,new Do(59,16),new Do(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new Bo(30,new Do(12,121),new Do(7,122)),new Bo(28,new Do(12,47),new Do(26,48)),new Bo(30,new Do(39,24),new Do(14,25)),new Bo(30,new Do(22,15),new Do(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new Bo(30,new Do(6,121),new Do(14,122)),new Bo(28,new Do(6,47),new Do(34,48)),new Bo(30,new Do(46,24),new Do(10,25)),new Bo(30,new Do(2,15),new Do(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new Bo(30,new Do(17,122),new Do(4,123)),new Bo(28,new Do(29,46),new Do(14,47)),new Bo(30,new Do(49,24),new Do(10,25)),new Bo(30,new Do(24,15),new Do(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new Bo(30,new Do(4,122),new Do(18,123)),new Bo(28,new Do(13,46),new Do(32,47)),new Bo(30,new Do(48,24),new Do(14,25)),new Bo(30,new Do(42,15),new Do(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new Bo(30,new Do(20,117),new Do(4,118)),new Bo(28,new Do(40,47),new Do(7,48)),new Bo(30,new Do(43,24),new Do(22,25)),new Bo(30,new Do(10,15),new Do(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new Bo(30,new Do(19,118),new Do(6,119)),new Bo(28,new Do(18,47),new Do(31,48)),new Bo(30,new Do(34,24),new Do(34,25)),new Bo(30,new Do(20,15),new Do(61,16)))],e}();const Uo=jo;var $o;(function(e){e[e["DATA_MASK_000"]=0]="DATA_MASK_000",e[e["DATA_MASK_001"]=1]="DATA_MASK_001",e[e["DATA_MASK_010"]=2]="DATA_MASK_010",e[e["DATA_MASK_011"]=3]="DATA_MASK_011",e[e["DATA_MASK_100"]=4]="DATA_MASK_100",e[e["DATA_MASK_101"]=5]="DATA_MASK_101",e[e["DATA_MASK_110"]=6]="DATA_MASK_110",e[e["DATA_MASK_111"]=7]="DATA_MASK_111"})($o||($o={}));var zo=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var r=0;r=0;r--)e=this.copyBit(8,r,e);var n=this.bitMatrix.getHeight(),o=0,i=n-7;for(r=n-1;r>=i;r--)o=this.copyBit(8,r,o);for(t=n-8;t=0;o--)for(var i=e-9;i>=n;i--)r=this.copyBit(i,o,r);var a=Uo.decodeVersionInformation(r);if(null!==a&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;r=0;for(i=5;i>=0;i--)for(o=e-9;o>=n;o--)r=this.copyBit(i,o,r);if(a=Uo.decodeVersionInformation(r),null!==a&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;throw new z},e.prototype.copyBit=function(e,t,r){var n=this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t);return n?r<<1|1:r<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),r=Ho.values.get(e.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=t.buildFunctionPattern(),i=!0,a=new Uint8Array(t.getTotalCodewords()),s=0,c=0,u=0,l=n-1;l>0;l-=2){6===l&&l--;for(var d=0;d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Wo=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r,n){var o,i,a,s;if(t.length!==r.getTotalCodewords())throw new m;var c=r.getECBlocksForLevel(n),u=0,l=c.getECBlocks();try{for(var d=qo(l),f=d.next();!f.done;f=d.next()){var h=f.value;u+=h.getCount()}}catch(P){o={error:P}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}var p=new Array(u),g=0;try{for(var y=qo(l),v=y.next();!v.done;v=y.next()){h=v.value;for(var b=0;b=0){var S=p[A].codewords.length;if(S===E)break;A--}A++;var T=E-c.getECCodewordsPerBlock(),x=0;for(b=0;be.available())throw new z;var n=new Uint8Array(2*r),o=0;while(r>0){var i=e.readBits(13),a=i/96<<8&4294967295|i%96;a+=a<959?41377:42657,n[o]=a>>8&255,n[o+1]=255&a,o+=2,r--}try{t.append(Y.decode(n,J.GB2312))}catch(s){throw new z(s)}},e.decodeKanjiSegment=function(e,t,r){if(13*r>e.available())throw new z;var n=new Uint8Array(2*r),o=0;while(r>0){var i=e.readBits(13),a=i/192<<8&4294967295|i%192;a+=a<7936?33088:49472,n[o]=a>>8,n[o+1]=a,o+=2,r--}try{t.append(Y.decode(n,J.SHIFT_JIS))}catch(s){throw new z(s)}},e.decodeByteSegment=function(e,t,r,n,o,i){if(8*r>e.available())throw new z;for(var a,s=new Uint8Array(r),c=0;c=e.ALPHANUMERIC_CHARS.length)throw new z;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,r,n,o){var i=r.length();while(n>1){if(t.available()<11)throw new z;var a=t.readBits(11);r.append(e.toAlphaNumericChar(Math.floor(a/45))),r.append(e.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(t.available()<6)throw new z;r.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var s=i;s=3){if(t.available()<10)throw new z;var o=t.readBits(10);if(o>=1e3)throw new z;r.append(e.toAlphaNumericChar(Math.floor(o/100))),r.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(e.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(t.available()<7)throw new z;var i=t.readBits(7);if(i>=100)throw new z;r.append(e.toAlphaNumericChar(Math.floor(i/10))),r.append(e.toAlphaNumericChar(i%10))}else if(1===n){if(t.available()<4)throw new z;var a=t.readBits(4);if(a>=10)throw new z;r.append(e.toAlphaNumericChar(a))}},e.parseECIValue=function(e){var t=e.readBits(8);if(0===(128&t))return 127&t;if(128===(192&t)){var r=e.readBits(8);return(63&t)<<8&4294967295|r}if(192===(224&t)){var n=e.readBits(16);return(31&t)<<16&4294967295|n}throw new z},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}();const Jo=Qo;var ei=function(){function e(e){this.mirrored=e}return e.prototype.isMirrored=function(){return this.mirrored},e.prototype.applyMirroredCorrection=function(e){if(this.mirrored&&null!==e&&!(e.length<3)){var t=e[0];e[0]=e[2],e[2]=t}},e}();const ti=ei;var ri=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ni=function(){function e(){this.rsDecoder=new Ze(ze.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(ne.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var r=new Go(e),n=null;try{return this.decodeBitMatrixParser(r,t)}catch(i){n=i}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,t);return o.setOther(new ti(!0)),o}catch(i){if(null!==n)throw n;throw i}},e.prototype.decodeBitMatrixParser=function(e,t){var r,n,o,i,a=e.readVersion(),s=e.readFormatInformation().getErrorCorrectionLevel(),c=e.readCodewords(),u=Ko.getDataBlocks(c,a,s),l=0;try{for(var d=ri(u),f=d.next();!f.done;f=d.next()){var h=f.value;l+=h.getNumDataCodewords()}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}var p=new Uint8Array(l),m=0;try{for(var g=ri(u),y=g.next();!y.done;y=g.next()){h=y.value;var v=h.getCodewords(),b=h.getNumDataCodewords();this.correctErrors(v,b);for(var w=0;w=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ui=function(){function e(e,t,r,n,o,i,a){this.image=e,this.startX=t,this.startY=r,this.width=n,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,r=this.width,n=e+r,o=this.startY+t/2,i=new Int32Array(3),a=this.image,s=0;s=r)return!1;return!0},e.prototype.crossCheckVertical=function(t,r,n,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;var c=t;while(c>=0&&i.get(r,c)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&!i.get(r,c)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(cn)return NaN;while(cn)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,r,n){var o,i,a=t[0]+t[1]+t[2],s=e.centerFromEnd(t,n),c=this.crossCheckVertical(r,s,2*t[1],a);if(!isNaN(c)){var u=(t[0]+t[1]+t[2])/3;try{for(var l=ci(this.possibleCenters),d=l.next();!d.done;d=l.next()){var f=d.value;if(f.aboutEquals(u,c,s))return f.combineEstimate(c,s,u)}}catch(p){o={error:p}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var h=new si(s,c,u);this.possibleCenters.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return null},e}();const li=ui;var di=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),fi=function(e){function t(t,r,n,o){var i=e.call(this,t,r)||this;return i.estimatedModuleSize=n,i.count=o,void 0===o&&(i.count=1),i}return di(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o=this.count+1,i=(this.count*this.getX()+r)/o,a=(this.count*this.getY()+e)/o,s=(this.count*this.estimatedModuleSize+n)/o;return new t(i,a,s,o)},t}(it);const hi=fi;var pi=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}();const mi=pi;var gi=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},yi=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var r=null!==t&&void 0!==t&&void 0!==t.get(j.TRY_HARDER),n=null!==t&&void 0!==t&&void 0!==t.get(j.PURE_BARCODE),o=this.image,i=o.getHeight(),a=o.getWidth(),s=Math.floor(3*i/(4*e.MAX_MODULES));(su[2]&&(l+=p-u[2]-s,f=a-1)}d=0,u[0]=0,u[1]=0,u[2]=0,u[3]=0,u[4]=0}else u[0]=u[2],u[1]=u[3],u[2]=u[4],u[3]=1,u[4]=0,d=3;else u[++d]++;else u[d]++;if(e.foundPatternCross(u)){h=this.handlePossibleCenter(u,l,a,n);!0===h&&(s=u[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}}var m=this.selectBestPatterns();return it.orderBestPatterns(m),new mi(m)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,r=0;r<5;r++){var n=e[r];if(0===n)return!1;t+=n}if(t<7)return!1;var o=t/7,i=o/2;return Math.abs(o-e[0])=a&&r>=a&&s.get(r-a,t-a))i[2]++,a++;if(t=a&&r>=a&&!s.get(r-a,t-a)&&i[1]<=n)i[1]++,a++;if(tn)return!1;while(t>=a&&r>=a&&s.get(r-a,t-a)&&i[0]<=n)i[0]++,a++;if(i[0]>n)return!1;var c=s.getHeight(),u=s.getWidth();a=1;while(t+a=c||r+a>=u)return!1;while(t+a=c||r+a>=u||i[3]>=n)return!1;while(t+a=n)return!1;var l=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(l-o)<2*o&&e.foundPatternCross(i)},e.prototype.crossCheckVertical=function(t,r,n,o){var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),c=t;while(c>=0&&i.get(r,c))s[2]++,c--;if(c<0)return NaN;while(c>=0&&!i.get(r,c)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&i.get(r,c)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(c=n)return NaN;while(c=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=2*o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.crossCheckHorizontal=function(t,r,n,o){var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),c=t;while(c>=0&&i.get(c,r))s[2]++,c--;if(c<0)return NaN;while(c>=0&&!i.get(c,r)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&i.get(c,r)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(c=n)return NaN;while(c=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,r,n,o){var i=t[0]+t[1]+t[2]+t[3]+t[4],a=e.centerFromEnd(t,n),s=this.crossCheckVertical(r,Math.floor(a),t[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),t[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),t[2],i)))){for(var c=i/7,u=!1,l=this.possibleCenters,d=0,f=l.length;d=e.CENTER_QUORUM){if(null!=o)return this.hasSkipped=!0,Math.floor((Math.abs(o.getX()-s.getX())-Math.abs(o.getY()-s.getY()))/2);o=s}}}catch(c){t={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,r,n,o,i=0,a=0,s=this.possibleCenters.length;try{for(var c=gi(this.possibleCenters),u=c.next();!u.done;u=c.next()){var l=u.value;l.getCount()>=e.CENTER_QUORUM&&(i++,a+=l.getEstimatedModuleSize())}}catch(m){t={error:m}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}if(i<3)return!1;var d=a/s,f=0;try{for(var h=gi(this.possibleCenters),p=h.next();!p.done;p=h.next()){l=p.value;f+=Math.abs(l.getEstimatedModuleSize()-d)}}catch(g){n={error:g}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return f<=.05*a},e.prototype.selectBestPatterns=function(){var e,t,r,n,o=this.possibleCenters.length;if(o<3)throw new ae;var i,a=this.possibleCenters;if(o>3){var s=0,c=0;try{for(var u=gi(this.possibleCenters),l=u.next();!l.done;l=u.next()){var d=l.value,f=d.getEstimatedModuleSize();s+=f,c+=f*f}}catch(w){e={error:w}}finally{try{l&&!l.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}i=s/o;var h=Math.sqrt(c/o-i*i);a.sort((function(e,t){var r=Math.abs(t.getEstimatedModuleSize()-i),n=Math.abs(e.getEstimatedModuleSize()-i);return rn?1:0}));for(var p=Math.max(.2*i,h),m=0;m3;m++){var g=a[m];Math.abs(g.getEstimatedModuleSize()-i)>p&&(a.splice(m,1),m--)}}if(a.length>3){s=0;try{for(var y=gi(a),v=y.next();!v.done;v=y.next()){var b=v.value;s+=b.getEstimatedModuleSize()}}catch(_){r={error:_}}finally{try{v&&!v.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}i=s/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var r=Math.abs(t.getEstimatedModuleSize()-i),n=Math.abs(e.getEstimatedModuleSize()-i);return rn?-1:0}return t.getCount()-e.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}();const vi=yi;var bi=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null===e||void 0===e?null:e.get(j.NEED_RESULT_POINT_CALLBACK);var t=new vi(this.image,this.resultPointCallback),r=t.find(e);return this.processFinderPatternInfo(r)},e.prototype.processFinderPatternInfo=function(t){var r=t.getTopLeft(),n=t.getTopRight(),o=t.getBottomLeft(),i=this.calculateModuleSize(r,n,o);if(i<1)throw new ae("No pattern found in proccess finder.");var a=e.computeDimension(r,n,o,i),s=Uo.getProvisionalVersionForDimension(a),c=s.getDimensionForVersion()-7,u=null;if(s.getAlignmentPatternCenters().length>0)for(var l=n.getX()-r.getX()+o.getX(),d=n.getY()-r.getY()+o.getY(),f=1-3/c,h=Math.floor(r.getX()+f*(l-r.getX())),p=Math.floor(r.getY()+f*(d-r.getY())),m=4;m<=16;m<<=1)try{u=this.findAlignmentInRegion(i,h,p,m);break}catch(b){if(!(b instanceof ae))throw b}var g,y=e.createTransform(r,n,o,u,a),v=e.sampleGrid(this.image,y,a);return g=null===u?[o,r,n]:[o,r,n,u],new st(v,g)},e.createTransform=function(e,t,r,n,o){var i,a,s,c,u=o-3.5;return null!==n?(i=n.getX(),a=n.getY(),s=u-3,c=s):(i=t.getX()-e.getX()+r.getX(),a=t.getY()-e.getY()+r.getY(),s=u,c=u),gt.quadrilateralToQuadrilateral(3.5,3.5,u,3.5,s,c,3.5,u,e.getX(),e.getY(),t.getX(),t.getY(),i,a,r.getX(),r.getY())},e.sampleGrid=function(e,t,r){var n=_t.getInstance();return n.sampleGridWithTransform(e,r,r,t)},e.computeDimension=function(e,t,r,n){var o=tt.round(it.distance(e,t)/n),i=tt.round(it.distance(e,r)/n),a=Math.floor((o+i)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new ae("Dimensions could be not found.")}return a},e.prototype.calculateModuleSize=function(e,t,r){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,r))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,r,n){var o=this.sizeOfBlackWhiteBlackRun(e,t,r,n),i=1,a=e-(r-e);a<0?(i=e/(e-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-e)/(a-e),a=this.image.getWidth()-1);var s=Math.floor(t-(n-t)*i);return i=1,s<0?(i=t/(t-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),a=Math.floor(e+(a-e)*i),o+=this.sizeOfBlackWhiteBlackRun(e,t,a,s),o-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,r,n){var o=Math.abs(n-t)>Math.abs(r-e);if(o){var i=e;e=t,t=i,i=r,r=n,n=i}for(var a=Math.abs(r-e),s=Math.abs(n-t),c=-a/2,u=e0){if(p===n)break;p+=l,c-=a}}return 2===d?tt.distance(r+u,n,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,r,n){var o=Math.floor(n*e),i=Math.max(0,t-o),a=Math.min(this.image.getWidth()-1,t+o);if(a-i<3*e)throw new ae("Alignment top exceeds estimated module size.");var s=Math.max(0,r-o),c=Math.min(this.image.getHeight()-1,r+o);if(c-s<3*e)throw new ae("Alignment bottom exceeds estimated module size.");var u=new li(this.image,i,s,a-i,c-s,e,this.resultPointCallback);return u.find()},e}();const wi=bi;var _i=function(){function e(){this.decoder=new oi}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,r){var n,o;if(void 0!==r&&null!==r&&void 0!==r.get(j.PURE_BARCODE)){var i=e.extractPureBits(t.getBlackMatrix());n=this.decoder.decodeBitMatrix(i,r),o=e.NO_POINTS}else{var a=new wi(t.getBlackMatrix()).detect(r);n=this.decoder.decodeBitMatrix(a.getBits(),r),o=a.getPoints()}n.getOther()instanceof ti&&n.getOther().applyMirroredCorrection(o);var s=new xe(n.getText(),n.getRawBytes(),void 0,o,Ie.QR_CODE,void 0),c=n.getByteSegments();null!==c&&s.putMetadata(Pe.BYTE_SEGMENTS,c);var u=n.getECLevel();return null!==u&&s.putMetadata(Pe.ERROR_CORRECTION_LEVEL,u),n.hasStructuredAppend()&&(s.putMetadata(Pe.STRUCTURED_APPEND_SEQUENCE,n.getStructuredAppendSequenceNumber()),s.putMetadata(Pe.STRUCTURED_APPEND_PARITY,n.getStructuredAppendParity())),s},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null===t||null===r)throw new ae;var n=this.moduleSize(t,e),o=t[1],i=r[1],a=t[0],s=r[0];if(a>=s||o>=i)throw new ae;if(i-o!==s-a&&(s=a+(i-o),s>=e.getWidth()))throw new ae;var c=Math.round((s-a+1)/n),u=Math.round((i-o+1)/n);if(c<=0||u<=0)throw new ae;if(u!==c)throw new ae;var l=Math.floor(n/2);o+=l,a+=l;var d=a+Math.floor((c-1)*n)-s;if(d>0){if(d>l)throw new ae;a-=d}var f=o+Math.floor((u-1)*n)-i;if(f>0){if(f>l)throw new ae;o-=f}for(var h=new ne(c,u),p=0;p=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Si=function(){function e(){}return e.prototype.PDF417Common=function(){},e.getBitCountSum=function(e){return tt.sum(e)},e.toIntArray=function(t){var r,n;if(null==t||!t.length)return e.EMPTY_INT_ARRAY;var o=new Int32Array(t.length),i=0;try{for(var a=Ai(t),s=a.next();!s.done;s=a.next()){var c=s.value;o[i++]=c}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.getCodeword=function(t){var r=R.binarySearch(e.SYMBOL_TABLE,262143&t);return r<0?-1:(e.CODEWORD_TABLE[r]-1)%e.NUMBER_OF_CODEWORDS},e.NUMBER_OF_CODEWORDS=929,e.MAX_CODEWORDS_IN_BARCODE=e.NUMBER_OF_CODEWORDS-1,e.MIN_ROWS_IN_BARCODE=3,e.MAX_ROWS_IN_BARCODE=90,e.MODULES_IN_CODEWORD=17,e.MODULES_IN_STOP_PATTERN=18,e.BARS_IN_MODULE=8,e.EMPTY_INT_ARRAY=new Int32Array([]),e.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),e.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),e}();const Ti=Si;var xi=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();const Ci=xi;var Ii=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Oi=function(){function e(){}return e.detectMultiple=function(t,r,n){var o=t.getBlackMatrix(),i=e.detect(n,o);return i.length||(o=o.clone(),o.rotate180(),i=e.detect(n,o)),new Ci(o,i)},e.detect=function(t,r){var n,o,i=new Array,a=0,s=0,c=!1;while(a0){var d=e.findGuardPattern(t,i,--o,n,!1,a,u);if(null==d){o++;break}l=d}s[0]=new it(l[0],o),s[1]=new it(l[1],o),c=!0;break}}var f=o+1;if(c){var h=0;for(d=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);fe.SKIPPED_ROW_COUNT_MAX)break;h++}}f-=h+1,s[2]=new it(d[0],f),s[3]=new it(d[1],f)}return f-o0&&u++d?l-d:d-l;if(f>r)return 1/0;c+=f}return c/o},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}();const Pi=Oi;var ki=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ni=function(){function e(e,t){if(0===t.length)throw new m;this.field=e;var r=t.length;if(r>1&&0===t[0]){var n=1;while(nn.length){var o=r;r=n,n=o}var i=new Int32Array(n.length),a=n.length-r.length;S.arraycopy(n,0,i,0,a);for(var s=a;s=0;t--){var r=this.getCoefficient(t);0!==r&&(r<0?(e.append(" - "),r=-r):e.length()>0&&e.append(" + "),0!==t&&1===r||e.append(r),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}();const Ri=Ni;var Mi=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new m;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new je;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}();const Bi=Mi;var Li=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Di=function(e){function t(t,r){var n=e.call(this)||this;n.modulus=t,n.expTable=new Int32Array(t),n.logTable=new Int32Array(t);for(var o=1,i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ui=function(){function e(){this.field=Fi.PDF417_GF}return e.prototype.decode=function(e,t,r){for(var n,o,i=new Ri(this.field,e),a=new Int32Array(t),s=!1,c=t;c>0;c--){var u=i.evaluateAt(this.field.exp(c));a[t-c]=u,0!==u&&(s=!0)}if(!s)return 0;var l=this.field.getOne();if(null!=r)try{for(var d=ji(r),f=d.next();!f.done;f=d.next()){var h=f.value,p=this.field.exp(e.length-1-h),m=new Ri(this.field,new Int32Array([this.field.subtract(0,p),1]));l=l.multiply(m)}}catch(S){n={error:S}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}var g=new Ri(this.field,a),y=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),g,t),v=y[0],b=y[1],_=this.findErrorLocations(v),E=this.findErrorMagnitudes(b,v,_);for(c=0;c<_.length;c++){var A=e.length-1-this.field.log(_[c]);if(A<0)throw w.getChecksumInstance();e[A]=this.field.subtract(e[A],E[c])}return _.length},e.prototype.runEuclideanAlgorithm=function(e,t,r){if(e.getDegree()=Math.round(r/2)){var c=o,u=a;if(o=i,a=s,o.isZero())throw w.getChecksumInstance();i=c;var l=this.field.getZero(),d=o.getCoefficient(o.getDegree()),f=this.field.inverse(d);while(i.getDegree()>=o.getDegree()&&!i.isZero()){var h=i.getDegree()-o.getDegree(),p=this.field.multiply(i.getCoefficient(i.getDegree()),f);l=l.add(this.field.buildMonomial(h,p)),i=i.subtract(o.multiplyByMonomial(h,p))}s=l.multiply(a).subtract(u).negative()}var m=s.getCoefficient(0);if(0===m)throw w.getChecksumInstance();var g=this.field.inverse(m),y=s.multiply(g),v=i.multiply(g);return[y,v]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),r=new Int32Array(t),n=0,o=1;o0){var c=n?this.topLeft:this.topRight,u=Math.trunc(c.getY()-t);u<0&&(u=0);var l=new it(c.getX(),u);n?o=l:a=l}if(r>0){var d=n?this.bottomLeft:this.bottomRight,f=Math.trunc(d.getY()+r);f>=this.image.getHeight()&&(f=this.image.getHeight()-1);var h=new it(d.getX(),f);n?i=h:s=h}return new e(this.image,o,i,a,s)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}();const Hi=zi;var Vi=function(){function e(e,t,r,n){this.columnCount=e,this.errorCorrectionLevel=n,this.rowCountUpperPart=t,this.rowCountLowerPart=r,this.rowCount=t+r}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}();const Gi=Vi;var qi=function(){function e(){this.buffer=""}return e.form=function(e,t){var r=-1;function n(e,n,o,i,a,s){if("%%"===e)return"%";if(void 0!==t[++r]){e=i?parseInt(i.substr(1)):void 0;var c,u=a?parseInt(a.substr(1)):void 0;switch(s){case"s":c=t[r];break;case"c":c=t[r][0];break;case"f":c=parseFloat(t[r]).toFixed(e);break;case"p":c=parseFloat(t[r]).toPrecision(e);break;case"e":c=parseFloat(t[r]).toExponential(e);break;case"x":c=parseInt(t[r]).toString(u||16);break;case"d":c=parseFloat(parseInt(t[r],u||10).toPrecision(e)).toFixed(0);break}c="object"===typeof c?JSON.stringify(c):(+c).toString(u);var l=parseInt(o),d=o&&o[0]+""==="0"?"0":" ";while(c.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Xi=function(){function e(e){this.boundingBox=new Hi(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var r=this.getCodeword(t);if(null!=r)return r;for(var n=1;n=0&&(r=this.codewords[o],null!=r))return r;if(o=this.imageRowToCodewordIndex(t)+n,o=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Qi=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},Ji=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,r=-1,n=new Array,o=function(e,t){var o={getKey:function(){return e},getValue:function(){return t}};o.getValue()>r?(r=o.getValue(),n=[],n.push(o.getKey())):o.getValue()===r&&n.push(o.getKey())};try{for(var i=Yi(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=Qi(a.value,2),c=s[0],u=s[1];o(c,u)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return Ti.toIntArray(n)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}();const ea=Ji;var ta=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ra=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},na=function(e){function t(t,r){var n=e.call(this,t)||this;return n._isLeft=r,n}return ta(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var r=ra(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,c=1,u=0,l=i;l=e.getRowCount()||f>l)t[l]=null;else{var h=void 0;h=c>2?(c-2)*f:f;for(var p=h>=l,m=1;m<=h&&!p;m++)p=null!=t[l-m];p?t[l]=null:(s=d.getRowNumber(),u=1)}}},t.prototype.getRowHeights=function(){var e,t,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.getRowCount());try{for(var o=ra(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=n.length)continue;n[s]++}}}catch(c){e={error:c}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),r=this._isLeft?t.getTopLeft():t.getTopRight(),n=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),s=-1,c=1,u=0,l=o;l=e.getRowCount()?a[l]=null:(s=d.getRowNumber(),u=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,r=this.getCodewords(),n=new ea,o=new ea,i=new ea,a=new ea;try{for(var s=ra(r),c=s.next();!c.done;c=s.next()){var u=c.value;if(null!=u){u.setRowNumberAsRowIndicatorColumn();var l=u.getValue()%30,d=u.getRowNumber();switch(this._isLeft||(d+=2),d%3){case 0:o.setValue(3*l+1);break;case 1:a.setValue(l/3),i.setValue(l%3);break;case 2:n.setValue(l+1);break}}}}catch(h){e={error:h}}finally{try{c&&!c.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}if(0===n.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||n.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]Ti.MAX_ROWS_IN_BARCODE)return null;var f=new Gi(n.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(r,f),f},t.prototype.removeIncorrectCodewords=function(e,t){for(var r=0;rt.getRowCount())e[r]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[r]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[r]=null);break;case 2:o+1!==t.getColumnCount()&&(e[r]=null);break}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(Zi);const oa=na;var ia=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},aa=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e,t=Ti.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t0&&i0&&(u[0]=n[r-1],u[4]=s[r-1],u[5]=c[r-1]),r>1&&(u[8]=n[r-2],u[10]=s[r-2],u[11]=c[r-2]),r>=1;n=1&r,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(Ti.BARS_IN_MODULE)),e.RATIOS_TABLE[t][Ti.BARS_IN_MODULE-o-1]=Math.fround(i/Ti.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var r=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==r?r:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=tt.sum(e),r=new Int32Array(Ti.BARS_IN_MODULE),n=0,o=0,i=0;i1)for(var o=0;o=i)break}ce.length||r<0||t+r>e.length||t+r<0)throw new C;if(0!==r)for(var n=0;n0&&this.grow(e)},t.prototype.grow=function(e){var t=this.buf.length,r=t<<1;if(r-e<0&&(r=e),r<0){if(e<0)throw new Aa;r=B.MAX_VALUE}this.buf=R.copyOfUint8Array(this.buf,r)},t.prototype.write=function(e){this.ensureCapacity(this.count+1),this.buf[this.count]=e,this.count+=1},t.prototype.writeBytesOffset=function(e,t,r){if(t<0||t>e.length||r<0||t+r-e.length>0)throw new C;this.ensureCapacity(this.count+r),S.arraycopy(e,t,this.buf,this.count,r),this.count+=r},t.prototype.writeTo=function(e){e.writeBytesOffset(this.buf,0,this.count)},t.prototype.reset=function(){this.count=0},t.prototype.toByteArray=function(){return R.copyOfUint8Array(this.buf,this.count)},t.prototype.size=function(){return this.count},t.prototype.toString=function(e){return e?"string"===typeof e?this.toString_string(e):this.toString_number(e):this.toString_void()},t.prototype.toString_void=function(){return new String(this.buf).toString()},t.prototype.toString_string=function(e){return new String(this.buf).toString()},t.prototype.toString_number=function(e){return new String(this.buf).toString()},t.prototype.close=function(){},t}(wa);const xa=Ta;var Ca,Ia;function Oa(){if("undefined"!==typeof window)return window["BigInt"]||null;if("undefined"!==typeof r.g)return r.g["BigInt"]||null;if("undefined"!==typeof self)return self["BigInt"]||null;throw new Error("Can't search globals for BigInt!")}function Pa(e){if("undefined"===typeof Ia&&(Ia=Oa()),null===Ia)throw new Error("BigInt is not supported!");return Ia(e)}function ka(){var e=[];e[0]=Pa(1);var t=Pa(900);e[1]=t;for(var r=2;r<16;r++)e[r]=e[r-1]*t;return e}(function(e){e[e["ALPHA"]=0]="ALPHA",e[e["LOWER"]=1]="LOWER",e[e["MIXED"]=2]="MIXED",e[e["PUNCT"]=3]="PUNCT",e[e["ALPHA_SHIFT"]=4]="ALPHA_SHIFT",e[e["PUNCT_SHIFT"]=5]="PUNCT_SHIFT"})(Ca||(Ca={}));var Na=function(){function e(){}return e.decode=function(t,r){var n=new te(""),o=q.ISO8859_1;n.enableDecoding(o);var i=1,a=t[i++],s=new ha;while(it[0])throw z.getFormatInstance();for(var o=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i0){for(var f=0;f<6;++f)a.write(Number(Pa(c)>>Pa(8*(5-f))));c=0,s=0}break}o===r[0]&&d0){for(f=0;f<6;++f)a.write(Number(Pa(c)>>Pa(8*(5-f))));c=0,s=0}}break}return i.append(Y.decode(a.toByteArray(),n)),o},e.numericCompaction=function(t,r,n){var o=0,i=!1,a=new Int32Array(e.MAX_NUMERIC_CODEWORDS);while(r0&&(n.append(e.decodeBase900toBase10(a,o)),o=0)}return r},e.decodeBase900toBase10=function(t,r){for(var n=Pa(0),o=0;o@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=Oa()?ka():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}();const Ra=Na;var Ma=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ba=function(){function e(){}return e.decode=function(t,r,n,o,i,a,s){for(var c,u=new Hi(t,r,n,o,i),l=null,d=null,f=!0;;f=!1){if(null!=r&&(l=e.getRowIndicatorColumn(t,u,r,!0,a,s)),null!=o&&(d=e.getRowIndicatorColumn(t,u,o,!1,a,s)),c=e.merge(l,d),null==c)throw ae.getNotFoundInstance();var h=c.getBoundingBox();if(!f||null==h||!(h.getMinY()u.getMaxY()))break;u=h}c.setBoundingBox(u);var p=c.getBarcodeColumnCount()+1;c.setDetectionResultColumn(0,l),c.setDetectionResultColumn(p,d);for(var m=null!=l,g=1;g<=p;g++){var y=m?g:p-g;if(void 0===c.getDetectionResultColumn(y)){var v=void 0;v=0===y||y===p?new oa(u,0===y):new Zi(u),c.setDetectionResultColumn(y,v);for(var b=-1,w=b,_=u.getMinY();_<=u.getMaxY();_++){if(b=e.getStartColumn(c,y,_,m),b<0||b>u.getMaxX()){if(-1===w)continue;b=w}var E=e.detectCodeword(t,u.getMinX(),u.getMaxX(),m,b,_,a,s);null!=E&&(v.setCodeword(_,E),w=b,a=Math.min(a,E.getWidth()),s=Math.max(s,E.getWidth()))}}}return e.createDecoderResult(c)},e.merge=function(t,r){if(null==t&&null==r)return null;var n=e.getBarcodeMetadata(t,r);if(null==n)return null;var o=Hi.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(r));return new sa(n,o)},e.adjustBoundingBox=function(t){var r,n;if(null==t)return null;var o=t.getRowHeights();if(null==o)return null;var i=e.getMax(o),a=0;try{for(var s=Ma(o),c=s.next();!c.done;c=s.next()){var u=c.value;if(a+=i-u,u>0)break}}catch(h){r={error:h}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}for(var l=t.getCodewords(),d=0;a>0&&null==l[d];d++)a--;var f=0;for(d=o.length-1;d>=0;d--)if(f+=i-o[d],o[d]>0)break;for(d=l.length-1;f>0&&null==l[d];d--)f--;return t.getBoundingBox().addMissingRows(a,f,t.isLeft())},e.getMax=function(e){var t,r,n=-1;try{for(var o=Ma(e),i=o.next();!i.done;i=o.next()){var a=i.value;n=Math.max(n,a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.getBarcodeMetadata=function(e,t){var r,n;return null==e||null==(r=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(n=t.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},e.getRowIndicatorColumn=function(t,r,n,o,i,a){for(var s=new oa(r,o),c=0;c<2;c++)for(var u=0===c?1:-1,l=Math.trunc(Math.trunc(n.getX())),d=Math.trunc(Math.trunc(n.getY()));d<=r.getMaxY()&&d>=r.getMinY();d+=u){var f=e.detectCodeword(t,0,t.getWidth(),o,l,d,i,a);null!=f&&(s.setCodeword(d,f),l=o?f.getStartX():f.getEndX())}return s},e.adjustCodewordCount=function(t,r){var n=r[0][1],o=n.getValue(),i=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===o.length){if(i<1||i>Ti.MAX_CODEWORDS_IN_BARCODE)throw ae.getNotFoundInstance();n.setValue(i)}else o[0]!==i&&n.setValue(i)},e.createDecoderResult=function(t){var r=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,r);for(var n=new Array,o=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),i=[],a=new Array,s=0;s0){for(var c=0;c=0){if(m>=i.length)continue;i[m][c].setValue(p.getValue())}}}}catch(g){n={error:g}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}c++}}catch(y){t={error:y}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return i},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,r,n,o){var i,a,s=o?1:-1,c=null;if(e.isValidBarcodeColumn(t,r-s)&&(c=t.getDetectionResultColumn(r-s).getCodeword(n)),null!=c)return o?c.getEndX():c.getStartX();if(c=t.getDetectionResultColumn(r).getCodewordNearby(n),null!=c)return o?c.getStartX():c.getEndX();if(e.isValidBarcodeColumn(t,r-s)&&(c=t.getDetectionResultColumn(r-s).getCodewordNearby(n)),null!=c)return o?c.getEndX():c.getStartX();var u=0;while(e.isValidBarcodeColumn(t,r-s)){r-=s;try{for(var l=(i=void 0,Ma(t.getDetectionResultColumn(r).getCodewords())),d=l.next();!d.done;d=l.next()){var f=d.value;if(null!=f)return(o?f.getEndX():f.getStartX())+s*u*(f.getEndX()-f.getStartX())}}catch(h){i={error:h}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}u++}return o?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,r,n,o,i,a,s,c){i=e.adjustCodewordStartColumn(t,r,n,o,i,a);var u,l=e.getModuleBitCount(t,r,n,o,i,a);if(null==l)return null;var d=tt.sum(l);if(o)u=i+d;else{for(var f=0;f=t)&&c=r:se.CODEWORD_SKEW_SIZE)return i;s+=c}c=-c,o=!o}return s},e.checkCodewordSkew=function(t,r,n){return r-e.CODEWORD_SKEW_SIZE<=t&&t<=n+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,r,n){if(0===t.length)throw z.getFormatInstance();var o=1<n/2+e.MAX_ERRORS||n<0||n>e.MAX_EC_CODEWORDS)throw w.getChecksumInstance();return e.errorCorrection.decode(t,n,r)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw z.getFormatInstance();var r=e[0];if(r>e.length)throw z.getFormatInstance();if(0===r){if(!(t>=1}return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new Wi,r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Fa=function(){function e(){}return e.prototype.decode=function(t,r){void 0===r&&(r=null);var n=e.decode(t,r,!1);if(null==n||0===n.length||null==n[0])throw ae.getNotFoundInstance();return n[0]},e.prototype.decodeMultiple=function(t,r){void 0===r&&(r=null);try{return e.decode(t,r,!0)}catch(n){if(n instanceof z||n instanceof w)throw ae.getNotFoundInstance();throw n}},e.decode=function(t,r,n){var o,i,a=new Array,s=Pi.detectMultiple(t,r,n);try{for(var c=Da(s.getPoints()),u=c.next();!u.done;u=c.next()){var l=u.value,d=La.decode(s.getBits(),l[4],l[5],l[6],l[7],e.getMinCodewordWidth(l),e.getMaxCodewordWidth(l)),f=new xe(d.getText(),d.getRawBytes(),void 0,l,Ie.PDF_417);f.putMetadata(Pe.ERROR_CORRECTION_LEVEL,d.getECLevel());var h=d.getOther();null!=h&&f.putMetadata(Pe.PDF417_EXTRA_METADATA,h),a.push(f)}}catch(p){o={error:p}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return a.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?B.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}();const ja=Fa;var Ua=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),$a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ua(t,e),t.kind="ReaderException",t}(u);const za=$a;var Ha=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Va=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!==e&&void 0!==e&&void 0!==e.get(j.TRY_HARDER),r=null===e||void 0===e?null:e.get(j.POSSIBLE_FORMATS),n=new Array;if(null!==r&&void 0!==r){var o=r.some((function(e){return e===Ie.UPC_A||e===Ie.UPC_E||e===Ie.EAN_13||e===Ie.EAN_8||e===Ie.CODABAR||e===Ie.CODE_39||e===Ie.CODE_93||e===Ie.CODE_128||e===Ie.ITF||e===Ie.RSS_14||e===Ie.RSS_EXPANDED}));o&&!t&&n.push(new to(e)),r.includes(Ie.QR_CODE)&&n.push(new Ei),r.includes(Ie.DATA_MATRIX)&&n.push(new To),r.includes(Ie.AZTEC)&&n.push(new xt),r.includes(Ie.PDF_417)&&n.push(new ja),o&&t&&n.push(new to(e))}0===n.length&&(t||n.push(new to(e)),n.push(new Ei),n.push(new To),n.push(new xt),n.push(new ja),t&&n.push(new to(e))),this.readers=n},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var r=Ha(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,r;if(null===this.readers)throw new za("No readers where selected, nothing can be read.");try{for(var n=Ha(this.readers),o=n.next();!o.done;o=n.next()){var i=o.value;try{return i.decode(e,this.hints)}catch(a){if(a instanceof za)continue}}}catch(s){t={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}throw new ae("No MultiFormat Readers were able to detect the code.")},e}();const Ga=Va;var qa,Wa=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ka=(function(e){function t(t,r){void 0===t&&(t=null),void 0===r&&(r=500);var n=this,o=new Ga;return o.setHints(t),n=e.call(this,o,r)||this,n}Wa(t,e),t.prototype.decodeBitmap=function(e){return this.reader.decodeWithState(e)}}(Se),function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}()),Xa=(function(e){function t(t){return void 0===t&&(t=500),e.call(this,new ja,t)||this}Ka(t,e)}(Se),function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}());(function(e){function t(t){return void 0===t&&(t=500),e.call(this,new Ei,t)||this}Xa(t,e)})(Se);(function(e){e[e["ERROR_CORRECTION"]=0]="ERROR_CORRECTION",e[e["CHARACTER_SET"]=1]="CHARACTER_SET",e[e["DATA_MATRIX_SHAPE"]=2]="DATA_MATRIX_SHAPE",e[e["DATA_MATRIX_COMPACT"]=3]="DATA_MATRIX_COMPACT",e[e["MIN_SIZE"]=4]="MIN_SIZE",e[e["MAX_SIZE"]=5]="MAX_SIZE",e[e["MARGIN"]=6]="MARGIN",e[e["PDF417_COMPACT"]=7]="PDF417_COMPACT",e[e["PDF417_COMPACTION"]=8]="PDF417_COMPACTION",e[e["PDF417_DIMENSIONS"]=9]="PDF417_DIMENSIONS",e[e["AZTEC_LAYERS"]=10]="AZTEC_LAYERS",e[e["QR_VERSION"]=11]="QR_VERSION",e[e["GS1_FORMAT"]=12]="GS1_FORMAT",e[e["FORCE_C40"]=13]="FORCE_C40"})(qa||(qa={}));const Za=qa;var Ya=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new Le(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var r=t[t.length-1],n=this.field,o=t.length;o<=e;o++){var i=r.multiply(new Le(n,Int32Array.from([1,n.exp(o-1+n.getGeneratorBase())])));t.push(i),r=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new m("No error correction bytes");var r=e.length-t;if(r<=0)throw new m("No data bytes provided");var n=this.buildGenerator(t),o=new Int32Array(r);S.arraycopy(e,0,o,0,r);var i=new Le(this.field,o);i=i.multiplyByMonomial(t,1);for(var a=i.divide(n)[1],s=a.getCoefficients(),c=t-s.length,u=0;u=5&&(n+=e.N1+(c-5)),c=1,u=d)}c>=5&&(n+=e.N1+(c-5))}return n},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();const es=Ja;var ts=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},rs=function(){function e(e,t){this.width=e,this.height=t;for(var r=new Array(t),n=0;n!==t;n++)r[n]=new Uint8Array(e);this.bytes=r}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,r){this.bytes[t][e]=r},e.prototype.setBoolean=function(e,t,r){this.bytes[t][e]=r?1:0},e.prototype.clear=function(e){var t,r;try{for(var n=ts(this.bytes),o=n.next();!o.done;o=n.next()){var i=o.value;R.fill(i,e)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t0){6===a&&(a-=1);while(s>=0&&s=n)t^=r<=0)for(var c=0;c!==a;c++){var u=o[c];u>=0&&e.isEmpty(r.get(u,s))&&e.embedPositionAdjustmentPattern(u-2,s-2,r)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();const ls=us;var ds=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}();const fs=ds;var hs=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ps=function(){function e(){}return e.calculateMaskPenalty=function(e){return es.applyMaskPenaltyRule1(e)+es.applyMaskPenaltyRule2(e)+es.applyMaskPenaltyRule3(e)+es.applyMaskPenaltyRule4(e)},e.encode=function(t,r,n){void 0===n&&(n=null);var o=e.DEFAULT_BYTE_MODE_ENCODING,i=null!==n&&void 0!==n.get(Za.CHARACTER_SET);i&&(o=n.get(Za.CHARACTER_SET).toString());var a=this.chooseMode(t,o),s=new D;if(a===Yo.BYTE&&(i||e.DEFAULT_BYTE_MODE_ENCODING!==o)){var c=q.getCharacterSetECIByName(o);void 0!==c&&this.appendECI(c,s)}this.appendModeInfo(a,s);var u,l=new D;if(this.appendBytes(t,a,l,o),null!==n&&void 0!==n.get(Za.QR_VERSION)){var d=Number.parseInt(n.get(Za.QR_VERSION).toString(),10);u=Uo.getVersionForNumber(d);var f=this.calculateBitsNeeded(a,s,l,u);if(!this.willFit(f,u,r))throw new cs("Data too big for requested version")}else u=this.recommendVersion(r,a,s,l);var h=new D;h.appendBitArray(s);var p=a===Yo.BYTE?l.getSizeInBytes():t.length;this.appendLengthInfo(p,u,a,h),h.appendBitArray(l);var m=u.getECBlocksForLevel(r),g=u.getTotalCodewords()-m.getTotalECCodewords();this.terminateBits(g,h);var y=this.interleaveWithECBytes(h,u.getTotalCodewords(),g,m.getNumBlocks()),v=new is;v.setECLevel(r),v.setMode(a),v.setVersion(u);var b=u.getDimensionForVersion(),w=new ns(b,b),_=this.chooseMaskPattern(y,r,u,w);return v.setMaskPattern(_),ls.buildMatrix(y,r,u,_,w),v.setMatrix(w),v},e.recommendVersion=function(e,t,r,n){var o=this.calculateBitsNeeded(t,r,n,Uo.getVersionForNumber(1)),i=this.chooseVersion(o,e),a=this.calculateBitsNeeded(t,r,n,i);return this.chooseVersion(a,e)},e.calculateBitsNeeded=function(e,t,r,n){return t.getSize()+e.getCharacterCountBits(n)+r.getSize()},e.getAlphanumericCode=function(t){return t159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,r,n){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a=s},e.terminateBits=function(e,t){var r=8*e;if(t.getSize()>r)throw new cs("data bits cannot fit in the QR Code"+t.getSize()+" > "+r);for(var n=0;n<4&&t.getSize()0)for(n=o;n<8;n++)t.appendBit(!1);var i=e-t.getSizeInBytes();for(n=0;n=r)throw new cs("Block ID too large");var a=e%r,s=r-a,c=Math.floor(e/r),u=c+1,l=Math.floor(t/r),d=l+1,f=c-l,h=u-d;if(f!==h)throw new cs("EC bytes mismatch");if(r!==s+a)throw new cs("RS blocks mismatch");if(e!==(l+f)*s+(d+h)*a)throw new cs("Total bytes mismatch");n=1<=0&&r<=9},e.appendNumericBytes=function(t,r){var n=t.length,o=0;while(o=33088&&s<=40956?c=s-33088:s>=57408&&s<=60351&&(c=s-49472),-1===c)throw new cs("Invalid byte sequence");var u=192*(c>>8)+(255&c);t.appendBits(u,13)}},e.appendECI=function(e,t){t.appendBits(Yo.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=q.UTF8.getName(),e}();const ms=ps;(function(){function e(){}e.prototype.write=function(t,r,n,o){if(void 0===o&&(o=null),0===t.length)throw new m("Found empty contents");if(r<0||n<0)throw new m("Requested dimensions are too small: "+r+"x"+n);var i=Oo.L,a=e.QUIET_ZONE_SIZE;null!==o&&(void 0!==o.get(Za.ERROR_CORRECTION)&&(i=Oo.fromString(o.get(Za.ERROR_CORRECTION).toString())),void 0!==o.get(Za.MARGIN)&&(a=Number.parseInt(o.get(Za.MARGIN).toString(),10)));var s=ms.encode(t,i,o);return this.renderResult(s,r,n,a)},e.prototype.writeToDom=function(e,t,r,n,o){void 0===o&&(o=null),"string"===typeof e&&(e=document.querySelector(e));var i=this.write(t,r,n,o);e&&e.appendChild(i)},e.prototype.renderResult=function(e,t,r,n){var o=e.getMatrix();if(null===o)throw new Ke;for(var i=o.getWidth(),a=o.getHeight(),s=i+2*n,c=a+2*n,u=Math.max(t,s),l=Math.max(r,c),d=Math.min(Math.floor(u/s),Math.floor(l/c)),f=Math.floor((u-i*d)/2),h=Math.floor((l-a*d)/2),p=this.createSVGElement(u,l),m=0,g=h;mr||i+s>n)throw new m("Crop rectangle does not fit within image data.");return c&&u.reverseHorizontal(a,s),u}vs(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new m("Requested row is outside the image: "+e);var r=this.getWidth();(null===t||void 0===t||t.length>16&255,p=f>>7&510,g=255&f;l[d]=(h+p+g)/4&255}c.luminances=l}else c.luminances=t;if(void 0===o&&(c.dataWidth=r),void 0===i&&(c.dataHeight=n),void 0===a&&(c.left=0),void 0===s&&(c.top=0),c.left+r>c.dataWidth||c.top+n>c.dataHeight)throw new m("Crop rectangle does not fit within image data.");return c}bs(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new m("Requested row is outside the image: "+e);var r=this.getWidth();(null===t||void 0===t||t.length=0&&this.noBit(r,t)&&this.utah(t,r,e++),t-=2,r+=2}while(t>=0&&r=0&&r=0);t+=3,r++}while(t=256&&(r^=ks);return{LOG:e,ALOG:t}},Rs=(Cs=Ns([],[]),Cs.LOG),Ms=Cs.ALOG;(function(e){e[e["FORCE_NONE"]=0]="FORCE_NONE",e[e["FORCE_SQUARE"]=1]="FORCE_SQUARE",e[e["FORCE_RECTANGLE"]=2]="FORCE_RECTANGLE"})(Is||(Is={}));var Bs=129,Ls=230,Ds=231,Fs=235,js=236,Us=237,$s=238,zs=239,Hs=240,Vs=254,Gs=254,qs="[)>05",Ws="[)>06",Ks="",Xs=0,Zs=1,Ys=2,Qs=3,Js=4,ec=5,tc=function(){function e(){}return e.encodeECC200=function(e,t){if(e.length!==t.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var r=new te;r.append(e);var n=t.getInterleavedBlockCount();if(1===n){var o=this.createECCBlock(e,t.getErrorCodewords());r.append(o)}else{for(var i=[],a=[],s=0;s0;s--)0!==a&&0!==o[s]?i[s]=i[s-1]^Ms[(Rs[a]+Rs[o[s]])%255]:i[s]=i[s-1];0!==a&&0!==o[0]?i[0]=Ms[(Rs[a]+Rs[o[0]])%255]:i[0]=0}var c=[];for(n=0;n=2)e.writeCodeword(this.encodeASCIIDigits(e.getMessage().charCodeAt(e.pos),e.getMessage().charCodeAt(e.pos+1))),e.pos+=2;else{var r=e.getCurrentChar(),n=bc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(n!==this.getEncodingMode())switch(n){case ec:return e.writeCodeword(Ds),void e.signalEncoderChange(ec);case Zs:return e.writeCodeword(Ls),void e.signalEncoderChange(Zs);case Qs:e.writeCodeword($s),e.signalEncoderChange(Qs);break;case Ys:e.writeCodeword(zs),e.signalEncoderChange(Ys);break;case Js:e.writeCodeword(Hs),e.signalEncoderChange(Js);break;default:throw new Error("Illegal mode: "+n)}else bc.isExtendedASCII(r)?(e.writeCodeword(Fs),e.writeCodeword(r-128+1),e.pos++):(e.writeCodeword(r+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){if(bc.isDigit(e)&&bc.isDigit(t)){var r=10*(e-48)+(t-48);return r+130}throw new Error("not digits: "+e+t)},e}(),oc=function(){function e(){}return e.prototype.getEncodingMode=function(){return ec},e.prototype.encode=function(e){var t=new te;t.append(0);while(e.hasMoreCharacters()){var r=e.getCurrentChar();t.append(r),e.pos++;var n=bc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(n!==this.getEncodingMode()){e.signalEncoderChange(Xs);break}}var o=t.length()-1,i=1,a=e.getCodewordCount()+o+i;e.updateSymbolInfo(a);var s=e.getSymbolInfo().getDataCapacity()-a>0;if(e.hasMoreCharacters()||s)if(o<=249)t.setCharAt(0,J.getCharAt(o));else{if(!(o<=1555))throw new Error("Message length not in valid ranges: "+o);t.setCharAt(0,J.getCharAt(Math.floor(o/250)+249)),t.insert(1,J.getCharAt(o%250))}var c=0;for(r=t.length();c3||1!==c))&&(e.pos=n)}t.length()>0&&e.writeCodeword(Ls),this.handleEOD(e,t)},e.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();e.pos++;var n=this.encodeChar(r,t),o=2*Math.floor(t.length()/3),i=e.getCodewordCount()+o;e.updateSymbolInfo(i);var a=e.getSymbolInfo().getDataCapacity()-i;if(!e.hasMoreCharacters()){var s=new te;t.length()%3===2&&2!==a&&(n=this.backtrackOneCharacter(e,t,s,n));while(t.length()%3===1&&(n>3||1!==a))n=this.backtrackOneCharacter(e,t,s,n);break}var c=t.length();if(c%3===0){var u=bc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(u!==this.getEncodingMode()){e.signalEncoderChange(Xs);break}}}this.handleEOD(e,t)},e.prototype.backtrackOneCharacter=function(e,t,r,n){var o=t.length(),i=t.toString().substring(0,o-n);t.setLengthToZero(),t.append(i),e.pos--;var a=e.getCurrentChar();return n=this.encodeChar(a,r),e.resetSymbolInfo(),n},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var r=t.toString().substring(3);t.setLengthToZero(),t.append(r)},e.prototype.handleEOD=function(e,t){var r=Math.floor(t.length()/3*2),n=t.length()%3,o=e.getCodewordCount()+r;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===n){t.append("\0");while(t.length()>=3)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(Vs)}else if(1===i&&1===n){while(t.length()>=3)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(Vs),e.pos--}else{if(0!==n)throw new Error("Unexpected case. Please report!");while(t.length()>=3)this.writeNextTriplet(e,t);(i>0||e.hasMoreCharacters())&&e.writeCodeword(Vs)}e.signalEncoderChange(Xs)},e.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return t.append(e-65+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e<=127)return t.append(2),t.append(e-96),2;t.append("1");var r=2;return r+=this.encodeChar(e-128,t),r},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,r=t/256,n=t%256,o=new te;return o.append(r),o.append(n),o.toString()},e}(),ac=function(){function e(){}return e.prototype.getEncodingMode=function(){return Js},e.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();this.encodeChar(r,t),e.pos++;var n=t.length();if(n>=4){e.writeCodewords(this.encodeToCodewords(t.toString()));var o=t.toString().substring(4);t.setLengthToZero(),t.append(o);var i=bc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(i!==this.getEncodingMode()){e.signalEncoderChange(Xs);break}}}t.append(J.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var r=t.length();if(0===r)return;if(1===r){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>n&&(e.updateSymbolInfo(e.getCodewordCount()+1),n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var i=r-1,a=this.encodeToCodewords(t.toString()),s=!e.hasMoreCharacters(),c=s&&i<=2;if(i<=2){e.updateSymbolInfo(e.getCodewordCount()+i);n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount();n>=3&&(c=!1,e.updateSymbolInfo(e.getCodewordCount()+a.length))}c?(e.resetSymbolInfo(),e.pos-=i):e.writeCodewords(a)}finally{e.signalEncoderChange(Xs)}},e.prototype.encodeChar=function(e,t){e>=" ".charCodeAt(0)&&e<="?".charCodeAt(0)?t.append(e):e>="@".charCodeAt(0)&&e<="^".charCodeAt(0)?t.append(J.getCharAt(e-64)):bc.illegalCharacter(J.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var r=e.charAt(0).charCodeAt(0),n=t>=2?e.charAt(1).charCodeAt(0):0,o=t>=3?e.charAt(2).charCodeAt(0):0,i=t>=4?e.charAt(3).charCodeAt(0):0,a=(r<<18)+(n<<12)+(o<<6)+i,s=a>>16&255,c=a>>8&255,u=255&a,l=new te;return l.append(s),t>=2&&l.append(c),t>=3&&l.append(u),l.toString()},e}(),sc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),cc=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},uc=function(){function e(e,t,r,n,o,i,a,s){void 0===a&&(a=0),void 0===s&&(s=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=o,this.dataRegions=i,this.rsBlockData=a,this.rsBlockError=s}return e.lookup=function(e,t,r,n,o){var i,a;void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===o&&(o=!0);try{for(var s=cc(fc),c=s.next();!c.done;c=s.next()){var u=c.value;if((1!==t||!u.rectangular)&&((2!==t||u.rectangular)&&(null==r||!(u.getSymbolWidth()n.getWidth()||u.getSymbolHeight()>n.getHeight()))&&e<=u.dataCapacity))return u}}catch(l){i={error:l}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}if(o)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},e.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},e.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},e.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},e.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},e.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},e.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},e.prototype.getDataCapacity=function(){return this.dataCapacity},e.prototype.getErrorCodewords=function(){return this.errorCodewords},e.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},e.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},e}();const lc=uc;var dc=function(e){function t(){return e.call(this,!1,1558,620,22,22,36,-1,62)||this}return sc(t,e),t.prototype.getInterleavedBlockCount=function(){return 10},t.prototype.getDataLengthForInterleavedBlock=function(e){return e<=8?156:155},t}(uc),fc=[new uc(!1,3,5,8,8,1),new uc(!1,5,7,10,10,1),new uc(!0,5,7,16,6,1),new uc(!1,8,10,12,12,1),new uc(!0,10,11,14,6,2),new uc(!1,12,12,14,14,1),new uc(!0,16,14,24,10,1),new uc(!1,18,14,16,16,1),new uc(!1,22,18,18,18,1),new uc(!0,22,18,16,10,2),new uc(!1,30,20,20,20,1),new uc(!0,32,24,16,14,2),new uc(!1,36,24,22,22,1),new uc(!1,44,28,24,24,1),new uc(!0,49,28,22,14,2),new uc(!1,62,36,14,14,4),new uc(!1,86,42,16,16,4),new uc(!1,114,48,18,18,4),new uc(!1,144,56,20,20,4),new uc(!1,174,68,22,22,4),new uc(!1,204,84,24,24,4,102,42),new uc(!1,280,112,14,14,16,140,56),new uc(!1,368,144,16,16,16,92,36),new uc(!1,456,192,18,18,16,114,48),new uc(!1,576,224,20,20,16,144,56),new uc(!1,696,272,22,22,16,174,68),new uc(!1,816,336,24,24,16,136,56),new uc(!1,1050,408,18,18,36,175,68),new uc(!1,1304,496,20,20,36,163,62),new dc],hc=function(){function e(e){this.msg=e,this.pos=0,this.skipAtEnd=0;for(var t=e.split("").map((function(e){return e.charCodeAt(0)})),r=new te,n=0,o=t.length;nthis.symbolInfo.getDataCapacity())&&(this.symbolInfo=lc.lookup(e,this.shape,this.minSize,this.maxSize,!0))},e.prototype.resetSymbolInfo=function(){this.symbolInfo=null},e}(),pc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),mc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return pc(t,e),t.prototype.getEncodingMode=function(){return Qs},t.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();e.pos++,this.encodeChar(r,t);var n=t.length();if(n%3===0){this.writeNextTriplet(e,t);var o=bc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(o!==this.getEncodingMode()){e.signalEncoderChange(Xs);break}}}this.handleEOD(e,t)},t.prototype.encodeChar=function(e,t){switch(e){case 13:t.append(0);break;case"*".charCodeAt(0):t.append(1);break;case">".charCodeAt(0):t.append(2);break;case" ".charCodeAt(0):t.append(3);break;default:e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)?t.append(e-48+4):e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?t.append(e-65+14):bc.illegalCharacter(J.getCharAt(e));break}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),n=t.length();e.pos-=n,(e.getRemainingCharacters()>1||r>1||e.getRemainingCharacters()!==r)&&e.writeCodeword(Gs),e.getNewEncoding()<0&&e.signalEncoderChange(Xs)},t}(ic),gc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),yc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return gc(t,e),t.prototype.getEncodingMode=function(){return Ys},t.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="a".charCodeAt(0)&&e<="z".charCodeAt(0))return t.append(e-97+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e>="[".charCodeAt(0)&&e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e==="`".charCodeAt(0))return t.append(2),t.append(0),2;if(e<="Z".charCodeAt(0))return t.append(2),t.append(e-65+1),2;if(e<=127)return t.append(2),t.append(e-123+27),2;t.append("1");var r=2;return r+=this.encodeChar(e-128,t),r},t}(ic),vc=function(){function e(){}return e.randomize253State=function(e){var t=149*e%253+1,r=Bs+t;return r<=254?r:r-254},e.encodeHighLevel=function(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===o&&(o=!1);var i=new ic,a=[new nc,i,new yc,new mc,new ac,new oc],s=new hc(e);s.setSymbolShape(t),s.setSizeConstraints(r,n),e.startsWith(qs)&&e.endsWith(Ks)?(s.writeCodeword(js),s.setSkipAtEnd(2),s.pos+=qs.length):e.startsWith(Ws)&&e.endsWith(Ks)&&(s.writeCodeword(Us),s.setSkipAtEnd(2),s.pos+=Ws.length);var c=Xs;o&&(i.encodeMaximal(s),c=s.getNewEncoding(),s.resetEncoderSignal());while(s.hasMoreCharacters())a[c].encode(s),s.getNewEncoding()>=0&&(c=s.getNewEncoding(),s.resetEncoderSignal());var u=s.getCodewordCount();s.updateSymbolInfo();var l=s.getSymbolInfo().getDataCapacity();u=e.length)return r;var n;r===Xs?n=[0,1,1,1,1,1.25]:(n=[1,2,2,2,2,2.25],n[r]=0);var o=0,i=new Uint8Array(6),a=[];while(1){if(t+o===e.length){R.fill(i,0),R.fill(a,0);var s=this.findMinimums(n,a,B.MAX_VALUE,i),c=this.getMinimumCount(i);if(a[Xs]===s)return Xs;if(1===c){if(i[ec]>0)return ec;if(i[Js]>0)return Js;if(i[Ys]>0)return Ys;if(i[Qs]>0)return Qs}return Zs}var u=e.charCodeAt(t+o);if(o++,this.isDigit(u)?n[Xs]+=.5:this.isExtendedASCII(u)?(n[Xs]=Math.ceil(n[Xs]),n[Xs]+=2):(n[Xs]=Math.ceil(n[Xs]),n[Xs]++),this.isNativeC40(u)?n[Zs]+=2/3:this.isExtendedASCII(u)?n[Zs]+=8/3:n[Zs]+=4/3,this.isNativeText(u)?n[Ys]+=2/3:this.isExtendedASCII(u)?n[Ys]+=8/3:n[Ys]+=4/3,this.isNativeX12(u)?n[Qs]+=2/3:this.isExtendedASCII(u)?n[Qs]+=13/3:n[Qs]+=10/3,this.isNativeEDIFACT(u)?n[Js]+=3/4:this.isExtendedASCII(u)?n[Js]+=4.25:n[Js]+=3.25,this.isSpecialB256(u)?n[ec]+=4:n[ec]++,o>=4){if(R.fill(i,0),R.fill(a,0),this.findMinimums(n,a,B.MAX_VALUE,i),a[Xs]i&&(r=i,R.fill(n,0)),r===i&&(n[o]=n[o]+1)}return r},e.getMinimumCount=function(e){for(var t=0,r=0;r<6;r++)t+=e[r];return t||0},e.isDigit=function(e){return e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)},e.isExtendedASCII=function(e){return e>=128&&e<=255},e.isNativeC40=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isNativeText=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="a".charCodeAt(0)&&e<="z".charCodeAt(0)},e.isNativeX12=function(e){return this.isX12TermSep(e)||e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isX12TermSep=function(e){return 13===e||e==="*".charCodeAt(0)||e===">".charCodeAt(0)},e.isNativeEDIFACT=function(e){return e>=" ".charCodeAt(0)&&e<="^".charCodeAt(0)},e.isSpecialB256=function(e){return!1},e.determineConsecutiveDigitCount=function(e,t){void 0===t&&(t=0);var r=e.length,n=t;while(n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ec=function(){function e(e){this.charset=e,this.name=e.name}return e.prototype.canEncode=function(e){try{return null!=Y.encode(e,this.charset)}catch(t){return!1}},e}(),Ac=function(){function e(e,t,r){var n,o,i,a,s,c;this.ENCODERS=["IBM437","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-8859-10","ISO-8859-11","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","windows-1250","windows-1251","windows-1252","windows-1256","Shift_JIS"].map((function(e){return new Ec(Es.forName(e))})),this.encoders=[];var u=[];u.push(new Ec(Ss.ISO_8859_1));for(var l=null!=t&&t.name.startsWith("UTF"),d=0;d=this.bytes.length)return!1;for(var r=0;r=this.length())throw new Error(""+e);if(this.isECI(e))throw new Error("value at "+e+" is not a character but an ECI");return this.isFNC1(e)?this.fnc1:this.bytes[e]},e.prototype.subSequence=function(e,t){if(e<0||e>t||t>this.length())throw new Error(""+e);for(var r=new te,n=e;n=this.length())throw new Error(""+e);return this.bytes[e]>255&&this.bytes[e]<=999},e.prototype.isFNC1=function(e){if(e<0||e>=this.length())throw new Error(""+e);return 1e3===this.bytes[e]},e.prototype.getECIValue=function(e){if(e<0||e>=this.length())throw new Error(""+e);if(!this.isECI(e))throw new Error("value at "+e+" is not an ECI but a character");return this.bytes[e]-256},e.prototype.addEdge=function(e,t,r){(null==e[t][r.encoderIndex]||e[t][r.encoderIndex].cachedTotalSize>r.cachedTotalSize)&&(e[t][r.encoderIndex]=r)},e.prototype.addEdges=function(e,t,r,n,o,i){var a=e.charAt(n).charCodeAt(0),s=0,c=t.length();t.getPriorityEncoderIndex()>=0&&(a===i||t.canEncode(a,t.getPriorityEncoderIndex()))&&(s=t.getPriorityEncoderIndex(),c=s+1);for(var u=s;u=0;i--)l.unshift(255&f[i])}var h=null===d.previous?0:d.previous.encoderIndex;h!==d.encoderIndex&&l.unshift(256+t.getECIValue(d.encoderIndex)),d=d.previous}var p=[];for(i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Oc=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},Pc=function(){for(var e=[],t=0;t","?","@","[","\\","]","^","_"],Nc=function(){function e(){}return e.isExtendedASCII=function(e,t){return e!==t&&e>=128&&e<=255},e.isInC40Shift1Set=function(e){return e<=31},e.isInC40Shift2Set=function(e,t){var r,n;try{for(var o=Ic(kc),i=o.next();!i.done;i=o.next()){var a=i.value;if(a.charCodeAt(0)===e)return!0}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return e===t},e.isInTextShift1Set=function(e){return this.isInC40Shift1Set(e)},e.isInTextShift2Set=function(e,t){return this.isInC40Shift2Set(e,t)},e.encodeHighLevel=function(e,t,r,n){void 0===t&&(t=null),void 0===r&&(r=-1),void 0===n&&(n=0);var o=0;return e.startsWith(qs)&&e.endsWith(Ks)?(o=5,e=e.substring(qs.length,e.length-2)):e.startsWith(Ws)&&e.endsWith(Ks)&&(o=6,e=e.substring(Ws.length,e.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,Pc(this.encode(e,t,r,n,o)))))},e.encode=function(e,t,r,n,o){return this.encodeMinimally(new Bc(e,t,r,n,o)).getBytes()},e.addEdge=function(e,t){var r=t.fromPosition+t.characterLength;(null===e[r][t.getEndMode()]||e[r][t.getEndMode()].cachedTotalSize>t.cachedTotalSize)&&(e[r][t.getEndMode()]=t)},e.getNumberOfC40Words=function(t,r,n,o){for(var i=0,a=r;a=128&&(n&&bc.isNativeC40(c-128)||!n&&bc.isNativeText(c-128))?i+=3:i+=4}else i+=2;if(i%3===0||(i-2)%3===0&&a+1===t.length())return o[0]=a-r+1,Math.ceil(i/3)}return o[0]=0,0},e.addEdges=function(t,r,n,o){var i,a;if(t.isECI(n))this.addEdge(r,new Mc(t,wc.ASCII,n,1,o));else{var s,c=t.charAt(n);if(null===o||o.getEndMode()!==wc.EDF){bc.isDigit(c)&&t.haveNCharacters(n,2)&&bc.isDigit(t.charAt(n+1))?this.addEdge(r,new Mc(t,wc.ASCII,n,2,o)):this.addEdge(r,new Mc(t,wc.ASCII,n,1,o));var u=[wc.C40,wc.TEXT];try{for(var l=Ic(u),d=l.next();!d.done;d=l.next()){var f=d.value,h=[];e.getNumberOfC40Words(t,n,f===wc.C40,h)>0&&this.addEdge(r,new Mc(t,f,n,h[0],o))}}catch(m){i={error:m}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}t.haveNCharacters(n,3)&&bc.isNativeX12(t.charAt(n))&&bc.isNativeX12(t.charAt(n+1))&&bc.isNativeX12(t.charAt(n+2))&&this.addEdge(r,new Mc(t,wc.X12,n,3,o)),this.addEdge(r,new Mc(t,wc.B256,n,1,o))}for(s=0;s<3;s++){var p=n+s;if(!t.haveNCharacters(p,1)||!bc.isNativeEDIFACT(t.charAt(p)))break;this.addEdge(r,new Mc(t,wc.EDF,n,s+1,o))}3===s&&t.haveNCharacters(n,4)&&bc.isNativeEDIFACT(t.charAt(n+3))&&this.addEdge(r,new Mc(t,wc.EDF,n,4,o))}},e.encodeMinimally=function(e){var t=e.length(),r=Array(t+1).fill(null).map((function(){return Array(6).fill(0)}));this.addEdges(e,r,0,null);for(var n=1;n<=t;n++){for(var o=0;o<6;o++)null!==r[n][o]&&n=1&&o<=3?s.cachedTotalSize+1:s.cachedTotalSize;c0&&(r+=this.prepend(Mc.getBytes(232),n));for(var s=0;s=0;r--)t.unshift(e[r]);return e.length},e.prototype.randomize253State=function(e){var t=149*e%253+1,r=129+t;return r<=254?r:r-254},e.prototype.applyRandomPattern=function(e,t,r){for(var n=0;n0&&this.getCodewordsRemaining(this.cachedTotalSize+e)<=2-e)return wc.ASCII}if(this.mode===wc.C40||this.mode===wc.TEXT||this.mode===wc.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return wc.ASCII;e=this.getLastASCII();if(1===e&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return wc.ASCII}return this.mode},e.prototype.getMode=function(){return this.mode},e.prototype.getLastASCII=function(){var e=this.input.length(),t=this.fromPosition+this.characterLength;return e-t>4||t>=e?0:e-t===1?Nc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())?0:1:e-t===2?Nc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())||Nc.isExtendedASCII(this.input.charAt(t+1),this.input.getFNC1Character())?0:bc.isDigit(this.input.charAt(t))&&bc.isDigit(this.input.charAt(t+1))?1:2:e-t===3?bc.isDigit(this.input.charAt(t))&&bc.isDigit(this.input.charAt(t+1))&&!Nc.isExtendedASCII(this.input.charAt(t+2),this.input.getFNC1Character())||bc.isDigit(this.input.charAt(t+1))&&bc.isDigit(this.input.charAt(t+2))&&!Nc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())?2:0:bc.isDigit(this.input.charAt(t))&&bc.isDigit(this.input.charAt(t+1))&&bc.isDigit(this.input.charAt(t+2))&&bc.isDigit(this.input.charAt(t+3))?2:0},e.prototype.getMinSymbolSize=function(e){var t,r,n,o,i,a;switch(this.input.getShapeHint()){case 1:try{for(var s=Ic(this.squareCodewordCapacities),c=s.next();!c.done;c=s.next()){var u=c.value;if(u>=e)return u}}catch(p){t={error:p}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}break;case 2:try{for(var l=Ic(this.rectangularCodewordCapacities),d=l.next();!d.done;d=l.next()){u=d.value;if(u>=e)return u}}catch(m){n={error:m}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}break}try{for(var f=Ic(this.allCodewordCapacities),h=f.next();!h.done;h=f.next()){u=h.value;if(u>=e)return u}}catch(g){i={error:g}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},e.prototype.getCodewordsRemaining=function(e){return this.getMinSymbolSize(e)-e},e.getBytes=function(e,t){var r=new Uint8Array(t?2:1);return r[0]=e,t&&(r[1]=t),r},e.prototype.setC40Word=function(e,t,r,n,o){var i=1600*(255&r)+40*(255&n)+(255&o)+1;e[t]=i/256,e[t+1]=i%256},e.prototype.getX12Value=function(e){return 13===e?0:42===e?1:62===e?2:32===e?3:e>=48&&e<=57?e-44:e>=65&&e<=90?e-51:e},e.prototype.getX12Words=function(){if(this.characterLength%3!==0)throw new Error("X12 words must be a multiple of 3");for(var e=new Uint8Array(this.characterLength/3*2),t=0;t=33&&r<=47?r-33:r>=48&&r<=57?r-44:r>=58&&r<=64?r-43:r>=65&&r<=90?r-64:r>=91&&r<=95?r-69:96===r?0:r>=97&&r<=122?r-83:r>=123&&r<=127?r-96:r},e.prototype.getC40Words=function(e,t){for(var r=[],n=0;n>16&255,t[o+1]=s>>8&255,t[o+2]=255&s}return t},e.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case wc.ASCII:case wc.B256:switch(this.mode){case wc.B256:return e.getBytes(231);case wc.C40:return e.getBytes(230);case wc.TEXT:return e.getBytes(239);case wc.X12:return e.getBytes(238);case wc.EDF:return e.getBytes(240)}break;case wc.C40:case wc.TEXT:case wc.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case wc.ASCII:return e.getBytes(254);case wc.B256:return e.getBytes(254,231);case wc.C40:return e.getBytes(254,230);case wc.TEXT:return e.getBytes(254,239);case wc.X12:return e.getBytes(254,238);case wc.EDF:return e.getBytes(254,240)}break;case wc.EDF:if(this.mode!==wc.EDF)throw new Error("Cannot switch from EDF to "+this.mode);break}return new Uint8Array(0)},e.prototype.getDataBytes=function(){switch(this.mode){case wc.ASCII:return this.input.isECI(this.fromPosition)?e.getBytes(241,this.input.getECIValue(this.fromPosition)+1):Nc.isExtendedASCII(this.input.charAt(this.fromPosition),this.input.getFNC1Character())?e.getBytes(235,this.input.charAt(this.fromPosition)-127):2===this.characterLength?e.getBytes(10*this.input.charAt(this.fromPosition)+this.input.charAt(this.fromPosition+1)+130):this.input.isFNC1(this.fromPosition)?e.getBytes(232):e.getBytes(this.input.charAt(this.fromPosition)+1);case wc.B256:return e.getBytes(this.input.charAt(this.fromPosition));case wc.C40:return this.getC40Words(!0,this.input.getFNC1Character());case wc.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case wc.X12:return this.getX12Words();case wc.EDF:return this.getEDFBytes()}},e}(),Bc=function(e){function t(t,r,n,o,i){var a=e.call(this,t,r,n)||this;return a.shape=o,a.macroId=i,a}return Cc(t,e),t.prototype.getMacroId=function(){return this.macroId},t.prototype.getShapeHint=function(){return this.shape},t}(Tc);(function(){function e(){}e.prototype.encode=function(e,t,r,n,o){if(void 0===o&&(o=null),""===e.trim())throw new Error("Found empty contents");if(t!==Ie.DATA_MATRIX)throw new Error("Can only encode DATA_MATRIX, but got "+t);if(r<0||n<0)throw new Error("Requested dimensions can't be negative: "+r+"x"+n);var i,a=0,s=null,c=null;if(null!=o){var u=o.get(Za.DATA_MATRIX_SHAPE);null!=u&&(a=u);var l=o.get(Za.MIN_SIZE);null!=l&&(s=l);var d=o.get(Za.MAX_SIZE);null!=d&&(c=d)}var f=null!=o&&o.has(Za.DATA_MATRIX_COMPACT)&&Boolean(o.get(Za.DATA_MATRIX_COMPACT).toString());if(f){var h=o.has(Za.GS1_FORMAT)&&Boolean(o.get(Za.GS1_FORMAT).toString()),p=null,m=o.has(Za.CHARACTER_SET);m&&(p=Es.forName(o.get(Za.CHARACTER_SET).toString())),i=Nc.encodeHighLevel(e,p,h?29:-1,a)}else{var g=null!=o&&o.has(Za.FORCE_C40)&&Boolean(o.get(Za.FORCE_C40).toString());i=bc.encodeHighLevel(e,a,s,c,g)}var y=lc.lookup(i.length,a,s,c,!0),v=rc.encodeECC200(i,y),b=new xs(v,y.getSymbolDataWidth(),y.getSymbolDataHeight());return b.place(),this.encodeLowLevel(b,y,r,n)},e.prototype.encodeLowLevel=function(e,t,r,n){for(var o=t.getSymbolDataWidth(),i=t.getSymbolDataHeight(),a=new ns(t.getSymbolWidth(),t.getSymbolHeight()),s=0,c=0;c"},t}($c);const Vc=Hc;var Gc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),qc=function(e){function t(t,r,n){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return Gc(t,e),t.prototype.appendTo=function(e,t){for(var r=0;r62?e.appendBits(this.binaryShiftByteCount-31,16):0===r?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+r],8)},t.prototype.addBinaryShift=function(e,r){return new t(this,e,r)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(Vc);const Wc=qc;function Kc(e,t,r){return new Wc(e,t,r)}function Xc(e,t,r){return new Vc(e,t,r)}var Zc=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],Yc=0,Qc=1,Jc=2,eu=3,tu=4,ru=new Vc(null,0,0),nu=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],ou=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function iu(e){var t,r;try{for(var n=ou(e),o=n.next();!o.done;o=n.next()){var i=o.value;R.fill(i,-1)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return e[Yc][tu]=0,e[Qc][tu]=0,e[Qc][Yc]=28,e[eu][tu]=0,e[Jc][tu]=0,e[Jc][Yc]=15,e}var au=iu(R.createInt32Array(6,6)),su=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},cu=function(){function e(e,t,r,n){this.token=e,this.mode=t,this.binaryShiftByteCount=r,this.bitCount=n}return e.prototype.getMode=function(){return this.mode},e.prototype.getToken=function(){return this.token},e.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},e.prototype.getBitCount=function(){return this.bitCount},e.prototype.latchAndAppend=function(t,r){var n=this.bitCount,o=this.token;if(t!==this.mode){var i=nu[this.mode][t];o=Xc(o,65535&i,i>>16),n+=i>>16}var a=t===Jc?4:5;return o=Xc(o,r,a),new e(o,t,0,n+a)},e.prototype.shiftAndAppend=function(t,r){var n=this.token,o=this.mode===Jc?4:5;return n=Xc(n,au[this.mode][t],o),n=Xc(n,r,5),new e(n,this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var r=this.token,n=this.mode,o=this.bitCount;if(this.mode===tu||this.mode===Jc){var i=nu[n][Yc];r=Xc(r,65535&i,i>>16),o+=i>>16,n=Yc}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new e(r,n,this.binaryShiftByteCount+1,o+a);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(t+1)),s},e.prototype.endBinaryShift=function(t){if(0===this.binaryShiftByteCount)return this;var r=this.token;return r=Kc(r,t-this.binaryShiftByteCount,this.binaryShiftByteCount),new e(r,this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var r=this.bitCount+(nu[this.mode][t.mode]>>16);return this.binaryShiftByteCountt.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(r+=10),r<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,r,n=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())n.unshift(o);var i=new D;try{for(var a=su(n),s=a.next();!s.done;s=a.next()){var c=s.value;c.appendTo(i,e)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return J.format("%s bits=%d bytes=%d",Zc[this.mode],this.bitCount,this.binaryShiftByteCount)},e.calculateBinaryShiftCost=function(e){return e.binaryShiftByteCount>62?21:e.binaryShiftByteCount>31?20:e.binaryShiftByteCount>0?10:0},e.INITIAL_STATE=new e(ru,Yc,0,0),e}();const uu=cu;function lu(e){var t=J.getCharCode(" "),r=J.getCharCode("."),n=J.getCharCode(",");e[Yc][t]=1;for(var o=J.getCharCode("Z"),i=J.getCharCode("A"),a=i;a<=o;a++)e[Yc][a]=a-i+2;e[Qc][t]=1;var s=J.getCharCode("z"),c=J.getCharCode("a");for(a=c;a<=s;a++)e[Qc][a]=a-c+2;e[Jc][t]=1;var u=J.getCharCode("9"),l=J.getCharCode("0");for(a=l;a<=u;a++)e[Jc][a]=a-l+2;e[Jc][n]=12,e[Jc][r]=13;for(var d=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~",""],f=0;f","?","[","]","{","}"];for(f=0;f0&&(e[tu][J.getCharCode(h[f])]=f);return e}var du=lu(R.createInt32Array(5,256)),fu=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},hu=function(){function e(e){this.text=e}return e.prototype.encode=function(){for(var t=J.getCharCode(" "),r=J.getCharCode("\n"),n=jc.singletonList(uu.INITIAL_STATE),o=0;o0?(n=e.updateStateListForPair(n,o,i),o++):n=this.updateStateListForChar(n,o)}var s=jc.min(n,(function(e,t){return e.getBitCount()-t.getBitCount()}));return s.toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,r){var n,o,i=[];try{for(var a=fu(t),s=a.next();!s.done;s=a.next()){var c=s.value;this.updateStateForChar(c,r,i)}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return e.simplifyStates(i)},e.prototype.updateStateForChar=function(e,t,r){for(var n=255&this.text[t],o=du[e.getMode()][n]>0,i=null,a=0;a<=tu;a++){var s=du[a][n];if(s>0){if(null==i&&(i=e.endBinaryShift(t)),!o||a===e.getMode()||a===Jc){var c=i.latchAndAppend(a,s);r.push(c)}if(!o&&au[e.getMode()][a]>=0){var u=i.shiftAndAppend(a,s);r.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===du[e.getMode()][n]){var l=e.addBinaryShiftChar(t);r.push(l)}},e.updateStateListForPair=function(e,t,r){var n,o,i=[];try{for(var a=fu(e),s=a.next();!s.done;s=a.next()){var c=s.value;this.updateStateForPair(c,t,r,i)}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return this.simplifyStates(i)},e.updateStateForPair=function(e,t,r,n){var o=e.endBinaryShift(t);if(n.push(o.latchAndAppend(tu,r)),e.getMode()!==tu&&n.push(o.shiftAndAppend(tu,r)),3===r||4===r){var i=o.latchAndAppend(Jc,16-r).latchAndAppend(Jc,1);n.push(i)}if(e.getBinaryShiftByteCount()>0){var a=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);n.push(a)}},e.simplifyStates=function(e){var t,r,n,o,i=[];try{for(var a=fu(e),s=a.next();!s.done;s=a.next()){var c=s.value,u=!0,l=function(e){if(e.isBetterThanOrEqualTo(c))return u=!1,"break";c.isBetterThanOrEqualTo(e)&&(i=i.filter((function(t){return t!==e})))};try{for(var d=(n=void 0,fu(i)),f=d.next();!f.done;f=d.next()){var h=f.value,p=l(h);if("break"===p)break}}catch(m){n={error:m}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}u&&i.push(c)}}catch(g){t={error:g}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},e}();const pu=hu;var mu=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},gu=function(){function e(){}return e.encodeBytes=function(t){return e.encode(t,e.DEFAULT_EC_PERCENT,e.DEFAULT_AZTEC_LAYERS)},e.encode=function(t,r,n){var o,i,a,s,c,u=new pu(t).encode(),l=B.truncDivision(u.getSize()*r,100)+11,d=u.getSize()+l;if(n!==e.DEFAULT_AZTEC_LAYERS){if(o=n<0,i=Math.abs(n),i>(o?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new m(J.format("Illegal value %s for layers",n));a=e.totalBitsInLayer(i,o),s=e.WORD_SIZE[i];var f=a-a%s;if(c=e.stuffBits(u,s),c.getSize()+l>f)throw new m("Data to large for user specified layer");if(o&&c.getSize()>64*s)throw new m("Data to large for user specified layer")}else{s=0,c=null;for(var h=0;;h++){if(h>e.MAX_NB_BITS)throw new m("Data too large for an Aztec code");if(o=h<=3,i=o?h+1:h,a=e.totalBitsInLayer(i,o),!(d>a)){null!=c&&s===e.WORD_SIZE[i]||(s=e.WORD_SIZE[i],c=e.stuffBits(u,s));f=a-a%s;if(!(o&&c.getSize()>64*s)&&c.getSize()+l<=f)break}}}var p,g=e.generateCheckWords(c,a,s),y=c.getSize()/s,v=e.generateModeMessage(o,i,y),b=(o?11:14)+4*i,w=new Int32Array(b);if(o){p=b;for(h=0;h=n||e.get(i+s))&&(a|=1<. See LICENSE.txt. */ +(function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function a(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}var s=function(){function e(e){var t=[],r=0;e=encodeURI(e);while(r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}return{toBytes:e,fromBytes:t}}(),c=function(){function e(e){for(var t=[],r=0;r>4]+t[15&o])}return r.join("")}return{toBytes:e,fromBytes:r}}(),u={16:10,24:12,32:14},l=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],f=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],p=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],g=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],y=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],b=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],w=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],_=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],A=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],S=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function T(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];var a,s=0,c=o;while(c>16&255]<<24^d[a>>8&255]<<16^d[255&a]<<8^d[a>>24&255]^l[s]<<24,s+=1,8!=o)for(t=1;t>8&255]<<8^d[a>>16&255]<<16^d[a>>24&255]<<24;for(t=o/2+1;t>2,h=c%4,this._Ke[f][h]=i[t],this._Kd[e-f][h]=i[t++],c++}for(var f=1;f>24&255]^E[a>>16&255]^A[a>>8&255]^S[255&a]},x.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=T(e),o=0;o<4;o++)n[o]^=this._Ke[0][o];for(var a=1;a>24&255]^p[n[(o+1)%4]>>16&255]^m[n[(o+2)%4]>>8&255]^g[255&n[(o+3)%4]]^this._Ke[a][o];n=r.slice()}var s,c=i(16);for(o=0;o<4;o++)s=this._Ke[t][o],c[4*o]=255&(d[n[o]>>24&255]^s>>24),c[4*o+1]=255&(d[n[(o+1)%4]>>16&255]^s>>16),c[4*o+2]=255&(d[n[(o+2)%4]>>8&255]^s>>8),c[4*o+3]=255&(d[255&n[(o+3)%4]]^s);return c},x.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=T(e),o=0;o<4;o++)n[o]^=this._Kd[0][o];for(var a=1;a>24&255]^v[n[(o+3)%4]>>16&255]^b[n[(o+2)%4]>>8&255]^w[255&n[(o+1)%4]]^this._Kd[a][o];n=r.slice()}var s,c=i(16);for(o=0;o<4;o++)s=this._Kd[t][o],c[4*o]=255&(f[n[o]>>24&255]^s>>24),c[4*o+1]=255&(f[n[(o+3)%4]>>16&255]^s>>16),c[4*o+2]=255&(f[n[(o+2)%4]>>8&255]^s>>8),c[4*o+3]=255&(f[255&n[(o+1)%4]]^s);return c};var C=function(e){if(!(this instanceof C))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new x(e)};C.prototype.encrypt=function(e){if(e=o(e),e.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;nNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},k.prototype.setBytes=function(e){if(e=o(e,!0),16!=e.length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},k.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var N=function(e,t){if(!(this instanceof N))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof k||(t=new k(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new x(e)};function R(e){e=o(e,!0);var t=16-e.length%16,r=i(e.length+t);a(e,r);for(var n=e.length;n16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{"use strict";function t(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,l=new Uint8Array(c);while(o!==i){for(var d=t[o],f=0,h=c-1;(0!==d||f>>0,l[h]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");n=f,o++}var p=c-n;while(p!==c&&0===l[p])p++;for(var m=s.repeat(r);p>>0,u=new Uint8Array(i);while(e[r]){var l=t[e.charCodeAt(r)];if(255===l)return;for(var d=0,f=i-1;(0!==l||d>>0,u[f]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");o=d,r++}var h=i-o;while(h!==i&&0===u[h])h++;var p=new Uint8Array(n+(i-h)),m=n;while(h!==i)p[m++]=u[h++];return p}function f(e){var t=d(e);if(t)return t;throw new Error("Non-base"+a+" character")}return{encode:l,decodeUnsafe:d,decode:f}}e.exports=t},67526:(e,t)=>{"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=p;for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function l(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,i=c(e),a=i[0],s=i[1],u=new o(l(e,a,s)),d=0,f=s>0?a-4:a;for(r=0;r>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[d++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var n,o=[],i=t;ic?c:s+a));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},22343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bech32m=t.bech32=void 0;const r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={};for(let d=0;d>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){let t=1;for(let r=0;r126)return"Invalid prefix ("+e+")";t=o(t)^n>>5}t=o(t);for(let r=0;r=r)i-=r,s.push(o>>i&a)}if(n)i>0&&s.push(o<=t)return"Excess padding";if(o<a)throw new TypeError("Exceeds length limit");e=e.toLowerCase();let s=i(e);if("string"===typeof s)throw new Error(s);let c=e+"1";for(let t=0;t>5!==0)throw new Error("Non 5-bit word");s=o(s)^e,c+=r.charAt(e)}for(let t=0;t<6;++t)s=o(s);s^=t;for(let t=0;t<6;++t){const e=s>>5*(5-t)&31;c+=r.charAt(e)}return c}function l(e,r){if(r=r||90,e.length<8)return e+" too short";if(e.length>r)return"Exceeds length limit";const a=e.toLowerCase(),s=e.toUpperCase();if(e!==a&&e!==s)return"Mixed-case string "+e;e=a;const c=e.lastIndexOf("1");if(-1===c)return"No separator character for "+e;if(0===c)return"Missing prefix for "+e;const u=e.slice(0,c),l=e.slice(c+1);if(l.length<6)return"Data too short";let d=i(u);if("string"===typeof d)return d;const f=[];for(let t=0;t=l.length||f.push(r)}return d!==t?"Invalid checksum for "+e:{prefix:u,words:f}}function d(e,t){const r=l(e,t);if("object"===typeof r)return r}function f(e,t){const r=l(e,t);if("object"===typeof r)return r;throw new Error(r)}return t="bech32"===e?1:734539939,{decodeUnsafe:d,decode:f,encode:a,toWords:s,fromWordsUnsafe:c,fromWords:u}}t.bech32=l("bech32"),t.bech32m=l("bech32m")},61594:function(e,t,r){var n;(function(o){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,c=Math.floor,u="[BigNumber Error] ",l=u+"Number primitive has more than 15 significant digits: ",d=1e14,f=14,h=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,g=1e9;function y(e){var t,r,n,o=D.prototype={constructor:D,toString:null,valueOf:null},i=new D(1),T=20,x=4,C=-7,I=21,O=-1e7,P=1e7,k=!1,N=1,R=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz",L=!0;function D(e,t){var o,i,s,u,d,p,m,g,y=this;if(!(y instanceof D))return new D(e,t);if(null==t){if(e&&!0===e._isBigNumber)return y.s=e.s,void(!e.c||e.e>P?y.c=y.e=null:e.e=10;d/=10,u++);return void(u>P?y.c=y.e=null:(y.e=u,y.c=[e]))}g=String(e)}else{if(!a.test(g=String(e)))return n(y,g,p);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(u=g.indexOf("."))>-1&&(g=g.replace(".","")),(d=g.search(/e/i))>0?(u<0&&(u=d),u+=+g.slice(d+1),g=g.substring(0,d)):u<0&&(u=g.length)}else{if(_(t,2,B.length,"Base"),10==t&&L)return y=new D(e),$(y,T+y.e+1,x);if(g=String(e),p="number"==typeof e){if(0*e!=0)return n(y,g,p,t);if(y.s=1/e<0?(g=g.slice(1),-1):1,D.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(l+e)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(o=B.slice(0,t),u=d=0,m=g.length;du){u=m;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,d=-1,u=0;continue}return n(y,String(e),p,t)}p=!1,g=r(g,t,10,y.s),(u=g.indexOf("."))>-1?g=g.replace(".",""):u=g.length}for(d=0;48===g.charCodeAt(d);d++);for(m=g.length;48===g.charCodeAt(--m););if(g=g.slice(d,++m)){if(m-=d,p&&D.DEBUG&&m>15&&(e>h||e!==c(e)))throw Error(l+y.s*e);if((u=u-d-1)>P)y.c=y.e=null;else if(u=I)?A(c,a):S(c,a,"0");else if(e=$(new D(e),t,r),i=e.e,c=b(e.c),s=c.length,1==n||2==n&&(t<=i||i<=C)){for(;ss){if(--t>0)for(c+=".";t--;c+="0");}else if(t+=i-s,t>0)for(i+1==s&&(c+=".");t--;c+="0");return e.s<0&&o?"-"+c:c}function j(e,t){for(var r,n,o=1,i=new D(e[0]);o=10;o/=10,n++);return(r=n+r*f-1)>P?e.c=e.e=null:r=10;u/=10,o++);if(i=t-o,i<0)i+=f,a=t,l=g[h=0],m=c(l/y[o-a-1]%10);else if(h=s((i+1)/f),h>=g.length){if(!n)break e;for(;g.length<=h;g.push(0));l=m=0,o=1,i%=f,a=i-f+1}else{for(l=u=g[h],o=1;u>=10;u/=10,o++);i%=f,a=i-f+o,m=a<0?0:c(l/y[o-a-1]%10)}if(n=n||t<0||null!=g[h+1]||(a<0?l:l%y[o-a-1]),n=r<4?(m||n)&&(0==r||r==(e.s<0?3:2)):m>5||5==m&&(4==r||n||6==r&&(i>0?a>0?l/y[o-a]:0:g[h-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=y[(f-t%f)%f],e.e=-t||0):g[0]=e.e=0,e;if(0==i?(g.length=h,u=1,h--):(g.length=h+1,u=y[f-i],g[h]=a>0?c(l/y[o-a]%y[a])*u:0),n)for(;;){if(0==h){for(i=1,a=g[0];a>=10;a/=10,i++);for(a=g[0]+=u,u=1;a>=10;a/=10,u++);i!=u&&(e.e++,g[0]==d&&(g[0]=1));break}if(g[h]+=u,g[h]!=d)break;g[h--]=0,u=1}for(i=g.length;0===g[--i];g.pop());}e.e>P?e.c=e.e=null:e.e=I?A(t,r):S(t,r,"0"),e.s<0?"-"+t:t)}return D.clone=y,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(u+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],_(r,0,g,t),T=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],_(r,0,8,t),x=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(_(r[0],-g,0,t),_(r[1],0,g,t),C=r[0],I=r[1]):(_(r,-g,g,t),C=-(I=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)_(r[0],-g,-1,t),_(r[1],1,g,t),O=r[0],P=r[1];else{if(_(r,-g,g,t),!r)throw Error(u+t+" cannot be zero: "+r);O=-(P=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(u+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw k=!r,Error(u+"crypto unavailable");k=r}else k=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],_(r,0,9,t),N=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],_(r,0,g,t),R=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(u+t+" not an object: "+r);M=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(u+t+" invalid: "+r);L="0123456789"==r.slice(0,10),B=r}}return{DECIMAL_PLACES:T,ROUNDING_MODE:x,EXPONENTIAL_AT:[C,I],RANGE:[O,P],CRYPTO:k,MODULO_MODE:N,POW_PRECISION:R,FORMAT:M,ALPHABET:B}},D.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!D.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===i||-1===i)&&o>=-g&&o<=g&&o===c(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if(t=(o+1)%f,t<1&&(t+=f),String(n[0]).length==t){for(t=0;t=d||r!==c(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(u+"Invalid BigNumber: "+e)},D.maximum=D.max=function(){return j(arguments,-1)},D.minimum=D.min=function(){return j(arguments,1)},D.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return c(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,n,o,a,l,d=0,h=[],m=new D(i);if(null==e?e=T:_(e,0,g),a=s(e/f),k)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(a*=2));d>>11),l>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[d]=n[0],r[d+1]=n[1]):(h.push(l%1e14),d+=2);d=a/2}else{if(!crypto.randomBytes)throw k=!1,Error(u+"crypto unavailable");for(r=crypto.randomBytes(a*=7);d=9e15?crypto.randomBytes(7).copy(r,d):(h.push(l%1e14),d+=7);d=a/7}if(!k)for(;d=10;l/=10,d++);dr-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var c,u,l,d,f,h,p,m,g=n.indexOf("."),y=T,v=x;for(g>=0&&(d=R,R=0,n=n.replace(".",""),m=new D(o),h=m.pow(n.length-g),R=d,m.c=r(S(b(h.c),h.e,"0"),10,i,e),m.e=m.c.length),p=r(n,o,i,s?(c=B,e):(c=e,B)),l=d=p.length;0==p[--d];p.pop());if(!p[0])return c.charAt(0);if(g<0?--l:(h.c=p,h.e=l,h.s=a,h=t(h,m,y,v,i),p=h.c,f=h.r,l=h.e),u=l+y+1,g=p[u],d=i/2,f=f||u<0||null!=p[u+1],f=v<4?(null!=g||f)&&(0==v||v==(h.s<0?3:2)):g>d||g==d&&(4==v||f||6==v&&1&p[u-1]||v==(h.s<0?8:7)),u<1||!p[0])n=f?S(c.charAt(1),-y,c.charAt(0)):c.charAt(0);else{if(p.length=u,f)for(--i;++p[--u]>i;)p[u]=0,u||(++l,p=[1].concat(p));for(d=p.length;!p[--d];);for(g=0,n="";g<=d;n+=c.charAt(p[g++]));n=S(n,l,c.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,o,i,a,s=0,c=e.length,u=t%m,l=t/m|0;for(e=e.slice();c--;)i=e[c]%m,a=e[c]/m|0,n=l*i+a*u,o=u*i+n%m*m+s,s=(o/r|0)+(n/m|0)+l*a,e[c]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]1;e.splice(0,1));}return function(n,o,i,a,s){var u,l,h,p,m,g,y,b,w,_,E,A,S,T,x,C,I,O=n.s==o.s?1:-1,P=n.c,k=o.c;if(!P||!P[0]||!k||!k[0])return new D(n.s&&o.s&&(P?!k||P[0]!=k[0]:k)?P&&0==P[0]||!k?0*O:O/0:NaN);for(b=new D(O),w=b.c=[],l=n.e-o.e,O=i+l+1,s||(s=d,l=v(n.e/f)-v(o.e/f),O=O/f|0),h=0;k[h]==(P[h]||0);h++);if(k[h]>(P[h]||0)&&l--,O<0)w.push(1),p=!0;else{for(T=P.length,C=k.length,h=0,O+=2,m=c(s/(k[0]+1)),m>1&&(k=e(k,m,s),P=e(P,m,s),C=k.length,T=P.length),S=C,_=P.slice(0,C),E=_.length;E=s/2&&x++;do{if(m=0,u=t(k,_,C,E),u<0){if(A=_[0],C!=E&&(A=A*s+(_[1]||0)),m=c(A/x),m>1){m>=s&&(m=s-1),g=e(k,m,s),y=g.length,E=_.length;while(1==t(g,_,y,E))m--,r(g,C=10;O/=10,h++);$(b,i+(b.e=h+l*f-1)+1,a,p)}else b.e=l,b.r=+p;return b}}(),n=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,a,s,c){var l,d=s?a:a.replace(o,"");if(n.test(d))i.s=isNaN(d)?null:d<0?-1:1;else{if(!s&&(d=d.replace(e,(function(e,t,r){return l="x"==(r=r.toLowerCase())?16:"b"==r?2:8,c&&c!=l?e:t})),c&&(l=c,d=d.replace(t,"$1").replace(r,"0.$1")),a!=d))return new D(d,l);if(D.DEBUG)throw Error(u+"Not a"+(c?" base "+c:"")+" number: "+a);i.s=null}i.c=i.e=null}}(),o.absoluteValue=o.abs=function(){var e=new D(this);return e.s<0&&(e.s=1),e},o.comparedTo=function(e,t){return w(this,new D(e,t))},o.decimalPlaces=o.dp=function(e,t){var r,n,o,i=this;if(null!=e)return _(e,0,g),null==t?t=x:_(t,0,8),$(new D(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-v(this.e/f))*f,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(e,r){return t(this,new D(e,r),T,x)},o.dividedToIntegerBy=o.idiv=function(e,r){return t(this,new D(e,r),0,1)},o.exponentiatedBy=o.pow=function(e,t){var r,n,o,a,l,d,h,p,m,g=this;if(e=new D(e),e.c&&!e.isInteger())throw Error(u+"Exponent not an integer: "+z(e));if(null!=t&&(t=new D(t)),d=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return m=new D(Math.pow(+z(g),d?e.s*(2-E(e)):+z(e))),t?m.mod(t):m;if(h=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new D(NaN);n=!h&&g.isInteger()&&t.isInteger(),n&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||d&&g.c[1]>=24e7:g.c[0]<8e13||d&&g.c[0]<=9999975e7)))return a=g.s<0&&E(e)?-0:0,g.e>-1&&(a=1/a),new D(h?1/a:a);R&&(a=s(R/f+2))}for(d?(r=new D(.5),h&&(e.s=1),p=E(e)):(o=Math.abs(+z(e)),p=o%2),m=new D(i);;){if(p){if(m=m.times(g),!m.c)break;a?m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}if(o){if(o=c(o/2),0===o)break;p=o%2}else if(e=e.times(r),$(e,e.e+1,1),e.e>14)p=E(e);else{if(o=+z(e),0===o)break;p=o%2}g=g.times(g),a?g.c&&g.c.length>a&&(g.c.length=a):n&&(g=g.mod(t))}return n?m:(h&&(m=i.div(m)),t?m.mod(t):a?$(m,R,x,l):m)},o.integerValue=function(e){var t=new D(this);return null==e?e=x:_(e,0,8),$(t,t.e+1,e)},o.isEqualTo=o.eq=function(e,t){return 0===w(this,new D(e,t))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(e,t){return w(this,new D(e,t))>0},o.isGreaterThanOrEqualTo=o.gte=function(e,t){return 1===(t=w(this,new D(e,t)))||0===t},o.isInteger=function(){return!!this.c&&v(this.e/f)>this.c.length-2},o.isLessThan=o.lt=function(e,t){return w(this,new D(e,t))<0},o.isLessThanOrEqualTo=o.lte=function(e,t){return-1===(t=w(this,new D(e,t)))||0===t},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(e=new D(e,t),t=e.s,!s||!t)return new D(NaN);if(s!=t)return e.s=-t,a.plus(e);var c=a.e/f,u=e.e/f,l=a.c,h=e.c;if(!c||!u){if(!l||!h)return l?(e.s=-t,e):new D(h?a:NaN);if(!l[0]||!h[0])return h[0]?(e.s=-t,e):new D(l[0]?a:3==x?-0:0)}if(c=v(c),u=v(u),l=l.slice(),s=c-u){for((i=s<0)?(s=-s,o=l):(u=c,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=l.length)<(t=h.length))?s:t,s=t=0;t0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]=0;){for(r=0,p=A[o]%w,g=A[o]/w|0,a=c,i=o+a;i>o;)u=E[--a]%w,l=E[a]/w|0,s=g*u+l*p,u=p*u+s%w*w+y[i]+r,r=(u/b|0)+(s/w|0)+g*l,y[i--]=u%b;y[i]=r}return r?++n:y.splice(0,1),U(e,y,n)},o.negated=function(){var e=new D(this);return e.s=-e.s||null,e},o.plus=function(e,t){var r,n=this,o=n.s;if(e=new D(e,t),t=e.s,!o||!t)return new D(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/f,a=e.e/f,s=n.c,c=e.c;if(!i||!a){if(!s||!c)return new D(o/0);if(!s[0]||!c[0])return c[0]?e:new D(s[0]?n:0*o)}if(i=v(i),a=v(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=c):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for(o=s.length,t=c.length,o-t<0&&(r=c,c=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+c[t]+o)/d|0,s[t]=d===s[t]?0:s[t]%d;return o&&(s=[o].concat(s),++a),U(e,s,a)},o.precision=o.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return _(e,1,g),null==t?t=x:_(t,0,8),$(new D(i),e,t);if(!(r=i.c))return null;if(o=r.length-1,n=o*f+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},o.shiftedBy=function(e){return _(e,-h,h),this.times("1e"+e)},o.squareRoot=o.sqrt=function(){var e,r,n,o,i,a=this,s=a.c,c=a.s,u=a.e,l=T+4,d=new D("0.5");if(1!==c||!s||!s[0])return new D(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);if(c=Math.sqrt(+z(a)),0==c||c==1/0?(r=b(s),(r.length+u)%2==0&&(r+="0"),c=Math.sqrt(+r),u=v((u+1)/2)-(u<0||u%2),c==1/0?r="5e"+u:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+u),n=new D(r)):n=new D(c+""),n.c[0])for(u=n.e,c=u+l,c<3&&(c=0);;)if(i=n,n=d.times(i.plus(t(a,i,l,1))),b(i.c).slice(0,c)===(r=b(n.c)).slice(0,c)){if(n.e0&&m>0){for(i=m%s||s,d=p.substr(0,i);i0&&(d+=l+p.slice(i)),h&&(d="-"+d)}n=f?d+(r.decimalSeparator||"")+((c=+r.fractionGroupSize)?f.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):d}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(e){var r,n,o,a,s,c,l,d,h,m,g,y,v=this,w=v.c;if(null!=e&&(l=new D(e),!l.isInteger()&&(l.c||1!==l.s)||l.lt(i)))throw Error(u+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+z(l));if(!w)return new D(v);for(r=new D(i),h=n=new D(i),o=d=new D(i),y=b(w),s=r.e=y.length-v.e-1,r.c[0]=p[(c=s%f)<0?f+c:c],e=!e||l.comparedTo(r)>0?s>0?r:h:l,c=P,P=1/0,l=new D(y),d.c[0]=0;;){if(m=t(l,r,0,1),a=n.plus(m.times(o)),1==a.comparedTo(e))break;n=o,o=a,h=d.plus(m.times(a=h)),d=a,r=l.minus(m.times(a=r)),l=a}return a=t(e.minus(n),o,0,1),d=d.plus(a.times(h)),n=n.plus(a.times(o)),d.s=h.s=v.s,s*=2,g=t(h,o,s,x).minus(v).abs().comparedTo(t(d,n,s,x).minus(v).abs())<1?[h,o]:[d,n],P=c,g},o.toNumber=function(){return+z(this)},o.toPrecision=function(e,t){return null!=e&&_(e,1,g),F(this,e,t,2)},o.toString=function(e){var t,n=this,o=n.s,i=n.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=C||i>=I?A(b(n.c),i):S(b(n.c),i,"0"):10===e&&L?(n=$(new D(n),T+i+1,x),t=S(b(n.c),n.e,"0")):(_(e,2,B.length,"Base"),t=r(S(b(n.c),i,"0"),10,e,o,!0)),o<0&&n.c[0]&&(t="-"+t)),t},o.valueOf=o.toJSON=function(){return z(this)},o._isBigNumber=!0,null!=e&&D.set(e),D}function v(e){var t=0|e;return e>0||e===t?t:t-1}function b(e){for(var t,r,n=1,o=e.length,i=e[0]+"";nu^r?1:-1;for(s=(c=o.length)<(u=i.length)?c:u,a=0;ai[a]^r?1:-1;return c==u?0:c>u^r?1:-1}function _(e,t,r,n){if(er||e!==c(e))throw Error(u+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function E(e){var t=e.c.length-1;return v(e.e/f)==t&&e.c[t]%2!=0}function A(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function S(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91457);function o(e){const t=e[0],r=n.psbtToKeyVals(t),o=e.slice(1);if(0===o.length)throw new Error("Combine: Nothing to combine");const c=a(t);if(void 0===c)throw new Error("Combine: Self missing transaction");const u=s(r.globalKeyVals),l=r.inputKeyVals.map(s),d=r.outputKeyVals.map(s);for(const f of o){const e=a(f);if(void 0===e||!e.toBuffer().equals(c.toBuffer()))throw new Error("Combine: One of the Psbts does not have the same transaction.");const t=n.psbtToKeyVals(f),o=s(t.globalKeyVals);o.forEach(i(u,r.globalKeyVals,t.globalKeyVals));const h=t.inputKeyVals.map(s);h.forEach(((e,n)=>e.forEach(i(l[n],r.inputKeyVals[n],t.inputKeyVals[n]))));const p=t.outputKeyVals.map(s);p.forEach(((e,n)=>e.forEach(i(d[n],r.outputKeyVals[n],t.outputKeyVals[n]))))}return n.psbtFromKeyVals(c,{globalMapKeyVals:r.globalKeyVals,inputKeyVals:r.inputKeyVals,outputKeyVals:r.outputKeyVals})}function i(e,t,r){return n=>{if(e.has(n))return;const o=r.filter((e=>e.key.toString("hex")===n))[0];t.push(o),e.add(n)}}function a(e){return e.globalMap.unsignedTx}function s(e){const t=new Set;return e.forEach((e=>{const r=e.key.toString("hex");if(t.has(r))throw new Error("Combine: KeyValue Map keys should be unique");t.add(r)})),t}t.combine=o},4834:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080),i=e=>[...Array(e).keys()];function a(e){if(e.key[0]!==o.GlobalTypes.GLOBAL_XPUB)throw new Error("Decode Error: could not decode globalXpub with key 0x"+e.key.toString("hex"));if(79!==e.key.length||![2,3].includes(e.key[46]))throw new Error("Decode Error: globalXpub has invalid extended pubkey in key 0x"+e.key.toString("hex"));if(e.value.length/4%1!==0)throw new Error("Decode Error: Global GLOBAL_XPUB value length should be multiple of 4");const t=e.key.slice(1),r={masterFingerprint:e.value.slice(0,4),extendedPubkey:t,path:"m"};for(const n of i(e.value.length/4-1)){const t=e.value.readUInt32LE(4*n+4),o=!!(2147483648&t),i=2147483647&t;r.path+="/"+i.toString(10)+(o?"'":"")}return r}function s(e){const t=n.from([o.GlobalTypes.GLOBAL_XPUB]),r=n.concat([t,e.extendedPubkey]),i=e.path.split("/"),a=n.allocUnsafe(4*i.length);e.masterFingerprint.copy(a,0);let s=4;return i.slice(1).forEach((e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),a.writeUInt32LE(r,s),s+=4})),{key:r,value:a}}function c(e){const t=e.extendedPubkey,r=e.masterFingerprint,o=e.path;return n.isBuffer(t)&&78===t.length&&[2,3].indexOf(t[45])>-1&&n.isBuffer(r)&&4===r.length&&"string"===typeof o&&!!o.match(/^m(\/\d+'?)*$/)}function u(e,t,r){const n=t.extendedPubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.extendedPubkey.equals(t.extendedPubkey))).length)}t.decode=a,t.encode=s,t.expected="{ masterFingerprint: Buffer; extendedPubkey: Buffer; path: string; }",t.check=c,t.canAddToArray=u},4213:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){return{key:n.from([o.GlobalTypes.UNSIGNED_TX]),value:e.toBuffer()}}t.encode=i},22706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(99080),o=r(4834),i=r(4213),a=r(76605),s=r(71795),c=r(4431),u=r(66907),l=r(95949),d=r(59344),f=r(72760),h=r(81695),p=r(98454),m=r(19034),g=r(82926),y=r(77851),v=r(97545),b=r(22412),w=r(54307),_=r(87636),E=r(22223),A=r(75578),S={unsignedTx:i,globalXpub:o,checkPubkey:b.makeChecker([])};t.globals=S;const T={nonWitnessUtxo:c,partialSig:u,sighashType:d,finalScriptSig:a,finalScriptWitness:s,porCommitment:l,witnessUtxo:g,bip32Derivation:v.makeConverter(n.InputTypes.BIP32_DERIVATION),redeemScript:w.makeConverter(n.InputTypes.REDEEM_SCRIPT),witnessScript:A.makeConverter(n.InputTypes.WITNESS_SCRIPT),checkPubkey:b.makeChecker([n.InputTypes.PARTIAL_SIG,n.InputTypes.BIP32_DERIVATION]),tapKeySig:f,tapScriptSig:m,tapLeafScript:h,tapBip32Derivation:_.makeConverter(n.InputTypes.TAP_BIP32_DERIVATION),tapInternalKey:E.makeConverter(n.InputTypes.TAP_INTERNAL_KEY),tapMerkleRoot:p};t.inputs=T;const x={bip32Derivation:v.makeConverter(n.OutputTypes.BIP32_DERIVATION),redeemScript:w.makeConverter(n.OutputTypes.REDEEM_SCRIPT),witnessScript:A.makeConverter(n.OutputTypes.WITNESS_SCRIPT),checkPubkey:b.makeChecker([n.OutputTypes.BIP32_DERIVATION]),tapBip32Derivation:_.makeConverter(n.OutputTypes.TAP_BIP32_DERIVATION),tapTree:y,tapInternalKey:E.makeConverter(n.OutputTypes.TAP_INTERNAL_KEY)};t.outputs=x},76605:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.FINAL_SCRIPTSIG)throw new Error("Decode Error: could not decode finalScriptSig with key 0x"+e.key.toString("hex"));return e.value}function a(e){const t=n.from([o.InputTypes.FINAL_SCRIPTSIG]);return{key:t,value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.finalScriptSig}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},71795:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.FINAL_SCRIPTWITNESS)throw new Error("Decode Error: could not decode finalScriptWitness with key 0x"+e.key.toString("hex"));return e.value}function a(e){const t=n.from([o.InputTypes.FINAL_SCRIPTWITNESS]);return{key:t,value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.finalScriptWitness}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},4431:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.NON_WITNESS_UTXO)throw new Error("Decode Error: could not decode nonWitnessUtxo with key 0x"+e.key.toString("hex"));return e.value}function a(e){return{key:n.from([o.InputTypes.NON_WITNESS_UTXO]),value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.nonWitnessUtxo}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},66907:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.PARTIAL_SIG)throw new Error("Decode Error: could not decode partialSig with key 0x"+e.key.toString("hex"));if(34!==e.key.length&&66!==e.key.length||![2,3,4].includes(e.key[1]))throw new Error("Decode Error: partialSig has invalid pubkey in key 0x"+e.key.toString("hex"));const t=e.key.slice(1);return{pubkey:t,signature:e.value}}function a(e){const t=n.from([o.InputTypes.PARTIAL_SIG]);return{key:n.concat([t,e.pubkey]),value:e.signature}}function s(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.signature)&&[33,65].includes(e.pubkey.length)&&[2,3,4].includes(e.pubkey[0])&&c(e.signature)}function c(e){if(!n.isBuffer(e)||e.length<9)return!1;if(48!==e[0])return!1;if(e.length!==e[1]+3)return!1;if(2!==e[2])return!1;const t=e[3];if(t>33||t<1)return!1;if(2!==e[3+t+1])return!1;const r=e[3+t+2];return!(r>33||r<1)&&e.length===3+t+2+r+2}function u(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey))).length)}t.decode=i,t.encode=a,t.expected="{ pubkey: Buffer; signature: Buffer; }",t.check=s,t.canAddToArray=u},95949:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.POR_COMMITMENT)throw new Error("Decode Error: could not decode porCommitment with key 0x"+e.key.toString("hex"));return e.value.toString("utf8")}function a(e){const t=n.from([o.InputTypes.POR_COMMITMENT]);return{key:t,value:n.from(e,"utf8")}}function s(e){return"string"===typeof e}function c(e,t){return!!e&&!!t&&void 0===e.porCommitment}t.decode=i,t.encode=a,t.expected="string",t.check=s,t.canAdd=c},59344:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function a(e){const t=n.from([o.InputTypes.SIGHASH_TYPE]),r=n.allocUnsafe(4);return r.writeUInt32LE(e,0),{key:t,value:r}}function s(e){return"number"===typeof e}function c(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=i,t.encode=a,t.expected="number",t.check=s,t.canAdd=c},72760:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.TAP_KEY_SIG||1!==e.key.length)throw new Error("Decode Error: could not decode tapKeySig with key 0x"+e.key.toString("hex"));if(!s(e.value))throw new Error("Decode Error: tapKeySig not a valid 64-65-byte BIP340 signature");return e.value}function a(e){const t=n.from([o.InputTypes.TAP_KEY_SIG]);return{key:t,value:e}}function s(e){return n.isBuffer(e)&&(64===e.length||65===e.length)}function c(e,t){return!!e&&!!t&&void 0===e.tapKeySig}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},81695:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.TAP_LEAF_SCRIPT)throw new Error("Decode Error: could not decode tapLeafScript with key 0x"+e.key.toString("hex"));if((e.key.length-2)%32!==0)throw new Error("Decode Error: tapLeafScript has invalid control block in key 0x"+e.key.toString("hex"));const t=e.value[e.value.length-1];if((254&e.key[1])!==t)throw new Error("Decode Error: tapLeafScript bad leaf version in key 0x"+e.key.toString("hex"));const r=e.value.slice(0,-1),n=e.key.slice(1);return{controlBlock:n,script:r,leafVersion:t}}function a(e){const t=n.from([o.InputTypes.TAP_LEAF_SCRIPT]),r=n.from([e.leafVersion]);return{key:n.concat([t,e.controlBlock]),value:n.concat([e.script,r])}}function s(e){return n.isBuffer(e.controlBlock)&&(e.controlBlock.length-1)%32===0&&(254&e.controlBlock[0])===e.leafVersion&&n.isBuffer(e.script)}function c(e,t,r){const n=t.controlBlock.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.controlBlock.equals(t.controlBlock))).length)}t.decode=i,t.encode=a,t.expected="{ controlBlock: Buffer; leafVersion: number, script: Buffer; }",t.check=s,t.canAddToArray=c},98454:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.TAP_MERKLE_ROOT||1!==e.key.length)throw new Error("Decode Error: could not decode tapMerkleRoot with key 0x"+e.key.toString("hex"));if(!s(e.value))throw new Error("Decode Error: tapMerkleRoot not a 32-byte hash");return e.value}function a(e){const t=n.from([o.InputTypes.TAP_MERKLE_ROOT]);return{key:t,value:e}}function s(e){return n.isBuffer(e)&&32===e.length}function c(e,t){return!!e&&!!t&&void 0===e.tapMerkleRoot}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},19034:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080);function i(e){if(e.key[0]!==o.InputTypes.TAP_SCRIPT_SIG)throw new Error("Decode Error: could not decode tapScriptSig with key 0x"+e.key.toString("hex"));if(65!==e.key.length)throw new Error("Decode Error: tapScriptSig has invalid key 0x"+e.key.toString("hex"));if(64!==e.value.length&&65!==e.value.length)throw new Error("Decode Error: tapScriptSig has invalid signature in key 0x"+e.key.toString("hex"));const t=e.key.slice(1,33),r=e.key.slice(33);return{pubkey:t,leafHash:r,signature:e.value}}function a(e){const t=n.from([o.InputTypes.TAP_SCRIPT_SIG]);return{key:n.concat([t,e.pubkey,e.leafHash]),value:e.signature}}function s(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.leafHash)&&n.isBuffer(e.signature)&&32===e.pubkey.length&&32===e.leafHash.length&&(64===e.signature.length||65===e.signature.length)}function c(e,t,r){const n=t.pubkey.toString("hex")+t.leafHash.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey)&&e.leafHash.equals(t.leafHash))).length)}t.decode=i,t.encode=a,t.expected="{ pubkey: Buffer; leafHash: Buffer; signature: Buffer; }",t.check=s,t.canAddToArray=c},82926:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080),i=r(78133),a=r(40394);function s(e){if(e.key[0]!==o.InputTypes.WITNESS_UTXO)throw new Error("Decode Error: could not decode witnessUtxo with key 0x"+e.key.toString("hex"));const t=i.readUInt64LE(e.value,0);let r=8;const n=a.decode(e.value,r);r+=a.encodingLength(n);const s=e.value.slice(r);if(s.length!==n)throw new Error("Decode Error: WITNESS_UTXO script is not proper length");return{script:s,value:t}}function c(e){const{script:t,value:r}=e,s=a.encodingLength(t.length),c=n.allocUnsafe(8+s+t.length);return i.writeUInt64LE(c,r,0),a.encode(t.length,c,8),t.copy(c,8+s),{key:n.from([o.InputTypes.WITNESS_UTXO]),value:c}}function u(e){return n.isBuffer(e.script)&&"number"===typeof e.value}function l(e,t){return!!e&&!!t&&void 0===e.witnessUtxo}t.decode=s,t.encode=c,t.expected="{ script: Buffer; value: number; }",t.check=u,t.canAdd=l},77851:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(99080),i=r(40394);function a(e){if(e.key[0]!==o.OutputTypes.TAP_TREE||1!==e.key.length)throw new Error("Decode Error: could not decode tapTree with key 0x"+e.key.toString("hex"));let t=0;const r=[];while(t[n.of(e.depth,e.leafVersion),i.encode(e.script.length),e.script])));return{key:t,value:n.concat(r)}}function c(e){return Array.isArray(e.leaves)&&e.leaves.every((e=>e.depth>=0&&e.depth<=128&&(254&e.leafVersion)===e.leafVersion&&n.isBuffer(e.script)))}function u(e,t){return!!e&&!!t&&void 0===e.tapTree}t.decode=a,t.encode=s,t.expected="{ leaves: [{ depth: number; leafVersion: number, script: Buffer; }] }",t.check=c,t.canAdd=u},97545:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=e=>[...Array(e).keys()],i=e=>33===e.length&&[2,3].includes(e[0])||65===e.length&&4===e[0];function a(e,t=i){function r(r){if(r.key[0]!==e)throw new Error("Decode Error: could not decode bip32Derivation with key 0x"+r.key.toString("hex"));const n=r.key.slice(1);if(!t(n))throw new Error("Decode Error: bip32Derivation has invalid pubkey in key 0x"+r.key.toString("hex"));if(r.value.length/4%1!==0)throw new Error("Decode Error: Input BIP32_DERIVATION value length should be multiple of 4");const i={masterFingerprint:r.value.slice(0,4),pubkey:n,path:"m"};for(const e of o(r.value.length/4-1)){const t=r.value.readUInt32LE(4*e+4),n=!!(2147483648&t),o=2147483647&t;i.path+="/"+o.toString(10)+(n?"'":"")}return i}function a(t){const r=n.from([e]),o=n.concat([r,t.pubkey]),i=t.path.split("/"),a=n.allocUnsafe(4*i.length);t.masterFingerprint.copy(a,0);let s=4;return i.slice(1).forEach((e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),a.writeUInt32LE(r,s),s+=4})),{key:o,value:a}}const s="{ masterFingerprint: Buffer; pubkey: Buffer; path: string; }";function c(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.masterFingerprint)&&"string"===typeof e.path&&t(e.pubkey)&&4===e.masterFingerprint.length}function u(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey))).length)}return{decode:r,encode:a,check:c,expected:s,canAddToArray:u}}t.makeConverter=a},22412:(e,t)=>{"use strict";function r(e){return t;function t(t){let r;if(e.includes(t.key[0])&&(r=t.key.slice(1),33!==r.length&&65!==r.length||![2,3,4].includes(r[0])))throw new Error("Format Error: invalid pubkey in key 0x"+t.key.toString("hex"));return r}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeChecker=r},54307:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e){function t(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode redeemScript with key 0x"+t.key.toString("hex"));return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)}function a(e,t){return!!e&&!!t&&void 0===e.redeemScript}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},87636:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(40394),i=r(97545),a=e=>32===e.length;function s(e){const t=i.makeConverter(e,a);function r(e){const r=o.decode(e.value),n=o.encodingLength(r),i=t.decode({key:e.key,value:e.value.slice(n+32*r)}),a=new Array(r);for(let t=0,o=n;tn.isBuffer(e)&&32===e.length))&&t.check(e)}return{decode:r,encode:s,check:u,expected:c,canAddToArray:t.canAddToArray}}t.makeConverter=s},22223:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e){function t(t){if(t.key[0]!==e||1!==t.key.length)throw new Error("Decode Error: could not decode tapInternalKey with key 0x"+t.key.toString("hex"));if(32!==t.value.length)throw new Error("Decode Error: tapInternalKey not a 32-byte x-only pubkey");return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)&&32===e.length}function a(e,t){return!!e&&!!t&&void 0===e.tapInternalKey}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},75578:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e){function t(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode witnessScript with key 0x"+t.key.toString("hex"));return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)}function a(e,t){return!!e&&!!t&&void 0===e.witnessScript}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},78133:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(40394);function i(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;nt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function u(e,t){const r=e.readUInt32LE(t);let n=e.readUInt32LE(t+4);return n*=4294967296,c(n+r,9007199254740991),n+r}function l(e,t,r){return c(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}t.range=e=>[...Array(e).keys()],t.reverseBuffer=i,t.keyValsToBuffer=a,t.keyValToBuffer=s,t.readUInt64LE=u,t.writeUInt64LE=l},40394:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=9007199254740991;function i(e){if(e<0||e>o||e%1!==0)throw new RangeError("value out of range")}function a(e,t,r){if(i(e),t||(t=n.allocUnsafe(c(e))),!n.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");return r||(r=0),e<253?(t.writeUInt8(e,r),Object.assign(a,{bytes:1})):e<=65535?(t.writeUInt8(253,r),t.writeUInt16LE(e,r+1),Object.assign(a,{bytes:3})):e<=4294967295?(t.writeUInt8(254,r),t.writeUInt32LE(e,r+1),Object.assign(a,{bytes:5})):(t.writeUInt8(255,r),t.writeUInt32LE(e>>>0,r+1),t.writeUInt32LE(e/4294967296|0,r+5),Object.assign(a,{bytes:9})),t}function s(e,t){if(!n.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");t||(t=0);const r=e.readUInt8(t);if(r<253)return Object.assign(s,{bytes:1}),r;if(253===r)return Object.assign(s,{bytes:3}),e.readUInt16LE(t+1);if(254===r)return Object.assign(s,{bytes:5}),e.readUInt32LE(t+1);{Object.assign(s,{bytes:9});const r=e.readUInt32LE(t+1),n=e.readUInt32LE(t+5),o=4294967296*n+r;return i(o),o}}function c(e){return i(e),e<253?1:e<=65535?3:e<=4294967295?5:9}t.encode=a,t.decode=s,t.encodingLength=c},76263:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(22706),i=r(78133),a=r(40394),s=r(99080);function c(e,t){let r=0;function n(){const t=a.decode(e,r);r+=a.encodingLength(t);const n=e.slice(r,r+t);return r+=t,n}function o(){const t=e.readUInt32BE(r);return r+=4,t}function c(){const t=e.readUInt8(r);return r+=1,t}function u(){const e=n(),t=n();return{key:e,value:t}}function d(){if(r>=e.length)throw new Error("Format Error: Unexpected End of PSBT");const t=0===e.readUInt8(r);return t&&r++,t}if(1886610036!==o())throw new Error("Format Error: Invalid Magic Number");if(255!==c())throw new Error("Format Error: Magic Number must be followed by 0xff separator");const f=[],h={};while(!d()){const e=u(),t=e.key.toString("hex");if(h[t])throw new Error("Format Error: Keys must be unique for global keymap: key "+t);h[t]=1,f.push(e)}const p=f.filter((e=>e.key[0]===s.GlobalTypes.UNSIGNED_TX));if(1!==p.length)throw new Error("Format Error: Only one UNSIGNED_TX allowed");const m=t(p[0].value),{inputCount:g,outputCount:y}=m.getInputOutputCounts(),v=[],b=[];for(const a of i.range(g)){const e={},t=[];while(!d()){const r=u(),n=r.key.toString("hex");if(e[n])throw new Error("Format Error: Keys must be unique for each input: input index "+a+" key "+n);e[n]=1,t.push(r)}v.push(t)}for(const a of i.range(y)){const e={},t=[];while(!d()){const r=u(),n=r.key.toString("hex");if(e[n])throw new Error("Format Error: Keys must be unique for each output: output index "+a+" key "+n);e[n]=1,t.push(r)}b.push(t)}return l(m,{globalMapKeyVals:f,inputKeyVals:v,outputKeyVals:b})}function u(e,t,r){if(!t.equals(n.from([r])))throw new Error(`Format Error: Invalid ${e} key: ${t.toString("hex")}`)}function l(e,{globalMapKeyVals:t,inputKeyVals:r,outputKeyVals:n}){const a={unsignedTx:e};let c=0;for(const i of t)switch(i.key[0]){case s.GlobalTypes.UNSIGNED_TX:if(u("global",i.key,s.GlobalTypes.UNSIGNED_TX),c>0)throw new Error("Format Error: GlobalMap has multiple UNSIGNED_TX");c++;break;case s.GlobalTypes.GLOBAL_XPUB:void 0===a.globalXpub&&(a.globalXpub=[]),a.globalXpub.push(o.globals.globalXpub.decode(i));break;default:a.unknownKeyVals||(a.unknownKeyVals=[]),a.unknownKeyVals.push(i)}const l=r.length,d=n.length,f=[],h=[];for(const p of i.range(l)){const e={};for(const t of r[p])switch(o.inputs.checkPubkey(t),t.key[0]){case s.InputTypes.NON_WITNESS_UTXO:if(u("input",t.key,s.InputTypes.NON_WITNESS_UTXO),void 0!==e.nonWitnessUtxo)throw new Error("Format Error: Input has multiple NON_WITNESS_UTXO");e.nonWitnessUtxo=o.inputs.nonWitnessUtxo.decode(t);break;case s.InputTypes.WITNESS_UTXO:if(u("input",t.key,s.InputTypes.WITNESS_UTXO),void 0!==e.witnessUtxo)throw new Error("Format Error: Input has multiple WITNESS_UTXO");e.witnessUtxo=o.inputs.witnessUtxo.decode(t);break;case s.InputTypes.PARTIAL_SIG:void 0===e.partialSig&&(e.partialSig=[]),e.partialSig.push(o.inputs.partialSig.decode(t));break;case s.InputTypes.SIGHASH_TYPE:if(u("input",t.key,s.InputTypes.SIGHASH_TYPE),void 0!==e.sighashType)throw new Error("Format Error: Input has multiple SIGHASH_TYPE");e.sighashType=o.inputs.sighashType.decode(t);break;case s.InputTypes.REDEEM_SCRIPT:if(u("input",t.key,s.InputTypes.REDEEM_SCRIPT),void 0!==e.redeemScript)throw new Error("Format Error: Input has multiple REDEEM_SCRIPT");e.redeemScript=o.inputs.redeemScript.decode(t);break;case s.InputTypes.WITNESS_SCRIPT:if(u("input",t.key,s.InputTypes.WITNESS_SCRIPT),void 0!==e.witnessScript)throw new Error("Format Error: Input has multiple WITNESS_SCRIPT");e.witnessScript=o.inputs.witnessScript.decode(t);break;case s.InputTypes.BIP32_DERIVATION:void 0===e.bip32Derivation&&(e.bip32Derivation=[]),e.bip32Derivation.push(o.inputs.bip32Derivation.decode(t));break;case s.InputTypes.FINAL_SCRIPTSIG:u("input",t.key,s.InputTypes.FINAL_SCRIPTSIG),e.finalScriptSig=o.inputs.finalScriptSig.decode(t);break;case s.InputTypes.FINAL_SCRIPTWITNESS:u("input",t.key,s.InputTypes.FINAL_SCRIPTWITNESS),e.finalScriptWitness=o.inputs.finalScriptWitness.decode(t);break;case s.InputTypes.POR_COMMITMENT:u("input",t.key,s.InputTypes.POR_COMMITMENT),e.porCommitment=o.inputs.porCommitment.decode(t);break;case s.InputTypes.TAP_KEY_SIG:u("input",t.key,s.InputTypes.TAP_KEY_SIG),e.tapKeySig=o.inputs.tapKeySig.decode(t);break;case s.InputTypes.TAP_SCRIPT_SIG:void 0===e.tapScriptSig&&(e.tapScriptSig=[]),e.tapScriptSig.push(o.inputs.tapScriptSig.decode(t));break;case s.InputTypes.TAP_LEAF_SCRIPT:void 0===e.tapLeafScript&&(e.tapLeafScript=[]),e.tapLeafScript.push(o.inputs.tapLeafScript.decode(t));break;case s.InputTypes.TAP_BIP32_DERIVATION:void 0===e.tapBip32Derivation&&(e.tapBip32Derivation=[]),e.tapBip32Derivation.push(o.inputs.tapBip32Derivation.decode(t));break;case s.InputTypes.TAP_INTERNAL_KEY:u("input",t.key,s.InputTypes.TAP_INTERNAL_KEY),e.tapInternalKey=o.inputs.tapInternalKey.decode(t);break;case s.InputTypes.TAP_MERKLE_ROOT:u("input",t.key,s.InputTypes.TAP_MERKLE_ROOT),e.tapMerkleRoot=o.inputs.tapMerkleRoot.decode(t);break;default:e.unknownKeyVals||(e.unknownKeyVals=[]),e.unknownKeyVals.push(t)}f.push(e)}for(const p of i.range(d)){const e={};for(const t of n[p])switch(o.outputs.checkPubkey(t),t.key[0]){case s.OutputTypes.REDEEM_SCRIPT:if(u("output",t.key,s.OutputTypes.REDEEM_SCRIPT),void 0!==e.redeemScript)throw new Error("Format Error: Output has multiple REDEEM_SCRIPT");e.redeemScript=o.outputs.redeemScript.decode(t);break;case s.OutputTypes.WITNESS_SCRIPT:if(u("output",t.key,s.OutputTypes.WITNESS_SCRIPT),void 0!==e.witnessScript)throw new Error("Format Error: Output has multiple WITNESS_SCRIPT");e.witnessScript=o.outputs.witnessScript.decode(t);break;case s.OutputTypes.BIP32_DERIVATION:void 0===e.bip32Derivation&&(e.bip32Derivation=[]),e.bip32Derivation.push(o.outputs.bip32Derivation.decode(t));break;case s.OutputTypes.TAP_INTERNAL_KEY:u("output",t.key,s.OutputTypes.TAP_INTERNAL_KEY),e.tapInternalKey=o.outputs.tapInternalKey.decode(t);break;case s.OutputTypes.TAP_TREE:u("output",t.key,s.OutputTypes.TAP_TREE),e.tapTree=o.outputs.tapTree.decode(t);break;case s.OutputTypes.TAP_BIP32_DERIVATION:void 0===e.tapBip32Derivation&&(e.tapBip32Derivation=[]),e.tapBip32Derivation.push(o.outputs.tapBip32Derivation.decode(t));break;default:e.unknownKeyVals||(e.unknownKeyVals=[]),e.unknownKeyVals.push(t)}h.push(e)}return{globalMap:a,inputs:f,outputs:h}}t.psbtFromBuffer=c,t.checkKeyBuffer=u,t.psbtFromKeyVals=l},91457:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(76263)),n(r(238))},238:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(22706),i=r(78133);function a({globalMap:e,inputs:t,outputs:r}){const{globalKeyVals:o,inputKeyVals:a,outputKeyVals:s}=u({globalMap:e,inputs:t,outputs:r}),c=i.keyValsToBuffer(o),l=e=>0===e.length?[n.from([0])]:e.map(i.keyValsToBuffer),d=l(a),f=l(s),h=n.allocUnsafe(5);return h.writeUIntBE(482972169471,0,5),n.concat([h,c].concat(d,f))}t.psbtToBuffer=a;const s=(e,t)=>e.key.compare(t.key);function c(e,t){const r=new Set,n=Object.entries(e).reduce(((e,[n,o])=>{if("unknownKeyVals"===n)return e;const i=t[n];if(void 0===i)return e;const a=(Array.isArray(o)?o:[o]).map(i.encode),s=a.map((e=>e.key.toString("hex")));return s.forEach((e=>{if(r.has(e))throw new Error("Serialize Error: Duplicate key: "+e);r.add(e)})),e.concat(a)}),[]),o=e.unknownKeyVals?e.unknownKeyVals.filter((e=>!r.has(e.key.toString("hex")))):[];return n.concat(o).sort(s)}function u({globalMap:e,inputs:t,outputs:r}){return{globalKeyVals:c(e,o.globals),inputKeyVals:t.map((e=>c(e,o.inputs))),outputKeyVals:r.map((e=>c(e,o.outputs)))}}t.psbtToKeyVals=u},1614:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(64863),i=r(91457),a=r(99080),s=r(45080);class c{constructor(e){this.inputs=[],this.outputs=[],this.globalMap={unsignedTx:e}}static fromBase64(e,t){const r=n.from(e,"base64");return this.fromBuffer(r,t)}static fromHex(e,t){const r=n.from(e,"hex");return this.fromBuffer(r,t)}static fromBuffer(e,t){const r=i.psbtFromBuffer(e,t),n=new this(r.globalMap.unsignedTx);return Object.assign(n,r),n}toBase64(){const e=this.toBuffer();return e.toString("base64")}toHex(){const e=this.toBuffer();return e.toString("hex")}toBuffer(){return i.psbtToBuffer(this)}updateGlobal(e){return s.updateGlobal(e,this.globalMap),this}updateInput(e,t){const r=s.checkForInput(this.inputs,e);return s.updateInput(t,r),this}updateOutput(e,t){const r=s.checkForOutput(this.outputs,e);return s.updateOutput(t,r),this}addUnknownKeyValToGlobal(e){return s.checkHasKey(e,this.globalMap.unknownKeyVals,s.getEnumLength(a.GlobalTypes)),this.globalMap.unknownKeyVals||(this.globalMap.unknownKeyVals=[]),this.globalMap.unknownKeyVals.push(e),this}addUnknownKeyValToInput(e,t){const r=s.checkForInput(this.inputs,e);return s.checkHasKey(t,r.unknownKeyVals,s.getEnumLength(a.InputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addUnknownKeyValToOutput(e,t){const r=s.checkForOutput(this.outputs,e);return s.checkHasKey(t,r.unknownKeyVals,s.getEnumLength(a.OutputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addInput(e){this.globalMap.unsignedTx.addInput(e),this.inputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.inputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToInput(r,e))),s.addInputAttributes(this.inputs,e),this}addOutput(e){this.globalMap.unsignedTx.addOutput(e),this.outputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.outputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToOutput(r,e))),s.addOutputAttributes(this.outputs,e),this}clearFinalizedInput(e){const t=s.checkForInput(this.inputs,e);s.inputCheckUncleanFinalized(e,t);for(const r of Object.keys(t))["witnessUtxo","nonWitnessUtxo","finalScriptSig","finalScriptWitness","unknownKeyVals"].includes(r)||delete t[r];return this}combine(...e){const t=o.combine([this].concat(e));return Object.assign(this,t),this}getTransaction(){return this.globalMap.unsignedTx.toBuffer()}}t.Psbt=c},99080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT",e[e["TAP_KEY_SIG"]=19]="TAP_KEY_SIG",e[e["TAP_SCRIPT_SIG"]=20]="TAP_SCRIPT_SIG",e[e["TAP_LEAF_SCRIPT"]=21]="TAP_LEAF_SCRIPT",e[e["TAP_BIP32_DERIVATION"]=22]="TAP_BIP32_DERIVATION",e[e["TAP_INTERNAL_KEY"]=23]="TAP_INTERNAL_KEY",e[e["TAP_MERKLE_ROOT"]=24]="TAP_MERKLE_ROOT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment","tapKeySig","tapScriptSig","tapLeafScript","tapBip32Derivation","tapInternalKey","tapMerkleRoot"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION",e[e["TAP_INTERNAL_KEY"]=5]="TAP_INTERNAL_KEY",e[e["TAP_TREE"]=6]="TAP_TREE",e[e["TAP_BIP32_DERIVATION"]=7]="TAP_BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation","tapInternalKey","tapTree","tapBip32Derivation"]},45080:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(22706);function i(e,t){const r=e[t];if(void 0===r)throw new Error(`No input #${t}`);return r}function a(e,t){const r=e[t];if(void 0===r)throw new Error(`No output #${t}`);return r}function s(e,t,r){if(e.key[0]t.key.equals(e.key))).length)throw new Error(`Duplicate Key: ${e.key.toString("hex")}`)}function c(e){let t=0;return Object.keys(e).forEach((e=>{Number(isNaN(Number(e)))&&t++})),t}function u(e,t){let r=!1;if(t.nonWitnessUtxo||t.witnessUtxo){const e=!!t.redeemScript,n=!!t.witnessScript,o=!e||!!t.finalScriptSig,i=!n||!!t.finalScriptWitness,a=!!t.finalScriptSig||!!t.finalScriptWitness;r=o&&i&&a}if(!1===r)throw new Error(`Input #${e} has too much or too little data to clean`)}function l(e,t,r,n){throw new Error(`Data for ${e} key ${t} is incorrect: Expected ${r} and got ${JSON.stringify(n)}`)}function d(e){return(t,r)=>{for(const n of Object.keys(t)){const i=t[n],{canAdd:a,canAddToArray:s,check:c,expected:u}=o[e+"s"][n]||{},d=!!s;if(c)if(d){if(!Array.isArray(i)||r[n]&&!Array.isArray(r[n]))throw new Error(`Key type ${n} must be an array`);i.every(c)||l(e,n,u,i);const t=r[n]||[],o=new Set;if(!i.every((e=>s(t,e,o))))throw new Error("Can not add duplicate data to array");r[n]=t.concat(i)}else{if(c(i)||l(e,n,u,i),!a(r,i))throw new Error(`Can not add duplicate data to ${e}`);r[n]=i}}}}function f(e,r){const n=e.length-1,o=i(e,n);t.updateInput(r,o)}function h(e,r){const n=e.length-1,o=a(e,n);t.updateOutput(r,o)}function p(e,t){if(!n.isBuffer(t)||t.length<4)throw new Error("Set Version: Invalid Transaction");return t.writeUInt32LE(e,0),t}function m(e,t){if(!n.isBuffer(t)||t.length<4)throw new Error("Set Locktime: Invalid Transaction");return t.writeUInt32LE(e,t.length-4),t}t.checkForInput=i,t.checkForOutput=a,t.checkHasKey=s,t.getEnumLength=c,t.inputCheckUncleanFinalized=u,t.updateGlobal=d("global"),t.updateInput=d("input"),t.updateOutput=d("output"),t.addInputAttributes=f,t.addOutputAttributes=h,t.defaultVersionSetter=p,t.defaultLocktimeSetter=m},99235:e=>{const t=2147483648;var r=function(e){if(!Array.isArray(e))throw new Error("Input must be an Array");if(0===e.length)throw new Error("Path must contain at least one level");for(var t=0;t=t)throw new Error("Invalid child index");if("h"===s[2]||"H"===s[2]||"'"===s[2])i[a]+=t;else if(0!=s[2].length)throw new Error("Invalid modifier")}return new r(i)},r.prototype.toPathArray=function(){return this.path},r.prototype.toString=function(e,r){for(var n=new Array(this.path.length),o=0;o"},e.exports=r},94642:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.BIP32Factory=void 0;const o=r(19571),i=r(37757),a=r(63203),s=r(22623),c=r(8676),u=r(57513),l=(0,a.base58check)(s.sha256),d={encode:e=>l.encode(Uint8Array.from(e)),decode:e=>n.from(l.decode(e))};function f(e){(0,i.testEcc)(e);const t=c.BufferN(32),r=c.compile({wif:c.UInt8,bip32:{public:c.UInt32,private:c.UInt32}}),a={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},s=2147483648,l=Math.pow(2,31)-1;function f(e){return c.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function h(e){return c.UInt32(e)&&e<=l}function p(e){return 32===e.length?e:e.slice(1,33)}class m{constructor(e,t){this.__D=e,this.__Q=t,this.lowR=!1}get publicKey(){return void 0===this.__Q&&(this.__Q=n.from(e.pointFromScalar(this.__D,!0))),this.__Q}get privateKey(){return this.__D}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return n.from(e.sign(t,this.privateKey));{let r=n.from(e.sign(t,this.privateKey));const o=n.alloc(32,0);let i=0;while(r[0]>127)i++,o.writeUIntLE(i,0,6),r=n.from(e.sign(t,this.privateKey,o));return r}}signSchnorr(t){if(!this.privateKey)throw new Error("Missing private key");if(!e.signSchnorr)throw new Error("signSchnorr not supported by ecc library");return n.from(e.signSchnorr(t,this.privateKey))}verify(t,r){return e.verify(t,this.publicKey,r)}verifySchnorr(t,r){if(!e.verifySchnorr)throw new Error("verifySchnorr not supported by ecc library");return e.verifySchnorr(t,this.publicKey.subarray(1,33),r)}}class g extends m{constructor(e,t,n,o,i=0,a=0,s=0){super(e,t),this.chainCode=n,this.network=o,this.__DEPTH=i,this.__INDEX=a,this.__PARENT_FINGERPRINT=s,c(r,o)}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get identifier(){return o.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return _(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const e=this.network,t=this.isNeutered()?e.bip32.public:e.bip32.private,r=n.allocUnsafe(78);return r.writeUInt32BE(t,0),r.writeUInt8(this.depth,4),r.writeUInt32BE(this.parentFingerprint,5),r.writeUInt32BE(this.index,9),this.chainCode.copy(r,13),this.isNeutered()?this.publicKey.copy(r,45):(r.writeUInt8(0,45),this.privateKey.copy(r,46)),d.encode(r)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return u.encode(this.network.wif,this.privateKey,!0)}derive(t){c(c.UInt32,t);const r=t>=s,i=n.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");i[0]=0,this.privateKey.copy(i,1),i.writeUInt32BE(t,33)}else this.publicKey.copy(i,0),i.writeUInt32BE(t,33);const a=o.hmacSHA512(this.chainCode,i),u=a.slice(0,32),l=a.slice(32);if(!e.isPrivate(u))return this.derive(t+1);let d;if(this.isNeutered()){const r=n.from(e.pointAddScalar(this.publicKey,u,!0));if(null===r)return this.derive(t+1);d=_(r,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const r=n.from(e.privateAdd(this.privateKey,u));if(null==r)return this.derive(t+1);d=b(r,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return d}deriveHardened(e){return c(h,e),this.derive(e+s)}derivePath(e){c(f,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce(((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))}),this)}tweak(e){return this.privateKey?this.tweakFromPrivateKey(e):this.tweakFromPublicKey(e)}tweakFromPublicKey(t){const r=p(this.publicKey);if(!e.xOnlyPointAddTweak)throw new Error("xOnlyPointAddTweak not supported by ecc library");const o=e.xOnlyPointAddTweak(r,t);if(!o||null===o.xOnlyPubkey)throw new Error("Cannot tweak public key!");const i=n.from([0===o.parity?2:3]),a=n.concat([i,o.xOnlyPubkey]);return new m(void 0,a)}tweakFromPrivateKey(t){const r=3===this.publicKey[0]||4===this.publicKey[0]&&1===(1&this.publicKey[64]),o=(()=>{if(r){if(e.privateNegate)return e.privateNegate(this.privateKey);throw new Error("privateNegate not supported by ecc library")}return this.privateKey})(),i=e.privateAdd(o,t);if(!i)throw new Error("Invalid tweaked private key!");return new m(n.from(i),void 0)}}function y(e,t){const r=d.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||a;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const o=r[4],i=r.readUInt32BE(5);if(0===o&&0!==i)throw new TypeError("Invalid parent fingerprint");const s=r.readUInt32BE(9);if(0===o&&0!==s)throw new TypeError("Invalid index");const c=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");const e=r.slice(46,78);u=b(e,c,t,o,s,i)}else{const e=r.slice(45,78);u=_(e,c,t,o,s,i)}return u}function v(e,t,r){return b(e,t,r)}function b(r,n,o,i,s,u){if(c({privateKey:t,chainCode:t},{privateKey:r,chainCode:n}),o=o||a,!e.isPrivate(r))throw new TypeError("Private key not in range [1, n)");return new g(r,void 0,n,o,i,s,u)}function w(e,t,r){return _(e,t,r)}function _(r,n,o,i,s,u){if(c({publicKey:c.BufferN(33),chainCode:t},{publicKey:r,chainCode:n}),o=o||a,!e.isPoint(r))throw new TypeError("Point is not on the curve");return new g(void 0,r,n,o,i,s,u)}function E(e,t){if(c(c.Buffer,e),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");t=t||a;const r=o.hmacSHA512(n.from("Bitcoin seed","utf8"),e),i=r.slice(0,32),s=r.slice(32);return v(i,s,t)}return{fromSeed:E,fromBase58:y,fromPublicKey:w,fromPrivateKey:v}}t.BIP32Factory=f},19571:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.hmacSHA512=t.hash160=void 0;const o=r(39615),i=r(93238),a=r(22623),s=r(30102);function c(e){const t=(0,a.sha256)(Uint8Array.from(e));return n.from((0,i.ripemd160)(t))}function u(e,t){return n.from((0,o.hmac)(s.sha512,e,t))}t.hash160=c,t.hmacSHA512=u},852:(e,t,r)=>{"use strict";t.Pr=void 0;var n=r(94642);Object.defineProperty(t,"Pr",{enumerable:!0,get:function(){return n.BIP32Factory}})},37757:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.testEcc=void 0;const o=e=>n.from(e,"hex");function i(e){if(a(e.isPoint(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(!e.isPoint(o("030000000000000000000000000000000000000000000000000000000000000005"))),a(e.isPrivate(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(!e.isPrivate(o("0000000000000000000000000000000000000000000000000000000000000000"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142"))),a(n.from(e.pointFromScalar(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99"))),e.xOnlyPointAddTweak){a(null===e.xOnlyPointAddTweak(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140")));let t=e.xOnlyPointAddTweak(o("1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b"),o("a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac"));a(n.from(t.xOnlyPubkey).equals(o("e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"))&&1===t.parity),t=e.xOnlyPointAddTweak(o("2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991"),o("823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47"))}a(n.from(e.pointAddScalar(o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("0000000000000000000000000000000000000000000000000000000000000003"))).equals(o("02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5"))),a(n.from(e.privateAdd(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"),o("0000000000000000000000000000000000000000000000000000000000000002"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),e.privateNegate&&(a(n.from(e.privateNegate(o("0000000000000000000000000000000000000000000000000000000000000001"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(n.from(e.privateNegate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"))).equals(o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateNegate(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("4eede1bf775995d70a494f0a7bb6bc11e0b8cccd41cce8009ab1132c8b0a3792")))),a(n.from(e.sign(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))).equals(o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),a(e.verify(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),e.signSchnorr&&a(n.from(e.signSchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9"),o("c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906"))).equals(o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7"))),e.verifySchnorr&&a(e.verifySchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8"),o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7")))}function a(e){if(!e)throw new Error("ecc library invalid")}t.testEcc=i},70057:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.toOutputScript=t.fromOutputScript=t.toBech32=t.toBase58Check=t.fromBech32=t.fromBase58Check=void 0;const o=r(50622),i=r(30885),a=r(67038),s=r(98116),c=r(22343),u=r(91889),l=40,d=2,f=16,h=2,p=80,m="WARNING: Sending to a future segwit version address can lead to loss of funds. End users MUST be warned carefully in the GUI and asked if they wish to proceed with caution. Wallets should verify the segwit version from the output of fromBech32, then decide when it is safe to use which version of segwit.";function g(e,t){const r=e.slice(2);if(r.lengthl)throw new TypeError("Invalid program length for segwit address");const n=e[0]-p;if(nf)throw new TypeError("Invalid version for segwit address");if(e[1]!==r.length)throw new TypeError("Invalid script for segwit address");return console.warn(m),w(r,n,t.bech32)}function y(e){const t=n.from(u.decode(e));if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");const r=t.readUInt8(0),o=t.slice(1);return{version:r,hash:o}}function v(e){let t,r;try{t=c.bech32.decode(e)}catch(i){}if(t){if(r=t.words[0],0!==r)throw new TypeError(e+" uses wrong encoding")}else if(t=c.bech32m.decode(e),r=t.words[0],0===r)throw new TypeError(e+" uses wrong encoding");const o=c.bech32.fromWords(t.words.slice(1));return{version:r,prefix:t.prefix,data:n.from(o)}}function b(e,t){(0,s.typeforce)((0,s.tuple)(s.Hash160bit,s.UInt8),arguments);const r=n.allocUnsafe(21);return r.writeUInt8(t,0),e.copy(r,1),u.encode(r)}function w(e,t,r){const n=c.bech32.toWords(e);return n.unshift(t),0===t?c.bech32.encode(r,n):c.bech32m.encode(r,n)}function _(e,t){t=t||o.bitcoin;try{return i.p2pkh({output:e,network:t}).address}catch(r){}try{return i.p2sh({output:e,network:t}).address}catch(r){}try{return i.p2wpkh({output:e,network:t}).address}catch(r){}try{return i.p2wsh({output:e,network:t}).address}catch(r){}try{return i.p2tr({output:e,network:t}).address}catch(r){}try{return g(e,t)}catch(r){}throw new Error(a.toASM(e)+" has no matching Address")}function E(e,t){let r,n;t=t||o.bitcoin;try{r=y(e)}catch(s){}if(r){if(r.version===t.pubKeyHash)return i.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return i.p2sh({hash:r.hash}).output}else{try{n=v(e)}catch(s){}if(n){if(n.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===n.version){if(20===n.data.length)return i.p2wpkh({hash:n.data}).output;if(32===n.data.length)return i.p2wsh({hash:n.data}).output}else if(1===n.version){if(32===n.data.length)return i.p2tr({pubkey:n.data}).output}else if(n.version>=h&&n.version<=f&&n.data.length>=d&&n.data.length<=l)return console.warn(m),a.compile([n.version+p,n.data])}}throw new Error(e+" has no matching Script")}t.fromBase58Check=y,t.fromBech32=v,t.toBase58Check=b,t.toBech32=w,t.fromOutputScript=_,t.toOutputScript=E},13966:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;const t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;const r=e[5+t];return 0!==r&&(6+t+r===e.length&&(!(128&e[4])&&(!(t>1&&0===e[4]&&!(128&e[5]))&&(!(128&e[t+6])&&!(r>1&&0===e[t+6]&&!(128&e[t+7]))))))}function i(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");const t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");const r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}}function a(e,t){const r=e.length,o=t.length;if(0===r)throw new Error("R length is zero");if(0===o)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(o>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(o>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");const i=n.allocUnsafe(6+r+o);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=t.check=void 0,t.check=o,t.decode=i,t.encode=a},41696:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;const o=r(30606),i=r(91944),a=r(31015),s=r(22021),c=r(98116),{typeforce:u}=c,l=new TypeError("Cannot compute merkle root for zero transactions"),d=new TypeError("Cannot compute witness commit for non-segwit block");class f{constructor(){this.version=1,this.prevHash=void 0,this.merkleRoot=void 0,this.timestamp=0,this.witnessCommit=void 0,this.bits=0,this.nonce=0,this.transactions=void 0}static fromBuffer(e){if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");const t=new o.BufferReader(e),r=new f;if(r.version=t.readInt32(),r.prevHash=t.readSlice(32),r.merkleRoot=t.readSlice(32),r.timestamp=t.readUInt32(),r.bits=t.readUInt32(),r.nonce=t.readUInt32(),80===e.length)return r;const n=()=>{const e=s.Transaction.fromBuffer(t.buffer.slice(t.offset),!0);return t.offset+=e.byteLength(),e},i=t.readVarInt();r.transactions=[];for(let o=0;o>24)-3,r=8388607&e,o=n.alloc(32,0);return o.writeUIntBE(r,29-t,3),o}static calculateMerkleRoot(e,t){if(u([{getHash:c.Function}],e),0===e.length)throw l;if(t&&!h(e))throw d;const r=e.map((e=>e.getHash(t))),o=(0,a.fastMerkleRoot)(r,i.hash256);return t?i.hash256(n.concat([o,e[0].ins[0].witness[0]])):o}getWitnessCommit(){if(!h(this.transactions))return null;const e=this.transactions[0].outs.filter((e=>e.script.slice(0,6).equals(n.from("6a24aa21a9ed","hex")))).map((e=>e.script.slice(6,38)));if(0===e.length)return null;const t=e[e.length-1];return t instanceof n&&32===t.length?t:null}hasWitnessCommit(){return this.witnessCommit instanceof n&&32===this.witnessCommit.length||null!==this.getWitnessCommit()}hasWitness(){return p(this.transactions)}weight(){const e=this.byteLength(!1,!1),t=this.byteLength(!1,!0);return 3*e+t}byteLength(e,t=!0){return e||!this.transactions?80:80+o.varuint.encodingLength(this.transactions.length)+this.transactions.reduce(((e,r)=>e+r.byteLength(t)),0)}getHash(){return i.hash256(this.toBuffer(!0))}getId(){return(0,o.reverseBuffer)(this.getHash()).toString("hex")}getUTCDate(){const e=new Date(0);return e.setUTCSeconds(this.timestamp),e}toBuffer(e){const t=n.allocUnsafe(this.byteLength(e)),r=new o.BufferWriter(t);return r.writeInt32(this.version),r.writeSlice(this.prevHash),r.writeSlice(this.merkleRoot),r.writeUInt32(this.timestamp),r.writeUInt32(this.bits),r.writeUInt32(this.nonce),e||!this.transactions||(o.varuint.encode(this.transactions.length,t,r.offset),r.offset+=o.varuint.encode.bytes,this.transactions.forEach((e=>{const n=e.byteLength();e.toBuffer(t,r.offset),r.offset+=n}))),t}toHex(e){return this.toBuffer(e).toString("hex")}checkTxRoots(){const e=this.hasWitnessCommit();return!(!e&&this.hasWitness())&&(this.__checkMerkleRoot()&&(!e||this.__checkWitnessCommit()))}checkProofOfWork(){const e=(0,o.reverseBuffer)(this.getHash()),t=f.calculateTarget(this.bits);return e.compare(t)<=0}__checkMerkleRoot(){if(!this.transactions)throw l;const e=f.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)}__checkWitnessCommit(){if(!this.transactions)throw l;if(!this.hasWitnessCommit())throw d;const e=f.calculateMerkleRoot(this.transactions,!0);return 0===this.witnessCommit.compare(e)}}function h(e){return e instanceof Array&&e[0]&&e[0].ins&&e[0].ins instanceof Array&&e[0].ins[0]&&e[0].ins[0].witness&&e[0].ins[0].witness instanceof Array&&e[0].ins[0].witness.length>0}function p(e){return e instanceof Array&&e.some((e=>"object"===typeof e&&e.ins instanceof Array&&e.ins.some((e=>"object"===typeof e&&e.witness instanceof Array&&e.witness.length>0))))}t.Block=f},30606:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.BufferReader=t.BufferWriter=t.cloneBuffer=t.reverseBuffer=t.writeUInt64LE=t.readUInt64LE=t.varuint=void 0;const o=r(98116),{typeforce:i}=o,a=r(68469);function s(e,t){if("number"!==typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function c(e,t){const r=e.readUInt32LE(t);let n=e.readUInt32LE(t+4);return n*=4294967296,s(n+r,9007199254740991),n+r}function u(e,t,r){return s(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}function l(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;nthis.writeVarSlice(e)))}end(){if(this.buffer.length===this.offset)return this.buffer;throw new Error(`buffer size ${this.buffer.length}, offset ${this.offset}`)}}t.BufferWriter=f;class h{constructor(e,t=0){this.buffer=e,this.offset=t,i(o.tuple(o.Buffer,o.UInt32),[e,t])}readUInt8(){const e=this.buffer.readUInt8(this.offset);return this.offset++,e}readInt32(){const e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}readUInt32(){const e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}readUInt64(){const e=c(this.buffer,this.offset);return this.offset+=8,e}readVarInt(){const e=a.decode(this.buffer,this.offset);return this.offset+=a.decode.bytes,e}readSlice(e){if(this.buffer.length{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.taggedHash=t.TAGGED_HASH_PREFIXES=t.TAGS=t.hash256=t.hash160=t.sha256=t.sha1=t.ripemd160=void 0;const o=r(93238),i=r(31549),a=r(22623);function s(e){return n.from((0,o.ripemd160)(Uint8Array.from(e)))}function c(e){return n.from((0,i.sha1)(Uint8Array.from(e)))}function u(e){return n.from((0,a.sha256)(Uint8Array.from(e)))}function l(e){return n.from((0,o.ripemd160)((0,a.sha256)(Uint8Array.from(e))))}function d(e){return n.from((0,a.sha256)((0,a.sha256)(Uint8Array.from(e))))}function f(e,r){return u(n.concat([t.TAGGED_HASH_PREFIXES[e],r]))}t.ripemd160=s,t.sha1=c,t.sha256=u,t.hash160=l,t.hash256=d,t.TAGS=["BIP0340/challenge","BIP0340/aux","BIP0340/nonce","TapLeaf","TapBranch","TapSighash","TapTweak","KeyAgg list","KeyAgg coefficient"],t.TAGGED_HASH_PREFIXES={"BIP0340/challenge":n.from([123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124,123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124]),"BIP0340/aux":n.from([241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144,241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144]),"BIP0340/nonce":n.from([7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47,7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47]),TapLeaf:n.from([174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238,174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238]),TapBranch:n.from([25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21,25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21]),TapSighash:n.from([244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49,244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49]),TapTweak:n.from([232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233,232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233]),"KeyAgg list":n.from([72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240,72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240]),"KeyAgg coefficient":n.from([191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129,191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129])},t.taggedHash=f},60916:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.getEccLib=t.initEccLib=void 0;const o={};function i(e){e?e!==o.eccLib&&(c(e),o.eccLib=e):o.eccLib=e}function a(){if(!o.eccLib)throw new Error("No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance");return o.eccLib}t.initEccLib=i,t.getEccLib=a;const s=e=>n.from(e,"hex");function c(e){u("function"===typeof e.isXOnlyPoint),u(e.isXOnlyPoint(s("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),u(e.isXOnlyPoint(s("fffffffffffffffffffffffffffffffffffffffffffffffffffffffeeffffc2e"))),u(e.isXOnlyPoint(s("f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9"))),u(e.isXOnlyPoint(s("0000000000000000000000000000000000000000000000000000000000000001"))),u(!e.isXOnlyPoint(s("0000000000000000000000000000000000000000000000000000000000000000"))),u(!e.isXOnlyPoint(s("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"))),u("function"===typeof e.xOnlyPointAddTweak),l.forEach((t=>{const r=e.xOnlyPointAddTweak(s(t.pubkey),s(t.tweak));null===t.result?u(null===r):(u(null!==r),u(r.parity===t.parity),u(n.from(r.xOnlyPubkey).equals(s(t.result))))}))}function u(e){if(!e)throw new Error("ecc library invalid")}const l=[{pubkey:"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",tweak:"fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",parity:-1,result:null},{pubkey:"1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b",tweak:"a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac",parity:1,result:"e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"},{pubkey:"2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991",tweak:"823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47",parity:0,result:"9534f8dc8c6deda2dc007655981c78b49c5d96c778fbf363462a11ec9dfd948c"}]},21757:(e,t,r)=>{"use strict";t.ZX=t.iL=t.KT=t.o8=void 0;const n=r(70057);const o=r(91944);const i=r(50622);t.o8=i;const a=r(30885);t.KT=a;const s=r(67038);var c=r(41696);var u=r(59646);Object.defineProperty(t,"iL",{enumerable:!0,get:function(){return u.Psbt}});var l=r(68417);var d=r(22021);Object.defineProperty(t,"ZX",{enumerable:!0,get:function(){return d.Transaction}});var f=r(60916)},31015:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e,t){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!==typeof t)throw TypeError("Expected digest Function");let r=e.length;const o=e.concat();while(r>1){let e=0;for(let i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testnet=t.regtest=t.bitcoin=void 0,t.bitcoin={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},t.regtest={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bcrt",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},t.testnet={messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}},68417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REVERSE_OPS=t.OPS=void 0;const r={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_CHECKSIGADD:186,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255};t.OPS=r;const n={};t.REVERSE_OPS=n;for(const o of Object.keys(r)){const e=r[o];n[e]=o}},82218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tweakKey=t.tapTweakHash=t.tapleafHash=t.findScriptPath=t.toHashTree=t.rootHashFromPath=t.MAX_TAPTREE_DEPTH=t.LEAF_VERSION_TAPSCRIPT=void 0;const n=r(48287),o=r(60916),i=r(91944),a=r(30606),s=r(98116);t.LEAF_VERSION_TAPSCRIPT=192,t.MAX_TAPTREE_DEPTH=128;const c=e=>"left"in e&&"right"in e;function u(e,t){if(e.length<33)throw new TypeError(`The control-block length is too small. Got ${e.length}, expected min 33.`);const r=(e.length-33)/32;let n=t;for(let o=0;oe.hash.compare(t.hash)));const[r,n]=t;return{hash:m(r.hash,n.hash),left:r,right:n}}function d(e,t){if(c(e)){const r=d(e.left,t);if(void 0!==r)return[...r,e.right.hash];const n=d(e.right,t);if(void 0!==n)return[...n,e.left.hash]}else if(e.hash.equals(t))return[]}function f(e){const r=e.version||t.LEAF_VERSION_TAPSCRIPT;return i.taggedHash("TapLeaf",n.Buffer.concat([n.Buffer.from([r]),g(e.output)]))}function h(e,t){return i.taggedHash("TapTweak",n.Buffer.concat(t?[e,t]:[e]))}function p(e,t){if(!n.Buffer.isBuffer(e))return null;if(32!==e.length)return null;if(t&&32!==t.length)return null;const r=h(e,t),i=(0,o.getEccLib)().xOnlyPointAddTweak(e,r);return i&&null!==i.xOnlyPubkey?{parity:i.parity,x:n.Buffer.from(i.xOnlyPubkey)}:null}function m(e,t){return i.taggedHash("TapBranch",n.Buffer.concat([e,t]))}function g(e){const t=a.varuint.encodingLength(e.length),r=n.Buffer.allocUnsafe(t);return a.varuint.encode(e.length,r),n.Buffer.concat([r,e])}t.rootHashFromPath=u,t.toHashTree=l,t.findScriptPath=d,t.tapleafHash=f,t.tapTweakHash=h,t.tweakKey=p},55472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2data=void 0;const n=r(50622),o=r(67038),i=r(98116),a=r(97883),s=o.OPS;function c(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function u(e,t){if(!e.data&&!e.output)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),output:i.typeforce.maybe(i.typeforce.Buffer),data:i.typeforce.maybe(i.typeforce.arrayOf(i.typeforce.Buffer))},e);const r=e.network||n.bitcoin,u={name:"embed",network:r};if(a.prop(u,"output",(()=>{if(e.data)return o.compile([s.OP_RETURN].concat(e.data))})),a.prop(u,"data",(()=>{if(e.output)return o.decompile(e.output).slice(1)})),t.validate&&e.output){const t=o.decompile(e.output);if(t[0]!==s.OP_RETURN)throw new TypeError("Output is invalid");if(!t.slice(1).every(i.typeforce.Buffer))throw new TypeError("Output is invalid");if(e.data&&!c(e.data,u.data))throw new TypeError("Data mismatch")}return Object.assign(u,e)}t.p2data=u},30885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2tr=t.p2wsh=t.p2wpkh=t.p2sh=t.p2pkh=t.p2pk=t.p2ms=t.embed=void 0;const n=r(55472);Object.defineProperty(t,"embed",{enumerable:!0,get:function(){return n.p2data}});const o=r(91395);Object.defineProperty(t,"p2ms",{enumerable:!0,get:function(){return o.p2ms}});const i=r(4930);Object.defineProperty(t,"p2pk",{enumerable:!0,get:function(){return i.p2pk}});const a=r(23504);Object.defineProperty(t,"p2pkh",{enumerable:!0,get:function(){return a.p2pkh}});const s=r(8368);Object.defineProperty(t,"p2sh",{enumerable:!0,get:function(){return s.p2sh}});const c=r(77027);Object.defineProperty(t,"p2wpkh",{enumerable:!0,get:function(){return c.p2wpkh}});const u=r(79041);Object.defineProperty(t,"p2wsh",{enumerable:!0,get:function(){return u.p2wsh}});const l=r(25501);Object.defineProperty(t,"p2tr",{enumerable:!0,get:function(){return l.p2tr}})},97883:(e,t)=>{"use strict";function r(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){const e=r.call(this);return this[t]=e,e},set(e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})}})}function n(e){let t;return()=>(void 0!==t||(t=e()),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.value=t.prop=void 0,t.prop=r,t.value=n},91395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2ms=void 0;const n=r(50622),o=r(67038),i=r(98116),a=r(97883),s=o.OPS,c=s.OP_RESERVED;function u(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function l(e,t){if(!e.input&&!e.output&&(!e.pubkeys||void 0===e.m)&&!e.signatures)throw new TypeError("Not enough data");function r(e){return o.isCanonicalScriptSignature(e)||void 0!==(t.allowIncomplete&&e===s.OP_0)}t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),m:i.typeforce.maybe(i.typeforce.Number),n:i.typeforce.maybe(i.typeforce.Number),output:i.typeforce.maybe(i.typeforce.Buffer),pubkeys:i.typeforce.maybe(i.typeforce.arrayOf(i.isPoint)),signatures:i.typeforce.maybe(i.typeforce.arrayOf(r)),input:i.typeforce.maybe(i.typeforce.Buffer)},e);const l=e.network||n.bitcoin,d={network:l};let f=[],h=!1;function p(e){h||(h=!0,f=o.decompile(e),d.m=f[0]-c,d.n=f[f.length-2]-c,d.pubkeys=f.slice(1,-2))}if(a.prop(d,"output",(()=>{if(e.m&&d.n&&e.pubkeys)return o.compile([].concat(c+e.m,e.pubkeys,c+d.n,s.OP_CHECKMULTISIG))})),a.prop(d,"m",(()=>{if(d.output)return p(d.output),d.m})),a.prop(d,"n",(()=>{if(d.pubkeys)return d.pubkeys.length})),a.prop(d,"pubkeys",(()=>{if(e.output)return p(e.output),d.pubkeys})),a.prop(d,"signatures",(()=>{if(e.input)return o.decompile(e.input).slice(1)})),a.prop(d,"input",(()=>{if(e.signatures)return o.compile([s.OP_0].concat(e.signatures))})),a.prop(d,"witness",(()=>{if(d.input)return[]})),a.prop(d,"name",(()=>{if(d.m&&d.n)return`p2ms(${d.m} of ${d.n})`})),t.validate){if(e.output){if(p(e.output),!i.typeforce.Number(f[0]))throw new TypeError("Output is invalid");if(!i.typeforce.Number(f[f.length-2]))throw new TypeError("Output is invalid");if(f[f.length-1]!==s.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(d.m<=0||d.n>16||d.m>d.n||d.n!==f.length-3)throw new TypeError("Output is invalid");if(!d.pubkeys.every((e=>(0,i.isPoint)(e))))throw new TypeError("Output is invalid");if(void 0!==e.m&&e.m!==d.m)throw new TypeError("m mismatch");if(void 0!==e.n&&e.n!==d.n)throw new TypeError("n mismatch");if(e.pubkeys&&!u(e.pubkeys,d.pubkeys))throw new TypeError("Pubkeys mismatch")}if(e.pubkeys){if(void 0!==e.n&&e.n!==e.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(d.n=e.pubkeys.length,d.nd.m)throw new TypeError("Too many signatures provided")}if(e.input){if(e.input[0]!==s.OP_0)throw new TypeError("Input is invalid");if(0===d.signatures.length||!d.signatures.every(r))throw new TypeError("Input has invalid signature(s)");if(e.signatures&&!u(e.signatures,d.signatures))throw new TypeError("Signature mismatch");if(void 0!==e.m&&e.m!==e.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(d,e)}t.p2ms=l},4930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2pk=void 0;const n=r(50622),o=r(67038),i=r(98116),a=r(97883),s=o.OPS;function c(e,t){if(!e.input&&!e.output&&!e.pubkey&&!e.input&&!e.signature)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),output:i.typeforce.maybe(i.typeforce.Buffer),pubkey:i.typeforce.maybe(i.isPoint),signature:i.typeforce.maybe(o.isCanonicalScriptSignature),input:i.typeforce.maybe(i.typeforce.Buffer)},e);const r=a.value((()=>o.decompile(e.input))),c=e.network||n.bitcoin,u={name:"p2pk",network:c};if(a.prop(u,"output",(()=>{if(e.pubkey)return o.compile([e.pubkey,s.OP_CHECKSIG])})),a.prop(u,"pubkey",(()=>{if(e.output)return e.output.slice(1,-1)})),a.prop(u,"signature",(()=>{if(e.input)return r()[0]})),a.prop(u,"input",(()=>{if(e.signature)return o.compile([e.signature])})),a.prop(u,"witness",(()=>{if(u.input)return[]})),t.validate){if(e.output){if(e.output[e.output.length-1]!==s.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!(0,i.isPoint)(u.pubkey))throw new TypeError("Output pubkey is invalid");if(e.pubkey&&!e.pubkey.equals(u.pubkey))throw new TypeError("Pubkey mismatch")}if(e.signature&&e.input&&!e.input.equals(u.input))throw new TypeError("Signature mismatch");if(e.input){if(1!==r().length)throw new TypeError("Input is invalid");if(!o.isCanonicalScriptSignature(u.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(u,e)}t.p2pk=c},23504:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2pkh=void 0;const o=r(91944),i=r(50622),a=r(67038),s=r(98116),c=r(97883),u=r(91889),l=a.OPS;function d(e,t){if(!e.address&&!e.hash&&!e.output&&!e.pubkey&&!e.input)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),output:s.typeforce.maybe(s.typeforce.BufferN(25)),pubkey:s.typeforce.maybe(s.isPoint),signature:s.typeforce.maybe(a.isCanonicalScriptSignature),input:s.typeforce.maybe(s.typeforce.Buffer)},e);const r=c.value((()=>{const t=n.from(u.decode(e.address)),r=t.readUInt8(0),o=t.slice(1);return{version:r,hash:o}})),d=c.value((()=>a.decompile(e.input))),f=e.network||i.bitcoin,h={name:"p2pkh",network:f};if(c.prop(h,"address",(()=>{if(!h.hash)return;const e=n.allocUnsafe(21);return e.writeUInt8(f.pubKeyHash,0),h.hash.copy(e,1),u.encode(e)})),c.prop(h,"hash",(()=>e.output?e.output.slice(3,23):e.address?r().hash:e.pubkey||h.pubkey?o.hash160(e.pubkey||h.pubkey):void 0)),c.prop(h,"output",(()=>{if(h.hash)return a.compile([l.OP_DUP,l.OP_HASH160,h.hash,l.OP_EQUALVERIFY,l.OP_CHECKSIG])})),c.prop(h,"pubkey",(()=>{if(e.input)return d()[1]})),c.prop(h,"signature",(()=>{if(e.input)return d()[0]})),c.prop(h,"input",(()=>{if(e.pubkey&&e.signature)return a.compile([e.signature,e.pubkey])})),c.prop(h,"witness",(()=>{if(h.input)return[]})),t.validate){let t=n.from([]);if(e.address){if(r().version!==f.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(20!==r().hash.length)throw new TypeError("Invalid address");t=r().hash}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(25!==e.output.length||e.output[0]!==l.OP_DUP||e.output[1]!==l.OP_HASH160||20!==e.output[2]||e.output[23]!==l.OP_EQUALVERIFY||e.output[24]!==l.OP_CHECKSIG)throw new TypeError("Output is invalid");const r=e.output.slice(3,23);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.pubkey){const r=o.hash160(e.pubkey);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.input){const r=d();if(2!==r.length)throw new TypeError("Input is invalid");if(!a.isCanonicalScriptSignature(r[0]))throw new TypeError("Input has invalid signature");if(!(0,s.isPoint)(r[1]))throw new TypeError("Input has invalid pubkey");if(e.signature&&!e.signature.equals(r[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&!e.pubkey.equals(r[1]))throw new TypeError("Pubkey mismatch");const n=o.hash160(r[1]);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch")}}return Object.assign(h,e)}t.p2pkh=d},8368:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2sh=void 0;const o=r(91944),i=r(50622),a=r(67038),s=r(98116),c=r(97883),u=r(91889),l=a.OPS;function d(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function f(e,t){if(!e.address&&!e.hash&&!e.output&&!e.redeem&&!e.input)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),output:s.typeforce.maybe(s.typeforce.BufferN(23)),redeem:s.typeforce.maybe({network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.Buffer),input:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))}),input:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);let r=e.network;r||(r=e.redeem&&e.redeem.network||i.bitcoin);const f={network:r},h=c.value((()=>{const t=n.from(u.decode(e.address)),r=t.readUInt8(0),o=t.slice(1);return{version:r,hash:o}})),p=c.value((()=>a.decompile(e.input))),m=c.value((()=>{const t=p(),o=t[t.length-1];return{network:r,output:o===l.OP_FALSE?n.from([]):o,input:a.compile(t.slice(0,-1)),witness:e.witness||[]}}));if(c.prop(f,"address",(()=>{if(!f.hash)return;const e=n.allocUnsafe(21);return e.writeUInt8(f.network.scriptHash,0),f.hash.copy(e,1),u.encode(e)})),c.prop(f,"hash",(()=>e.output?e.output.slice(2,22):e.address?h().hash:f.redeem&&f.redeem.output?o.hash160(f.redeem.output):void 0)),c.prop(f,"output",(()=>{if(f.hash)return a.compile([l.OP_HASH160,f.hash,l.OP_EQUAL])})),c.prop(f,"redeem",(()=>{if(e.input)return m()})),c.prop(f,"input",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.output)return a.compile([].concat(a.decompile(e.redeem.input),e.redeem.output))})),c.prop(f,"witness",(()=>f.redeem&&f.redeem.witness?f.redeem.witness:f.input?[]:void 0)),c.prop(f,"name",(()=>{const e=["p2sh"];return void 0!==f.redeem&&void 0!==f.redeem.name&&e.push(f.redeem.name),e.join("-")})),t.validate){let t=n.from([]);if(e.address){if(h().version!==r.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(20!==h().hash.length)throw new TypeError("Invalid address");t=h().hash}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(23!==e.output.length||e.output[0]!==l.OP_HASH160||20!==e.output[1]||e.output[22]!==l.OP_EQUAL)throw new TypeError("Output is invalid");const r=e.output.slice(2,22);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}const i=e=>{if(e.output){const r=a.decompile(e.output);if(!r||r.length<1)throw new TypeError("Redeem.output too short");if(e.output.byteLength>520)throw new TypeError("Redeem.output unspendable if larger than 520 bytes");if(a.countNonPushOnlyOPs(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");const n=o.hash160(e.output);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch");t=n}if(e.input){const t=e.input.length>0,r=e.witness&&e.witness.length>0;if(!t&&!r)throw new TypeError("Empty input");if(t&&r)throw new TypeError("Input and witness provided");if(t){const t=a.decompile(e.input);if(!a.isPushOnly(t))throw new TypeError("Non push-only scriptSig")}}};if(e.input){const e=p();if(!e||e.length<1)throw new TypeError("Input too short");if(!n.isBuffer(m().output))throw new TypeError("Input is invalid");i(m())}if(e.redeem){if(e.redeem.network&&e.redeem.network!==r)throw new TypeError("Network mismatch");if(e.input){const t=m();if(e.redeem.output&&!e.redeem.output.equals(t.output))throw new TypeError("Redeem.output mismatch");if(e.redeem.input&&!e.redeem.input.equals(t.input))throw new TypeError("Redeem.input mismatch")}i(e.redeem)}if(e.witness&&e.redeem&&e.redeem.witness&&!d(e.redeem.witness,e.witness))throw new TypeError("Witness and redeem.witness mismatch")}return Object.assign(f,e)}t.p2sh=f},25501:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2tr=void 0;const n=r(48287),o=r(50622),i=r(67038),a=r(98116),s=r(60916),c=r(82218),u=r(97883),l=r(22343),d=i.OPS,f=1,h=80;function p(e,t){if(!e.address&&!e.output&&!e.pubkey&&!e.internalPubkey&&!(e.witness&&e.witness.length>1))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,a.typeforce)({address:a.typeforce.maybe(a.typeforce.String),input:a.typeforce.maybe(a.typeforce.BufferN(0)),network:a.typeforce.maybe(a.typeforce.Object),output:a.typeforce.maybe(a.typeforce.BufferN(34)),internalPubkey:a.typeforce.maybe(a.typeforce.BufferN(32)),hash:a.typeforce.maybe(a.typeforce.BufferN(32)),pubkey:a.typeforce.maybe(a.typeforce.BufferN(32)),signature:a.typeforce.maybe(a.typeforce.anyOf(a.typeforce.BufferN(64),a.typeforce.BufferN(65))),witness:a.typeforce.maybe(a.typeforce.arrayOf(a.typeforce.Buffer)),scriptTree:a.typeforce.maybe(a.isTaptree),redeem:a.typeforce.maybe({output:a.typeforce.maybe(a.typeforce.Buffer),redeemVersion:a.typeforce.maybe(a.typeforce.Number),witness:a.typeforce.maybe(a.typeforce.arrayOf(a.typeforce.Buffer))}),redeemVersion:a.typeforce.maybe(a.typeforce.Number)},e);const r=u.value((()=>{const t=l.bech32m.decode(e.address),r=t.words.shift(),o=l.bech32m.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.Buffer.from(o)}})),p=u.value((()=>{if(e.witness&&e.witness.length)return e.witness.length>=2&&e.witness[e.witness.length-1][0]===h?e.witness.slice(0,-1):e.witness.slice()})),g=u.value((()=>e.scriptTree?(0,c.toHashTree)(e.scriptTree):e.hash?{hash:e.hash}:void 0)),y=e.network||o.bitcoin,v={name:"p2tr",network:y};if(u.prop(v,"address",(()=>{if(!v.pubkey)return;const e=l.bech32m.toWords(v.pubkey);return e.unshift(f),l.bech32m.encode(y.bech32,e)})),u.prop(v,"hash",(()=>{const e=g();if(e)return e.hash;const t=p();if(t&&t.length>1){const e=t[t.length-1],r=e[0]&a.TAPLEAF_VERSION_MASK,n=t[t.length-2],o=(0,c.tapleafHash)({output:n,version:r});return(0,c.rootHashFromPath)(e,o)}return null})),u.prop(v,"output",(()=>{if(v.pubkey)return i.compile([d.OP_1,v.pubkey])})),u.prop(v,"redeemVersion",(()=>e.redeemVersion?e.redeemVersion:e.redeem&&void 0!==e.redeem.redeemVersion&&null!==e.redeem.redeemVersion?e.redeem.redeemVersion:c.LEAF_VERSION_TAPSCRIPT)),u.prop(v,"redeem",(()=>{const e=p();if(e&&!(e.length<2))return{output:e[e.length-2],witness:e.slice(0,-2),redeemVersion:e[e.length-1][0]&a.TAPLEAF_VERSION_MASK}})),u.prop(v,"pubkey",(()=>{if(e.pubkey)return e.pubkey;if(e.output)return e.output.slice(2);if(e.address)return r().data;if(v.internalPubkey){const e=(0,c.tweakKey)(v.internalPubkey,v.hash);if(e)return e.x}})),u.prop(v,"internalPubkey",(()=>{if(e.internalPubkey)return e.internalPubkey;const t=p();return t&&t.length>1?t[t.length-1].slice(1,33):void 0})),u.prop(v,"signature",(()=>{if(e.signature)return e.signature;const t=p();return t&&1===t.length?t[0]:void 0})),u.prop(v,"witness",(()=>{if(e.witness)return e.witness;const t=g();if(t&&e.redeem&&e.redeem.output&&e.internalPubkey){const r=(0,c.tapleafHash)({output:e.redeem.output,version:v.redeemVersion}),o=(0,c.findScriptPath)(t,r);if(!o)return;const i=(0,c.tweakKey)(e.internalPubkey,t.hash);if(!i)return;const a=n.Buffer.concat([n.Buffer.from([v.redeemVersion|i.parity]),e.internalPubkey].concat(o));return[e.redeem.output,a]}return e.signature?[e.signature]:void 0})),t.validate){let t=n.Buffer.from([]);if(e.address){if(y&&y.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==f)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.pubkey){if(t.length>0&&!t.equals(e.pubkey))throw new TypeError("Pubkey mismatch");t=e.pubkey}if(e.output){if(34!==e.output.length||e.output[0]!==d.OP_1||32!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&!t.equals(e.output.slice(2)))throw new TypeError("Pubkey mismatch");t=e.output.slice(2)}if(e.internalPubkey){const r=(0,c.tweakKey)(e.internalPubkey,v.hash);if(t.length>0&&!t.equals(r.x))throw new TypeError("Pubkey mismatch");t=r.x}if(t&&t.length&&!(0,s.getEccLib)().isXOnlyPoint(t))throw new TypeError("Invalid pubkey for p2tr");const o=g();if(e.hash&&o&&!e.hash.equals(o.hash))throw new TypeError("Hash mismatch");if(e.redeem&&e.redeem.output&&o){const t=(0,c.tapleafHash)({output:e.redeem.output,version:v.redeemVersion});if(!(0,c.findScriptPath)(o,t))throw new TypeError("Redeem script not in tree")}const u=p();if(e.redeem&&v.redeem){if(e.redeem.redeemVersion&&e.redeem.redeemVersion!==v.redeem.redeemVersion)throw new TypeError("Redeem.redeemVersion and witness mismatch");if(e.redeem.output){if(0===i.decompile(e.redeem.output).length)throw new TypeError("Redeem.output is invalid");if(v.redeem.output&&!e.redeem.output.equals(v.redeem.output))throw new TypeError("Redeem.output and witness mismatch")}if(e.redeem.witness&&v.redeem.witness&&!m(e.redeem.witness,v.redeem.witness))throw new TypeError("Redeem.witness and witness mismatch")}if(u&&u.length)if(1===u.length){if(e.signature&&!e.signature.equals(u[0]))throw new TypeError("Signature mismatch")}else{const r=u[u.length-1];if(r.length<33)throw new TypeError(`The control-block length is too small. Got ${r.length}, expected min 33.`);if((r.length-33)%32!==0)throw new TypeError(`The control-block length of ${r.length} is incorrect!`);const n=(r.length-33)/32;if(n>128)throw new TypeError(`The script path is too long. Got ${n}, expected max 128.`);const o=r.slice(1,33);if(e.internalPubkey&&!e.internalPubkey.equals(o))throw new TypeError("Internal pubkey mismatch");if(!(0,s.getEccLib)().isXOnlyPoint(o))throw new TypeError("Invalid internalPubkey for p2tr witness");const i=r[0]&a.TAPLEAF_VERSION_MASK,l=u[u.length-2],d=(0,c.tapleafHash)({output:l,version:i}),f=(0,c.rootHashFromPath)(r,d),h=(0,c.tweakKey)(o,f);if(!h)throw new TypeError("Invalid outputKey for p2tr witness");if(t.length&&!t.equals(h.x))throw new TypeError("Pubkey mismatch for p2tr witness");if(h.parity!==(1&r[0]))throw new Error("Incorrect parity")}}return Object.assign(v,e)}function m(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}t.p2tr=p},77027:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2wpkh=void 0;const o=r(91944),i=r(50622),a=r(67038),s=r(98116),c=r(97883),u=r(22343),l=a.OPS,d=n.alloc(0);function f(e,t){if(!e.address&&!e.hash&&!e.output&&!e.pubkey&&!e.witness)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),input:s.typeforce.maybe(s.typeforce.BufferN(0)),network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.BufferN(22)),pubkey:s.typeforce.maybe(s.isPoint),signature:s.typeforce.maybe(a.isCanonicalScriptSignature),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);const r=c.value((()=>{const t=u.bech32.decode(e.address),r=t.words.shift(),o=u.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.from(o)}})),f=e.network||i.bitcoin,h={name:"p2wpkh",network:f};if(c.prop(h,"address",(()=>{if(!h.hash)return;const e=u.bech32.toWords(h.hash);return e.unshift(0),u.bech32.encode(f.bech32,e)})),c.prop(h,"hash",(()=>e.output?e.output.slice(2,22):e.address?r().data:e.pubkey||h.pubkey?o.hash160(e.pubkey||h.pubkey):void 0)),c.prop(h,"output",(()=>{if(h.hash)return a.compile([l.OP_0,h.hash])})),c.prop(h,"pubkey",(()=>e.pubkey?e.pubkey:e.witness?e.witness[1]:void 0)),c.prop(h,"signature",(()=>{if(e.witness)return e.witness[0]})),c.prop(h,"input",(()=>{if(h.witness)return d})),c.prop(h,"witness",(()=>{if(e.pubkey&&e.signature)return[e.signature,e.pubkey]})),t.validate){let t=n.from([]);if(e.address){if(f&&f.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(20!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(22!==e.output.length||e.output[0]!==l.OP_0||20!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&!t.equals(e.output.slice(2)))throw new TypeError("Hash mismatch");t=e.output.slice(2)}if(e.pubkey){const r=o.hash160(e.pubkey);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");if(t=r,!(0,s.isPoint)(e.pubkey)||33!==e.pubkey.length)throw new TypeError("Invalid pubkey for p2wpkh")}if(e.witness){if(2!==e.witness.length)throw new TypeError("Witness is invalid");if(!a.isCanonicalScriptSignature(e.witness[0]))throw new TypeError("Witness has invalid signature");if(!(0,s.isPoint)(e.witness[1])||33!==e.witness[1].length)throw new TypeError("Witness has invalid pubkey");if(e.signature&&!e.signature.equals(e.witness[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&!e.pubkey.equals(e.witness[1]))throw new TypeError("Pubkey mismatch");const r=o.hash160(e.witness[1]);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch")}}return Object.assign(h,e)}t.p2wpkh=f},79041:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2wsh=void 0;const o=r(91944),i=r(50622),a=r(67038),s=r(98116),c=r(97883),u=r(22343),l=a.OPS,d=n.alloc(0);function f(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function h(e){return!(!n.isBuffer(e)||65!==e.length||4!==e[0]||!(0,s.isPoint)(e))}function p(e,t){if(!e.address&&!e.hash&&!e.output&&!e.redeem&&!e.witness)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(32)),output:s.typeforce.maybe(s.typeforce.BufferN(34)),redeem:s.typeforce.maybe({input:s.typeforce.maybe(s.typeforce.Buffer),network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))}),input:s.typeforce.maybe(s.typeforce.BufferN(0)),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);const r=c.value((()=>{const t=u.bech32.decode(e.address),r=t.words.shift(),o=u.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.from(o)}})),p=c.value((()=>a.decompile(e.redeem.input)));let m=e.network;m||(m=e.redeem&&e.redeem.network||i.bitcoin);const g={network:m};if(c.prop(g,"address",(()=>{if(!g.hash)return;const e=u.bech32.toWords(g.hash);return e.unshift(0),u.bech32.encode(m.bech32,e)})),c.prop(g,"hash",(()=>e.output?e.output.slice(2):e.address?r().data:g.redeem&&g.redeem.output?o.sha256(g.redeem.output):void 0)),c.prop(g,"output",(()=>{if(g.hash)return a.compile([l.OP_0,g.hash])})),c.prop(g,"redeem",(()=>{if(e.witness)return{output:e.witness[e.witness.length-1],input:d,witness:e.witness.slice(0,-1)}})),c.prop(g,"input",(()=>{if(g.witness)return d})),c.prop(g,"witness",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.input.length>0&&e.redeem.output&&e.redeem.output.length>0){const t=a.toStack(p());return g.redeem=Object.assign({witness:t},e.redeem),g.redeem.input=d,[].concat(t,e.redeem.output)}if(e.redeem&&e.redeem.output&&e.redeem.witness)return[].concat(e.redeem.witness,e.redeem.output)})),c.prop(g,"name",(()=>{const e=["p2wsh"];return void 0!==g.redeem&&void 0!==g.redeem.name&&e.push(g.redeem.name),e.join("-")})),t.validate){let t=n.from([]);if(e.address){if(r().prefix!==m.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(34!==e.output.length||e.output[0]!==l.OP_0||32!==e.output[1])throw new TypeError("Output is invalid");const r=e.output.slice(2);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.redeem){if(e.redeem.network&&e.redeem.network!==m)throw new TypeError("Network mismatch");if(e.redeem.input&&e.redeem.input.length>0&&e.redeem.witness&&e.redeem.witness.length>0)throw new TypeError("Ambiguous witness source");if(e.redeem.output){const r=a.decompile(e.redeem.output);if(!r||r.length<1)throw new TypeError("Redeem.output is invalid");if(e.redeem.output.byteLength>3600)throw new TypeError("Redeem.output unspendable if larger than 3600 bytes");if(a.countNonPushOnlyOPs(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");const n=o.sha256(e.redeem.output);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch");t=n}if(e.redeem.input&&!a.isPushOnly(p()))throw new TypeError("Non push-only scriptSig");if(e.witness&&e.redeem.witness&&!f(e.witness,e.redeem.witness))throw new TypeError("Witness and redeem.witness mismatch");if(e.redeem.input&&p().some(h)||e.redeem.output&&(a.decompile(e.redeem.output)||[]).some(h))throw new TypeError("redeem.input or redeem.output contains uncompressed pubkey")}if(e.witness&&e.witness.length>0){const t=e.witness[e.witness.length-1];if(e.redeem&&e.redeem.output&&!e.redeem.output.equals(t))throw new TypeError("Witness and redeem.output mismatch");if(e.witness.some(h)||(a.decompile(t)||[]).some(h))throw new TypeError("Witness contains uncompressed pubkey")}}return Object.assign(g,e)}t.p2wsh=p},59646:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Psbt=void 0;const o=r(1614),i=r(40394),a=r(45080),s=r(70057),c=r(30606),u=r(50622),l=r(30885),d=r(82218),f=r(67038),h=r(22021),p=r(60477),m=r(34929),g={network:u.bitcoin,maximumFeeRate:5e3};class y{static fromBase64(e,t={}){const r=n.from(e,"base64");return this.fromBuffer(r,t)}static fromHex(e,t={}){const r=n.from(e,"hex");return this.fromBuffer(r,t)}static fromBuffer(e,t={}){const r=o.Psbt.fromBuffer(e,v),n=new y(t,r);return k(n.__CACHE.__TX,n.__CACHE),n}constructor(e={},t=new o.Psbt(new b)){this.data=t,this.opts=Object.assign({},g,e),this.__CACHE={__NON_WITNESS_UTXO_TX_CACHE:[],__NON_WITNESS_UTXO_BUF_CACHE:[],__TX_IN_CACHE:{},__TX:this.data.globalMap.unsignedTx.tx,__UNSAFE_SIGN_NONSEGWIT:!1},0===this.data.inputs.length&&this.setVersion(2);const r=(e,t,r,n)=>Object.defineProperty(e,t,{enumerable:r,writable:n});r(this,"__CACHE",!1,!0),r(this,"opts",!1,!0)}get inputCount(){return this.data.inputs.length}get version(){return this.__CACHE.__TX.version}set version(e){this.setVersion(e)}get locktime(){return this.__CACHE.__TX.locktime}set locktime(e){this.setLocktime(e)}get txInputs(){return this.__CACHE.__TX.ins.map((e=>({hash:(0,c.cloneBuffer)(e.hash),index:e.index,sequence:e.sequence})))}get txOutputs(){return this.__CACHE.__TX.outs.map((e=>{let t;try{t=(0,s.fromOutputScript)(e.script,this.opts.network)}catch(r){}return{script:(0,c.cloneBuffer)(e.script),value:e.value,address:t}}))}combine(...e){return this.data.combine(...e.map((e=>e.data))),this}clone(){const e=y.fromBuffer(this.data.toBuffer());return e.opts=JSON.parse(JSON.stringify(this.opts)),e}setMaximumFeeRate(e){T(e),this.opts.maximumFeeRate=e}setVersion(e){T(e),C(this.data.inputs,"setVersion");const t=this.__CACHE;return t.__TX.version=e,t.__EXTRACTED_TX=void 0,this}setLocktime(e){T(e),C(this.data.inputs,"setLocktime");const t=this.__CACHE;return t.__TX.locktime=e,t.__EXTRACTED_TX=void 0,this}setInputSequence(e,t){T(t),C(this.data.inputs,"setInputSequence");const r=this.__CACHE;if(r.__TX.ins.length<=e)throw new Error("Input index too high");return r.__TX.ins[e].sequence=t,r.__EXTRACTED_TX=void 0,this}addInputs(e){return e.forEach((e=>this.addInput(e))),this}addInput(e){if(arguments.length>1||!e||void 0===e.hash||void 0===e.index)throw new Error("Invalid arguments for Psbt.addInput. Requires single object with at least [hash] and [index]");(0,p.checkTaprootInputFields)(e,e,"addInput"),C(this.data.inputs,"addInput"),e.witnessScript&&de(e.witnessScript);const t=this.__CACHE;this.data.addInput(e);const r=t.__TX.ins[t.__TX.ins.length-1];N(t,r);const n=this.data.inputs.length-1,o=this.data.inputs[n];return o.nonWitnessUtxo&&Q(this.__CACHE,o,n),t.__FEE=void 0,t.__FEE_RATE=void 0,t.__EXTRACTED_TX=void 0,this}addOutputs(e){return e.forEach((e=>this.addOutput(e))),this}addOutput(e){if(arguments.length>1||!e||void 0===e.value||void 0===e.address&&void 0===e.script)throw new Error("Invalid arguments for Psbt.addOutput. Requires single object with at least [script or address] and [value]");C(this.data.inputs,"addOutput");const{address:t}=e;if("string"===typeof t){const{network:r}=this.opts,n=(0,s.toOutputScript)(t,r);e=Object.assign(e,{script:n})}(0,p.checkTaprootOutputFields)(e,e,"addOutput");const r=this.__CACHE;return this.data.addOutput(e),r.__FEE=void 0,r.__FEE_RATE=void 0,r.__EXTRACTED_TX=void 0,this}extractTransaction(e){if(!this.data.inputs.every(A))throw new Error("Not finalized");const t=this.__CACHE;if(e||x(this,t,this.opts),t.__EXTRACTED_TX)return t.__EXTRACTED_TX;const r=t.__TX.clone();return J(this.data.inputs,r,t,!0),r}getFeeRate(){return L("__FEE_RATE","fee rate",this.data.inputs,this.__CACHE)}getFee(){return L("__FEE","fee",this.data.inputs,this.__CACHE)}finalizeAllInputs(){return(0,a.checkForInput)(this.data.inputs,0),he(this.data.inputs.length).forEach((e=>this.finalizeInput(e))),this}finalizeInput(e,t){const r=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(r)?this._finalizeTaprootInput(e,r,void 0,t):this._finalizeInput(e,r,t)}finalizeTaprootInput(e,t,r=p.tapScriptFinalizer){const n=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(n))return this._finalizeTaprootInput(e,n,t,r);throw new Error(`Cannot finalize input #${e}. Not Taproot.`)}_finalizeInput(e,t,r=D){const{script:n,isP2SH:o,isP2WSH:i,isSegwit:a}=W(e,t,this.__CACHE);if(!n)throw new Error(`No script found for input #${e}`);I(t);const{finalScriptSig:s,finalScriptWitness:c}=r(e,t,n,a,o,i);if(s&&this.data.updateInput(e,{finalScriptSig:s}),c&&this.data.updateInput(e,{finalScriptWitness:c}),!s&&!c)throw new Error(`Unknown error finalizing input #${e}`);return this.data.clearFinalizedInput(e),this}_finalizeTaprootInput(e,t,r,n=p.tapScriptFinalizer){if(!t.witnessUtxo)throw new Error(`Cannot finalize input #${e}. Missing withness utxo.`);if(t.tapKeySig){const r=l.p2tr({output:t.witnessUtxo.script,signature:t.tapKeySig}),n=(0,m.witnessStackToScriptWitness)(r.witness);this.data.updateInput(e,{finalScriptWitness:n})}else{const{finalScriptWitness:o}=n(e,t,r);this.data.updateInput(e,{finalScriptWitness:o})}return this.data.clearFinalizedInput(e),this}getInputType(e){const t=(0,a.checkForInput)(this.data.inputs,e),r=te(e,t,this.__CACHE),n=le(r,e,"input",t.redeemScript||ie(t.finalScriptSig),t.witnessScript||ae(t.finalScriptWitness)),o="raw"===n.type?"":n.type+"-",i=fe(n.meaningfulScript);return o+i}inputHasPubkey(e,t){const r=(0,a.checkForInput)(this.data.inputs,e);return ne(t,r,e,this.__CACHE)}inputHasHDKey(e,t){const r=(0,a.checkForInput)(this.data.inputs,e),n=S(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}outputHasPubkey(e,t){const r=(0,a.checkForOutput)(this.data.outputs,e);return oe(t,r,e,this.__CACHE)}outputHasHDKey(e,t){const r=(0,a.checkForOutput)(this.data.outputs,e),n=S(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}validateSignaturesOfAllInputs(e){(0,a.checkForInput)(this.data.inputs,0);const t=he(this.data.inputs.length).map((t=>this.validateSignaturesOfInput(t,e)));return t.reduce(((e,t)=>!0===t&&e),!0)}validateSignaturesOfInput(e,t,r){const n=this.data.inputs[e];return(0,p.isTaprootInput)(n)?this.validateSignaturesOfTaprootInput(e,t,r):this._validateSignaturesOfInput(e,t,r)}_validateSignaturesOfInput(e,t,r){const n=this.data.inputs[e],o=(n||{}).partialSig;if(!n||!o||o.length<1)throw new Error("No signatures to validate");if("function"!==typeof t)throw new Error("Need validator function to validate signatures");const i=r?o.filter((e=>e.pubkey.equals(r))):o;if(i.length<1)throw new Error("No signatures for this pubkey");const a=[];let s,c,u;for(const l of i){const r=f.signature.decode(l.signature),{hash:o,script:i}=u!==r.hashType?U(e,Object.assign({},n,{sighashType:r.hashType}),this.__CACHE,!0):{hash:s,script:c};u=r.hashType,s=o,c=i,O(l.pubkey,i,"verify"),a.push(t(l.pubkey,o,r.signature))}return a.every((e=>!0===e))}validateSignaturesOfTaprootInput(e,t,r){const n=this.data.inputs[e],o=(n||{}).tapKeySig,i=(n||{}).tapScriptSig;if(!n&&!o&&(!i||i.length))throw new Error("No signatures to validate");if("function"!==typeof t)throw new Error("Need validator function to validate signatures");r=r&&(0,p.toXOnly)(r);const a=r?V(e,n,this.data.inputs,r,this.__CACHE):$(e,n,this.data.inputs,this.__CACHE);if(!a.length)throw new Error("No signatures for this pubkey");const s=a.find((e=>!e.leafHash));let c=0;if(o&&s){const e=t(s.pubkey,s.hash,H(o));if(!e)return!1;c++}if(i)for(const u of i){const e=a.find((e=>u.pubkey.equals(e.pubkey)));if(e){const r=t(u.pubkey,e.hash,H(u.signature));if(!r)return!1;c++}}return c>0}signAllInputsHD(e,t=[h.Transaction.SIGHASH_ALL]){if(!e||!e.publicKey||!e.fingerprint)throw new Error("Need HDSigner to sign input");const r=[];for(const o of he(this.data.inputs.length))try{this.signInputHD(o,e,t),r.push(!0)}catch(n){r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsHDAsync(e,t=[h.Transaction.SIGHASH_ALL]){return new Promise(((r,n)=>{if(!e||!e.publicKey||!e.fingerprint)return n(new Error("Need HDSigner to sign input"));const o=[],i=[];for(const a of he(this.data.inputs.length))i.push(this.signInputHDAsync(a,e,t).then((()=>{o.push(!0)}),(()=>{o.push(!1)})));return Promise.all(i).then((()=>{if(o.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInputHD(e,t,r=[h.Transaction.SIGHASH_ALL]){if(!t||!t.publicKey||!t.fingerprint)throw new Error("Need HDSigner to sign input");const n=K(e,this.data.inputs,t);return n.forEach((t=>this.signInput(e,t,r))),this}signInputHDAsync(e,t,r=[h.Transaction.SIGHASH_ALL]){return new Promise(((n,o)=>{if(!t||!t.publicKey||!t.fingerprint)return o(new Error("Need HDSigner to sign input"));const i=K(e,this.data.inputs,t),a=i.map((t=>this.signInputAsync(e,t,r)));return Promise.all(a).then((()=>{n()})).catch(o)}))}signAllInputs(e,t){if(!e||!e.publicKey)throw new Error("Need Signer to sign input");const r=[];for(const o of he(this.data.inputs.length))try{this.signInput(o,e,t),r.push(!0)}catch(n){r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsAsync(e,t){return new Promise(((r,n)=>{if(!e||!e.publicKey)return n(new Error("Need Signer to sign input"));const o=[],i=[];for(const[a]of this.data.inputs.entries())i.push(this.signInputAsync(a,e,t).then((()=>{o.push(!0)}),(()=>{o.push(!1)})));return Promise.all(i).then((()=>{if(o.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInput(e,t,r){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const n=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(n)?this._signTaprootInput(e,n,t,void 0,r):this._signInput(e,t,r)}signTaprootInput(e,t,r,n){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const o=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(o))return this._signTaprootInput(e,o,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}_signInput(e,t,r=[h.Transaction.SIGHASH_ALL]){const{hash:n,sighashType:o}=j(this.data.inputs,e,t.publicKey,this.__CACHE,r),i=[{pubkey:t.publicKey,signature:f.signature.encode(t.sign(n),o)}];return this.data.updateInput(e,{partialSig:i}),this}_signTaprootInput(e,t,r,n,o=[h.Transaction.SIGHASH_DEFAULT]){const i=this.checkTaprootHashesForSig(e,t,r,n,o),a=i.filter((e=>!e.leafHash)).map((e=>(0,p.serializeTaprootSignature)(r.signSchnorr(e.hash),t.sighashType)))[0],s=i.filter((e=>!!e.leafHash)).map((e=>({pubkey:(0,p.toXOnly)(r.publicKey),signature:(0,p.serializeTaprootSignature)(r.signSchnorr(e.hash),t.sighashType),leafHash:e.leafHash})));return a&&this.data.updateInput(e,{tapKeySig:a}),s.length&&this.data.updateInput(e,{tapScriptSig:s}),this}signInputAsync(e,t,r){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const n=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(n)?this._signTaprootInputAsync(e,n,t,void 0,r):this._signInputAsync(e,t,r)}))}signTaprootInputAsync(e,t,r,n){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const o=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(o))return this._signTaprootInputAsync(e,o,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}))}_signInputAsync(e,t,r=[h.Transaction.SIGHASH_ALL]){const{hash:n,sighashType:o}=j(this.data.inputs,e,t.publicKey,this.__CACHE,r);return Promise.resolve(t.sign(n)).then((r=>{const n=[{pubkey:t.publicKey,signature:f.signature.encode(r,o)}];this.data.updateInput(e,{partialSig:n})}))}async _signTaprootInputAsync(e,t,r,n,o=[h.Transaction.SIGHASH_DEFAULT]){const i=this.checkTaprootHashesForSig(e,t,r,n,o),a=[],s=i.filter((e=>!e.leafHash))[0];if(s){const e=Promise.resolve(r.signSchnorr(s.hash)).then((e=>({tapKeySig:(0,p.serializeTaprootSignature)(e,t.sighashType)})));a.push(e)}const c=i.filter((e=>!!e.leafHash));if(c.length){const e=c.map((e=>Promise.resolve(r.signSchnorr(e.hash)).then((n=>{const o=[{pubkey:(0,p.toXOnly)(r.publicKey),signature:(0,p.serializeTaprootSignature)(n,t.sighashType),leafHash:e.leafHash}];return{tapScriptSig:o}}))));a.push(...e)}return Promise.all(a).then((t=>{t.forEach((t=>this.data.updateInput(e,t)))}))}checkTaprootHashesForSig(e,t,r,n,o){if("function"!==typeof r.signSchnorr)throw new Error(`Need Schnorr Signer to sign taproot input #${e}.`);const i=V(e,t,this.data.inputs,r.publicKey,this.__CACHE,n,o);if(!i||!i.length)throw new Error(`Can not sign for input #${e} with the key ${r.publicKey.toString("hex")}`);return i}toBuffer(){return _(this.__CACHE),this.data.toBuffer()}toHex(){return _(this.__CACHE),this.data.toHex()}toBase64(){return _(this.__CACHE),this.data.toBase64()}updateGlobal(e){return this.data.updateGlobal(e),this}updateInput(e,t){return t.witnessScript&&de(t.witnessScript),(0,p.checkTaprootInputFields)(this.data.inputs[e],t,"updateInput"),this.data.updateInput(e,t),t.nonWitnessUtxo&&Q(this.__CACHE,this.data.inputs[e],e),this}updateOutput(e,t){const r=this.data.outputs[e];return(0,p.checkTaprootOutputFields)(r,t,"updateOutput"),this.data.updateOutput(e,t),this}addUnknownKeyValToGlobal(e){return this.data.addUnknownKeyValToGlobal(e),this}addUnknownKeyValToInput(e,t){return this.data.addUnknownKeyValToInput(e,t),this}addUnknownKeyValToOutput(e,t){return this.data.addUnknownKeyValToOutput(e,t),this}clearFinalizedInput(e){return this.data.clearFinalizedInput(e),this}}t.Psbt=y;const v=e=>new b(e);class b{constructor(e=n.from([2,0,0,0,0,0,0,0,0,0])){this.tx=h.Transaction.fromBuffer(e),P(this.tx),Object.defineProperty(this,"tx",{enumerable:!1,writable:!0})}getInputOutputCounts(){return{inputCount:this.tx.ins.length,outputCount:this.tx.outs.length}}addInput(e){if(void 0===e.hash||void 0===e.index||!n.isBuffer(e.hash)&&"string"!==typeof e.hash||"number"!==typeof e.index)throw new Error("Error adding input.");const t="string"===typeof e.hash?(0,c.reverseBuffer)(n.from(e.hash,"hex")):e.hash;this.tx.addInput(t,e.index,e.sequence)}addOutput(e){if(void 0===e.script||void 0===e.value||!n.isBuffer(e.script)||"number"!==typeof e.value)throw new Error("Error adding output.");this.tx.addOutput(e.script,e.value)}toBuffer(){return this.tx.toBuffer()}}function w(e,t,r){switch(r){case"pubkey":case"pubkeyhash":case"witnesspubkeyhash":return E(1,e.partialSig);case"multisig":const r=l.p2ms({output:t});return E(r.m,e.partialSig,r.pubkeys);default:return!1}}function _(e){if(!1!==e.__UNSAFE_SIGN_NONSEGWIT)throw new Error("Not BIP174 compliant, can not export")}function E(e,t,r){if(!t)return!1;let n;if(n=r?r.map((e=>{const r=se(e);return t.find((e=>e.pubkey.equals(r)))})).filter((e=>!!e)):t,n.length>e)throw new Error("Too many signatures");return n.length===e}function A(e){return!!e.finalScriptSig||!!e.finalScriptWitness}function S(e){return t=>!!t.masterFingerprint.equals(e.fingerprint)&&!!e.derivePath(t.path).publicKey.equals(t.pubkey)}function T(e){if("number"!==typeof e||e!==Math.floor(e)||e>4294967295||e<0)throw new Error("Invalid 32 bit integer")}function x(e,t,r){const n=t.__FEE_RATE||e.getFeeRate(),o=t.__EXTRACTED_TX.virtualSize(),i=n*o;if(n>=r.maximumFeeRate)throw new Error(`Warning: You are paying around ${(i/1e8).toFixed(8)} in fees, which is ${n} satoshi per byte for a transaction with a VSize of ${o} bytes (segwit counted as 0.25 byte per byte). Use setMaximumFeeRate method to raise your threshold, or pass true to the first arg of extractTransaction.`)}function C(e,t){e.forEach((e=>{const r=(0,p.isTaprootInput)(e)?(0,p.checkTaprootInputForSigs)(e,t):(0,m.checkInputForSig)(e,t);if(r)throw new Error("Can not modify transaction, signatures exist.")}))}function I(e){if(!e.sighashType||!e.partialSig)return;const{partialSig:t,sighashType:r}=e;t.forEach((e=>{const{hashType:t}=f.signature.decode(e.signature);if(r!==t)throw new Error("Signature sighash does not match input sighash type")}))}function O(e,t,r){if(!(0,m.pubkeyInScript)(e,t))throw new Error(`Can not ${r} for this input with the key ${e.toString("hex")}`)}function P(e){const t=e.ins.every((e=>e.script&&0===e.script.length&&e.witness&&0===e.witness.length));if(!t)throw new Error("Format Error: Transaction ScriptSigs are not empty")}function k(e,t){e.ins.forEach((e=>{N(t,e)}))}function N(e,t){const r=(0,c.reverseBuffer)(n.from(t.hash)).toString("hex")+":"+t.index;if(e.__TX_IN_CACHE[r])throw new Error("Duplicate input detected.");e.__TX_IN_CACHE[r]=1}function R(e,t){return(r,n,o,i)=>{const a=e({redeem:{output:o}}).output;if(!n.equals(a))throw new Error(`${t} for ${i} #${r} doesn't match the scriptPubKey in the prevout`)}}const M=R(l.p2sh,"Redeem script"),B=R(l.p2wsh,"Witness script");function L(e,t,r,n){if(!r.every(A))throw new Error(`PSBT must be finalized to calculate ${t}`);if("__FEE_RATE"===e&&n.__FEE_RATE)return n.__FEE_RATE;if("__FEE"===e&&n.__FEE)return n.__FEE;let o,i=!0;return n.__EXTRACTED_TX?(o=n.__EXTRACTED_TX,i=!1):o=n.__TX.clone(),J(r,o,n,i),"__FEE_RATE"===e?n.__FEE_RATE:"__FEE"===e?n.__FEE:void 0}function D(e,t,r,n,o,i){const a=fe(r);if(!w(t,r,a))throw new Error(`Can not finalize input #${e}`);return F(r,a,t.partialSig,n,o,i)}function F(e,t,r,n,o,i){let a,s;const c=q(e,t,r),u=i?l.p2wsh({redeem:c}):null,d=o?l.p2sh({redeem:u||c}):null;return n?(s=u?(0,m.witnessStackToScriptWitness)(u.witness):(0,m.witnessStackToScriptWitness)(c.witness),d&&(a=d.input)):a=d?d.input:c.input,{finalScriptSig:a,finalScriptWitness:s}}function j(e,t,r,n,o){const i=(0,a.checkForInput)(e,t),{hash:s,sighashType:c,script:u}=U(t,i,n,!1,o);return O(r,u,"sign"),{hash:s,sighashType:c}}function U(e,t,r,n,o){const i=r.__TX,a=t.sighashType||h.Transaction.SIGHASH_ALL;let s,c;if(G(a,o),t.nonWitnessUtxo){const n=ee(r,t,e),o=i.ins[e].hash,a=n.getHash();if(!o.equals(a))throw new Error(`Non-witness UTXO hash for input #${e} doesn't match the hash specified in the prevout`);const s=i.ins[e].index;c=n.outs[s]}else{if(!t.witnessUtxo)throw new Error("Need a Utxo input item for signing");c=t.witnessUtxo}const{meaningfulScript:u,type:d}=le(c.script,e,"input",t.redeemScript,t.witnessScript);if(["p2sh-p2wsh","p2wsh"].indexOf(d)>=0)s=i.hashForWitnessV0(e,u,c.value,a);else if((0,m.isP2WPKH)(u)){const t=l.p2pkh({hash:u.slice(2)}).output;s=i.hashForWitnessV0(e,t,c.value,a)}else{if(void 0===t.nonWitnessUtxo&&!1===r.__UNSAFE_SIGN_NONSEGWIT)throw new Error(`Input #${e} has witnessUtxo but non-segwit script: ${u.toString("hex")}`);n||!1===r.__UNSAFE_SIGN_NONSEGWIT||console.warn("Warning: Signing non-segwit inputs without the full parent transaction means there is a chance that a miner could feed you incorrect information to trick you into paying large fees. This behavior is the same as Psbt's predecesor (TransactionBuilder - now removed) when signing non-segwit scripts. You are not able to export this Psbt with toBuffer|toBase64|toHex since it is not BIP174 compliant.\n*********************\nPROCEED WITH CAUTION!\n*********************"),s=i.hashForSignature(e,u,a)}return{script:u,sighashType:a,hash:s}}function $(e,t,r,n){const o=[];if(t.tapInternalKey){const r=z(e,t,n);r&&o.push(r)}if(t.tapScriptSig){const e=t.tapScriptSig.map((e=>e.pubkey));o.push(...e)}const i=o.map((o=>V(e,t,r,o,n)));return i.flat()}function z(e,t,r){const{script:n}=re(e,t,r);return(0,m.isP2TR)(n)?n.subarray(2,34):null}function H(e){return 64===e.length?e:e.subarray(0,64)}function V(e,t,r,o,i,a,s){const c=i.__TX,u=t.sighashType||h.Transaction.SIGHASH_DEFAULT;G(u,s);const l=r.map(((e,t)=>re(t,e,i))),f=l.map((e=>e.script)),g=l.map((e=>e.value)),y=[];if(t.tapInternalKey&&!a){const r=z(e,t,i)||n.from([]);if((0,p.toXOnly)(o).equals(r)){const t=c.hashForWitnessV1(e,f,g,u);y.push({pubkey:o,hash:t})}}const v=(t.tapLeafScript||[]).filter((e=>(0,m.pubkeyInScript)(o,e.script))).map((e=>{const t=(0,d.tapleafHash)({output:e.script,version:e.leafVersion});return Object.assign({hash:t},e)})).filter((e=>!a||a.equals(e.hash))).map((t=>{const r=c.hashForWitnessV1(e,f,g,h.Transaction.SIGHASH_DEFAULT,t.hash);return{pubkey:o,hash:r,leafHash:t.hash}}));return y.concat(v)}function G(e,t){if(t&&t.indexOf(e)<0){const t=Y(e);throw new Error(`Sighash type is not allowed. Retry the sign method passing the sighashTypes array of whitelisted types. Sighash type: ${t}`)}}function q(e,t,r){let n;switch(t){case"multisig":const t=X(e,r);n=l.p2ms({output:e,signatures:t});break;case"pubkey":n=l.p2pk({output:e,signature:r[0].signature});break;case"pubkeyhash":n=l.p2pkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break;case"witnesspubkeyhash":n=l.p2wpkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break}return n}function W(e,t,r){const n=r.__TX,o={script:null,isSegwit:!1,isP2SH:!1,isP2WSH:!1};if(o.isP2SH=!!t.redeemScript,o.isP2WSH=!!t.witnessScript,t.witnessScript)o.script=t.witnessScript;else if(t.redeemScript)o.script=t.redeemScript;else if(t.nonWitnessUtxo){const i=ee(r,t,e),a=n.ins[e].index;o.script=i.outs[a].script}else t.witnessUtxo&&(o.script=t.witnessUtxo.script);return(t.witnessScript||(0,m.isP2WPKH)(o.script))&&(o.isSegwit=!0),o}function K(e,t,r){const n=(0,a.checkForInput)(t,e);if(!n.bip32Derivation||0===n.bip32Derivation.length)throw new Error("Need bip32Derivation to sign with HD");const o=n.bip32Derivation.map((e=>e.masterFingerprint.equals(r.fingerprint)?e:void 0)).filter((e=>!!e));if(0===o.length)throw new Error("Need one bip32Derivation masterFingerprint to match the HDSigner fingerprint");const i=o.map((e=>{const t=r.derivePath(e.path);if(!e.pubkey.equals(t.publicKey))throw new Error("pubkey did not match bip32Derivation");return t}));return i}function X(e,t){const r=l.p2ms({output:e});return r.pubkeys.map((e=>(t.filter((t=>t.pubkey.equals(e)))[0]||{}).signature)).filter((e=>!!e))}function Z(e){let t=0;function r(r){return t+=r,e.slice(t-r,t)}function n(){const r=i.decode(e,t);return t+=i.decode.bytes,r}function o(){return r(n())}function a(){const e=n(),t=[];for(let r=0;r{if(n&&e.finalScriptSig&&(t.ins[i].script=e.finalScriptSig),n&&e.finalScriptWitness&&(t.ins[i].witness=Z(e.finalScriptWitness)),e.witnessUtxo)o+=e.witnessUtxo.value;else if(e.nonWitnessUtxo){const n=ee(r,e,i),a=t.ins[i].index,s=n.outs[a];o+=s.value}}));const i=t.outs.reduce(((e,t)=>e+t.value),0),a=o-i;if(a<0)throw new Error("Outputs are spending more than Inputs");const s=t.virtualSize();r.__FEE=a,r.__EXTRACTED_TX=t,r.__FEE_RATE=Math.floor(a/s)}function ee(e,t,r){const n=e.__NON_WITNESS_UTXO_TX_CACHE;return n[r]||Q(e,t,r),n[r]}function te(e,t,r){const{script:n}=re(e,t,r);return n}function re(e,t,r){if(void 0!==t.witnessUtxo)return{script:t.witnessUtxo.script,value:t.witnessUtxo.value};if(void 0!==t.nonWitnessUtxo){const n=ee(r,t,e),o=n.outs[r.__TX.ins[e].index];return{script:o.script,value:o.value}}throw new Error("Can't find pubkey in input without Utxo data")}function ne(e,t,r,n){const o=te(r,t,n),{meaningfulScript:i}=le(o,r,"input",t.redeemScript,t.witnessScript);return(0,m.pubkeyInScript)(e,i)}function oe(e,t,r,n){const o=n.__TX.outs[r].script,{meaningfulScript:i}=le(o,r,"output",t.redeemScript,t.witnessScript);return(0,m.pubkeyInScript)(e,i)}function ie(e){if(!e)return;const t=f.decompile(e);if(!t)return;const r=t[t.length-1];if(!n.isBuffer(r)||ce(r)||ue(r))return;const o=f.decompile(r);return o?r:void 0}function ae(e){if(!e)return;const t=Z(e),r=t[t.length-1];if(ce(r))return;const n=f.decompile(r);return n?r:void 0}function se(e){if(65===e.length){const t=1&e[64],r=e.slice(0,33);return r[0]=2|t,r}return e.slice()}function ce(e){return 33===e.length&&f.isCanonicalPubKey(e)}function ue(e){return f.isCanonicalScriptSignature(e)}function le(e,t,r,n,o){const i=(0,m.isP2SHScript)(e),a=i&&n&&(0,m.isP2WSHScript)(n),s=(0,m.isP2WSHScript)(e);if(i&&void 0===n)throw new Error("scriptPubkey is P2SH but redeemScript missing");if((s||a)&&void 0===o)throw new Error("scriptPubkey or redeemScript is P2WSH but witnessScript missing");let c;return a?(c=o,M(t,e,n,r),B(t,n,o,r),de(c)):s?(c=o,B(t,e,o,r),de(c)):i?(c=n,M(t,e,n,r)):c=e,{meaningfulScript:c,type:a?"p2sh-p2wsh":i?"p2sh":s?"p2wsh":"raw"}}function de(e){if((0,m.isP2WPKH)(e)||(0,m.isP2SHScript)(e))throw new Error("P2WPKH or P2SH can not be contained within P2WSH")}function fe(e){return(0,m.isP2WPKH)(e)?"witnesspubkeyhash":(0,m.isP2PKH)(e)?"pubkeyhash":(0,m.isP2MS)(e)?"multisig":(0,m.isP2PK)(e)?"pubkey":"nonstandard"}function he(e){return[...Array(e).keys()]}},60477:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.checkTaprootInputForSigs=t.tapTreeFromList=t.tapTreeToList=t.tweakInternalPubKey=t.checkTaprootOutputFields=t.checkTaprootInputFields=t.isTaprootOutput=t.isTaprootInput=t.serializeTaprootSignature=t.tapScriptFinalizer=t.toXOnly=void 0;const o=r(98116),i=r(22021),a=r(34929),s=r(82218),c=r(30885),u=r(34929),l=e=>32===e.length?e:e.slice(1,33);function d(e,t,r){const n=B(t,e,r);try{const e=R(t,n),r=e.concat(n.script).concat(n.controlBlock);return{finalScriptWitness:(0,a.witnessStackToScriptWitness)(r)}}catch(o){throw new Error(`Can not finalize taproot input #${e}: ${o}`)}}function f(e,t){const r=t?n.from([t]):n.from([]);return n.concat([e,r])}function h(e){return e&&!!(e.tapInternalKey||e.tapMerkleRoot||e.tapLeafScript&&e.tapLeafScript.length||e.tapBip32Derivation&&e.tapBip32Derivation.length||e.witnessUtxo&&(0,a.isP2TR)(e.witnessUtxo.script))}function p(e,t){return e&&!!(e.tapInternalKey||e.tapTree||e.tapBip32Derivation&&e.tapBip32Derivation.length||t&&(0,a.isP2TR)(t))}function m(e,t,r){O(e,t,r),k(e,t,r)}function g(e,t,r){P(e,t,r),y(e,t)}function y(e,t){if(!t.tapTree&&!t.tapInternalKey)return;const r=t.tapInternalKey||e.tapInternalKey,n=t.tapTree||e.tapTree;if(r){const{script:t}=e,o=v(r,n);if(t&&!t.equals(o))throw new Error("Error adding output. Script or address missmatch.")}}function v(e,t){const r=t&&_(t.leaves),{output:n}=(0,c.p2tr)({internalPubkey:e,scriptTree:r});return n}function b(e,t){const r=t.tapInternalKey,n=r&&(0,s.tweakKey)(r,t.tapMerkleRoot);if(!n)throw new Error(`Cannot tweak tap internal key for input #${e}. Public key: ${r&&r.toString("hex")}`);return n.x}function w(e){if(!(0,o.isTaptree)(e))throw new Error("Cannot convert taptree to tapleaf list. Expecting a tapree structure.");return x(e)}function _(e=[]){return 1===e.length&&0===e[0].depth?{output:e[0].script,version:e[0].leafVersion}:C(e)}function E(e,t){const r=S(e);return r.some((e=>(0,u.signatureBlocksAction)(e,A,t)))}function A(e){return{signature:e.slice(0,64),hashType:e.slice(64)[0]||i.Transaction.SIGHASH_DEFAULT}}function S(e){const t=[];if(e.tapKeySig&&t.push(e.tapKeySig),e.tapScriptSig&&t.push(...e.tapScriptSig.map((e=>e.signature))),!t.length){const r=T(e.finalScriptWitness);r&&t.push(r)}return t}function T(e){if(!e)return;const t=e.slice(2);return 64===t.length||65===t.length?t:void 0}function x(e,t=[],r=0){if(r>s.MAX_TAPTREE_DEPTH)throw new Error("Max taptree depth exceeded.");return e?(0,o.isTapleaf)(e)?(t.push({depth:r,leafVersion:e.version||s.LEAF_VERSION_TAPSCRIPT,script:e.output}),t):(e[0]&&x(e[0],t,r+1),e[1]&&x(e[1],t,r+1),t):[]}function C(e){let t;for(const r of e)if(t=I(r,t),!t)throw new Error("No room left to insert tapleaf in tree");return t}function I(e,t,r=0){if(r>s.MAX_TAPTREE_DEPTH)throw new Error("Max taptree depth exceeded.");if(e.depth===r)return t?void 0:{output:e.script,version:e.leafVersion};if((0,o.isTapleaf)(t))return;const n=I(e,t&&t[0],r+1);if(n)return[n,t&&t[1]];const i=I(e,t&&t[1],r+1);return i?[t&&t[0],i]:void 0}function O(e,t,r){const n=h(e)&&D(t),o=D(e)&&h(t),i=e===t&&h(t)&&D(t);if(n||o||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function P(e,t,r){const n=p(e)&&D(t),o=D(e)&&p(t),i=e===t&&p(t)&&D(t);if(n||o||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function k(e,t,r){if(t.tapMerkleRoot){const n=(t.tapLeafScript||[]).every((e=>N(e,t.tapMerkleRoot))),o=(e.tapLeafScript||[]).every((e=>N(e,t.tapMerkleRoot)));if(!n||!o)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}else if(e.tapMerkleRoot){const n=(t.tapLeafScript||[]).every((t=>N(t,e.tapMerkleRoot)));if(!n)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}}function N(e,t){if(!t)return!0;const r=(0,s.tapleafHash)({output:e.script,version:e.leafVersion}),n=(0,s.rootHashFromPath)(e.controlBlock,r);return n.equals(t)}function R(e,t){const r=(0,s.tapleafHash)({output:t.script,version:t.leafVersion});return(e.tapScriptSig||[]).filter((e=>e.leafHash.equals(r))).map((e=>M(t.script,e))).sort(((e,t)=>t.positionInScript-e.positionInScript)).map((e=>e.signature))}function M(e,t){return Object.assign({positionInScript:(0,a.pubkeyPositionInScript)(t.pubkey,e)},t)}function B(e,t,r){if(!e.tapScriptSig||!e.tapScriptSig.length)throw new Error(`Can not finalize taproot input #${t}. No tapleaf script signature provided.`);const n=(e.tapLeafScript||[]).sort(((e,t)=>e.controlBlock.length-t.controlBlock.length)).find((t=>L(t,e.tapScriptSig,r)));if(!n)throw new Error(`Can not finalize taproot input #${t}. Signature for tapleaf script not found.`);return n}function L(e,t,r){const n=(0,s.tapleafHash)({output:e.script,version:e.leafVersion}),o=!r||r.equals(n);return o&&void 0!==t.find((e=>e.leafHash.equals(n)))}function D(e){return e&&!!(e.redeemScript||e.witnessScript||e.bip32Derivation&&e.bip32Derivation.length)}t.toXOnly=l,t.tapScriptFinalizer=d,t.serializeTaprootSignature=f,t.isTaprootInput=h,t.isTaprootOutput=p,t.checkTaprootInputFields=m,t.checkTaprootOutputFields=g,t.tweakInternalPubKey=b,t.tapTreeToList=w,t.tapTreeFromList=_,t.checkTaprootInputForSigs=E},34929:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.signatureBlocksAction=t.checkInputForSig=t.pubkeyInScript=t.pubkeyPositionInScript=t.witnessStackToScriptWitness=t.isP2TR=t.isP2SHScript=t.isP2WSHScript=t.isP2WPKH=t.isP2PKH=t.isP2PK=t.isP2MS=void 0;const o=r(40394),i=r(67038),a=r(22021),s=r(91944),c=r(30885);function u(e){return t=>{try{return e({output:t}),!0}catch(r){return!1}}}function l(e){let t=n.allocUnsafe(0);function r(e){t=n.concat([t,n.from(e)])}function i(e){const r=t.length,i=o.encodingLength(e);t=n.concat([t,n.allocUnsafe(i)]),o.encode(e,t,r)}function a(e){i(e.length),r(e)}function s(e){i(e.length),e.forEach(a)}return s(e),t}function d(e,t){const r=(0,s.hash160)(e),n=e.slice(1,33),o=i.decompile(t);if(null===o)throw new Error("Unknown script error");return o.findIndex((t=>"number"!==typeof t&&(t.equals(e)||t.equals(r)||t.equals(n))))}function f(e,t){return-1!==d(e,t)}function h(e,t){const r=m(e);return r.some((e=>p(e,i.signature.decode,t)))}function p(e,t,r){const{hashType:n}=t(e),o=[],i=n&a.Transaction.SIGHASH_ANYONECANPAY;i&&o.push("addInput");const s=31&n;switch(s){case a.Transaction.SIGHASH_ALL:break;case a.Transaction.SIGHASH_SINGLE:case a.Transaction.SIGHASH_NONE:o.push("addOutput"),o.push("setInputSequence");break}return-1===o.indexOf(r)}function m(e){let t=[];if(0===(e.partialSig||[]).length){if(!e.finalScriptSig&&!e.finalScriptWitness)return[];t=g(e)}else t=e.partialSig;return t.map((e=>e.signature))}function g(e){const t=e.finalScriptSig&&i.decompile(e.finalScriptSig)||[],r=e.finalScriptWitness&&i.decompile(e.finalScriptWitness)||[];return t.concat(r).filter((e=>n.isBuffer(e)&&i.isCanonicalScriptSignature(e))).map((e=>({signature:e})))}t.isP2MS=u(c.p2ms),t.isP2PK=u(c.p2pk),t.isP2PKH=u(c.p2pkh),t.isP2WPKH=u(c.p2wpkh),t.isP2WSHScript=u(c.p2wsh),t.isP2SHScript=u(c.p2sh),t.isP2TR=u(c.p2tr),t.witnessStackToScriptWitness=l,t.pubkeyPositionInScript=d,t.pubkeyInScript=f,t.checkInputForSig=h,t.signatureBlocksAction=p},34344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=t.encodingLength=void 0;const n=r(68417);function o(e){return ee.length)return null;o=e.readUInt8(t+1),i=2}else if(r===n.OPS.OP_PUSHDATA2){if(t+3>e.length)return null;o=e.readUInt16LE(t+1),i=3}else{if(t+5>e.length)return null;if(r!==n.OPS.OP_PUSHDATA4)throw new Error("Unexpected opcode");o=e.readUInt32LE(t+1),i=5}return{opcode:r,number:o,size:i}}t.encodingLength=o,t.encode=i,t.decode=a},67038:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.signature=t.number=t.isCanonicalScriptSignature=t.isDefinedHashType=t.isCanonicalPubKey=t.toStack=t.fromASM=t.toASM=t.decompile=t.compile=t.countNonPushOnlyOPs=t.isPushOnly=t.OPS=void 0;const o=r(13966),i=r(68417);Object.defineProperty(t,"OPS",{enumerable:!0,get:function(){return i.OPS}});const a=r(34344),s=r(19464),c=r(41043),u=r(98116),{typeforce:l}=u,d=i.OPS.OP_RESERVED;function f(e){return u.Number(e)&&(e===i.OPS.OP_0||e>=i.OPS.OP_1&&e<=i.OPS.OP_16||e===i.OPS.OP_1NEGATE)}function h(e){return u.Buffer(e)||f(e)}function p(e){return u.Array(e)&&e.every(h)}function m(e){return e.length-e.filter(h).length}function g(e){return 0===e.length?i.OPS.OP_0:1===e.length?e[0]>=1&&e[0]<=16?d+e[0]:129===e[0]?i.OPS.OP_1NEGATE:void 0:void 0}function y(e){return n.isBuffer(e)}function v(e){return u.Array(e)}function b(e){return n.isBuffer(e)}function w(e){if(y(e))return e;l(u.Array,e);const t=e.reduce(((e,t)=>b(t)?1===t.length&&void 0!==g(t)?e+1:e+a.encodingLength(t.length)+t.length:e+1),0),r=n.allocUnsafe(t);let o=0;if(e.forEach((e=>{if(b(e)){const t=g(e);if(void 0!==t)return r.writeUInt8(t,o),void(o+=1);o+=a.encode(r,e.length,o),e.copy(r,o),o+=e.length}else r.writeUInt8(e,o),o+=1})),o!==r.length)throw new Error("Could not decode chunks");return r}function _(e){if(v(e))return e;l(u.Buffer,e);const t=[];let r=0;while(ri.OPS.OP_0&&n<=i.OPS.OP_PUSHDATA4){const n=a.decode(e,r);if(null===n)return null;if(r+=n.size,r+n.number>e.length)return null;const o=e.slice(r,r+n.number);r+=n.number;const i=g(o);void 0!==i?t.push(i):t.push(o)}else t.push(n),r+=1}return t}function E(e){return y(e)&&(e=_(e)),e.map((e=>{if(b(e)){const t=g(e);if(void 0===t)return e.toString("hex");e=t}return i.REVERSE_OPS[e]})).join(" ")}function A(e){return l(u.String,e),w(e.split(" ").map((e=>void 0!==i.OPS[e]?i.OPS[e]:(l(u.Hex,e),n.from(e,"hex")))))}function S(e){return e=_(e),l(p,e),e.map((e=>b(e)?e:e===i.OPS.OP_0?n.allocUnsafe(0):s.encode(e-d)))}function T(e){return u.isPoint(e)}function x(e){const t=-129&e;return t>0&&t<4}function C(e){return!!n.isBuffer(e)&&(!!x(e[e.length-1])&&o.check(e.slice(0,-1)))}t.isPushOnly=p,t.countNonPushOnlyOPs=m,t.compile=w,t.decompile=_,t.toASM=E,t.fromASM=A,t.toStack=S,t.isCanonicalPubKey=T,t.isDefinedHashType=x,t.isCanonicalScriptSignature=C,t.number=s,t.signature=c},19464:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];function o(e,t,r){t=t||4,r=void 0===r||r;const n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0===(127&e[n-1])&&(n<=1||0===(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){const t=e.readUInt32LE(0),r=e.readUInt8(4);return 128&r?-(4294967296*(-129&r)+t):4294967296*r+t}let o=0;for(let i=0;i2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function a(e){let t=Math.abs(e);const r=i(t),o=n.allocUnsafe(r),a=e<0;for(let n=0;n>=8;return 128&o[r-1]?o.writeUInt8(a?128:0,r-1):a&&(o[r-1]|=128),o}Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=void 0,t.decode=o,t.encode=a},41043:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=void 0;const o=r(13966),i=r(98116),{typeforce:a}=i,s=n.alloc(1,0);function c(e){let t=0;while(0===e[t])++t;return t===e.length?s:(e=e.slice(t),128&e[0]?n.concat([s,e],1+e.length):e)}function u(e){0===e[0]&&(e=e.slice(1));const t=n.alloc(32,0),r=Math.max(0,32-e.length);return e.copy(t,r),t}function l(e){const t=e.readUInt8(e.length-1),r=-129&t;if(r<=0||r>=4)throw new Error("Invalid hashType "+t);const i=o.decode(e.slice(0,-1)),a=u(i.r),s=u(i.s),c=n.concat([a,s],64);return{signature:c,hashType:t}}function d(e,t){a({signature:i.BufferN(64),hashType:i.UInt8},{signature:e,hashType:t});const r=-129&t;if(r<=0||r>=4)throw new Error("Invalid hashType "+t);const s=n.allocUnsafe(1);s.writeUInt8(t,0);const u=c(e.slice(0,32)),l=c(e.slice(32,64));return n.concat([o.encode(u,l),s])}t.decode=l,t.encode=d},22021:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Transaction=void 0;const o=r(30606),i=r(91944),a=r(67038),s=r(67038),c=r(98116),{typeforce:u}=c;function l(e){const t=e.length;return o.varuint.encodingLength(t)+t}function d(e){const t=e.length;return o.varuint.encodingLength(t)+e.reduce(((e,t)=>e+l(t)),0)}const f=n.allocUnsafe(0),h=[],p=n.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),m=n.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),g=n.from("ffffffffffffffff","hex"),y={script:f,valueBuffer:g};function v(e){return void 0!==e.value}class b{constructor(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}static fromBuffer(e,t){const r=new o.BufferReader(e),n=new b;n.version=r.readInt32();const i=r.readUInt8(),a=r.readUInt8();let s=!1;i===b.ADVANCED_TRANSACTION_MARKER&&a===b.ADVANCED_TRANSACTION_FLAG?s=!0:r.offset-=2;const c=r.readVarInt();for(let o=0;o0!==e.witness.length))}weight(){const e=this.byteLength(!1),t=this.byteLength(!0);return 3*e+t}virtualSize(){return Math.ceil(this.weight()/4)}byteLength(e=!0){const t=e&&this.hasWitnesses();return(t?10:8)+o.varuint.encodingLength(this.ins.length)+o.varuint.encodingLength(this.outs.length)+this.ins.reduce(((e,t)=>e+40+l(t.script)),0)+this.outs.reduce(((e,t)=>e+8+l(t.script)),0)+(t?this.ins.reduce(((e,t)=>e+d(t.witness)),0):0)}clone(){const e=new b;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map((e=>({hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}))),e.outs=this.outs.map((e=>({script:e.script,value:e.value}))),e}hashForSignature(e,t,r){if(u(c.tuple(c.UInt32,c.Buffer,c.Number),arguments),e>=this.ins.length)return m;const o=a.compile(a.decompile(t).filter((e=>e!==s.OPS.OP_CODESEPARATOR))),l=this.clone();if((31&r)===b.SIGHASH_NONE)l.outs=[],l.ins.forEach(((t,r)=>{r!==e&&(t.sequence=0)}));else if((31&r)===b.SIGHASH_SINGLE){if(e>=this.outs.length)return m;l.outs.length=e+1;for(let t=0;t{r!==e&&(t.sequence=0)}))}r&b.SIGHASH_ANYONECANPAY?(l.ins=[l.ins[e]],l.ins[0].script=o):(l.ins.forEach((e=>{e.script=f})),l.ins[e].script=o);const d=n.allocUnsafe(l.byteLength(!1)+4);return d.writeInt32LE(r,d.length-4),l.__toBuffer(d,0,!1),i.hash256(d)}hashForWitnessV1(e,t,r,a,s,d){if(u(c.tuple(c.UInt32,u.arrayOf(c.Buffer),u.arrayOf(c.Satoshi),c.UInt32),arguments),r.length!==this.ins.length||t.length!==this.ins.length)throw new Error("Must supply prevout script and value for all inputs");const h=a===b.SIGHASH_DEFAULT?b.SIGHASH_ALL:a&b.SIGHASH_OUTPUT_MASK,p=a&b.SIGHASH_INPUT_MASK,m=p===b.SIGHASH_ANYONECANPAY,g=h===b.SIGHASH_NONE,y=h===b.SIGHASH_SINGLE;let v=f,w=f,_=f,E=f,A=f;if(!m){let e=o.BufferWriter.withCapacity(36*this.ins.length);this.ins.forEach((t=>{e.writeSlice(t.hash),e.writeUInt32(t.index)})),v=i.sha256(e.end()),e=o.BufferWriter.withCapacity(8*this.ins.length),r.forEach((t=>e.writeUInt64(t))),w=i.sha256(e.end()),e=o.BufferWriter.withCapacity(t.map(l).reduce(((e,t)=>e+t))),t.forEach((t=>e.writeVarSlice(t))),_=i.sha256(e.end()),e=o.BufferWriter.withCapacity(4*this.ins.length),this.ins.forEach((t=>e.writeUInt32(t.sequence))),E=i.sha256(e.end())}if(g||y){if(y&&e8+l(e.script))).reduce(((e,t)=>e+t)),t=o.BufferWriter.withCapacity(e);this.outs.forEach((e=>{t.writeUInt64(e.value),t.writeVarSlice(e.script)})),A=i.sha256(t.end())}const S=(s?2:0)+(d?1:0),T=174-(m?49:0)-(g?32:0)+(d?32:0)+(s?37:0),x=o.BufferWriter.withCapacity(T);if(x.writeUInt8(a),x.writeInt32(this.version),x.writeUInt32(this.locktime),x.writeSlice(v),x.writeSlice(w),x.writeSlice(_),x.writeSlice(E),g||y||x.writeSlice(A),x.writeUInt8(S),m){const n=this.ins[e];x.writeSlice(n.hash),x.writeUInt32(n.index),x.writeUInt64(r[e]),x.writeVarSlice(t[e]),x.writeUInt32(n.sequence)}else x.writeUInt32(e);if(d){const e=o.BufferWriter.withCapacity(l(d));e.writeVarSlice(d),x.writeSlice(i.sha256(e.end()))}return y&&x.writeSlice(A),s&&(x.writeSlice(s),x.writeUInt8(0),x.writeUInt32(4294967295)),i.taggedHash("TapSighash",n.concat([n.from([0]),x.end()]))}hashForWitnessV0(e,t,r,a){u(c.tuple(c.UInt32,c.Buffer,c.Satoshi,c.UInt32),arguments);let s,d=n.from([]),f=p,h=p,m=p;if(a&b.SIGHASH_ANYONECANPAY||(d=n.allocUnsafe(36*this.ins.length),s=new o.BufferWriter(d,0),this.ins.forEach((e=>{s.writeSlice(e.hash),s.writeUInt32(e.index)})),h=i.hash256(d)),a&b.SIGHASH_ANYONECANPAY||(31&a)===b.SIGHASH_SINGLE||(31&a)===b.SIGHASH_NONE||(d=n.allocUnsafe(4*this.ins.length),s=new o.BufferWriter(d,0),this.ins.forEach((e=>{s.writeUInt32(e.sequence)})),m=i.hash256(d)),(31&a)!==b.SIGHASH_SINGLE&&(31&a)!==b.SIGHASH_NONE){const e=this.outs.reduce(((e,t)=>e+8+l(t.script)),0);d=n.allocUnsafe(e),s=new o.BufferWriter(d,0),this.outs.forEach((e=>{s.writeUInt64(e.value),s.writeVarSlice(e.script)})),f=i.hash256(d)}else if((31&a)===b.SIGHASH_SINGLE&&e{i.writeSlice(e.hash),i.writeUInt32(e.index),i.writeVarSlice(e.script),i.writeUInt32(e.sequence)})),i.writeVarInt(this.outs.length),this.outs.forEach((e=>{v(e)?i.writeUInt64(e.value):i.writeSlice(e.valueBuffer),i.writeVarSlice(e.script)})),a&&this.ins.forEach((e=>{i.writeVector(e.witness)})),i.writeUInt32(this.locktime),void 0!==t?e.slice(t,i.offset):e}}t.Transaction=b,b.DEFAULT_SEQUENCE=4294967295,b.SIGHASH_DEFAULT=0,b.SIGHASH_ALL=1,b.SIGHASH_NONE=2,b.SIGHASH_SINGLE=3,b.SIGHASH_ANYONECANPAY=128,b.SIGHASH_OUTPUT_MASK=3,b.SIGHASH_INPUT_MASK=128,b.ADVANCED_TRANSACTION_MARKER=0,b.ADVANCED_TRANSACTION_FLAG=1},98116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oneOf=t.Null=t.BufferN=t.Function=t.UInt32=t.UInt8=t.tuple=t.maybe=t.Hex=t.Buffer=t.String=t.Boolean=t.Array=t.Number=t.Hash256bit=t.Hash160bit=t.Buffer256bit=t.isTaptree=t.isTapleaf=t.TAPLEAF_VERSION_MASK=t.Network=t.ECPoint=t.Satoshi=t.Signer=t.BIP32Path=t.UInt31=t.isPoint=t.typeforce=void 0;const n=r(48287);t.typeforce=r(8676);const o=n.Buffer.alloc(32,0),i=n.Buffer.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex");function a(e){if(!n.Buffer.isBuffer(e))return!1;if(e.length<33)return!1;const t=e[0],r=e.slice(1,33);if(0===r.compare(o))return!1;if(r.compare(i)>=0)return!1;if((2===t||3===t)&&33===e.length)return!0;const a=e.slice(33);return 0!==a.compare(o)&&(!(a.compare(i)>=0)&&(4===t&&65===e.length))}t.isPoint=a;const s=Math.pow(2,31)-1;function c(e){return t.typeforce.UInt32(e)&&e<=s}function u(e){return t.typeforce.String(e)&&!!e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function l(e){return(t.typeforce.Buffer(e.publicKey)||"function"===typeof e.getPublicKey)&&"function"===typeof e.sign}t.UInt31=c,t.BIP32Path=u,u.toJSON=()=>"BIP32 derivation path",t.Signer=l;const d=21e14;function f(e){return t.typeforce.UInt53(e)&&e<=d}function h(e){return!(!e||!("output"in e))&&(!!n.Buffer.isBuffer(e.output)&&(void 0===e.version||(e.version&t.TAPLEAF_VERSION_MASK)===e.version))}function p(e){return(0,t.Array)(e)?2===e.length&&e.every((e=>p(e))):h(e)}t.Satoshi=f,t.ECPoint=t.typeforce.quacksLike("Point"),t.Network=t.typeforce.compile({messagePrefix:t.typeforce.oneOf(t.typeforce.Buffer,t.typeforce.String),bip32:{public:t.typeforce.UInt32,private:t.typeforce.UInt32},pubKeyHash:t.typeforce.UInt8,scriptHash:t.typeforce.UInt8,wif:t.typeforce.UInt8}),t.TAPLEAF_VERSION_MASK=254,t.isTapleaf=h,t.isTaptree=p,t.Buffer256bit=t.typeforce.BufferN(32),t.Hash160bit=t.typeforce.BufferN(20),t.Hash256bit=t.typeforce.BufferN(32),t.Number=t.typeforce.Number,t.Array=t.typeforce.Array,t.Boolean=t.typeforce.Boolean,t.String=t.typeforce.String,t.Buffer=t.typeforce.Buffer,t.Hex=t.typeforce.Hex,t.maybe=t.typeforce.maybe,t.tuple=t.typeforce.tuple,t.UInt8=t.typeforce.UInt8,t.UInt32=t.typeforce.UInt32,t.Function=t.typeforce.Function,t.BufferN=t.typeforce.BufferN,t.Null=t.typeforce.Null,t.oneOf=t.typeforce.oneOf},74156:(e,t,r)=>{const n=r(20829);function o(e,t,r){const n=e[t]+e[r];let o=e[t+1]+e[r+1];n>=4294967296&&o++,e[t]=n,e[t+1]=o}function i(e,t,r,n){let o=e[t]+r;r<0&&(o+=4294967296);let i=e[t+1]+n;o>=4294967296&&i++,e[t]=o,e[t+1]=i}function a(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function s(e,t,r,n,a,s){const c=f[a],u=f[a+1],l=f[s],h=f[s+1];o(d,e,t),i(d,e,c,u);let p=d[n]^d[e],m=d[n+1]^d[e+1];d[n]=m,d[n+1]=p,o(d,r,n),p=d[t]^d[r],m=d[t+1]^d[r+1],d[t]=p>>>24^m<<8,d[t+1]=m>>>24^p<<8,o(d,e,t),i(d,e,l,h),p=d[n]^d[e],m=d[n+1]^d[e+1],d[n]=p>>>16^m<<16,d[n+1]=m>>>16^p<<16,o(d,r,n),p=d[t]^d[r],m=d[t+1]^d[r+1],d[t]=m>>>31^p<<1,d[t+1]=p>>>31^m<<1}const c=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],l=new Uint8Array(u.map((function(e){return 2*e}))),d=new Uint32Array(32),f=new Uint32Array(32);function h(e,t){let r=0;for(r=0;r<16;r++)d[r]=e.h[r],d[r+16]=c[r];for(d[24]=d[24]^e.t,d[25]=d[25]^e.t/4294967296,t&&(d[28]=~d[28],d[29]=~d[29]),r=0;r<32;r++)f[r]=a(e.b,4*r);for(r=0;r<12;r++)s(0,8,16,24,l[16*r+0],l[16*r+1]),s(2,10,18,26,l[16*r+2],l[16*r+3]),s(4,12,20,28,l[16*r+4],l[16*r+5]),s(6,14,22,30,l[16*r+6],l[16*r+7]),s(0,10,20,30,l[16*r+8],l[16*r+9]),s(2,12,22,24,l[16*r+10],l[16*r+11]),s(4,14,16,26,l[16*r+12],l[16*r+13]),s(6,8,18,28,l[16*r+14],l[16*r+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^d[r]^d[r+16]}const p=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function m(e,t,r,n){if(0===e||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(r&&16!==r.length)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(n&&16!==n.length)throw new Error("Illegal personal, expected Uint8Array with length is 16");const o={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e};p.fill(0),p[0]=e,t&&(p[1]=t.length),p[2]=1,p[3]=1,r&&p.set(r,32),n&&p.set(n,48);for(let i=0;i<16;i++)o.h[i]=c[i]^a(p,4*i);return t&&(g(o,t),o.c=128),o}function g(e,t){for(let r=0;r>2]>>8*(3&r);return t}function v(e,t,r,o,i){r=r||64,e=n.normalizeInput(e),o&&(o=n.normalizeInput(o)),i&&(i=n.normalizeInput(i));const a=m(r,t,o,i);return g(a,e),y(a)}function b(e,t,r,o,i){const a=v(e,t,r,o,i);return n.toHex(a)}e.exports={blake2b:v,blake2bHex:b,blake2bInit:m,blake2bUpdate:g,blake2bFinal:y}},20829:e=>{const t="Input must be an string, Buffer or Uint8Array";function r(e){let r;if(e instanceof Uint8Array)r=e;else{if("string"!==typeof e)throw new Error(t);{const t=new TextEncoder;r=t.encode(e)}}return r}function n(e){return Array.prototype.map.call(e,(function(e){return(e<16?"0":"")+e.toString(16)})).join("")}function o(e){return(4294967296+e).toString(16).substring(1)}function i(e,t,r){let n="\n"+e+" = ";for(let i=0;i{const n=r(95364),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";e.exports=n(o)},59204:(e,t,r)=>{"use strict";var n=r(16763);e.exports=function(e){function t(t){var r=Uint8Array.from(t),o=e(r),i=r.length+4,a=new Uint8Array(i);return a.set(r,0),a.set(o.subarray(0,4),r.length),n.encode(a,i)}function r(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}function o(e){var t=n.decodeUnsafe(e);if(t)return r(t)}function i(t){var o=n.decode(t),i=r(o,e);if(!i)throw new Error("Invalid checksum");return i}return{encode:t,decode:i,decodeUnsafe:o}}},91889:(e,t,r)=>{"use strict";var{sha256:n}=r(22623),o=r(59204);function i(e){return n(n(e))}e.exports=o(i)},67131:(e,t,r)=>{var n=r(48287)["Buffer"];(function(){"use strict";function t(e){var t;return t=e instanceof n?e:n.from(e.toString(),"binary"),t.toString("base64")}e.exports=t})()},48287:(e,t,r)=>{"use strict"; +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */const n=r(67526),o=r(251),i="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function c(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return l(e,t,r)}function l(e,t,r){if("string"===typeof e)return p(e,t);if(ArrayBuffer.isView(e))return g(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ae(e,ArrayBuffer)||e&&ae(e.buffer,ArrayBuffer))return y(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(ae(e,SharedArrayBuffer)||e&&ae(e.buffer,SharedArrayBuffer)))return y(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const o=v(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.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 d(e){if("number"!==typeof e)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 f(e,t,r){return d(e),e<=0?c(e):void 0!==t?"string"===typeof r?c(e).fill(t,r):c(e).fill(t):c(e)}function h(e){return d(e),c(e<0?0:0|b(e))}function p(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|_(e,t);let n=c(r);const o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function m(e){const t=e.length<0?0:0|b(e.length),r=c(t);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function w(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ae(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return oe(e).length;default:if(o)return n?-1:te(e).length;t=(""+t).toLowerCase(),o=!0}}function E(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return N(this,t,r);case"ascii":return B(this,t,r);case"latin1":case"binary":return L(this,t,r);case"base64":return k(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function A(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,se(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("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:T(e,t,r,n,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,n,o){let i,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let n=-1;for(i=r;is&&(r=s-c),i=r;i>=0;i--){let r=!0;for(let n=0;no&&(n=o)):n=o;const i=t.length;let a;for(n>i/2&&(n=i/2),a=0;a239?4:t>223?3:t>191?2:1;if(o+a<=r){let r,n,s,c;switch(a){case 1:t<128&&(i=t);break;case 2:r=e[o+1],128===(192&r)&&(c=(31&t)<<6|63&r,c>127&&(i=c));break;case 3:r=e[o+1],n=e[o+2],128===(192&r)&&128===(192&n)&&(c=(15&t)<<12|(63&r)<<6|63&n,c>2047&&(c<55296||c>57343)&&(i=c));break;case 4:r=e[o+1],n=e[o+2],s=e[o+3],128===(192&r)&&128===(192&n)&&128===(192&s)&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,c>65535&&c<1114112&&(i=c))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return M(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=s(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return f(e,t,r)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(ae(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),ae(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,o)}o+=t.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(ae(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(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(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,a=r-t;const s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r);for(let u=0;u>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-t;if((void 0===r||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");let i=!1;for(;;)switch(n){case"hex":return x(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":case"latin1":case"binary":return I(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const R=4096;function M(e){const t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);let r="",n=0;while(nn)&&(r=n);let o="";for(let i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,r,n,o,i){if(!u.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 $(e,t,r,n,o){Z(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function z(e,t,r,n,o){Z(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function H(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 V(e,t,r,n,i){return t=+t,r>>>=0,i||H(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function G(e,t,r,n,i){return t=+t,r>>>=0,i||H(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],o=1,i=0;while(++i>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e+--t],o=1;while(t>0&&(o*=256))n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=ue((function(e){e>>>=0,Y(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Q(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(o)<>>=0,Y(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Q(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||j(e,t,this.length);let n=this[e],o=1,i=0;while(++i=o&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);let n=t,o=1,i=this[e+--n];while(n>0&&(o*=256))i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=ue((function(e){e>>>=0,Y(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Q(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<>>=0,Y(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||Q(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||j(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;U(this,e,t,r,n,0)}let o=1,i=0;this[t]=255&e;while(++i>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;U(this,e,t,r,n,0)}let o=r-1,i=1;this[t+o]=255&e;while(--o>=0&&(i*=256))this[t+o]=e/i&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeBigUInt64LE=ue((function(e,t=0){return $(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=ue((function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);U(this,e,t,r,n-1,-n)}let o=0,i=1,a=0;this[t]=255&e;while(++o>>=0,!n){const n=Math.pow(2,8*r-1);U(this,e,t,r,n-1,-n)}let o=r-1,i=1,a=0;this[t+o]=255&e;while(--o>=0&&(i*=256))e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeBigInt64LE=ue((function(e,t=0){return $(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=ue((function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,r){return V(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return V(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(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,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function X(e,t,r){Y(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||Q(t,e.length-(r+1))}function Z(e,t,r,n,o,i){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new q.ERR_OUT_OF_RANGE("value",o,e)}X(n,o,i)}function Y(e,t){if("number"!==typeof e)throw new q.ERR_INVALID_ARG_TYPE(t,"number",e)}function Q(e,t,r){if(Math.floor(e)!==e)throw Y(e,r),new q.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new q.ERR_BUFFER_OUT_OF_BOUNDS;throw new q.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}W("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),W("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),W("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=K(String(r)):"bigint"===typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=K(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n}),RangeError);const J=/[^+/0-9A-Za-z-_]/g;function ee(e){if(e=e.split("=")[0],e=e.trim().replace(J,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function te(e,t){let r;t=t||1/0;const n=e.length;let o=null;const i=[];for(let a=0;a55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+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 re(e){const t=[];for(let r=0;r>8,o=r%256,i.push(o),i.push(n)}return i}function oe(e){return n.toByteArray(ee(e))}function ie(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length)break;t[o+r]=e[o]}return o}function ae(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function se(e){return e!==e}const ce=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function ue(e){return"undefined"===typeof BigInt?le:e}function le(){throw new Error("BigInt not supported")}},38075:(e,t,r)=>{"use strict";var n=r(70453),o=r(10487),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&i(e,".prototype.")>-1?o(r):r}},10487:(e,t,r)=>{"use strict";var n=r(66743),o=r(70453),i=r(96897),a=r(69675),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(c,s),l=r(30655),d=o("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new a("a function is required");var t=u(n,c,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var f=function(){return u(n,s,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},43089:(e,t,r)=>{var n=r(92341),o=r(48089);e.exports=function e(t){return t?t instanceof Date?t:Array.isArray(t)?t.map((function(t){return e(t)})):"object"===typeof t?o(t,(function(r,o){var i=n(r);if(r!==i&&i in t)throw new Error("Camelcased key `"+i+"` would overwrite existing key of the given JSON object");return[i,e(o)]})):t:t}},92341:e=>{"use strict";function t(e){for(var t=!1,r=0;r{"use strict";e.exports=function e(t){if("number"===typeof t&&isNaN(t))throw new Error("NaN is not allowed");if("number"===typeof t&&!isFinite(t))throw new Error("Infinity is not allowed");if(null===t||"object"!==typeof t)return JSON.stringify(t);if(t.toJSON instanceof Function)return e(t.toJSON());if(Array.isArray(t)){const r=t.reduce(((t,r,n)=>{const o=0===n?"":",",i=void 0===r||"symbol"===typeof r?null:r;return`${t}${o}${e(i)}`}),"");return`[${r}]`}const r=Object.keys(t).sort().reduce(((r,n)=>{if(void 0===t[n]||"symbol"===typeof t[n])return r;const o=0===r.length?"":",";return`${r}${o}${e(n)}:${e(t[n])}`}),"");return`{${r}}`}},56168:(e,t,r)=>{var n=r(92861).Buffer,o=r(88310).Transform,i=r(83141).I,a=r(56698);function s(e){o.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(s,o),s.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(o){n=o}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},57427:(e,t)=>{"use strict"; +/*! + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */t.parse=i,t.serialize=a;var r=decodeURIComponent,n=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},i=e.split(";"),a=o.decode||r,c=0;c{(function(e){"undefined"===typeof DO_NOT_EXPORT_CRC?e(t):e({})})((function(e){function t(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=r,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.2";var r=t();function n(e){var t=0,r=0,n=0,o="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)o[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=o[t]=r>>>8^e[255&r];var i=[];for(n=1;16!=n;++n)i[n-1]="undefined"!==typeof Int32Array?o.subarray(256*n,256*n+256):o.slice(256*n,256*n+256);return i}var o=n(r),i=o[0],a=o[1],s=o[2],c=o[3],u=o[4],l=o[5],d=o[6],f=o[7],h=o[8],p=o[9],m=o[10],g=o[11],y=o[12],v=o[13],b=o[14];function w(e,t){for(var n=~t,o=0,i=e.length;o>>8^r[255&(n^e.charCodeAt(o++))];return~n}function _(e,t){for(var n=~t,o=e.length-15,w=0;w>8&255]^y[e[w++]^n>>16&255]^g[e[w++]^n>>>24]^m[e[w++]]^p[e[w++]]^h[e[w++]]^f[e[w++]]^d[e[w++]]^l[e[w++]]^u[e[w++]]^c[e[w++]]^s[e[w++]]^a[e[w++]]^i[e[w++]]^r[e[w++]];o+=15;while(w>>8^r[255&(n^e[w++])];return~n}function E(e,t){for(var n=~t,o=0,i=e.length,a=0,s=0;o>>8^r[255&(n^a)]:a<2048?(n=n>>>8^r[255&(n^(192|a>>6&31))],n=n>>>8^r[255&(n^(128|63&a))]):a>=55296&&a<57344?(a=64+(1023&a),s=1023&e.charCodeAt(o++),n=n>>>8^r[255&(n^(240|a>>8&7))],n=n>>>8^r[255&(n^(128|a>>2&63))],n=n>>>8^r[255&(n^(128|s>>6&15|(3&a)<<4))],n=n>>>8^r[255&(n^(128|63&s))]):(n=n>>>8^r[255&(n^(224|a>>12&15))],n=n>>>8^r[255&(n^(128|a>>6&63))],n=n>>>8^r[255&(n^(128|63&a))]);return~n}e.table=r,e.bstr=w,e.buf=_,e.str=E}))},47108:(e,t,r)=>{"use strict";var n=r(56698),o=r(88276),i=r(66011),a=r(62802),s=r(56168);function c(e){s.call(this,"digest"),this._hash=e}n(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return e=e.toLowerCase(),"md5"===e?new o:"rmd160"===e||"ripemd160"===e?new i:new c(a(e))}},20320:(e,t,r)=>{var n=r(88276);e.exports=function(e){return(new n).update(e).digest()}},86547:function(){(function(e){(function(t){var r={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function n(e){return e&&DataView.prototype.isPrototypeOf(e)}if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function s(e){return"string"!==typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function u(e){this.map={},e instanceof u?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function f(e){var t=new FileReader,r=d(t);return t.readAsArrayBuffer(e),r}function h(e){var t=new FileReader,r=d(t);return t.readAsText(e),r}function p(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?t:e}function b(e,t){t=t||{};var r=t.body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=v(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function _(e){var t=new u,r=e.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var A=[301,302,303,307,308];E.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(T){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,n){return new Promise((function(o,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:_(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;o(new E(t,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&r.blob&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=u,e.Request=b,e.Response=E),t.Headers=u,t.Request=b,t.Response=E,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})})({})})("undefined"!==typeof self?self:this)},74353:function(e){!function(t,r){e.exports=r()}(0,(function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",c="week",u="month",l="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},S=function(e,t){if(E(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},T=v;T.l=A,T.i=E,T.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function g(e){this.$L=A(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return T},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=S(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return S(e)0,g<=m.r||!m.r){g<=1&&p>0&&(m=f[p-1]);var y=d[m.l];s&&(g=s(""+g)),u="string"==typeof y?y.replace("%d",g):y(g,n,m.l,l);break}}if(n)return u;var v=l?d.future:d.past;return"function"==typeof v?v(u):v.replace("%s",u)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}))},30041:(e,t,r)=>{"use strict";var n=r(30655),o=r(58068),i=r(69675),a=r(75795);e.exports=function(e,t,r){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new i("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===c&&d?d.writable:!c});else{if(!l&&(s||c||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},48468:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p});var n=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.ECPairFactory=t.networks=void 0;const o=r(95249);t.networks=o;const i=r(90953),a=r(53209),s=r(57513),c=r(80709),u=i.typeforce.maybe(i.typeforce.compile({compressed:i.maybe(i.Boolean),network:i.maybe(i.Network)})),l=e=>32===e.length?e:e.slice(1,33);function d(e){function t(t){return e.isPoint(t)}function r(t,r){if(i.typeforce(i.Buffer256bit,t),!e.isPrivate(t))throw new TypeError("Private key not in range [1, n)");return i.typeforce(u,r),new p(t,void 0,r)}function d(t,r){return i.typeforce(e.isPoint,t),i.typeforce(u,r),new p(void 0,t,r)}function f(e,t){const n=s.decode(e),a=n.version;if(i.Array(t)){if(t=t.filter((e=>a===e.wif)).pop(),!t)throw new Error("Unknown network version")}else if(t=t||o.bitcoin,a!==t.wif)throw new Error("Invalid network version");return r(n.privateKey,{compressed:n.compressed,network:t})}function h(t){i.typeforce(u,t),void 0===t&&(t={});const n=t.rng||a;let o;do{o=n(32),i.typeforce(i.Buffer256bit,o)}while(!e.isPrivate(o));return r(o,t)}(0,c.testEcc)(e);class p{__D;__Q;compressed;network;lowR;constructor(t,r,i){this.__D=t,this.__Q=r,this.lowR=!1,void 0===i&&(i={}),this.compressed=void 0===i.compressed||i.compressed,this.network=i.network||o.bitcoin,void 0!==r&&(this.__Q=n.from(e.pointCompress(r,this.compressed)))}get privateKey(){return this.__D}get publicKey(){if(!this.__Q){const t=e.pointFromScalar(this.__D,this.compressed);this.__Q=n.from(t)}return this.__Q}toWIF(){if(!this.__D)throw new Error("Missing private key");return s.encode(this.network.wif,this.__D,this.compressed)}tweak(e){return this.privateKey?this.tweakFromPrivateKey(e):this.tweakFromPublicKey(e)}sign(t,r){if(!this.__D)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return n.from(e.sign(t,this.__D));{let r=e.sign(t,this.__D);const o=n.alloc(32,0);let i=0;while(r[0]>127)i++,o.writeUIntLE(i,0,6),r=e.sign(t,this.__D,o);return n.from(r)}}signSchnorr(t){if(!this.privateKey)throw new Error("Missing private key");if(!e.signSchnorr)throw new Error("signSchnorr not supported by ecc library");return n.from(e.signSchnorr(t,this.privateKey))}verify(t,r){return e.verify(t,this.publicKey,r)}verifySchnorr(t,r){if(!e.verifySchnorr)throw new Error("verifySchnorr not supported by ecc library");return e.verifySchnorr(t,this.publicKey.subarray(1,33),r)}tweakFromPublicKey(t){const r=l(this.publicKey),o=e.xOnlyPointAddTweak(r,t);if(!o||null===o.xOnlyPubkey)throw new Error("Cannot tweak public key!");const i=n.from([0===o.parity?2:3]);return d(n.concat([i,o.xOnlyPubkey]),{network:this.network,compressed:this.compressed})}tweakFromPrivateKey(t){const o=3===this.publicKey[0]||4===this.publicKey[0]&&1===(1&this.publicKey[64]),i=o?e.privateNegate(this.privateKey):this.privateKey,a=e.privateAdd(i,t);if(!a)throw new Error("Invalid tweaked private key!");return r(n.from(a),{network:this.network,compressed:this.compressed})}}return{isPoint:t,fromPrivateKey:r,fromPublicKey:d,fromWIF:f,makeRandom:h}}t.ECPairFactory=d},38700:(e,t,r)=>{"use strict";t.Ay=void 0;var n=r(25170);Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return n.ECPairFactory}})},95249:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testnet=t.bitcoin=void 0,t.bitcoin={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},t.testnet={messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}},80709:(e,t,r)=>{"use strict";var n=r(48287)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.testEcc=void 0;const o=e=>n.from(e,"hex");function i(e){a(e.isPoint(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(!e.isPoint(o("030000000000000000000000000000000000000000000000000000000000000005"))),a(e.isPrivate(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(!e.isPrivate(o("0000000000000000000000000000000000000000000000000000000000000000"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142"))),a(n.from(e.privateAdd(o("0000000000000000000000000000000000000000000000000000000000000001"),o("0000000000000000000000000000000000000000000000000000000000000000"))).equals(o("0000000000000000000000000000000000000000000000000000000000000001"))),a(null===e.privateAdd(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"),o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateAdd(o("e211078564db65c3ce7704f08262b1f38f1ef412ad15b5ac2d76657a63b2c500"),o("b51fbb69051255d1becbd683de5848242a89c229348dd72896a87ada94ae8665"))).equals(o("9730c2ee69edbb958d42db7460bafa18fef9d955325aec99044c81c8282b0a24"))),a(n.from(e.privateNegate(o("0000000000000000000000000000000000000000000000000000000000000001"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(n.from(e.privateNegate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"))).equals(o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateNegate(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("4eede1bf775995d70a494f0a7bb6bc11e0b8cccd41cce8009ab1132c8b0a3792"))),a(n.from(e.pointCompress(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"),!0)).equals(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(n.from(e.pointCompress(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"),!1)).equals(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"))),a(n.from(e.pointCompress(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),!0)).equals(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(n.from(e.pointCompress(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),!1)).equals(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"))),a(n.from(e.pointFromScalar(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99"))),a(null===e.xOnlyPointAddTweak(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140")));let t=e.xOnlyPointAddTweak(o("1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b"),o("a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac"));a(n.from(t.xOnlyPubkey).equals(o("e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"))&&1===t.parity),t=e.xOnlyPointAddTweak(o("2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991"),o("823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47")),a(n.from(t.xOnlyPubkey).equals(o("9534f8dc8c6deda2dc007655981c78b49c5d96c778fbf363462a11ec9dfd948c"))&&0===t.parity),a(n.from(e.sign(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))).equals(o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),a(e.verify(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),e.signSchnorr&&a(n.from(e.signSchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9"),o("c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906"))).equals(o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7"))),e.verifySchnorr&&a(e.verifySchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8"),o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7")))}function a(e){if(!e)throw new Error("ecc library invalid")}t.testEcc=i},90953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybe=t.Boolean=t.Array=t.Buffer256bit=t.Network=t.typeforce=void 0,t.typeforce=r(8676),t.Network=t.typeforce.compile({messagePrefix:t.typeforce.oneOf(t.typeforce.Buffer,t.typeforce.String),bip32:{public:t.typeforce.UInt32,private:t.typeforce.UInt32},pubKeyHash:t.typeforce.UInt8,scriptHash:t.typeforce.UInt8,wif:t.typeforce.UInt8}),t.Buffer256bit=t.typeforce.BufferN(32),t.Array=t.typeforce.Array,t.Boolean=t.typeforce.Boolean,t.maybe=t.typeforce.maybe},30655:(e,t,r)=>{"use strict";var n=r(70453),o=n("%Object.defineProperty%",!0)||!1;if(o)try{o({},"a",{value:1})}catch(i){o=!1}e.exports=o},41237:e=>{"use strict";e.exports=EvalError},69383:e=>{"use strict";e.exports=Error},79290:e=>{"use strict";e.exports=RangeError},79538:e=>{"use strict";e.exports=ReferenceError},58068:e=>{"use strict";e.exports=SyntaxError},69675:e=>{"use strict";e.exports=TypeError},35345:e=>{"use strict";e.exports=URIError},30228:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,a){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new o(n,i||e,a),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o{"use strict";var t,r="object"===typeof Reflect?Reflect:null,n=r&&"function"===typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function o(e){console&&console.warn&&console.warn(e)}t=r&&"function"===typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function a(){a.init.call(this)}e.exports=a,e.exports.once=v,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,a,s;if(c(r),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"===typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=u(e),i>0&&s.length>i&&!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,o(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function h(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"===typeof o?r?[o.listener||o]:[o]:r?y(o):m(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)n(c,this,t);else{var u=c.length,l=m(c,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():g(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},89353:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,n=Math.max,o="[object Function]",i=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(89353);e.exports=Function.prototype.bind||n},70453:(e,t,r)=>{"use strict";var n,o=r(69383),i=r(41237),a=r(79290),s=r(79538),c=r(58068),u=r(69675),l=r(35345),d=Function,f=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(L){h=null}var p=function(){throw new u},m=h?function(){try{return p}catch(e){try{return h(arguments,"callee").get}catch(t){return p}}}():p,g=r(64039)(),y=r(80024)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},w="undefined"!==typeof Uint8Array&&v?v(Uint8Array):n,_={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&v?v((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&v?v((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":u,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(v)try{null.error}catch(L){var E=v(v(L));_["%Error.prototype%"]=E}var A=function e(t){var r;if("%AsyncFunction%"===t)r=f("async function () {}");else if("%GeneratorFunction%"===t)r=f("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=f("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&v&&(r=v(o.prototype))}return _[t]=r,r},S={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=r(66743),x=r(9957),C=T.call(Function.call,Array.prototype.concat),I=T.call(Function.apply,Array.prototype.splice),O=T.call(Function.call,String.prototype.replace),P=T.call(Function.call,String.prototype.slice),k=T.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,M=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return O(e,N,(function(e,t,r,o){n[n.length]=r?O(o,R,"$1"):t||e})),n},B=function(e,t){var r,n=e;if(x(S,n)&&(r=S[n],n="%"+r[0]+"%"),x(_,n)){var o=_[n];if(o===b&&(o=A(n)),"undefined"===typeof o&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=M(e),n=r.length>0?r[0]:"",o=B("%"+n+"%",t),i=o.name,a=o.value,s=!1,l=o.alias;l&&(n=l[0],I(r,C([0,1],l)));for(var d=1,f=!0;d=r.length){var y=h(a,p);f=!!y,a=f&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else f=x(a,p),a=a[p];f&&!s&&(_[i]=a)}}return a}},75795:(e,t,r)=>{"use strict";var n=r(70453),o=n("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(i){o=null}e.exports=o},30592:(e,t,r)=>{"use strict";var n=r(30655),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},80024:e=>{"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}},64039:(e,t,r)=>{"use strict";var n="undefined"!==typeof Symbol&&Symbol,o=r(41333);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},41333:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==n||!0!==i.enumerable)return!1}return!0}},4729:(e,t,r)=>{"use strict";var n=r(92861).Buffer,o=r(28399).Transform,i=r(56698);function a(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}function s(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(s,o),s.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(o){n=o}r(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},s.prototype.update=function(e,t){if(a(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));var r=this._block,o=0;while(this._blockOffset+e.length-o>=this._blockSize){for(var i=this._blockOffset;i0;++s)this._length[s]+=c,c=this._length[s]/4294967296|0,c>0&&(this._length[s]-=4294967296*c);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},9957:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=r(66743);e.exports=i.call(n,o)},251:(e,t)=>{ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,c=(1<>1,l=-7,d=r?o-1:0,f=r?-1:1,h=e[t+d];for(d+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+d],d+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=u}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+d>=1?f/c:f*Math.pow(2,1-d),t*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*c-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*m}},56698:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},21013:(e,t,r)=>{var n=r(67372).stringify,o=r(8146);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},8146:(e,t,r)=>{var n=null;const o=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,i=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var a=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(void 0!==e&&null!==e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,"undefined"!==typeof e.constructorAction){if("error"!==e.constructorAction&&"ignore"!==e.constructorAction&&"preserve"!==e.constructorAction)throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);t.constructorAction=e.constructorAction}if("undefined"!==typeof e.protoAction){if("error"!==e.protoAction&&"ignore"!==e.protoAction&&"preserve"!==e.protoAction)throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`);t.protoAction=e.protoAction}}var a,s,c,u,l={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},d=function(e){throw{name:"SyntaxError",message:e,at:a,text:c}},f=function(e){return e&&e!==s&&d("Expected '"+e+"' instead of '"+s+"'"),s=c.charAt(a),a+=1,s},h=function(){var e,o="";"-"===s&&(o="-",f("-"));while(s>="0"&&s<="9")o+=s,f();if("."===s){o+=".";while(f()&&s>="0"&&s<="9")o+=s}if("e"===s||"E"===s){o+=s,f(),"-"!==s&&"+"!==s||(o+=s,f());while(s>="0"&&s<="9")o+=s,f()}if(e=+o,isFinite(e))return null==n&&(n=r(61594)),o.length>15?t.storeAsString?o:t.useNativeBigInt?BigInt(o):new n(o):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new n(e):e;d("Bad number")},p=function(){var e,t,r,n="";if('"'===s){var o=a;while(f()){if('"'===s)return a-1>o&&(n+=c.substring(o,a-1)),f(),n;if("\\"===s){if(a-1>o&&(n+=c.substring(o,a-1)),f(),"u"===s){for(r=0,t=0;t<4;t+=1){if(e=parseInt(f(),16),!isFinite(e))break;r=16*r+e}n+=String.fromCharCode(r)}else{if("string"!==typeof l[s])break;n+=l[s]}o=a}}}d("Bad string")},m=function(){while(s&&s<=" ")f()},g=function(){switch(s){case"t":return f("t"),f("r"),f("u"),f("e"),!0;case"f":return f("f"),f("a"),f("l"),f("s"),f("e"),!1;case"n":return f("n"),f("u"),f("l"),f("l"),null}d("Unexpected '"+s+"'")},y=function(){var e=[];if("["===s){if(f("["),m(),"]"===s)return f("]"),e;while(s){if(e.push(u()),m(),"]"===s)return f("]"),e;f(","),m()}}d("Bad array")},v=function(){var e,r=Object.create(null);if("{"===s){if(f("{"),m(),"}"===s)return f("}"),r;while(s){if(e=p(),m(),f(":"),!0===t.strict&&Object.hasOwnProperty.call(r,e)&&d('Duplicate key "'+e+'"'),!0===o.test(e)?"error"===t.protoAction?d("Object contains forbidden prototype property"):"ignore"===t.protoAction?u():r[e]=u():!0===i.test(e)?"error"===t.constructorAction?d("Object contains forbidden constructor property"):"ignore"===t.constructorAction?u():r[e]=u():r[e]=u(),m(),"}"===s)return f("}"),r;f(","),m()}}d("Bad object")};return u=function(){switch(m(),s){case"{":return v();case"[":return y();case'"':return p();case"-":return h();default:return s>="0"&&s<="9"?h():g()}},function(e,t){var r;return c=e+"",a=0,s=" ",r=u(),m(),s&&d("Syntax error"),"function"===typeof t?function e(r,n){var o,i=r[n];return i&&"object"===typeof i&&Object.keys(i).forEach((function(t){o=e(i,t),void 0!==o?i[t]=o:delete i[t]})),t.call(r,n,i)}({"":r},""):r}};e.exports=a},67372:(e,t,r)=>{var n=r(61594),o=e.exports;(function(){"use strict";var e,t,r,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function c(o,i){var a,u,l,d,f,h=e,p=i[o],m=null!=p&&(p instanceof n||n.isBigNumber(p));switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(o)),"function"===typeof r&&(p=r.call(i,o,p)),typeof p){case"string":return m?p:s(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":case"bigint":return String(p);case"object":if(!p)return"null";if(e+=t,f=[],"[object Array]"===Object.prototype.toString.apply(p)){for(d=p.length,a=0;a{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=0;o{"use strict";var n=r(56698),o=r(4729),i=r(92861).Buffer,a=new Array(16);function s(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,r,n,o,i,a){return c(e+(t&r|~t&n)+o+i|0,a)+t|0}function l(e,t,r,n,o,i,a){return c(e+(t&n|r&~n)+o+i|0,a)+t|0}function d(e,t,r,n,o,i,a){return c(e+(t^r^n)+o+i|0,a)+t|0}function f(e,t,r,n,o,i,a){return c(e+(r^(t|~n))+o+i|0,a)+t|0}n(s,o),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;r=u(r,n,o,i,e[0],3614090360,7),i=u(i,r,n,o,e[1],3905402710,12),o=u(o,i,r,n,e[2],606105819,17),n=u(n,o,i,r,e[3],3250441966,22),r=u(r,n,o,i,e[4],4118548399,7),i=u(i,r,n,o,e[5],1200080426,12),o=u(o,i,r,n,e[6],2821735955,17),n=u(n,o,i,r,e[7],4249261313,22),r=u(r,n,o,i,e[8],1770035416,7),i=u(i,r,n,o,e[9],2336552879,12),o=u(o,i,r,n,e[10],4294925233,17),n=u(n,o,i,r,e[11],2304563134,22),r=u(r,n,o,i,e[12],1804603682,7),i=u(i,r,n,o,e[13],4254626195,12),o=u(o,i,r,n,e[14],2792965006,17),n=u(n,o,i,r,e[15],1236535329,22),r=l(r,n,o,i,e[1],4129170786,5),i=l(i,r,n,o,e[6],3225465664,9),o=l(o,i,r,n,e[11],643717713,14),n=l(n,o,i,r,e[0],3921069994,20),r=l(r,n,o,i,e[5],3593408605,5),i=l(i,r,n,o,e[10],38016083,9),o=l(o,i,r,n,e[15],3634488961,14),n=l(n,o,i,r,e[4],3889429448,20),r=l(r,n,o,i,e[9],568446438,5),i=l(i,r,n,o,e[14],3275163606,9),o=l(o,i,r,n,e[3],4107603335,14),n=l(n,o,i,r,e[8],1163531501,20),r=l(r,n,o,i,e[13],2850285829,5),i=l(i,r,n,o,e[2],4243563512,9),o=l(o,i,r,n,e[7],1735328473,14),n=l(n,o,i,r,e[12],2368359562,20),r=d(r,n,o,i,e[5],4294588738,4),i=d(i,r,n,o,e[8],2272392833,11),o=d(o,i,r,n,e[11],1839030562,16),n=d(n,o,i,r,e[14],4259657740,23),r=d(r,n,o,i,e[1],2763975236,4),i=d(i,r,n,o,e[4],1272893353,11),o=d(o,i,r,n,e[7],4139469664,16),n=d(n,o,i,r,e[10],3200236656,23),r=d(r,n,o,i,e[13],681279174,4),i=d(i,r,n,o,e[0],3936430074,11),o=d(o,i,r,n,e[3],3572445317,16),n=d(n,o,i,r,e[6],76029189,23),r=d(r,n,o,i,e[9],3654602809,4),i=d(i,r,n,o,e[12],3873151461,11),o=d(o,i,r,n,e[15],530742520,16),n=d(n,o,i,r,e[2],3299628645,23),r=f(r,n,o,i,e[0],4096336452,6),i=f(i,r,n,o,e[7],1126891415,10),o=f(o,i,r,n,e[14],2878612391,15),n=f(n,o,i,r,e[5],4237533241,21),r=f(r,n,o,i,e[12],1700485571,6),i=f(i,r,n,o,e[3],2399980690,10),o=f(o,i,r,n,e[10],4293915773,15),n=f(n,o,i,r,e[1],2240044497,21),r=f(r,n,o,i,e[8],1873313359,6),i=f(i,r,n,o,e[15],4264355552,10),o=f(o,i,r,n,e[6],2734768916,15),n=f(n,o,i,r,e[13],1309151649,21),r=f(r,n,o,i,e[4],4149444226,6),i=f(i,r,n,o,e[11],3174756917,10),o=f(o,i,r,n,e[2],718787259,15),n=f(n,o,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},58859:(e,t,r)=>{var n="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"===typeof o.get?o.get:null,a=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"===typeof c.get?c.get:null,l=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype,f=d?WeakMap.prototype.has:null,h="function"===typeof WeakSet&&WeakSet.prototype,p=h?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype,g=m?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,v=Object.prototype.toString,b=Function.prototype.toString,w=String.prototype.match,_=String.prototype.slice,E=String.prototype.replace,A=String.prototype.toUpperCase,S=String.prototype.toLowerCase,T=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,I=Array.prototype.slice,O=Math.floor,P="function"===typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"===typeof Symbol&&"object"===typeof Symbol.iterator,M="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,L=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||T.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-O(-e):O(e);if(n!==e){var o=String(n),i=_.call(t,o.length+1);return E.call(o,r,"$&_")+"."+E.call(E.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(t,r,"$&_")}var F=r(42634),j=F.custom,U=Z(j)?j:null;function $(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function z(e){return E.call(String(e),/"/g,""")}function H(e){return"[object Array]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function V(e){return"[object Date]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function G(e){return"[object RegExp]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function q(e){return"[object Error]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function W(e){return"[object String]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function K(e){return"[object Number]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function X(e){return"[object Boolean]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function Z(e){if(R)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!N)return!1;try{return N.call(e),!0}catch(t){}return!1}function Y(e){if(!e||"object"!==typeof e||!P)return!1;try{return P.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,o,s){var c=n||{};if(J(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(J(c,"maxStringLength")&&("number"===typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var d=!J(c,"customInspect")||c.customInspect;if("boolean"!==typeof d&&"symbol"!==d)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(J(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(J(c,"numericSeparator")&&"boolean"!==typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=c.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return ue(t,c);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var h=String(t);return f?D(t,h):h}if("bigint"===typeof t){var p=String(t)+"n";return f?D(t,p):p}var m="undefined"===typeof c.depth?5:c.depth;if("undefined"===typeof o&&(o=0),o>=m&&m>0&&"object"===typeof t)return H(t)?"[Array]":"[Object]";var g=me(c,o);if("undefined"===typeof s)s=[];else if(re(s,t)>=0)return"[Circular]";function v(t,r,n){if(r&&(s=I.call(s),s.push(r)),n){var i={depth:c.depth};return J(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if("function"===typeof t&&!G(t)){var b=te(t),w=ye(t,v);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(w.length>0?" { "+C.call(w,", ")+" }":"")}if(Z(t)){var A=R?E.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!==typeof t||R?A:de(A)}if(ce(t)){for(var T="<"+S.call(String(t.nodeName)),O=t.attributes||[],k=0;k",T}if(H(t)){if(0===t.length)return"[]";var j=ye(t,v);return g&&!pe(j)?"["+ge(j,g)+"]":"[ "+C.call(j,", ")+" ]"}if(q(t)){var Q=ye(t,v);return"cause"in Error.prototype||!("cause"in t)||B.call(t,"cause")?0===Q.length?"["+String(t)+"]":"{ ["+String(t)+"] "+C.call(Q,", ")+" }":"{ ["+String(t)+"] "+C.call(x.call("[cause]: "+v(t.cause),Q),", ")+" }"}if("object"===typeof t&&d){if(U&&"function"===typeof t[U]&&F)return F(t,{depth:m-o});if("symbol"!==d&&"function"===typeof t.inspect)return t.inspect()}if(ne(t)){var le=[];return a&&a.call(t,(function(e,r){le.push(v(r,t,!0)+" => "+v(e,t))})),he("Map",i.call(t),le,g)}if(ae(t)){var ve=[];return l&&l.call(t,(function(e){ve.push(v(e,t))})),he("Set",u.call(t),ve,g)}if(oe(t))return fe("WeakMap");if(se(t))return fe("WeakSet");if(ie(t))return fe("WeakRef");if(K(t))return de(v(Number(t)));if(Y(t))return de(v(P.call(t)));if(X(t))return de(y.call(t));if(W(t))return de(v(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===r.g)return"{ [object globalThis] }";if(!V(t)&&!G(t)){var be=ye(t,v),we=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,_e=t instanceof Object?"":"null prototype",Ee=!we&&M&&Object(t)===t&&M in t?_.call(ee(t),8,-1):_e?"Object":"",Ae=we||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Se=Ae+(Ee||_e?"["+C.call(x.call([],Ee||[],_e||[]),": ")+"] ":"");return 0===be.length?Se+"{}":g?Se+"{"+ge(be,g)+"}":Se+"{ "+C.call(be,", ")+" }"}return String(t)};var Q=Object.prototype.hasOwnProperty||function(e){return e in this};function J(e,t){return Q.call(e,t)}function ee(e){return v.call(e)}function te(e){if(e.name)return e.name;var t=w.call(b.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function re(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ue(_.call(e,0,t.maxStringLength),t)+n}var o=E.call(E.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,le);return $(o,"single",t)}function le(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+A.call(t.toString(16))}function de(e){return"Object("+e+")"}function fe(e){return e+" { ? }"}function he(e,t,r,n){var o=n?ge(r,n):C.call(r,", ");return e+" ("+t+") {"+o+"}"}function pe(e){for(var t=0;t=0)return!1;return!0}function me(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;r=C.call(Array(e.indent+1)," ")}return{base:r,prev:C.call(Array(t+1),r)}}function ge(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+C.call(e,","+r)+"\n"+t.prev}function ye(e,t){var r=H(e),n=[];if(r){n.length=e.length;for(var o=0;o{r(43832),t.pbkdf2Sync=r(21352)},43832:(e,t,r)=>{var n,o,i=r(92861).Buffer,a=r(64196),s=r(2455),c=r(21352),u=r(93382),l=r.g.crypto&&r.g.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function h(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];n=n||i.alloc(8);var t=m(n,n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=t,t}function p(){return o||(o=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout,o)}function m(e,t,r,n,o){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}function g(e,t){e.then((function(e){p()((function(){t(null,e)}))}),(function(e){p()((function(){t(e)}))}))}e.exports=function(e,t,n,o,i,l){"function"===typeof i&&(l=i,i=void 0),i=i||"sha1";var f=d[i.toLowerCase()];if(f&&"function"===typeof r.g.Promise){if(a(n,o),e=u(e,s,"Password"),t=u(t,s,"Salt"),"function"!==typeof l)throw new Error("No callback provided to pbkdf2");g(h(f).then((function(r){return r?m(e,t,n,o,f):c(e,t,n,o,i)})),l)}else p()((function(){var r;try{r=c(e,t,n,o,i)}catch(a){return l(a)}l(null,r)}))}},2455:(e,t,r)=>{var n;if(r.g.process&&r.g.process.browser)n="utf-8";else if(r.g.process&&r.g.process.version){var o=parseInt(process.version.split(".")[0].slice(1),10);n=o>=6?"utf-8":"binary"}else n="utf-8";e.exports=n},64196:e=>{var t=Math.pow(2,30)-1;e.exports=function(e,r){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof r)throw new TypeError("Key length not a number");if(r<0||r>t||r!==r)throw new TypeError("Bad key length")}},21352:(e,t,r)=>{var n=r(20320),o=r(66011),i=r(62802),a=r(92861).Buffer,s=r(64196),c=r(2455),u=r(93382),l=a.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(e,t,r){var n=h(e),o="sha512"===e||"sha384"===e?128:64;t.length>o?t=n(t):t.length{var n=r(92861).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},97283:e=>{!function(t,r){e.exports=r()}(self,(function(){return(()=>{var e={192:(e,t)=>{var r,n,o=function(){var e=function(e,t){var r=e,n=a[t],o=null,i=0,c=null,g=[],y={},b=function(e,t){o=function(e){for(var t=new Array(e),r=0;r=7&&A(e),null==c&&(c=x(r,n,g)),T(c,t)},w=function(e,t){for(var r=-1;r<=7;r+=1)if(!(e+r<=-1||i<=e+r))for(var n=-1;n<=7;n+=1)t+n<=-1||i<=t+n||(o[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},_=function(){for(var e=8;e>n&1);o[Math.floor(n/3)][n%3+i-8-3]=a}for(n=0;n<18;n+=1)a=!e&&1==(t>>n&1),o[n%3+i-8-3][Math.floor(n/3)]=a},S=function(e,t){for(var r=n<<3|t,a=s.getBCHTypeInfo(r),c=0;c<15;c+=1){var u=!e&&1==(a>>c&1);c<6?o[c][8]=u:c<8?o[c+1][8]=u:o[i-15+c][8]=u}for(c=0;c<15;c+=1)u=!e&&1==(a>>c&1),c<8?o[8][i-c-1]=u:c<9?o[8][15-c-1+1]=u:o[8][15-c-1]=u;o[i-8][8]=!e},T=function(e,t){for(var r=-1,n=i-1,a=7,c=0,u=s.getMaskFunction(t),l=i-1;l>0;l-=2)for(6==l&&(l-=1);;){for(var d=0;d<2;d+=1)if(null==o[n][l-d]){var f=!1;c>>a&1)),u(n,l-d)&&(f=!f),o[n][l-d]=f,-1==(a-=1)&&(c+=1,a=7)}if((n+=r)<0||i<=n){n-=r,r=-r;break}}},x=function(e,t,r){for(var n=l.getRSBlocks(e,t),o=d(),i=0;i8*c)throw"code length overflow. ("+o.getLengthInBits()+">"+8*c+")";for(o.getLengthInBits()+4<=8*c&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*c||(o.put(236,8),o.getLengthInBits()>=8*c));)o.put(17,8);return function(e,t){for(var r=0,n=0,o=0,i=new Array(t.length),a=new Array(t.length),c=0;c=0?p.getAt(m):0}}var g=0;for(f=0;fn)&&(e=n,t=r)}return t}())},y.createTableTag=function(e,t){e=e||2;var r="";r+='',r+="";for(var n=0;n";for(var o=0;o';r+=""}return(r+="")+"
"},y.createSvgTag=function(e,t,r,n){var o={};"object"==typeof arguments[0]&&(e=(o=arguments[0]).cellSize,t=o.margin,r=o.alt,n=o.title),e=e||2,t=void 0===t?4*e:t,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var i,a,s,c,u=y.getModuleCount()*e+2*t,l="";for(c="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",l+=''+C(n.text)+"":"",l+=r.text?''+C(r.text)+"":"",l+='',l+='"},y.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var r=y.getModuleCount()*e+2*t,n=t,o=r-t;return v(r,r,(function(t,r){if(n<=t&&t"};var C=function(e){for(var t="",r=0;r":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=n}}return t};return y.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,r,n,o,i,a=1*y.getModuleCount()+2*e,s=e,c=a-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},l={"██":"▀","█ ":"▀"," █":" "," ":" "},d="";for(t=0;t=c?l[i]:u[i];d+="\n"}return a%2&&e>0?d.substring(0,d.length-a-1)+Array(a+1).join("▀"):d.substring(0,d.length-1)}(t);e-=1,t=void 0===t?2*e:t;var r,n,o,i,a=y.getModuleCount()*e+2*t,s=t,c=a-t,u=Array(e+1).join("██"),l=Array(e+1).join(" "),d="",f="";for(r=0;r>>8),t.push(255&a)):t.push(n)}}return t}};var t,r,n,o,i,a={L:1,M:0,Q:3,H:2},s=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],r=1335,n=7973,i=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(o={}).getBCHTypeInfo=function(e){for(var t=e<<10;i(t)-i(r)>=0;)t^=r<=0;)t^=n<5&&(r+=3+i-5)}for(n=0;n=256;)t-=255;return e[t]}}}();function u(e,t){if(void 0===e.length)throw e.length+"/"+t;var r=function(){for(var r=0;r>>7-t%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return t},putBit:function(r){var n=Math.floor(t/8);e.length<=n&&e.push(0),r&&(e[n]|=128>>>t%8),t+=1}};return r},f=function(e){var t=e,r={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var r=t,o=0;o+2>>8&255)+(255&o),e.put(o,13),r+=2}if(r>>8)},writeBytes:function(e,r,n){r=r||0,n=n||e.length;for(var o=0;o0&&(t+=","),t+=e[r];return t+"]"}};return t},y=function(e){var t=e,r=0,n=0,o=0,i={read:function(){for(;o<8;){if(r>=t.length){if(0==o)return-1;throw"unexpected end of file./"+o}var e=t.charAt(r);if(r+=1,"="==e)return o=0,-1;e.match(/^\s$/)||(n=n<<6|a(e.charCodeAt(0)),o+=6)}var i=n>>>o-8&255;return o-=8,i}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return i},v=function(e,t,r){for(var n=function(e,t){var r=e,n=t,o=new Array(e*t),i={setPixel:function(e,t,n){o[t*r+e]=n},write:function(e){e.writeString("GIF87a"),e.writeShort(r),e.writeShort(n),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(r),e.writeShort(n),e.writeByte(0);var t=a(2);e.writeByte(2);for(var o=0;t.length-o>255;)e.writeByte(255),e.writeBytes(t,o,255),o+=255;e.writeByte(t.length-o),e.writeBytes(t,o,t.length-o),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<>>t!=0)throw"length over";for(;u+t>=8;)c.writeByte(255&(e<>>=8-u,l=0,u=0;l|=e<0&&c.writeByte(l)}});f.write(t,n);var h=0,p=String.fromCharCode(o[h]);for(h+=1;h=6;)i(e>>>t-6),t-=6},o.flush=function(){if(t>0&&(i(e<<6-t),e=0,t=0),r%3!=0)for(var o=3-r%3,a=0;a>6,128|63&n):n<55296||n>=57344?t.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return t}(e)},void 0===(n="function"==typeof(r=function(){return o})?r.apply(t,[]):r)||(e.exports=n)},796:(e,t,r)=>{"use strict";r.d(t,{default:()=>Y});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;rn||o&&o2||a&&s||c&&u)this._basicSquare({x:t,y:r,size:n,context:o,rotation:0});else{if(2===l){var d=0;return a&&c?d=Math.PI/2:c&&s?d=Math.PI:s&&u&&(d=-Math.PI/2),void this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:d})}if(1===l)return d=0,c?d=Math.PI/2:s?d=Math.PI:u&&(d=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,context:o,rotation:d})}else this._basicDot({x:t,y:r,size:n,context:o,rotation:0})},e.prototype._drawExtraRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0,l=a+s+c+u;if(0!==l)if(l>2||a&&s||c&&u)this._basicSquare({x:t,y:r,size:n,context:o,rotation:0});else{if(2===l){var d=0;return a&&c?d=Math.PI/2:c&&s?d=Math.PI:s&&u&&(d=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:d})}if(1===l)return d=0,c?d=Math.PI/2:s?d=Math.PI:u&&(d=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,context:o,rotation:d})}else this._basicDot({x:t,y:r,size:n,context:o,rotation:0})},e.prototype._drawClassy=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0;0!==a+s+c+u?a||c?s||u?this._basicSquare({x:t,y:r,size:n,context:o,rotation:0}):this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2})},e.prototype._drawClassyRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0;0!==a+s+c+u?a||c?s||u?this._basicSquare({x:t,y:r,size:n,context:o,rotation:0}):this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2})},e}(),v="square",b="extra-rounded";var w=function(){return(w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=(t-o.hideXDots)/2&&e<(t+o.hideXDots)/2&&r>=(t-o.hideYDots)/2&&r<(t+o.hideYDots)/2||(null===(n=x[e])||void 0===n?void 0:n[r])||(null===(i=x[e-t+7])||void 0===i?void 0:i[r])||(null===(a=x[e])||void 0===a?void 0:a[r-t+7])||(null===(s=C[e])||void 0===s?void 0:s[r])||(null===(c=C[e-t+7])||void 0===c?void 0:c[r])||(null===(u=C[e])||void 0===u?void 0:u[r-t+7]))})),this.drawCorners(),this._options.image&&this.drawImage({width:o.width,height:o.height,count:t,dotSize:n}),[2]}}))},new((n=void 0)||(n=Promise))((function(e,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(a,s)}c((o=o.apply(t,r||[])).next())}));var t,r,n,o},e.prototype.drawBackground=function(){var e=this.context,t=this._options;if(e){if(t.backgroundOptions.gradient){var r=t.backgroundOptions.gradient,n=this._createGradient({context:e,options:r,additionalRotation:0,x:0,y:0,size:this._canvas.width>this._canvas.height?this._canvas.width:this._canvas.height});r.colorStops.forEach((function(e){var t=e.offset,r=e.color;n.addColorStop(t,r)})),e.fillStyle=n}else t.backgroundOptions.color&&(e.fillStyle=t.backgroundOptions.color);e.fillRect(0,0,this._canvas.width,this._canvas.height)}},e.prototype.drawDots=function(e){var t=this;if(!this._qr)throw"QR code is not defined";var r=this.context;if(!r)throw"QR code is not defined";var n=this._options,o=this._qr.getModuleCount();if(o>n.width||o>n.height)throw"The canvas is too small.";var i=Math.min(n.width,n.height)-2*n.margin,a=Math.floor(i/o),s=Math.floor((n.width-o*a)/2),c=Math.floor((n.height-o*a)/2),u=new y({context:r,type:n.dotsOptions.type});r.beginPath();for(var l=function(r){for(var n=function(n){return e&&!e(r,n)?"continue":d._qr.isDark(r,n)?void u.draw(c+n*a,s+r*a,a,(function(i,a){return!(r+i<0||n+a<0||r+i>=o||n+a>=o)&&!(e&&!e(r+i,n+a))&&!!t._qr&&t._qr.isDark(r+i,n+a)})):"continue"},i=0;i=0&&u<=.25*Math.PI||u>1.75*Math.PI&&u<=2*Math.PI?(l-=s/2,d-=s/2*Math.tan(c),f+=s/2,h+=s/2*Math.tan(c)):u>.25*Math.PI&&u<=.75*Math.PI?(d-=s/2,l-=s/2/Math.tan(c),h+=s/2,f+=s/2/Math.tan(c)):u>.75*Math.PI&&u<=1.25*Math.PI?(l+=s/2,d+=s/2*Math.tan(c),f-=s/2,h-=s/2*Math.tan(c)):u>1.25*Math.PI&&u<=1.75*Math.PI&&(d+=s/2,l+=s/2/Math.tan(c),h-=s/2,f-=s/2/Math.tan(c)),t=r.createLinearGradient(Math.round(l),Math.round(d),Math.round(f),Math.round(h))}return t},e}();var O=function(){return(O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r2||i&&a||s&&c)this._basicSquare({x:t,y:r,size:n,rotation:0});else{if(2===u){var l=0;return i&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&c&&(l=-Math.PI/2),void this._basicCornerRounded({x:t,y:r,size:n,rotation:l})}if(1===u)return l=0,s?l=Math.PI/2:a?l=Math.PI:c&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,rotation:l})}else this._basicDot({x:t,y:r,size:n,rotation:0})},e.prototype._drawExtraRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0,u=i+a+s+c;if(0!==u)if(u>2||i&&a||s&&c)this._basicSquare({x:t,y:r,size:n,rotation:0});else{if(2===u){var l=0;return i&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&c&&(l=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:l})}if(1===u)return l=0,s?l=Math.PI/2:a?l=Math.PI:c&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,rotation:l})}else this._basicDot({x:t,y:r,size:n,rotation:0})},e.prototype._drawClassy=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0;0!==i+a+s+c?i||s?a||c?this._basicSquare({x:t,y:r,size:n,rotation:0}):this._basicCornerRounded({x:t,y:r,size:n,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:r,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,rotation:Math.PI/2})},e.prototype._drawClassyRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0;0!==i+a+s+c?i||s?a||c?this._basicSquare({x:t,y:r,size:n,rotation:0}):this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,rotation:Math.PI/2})},e}();var k=function(){return(k=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=(t-o.hideXDots)/2&&e<(t+o.hideXDots)/2&&r>=(t-o.hideYDots)/2&&r<(t+o.hideYDots)/2||(null===(n=D[e])||void 0===n?void 0:n[r])||(null===(i=D[e-t+7])||void 0===i?void 0:i[r])||(null===(a=D[e])||void 0===a?void 0:a[r-t+7])||(null===(s=F[e])||void 0===s?void 0:s[r])||(null===(c=F[e-t+7])||void 0===c?void 0:c[r])||(null===(u=F[e])||void 0===u?void 0:u[r-t+7]))})),this.drawCorners(),this._options.image?[4,this.drawImage({width:o.width,height:o.height,count:t,dotSize:n})]:[3,4];case 3:h.sent(),h.label=4;case 4:return[2]}}))}))},e.prototype.drawBackground=function(){var e,t,r,n=this._element,o=this._options;if(n){var i=null===(e=o.backgroundOptions)||void 0===e?void 0:e.gradient,a=null===(t=o.backgroundOptions)||void 0===t?void 0:t.color;i?this._createColor({options:i,color:a,additionalRotation:0,x:0,y:0,height:o.height,width:o.width,name:"background-color"}):(null===(r=o.backgroundOptions)||void 0===r?void 0:r.color)&&this._createStyle({color:a,name:"background-color"})}},e.prototype.drawDots=function(e){var t,r,n,o=this;if(!this._qr)throw"QR code is not defined";var i=this._options,a=this._qr.getModuleCount();if(a>i.width||a>i.height)throw"The canvas is too small.";var s=Math.min(i.width,i.height)-2*i.margin,c=Math.floor(s/a),u=Math.floor((i.width-a*c)/2),l=Math.floor((i.height-a*c)/2),d=new P({svg:this._element,type:i.dotsOptions.type});(null===(t=i.dotsOptions)||void 0===t?void 0:t.gradient)?(this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(r=i.dotsOptions)||void 0===r?void 0:r.gradient,color:i.dotsOptions.color,additionalRotation:0,x:u,y:l,height:a*c,width:a*c,name:"dot-color"})):i.dotsOptions.color&&(this._dots=document.createElementNS("http://www.w3.org/2000/svg","g"),this._dots.setAttribute("class","dot-color"),this._element.appendChild(this._dots),this._createStyle({color:i.dotsOptions.color,name:"dot-color"}));for(var f=function(t){for(var r=function(r){return e&&!e(t,r)?"continue":(null===(n=h._qr)||void 0===n?void 0:n.isDark(t,r))?(d.draw(l+r*c,u+t*c,c,(function(n,i){return!(t+n<0||r+i<0||t+n>=a||r+i>=a)&&!(e&&!e(t+n,r+i))&&!!o._qr&&o._qr.isDark(t+n,r+i)})),void(d._element&&h._dotsClipPath?h._dotsClipPath.appendChild(d._element):d._element&&h._dots&&h._dots.appendChild(d._element))):"continue"},i=0;ia?s:a,l=document.createElementNS("http://www.w3.org/2000/svg","rect");if(l.setAttribute("x",String(o)),l.setAttribute("y",String(i)),l.setAttribute("height",String(a)),l.setAttribute("width",String(s)),l.setAttribute("clip-path","url('#clip-path-"+c+"')"),t){var d;if(t.type===T)(d=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",c),d.setAttribute("gradientUnits","userSpaceOnUse"),d.setAttribute("fx",String(o+s/2)),d.setAttribute("fy",String(i+a/2)),d.setAttribute("cx",String(o+s/2)),d.setAttribute("cy",String(i+a/2)),d.setAttribute("r",String(u/2));else{var f=((t.rotation||0)+n)%(2*Math.PI),h=(f+2*Math.PI)%(2*Math.PI),p=o+s/2,m=i+a/2,g=o+s/2,y=i+a/2;h>=0&&h<=.25*Math.PI||h>1.75*Math.PI&&h<=2*Math.PI?(p-=s/2,m-=a/2*Math.tan(f),g+=s/2,y+=a/2*Math.tan(f)):h>.25*Math.PI&&h<=.75*Math.PI?(m-=a/2,p-=s/2/Math.tan(f),y+=a/2,g+=s/2/Math.tan(f)):h>.75*Math.PI&&h<=1.25*Math.PI?(p+=s/2,m+=a/2*Math.tan(f),g-=s/2,y-=a/2*Math.tan(f)):h>1.25*Math.PI&&h<=1.75*Math.PI&&(m+=a/2,p+=s/2/Math.tan(f),y-=a/2,g-=s/2/Math.tan(f)),(d=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",c),d.setAttribute("gradientUnits","userSpaceOnUse"),d.setAttribute("x1",String(Math.round(p))),d.setAttribute("y1",String(Math.round(m))),d.setAttribute("x2",String(Math.round(g))),d.setAttribute("y2",String(Math.round(y)))}t.colorStops.forEach((function(e){var t=e.offset,r=e.color,n=document.createElementNS("http://www.w3.org/2000/svg","stop");n.setAttribute("offset",100*t+"%"),n.setAttribute("stop-color",r),d.appendChild(n)})),l.setAttribute("fill","url('#"+c+"')"),this._defs.appendChild(d)}else r&&l.setAttribute("fill",r);this._element.appendChild(l)},e.prototype._createStyle=function(e){var t=e.color,r=e.name;if(void 0!==t)if("#"!==t[0]||7!==t.length&&9!==t.length)console.error("unsupported color format. At the moment only Hex color codes are supported.");else{var n=1;9===t.length&&(n=parseInt(t.substring(7,9),16)/255),this._style.innerHTML+="."+r+"{ fill: "+t.substring(0,7)+"; fill-opacity: "+n+" }"}},e}(),U="canvas";for(var $={},z=0;z<=40;z++)$[z]=z;const H={type:U,width:512,height:512,data:"",margin:0,qrOptions:{typeNumber:$[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:"anonymous",margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#FFFFFF00"}};var V=function(){return(V=Object.assign||function(e){for(var t,r=1,n=arguments.length;rMath.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=V({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=G(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=V({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=G(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=V({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=G(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=V({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=G(t.backgroundOptions.gradient))),t}var W=r(192),K=r.n(W),X=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Z=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]\r\n'+n],{type:"image/svg+xml"})]):[2,new Promise((function(r){return t.getCanvas().toBlob(r,"image/"+e,1)}))]}}))}))},e.prototype.download=function(e){return X(this,void 0,void 0,(function(){var t,r,n,o,i;return Z(this,(function(a){switch(a.label){case 0:if(!this._qr)throw"QR code is empty";return t="png",r="qr","string"==typeof e?(t=e,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof e&&null!==e&&(e.name&&(r=e.name),e.extension&&(t=e.extension)),[4,this._getQRStylingElement(t)];case 1:return n=a.sent(),"svg"===t.toLowerCase()?(o=new XMLSerializer,i='\r\n'+(i=o.serializeToString(n.getElement())),s("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(i),r+".svg")):s(n.getCanvas().toDataURL("image/"+t),r+"."+t),[2]}}))}))},e}()}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r(796)})().default}))},74765:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},55373:(e,t,r)=>{"use strict";var n=r(98636),o=r(62642),i=r(74765);e.exports={formats:i,parse:o,stringify:n}},62642:(e,t,r)=>{"use strict";var n=r(37720),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",d=function(e,t){var r,d={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,h),m=-1,g=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(v=i(v)?[v]:v),o.call(d,y)?d[y]=n.combine(d[y],v):d[y]=v}return d},f=function(e,t,r,n){for(var o=n?t:c(t,r),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[],a[l]=o):"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},h=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=r.depth>0&&a.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}var d=0;while(r.depth>0&&null!==(c=s.exec(i))&&d{"use strict";var n=r(920),o=r(37720),i=r(74765),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,d=function(e,t){l.apply(e,c(t)?t:[t])},f=Date.prototype.toISOString,h=i["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},m=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},g={},y=function e(t,r,i,a,s,l,f,h,y,v,b,w,_,E,A){var S=t,T=A,x=0,C=!1;while(void 0!==(T=T.get(g))&&!C){var I=T.get(t);if(x+=1,"undefined"!==typeof I){if(I===x)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof T.get(g)&&(x=0)}if("function"===typeof f?S=f(r,S):S instanceof Date?S=v(S):"comma"===i&&c(S)&&(S=o.maybeMap(S,(function(e){return e instanceof Date?v(e):e}))),null===S){if(a)return l&&!_?l(r,p.encoder,E,"key",b):r;S=""}if(m(S)||o.isBuffer(S)){if(l){var O=_?r:l(r,p.encoder,E,"key",b);if("comma"===i&&_){for(var P=u.call(String(S),","),k="",N=0;N0?S.join(",")||null:void 0}];else if(c(f))R=f;else{var B=Object.keys(S);R=h?B.sort(h):B}for(var L=0;L0?b+g:""}},37720:(e,t,r)=>{"use strict";var n=r(74765),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===n.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n{"use strict";var n=65536,o=4294967295;function i(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=r(92861).Buffer,s=r.g.crypto||r.g.msCrypto;function c(e,t){if(e>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(e);if(e>0)if(e>n)for(var i=0;i{"use strict";function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var r={};function n(e,n,o){function i(e,t,r){return"string"===typeof n?n:n(e,t,r)}o||(o=Error);var a=function(e){function r(t,r,n){return e.call(this,i(t,r,n))||this}return t(r,e),r}(o);a.prototype.name=o.name,a.prototype.code=e,r[e]=a}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function i(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function a(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function s(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,c;if("string"===typeof t&&i(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",a(e," argument"))c="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=s(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return c+=". Received type ".concat(typeof r),c}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=r},25382:(e,t,r)=>{"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(45412),i=r(16708);r(56698)(u,o);for(var a=n(i.prototype),s=0;s{"use strict";e.exports=o;var n=r(74610);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}r(56698)(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},45412:(e,t,r)=>{"use strict";var n;e.exports=I,I.ReadableState=C;r(37007).EventEmitter;var o=function(e,t){return e.listeners(t).length},i=r(40345),a=r(48287).Buffer,s=("undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function c(e){return a.from(e)}function u(e){return a.isBuffer(e)||e instanceof s}var l,d=r(79838);l=d&&d.debuglog?d.debuglog("stream"):function(){};var f,h,p,m=r(80345),g=r(75896),y=r(65291),v=y.getHighWaterMark,b=r(86048).F,w=b.ERR_INVALID_ARG_TYPE,_=b.ERR_STREAM_PUSH_AFTER_EOF,E=b.ERR_METHOD_NOT_IMPLEMENTED,A=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(56698)(I,i);var S=g.errorOrDestroy,T=["error","close","destroy","pause","resume"];function x(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function C(e,t,o){n=n||r(25382),e=e||{},"boolean"!==typeof o&&(o=t instanceof n),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=v(this,e,"readableHighWaterMark",o),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function I(e){if(n=n||r(25382),!(this instanceof I))return new I(e);var t=this instanceof n;this._readableState=new C(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function O(e,t,r,n,o){l("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,B(e,s);else if(o||(i=k(s,t)),i)S(e,i);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=c(t)),n)s.endEmitted?S(e,new A):P(e,s,t,!0);else if(s.ended)S(e,new _);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):F(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,F(e,s));return!s.ended&&(s.length=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=R(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function B(e,t){if(l("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,D(e)))}}function L(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(D,e))}function D(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,G(e)}function F(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(j,e,t))}function j(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){l("readable nexttick read 0"),e.read(0)}function H(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(V,e,t))}function V(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),G(e),t.flowing&&!t.reading&&e.read(0)}function G(e){var t=e._readableState;l("flow",t.flowing);while(t.flowing&&null!==e.read());}function q(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function W(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(K,t,e))}function K(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function X(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):L(this),null;if(e=M(e,t),0===e&&t.ended)return 0===t.length&&W(this),null;var n,o=t.needReadable;return l("need readable",o),(0===t.length||t.length-e0?q(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&W(this)),null!==n&&this.emit("data",n),n},I.prototype._read=function(e){S(this,new E("_read()"))},I.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,l("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr,a=i?c:y;function s(e,t){l("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function c(){l("onend"),e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",s);var u=U(r);e.on("drain",u);var d=!1;function f(){l("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",y),r.removeListener("data",h),d=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||u()}function h(t){l("ondata");var o=e.write(t);l("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==X(n.pipes,e))&&!d&&(l("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(t){l("onerror",t),y(),e.removeListener("error",p),0===o(e,"error")&&S(e,t)}function m(){e.removeListener("finish",g),y()}function g(){l("onfinish"),e.removeListener("close",m),y()}function y(){l("unpipe"),r.unpipe(e)}return r.on("data",h),x(e,"error",p),e.once("close",m),e.once("finish",g),e.emit("pipe",r),n.flowing||(l("pipe resume"),r.resume()),e},I.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,l("on readable",n.length,n.reading),n.length?L(this):n.reading||process.nextTick(z,this))),r},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick($,this),r},I.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick($,this),t},I.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,H(this,e)),e.paused=!1,this},I.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){if(l("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!==o&&void 0!==o)&&(r.objectMode||o&&o.length)){var i=t.push(o);i||(n=!0,e.pause())}})),e)void 0===this[o]&&"function"===typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i{"use strict";e.exports=l;var n=r(86048).F,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(25382);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length{"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}var o;e.exports=C,C.WritableState=x;var i={deprecate:r(94643)},a=r(40345),s=r(48287).Buffer,c=("undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function u(e){return s.from(e)}function l(e){return s.isBuffer(e)||e instanceof c}var d,f=r(75896),h=r(65291),p=h.getHighWaterMark,m=r(86048).F,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_METHOD_NOT_IMPLEMENTED,v=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,w=m.ERR_STREAM_DESTROYED,_=m.ERR_STREAM_NULL_VALUES,E=m.ERR_STREAM_WRITE_AFTER_END,A=m.ERR_UNKNOWN_ENCODING,S=f.errorOrDestroy;function T(){}function x(e,t,i){o=o||r(25382),e=e||{},"boolean"!==typeof i&&(i=t instanceof o),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){B(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function C(e){o=o||r(25382);var t=this instanceof o;if(!t&&!d.call(C,this))return new C(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),a.call(this)}function I(e,t){var r=new E;S(e,r),process.nextTick(t,r)}function O(e,t,r,n){var o;return null===r?o=new _:"string"===typeof r||t.objectMode||(o=new g("chunk",["string","Buffer"],r)),!o||(S(e,o),process.nextTick(n,o),!1)}function P(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=s.from(t,r)),t}function k(e,t,r,n,o,i){if(!r){var a=P(t,n,o);n!==a&&(r=!0,o="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new A(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),C.prototype._write=function(e,t,r){r(new y("_write()"))},C.prototype._writev=null,C.prototype.end=function(e,t,r){var n=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||H(this,n,r),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),C.prototype.destroy=f.destroy,C.prototype._undestroy=f.undestroy,C.prototype._destroy=function(e,t){t(e)}},2955:(e,t,r)=>{"use strict";var n;function o(e,t,r){return t=i(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){var t=a(e,"string");return"symbol"===typeof t?t:String(t)}function a(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var s=r(86238),c=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),d=Symbol("ended"),f=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream");function m(e,t){return{value:e,done:t}}function g(e){var t=e[c];if(null!==t){var r=e[p].read();null!==r&&(e[f]=null,e[c]=null,e[u]=null,t(m(r,!1)))}}function y(e){process.nextTick(g,e)}function v(e,t){return function(r,n){e.then((function(){t[d]?r(m(void 0,!0)):t[h](r,n)}),n)}}var b=Object.getPrototypeOf((function(){})),w=Object.setPrototypeOf((n={get stream(){return this[p]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[d])return Promise.resolve(m(void 0,!0));if(this[p].destroyed)return new Promise((function(t,r){process.nextTick((function(){e[l]?r(e[l]):t(m(void 0,!0))}))}));var r,n=this[f];if(n)r=new Promise(v(n,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(m(o,!1));r=new Promise(this[h])}return this[f]=r,r}},o(n,Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var e=this;return new Promise((function(t,r){e[p].destroy(null,(function(e){e?r(e):t(m(void 0,!0))}))}))})),n),b),_=function(e){var t,r=Object.create(w,(t={},o(t,p,{value:e,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,d,{value:e._readableState.endEmitted,writable:!0}),o(t,h,{value:function(e,t){var n=r[p].read();n?(r[f]=null,r[c]=null,r[u]=null,e(m(n,!1))):(r[c]=e,r[u]=t)},writable:!0}),t));return r[f]=null,s(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];return null!==t&&(r[f]=null,r[c]=null,r[u]=null,t(e)),void(r[l]=e)}var n=r[c];null!==n&&(r[f]=null,r[c]=null,r[u]=null,n(m(void 0,!0))),r[d]=!0})),e.on("readable",y.bind(null,r)),r};e.exports=_},80345:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return f.alloc(0);var t=f.allocUnsafe(e>>>0),r=this.head,n=0;while(r)g(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),e-=i,0===e){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=f.allocUnsafe(e),r=this.head,n=1;r.data.copy(t),e-=r.data.length;while(r=r.next){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),e-=i,0===e){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:m,value:function(e,t){return p(this,o(o({},t),{},{depth:0,customInspect:!1}))}}]),e}()},75896:e=>{"use strict";function t(e,t){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(i,this,e)):process.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(r,o,e)):process.nextTick(r,o,e):t?(process.nextTick(n,o),t(e)):process.nextTick(n,o)})),this)}function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(e,t){e.emit("error",t)}function a(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:o,errorOrDestroy:a}},86238:(e,t,r)=>{"use strict";var n=r(86048).F.ERR_STREAM_PREMATURE_CLOSE;function o(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},57758:(e,t,r)=>{"use strict";var n;function o(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i=r(86048).F,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function u(e){return e.setHeader&&"function"===typeof e.abort}function l(e,t,i,a){a=o(a);var c=!1;e.on("close",(function(){c=!0})),void 0===n&&(n=r(86238)),n(e,{readable:t,writable:i},(function(e){if(e)return a(e);c=!0,a()}));var l=!1;return function(t){if(!c&&!l)return l=!0,u(e)?e.abort():"function"===typeof e.destroy?e.destroy():void a(t||new s("pipe"))}}function d(e){e()}function f(e,t){return e.pipe(t)}function h(e){return e.length?"function"!==typeof e[e.length-1]?c:e.pop():c}function p(){for(var e=arguments.length,t=new Array(e),r=0;r0;return l(e,a,s,(function(e){n||(n=e),e&&i.forEach(d),a||(i.forEach(d),o(n))}))}));return t.reduce(f)}e.exports=p},65291:(e,t,r)=>{"use strict";var n=r(86048).F.ERR_INVALID_OPT_VALUE;function o(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}function i(e,t,r,i){var a=o(t,i,r);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0){var s=i?r:"highWaterMark";throw new n(s,a)}return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:i}},40345:(e,t,r)=>{e.exports=r(37007).EventEmitter},28399:(e,t,r)=>{t=e.exports=r(45412),t.Stream=t,t.Readable=t,t.Writable=r(16708),t.Duplex=r(25382),t.Transform=r(74610),t.PassThrough=r(63600),t.finished=r(86238),t.pipeline=r(57758)},66011:(e,t,r)=>{"use strict";var n=r(48287).Buffer,o=r(56698),i=r(4729),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function h(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,r,n,o,i,a,s){return p(e+(t^r^n)+i+a|0,s)+o|0}function g(e,t,r,n,o,i,a,s){return p(e+(t&r|~t&n)+i+a|0,s)+o|0}function y(e,t,r,n,o,i,a,s){return p(e+((t|~r)^n)+i+a|0,s)+o|0}function v(e,t,r,n,o,i,a,s){return p(e+(t&n|r&~n)+i+a|0,s)+o|0}function b(e,t,r,n,o,i,a,s){return p(e+(t^(r|~n))+i+a|0,s)+o|0}o(h,i),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,h=0|this._e,w=0|this._a,_=0|this._b,E=0|this._c,A=0|this._d,S=0|this._e,T=0;T<80;T+=1){var x,C;T<16?(x=m(r,n,o,i,h,e[s[T]],d[0],u[T]),C=b(w,_,E,A,S,e[c[T]],f[0],l[T])):T<32?(x=g(r,n,o,i,h,e[s[T]],d[1],u[T]),C=v(w,_,E,A,S,e[c[T]],f[1],l[T])):T<48?(x=y(r,n,o,i,h,e[s[T]],d[2],u[T]),C=y(w,_,E,A,S,e[c[T]],f[2],l[T])):T<64?(x=v(r,n,o,i,h,e[s[T]],d[3],u[T]),C=g(w,_,E,A,S,e[c[T]],f[3],l[T])):(x=b(r,n,o,i,h,e[s[T]],d[4],u[T]),C=m(w,_,E,A,S,e[c[T]],f[4],l[T])),r=h,h=i,i=p(o,10),o=n,n=x,w=S,S=A,A=p(E,10),E=_,_=C}var I=this._b+o+A|0;this._b=this._c+i+S|0,this._c=this._d+h+w|0,this._d=this._e+r+_|0,this._e=this._a+n+E|0,this._a=I},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},50858:(e,t)=>{"use strict";function r(e){if(Array.isArray(e)){const t=[];for(let o=0;oe.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return l(u(e))}function i(e,t){if(e<56)return Uint8Array.from([e+t]);const r=p(e),n=r.length/2,o=p(t+55+n);return Uint8Array.from(d(o+r))}function a(e,t=!1){if(!e||0===e.length)return Uint8Array.from([]);const r=v(e),n=s(r);if(t)return n;if(0!==n.remainder.length)throw new Error("invalid RLP: remainder must be zero");return n.data}function s(e){let t,r,i,a,c;const u=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(t=l-127,i=128===l?Uint8Array.from([]):n(e,1,t),2===t&&i[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:i,remainder:e.slice(t)}}if(l<=191){if(r=l-182,e.length-1e.length)throw new Error("invalid RLP: total length is larger than the data");a=n(e,r,i);while(a.length)c=s(a),u.push(c.data),a=c.remainder;return{data:u,remainder:e.slice(i)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.decode=t.encode=void 0,t.encode=r,t.decode=a;const c=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function u(e){let t="";for(let r=0;re+t.length),0),r=new Uint8Array(t);for(let n=0,o=0;n=2&&"0"===e[0]&&"x"===e[1]}function y(e){return"string"!==typeof e?e:g(e)?e.slice(2):e}function v(e){if(e instanceof Uint8Array)return e;if("string"===typeof e)return g(e)?d(m(y(e))):h(e);if("number"===typeof e||"bigint"===typeof e)return e?d(p(e)):Uint8Array.from([]);if(null===e||void 0===e)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}t.utils={bytesToHex:u,concatBytes:f,hexToBytes:d,utf8ToBytes:h};const b={encode:r,decode:a};t["default"]=b},92861:(e,t,r)=>{ +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ +var n=r(48287),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},14673:(e,t,r)=>{var n=r(43360),o=1e8;function i(e){return Number(e)}Number.isInteger||(Number.isInteger=function(e){return"number"===typeof e&&e%1===0}),e.exports={toBitcoin:function(e){var t=typeof e;if("string"===t&&(e=i(e),t="number"),"number"!==t)throw new TypeError("toBitcoin must be called on a number or string, got "+t);if(!Number.isInteger(e))throw new TypeError("toBitcoin must be called on a whole number or string format whole number");var r=new n(e);return Number(r.div(o))},toSatoshi:function(e){var t=typeof e;if("string"===t&&(e=i(e),t="number"),"number"!==t)throw new TypeError("toSatoshi must be called on a number or string, got "+t);var r=new n(e);return Number(r.times(o))}}},43360:function(e,t,r){var n;(function(o){"use strict";var i,a=20,s=1,c=1e6,u=1e6,l=-7,d=21,f={},h=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function p(){function e(t){var r=this;if(!(r instanceof e))return void 0===t?p():new e(t);t instanceof e?(r.s=t.s,r.e=t.e,r.c=t.c.slice()):g(r,t),r.constructor=e}return e.prototype=f,e.DP=a,e.RM=s,e.E_NEG=l,e.E_POS=d,e}function m(e,t,r){var n=e.constructor,o=t-(e=new n(e)).e,i=e.c;for(i.length>++t&&y(e,o,n.RM),i[0]?r?o=t:(i=e.c,o=e.e+o+1):++o;i.length1?i[0]+"."+i.join("").slice(1):i[0])+(o<0?"e":"e+")+o:e.toString()}function g(e,t){var r,n,o;for(0===t&&1/t<0?t="-0":h.test(t+="")||v(NaN),e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),o=t.length,n=0;n0&&"0"==t.charAt(--o););for(e.e=r-n-1,e.c=[];n<=o;e.c.push(+t.charAt(n++)));}return e}function y(e,t,r,n){var o,i=e.c,a=e.e+t+1;if(1===r?n=i[a]>=5:2===r?n=i[a]>5||5==i[a]&&(n||a<0||i[a+1]!==o||1&i[a-1]):3===r?n=n||i[a]!==o||a<0:(n=!1,0!==r&&v("!Big.RM!")),a<1||!i[0])n?(e.e=-t,e.c=[1]):e.c=[e.e=0];else{if(i.length=a--,n)for(;++i[a]>9;)i[a]=0,a--||(++e.e,i.unshift(1));for(a=i.length;!i[--a];i.pop());}return e}function v(e){var t=new Error(e);throw t.name="BigError",t}f.abs=function(){var e=new this.constructor(this);return e.s=1,e},f.cmp=function(e){var t,r=this,n=r.c,o=(e=new r.constructor(e)).c,i=r.s,a=e.s,s=r.e,c=e.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-a:0;if(i!=a)return i;if(t=i<0,s!=c)return s>c^t?1:-1;for(i=-1,a=(s=n.length)<(c=o.length)?s:c;++io[i]^t?1:-1;return s==c?0:s>c^t?1:-1},f.div=function(e){var t=this,r=t.constructor,n=t.c,o=(e=new r(e)).c,i=t.s==e.s?1:-1,a=r.DP;if((a!==~~a||a<0||a>c)&&v("!Big.DP!"),!n[0]||!o[0])return n[0]==o[0]&&v(NaN),o[0]||v(i/0),new r(0*i);var s,u,l,d,f,h,p=o.slice(),m=s=o.length,g=n.length,b=n.slice(0,s),w=b.length,_=e,E=_.c=[],A=0,S=a+(_.e=t.e-e.e)+1;for(_.s=i,i=S<0?0:S,p.unshift(0);w++w?1:-1;else for(f=-1,d=0;++fb[f]?1:-1;break}if(!(d<0))break;for(u=w==s?o:p;w;){if(b[--w]S&&y(_,a,r.RM,b[0]!==h),_},f.eq=function(e){return!this.cmp(e)},f.gt=function(e){return this.cmp(e)>0},f.gte=function(e){return this.cmp(e)>-1},f.lt=function(e){return this.cmp(e)<0},f.lte=function(e){return this.cmp(e)<1},f.sub=f.minus=function(e){var t,r,n,o,i=this,a=i.constructor,s=i.s,c=(e=new a(e)).s;if(s!=c)return e.s=-c,i.plus(e);var u=i.c.slice(),l=i.e,d=e.c,f=e.e;if(!u[0]||!d[0])return d[0]?(e.s=-c,e):new a(u[0]?i:0);if(s=l-f){for((o=s<0)?(s=-s,n=u):(f=l,n=d),n.reverse(),c=s;c--;n.push(0));n.reverse()}else for(r=((o=u.length0)for(;c--;u[t++]=0);for(c=t;r>s;){if(u[--r]0?(c=a,t=u):(o=-o,t=s),t.reverse();o--;t.push(0));t.reverse()}for(s.length-u.length<0&&(t=u,u=s,s=t),o=u.length,i=0;o;)i=(s[--o]=s[o]+u[o]+i)/10|0,s[o]%=10;for(i&&(s.unshift(i),++c),o=s.length;0===s[--o];s.pop());return e.c=s,e.e=c,e},f.pow=function(e){var t=this,r=new t.constructor(1),n=r,o=e<0;for((e!==~~e||e<-u||e>u)&&v("!pow!"),e=o?-e:e;;){if(1&e&&(n=n.times(t)),e>>=1,!e)break;t=t.times(t)}return o?r.div(n):n},f.round=function(e,t){var r=this,n=r.constructor;return null==e?e=0:(e!==~~e||e<0||e>c)&&v("!round!"),y(r=new n(r),e,null==t?n.RM:t),r},f.sqrt=function(){var e,t,r,n=this,o=n.constructor,i=n.c,a=n.s,s=n.e,c=new o("0.5");if(!i[0])return new o(n);a<0&&v(NaN),a=Math.sqrt(n.toString()),0===a||a===1/0?(e=i.join(""),e.length+s&1||(e+="0"),t=new o(Math.sqrt(e).toString()),t.e=((s+1)/2|0)-(s<0||1&s)):t=new o(a.toString()),a=t.e+(o.DP+=4);do{r=t,t=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return y(t,o.DP-=4,o.RM),t},f.mul=f.times=function(e){var t,r=this,n=r.constructor,o=r.c,i=(e=new n(e)).c,a=o.length,s=i.length,c=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return new n(0*e.s);for(e.e=c+u,ac;)s=t[u]+i[c]*o[u-c-1]+s,t[u--]=s%10,s=s/10|0;t[u]=(t[u]+s)%10}for(s&&++e.e,t[0]||t.shift(),c=t.length;!t[--c];t.pop());return e.c=t,e},f.toString=f.valueOf=f.toJSON=function(){var e=this,t=e.constructor,r=e.e,n=e.c.join(""),o=n.length;if(r<=t.E_NEG||r>=t.E_POS)n=n.charAt(0)+(o>1?"."+n.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;n="0"+n);n="0."+n}else if(r>0)if(++r>o)for(r-=o;r--;n+="0");else r1&&(n=n.charAt(0)+"."+n.slice(1));return e.s<0&&e.c[0]?"-"+n:n},f.toExponential=function(e){return null==e?e=this.c.length-1:(e!==~~e||e<0||e>c)&&v("!toExp!"),m(this,e,1)},f.toFixed=function(e){var t,r=this,n=r.constructor,o=n.E_NEG,i=n.E_POS;return n.E_NEG=-(n.E_POS=1/0),null==e?t=r.toString():e===~~e&&e>=0&&e<=c&&(t=m(r,r.e+e),r.s<0&&r.c[0]&&t.indexOf("-")<0&&(t="-"+t)),n.E_NEG=o,n.E_POS=i,t||v("!toFix!"),t},f.toPrecision=function(e){return null==e?this.toString():((e!==~~e||e<1||e>c)&&v("!toPre!"),m(this,e-1,2))},i=p(),n=function(){return i}.call(t,r,t,e),void 0===n||(e.exports=n)})()},96897:(e,t,r)=>{"use strict";var n=r(70453),o=r(30041),i=r(30592)(),a=r(75795),s=r(69675),c=n("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(u=!1)}return(n||u||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},42791:function(e,t,r){(function(e,t){"use strict";if(!e.setImmediate){var r,n=1,o={},i=!1,a=e.document,s=Object.getPrototypeOf&&Object.getPrototypeOf(e);s=s&&s.setTimeout?s:e,"[object process]"==={}.toString.call(e.process)?f():h()?p():e.MessageChannel?m():a&&"onreadystatechange"in a.createElement("script")?g():y(),s.setImmediate=c,s.clearImmediate=u}function c(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i{var n=r(92861).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,o=this._blockSize,i=e.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},62802:(e,t,r)=>{var n=e.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=r(27816),n.sha1=r(63737),n.sha224=r(26710),n.sha256=r(24107),n.sha384=r(32827),n.sha512=r(82890)},27816:(e,t,r)=>{var n=r(56698),o=r(90392),i=r(92861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=t[c-3]^t[c-8]^t[c-14]^t[c-16];for(var f=0;f<80;++f){var h=~~(f/20),p=u(r)+d(h,n,o,i)+s+t[f]+a[h]|0;s=i,i=o,o=l(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},63737:(e,t,r)=>{var n=r(56698),o=r(90392),i=r(92861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e){return e<<1|e>>>31}function l(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=u(t[c-3]^t[c-8]^t[c-14]^t[c-16]);for(var h=0;h<80;++h){var p=~~(h/20),m=l(r)+f(p,n,o,i)+s+t[h]+a[p]|0;s=i,i=o,o=d(n),n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},26710:(e,t,r)=>{var n=r(56698),o=r(24107),i=r(90392),a=r(92861).Buffer,s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},24107:(e,t,r)=>{var n=r(56698),o=r(90392),i=r(92861).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)t[y]=e.readInt32BE(4*y);for(;y<64;++y)t[y]=p(t[y-2])+t[y-7]+h(t[y-15])+t[y-16]|0;for(var v=0;v<64;++v){var b=g+f(s)+u(s,c,m)+a[v]+t[v]|0,w=d(r)+l(r,n,o)|0;g=m,m=c,c=s,s=i+b|0,i=o,o=n,n=r,r=b+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0,this._f=c+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},32827:(e,t,r)=>{var n=r(56698),o=r(82890),i=r(90392),a=r(92861).Buffer,s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},82890:(e,t,r)=>{var n=r(56698),o=r(90392),i=r(92861).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,s=0|this._eh,c=0|this._fh,v=0|this._gh,b=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,A=0|this._dl,S=0|this._el,T=0|this._fl,x=0|this._gl,C=0|this._hl,I=0;I<32;I+=2)t[I]=e.readInt32BE(4*I),t[I+1]=e.readInt32BE(4*I+4);for(;I<160;I+=2){var O=t[I-30],P=t[I-30+1],k=h(O,P),N=p(P,O);O=t[I-4],P=t[I-4+1];var R=m(O,P),M=g(P,O),B=t[I-14],L=t[I-14+1],D=t[I-32],F=t[I-32+1],j=N+L|0,U=k+B+y(j,N)|0;j=j+M|0,U=U+R+y(j,M)|0,j=j+F|0,U=U+D+y(j,F)|0,t[I]=U,t[I+1]=j}for(var $=0;$<160;$+=2){U=t[$],j=t[$+1];var z=l(r,n,o),H=l(w,_,E),V=d(r,w),G=d(w,r),q=f(s,S),W=f(S,s),K=a[$],X=a[$+1],Z=u(s,c,v),Y=u(S,T,x),Q=C+W|0,J=b+q+y(Q,C)|0;Q=Q+Y|0,J=J+Z+y(Q,Y)|0,Q=Q+X|0,J=J+K+y(Q,X)|0,Q=Q+j|0,J=J+U+y(Q,j)|0;var ee=G+H|0,te=V+z+y(ee,G)|0;b=v,C=x,v=c,x=T,c=s,T=S,S=A+Q|0,s=i+J+y(S,A)|0,i=o,A=E,o=n,E=_,n=r,_=w,w=Q+ee|0,r=J+te+y(w,Q)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+A|0,this._el=this._el+S|0,this._fl=this._fl+T|0,this._gl=this._gl+x|0,this._hl=this._hl+C|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,E)|0,this._dh=this._dh+i+y(this._dl,A)|0,this._eh=this._eh+s+y(this._el,S)|0,this._fh=this._fh+c+y(this._fl,T)|0,this._gh=this._gh+v+y(this._gl,x)|0,this._hh=this._hh+b+y(this._hl,C)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},920:(e,t,r)=>{"use strict";var n=r(70453),o=r(38075),i=r(58859),a=r(69675),s=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=m(e,t);return r&&r.value},y=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},v=function(e,t){return!!m(e,t)};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return u(e,n)}else if(c){if(t)return f(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return d(e,n)}else if(c){if(t)return p(t,n)}else if(r)return v(r,n);return!1},set:function(n,o){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),l(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),y(r,n,o))}};return n}},88310:(e,t,r)=>{e.exports=i;var n=r(37007).EventEmitter,o=r(56698);function i(){n.call(this)}o(i,n),i.Readable=r(45412),i.Writable=r(16708),i.Duplex=r(25382),i.Transform=r(74610),i.PassThrough=r(63600),i.finished=r(86238),i.pipeline=r(57758),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},83141:(e,t,r)=>{"use strict";var n=r(92861).Buffer,o=n.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 i(e){if(!e)return"utf8";var t;while(1)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 a(e){var t=i(e);if("string"!==typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=y,t=3;break;default:return this.write=v,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function c(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(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&&(2===o?o=0:e.lastNeed=o-3),o):0))}function l(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,r=l(this,e,t);return void 0!==r?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),void(this.lastNeed-=e.length))}function f(e,t){var r=u(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 h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(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 m(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 g(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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 y(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.I=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r{"use strict";r.d(t,{A:()=>Oc});var n={};r.r(n),r.d(n,{JsonPatchError:()=>Si,_areEquals:()=>Mi,applyOperation:()=>Oi,applyPatch:()=>Pi,applyReducer:()=>ki,deepClone:()=>Ti,getValueByPointer:()=>Ii,validate:()=>Ri,validator:()=>Ni});var o={};r.r(o),r.d(o,{compare:()=>Gi,generate:()=>Hi,observe:()=>zi,unobserve:()=>$i});var i={};r.r(i),r.d(i,{cookie:()=>sc,header:()=>ac,path:()=>nc,query:()=>oc});var a=r(17175),s=r(47598),c=r(68445),u=r(5090),l=r(5179),d=r(71864),f=r(7425),h=r(43224),p=r(74048),m=r(49859);function g(e,t){var r=a(e);if(s){var n=s(e);t&&(n=c(n).call(n,(function(t){return u(e,t).enumerable}))),l(r).apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r["return"]||r["return"]()}finally{if(s)throw i}}}}var k=r(22204);function N(e){if(T(e))return e}function R(e,t){var r=null==e?null:"undefined"!=typeof A&&S(e)||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l(s).call(s,n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(e,t){return N(e)||R(e,t)||O(e,t)||M()}var L=r(65781);function D(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):L.resolve(c).then(n,o)}function F(e){return function(){var t=this,r=arguments;return new L((function(n,o){var i=e.apply(t,r);function a(e){D(i,n,o,a,s,"next",e)}function s(e){D(i,n,o,a,s,"throw",e)}a(void 0)}))}}var j=r(44828),U=r.n(j),$=r(8628),z=r.n($),H=r(2457),V=r.n(H),G=r(49763),q=r.n(G),W=r(85569),K=r.n(W),X=r(48079),Z=r.n(X),Y=r(50697),Q=r.n(Y),J=r(11393),ee=r.n(J),te=r(38573),re=r.n(te),ne=r(18700),oe=r.n(ne),ie=(r(86547),r(55373)),ae=r.n(ie); +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ +function se(e){return"undefined"===typeof e||null===e}function ce(e){return"object"===typeof e&&null!==e}function ue(e){return Array.isArray(e)?e:se(e)?[]:[e]}function le(e,t){var r,n,o,i;if(t)for(i=Object.keys(t),r=0,n=i.length;rs&&(i=" ... ",t=n-s+i.length),r-n>s&&(a=" ...",r=n+s-a.length),{str:i+e.slice(t,r).replace(/\t/g,"→")+a,pos:n-t+i.length}}function Se(e,t){return be.repeat(" ",t-e.length)+e}function Te(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!==typeof t.indent&&(t.indent=1),"number"!==typeof t.linesBefore&&(t.linesBefore=3),"number"!==typeof t.linesAfter&&(t.linesAfter=2);var r,n=/\r?\n|\r|\0/g,o=[0],i=[],a=-1;while(r=n.exec(e.buffer))i.push(r.index),o.push(r.index+r[0].length),e.position<=r.index&&a<0&&(a=o.length-2);a<0&&(a=o.length-1);var s,c,u="",l=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+l+3);for(s=1;s<=t.linesBefore;s++){if(a-s<0)break;c=Ae(e.buffer,o[a-s],i[a-s],e.position-(o[a]-o[a-s]),d),u=be.repeat(" ",t.indent)+Se((e.line-s+1).toString(),l)+" | "+c.str+"\n"+u}for(c=Ae(e.buffer,o[a],i[a],e.position,d),u+=be.repeat(" ",t.indent)+Se((e.line+1).toString(),l)+" | "+c.str+"\n",u+=be.repeat("-",t.indent+l+3+c.pos)+"^\n",s=1;s<=t.linesAfter;s++){if(a+s>=i.length)break;c=Ae(e.buffer,o[a+s],i[a+s],e.position-(o[a]-o[a+s]),d),u+=be.repeat(" ",t.indent)+Se((e.line+s+1).toString(),l)+" | "+c.str+"\n"}return u.replace(/\n$/,"")}var xe=Te,Ce=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ie=["scalar","sequence","mapping"];function Oe(e){var t={};return null!==e&&Object.keys(e).forEach((function(r){e[r].forEach((function(e){t[String(e)]=r}))})),t}function Pe(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Ce.indexOf(t))throw new Ee('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t["kind"]||null,this.resolve=t["resolve"]||function(){return!0},this.construct=t["construct"]||function(e){return e},this.instanceOf=t["instanceOf"]||null,this.predicate=t["predicate"]||null,this.represent=t["represent"]||null,this.representName=t["representName"]||null,this.defaultStyle=t["defaultStyle"]||null,this.multi=t["multi"]||!1,this.styleAliases=Oe(t["styleAliases"]||null),-1===Ie.indexOf(this.kind))throw new Ee('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ke=Pe;function Ne(e,t){var r=[];return e[t].forEach((function(e){var t=r.length;r.forEach((function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)})),r[t]=e})),r}function Re(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi["fallback"].push(e)):r[e.kind][e.tag]=r["fallback"][e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function rt(e){return null!==e&&!(!tt.test(e)||"_"===e[e.length-1])}function nt(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r="-"===t[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:r*parseFloat(t,10)}var ot=/^[-+]?[0-9]+e/;function it(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(be.isNegativeZero(e))return"-0.0";return r=e.toString(10),ot.test(r)?r.replace("e",".e"):r}function at(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||be.isNegativeZero(e))}var st=new ke("tag:yaml.org,2002:float",{kind:"scalar",resolve:rt,construct:nt,predicate:at,represent:it,defaultStyle:"lowercase"}),ct=je.extend({implicit:[He,We,et,st]}),ut=ct,lt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),dt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function ft(e){return null!==e&&(null!==lt.exec(e)||null!==dt.exec(e))}function ht(e){var t,r,n,o,i,a,s,c,u,l,d=0,f=null;if(t=lt.exec(e),null===t&&(t=dt.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(i=+t[4],a=+t[5],s=+t[6],t[7]){d=t[7].slice(0,3);while(d.length<3)d+="0";d=+d}return t[9]&&(c=+t[10],u=+(t[11]||0),f=6e4*(60*c+u),"-"===t[9]&&(f=-f)),l=new Date(Date.UTC(r,n,o,i,a,s,d)),f&&l.setTime(l.getTime()-f),l}function pt(e){return e.toISOString()}var mt=new ke("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:ft,construct:ht,instanceOf:Date,represent:pt});function gt(e){return"<<"===e||null===e}var yt=new ke("tag:yaml.org,2002:merge",{kind:"scalar",resolve:gt}),vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function bt(e){if(null===e)return!1;var t,r,n=0,o=e.length,i=vt;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function wt(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,i=vt,a=0,s=[];for(t=0;t>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|i.indexOf(n.charAt(t));return r=o%4*6,0===r?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===r?(s.push(a>>10&255),s.push(a>>2&255)):12===r&&s.push(a>>4&255),new Uint8Array(s)}function _t(e){var t,r,n="",o=0,i=e.length,a=vt;for(t=0;t>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]),o=(o<<8)+e[t];return r=i%3,0===r?(n+=a[o>>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]):2===r?(n+=a[o>>10&63],n+=a[o>>4&63],n+=a[o<<2&63],n+=a[64]):1===r&&(n+=a[o>>2&63],n+=a[o<<4&63],n+=a[64],n+=a[64]),n}function Et(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}var At=new ke("tag:yaml.org,2002:binary",{kind:"scalar",resolve:bt,construct:wt,predicate:Et,represent:_t}),St=Object.prototype.hasOwnProperty,Tt=Object.prototype.toString;function xt(e){if(null===e)return!0;var t,r,n,o,i,a=[],s=e;for(t=0,r=s.length;t>10),56320+(e-65536&1023))}for(var sr=new Array(256),cr=new Array(256),ur=0;ur<256;ur++)sr[ur]=ir(ur)?1:0,cr[ur]=ir(ur);function lr(e,t){this.input=e,this.filename=t["filename"]||null,this.schema=t["schema"]||Dt,this.onWarning=t["onWarning"]||null,this.legacy=t["legacy"]||!1,this.json=t["json"]||!1,this.listener=t["listener"]||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function dr(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=xe(r),new Ee(t,r)}function fr(e,t){throw dr(e,t)}function hr(e,t){e.onWarning&&e.onWarning.call(null,dr(e,t))}var pr={YAML:function(e,t,r){var n,o,i;null!==e.version&&fr(e,"duplication of %YAML directive"),1!==r.length&&fr(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),null===n&&fr(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&fr(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&hr(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&fr(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],Xt.test(n)||fr(e,"ill-formed tag handle (first argument) of the TAG directive"),Ft.call(e.tagMap,n)&&fr(e,'there is a previously declared suffix for "'+n+'" tag handle'),Zt.test(o)||fr(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(i){fr(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function mr(e,t,r,n){var o,i,a,s;if(t1&&(e.result+=be.repeat("\n",t-1))}function Er(e,t,r){var n,o,i,a,s,c,u,l,d,f=e.kind,h=e.result;if(d=e.input.charCodeAt(e.position),er(d)||tr(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d)return!1;if((63===d||45===d)&&(o=e.input.charCodeAt(e.position+1),er(o)||r&&tr(o)))return!1;e.kind="scalar",e.result="",i=a=e.position,s=!1;while(0!==d){if(58===d){if(o=e.input.charCodeAt(e.position+1),er(o)||r&&tr(o))break}else if(35===d){if(n=e.input.charCodeAt(e.position-1),er(n))break}else{if(e.position===e.lineStart&&wr(e)||r&&tr(d))break;if(Qt(d)){if(c=e.line,u=e.lineStart,l=e.lineIndent,br(e,!1,-1),e.lineIndent>=t){s=!0,d=e.input.charCodeAt(e.position);continue}e.position=a,e.line=c,e.lineStart=u,e.lineIndent=l;break}}s&&(mr(e,i,a,!1),_r(e,e.line-c),i=a=e.position,s=!1),Jt(d)||(a=e.position+1),d=e.input.charCodeAt(++e.position)}return mr(e,i,a,!1),!!e.result||(e.kind=f,e.result=h,!1)}function Ar(e,t){var r,n,o;if(r=e.input.charCodeAt(e.position),39!==r)return!1;e.kind="scalar",e.result="",e.position++,n=o=e.position;while(0!==(r=e.input.charCodeAt(e.position)))if(39===r){if(mr(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),39!==r)return!0;n=e.position,e.position++,o=e.position}else Qt(r)?(mr(e,n,o,!0),_r(e,br(e,!1,t)),n=o=e.position):e.position===e.lineStart&&wr(e)?fr(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);fr(e,"unexpected end of the stream within a single quoted scalar")}function Sr(e,t){var r,n,o,i,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;e.kind="scalar",e.result="",e.position++,r=n=e.position;while(0!==(s=e.input.charCodeAt(e.position))){if(34===s)return mr(e,r,e.position,!0),e.position++,!0;if(92===s){if(mr(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),Qt(s))br(e,!1,t);else if(s<256&&sr[s])e.result+=cr[s],e.position++;else if((a=nr(s))>0){for(o=a,i=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=rr(s))>=0?i=(i<<4)+a:fr(e,"expected hexadecimal character");e.result+=ar(i),e.position++}else fr(e,"unknown escape sequence");r=n=e.position}else Qt(s)?(mr(e,r,n,!0),_r(e,br(e,!1,t)),r=n=e.position):e.position===e.lineStart&&wr(e)?fr(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}fr(e,"unexpected end of the stream within a double quoted scalar")}function Tr(e,t){var r,n,o,i,a,s,c,u,l,d,f,h,p,m=!0,g=e.tag,y=e.anchor,v=Object.create(null);if(p=e.input.charCodeAt(e.position),91===p)s=93,l=!1,i=[];else{if(123!==p)return!1;s=125,l=!0,i={}}null!==e.anchor&&(e.anchorMap[e.anchor]=i),p=e.input.charCodeAt(++e.position);while(0!==p){if(br(e,!0,t),p=e.input.charCodeAt(e.position),p===s)return e.position++,e.tag=g,e.anchor=y,e.kind=l?"mapping":"sequence",e.result=i,!0;m?44===p&&fr(e,"expected the node content, but found ','"):fr(e,"missed comma between flow collection entries"),f=d=h=null,c=u=!1,63===p&&(a=e.input.charCodeAt(e.position+1),er(a)&&(c=u=!0,e.position++,br(e,!0,t))),r=e.line,n=e.lineStart,o=e.position,Nr(e,t,jt,!1,!0),f=e.tag,d=e.result,br(e,!0,t),p=e.input.charCodeAt(e.position),!u&&e.line!==r||58!==p||(c=!0,p=e.input.charCodeAt(++e.position),br(e,!0,t),Nr(e,t,jt,!1,!0),h=e.result),l?yr(e,i,v,f,d,h,r,n,o):c?i.push(yr(e,null,v,f,d,h,r,n,o)):i.push(d),br(e,!0,t),p=e.input.charCodeAt(e.position),44===p?(m=!0,p=e.input.charCodeAt(++e.position)):m=!1}fr(e,"unexpected end of the stream within a flow collection")}function xr(e,t){var r,n,o,i,a=Ht,s=!1,c=!1,u=t,l=0,d=!1;if(i=e.input.charCodeAt(e.position),124===i)n=!1;else{if(62!==i)return!1;n=!0}e.kind="scalar",e.result="";while(0!==i)if(i=e.input.charCodeAt(++e.position),43===i||45===i)Ht===a?a=43===i?Gt:Vt:fr(e,"repeat of a chomping mode identifier");else{if(!((o=or(i))>=0))break;0===o?fr(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?fr(e,"repeat of an indentation width identifier"):(u=t+o-1,c=!0)}if(Jt(i)){do{i=e.input.charCodeAt(++e.position)}while(Jt(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!Qt(i)&&0!==i)}while(0!==i){vr(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);while((!c||e.lineIndentu&&(u=e.lineIndent),Qt(i))l++;else{if(e.lineIndentt)&&0!==o)fr(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(y&&(a=e.line,s=e.lineStart,c=e.position),Nr(e,t,zt,!0,o)&&(y?m=e.result:g=e.result),y||(yr(e,f,h,p,m,g,a,s,c),p=m=g=null),br(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==u)fr(e,"bad indentation of a mapping entry");else if(e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),c=0,u=e.implicitTypes.length;c"),null!==e.result&&d.kind!==e.kind&&fr(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):fr(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Rr(e){var t,r,n,o,i=e.position,a=!1;e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);while(0!==(o=e.input.charCodeAt(e.position))){if(br(e,!0,-1),o=e.input.charCodeAt(e.position),e.lineIndent>0||37!==o)break;a=!0,o=e.input.charCodeAt(++e.position),t=e.position;while(0!==o&&!er(o))o=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),n=[],r.length<1&&fr(e,"directive name must not be less than one character in length");while(0!==o){while(Jt(o))o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!Qt(o));break}if(Qt(o))break;t=e.position;while(0!==o&&!er(o))o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&vr(e),Ft.call(pr,r)?pr[r](e,r,n):hr(e,'unknown document directive "'+r+'"')}br(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,br(e,!0,-1)):a&&fr(e,"directives end mark is expected"),Nr(e,e.lineIndent-1,zt,!1,!0),br(e,!0,-1),e.checkLineBreaks&&Wt.test(e.input.slice(i,e.position))&&hr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&wr(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,br(e,!0,-1)):e.position=55296&&n<=56319&&t+1=56320&&r<=57343)?1024*(n-55296)+r-56320+65536:n}function Nn(e){var t=/^\n* /;return t.test(e)}var Rn=1,Mn=2,Bn=3,Ln=4,Dn=5;function Fn(e,t,r,n,o,i,a,s){var c,u=0,l=null,d=!1,f=!1,h=-1!==n,p=-1,m=On(kn(e,0))&&Pn(kn(e,e.length-1));if(t||a)for(c=0;c=65536?c+=2:c++){if(u=kn(e,c),!xn(u))return Dn;m=m&&In(u,l,s),l=u}else{for(c=0;c=65536?c+=2:c++){if(u=kn(e,c),u===Vr)d=!0,h&&(f=f||c-p-1>n&&" "!==e[p+1],p=c);else if(!xn(u))return Dn;m=m&&In(u,l,s),l=u}f=f||h&&c-p-1>n&&" "!==e[p+1]}return d||f?r>9&&Nn(e)?Dn:a?i===wn?Dn:Mn:f?Ln:Bn:!m||a||o(e)?i===wn?Dn:Mn:Rn}function jn(e,t,r,n,o){e.dump=function(){if(0===t.length)return e.quotingType===wn?'""':"''";if(!e.noCompatMode&&(-1!==mn.indexOf(t)||gn.test(t)))return e.quotingType===wn?'"'+t+'"':"'"+t+"'";var i=e.indent*Math.max(1,r),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=n||e.flowLevel>-1&&r>=e.flowLevel;function c(t){return Sn(e,t)}switch(Fn(t,s,e.indent,a,c,e.quotingType,e.forceQuotes&&!n,o)){case Rn:return t;case Mn:return"'"+t.replace(/'/g,"''")+"'";case Bn:return"|"+Un(t,e.indent)+$n(En(t,i));case Ln:return">"+Un(t,e.indent)+$n(En(zn(t,a),i));case Dn:return'"'+Vn(t)+'"';default:throw new Ee("impossible error: invalid scalar style")}}()}function Un(e,t){var r=Nn(e)?String(t):"",n="\n"===e[e.length-1],o=n&&("\n"===e[e.length-2]||"\n"===e),i=o?"+":n?"":"-";return r+i+"\n"}function $n(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function zn(e,t){var r,n,o=/(\n+)([^\n]*)/g,i=function(){var r=e.indexOf("\n");return r=-1!==r?r:e.length,o.lastIndex=r,Hn(e.slice(0,r),t)}(),a="\n"===e[0]||" "===e[0];while(n=o.exec(e)){var s=n[1],c=n[2];r=" "===c[0],i+=s+(a||r||""===c?"":"\n")+Hn(c,t),a=r}return i}function Hn(e,t){if(""===e||" "===e[0])return e;var r,n,o=/ [^ ]/g,i=0,a=0,s=0,c="";while(r=o.exec(e))s=r.index,s-i>t&&(n=a>i?a:s,c+="\n"+e.slice(i,n),i=n+1),a=s;return c+="\n",e.length-i>t&&a>i?c+=e.slice(i,a)+"\n"+e.slice(a+1):c+=e.slice(i),c.slice(1)}function Vn(e){for(var t,r="",n=0,o=0;o=65536?o+=2:o++)n=kn(e,o),t=pn[n],!t&&xn(n)?(r+=e[o],n>=65536&&(r+=e[o+1])):r+=t||vn(n);return r}function Gn(e,t,r){var n,o,i,a="",s=e.tag;for(n=0,o=r.length;n1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Zn(e,t,a,!1,!1)&&(s+=e.dump,c+=s));e.tag=u,e.dump="{"+c+"}"}function Kn(e,t,r,n){var o,i,a,s,c,u,l="",d=e.tag,f=Object.keys(r);if(!0===e.sortKeys)f.sort();else if("function"===typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new Ee("sortKeys must be a boolean or a function");for(o=0,i=f.length;o1024,c&&(e.dump&&Vr===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,c&&(u+=An(e,t)),Zn(e,t+1,s,!0,c)&&(e.dump&&Vr===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,l+=u));e.tag=d,e.dump=l||"{}"}function Xn(e,t,r){var n,o,i,a,s,c;for(o=r?e.explicitTypes:e.implicitTypes,i=0,a=o.length;i tag resolver accepts not "'+c+'" style');n=s.represent[c](t,c)}e.dump=n}return!0}return!1}function Zn(e,t,r,n,o,i,a){e.tag=null,e.dump=r,Xn(e,r,!1)||Xn(e,r,!0);var s,c=Ur.call(e.dump),u=n;n&&(n=e.flowLevel<0||e.flowLevel>t);var l,d,f="[object Object]"===c||"[object Array]"===c;if(f&&(l=e.duplicates.indexOf(r),d=-1!==l),(null!==e.tag&&"?"!==e.tag||d||2!==e.indent&&t>0)&&(o=!1),d&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&d&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(Kn(e,t,e.dump,o),d&&(e.dump="&ref_"+l+e.dump)):(Wn(e,t,e.dump),d&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===c)n&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?qn(e,t-1,e.dump,o):qn(e,t,e.dump,o),d&&(e.dump="&ref_"+l+e.dump)):(Gn(e,t,e.dump),d&&(e.dump="&ref_"+l+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new Ee("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&jn(e,e.dump,t,i,u)}null!==e.tag&&"?"!==e.tag&&(s=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),s="!"===e.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",e.dump=s+" "+e.dump)}return!0}function Yn(e,t){var r,n,o=[],i=[];for(Qn(e,o,i),r=0,n=i.length;r-1},ko=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function No(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.escape,o=arguments.length>2?arguments[2]:void 0;return"number"===typeof e&&(e=e.toString()),"string"===typeof e&&e.length&&n?o?JSON.parse(e):Z()(t=Co(e)).call(t,(function(e){var t,r;if(ko(e))return e;if(Po(e)&&"unsafe"===n)return e;var o=new TextEncoder,i=Z()(t=Z()(r=q()(o.encode(e))).call(r,(function(e){var t;return Oo()(t="0".concat(e.toString(16).toUpperCase())).call(t,-2)}))).call(t,(function(e){return"%".concat(e)})).join("");return i})).join(""):e}function Ro(e){var t=e.value;return Array.isArray(t)?Mo(e):"object"===(0,k.A)(t)?Bo(e):Lo(e)}function Mo(e){var t=e.key,r=e.value,n=e.style,o=e.explode,i=e.escape,a=function(e){return No(e,{escape:i})};if("simple"===n)return Z()(r).call(r,(function(e){return a(e)})).join(",");if("label"===n)return".".concat(Z()(r).call(r,(function(e){return a(e)})).join("."));if("matrix"===n)return Z()(r).call(r,(function(e){return a(e)})).reduce((function(e,r){var n,i,a;return!e||o?ee()(i=ee()(a="".concat(e||"",";")).call(a,t,"=")).call(i,r):ee()(n="".concat(e,",")).call(n,r)}),"");if("form"===n){var s=o?"&".concat(t,"="):",";return Z()(r).call(r,(function(e){return a(e)})).join(s)}if("spaceDelimited"===n){var c=o?"".concat(t,"="):"";return Z()(r).call(r,(function(e){return a(e)})).join(" ".concat(c))}if("pipeDelimited"===n){var u=o?"".concat(t,"="):"";return Z()(r).call(r,(function(e){return a(e)})).join("|".concat(u))}}function Bo(e){var t=e.key,r=e.value,n=e.style,o=e.explode,i=e.escape,a=function(e){return No(e,{escape:i})},s=Q()(r);return"simple"===n?s.reduce((function(e,t){var n,i,s,c=a(r[t]),u=o?"=":",",l=e?"".concat(e,","):"";return ee()(n=ee()(i=ee()(s="".concat(l)).call(s,t)).call(i,u)).call(n,c)}),""):"label"===n?s.reduce((function(e,t){var n,i,s,c=a(r[t]),u=o?"=":".",l=e?"".concat(e,"."):".";return ee()(n=ee()(i=ee()(s="".concat(l)).call(s,t)).call(i,u)).call(n,c)}),""):"matrix"===n&&o?s.reduce((function(e,t){var n,o,i=a(r[t]),s=e?"".concat(e,";"):";";return ee()(n=ee()(o="".concat(s)).call(o,t,"=")).call(n,i)}),""):"matrix"===n?s.reduce((function(e,n){var o,i,s=a(r[n]),c=e?"".concat(e,","):";".concat(t,"=");return ee()(o=ee()(i="".concat(c)).call(i,n,",")).call(o,s)}),""):"form"===n?s.reduce((function(e,t){var n,i,s,c,u=a(r[t]),l=e?ee()(n="".concat(e)).call(n,o?"&":","):"",d=o?"=":",";return ee()(i=ee()(s=ee()(c="".concat(l)).call(c,t)).call(s,d)).call(i,u)}),""):void 0}function Lo(e){var t,r=e.key,n=e.value,o=e.style,i=e.escape,a=function(e){return No(e,{escape:i})};return"simple"===o?a(n):"label"===o?".".concat(a(n)):"matrix"===o?ee()(t=";".concat(r,"=")).call(t,a(n)):"form"===o?a(n):"deepObject"===o?a(n,{},!0):void 0}var Do=function(e,t){t.body=e};const Fo=Do;var jo={serializeRes:Vo,mergeInQueryOrForm:ti};function Uo(e){return $o.apply(this,arguments)}function $o(){return $o=F(U().mark((function e(t){var r,n,o,i,a,s=arguments;return U().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=s.length>1&&void 0!==s[1]?s[1]:{},"object"===(0,k.A)(t)&&(r=t,t=r.url),r.headers=r.headers||{},jo.mergeInQueryOrForm(r),r.headers&&Q()(r.headers).forEach((function(e){var t=r.headers[e];"string"===typeof t&&(r.headers[e]=t.replace(/\n+/g," "))})),!r.requestInterceptor){e.next=12;break}return e.next=8,r.requestInterceptor(r);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0=r;case 11:r=e.t0;case 12:return n=r.headers["content-type"]||r.headers["Content-Type"],/multipart\/form-data/i.test(n)&&r.body instanceof _o&&(delete r.headers["content-type"],delete r.headers["Content-Type"]),e.prev=14,e.next=17,(r.userFetch||fetch)(r.url,r);case 17:return o=e.sent,e.next=20,jo.serializeRes(o,t,r);case 20:if(o=e.sent,!r.responseInterceptor){e.next=28;break}return e.next=24,r.responseInterceptor(o);case 24:if(e.t1=e.sent,e.t1){e.next=27;break}e.t1=o;case 27:o=e.t1;case 28:e.next=39;break;case 30:if(e.prev=30,e.t2=e["catch"](14),o){e.next=34;break}throw e.t2;case 34:throw i=new Error(o.statusText||"response status is ".concat(o.status)),i.status=o.status,i.statusCode=o.status,i.responseError=e.t2,i;case 39:if(o.ok){e.next=45;break}throw a=new Error(o.statusText||"response status is ".concat(o.status)),a.status=o.status,a.statusCode=o.status,a.response=o,a;case 45:return e.abrupt("return",o);case 46:case"end":return e.stop()}}),e,null,[[14,30]])}))),$o.apply(this,arguments)}var zo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(e)};function Ho(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):bo.load(e)}function Vo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,o=void 0!==n&&n,i={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:qo(e.headers)},a=i.headers["content-type"],s=o||zo(a),c=s?e.text:e.blob||e.buffer;return c.call(e).then((function(e){if(i.text=e,i.data=e,s)try{var t=Ho(e,a);i.body=t,i.obj=t}catch(r){i.parseError=r}return i}))}function Go(e){var t=z()(e).call(e,", ");return t?e.split(", "):e}function qo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!==typeof V()(e)?{}:q()(V()(e).call(e)).reduce((function(e,t){var r=B(t,2),n=r[0],o=r[1];return e[n]=Go(o),e}),{})}function Wo(e,t){return t||"undefined"===typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==(0,k.A)(e)||"string"!==typeof e.uri):"undefined"!==typeof Ao&&e instanceof Ao||("undefined"!==typeof Eo&&e instanceof Eo||(!!ArrayBuffer.isView(e)||null!==e&&"object"===(0,k.A)(e)&&"function"===typeof e.pipe))}function Ko(e,t){return Array.isArray(e)&&e.some((function(e){return Wo(e,t)}))}var Xo={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Zo={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Yo(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.collectionFormat,o=t.allowEmptyValue,i=t.serializationOption,a=t.encoding,s="object"!==(0,k.A)(t)||Array.isArray(t)?t:t.value,c=r?function(e){return e.toString()}:function(e){return encodeURIComponent(e)},u=c(e);if("undefined"===typeof s&&o)return[[u,""]];if(Wo(s)||Ko(s))return[[u,s]];if(i)return Qo(e,s,r,i);if(a){if([(0,k.A)(a.style),(0,k.A)(a.explode),(0,k.A)(a.allowReserved)].some((function(e){return"undefined"!==e}))){var l=a.style,d=a.explode,f=a.allowReserved;return Qo(e,s,r,{style:l,explode:d,allowReserved:f})}if(a.contentType){if("application/json"===a.contentType){var h="string"===typeof s?s:K()(s);return[[u,c(h)]]}return[[u,c(s.toString())]]}return"object"!==(0,k.A)(s)?[[u,c(s)]]:Array.isArray(s)&&s.every((function(e){return"object"!==(0,k.A)(e)}))?[[u,Z()(s).call(s,c).join(",")]]:[[u,c(K()(s))]]}return"object"!==(0,k.A)(s)?[[u,c(s)]]:Array.isArray(s)?"multi"===n?[[u,Z()(s).call(s,c)]]:[[u,Z()(s).call(s,c).join(Zo[n||"csv"])]]:[[u,""]]}function Qo(e,t,r,n){var o,i,a,s=n.style||"form",c="undefined"===typeof n.explode?"form"===s:n.explode,u=!r&&(n&&n.allowReserved?"unsafe":"reserved"),l=function(e){return No(e,{escape:u})},d=r?function(e){return e}:function(e){return No(e,{escape:u})};return"object"!==(0,k.A)(t)?[[d(e),l(t)]]:Array.isArray(t)?c?[[d(e),Z()(t).call(t,l)]]:[[d(e),Z()(t).call(t,l).join(Xo[s])]]:"deepObject"===s?Z()(i=Q()(t)).call(i,(function(r){var n;return[d(ee()(n="".concat(e,"[")).call(n,r,"]")),l(t[r])]})):c?Z()(a=Q()(t)).call(a,(function(e){return[d(e),l(t[e])]})):[[d(e),Z()(o=Q()(t)).call(o,(function(e){var r;return[ee()(r="".concat(d(e),",")).call(r,l(t[e]))]})).join(",")]]}function Jo(e){return re()(e).reduce((function(e,t){var r,n=B(t,2),o=n[0],i=n[1],a=P(Yo(o,i,!0));try{for(a.s();!(r=a.n()).done;){var s=B(r.value,2),c=s[0],u=s[1];if(Array.isArray(u)){var l,d=P(u);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(ArrayBuffer.isView(f)){var h=new Eo([f]);e.append(c,h)}else e.append(c,f)}}catch(m){d.e(m)}finally{d.f()}}else if(ArrayBuffer.isView(u)){var p=new Eo([u]);e.append(c,p)}else e.append(c,u)}}catch(m){a.e(m)}finally{a.f()}return e}),new _o)}function ei(e){var t=Q()(e).reduce((function(t,r){var n,o=P(Yo(r,e[r]));try{for(o.s();!(n=o.n()).done;){var i=B(n.value,2),a=i[0],s=i[1];t[a]=s}}catch(c){o.e(c)}finally{o.f()}return t}),{});return ae().stringify(t,{encode:!1,indices:!1})||""}function ti(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r=void 0===t?"":t,n=e.query,o=e.form,i=function(){for(var e=arguments.length,t=new Array(e),r=0;r=48&&t<=57))return!1;r++}return!0}function bi(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function wi(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function _i(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,r=e.length;t0&&"constructor"==c[l-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&void 0===f&&(void 0===u[h]?f=c.slice(0,l).join("/"):l==d-1&&(f=t.path),void 0!==f&&p(t,0,e,f)),l++,Array.isArray(u)){if("-"===h)h=u.length;else{if(r&&!vi(h))throw new Si("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",i,t,e);vi(h)&&(h=~~h)}if(l>=d){if(r&&"add"===t.op&&h>u.length)throw new Si("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",i,t,e);a=Ci[t.op].call(t,u,h,e);if(!1===a.test)throw new Si("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return a}}else if(l>=d){a=xi[t.op].call(t,u,h,e);if(!1===a.test)throw new Si("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return a}if(u=u[h],r&&l0)throw new Si('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if(("move"===e.op||"copy"===e.op)&&"string"!==typeof e.from)throw new Si("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Si("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&_i(e.value))throw new Si("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r)if("add"==e.op){var o=e.path.split("/").length,i=n.split("/").length;if(o!==i+1&&o!==i)throw new Si("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==n)throw new Si("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if("move"===e.op||"copy"===e.op){var a={op:"_get",path:e.from,value:void 0},s=Ri([a],r);if(s&&"OPERATION_PATH_UNRESOLVABLE"===s.name)throw new Si("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function Ri(e,t,r){try{if(!Array.isArray(e))throw new Si("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Pi(yi(t),yi(e),r||!0);else{r=r||Ni;for(var n=0;n0&&(e.patches=[],e.callback&&e.callback(n)),n}function Vi(e,t,r,n,o){if(t!==e){"function"===typeof t.toJSON&&(t=t.toJSON());for(var i=gi(t),a=gi(e),s=!1,c=a.length-1;c>=0;c--){var u=a[c],l=e[u];if(!mi(t,u)||void 0===t[u]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+bi(u),value:yi(l)}),r.push({op:"remove",path:n+"/"+bi(u)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}),!0);else{var d=t[u];"object"==typeof l&&null!=l&&"object"==typeof d&&null!=d&&Array.isArray(l)===Array.isArray(d)?Vi(l,d,r,n+"/"+bi(u),o):l!==d&&(!0,o&&r.push({op:"test",path:n+"/"+bi(u),value:yi(l)}),r.push({op:"replace",path:n+"/"+bi(u),value:yi(d)}))}}if(s||i.length!=a.length)for(c=0;c0){var o=t(e,r[r.length-1],r);o&&(n=ee()(n).call(n,o))}if(Array.isArray(e)){var i=Z()(e).call(e,(function(e,n){return sa(e,t,ee()(r).call(r,n))}));i&&(n=ee()(n).call(n,i))}else if(pa(e)){var a,s=Z()(a=Q()(e)).call(a,(function(n){return sa(e[n],t,ee()(r).call(r,n))}));s&&(n=ee()(n).call(n,s))}return n=fa(n),n}function ca(e,t){if(!Array.isArray(t))return!1;for(var r=0,n=t.length;r-1&&-1===Ra.indexOf(r)||Ma.indexOf(n)>-1||Ba.some((function(e){return n.indexOf(e)>-1}))}function Da(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.specmap,o=r.getBaseUrlForNodePath,i=void 0===o?function(e){var r;return n.getContext(ee()(r=[]).call(r,Co(t),Co(e))).baseDoc}:o,a=r.targetKeys,s=void 0===a?["$ref","$$ref"]:a,c=[];return ka()(e).forEach((function(){if(z()(s).call(s,this.key)&&"string"===typeof this.node){var e=this.path,r=ee()(t).call(t,this.path),o=Fa(this.node,i(e));c.push(n.replace(r,o))}})),c}function Fa(e,t){var r,n=e.split("#"),o=B(n,2),i=o[0],a=o[1],s=E.resolve(i||"",t||"");return a?ee()(r="".concat(s,"#")).call(r,a):s}var ja="application/json, application/yaml",Ua=/^([a-z]+:\/\/|\/\/)/i,$a=Oa("JSONRefError",(function(e,t,r){this.originalError=r,b()(this,t||{})})),za={},Ha=new(xa()),Va=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],Ga=function(e){return Va.some((function(t){return t(e)}))},qa={key:"$ref",plugin:function(e,t,r,n){var o=n.getInstance(),i=Oo()(r).call(r,0,-1);if(!La(i)&&!Ga(i)){var a=n.getContext(r),s=a.baseDoc;if("string"!==typeof e)return new $a("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:s,fullPath:r});var c,u,l,d=Ya(e),f=d[0],h=d[1]||"";try{c=s||f?Xa(f,s):null}catch(y){return Za(y,{pointer:h,$ref:e,basePath:c,fullPath:r})}if(us(h,c,i,n)&&!o.useCircularStructures){var p=Fa(e,c);return e===p?null:Ki.replace(r,p)}if(null==c?(l=ns(h),u=n.get(l),"undefined"===typeof u&&(u=new $a("Could not resolve reference: ".concat(e),{pointer:h,$ref:e,baseDoc:s,fullPath:r}))):(u=Qa(c,h),u=null!=u.__value?u.__value:u.catch((function(t){throw Za(t,{pointer:h,$ref:e,baseDoc:s,fullPath:r})}))),u instanceof Error)return[Ki.remove(r),u];var m=Fa(e,c),g=Ki.replace(i,u,{$$ref:m});if(c&&c!==s)return[g,Ki.context(i,{baseDoc:c})];try{if(!ls(n.state,g)||o.useCircularStructures)return g}catch(y){return null}}}},Wa=b()(qa,{docCache:za,absoluteify:Xa,clearCache:Ja,JSONRefError:$a,wrapError:Za,getDoc:es,split:Ya,extractFromDoc:Qa,fetchJSON:ts,extract:rs,jsonPointerToArray:ns,unescapeJsonPointerToken:os});const Ka=Wa;function Xa(e,t){if(!Ua.test(e)){var r;if(!t)throw new $a(ee()(r="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(r,t,"'"));return E.resolve(t,e)}return e}function Za(e,t){var r,n;e&&e.response&&e.response.body?r=ee()(n="".concat(e.response.body.code," ")).call(n,e.response.body.message):r=e.message;return new $a("Could not resolve reference: ".concat(r),t,e)}function Ya(e){return(e+"").split("#")}function Qa(e,t){var r=za[e];if(r&&!Ki.isPromise(r))try{var n=rs(t,r);return b()(li().resolve(n),{__value:n})}catch(o){return li().reject(o)}return es(e).then((function(e){return rs(t,e)}))}function Ja(e){"undefined"!==typeof e?delete za[e]:Q()(za).forEach((function(e){delete za[e]}))}function es(e){var t=za[e];return t?Ki.isPromise(t)?t:li().resolve(t):(za[e]=Wa.fetchJSON(e).then((function(t){return za[e]=t,t})),za[e])}function ts(e){return fetch(e,{headers:{Accept:ja},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return bo.load(e)}))}function rs(e,t){var r=ns(e);if(r.length<1)return t;var n=Ki.getIn(t,r);if("undefined"===typeof n)throw new $a("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return n}function ns(e){var t;if("string"!==typeof e)throw new TypeError("Expected a string, got a ".concat((0,k.A)(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:Z()(t=e.split("/")).call(t,os)}function os(e){if("string"!==typeof e)return e;var t=new(Ia())("=".concat(e.replace(/~1/g,"/").replace(/~0/g,"~")));return t.get("")}function is(e){var t,r=new(Ia())([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]);return Oo()(t=r.toString()).call(t,1)}function as(e){return 0===e.length?"":"/".concat(Z()(e).call(e,is).join("/"))}var ss=function(e){return!e||"/"===e||"#"===e};function cs(e,t){if(ss(t))return!0;var r=e.charAt(t.length),n=Oo()(t).call(t,-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}function us(e,t,r,n){var o,i,a=Ha.get(n);a||(a={},Ha.set(n,a));var s=as(r),c=ee()(o="".concat(t||"","#")).call(o,e),u=s.replace(/allOf\/\d+\/?/g,""),l=n.contextTree.get([]).baseDoc;if(t===l&&cs(u,e))return!0;var d="",f=r.some((function(e){var t;return d=ee()(t="".concat(d,"/")).call(t,is(e)),a[d]&&a[d].some((function(e){return cs(e,c)||cs(c,e)}))}));if(f)return!0;a[u]=ee()(i=a[u]||[]).call(i,c)}function ls(e,t){var r=[e];return t.path.reduce((function(e,t){return r.push(e[t]),e[t]}),e),n(t.value);function n(e){return Ki.isObject(e)&&(r.indexOf(e)>=0||Q()(e).some((function(t){return n(e[t])})))}}const ds={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var i=Oo()(r).call(r,0,-1);if(!La(i)){if(!Array.isArray(e)){var a=new TypeError("allOf must be an array");return a.fullPath=r,a}var s=!1,c=o.value;if(i.forEach((function(e){c&&(c=c[e])})),c=y({},c),0!==Q()(c).length){delete c.allOf;var u,l,d=[];if(d.push(n.replace(i,{})),e.forEach((function(e,t){if(!n.isObject(e)){if(s)return null;s=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,d.push(o)}d.push(n.mergeDeep(i,e));var a=Oo()(r).call(r,0,-1),c=Da(e,a,{getBaseUrlForNodePath:function(e){var o;return n.getContext(ee()(o=[]).call(o,Co(r),[t],Co(e))).baseDoc},specmap:n});d.push.apply(d,Co(c))})),c.example)d.push(n.remove(ee()(u=[]).call(u,i,"example")));if(d.push(n.mergeDeep(i,c)),!c.$$ref)d.push(n.remove(ee()(l=[]).call(l,i,"$$ref")));return d}}}}},fs={key:"parameters",plugin:function(e,t,r,n){if(Array.isArray(e)&&e.length){var o=b()([],e),i=Oo()(r).call(r,0,-1),a=y({},Ki.getIn(n.spec,i));return e.forEach((function(e,t){try{o[t].default=n.parameterMacro(a,e)}catch(s){var i=new Error(s);return i.fullPath=r,i}})),Ki.replace(r,o)}return Ki.replace(r,e)}},hs={key:"properties",plugin:function(e,t,r,n){var o=y({},e);for(var i in e)try{o[i].default=n.modelPropertyMacro(o[i])}catch(c){var a=new Error(c);return a.fullPath=r,a}var s=Ki.replace(r,o);return s}};var ps=function(){function e(t){ni(this,e),this.root=ms(t||{})}return ai(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(r){var n=e[e.length-1],o=r.children;o[n]?gs(o[n],t,r):o[n]=ms(t,r)}else gs(this.root,t,null)}},{key:"get",value:function(e){if(e=e||[],e.length<1)return this.root.value;for(var t,r,n=this.root,o=0;o1?r-1:0),o=1;o1?n-1:0),i=1;i0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return li().race(Z()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e),r=t&&t[t.length-1];return r||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!==typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}},{key:"updatePatches",value:function(e){var t=this;Ki.normalizeArray(e).forEach((function(e){if(e instanceof Error)t.errors.push(e);else try{if(!Ki.isObject(e))return void t.debug("updatePatches","Got a non-object patch",e);if(t.showDebug&&t.allPatches.push(e),Ki.isPromise(e.value))return t.promisedPatches.push(e),void t.promisedPatchThen(e);if(Ki.isContextPatch(e))return void t.setContext(e.path,e.value);if(Ki.isMutation(e))return void t.updateMutations(e)}catch(r){console.error(r),t.errors.push(r)}}))}},{key:"updateMutations",value:function(e){"object"===(0,k.A)(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=y({},e.value));var t=Ki.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,r=this.promisedPatches.indexOf(e);r<0?this.debug("Tried to remove a promisedPatch that isn't there!"):fi()(t=this.promisedPatches).call(t,r,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(r){var n=y(y({},e),{},{value:r});t.removePromisedPatch(e),t.updatePatches(n)})).catch((function(r){t.removePromisedPatch(e),t.updatePatches(r)})),e.value}},{key:"getMutations",value:function(e,t){var r;return e=e||0,"number"!==typeof t&&(t=this.mutations.length),Oo()(r=this.mutations).call(r,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return Ki.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){var t=this.getPluginRunCount(this.getCurrentPlugin());return t>(e||0)}},{key:"dispatch",value:function(){var e,t=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var i={spec:this.state,errors:this.errors};return this.showDebug&&(i.patches=this.allPatches),li().resolve(i)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>ys)return li().resolve({spec:r.state,errors:ee()(e=r.errors).call(e,new Error("We've reached a hard limit of ".concat(ys," plugin runs")))});if(n!==this.currentPlugin&&this.promisedPatches.length){var a,s=Z()(a=this.promisedPatches).call(a,(function(e){return e.value}));return li().all(Z()(s).call(s,(function(e){return e.then(vs,vs)}))).then((function(){return t.dispatch()}))}return c();function c(){r.currentPlugin=n;var e=r.getCurrentMutations(),t=r.mutations.length-1;try{if(n.isGenerator){var o,i=P(n(e,r.getLib()));try{for(i.s();!(o=i.n()).done;){var a=o.value;u(a)}}catch(c){i.e(c)}finally{i.f()}}else{var s=n(e,r.getLib());u(s)}}catch(l){console.error(l),u([b()(Object.create(l),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:t})}return r.dispatch()}function u(e){e&&(e=Ki.fullyNormalizeArray(e),r.updatePatches(e,n))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return oe()(e).call(e,t)}}]),e}();function ws(e){return new bs(e).dispatch()}var _s={refs:Ka,allOf:ds,parameters:fs,properties:hs},Es=function(e){return String.prototype.toLowerCase.call(e)},As=function(e){return e.replace(/[^\w]/gi,"_")};function Ss(e){var t=e.openapi;return!!t&&_()(t).call(t,"3")}function Ts(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;if(!e||"object"!==(0,k.A)(e))return null;var i=(e.operationId||"").replace(/\s/g,"");return i.length?As(e.operationId):xs(t,r,{v2OperationIdCompatibilityMode:o})}function xs(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.v2OperationIdCompatibilityMode;if(o){var i,a,s=ee()(i="".concat(t.toLowerCase(),"_")).call(i,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return s=s||ee()(a="".concat(e.substring(1),"_")).call(a,t),s.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return ee()(r="".concat(Es(t))).call(r,As(e))}function Cs(e,t){var r;return ee()(r="".concat(Es(t),"-")).call(r,e)}function Is(e,t){return e&&e.paths?Os(e,(function(e){var r=e.pathName,n=e.method,o=e.operation;if(!o||"object"!==(0,k.A)(o))return!1;var i=o.operationId,a=Ts(o,r,n),s=Cs(r,n);return[a,s,i].some((function(e){return e&&e===t}))})):null}function Os(e,t){return Ps(e,t,!0)||null}function Ps(e,t,r){if(!e||"object"!==(0,k.A)(e)||!e.paths||"object"!==(0,k.A)(e.paths))return null;var n=e.paths;for(var o in n)for(var i in n[o])if("PARAMETERS"!==i.toUpperCase()){var a=n[o][i];if(a&&"object"===(0,k.A)(a)){var s={spec:e,pathName:o,method:i.toUpperCase(),operation:a},c=t(s);if(r&&c)return s}}}function ks(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var o in r){var i,a=r[o];if(null!=a&&z()(i=["object","function"]).call(i,(0,k.A)(a))){var s=a.parameters,c=function(e){var r,i=a[e];if(null==i||!z()(r=["object","function"]).call(r,(0,k.A)(i)))return"continue";var c=Ts(i,o,e);if(c){n[c]?n[c].push(i):n[c]=[i];var u=n[c];if(u.length>1)u.forEach((function(e,t){var r;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=ee()(r="".concat(c)).call(r,t+1)}));else if("undefined"!==typeof i.operationId){var l=u[0];l.__originalOperationId=l.__originalOperationId||i.operationId,l.operationId=c}}if("parameters"!==e){var d=[],f={};for(var h in t)"produces"!==h&&"consumes"!==h&&"security"!==h||(f[h]=t[h],d.push(f));if(s&&(f.parameters=s,d.push(f)),d.length){var p,m=P(d);try{for(m.s();!(p=m.n()).done;){var g=p.value;for(var y in g)if(i[y]){if("parameters"===y){var v,b=P(g[y]);try{var w=function(){var e=v.value,t=i[y].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}));t||i[y].push(e)};for(b.s();!(v=b.n()).done;)w()}catch(_){b.e(_)}finally{b.f()}}}else i[y]=g[y]}}catch(_){m.e(_)}finally{m.f()}}}};for(var u in a)c(u)}}return t.$$normalized=!0,e}function Ns(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:ja},credentials:o}).then((function(e){return e.body}))}}function Rs(){_s.refs.clearCache()}function Ms(e){var t=e.fetch,r=e.spec,n=e.url,o=e.mode,i=e.allowMetaPatches,a=void 0===i||i,s=e.pathDiscriminator,c=e.modelPropertyMacro,u=e.parameterMacro,l=e.requestInterceptor,d=e.responseInterceptor,f=e.skipNormalization,h=e.useCircularStructures,p=e.http,m=e.baseDoc;return m=m||n,p=t||p||Uo,r?g(r):Ns(p,{requestInterceptor:l,responseInterceptor:d})(m).then(g);function g(e){m&&(_s.refs.docCache[m]=e),_s.refs.fetchJSON=Ns(p,{requestInterceptor:l,responseInterceptor:d});var t=[_s.refs];return"function"===typeof u&&t.push(_s.parameters),"function"===typeof c&&t.push(_s.properties),"strict"!==o&&t.push(_s.allOf),ws({spec:e,context:{baseDoc:m},plugins:t,allowMetaPatches:a,pathDiscriminator:s,parameterMacro:u,modelPropertyMacro:c,useCircularStructures:h}).then(f?function(){var e=F(U().mark((function e(t){return U().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():ks)}}var Bs=r(77500);function Ls(e,t){return Ds.apply(this,arguments)}function Ds(){return Ds=F(U().mark((function e(t,r){var n,o,i,a,s,c,u,l,d,f,h,p,m=arguments;return U().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=m.length>2&&void 0!==m[2]?m[2]:{},o=n.returnEntireTree,i=n.baseDoc,a=n.requestInterceptor,s=n.responseInterceptor,c=n.parameterMacro,u=n.modelPropertyMacro,l=n.useCircularStructures,d={pathDiscriminator:r,baseDoc:i,requestInterceptor:a,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:u,useCircularStructures:l},f=ks({spec:t}),h=f.spec,e.next=6,Ms(y(y({},d),{},{spec:h,allowMetaPatches:!0,skipNormalization:!0}));case 6:return p=e.sent,!o&&Array.isArray(r)&&r.length&&(p.spec=(0,Bs.A)(p.spec,r)||null),e.abrupt("return",p);case 9:case"end":return e.stop()}}),e)}))),Ds.apply(this,arguments)}var Fs=function(){return null},js=function(e){return Array.isArray(e)?e:[e]},Us={mapTagOperations:Hs,makeExecute:$s};function $s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,o=t.operationId;return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.requestInterceptor,s=e.responseInterceptor,c=e.userFetch;return e.execute(y({spec:e.spec,requestInterceptor:a,responseInterceptor:s,userFetch:c,pathName:r,method:n,parameters:t,operationId:o},i))}}}function zs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Us.makeExecute(e);return{apis:Us.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}}function Hs(e){var t=e.spec,r=e.cb,n=void 0===r?Fs:r,o=e.defaultTag,i=void 0===o?"default":o,a=e.v2OperationIdCompatibilityMode,s={},c={};return Ps(t,(function(e){var r=e.pathName,o=e.method,u=e.operation,l=u.tags?js(u.tags):[i];l.forEach((function(e){if("string"===typeof e){c[e]=c[e]||{};var i,l=c[e],d=Ts(u,r,o,{v2OperationIdCompatibilityMode:a}),f=n({spec:t,pathName:r,method:o,operation:u,operationId:d});if(s[d])s[d]+=1,l[ee()(i="".concat(d)).call(i,s[d])]=f;else if("undefined"!==typeof l[d]){var h,p,m=s[d]||1;s[d]=m+1,l[ee()(h="".concat(d)).call(h,s[d])]=f;var g=l[d];delete l[d],l[ee()(p="".concat(d)).call(p,m)]=g}else l[d]=f}}))})),c}var Vs=r(44185);function Gs(e,t){if(null==e)return{};var r,n,o={},i=a(e);for(n=0;n=0||(o[r]=e[r]);return o}function qs(e,t){if(null==e)return{};var r,n,o=Gs(e,t);if(s){var i=s(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Ws=r(57427); +/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ +function Ks(e){return"[object Object]"===Object.prototype.toString.call(e)}function Xs(e){var t,r;return!1!==Ks(e)&&(t=e.constructor,void 0===t||(r=t.prototype,!1!==Ks(r)&&!1!==r.hasOwnProperty("isPrototypeOf")))}const Zs={body:Ys,header:Js,query:tc,path:ec,formData:Qs};function Ys(e){var t=e.req,r=e.value;t.body=r}function Qs(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function Js(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},"undefined"!==typeof n&&(t.headers[r.name]=n)}function ec(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.split("{".concat(n.name,"}")).join(encodeURIComponent(r))}function tc(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&"boolean"===n.type&&(r="false"),0===r&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&void 0!==r){var o=n.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}}function rc(e,t){return z()(t).call(t,"application/json")?"string"===typeof e?e:K()(e):e.toString()}function nc(e){var t=e.req,r=e.value,n=e.parameter,o=n.name,i=n.style,a=n.explode,s=n.content;if(s){var c=Q()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(No(rc(r,c),{escape:!0}))}else{var u=Ro({key:n.name,value:r,style:i||"simple",explode:a||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(u)}}function oc(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},n.content){var o=Q()(n.content)[0];t.query[n.name]=rc(r,o)}else if(!1===r&&(r="false"),0===r&&(r="0"),r){var i=n.style,a=n.explode,s=n.allowReserved;t.query[n.name]={value:r,serializationOption:{style:i,explode:a,allowReserved:s}}}else if(n.allowEmptyValue&&void 0!==r){var c=n.name;t.query[c]=t.query[c]||{},t.query[c].allowEmptyValue=!0}}var ic=["accept","authorization","content-type"];function ac(e){var t=e.req,r=e.parameter,n=e.value;if(t.headers=t.headers||{},!(ic.indexOf(r.name.toLowerCase())>-1))if(r.content){var o=Q()(r.content)[0];t.headers[r.name]=rc(n,o)}else"undefined"!==typeof n&&(t.headers[r.name]=Ro({key:r.name,value:n,style:r.style||"simple",explode:"undefined"!==typeof r.explode&&r.explode,escape:!1}))}function sc(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var o=(0,k.A)(n);if(r.content){var i,a=Q()(r.content)[0];t.headers.Cookie=ee()(i="".concat(r.name,"=")).call(i,rc(n,a))}else if("undefined"!==o){var s="object"===o&&!Array.isArray(n)&&r.explode?"":"".concat(r.name,"=");t.headers.Cookie=s+Ro({key:r.name,value:n,escape:!1,style:r.style||"form",explode:"undefined"!==typeof r.explode&&r.explode})}}var cc=r(67131),uc=r.n(cc);function lc(e,t){var r=e.operation,n=e.requestBody,o=e.securities,i=e.spec,a=e.attachContentTypeForEmptyPayload,s=e.requestContentType;t=dc({request:t,securities:o,operation:r,spec:i});var c=r.requestBody||{},u=Q()(c.content||{}),l=s&&u.indexOf(s)>-1;if(n||a){if(s&&l)t.headers["Content-Type"]=s;else if(!s){var d=u[0];d&&(t.headers["Content-Type"]=d,s=d)}}else s&&l&&(t.headers["Content-Type"]=s);if(!e.responseContentType&&r.responses){var f,h=oe()(f=re()(r.responses)).call(f,(function(e){var t=B(e,2),r=t[0],n=t[1],o=parseInt(r,10);return o>=200&&o<300&&Xs(n.content)})).reduce((function(e,t){var r=B(t,2),n=r[1];return ee()(e).call(e,Q()(n.content))}),[]);h.length>0&&(t.headers.accept=h.join(", "))}if(n)if(s){if(u.indexOf(s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"===(0,k.A)(n)){var p=(c.content[s]||{}).encoding||{};t.form={},Q()(n).forEach((function(e){t.form[e]={value:n[e],encoding:p[e]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t}function dc(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,i=void 0===o?{}:o,a=e.spec,s=y({},t),c=n.authorized,u=void 0===c?{}:c,l=i.security||a.security||[],d=u&&!!Q()(u).length,f=(0,Bs.A)(a,["components","securitySchemes"])||{};return s.headers=s.headers||{},s.query=s.query||{},Q()(n).length&&d&&l&&(!Array.isArray(i.security)||i.security.length)?(l.forEach((function(e){Q()(e).forEach((function(e){var t=u[e],r=f[e];if(t){var n=t.value||t,o=r.type;if(t)if("apiKey"===o)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n);else if("http"===o){if(/^basic$/i.test(r.scheme)){var i,a=n.username||"",c=n.password||"",l=uc()(ee()(i="".concat(a,":")).call(i,c));s.headers.Authorization="Basic ".concat(l)}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization="Bearer ".concat(n))}else if("oauth2"===o||"openIdConnect"===o){var d,h=t.token||{},p=r["x-tokenName"]||"access_token",m=h[p],g=h.token_type;g&&"bearer"!==g.toLowerCase()||(g="Bearer"),s.headers.Authorization=ee()(d="".concat(g," ")).call(d,m)}}}))})),s):t}function fc(e,t){var r,n,o=e.spec,i=e.operation,a=e.securities,s=e.requestContentType,c=e.responseContentType,u=e.attachContentTypeForEmptyPayload;if(t=hc({request:t,securities:a,operation:i,spec:o}),t.body||t.form||u)if(s)t.headers["Content-Type"]=s;else if(Array.isArray(i.consumes)){var l=B(i.consumes,1);t.headers["Content-Type"]=l[0]}else if(Array.isArray(o.consumes)){var d=B(o.consumes,1);t.headers["Content-Type"]=d[0]}else i.parameters&&oe()(r=i.parameters).call(r,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":i.parameters&&oe()(n=i.parameters).call(n,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){var f,h,p=i.parameters&&oe()(f=i.parameters).call(f,(function(e){return"body"===e.in})).length>0,m=i.parameters&&oe()(h=i.parameters).call(h,(function(e){return"formData"===e.in})).length>0;(p||m)&&(t.headers["Content-Type"]=s)}return!c&&Array.isArray(i.produces)&&i.produces.length>0&&(t.headers.accept=i.produces.join(", ")),t}function hc(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,i=void 0===o?{}:o,a=e.spec,s=y({},t),c=n.authorized,u=void 0===c?{}:c,l=n.specSecurity,d=void 0===l?[]:l,f=i.security||d,h=u&&!!Q()(u).length,p=a.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},Q()(n).length&&h&&f&&(!Array.isArray(i.security)||i.security.length)?(f.forEach((function(e){Q()(e).forEach((function(e){var t=u[e];if(t){var r=t.token,n=t.value||t,o=p[e],i=o.type,a=o["x-tokenName"]||"access_token",c=r&&r[a],l=r&&r.token_type;if(t)if("apiKey"===i){var d="query"===o.in?"query":"headers";s[d]=s[d]||{},s[d][o.name]=n}else if("basic"===i)if(n.header)s.headers.authorization=n.header;else{var f,h=n.username||"",m=n.password||"";n.base64=uc()(ee()(f="".concat(h,":")).call(f,m)),s.headers.authorization="Basic ".concat(n.base64)}else if("oauth2"===i&&c){var g;l=l&&"bearer"!==l.toLowerCase()?l:"Bearer",s.headers.authorization=ee()(g="".concat(l," ")).call(g,c)}}}))})),s):t}var pc=["http","fetch","spec","operationId","pathName","method","parameters","securities"],mc=function(e){return Array.isArray(e)?e:[]},gc=Oa("OperationNotFoundError",(function(e,t,r){this.originalError=r,b()(this,t||{})})),yc=function(e,t){return oe()(t).call(t,(function(t){return t.name===e}))},vc=function(e){var t={};e.forEach((function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}));var r=[];return Q()(t).forEach((function(e){Q()(t[e]).forEach((function(n){r.push(t[e][n])}))})),r},bc={buildRequest:_c};function wc(e){var t=e.http,r=e.fetch,n=e.spec,o=e.operationId,i=e.pathName,a=e.method,s=e.parameters,c=e.securities,u=qs(e,pc),l=t||r||Uo;i&&a&&!o&&(o=Cs(i,a));var d=bc.buildRequest(y({spec:n,operationId:o,parameters:s,securities:c,http:l},u));return d.body&&(Xs(d.body)||Array.isArray(d.body))&&(d.body=K()(d.body)),l(d)}function _c(e){var t,r,n=e.spec,o=e.operationId,a=e.responseContentType,s=e.scheme,c=e.requestInterceptor,u=e.responseInterceptor,l=e.contextUrl,d=e.userFetch,f=e.server,h=e.serverVariables,p=e.http,m=e.signal,g=e.parameters,v=e.parameterBuilders,b=Ss(n);v||(v=b?i:Zs);var w=p&&p.withCredentials?"include":"same-origin",_={url:"",credentials:w,headers:{},cookies:{}};m&&(_.signal=m),c&&(_.requestInterceptor=c),u&&(_.responseInterceptor=u),d&&(_.userFetch=d);var E=Is(n,o);if(!E)throw new gc("Operation ".concat(o," not found"));var A=E.operation,S=void 0===A?{}:A,T=E.method,x=E.pathName;if(_.url+=Ac({spec:n,scheme:s,contextUrl:l,server:f,serverVariables:h,pathName:x,method:T}),!o)return delete _.cookies,_;_.url+=x,_.method="".concat(T).toUpperCase(),g=g||{};var C=n.paths[x]||{};a&&(_.headers.accept=a);var I=vc(ee()(t=ee()(r=[]).call(r,mc(S.parameters))).call(t,mc(C.parameters)));I.forEach((function(e){var t,r,o=v[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=g),t=e&&e.name&&g[e.name],"undefined"===typeof t)t=e&&e.name&&g[ee()(r="".concat(e.in,".")).call(r,e.name)];else if(yc(e.name,I).length>1){var i;console.warn(ee()(i="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(i,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if("undefined"!==typeof e.default&&"undefined"===typeof t&&(t=e.default),"undefined"===typeof t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(b&&e.schema&&"object"===e.schema.type&&"string"===typeof t)try{t=JSON.parse(t)}catch(a){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:_,parameter:e,value:t,operation:S,spec:n})}}));var O=y(y({},e),{},{operation:S});if(_=b?lc(O,_):fc(O,_),_.cookies&&Q()(_.cookies).length){var P=Q()(_.cookies).reduce((function(e,t){var r=_.cookies[t],n=e?"&":"",o=Ws.serialize(t,r);return e+n+o}),"");_.headers.Cookie=P}return _.cookies&&delete _.cookies,ti(_),_}var Ec=function(e){return e?e.replace(/\W/g,""):null};function Ac(e){var t=Ss(e.spec);return t?Sc(e):Cc(e)}function Sc(e){var t=e.spec,r=e.pathName,n=e.method,o=e.server,i=e.contextUrl,a=e.serverVariables,s=void 0===a?{}:a,c=(0,Bs.A)(t,["paths",r,(n||"").toLowerCase(),"servers"])||(0,Bs.A)(t,["paths",r,"servers"])||(0,Bs.A)(t,["servers"]),u="",l=null;if(o&&c&&c.length){var d=Z()(c).call(c,(function(e){return e.url}));d.indexOf(o)>-1&&(u=o,l=c[d.indexOf(o)])}if(!u&&c&&c.length){u=c[0].url;var f=B(c,1);l=f[0]}if(u.indexOf("{")>-1){var h=xc(u);h.forEach((function(e){if(l.variables&&l.variables[e]){var t=l.variables[e],r=s[e]||t.default,n=new RegExp("{".concat(e,"}"),"g");u=u.replace(n,r)}}))}return Tc(u,i)}function Tc(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=r&&n?E.parse(E.resolve(n,r)):E.parse(r),i=E.parse(n),a=Ec(o.protocol)||Ec(i.protocol)||"",s=o.host||i.host,c=o.pathname||"";a&&s?e=ee()(t="".concat(a,"://")).call(t,s+c):e=c;return"/"===e[e.length-1]?Oo()(e).call(e,0,-1):e}function xc(e){var t,r=[],n=/{([^}]+)}/g;while(t=n.exec(e))r.push(t[1]);return r}function Cc(e){var t,r,n=e.spec,o=e.scheme,i=e.contextUrl,a=void 0===i?"":i,s=E.parse(a),c=Array.isArray(n.schemes)?n.schemes[0]:null,u=o||c||Ec(s.protocol)||"http",l=n.host||s.host||"",d=n.basePath||"";u&&l?t=ee()(r="".concat(u,"://")).call(r,l+d):t=d;return"/"===t[t.length-1]?Oo()(t).call(t,0,-1):t}function Ic(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"===typeof e?r.url=e:r=e,!(this instanceof Ic))return new Ic(r);b()(this,r);var n=this.resolve().then((function(){return t.disableInterfaces||b()(t,Ic.makeApisTagOperation(t)),t}));return n.client=this,n}Ic.http=Uo,Ic.makeHttp=ri.bind(null,Ic.http),Ic.resolve=Ms,Ic.resolveSubtree=Ls,Ic.execute=wc,Ic.serializeRes=Vo,Ic.serializeHeaders=qo,Ic.clearCache=Rs,Ic.makeApisTagOperation=zs,Ic.buildRequest=_c,Ic.helpers={opId:Ts},Ic.getBaseUrl=Ac,Ic.prototype={http:Uo,execute:function(e){return this.applyDefaults(),Ic.execute(y({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"===typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ic.resolve(y({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null,skipNormalization:this.skipNormalization||!1},t)).then((function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e}))}},Ic.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&_()(t).call(t,"http")){var r=E.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};Ic.helpers;const Oc=Ic},9648:e=>{"use strict";var t=function(e){return r(e)&&!n(e)};function r(e){return!!e&&"object"===typeof e}function n(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||a(e)}var o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103;function a(e){return e.$$typeof===i}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?g(s(e),e,t):e}function u(e,t,r){return e.concat(t).map((function(e){return c(e,r)}))}function l(e,t){if(!t.customMerge)return g;var r=t.customMerge(e);return"function"===typeof r?r:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function f(e){return Object.keys(e).concat(d(e))}function h(e,t){try{return t in e}catch(r){return!1}}function p(e,t){return h(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function m(e,t,r){var n={};return r.isMergeableObject(e)&&f(e).forEach((function(t){n[t]=c(e[t],r)})),f(t).forEach((function(o){p(e,o)||(h(e,o)&&r.isMergeableObject(t[o])?n[o]=l(o,r)(e[o],t[o],r):n[o]=c(t[o],r))})),n}function g(e,r,n){n=n||{},n.arrayMerge=n.arrayMerge||u,n.isMergeableObject=n.isMergeableObject||t,n.cloneUnlessOtherwiseSpecified=c;var o=Array.isArray(r),i=Array.isArray(e),a=o===i;return a?o?n.arrayMerge(e,r,n):m(e,r,n):c(r,n)}g.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return g(e,r,t)}),{})};var y=g;e.exports=y},36623:e=>{"use strict";function t(e){return Object.prototype.toString.call(e)}function r(e){return"[object Date]"===t(e)}function n(e){return"[object RegExp]"===t(e)}function o(e){return"[object Error]"===t(e)}function i(e){return"[object Boolean]"===t(e)}function a(e){return"[object Number]"===t(e)}function s(e){return"[object String]"===t(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function u(e,t){if(e.forEach)return e.forEach(t);for(var r=0;rt&&(o=e.hash(o)),i=0;i{(function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function m(e,t,r,n,o){var i,a=0;for(i=0;i>>8)-1}function g(e,t,r,n){return m(e,t,r,n,16)}function y(e,t,r,n){return m(e,t,r,n,32)}function v(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,w=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,_=i,E=a,A=s,S=c,T=u,x=l,C=d,I=f,O=h,P=p,k=m,N=g,R=y,M=v,B=b,L=w,D=0;D<20;D+=2)o=_+R|0,T^=o<<7|o>>>25,o=T+_|0,O^=o<<9|o>>>23,o=O+T|0,R^=o<<13|o>>>19,o=R+O|0,_^=o<<18|o>>>14,o=x+E|0,P^=o<<7|o>>>25,o=P+x|0,M^=o<<9|o>>>23,o=M+P|0,E^=o<<13|o>>>19,o=E+M|0,x^=o<<18|o>>>14,o=k+C|0,B^=o<<7|o>>>25,o=B+k|0,A^=o<<9|o>>>23,o=A+B|0,C^=o<<13|o>>>19,o=C+A|0,k^=o<<18|o>>>14,o=L+N|0,S^=o<<7|o>>>25,o=S+L|0,I^=o<<9|o>>>23,o=I+S|0,N^=o<<13|o>>>19,o=N+I|0,L^=o<<18|o>>>14,o=_+S|0,E^=o<<7|o>>>25,o=E+_|0,A^=o<<9|o>>>23,o=A+E|0,S^=o<<13|o>>>19,o=S+A|0,_^=o<<18|o>>>14,o=x+T|0,C^=o<<7|o>>>25,o=C+x|0,I^=o<<9|o>>>23,o=I+C|0,T^=o<<13|o>>>19,o=T+I|0,x^=o<<18|o>>>14,o=k+P|0,N^=o<<7|o>>>25,o=N+k|0,O^=o<<9|o>>>23,o=O+N|0,P^=o<<13|o>>>19,o=P+O|0,k^=o<<18|o>>>14,o=L+B|0,R^=o<<7|o>>>25,o=R+L|0,M^=o<<9|o>>>23,o=M+R|0,B^=o<<13|o>>>19,o=B+M|0,L^=o<<18|o>>>14;_=_+i|0,E=E+a|0,A=A+s|0,S=S+c|0,T=T+u|0,x=x+l|0,C=C+d|0,I=I+f|0,O=O+h|0,P=P+p|0,k=k+m|0,N=N+g|0,R=R+y|0,M=M+v|0,B=B+b|0,L=L+w|0,e[0]=_>>>0&255,e[1]=_>>>8&255,e[2]=_>>>16&255,e[3]=_>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=A>>>0&255,e[9]=A>>>8&255,e[10]=A>>>16&255,e[11]=A>>>24&255,e[12]=S>>>0&255,e[13]=S>>>8&255,e[14]=S>>>16&255,e[15]=S>>>24&255,e[16]=T>>>0&255,e[17]=T>>>8&255,e[18]=T>>>16&255,e[19]=T>>>24&255,e[20]=x>>>0&255,e[21]=x>>>8&255,e[22]=x>>>16&255,e[23]=x>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=I>>>0&255,e[29]=I>>>8&255,e[30]=I>>>16&255,e[31]=I>>>24&255,e[32]=O>>>0&255,e[33]=O>>>8&255,e[34]=O>>>16&255,e[35]=O>>>24&255,e[36]=P>>>0&255,e[37]=P>>>8&255,e[38]=P>>>16&255,e[39]=P>>>24&255,e[40]=k>>>0&255,e[41]=k>>>8&255,e[42]=k>>>16&255,e[43]=k>>>24&255,e[44]=N>>>0&255,e[45]=N>>>8&255,e[46]=N>>>16&255,e[47]=N>>>24&255,e[48]=R>>>0&255,e[49]=R>>>8&255,e[50]=R>>>16&255,e[51]=R>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=B>>>0&255,e[57]=B>>>8&255,e[58]=B>>>16&255,e[59]=B>>>24&255,e[60]=L>>>0&255,e[61]=L>>>8&255,e[62]=L>>>16&255,e[63]=L>>>24&255}function b(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,w=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,_=i,E=a,A=s,S=c,T=u,x=l,C=d,I=f,O=h,P=p,k=m,N=g,R=y,M=v,B=b,L=w,D=0;D<20;D+=2)o=_+R|0,T^=o<<7|o>>>25,o=T+_|0,O^=o<<9|o>>>23,o=O+T|0,R^=o<<13|o>>>19,o=R+O|0,_^=o<<18|o>>>14,o=x+E|0,P^=o<<7|o>>>25,o=P+x|0,M^=o<<9|o>>>23,o=M+P|0,E^=o<<13|o>>>19,o=E+M|0,x^=o<<18|o>>>14,o=k+C|0,B^=o<<7|o>>>25,o=B+k|0,A^=o<<9|o>>>23,o=A+B|0,C^=o<<13|o>>>19,o=C+A|0,k^=o<<18|o>>>14,o=L+N|0,S^=o<<7|o>>>25,o=S+L|0,I^=o<<9|o>>>23,o=I+S|0,N^=o<<13|o>>>19,o=N+I|0,L^=o<<18|o>>>14,o=_+S|0,E^=o<<7|o>>>25,o=E+_|0,A^=o<<9|o>>>23,o=A+E|0,S^=o<<13|o>>>19,o=S+A|0,_^=o<<18|o>>>14,o=x+T|0,C^=o<<7|o>>>25,o=C+x|0,I^=o<<9|o>>>23,o=I+C|0,T^=o<<13|o>>>19,o=T+I|0,x^=o<<18|o>>>14,o=k+P|0,N^=o<<7|o>>>25,o=N+k|0,O^=o<<9|o>>>23,o=O+N|0,P^=o<<13|o>>>19,o=P+O|0,k^=o<<18|o>>>14,o=L+B|0,R^=o<<7|o>>>25,o=R+L|0,M^=o<<9|o>>>23,o=M+R|0,B^=o<<13|o>>>19,o=B+M|0,L^=o<<18|o>>>14;e[0]=_>>>0&255,e[1]=_>>>8&255,e[2]=_>>>16&255,e[3]=_>>>24&255,e[4]=x>>>0&255,e[5]=x>>>8&255,e[6]=x>>>16&255,e[7]=x>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=L>>>0&255,e[13]=L>>>8&255,e[14]=L>>>16&255,e[15]=L>>>24&255,e[16]=C>>>0&255,e[17]=C>>>8&255,e[18]=C>>>16&255,e[19]=C>>>24&255,e[20]=I>>>0&255,e[21]=I>>>8&255,e[22]=I>>>16&255,e[23]=I>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=P>>>0&255,e[29]=P>>>8&255,e[30]=P>>>16&255,e[31]=P>>>24&255}function w(e,t,r,n){v(e,t,r,n)}function _(e,t,r,n){b(e,t,r,n)}var E=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function A(e,t,r,n,o,i,a){var s,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=i[c];while(o>=64){for(w(l,u,a,E),c=0;c<64;c++)e[t+c]=r[n+c]^l[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,t+=64,n+=64}if(o>0)for(w(l,u,a,E),c=0;c=64){for(w(c,s,o,E),a=0;a<64;a++)e[t+a]=c[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(w(c,s,o,E),a=0;a>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function I(e,t,r,n,o,i){var a=new C(i);return a.update(r,n,o),a.finish(e,t),0}function O(e,t,r,n,o,i){var a=new Uint8Array(16);return I(a,0,r,n,o,i),g(e,t,a,0)}function P(e,t,r,n,o){var i;if(r<32)return-1;for(x(e,0,t,0,r,n,o),I(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function k(e,t,r,n,o){var i,a=new Uint8Array(32);if(r<32)return-1;if(T(a,0,32,n,o),0!==O(t,16,t,32,r-32,a))return-1;for(x(e,0,t,0,r,n,o),i=0;i<32;i++)e[i]=0;return 0}function N(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function R(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function M(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function B(e,r){var n,o,i,a=t(),s=t();for(n=0;n<16;n++)s[n]=r[n];for(R(s),R(s),R(s),o=0;o<2;o++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,M(s,a,1-i)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function L(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return B(r,e),B(n,t),y(r,0,n,0)}function D(e){var t=new Uint8Array(32);return B(t,e),1&t[0]}function F(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function j(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function $(e,t,r){var n,o,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=r[0],D=r[1],F=r[2],j=r[3],U=r[4],$=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,p+=38*P,m+=38*k,g+=38*N,y+=38*R,v+=38*M,b+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-65536*o,n=a+o+65535,o=Math.floor(n/65536),a=n-65536*o,n=s+o+65535,o=Math.floor(n/65536),s=n-65536*o,n=c+o+65535,o=Math.floor(n/65536),c=n-65536*o,n=u+o+65535,o=Math.floor(n/65536),u=n-65536*o,n=l+o+65535,o=Math.floor(n/65536),l=n-65536*o,n=d+o+65535,o=Math.floor(n/65536),d=n-65536*o,n=f+o+65535,o=Math.floor(n/65536),f=n-65536*o,n=h+o+65535,o=Math.floor(n/65536),h=n-65536*o,n=p+o+65535,o=Math.floor(n/65536),p=n-65536*o,n=m+o+65535,o=Math.floor(n/65536),m=n-65536*o,n=g+o+65535,o=Math.floor(n/65536),g=n-65536*o,n=y+o+65535,o=Math.floor(n/65536),y=n-65536*o,n=v+o+65535,o=Math.floor(n/65536),v=n-65536*o,n=b+o+65535,o=Math.floor(n/65536),b=n-65536*o,n=w+o+65535,o=Math.floor(n/65536),w=n-65536*o,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-65536*o,n=a+o+65535,o=Math.floor(n/65536),a=n-65536*o,n=s+o+65535,o=Math.floor(n/65536),s=n-65536*o,n=c+o+65535,o=Math.floor(n/65536),c=n-65536*o,n=u+o+65535,o=Math.floor(n/65536),u=n-65536*o,n=l+o+65535,o=Math.floor(n/65536),l=n-65536*o,n=d+o+65535,o=Math.floor(n/65536),d=n-65536*o,n=f+o+65535,o=Math.floor(n/65536),f=n-65536*o,n=h+o+65535,o=Math.floor(n/65536),h=n-65536*o,n=p+o+65535,o=Math.floor(n/65536),p=n-65536*o,n=m+o+65535,o=Math.floor(n/65536),m=n-65536*o,n=g+o+65535,o=Math.floor(n/65536),g=n-65536*o,n=y+o+65535,o=Math.floor(n/65536),y=n-65536*o,n=v+o+65535,o=Math.floor(n/65536),v=n-65536*o,n=b+o+65535,o=Math.floor(n/65536),b=n-65536*o,n=w+o+65535,o=Math.floor(n/65536),w=n-65536*o,i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=l,e[6]=d,e[7]=f,e[8]=h,e[9]=p,e[10]=m,e[11]=g,e[12]=y,e[13]=v,e[14]=b,e[15]=w}function z(e,t){$(e,t,t)}function H(e,r){var n,o=t();for(n=0;n<16;n++)o[n]=r[n];for(n=253;n>=0;n--)z(o,o),2!==n&&4!==n&&$(o,o,r);for(n=0;n<16;n++)e[n]=o[n]}function V(e,r){var n,o=t();for(n=0;n<16;n++)o[n]=r[n];for(n=250;n>=0;n--)z(o,o),1!==n&&$(o,o,r);for(n=0;n<16;n++)e[n]=o[n]}function G(e,r,n){var o,i,a=new Uint8Array(32),s=new Float64Array(80),u=t(),l=t(),d=t(),f=t(),h=t(),p=t();for(i=0;i<31;i++)a[i]=r[i];for(a[31]=127&r[31]|64,a[0]&=248,F(s,n),i=0;i<16;i++)l[i]=s[i],f[i]=u[i]=d[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)o=a[i>>>3]>>>(7&i)&1,M(u,l,o),M(d,f,o),j(h,u,d),U(u,u,d),j(d,l,f),U(l,l,f),z(f,h),z(p,u),$(u,d,u),$(d,l,h),j(h,u,d),U(u,u,d),z(l,u),U(d,f,p),$(u,d,c),j(u,u,f),$(d,d,u),$(u,f,p),$(f,l,s),z(l,h),M(u,l,o),M(d,f,o);for(i=0;i<16;i++)s[i+16]=u[i],s[i+32]=d[i],s[i+48]=l[i],s[i+64]=f[i];var m=s.subarray(32),g=s.subarray(16);return H(m,m),$(g,g,m),B(e,g),0}function q(e,t){return G(e,t,i)}function W(e,t){return n(t,32),q(e,t)}function K(e,t,r){var n=new Uint8Array(32);return G(n,r,t),_(e,o,n,E)}C.prototype.blocks=function(e,t,r){var n,o,i,a,s,c,u,l,d,f,h,p,m,g,y,v,b,w,_,E=this.fin?0:2048,A=this.h[0],S=this.h[1],T=this.h[2],x=this.h[3],C=this.h[4],I=this.h[5],O=this.h[6],P=this.h[7],k=this.h[8],N=this.h[9],R=this.r[0],M=this.r[1],B=this.r[2],L=this.r[3],D=this.r[4],F=this.r[5],j=this.r[6],U=this.r[7],$=this.r[8],z=this.r[9];while(r>=16)n=255&e[t+0]|(255&e[t+1])<<8,A+=8191&n,o=255&e[t+2]|(255&e[t+3])<<8,S+=8191&(n>>>13|o<<3),i=255&e[t+4]|(255&e[t+5])<<8,T+=8191&(o>>>10|i<<6),a=255&e[t+6]|(255&e[t+7])<<8,x+=8191&(i>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,C+=8191&(a>>>4|s<<12),I+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,O+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,P+=8191&(c>>>11|u<<5),l=255&e[t+14]|(255&e[t+15])<<8,k+=8191&(u>>>8|l<<8),N+=l>>>5|E,d=0,f=d,f+=A*R,f+=S*(5*z),f+=T*(5*$),f+=x*(5*U),f+=C*(5*j),d=f>>>13,f&=8191,f+=I*(5*F),f+=O*(5*D),f+=P*(5*L),f+=k*(5*B),f+=N*(5*M),d+=f>>>13,f&=8191,h=d,h+=A*M,h+=S*R,h+=T*(5*z),h+=x*(5*$),h+=C*(5*U),d=h>>>13,h&=8191,h+=I*(5*j),h+=O*(5*F),h+=P*(5*D),h+=k*(5*L),h+=N*(5*B),d+=h>>>13,h&=8191,p=d,p+=A*B,p+=S*M,p+=T*R,p+=x*(5*z),p+=C*(5*$),d=p>>>13,p&=8191,p+=I*(5*U),p+=O*(5*j),p+=P*(5*F),p+=k*(5*D),p+=N*(5*L),d+=p>>>13,p&=8191,m=d,m+=A*L,m+=S*B,m+=T*M,m+=x*R,m+=C*(5*z),d=m>>>13,m&=8191,m+=I*(5*$),m+=O*(5*U),m+=P*(5*j),m+=k*(5*F),m+=N*(5*D),d+=m>>>13,m&=8191,g=d,g+=A*D,g+=S*L,g+=T*B,g+=x*M,g+=C*R,d=g>>>13,g&=8191,g+=I*(5*z),g+=O*(5*$),g+=P*(5*U),g+=k*(5*j),g+=N*(5*F),d+=g>>>13,g&=8191,y=d,y+=A*F,y+=S*D,y+=T*L,y+=x*B,y+=C*M,d=y>>>13,y&=8191,y+=I*R,y+=O*(5*z),y+=P*(5*$),y+=k*(5*U),y+=N*(5*j),d+=y>>>13,y&=8191,v=d,v+=A*j,v+=S*F,v+=T*D,v+=x*L,v+=C*B,d=v>>>13,v&=8191,v+=I*M,v+=O*R,v+=P*(5*z),v+=k*(5*$),v+=N*(5*U),d+=v>>>13,v&=8191,b=d,b+=A*U,b+=S*j,b+=T*F,b+=x*D,b+=C*L,d=b>>>13,b&=8191,b+=I*B,b+=O*M,b+=P*R,b+=k*(5*z),b+=N*(5*$),d+=b>>>13,b&=8191,w=d,w+=A*$,w+=S*U,w+=T*j,w+=x*F,w+=C*D,d=w>>>13,w&=8191,w+=I*L,w+=O*B,w+=P*M,w+=k*R,w+=N*(5*z),d+=w>>>13,w&=8191,_=d,_+=A*z,_+=S*$,_+=T*U,_+=x*j,_+=C*F,d=_>>>13,_&=8191,_+=I*D,_+=O*L,_+=P*B,_+=k*M,_+=N*R,d+=_>>>13,_&=8191,d=(d<<2)+d|0,d=d+f|0,f=8191&d,d>>>=13,h+=d,A=f,S=h,T=p,x=m,C=g,I=y,O=v,P=b,k=w,N=_,t+=16,r-=16;this.h[0]=A,this.h[1]=S,this.h[2]=T,this.h[3]=x,this.h[4]=C,this.h[5]=I,this.h[6]=O,this.h[7]=P,this.h[8]=k,this.h[9]=N},C.prototype.finish=function(e,t){var r,n,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+r,r=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,n=(1^r)-1,i=0;i<10;i++)a[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},C.prototype.update=function(e,t,r){var n,o;if(this.leftover){for(o=16-this.leftover,o>r&&(o=r),n=0;n=16&&(o=r-r%16,this.blocks(e,t,o),t+=o,r-=o),r){for(n=0;n=128){for(E=0;E<16;E++)A=8*E+K,P[E]=r[A+0]<<24|r[A+1]<<16|r[A+2]<<8|r[A+3],k[E]=r[A+4]<<24|r[A+5]<<16|r[A+6]<<8|r[A+7];for(E=0;E<80;E++)if(o=N,i=R,a=M,s=B,c=L,u=D,l=F,d=j,f=U,h=$,p=z,m=H,g=V,y=G,v=q,b=W,S=j,T=W,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=(L>>>14|V<<18)^(L>>>18|V<<14)^(V>>>9|L<<23),T=(V>>>14|L<<18)^(V>>>18|L<<14)^(L>>>9|V<<23),x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,S=L&D^~L&F,T=V&G^~V&q,x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,S=J[2*E],T=J[2*E+1],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,S=P[E%16],T=k[E%16],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,w=65535&I|O<<16,_=65535&x|C<<16,S=w,T=_,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=(N>>>28|U<<4)^(U>>>2|N<<30)^(U>>>7|N<<25),T=(U>>>28|N<<4)^(N>>>2|U<<30)^(N>>>7|U<<25),x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,S=N&R^N&M^R&M,T=U&$^U&z^$&z,x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,d=65535&I|O<<16,b=65535&x|C<<16,S=s,T=m,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=w,T=_,x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,s=65535&I|O<<16,m=65535&x|C<<16,R=o,M=i,B=a,L=s,D=c,F=u,j=l,N=d,$=f,z=h,H=p,V=m,G=g,q=y,W=v,U=b,E%16===15)for(A=0;A<16;A++)S=P[A],T=k[A],x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=P[(A+9)%16],T=k[(A+9)%16],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,w=P[(A+1)%16],_=k[(A+1)%16],S=(w>>>1|_<<31)^(w>>>8|_<<24)^w>>>7,T=(_>>>1|w<<31)^(_>>>8|w<<24)^(_>>>7|w<<25),x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,w=P[(A+14)%16],_=k[(A+14)%16],S=(w>>>19|_<<13)^(_>>>29|w<<3)^w>>>6,T=(_>>>19|w<<13)^(w>>>29|_<<3)^(_>>>6|w<<26),x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,P[A]=65535&I|O<<16,k[A]=65535&x|C<<16;S=N,T=U,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[0],T=t[0],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[0]=N=65535&I|O<<16,t[0]=U=65535&x|C<<16,S=R,T=$,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[1],T=t[1],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[1]=R=65535&I|O<<16,t[1]=$=65535&x|C<<16,S=M,T=z,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[2],T=t[2],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[2]=M=65535&I|O<<16,t[2]=z=65535&x|C<<16,S=B,T=H,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[3],T=t[3],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[3]=B=65535&I|O<<16,t[3]=H=65535&x|C<<16,S=L,T=V,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[4],T=t[4],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[4]=L=65535&I|O<<16,t[4]=V=65535&x|C<<16,S=D,T=G,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[5],T=t[5],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[5]=D=65535&I|O<<16,t[5]=G=65535&x|C<<16,S=F,T=q,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[6],T=t[6],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[6]=F=65535&I|O<<16,t[6]=q=65535&x|C<<16,S=j,T=W,x=65535&T,C=T>>>16,I=65535&S,O=S>>>16,S=e[7],T=t[7],x+=65535&T,C+=T>>>16,I+=65535&S,O+=S>>>16,C+=x>>>16,I+=C>>>16,O+=I>>>16,e[7]=j=65535&I|O<<16,t[7]=W=65535&x|C<<16,K+=128,n-=128}return n}function te(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,ee(o,i,t,r),r%=128,n=0;n=0;--o)n=r[o/8|0]>>(7&o)&1,ne(e,t,n),re(t,e),re(e,e),ne(e,t,n)}function ae(e,r){var n=[t(),t(),t(),t()];N(n[0],d),N(n[1],f),N(n[2],s),$(n[3],d,f),ie(e,n,r)}function se(e,r,o){var i,a=new Uint8Array(64),s=[t(),t(),t(),t()];for(o||n(r,32),te(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64,ae(s,a),oe(e,s),i=0;i<32;i++)r[i+32]=e[i];return 0}var ce=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ue(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>4)*ce[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*ce[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function le(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ue(e,r)}function de(e,r,n,o){var i,a,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),d=[t(),t(),t(),t()];te(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=n+64;for(i=0;i>7&&U(e[0],a,e[0]),$(e[3],e[0],e[1]),0)}function he(e,r,n,o){var i,a=new Uint8Array(32),s=new Uint8Array(64),c=[t(),t(),t(),t()],u=[t(),t(),t(),t()];if(n<64)return-1;if(fe(u,o))return-1;for(i=0;i=0},e.sign.keyPair=function(){var e=new Uint8Array(Ce),t=new Uint8Array(Ie);return se(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(Re(e),e.length!==Ie)throw new Error("bad secret key size");for(var t=new Uint8Array(Ce),r=0;r{var n=r(12113);function o(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":o(e.constructor)}function a(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}function s(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function c(e){return n.Function(e)?e.toJSON?e.toJSON():o(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function u(e,t,r){var n=a(t);return"Expected "+c(e)+", got"+(""!==r?" "+r:"")+(""!==n?" "+n:"")}function l(e,t,r){r=r||i(t),this.message=u(e,t,r),s(this,l),this.__type=e,this.__value=t,this.__valueTypeName=r}function d(e,t,r,n,o){var i='" of type ';return"key"===t&&(i='" with key type '),u('property "'+c(r)+i+c(e),n,o)}function f(e,t,r,n,o){e?(o=o||i(n),this.message=d(e,r,t,n,o)):this.message='Unexpected property "'+t+'"',s(this,l),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=o}function h(e,t){return new l(e,{},t)}function p(e,t,r){return e instanceof f?(t=t+"."+e.__property,e=new f(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof l&&(e=new f(e.__type,t,r,e.__value,e.__valueTypeName)),s(e),e}l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,f.prototype=Object.create(Error.prototype),f.prototype.constructor=l,e.exports={TfTypeError:l,TfPropertyTypeError:f,tfCustomError:h,tfSubError:p,tfJSON:c,getValueTypeName:i}},69542:(e,t,r)=>{var n=r(48287)["Buffer"],o=r(12113),i=r(1061);function a(e){return n.isBuffer(e)}function s(e){return"string"===typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function c(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw i.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var u=c.bind(null,o.Array),l=c.bind(null,a),d=c.bind(null,s),f=c.bind(null,o.String);function h(e,t,r){function n(n,o){return r(n,o)&&n>e&&n>24===e}function y(e){return e<<16>>16===e}function v(e){return(0|e)===e}function b(e){return"number"===typeof e&&e>=-p&&e<=p&&Math.floor(e)===e}function w(e){return(255&e)===e}function _(e){return(65535&e)===e}function E(e){return e>>>0===e}function A(e){return"number"===typeof e&&e>=0&&e<=p&&Math.floor(e)===e}var S={ArrayN:u,Buffer:a,BufferN:l,Finite:m,Hex:s,HexN:d,Int8:g,Int16:y,Int32:v,Int53:b,Range:h,StringN:f,UInt8:w,UInt16:_,UInt32:E,UInt53:A};for(var T in S)S[T].toJSON=function(e){return e}.bind(null,T);e.exports=S},8676:(e,t,r)=>{var n=r(1061),o=r(12113),i=n.tfJSON,a=n.TfTypeError,s=n.TfPropertyTypeError,c=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!o.Array(r)&&(!o.Nil(r)&&(!(void 0!==t.minLength&&r.lengtht.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every((function(t,r){try{return f(e,t,n)}catch(o){throw c(o,r)}}))))))}return e=d(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return o.Nil(r)||t(r,n,e)}return t=d(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!o.Object(r))return!1;if(o.Nil(r))return!1;for(var i in r){try{t&&f(t,i,n)}catch(s){throw c(s,i,"key")}try{var a=r[i];f(e,a,n)}catch(s){throw c(s,i)}}return!0}return e=d(e),t&&(t=d(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=d(e[r]);function n(e,r){if(!o.Object(e))return!1;if(o.Nil(e))return!1;var n;try{for(n in t){var i=t[n],a=e[n];f(i,a,r)}}catch(u){throw c(u,n)}if(r)for(n in e)if(!t[n])throw new s(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return e.some((function(e){try{return f(e,t,r)}catch(n){return!1}}))}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return e.every((function(e){try{return f(e,t,r)}catch(n){return!1}}))}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return!o.Nil(t)&&(!o.Nil(t.length)&&((!r||t.length===e.length)&&e.every((function(e,n){try{return f(e,t[n],r)}catch(o){throw c(o,n)}}))))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function d(e){if(o.String(e))return"?"===e[0]?l.maybe(e.slice(1)):o[e]||l.quacksLike(e);if(e&&o.Object(e)){if(o.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return o.Function(e)?e:l.value(e)}function f(e,t,r,n){if(o.Function(e)){if(e(t,r))return!0;throw new a(n||e,t)}return f(d(e),t,r)}for(var h in l.oneOf=l.anyOf,o)f[h]=o[h];for(h in l)f[h]=l[h];var p=r(69542);for(h in p)f[h]=p[h];f.compile=d,f.TfTypeError=a,f.TfPropertyTypeError=s,e.exports=f},12113:e=>{var t={Array:function(e){return null!==e&&void 0!==e&&e.constructor===Array},Boolean:function(e){return"boolean"===typeof e},Function:function(e){return"function"===typeof e},Nil:function(e){return void 0===e||null===e},Number:function(e){return"number"===typeof e},Object:function(e){return"object"===typeof e},String:function(e){return"string"===typeof e},"":function(){return!0}};for(var r in t.Null=t.Nil,t)t[r].toJSON=function(e){return e}.bind(null,r);e.exports=t},61270:function(e,t,r){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */e=r.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,u=1,l=26,d=38,f=700,h=72,p=128,m="-",g=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,_=Math.floor,E=String.fromCharCode;function A(e){throw new RangeError(b[e])}function S(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function T(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(v,".");var o=e.split("."),i=S(o,t).join(".");return n+i}function x(e){var t,r,n=[],o=0,i=e.length;while(o=55296&&t<=56319&&o65535&&(e-=65536,t+=E(e>>>10&1023|55296),e=56320|1023&e),t+=E(e),t})).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function P(e,t,r){var n=0;for(e=r?_(e/f):e>>1,e+=_(e/t);e>w*l>>1;n+=c)e=_(e/w);return _(n+(w+1)*e/(e+d))}function k(e){var t,r,n,o,i,a,d,f,g,y,v=[],b=e.length,w=0,E=p,S=h;for(r=e.lastIndexOf(m),r<0&&(r=0),n=0;n=128&&A("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=b&&A("invalid-input"),f=I(e.charCodeAt(o++)),(f>=c||f>_((s-w)/a))&&A("overflow"),w+=f*a,g=d<=S?u:d>=S+l?l:d-S,f_(s/y)&&A("overflow"),a*=y}t=v.length+1,S=P(w-i,t,0==i),_(w/t)>s-E&&A("overflow"),E+=_(w/t),w%=t,v.splice(w++,0,E)}return C(v)}function N(e){var t,r,n,o,i,a,d,f,g,y,v,b,w,S,T,C=[];for(e=x(e),b=e.length,t=p,r=0,i=h,a=0;a=t&&v_((s-r)/w)&&A("overflow"),r+=(d-t)*w,t=d,a=0;as&&A("overflow"),v==t){for(f=r,g=c;;g+=c){if(y=g<=i?u:g>=i+l?l:g-i,f{"use strict";var t=String.prototype.replace,r=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},63098:(e,t,r)=>{"use strict";var n=r(91207),o=r(60969),i=r(95902);e.exports={formats:i,parse:o,stringify:n}},60969:(e,t,r)=>{"use strict";var n=r(62795),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",d=function(e,t){var r,d={__proto__:null},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,h),m=-1,g=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(v=i(v)?[v]:v);var E=o.call(d,y);E&&"combine"===t.duplicates?d[y]=n.combine(d[y],v):E&&"last"!==t.duplicates||(d[y]=v)}return d},f=function(e,t,r,n){for(var o=n?t:c(t,r),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,d=parseInt(l,10);r.parseArrays||""!==l?!isNaN(d)&&s!==l&&String(d)===l&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(a=[],a[d]=o):"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o},h=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=r.depth>0&&a.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}var d=0;while(r.depth>0&&null!==(c=s.exec(i))&&d{"use strict";var n=r(920),o=r(62795),i=r(95902),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,c(t)?t:[t])},d=Date.prototype.toISOString,f=i["default"],h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,r,i,a,s,u,d,f,g,y,v,b,w,_,E,A,S,T){var x=t,C=T,I=0,O=!1;while(void 0!==(C=C.get(m))&&!O){var P=C.get(t);if(I+=1,"undefined"!==typeof P){if(P===I)throw new RangeError("Cyclic object value");O=!0}"undefined"===typeof C.get(m)&&(I=0)}if("function"===typeof y?x=y(r,x):x instanceof Date?x=w(x):"comma"===i&&c(x)&&(x=o.maybeMap(x,(function(e){return e instanceof Date?w(e):e}))),null===x){if(u)return g&&!A?g(r,h.encoder,S,"key",_):r;x=""}if(p(x)||o.isBuffer(x)){if(g){var k=A?r:g(r,h.encoder,S,"key",_);return[E(k)+"="+E(g(x,h.encoder,S,"value",_))]}return[E(r)+"="+E(String(x))]}var N,R=[];if("undefined"===typeof x)return R;if("comma"===i&&c(x))A&&g&&(x=o.maybeMap(x,g)),N=[{value:x.length>0?x.join(",")||null:void 0}];else if(c(y))N=y;else{var M=Object.keys(x);N=v?M.sort(v):M}var B=f?r.replace(/\./g,"%2E"):r,L=a&&c(x)&&1===x.length?B+"[]":B;if(s&&c(x)&&0===x.length)return L+"[]";for(var D=0;D0?b+v:""}},62795:(e,t,r)=>{"use strict";var n=r(95902),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===n.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n{"use strict";var n=r(61270);function o(){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}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(c),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(63098);function w(e,t,r){if(e&&"object"===typeof e&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}function _(e){return"string"===typeof e&&(e=w(e)),e instanceof o?e.format():o.prototype.format.call(e)}function E(e,t){return w(e,!1,!0).resolve(t)}function A(e,t){return e?w(e,!1,!0).resolveObject(t):t}o.prototype.parse=function(e,t,r){if("string"!==typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?M+="x":M+=R[B];if(!M.match(p)){var D=k.slice(0,I),F=k.slice(I+1),j=R.match(m);j&&(D.push(j[1]),F.unshift(j[2])),F.length&&(w="/"+F.join(".")+w),this.hostname=D.join(".");break}}}this.hostname.length>h?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+U,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[A])for(I=0,N=l.length;I0)&&r.host.split("@");S&&(r.auth=S.shift(),r.hostname=S.shift(),r.host=r.hostname)}return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=E.slice(-1)[0],x=(r.host||e.host||E.length>1)&&("."===T||".."===T)||""===T,C=0,I=E.length;I>=0;I--)T=E[I],"."===T?E.splice(I,1):".."===T?(E.splice(I,1),C++):C&&(E.splice(I,1),C--);if(!w&&!_)for(;C--;C)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),x&&"/"!==E.join("/").substr(-1)&&E.push("");var O=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(A){r.hostname=O?"":E.length?E.shift():"",r.host=r.hostname;S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.hostname=S.shift(),r.host=r.hostname)}return w=w||r.host&&E.length,w&&!O&&E.unshift(""),E.length>0?r.pathname=E.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===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},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=w,t.resolve=E,t.resolveObject=A,t.format=_,t.Url=o},94643:(e,t,r)=>{function n(e,t){if(o("noDeprecation"))return e;var r=!1;function n(){if(!r){if(o("throwDeprecation"))throw new Error(t);o("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function o(e){try{if(!r.g.localStorage)return!1}catch(n){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=n},42302:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});const n="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),o={randomUUID:n};let i;const a=new Uint8Array(16);function s(){if(!i&&(i="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(a)}const c=[];for(let f=0;f<256;++f)c.push((f+256).toString(16).slice(1));function u(e,t=0){return c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]}function l(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();e=e||{};const n=e.random||(e.rng||s)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return u(n)}const d=l},57761:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=Ze(r(13752)),i=Ze(r(33752)),a=Ze(r(50855)),s=Ze(r(43214)),c=Ze(r(40700)),u=Ze(r(59220)),l=Ze(r(72576)),d=Ze(r(69517)),f=Ze(r(77844)),h=Ze(r(3196)),p=Ze(r(35372)),m=Ze(r(17115)),g=Ze(r(57658)),y=Ze(r(99013)),v=Ze(r(58796)),b=Ze(r(1697)),w=Ze(r(7071)),_=Xe(r(66529)),E=Xe(r(98986)),A=Ze(r(21666)),S=Ze(r(93442)),T=Ze(r(33906)),x=Ze(r(37612)),C=Ze(r(75577)),I=Ze(r(8461)),O=Ze(r(74294)),P=Ze(r(29666)),k=Ze(r(49534)),N=Ze(r(31449)),R=Ze(r(72830)),M=Ze(r(99841)),B=Ze(r(43459)),L=Ze(r(76084)),D=Xe(r(50995)),F=Ze(r(45926)),j=Ze(r(82002)),U=Ze(r(99546)),$=Ze(r(13735)),z=Ze(r(24641)),H=Ze(r(45467)),V=Ze(r(57086)),G=Ze(r(31954)),q=Xe(r(23641)),W=Ze(r(55259)),K=Ze(r(59745)),X=Ze(r(33973)),Z=Ze(r(29172)),Y=Ze(r(75751)),Q=Ze(r(2056)),J=Ze(r(29285)),ee=Ze(r(46255)),te=Ze(r(65186)),re=Ze(r(31252)),ne=Ze(r(61195)),oe=Ze(r(66658)),ie=Ze(r(19266)),ae=Ze(r(73609)),se=Ze(r(61062)),ce=Ze(r(62645)),ue=Ze(r(27717)),le=Ze(r(92678)),de=Ze(r(59717)),fe=Ze(r(60604)),he=Ze(r(77741)),pe=Xe(r(95251)),me=Ze(r(60082)),ge=Ze(r(6782)),ye=Ze(r(25748)),ve=r(45777),be=Ze(r(48033)),we=Ze(r(66169)),_e=Ze(r(61578)),Ee=Ze(r(88447)),Ae=Ze(r(53832)),Se=Ze(r(88342)),Te=Ze(r(7673)),xe=Ze(r(26617)),Ce=Ze(r(98274)),Ie=Ze(r(73583)),Oe=Ze(r(27349)),Pe=Ze(r(32337)),ke=Ze(r(64633)),Ne=Ze(r(5830)),Re=Xe(r(93939)),Me=Ze(r(62309)),Be=Ze(r(12483)),Le=Ze(r(30317)),De=Ze(r(69790)),Fe=Ze(r(87677)),je=Ze(r(561)),Ue=Ze(r(61996)),$e=Ze(r(410)),ze=Ze(r(90629)),He=Ze(r(81128)),Ve=Ze(r(69234)),Ge=Ze(r(10676)),qe=Ze(r(17179)),We=Ze(r(55366));function Ke(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ke=function(){return e},e}function Xe(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=Ke();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ze(e){return e&&e.__esModule?e:{default:e}}var Ye="13.11.0",Qe={version:Ye,toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:s.default,equals:c.default,contains:u.default,matches:l.default,isEmail:d.default,isURL:f.default,isMACAddress:h.default,isIP:p.default,isIPRange:m.default,isFQDN:g.default,isBoolean:b.default,isIBAN:q.default,isBIC:W.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:E.default,isAlphanumericLocales:E.locales,isNumeric:A.default,isPassportNumber:S.default,isPort:T.default,isLowercase:x.default,isUppercase:C.default,isAscii:O.default,isFullWidth:P.default,isHalfWidth:k.default,isVariableWidth:N.default,isMultibyte:R.default,isSemVer:M.default,isSurrogatePair:B.default,isInt:L.default,isIMEI:I.default,isFloat:D.default,isFloatLocales:D.locales,isDecimal:F.default,isHexadecimal:j.default,isOctal:U.default,isDivisibleBy:$.default,isHexColor:z.default,isRgbColor:H.default,isHSL:V.default,isISRC:G.default,isMD5:K.default,isHash:X.default,isJWT:Z.default,isJSON:Y.default,isEmpty:Q.default,isLength:J.default,isLocale:w.default,isByteLength:ee.default,isUUID:te.default,isMongoId:re.default,isAfter:ne.default,isBefore:oe.default,isIn:ie.default,isLuhnNumber:ae.default,isCreditCard:se.default,isIdentityCard:ce.default,isEAN:ue.default,isISIN:le.default,isISBN:de.default,isISSN:fe.default,isMobilePhone:pe.default,isMobilePhoneLocales:pe.locales,isPostalCode:Re.default,isPostalCodeLocales:Re.locales,isEthereumAddress:me.default,isCurrency:ge.default,isBtcAddress:ye.default,isISO6346:ve.isISO6346,isFreightContainerID:ve.isFreightContainerID,isISO6391:be.default,isISO8601:we.default,isRFC3339:_e.default,isISO31661Alpha2:Ee.default,isISO31661Alpha3:Ae.default,isISO4217:Se.default,isBase32:Te.default,isBase58:xe.default,isBase64:Ce.default,isDataURI:Ie.default,isMagnetURI:Oe.default,isMailtoURI:Pe.default,isMimeType:ke.default,isLatLong:Ne.default,ltrim:Me.default,rtrim:Be.default,trim:Le.default,escape:De.default,unescape:Fe.default,stripLow:je.default,whitelist:Ue.default,blacklist:$e.default,isWhitelisted:ze.default,normalizeEmail:He.default,toString,isSlug:Ve.default,isStrongPassword:qe.default,isTaxID:he.default,isDate:y.default,isTime:v.default,isLicensePlate:Ge.default,isVAT:We.default,ibanLocales:q.locales},Je=Qe;t["default"]=Je,e.exports=t.default,e.exports["default"]=t.default},13237:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.bengaliLocales=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"kk-KZ":/^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")}e.exports=t.default,e.exports["default"]=t.default},59220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=a(r(83399)),o=a(r(45772)),i=a(r(93610));function a(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};function c(e,t,r){return(0,n.default)(e),r=(0,i.default)(r,s),r.ignoreCase?e.toLowerCase().split((0,o.default)(t).toLowerCase()).length>r.minOccurrences:e.split((0,o.default)(t)).length>r.minOccurrences}e.exports=t.default,e.exports["default"]=t.default},40700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e===t}e.exports=t.default,e.exports["default"]=t.default},69790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports["default"]=t.default},61195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(13752));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=(null===t||void 0===t?void 0:t.comparisonDate)||t||Date().toString(),o=(0,n.default)(r),i=(0,n.default)(e);return!!(i&&o&&i>o)}e.exports=t.default,e.exports["default"]=t.default},66529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(83399)),o=r(13237);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(e);var i=e,a=r.ignore;if(a)if(a instanceof RegExp)i=i.replace(a,"");else{if("string"!==typeof a)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alpha)return o.alpha[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(o.alpha);t.locales=s},98986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(83399)),o=r(13237);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(e);var i=e,a=r.ignore;if(a)if(a instanceof RegExp)i=i.replace(a,"");else{if("string"!==typeof a)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alphanumeric)return o.alphanumeric[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(o.alphanumeric);t.locales=s},74294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[\x00-\x7F]+$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},55259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=r(88447);function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function s(e){(0,n.default)(e);var t=e.slice(4,6).toUpperCase();return!(!o.CountryCodes.has(t)&&"XK"!==t)&&a.test(e)}e.exports=t.default,e.exports["default"]=t.default},7673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,c={crockford:!1};function u(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),t.crockford)return s.test(e);var r=e.length;return!(r%8!==0||!a.test(e))}e.exports=t.default,e.exports["default"]=t.default},26617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-HJ-NP-Za-km-z1-9]*$/;function a(e){return(0,n.default)(e),!!i.test(e)}e.exports=t.default,e.exports["default"]=t.default},98274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,c={urlSafe:!1};function u(e,t){(0,n.default)(e),t=(0,o.default)(t,c);var r=e.length;if(t.urlSafe)return s.test(e);if(r%4!==0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]}e.exports=t.default,e.exports["default"]=t.default},66658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(83399)),o=i(r(13752));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={loose:!1},a=["true","false","1","0"],s=[].concat(a,["yes","no"]);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return(0,n.default)(e),t.loose?s.includes(e.toLowerCase()):a.includes(e)}e.exports=t.default,e.exports["default"]=t.default},25748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function s(e){return(0,n.default)(e),i.test(e)||a.test(e)}e.exports=t.default,e.exports["default"]=t.default},46255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1],o=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&("undefined"===typeof o||a<=o)}e.exports=t.default,e.exports["default"]=t.default},61062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(83399)),o=i(r(73609));function i(e){return e&&e.__esModule?e:{default:e}}var a={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},s=function(){var e=[];for(var t in a)a.hasOwnProperty(t)&&e.push(a[t]);return e}();function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.provider,i=e.replace(/[- ]+/g,"");if(r&&r.toLowerCase()in a){if(!a[r.toLowerCase()].test(i))return!1}else{if(r&&!(r.toLowerCase()in a))throw new Error("".concat(r," is not a valid credit card provider."));if(!s.some((function(e){return e.test(i)})))return!1}return(0,o.default)(e)}e.exports=t.default,e.exports["default"]=t.default},6782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(93610)),o=i(r(83399));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d*",i="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),a=["0",o,i],s="(".concat(a.join("|"),")?"),c="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=s+(e.allow_decimal||e.require_decimal?c:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u)),e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?"),e.symbol_after_digits?u+=r:u=r+u,e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u)),new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}var s={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function c(e,t){return(0,o.default)(e),t=(0,n.default)(t,s),a(t).test(e)}e.exports=t.default,e.exports["default"]=t.default},73583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function c(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),o=r.shift();if("data:"!==o.slice(0,5))return!1;var c=o.slice(5);if(""!==c&&!i.test(c))return!1;for(var u=0;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=m;var n=o(r(93610));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return c(e)||s(e,t)||l(e,t)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){o=!0,i=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(o)throw i}}return r}}function c(e){if(Array.isArray(e))return e}function u(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=s(r(93610)),o=s(r(83399)),i=s(r(79265)),a=r(13237);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"));return t}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];function d(e,t){if((0,o.default)(e),t=(0,n.default)(t,u),t.locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&c(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))}e.exports=t.default,e.exports["default"]=t.default},13735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(83399)),o=i(r(33752));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)===0}e.exports=t.default,e.exports["default"]=t.default},27717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=l;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=8,a=14,s=/^(\d{8}|\d{13}|\d{14})$/;function c(e,t){return e===i||e===a?t%2===0?3:1:t%2===0?1:3}function u(e){var t=e.slice(0,-1).split("").map((function(t,r){return Number(t)*c(e.length,r)})).reduce((function(e,t){return e+t}),0),r=10-t%10;return r<10?r:0}function l(e){(0,n.default)(e);var t=Number(e.slice(-1));return s.test(e)&&t===u(e)}e.exports=t.default,e.exports["default"]=t.default},69517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=c(r(83399)),o=c(r(46255)),i=c(r(57658)),a=c(r(35372)),s=c(r(93610));function c(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},l=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(t);if(r){if(t===e)return!1;var n=t.split('"').length===t.split('\\"').length;if(!n)return!1}return!0}function v(e,t){if((0,n.default)(e),t=(0,s.default)(t,u),t.require_display_name||t.allow_display_name){var r=e.match(l);if(r){var c=r[1];if(e=e.replace(c,"").replace(/(^<|>$)/g,""),c.endsWith(" ")&&(c=c.slice(0,-1)),!y(c))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>g)return!1;var v=e.split("@"),b=v.pop(),w=b.toLowerCase();if(t.host_blacklist.includes(w))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(w))return!1;var _=v.join("@");if(t.domain_specific_validation&&("gmail.com"===w||"googlemail.com"===w)){_=_.toLowerCase();var E=_.split("+")[0];if(!(0,o.default)(E.replace(/\./g,""),{min:6,max:30}))return!1;for(var A=E.split("."),S=0;S{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};function s(e,t){return(0,n.default)(e),t=(0,o.default)(t,a),0===(t.ignore_whitespace?e.trim().length:e.length)}e.exports=t.default,e.exports["default"]=t.default},60082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x)[0-9a-f]{40}$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},57658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function s(e,t){(0,n.default)(e),t=(0,o.default)(t,a),t.allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(i))&&r.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))}e.exports=t.default,e.exports["default"]=t.default},50995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(83399)),o=r(13237);function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?o.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||","===e||"-"===e||"+"===e)return!1;var i=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||i>=t.min)&&(!t.hasOwnProperty("max")||i<=t.max)&&(!t.hasOwnProperty("lt")||it.gt)}var s=Object.keys(o.decimal);t.locales=s},29666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.fullWidth=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function a(e){return(0,n.default)(e),i.test(e)}t.fullWidth=i},57086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function s(e){(0,n.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return-1!==t.indexOf(",")?i.test(t):a.test(t)}e.exports=t.default,e.exports["default"]=t.default},49534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.halfWidth=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function a(e){return(0,n.default)(e),i.test(e)}t.halfWidth=i},33973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function a(e,t){(0,n.default)(e);var r=new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$"));return r.test(e)}e.exports=t.default,e.exports["default"]=t.default},24641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},82002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x|0h)?[0-9A-F]+$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},23641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u,t.locales=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,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})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function a(e){var t=e.filter((function(e){return!(e in i)}));return!(t.length>0)}function s(e,t){var r=e.replace(/[\s\-]+/gi,"").toUpperCase(),n=r.slice(0,2).toUpperCase(),o=n in i;if(t.whitelist){if(!a(t.whitelist))return!1;var s=t.whitelist.includes(n);if(!s)return!1}if(t.blacklist){var c=t.blacklist.includes(n);if(c)return!1}return o&&i[n].test(r)}function c(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),r=t.slice(4)+t.slice(0,4),n=r.replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})),o=n.match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"");return 1===o}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,n.default)(e),s(e,t)&&c(e)}var l=Object.keys(i);t.locales=l},8461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function s(e,t){(0,n.default)(e),t=t||{};var r=i;if(t.allow_hyphens&&(r=a),!r.test(e))return!1;e=e.replace(/-/g,"");for(var o=0,s=2,c=14,u=0;u=10?d%10+1:d,1===s?s+=1:s-=1}var f=(10-o%10)%10;return f===parseInt(e.substring(14,15),10)}e.exports=t.default,e.exports["default"]=t.default},35372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=l;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(a,"$")),c="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(c,":){7}(?:").concat(c,"|:)|")+"(?:".concat(c,":){6}(?:").concat(a,"|:").concat(c,"|:)|")+"(?:".concat(c,":){5}(?::").concat(a,"|(:").concat(c,"){1,2}|:)|")+"(?:".concat(c,":){4}(?:(:").concat(c,"){0,1}:").concat(a,"|(:").concat(c,"){1,3}|:)|")+"(?:".concat(c,":){3}(?:(:").concat(c,"){0,2}:").concat(a,"|(:").concat(c,"){1,4}|:)|")+"(?:".concat(c,":){2}(?:(:").concat(c,"){0,3}:").concat(a,"|(:").concat(c,"){1,5}|:)|")+"(?:".concat(c,":){1}(?:(:").concat(c,"){0,4}:").concat(a,"|(:").concat(c,"){1,6}|:)|")+"(?::((?::".concat(c,"){0,5}:").concat(a,"|(?::").concat(c,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,n.default)(e),t=String(t),t?"4"===t?s.test(e):"6"===t&&u.test(e):l(e,4)||l(e,6)}e.exports=t.default,e.exports["default"]=t.default},17115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(83399)),o=i(r(35372));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,3}$/,s=32,c=128;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,n.default)(e);var r=e.split("/");if(2!==r.length)return!1;if(!a.test(r[1]))return!1;if(r[1].length>1&&r[1].startsWith("0"))return!1;var i=(0,o.default)(r[0],t);if(!i)return!1;var u=null;switch(String(t)){case"4":u=s;break;case"6":u=c;break;default:u=(0,o.default)(r[0],"6")?c:s}return r[1]<=u&&r[1]>=0}e.exports=t.default,e.exports["default"]=t.default},59717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,s=[1,3];function c(e,t){(0,n.default)(e);var r=String((null===t||void 0===t?void 0:t.version)||t);if(!(null!==t&&void 0!==t&&t.version||t))return c(e,{version:10})||c(e,{version:13});var o=e.replace(/[\s-]+/g,""),u=0;if("10"===r){if(!i.test(o))return!1;for(var l=0;l{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function a(e){if((0,n.default)(e),!i.test(e))return!1;for(var t=!0,r=0,o=e.length-2;o>=0;o--)if(e[o]>="A"&&e[o]<="Z")for(var a=e[o].charCodeAt(0)-55,s=a%10,c=Math.trunc(a/10),u=0,l=[s,c];u=5?1+2*(d-5):2*d:d,t=!t}else{var f=e[o].charCodeAt(0)-"0".charCodeAt(0);r+=t?f>=5?1+2*(f-5):2*f:f,t=!t}var h=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]===h}e.exports=t.default,e.exports["default"]=t.default},88447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.CountryCodes=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}var s=i;t.CountryCodes=s},53832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}e.exports=t.default,e.exports["default"]=t.default},88342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.CurrencyCodes=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}var s=i;t.CurrencyCodes=s},45777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isISO6346=s,t.isFreightContainerID=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,a=/^[0-9]$/;function s(e){if((0,n.default)(e),e=e.toUpperCase(),!i.test(e))return!1;if(11===e.length){for(var t=0,r=0;r=11&&s<=20?12+s%11:s>=21&&s<=30?23+s%21:34+s%31,t+=o*Math.pow(2,r)}var c=t%11;return Number(e[e.length-1])===c}return!0}var c=s;t.isFreightContainerID=c},48033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);function a(e){return(0,n.default)(e),i.has(e)}e.exports=t.default,e.exports["default"]=t.default},66169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4===0&&r%100!==0||r%400===0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],s=o[3],c=a?"0".concat(a).slice(-2):a,u=s?"0".concat(s).slice(-2):s,l=new Date("".concat(i,"-").concat(c||"01","-").concat(u||"01"));return!a||!s||l.getUTCFullYear()===i&&l.getUTCMonth()+1===a&&l.getUTCDate()===s};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?s(e):r}e.exports=t.default,e.exports["default"]=t.default},31954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},60604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i="^\\d{4}-?\\d{3}[\\dX]$";function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,r=t.case_sensitive?new RegExp(r):new RegExp(r,"i"),!r.test(e))return!1;for(var o=e.replace("-","").toUpperCase(),a=0,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=i(r(76084));function i(e){return e&&e.__esModule?e:{default:e}}var a={PL:function(e){(0,n.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,o.default)(e,{allow_leading_zeroes:!0})){var r=e.split("").slice(0,-1),i=r.reduce((function(e,r,n){return e+Number(r)*t[n+1]}),0),a=i%10,s=Number(e.charAt(e.length-1));if(0===a&&0===s||s===10-a)return!0}return!1},ES:function(e){(0,n.default)(e);var t=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,r={X:0,Y:1,Z:2},o=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],i=e.trim().toUpperCase();if(!t.test(i))return!1;var a=i.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return r[e]}));return i.endsWith(o[a%23])},FI:function(e){if((0,n.default)(e),11!==e.length)return!1;if(!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var t="0123456789ABCDEFHJKLMNPRSTUVWXY",r=1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10),o=r%31,i=t[o];return i===e.slice(10,11)},IN:function(e){var t=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,r=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],o=e.trim();if(!t.test(o))return!1;var i=0,a=o.replace(/\s/g,"").split("").map(Number).reverse();return a.forEach((function(e,t){i=r[i][n[t%8][e]]})),0===i},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).slice(e.length-6),0===parseInt(e.slice(3,9),10))return!1;for(var t=parseInt(e.slice(9,10),10),r=0,n=0;n<9;n++)r+=parseInt(e.slice(n,n+1),10)*(10-n);return r%=11,r<2&&t===r||r>=2&&t===11-r},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,r=0;r<12;r++)t+=parseInt(e[r],10)*(13-r);return e[12]===((11-t%11)%10).toString()},LK:function(e){var t=/^[1-9]\d{8}[vx]$/i,r=/^[1-9]\d{11}$/i;return!(10!==e.length||!t.test(e))||!(12!==e.length||!r.test(e))},"he-IL":function(e){var t=/^\d{9}$/,r=e.trim();if(!t.test(r))return!1;for(var n,o=r,i=0,a=0;a9?n-9:n;return i%10===0},"ar-LY":function(e){var t=/^(1|2)\d{11}$/,r=e.trim();return!!t.test(r)},"ar-TN":function(e){var t=/^\d{8}$/,r=e.trim();return!!t.test(r)},"zh-CN":function(e){var t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],n=["1","0","X","9","8","7","6","5","4","3","2"],o=function(e){return t.includes(e)},i=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},a=function(e){for(var t=e.substring(0,17),o=0,i=0;i<17;i++)o+=parseInt(t.charAt(i),10)*parseInt(r[i],10);var a=o%11;return n[a]},s=function(e){return a(e)===e.charAt(17).toUpperCase()},c=function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(t=o(r),!t)return!1;var n="19".concat(e.substring(6,12));return t=i(n),!!t},u=function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(t=o(r),!t)return!1;var n=e.substring(6,14);return t=i(n),!!t&&s(e)},l=function(e){var t=/^\d{15}|(\d{17}(\d|x|X))$/.test(e);return!!t&&(15===e.length?c(e):u(e))};return l(e)},"zh-HK":function(e){e=e.trim();var t=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,r=/^[0-9]$/;if(e=e.toUpperCase(),!t.test(e))return!1;e=e.replace(/\[|\]|\(|\)/g,""),8===e.length&&(e="3".concat(e));for(var n,o=0,i=0;i<=7;i++){var a=void 0;a=r.test(e[i])?e[i]:(e[i].charCodeAt(0)-55)%11,o+=a*(9-i)}return o%=11,n=0===o?"0":1===o?"A":String(11-o),n===e[e.length-1]},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10===0:e+Number(r)*(9-n)}),0)}};function s(e,t){if((0,n.default)(e),t in a)return a[t](e);if("any"===t){for(var r in a)if(a.hasOwnProperty(r)){var o=a[r];if(o(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}e.exports=t.default,e.exports["default"]=t.default},19266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=i(r(45772));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}return"object"===a(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports["default"]=t.default},76084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;function s(e,t){(0,n.default)(e),t=t||{};var r=t.hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,o=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,c=!t.hasOwnProperty("lt")||et.gt;return r.test(e)&&o&&s&&c&&u}e.exports=t.default,e.exports["default"]=t.default},75751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s={allow_primitives:!1};function c(e,t){(0,n.default)(e);try{t=(0,o.default)(t,s);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(c){}return!1}e.exports=t.default,e.exports["default"]=t.default},29172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(83399)),o=i(r(98274));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){(0,n.default)(e);var t=e.split("."),r=t.length;return 3===r&&t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)}e.exports=t.default,e.exports["default"]=t.default},5830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=i(r(83399)),o=i(r(93610));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,c=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,l={checkDMS:!1};function d(e,t){if((0,n.default)(e),t=(0,o.default)(t,l),!e.includes(","))return!1;var r=e.split(",");return!(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))&&(t.checkDMS?c.test(r[0])&&u.test(r[1]):a.test(r[0])&&s.test(r[1]))}e.exports=t.default,e.exports["default"]=t.default},29285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1]||0,o=arguments[2]);var a=e.match(/(\uFE0F|\uFE0E)/g)||[],s=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],c=e.length-a.length-s.length;return c>=r&&("undefined"===typeof o||c<=o)}e.exports=t.default,e.exports["default"]=t.default},10676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|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|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"en-IN":function(e){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())}};function a(e,t){if((0,n.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){var o=i[r];if(o(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}e.exports=t.default,e.exports["default"]=t.default},7071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=b;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",a="(([a-zA-Z]{2,3}(-".concat(i,")?)|([a-zA-Z]{5,8}))"),s="([A-Za-z]{4})",c="([A-Za-z]{2}|\\d{3})",u="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",l="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(l,"(-[A-Za-z0-9]{2,8})+)"),f="(x(-[A-Za-z0-9]{1,8})+)",h="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",p="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",m="(".concat(h,"|").concat(p,")"),g="(-|_)",y="".concat(a,"(").concat(g).concat(s,")?(").concat(g).concat(c,")?(").concat(g).concat(u,")*(").concat(g).concat(d,")*(").concat(g).concat(f,")?"),v=new RegExp("(^".concat(f,"$)|(^").concat(m,"$)|(^").concat(y,"$)"));function b(e){return(0,n.default)(e),v.test(e)}e.exports=t.default,e.exports["default"]=t.default},37612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e===e.toLowerCase()}e.exports=t.default,e.exports["default"]=t.default},73609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){(0,n.default)(e);for(var t,r,o,i=e.replace(/[- ]+/g,""),a=0,s=i.length-1;s>=0;s--)t=i.substring(s,s+1),r=parseInt(t,10),o?(r*=2,a+=r>=10?r%10+1:r):a+=r,o=!o;return!(a%10!==0||!i)}e.exports=t.default,e.exports["default"]=t.default},3196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,c=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,u=/^([0-9a-fA-F]){16}$/,l=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(e,t){return(0,n.default)(e),null!==t&&void 0!==t&&t.eui&&(t.eui=String(t.eui)),null!==t&&void 0!==t&&t.no_colons||null!==t&&void 0!==t&&t.no_separators?"48"===t.eui?a.test(e):"64"===t.eui?u.test(e):a.test(e)||u.test(e):"48"===(null===t||void 0===t?void 0:t.eui)?i.test(e)||s.test(e):"64"===(null===t||void 0===t?void 0:t.eui)?c.test(e)||l.test(e):d(e,{eui:"48"})||d(e,{eui:"64"})}e.exports=t.default,e.exports["default"]=t.default},59745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[a-f0-9]{32}$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},27349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;function a(e){return(0,n.default)(e),0===e.indexOf("magnet:?")&&i.test(e)}e.exports=t.default,e.exports["default"]=t.default},32337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=m;var n=a(r(30317)),o=a(r(69517)),i=a(r(83399));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return l(e)||u(e,t)||f(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){o=!0,i=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(o)throw i}}return r}}function l(e){if(Array.isArray(e))return e}function d(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=f(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r4)return!1;var i,a=d(o);try{for(a.s();!(i=a.n()).done;){var c=i.value,u=c.split("="),l=s(u,2),f=l[0],h=l[1];if(f&&!t.has(f)){n=!0;break}!h||"cc"!==f&&"bcc"!==f||(r[f]=h),f&&t.delete(f)}}catch(p){a.e(p)}finally{a.f()}return!n&&r}function m(e,t){if((0,i.default)(e),0!==e.indexOf("mailto:"))return!1;var r=e.replace("mailto:","").split("?"),a=s(r,2),c=a[0],u=void 0===c?"":c,l=a[1],d=void 0===l?"":l;if(!u&&!d)return!0;var f=p(d);return!!f&&"".concat(u,",").concat(f.cc,",").concat(f.bcc).split(",").every((function(e){return e=(0,n.default)(e," "),!e||(0,o.default)(e,t)}))}e.exports=t.default,e.exports["default"]=t.default},64633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function c(e){return(0,n.default)(e),i.test(e)||a.test(e)||s.test(e)}e.exports=t.default,e.exports["default"]=t.default},95251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};function a(e,t,r){if((0,n.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)){var r=i[t];if(r.test(e))return!0}return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"],i["fr-CH"]=i["de-CH"],i["it-CH"]=i["fr-CH"];var s=Object.keys(i);t.locales=s},31252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(83399)),o=i(r(82002));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length}e.exports=t.default,e.exports["default"]=t.default},72830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[^\x00-\x7F]/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},21666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=r(13237);function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[0-9]+$/;function s(e,t){return(0,n.default)(e),t&&t.no_symbols?a.test(e):new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?o.decimal[t.locale]:".","])?[0-9]+$")).test(e)}e.exports=t.default,e.exports["default"]=t.default},99546:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0o)?[0-7]+$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},93442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/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A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};function a(e,t){(0,n.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)}e.exports=t.default,e.exports["default"]=t.default},33906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(76084));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e,{min:0,max:65535})}e.exports=t.default,e.exports["default"]=t.default},93939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d,t.locales=void 0;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^\d{3}$/,a=/^\d{4}$/,s=/^\d{5}$/,c=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:a,DO:s,DZ:s,EE:s,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:s,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:i,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:s,MG:i,MX:s,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:s,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:c,RU:c,SA:s,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:c,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:s,TN:a,TW:/^\d{3}(\d{2})?$/,UA:s,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:s},l=Object.keys(u);function d(e,t){if((0,n.default)(e),t in u)return u[t].test(e);if("any"===t){for(var r in u)if(u.hasOwnProperty(r)){var o=u[r];if(o.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}t.locales=l},61578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[0-9]{4}/,a=/(0[1-9]|1[0-2])/,s=/([12]\d|0[1-9]|3[01])/,c=/([01][0-9]|2[0-3])/,u=/[0-5][0-9]/,l=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,f=new RegExp("[-+]".concat(c.source,":").concat(u.source)),h=new RegExp("([zZ]|".concat(f.source,")")),p=new RegExp("".concat(c.source,":").concat(u.source,":").concat(l.source).concat(d.source)),m=new RegExp("".concat(i.source,"-").concat(a.source,"-").concat(s.source)),g=new RegExp("".concat(p.source).concat(h.source)),y=new RegExp("^".concat(m.source,"[ tT]").concat(g.source,"$"));function v(e){return(0,n.default)(e),y.test(e)}e.exports=t.default,e.exports["default"]=t.default},45467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,c=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;function u(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,n.default)(e),t?i.test(e)||a.test(e)||s.test(e)||c.test(e):i.test(e)||a.test(e)}e.exports=t.default,e.exports["default"]=t.default},99841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(83399)),o=i(r(55730));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,o.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function s(e){return(0,n.default)(e),a.test(e)}e.exports=t.default,e.exports["default"]=t.default},69234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},17179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=p;var n=i(r(93610)),o=i(r(83399));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]$/,s=/^[a-z]$/,c=/^[0-9]$/,u=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,l={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(e){var t={};return Array.from(e).forEach((function(e){var r=t[e];r?t[e]+=1:t[e]=1})),t}function f(e){var t=d(e),r={length:e.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach((function(e){a.test(e)?r.uppercaseCount+=t[e]:s.test(e)?r.lowercaseCount+=t[e]:c.test(e)?r.numberCount+=t[e]:u.test(e)&&(r.symbolCount+=t[e])})),r}function h(e,t){var r=0;return r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(r+=t.pointsForContainingLower),e.uppercaseCount>0&&(r+=t.pointsForContainingUpper),e.numberCount>0&&(r+=t.pointsForContainingNumber),e.symbolCount>0&&(r+=t.pointsForContainingSymbol),r}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var r=f(e);return t=(0,n.default)(t||{},l),t.returnScore?h(r,t):r.length>=t.minLength&&r.lowercaseCount>=t.minLowercase&&r.uppercaseCount>=t.minUppercase&&r.numberCount>=t.minNumbers&&r.symbolCount>=t.minSymbols}e.exports=t.default,e.exports["default"]=t.default},43459:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},77741:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=Q;var o=u(r(83399)),i=c(r(44834)),a=u(r(99013));function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return p(e)||h(e)||f(e)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function h(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function p(e){if(Array.isArray(e))return m(e)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r40?(r-=40,t="20".concat(t)):r>20?(r-=20,t="18".concat(t)):t="19".concat(t),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=[2,4,8,5,10,9,7,3,6],s=0,c=0;c50&&(r-=50),r>20){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!==0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0}function b(e){return i.luhnCheck(e)}function w(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[],n=0;n1})),2!==r.length&&3!==r.length)return!1;if(3===r[0].length){for(var a=r[0].split("").map((function(e){return parseInt(e,10)})),s=0,c=0;c58))return!1;t="18".concat(t)}break}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=4,c=0;c<9;c++)i+=o[c]*s,s-=1,1===s&&(s=7);return i%=11,1!==i&&(0===i?0===o[9]:o[9]===11-i)}function E(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),r=0,n=1;n4&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)}function A(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11%10===t[8]}function S(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),t%=23,0===t?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)}var T={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function x(){var e=[];for(var t in T)T.hasOwnProperty(t)&&e.push.apply(e,l(T[t]));return e}function C(e){return-1!==x().indexOf(e.slice(0,2))}function I(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2;break;default:}t.splice(0,1,r)}else while(t.length<9)t.unshift(0);var n=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];t=t.join("");var o=parseInt(t.slice(0,8),10)%23;return t[8]===n[o]}function O(e){var t=e.slice(1,3),r=e.slice(0,1);switch(r){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t);break}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=1,c=0;c<10;c++)i+=o[c]*s,s+=1,10===s&&(s=1);if(i%11===10){i=0,s=3;for(var u=0;u<10;u++)i+=o[u]*s,s+=1,10===s&&(s=1);if(i%11===10)return 0===o[10]}return i%11===o[10]}function P(e){var t=e.slice(4,6),r=e.slice(6,7);switch(r){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t);break}var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;var o=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;if(o<10)return o===parseInt(e.slice(10),10);o-=10;var i=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return i[o]===e.slice(10)}function k(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,a.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,n=parseInt(e.slice(9,11),10);return r===n||(r=97-parseInt("2".concat(e.slice(0,9)),10)%97,r===n)}function N(e){e=e.replace(/\s/g,"");var t=parseInt(e.slice(0,10),10)%511,r=parseInt(e.slice(10,13),10);return t===r}function R(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,a.default)(t,"YYYY/MM/DD")&&(!!i.luhnCheck(e.slice(0,12))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))}function M(e){return i.iso7064Check(e)}function B(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]}function L(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(n>0){if(t&&!r&&!/[AEIOU]/.test(e[n]))return!1;if(r&&!/X/.test(e[n]))return!1}return!0}function D(e){var t=e.toUpperCase().split("");if(!L(t.slice(0,3)))return!1;if(!L(t.slice(3,6)))return!1;for(var r=[6,7,9,10,12,13,14],n={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},o=0,i=r;o40&&(l-=40),l<10&&(l="0".concat(l));var d="".concat(t[6]).concat(t[7],"/").concat(u,"/").concat(l);if(!(0,a.default)(d,"YY/MM/DD"))return!1;for(var f=0,h=1;h4&&(y+=2)}f+=y}return String.fromCharCode(65+f%26)===t[15]}function F(e){e=e.replace(/\W/,"");var t=e.slice(0,2);if("32"!==t){var r=e.slice(2,4);if("00"!==r){var n=e.slice(4,6);switch(e[6]){case"0":n="18".concat(n);break;case"1":n="19".concat(n);break;default:n="20".concat(n);break}var o="".concat(n,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,a.default)(o,"YYYY/MM/DD"))return!1}for(var i=1101,s=[1,6,3,7,9,10,5,8,4,2],c=0;c32e3)return!1;var n=parseInt(t.join("").slice(5,7),10);if(r===n)return!1}}return!0}function U(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)}function $(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n80?(o="18".concat(o),i-=80):i>60?(o="22".concat(o),i-=60):i>40?(o="21".concat(o),i-=40):i>20?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i));var s="".concat(o,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,a.default)(s,"YYYY/MM/DD"))return!1;for(var c=0,u=1,l=0;l10?u=1:5===u&&(u+=2);return c=10-c%10,c===parseInt(e[10],10)}function z(e){if(11===e.length){var t,r;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var n=1;n<=9;n++)t+=parseInt(e.substring(n-1,n),10)*(11-n);if(r=10*t%11,10===r&&(r=0),r!==parseInt(e.substring(9,10),10))return!1;t=0;for(var o=1;o<=10;o++)t+=parseInt(e.substring(o-1,o),10)*(12-o);return r=10*t%11,10===r&&(r=0),r===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var i=e.length-2,a=e.substring(0,i),s=e.substring(i),c=0,u=i-7,l=i;l>=1;l--)c+=a.charAt(i-l)*u,u-=1,u<2&&(u=9);var d=c%11<2?0:11-c%11;if(d!==parseInt(s.charAt(0),10))return!1;i+=1,a=e.substring(0,i),c=0,u=i-7;for(var f=i;f>=1;f--)c+=a.charAt(i-f)*u,u-=1,u<2&&(u=9);return d=c%11<2?0:11-c%11,d===parseInt(s.charAt(1),10)}function H(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)}function V(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t);break;default:}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,a.default)(r,"YY/MM/DD"))return!1}else if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,s=0;s53)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);r>50&&(r-=50),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}return!0}function q(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)}function W(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var r="",n=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&o<60){var s=(new Date).getFullYear().toString(),c=parseInt(s.slice(0,2),10);if(s=parseInt(s,10),"-"===e[6])r=parseInt("".concat(c).concat(r),10)>s?"".concat(c-1).concat(r):"".concat(c).concat(r);else if(r="".concat(c-1).concat(r),s-parseInt(r,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var u="".concat(r,"/").concat(n,"/").concat(o);if(8===u.length){if(!(0,a.default)(u,"YY/MM/DD"))return!1}else if(!(0,a.default)(u,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))}var K={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};K["lb-LU"]=K["fr-LU"],K["lt-LT"]=K["et-EE"],K["nl-BE"]=K["fr-BE"],K["fr-CA"]=K["en-CA"];var X={"bg-BG":g,"cs-CZ":v,"de-AT":b,"de-DE":w,"dk-DK":_,"el-CY":E,"el-GR":A,"en-CA":y,"en-IE":S,"en-US":C,"es-ES":I,"et-EE":O,"fi-FI":P,"fr-BE":k,"fr-FR":N,"fr-LU":R,"hr-HR":M,"hu-HU":B,"it-IT":D,"lv-LV":F,"mt-MT":j,"nl-NL":U,"pl-PL":$,"pt-BR":z,"pt-PT":H,"ro-RO":V,"sk-SK":G,"sl-SI":q,"sv-SE":W};X["lb-LU"]=X["fr-LU"],X["lt-LT"]=X["et-EE"],X["nl-BE"]=X["fr-BE"],X["fr-CA"]=X["en-CA"];var Z=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,Y={"de-AT":Z,"de-DE":/[\/\\]/g,"fr-BE":Z};function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var r=e.slice(0);if(t in K)return t in Y&&(r=r.replace(Y[t],"")),!!K[t].test(r)&&(!(t in X)||X[t](r));throw new Error("Invalid locale '".concat(t,"'"))}Y["nl-BE"]=Y["fr-BE"],e.exports=t.default,e.exports["default"]=t.default},58796:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(93610));function o(e){return e&&e.__esModule?e:{default:e}}var i={hourFormat:"hour24",mode:"default"},a={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};function s(e,t){return t=(0,n.default)(t,i),"string"===typeof e&&a[t.hourFormat][t.mode].test(e)}e.exports=t.default,e.exports["default"]=t.default},77844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=s(r(83399)),o=s(r(57658)),i=s(r(35372)),a=s(r(93610));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return h(e)||f(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if(t=(0,a.default)(t,p),t.validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var r,s,u,l,d,f,h,g;if(h=e.split("#"),e=h.shift(),h=e.split("?"),e=h.shift(),h=e.split("://"),h.length>1){if(r=h.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;h[0]=e.slice(2)}}if(e=h.join("://"),""===e)return!1;if(h=e.split("/"),e=h.shift(),""===e&&!t.require_host)return!0;if(h=e.split("@"),h.length>1){if(t.disallow_auth)return!1;if(""===h[0])return!1;if(s=h.shift(),s.indexOf(":")>=0&&s.split(":").length>2)return!1;var v=s.split(":"),b=c(v,2),w=b[0],_=b[1];if(""===w&&""===_)return!1}l=h.join("@"),f=null,g=null;var E=l.match(m);if(E?(u="",g=E[1],f=E[2]||null):(h=l.split(":"),u=h.shift(),h.length&&(f=h.join(":"))),null!==f&&f.length>0){if(d=parseInt(f,10),!/^[0-9]+$/.test(f)||d<=0||d>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?y(u,t.host_whitelist):""===u&&!t.require_host||!!((0,i.default)(u)||(0,o.default)(u,t)||g&&(0,i.default)(g,6))&&(u=u||g,!t.host_blacklist||!y(u,t.host_blacklist))}e.exports=t.default,e.exports["default"]=t.default},65186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function a(e,t){(0,n.default)(e);var r=i[[void 0,null].includes(t)?"all":t];return!!r&&r.test(e)}e.exports=t.default,e.exports["default"]=t.default},75577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e===e.toUpperCase()}e.exports=t.default,e.exports["default"]=t.default},55366:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=f,t.vatMatchers=void 0;var o=c(r(83399)),i=s(r(44834));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=function(e){var t=e.pop(),r=[5,4,3,2,7,6,5,4],n=(11-e.reduce((function(e,t,n){return e+t*r[n]}),0)%11)%11;return t===n};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(e)&&t(e.match(/\d/g).map((function(e){return+e})))},l=function(e){var t=e.match(/^(PT)?(\d{9})$/);if(!t)return!1;var r=t[2],n=11-i.reverseMultiplyAndSum(r.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return n>9?0===parseInt(r[8],10):n===parseInt(r[8],10)},d={AT:function(e){return/^(AT)?U\d{8}$/.test(e)},BE:function(e){return/^(BE)?\d{10}$/.test(e)},BG:function(e){return/^(BG)?\d{9,10}$/.test(e)},HR:function(e){return/^(HR)?\d{11}$/.test(e)},CY:function(e){return/^(CY)?\w{9}$/.test(e)},CZ:function(e){return/^(CZ)?\d{8,10}$/.test(e)},DK:function(e){return/^(DK)?\d{8}$/.test(e)},EE:function(e){return/^(EE)?\d{9}$/.test(e)},FI:function(e){return/^(FI)?\d{8}$/.test(e)},FR:function(e){return/^(FR)?\w{2}\d{9}$/.test(e)},DE:function(e){return/^(DE)?\d{9}$/.test(e)},EL:function(e){return/^(EL)?\d{9}$/.test(e)},HU:function(e){return/^(HU)?\d{8}$/.test(e)},IE:function(e){return/^(IE)?\d{7}\w{1}(W)?$/.test(e)},IT:function(e){return/^(IT)?\d{11}$/.test(e)},LV:function(e){return/^(LV)?\d{11}$/.test(e)},LT:function(e){return/^(LT)?\d{9,12}$/.test(e)},LU:function(e){return/^(LU)?\d{8}$/.test(e)},MT:function(e){return/^(MT)?\d{8}$/.test(e)},NL:function(e){return/^(NL)?\d{9}B\d{2}$/.test(e)},PL:function(e){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(e)},PT:l,RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){return/^(AU)?\d{11}$/.test(e)},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{9}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:u,TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}};function f(e,t){if((0,o.default)(e),(0,o.default)(t),t in d)return d[t](e);throw new Error("Invalid country code: '".concat(t,"'"))}t.vatMatchers=d},31449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=a(r(83399)),o=r(29666),i=r(49534);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(0,n.default)(e),o.fullWidth.test(e)&&i.halfWidth.test(e)}e.exports=t.default,e.exports["default"]=t.default},90629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(0,n.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0}e.exports=t.default,e.exports["default"]=t.default},62309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(0,n.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")}e.exports=t.default,e.exports["default"]=t.default},72576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,r){return(0,n.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r)),!!e.match(t)}e.exports=t.default,e.exports["default"]=t.default},81128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=o(r(93610));function o(e){return e&&e.__esModule?e:{default:e}}var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function l(e){return e.length>1?e:""}function d(e,t){t=(0,n.default)(t,i);var r=e.split("@"),o=r.pop(),d=r.join("@"),f=[d,o];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,l)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(a.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(c.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var h=f[0].split("-");f[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else u.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")}e.exports=t.default,e.exports["default"]=t.default},12483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if((0,n.default)(e),t){var r=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(r,"")}var o=e.length-1;while(/\s/.test(e.charAt(o)))o-=1;return e.slice(0,o+1)}e.exports=t.default,e.exports["default"]=t.default},561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(83399)),o=i(r(410));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,r)}e.exports=t.default,e.exports["default"]=t.default},43214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e}e.exports=t.default,e.exports["default"]=t.default},13752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)}e.exports=t.default,e.exports["default"]=t.default},33752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(50995));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e)?parseFloat(e):NaN}e.exports=t.default,e.exports["default"]=t.default},50855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),parseInt(e,t||10)}e.exports=t.default,e.exports["default"]=t.default},30317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(12483)),o=i(r(62309));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(0,n.default)((0,o.default)(e,t),t)}e.exports=t.default,e.exports["default"]=t.default},87677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")}e.exports=t.default,e.exports["default"]=t.default},44834:(e,t)=>{"use strict";function r(e){for(var t=10,r=0;r=0;n--){if(r){var o=2*parseInt(e[n],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[n],10);r=!r}return t%10===0}function o(e,t){for(var r=0,n=0;n{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e){var t="string"===typeof e||e instanceof String;if(!t){var n=r(e);throw null===e?n="null":"object"===n&&(n=e.constructor.name),new TypeError("Expected a string but received a ".concat(n))}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},79265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=function(e,t){return e.some((function(e){return t===e}))},n=r;t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},93610:(e,t)=>{"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)"undefined"===typeof e[r]&&(e[r]=t[r]);return e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r,e.exports=t.default,e.exports["default"]=t.default},55730:(e,t)=>{"use strict";function r(e,t){var r=e.join("");return new RegExp(r,t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r,e.exports=t.default,e.exports["default"]=t.default},45772:(e,t)=>{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e){return"object"===r(e)&&null!==e?e="function"===typeof e.toString?e.toString():"[object Object]":(null===e||"undefined"===typeof e||isNaN(e)&&!e.length)&&(e=""),String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},61996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(83399));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")}e.exports=t.default,e.exports["default"]=t.default},68469:(e,t,r)=>{"use strict";var n=r(92861).Buffer,o=9007199254740991;function i(e){if(e<0||e>o||e%1!==0)throw new RangeError("value out of range")}function a(e,t,r){if(i(e),t||(t=n.allocUnsafe(c(e))),!n.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");return r||(r=0),e<253?(t.writeUInt8(e,r),a.bytes=1):e<=65535?(t.writeUInt8(253,r),t.writeUInt16LE(e,r+1),a.bytes=3):e<=4294967295?(t.writeUInt8(254,r),t.writeUInt32LE(e,r+1),a.bytes=5):(t.writeUInt8(255,r),t.writeUInt32LE(e>>>0,r+1),t.writeUInt32LE(e/4294967296|0,r+5),a.bytes=9),t}function s(e,t){if(!n.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");t||(t=0);var r=e.readUInt8(t);if(r<253)return s.bytes=1,r;if(253===r)return s.bytes=3,e.readUInt16LE(t+1);if(254===r)return s.bytes=5,e.readUInt32LE(t+1);s.bytes=9;var o=e.readUInt32LE(t+1),a=e.readUInt32LE(t+5),c=4294967296*a+o;return i(c),c}function c(e){return i(e),e<253?1:e<=65535?3:e<=4294967295?5:9}e.exports={encode:a,decode:s,encodingLength:c}},15261:(e,t,r)=>{"use strict";r.d(t,{D0:()=>Ve,Km:()=>g,YS:()=>tt,lV:()=>Je,lw:()=>et,mN:()=>Ke});var n=r(20641),o=r(50953); +/** + * vee-validate v4.12.6 + * (c) 2024 Abdelrahman Awad + * @license MIT + */ +function i(e){return"function"===typeof e}function a(e){return null===e||void 0===e}const s=e=>null!==e&&!!e&&"object"===typeof e&&!Array.isArray(e);function c(e){return Number(e)>=0}function u(e){const t=parseFloat(e);return isNaN(t)?e:t}function l(e){return"object"===typeof e&&null!==e}function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function f(e){if(!l(e)||"[object Object]"!==d(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;while(null!==Object.getPrototypeOf(t))t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t){return Object.keys(t).forEach((r=>{if(f(t[r])&&f(e[r]))return e[r]||(e[r]={}),void h(e[r],t[r]);e[r]=t[r]})),e}function p(e){const t=e.split(".");if(!t.length)return"";let r=String(t[0]);for(let n=1;nO(e)&&t in e?e[t]:r),e);return n}function H(e,t,r){if(k(t))return void(e[$(t)]=r);const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let i=0;iz(e,r.slice(0,n).join("."))));for(let i=o.length-1;i>=0;i--)P(o[i])&&(0!==i?V(o[i-1],r[i-1]):V(e,r[0]))}function q(e){return Object.keys(e)}function W(e,t=void 0){const r=(0,n.nI)();return(null===r||void 0===r?void 0:r.provides[e])||(0,n.WQ)(e,t)}function K(e,t,r){if(Array.isArray(e)){const r=[...e],n=r.findIndex((e=>j(e,t)));return n>=0?r.splice(n,1):r.push(t),r}return j(e,t)?r:t}function X(e,t){let r,n;return function(...o){const i=this;return r||(r=!0,setTimeout((()=>r=!1),t),n=e.apply(i,o)),n}}function Z(e,t=0){let r=null,n=[];return function(...o){return r&&clearTimeout(r),r=setTimeout((()=>{const t=e(...o);n.forEach((e=>e(t))),n=[]}),t),new Promise((e=>n.push(e)))}}function Y(e,t){return s(t)&&t.number?u(e):e}function Q(e,t){let r;return async function(...n){const o=e(...n);r=o;const i=await o;return o!==r?i:(r=void 0,t(i,n))}}function J(e){return Array.isArray(e)?e:e?[e]:[]}function ee(e,t){const r={};for(const n in e)t.includes(n)||(r[n]=e[n]);return r}function te(e){let t=null,r=[];return function(...o){const i=(0,n.dY)((()=>{if(t!==i)return;const n=e(...o);r.forEach((e=>e(n))),r=[],t=null}));return t=i,new Promise((e=>r.push(e)))}}function re(e,t,r){return t.slots.default?"string"!==typeof e&&e?{default:()=>{var e,n;return null===(n=(e=t.slots).default)||void 0===n?void 0:n.call(e,r())}}:t.slots.default(r()):t.slots.default}function ne(e){if(oe(e))return e._value}function oe(e){return"_value"in e}function ie(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function ae(e){if(!D(e))return e;const t=e.target;if(I(t.type)&&oe(t))return ne(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(N(t))return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(ne);if(R(t)){const e=Array.from(t.options).find((e=>e.selected));return e?ne(e):t.value}return ie(t)}function se(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?s(e)&&e._$$isNormalized?e:s(e)?Object.keys(e).reduce(((t,r)=>{const n=ce(e[r]);return!1!==e[r]&&(t[r]=ue(n)),t}),t):"string"!==typeof e?t:e.split("|").reduce(((e,t)=>{const r=le(t);return r.name?(e[r.name]=ue(r.params),e):e}),t):t}function ce(e){return!0===e?[]:Array.isArray(e)||s(e)?e:[e]}function ue(e){const t=e=>"string"===typeof e&&"@"===e[0]?de(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n]),r)),{})}const le=e=>{let t=[];const r=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:r,params:t}};function de(e){const t=t=>{const r=z(t,e)||t[e];return r};return t.__locatorRef=e,t}function fe(e){return Array.isArray(e)?e.filter(T):q(e).filter((t=>T(e[t]))).map((t=>e[t]))}const he={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let pe=Object.assign({},he);const me=()=>pe;async function ge(e,t,r={}){const n=null===r||void 0===r?void 0:r.bails,o={name:(null===r||void 0===r?void 0:r.name)||"{field}",rules:t,label:null===r||void 0===r?void 0:r.label,bails:null===n||void 0===n||n,formData:(null===r||void 0===r?void 0:r.values)||{}},i=await ye(o,e),a=i.errors;return{errors:a,valid:!a.length}}async function ye(e,t){if(x(e.rules)||C(e.rules))return we(t,e.rules);if(i(e.rules)||Array.isArray(e.rules)){const r={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},n=Array.isArray(e.rules)?e.rules:[e.rules],o=n.length,i=[];for(let a=0;a{const r=t.path||"";return e[r]||(e[r]={errors:[],path:r}),e[r].errors.push(...t.errors),e}),{});return{errors:Object.values(e)}}}};return t}async function we(e,t){const r=x(t)?t:be(t),n=await r.parse(e),o=[];for(const i of n.errors)i.errors.length&&o.push(...i.errors);return{errors:o}}async function _e(e,t,r){const n=y(r.name);if(!n)throw new Error(`No such validator '${r.name}' exists.`);const o=Ae(r.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},r),{params:o})},a=await n(t,o,i);return"string"===typeof a?{error:a}:{error:a?void 0:Ee(i)}}function Ee(e){const t=me().generateMessage;return t?t(e):"Field is invalid"}function Ae(e,t){const r=e=>T(e)?e(t):e;return Array.isArray(e)?e.map(r):Object.keys(e).reduce(((t,n)=>(t[n]=r(e[n]),t)),{})}async function Se(e,t){const r=x(e)?e:be(e),n=await r.parse(w(t)),o={},i={};for(const a of n.errors){const e=a.errors,t=(a.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[t]={valid:!e.length,errors:e},e.length&&(i[t]=e[0])}return{valid:!n.errors.length,results:o,errors:i,values:n.value}}async function Te(e,t,r){const n=q(e),o=n.map((async n=>{var o,i,a;const s=null===(o=null===r||void 0===r?void 0:r.names)||void 0===o?void 0:o[n],c=await ge(z(t,n),e[n],{name:(null===s||void 0===s?void 0:s.name)||n,label:null===s||void 0===s?void 0:s.label,values:t,bails:null===(a=null===(i=null===r||void 0===r?void 0:r.bailsMap)||void 0===i?void 0:i[n])||void 0===a||a});return Object.assign(Object.assign({},c),{path:n})}));let i=!0;const a=await Promise.all(o),s={},c={};for(const u of a)s[u.path]={valid:u.valid,errors:u.errors},u.valid||(i=!1,c[u.path]=u.errors[0]);return{valid:i,results:s,errors:c}}let xe=0;function Ce(e,t){const{value:r,initialValue:i,setInitialValue:a}=Ie(e,t.modelValue,t.form);if(!t.form){const{errors:l,setErrors:d}=ke(),f=xe>=Number.MAX_SAFE_INTEGER?0:++xe,h=Pe(r,i,l,t.schema);function p(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&d(e.errors),"touched"in e&&(h.touched=null!==(t=e.touched)&&void 0!==t?t:h.touched),"initialValue"in e&&a(e.initialValue)}return{id:f,path:e,value:r,initialValue:i,meta:h,flags:{pendingUnmount:{[f]:!1},pendingReset:!1},errors:l,setState:p}}const s=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate,schema:t.schema}),c=(0,n.EW)((()=>s.errors));function u(n){var i,s,c;"value"in n&&(r.value=n.value),"errors"in n&&(null===(i=t.form)||void 0===i||i.setFieldError((0,o.R1)(e),n.errors)),"touched"in n&&(null===(s=t.form)||void 0===s||s.setFieldTouched((0,o.R1)(e),null!==(c=n.touched)&&void 0!==c&&c)),"initialValue"in n&&a(n.initialValue)}return{id:Array.isArray(s.id)?s.id[s.id.length-1]:s.id,path:e,value:r,errors:c,meta:s,initialValue:i,flags:s.__flags,setState:u}}function Ie(e,t,r){const i=(0,o.KR)((0,o.R1)(t));function a(){return r?z(r.initialValues.value,(0,o.R1)(e),(0,o.R1)(i)):(0,o.R1)(i)}function s(t){r?r.setFieldInitialValue((0,o.R1)(e),t,!0):i.value=t}const c=(0,n.EW)(a);if(!r){const e=(0,o.KR)(a());return{value:e,initialValue:c,setInitialValue:s}}const u=Oe(t,r,c,e);r.stageInitialValue((0,o.R1)(e),u,!0);const l=(0,n.EW)({get(){return z(r.values,(0,o.R1)(e))},set(t){r.setFieldValue((0,o.R1)(e),t,!1)}});return{value:l,initialValue:c,setInitialValue:s}}function Oe(e,t,r,n){return(0,o.i9)(e)?(0,o.R1)(e):void 0!==e?e:z(t.values,(0,o.R1)(n),(0,o.R1)(r))}function Pe(e,t,r,i){var a,s;const c=null!==(s=null===(a=null===i||void 0===i?void 0:i.describe)||void 0===a?void 0:a.call(i).required)&&void 0!==s&&s,u=(0,o.Kh)({touched:!1,pending:!1,valid:!0,required:c,validated:!!(0,o.R1)(r).length,initialValue:(0,n.EW)((()=>(0,o.R1)(t))),dirty:(0,n.EW)((()=>!j((0,o.R1)(e),(0,o.R1)(t))))});return(0,n.wB)(r,(e=>{u.valid=!e.length}),{immediate:!0,flush:"sync"}),u}function ke(){const e=(0,o.KR)([]);return{errors:e,setErrors:t=>{e.value=J(t)}}}let Ne;X((()=>{setTimeout((async()=>{await(0,n.dY)(),null===Ne||void 0===Ne||Ne.sendInspectorState(Re),null===Ne||void 0===Ne||Ne.sendInspectorTree(Re)}),100)}),100);const Re="vee-validate-inspector";function Me(e,t,r){return I(null===r||void 0===r?void 0:r.type)?De(e,t,r):Be(e,t,r)}function Be(e,t,r){const{initialValue:a,validateOnMount:s,bails:c,type:u,checkedValue:l,label:d,validateOnValueUpdate:f,uncheckedValue:h,controlled:m,keepValueOnUnmount:g,syncVModel:y,form:v}=Le(r),b=m?W(_):void 0,A=v||b,S=(0,n.EW)((()=>p((0,o.BA)(e)))),T=(0,n.EW)((()=>{const e=(0,o.BA)(null===A||void 0===A?void 0:A.schema);if(e)return;const r=(0,o.R1)(t);return C(r)||x(r)||i(r)||Array.isArray(r)?r:se(r)})),{id:I,value:O,initialValue:P,meta:k,setState:N,errors:R,flags:M}=Ce(S,{modelValue:a,form:A,bails:c,label:d,type:u,validate:T.value?$:void 0,schema:x(t)?t:void 0}),B=(0,n.EW)((()=>R.value[0]));y&&Fe({value:O,prop:y,handleChange:H,shouldValidate:()=>f&&!M.pendingReset});const L=(e,t=!1)=>{k.touched=!0,t&&F()};async function D(e){var t,r;if(null===A||void 0===A?void 0:A.validateSchema){const{results:r}=await A.validateSchema(e);return null!==(t=r[(0,o.BA)(S)])&&void 0!==t?t:{valid:!0,errors:[]}}return T.value?ge(O.value,T.value,{name:(0,o.BA)(S),label:(0,o.BA)(d),values:null!==(r=null===A||void 0===A?void 0:A.values)&&void 0!==r?r:{},bails:c}):{valid:!0,errors:[]}}const F=Q((async()=>(k.pending=!0,k.validated=!0,D("validated-only"))),(e=>(M.pendingUnmount[J.id]||(N({errors:e.errors}),k.pending=!1,k.valid=e.valid),e))),U=Q((async()=>D("silent")),(e=>(k.valid=e.valid,e)));function $(e){return"silent"===(null===e||void 0===e?void 0:e.mode)?U():F()}function H(e,t=!0){const r=ae(e);K(r,t)}function V(e){k.touched=e}function G(e){var t;const r=e&&"value"in e?e.value:P.value;N({value:w(r),initialValue:w(r),touched:null!==(t=null===e||void 0===e?void 0:e.touched)&&void 0!==t&&t,errors:(null===e||void 0===e?void 0:e.errors)||[]}),k.pending=!1,k.validated=!1,U()}(0,n.sV)((()=>{if(s)return F();A&&A.validateSchema||U()}));const q=(0,n.nI)();function K(e,t=!0){O.value=q&&y?Y(e,q.props.modelModifiers):e;const r=t?F:U;r()}function X(e){N({errors:Array.isArray(e)?e:[e]})}const Z=(0,n.EW)({get(){return O.value},set(e){K(e,f)}}),J={id:I,name:S,label:d,value:Z,meta:k,errors:R,errorMessage:B,type:u,checkedValue:l,uncheckedValue:h,bails:c,keepValueOnUnmount:g,resetField:G,handleReset:()=>G(),validate:$,handleChange:H,handleBlur:L,setState:N,setTouched:V,setErrors:X,setValue:K};if((0,n.Gt)(E,J),(0,o.i9)(t)&&"function"!==typeof(0,o.R1)(t)&&(0,n.wB)(t,((e,t)=>{j(e,t)||(k.validated?F():U())}),{deep:!0}),!A)return J;const ee=(0,n.EW)((()=>{const e=T.value;return!e||i(e)||C(e)||x(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,r)=>{const n=fe(e[r]).map((e=>e.__locatorRef)).reduce(((e,t)=>{const r=z(A.values,t)||A.values[t];return void 0!==r&&(e[t]=r),e}),{});return Object.assign(t,n),t}),{})}));return(0,n.wB)(ee,((e,t)=>{if(!Object.keys(e).length)return;const r=!j(e,t);r&&(k.validated?F():U())})),(0,n.xo)((()=>{var e;const t=null!==(e=(0,o.BA)(J.keepValueOnUnmount))&&void 0!==e?e:(0,o.BA)(A.keepValuesOnUnmount),r=(0,o.BA)(S);if(t||!A||M.pendingUnmount[J.id])return void(null===A||void 0===A||A.removePathState(r,I));M.pendingUnmount[J.id]=!0;const n=A.getPathState(r),i=Array.isArray(null===n||void 0===n?void 0:n.id)&&(null===n||void 0===n?void 0:n.multiple)?null===n||void 0===n?void 0:n.id.includes(J.id):(null===n||void 0===n?void 0:n.id)===J.id;if(i){if((null===n||void 0===n?void 0:n.multiple)&&Array.isArray(n.value)){const e=n.value.findIndex((e=>j(e,(0,o.BA)(J.checkedValue))));if(e>-1){const t=[...n.value];t.splice(e,1),A.setFieldValue(r,t)}Array.isArray(n.id)&&n.id.splice(n.id.indexOf(J.id),1)}else A.unsetPathValue((0,o.BA)(S));A.removePathState(r,I)}})),J}function Le(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(null===e||void 0===e?void 0:e.syncVModel),o="string"===typeof(null===e||void 0===e?void 0:e.syncVModel)?e.syncVModel:(null===e||void 0===e?void 0:e.modelPropName)||"modelValue",i=r&&!("initialValue"in(e||{}))?je((0,n.nI)(),o):null===e||void 0===e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,s="standalone"in e?!e.standalone:e.controlled,c=(null===e||void 0===e?void 0:e.modelPropName)||(null===e||void 0===e?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:i,controlled:null===s||void 0===s||s,checkedValue:a,syncVModel:c})}function De(e,t,r){const i=(null===r||void 0===r?void 0:r.standalone)?void 0:W(_),a=null===r||void 0===r?void 0:r.checkedValue,s=null===r||void 0===r?void 0:r.uncheckedValue;function c(t){const c=t.handleChange,u=(0,n.EW)((()=>{const e=(0,o.BA)(t.value),r=(0,o.BA)(a);return Array.isArray(e)?e.findIndex((e=>j(e,r)))>=0:j(r,e)}));function l(n,l=!0){var d,f;if(u.value===(null===(d=null===n||void 0===n?void 0:n.target)||void 0===d?void 0:d.checked))return void(l&&t.validate());const h=(0,o.BA)(e),p=null===i||void 0===i?void 0:i.getPathState(h),m=ae(n);let g=null!==(f=(0,o.BA)(a))&&void 0!==f?f:m;i&&(null===p||void 0===p?void 0:p.multiple)&&"checkbox"===p.type?g=K(z(i.values,h)||[],g,void 0):"checkbox"===(null===r||void 0===r?void 0:r.type)&&(g=K((0,o.BA)(t.value),g,(0,o.BA)(s))),c(g,l)}return Object.assign(Object.assign({},t),{checked:u,checkedValue:a,uncheckedValue:s,handleChange:l})}return c(Be(e,t,r))}function Fe({prop:e,value:t,handleChange:r,shouldValidate:o}){const i=(0,n.nI)();if(!i||!e)return void 0;const a="string"===typeof e?e:"modelValue",s=`update:${a}`;a in i.props&&((0,n.wB)(t,(e=>{j(e,je(i,a))||i.emit(s,e)})),(0,n.wB)((()=>je(i,a)),(e=>{if(e===A&&void 0===t.value)return;const n=e===A?void 0:e;j(n,t.value)||r(n,o())})))}function je(e,t){if(e)return e.props[t]}const Ue=(0,n.pM)({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>me().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:A},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const r=(0,o.lW)(e,"rules"),a=(0,o.lW)(e,"name"),s=(0,o.lW)(e,"label"),c=(0,o.lW)(e,"uncheckedValue"),u=(0,o.lW)(e,"keepValue"),{errors:l,value:d,errorMessage:f,validate:h,handleChange:p,handleBlur:m,setTouched:g,resetField:y,handleReset:v,meta:b,checked:w,setErrors:_}=Me(a,r,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:He(e,t),checkedValue:t.attrs.value,uncheckedValue:c,label:s,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:u,syncVModel:!0}),E=function(e,t=!0){p(e,t)},A=(0,n.EW)((()=>{const{validateOnInput:r,validateOnChange:n,validateOnBlur:o,validateOnModelUpdate:a}=ze(e);function s(e){m(e,o),i(t.attrs.onBlur)&&t.attrs.onBlur(e)}function c(e){E(e,r),i(t.attrs.onInput)&&t.attrs.onInput(e)}function u(e){E(e,n),i(t.attrs.onChange)&&t.attrs.onChange(e)}const l={name:e.name,onBlur:s,onInput:c,onChange:u,"onUpdate:modelValue":e=>E(e,a)};return l})),S=(0,n.EW)((()=>{const r=Object.assign({},A.value);I(t.attrs.type)&&w&&(r.checked=w.value);const n=$e(e,t);return B(n,t.attrs)&&(r.value=d.value),r})),T=(0,n.EW)((()=>Object.assign(Object.assign({},A.value),{modelValue:d.value})));function x(){return{field:S.value,componentField:T.value,value:d.value,meta:b,errors:l.value,errorMessage:f.value,validate:h,resetField:y,handleChange:E,handleInput:e=>E(e,!1),handleReset:v,handleBlur:A.value.onBlur,setTouched:g,setErrors:_}}return t.expose({value:d,meta:b,errors:l,errorMessage:f,setErrors:_,setTouched:g,reset:y,validate:h,handleChange:p}),()=>{const r=(0,n.$y)($e(e,t)),o=re(r,t,x);return r?(0,n.h)(r,Object.assign(Object.assign({},t.attrs),S.value),o):o}}});function $e(e,t){let r=e.as||"";return e.as||t.slots.default||(r="input"),r}function ze(e){var t,r,n,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:s,validateOnModelUpdate:c}=me();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(r=e.validateOnChange)&&void 0!==r?r:a,validateOnBlur:null!==(n=e.validateOnBlur)&&void 0!==n?n:s,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:c}}function He(e,t){return I(t.attrs.type)?F(e,"modelValue")?e.modelValue:void 0:F(e,"modelValue")?e.modelValue:t.attrs.value}const Ve=Ue;let Ge=0;const qe=["bails","fieldsCount","id","multiple","type","validate"];function We(e){const t=Object.assign({},(0,o.BA)((null===e||void 0===e?void 0:e.initialValues)||{})),r=(0,o.R1)(null===e||void 0===e?void 0:e.validationSchema);return r&&x(r)&&i(r.cast)?w(r.cast(t)||{}):w(t)}function Ke(e){var t;const r=Ge++;let a=0;const s=(0,o.KR)(!1),c=(0,o.KR)(!1),u=(0,o.KR)(0),l=[],d=(0,o.Kh)(We(e)),f=(0,o.KR)([]),m=(0,o.KR)({}),g=(0,o.KR)({}),y=te((()=>{g.value=f.value.reduce(((e,t)=>(e[p((0,o.BA)(t.path))]=t,e)),{})}));function v(e,t){const r=W(e);if(r){if("string"===typeof e){const t=p(e);m.value[t]&&delete m.value[t]}r.errors=J(t),r.valid=!r.errors.length}else"string"===typeof e&&(m.value[p(e)]=J(t))}function b(e){q(e).forEach((t=>{v(t,e[t])}))}(null===e||void 0===e?void 0:e.initialErrors)&&b(e.initialErrors);const E=(0,n.EW)((()=>{const e=f.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},m.value),e)})),A=(0,n.EW)((()=>q(E.value).reduce(((e,t)=>{const r=E.value[t];return(null===r||void 0===r?void 0:r.length)&&(e[t]=r[0]),e}),{}))),S=(0,n.EW)((()=>f.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),T=(0,n.EW)((()=>f.value.reduce(((e,t)=>{var r;return e[t.path]=null===(r=t.bails)||void 0===r||r,e}),{}))),I=Object.assign({},(null===e||void 0===e?void 0:e.initialErrors)||{}),O=null!==(t=null===e||void 0===e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:P,originalInitialValues:k,setInitialValues:N}=Ze(f,d,e),R=Xe(f,d,k,A),M=(0,n.EW)((()=>f.value.reduce(((e,t)=>{const r=z(d,t.path);return H(e,t.path,r),e}),{}))),B=null===e||void 0===e?void 0:e.validationSchema;function D(e,t){var r,i;const s=(0,n.EW)((()=>z(P.value,(0,o.BA)(e)))),c=g.value[(0,o.BA)(e)],u="checkbox"===(null===t||void 0===t?void 0:t.type)||"radio"===(null===t||void 0===t?void 0:t.type);if(c&&u){c.multiple=!0;const e=a++;return Array.isArray(c.id)?c.id.push(e):c.id=[c.id,e],c.fieldsCount++,c.__flags.pendingUnmount[e]=!1,c}const l=(0,n.EW)((()=>z(d,(0,o.BA)(e)))),h=(0,o.BA)(e),p=Y.findIndex((e=>e===h));-1!==p&&Y.splice(p,1);const m=(0,n.EW)((()=>{var r,n,i,a,s,c;return x(B)?null!==(i=null===(n=(r=B).describe)||void 0===n?void 0:n.call(r,(0,o.BA)(e)).required)&&void 0!==i&&i:!!x(null===t||void 0===t?void 0:t.schema)&&(null!==(c=null===(s=(a=null===t||void 0===t?void 0:t.schema).describe)||void 0===s?void 0:s.call(a).required)&&void 0!==c&&c)})),v=a++,b=(0,o.Kh)({id:v,path:e,touched:!1,pending:!1,valid:!0,validated:!!(null===(r=I[h])||void 0===r?void 0:r.length),required:m,initialValue:s,errors:(0,o.IJ)([]),bails:null!==(i=null===t||void 0===t?void 0:t.bails)&&void 0!==i&&i,label:null===t||void 0===t?void 0:t.label,type:(null===t||void 0===t?void 0:t.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[v]:!1},pendingReset:!1},fieldsCount:1,validate:null===t||void 0===t?void 0:t.validate,dirty:(0,n.EW)((()=>!j((0,o.R1)(l),(0,o.R1)(s))))});return f.value.push(b),g.value[h]=b,y(),A.value[h]&&!I[h]&&(0,n.dY)((()=>{Ae(h,{mode:"silent"})})),(0,o.i9)(e)&&(0,n.wB)(e,(e=>{y();const t=w(l.value);g.value[e]=b,(0,n.dY)((()=>{H(d,e,t)}))})),b}const F=Z(Oe,5),U=Z(Oe,5),$=Q((async e=>await("silent"===e?F():U())),((e,[t])=>{const r=q(ue.errorBag.value),n=[...new Set([...q(e.results),...f.value.map((e=>e.path)),...r])].sort(),i=n.reduce(((r,n)=>{var i;const a=n,s=W(a)||K(a),c=(null===(i=e.results[a])||void 0===i?void 0:i.errors)||[],u=(0,o.BA)(null===s||void 0===s?void 0:s.path)||a,l=Ye({errors:c,valid:!c.length},r.results[u]);return r.results[u]=l,l.valid||(r.errors[u]=l.errors[0]),s&&m.value[u]&&delete m.value[u],s?(s.valid=l.valid,"silent"===t?r:"validated-only"!==t||s.validated?(v(s,l.errors),r):r):(v(u,c),r)}),{valid:e.valid,results:{},errors:{}});return e.values&&(i.values=e.values),q(i.results).forEach((e=>{var r;const n=W(e);n&&"silent"!==t&&("validated-only"!==t||n.validated)&&v(n,null===(r=i.results[e])||void 0===r?void 0:r.errors)})),i}));function V(e){f.value.forEach(e)}function W(e){const t="string"===typeof e?p(e):e,r="string"===typeof t?g.value[t]:t;return r}function K(e){const t=f.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}let X,Y=[];function re(e){return Y.push(e),X||(X=(0,n.dY)((()=>{const e=[...Y].sort().reverse();e.forEach((e=>{G(d,e)})),Y=[],X=null}))),X}function ne(e){return function(t,r){return function(n){return n instanceof Event&&(n.preventDefault(),n.stopPropagation()),V((e=>e.touched=!0)),s.value=!0,u.value++,Ee().then((o=>{const i=w(d);if(o.valid&&"function"===typeof t){const r=w(M.value);let a=e?r:i;return o.values&&(a=o.values),t(a,{evt:n,controlledValues:r,setErrors:b,setFieldError:v,setTouched:be,setFieldTouched:pe,setValues:fe,setFieldValue:le,resetForm:_e,resetField:we})}o.valid||"function"!==typeof r||r({values:i,evt:n,errors:o.errors,results:o.results})})).then((e=>(s.value=!1,e)),(e=>{throw s.value=!1,e}))}}}const oe=ne(!1),ie=oe;function se(e,t){const r=f.value.findIndex((r=>r.path===e&&(Array.isArray(r.id)?r.id.includes(t):r.id===t))),o=f.value[r];if(-1!==r&&o){if((0,n.dY)((()=>{Ae(e,{mode:"silent",warn:!1})})),o.multiple&&o.fieldsCount&&o.fieldsCount--,Array.isArray(o.id)){const e=o.id.indexOf(t);e>=0&&o.id.splice(e,1),delete o.__flags.pendingUnmount[t]}(!o.multiple||o.fieldsCount<=0)&&(f.value.splice(r,1),xe(e),y(),delete g.value[e])}}function ce(e){q(g.value).forEach((t=>{t.startsWith(e)&&delete g.value[t]})),f.value=f.value.filter((t=>!t.path.startsWith(e))),(0,n.dY)((()=>{y()}))}ie.withControlled=ne(!0);const ue={formId:r,values:d,controlledValues:M,errorBag:E,errors:A,schema:B,submitCount:u,meta:R,isSubmitting:s,isValidating:c,fieldArrays:l,keepValuesOnUnmount:O,validateSchema:(0,o.R1)(B)?$:void 0,validate:Ee,setFieldError:v,validateField:Ae,setFieldValue:le,setValues:fe,setErrors:b,setFieldTouched:pe,setTouched:be,resetForm:_e,resetField:we,handleSubmit:ie,useFieldModel:Ne,defineInputBinds:Re,defineComponentBinds:Me,defineField:ke,stageInitialValue:Ce,unsetInitialValue:xe,setFieldInitialValue:Ie,createPathState:D,getPathState:W,unsetPathValue:re,removePathState:se,initialValues:P,getAllPathStates:()=>f.value,destroyPath:ce,isFieldTouched:ge,isFieldDirty:ye,isFieldValid:ve};function le(e,t,r=!0){const n=w(t),o="string"===typeof e?e:e.path,i=W(o);i||D(o),H(d,o,n),r&&Ae(o)}function de(e,t=!0){q(d).forEach((e=>{delete d[e]})),q(e).forEach((t=>{le(t,e[t],!1)})),t&&Ee()}function fe(e,t=!0){h(d,e),l.forEach((e=>e&&e.reset())),t&&Ee()}function he(e,t){const r=W((0,o.BA)(e))||D(e);return(0,n.EW)({get(){return r.value},set(r){var n;const i=(0,o.BA)(e);le(i,r,null!==(n=(0,o.BA)(t))&&void 0!==n&&n)}})}function pe(e,t){const r=W(e);r&&(r.touched=t)}function ge(e){const t=W(e);return t?t.touched:f.value.filter((t=>t.path.startsWith(e))).some((e=>e.touched))}function ye(e){const t=W(e);return t?t.dirty:f.value.filter((t=>t.path.startsWith(e))).some((e=>e.dirty))}function ve(e){const t=W(e);return t?t.valid:f.value.filter((t=>t.path.startsWith(e))).every((e=>e.valid))}function be(e){"boolean"!==typeof e?q(e).forEach((t=>{pe(t,!!e[t])})):V((t=>{t.touched=e}))}function we(e,t){var r;const o=t&&"value"in t?t.value:z(P.value,e),i=W(e);i&&(i.__flags.pendingReset=!0),Ie(e,w(o),!0),le(e,o,!1),pe(e,null!==(r=null===t||void 0===t?void 0:t.touched)&&void 0!==r&&r),v(e,(null===t||void 0===t?void 0:t.errors)||[]),(0,n.dY)((()=>{i&&(i.__flags.pendingReset=!1)}))}function _e(e,t){let r=w((null===e||void 0===e?void 0:e.values)?e.values:k.value);r=(null===t||void 0===t?void 0:t.force)?r:h(k.value,r),r=x(B)&&i(B.cast)?B.cast(r):r,N(r),V((t=>{var n;t.__flags.pendingReset=!0,t.validated=!1,t.touched=(null===(n=null===e||void 0===e?void 0:e.touched)||void 0===n?void 0:n[t.path])||!1,le(t.path,z(r,t.path),!1),v(t.path,void 0)})),(null===t||void 0===t?void 0:t.force)?de(r,!1):fe(r,!1),b((null===e||void 0===e?void 0:e.errors)||{}),u.value=(null===e||void 0===e?void 0:e.submitCount)||0,(0,n.dY)((()=>{Ee({mode:"silent"}),V((e=>{e.__flags.pendingReset=!1}))}))}async function Ee(e){const t=(null===e||void 0===e?void 0:e.mode)||"force";if("force"===t&&V((e=>e.validated=!0)),ue.validateSchema)return ue.validateSchema(t);c.value=!0;const r=await Promise.all(f.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));c.value=!1;const n={},o={};for(const i of r)n[i.key]={valid:i.valid,errors:i.errors},i.errors.length&&(o[i.key]=i.errors[0]);return{valid:r.every((e=>e.valid)),results:n,errors:o}}async function Ae(e,t){var r;const n=W(e);if(n&&"silent"!==(null===t||void 0===t?void 0:t.mode)&&(n.validated=!0),B){const{results:r}=await $((null===t||void 0===t?void 0:t.mode)||"validated-only");return r[e]||{errors:[],valid:!0}}if(null===n||void 0===n?void 0:n.validate)return n.validate(t);!n&&(r=null===t||void 0===t?void 0:t.warn);return Promise.resolve({errors:[],valid:!0})}function xe(e){G(P.value,e)}function Ce(t,r,n=!1){Ie(t,r),H(d,t,r),n&&!(null===e||void 0===e?void 0:e.initialValues)&&H(k.value,t,w(r))}function Ie(e,t,r=!1){H(P.value,e,w(t)),r&&H(k.value,e,w(t))}async function Oe(){const e=(0,o.R1)(B);if(!e)return{valid:!0,results:{},errors:{}};c.value=!0;const t=C(e)||x(e)?await Se(e,d):await Te(e,d,{names:S.value,bailsMap:T.value});return c.value=!1,t}const Pe=ie(((e,{evt:t})=>{L(t)&&t.target.submit()}));function ke(e,t){const r=i(t)||null===t||void 0===t?void 0:t.label,a=W((0,o.BA)(e))||D(e,{label:r}),s=()=>i(t)?t(ee(a,qe)):t||{};function c(){var e;a.touched=!0;const t=null!==(e=s().validateOnBlur)&&void 0!==e?e:me().validateOnBlur;t&&Ae(a.path)}function u(){var e;const t=null!==(e=s().validateOnInput)&&void 0!==e?e:me().validateOnInput;t&&(0,n.dY)((()=>{Ae(a.path)}))}function l(){var e;const t=null!==(e=s().validateOnChange)&&void 0!==e?e:me().validateOnChange;t&&(0,n.dY)((()=>{Ae(a.path)}))}const d=(0,n.EW)((()=>{const e={onChange:l,onInput:u,onBlur:c};return i(t)?Object.assign(Object.assign({},e),t(ee(a,qe)).props||{}):(null===t||void 0===t?void 0:t.props)?Object.assign(Object.assign({},e),t.props(ee(a,qe))):e})),f=he(e,(()=>{var e,t,r;return null===(r=null!==(e=s().validateOnModelUpdate)&&void 0!==e?e:null===(t=me())||void 0===t?void 0:t.validateOnModelUpdate)||void 0===r||r}));return[f,d]}function Ne(e){return Array.isArray(e)?e.map((e=>he(e,!0))):he(e)}function Re(e,t){const[r,i]=ke(e,t);function a(){i.value.onBlur()}function s(t){const r=ae(t);le((0,o.BA)(e),r,!1),i.value.onInput()}function c(t){const r=ae(t);le((0,o.BA)(e),r,!1),i.value.onChange()}return(0,n.EW)((()=>Object.assign(Object.assign({},i.value),{onBlur:a,onInput:s,onChange:c,value:r.value})))}function Me(e,t){const[r,a]=ke(e,t),s=W((0,o.BA)(e));function c(e){r.value=e}return(0,n.EW)((()=>{const e=i(t)?t(ee(s,qe)):t||{};return Object.assign({[e.model||"modelValue"]:r.value,[`onUpdate:${e.model||"modelValue"}`]:c},a.value)}))}return(0,n.sV)((()=>{(null===e||void 0===e?void 0:e.initialErrors)&&b(e.initialErrors),(null===e||void 0===e?void 0:e.initialTouched)&&be(e.initialTouched),(null===e||void 0===e?void 0:e.validateOnMount)?Ee():ue.validateSchema&&ue.validateSchema("silent")})),(0,o.i9)(B)&&(0,n.wB)(B,(()=>{var e;null===(e=ue.validateSchema)||void 0===e||e.call(ue,"validated-only")})),(0,n.Gt)(_,ue),Object.assign(Object.assign({},ue),{values:(0,o.tB)(d),handleReset:()=>_e(),submitForm:Pe})}function Xe(e,t,r,i){const a={touched:"some",pending:"some",valid:"every"},s=(0,n.EW)((()=>!j(t,(0,o.R1)(r))));function c(){const t=e.value;return q(a).reduce(((e,r)=>{const n=a[r];return e[r]=t[n]((e=>e[r])),e}),{})}const u=(0,o.Kh)(c());return(0,n.nT)((()=>{const e=c();u.touched=e.touched,u.valid=e.valid,u.pending=e.pending})),(0,n.EW)((()=>Object.assign(Object.assign({initialValues:(0,o.R1)(r)},u),{valid:u.valid&&!q(i.value).length,dirty:s.value})))}function Ze(e,t,r){const n=We(r),i=(0,o.KR)(n),a=(0,o.KR)(w(n));function s(r,n=!1){i.value=h(w(i.value)||{},w(r)),a.value=h(w(a.value)||{},w(r)),n&&e.value.forEach((e=>{const r=e.touched;if(r)return;const n=z(i.value,e.path);H(t,e.path,w(n))}))}return{initialValues:i,originalInitialValues:a,setInitialValues:s}}function Ye(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}const Qe=(0,n.pM)({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const r=(0,o.lW)(e,"validationSchema"),i=(0,o.lW)(e,"keepValues"),{errors:a,errorBag:s,values:c,meta:u,isSubmitting:l,isValidating:d,submitCount:f,controlledValues:h,validate:p,validateField:m,handleReset:g,resetForm:y,handleSubmit:v,setErrors:b,setFieldError:_,setFieldValue:E,setValues:A,setFieldTouched:S,setTouched:T,resetField:x}=Ke({validationSchema:r.value?r:void 0,initialValues:e.initialValues,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:i}),C=v(((e,{evt:t})=>{L(t)&&t.target.submit()}),e.onInvalidSubmit),I=e.onSubmit?v(e.onSubmit,e.onInvalidSubmit):C;function O(e){D(e)&&e.preventDefault(),g(),"function"===typeof t.attrs.onReset&&t.attrs.onReset()}function P(t,r){const n="function"!==typeof t||r?r:t;return v(n,e.onInvalidSubmit)(t)}function k(){return w(c)}function N(){return w(u.value)}function R(){return w(a.value)}function M(){return{meta:u.value,errors:a.value,errorBag:s.value,values:c,isSubmitting:l.value,isValidating:d.value,submitCount:f.value,controlledValues:h.value,validate:p,validateField:m,handleSubmit:P,handleReset:g,submitForm:C,setErrors:b,setFieldError:_,setFieldValue:E,setValues:A,setFieldTouched:S,setTouched:T,resetForm:y,resetField:x,getValues:k,getMeta:N,getErrors:R}}return t.expose({setFieldError:_,setErrors:b,setFieldValue:E,setValues:A,setFieldTouched:S,setTouched:T,resetForm:y,validate:p,validateField:m,resetField:x,getValues:k,getMeta:N,getErrors:R,values:c,meta:u,errors:a}),function(){const r="form"===e.as?e.as:e.as?(0,n.$y)(e.as):null,o=re(r,t,M);if(!r)return o;const i="form"===r?{novalidate:!0}:{};return(0,n.h)(r,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:I,onReset:O}),o)}}}),Je=Qe;function et(){const e=W(_);return(0,n.EW)((()=>(null===e||void 0===e?void 0:e.errors.value)||{}))}function tt(e){const t=W(_),r=e?void 0:(0,n.WQ)(E);return(0,n.EW)((()=>e?null===t||void 0===t?void 0:t.errors.value[(0,o.BA)(e)]:null===r||void 0===r?void 0:r.errorMessage.value))}},66262:(e,t)=>{"use strict";t.A=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}},29094:(e,t,r)=>{var n="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof self&&self||"undefined"!==typeof r.g&&r.g,o=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){(function(t){var r="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||"undefined"!==typeof r&&r,n={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};function o(e){return e&&DataView.prototype.isPrototypeOf(e)}if(n.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&i.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function c(e){return"string"!==typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function l(e){this.map={},e instanceof l?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function h(e){var t=new FileReader,r=f(t);return t.readAsArrayBuffer(e),r}function p(e){var t=new FileReader,r=f(t);return t.readAsText(e),r}function m(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?t:e}function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=b(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),("GET"===this.method||"HEAD"===this.method)&&("no-store"===t.cache||"no-cache"===t.cache)){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+(new Date).getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function E(e){var t=new l,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t}function A(e,t){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},A.error=function(){var e=new A(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];A.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new A(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(x){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(e,o){return new Promise((function(i,a){var s=new w(e,o);if(s.signal&&s.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function d(){u.abort()}function f(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}u.onload=function(){var e={status:u.status,statusText:u.statusText,headers:E(u.getAllResponseHeaders()||"")};e.url="responseURL"in u?u.responseURL:e.headers.get("X-Request-URL");var t="response"in u?u.response:u.responseText;setTimeout((function(){i(new A(t,e))}),0)},u.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){a(new t.DOMException("Aborted","AbortError"))}),0)},u.open(s.method,f(s.url),!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&(n.blob?u.responseType="blob":n.arrayBuffer&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!o||"object"!==typeof o.headers||o.headers instanceof l?s.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(o.headers).forEach((function(e){u.setRequestHeader(e,c(o.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",d),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",d)}),u.send("undefined"===typeof s._bodyInit?null:s._bodyInit)}))}T.polyfill=!0,r.fetch||(r.fetch=T,r.Headers=l,r.Request=w,r.Response=A),t.Headers=l,t.Request=w,t.Response=A,t.fetch=T})({})})(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var i=n.fetch?n:o;t=i.fetch,t["default"]=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},57513:(e,t,r)=>{var n=r(48287)["Buffer"],o=r(87701);function i(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function a(e,t,r){var o=new n(r?34:33);return o.writeUInt8(e,0),t.copy(o,1),r&&(o[33]=1),o}function s(e,t){return i(o.decode(e),t)}function c(e,t,r){return"number"===typeof e?o.encode(a(e,t,r)):o.encode(a(e.version,e.privateKey,e.compressed))}e.exports={decode:s,decodeRaw:i,encode:c,encodeRaw:a}},1448:(e,t,r)=>{"use strict";var n=r(92861).Buffer;function o(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,d=new Uint8Array(u);while(i!==a){for(var f=t[i],h=0,p=u-1;(0!==f||h>>0,d[p]=f%s>>>0,f=f/s>>>0;if(0!==f)throw new Error("Non-zero carry");o=h,i++}var m=u-o;while(m!==u&&0===d[m])m++;for(var g=c.repeat(r);m>>0,l=new Uint8Array(a);while(e[r]){var d=t[e.charCodeAt(r)];if(255===d)return;for(var f=0,h=a-1;(0!==d||f>>0,l[h]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");i=f,r++}var p=a-i;while(p!==a&&0===l[p])p++;var m=n.allocUnsafe(o+(a-p));m.fill(0,0,o);var g=o;while(p!==a)m[g++]=l[p++];return m}function h(e){var t=f(e);if(t)return t;throw new Error("Non-base"+s+" character")}return{encode:d,decodeUnsafe:f,decode:h}}e.exports=o},23119:(e,t,r)=>{var n=r(1448),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";e.exports=n(o)},68016:(e,t,r)=>{"use strict";var n=r(23119),o=r(92861).Buffer;e.exports=function(e){function t(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))}function r(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}function i(e){var t=n.decodeUnsafe(e);if(t)return r(t)}function a(t){var o=n.decode(t),i=r(o,e);if(!i)throw new Error("Invalid checksum");return i}return{encode:t,decode:a,decodeUnsafe:i}}},87701:(e,t,r)=>{"use strict";var n=r(47108),o=r(68016);function i(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()}e.exports=o(i)},49763:(e,t,r)=>{e.exports=r(21885)},11393:(e,t,r)=>{e.exports=r(88851)},2457:(e,t,r)=>{e.exports=r(1803)},18700:(e,t,r)=>{e.exports=r(76049)},71426:(e,t,r)=>{e.exports=r(11660)},8628:(e,t,r)=>{e.exports=r(82210)},48079:(e,t,r)=>{e.exports=r(67805)},18979:(e,t,r)=>{e.exports=r(69249)},385:(e,t,r)=>{e.exports=r(29147)},165:(e,t,r)=>{e.exports=r(4499)},85569:(e,t,r)=>{e.exports=r(66667)},29544:(e,t,r)=>{e.exports=r(88418)},38573:(e,t,r)=>{e.exports=r(57919)},50697:(e,t,r)=>{e.exports=r(77275)},61240:(e,t,r)=>{e.exports=r(72473)},66512:(e,t,r)=>{e.exports=r(20589)},87842:(e,t,r)=>{e.exports=r(88939)},25953:(e,t,r)=>{var n=r(91234)["default"],o=r(74048),i=r(12440),a=r(43575),s=r(28664),c=r(71864),u=r(5179),l=r(12740),d=r(65781),f=r(11265),h=r(50389);function p(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=p=function(){return r},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,r={},m=Object.prototype,g=m.hasOwnProperty,y=o||function(e,t,r){e[t]=r.value},v="function"==typeof i?i:{},b=v.iterator||"@@iterator",w=v.asyncIterator||"@@asyncIterator",_=v.toStringTag||"@@toStringTag";function E(e,t,r){return o(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{E({},"")}catch(t){E=function(e,t,r){return e[t]=r}}function A(e,t,r,n){var o=t&&t.prototype instanceof P?t:P,i=a(o.prototype),s=new H(n||[]);return y(i,"_invoke",{value:j(e,r,s)}),i}function S(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=A;var T="suspendedStart",x="suspendedYield",C="executing",I="completed",O={};function P(){}function k(){}function N(){}var R={};E(R,b,(function(){return this}));var M=s,B=M&&M(M(V([])));B&&B!==m&&g.call(B,b)&&(R=B);var L=N.prototype=P.prototype=a(R);function D(e){var t;c(t=["next","throw","return"]).call(t,(function(t){E(e,t,(function(e){return this._invoke(t,e)}))}))}function F(e,t){function r(o,i,a,s){var c=S(e[o],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==n(l)&&g.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var o;y(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function j(e,r,n){var o=T;return function(i,a){if(o===C)throw new Error("Generator is already running");if(o===I){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=U(s,n);if(c){if(c===O)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===T)throw o=I,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=C;var u=S(e,r,n);if("normal"===u.type){if(o=n.done?I:x,u.arg===O)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=I,n.method="throw",n.arg=u.arg)}}}function U(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,U(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),O;var i=S(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,O;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,O):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,O)}function $(e){var t,r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),u(t=this.tryEntries).call(t,r)}function z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function H(e){this.tryEntries=[{tryLoc:"root"}],c(e).call(e,$,this),this.reset(!0)}function V(e){if(e||""===e){var r=e[b];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=g.call(i,"catchLoc"),c=g.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),z(r),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:V(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),O}},r}e.exports=p,e.exports.__esModule=!0,e.exports["default"]=e.exports},91234:(e,t,r)=>{var n=r(12440),o=r(46004);function i(t){return e.exports=i="function"==typeof n&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},44828:(e,t,r)=>{var n=r(25953)();e.exports=n;try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},64954:(e,t,r)=>{"use strict";var n=r(21885);e.exports=n},84666:(e,t,r)=>{"use strict";var n=r(69289);e.exports=n},5363:(e,t,r)=>{"use strict";var n=r(39318);e.exports=n},9424:(e,t,r)=>{"use strict";var n=r(76049);e.exports=n},75861:(e,t,r)=>{"use strict";var n=r(43212);e.exports=n},9380:(e,t,r)=>{"use strict";var n=r(8813);e.exports=n},11226:(e,t,r)=>{"use strict";var n=r(1479);e.exports=n},10562:(e,t,r)=>{"use strict";var n=r(12093);e.exports=n},75590:(e,t,r)=>{"use strict";var n=r(69249);e.exports=n},42786:(e,t,r)=>{"use strict";var n=r(11707);e.exports=n},30159:(e,t,r)=>{"use strict";var n=r(67692);e.exports=n},64355:(e,t,r)=>{"use strict";var n=r(32044);e.exports=n},86585:(e,t,r)=>{"use strict";var n=r(69494);e.exports=n},12892:(e,t,r)=>{"use strict";var n=r(5053);e.exports=n},86163:(e,t,r)=>{"use strict";var n=r(50434);e.exports=n},65077:(e,t,r)=>{"use strict";var n=r(21380);e.exports=n},18514:(e,t,r)=>{"use strict";var n=r(77275);e.exports=n},60937:(e,t,r)=>{"use strict";var n=r(48792);e.exports=n},90780:(e,t,r)=>{"use strict";var n=r(72473);r(43799),e.exports=n},96691:(e,t,r)=>{"use strict";var n=r(50884);r(16401),r(81202),r(43275),r(30465),e.exports=n},27661:(e,t,r)=>{"use strict";var n=r(96848);e.exports=n},73438:(e,t,r)=>{"use strict";var n=r(17595);e.exports=n},17444:(e,t,r)=>{"use strict";r(47764),r(23418);var n=r(19167);e.exports=n.Array.from},60412:(e,t,r)=>{"use strict";r(64346);var n=r(19167);e.exports=n.Array.isArray},76936:(e,t,r)=>{"use strict";r(28706);var n=r(44124);e.exports=n("Array","concat")},75893:(e,t,r)=>{"use strict";r(23792),r(26099);var n=r(44124);e.exports=n("Array","entries")},27022:(e,t,r)=>{"use strict";r(2008);var n=r(44124);e.exports=n("Array","filter")},98132:(e,t,r)=>{"use strict";r(50113);var n=r(44124);e.exports=n("Array","find")},52051:(e,t,r)=>{"use strict";r(51629);var n=r(44124);e.exports=n("Array","forEach")},82745:(e,t,r)=>{"use strict";r(74423);var n=r(44124);e.exports=n("Array","includes")},77310:(e,t,r)=>{"use strict";r(25276);var n=r(44124);e.exports=n("Array","indexOf")},88184:(e,t,r)=>{"use strict";r(62062);var n=r(44124);e.exports=n("Array","map")},3564:(e,t,r)=>{"use strict";r(44114);var n=r(44124);e.exports=n("Array","push")},31804:(e,t,r)=>{"use strict";r(94490);var n=r(44124);e.exports=n("Array","reverse")},32312:(e,t,r)=>{"use strict";r(34782);var n=r(44124);e.exports=n("Array","slice")},82032:(e,t,r)=>{"use strict";r(54554);var n=r(44124);e.exports=n("Array","splice")},70565:(e,t,r)=>{"use strict";r(23792),r(47764);var n=r(50851);e.exports=n},31532:(e,t,r)=>{"use strict";var n=r(1625),o=r(76936),i=Array.prototype;e.exports=function(e){var t=e.concat;return e===i||n(i,e)&&t===i.concat?o:t}},18730:(e,t,r)=>{"use strict";var n=r(1625),o=r(27022),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||n(i,e)&&t===i.filter?o:t}},74059:(e,t,r)=>{"use strict";var n=r(1625),o=r(98132),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||n(i,e)&&t===i.find?o:t}},87853:(e,t,r)=>{"use strict";var n=r(1625),o=r(82745),i=r(65647),a=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===a||n(a,e)&&t===a.includes?o:"string"==typeof e||e===s||n(s,e)&&t===s.includes?i:t}},46554:(e,t,r)=>{"use strict";var n=r(1625),o=r(77310),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?o:t}},15396:(e,t,r)=>{"use strict";var n=r(1625),o=r(88184),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||n(i,e)&&t===i.map?o:t}},22256:(e,t,r)=>{"use strict";var n=r(1625),o=r(3564),i=Array.prototype;e.exports=function(e){var t=e.push;return e===i||n(i,e)&&t===i.push?o:t}},8192:(e,t,r)=>{"use strict";var n=r(1625),o=r(31804),i=Array.prototype;e.exports=function(e){var t=e.reverse;return e===i||n(i,e)&&t===i.reverse?o:t}},82236:(e,t,r)=>{"use strict";var n=r(1625),o=r(32312),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||n(i,e)&&t===i.slice?o:t}},47788:(e,t,r)=>{"use strict";var n=r(1625),o=r(82032),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||n(i,e)&&t===i.splice?o:t}},85698:(e,t,r)=>{"use strict";var n=r(1625),o=r(18068),i=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===i||n(i,e)&&t===i.startsWith?o:t}},80246:(e,t,r)=>{"use strict";r(60739),r(33110);var n=r(19167),o=r(18745);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return o(n.JSON.stringify,null,arguments)}},58473:(e,t,r)=>{"use strict";r(69085);var n=r(19167);e.exports=n.Object.assign},28964:(e,t,r)=>{"use strict";r(59904);var n=r(19167),o=n.Object;e.exports=function(e,t){return o.create(e,t)}},23837:(e,t,r)=>{"use strict";r(67945);var n=r(19167),o=n.Object,i=e.exports=function(e,t){return o.defineProperties(e,t)};o.defineProperties.sham&&(i.sham=!0)},60949:(e,t,r)=>{"use strict";r(84185);var n=r(19167),o=n.Object,i=e.exports=function(e,t,r){return o.defineProperty(e,t,r)};o.defineProperty.sham&&(i.sham=!0)},17990:(e,t,r)=>{"use strict";r(5506);var n=r(19167);e.exports=n.Object.entries},78895:(e,t,r)=>{"use strict";r(83851);var n=r(19167),o=n.Object,i=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(i.sham=!0)},57034:(e,t,r)=>{"use strict";r(81278);var n=r(19167);e.exports=n.Object.getOwnPropertyDescriptors},69969:(e,t,r)=>{"use strict";r(52675);var n=r(19167);e.exports=n.Object.getOwnPropertySymbols},66983:(e,t,r)=>{"use strict";r(40875);var n=r(19167);e.exports=n.Object.getPrototypeOf},3580:(e,t,r)=>{"use strict";r(79432);var n=r(19167);e.exports=n.Object.keys},56803:(e,t,r)=>{"use strict";r(10287);var n=r(19167);e.exports=n.Object.setPrototypeOf},96398:(e,t,r)=>{"use strict";r(30067),r(23792),r(26099),r(3362),r(96167),r(93518),r(14628),r(9391),r(47764);var n=r(19167);e.exports=n.Promise},65647:(e,t,r)=>{"use strict";r(21699);var n=r(44124);e.exports=n("String","includes")},18068:(e,t,r)=>{"use strict";r(11392);var n=r(44124);e.exports=n("String","startsWith")},39281:(e,t,r)=>{"use strict";r(28706),r(26099),r(52675),r(66412),r(89463),r(60193),r(92168),r(2259),r(86964),r(83142),r(83237),r(61833),r(67947),r(31073),r(45700),r(78125),r(20326),r(4731),r(60479),r(15472);var n=r(19167);e.exports=n.Symbol},42151:(e,t,r)=>{"use strict";r(23792),r(26099),r(47764),r(2259);var n=r(1951);e.exports=n.f("iterator")},32864:(e,t,r)=>{"use strict";r(89572),r(45700);var n=r(1951);e.exports=n.f("toPrimitive")},81502:(e,t,r)=>{"use strict";r(23792),r(26099),r(73772);var n=r(19167);e.exports=n.WeakMap},41625:(e,t,r)=>{"use strict";e.exports=r(98371)},93941:(e,t,r)=>{"use strict";e.exports=r(2263)},4346:(e,t,r)=>{"use strict";e.exports=r(93388)},68445:(e,t,r)=>{"use strict";e.exports=r(97567)},71864:(e,t,r)=>{"use strict";e.exports=r(77394)},44185:(e,t,r)=>{"use strict";e.exports=r(14311)},5179:(e,t,r)=>{"use strict";e.exports=r(77377)},11265:(e,t,r)=>{"use strict";e.exports=r(61855)},50389:(e,t,r)=>{"use strict";e.exports=r(98755)},43575:(e,t,r)=>{"use strict";e.exports=r(77057)},43224:(e,t,r)=>{"use strict";e.exports=r(89366)},74048:(e,t,r)=>{"use strict";e.exports=r(22378)},5090:(e,t,r)=>{"use strict";e.exports=r(43216)},7425:(e,t,r)=>{"use strict";e.exports=r(11919)},47598:(e,t,r)=>{"use strict";e.exports=r(33812)},28664:(e,t,r)=>{"use strict";e.exports=r(24130)},17175:(e,t,r)=>{"use strict";e.exports=r(58505)},12740:(e,t,r)=>{"use strict";e.exports=r(77334)},65781:(e,t,r)=>{"use strict";e.exports=r(20911)},12440:(e,t,r)=>{"use strict";e.exports=r(27414)},46004:(e,t,r)=>{"use strict";e.exports=r(81750)},23015:(e,t,r)=>{"use strict";e.exports=r(29769)},98371:(e,t,r)=>{"use strict";var n=r(64954);e.exports=n},2263:(e,t,r)=>{"use strict";var n=r(84666);e.exports=n},93388:(e,t,r)=>{"use strict";var n=r(5363);e.exports=n},97567:(e,t,r)=>{"use strict";var n=r(9424);e.exports=n},77394:(e,t,r)=>{"use strict";var n=r(75861);e.exports=n},14311:(e,t,r)=>{"use strict";var n=r(9380);e.exports=n},77377:(e,t,r)=>{"use strict";var n=r(11226);e.exports=n},61855:(e,t,r)=>{"use strict";var n=r(10562);e.exports=n},98755:(e,t,r)=>{"use strict";var n=r(75590);e.exports=n},77057:(e,t,r)=>{"use strict";var n=r(42786);e.exports=n},89366:(e,t,r)=>{"use strict";var n=r(30159);e.exports=n},22378:(e,t,r)=>{"use strict";var n=r(64355);e.exports=n},43216:(e,t,r)=>{"use strict";var n=r(86585);e.exports=n},11919:(e,t,r)=>{"use strict";var n=r(12892);e.exports=n},33812:(e,t,r)=>{"use strict";var n=r(86163);e.exports=n},24130:(e,t,r)=>{"use strict";var n=r(65077);e.exports=n},58505:(e,t,r)=>{"use strict";var n=r(18514);e.exports=n},77334:(e,t,r)=>{"use strict";var n=r(60937);e.exports=n},20911:(e,t,r)=>{"use strict";var n=r(90780);r(49806),r(35874),r(47628),r(47575),e.exports=n},27414:(e,t,r)=>{"use strict";var n=r(96691);r(13070),r(53032),r(13976),r(42793),r(87153),r(53803),r(18999),r(77208),r(73440),e.exports=n},81750:(e,t,r)=>{"use strict";var n=r(27661);e.exports=n},29769:(e,t,r)=>{"use strict";var n=r(73438);e.exports=n},79306:(e,t,r)=>{"use strict";var n=r(94901),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},35548:(e,t,r)=>{"use strict";var n=r(33517),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},73506:(e,t,r)=>{"use strict";var n=r(13925),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,t,r)=>{"use strict";var n=r(78227),o=r(2360),i=r(24913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},57829:(e,t,r)=>{"use strict";var n=r(68183).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},90679:(e,t,r)=>{"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},28551:(e,t,r)=>{"use strict";var n=r(20034),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},77811:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},67394:(e,t,r)=>{"use strict";var n=r(46706),o=r(44576),i=TypeError;e.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new i("ArrayBuffer expected");return e.byteLength}},3238:(e,t,r)=>{"use strict";var n=r(79504),o=r(67394),i=n(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==o(e))return!1;try{return i(e,0,0),!1}catch(t){return!0}}},15652:(e,t,r)=>{"use strict";var n=r(79039);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},95636:(e,t,r)=>{"use strict";var n=r(24475),o=r(79504),i=r(46706),a=r(57696),s=r(3238),c=r(67394),u=r(94483),l=r(1548),d=n.structuredClone,f=n.ArrayBuffer,h=n.DataView,p=n.TypeError,m=Math.min,g=f.prototype,y=h.prototype,v=o(g.slice),b=i(g,"resizable","get"),w=i(g,"maxByteLength","get"),_=o(y.getInt8),E=o(y.setInt8);e.exports=(l||u)&&function(e,t,r){var n,o=c(e),i=void 0===t?o:a(t),g=!b||!b(e);if(s(e))throw new p("ArrayBuffer is detached");if(l&&(e=d(e,{transfer:[e]}),o===i&&(r||g)))return e;if(o>=i&&(!r||g))n=v(e,0,i);else{var y=r&&!g&&w?{maxByteLength:w(e)}:void 0;n=new f(i,y);for(var A=new h(e),S=new h(n),T=m(i,o),x=0;x{"use strict";var n,o,i,a=r(77811),s=r(43724),c=r(24475),u=r(94901),l=r(20034),d=r(39297),f=r(36955),h=r(16823),p=r(66699),m=r(36840),g=r(62106),y=r(1625),v=r(42787),b=r(52967),w=r(78227),_=r(33392),E=r(91181),A=E.enforce,S=E.get,T=c.Int8Array,x=T&&T.prototype,C=c.Uint8ClampedArray,I=C&&C.prototype,O=T&&v(T),P=x&&v(x),k=Object.prototype,N=c.TypeError,R=w("toStringTag"),M=_("TYPED_ARRAY_TAG"),B="TypedArrayConstructor",L=a&&!!b&&"Opera"!==f(c.opera),D=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!l(e))return!1;var t=f(e);return"DataView"===t||d(F,t)||d(j,t)},$=function(e){var t=v(e);if(l(t)){var r=S(t);return r&&d(r,B)?r[B]:$(t)}},z=function(e){if(!l(e))return!1;var t=f(e);return d(F,t)||d(j,t)},H=function(e){if(z(e))return e;throw new N("Target is not a typed array")},V=function(e){if(u(e)&&(!b||y(O,e)))return e;throw new N(h(e)+" is not a typed array constructor")},G=function(e,t,r,n){if(s){if(r)for(var o in F){var i=c[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(u){}}}P[e]&&!r||m(P,e,r?t:L&&x[e]||t,n)}},q=function(e,t,r){var n,o;if(s){if(b){if(r)for(n in F)if(o=c[n],o&&d(o,e))try{delete o[e]}catch(i){}if(O[e]&&!r)return;try{return m(O,e,r?t:L&&O[e]||t)}catch(i){}}for(n in F)o=c[n],!o||o[e]&&!r||m(o,e,t)}};for(n in F)o=c[n],i=o&&o.prototype,i?A(i)[B]=o:L=!1;for(n in j)o=c[n],i=o&&o.prototype,i&&(A(i)[B]=o);if((!L||!u(O)||O===Function.prototype)&&(O=function(){throw new N("Incorrect invocation")},L))for(n in F)c[n]&&b(c[n],O);if((!L||!P||P===k)&&(P=O.prototype,L))for(n in F)c[n]&&b(c[n].prototype,P);if(L&&v(I)!==P&&b(I,P),s&&!d(P,R))for(n in D=!0,g(P,R,{configurable:!0,get:function(){return l(this)?this[M]:void 0}}),F)c[n]&&p(c[n],M,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:D&&M,aTypedArray:H,aTypedArrayConstructor:V,exportTypedArrayMethod:G,exportTypedArrayStaticMethod:q,getTypedArrayConstructor:$,isView:U,isTypedArray:z,TypedArray:O,TypedArrayPrototype:P}},66346:(e,t,r)=>{"use strict";var n=r(24475),o=r(79504),i=r(43724),a=r(77811),s=r(10350),c=r(66699),u=r(62106),l=r(56279),d=r(79039),f=r(90679),h=r(91291),p=r(18014),m=r(57696),g=r(15617),y=r(88490),v=r(42787),b=r(52967),w=r(84373),_=r(67680),E=r(23167),A=r(77740),S=r(10687),T=r(91181),x=s.PROPER,C=s.CONFIGURABLE,I="ArrayBuffer",O="DataView",P="prototype",k="Wrong length",N="Wrong index",R=T.getterFor(I),M=T.getterFor(O),B=T.set,L=n[I],D=L,F=D&&D[P],j=n[O],U=j&&j[P],$=Object.prototype,z=n.Array,H=n.RangeError,V=o(w),G=o([].reverse),q=y.pack,W=y.unpack,K=function(e){return[255&e]},X=function(e){return[255&e,e>>8&255]},Z=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Q=function(e){return q(g(e),23,4)},J=function(e){return q(e,52,8)},ee=function(e,t,r){u(e[P],t,{configurable:!0,get:function(){return r(this)[t]}})},te=function(e,t,r,n){var o=M(e),i=m(r),a=!!n;if(i+t>o.byteLength)throw new H(N);var s=o.bytes,c=i+o.byteOffset,u=_(s,c,c+t);return a?u:G(u)},re=function(e,t,r,n,o,i){var a=M(e),s=m(r),c=n(+o),u=!!i;if(s+t>a.byteLength)throw new H(N);for(var l=a.bytes,d=s+a.byteOffset,f=0;f>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){f(this,F);var t=m(e);B(this,{type:I,bytes:V(z(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},F=D[P],j=function(e,t,r){f(this,U),f(e,F);var n=R(e),o=n.byteLength,a=h(t);if(a<0||a>o)throw new H("Wrong offset");if(r=void 0===r?o-a:p(r),a+r>o)throw new H(k);B(this,{type:O,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},U=j[P],i&&(ee(D,"byteLength",R),ee(j,"buffer",M),ee(j,"byteLength",M),ee(j,"byteOffset",M)),l(U,{getInt8:function(e){return te(this,1,e)[0]<<24>>24},getUint8:function(e){return te(this,1,e)[0]},getInt16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=te(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Y(te(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Y(te(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return W(te(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return W(te(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){re(this,1,e,K,t)},setUint8:function(e,t){re(this,1,e,K,t)},setInt16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){re(this,2,e,X,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){re(this,4,e,Z,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){re(this,4,e,Z,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){re(this,4,e,Q,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){re(this,8,e,J,t,arguments.length>2&&arguments[2])}});S(D,I),S(j,O),e.exports={ArrayBuffer:D,DataView:j}},57029:(e,t,r)=>{"use strict";var n=r(48981),o=r(35610),i=r(26198),a=r(84606),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),c=i(r),u=o(e,c),l=o(t,c),d=arguments.length>2?arguments[2]:void 0,f=s((void 0===d?c:o(d,c))-l,c-u),h=1;l0)l in r?r[u]=r[l]:a(r,u),u+=h,l+=h;return r}},84373:(e,t,r)=>{"use strict";var n=r(48981),o=r(35610),i=r(26198);e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,u=void 0===c?r:o(c,r);while(u>s)t[s++]=e;return t}},90235:(e,t,r)=>{"use strict";var n=r(59213).forEach,o=r(34598),i=o("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},35370:(e,t,r)=>{"use strict";var n=r(26198);e.exports=function(e,t,r){var o=0,i=arguments.length>2?r:n(t),a=new e(i);while(i>o)a[o]=t[o++];return a}},97916:(e,t,r)=>{"use strict";var n=r(76080),o=r(69565),i=r(48981),a=r(96319),s=r(44209),c=r(33517),u=r(26198),l=r(97040),d=r(70081),f=r(50851),h=Array;e.exports=function(e){var t=i(e),r=c(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=n(m,p>2?arguments[2]:void 0));var y,v,b,w,_,E,A=f(t),S=0;if(!A||this===h&&s(A))for(y=u(t),v=r?new this(y):h(y);y>S;S++)E=g?m(t[S],S):t[S],l(v,S,E);else for(v=r?new this:[],w=d(t,A),_=w.next;!(b=o(_,w)).done;S++)E=g?a(w,m,[b.value,S],!0):b.value,l(v,S,E);return v.length=S,v}},19617:(e,t,r)=>{"use strict";var n=r(25397),o=r(35610),i=r(26198),a=function(e){return function(t,r,a){var s=n(t),c=i(s);if(0===c)return!e&&-1;var u,l=o(a,c);if(e&&r!==r){while(c>l)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},43839:(e,t,r)=>{"use strict";var n=r(76080),o=r(47055),i=r(48981),a=r(26198),s=function(e){var t=1===e;return function(r,s,c){var u,l,d=i(r),f=o(d),h=a(f),p=n(s,c);while(h-- >0)if(u=f[h],l=p(u,h,d),l)switch(e){case 0:return u;case 1:return h}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},59213:(e,t,r)=>{"use strict";var n=r(76080),o=r(79504),i=r(47055),a=r(48981),s=r(26198),c=r(1469),u=o([].push),l=function(e){var t=1===e,r=2===e,o=3===e,l=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,m,g,y){for(var v,b,w=a(p),_=i(w),E=s(_),A=n(m,g),S=0,T=y||c,x=t?T(p,E):r||f?T(p,0):void 0;E>S;S++)if((h||S in _)&&(v=_[S],b=A(v,S,w),e))if(t)x[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:u(x,v)}else switch(e){case 4:return!1;case 7:u(x,v)}return d?-1:o||l?l:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},8379:(e,t,r)=>{"use strict";var n=r(18745),o=r(25397),i=r(91291),a=r(26198),s=r(34598),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),f=l||!d;e.exports=f?function(e){if(l)return n(u,this,arguments)||0;var t=o(this),r=a(t);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},70597:(e,t,r)=>{"use strict";var n=r(79039),o=r(78227),i=r(77388),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34598:(e,t,r)=>{"use strict";var n=r(79039);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},80926:(e,t,r)=>{"use strict";var n=r(79306),o=r(48981),i=r(47055),a=r(26198),s=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,l){var d=o(t),f=i(d),h=a(d);if(n(r),0===h&&u<2)throw new s(c);var p=e?h-1:0,m=e?-1:1;if(u<2)while(1){if(p in f){l=f[p],p+=m;break}if(p+=m,e?p<0:h<=p)throw new s(c)}for(;e?p>=0:h>p;p+=m)p in f&&(l=r(l,f[p],p,d));return l}};e.exports={left:u(!1),right:u(!0)}},34527:(e,t,r)=>{"use strict";var n=r(43724),o=r(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680:(e,t,r)=>{"use strict";var n=r(79504);e.exports=n([].slice)},74488:(e,t,r)=>{"use strict";var n=r(67680),o=Math.floor,i=function(e,t){var r=e.length;if(r<8){var a,s,c=1;while(c0)e[s]=e[--s];s!==c++&&(e[s]=a)}}else{var u=o(r/2),l=i(n(e,0,u),t),d=i(n(e,u),t),f=l.length,h=d.length,p=0,m=0;while(p{"use strict";var n=r(34376),o=r(33517),i=r(20034),a=r(78227),s=a("species"),c=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,o(t)&&(t===c||n(t.prototype))?t=void 0:i(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?c:t}},1469:(e,t,r)=>{"use strict";var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},37628:(e,t,r)=>{"use strict";var n=r(26198);e.exports=function(e,t){for(var r=n(e),o=new t(r),i=0;i{"use strict";var n=r(26198),o=r(91291),i=RangeError;e.exports=function(e,t,r,a){var s=n(e),c=o(r),u=c<0?s+c:c;if(u>=s||u<0)throw new i("Incorrect index");for(var l=new t(s),d=0;d{"use strict";var n=r(28551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){o(e,"throw",a)}}},84428:(e,t,r)=>{"use strict";var n=r(78227),o=n("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(c){return!1}var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},44576:(e,t,r)=>{"use strict";var n=r(79504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},36955:(e,t,r)=>{"use strict";var n=r(92140),o=r(94901),i=r(44576),a=r(78227),s=a("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=c(e),s))?r:u?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},86938:(e,t,r)=>{"use strict";var n=r(2360),o=r(62106),i=r(56279),a=r(76080),s=r(90679),c=r(64117),u=r(72652),l=r(51088),d=r(62529),f=r(87633),h=r(43724),p=r(3451).fastKey,m=r(91181),g=m.set,y=m.getterFor;e.exports={getConstructor:function(e,t,r,l){var d=e((function(e,o){s(e,f),g(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),h||(e.size=0),c(o)||u(o,e[l],{that:e,AS_ENTRIES:r})})),f=d.prototype,m=y(t),v=function(e,t,r){var n,o,i=m(e),a=b(e,t);return a?a.value=r:(i.last=a={index:o=p(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),h?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var r,n=m(e),o=p(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(f,{clear:function(){var e=this,t=m(e),r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),r=r.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:e.size=0},delete:function(e){var t=this,r=m(t),n=b(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),h?r.size--:t.size--}return!!n},forEach:function(e){var t,r=m(this),n=a(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),i(f,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),h&&o(f,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,r){var n=t+" Iterator",o=y(t),i=y(n);l(e,t,(function(e,t){g(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?d("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,d(void 0,!0))}),r?"entries":"values",!r,!0),f(t)}}},91625:(e,t,r)=>{"use strict";var n=r(79504),o=r(56279),i=r(3451).getWeakData,a=r(90679),s=r(28551),c=r(64117),u=r(20034),l=r(72652),d=r(59213),f=r(39297),h=r(91181),p=h.set,m=h.getterFor,g=d.find,y=d.findIndex,v=n([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},E=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var r=E(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var d=e((function(e,o){a(e,h),p(e,{type:t,id:b++,frozen:void 0}),c(o)||l(o,e[n],{that:e,AS_ENTRIES:r})})),h=d.prototype,g=m(t),y=function(e,t,r){var n=g(e),o=i(s(t),!0);return!0===o?w(n).set(t,r):o[n.id]=r,e};return o(h,{delete:function(e){var t=g(this);if(!u(e))return!1;var r=i(e);return!0===r?w(t)["delete"](e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var r=i(e);return!0===r?w(t).has(e):r&&f(r,t.id)}}),o(h,r?{get:function(e){var t=g(this);if(u(e)){var r=i(e);return!0===r?w(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),d}}},16468:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(79504),a=r(92796),s=r(36840),c=r(3451),u=r(72652),l=r(90679),d=r(94901),f=r(64117),h=r(20034),p=r(79039),m=r(84428),g=r(10687),y=r(23167);e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=v?"set":"add",_=o[e],E=_&&_.prototype,A=_,S={},T=function(e){var t=i(E[e]);s(E,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},x=a(e,!d(_)||!(b||E.forEach&&!p((function(){(new _).entries().next()}))));if(x)A=r.getConstructor(t,e,v,w),c.enable();else if(a(e,!0)){var C=new A,I=C[w](b?{}:-0,1)!==C,O=p((function(){C.has(1)})),P=m((function(e){new _(e)})),k=!b&&p((function(){var e=new _,t=5;while(t--)e[w](t,t);return!e.has(-0)}));P||(A=t((function(e,t){l(e,E);var r=y(new _,e,A);return f(t)||u(t,r[w],{that:r,AS_ENTRIES:v}),r})),A.prototype=E,E.constructor=A),(O||k)&&(T("delete"),T("has"),v&&T("get")),(k||I)&&T(w),b&&E.clear&&delete E.clear}return S[e]=A,n({global:!0,constructor:!0,forced:A!==_},S),g(A,e),b||r.setStrong(A,e,v),A}},77740:(e,t,r)=>{"use strict";var n=r(39297),o=r(35031),i=r(77347),a=r(24913);e.exports=function(e,t,r){for(var s=o(t),c=a.f,u=i.f,l=0;l{"use strict";var n=r(78227),o=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(n){}}return!1}},12211:(e,t,r)=>{"use strict";var n=r(79039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},77240:(e,t,r)=>{"use strict";var n=r(79504),o=r(67750),i=r(655),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var c=i(o(e)),u="<"+t;return""!==r&&(u+=" "+r+'="'+s(i(n),a,""")+'"'),u+">"+c+""}},62529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699:(e,t,r)=>{"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040:(e,t,r)=>{"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},70380:(e,t,r)=>{"use strict";var n=r(79504),o=r(79039),i=r(60533).start,a=RangeError,s=isFinite,c=Math.abs,u=Date.prototype,l=u.toISOString,d=n(u.getTime),f=n(u.getUTCDate),h=n(u.getUTCFullYear),p=n(u.getUTCHours),m=n(u.getUTCMilliseconds),g=n(u.getUTCMinutes),y=n(u.getUTCMonth),v=n(u.getUTCSeconds);e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==l.call(new Date(-50000000000001))}))||!o((function(){l.call(new Date(NaN))}))?function(){if(!s(d(this)))throw new a("Invalid time value");var e=this,t=h(e),r=m(e),n=t<0?"-":t>9999?"+":"";return n+i(c(t),n?6:4,0)+"-"+i(y(e)+1,2,0)+"-"+i(f(e),2,0)+"T"+i(p(e),2,0)+":"+i(g(e),2,0)+":"+i(v(e),2,0)+"."+i(r,3,0)+"Z"}:l},53640:(e,t,r)=>{"use strict";var n=r(28551),o=r(84270),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},62106:(e,t,r)=>{"use strict";var n=r(50283),o=r(24913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},36840:(e,t,r)=>{"use strict";var n=r(94901),o=r(24913),i=r(50283),a=r(39433);e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&i(r,u,s),s.global)c?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},56279:(e,t,r)=>{"use strict";var n=r(36840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},39433:(e,t,r)=>{"use strict";var n=r(24475),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},84606:(e,t,r)=>{"use strict";var n=r(16823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},43724:(e,t,r)=>{"use strict";var n=r(79039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},94483:(e,t,r)=>{"use strict";var n,o,i,a,s=r(24475),c=r(69714),u=r(1548),l=s.structuredClone,d=s.ArrayBuffer,f=s.MessageChannel,h=!1;if(u)h=function(e){l(e,{transfer:[e]})};else if(d)try{f||(n=c("worker_threads"),n&&(f=n.MessageChannel)),f&&(o=new f,i=new d(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(p){}e.exports=h},4055:(e,t,r)=>{"use strict";var n=r(24475),o=r(20034),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},96837:e=>{"use strict";var t=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw t("Maximum allowed index exceeded");return e}},67400:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296:(e,t,r)=>{"use strict";var n=r(4055),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},28834:(e,t,r)=>{"use strict";var n=r(79392),o=n.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},87290:(e,t,r)=>{"use strict";var n=r(50516),o=r(19088);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},50516:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},63202:(e,t,r)=>{"use strict";var n=r(79392);e.exports=/MSIE|Trident/.test(n)},20028:(e,t,r)=>{"use strict";var n=r(79392);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},48119:(e,t,r)=>{"use strict";var n=r(79392);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},19088:(e,t,r)=>{"use strict";var n=r(24475),o=r(44576);e.exports="process"===o(n.process)},36765:(e,t,r)=>{"use strict";var n=r(79392);e.exports=/web0s(?!.*chrome)/i.test(n)},79392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},77388:(e,t,r)=>{"use strict";var n,o,i=r(24475),a=r(79392),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(n=l.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},89160:(e,t,r)=>{"use strict";var n=r(79392),o=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},88727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},16193:(e,t,r)=>{"use strict";var n=r(79504),o=Error,i=n("".replace),a=function(e){return String(new o(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=i(e,s,"");return e}},80747:(e,t,r)=>{"use strict";var n=r(66699),o=r(16193),i=r(24659),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},24659:(e,t,r)=>{"use strict";var n=r(79039),o=r(6980);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},77536:(e,t,r)=>{"use strict";var n=r(43724),o=r(79039),i=r(28551),a=r(32603),s=Error.prototype.toString,c=o((function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==s.call(e))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));e.exports=c?function(){var e=i(this),t=a(e.name,"Error"),r=a(e.message);return t?r?t+": "+r:t:r}:s},46518:(e,t,r)=>{"use strict";var n=r(24475),o=r(77347).f,i=r(66699),a=r(36840),s=r(39433),c=r(77740),u=r(92796);e.exports=function(e,t){var r,l,d,f,h,p,m=e.target,g=e.global,y=e.stat;if(l=g?n:y?n[m]||s(m,{}):n[m]&&n[m].prototype,l)for(d in t){if(h=t[d],e.dontCallGetSet?(p=o(l,d),f=p&&p.value):f=l[d],r=u(g?d:m+(y?".":"#")+d,e.forced),!r&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(l,d,h,e)}}},79039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},89228:(e,t,r)=>{"use strict";r(27495);var n=r(69565),o=r(36840),i=r(57323),a=r(79039),s=r(78227),c=r(66699),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,d){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[u]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!h||!p||r){var m=/./[f],g=t(f,""[e],(function(e,t,r,o,a){var s=t.exec;return s===i||s===l.exec?h&&!a?{done:!0,value:n(m,t,r,o)}:{done:!0,value:n(e,r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(l,f,g[1])}d&&c(l[f],"sham",!0)}},70259:(e,t,r)=>{"use strict";var n=r(34376),o=r(26198),i=r(96837),a=r(76080),s=function(e,t,r,c,u,l,d,f){var h,p,m=u,g=0,y=!!d&&a(d,f);while(g0&&n(h)?(p=o(h),m=s(e,t,h,p,m,l-1)-1):(i(m+1),e[m]=h),m++),g++;return m};e.exports=s},92744:(e,t,r)=>{"use strict";var n=r(79039);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},18745:(e,t,r)=>{"use strict";var n=r(40616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},76080:(e,t,r)=>{"use strict";var n=r(27476),o=r(79306),i=r(40616),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},40616:(e,t,r)=>{"use strict";var n=r(79039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},30566:(e,t,r)=>{"use strict";var n=r(79504),o=r(79306),i=r(20034),a=r(39297),s=r(67680),c=r(40616),u=Function,l=n([].concat),d=n([].join),f={},h=function(e,t,r){if(!a(f,t)){for(var n=[],o=0;o{"use strict";var n=r(40616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},10350:(e,t,r)=>{"use strict";var n=r(43724),o=r(39297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},46706:(e,t,r)=>{"use strict";var n=r(79504),o=r(79306);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(i){}}},27476:(e,t,r)=>{"use strict";var n=r(44576),o=r(79504);e.exports=function(e){if("Function"===n(e))return o(e)}},79504:(e,t,r)=>{"use strict";var n=r(40616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},44124:(e,t,r)=>{"use strict";var n=r(24475);e.exports=function(e,t){var r=n[e],o=r&&r.prototype;return o&&o[t]}},97751:(e,t,r)=>{"use strict";var n=r(24475),o=r(94901),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},50851:(e,t,r)=>{"use strict";var n=r(36955),o=r(55966),i=r(64117),a=r(26269),s=r(78227),c=s("iterator");e.exports=function(e){if(!i(e))return o(e,c)||o(e,"@@iterator")||a[n(e)]}},70081:(e,t,r)=>{"use strict";var n=r(69565),o=r(79306),i=r(28551),a=r(16823),s=r(50851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},66933:(e,t,r)=>{"use strict";var n=r(79504),o=r(34376),i=r(94901),a=r(44576),s=r(655),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n{"use strict";var n=r(79306),o=r(64117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},2478:(e,t,r)=>{"use strict";var n=r(79504),o=r(48981),i=Math.floor,a=n("".charAt),s=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,f){var h=r+e.length,p=n.length,m=l;return void 0!==d&&(d=o(d),m=u),s(f,m,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,h);case"<":u=d[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>p){var f=i(l/10);return 0===f?o:f<=p?void 0===n[f-1]?a(s,1):n[f-1]+a(s,1):o}u=n[l-1]}return void 0===u?"":u}))}},24475:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:(e,t,r)=>{"use strict";var n=r(79504),o=r(48981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},30421:e=>{"use strict";e.exports={}},90757:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(r){}}},20397:(e,t,r)=>{"use strict";var n=r(97751);e.exports=n("document","documentElement")},35917:(e,t,r)=>{"use strict";var n=r(43724),o=r(79039),i=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},88490:e=>{"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2,s=function(e,s,c){var u,l,d,f=t(c),h=8*c-s-1,p=(1<>1,g=23===s?n(2,-24)-n(2,-77):0,y=e<0||0===e&&1/e<0?1:0,v=0;e=r(e),e!==e||e===1/0?(l=e!==e?1:0,u=p):(u=o(i(e)/a),d=n(2,-u),e*d<1&&(u--,d*=2),e+=u+m>=1?g/d:g*n(2,1-m),e*d>=2&&(u++,d/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(e*d-1)*n(2,s),u+=m):(l=e*n(2,m-1)*n(2,s),u=0));while(s>=8)f[v++]=255&l,l/=256,s-=8;u=u<0)f[v++]=255&u,u/=256,h-=8;return f[--v]|=128*y,f},c=function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<>1,c=i-7,u=o-1,l=e[u--],d=127&l;l>>=7;while(c>0)d=256*d+e[u--],c-=8;r=d&(1<<-c)-1,d>>=-c,c+=t;while(c>0)r=256*r+e[u--],c-=8;if(0===d)d=1-s;else{if(d===a)return r?NaN:l?-1/0:1/0;r+=n(2,t),d-=s}return(l?-1:1)*r*n(2,d-t)};e.exports={pack:s,unpack:c}},47055:(e,t,r)=>{"use strict";var n=r(79504),o=r(79039),i=r(44576),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},23167:(e,t,r)=>{"use strict";var n=r(94901),o=r(20034),i=r(52967);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},33706:(e,t,r)=>{"use strict";var n=r(79504),o=r(94901),i=r(77629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},77584:(e,t,r)=>{"use strict";var n=r(20034),o=r(66699);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},3451:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(30421),a=r(20034),s=r(39297),c=r(24913).f,u=r(38480),l=r(10298),d=r(34124),f=r(33392),h=r(92744),p=!1,m=f("meta"),g=0,y=function(e){c(e,m,{value:{objectID:"O"+g++,weakData:{}}})},v=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,m)){if(!d(e))return"F";if(!t)return"E";y(e)}return e[m].objectID},b=function(e,t){if(!s(e,m)){if(!d(e))return!0;if(!t)return!1;y(e)}return e[m].weakData},w=function(e){return h&&p&&d(e)&&!s(e,m)&&y(e),e},_=function(){E.enable=function(){},p=!0;var e=u.f,t=o([].splice),r={};r[m]=1,e(r).length&&(u.f=function(r){for(var n=e(r),o=0,i=n.length;o{"use strict";var n,o,i,a=r(58622),s=r(24475),c=r(20034),u=r(66699),l=r(39297),d=r(77629),f=r(66119),h=r(30421),p="Object already initialized",m=s.TypeError,g=s.WeakMap,y=function(e){return i(e)?o(e):n(e,{})},v=function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}};if(a||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new m(p);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var w=f("state");h[w]=!0,n=function(e,t){if(l(e,w))throw new m(p);return t.facade=e,u(e,w,t),t},o=function(e){return l(e,w)?e[w]:{}},i=function(e){return l(e,w)}}e.exports={set:n,get:o,has:i,enforce:y,getterFor:v}},44209:(e,t,r)=>{"use strict";var n=r(78227),o=r(26269),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},34376:(e,t,r)=>{"use strict";var n=r(44576);e.exports=Array.isArray||function(e){return"Array"===n(e)}},18727:(e,t,r)=>{"use strict";var n=r(36955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},33517:(e,t,r)=>{"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(36955),s=r(97751),c=r(33706),u=function(){},l=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),h=!d.test(u),p=function(e){if(!i(e))return!1;try{return l(u,[],e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,c(e))}catch(t){return!0}};m.sham=!0,e.exports=!l||o((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?m:p},16575:(e,t,r)=>{"use strict";var n=r(39297);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},92796:(e,t,r)=>{"use strict";var n=r(79039),o=r(94901),i=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r===l||r!==u&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},2087:(e,t,r)=>{"use strict";var n=r(20034),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},64117:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},20034:(e,t,r)=>{"use strict";var n=r(94901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13925:(e,t,r)=>{"use strict";var n=r(20034);e.exports=function(e){return n(e)||null===e}},96395:e=>{"use strict";e.exports=!1},60788:(e,t,r)=>{"use strict";var n=r(20034),o=r(44576),i=r(78227),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===o(e))}},10757:(e,t,r)=>{"use strict";var n=r(97751),o=r(94901),i=r(1625),a=r(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},72652:(e,t,r)=>{"use strict";var n=r(76080),o=r(69565),i=r(28551),a=r(16823),s=r(44209),c=r(26198),u=r(1625),l=r(70081),d=r(50851),f=r(9539),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,r){var g,y,v,b,w,_,E,A=r&&r.that,S=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),x=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),I=n(t,A),O=function(e){return g&&f(g,"normal",e),new p(!0,e)},P=function(e){return S?(i(e),C?I(e[0],e[1],O):I(e[0],e[1])):C?I(e,O):I(e)};if(T)g=e.iterator;else if(x)g=e;else{if(y=d(e),!y)throw new h(a(e)+" is not iterable");if(s(y)){for(v=0,b=c(e);b>v;v++)if(w=P(e[v]),w&&u(m,w))return w;return new p(!1)}g=l(e,y)}_=T?e.next:g.next;while(!(E=o(_,g)).done){try{w=P(E.value)}catch(k){f(g,"throw",k)}if("object"==typeof w&&w&&u(m,w))return w}return new p(!1)}},9539:(e,t,r)=>{"use strict";var n=r(69565),o=r(28551),i=r(55966);e.exports=function(e,t,r){var a,s;o(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw r;if(s)throw a;return o(a),r}},33994:(e,t,r)=>{"use strict";var n=r(57657).IteratorPrototype,o=r(2360),i=r(6980),a=r(10687),s=r(26269),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!u,r)}),a(e,l,!1,!0),s[l]=c,e}},51088:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(96395),a=r(10350),s=r(94901),c=r(33994),u=r(42787),l=r(52967),d=r(10687),f=r(66699),h=r(36840),p=r(78227),m=r(26269),g=r(57657),y=a.PROPER,v=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,_=p("iterator"),E="keys",A="values",S="entries",T=function(){return this};e.exports=function(e,t,r,a,p,g,x){c(r,t,a);var C,I,O,P=function(e){if(e===p&&B)return B;if(!w&&e&&e in R)return R[e];switch(e){case E:return function(){return new r(this,e)};case A:return function(){return new r(this,e)};case S:return function(){return new r(this,e)}}return function(){return new r(this)}},k=t+" Iterator",N=!1,R=e.prototype,M=R[_]||R["@@iterator"]||p&&R[p],B=!w&&M||P(p),L="Array"===t&&R.entries||M;if(L&&(C=u(L.call(new e)),C!==Object.prototype&&C.next&&(i||u(C)===b||(l?l(C,b):s(C[_])||h(C,_,T)),d(C,k,!0,!0),i&&(m[k]=T))),y&&p===A&&M&&M.name!==A&&(!i&&v?f(R,"name",A):(N=!0,B=function(){return o(M,this)})),p)if(I={values:P(A),keys:g?B:P(E),entries:P(S)},x)for(O in I)(w||N||!(O in R))&&h(R,O,I[O]);else n({target:t,proto:!0,forced:w||N},I);return i&&!x||R[_]===B||h(R,_,B,{name:p}),m[t]=B,I}},57657:(e,t,r)=>{"use strict";var n,o,i,a=r(79039),s=r(94901),c=r(20034),u=r(2360),l=r(42787),d=r(36840),f=r(78227),h=r(96395),p=f("iterator"),m=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(n=o)):m=!0);var g=!c(n)||a((function(){var e={};return n[p].call(e)!==e}));g?n={}:h&&(n=u(n)),s(n[p])||d(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},26269:e=>{"use strict";e.exports={}},26198:(e,t,r)=>{"use strict";var n=r(18014);e.exports=function(e){return n(e.length)}},50283:(e,t,r)=>{"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(39297),s=r(43724),c=r(10350).CONFIGURABLE,u=r(33706),l=r(91181),d=l.enforce,f=l.get,h=String,p=Object.defineProperty,m=n("".slice),g=n("".replace),y=n([].join),v=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=d(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||u(this)}),"toString")},33164:(e,t,r)=>{"use strict";var n=r(77782),o=Math.abs,i=2220446049250313e-31,a=1/i,s=function(e){return e+a-a};e.exports=function(e,t,r,a){var c=+e,u=o(c),l=n(c);if(ur||f!==f?l*(1/0):l*f}},15617:(e,t,r)=>{"use strict";var n=r(33164),o=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;e.exports=Math.fround||function(e){return n(e,o,i,a)}},77782:e=>{"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!==t?t:t<0?-1:1}},80741:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},91955:(e,t,r)=>{"use strict";var n,o,i,a,s,c=r(24475),u=r(93389),l=r(76080),d=r(59225).set,f=r(18265),h=r(48119),p=r(20028),m=r(36765),g=r(19088),y=c.MutationObserver||c.WebKitMutationObserver,v=c.document,b=c.process,w=c.Promise,_=u("queueMicrotask");if(!_){var E=new f,A=function(){var e,t;g&&(e=b.domain)&&e.exit();while(t=E.get())try{t()}catch(r){throw E.head&&n(),r}e&&e.enter()};h||g||m||!y||!v?!p&&w&&w.resolve?(a=w.resolve(void 0),a.constructor=w,s=l(a.then,a),n=function(){s(A)}):g?n=function(){b.nextTick(A)}:(d=l(d,c),n=function(){d(A)}):(o=!0,i=v.createTextNode(""),new y(A).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),_=function(e){E.head||n(),E.add(e)}}e.exports=_},36043:(e,t,r)=>{"use strict";var n=r(79306),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},32603:(e,t,r)=>{"use strict";var n=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},60511:(e,t,r)=>{"use strict";var n=r(60788),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},33904:(e,t,r)=>{"use strict";var n=r(24475),o=r(79039),i=r(79504),a=r(655),s=r(43802).trim,c=r(47452),u=i("".charAt),l=n.parseFloat,d=n.Symbol,f=d&&d.iterator,h=1/l(c+"-0")!==-1/0||f&&!o((function(){l(Object(f))}));e.exports=h?function(e){var t=s(a(e)),r=l(t);return 0===r&&"-"===u(t,0)?-0:r}:l},52703:(e,t,r)=>{"use strict";var n=r(24475),o=r(79039),i=r(79504),a=r(655),s=r(43802).trim,c=r(47452),u=n.parseInt,l=n.Symbol,d=l&&l.iterator,f=/^[+-]?0x/i,h=i(f.exec),p=8!==u(c+"08")||22!==u(c+"0x16")||d&&!o((function(){u(Object(d))}));e.exports=p?function(e,t){var r=s(a(e));return u(r,t>>>0||(h(f,r)?16:10))}:u},44213:(e,t,r)=>{"use strict";var n=r(43724),o=r(79504),i=r(69565),a=r(79039),s=r(71072),c=r(33717),u=r(48773),l=r(48981),d=r(47055),f=Object.assign,h=Object.defineProperty,p=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||s(f({},t)).join("")!==o}))?function(e,t){var r=l(e),o=arguments.length,a=1,f=c.f,h=u.f;while(o>a){var m,g=d(arguments[a++]),y=f?p(s(g),f(g)):s(g),v=y.length,b=0;while(v>b)m=y[b++],n&&!i(h,g,m)||(r[m]=g[m])}return r}:f},2360:(e,t,r)=>{"use strict";var n,o=r(28551),i=r(96801),a=r(88727),s=r(30421),c=r(20397),u=r(4055),l=r(66119),d=">",f="<",h="prototype",p="script",m=l("IE_PROTO"),g=function(){},y=function(e){return f+p+d+e+f+"/"+p+d},v=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),r="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&n?v(n):b():v(n);var e=a.length;while(e--)delete w[h][a[e]];return w()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[h]=o(e),r=new g,g[h]=null,r[m]=e):r=w(),void 0===t?r:i.f(r,t)}},96801:(e,t,r)=>{"use strict";var n=r(43724),o=r(48686),i=r(24913),a=r(28551),s=r(25397),c=r(71072);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=s(t),o=c(t),u=o.length,l=0;while(u>l)i.f(e,r=o[l++],n[r]);return e}},24913:(e,t,r)=>{"use strict";var n=r(43724),o=r(35917),i=r(48686),a=r(28551),s=r(56969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"===typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},77347:(e,t,r)=>{"use strict";var n=r(43724),o=r(69565),i=r(48773),a=r(6980),s=r(25397),c=r(56969),u=r(39297),l=r(35917),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(r){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},10298:(e,t,r)=>{"use strict";var n=r(44576),o=r(25397),i=r(38480).f,a=r(67680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return i(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"===n(e)?c(e):i(o(e))}},38480:(e,t,r)=>{"use strict";var n=r(61828),o=r(88727),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},33717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},42787:(e,t,r)=>{"use strict";var n=r(39297),o=r(94901),i=r(48981),a=r(66119),s=r(12211),c=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},34124:(e,t,r)=>{"use strict";var n=r(79039),o=r(20034),i=r(44576),a=r(15652),s=Object.isExtensible,c=n((function(){s(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!s||s(e)))}:s},1625:(e,t,r)=>{"use strict";var n=r(79504);e.exports=n({}.isPrototypeOf)},61828:(e,t,r)=>{"use strict";var n=r(79504),o=r(39297),i=r(25397),a=r(19617).indexOf,s=r(30421),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);while(t.length>u)o(n,r=t[u++])&&(~a(l,r)||c(l,r));return l}},71072:(e,t,r)=>{"use strict";var n=r(61828),o=r(88727);e.exports=Object.keys||function(e){return n(e,o)}},48773:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},52967:(e,t,r)=>{"use strict";var n=r(46706),o=r(20034),i=r(67750),a=r(73506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(s){}return function(r,n){return i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},32357:(e,t,r)=>{"use strict";var n=r(43724),o=r(79039),i=r(79504),a=r(42787),s=r(71072),c=r(25397),u=r(48773).f,l=i(u),d=i([].push),f=n&&o((function(){var e=Object.create(null);return e[2]=2,!l(e,2)})),h=function(e){return function(t){var r,o=c(t),i=s(o),u=f&&null===a(o),h=i.length,p=0,m=[];while(h>p)r=i[p++],n&&!(u?r in o:l(o,r))||d(m,e?[r,o[r]]:o[r]);return m}};e.exports={entries:h(!0),values:h(!1)}},53179:(e,t,r)=>{"use strict";var n=r(92140),o=r(36955);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},84270:(e,t,r)=>{"use strict";var n=r(69565),o=r(94901),i=r(20034),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},35031:(e,t,r)=>{"use strict";var n=r(97751),o=r(79504),i=r(38480),a=r(33717),s=r(28551),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?c(t,r(e)):t}},19167:(e,t,r)=>{"use strict";var n=r(24475);e.exports=n},1103:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},10916:(e,t,r)=>{"use strict";var n=r(24475),o=r(80550),i=r(94901),a=r(92796),s=r(33706),c=r(78227),u=r(87290),l=r(50516),d=r(96395),f=r(77388),h=o&&o.prototype,p=c("species"),m=!1,g=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(d&&(!h["catch"]||!h["finally"]))return!0;if(!f||f<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};if(i[p]=n,m=r.then((function(){}))instanceof n,!m)return!0}return!t&&(u||l)&&!g}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:g,SUBCLASSING:m}},80550:(e,t,r)=>{"use strict";var n=r(24475);e.exports=n.Promise},93438:(e,t,r)=>{"use strict";var n=r(28551),o=r(20034),i=r(36043);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},90537:(e,t,r)=>{"use strict";var n=r(80550),o=r(84428),i=r(10916).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},11056:(e,t,r)=>{"use strict";var n=r(24913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},18265:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=t},56682:(e,t,r)=>{"use strict";var n=r(69565),o=r(28551),i=r(94901),a=r(44576),s=r(57323),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var u=n(r,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return n(s,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323:(e,t,r)=>{"use strict";var n=r(69565),o=r(79504),i=r(655),a=r(67979),s=r(58429),c=r(25745),u=r(2360),l=r(91181).get,d=r(83635),f=r(18814),h=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,g=o("".charAt),y=o("".indexOf),v=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return n(p,e,"a"),n(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),_=s.BROKEN_CARET,E=void 0!==/()??/.exec("")[1],A=w||E||_||d||f;A&&(m=function(e){var t,r,o,s,c,d,f,A=this,S=l(A),T=i(e),x=S.raw;if(x)return x.lastIndex=A.lastIndex,t=n(m,x,T),A.lastIndex=x.lastIndex,t;var C=S.groups,I=_&&A.sticky,O=n(a,A),P=A.source,k=0,N=T;if(I&&(O=v(O,"y",""),-1===y(O,"g")&&(O+="g"),N=b(T,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&"\n"!==g(T,A.lastIndex-1))&&(P="(?: "+P+")",N=" "+N,k++),r=new RegExp("^(?:"+P+")",O)),E&&(r=new RegExp("^"+P+"$(?!\\s)",O)),w&&(o=A.lastIndex),s=n(p,I?r:A,N),I?s?(s.input=b(s.input,k),s[0]=b(s[0],k),s.index=A.lastIndex,A.lastIndex+=s[0].length):A.lastIndex=0:w&&s&&(A.lastIndex=A.global?s.index+s[0].length:o),E&&s&&s.length>1&&n(h,s[0],r,(function(){for(c=1;c{"use strict";var n=r(28551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},61034:(e,t,r)=>{"use strict";var n=r(69565),o=r(39297),i=r(1625),a=r(67979),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},58429:(e,t,r)=>{"use strict";var n=r(79039),o=r(24475),i=o.RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=a||n((function(){return!i("a","y").sticky})),c=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:a}},83635:(e,t,r)=>{"use strict";var n=r(79039),o=r(24475),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},18814:(e,t,r)=>{"use strict";var n=r(79039),o=r(24475),i=o.RegExp;e.exports=n((function(){var e=i("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},67750:(e,t,r)=>{"use strict";var n=r(64117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},93389:(e,t,r)=>{"use strict";var n=r(24475),o=r(43724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return n[e];var t=i(n,e);return t&&t.value}},79472:(e,t,r)=>{"use strict";var n=r(24475),o=r(18745),i=r(94901),a=r(6763),s=r(79392),c=r(67680),u=r(22812),l=n.Function,d=/MSIE .\./.test(s)||a&&function(){var e=n.Bun.version.split(".");return e.length<3||"0"===e[0]&&(e[1]<3||"3"===e[1]&&"0"===e[2])}();e.exports=function(e,t){var r=t?2:1;return d?function(n,a){var s=u(arguments.length,1)>r,d=i(n)?n:l(n),f=s?c(arguments,r):[],h=s?function(){o(d,this,f)}:d;return t?e(h,a):e(h)}:e}},87633:(e,t,r)=>{"use strict";var n=r(97751),o=r(62106),i=r(78227),a=r(43724),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},10687:(e,t,r)=>{"use strict";var n=r(24913).f,o=r(39297),i=r(78227),a=i("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},66119:(e,t,r)=>{"use strict";var n=r(25745),o=r(33392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},77629:(e,t,r)=>{"use strict";var n=r(96395),o=r(24475),i=r(39433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:(e,t,r)=>{"use strict";var n=r(77629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},2293:(e,t,r)=>{"use strict";var n=r(28551),o=r(35548),i=r(64117),a=r(78227),s=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||i(r=n(a)[s])?t:o(r)}},23061:(e,t,r)=>{"use strict";var n=r(79039);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},68183:(e,t,r)=>{"use strict";var n=r(79504),o=r(91291),i=r(655),a=r(67750),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,d=i(a(t)),f=o(r),h=d.length;return f<0||f>=h?e?"":void 0:(n=c(d,f),n<55296||n>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?e?s(d,f):n:e?u(d,f,f+2):l-56320+(n-55296<<10)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}},60533:(e,t,r)=>{"use strict";var n=r(79504),o=r(18014),i=r(655),a=r(72333),s=r(67750),c=n(a),u=n("".slice),l=Math.ceil,d=function(e){return function(t,r,n){var a,d,f=i(s(t)),h=o(r),p=f.length,m=void 0===n?" ":i(n);return h<=p||""===m?f:(a=h-p,d=c(m,l(a/m.length)),d.length>a&&(d=u(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},3717:(e,t,r)=>{"use strict";var n=r(79504),o=2147483647,i=36,a=1,s=26,c=38,u=700,l=72,d=128,f="-",h=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m="Overflow: input needs wider integers to process",g=i-a,y=RangeError,v=n(p.exec),b=Math.floor,w=String.fromCharCode,_=n("".charCodeAt),E=n([].join),A=n([].push),S=n("".replace),T=n("".split),x=n("".toLowerCase),C=function(e){var t=[],r=0,n=e.length;while(r=55296&&o<=56319&&r>1,e+=b(e/t);while(e>g*s>>1)e=b(e/g),n+=i;return b(n+(g+1)*e/(e+c))},P=function(e){var t=[];e=C(e);var r,n,c=e.length,u=d,h=0,p=l;for(r=0;r=u&&n<_&&(_=n);var S=v+1;if(_-u>b((o-h)/S))throw new y(m);for(h+=(_-u)*S,u=_,r=0;ro)throw new y(m);if(n===u){var T=h,x=i;while(1){var P=x<=p?a:x>=p+s?s:x-p;if(T{"use strict";var n=r(91291),o=r(655),i=r(67750),a=RangeError;e.exports=function(e){var t=o(i(this)),r="",s=n(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},60706:(e,t,r)=>{"use strict";var n=r(10350).PROPER,o=r(79039),i=r(47452),a="​…᠎";e.exports=function(e){return o((function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e}))}},43802:(e,t,r)=>{"use strict";var n=r(79504),o=r(67750),i=r(655),a=r(47452),s=n("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,u,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},1548:(e,t,r)=>{"use strict";var n=r(24475),o=r(79039),i=r(77388),a=r(87290),s=r(50516),c=r(19088),u=n.structuredClone;e.exports=!!u&&!o((function(){if(s&&i>92||c&&i>94||a&&i>97)return!1;var e=new ArrayBuffer(8),t=u(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4495:(e,t,r)=>{"use strict";var n=r(77388),o=r(79039),i=r(24475),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},58242:(e,t,r)=>{"use strict";var n=r(69565),o=r(97751),i=r(78227),a=r(36840);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},12586:(e,t,r)=>{"use strict";var n=r(97751),o=r(79504),i=n("Symbol"),a=i.keyFor,s=o(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==a(s(e))}catch(t){return!1}}},52104:(e,t,r)=>{"use strict";for(var n=r(25745),o=r(97751),i=r(79504),a=r(10757),s=r(78227),c=o("Symbol"),u=c.isWellKnownSymbol,l=o("Object","getOwnPropertyNames"),d=i(c.prototype.valueOf),f=n("wks"),h=0,p=l(c),m=p.length;h{"use strict";var n=r(4495);e.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},59225:(e,t,r)=>{"use strict";var n,o,i,a,s=r(24475),c=r(18745),u=r(76080),l=r(94901),d=r(39297),f=r(79039),h=r(20397),p=r(67680),m=r(4055),g=r(22812),y=r(48119),v=r(19088),b=s.setImmediate,w=s.clearImmediate,_=s.process,E=s.Dispatch,A=s.Function,S=s.MessageChannel,T=s.String,x=0,C={},I="onreadystatechange";f((function(){n=s.location}));var O=function(e){if(d(C,e)){var t=C[e];delete C[e],t()}},P=function(e){return function(){O(e)}},k=function(e){O(e.data)},N=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){g(arguments.length,1);var t=l(e)?e:A(e),r=p(arguments,1);return C[++x]=function(){c(t,void 0,r)},o(x),x},w=function(e){delete C[e]},v?o=function(e){_.nextTick(P(e))}:E&&E.now?o=function(e){E.now(P(e))}:S&&!y?(i=new S,a=i.port2,i.port1.onmessage=k,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(N)?(o=N,s.addEventListener("message",k,!1)):o=I in m("script")?function(e){h.appendChild(m("script"))[I]=function(){h.removeChild(this),O(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:w}},31240:(e,t,r)=>{"use strict";var n=r(79504);e.exports=n(1..valueOf)},35610:(e,t,r)=>{"use strict";var n=r(91291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},75854:(e,t,r)=>{"use strict";var n=r(72777),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57696:(e,t,r)=>{"use strict";var n=r(91291),o=r(18014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},25397:(e,t,r)=>{"use strict";var n=r(47055),o=r(67750);e.exports=function(e){return n(o(e))}},91291:(e,t,r)=>{"use strict";var n=r(80741);e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},18014:(e,t,r)=>{"use strict";var n=r(91291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},48981:(e,t,r)=>{"use strict";var n=r(67750),o=Object;e.exports=function(e){return o(n(e))}},58229:(e,t,r)=>{"use strict";var n=r(99590),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},99590:(e,t,r)=>{"use strict";var n=r(91291),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},72777:(e,t,r)=>{"use strict";var n=r(69565),o=r(20034),i=r(10757),a=r(55966),s=r(84270),c=r(78227),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},56969:(e,t,r)=>{"use strict";var n=r(72777),o=r(10757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},92140:(e,t,r)=>{"use strict";var n=r(78227),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},655:(e,t,r)=>{"use strict";var n=r(36955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},58319:e=>{"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},69714:(e,t,r)=>{"use strict";var n=r(19088);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(t){}}},16823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},15823:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(69565),a=r(43724),s=r(72805),c=r(94644),u=r(66346),l=r(90679),d=r(6980),f=r(66699),h=r(2087),p=r(18014),m=r(57696),g=r(58229),y=r(58319),v=r(56969),b=r(39297),w=r(36955),_=r(20034),E=r(10757),A=r(2360),S=r(1625),T=r(52967),x=r(38480).f,C=r(43251),I=r(59213).forEach,O=r(87633),P=r(62106),k=r(24913),N=r(77347),R=r(35370),M=r(91181),B=r(23167),L=M.get,D=M.set,F=M.enforce,j=k.f,U=N.f,$=o.RangeError,z=u.ArrayBuffer,H=z.prototype,V=u.DataView,G=c.NATIVE_ARRAY_BUFFER_VIEWS,q=c.TYPED_ARRAY_TAG,W=c.TypedArray,K=c.TypedArrayPrototype,X=c.isTypedArray,Z="BYTES_PER_ELEMENT",Y="Wrong length",Q=function(e,t){P(e,t,{configurable:!0,get:function(){return L(this)[t]}})},J=function(e){var t;return S(H,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return X(e)&&!E(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=v(t),ee(e,t)?d(2,e[t]):U(e,t)},re=function(e,t,r){return t=v(t),!(ee(e,t)&&_(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?j(e,t,r):(e[t]=r.value,e)};a?(G||(N.f=te,k.f=re,Q(K,"buffer"),Q(K,"byteOffset"),Q(K,"byteLength"),Q(K,"length")),n({target:"Object",stat:!0,forced:!G},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",u="get"+e,d="set"+e,h=o[c],v=h,b=v&&v.prototype,w={},E=function(e,t){var r=L(e);return r.view[u](t*a+r.byteOffset,!0)},S=function(e,t,n){var o=L(e);o.view[d](t*a+o.byteOffset,r?y(n):n,!0)},P=function(e,t){j(e,t,{get:function(){return E(this,t)},set:function(e){return S(this,t,e)},enumerable:!0})};G?s&&(v=t((function(e,t,r,n){return l(e,b),B(function(){return _(t)?J(t)?void 0!==n?new h(t,g(r,a),n):void 0!==r?new h(t,g(r,a)):new h(t):X(t)?R(v,t):i(C,v,t):new h(m(t))}(),e,v)})),T&&T(v,W),I(x(h),(function(e){e in v||f(v,e,h[e])})),v.prototype=b):(v=t((function(e,t,r,n){l(e,b);var o,s,c,u=0,d=0;if(_(t)){if(!J(t))return X(t)?R(v,t):i(C,v,t);o=t,d=g(r,a);var f=t.byteLength;if(void 0===n){if(f%a)throw new $(Y);if(s=f-d,s<0)throw new $(Y)}else if(s=p(n)*a,s+d>f)throw new $(Y);c=s/a}else c=m(t),s=c*a,o=new z(s);D(e,{buffer:o,byteOffset:d,byteLength:s,length:c,view:new V(o)});while(u{"use strict";var n=r(24475),o=r(79039),i=r(84428),a=r(94644).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},26357:(e,t,r)=>{"use strict";var n=r(35370),o=r(61412);e.exports=function(e,t){return n(o(e),t)}},43251:(e,t,r)=>{"use strict";var n=r(76080),o=r(69565),i=r(35548),a=r(48981),s=r(26198),c=r(70081),u=r(50851),l=r(44209),d=r(18727),f=r(94644).aTypedArrayConstructor,h=r(75854);e.exports=function(e){var t,r,p,m,g,y,v,b,w=i(this),_=a(e),E=arguments.length,A=E>1?arguments[1]:void 0,S=void 0!==A,T=u(_);if(T&&!l(T)){v=c(_,T),b=v.next,_=[];while(!(y=o(b,v)).done)_.push(y.value)}for(S&&E>2&&(A=n(A,arguments[2])),r=s(_),p=new(f(w))(r),m=d(p),t=0;r>t;t++)g=S?A(_[t],t):_[t],p[t]=m?h(g):+g;return p}},61412:(e,t,r)=>{"use strict";var n=r(94644),o=r(2293),i=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},33392:(e,t,r)=>{"use strict";var n=r(79504),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},67416:(e,t,r)=>{"use strict";var n=r(79039),o=r(78227),i=r(43724),a=r(96395),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),r["delete"]("a",2),r["delete"]("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},7040:(e,t,r)=>{"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:(e,t,r)=>{"use strict";var n=r(43724),o=r(79039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e{"use strict";var n=r(24475),o=r(94901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},70511:(e,t,r)=>{"use strict";var n=r(19167),o=r(39297),i=r(1951),a=r(24913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},1951:(e,t,r)=>{"use strict";var n=r(78227);t.f=n},78227:(e,t,r)=>{"use strict";var n=r(24475),o=r(25745),i=r(39297),a=r(33392),s=r(4495),c=r(7040),u=n.Symbol,l=o("wks"),d=c?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:d("Symbol."+e)),l[e]}},47452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},14601:(e,t,r)=>{"use strict";var n=r(97751),o=r(39297),i=r(66699),a=r(1625),s=r(52967),c=r(77740),u=r(11056),l=r(23167),d=r(32603),f=r(77584),h=r(80747),p=r(43724),m=r(96395);e.exports=function(e,t,r,g){var y="stackTraceLimit",v=g?2:1,b=e.split("."),w=b[b.length-1],_=n.apply(null,b);if(_){var E=_.prototype;if(!m&&o(E,"cause")&&delete E.cause,!r)return _;var A=n("Error"),S=t((function(e,t){var r=d(g?t:e,void 0),n=g?new _(e):new _;return void 0!==r&&i(n,"message",r),h(n,S,n.stack,2),this&&a(E,this)&&l(n,this,S),arguments.length>v&&f(n,arguments[v]),n}));if(S.prototype=E,"Error"!==w?s?s(S,A):c(S,A,{name:!0}):p&&y in _&&(u(S,_,y),u(S,_,"prepareStackTrace")),c(S,_),!m)try{E.name!==w&&i(E,"name",w),E.constructor=S}catch(T){}return S}}},17145:(e,t,r)=>{"use strict";var n=r(46518),o=r(1625),i=r(42787),a=r(52967),s=r(77740),c=r(2360),u=r(66699),l=r(6980),d=r(77584),f=r(80747),h=r(72652),p=r(32603),m=r(78227),g=m("toStringTag"),y=Error,v=[].push,b=function(e,t){var r,n=o(w,this);a?r=a(new y,n?i(this):w):(r=n?this:c(w),u(r,g,"Error")),void 0!==t&&u(r,"message",p(t)),f(r,b,r.stack,1),arguments.length>2&&d(r,arguments[2]);var s=[];return h(e,v,{that:s}),u(r,"errors",s),r};a?a(b,y):s(b,y,{name:!0});var w=b.prototype=c(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},30067:(e,t,r)=>{"use strict";r(17145)},16573:(e,t,r)=>{"use strict";var n=r(43724),o=r(62106),i=r(3238),a=ArrayBuffer.prototype;n&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},11745:(e,t,r)=>{"use strict";var n=r(46518),o=r(27476),i=r(79039),a=r(66346),s=r(28551),c=r(35610),u=r(18014),l=r(2293),d=a.ArrayBuffer,f=a.DataView,h=f.prototype,p=o(d.prototype.slice),m=o(h.getUint8),g=o(h.setUint8),y=i((function(){return!new d(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(e,t){if(p&&void 0===t)return p(s(this),e);var r=s(this).byteLength,n=c(e,r),o=c(void 0===t?r:t,r),i=new(l(this,d))(u(o-n)),a=new f(this),h=new f(i),y=0;while(n{"use strict";var n=r(46518),o=r(95636);o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},78100:(e,t,r)=>{"use strict";var n=r(46518),o=r(95636);o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},18107:(e,t,r)=>{"use strict";var n=r(46518),o=r(48981),i=r(26198),a=r(91291),s=r(6469);n({target:"Array",proto:!0},{at:function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},28706:(e,t,r)=>{"use strict";var n=r(46518),o=r(79039),i=r(34376),a=r(20034),s=r(48981),c=r(26198),u=r(96837),l=r(97040),d=r(1469),f=r(70597),h=r(78227),p=r(77388),m=h("isConcatSpreadable"),g=p>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)},v=!g||!f("concat");n({target:"Array",proto:!0,arity:1,forced:v},{concat:function(e){var t,r,n,o,i,a=s(this),f=d(a,0),h=0;for(t=-1,n=arguments.length;t{"use strict";var n=r(46518),o=r(59213).every,i=r(34598),a=i("every");n({target:"Array",proto:!0,forced:!a},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,t,r)=>{"use strict";var n=r(46518),o=r(59213).filter,i=r(70597),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},48980:(e,t,r)=>{"use strict";var n=r(46518),o=r(59213).findIndex,i=r(6469),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},50113:(e,t,r)=>{"use strict";var n=r(46518),o=r(59213).find,i=r(6469),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},46449:(e,t,r)=>{"use strict";var n=r(46518),o=r(70259),i=r(48981),a=r(26198),s=r(91291),c=r(1469);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),n=c(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:s(e)),n}})},51629:(e,t,r)=>{"use strict";var n=r(46518),o=r(90235);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},23418:(e,t,r)=>{"use strict";var n=r(46518),o=r(97916),i=r(84428),a=!i((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:o})},74423:(e,t,r)=>{"use strict";var n=r(46518),o=r(19617).includes,i=r(79039),a=r(6469),s=i((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},25276:(e,t,r)=>{"use strict";var n=r(46518),o=r(27476),i=r(19617).indexOf,a=r(34598),s=o([].indexOf),c=!!s&&1/s([1],1,-0)<0,u=c||!a("indexOf");n({target:"Array",proto:!0,forced:u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?s(this,e,t)||0:i(this,e,t)}})},64346:(e,t,r)=>{"use strict";var n=r(46518),o=r(34376);n({target:"Array",stat:!0},{isArray:o})},23792:(e,t,r)=>{"use strict";var n=r(25397),o=r(6469),i=r(26269),a=r(91181),s=r(24913).f,c=r(51088),u=r(62529),l=r(96395),d=r(43724),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=c(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(g){}},48598:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(47055),a=r(25397),s=r(34598),c=o([].join),u=i!==Object,l=u||!s("join",",");n({target:"Array",proto:!0,forced:l},{join:function(e){return c(a(this),void 0===e?",":e)}})},8921:(e,t,r)=>{"use strict";var n=r(46518),o=r(8379);n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},62062:(e,t,r)=>{"use strict";var n=r(46518),o=r(59213).map,i=r(70597),a=i("map");n({target:"Array",proto:!0,forced:!a},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},44114:(e,t,r)=>{"use strict";var n=r(46518),o=r(48981),i=r(26198),a=r(34527),s=r(96837),c=r(79039),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!l();n({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var c=0;c{"use strict";var n=r(46518),o=r(80926).left,i=r(34598),a=r(77388),s=r(19088),c=!s&&a>79&&a<83,u=c||!i("reduce");n({target:"Array",proto:!0,forced:u},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},94490:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(34376),a=o([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},34782:(e,t,r)=>{"use strict";var n=r(46518),o=r(34376),i=r(33517),a=r(20034),s=r(35610),c=r(26198),u=r(25397),l=r(97040),d=r(78227),f=r(70597),h=r(67680),p=f("slice"),m=d("species"),g=Array,y=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,d,f=u(this),p=c(f),v=s(e,p),b=s(void 0===t?p:t,p);if(o(f)&&(r=f.constructor,i(r)&&(r===g||o(r.prototype))?r=void 0:a(r)&&(r=r[m],null===r&&(r=void 0)),r===g||void 0===r))return h(f,v,b);for(n=new(void 0===r?g:r)(y(b-v,0)),d=0;v{"use strict";var n=r(46518),o=r(59213).some,i=r(34598),a=i("some");n({target:"Array",proto:!0,forced:!a},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},26910:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(79306),a=r(48981),s=r(26198),c=r(84606),u=r(655),l=r(79039),d=r(74488),f=r(34598),h=r(28834),p=r(63202),m=r(77388),g=r(89160),y=[],v=o(y.sort),b=o(y.push),w=l((function(){y.sort(void 0)})),_=l((function(){y.sort(null)})),E=f("sort"),A=!l((function(){if(m)return m<70;if(!(h&&h>3)){if(p)return!0;if(g)return g<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)y.push({k:t+n,v:r})}for(y.sort((function(e,t){return t.v-e.v})),n=0;nu(r)?1:-1}};n({target:"Array",proto:!0,forced:S},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(A)return void 0===e?v(t):v(t,e);var r,n,o=[],u=s(t);for(n=0;n{"use strict";var n=r(46518),o=r(48981),i=r(35610),a=r(91291),s=r(26198),c=r(34527),u=r(96837),l=r(1469),d=r(97040),f=r(84606),h=r(70597),p=h("splice"),m=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var r,n,h,p,y,v,b=o(this),w=s(b),_=i(e,w),E=arguments.length;for(0===E?r=n=0:1===E?(r=0,n=w-_):(r=E-2,n=g(m(a(t),0),w-_)),u(w+r-n),h=l(b,n),p=0;pw-n+r;p--)f(b,p-1)}else if(r>n)for(p=w-n;p>_;p--)y=p+n-1,v=p+r-1,y in b?b[v]=b[y]:f(b,v);for(p=0;p{"use strict";var n=r(6469);n("flat")},13609:(e,t,r)=>{"use strict";var n=r(46518),o=r(48981),i=r(26198),a=r(34527),s=r(84606),c=r(96837),u=1!==[].unshift(0),l=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=u||!l();n({target:"Array",proto:!0,arity:1,forced:d},{unshift:function(e){var t=o(this),r=i(t),n=arguments.length;if(n){c(r+n);var u=r;while(u--){var l=u+n;u in t?t[l]=t[u]:s(t,l)}for(var d=0;d{"use strict";var n=r(46518),o=r(79504),i=Date,a=o(i.prototype.getTime);n({target:"Date",stat:!0},{now:function(){return a(new i)}})},1688:(e,t,r)=>{"use strict";var n=r(46518),o=r(70380);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},60739:(e,t,r)=>{"use strict";var n=r(46518),o=r(79039),i=r(48981),a=r(72777),s=o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));n({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(e){var t=i(this),r=a(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},89572:(e,t,r)=>{"use strict";var n=r(39297),o=r(36840),i=r(53640),a=r(78227),s=a("toPrimitive"),c=Date.prototype;n(c,s)||o(c,s,i)},23288:(e,t,r)=>{"use strict";var n=r(79504),o=r(36840),i=Date.prototype,a="Invalid Date",s="toString",c=n(i[s]),u=n(i.getTime);String(new Date(NaN))!==a&&o(i,s,(function(){var e=u(this);return e===e?c(this):a}))},16280:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(18745),a=r(14601),s="WebAssembly",c=o[s],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=a(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},d=function(e,t){if(c&&c[e]){var r={};r[e]=a(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},76918:(e,t,r)=>{"use strict";var n=r(36840),o=r(77536),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},94170:(e,t,r)=>{"use strict";var n=r(46518),o=r(30566);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},62010:(e,t,r)=>{"use strict";var n=r(43724),o=r(10350).EXISTS,i=r(79504),a=r(62106),s=Function.prototype,c=i(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec),d="name";n&&!o&&a(s,d,{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(e){return""}}})},33110:(e,t,r)=>{"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(69565),s=r(79504),c=r(79039),u=r(94901),l=r(10757),d=r(67680),f=r(66933),h=r(4495),p=String,m=o("JSON","stringify"),g=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,S=!h||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),T=c((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),x=function(e,t){var r=d(arguments),n=f(t);if(u(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(u(n)&&(t=a(n,this,p(e),t)),!l(t))return t},i(m,null,r)},C=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return g(E,e)&&!g(A,o)||g(A,e)&&!g(E,n)?"\\u"+w(v(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:S||T},{stringify:function(e,t,r){var n=d(arguments),o=i(S?x:m,null,n);return T&&"string"==typeof o?b(o,_,C):o}})},4731:(e,t,r)=>{"use strict";var n=r(24475),o=r(10687);o(n.JSON,"JSON",!0)},48523:(e,t,r)=>{"use strict";var n=r(16468),o=r(86938);n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},36033:(e,t,r)=>{"use strict";r(48523)},60479:(e,t,r)=>{"use strict";var n=r(10687);n(Math,"Math",!0)},2892:(e,t,r)=>{"use strict";var n=r(46518),o=r(96395),i=r(43724),a=r(24475),s=r(19167),c=r(79504),u=r(92796),l=r(39297),d=r(23167),f=r(1625),h=r(10757),p=r(72777),m=r(79039),g=r(38480).f,y=r(77347).f,v=r(24913).f,b=r(31240),w=r(43802).trim,_="Number",E=a[_],A=s[_],S=E.prototype,T=a.TypeError,x=c("".slice),C=c("".charCodeAt),I=function(e){var t=p(e,"number");return"bigint"==typeof t?t:O(t)},O=function(e){var t,r,n,o,i,a,s,c,u=p(e,"number");if(h(u))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=w(u),t=C(u,0),43===t||45===t){if(r=C(u,2),88===r||120===r)return NaN}else if(48===t){switch(C(u,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(i=x(u,2),a=i.length,s=0;so)return NaN;return parseInt(i,n)}return+u},P=u(_,!E(" 0o1")||!E("0b1")||E("+0x1")),k=function(e){return f(S,e)&&m((function(){b(e)}))},N=function(e){var t=arguments.length<1?0:E(I(e));return k(this)?d(Object(t),this,N):t};N.prototype=S,P&&!o&&(S.constructor=N),n({global:!0,constructor:!0,wrap:!0,forced:P},{Number:N});var R=function(e,t){for(var r,n=i?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)l(t,r=n[o])&&!l(e,r)&&v(e,r,y(t,r))};o&&A&&R(s[_],A),(P||o)&&R(s[_],E)},32637:(e,t,r)=>{"use strict";var n=r(46518),o=r(2087);n({target:"Number",stat:!0},{isInteger:o})},40150:(e,t,r)=>{"use strict";var n=r(46518);n({target:"Number",stat:!0},{isNaN:function(e){return e!==e}})},9868:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(91291),a=r(31240),s=r(72333),c=r(79039),u=RangeError,l=String,d=Math.floor,f=o(s),h=o("".slice),p=o(1..toFixed),m=function(e,t,r){return 0===t?r:t%2===1?m(e,t-1,r*e):m(e*e,t/2,r)},g=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},y=function(e,t,r){var n=-1,o=r;while(++n<6)o+=t*e[n],e[n]=o%1e7,o=d(o/1e7)},v=function(e,t){var r=6,n=0;while(--r>=0)n+=e[r],e[r]=d(n/t),n=n%t*1e7},b=function(e){var t=6,r="";while(--t>=0)if(""!==r||0===t||0!==e[t]){var n=l(e[t]);r=""===r?n:r+f("0",7-n.length)+n}return r},w=c((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!c((function(){p({})}));n({target:"Number",proto:!0,forced:w},{toFixed:function(e){var t,r,n,o,s=a(this),c=i(e),d=[0,0,0,0,0,0],p="",w="0";if(c<0||c>20)throw new u("Incorrect fraction digits");if(s!==s)return"NaN";if(s<=-1e21||s>=1e21)return l(s);if(s<0&&(p="-",s=-s),s>1e-21)if(t=g(s*m(2,69,1))-69,r=t<0?s*m(2,-t,1):s/m(2,t,1),r*=4503599627370496,t=52-t,t>0){y(d,0,r),n=c;while(n>=7)y(d,1e7,0),n-=7;y(d,m(10,n,1),0),n=t-1;while(n>=23)v(d,1<<23),n-=23;v(d,1<0?(o=w.length,w=p+(o<=c?"0."+f("0",c-o)+w:h(w,0,o-c)+"."+h(w,o-c))):w=p+w,w}})},69085:(e,t,r)=>{"use strict";var n=r(46518),o=r(44213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},59904:(e,t,r)=>{"use strict";var n=r(46518),o=r(43724),i=r(2360);n({target:"Object",stat:!0,sham:!o},{create:i})},67945:(e,t,r)=>{"use strict";var n=r(46518),o=r(43724),i=r(96801).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},84185:(e,t,r)=>{"use strict";var n=r(46518),o=r(43724),i=r(24913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,t,r)=>{"use strict";var n=r(46518),o=r(32357).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},53921:(e,t,r)=>{"use strict";var n=r(46518),o=r(72652),i=r(97040);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){i(t,e,r)}),{AS_ENTRIES:!0}),t}})},83851:(e,t,r)=>{"use strict";var n=r(46518),o=r(79039),i=r(25397),a=r(77347).f,s=r(43724),c=!s||o((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},81278:(e,t,r)=>{"use strict";var n=r(46518),o=r(43724),i=r(35031),a=r(25397),s=r(77347),c=r(97040);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=s.f,u=i(n),l={},d=0;while(u.length>d)r=o(n,t=u[d++]),void 0!==r&&c(l,t,r);return l}})},1480:(e,t,r)=>{"use strict";var n=r(46518),o=r(79039),i=r(10298).f,a=o((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:i})},49773:(e,t,r)=>{"use strict";var n=r(46518),o=r(4495),i=r(79039),a=r(33717),s=r(48981),c=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},40875:(e,t,r)=>{"use strict";var n=r(46518),o=r(79039),i=r(48981),a=r(42787),s=r(12211),c=o((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},79432:(e,t,r)=>{"use strict";var n=r(46518),o=r(48981),i=r(71072),a=r(79039),s=a((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},63548:(e,t,r)=>{"use strict";var n=r(43724),o=r(62106),i=r(20034),a=r(13925),s=r(48981),c=r(67750),u=Object.getPrototypeOf,l=Object.setPrototypeOf,d=Object.prototype,f="__proto__";if(n&&u&&l&&!(f in d))try{o(d,f,{configurable:!0,get:function(){return u(s(this))},set:function(e){var t=c(this);a(e)&&i(t)&&l(t,e)}})}catch(h){}},10287:(e,t,r)=>{"use strict";var n=r(46518),o=r(52967);n({target:"Object",stat:!0},{setPrototypeOf:o})},26099:(e,t,r)=>{"use strict";var n=r(92140),o=r(36840),i=r(53179);n||o(Object.prototype,"toString",i,{unsafe:!0})},16034:(e,t,r)=>{"use strict";var n=r(46518),o=r(32357).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},78459:(e,t,r)=>{"use strict";var n=r(46518),o=r(33904);n({global:!0,forced:parseFloat!==o},{parseFloat:o})},58940:(e,t,r)=>{"use strict";var n=r(46518),o=r(52703);n({global:!0,forced:parseInt!==o},{parseInt:o})},96167:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(79306),a=r(36043),s=r(1103),c=r(72652),u=r(90537);n({target:"Promise",stat:!0,forced:u},{allSettled:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,u=1;c(e,(function(e){var i=s++,c=!1;u++,o(r,t,e).then((function(e){c||(c=!0,a[i]={status:"fulfilled",value:e},--u||n(a))}),(function(e){c||(c=!0,a[i]={status:"rejected",reason:e},--u||n(a))}))})),--u||n(a)}));return l.error&&u(l.value),r.promise}})},16499:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(79306),a=r(36043),s=r(1103),c=r(72652),u=r(90537);n({target:"Promise",stat:!0,forced:u},{all:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1;c(e,(function(e){var i=s++,c=!1;l++,o(r,t,e).then((function(e){c||(c=!0,a[i]=e,--l||n(a))}),u)})),--l||n(a)}));return l.error&&u(l.value),r.promise}})},93518:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(79306),a=r(97751),s=r(36043),c=r(1103),u=r(72652),l=r(90537),d="No one promise resolved";n({target:"Promise",stat:!0,forced:l},{any:function(e){var t=this,r=a("AggregateError"),n=s.f(t),l=n.resolve,f=n.reject,h=c((function(){var n=i(t.resolve),a=[],s=0,c=1,h=!1;u(e,(function(e){var i=s++,u=!1;c++,o(n,t,e).then((function(e){u||h||(h=!0,l(e))}),(function(e){u||h||(u=!0,a[i]=e,--c||f(new r(a,d)))}))})),--c||f(new r(a,d))}));return h.error&&f(h.value),n.promise}})},82003:(e,t,r)=>{"use strict";var n=r(46518),o=r(96395),i=r(10916).CONSTRUCTOR,a=r(80550),s=r(97751),c=r(94901),u=r(36840),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&c(a)){var d=s("Promise").prototype["catch"];l["catch"]!==d&&u(l,"catch",d,{unsafe:!0})}},10436:(e,t,r)=>{"use strict";var n,o,i,a,s=r(46518),c=r(96395),u=r(19088),l=r(24475),d=r(69565),f=r(36840),h=r(52967),p=r(10687),m=r(87633),g=r(79306),y=r(94901),v=r(20034),b=r(90679),w=r(2293),_=r(59225).set,E=r(91955),A=r(90757),S=r(1103),T=r(18265),x=r(91181),C=r(80550),I=r(10916),O=r(36043),P="Promise",k=I.CONSTRUCTOR,N=I.REJECTION_EVENT,R=I.SUBCLASSING,M=x.getterFor(P),B=x.set,L=C&&C.prototype,D=C,F=L,j=l.TypeError,U=l.document,$=l.process,z=O.f,H=z,V=!!(U&&U.createEvent&&l.dispatchEvent),G="unhandledrejection",q="rejectionhandled",W=0,K=1,X=2,Z=1,Y=2,Q=function(e){var t;return!(!v(e)||!y(t=e.then))&&t},J=function(e,t){var r,n,o,i=t.value,a=t.state===K,s=a?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(a||(t.rejection===Y&&oe(t),t.rejection=Z),!0===s?r=i:(l&&l.enter(),r=s(i),l&&(l.exit(),o=!0)),r===e.promise?u(new j("Promise-chain cycle")):(n=Q(r))?d(n,r,c,u):c(r)):u(i)}catch(f){l&&!o&&l.exit(),u(f)}},ee=function(e,t){e.notified||(e.notified=!0,E((function(){var r,n=e.reactions;while(r=n.get())J(r,e);e.notified=!1,t&&!e.rejection&&re(e)})))},te=function(e,t,r){var n,o;V?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!N&&(o=l["on"+e])?o(n):e===G&&A("Unhandled promise rejection",r)},re=function(e){d(_,l,(function(){var t,r=e.facade,n=e.value,o=ne(e);if(o&&(t=S((function(){u?$.emit("unhandledRejection",n,r):te(G,r,n)})),e.rejection=u||ne(e)?Y:Z,t.error))throw t.value}))},ne=function(e){return e.rejection!==Z&&!e.parent},oe=function(e){d(_,l,(function(){var t=e.facade;u?$.emit("rejectionHandled",t):te(q,t,e.value)}))},ie=function(e,t,r){return function(n){e(t,n,r)}},ae=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=X,ee(e,!0))},se=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new j("Promise can't be resolved itself");var n=Q(t);n?E((function(){var r={done:!1};try{d(n,t,ie(se,r,e),ie(ae,r,e))}catch(o){ae(r,o,e)}})):(e.value=t,e.state=K,ee(e,!1))}catch(o){ae({done:!1},o,e)}}};if(k&&(D=function(e){b(this,F),g(e),d(n,this);var t=M(this);try{e(ie(se,t),ie(ae,t))}catch(r){ae(t,r)}},F=D.prototype,n=function(e){B(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:W,value:void 0})},n.prototype=f(F,"then",(function(e,t){var r=M(this),n=z(w(this,D));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=u?$.domain:void 0,r.state===W?r.reactions.add(n):E((function(){J(n,r)})),n.promise})),o=function(){var e=new n,t=M(e);this.promise=e,this.resolve=ie(se,t),this.reject=ie(ae,t)},O.f=z=function(e){return e===D||e===i?new o(e):H(e)},!c&&y(C)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var r=this;return new D((function(e,t){d(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(ce){}h&&h(L,F)}s({global:!0,constructor:!0,wrap:!0,forced:k},{Promise:D}),p(D,P,!1,!0),m(P)},9391:(e,t,r)=>{"use strict";var n=r(46518),o=r(96395),i=r(80550),a=r(79039),s=r(97751),c=r(94901),u=r(2293),l=r(93438),d=r(36840),f=i&&i.prototype,h=!!i&&a((function(){f["finally"].call({then:function(){}},(function(){}))}));if(n({target:"Promise",proto:!0,real:!0,forced:h},{finally:function(e){var t=u(this,s("Promise")),r=c(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!o&&c(i)){var p=s("Promise").prototype["finally"];f["finally"]!==p&&d(f,"finally",p,{unsafe:!0})}},3362:(e,t,r)=>{"use strict";r(10436),r(16499),r(82003),r(7743),r(51481),r(40280)},7743:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(79306),a=r(36043),s=r(1103),c=r(72652),u=r(90537);n({target:"Promise",stat:!0,forced:u},{race:function(e){var t=this,r=a.f(t),n=r.reject,u=s((function(){var a=i(t.resolve);c(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},51481:(e,t,r)=>{"use strict";var n=r(46518),o=r(36043),i=r(10916).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:i},{reject:function(e){var t=o.f(this),r=t.reject;return r(e),t.promise}})},40280:(e,t,r)=>{"use strict";var n=r(46518),o=r(97751),i=r(96395),a=r(80550),s=r(10916).CONSTRUCTOR,c=r(93438),u=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return c(l&&this===u?a:this,e)}})},14628:(e,t,r)=>{"use strict";var n=r(46518),o=r(36043);n({target:"Promise",stat:!0},{withResolvers:function(){var e=o.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},60825:(e,t,r)=>{"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(30566),s=r(35548),c=r(28551),u=r(20034),l=r(2360),d=r(79039),f=o("Reflect","construct"),h=Object.prototype,p=[].push,m=d((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),g=!d((function(){f((function(){}))})),y=m||g;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),c(t);var r=arguments.length<3?e:s(arguments[2]);if(g&&!m)return f(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(p,n,t),new(i(a,e,n))}var o=r.prototype,d=l(u(o)?o:h),y=i(e,d,t);return u(y)?y:d}})},40888:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565),i=r(20034),a=r(28551),s=r(16575),c=r(77347),u=r(42787);function l(e,t){var r,n,d=arguments.length<3?e:arguments[2];return a(e)===d?e[t]:(r=c.f(e,t),r?s(r)?r.value:void 0===r.get?void 0:o(r.get,d):i(n=u(e))?l(n,t,d):void 0)}n({target:"Reflect",stat:!0},{get:l})},15472:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(10687);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},84864:(e,t,r)=>{"use strict";var n=r(43724),o=r(24475),i=r(79504),a=r(92796),s=r(23167),c=r(66699),u=r(2360),l=r(38480).f,d=r(1625),f=r(60788),h=r(655),p=r(61034),m=r(58429),g=r(11056),y=r(36840),v=r(79039),b=r(39297),w=r(91181).enforce,_=r(87633),E=r(78227),A=r(83635),S=r(18814),T=E("match"),x=o.RegExp,C=x.prototype,I=o.SyntaxError,O=i(C.exec),P=i("".charAt),k=i("".replace),N=i("".indexOf),R=i("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,L=/a/g,D=new x(B)!==B,F=m.MISSED_STICKY,j=m.UNSUPPORTED_Y,U=n&&(!D||F||A||S||v((function(){return L[T]=!1,x(B)!==B||x(L)===L||"/a/i"!==String(x(B,"i"))}))),$=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)t=P(e,n),"\\"!==t?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+P(e,++n);return o},z=function(e){for(var t,r=e.length,n=0,o="",i=[],a=u(null),s=!1,c=!1,l=0,d="";n<=r;n++){if(t=P(e,n),"\\"===t)t+=P(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:O(M,R(e,n+1))&&(n+=2,c=!0),o+=t,l++;continue;case">"===t&&c:if(""===d||b(a,d))throw new I("Invalid capture group name");a[d]=!0,i[i.length]=[d,l],c=!1,d="";continue}c?d+=t:o+=t}return[o,i]};if(a("RegExp",U)){for(var H=function(e,t){var r,n,o,i,a,u,l=d(C,this),m=f(e),g=void 0===t,y=[],v=e;if(!l&&m&&g&&e.constructor===H)return e;if((m||d(C,e))&&(e=e.source,g&&(t=p(v))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),v=e,A&&"dotAll"in B&&(n=!!t&&N(t,"s")>-1,n&&(t=k(t,/s/g,""))),r=t,F&&"sticky"in B&&(o=!!t&&N(t,"y")>-1,o&&j&&(t=k(t,/y/g,""))),S&&(i=z(e),e=i[0],y=i[1]),a=s(x(e,t),l?this:C,H),(n||o||y.length)&&(u=w(a),n&&(u.dotAll=!0,u.raw=H($(e),r)),o&&(u.sticky=!0),y.length&&(u.groups=y)),e!==v)try{c(a,"source",""===v?"(?:)":v)}catch(b){}return a},V=l(x),G=0;V.length>G;)g(H,x,V[G++]);C.constructor=H,H.prototype=C,y(o,"RegExp",H,{constructor:!0})}_("RegExp")},57465:(e,t,r)=>{"use strict";var n=r(43724),o=r(83635),i=r(44576),a=r(62106),s=r(91181).get,c=RegExp.prototype,u=TypeError;n&&o&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},27495:(e,t,r)=>{"use strict";var n=r(46518),o=r(57323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},87745:(e,t,r)=>{"use strict";var n=r(43724),o=r(58429).MISSED_STICKY,i=r(44576),a=r(62106),s=r(91181).get,c=RegExp.prototype,u=TypeError;n&&o&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).sticky;throw new u("Incompatible receiver, RegExp required")}}})},90906:(e,t,r)=>{"use strict";r(27495);var n=r(46518),o=r(69565),i=r(94901),a=r(28551),s=r(655),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=/./.test;n({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=a(this),r=s(e),n=t.exec;if(!i(n))return o(u,t,r);var c=o(n,t,r);return null!==c&&(a(c),!0)}})},38781:(e,t,r)=>{"use strict";var n=r(10350).PROPER,o=r(36840),i=r(28551),a=r(655),s=r(79039),c=r(61034),u="toString",l=RegExp.prototype,d=l[u],f=s((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),h=n&&d.name!==u;(f||h)&&o(l,u,(function(){var e=i(this),t=a(e.source),r=a(c(e));return"/"+t+"/"+r}),{unsafe:!0})},92405:(e,t,r)=>{"use strict";var n=r(16468),o=r(86938);n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},31415:(e,t,r)=>{"use strict";r(92405)},67357:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(67750),a=r(91291),s=r(655),c=r(79039),u=o("".charAt),l=c((function(){return"\ud842"!=="𠮷".at(-2)}));n({target:"String",proto:!0,forced:l},{at:function(e){var t=s(i(this)),r=t.length,n=a(e),o=n>=0?n:r+n;return o<0||o>=r?void 0:u(t,o)}})},99449:(e,t,r)=>{"use strict";var n=r(46518),o=r(27476),i=r(77347).f,a=r(18014),s=r(655),c=r(60511),u=r(67750),l=r(41436),d=r(96395),f=o("".slice),h=Math.min,p=l("endsWith"),m=!d&&!p&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!m&&!p},{endsWith:function(e){var t=s(u(this));c(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,o=void 0===r?n:h(a(r),n),i=s(e);return f(t,o-i.length,o)===i}})},94298:(e,t,r)=>{"use strict";var n=r(46518),o=r(77240),i=r(23061);n({target:"String",proto:!0,forced:i("fixed")},{fixed:function(){return o(this,"tt","","")}})},21699:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(60511),a=r(67750),s=r(655),c=r(41436),u=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},47764:(e,t,r)=>{"use strict";var n=r(68183).charAt,o=r(655),i=r(91181),a=r(51088),s=r(62529),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},50778:(e,t,r)=>{"use strict";var n=r(46518),o=r(77240),i=r(23061);n({target:"String",proto:!0,forced:i("link")},{link:function(e){return o(this,"a","href",e)}})},71761:(e,t,r)=>{"use strict";var n=r(69565),o=r(89228),i=r(28551),a=r(64117),s=r(18014),c=r(655),u=r(67750),l=r(55966),d=r(57829),f=r(56682);o("match",(function(e,t,r){return[function(t){var r=u(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return f(n,o);var u=n.unicode;n.lastIndex=0;var l,h=[],p=0;while(null!==(l=f(n,o))){var m=c(l[0]);h[p]=m,""===m&&(n.lastIndex=d(o,s(n.lastIndex),u)),p++}return 0===p?null:h}]}))},42781:(e,t,r)=>{"use strict";var n=r(46518),o=r(72333);n({target:"String",proto:!0},{repeat:o})},25440:(e,t,r)=>{"use strict";var n=r(18745),o=r(69565),i=r(79504),a=r(89228),s=r(79039),c=r(28551),u=r(94901),l=r(64117),d=r(91291),f=r(18014),h=r(655),p=r(67750),m=r(57829),g=r(55966),y=r(2478),v=r(56682),b=r(78227),w=b("replace"),_=Math.max,E=Math.min,A=i([].concat),S=i([].push),T=i("".indexOf),x=i("".slice),C=function(e){return void 0===e?e:String(e)},I=function(){return"$0"==="a".replace(/./,"$0")}(),O=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),P=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));a("replace",(function(e,t,r){var i=O?"$":"$0";return[function(e,r){var n=p(this),i=l(e)?void 0:g(e,w);return i?o(i,e,n,r):o(t,h(n),e,r)},function(e,o){var a=c(this),s=h(e);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var p=u(o);p||(o=h(o));var g,b=a.global;b&&(g=a.unicode,a.lastIndex=0);var w,I=[];while(1){if(w=v(a,s),null===w)break;if(S(I,w),!b)break;var O=h(w[0]);""===O&&(a.lastIndex=m(s,f(a.lastIndex),g))}for(var P="",k=0,N=0;N=k&&(P+=x(s,k,B)+R,k=B+M.length)}return P+x(s,k)}]}),!P||!I||O)},89195:(e,t,r)=>{"use strict";var n=r(46518),o=r(77240),i=r(23061);n({target:"String",proto:!0,forced:i("small")},{small:function(){return o(this,"small","","")}})},90744:(e,t,r)=>{"use strict";var n=r(69565),o=r(79504),i=r(89228),a=r(28551),s=r(64117),c=r(67750),u=r(2293),l=r(57829),d=r(18014),f=r(655),h=r(55966),p=r(56682),m=r(58429),g=r(79039),y=m.UNSUPPORTED_Y,v=4294967295,b=Math.min,w=o([].push),_=o("".slice),E=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),A="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,t,r){var o="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:n(t,this,e,r)}:t;return[function(t,r){var i=c(this),a=s(t)?void 0:h(t,e);return a?n(a,t,i,r):n(o,f(i),t,r)},function(e,n){var i=a(this),s=f(e);if(!A){var c=r(o,i,s,n,o!==t);if(c.done)return c.value}var h=u(i,RegExp),m=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(y?"g":"y"),E=new h(y?"^(?:"+i.source+")":i,g),S=void 0===n?v:n>>>0;if(0===S)return[];if(0===s.length)return null===p(E,s)?[s]:[];var T=0,x=0,C=[];while(x{"use strict";var n=r(46518),o=r(27476),i=r(77347).f,a=r(18014),s=r(655),c=r(60511),u=r(67750),l=r(41436),d=r(96395),f=o("".slice),h=Math.min,p=l("startsWith"),m=!d&&!p&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!m&&!p},{startsWith:function(e){var t=s(u(this));c(e);var r=a(h(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return f(t,r,r+n.length)===n}})},50375:(e,t,r)=>{"use strict";var n=r(46518),o=r(79504),i=r(67750),a=r(91291),s=r(655),c=o("".slice),u=Math.max,l=Math.min,d=!"".substr||"b"!=="ab".substr(-1);n({target:"String",proto:!0,forced:d},{substr:function(e,t){var r,n,o=s(i(this)),d=o.length,f=a(e);return f===1/0&&(f=0),f<0&&(f=u(d+f,0)),r=void 0===t?d:a(t),r<=0||r===1/0?"":(n=l(f+r,d),f>=n?"":c(o,f,n))}})},42762:(e,t,r)=>{"use strict";var n=r(46518),o=r(43802).trim,i=r(60706);n({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},66412:(e,t,r)=>{"use strict";var n=r(70511);n("asyncIterator")},6761:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(69565),a=r(79504),s=r(96395),c=r(43724),u=r(4495),l=r(79039),d=r(39297),f=r(1625),h=r(28551),p=r(25397),m=r(56969),g=r(655),y=r(6980),v=r(2360),b=r(71072),w=r(38480),_=r(10298),E=r(33717),A=r(77347),S=r(24913),T=r(96801),x=r(48773),C=r(36840),I=r(62106),O=r(25745),P=r(66119),k=r(30421),N=r(33392),R=r(78227),M=r(1951),B=r(70511),L=r(58242),D=r(10687),F=r(91181),j=r(59213).forEach,U=P("hidden"),$="Symbol",z="prototype",H=F.set,V=F.getterFor($),G=Object[z],q=o.Symbol,W=q&&q[z],K=o.RangeError,X=o.TypeError,Z=o.QObject,Y=A.f,Q=S.f,J=_.f,ee=x.f,te=a([].push),re=O("symbols"),ne=O("op-symbols"),oe=O("wks"),ie=!Z||!Z[z]||!Z[z].findChild,ae=function(e,t,r){var n=Y(G,t);n&&delete G[t],Q(e,t,r),n&&e!==G&&Q(G,t,n)},se=c&&l((function(){return 7!==v(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?ae:Q,ce=function(e,t){var r=re[e]=v(W);return H(r,{type:$,tag:e,description:t}),c||(r.description=t),r},ue=function(e,t,r){e===G&&ue(ne,t,r),h(e);var n=m(t);return h(r),d(re,n)?(r.enumerable?(d(e,U)&&e[U][n]&&(e[U][n]=!1),r=v(r,{enumerable:y(0,!1)})):(d(e,U)||Q(e,U,y(1,v(null))),e[U][n]=!0),se(e,n,r)):Q(e,n,r)},le=function(e,t){h(e);var r=p(t),n=b(r).concat(me(r));return j(n,(function(t){c&&!i(fe,r,t)||ue(e,t,r[t])})),e},de=function(e,t){return void 0===t?v(e):le(v(e),t)},fe=function(e){var t=m(e),r=i(ee,this,t);return!(this===G&&d(re,t)&&!d(ne,t))&&(!(r||!d(this,t)||!d(re,t)||d(this,U)&&this[U][t])||r)},he=function(e,t){var r=p(e),n=m(t);if(r!==G||!d(re,n)||d(ne,n)){var o=Y(r,n);return!o||!d(re,n)||d(r,U)&&r[U][n]||(o.enumerable=!0),o}},pe=function(e){var t=J(p(e)),r=[];return j(t,(function(e){d(re,e)||d(k,e)||te(r,e)})),r},me=function(e){var t=e===G,r=J(t?ne:p(e)),n=[];return j(r,(function(e){!d(re,e)||t&&!d(G,e)||te(n,re[e])})),n};u||(q=function(){if(f(W,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=N(e),r=function(e){var n=void 0===this?o:this;n===G&&i(r,ne,e),d(n,U)&&d(n[U],t)&&(n[U][t]=!1);var a=y(1,e);try{se(n,t,a)}catch(s){if(!(s instanceof K))throw s;ae(n,t,a)}};return c&&ie&&se(G,t,{configurable:!0,set:r}),ce(t,e)},W=q[z],C(W,"toString",(function(){return V(this).tag})),C(q,"withoutSetter",(function(e){return ce(N(e),e)})),x.f=fe,S.f=ue,T.f=le,A.f=he,w.f=_.f=pe,E.f=me,M.f=function(e){return ce(R(e),e)},c&&(I(W,"description",{configurable:!0,get:function(){return V(this).description}}),s||C(G,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),j(b(oe),(function(e){B(e)})),n({target:$,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:de,defineProperty:ue,defineProperties:le,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),L(),D(q,$),k[U]=!0},89463:(e,t,r)=>{"use strict";var n=r(46518),o=r(43724),i=r(24475),a=r(79504),s=r(39297),c=r(94901),u=r(1625),l=r(655),d=r(62106),f=r(77740),h=i.Symbol,p=h&&h.prototype;if(o&&c(h)&&(!("description"in p)||void 0!==h().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(m[t]=!0),t};f(g,h),g.prototype=p,p.constructor=g;var y="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),E=a("".slice);d(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(m,e))return"";var t=b(e),r=y?E(t,7,-1):_(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},81510:(e,t,r)=>{"use strict";var n=r(46518),o=r(97751),i=r(39297),a=r(655),s=r(25745),c=r(91296),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(u,t))return u[t];var r=o("Symbol")(t);return u[t]=r,l[r]=t,r}})},60193:(e,t,r)=>{"use strict";var n=r(70511);n("hasInstance")},92168:(e,t,r)=>{"use strict";var n=r(70511);n("isConcatSpreadable")},2259:(e,t,r)=>{"use strict";var n=r(70511);n("iterator")},52675:(e,t,r)=>{"use strict";r(6761),r(81510),r(97812),r(33110),r(49773)},97812:(e,t,r)=>{"use strict";var n=r(46518),o=r(39297),i=r(10757),a=r(16823),s=r(25745),c=r(91296),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},83142:(e,t,r)=>{"use strict";var n=r(70511);n("matchAll")},86964:(e,t,r)=>{"use strict";var n=r(70511);n("match")},83237:(e,t,r)=>{"use strict";var n=r(70511);n("replace")},61833:(e,t,r)=>{"use strict";var n=r(70511);n("search")},67947:(e,t,r)=>{"use strict";var n=r(70511);n("species")},31073:(e,t,r)=>{"use strict";var n=r(70511);n("split")},45700:(e,t,r)=>{"use strict";var n=r(70511),o=r(58242);n("toPrimitive"),o()},78125:(e,t,r)=>{"use strict";var n=r(97751),o=r(70511),i=r(10687);o("toStringTag"),i(n("Symbol"),"Symbol")},20326:(e,t,r)=>{"use strict";var n=r(70511);n("unscopables")},48140:(e,t,r)=>{"use strict";var n=r(94644),o=r(26198),i=r(91291),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(e){var t=a(this),r=o(t),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},81630:(e,t,r)=>{"use strict";var n=r(79504),o=r(94644),i=r(57029),a=n(i),s=o.aTypedArray,c=o.exportTypedArrayMethod;c("copyWithin",(function(e,t){return a(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},72170:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).every,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},75044:(e,t,r)=>{"use strict";var n=r(94644),o=r(84373),i=r(75854),a=r(36955),s=r(69565),c=r(79504),u=r(79039),l=n.aTypedArray,d=n.exportTypedArrayMethod,f=c("".slice),h=u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}));d("fill",(function(e){var t=arguments.length;l(this);var r="Big"===f(a(this),0,3)?i(e):+e;return s(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),h)},69539:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).filter,i=r(26357),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},89955:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).findIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},91134:(e,t,r)=>{"use strict";var n=r(94644),o=r(43839).findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},21903:(e,t,r)=>{"use strict";var n=r(94644),o=r(43839).findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},31694:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).find,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33206:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).forEach,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44496:(e,t,r)=>{"use strict";var n=r(94644),o=r(19617).includes,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},66651:(e,t,r)=>{"use strict";var n=r(94644),o=r(19617).indexOf,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},12887:(e,t,r)=>{"use strict";var n=r(24475),o=r(79039),i=r(79504),a=r(94644),s=r(23792),c=r(78227),u=c("iterator"),l=n.Uint8Array,d=i(s.values),f=i(s.keys),h=i(s.entries),p=a.aTypedArray,m=a.exportTypedArrayMethod,g=l&&l.prototype,y=!o((function(){g[u].call([1])})),v=!!g&&g.values&&g[u]===g.values&&"values"===g.values.name,b=function(){return d(p(this))};m("entries",(function(){return h(p(this))}),y),m("keys",(function(){return f(p(this))}),y),m("values",b,y||!v,{name:"values"}),m(u,b,y||!v,{name:"values"})},19369:(e,t,r)=>{"use strict";var n=r(94644),o=r(79504),i=n.aTypedArray,a=n.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},66812:(e,t,r)=>{"use strict";var n=r(94644),o=r(18745),i=r(8379),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},8995:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).map,i=r(61412),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},36072:(e,t,r)=>{"use strict";var n=r(94644),o=r(80926).right,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},31575:(e,t,r)=>{"use strict";var n=r(94644),o=r(80926).left,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},88747:(e,t,r)=>{"use strict";var n=r(94644),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){var e,t=this,r=o(t).length,n=a(r/2),i=0;while(i{"use strict";var n=r(24475),o=r(69565),i=r(94644),a=r(26198),s=r(58229),c=r(48981),u=r(79039),l=n.RangeError,d=n.Int8Array,f=d&&d.prototype,h=f&&f.set,p=i.aTypedArray,m=i.exportTypedArrayMethod,g=!u((function(){var e=new Uint8ClampedArray(2);return o(h,e,{length:1,0:3},1),3!==e[1]})),y=g&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(g)return o(h,this,r,t);var n=this.length,i=a(r),u=0;if(i+t>n)throw new l("Wrong length");while(u{"use strict";var n=r(94644),o=r(61412),i=r(79039),a=r(67680),s=n.aTypedArray,c=n.exportTypedArrayMethod,u=i((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var r=a(s(this),e,t),n=o(this),i=0,c=r.length,u=new n(c);while(c>i)u[i]=r[i++];return u}),u)},57301:(e,t,r)=>{"use strict";var n=r(94644),o=r(59213).some,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},373:(e,t,r)=>{"use strict";var n=r(24475),o=r(27476),i=r(79039),a=r(79306),s=r(74488),c=r(94644),u=r(28834),l=r(63202),d=r(77388),f=r(89160),h=c.aTypedArray,p=c.exportTypedArrayMethod,m=n.Uint16Array,g=m&&o(m.prototype.sort),y=!!g&&!(i((function(){g(new m(2),null)}))&&i((function(){g(new m(2),{})}))),v=!!g&&!i((function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var e,t,r=new m(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(g(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),b=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};p("sort",(function(e){return void 0!==e&&a(e),v?g(this,e):s(h(this),b(e))}),!v||y)},86614:(e,t,r)=>{"use strict";var n=r(94644),o=r(18014),i=r(35610),a=r(61412),s=n.aTypedArray,c=n.exportTypedArrayMethod;c("subarray",(function(e,t){var r=s(this),n=r.length,c=i(e,n),u=a(r);return new u(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-c))}))},41405:(e,t,r)=>{"use strict";var n=r(24475),o=r(18745),i=r(94644),a=r(79039),s=r(67680),c=n.Int8Array,u=i.aTypedArray,l=i.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&a((function(){d.call(new c(1))})),h=a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])}));l("toLocaleString",(function(){return o(d,f?s(u(this)):u(this),s(arguments))}),h)},37467:(e,t,r)=>{"use strict";var n=r(37628),o=r(94644),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return n(i(this),s(this))}))},44732:(e,t,r)=>{"use strict";var n=r(94644),o=r(79504),i=r(79306),a=r(35370),s=n.aTypedArray,c=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,l=o(n.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=a(c(t),t);return l(r,e)}))},33684:(e,t,r)=>{"use strict";var n=r(94644).exportTypedArrayMethod,o=r(79039),i=r(24475),a=r(79504),s=i.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=a([].join);o((function(){u.call({})}))&&(u=function(){return l(this)});var d=c.toString!==u;n("toString",u,d)},21489:(e,t,r)=>{"use strict";var n=r(15823);n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},79577:(e,t,r)=>{"use strict";var n=r(39928),o=r(94644),i=r(18727),a=r(91291),s=r(75854),c=o.aTypedArray,u=o.getTypedArrayConstructor,l=o.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();l("with",{with:function(e,t){var r=c(this),o=a(e),l=i(r)?s(t):+t;return n(r,u(r),o,l)}}["with"],!d)},65746:(e,t,r)=>{"use strict";var n,o=r(92744),i=r(24475),a=r(79504),s=r(56279),c=r(3451),u=r(16468),l=r(91625),d=r(20034),f=r(91181).enforce,h=r(79039),p=r(58622),m=Object,g=Array.isArray,y=m.isExtensible,v=m.isFrozen,b=m.isSealed,w=m.freeze,_=m.seal,E=!i.ActiveXObject&&"ActiveXObject"in i,A=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},S=u("WeakMap",A,l),T=S.prototype,x=a(T.set),C=function(){return o&&h((function(){var e=w([]);return x(new S,e,1),!v(e)}))};if(p)if(E){n=l.getConstructor(A,"WeakMap",!0),c.enable();var I=a(T["delete"]),O=a(T.has),P=a(T.get);s(T,{delete:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),I(this,e)||t.frozen["delete"](e)}return I(this,e)},has:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),O(this,e)||t.frozen.has(e)}return O(this,e)},get:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),O(this,e)?P(this,e):t.frozen.get(e)}return P(this,e)},set:function(e,t){if(d(e)&&!y(e)){var r=f(this);r.frozen||(r.frozen=new n),O(this,e)?x(this,e,t):r.frozen.set(e,t)}else x(this,e,t);return this}})}else C()&&s(T,{set:function(e,t){var r;return g(e)&&(v(e)?r=w:b(e)&&(r=_)),x(this,e,t),r&&r(e),this}})},73772:(e,t,r)=>{"use strict";r(65746)},49806:(e,t,r)=>{"use strict";r(30067)},26280:(e,t,r)=>{"use strict";r(16573)},47801:(e,t,r)=>{"use strict";r(77936)},27913:(e,t,r)=>{"use strict";r(78100)},16401:(e,t,r)=>{"use strict";var n=r(78227),o=r(24913).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},35874:(e,t,r)=>{"use strict";r(96167)},47575:(e,t,r)=>{"use strict";r(93518)},47628:(e,t,r)=>{"use strict";var n=r(46518),o=r(36043),i=r(1103);n({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=o.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},43799:(e,t,r)=>{"use strict";r(14628)},81202:(e,t,r)=>{"use strict";var n=r(24475),o=r(70511),i=r(24913).f,a=r(77347).f,s=n.Symbol;if(o("asyncDispose"),s){var c=a(s,"asyncDispose");c.enumerable&&c.configurable&&c.writable&&i(s,"asyncDispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},43275:(e,t,r)=>{"use strict";var n=r(24475),o=r(70511),i=r(24913).f,a=r(77347).f,s=n.Symbol;if(o("dispose"),s){var c=a(s,"dispose");c.enumerable&&c.configurable&&c.writable&&i(s,"dispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},13070:(e,t,r)=>{"use strict";var n=r(46518),o=r(12586);n({target:"Symbol",stat:!0},{isRegisteredSymbol:o})},87153:(e,t,r)=>{"use strict";var n=r(46518),o=r(12586);n({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:o})},53032:(e,t,r)=>{"use strict";var n=r(46518),o=r(52104);n({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:o})},53803:(e,t,r)=>{"use strict";var n=r(46518),o=r(52104);n({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:o})},13976:(e,t,r)=>{"use strict";var n=r(70511);n("matcher")},18999:(e,t,r)=>{"use strict";var n=r(70511);n("metadataKey")},30465:(e,t,r)=>{"use strict";var n=r(70511);n("metadata")},42793:(e,t,r)=>{"use strict";var n=r(70511);n("observable")},77208:(e,t,r)=>{"use strict";var n=r(70511);n("patternMatch")},73440:(e,t,r)=>{"use strict";var n=r(70511);n("replaceAll")},23500:(e,t,r)=>{"use strict";var n=r(24475),o=r(67400),i=r(79296),a=r(90235),s=r(66699),c=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in o)o[u]&&c(n[u]&&n[u].prototype);c(i)},62953:(e,t,r)=>{"use strict";var n=r(24475),o=r(67400),i=r(79296),a=r(23792),s=r(66699),c=r(10687),u=r(78227),l=u("iterator"),d=a.values,f=function(e,t){if(e){if(e[l]!==d)try{s(e,l,d)}catch(n){e[l]=d}if(c(e,t,!0),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(n){e[r]=a[r]}}};for(var h in o)f(n[h]&&n[h].prototype,h);f(i,"DOMTokenList")},15575:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(79472),a=i(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==a},{setInterval:a})},24599:(e,t,r)=>{"use strict";var n=r(46518),o=r(24475),i=r(79472),a=i(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==a},{setTimeout:a})},76031:(e,t,r)=>{"use strict";r(15575),r(24599)},98406:(e,t,r)=>{"use strict";r(23792);var n=r(46518),o=r(24475),i=r(93389),a=r(69565),s=r(79504),c=r(43724),u=r(67416),l=r(36840),d=r(62106),f=r(56279),h=r(10687),p=r(33994),m=r(91181),g=r(90679),y=r(94901),v=r(39297),b=r(76080),w=r(36955),_=r(28551),E=r(20034),A=r(655),S=r(2360),T=r(6980),x=r(70081),C=r(50851),I=r(62529),O=r(22812),P=r(78227),k=r(74488),N=P("iterator"),R="URLSearchParams",M=R+"Iterator",B=m.set,L=m.getterFor(R),D=m.getterFor(M),F=i("fetch"),j=i("Request"),U=i("Headers"),$=j&&j.prototype,z=U&&U.prototype,H=o.RegExp,V=o.TypeError,G=o.decodeURIComponent,q=o.encodeURIComponent,W=s("".charAt),K=s([].join),X=s([].push),Z=s("".replace),Y=s([].shift),Q=s([].splice),J=s("".split),ee=s("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return G(e)}catch(t){return e}},ie=function(e){var t=Z(e,te," "),r=4;try{return G(t)}catch(n){while(r)t=Z(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return se[e]},ue=function(e){return Z(q(e),ae,ce)},le=p((function(e,t){B(this,{type:M,target:L(e).entries,index:0,kind:t})}),R,(function(){var e=D(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,I(void 0,!0);var n=t[r];switch(e.kind){case"keys":return I(n.key,!1);case"values":return I(n.value,!1)}return I([n.key,n.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?ee(e,1):e:A(e)))};de.prototype={type:R,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,s,c,u=this.entries,l=C(e);if(l){t=x(e,l),r=t.next;while(!(n=a(r,t)).done){if(o=x(_(n.value)),i=o.next,(s=a(i,o)).done||(c=a(i,o)).done||!a(i,o).done)throw new V("Expected sequence with length 2");X(u,{key:A(s.value),value:A(c.value)})}}else for(var d in e)v(e,d)&&X(u,{key:d,value:A(e[d])})},parseQuery:function(e){if(e){var t,r,n=this.entries,o=J(e,"&"),i=0;while(i0?arguments[0]:void 0,t=B(this,new de(e));c||(this.size=t.entries.length)},he=fe.prototype;if(f(he,{append:function(e,t){var r=L(this);O(arguments.length,2),X(r.entries,{key:A(e),value:A(t)}),c||this.length++,r.updateURL()},delete:function(e){var t=L(this),r=O(arguments.length,1),n=t.entries,o=A(e),i=r<2?void 0:arguments[1],a=void 0===i?i:A(i),s=0;while(st.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=L(this).entries,n=b(e,arguments.length>1?arguments[1]:void 0),o=0;while(o1?ge(arguments[1]):{})}}),y(j)){var ye=function(e){return g(this,$),new j(e,arguments.length>1?ge(arguments[1]):{})};$.constructor=ye,ye.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:L}},14603:(e,t,r)=>{"use strict";var n=r(36840),o=r(79504),i=r(655),a=r(22812),s=URLSearchParams,c=s.prototype,u=o(c.append),l=o(c["delete"]),d=o(c.forEach),f=o([].push),h=new s("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];d(this,(function(e,t){f(n,{key:t,value:e})})),a(t,1);var o,s=i(e),c=i(r),h=0,p=0,m=!1,g=n.length;while(h{"use strict";var n=r(36840),o=r(79504),i=r(655),a=r(22812),s=URLSearchParams,c=s.prototype,u=o(c.getAll),l=o(c.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);a(t,1);var o=i(r),s=0;while(s{"use strict";r(98406)},98721:(e,t,r)=>{"use strict";var n=r(43724),o=r(79504),i=r(62106),a=URLSearchParams.prototype,s=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},45806:(e,t,r)=>{"use strict";r(47764);var n,o=r(46518),i=r(43724),a=r(67416),s=r(24475),c=r(76080),u=r(79504),l=r(36840),d=r(62106),f=r(90679),h=r(39297),p=r(44213),m=r(97916),g=r(67680),y=r(68183).codeAt,v=r(3717),b=r(655),w=r(10687),_=r(22812),E=r(98406),A=r(91181),S=A.set,T=A.getterFor("URL"),x=E.URLSearchParams,C=E.getState,I=s.URL,O=s.TypeError,P=s.parseInt,k=Math.floor,N=Math.pow,R=u("".charAt),M=u(/./.exec),B=u([].join),L=u(1..toString),D=u([].pop),F=u([].push),j=u("".replace),U=u([].shift),$=u("".split),z=u("".slice),H=u("".toLowerCase),V=u([].unshift),G="Invalid authority",q="Invalid scheme",W="Invalid host",K="Invalid port",X=/[a-z]/i,Z=/[\d+-.a-z]/i,Y=/\d/,Q=/^0x/i,J=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,oe=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ae=/[\t\n\r]/g,se=function(e){var t,r,n,o,i,a,s,c=$(e,".");if(c.length&&""===c[c.length-1]&&c.length--,t=c.length,t>4)return e;for(r=[],n=0;n1&&"0"===R(o,0)&&(i=M(Q,o)?16:8,o=z(o,8===i?1:2)),""===o)a=0;else{if(!M(10===i?ee:8===i?J:te,o))return e;a=P(o,i)}F(r,a)}for(n=0;n=N(256,5-t))return null}else if(a>255)return null;for(s=D(r),n=0;n6)return;n=0;while(f()){if(o=null,n>0){if(!("."===f()&&n<4))return;d++}if(!M(Y,f()))return;while(M(Y,f())){if(i=P(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}c[u]=256*c[u]+o,n++,2!==n&&4!==n||u++}if(4!==n)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,u++,l=u}}if(null!==l){a=u-l,u=7;while(0!==u&&a>0)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s}else if(8!==u)return;return c},ue=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t},le=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)V(t,e%256),e=k(e/256);return B(t,".")}if("object"==typeof e){for(t="",n=ue(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=L(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},de={},fe=p({},de,{" ":1,'"':1,"<":1,">":1,"`":1}),he=p({},fe,{"#":1,"?":1,"{":1,"}":1}),pe=p({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),me=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},ge={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e,t){var r;return 2===e.length&&M(X,R(e,0))&&(":"===(r=R(e,1))||!t&&"|"===r)},ve=function(e){var t;return e.length>1&&ye(z(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){return"."===e||"%2e"===H(e)},we=function(e){return e=H(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},_e={},Ee={},Ae={},Se={},Te={},xe={},Ce={},Ie={},Oe={},Pe={},ke={},Ne={},Re={},Me={},Be={},Le={},De={},Fe={},je={},Ue={},$e={},ze=function(e,t,r){var n,o,i,a=b(e);if(t){if(o=this.parse(a),o)throw new O(o);this.searchParams=null}else{if(void 0!==r&&(n=new ze(r,!0)),o=this.parse(a,null,n),o)throw new O(o);i=C(new x),i.bindURL(this),this.searchParams=i}};ze.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,c=this,u=t||_e,l=0,d="",f=!1,p=!1,y=!1;e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=j(e,oe,""),e=j(e,ie,"$1")),e=j(e,ae,""),o=m(e);while(l<=o.length){switch(i=o[l],u){case _e:if(!i||!M(X,i)){if(t)return q;u=Ae;continue}d+=H(i),u=Ee;break;case Ee:if(i&&(M(Z,i)||"+"===i||"-"===i||"."===i))d+=H(i);else{if(":"!==i){if(t)return q;d="",u=Ae,l=0;continue}if(t&&(c.isSpecial()!==h(ge,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&ge[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?u=Me:c.isSpecial()&&r&&r.scheme===c.scheme?u=Se:c.isSpecial()?u=Ie:"/"===o[l+1]?(u=Te,l++):(c.cannotBeABaseURL=!0,F(c.path,""),u=je)}break;case Ae:if(!r||r.cannotBeABaseURL&&"#"!==i)return q;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=$e;break}u="file"===r.scheme?Me:xe;continue;case Se:if("/"!==i||"/"!==o[l+1]){u=xe;continue}u=Oe,l++;break;case Te:if("/"===i){u=Pe;break}u=Fe;continue;case xe:if(c.scheme=r.scheme,i===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query;else if("/"===i||"\\"===i&&c.isSpecial())u=Ce;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",u=Ue;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,u=Fe;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",u=$e}break;case Ce:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Fe;continue}u=Pe}else u=Oe;break;case Ie:if(u=Oe,"/"!==i||"/"!==R(d,l+1))continue;l++;break;case Oe:if("/"!==i&&"\\"!==i){u=Pe;continue}break;case Pe:if("@"===i){f&&(d="%40"+d),f=!0,a=m(d);for(var v=0;v65535)return K;c.port=c.isSpecial()&&E===ge[c.scheme]?null:E,d=""}if(t)return;u=De;continue}return K}d+=i;break;case Me:if(c.scheme="file","/"===i||"\\"===i)u=Be;else{if(!r||"file"!==r.scheme){u=Fe;continue}switch(i){case n:c.host=r.host,c.path=g(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=g(r.path),c.query="",u=Ue;break;case"#":c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",u=$e;break;default:ve(B(g(o,l),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),u=Fe;continue}}break;case Be:if("/"===i||"\\"===i){u=Le;break}r&&"file"===r.scheme&&!ve(B(g(o,l),""))&&(ye(r.path[0],!0)?F(c.path,r.path[0]):c.host=r.host),u=Fe;continue;case Le:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&ye(d))u=Fe;else if(""===d){if(c.host="",t)return;u=De}else{if(s=c.parseHost(d),s)return s;if("localhost"===c.host&&(c.host=""),t)return;d="",u=De}continue}d+=i;break;case De:if(c.isSpecial()){if(u=Fe,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(u=Fe,"/"!==i))continue}else c.fragment="",u=$e;else c.query="",u=Ue;break;case Fe:if(i===n||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(we(d)?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||F(c.path,"")):be(d)?"/"===i||"\\"===i&&c.isSpecial()||F(c.path,""):("file"===c.scheme&&!c.path.length&&ye(d)&&(c.host&&(c.host=""),d=R(d,0)+":"),F(c.path,d)),d="","file"===c.scheme&&(i===n||"?"===i||"#"===i))while(c.path.length>1&&""===c.path[0])U(c.path);"?"===i?(c.query="",u=Ue):"#"===i&&(c.fragment="",u=$e)}else d+=me(i,he);break;case je:"?"===i?(c.query="",u=Ue):"#"===i?(c.fragment="",u=$e):i!==n&&(c.path[0]+=me(i,de));break;case Ue:t||"#"!==i?i!==n&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":me(i,de)):(c.fragment="",u=$e);break;case $e:i!==n&&(c.fragment+=me(i,fe));break}l++}},parseHost:function(e){var t,r,n;if("["===R(e,0)){if("]"!==R(e,e.length-1))return W;if(t=ce(z(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=v(e),M(re,e))return W;if(t=se(e),null===t)return W;this.host=t}else{if(M(ne,e))return W;for(t="",r=m(e),n=0;n1?arguments[1]:void 0,n=S(t,new ze(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ve=He.prototype,Ge=function(e,t){return{get:function(){return T(this)[e]()},set:t&&function(e){return T(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(d(Ve,"href",Ge("serialize","setHref")),d(Ve,"origin",Ge("getOrigin")),d(Ve,"protocol",Ge("getProtocol","setProtocol")),d(Ve,"username",Ge("getUsername","setUsername")),d(Ve,"password",Ge("getPassword","setPassword")),d(Ve,"host",Ge("getHost","setHost")),d(Ve,"hostname",Ge("getHostname","setHostname")),d(Ve,"port",Ge("getPort","setPort")),d(Ve,"pathname",Ge("getPathname","setPathname")),d(Ve,"search",Ge("getSearch","setSearch")),d(Ve,"searchParams",Ge("getSearchParams")),d(Ve,"hash",Ge("getHash","setHash"))),l(Ve,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),l(Ve,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),I){var qe=I.createObjectURL,We=I.revokeObjectURL;qe&&l(He,"createObjectURL",c(qe,I)),We&&l(He,"revokeObjectURL",c(We,I))}w(He,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:He})},3296:(e,t,r)=>{"use strict";r(45806)},27208:(e,t,r)=>{"use strict";var n=r(46518),o=r(69565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},21885:(e,t,r)=>{"use strict";var n=r(17444);e.exports=n},69289:(e,t,r)=>{"use strict";var n=r(60412);e.exports=n},8585:(e,t,r)=>{"use strict";var n=r(75893);e.exports=n},99266:(e,t,r)=>{"use strict";var n=r(52051);e.exports=n},39318:(e,t,r)=>{"use strict";var n=r(70565);r(62953),e.exports=n},88851:(e,t,r)=>{"use strict";var n=r(31532);e.exports=n},1803:(e,t,r)=>{"use strict";r(62953);var n=r(36955),o=r(39297),i=r(1625),a=r(8585),s=Array.prototype,c={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===s||i(s,e)&&t===s.entries||o(c,n(e))?a:t}},76049:(e,t,r)=>{"use strict";var n=r(18730);e.exports=n},11660:(e,t,r)=>{"use strict";var n=r(74059);e.exports=n},43212:(e,t,r)=>{"use strict";var n=r(36955),o=r(39297),i=r(1625),a=r(99266);r(23500);var s=Array.prototype,c={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===s||i(s,e)&&t===s.forEach||o(c,n(e))?a:t}},82210:(e,t,r)=>{"use strict";var n=r(87853);e.exports=n},8813:(e,t,r)=>{"use strict";var n=r(46554);e.exports=n},67805:(e,t,r)=>{"use strict";var n=r(15396);e.exports=n},1479:(e,t,r)=>{"use strict";var n=r(22256);e.exports=n},12093:(e,t,r)=>{"use strict";var n=r(8192);e.exports=n},69249:(e,t,r)=>{"use strict";var n=r(82236);e.exports=n},29147:(e,t,r)=>{"use strict";var n=r(47788);e.exports=n},4499:(e,t,r)=>{"use strict";var n=r(85698);e.exports=n},66667:(e,t,r)=>{"use strict";var n=r(80246);e.exports=n},88418:(e,t,r)=>{"use strict";var n=r(58473);e.exports=n},11707:(e,t,r)=>{"use strict";var n=r(28964);e.exports=n},67692:(e,t,r)=>{"use strict";var n=r(23837);e.exports=n},32044:(e,t,r)=>{"use strict";var n=r(60949);e.exports=n},57919:(e,t,r)=>{"use strict";var n=r(17990);e.exports=n},69494:(e,t,r)=>{"use strict";var n=r(78895);e.exports=n},5053:(e,t,r)=>{"use strict";var n=r(57034);e.exports=n},50434:(e,t,r)=>{"use strict";var n=r(69969);e.exports=n},21380:(e,t,r)=>{"use strict";var n=r(66983);e.exports=n},77275:(e,t,r)=>{"use strict";var n=r(3580);e.exports=n},48792:(e,t,r)=>{"use strict";var n=r(56803);e.exports=n},72473:(e,t,r)=>{"use strict";var n=r(96398);r(62953),e.exports=n},50884:(e,t,r)=>{"use strict";var n=r(39281);r(62953),e.exports=n},96848:(e,t,r)=>{"use strict";var n=r(42151);r(62953),e.exports=n},17595:(e,t,r)=>{"use strict";var n=r(32864);e.exports=n},20589:(e,t,r)=>{"use strict";var n=r(16811);r(62953),e.exports=n},88939:(e,t,r)=>{"use strict";var n=r(81502);r(62953),e.exports=n},16811:(e,t,r)=>{"use strict";r(48408),r(14603),r(47566),r(98721);var n=r(19167);e.exports=n.URLSearchParams},9019:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{function n(e){if(Array.isArray(e))return e}r(64346),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},97032:(e,t,r)=>{function n(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}r(52675),r(89463),r(2259),r(44114),r(26099),r(47764),r(62953),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},49780:(e,t,r)=>{function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r(16280),r(76918),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},9295:(e,t,r)=>{var n=r(81375),o=r(97032),i=r(91974),a=r(49780);function s(e,t){return n(e)||o(e,t)||i(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},91974:(e,t,r)=>{r(76918),r(23418),r(34782),r(23288),r(62010),r(26099),r(27495),r(90906),r(38781),r(47764);var n=r(9019);function o(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},60182:(e,t,r)=>{"use strict";r.d(t,{A:()=>J});var n={};r.r(n),r.d(n,{aensBid:()=>w,aensClaim:()=>v,aensPreclaim:()=>b,aensQuery:()=>y,aensRevoke:()=>p,aensTransfer:()=>g,aensUpdate:()=>m});var o={};r.r(o),r.d(o,{payForTransaction:()=>S,spend:()=>E,transferFunds:()=>A});var i={};r.r(i),r.d(i,{extendOracleTtl:()=>R,getOracleObject:()=>B,getQueryObject:()=>k,pollForQueries:()=>O,pollForQueryResponse:()=>P,postQueryToOracle:()=>N,registerOracle:()=>L,respondToQuery:()=>M});var a={};r.r(a),r.d(a,{buildAuthTxHash:()=>H,buildAuthTxHashByGaMetaTx:()=>V,createGeneralizedAccount:()=>z});var s=r(49859),c=r(65626),u=r(16896),l=r(67892),d=r(67283),f=r(91087),h=r(19636);async function p(e,t){const r=await(0,h.B4)({...t,tag:f.vw.NameRevokeTx,nameId:e,accountId:t.onAccount.address});return(0,u.sendTransaction)(r,t)}async function m(e,t,r){let{extendPointers:n,...o}=r;const i={...!0===n&&Object.fromEntries((await(0,u.getName)(e,o)).pointers.map((e=>{let{key:t,id:r}=e;return[t,r]}))),...t},a=await(0,h.B4)({clientTtl:f.Rc,nameTtl:f.fp,...o,tag:f.vw.NameUpdateTx,nameId:e,accountId:o.onAccount.address,pointers:Object.entries(i).map((e=>{let[t,r]=e;return{key:t,id:r}}))});return(0,u.sendTransaction)(a,o)}async function g(e,t,r){const n=await(0,h.B4)({...r,tag:f.vw.NameTransferTx,nameId:e,accountId:r.onAccount.address,recipientId:t});return(0,u.sendTransaction)(n,r)}async function y(e,t){const r=await(0,u.getName)(e,t);return Object.freeze({...r,id:r.id,owner:r.owner,async update(r,n){return{...await m(e,r,{...t,...n}),...await y(e,{...t,...n})}},async transfer(r,n){return{...await g(e,r,{...t,...n}),...await y(e,{...t,...n})}},async revoke(r){return p(e,{...t,...r})},async extendTtl(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.fp,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r>f.fp||r<=0)throw new c.c1("nameTtl",`a number between 1 and ${f.fp} blocks`,r);return{...await m(e,{},{...t,...n,nameTtl:r,extendPointers:!0}),...await y(e,{...t,...n})}}})}async function v(e,t,r){const n=await(0,h.B4)({...r,tag:f.vw.NameClaimTx,accountId:r.onAccount.address,nameSalt:t,name:e}),o=await(0,u.sendTransaction)(n,r);if(!(0,d.JC)(e)){const t=null!=o.blockHeight&&o.blockHeight>0?await y(e,r):{};return Object.assign(o,t)}return o}async function b(e,t){const r=(0,l.j$)(),n=(0,d.MN)(e,r),o=await(0,h.B4)({...t,tag:f.vw.NamePreclaimTx,accountId:t.onAccount.address,commitmentId:n});return Object.freeze({...await(0,u.sendTransaction)(o,t),salt:r,commitmentId:n,async claim(n){const{version:o,...i}=t;return v(e,r,{...i,...n})}})}async function w(e,t,r){return v(e,0,{...r,nameFee:t})}var _=r(60346);async function E(e,t,r){return(0,u.sendTransaction)(await(0,h.B4)({...r,tag:f.vw.SpendTx,senderId:r.onAccount.address,recipientId:await(0,u.resolveName)(t,"account_pubkey",r),amount:e}),r)}async function A(e,t,r){if(+e<0||+e>1)throw new c.c1("fraction","a number between 0 and 1",e);const n=await(0,u.resolveName)(t,"account_pubkey",r),o=r.onAccount.address,i=new _.A(await u.getBalance.bind(r.onAccount)(o,r)),a=i.times(e).integerValue(_.A.ROUND_HALF_UP),{fee:s}=(0,h.pj)(await(0,h.B4)({...r,tag:f.vw.SpendTx,senderId:o,recipientId:n,amount:a}),f.vw.SpendTx),l=a.plus(s).gt(i)?i.minus(s):a;return(0,u.sendTransaction)(await(0,h.B4)({...r,tag:f.vw.SpendTx,senderId:o,recipientId:n,amount:l}),r)}async function S(e,t){return(0,u.sendTransaction)(await(0,h.B4)({...t,tag:f.vw.PayingForTx,payerId:t.onAccount.address,tx:e}),t)}var T=r(89055),x=r(91577),C=r(57889),I=r(41805);function O(e,t,r){var n;let{interval:o,onNode:i,...a}=r;null!==(n=o)&&void 0!==n||(o=(0,u._getPollInterval)("microblock",a));const s=new Set,c=async()=>{var r;const n=(null!==(r=(await i.getOracleQueriesByPubkey(e)).oracleQueries)&&void 0!==r?r:[]).filter((e=>{let{id:t}=e;return!s.has(t)}));n.forEach((e=>{s.add(e.id),t(e)}))};let l=!1;return(async()=>{while(!l)await c().catch(console.error),await(0,T.v7)(o)})(),()=>{l=!0}}async function P(e,t,r){var n;let o,i,a,{interval:s,onNode:l,...d}=r;null!==(n=s)&&void 0!==n||(s=(0,u._getPollInterval)("microblock",d));do{({response:a,ttl:i}=await l.getOracleQueryByPubkeyAndQueryId(e,t));const r=(0,C.D4)(a);if(r.length>0)return r.toString();await(0,T.v7)(s),o=await(0,u.getHeight)({onNode:l})}while(i>=o);throw new c.z2(o)}async function k(e,t,r){const n=await r.onNode.getOracleQueryByPubkeyAndQueryId(e,t);return{...n,decodedQuery:(0,C.D4)(n.query).toString(),decodedResponse:(0,C.D4)(n.response).toString(),respond:async(e,n)=>M(t,e,{...r,...n}),pollForResponse:async n=>P(e,t,{...r,...n})}}async function N(e,t,r){var n;null!==(n=r.queryFee)&&void 0!==n||(r.queryFee=(await r.onNode.getOracleByPubkey(e)).queryFee.toString());const o=r.onAccount.address,i=await(0,h.B4)({queryTtlType:x.w$.type,queryTtlValue:x.w$.value,responseTtlType:x.xG.type,responseTtlValue:x.xG.value,...r,tag:f.vw.OracleQueryTx,oracleId:e,senderId:o,query:t}),{nonce:a}=(0,h.pj)(i,f.vw.OracleQueryTx),s=(0,d._o)(o,a,e);return{...await(0,u.sendTransaction)(i,r),...await k(e,s,r)}}async function R(e){const t=(0,C.lF)((0,C.D4)(e.onAccount.address),I.W.OracleAddress),r=await(0,h.B4)({oracleTtlType:x.kZ.type,oracleTtlValue:x.kZ.value,...e,tag:f.vw.OracleExtendTx,oracleId:t});return{...await(0,u.sendTransaction)(r,e),...await B(t,e)}}async function M(e,t,r){const n=(0,C.lF)((0,C.D4)(r.onAccount.address),I.W.OracleAddress),o=await(0,h.B4)({responseTtlType:x.xG.type,responseTtlValue:x.xG.value,...r,tag:f.vw.OracleResponseTx,oracleId:n,queryId:e,response:t});return{...await(0,u.sendTransaction)(o,r),...await B(n,r)}}async function B(e,t){return{...await t.onNode.getOracleByPubkey(e),queries:(await t.onNode.getOracleQueriesByPubkey(e)).oracleQueries,...(0,T.s8)({pollQueries:O,postQuery:N,respondToQuery:M,extendOracle:R,getQuery:k},(r=>{let[n,o]=r;return[n,function(){for(var r=arguments.length,i=new Array(r),a=0;a1)throw new c.c1("ids","shorter than 2",t);const a=await i.onNode.getNetworkId();if(0===t.length){if(!0===o)throw new c.c1("omitAddress","equal false",o);return(0,C.D4)(await n.signDelegationToContract(e,{networkId:a}))}const[s]=t;if((0,d.wJ)(s)){if(!0===o)throw new c.c1("omitAddress","equal false",o);return(0,C.D4)(await n.signNameDelegationToContract(e,s,{networkId:a}))}if(F(s),!0!==o)throw new c.c1("omitAddress","equal true",o);return(0,C.D4)(await n.signOracleQueryDelegationToContract(e,s,{networkId:a}))}var U=r(48287);const{Buffer:$}=U;async function z(e,t,r){var n;let{onAccount:o,onCompiler:i,onNode:a,bytecode:s,aci:d,sourceCodePath:p,sourceCode:m,fileSystem:g,...y}=r;const v=o.address;if("generalized"===(await(0,u.getAccount)(v,{onNode:a})).kind)throw new c.qw(`Account ${v} is already GA`);const b=await D.A.initialize({onAccount:o,onCompiler:i,onNode:a,bytecode:s,aci:d,sourceCodePath:p,sourceCode:m,fileSystem:g}),w=await(0,h.B4)({...y,tag:f.vw.GaAttachTx,onNode:a,code:await b.$compile(),gasLimit:null!==(n=y.gasLimit)&&void 0!==n?n:await b._estimateGas("init",t,y),ownerId:v,callData:b._calldata.encode(b._name,"init",t),authFun:(0,l.tW)(e)}),_=(0,h.xD)(w),{hash:E,rawTx:A}=await(0,u.sendTransaction)(w,{onNode:a,onAccount:o,onCompiler:i,...y});return Object.freeze({owner:v,transaction:E,rawTx:A,gaContractId:_})}async function H(e,t){let{fee:r,gasPrice:n,onNode:o}=t;const{nodeNetworkId:i,consensusProtocolVersion:a}=await o.getNodeInfo();let s=(0,l.tW)((0,T.wh)([$.from(i),(0,C.D4)(e)]));if(a===f.sF.Ceres){if(null==r)throw new c.c1("fee","provided (in Ceres)",r);if(null==n)throw new c.c1("gasPrice","provided (in Ceres)",n);s=(0,l.tW)((0,C.D4)((0,h.pr)({tag:f.vw.GaMetaTxAuthData,fee:r,gasPrice:n,txHash:(0,C.lF)(s,I.W.TxHash)})))}return s}async function V(e,t){let{onNode:r}=t;const n=(0,h.pj)(e,f.vw.SignedTx);if(n.encodedTx.tag!==f.vw.GaMetaTx)throw new c.c1("transaction","to include GaMetaTx",f.vw[n.encodedTx.tag]);return H((0,h.pr)(n.encodedTx.tx.encodedTx),{fee:n.encodedTx.fee,gasPrice:n.encodedTx.gasPrice,onNode:r})}function G(e){return new Proxy({},Object.fromEntries(["apply","construct","defineProperty","deleteProperty","getOwnPropertyDescriptor","getPrototypeOf","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf","get","has"].map((t=>[t,function(r){const n=e();for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};(0,s.A)(this,"_options",{}),Object.assign(this._options,e)}_getOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...this._options,onAccount:G((()=>this._options.onAccount)),onNode:G((()=>this._options.onNode)),onCompiler:G((()=>this._options.onCompiler)),...e}}async buildTx(e){return(0,h.B4)({...this._getOptions(),...e})}async initializeContract(e){return D.A.initialize(this._getOptions(e))}}Object.assign(X.prototype,(0,T.s8)(K,(e=>{let[t,r]=e;return[t,function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};super(t),(0,s.A)(this,"pool",new Map),e.forEach(((e,t)=>{let{name:r,instance:n}=e;return this.addNode(r,n,0===t)}))}get compilerApi(){if(null==this._options.onCompiler)throw new c.EC("You can't use Compiler API. Compiler is not ready!");return this._options.onCompiler}get api(){return this.ensureNodeConnected(),this.pool.get(this.selectedNodeName)}addNode(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.pool.has(e))throw new c.qs(e);this.pool.set(e,t),(r||null==this.selectedNodeName)&&this.selectNode(e)}selectNode(e){if(!this.pool.has(e))throw new c._M(`Node with name ${e} not in pool`);this.selectedNodeName=e}isNodeConnected(){return null!=this.selectedNodeName}ensureNodeConnected(){if(!this.isNodeConnected())throw new c._M("You can't use Node API. Node is not connected or not defined!")}async getNodeInfo(){return this.ensureNodeConnected(),{name:this.selectedNodeName,...await this.api.getNodeInfo()}}async getNodesInPool(){return Promise.all(Array.from(this.pool.entries()).map((async e=>{let[t,r]=e;return{name:t,...await r.getNodeInfo()}})))}addresses(){return[]}_resolveAccount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._options.onAccount;if("string"===typeof e)throw new c.EH("Address in AccountResolver");if("object"===typeof e)return e;throw new c.hg(`Account should be an address (ak-prefixed string), or instance of AccountBase, got ${String(e)} instead`)}get address(){return this._resolveAccount().address}async sign(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._resolveAccount(t).sign(e,r)}async signTransaction(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=null!==this.selectedNodeName?await this.api.getNetworkId():void 0;return this._resolveAccount(t).signTransaction(e,{networkId:n,...r})}async signMessage(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._resolveAccount(t).signMessage(e,r)}async signTypedData(e,t){let{onAccount:r,...n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._resolveAccount(r).signTypedData(e,t,n)}async signDelegationToContract(e){var t;let{onAccount:r,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null!==(t=n.networkId)&&void 0!==t||(n.networkId=null!==this.selectedNodeName?await this.api.getNetworkId():void 0),this._resolveAccount(r).signDelegationToContract(e,n)}async signNameDelegationToContract(e,t){var r;let{onAccount:n,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null!==(r=o.networkId)&&void 0!==r||(o.networkId=null!==this.selectedNodeName?await this.api.getNetworkId():void 0),this._resolveAccount(n).signNameDelegationToContract(e,t,o)}async signOracleQueryDelegationToContract(e,t){var r;let{onAccount:n,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null!==(r=o.networkId)&&void 0!==r||(o.networkId=null!==this.selectedNodeName?await this.api.getNetworkId():void 0),this._resolveAccount(n).signOracleQueryDelegationToContract(e,t,o)}_getOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...this._options,onNode:G((()=>this.api)),onCompiler:G((()=>this.compilerApi)),...e,onAccount:G((()=>this._resolveAccount(e.onAccount)))}}}class J extends Q{constructor(){let{accounts:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(t),(0,s.A)(this,"accounts",{}),null===e||void 0===e||e.forEach(((e,t)=>this.addAccount(e,{select:0===t})))}_resolveAccount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectedAddress;if("string"===typeof e){const t=e;if((0,C.D4)(t),null==this.accounts[t])throw new c.OZ(e);e=this.accounts[t]}return super._resolveAccount(e)}addresses(){return Object.keys(this.accounts)}addAccount(e){let{select:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{address:r}=e;this.accounts[r]=e,!0===t&&this.selectAccount(r)}removeAccount(e){if(null==this.accounts[e])throw new c.OZ(e);delete this.accounts[e],this.selectedAddress===e&&delete this.selectedAddress}selectAccount(e){if((0,C.D4)(e),null==this.accounts[e])throw new c.OZ(e);this.selectedAddress=e}}},3798:(e,t,r)=>{"use strict";r.d(t,{A:()=>G});var n=r(48287),o=r(49859),i="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const a={randomUUID:i};var s,c=new Uint8Array(16);function u(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}function h(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();e=e||{};var n=e.random||(e.rng||u)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return f(n)}const p=h;var m=r(60182),g=r(40458),y=r(97058),v=r(14332),b=r(31490),w=r(65626),_=r(89055);function E(e,t){S(e,t),t.add(e)}function A(e,t,r){S(e,t),t.set(e,r)}function S(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function T(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}var x=new WeakMap,C=new WeakMap,I=new WeakMap,O=new WeakSet,P=new WeakSet,k=new WeakSet,N=new WeakSet;class R{constructor(e,t,r){E(this,N),E(this,k),E(this,P),E(this,O),A(this,x,{writable:!0,value:new Map}),A(this,C,{writable:!0,value:0}),A(this,I,{writable:!0,value:void 0}),this.connection=e,(0,v.A)(this,I,r),e.connect(T(this,O,M).bind(this),t)}async request(e,t){return T(this,P,B).call(this,(0,v.A)(this,C,(0,y.A)(this,C)+1),e,t),new Promise(((e,t)=>{(0,y.A)(this,x).set((0,y.A)(this,C),{resolve:e,reject:t})}))}notify(e,t){T(this,P,B).call(this,void 0,e,t)}}async function M(e,t){if("2.0"!==(null===e||void 0===e?void 0:e.jsonrpc))throw new w.Qh(JSON.stringify(e));if("result"in e||"error"in e)return void T(this,N,D).call(this,e);const r=e;let n,o;try{if(!(r.method in(0,y.A)(this,I)))throw new b.OW;const e=r.method;n=await(0,y.A)(this,I)[e](r.params,t)}catch(i){(0,_.$)(i),o=i}if(null!=r.id&&T(this,k,L).call(this,r.id,r.method,n,null==o||o instanceof b.Qc?o:new b.d0),null!=o&&!(o instanceof b.Qc))throw o}function B(e,t,r){this.connection.sendMessage({jsonrpc:"2.0",...null!=e?{id:e}:{},method:t,...null!=r?{params:r}:{}})}function L(e,t,r,n){this.connection.sendMessage({jsonrpc:"2.0",id:e,method:t,...null!=n?{error:n.toJSON()}:{result:r}})}function D(e){let{id:t,error:r,result:n}=e;const o=(0,y.A)(this,x).get(t);if(null==o)throw new w.qB(t);null!=r?o.reject(b.Qc.deserialize(r)):o.resolve(n),(0,y.A)(this,x).delete(t)}const F=1;var j=r(21013),U=r(60346);const $=j({storeAsString:!0}),z=e=>{if("object"===typeof e&&null!==e&&e.constructor===Object)return(0,_.s8)(e,(e=>{let[t,r]=e;return[t,z(r)]}));if(Array.isArray(e))return e.map((e=>z(e)));if("string"===typeof e&&new U.A(e).toString(10)===e){const t=new U.A(e);return t.toJSON=()=>t.toString(10),t}return e},H={stringify:function(){for(var e=arguments.length,t=new Array(e),r=0;rthis._isRpcClientConnected(e))).map((e=>this._getClient(e))).filter((e=>0!==e.addressSubscription.size)).forEach((e=>e.rpc.notify(b.J8.updateAddress,this._getAccountsForClient(e))))}selectAccount(e){super.selectAccount(e),this._pushAccountsToApps()}addAccount(e,t){super.addAccount(e,t),this._pushAccountsToApps()}_getNode(){return this.ensureNodeConnected(),{node:{url:this.api.$host,name:this.selectedNodeName}}}async selectNode(e){super.selectNode(e);const t=await this.api.getNetworkId();Array.from(this._clients.keys()).filter((e=>this._isRpcClientConnected(e))).map((e=>this._getClient(e))).forEach((e=>{e.rpc.notify(b.J8.updateNetwork,{networkId:t,...e.connectNode&&this._getNode()})}))}_getClient(e){const t=this._clients.get(e);if(null==t)throw new w.Jp(e);return t}_isRpcClientConnected(e){return b.fE.CONNECTED===this._getClient(e).status&&this._getClient(e).rpc.connection.isConnected()}_disconnectRpcClient(e){const t=this._getClient(e);t.rpc.connection.disconnect(),t.status=b.fE.DISCONNECTED,t.addressSubscription=new Set}removeRpcClient(e){this._disconnectRpcClient(e),this._clients.delete(e)}addRpcClient(e){const t=p();let r;const n={id:t,status:b.fE.WAITING_FOR_CONNECTION_REQUEST,addressSubscription:new Set,connectNode:!1,rpc:new R(e,(()=>{this._clients.delete(t),this.onDisconnect(t,r)}),{[b.J8.closeConnection]:e=>{r=e,this._disconnectRpcClient(t)},[b.J8.connect]:async(e,r)=>{let{name:o,version:i,icons:a,connectNode:s}=e;if(i!==F)throw new b.B3;return await this.onConnection(t,{name:o,icons:a,connectNode:s},r),n.status=b.fE.CONNECTED,n.connectNode=s,{...await this.getWalletInfo(),...s&&this._getNode()}},[b.J8.subscribeAddress]:async(e,r)=>{let{type:o,value:i}=e;if(!this._isRpcClientConnected(t))throw new b.Iy;switch(o){case b.ej.subscribe:await this.onSubscription(t,{type:o,value:i},r),n.addressSubscription.add(i);break;case b.ej.unsubscribe:n.addressSubscription.delete(i);break;default:throw new w.Gd(`Unknown subscription type: ${o}`)}return{subscription:Array.from(n.addressSubscription),address:this._getAccountsForClient(n)}},[b.J8.address]:async(e,r)=>{if(!this._isRpcClientConnected(t))throw new b.Iy;return await this.onAskAccounts(t,e,r),this.addresses()},[b.J8.sign]:async(e,r)=>{let{tx:n,onAccount:o=this.address,returnSigned:i,innerTx:a}=e;if(!this._isRpcClientConnected(t))throw new b.Iy;if(!this.addresses().includes(o))throw new b.r1(o);const s={onAccount:o,aeppOrigin:r,aeppRpcClientId:t,innerTx:a};if(i||!0===a)return{signedTransaction:await this.signTransaction(n,s)};try{return H.parse(H.stringify({transactionHash:await this.sendTransaction(n,{...s,verify:!1})}))}catch(c){const e=await(0,g.A)(n,this.api);if(e.length>0)throw new b.Zo(e);throw c}},[b.J8.signMessage]:async(e,r)=>{let{message:n,onAccount:o=this.address}=e;if(!this._isRpcClientConnected(t))throw new b.Iy;if(!this.addresses().includes(o))throw new b.r1(o);const i={onAccount:o,aeppOrigin:r,aeppRpcClientId:t};return{signature:V.from(await this.signMessage(n,i)).toString("hex")}},[b.J8.signTypedData]:async(e,r)=>{let{domain:n,aci:o,data:i,onAccount:a=this.address}=e;if(!this._isRpcClientConnected(t))throw new b.Iy;if(!this.addresses().includes(a))throw new b.r1(a);const s={...n,onAccount:a,aeppOrigin:r,aeppRpcClientId:t};return{signature:await this.signTypedData(i,o,s)}},[b.J8.signDelegationToContract]:async(e,r)=>{var n,o;let{contractAddress:i,name:a,oracleQueryId:s,onAccount:c=this.address}=e;if(!this._isRpcClientConnected(t))throw new b.Iy;if(!this.addresses().includes(c))throw new b.r1(c);const u={onAccount:c,aeppOrigin:r,aeppRpcClientId:t},l=await(null!==(n=null!==(o=null==a?null:this.signNameDelegationToContract(i,a,u))&&void 0!==o?o:null==s?null:this.signOracleQueryDelegationToContract(i,s,u))&&void 0!==n?n:this.signDelegationToContract(i,u));return{signature:l}}})};return this._clients.set(t,n),t}async shareWalletInfo(e){this._getClient(e).rpc.notify(b.J8.readyToConnect,await this.getWalletInfo())}async getWalletInfo(){return{id:this.id,name:this.name,networkId:await this.api.getNetworkId(),origin:window.location.origin,type:this._type}}getAccounts(){return{current:null!=this.selectedAddress?{[this.selectedAddress]:{}}:{},connected:this.addresses().filter((e=>e!==this.selectedAddress)).reduce(((e,t)=>({...e,[t]:{}})),{})}}}},46512:(e,t,r)=>{"use strict";r.d(t,{A:()=>Cn});var n={};r.r(n),r.d(n,{Account:()=>Xe,ByteCode:()=>dt,Channel:()=>yt,ChannelCloseMutualTx:()=>Ft,ChannelCloseSoloTx:()=>jt,ChannelCreateTx:()=>Mt,ChannelDepositTx:()=>Bt,ChannelForceProgressTx:()=>Dt,ChannelSetDelegatesTx:()=>Ht,ChannelSettleTx:()=>$t,ChannelSlashTx:()=>Ut,ChannelSnapshotSoloTx:()=>zt,ChannelWithdrawTx:()=>Lt,CheckTxInPoolResponse:()=>nr,CommitmentId:()=>Nt,ContractCallObject:()=>ot,ContractCallTx:()=>Yt,ContractCreateTx:()=>Zt,ContractObject:()=>lt,CountResponse:()=>We,CreateContractUnsignedTx:()=>ur,Delegates:()=>ze,DryRunAccount:()=>Qe,DryRunCallContext:()=>tt,DryRunCallReq:()=>et,DryRunInput:()=>Ye,DryRunInputItem:()=>Je,DryRunResult:()=>nt,DryRunResults:()=>rt,EncodedTx:()=>ct,ErrorModel:()=>Me,Event:()=>it,GAAttachTx:()=>er,GAMetaTx:()=>tr,GAObject:()=>st,Generation:()=>Ke,HashResponse:()=>Le,Header:()=>Re,HeightResponse:()=>De,KeyBlock:()=>Be,MicroBlockHeader:()=>Fe,NameClaimTx:()=>It,NameEntry:()=>gt,NameHash:()=>Rt,NamePointer:()=>qe,NamePreclaimTx:()=>Ct,NameRevokeTx:()=>kt,NameTransferTx:()=>Pt,NameUpdateTx:()=>Ot,NextNonceResponse:()=>Ze,OffChainCallContract:()=>cr,OffChainDeposit:()=>ar,OffChainNewContract:()=>sr,OffChainTransfer:()=>or,OffChainUpdate:()=>He,OffChainWithdrawal:()=>ir,OracleExtendTx:()=>St,OracleQueries:()=>pt,OracleQuery:()=>mt,OracleQueryTx:()=>Tt,OracleRegisterTx:()=>At,OracleRespondTx:()=>xt,PayingForTx:()=>rr,PeerConnections:()=>_t,PeerCount:()=>Wt,PeerCountAvailable:()=>Xt,PeerCountConnected:()=>Kt,PeerDetails:()=>Gt,PeerPubKey:()=>vt,Peers:()=>qt,PoI:()=>ft,PostTxResponse:()=>ut,Protocol:()=>wt,PubKey:()=>Vt,RegisteredOracle:()=>ht,RelativeTTL:()=>Ve,SignedTx:()=>Ue,SignedTxs:()=>je,SpendTx:()=>Et,Status:()=>bt,TokenSupply:()=>Jt,Ttl:()=>Ge,Tx:()=>$e,TxInfoObject:()=>at,UnsignedTx:()=>Qt,discriminators:()=>lr});var o=r(97058),i=r(14332),a=r(60346),s=r(11637),c=r(4105);const u="$",l="_";function d(e){let t="";for(let r=0;r""===c[e].serializedName));if("Sequence"===s||u){const t=null!==(r=e.parsedBody)&&void 0!==r?r:[];for(const r of Object.keys(c))c[r].serializedName&&(t[r]=null===(n=e.parsedBody)||void 0===n?void 0:n[r]);if(o)for(const e of Object.keys(o))t[e]=o[e];return!a||e.parsedBody||o||0!==Object.getOwnPropertyNames(c).length?t:null}return v({body:e.parsedBody,headers:o,hasNullableType:a,shouldWrapBody:h(e.parsedBody,s)})}class w{constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){const n=(e,n)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&void 0!==t&&null!==t){const{ExclusiveMaximum:r,ExclusiveMinimum:o,InclusiveMaximum:i,InclusiveMinimum:a,MaxItems:s,MaxLength:c,MinItems:u,MinLength:l,MultipleOf:d,Pattern:f,UniqueItems:h}=e.constraints;if(void 0!==r&&t>=r&&n("ExclusiveMaximum",r),void 0!==o&&t<=o&&n("ExclusiveMinimum",o),void 0!==i&&t>i&&n("InclusiveMaximum",i),void 0!==a&&ts&&n("MaxItems",s),void 0!==c&&t.length>c&&n("MaxLength",c),void 0!==u&&t.lengthr.indexOf(e)!==t))&&n("UniqueItems",h)}}serialize(e,t,r,n={xml:{}}){var o,i,a;const s={xml:{rootName:null!==(o=n.xml.rootName)&&void 0!==o?o:"",includeRoot:null!==(i=n.xml.includeRoot)&&void 0!==i&&i,xmlCharKey:null!==(a=n.xml.xmlCharKey)&&void 0!==a?a:l}};let c={};const u=e.type.name;r||(r=e.serializedName),null!==u.match(/^Sequence$/i)&&(c=[]),e.isConstant&&(t=e.defaultValue);const{required:d,nullable:f}=e;if(d&&f&&void 0===t)throw new Error(`${r} cannot be undefined.`);if(d&&!f&&(void 0===t||null===t))throw new Error(`${r} cannot be null or undefined.`);if(!d&&!1===f&&null===t)throw new Error(`${r} cannot be null.`);if(void 0===t||null===t)c=t;else if(this.validateConstraints(e,t,r),null!==u.match(/^any$/i))c=t;else if(null!==u.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i))c=I(u,r,t);else if(null!==u.match(/^Enum$/i)){const n=e;c=O(r,n.type.allowedValues,t)}else null!==u.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?c=N(u,t,r):null!==u.match(/^ByteArray$/i)?c=P(r,t):null!==u.match(/^Base64Url$/i)?c=k(r,t):null!==u.match(/^Sequence$/i)?c=R(this,e,t,r,Boolean(this.isXML),s):null!==u.match(/^Dictionary$/i)?c=M(this,e,t,r,Boolean(this.isXML),s):null!==u.match(/^Composite$/i)&&(c=F(this,e,t,r,Boolean(this.isXML),s));return c}deserialize(e,t,r,n={xml:{}}){var o,i,a;const s={xml:{rootName:null!==(o=n.xml.rootName)&&void 0!==o?o:"",includeRoot:null!==(i=n.xml.includeRoot)&&void 0!==i&&i,xmlCharKey:null!==(a=n.xml.xmlCharKey)&&void 0!==a?a:l}};if(void 0===t||null===t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let c;const d=e.type.name;if(r||(r=e.serializedName),null!==d.match(/^Composite$/i))c=$(this,e,t,r,s);else{if(this.isXML){const e=s.xml.xmlCharKey;void 0!==t[u]&&void 0!==t[e]&&(t=t[e])}null!==d.match(/^Number$/i)?(c=parseFloat(t),isNaN(c)&&(c=t)):null!==d.match(/^Boolean$/i)?c="true"===t||"false"!==t&&t:null!==d.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?c=t:null!==d.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?c=new Date(t):null!==d.match(/^UnixTime$/i)?c=C(t):null!==d.match(/^ByteArray$/i)?c=f(t):null!==d.match(/^Base64Url$/i)?c=S(t):null!==d.match(/^Sequence$/i)?c=H(this,e,t,r,s):null!==d.match(/^Dictionary$/i)&&(c=z(this,e,t,r,s))}return e.isConstant&&(c=e.defaultValue),c}}function _(e={},t=!1){return new w(e,t)}function E(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t)--r;return e.substr(0,r)}function A(e){if(!e)return;if(!(e instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");const t=d(e);return E(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function S(e){if(e){if(e&&"string"!==typeof e.valueOf())throw new Error("Please provide an input of type string for converting to Uint8Array");return e=e.replace(/-/g,"+").replace(/_/g,"/"),f(e)}}function T(e){const t=[];let r="";if(e){const n=e.split(".");for(const e of n)"\\"===e.charAt(e.length-1)?r+=e.substr(0,e.length-1)+".":(r+=e,t.push(r),r="")}return t}function x(e){if(e)return"string"===typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}function C(e){if(e)return new Date(1e3*e)}function I(e,t,r){if(null!==r&&void 0!==r)if(null!==e.match(/^Number$/i)){if("number"!==typeof r)throw new Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!==typeof r.valueOf())throw new Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if("string"!==typeof r.valueOf()||!y(r))throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!==typeof r)throw new Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){const e=typeof r;if("string"!==e&&"function"!==typeof r.pipe&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&("function"!==typeof Blob&&"object"!==typeof Blob||!(r instanceof Blob)))throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, or NodeJS.ReadableStream.`)}return r}function O(e,t,r){if(!t)throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);const n=t.some((e=>"string"===typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r));if(!n)throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}function P(e,t){if(void 0!==t&&null!==t){if(!(t instanceof Uint8Array))throw new Error(`${e} must be of type Uint8Array.`);t=d(t)}return t}function k(e,t){if(void 0!==t&&null!==t){if(!(t instanceof Uint8Array))throw new Error(`${e} must be of type Uint8Array.`);t=A(t)}return t}function N(e,t,r){if(void 0!==t&&null!==t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=x(t)}else if(null!==e.match(/^TimeSpan$/i)&&!m(t))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`);return t}function R(e,t,r,n,o,i){var a;if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let s=t.type.element;if(!s||"object"!==typeof s)throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);"Composite"===s.type.name&&s.type.className&&(s=null!==(a=e.modelMappers[s.type.className])&&void 0!==a?a:s);const c=[];for(let l=0;le!==o));s&&(a[o]=e.serialize(c,r[o],n+'["'+o+'"]',i))}}return a}return r}function j(e,t,r,n){if(!r||!e.xmlNamespace)return t;const o=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",i={[o]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[u])return t;{const e=Object.assign({},t);return e[u]=i,e}}const a={};return a[n.xml.xmlCharKey]=t,a[u]=i,a}function U(e,t){return[u,t.xml.xmlCharKey].includes(e)}function $(e,t,r,n,o){var i;G(e,t)&&(t=V(e,t,r,"serializedName"));const a=D(e,t,n);let s={};const c=[];for(const d of Object.keys(a)){const l=a[d],f=T(a[d].serializedName);c.push(f[0]);const{serializedName:h,xmlName:p,xmlElementName:m}=l;let g=n;""!==h&&void 0!==h&&(g=n+"."+h);const y=l.headerCollectionPrefix;if(y){const t={};for(const n of Object.keys(r))n.startsWith(y)&&(t[n.substring(y.length)]=e.deserialize(l.type.value,r[n],g,o)),c.push(n);s[d]=t}else if(e.isXML)if(l.xmlIsAttribute&&r[u])s[d]=e.deserialize(l,r[u][p],g,o);else{const t=m||p||h;if(l.xmlIsWrapped){const t=r[p],n=null!==(i=null===t||void 0===t?void 0:t[m])&&void 0!==i?i:[];s[d]=e.deserialize(l,n,g,o)}else{const n=r[t];s[d]=e.deserialize(l,n,g,o)}}else{let n,i=r;for(const e of f){if(!i)break;i=i[e]}n=i;const c=t.type.polymorphicDiscriminator;let u;if(!c||d!==c.clientName||void 0!==n&&null!==n||(n=t.serializedName),Array.isArray(r[d])&&""===a[d].serializedName){n=r[d];const t=e.deserialize(l,n,g,o);for(const[e,r]of Object.entries(s))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);s=t}else void 0===n&&void 0===l.defaultValue||(u=e.deserialize(l,n,g,o),s[d]=u)}}const l=t.type.additionalProperties;if(l){const t=e=>{for(const t in a){const r=T(a[t].serializedName);if(r[0]===e)return!1}return!0};for(const i in r)t(i)&&(s[i]=e.deserialize(l,r[i],n+'["'+i+'"]',o))}else if(r)for(const u of Object.keys(r))void 0!==s[u]||c.includes(u)||U(u,o)||(s[u]=r[u]);return s}function z(e,t,r,n,o){const i=t.type.value;if(!i||"object"!==typeof i)throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){const t={};for(const a of Object.keys(r))t[a]=e.deserialize(i,r[a],n,o);return t}return r}function H(e,t,r,n,o){var i;let a=t.type.element;if(!a||"object"!==typeof a)throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===a.type.name&&a.type.className&&(a=null!==(i=e.modelMappers[a.type.className])&&void 0!==i?i:a);const t=[];for(let i=0;i0)if(o.isConstant)i=o.defaultValue;else{let t=X(e,n);!t.propertyFound&&r&&(t=X(r,n));let a=!1;t.propertyFound||(a=o.required||"options"===n[0]&&2===n.length),i=a?o.defaultValue:t.propertyValue}}else{o.required&&(i={});for(const t in n){const a=o.type.modelProperties[t],s=n[t],c=K(e,{parameterPath:s,mapper:a},r);void 0!==c&&(i||(i={}),i[t]=c)}}return i}function X(e,t){const r={propertyFound:!1};let n=0;for(;n=200&&r.status<300);u.headersMapper&&(i.parsedHeaders=s.serializer.deserialize(u.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders"))}return i}function ie(e){const t=Object.keys(e.responses);return 0===t.length||1===t.length&&"default"===t[0]}function ae(e,t,r){var n;const o=200<=e.status&&e.status<300,i=ie(t)?o:!!r;if(i){if(!r)return{error:null,shouldReturnResponse:!1};if(!r.isError)return{error:null,shouldReturnResponse:!1}}const a=null!==r&&void 0!==r?r:t.responses.default,s=(null===(n=e.request.streamResponseStatusCodes)||void 0===n?void 0:n.has(e.status))?`Unexpected status code: ${e.status}`:e.bodyAsText,u=new c.pj(s,{statusCode:e.status,request:e.request,response:e});if(!a)throw u;const l=a.bodyMapper,d=a.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let n;if(l){let e=r;if(t.isXML&&l.type.name===W.Sequence){e=[];const t=l.xmlElementName;"object"===typeof r&&t&&(e=r[t])}n=t.serializer.deserialize(l,e,"error.response.parsedBody")}const o=r.error||n||r;u.code=o.code,o.message&&(u.message=o.message),l&&(u.response.parsedBody=n)}e.headers&&d&&(u.response.parsedHeaders=t.serializer.deserialize(d,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(f){u.message=`Error "${f.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:u,shouldReturnResponse:!1}}async function se(e,t,r,n,o){var i;if(!(null===(i=r.request.streamResponseStatusCodes)||void 0===i?void 0:i.has(r.status))&&r.bodyAsText){const i=r.bodyAsText,s=r.headers.get("Content-Type")||"",u=s?s.split(";").map((e=>e.toLowerCase())):[];try{if(0===u.length||u.some((t=>-1!==e.indexOf(t))))return r.parsedBody=JSON.parse(i),r;if(u.some((e=>-1!==t.indexOf(e)))){if(!o)throw new Error("Parsing XML not supported.");const e=await o(i,n.xml);return r.parsedBody=e,r}}catch(a){const e=`Error "${a}" occurred while parsing the response body - ${r.bodyAsText}.`,t=a.code||c.pj.PARSE_ERROR,n=new c.pj(e,{code:t,statusCode:r.status,request:r.request,response:r});throw n}}return r}function ce(e){const t=new Set;for(const r in e.responses){const n=e.responses[r];n.bodyMapper&&n.bodyMapper.type.name===W.Stream&&t.add(Number(r))}return t}function ue(e){const{parameterPath:t,mapper:r}=e;let n;return n="string"===typeof t?t:Array.isArray(t)?t.join("."):r.serializedName,n}const le="serializationPolicy";function de(e={}){const t=e.stringifyXML;return{name:le,async sendRequest(e,r){const n=Y(e),o=null===n||void 0===n?void 0:n.operationSpec,i=null===n||void 0===n?void 0:n.operationArguments;return o&&i&&(fe(e,i,o),he(e,i,o,t)),r(e)}}}function fe(e,t,r){var n,o;if(r.headerParameters)for(const a of r.headerParameters){let n=K(t,a);if(null!==n&&void 0!==n||a.mapper.required){n=r.serializer.serialize(a.mapper,n,ue(a));const t=a.mapper.headerCollectionPrefix;if(t)for(const r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(a.mapper.serializedName||ue(a),n)}}const i=null===(o=null===(n=t.options)||void 0===n?void 0:n.requestOptions)||void 0===o?void 0:o.customHeaders;if(i)for(const a of Object.keys(i))e.headers.set(a,i[a])}function he(e,t,r,n=function(){throw new Error("XML serialization unsupported!")}){var o,i,a,s,c;const u=null===(o=t.options)||void 0===o?void 0:o.serializerOptions,d={xml:{rootName:null!==(i=null===u||void 0===u?void 0:u.xml.rootName)&&void 0!==i?i:"",includeRoot:null!==(a=null===u||void 0===u?void 0:u.xml.includeRoot)&&void 0!==a&&a,xmlCharKey:null!==(s=null===u||void 0===u?void 0:u.xml.xmlCharKey)&&void 0!==s?s:l}},f=d.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=K(t,r.requestBody);const o=r.requestBody.mapper,{required:i,serializedName:a,xmlName:s,xmlElementName:u,xmlNamespace:l,xmlNamespacePrefix:p,nullable:m}=o,g=o.type.name;try{if(void 0!==e.body&&null!==e.body||m&&null===e.body||i){const t=ue(r.requestBody);e.body=r.serializer.serialize(o,e.body,t,d);const i=g===W.Stream;if(r.isXML){const t=p?`xmlns:${p}`:"xmlns",r=pe(l,t,g,e.body,d);g===W.Sequence?e.body=n(me(r,u||s||a,t,l),{rootName:s||a,xmlCharKey:f}):i||(e.body=n(r,{rootName:s||a,xmlCharKey:f}))}else{if(g===W.String&&((null===(c=r.contentType)||void 0===c?void 0:c.match("text/plain"))||"text"===r.mediaType))return;i||(e.body=JSON.stringify(e.body))}}}catch(h){throw new Error(`Error "${h.message}" occurred in serializing the payload - ${JSON.stringify(a,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const n of r.formDataParameters){const o=K(t,n);if(void 0!==o&&null!==o){const t=n.mapper.serializedName||ue(n);e.formData[t]=r.serializer.serialize(n.mapper,o,ue(n),d)}}}}function pe(e,t,r,n,o){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};return r[o.xml.xmlCharKey]=n,r[u]={[t]:e},r}return n}function me(e,t,r,n){if(Array.isArray(e)||(e=[e]),!r||!n)return{[t]:e};const o={[t]:e};return o[u]={[r]:n},o}function ge(e={}){const t=(0,c.Fp)(null!==e&&void 0!==e?e:{});return e.credentialOptions&&t.addPolicy((0,c.N$)({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),t.addPolicy(de(e.serializationOptions),{phase:"Serialize"}),t.addPolicy(te(e.deserializationOptions),{phase:"Deserialize"}),t}let ye;function ve(){return ye||(ye=(0,c.fl)()),ye}const be={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function we(e,t,r,n){const o=Ee(t,r,n);let i=!1,a=_e(e,o);if(t.path){let e=_e(t.path,o);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),Ae(e)?(a=e,i=!0):a=Se(a,e)}const{queryParams:s,sequenceParams:c}=Te(t,r,n);return a=Ce(a,s,c,i),a}function _e(e,t){let r=e;for(const[n,o]of t)r=r.split(n).join(o);return r}function Ee(e,t,r){var n;const o=new Map;if(null===(n=e.urlParameters)||void 0===n?void 0:n.length)for(const i of e.urlParameters){let n=K(t,i,r);const a=ue(i);n=e.serializer.serialize(i.mapper,n,a),i.skipEncoding||(n=encodeURIComponent(n)),o.set(`{${i.mapper.serializedName||a}}`,n)}return o}function Ae(e){return e.includes("://")}function Se(e,t){if(!t)return e;const r=new URL(e);let n=r.pathname;n.endsWith("/")||(n=`${n}/`),t.startsWith("/")&&(t=t.substring(1));const o=t.indexOf("?");if(-1!==o){const e=t.substring(0,o),i=t.substring(o+1);n+=e,i&&(r.search=r.search?`${r.search}&${i}`:i)}else n+=t;return r.pathname=n,r.toString()}function Te(e,t,r){var n;const o=new Map,i=new Set;if(null===(n=e.queryParameters)||void 0===n?void 0:n.length)for(const a of e.queryParameters){"Sequence"===a.mapper.type.name&&a.mapper.serializedName&&i.add(a.mapper.serializedName);let n=K(t,a,r);if(void 0!==n&&null!==n||a.mapper.required){n=e.serializer.serialize(a.mapper,n,ue(a));const t=a.collectionFormat?be[a.collectionFormat]:"";if(Array.isArray(n)&&(n=n.map((e=>null===e||void 0===e?"":e))),"Multi"===a.collectionFormat&&0===n.length)continue;!Array.isArray(n)||"SSV"!==a.collectionFormat&&"TSV"!==a.collectionFormat||(n=n.join(t)),a.skipEncoding||(n=Array.isArray(n)?n.map((e=>encodeURIComponent(e))):encodeURIComponent(n)),!Array.isArray(n)||"CSV"!==a.collectionFormat&&"Pipes"!==a.collectionFormat||(n=n.join(t)),o.set(a.mapper.serializedName||ue(a),n)}}return{queryParams:o,sequenceParams:i}}function xe(e){const t=new Map;if(!e||"?"!==e[0])return t;e=e.slice(1);const r=e.split("&");for(const n of r){const[e,r]=n.split("=",2),o=t.get(e);o?Array.isArray(o)?o.push(r):t.set(e,[o,r]):t.set(e,r)}return t}function Ce(e,t,r,n=!1){if(0===t.size)return e;const o=new URL(e),i=xe(o.search);for(const[s,c]of t){const e=i.get(s);if(Array.isArray(e))if(Array.isArray(c)){e.push(...c);const t=new Set(e);i.set(s,Array.from(t))}else e.push(c);else e?(Array.isArray(c)?c.unshift(e):r.has(s)&&i.set(s,[e,c]),n||i.set(s,c)):i.set(s,c)}const a=[];for(const[s,c]of i)if("string"===typeof c)a.push(`${s}=${c}`);else if(Array.isArray(c))for(const e of c)a.push(`${s}=${e}`);else a.push(`${s}=${c}`);return o.search=a.length?`?${a.join("&")}`:"",o.toString()}var Ie=r(73654);const Oe=(0,Ie.KV)("core-client");class Pe{constructor(e={}){var t,r;if(this._requestContentType=e.requestContentType,this._endpoint=null!==(t=e.endpoint)&&void 0!==t?t:e.baseUri,e.baseUri&&Oe.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||ve(),this.pipeline=e.pipeline||ke(e),null===(r=e.additionalPolicies)||void 0===r?void 0:r.length)for(const{policy:n,position:o}of e.additionalPolicies){const e="perRetry"===o?"Sign":void 0;this.pipeline.addPolicy(n,{afterPhase:e})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");const n=we(r,t,e,this),o=(0,c.G6)({url:n});o.method=t.httpMethod;const i=Y(o);i.operationSpec=t,i.operationArguments=e;const a=t.contentType||this._requestContentType;a&&t.requestBody&&o.headers.set("Content-Type",a);const s=e.options;if(s){const e=s.requestOptions;e&&(e.timeout&&(o.timeout=e.timeout),e.onUploadProgress&&(o.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(o.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(o.allowInsecureConnection=!0)),s.abortSignal&&(o.abortSignal=s.abortSignal),s.tracingOptions&&(o.tracingOptions=s.tracingOptions)}this._allowInsecureConnection&&(o.allowInsecureConnection=!0),void 0===o.streamResponseStatusCodes&&(o.streamResponseStatusCodes=ce(t));try{const e=await this.sendRequest(o),r=b(e,t.responses[e.status]);return(null===s||void 0===s?void 0:s.onResponse)&&s.onResponse(e,r),r}catch(u){if("object"===typeof u&&(null===u||void 0===u?void 0:u.response)){const e=u.response,r=b(e,t.responses[u.statusCode]||t.responses["default"]);u.details=r,(null===s||void 0===s?void 0:s.onResponse)&&s.onResponse(e,r,u)}throw u}}}function ke(e){const t=Ne(e),r=e.credential&&t?{credentialScopes:t,credential:e.credential}:void 0;return ge(Object.assign(Object.assign({},e),{credentialOptions:r}))}function Ne(e){if(e.credentialScopes){const t=e.credentialScopes;return Array.isArray(t)?t.map((e=>new URL(e).toString())):new URL(t).toString()}if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential&&!e.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}const Re={type:{name:"Composite",className:"Header",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},miner:{serializedName:"miner",type:{name:"String"}},beneficiary:{serializedName:"beneficiary",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},pow:{constraints:{MinItems:42,MaxItems:42},serializedName:"pow",type:{name:"Sequence",element:{type:{name:"String"}}}},nonce:{serializedName:"nonce",type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},info:{serializedName:"info",type:{name:"String"}},pofHash:{serializedName:"pof_hash",type:{name:"String"}},txsHash:{serializedName:"txs_hash",type:{name:"String"}},signature:{serializedName:"signature",type:{name:"String"}}}}},Me={type:{name:"Composite",className:"ErrorModel",modelProperties:{reason:{serializedName:"reason",required:!0,type:{name:"String"}}}}},Be={type:{name:"Composite",className:"KeyBlock",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},miner:{serializedName:"miner",required:!0,type:{name:"String"}},beneficiary:{serializedName:"beneficiary",required:!0,type:{name:"String"}},target:{serializedName:"target",required:!0,type:{name:"String"}},pow:{constraints:{MinItems:42,MaxItems:42},serializedName:"pow",type:{name:"Sequence",element:{type:{name:"String"}}}},nonce:{serializedName:"nonce",type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},info:{serializedName:"info",required:!0,type:{name:"String"}}}}},Le={type:{name:"Composite",className:"HashResponse",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}}}}},De={type:{name:"Composite",className:"HeightResponse",modelProperties:{height:{serializedName:"height",required:!0,type:{name:"String"}}}}},Fe={type:{name:"Composite",className:"MicroBlockHeader",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},pofHash:{serializedName:"pof_hash",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},txsHash:{serializedName:"txs_hash",required:!0,type:{name:"String"}},signature:{serializedName:"signature",required:!0,type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}}}}},je={type:{name:"Composite",className:"SignedTxs",modelProperties:{transactions:{serializedName:"transactions",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedTx"}}}}}}},Ue={type:{name:"Composite",className:"SignedTx",modelProperties:{tx:{serializedName:"tx",type:{name:"Composite",className:"Tx"}},blockHeight:{serializedName:"block_height",required:!0,type:{name:"String"}},blockHash:{serializedName:"block_hash",required:!0,type:{name:"String"}},hash:{serializedName:"hash",required:!0,type:{name:"String"}},signatures:{serializedName:"signatures",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},$e={serializedName:"Tx",type:{name:"Composite",className:"Tx",uberParent:"Tx",polymorphicDiscriminator:{serializedName:"type",clientName:"type"},modelProperties:{recipientId:{serializedName:"recipient_id",type:{name:"String"}},amount:{serializedName:"amount",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},payload:{serializedName:"payload",type:{name:"String"}},initiatorId:{serializedName:"initiator_id",type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",type:{name:"String"}},responderId:{serializedName:"responder_id",type:{name:"String"}},responderAmount:{serializedName:"responder_amount",type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",type:{name:"String"}},lockPeriod:{serializedName:"lock_period",type:{name:"String"}},stateHash:{serializedName:"state_hash",type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}},channelId:{serializedName:"channel_id",type:{name:"String"}},fromId:{serializedName:"from_id",type:{name:"String"}},round:{serializedName:"round",type:{name:"String"}},toId:{serializedName:"to_id",type:{name:"String"}},update:{serializedName:"update",type:{name:"Composite",className:"OffChainUpdate"}},offchainTrees:{serializedName:"offchain_trees",type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",type:{name:"String"}},poi:{serializedName:"poi",type:{name:"String"}},initiatorDelegateIds:{serializedName:"initiator_delegate_ids",type:{name:"Sequence",element:{type:{name:"String"}}}},responderDelegateIds:{serializedName:"responder_delegate_ids",type:{name:"Sequence",element:{type:{name:"String"}}}},queryFormat:{serializedName:"query_format",type:{name:"String"}},responseFormat:{serializedName:"response_format",type:{name:"String"}},queryFee:{serializedName:"query_fee",type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"RelativeTTL"}},accountId:{serializedName:"account_id",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}},oracleId:{serializedName:"oracle_id",type:{name:"String"}},query:{serializedName:"query",type:{name:"String"}},queryTtl:{serializedName:"query_ttl",type:{name:"Composite",className:"Ttl"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},queryId:{serializedName:"query_id",type:{name:"String"}},response:{serializedName:"response",type:{name:"String"}},commitmentId:{serializedName:"commitment_id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},nameSalt:{serializedName:"name_salt",type:{name:"String"}},nameFee:{serializedName:"name_fee",type:{name:"String"}},nameId:{serializedName:"name_id",type:{name:"String"}},nameTtl:{serializedName:"name_ttl",type:{name:"String"}},pointers:{serializedName:"pointers",type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}},clientTtl:{serializedName:"client_ttl",type:{name:"String"}},ownerId:{serializedName:"owner_id",type:{name:"String"}},code:{serializedName:"code",type:{name:"String"}},vmVersion:{serializedName:"vm_version",type:{name:"String"}},deposit:{serializedName:"deposit",type:{name:"String"}},gas:{serializedName:"gas",type:{name:"String"}},gasPrice:{serializedName:"gas_price",type:{name:"String"}},callData:{serializedName:"call_data",type:{name:"String"}},callerId:{serializedName:"caller_id",type:{name:"String"}},contractId:{serializedName:"contract_id",type:{name:"String"}},authFun:{constraints:{Pattern:new RegExp("^(0x|0X)?[a-fA-F0-9]+$")},serializedName:"auth_fun",type:{name:"String"}},gaId:{serializedName:"ga_id",type:{name:"String"}},authData:{serializedName:"auth_data",type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}},payerId:{serializedName:"payer_id",type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},type:{serializedName:"type",required:!0,type:{name:"Enum",allowedValues:["SpendTx","ChannelCreateTx","ChannelDepositTx","ChannelWithdrawTx","ChannelForceProgressTx","ChannelCloseMutualTx","ChannelCloseSoloTx","ChannelSlashTx","ChannelSettleTx","ChannelSnapshotSoloTx","ChannelSetDelegatesTx","OracleRegisterTx","OracleExtendTx","OracleQueryTx","OracleRespondTx","NamePreclaimTx","NameClaimTx","NameUpdateTx","NameTransferTx","NameRevokeTx","ContractCreateTx","ContractCallTx","GAAttachTx","GAMetaTx","PayingForTx"]}}}}},ze={type:{name:"Composite",className:"Delegates",modelProperties:{initiator:{serializedName:"initiator",type:{name:"Sequence",element:{type:{name:"String"}}}},responder:{serializedName:"responder",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},He={type:{name:"Composite",className:"OffChainUpdate",uberParent:"OffChainUpdate",polymorphicDiscriminator:{serializedName:"op",clientName:"op"},modelProperties:{op:{serializedName:"op",required:!0,type:{name:"String"}}}}},Ve={type:{name:"Composite",className:"RelativeTTL",modelProperties:{type:{defaultValue:"delta",isConstant:!0,serializedName:"type",type:{name:"String"}},value:{serializedName:"value",required:!0,type:{name:"String"}}}}},Ge={type:{name:"Composite",className:"Ttl",modelProperties:{type:{serializedName:"type",required:!0,type:{name:"Enum",allowedValues:["delta","block"]}},value:{serializedName:"value",required:!0,type:{name:"String"}}}}},qe={type:{name:"Composite",className:"NamePointer",modelProperties:{key:{serializedName:"key",required:!0,type:{name:"String"}},id:{serializedName:"id",required:!0,type:{name:"String"}}}}},We={type:{name:"Composite",className:"CountResponse",modelProperties:{count:{serializedName:"count",required:!0,type:{name:"String"}}}}},Ke={type:{name:"Composite",className:"Generation",modelProperties:{keyBlock:{serializedName:"key_block",type:{name:"Composite",className:"KeyBlock"}},microBlocks:{serializedName:"micro_blocks",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},Xe={type:{name:"Composite",className:"Account",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},balance:{serializedName:"balance",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},payable:{serializedName:"payable",type:{name:"Boolean"}},kind:{serializedName:"kind",type:{name:"Enum",allowedValues:["basic","generalized"]}},contractId:{serializedName:"contract_id",type:{name:"String"}},authFun:{serializedName:"auth_fun",type:{name:"String"}}}}},Ze={type:{name:"Composite",className:"NextNonceResponse",modelProperties:{nextNonce:{serializedName:"next_nonce",required:!0,type:{name:"String"}}}}},Ye={type:{name:"Composite",className:"DryRunInput",modelProperties:{top:{serializedName:"top",type:{name:"String"}},accounts:{serializedName:"accounts",type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunAccount"}}}},txs:{serializedName:"txs",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunInputItem"}}}},txEvents:{defaultValue:!1,serializedName:"tx_events",type:{name:"Boolean"}}}}},Qe={type:{name:"Composite",className:"DryRunAccount",modelProperties:{pubKey:{serializedName:"pub_key",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},Je={type:{name:"Composite",className:"DryRunInputItem",modelProperties:{tx:{serializedName:"tx",type:{name:"String"}},callReq:{serializedName:"call_req",type:{name:"Composite",className:"DryRunCallReq"}}}}},et={type:{name:"Composite",className:"DryRunCallReq",modelProperties:{calldata:{serializedName:"calldata",required:!0,type:{name:"String"}},contract:{serializedName:"contract",required:!0,type:{name:"String"}},amount:{serializedName:"amount",type:{name:"String"}},gas:{serializedName:"gas",type:{name:"String"}},caller:{serializedName:"caller",type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}},context:{serializedName:"context",type:{name:"Composite",className:"DryRunCallContext"}}}}},tt={type:{name:"Composite",className:"DryRunCallContext",modelProperties:{tx:{serializedName:"tx",type:{name:"String"}},txHash:{serializedName:"tx_hash",type:{name:"String"}},stateful:{serializedName:"stateful",type:{name:"Boolean"}}}}},rt={type:{name:"Composite",className:"DryRunResults",modelProperties:{results:{serializedName:"results",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunResult"}}}},txEvents:{serializedName:"tx_events",type:{name:"Sequence",element:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}}}}},nt={type:{name:"Composite",className:"DryRunResult",modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},result:{serializedName:"result",required:!0,type:{name:"String"}},reason:{serializedName:"reason",type:{name:"String"}},callObj:{serializedName:"call_obj",type:{name:"Composite",className:"ContractCallObject"}}}}},ot={type:{name:"Composite",className:"ContractCallObject",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},callerNonce:{serializedName:"caller_nonce",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},gasUsed:{serializedName:"gas_used",required:!0,type:{name:"String"}},log:{serializedName:"log",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Event"}}}},returnValue:{serializedName:"return_value",required:!0,type:{name:"String"}},returnType:{serializedName:"return_type",required:!0,type:{name:"Enum",allowedValues:["ok","error","revert"]}}}}},it={type:{name:"Composite",className:"Event",modelProperties:{address:{serializedName:"address",required:!0,type:{name:"String"}},topics:{serializedName:"topics",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},data:{serializedName:"data",required:!0,type:{name:"String"}}}}},at={type:{name:"Composite",className:"TxInfoObject",modelProperties:{callInfo:{serializedName:"call_info",type:{name:"Composite",className:"ContractCallObject"}},gaInfo:{serializedName:"ga_info",type:{name:"Composite",className:"GAObject"}},txInfo:{serializedName:"tx_info",type:{name:"String"}}}}},st={type:{name:"Composite",className:"GAObject",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},gasUsed:{serializedName:"gas_used",required:!0,type:{name:"String"}},returnValue:{serializedName:"return_value",required:!0,type:{name:"String"}},returnType:{serializedName:"return_type",required:!0,type:{name:"Enum",allowedValues:["ok","error"]}},innerObject:{serializedName:"inner_object",type:{name:"Composite",className:"TxInfoObject"}}}}},ct={type:{name:"Composite",className:"EncodedTx",modelProperties:{tx:{serializedName:"tx",required:!0,type:{name:"String"}}}}},ut={type:{name:"Composite",className:"PostTxResponse",modelProperties:{txHash:{serializedName:"tx_hash",required:!0,type:{name:"String"}}}}},lt={type:{name:"Composite",className:"ContractObject",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},active:{serializedName:"active",required:!0,type:{name:"Boolean"}},referrerIds:{serializedName:"referrer_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}}}}},dt={type:{name:"Composite",className:"ByteCode",modelProperties:{bytecode:{serializedName:"bytecode",required:!0,type:{name:"String"}}}}},ft={type:{name:"Composite",className:"PoI",modelProperties:{poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},ht={type:{name:"Composite",className:"RegisteredOracle",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},queryFormat:{serializedName:"query_format",required:!0,type:{name:"String"}},responseFormat:{serializedName:"response_format",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}}}}},pt={type:{name:"Composite",className:"OracleQueries",modelProperties:{oracleQueries:{serializedName:"oracle_queries",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OracleQuery"}}}}}}},mt={type:{name:"Composite",className:"OracleQuery",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},senderNonce:{serializedName:"sender_nonce",required:!0,type:{name:"String"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},query:{serializedName:"query",required:!0,type:{name:"String"}},response:{serializedName:"response",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"Ttl"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}}}}},gt={type:{name:"Composite",className:"NameEntry",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},owner:{serializedName:"owner",type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},pointers:{serializedName:"pointers",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}}}}},yt={type:{name:"Composite",className:"Channel",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},initiatorId:{serializedName:"initiator_id",required:!0,type:{name:"String"}},responderId:{serializedName:"responder_id",required:!0,type:{name:"String"}},channelAmount:{serializedName:"channel_amount",required:!0,type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",required:!0,type:{name:"String"}},responderAmount:{serializedName:"responder_amount",required:!0,type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",required:!0,type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},soloRound:{serializedName:"solo_round",required:!0,type:{name:"String"}},lockPeriod:{serializedName:"lock_period",required:!0,type:{name:"String"}},lockedUntil:{serializedName:"locked_until",required:!0,type:{name:"String"}}}}},vt={type:{name:"Composite",className:"PeerPubKey",modelProperties:{pubkey:{serializedName:"pubkey",required:!0,type:{name:"String"}}}}},bt={type:{name:"Composite",className:"Status",modelProperties:{genesisKeyBlockHash:{serializedName:"genesis_key_block_hash",required:!0,type:{name:"String"}},solutions:{serializedName:"solutions",required:!0,type:{name:"String"}},difficulty:{serializedName:"difficulty",required:!0,type:{name:"String"}},syncing:{serializedName:"syncing",required:!0,type:{name:"Boolean"}},syncProgress:{constraints:{InclusiveMaximum:100,InclusiveMinimum:0},serializedName:"sync_progress",type:{name:"Number"}},listening:{serializedName:"listening",required:!0,type:{name:"Boolean"}},protocols:{serializedName:"protocols",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Protocol"}}}},nodeVersion:{serializedName:"node_version",required:!0,type:{name:"String"}},nodeRevision:{serializedName:"node_revision",required:!0,type:{name:"String"}},peerCount:{serializedName:"peer_count",required:!0,type:{name:"String"}},peerConnections:{serializedName:"peer_connections",type:{name:"Composite",className:"PeerConnections"}},pendingTransactionsCount:{serializedName:"pending_transactions_count",required:!0,type:{name:"String"}},networkId:{serializedName:"network_id",required:!0,type:{name:"String"}},peerPubkey:{serializedName:"peer_pubkey",required:!0,type:{name:"String"}},topKeyBlockHash:{serializedName:"top_key_block_hash",required:!0,type:{name:"String"}},topBlockHeight:{serializedName:"top_block_height",required:!0,type:{name:"String"}}}}},wt={type:{name:"Composite",className:"Protocol",modelProperties:{version:{serializedName:"version",required:!0,type:{name:"String"}},effectiveAtHeight:{serializedName:"effective_at_height",required:!0,type:{name:"String"}}}}},_t={type:{name:"Composite",className:"PeerConnections",modelProperties:{inbound:{serializedName:"inbound",required:!0,type:{name:"String"}},outbound:{serializedName:"outbound",required:!0,type:{name:"String"}}}}},Et={type:{name:"Composite",className:"SpendTx",modelProperties:{recipientId:{serializedName:"recipient_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}}}}},At={type:{name:"Composite",className:"OracleRegisterTx",modelProperties:{queryFormat:{serializedName:"query_format",required:!0,type:{name:"String"}},responseFormat:{serializedName:"response_format",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"Ttl"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}}}}},St={type:{name:"Composite",className:"OracleExtendTx",modelProperties:{fee:{serializedName:"fee",required:!0,type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"RelativeTTL"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}}}}},Tt={type:{name:"Composite",className:"OracleQueryTx",modelProperties:{oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},query:{serializedName:"query",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},queryTtl:{serializedName:"query_ttl",type:{name:"Composite",className:"Ttl"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},xt={type:{name:"Composite",className:"OracleRespondTx",modelProperties:{queryId:{serializedName:"query_id",required:!0,type:{name:"String"}},response:{serializedName:"response",required:!0,type:{name:"String"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Ct={type:{name:"Composite",className:"NamePreclaimTx",modelProperties:{commitmentId:{serializedName:"commitment_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},It={type:{name:"Composite",className:"NameClaimTx",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},nameSalt:{serializedName:"name_salt",required:!0,type:{name:"String"}},nameFee:{serializedName:"name_fee",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Ot={type:{name:"Composite",className:"NameUpdateTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},nameTtl:{serializedName:"name_ttl",required:!0,type:{name:"String"}},pointers:{serializedName:"pointers",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}},clientTtl:{serializedName:"client_ttl",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Pt={type:{name:"Composite",className:"NameTransferTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},recipientId:{serializedName:"recipient_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},kt={type:{name:"Composite",className:"NameRevokeTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Nt={type:{name:"Composite",className:"CommitmentId",modelProperties:{commitmentId:{serializedName:"commitment_id",required:!0,type:{name:"String"}}}}},Rt={type:{name:"Composite",className:"NameHash",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}}}}},Mt={type:{name:"Composite",className:"ChannelCreateTx",modelProperties:{initiatorId:{serializedName:"initiator_id",required:!0,type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",required:!0,type:{name:"String"}},responderId:{serializedName:"responder_id",required:!0,type:{name:"String"}},responderAmount:{serializedName:"responder_amount",required:!0,type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",required:!0,type:{name:"String"}},lockPeriod:{serializedName:"lock_period",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}}}}},Bt={type:{name:"Composite",className:"ChannelDepositTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}}}}},Lt={type:{name:"Composite",className:"ChannelWithdrawTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},toId:{serializedName:"to_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}}}}},Dt={type:{name:"Composite",className:"ChannelForceProgressTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},update:{serializedName:"update",type:{name:"Composite",className:"OffChainUpdate"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},offchainTrees:{serializedName:"offchain_trees",type:{name:"String"}}}}},Ft={type:{name:"Composite",className:"ChannelCloseMutualTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",required:!0,type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}}}}},jt={type:{name:"Composite",className:"ChannelCloseSoloTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},Ut={type:{name:"Composite",className:"ChannelSlashTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},$t={type:{name:"Composite",className:"ChannelSettleTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",required:!0,type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}}}}},zt={type:{name:"Composite",className:"ChannelSnapshotSoloTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Ht={type:{name:"Composite",className:"ChannelSetDelegatesTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorDelegateIds:{serializedName:"initiator_delegate_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},responderDelegateIds:{serializedName:"responder_delegate_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Vt={type:{name:"Composite",className:"PubKey",modelProperties:{pubKey:{serializedName:"pub_key",required:!0,type:{name:"String"}}}}},Gt={type:{name:"Composite",className:"PeerDetails",modelProperties:{host:{serializedName:"host",required:!0,type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"String"}},firstSeen:{serializedName:"first_seen",required:!0,type:{name:"String"}},lastSeen:{serializedName:"last_seen",required:!0,type:{name:"String"}},genesisHash:{serializedName:"genesis_hash",required:!0,type:{name:"String"}},topHash:{serializedName:"top_hash",required:!0,type:{name:"String"}},topDifficulty:{serializedName:"top_difficulty",required:!0,type:{name:"String"}},networkId:{serializedName:"network_id",type:{name:"String"}},nodeVersion:{serializedName:"node_version",type:{name:"String"}},nodeRevision:{serializedName:"node_revision",type:{name:"String"}},nodeVendor:{serializedName:"node_vendor",type:{name:"String"}},nodeOs:{serializedName:"node_os",type:{name:"String"}}}}},qt={type:{name:"Composite",className:"Peers",modelProperties:{peers:{serializedName:"peers",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},blocked:{serializedName:"blocked",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},Wt={type:{name:"Composite",className:"PeerCount",modelProperties:{connected:{serializedName:"connected",type:{name:"Composite",className:"PeerCountConnected"}},available:{serializedName:"available",type:{name:"Composite",className:"PeerCountAvailable"}},blocked:{serializedName:"blocked",required:!0,type:{name:"String"}}}}},Kt={type:{name:"Composite",className:"PeerCountConnected",modelProperties:{inbound:{serializedName:"inbound",type:{name:"String"}},outbound:{serializedName:"outbound",type:{name:"String"}}}}},Xt={type:{name:"Composite",className:"PeerCountAvailable",modelProperties:{verified:{serializedName:"verified",type:{name:"String"}},unverified:{serializedName:"unverified",type:{name:"String"}}}}},Zt={type:{name:"Composite",className:"ContractCreateTx",modelProperties:{ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},code:{serializedName:"code",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},Yt={type:{name:"Composite",className:"ContractCallTx",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},Qt={type:{name:"Composite",className:"UnsignedTx",modelProperties:{tx:{serializedName:"tx",required:!0,type:{name:"String"}}}}},Jt={type:{name:"Composite",className:"TokenSupply",modelProperties:{accounts:{serializedName:"accounts",type:{name:"String"}},contracts:{serializedName:"contracts",type:{name:"String"}},contractOracles:{serializedName:"contract_oracles",type:{name:"String"}},locked:{serializedName:"locked",type:{name:"String"}},oracles:{serializedName:"oracles",type:{name:"String"}},oracleQueries:{serializedName:"oracle_queries",type:{name:"String"}},pendingRewards:{serializedName:"pending_rewards",type:{name:"String"}},total:{serializedName:"total",type:{name:"String"}}}}},er={type:{name:"Composite",className:"GAAttachTx",modelProperties:{ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},code:{serializedName:"code",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}},authFun:{constraints:{Pattern:new RegExp("^(0x|0X)?[a-fA-F0-9]+$")},serializedName:"auth_fun",required:!0,type:{name:"String"}}}}},tr={type:{name:"Composite",className:"GAMetaTx",modelProperties:{gaId:{serializedName:"ga_id",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},authData:{serializedName:"auth_data",required:!0,type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}}}}},rr={type:{name:"Composite",className:"PayingForTx",modelProperties:{payerId:{serializedName:"payer_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}}}}},nr={type:{name:"Composite",className:"CheckTxInPoolResponse",modelProperties:{status:{serializedName:"status",required:!0,type:{name:"String"}}}}},or={serializedName:"OffChainTransfer",type:{name:"Composite",className:"OffChainTransfer",uberParent:"OffChainUpdate",polymorphicDiscriminator:He.type.polymorphicDiscriminator,modelProperties:{...He.type.modelProperties,from:{serializedName:"from",required:!0,type:{name:"String"}},to:{serializedName:"to",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},ir={serializedName:"OffChainWithdrawal",type:{name:"Composite",className:"OffChainWithdrawal",uberParent:"OffChainUpdate",polymorphicDiscriminator:He.type.polymorphicDiscriminator,modelProperties:{...He.type.modelProperties,to:{serializedName:"to",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},ar={serializedName:"OffChainDeposit",type:{name:"Composite",className:"OffChainDeposit",uberParent:"OffChainUpdate",polymorphicDiscriminator:He.type.polymorphicDiscriminator,modelProperties:{...He.type.modelProperties,from:{serializedName:"from",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},sr={serializedName:"OffChainNewContract",type:{name:"Composite",className:"OffChainNewContract",uberParent:"OffChainUpdate",polymorphicDiscriminator:He.type.polymorphicDiscriminator,modelProperties:{...He.type.modelProperties,owner:{serializedName:"owner",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},code:{serializedName:"code",type:{name:"Composite",className:"ByteCode"}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},cr={serializedName:"OffChainCallContract",type:{name:"Composite",className:"OffChainCallContract",uberParent:"OffChainUpdate",polymorphicDiscriminator:He.type.polymorphicDiscriminator,modelProperties:{...He.type.modelProperties,caller:{serializedName:"caller",required:!0,type:{name:"String"}},contract:{serializedName:"contract",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},ur={type:{name:"Composite",className:"CreateContractUnsignedTx",modelProperties:{...Qt.type.modelProperties,contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}}}}};let lr={"Tx.Tx":$e,OffChainUpdate:He,"OffChainUpdate.OffChainTransfer":or,"OffChainUpdate.OffChainWithdrawal":ir,"OffChainUpdate.OffChainDeposit":ar,"OffChainUpdate.OffChainNewContract":sr,"OffChainUpdate.OffChainCallContract":cr};const dr={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},fr={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},hr={parameterPath:"intAsString",mapper:{defaultValue:!1,serializedName:"int-as-string",type:{name:"Boolean"}}},pr={parameterPath:"hash",mapper:{serializedName:"hash",required:!0,type:{name:"String"}}},mr={parameterPath:"height",mapper:{constraints:{InclusiveMaximum:0x10000000000000000,InclusiveMinimum:0},serializedName:"height",required:!0,type:{name:"Number"}}},gr={parameterPath:"index",mapper:{constraints:{InclusiveMinimum:1},serializedName:"index",required:!0,type:{name:"Number"}}},yr={parameterPath:"pubkey",mapper:{serializedName:"pubkey",required:!0,type:{name:"String"}}},vr={parameterPath:["options","strategy"],mapper:{defaultValue:"max",serializedName:"strategy",type:{name:"Enum",allowedValues:["max","continuity"]}}},br={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},wr={parameterPath:"body",mapper:Ye},_r={parameterPath:"body",mapper:ct},Er={parameterPath:["options","from"],mapper:{serializedName:"from",type:{name:"String"}}},Ar={parameterPath:["options","limit"],mapper:{defaultValue:20,constraints:{InclusiveMaximum:1e3,InclusiveMinimum:1},serializedName:"limit",type:{name:"Number"}}},Sr={parameterPath:["options","type"],mapper:{defaultValue:"all",serializedName:"type",type:{name:"Enum",allowedValues:["open","closed","all"]}}},Tr={parameterPath:"queryId",mapper:{serializedName:"query-id",required:!0,type:{name:"String"}}},xr={parameterPath:"name",mapper:{serializedName:"name",required:!0,type:{name:"String"}}};class Cr extends Pe{constructor(e,t){var r,n;if(void 0===e)throw new Error("'$host' cannot be null");t||(t={});const o={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-node/1.0.0-beta.1",a=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,s={...o,...t,userAgentOptions:{userAgentPrefix:a},endpoint:null!==(r=null!==(n=t.endpoint)&&void 0!==n?n:t.baseUri)&&void 0!==r?r:"{$host}"};super(s),this.$host=e}getTopHeader(e){return this.sendOperationRequest({options:e},Or)}getCurrentKeyBlock(e){return this.sendOperationRequest({options:e},Pr)}getCurrentKeyBlockHash(e){return this.sendOperationRequest({options:e},kr)}getCurrentKeyBlockHeight(e){return this.sendOperationRequest({options:e},Nr)}getPendingKeyBlock(e){return this.sendOperationRequest({options:e},Rr)}getKeyBlockByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Mr)}getKeyBlockByHeight(e,t){return this.sendOperationRequest({height:e,options:t},Br)}getMicroBlockHeaderByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Lr)}getMicroBlockTransactionsByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Dr)}getMicroBlockTransactionByHashAndIndex(e,t,r){return this.sendOperationRequest({hash:e,index:t,options:r},Fr)}getMicroBlockTransactionsCountByHash(e,t){return this.sendOperationRequest({hash:e,options:t},jr)}getCurrentGeneration(e){return this.sendOperationRequest({options:e},Ur)}getGenerationByHash(e,t){return this.sendOperationRequest({hash:e,options:t},$r)}getGenerationByHeight(e,t){return this.sendOperationRequest({height:e,options:t},zr)}getAccountByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},Hr)}getAccountByPubkeyAndHeight(e,t,r){return this.sendOperationRequest({pubkey:e,height:t,options:r},Vr)}getAccountByPubkeyAndHash(e,t,r){return this.sendOperationRequest({pubkey:e,hash:t,options:r},Gr)}getPendingAccountTransactionsByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},qr)}getAccountNextNonce(e,t){return this.sendOperationRequest({pubkey:e,options:t},Wr)}protectedDryRunTxs(e,t){return this.sendOperationRequest({body:e,options:t},Kr)}getTransactionByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Xr)}getTransactionInfoByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Zr)}postTransaction(e,t){return this.sendOperationRequest({body:e,options:t},Yr)}getContract(e,t){return this.sendOperationRequest({pubkey:e,options:t},Qr)}getContractCode(e,t){return this.sendOperationRequest({pubkey:e,options:t},Jr)}getContractPoI(e,t){return this.sendOperationRequest({pubkey:e,options:t},en)}getOracleByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},tn)}getOracleQueriesByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},rn)}getOracleQueryByPubkeyAndQueryId(e,t,r){return this.sendOperationRequest({pubkey:e,queryId:t,options:r},nn)}getNameEntryByName(e,t){return this.sendOperationRequest({name:e,options:t},on)}getChannelByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},an)}getPeerPubkey(e){return this.sendOperationRequest({options:e},sn)}getStatus(e){return this.sendOperationRequest({options:e},cn)}getChainEnds(e){return this.sendOperationRequest({options:e},un)}}const Ir=_(n,!1),Or={path:"/v3/headers/top",httpMethod:"GET",responses:{200:{bodyMapper:Re},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},Pr={path:"/v3/key-blocks/current",httpMethod:"GET",responses:{200:{bodyMapper:Be},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},kr={path:"/v3/key-blocks/current/hash",httpMethod:"GET",responses:{200:{bodyMapper:Le},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},Nr={path:"/v3/key-blocks/current/height",httpMethod:"GET",responses:{200:{bodyMapper:De},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},Rr={path:"/v3/key-blocks/pending",httpMethod:"GET",responses:{200:{bodyMapper:Be},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},Mr={path:"/v3/key-blocks/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:Be},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Br={path:"/v3/key-blocks/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:Be},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,mr],headerParameters:[dr],serializer:Ir},Lr={path:"/v3/micro-blocks/hash/{hash}/header",httpMethod:"GET",responses:{200:{bodyMapper:Fe},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Dr={path:"/v3/micro-blocks/hash/{hash}/transactions",httpMethod:"GET",responses:{200:{bodyMapper:je},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Fr={path:"/v3/micro-blocks/hash/{hash}/transactions/index/{index}",httpMethod:"GET",responses:{200:{bodyMapper:Ue},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr,gr],headerParameters:[dr],serializer:Ir},jr={path:"/v3/micro-blocks/hash/{hash}/transactions/count",httpMethod:"GET",responses:{200:{bodyMapper:We},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Ur={path:"/v3/generations/current",httpMethod:"GET",responses:{200:{bodyMapper:Ke},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},$r={path:"/v3/generations/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:Ke},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},zr={path:"/v3/generations/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:Ke},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,mr],headerParameters:[dr],serializer:Ir},Hr={path:"/v3/accounts/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:Xe},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},Vr={path:"/v3/accounts/{pubkey}/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:Xe},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,mr,yr],headerParameters:[dr],serializer:Ir},Gr={path:"/v3/accounts/{pubkey}/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:Xe},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr,yr],headerParameters:[dr],serializer:Ir},qr={path:"/v3/accounts/{pubkey}/transactions/pending",httpMethod:"GET",responses:{200:{bodyMapper:je},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},Wr={path:"/v3/accounts/{pubkey}/next-nonce",httpMethod:"GET",responses:{200:{bodyMapper:Ze},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr,vr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},Kr={path:"/v3/dry-run",httpMethod:"POST",responses:{200:{bodyMapper:rt},403:{bodyMapper:Me,isError:!0}},requestBody:wr,queryParameters:[hr],urlParameters:[fr],headerParameters:[dr,br],mediaType:"json",serializer:Ir},Xr={path:"/v3/transactions/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:Ue},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Zr={path:"/v3/transactions/{hash}/info",httpMethod:"GET",responses:{200:{bodyMapper:at},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,pr],headerParameters:[dr],serializer:Ir},Yr={path:"/v3/transactions",httpMethod:"POST",responses:{200:{bodyMapper:ut},400:{bodyMapper:Me,isError:!0}},requestBody:_r,queryParameters:[hr],urlParameters:[fr],headerParameters:[dr,br],mediaType:"json",serializer:Ir},Qr={path:"/v3/contracts/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:lt},400:{bodyMapper:Me,isError:!0},404:{isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},Jr={path:"/v3/contracts/{pubkey}/code",httpMethod:"GET",responses:{200:{bodyMapper:dt},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},en={path:"/v3/contracts/{pubkey}/poi",httpMethod:"GET",responses:{200:{bodyMapper:ft},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},tn={path:"/v3/oracles/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:ht},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},rn={path:"/v3/oracles/{pubkey}/queries",httpMethod:"GET",responses:{200:{bodyMapper:pt},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr,Er,Ar,Sr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},nn={path:"/v3/oracles/{pubkey}/queries/{query-id}",httpMethod:"GET",responses:{200:{bodyMapper:mt},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr,Tr],headerParameters:[dr],serializer:Ir},on={path:"/v3/names/{name}",httpMethod:"GET",responses:{200:{bodyMapper:gt},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,xr],headerParameters:[dr],serializer:Ir},an={path:"/v3/channels/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:yt},400:{bodyMapper:Me,isError:!0},404:{bodyMapper:Me,isError:!0}},queryParameters:[hr],urlParameters:[fr,yr],headerParameters:[dr],serializer:Ir},sn={path:"/v3/peers/pubkey",httpMethod:"GET",responses:{200:{bodyMapper:vt}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},cn={path:"/v3/status",httpMethod:"GET",responses:{200:{bodyMapper:bt}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir},un={path:"/v3/status/chain-ends",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"String"}}}}}},queryParameters:[hr],urlParameters:[fr],headerParameters:[dr],serializer:Ir};var ln=r(89055),dn=r(65626),fn=r(91087);function hn(e,t,r){mn(e,t),t.set(e,r)}function pn(e,t){mn(e,t),t.add(e)}function mn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gn(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}const yn=["balance","queryFee","fee","amount","nameFee","channelAmount","initiatorAmount","responderAmount","channelReserve","initiatorAmountFinal","responderAmountFinal","gasPrice","deposit"],vn=["time","gas","gasUsed","nameSalt","nonce","nextNonce","height","blockHeight","topBlockHeight","ttl","nameTtl","clientTtl","inbound","outbound","peerCount","pendingTransactionsCount","effectiveAtHeight","version","solutions","round"];var bn=new WeakSet,wn=new WeakSet,_n=new WeakSet;class En extends Cr{constructor(){super(...arguments),pn(this,_n),pn(this,wn),pn(this,bn)}async sendOperationRequest(e,t){const r=(0,ln.s8)(e,(e=>{let[t,r]=e;return[t,gn(this,wn,Sn).call(this,r)]}));return gn(this,_n,Tn).call(this,await super.sendOperationRequest(r,t))}}function An(e,t){return Array.isArray(e)?e.map((e=>gn(this,bn,An).call(this,e,t))):null!=e&&"object"===typeof e?(0,ln.s8)(e,(e=>{let[r,n]=e;return null==n?[r,n]:yn.some((e=>e===r))?[r,t.bigInt(n)]:vn.some((e=>e===r))?[r,t.number(n)]:[r,gn(this,bn,An).call(this,n,t)]})):e}function Sn(e){return gn(this,bn,An).call(this,e,{bigInt:e=>e instanceof a.A?e.toFixed():e.toString(),number:e=>e.toString()})}function Tn(e){return gn(this,bn,An).call(this,e,{bigInt:e=>BigInt(e),number:e=>+e})}var xn=new WeakMap;class Cn extends En{constructor(e){let{ignoreVersion:t=!1,retryCount:r=3,retryOverallDelay:n=800,...o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(super(e,{allowInsecureConnection:!0,additionalPolicies:[(0,s.wP)(),(0,s.C3)(),(0,s.Iv)(r,n),(0,s.jG)((e=>` ${e.reason}`))],...o}),hn(this,xn,{writable:!0,value:void 0}),!t){const e=this.getStatus(),t=e.then((e=>{let{nodeVersion:t}=e;return t}),(e=>e));(0,i.A)(this,xn,e.then((e=>{let{networkId:t}=e;return t}),(e=>e))),this.pipeline.addPolicy((0,s.BL)("node","/v3/status",t,"6.2.0","7.0.0"))}this.intAsString=!0}async getNetworkId(){var e;null!==(e=(0,o.A)(this,xn))&&void 0!==e||(0,i.A)(this,xn,this.getStatus().then((e=>{let{networkId:t}=e;return t})));const t=await(0,o.A)(this,xn);if(t instanceof Error)throw t;return t}async getNodeInfo(){const{nodeVersion:e,networkId:t,protocols:r,topBlockHeight:n}=await this.getStatus(),o=r.filter((e=>{let{effectiveAtHeight:t}=e;return n>=t})).reduce(((e,t)=>t.effectiveAtHeight>e.effectiveAtHeight?t:e),{effectiveAtHeight:-1,version:0}).version;if(null==fn.sF[o]){const e=o.toString(),t=Object.values(fn.sF).filter((e=>"number"===typeof e)).map((e=>+e)),r=Math.min(...t).toString(),n=(Math.max(...t)+1).toString();throw new dn.K$("consensus protocol",e,r,n)}return{url:this.$host,nodeNetworkId:t,version:e,consensusProtocolVersion:o}}}},56158:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(65626);class o{async signTypedData(e,t,r){throw new n.EH("signTypedData method")}async signDelegationToContract(e,t){throw new n.EH("signDelegationToContract method")}async signNameDelegationToContract(e,t,r){throw new n.EH("signNameDelegationToContract method")}async signOracleQueryDelegationToContract(e,t,r){throw new n.EH("signOracleQueryDelegationToContract method")}}},25801:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(14332),o=r(97058),i=r(56158),a=r(65626),s=r(57889),c=r(16896),u=r(83664),l=r(19636),d=r(91087);function f(e,t,r){h(e,t),t.set(e,r)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}var p=new WeakMap;class m extends i.A{constructor(e){super(),f(this,p,{writable:!0,value:void 0}),(0,s.D4)(e),this.address=e}async sign(){throw new a.EH("Can't sign using generalized account")}async signMessage(){throw new a.EH("Can't sign using generalized account")}async signTypedData(){throw new a.EH("Can't sign using generalized account")}async signDelegationToContract(){throw new a.EH("signing delegation to contract using generalized account")}async signNameDelegationToContract(){throw new a.EH("signing delegation to contract using generalized account")}async signOracleQueryDelegationToContract(){throw new a.EH("signing delegation to contract using generalized account")}async signTransaction(e,t){let{authData:r,onCompiler:i,onNode:f}=t;if(null==r||null==i||null==f)throw new a.c1("authData, onCompiler, onNode","provided",null);const{callData:h,sourceCode:m,args:g,fee:y,gasLimit:v,gasPrice:b}="function"===typeof r?await r(e):r,w=null!==h&&void 0!==h?h:await(async()=>{if(null==(0,o.A)(this,p)){const e=await(0,c.getAccount)(this.address,{onNode:f});if("generalized"!==e.kind)throw new a.c1("account kind","generalized",e.kind);(0,n.A)(this,p,e.authFun)}if(null==(0,o.A)(this,p))throw new a.Gd("Account in generalised, but authFun not provided");if(null==m||null==g)throw new a.G8("Auth data must contain sourceCode and args or callData.");const e=await u.A.initialize({onCompiler:i,onNode:f,sourceCode:m});return e._calldata.encode(e._name,(0,o.A)(this,p),g)})(),_=await(0,l.B4)({tag:d.vw.GaMetaTx,tx:{tag:d.vw.SignedTx,encodedTx:(0,s.D4)(e),signatures:[]},gaId:this.address,authData:w,fee:y,gasLimit:v,gasPrice:b,onNode:f});return(0,l.pr)({tag:d.vw.SignedTx,encodedTx:(0,s.D4)(_),signatures:[]})}}},81265:(e,t,r)=>{"use strict";r.d(t,{A:()=>A,J:()=>E});var n=r(48287),o=r(56158),i=r(67892),a=r(65626),s=r(57889),c=r(41805),u=r(89055),l=r(66176),d=r(82341);const{TypeResolver:f,ContractByteArrayEncoder:h}=l;function p(e){var t;return(0,i.tW)(null!==(t=d(e))&&void 0!==t?t:"")}function m(e){const t={record:[{name:"name",type:{option:["string"]}},{name:"version",type:{option:["int"]}},{name:"networkId",type:{option:["string"]}},{name:"contractAddress",type:{option:["contract_pubkey"]}}]},r=(new f).resolveType(t,{}),n=(new h).encodeWithType(e,r);return(0,i.tW)((0,s.D4)(n))}function g(e,t,r){return(0,i.tW)((0,u.wh)([i.AV,new Uint8Array([0]),m(r),p(t),(0,i.tW)((0,s.D4)(e))]))}var y=r(19636),v=r(91087),b=r(67283);const{Buffer:w}=n,_=new WeakMap;function E(e,t,r){const n=[t];r&&n.push("inner_tx");const o=(0,s.D4)(e);return(0,u.wh)([w.from(n.join("-")),(0,i.tW)(o)])}class A extends o.A{constructor(e){if(super(),e="string"===typeof e?w.from(e,"hex"):e,64!==e.length)throw new a.c1("secretKey","64 bytes",e.length);_.set(this,e),this.address=(0,s.lF)((0,i.d)(_.get(this)).publicKey,c.W.AccountAddress)}static generate(){return new A((0,i.TZ)().secretKey)}async sign(e,t){return(0,i._S)(e,_.get(this))}async signTransaction(e){let{innerTx:t,networkId:r,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==r)throw new a.c1("networkId","provided",r);const o=(0,s.D4)(e),i=E(e,r,!0===t),c=[await this.sign(i,n)];return(0,y.pr)({tag:v.vw.SignedTx,encodedTx:o,signatures:c})}async signMessage(e,t){return this.sign((0,i.JS)(e),t)}async signTypedData(e,t){let{name:r,version:n,networkId:o,contractAddress:i,...a}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=g(e,t,{name:r,version:n,networkId:o,contractAddress:i}),l=await this.sign(u,a);return(0,s.lF)(l,c.W.Signature)}async signDelegationToContract(e){let{networkId:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t)throw new a.c1("networkId","provided",t);const r=(0,u.wh)([w.from(t),(0,s.D4)(this.address),(0,s.D4)(e)]),n=await this.sign(r);return(0,s.lF)(n,c.W.Signature)}async signNameDelegationToContract(e,t){let{networkId:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==r)throw new a.c1("networkId","provided",r);const n=(0,u.wh)([w.from(r),(0,s.D4)(this.address),(0,s.D4)((0,b.bt)(t)),(0,s.D4)(e)]),o=await this.sign(n);return(0,s.lF)(o,c.W.Signature)}async signOracleQueryDelegationToContract(e,t){let{networkId:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=(0,s.D4)(t),o=(0,s.D4)(this.address);if(0===n.compare(o))throw new a.c1("oracleQueryId","not equal to account address",t);if(null==r)throw new a.c1("networkId","provided",r);const i=(0,u.wh)([w.from(r),n,(0,s.D4)(e)]),l=await this.sign(i);return(0,s.lF)(l,c.W.Signature)}}},22146:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(97058),o=r(14332),i=r(65626);class a{constructor(e){let{debug:t=!1}=e;this.debug=t}connect(e,t){if(this.isConnected())throw new i.iQ("You already connected")}disconnect(){if(!this.isConnected())throw new i.Gq("You dont have connection. Please connect before")}receiveMessage(e){this.debug&&console.log("Receive message:",e)}sendMessage(e){this.debug&&console.log("Send message:",e)}}var s=r(31490);function c(e,t,r){u(e,t),t.set(e,r)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}var l=new WeakMap,d=new WeakMap,f=new WeakMap;class h extends a{constructor(){let{target:e,self:t=window,origin:r,sendDirection:n,receiveDirection:i=s.Y.to_aepp,...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(a),c(this,l,{writable:!0,value:void 0}),c(this,d,{writable:!0,value:void 0}),c(this,f,{writable:!0,value:void 0}),(0,o.A)(this,d,e),(0,o.A)(this,f,t),this.origin=r,this.sendDirection=n,this.receiveDirection=i}isConnected(){return null!=this.listener}connect(e,t){super.connect(e,t),this.listener=t=>{var r,o;if("object"!==typeof t.data||"2.0"!==(null!==(r=t.data.jsonrpc)&&void 0!==r?r:null===(o=t.data.data)||void 0===o?void 0:o.jsonrpc))return;if(null!=this.origin&&this.origin!==t.origin)return;if(null!=(0,n.A)(this,d)&&(0,n.A)(this,d)!==t.source)return;this.receiveMessage(t);let{data:i}=t;if(null!=i.type){if(t.data.type!==this.receiveDirection)return;i=i.data}e(i,t.origin,t.source)},(0,n.A)(this,f).addEventListener("message",this.listener),(0,o.A)(this,l,t)}disconnect(){if(super.disconnect(),null==this.listener||null==(0,n.A)(this,l))throw new i.Gd("Expected to not happen, required for TS");(0,n.A)(this,f).removeEventListener("message",this.listener),delete this.listener,(0,n.A)(this,l).call(this),(0,o.A)(this,l,void 0)}sendMessage(e){var t;if(null==(0,n.A)(this,d))throw new i.OT("Can't send messages without target");const r=null!=this.sendDirection?{type:this.sendDirection,data:e}:e;super.sendMessage(r),(0,n.A)(this,d).postMessage(r,null!==(t=this.origin)&&void 0!==t?t:"*")}}},31490:(e,t,r)=>{"use strict";r.d(t,{A6:()=>h,B3:()=>p,Iy:()=>g,J8:()=>c,OW:()=>b,Qc:()=>d,VE:()=>a,Y:()=>i,Zo:()=>f,d0:()=>v,ej:()=>s,fE:()=>u,r1:()=>y});var n=r(49859),o=r(65626);let i=function(e){return e["to_waellet"]="to_waellet",e["to_aepp"]="to_aepp",e}({}),a=function(e){return e["window"]="window",e["extension"]="extension",e}({}),s=function(e){return e["subscribe"]="subscribe",e["unsubscribe"]="unsubscribe",e}({}),c=function(e){return e["readyToConnect"]="connection.announcePresence",e["updateAddress"]="address.update",e["address"]="address.get",e["connect"]="connection.open",e["sign"]="transaction.sign",e["signMessage"]="message.sign",e["signTypedData"]="typedData.sign",e["signDelegationToContract"]="delegationToContract.sign",e["subscribeAddress"]="address.subscribe",e["updateNetwork"]="networkId.update",e["closeConnection"]="connection.close",e}({}),u=function(e){return e["CONNECTED"]="CONNECTED",e["DISCONNECTED"]="DISCONNECTED",e["WAITING_FOR_CONNECTION_REQUEST"]="WAITING_FOR_CONNECTION_REQUEST",e}({});const l=[];class d extends o.Cf{toJSON(){return{code:this.code,message:this.message,data:this.data}}static deserialize(e){const t=l.find((t=>t.code===e.code));if(null==t)throw new o.Gd(`Can't find RpcError with code: ${e.code}`);return new t(e.data)}}class f extends d{constructor(e){super("Invalid transaction"),(0,n.A)(this,"code",2),this.data=e,this.name="RpcInvalidTransactionError"}}(0,n.A)(f,"code",2),l.push(f);class h extends d{constructor(e){super("Operation rejected by user"),(0,n.A)(this,"code",4),this.data=e,this.name="RpcRejectedByUserError"}}(0,n.A)(h,"code",4),l.push(h);class p extends d{constructor(){super("Unsupported Protocol Version"),(0,n.A)(this,"code",5),this.name="RpcUnsupportedProtocolError"}}(0,n.A)(p,"code",5),l.push(p);class m extends d{constructor(e){super("Wallet deny your connection request"),(0,n.A)(this,"code",9),this.data=e,this.name="RpcConnectionDenyError"}}(0,n.A)(m,"code",9),l.push(m);class g extends d{constructor(){super("You are not connected to the wallet"),(0,n.A)(this,"code",10),this.name="RpcNotAuthorizeError"}}(0,n.A)(g,"code",10),l.push(g);class y extends d{constructor(e){super(`You are not subscribed for account ${e}`),(0,n.A)(this,"code",11),this.data=e,this.name="RpcPermissionDenyError"}}(0,n.A)(y,"code",11),l.push(y);class v extends d{constructor(){super("The peer failed to execute your request due to unknown error"),(0,n.A)(this,"code",12),this.name="RpcInternalError"}}(0,n.A)(v,"code",12),l.push(v);class b extends d{constructor(){super("Method not found"),(0,n.A)(this,"code",-32601),this.name="RpcMethodNotFoundError"}}(0,n.A)(b,"code",-32601),l.push(b)},16896:(e,t,r)=>{"use strict";r.r(t),r.d(t,{InvalidTxError:()=>h,_getPollInterval:()=>f,awaitHeight:()=>g,getAccount:()=>b,getBalance:()=>w,getContract:()=>P,getContractByteCode:()=>O,getCurrentGeneration:()=>_,getGeneration:()=>E,getHeight:()=>p,getKeyBlock:()=>S,getMicroBlockHeader:()=>T,getMicroBlockTransactions:()=>A,getName:()=>k,poll:()=>m,resolveName:()=>N,sendTransaction:()=>v,txDryRun:()=>I,waitForTxConfirm:()=>y});var n=r(65984),o=r(40458),i=r(89055),a=r(67283),s=r(91577),c=r(65626),u=r(57889),l=r(41805),d=r(19636);function f(e,t){let{_expectedMineRate:r=18e4,_microBlockCycle:n=3e3,_maxPollInterval:o=5e3}=t;const i={block:r,microblock:n}[e];return Math.min(i/3,o)}class h extends c.Jn{constructor(e,t,r){super(e),this.name="InvalidTxError",this.validation=t,this.transaction=r}}async function p(e){let{onNode:t}=e;return(await t.getCurrentKeyBlockHeight()).height}async function m(e,t){var r;let{blocks:n=5,interval:o,onNode:a,...s}=t;null!==(r=o)&&void 0!==r||(o=f("microblock",s));const u=await p({onNode:a})+n;do{const t=await a.getTransactionByHash(e);if(-1!==t.blockHeight)return t;await(0,i.v7)(o)}while(await p({onNode:a})0){const t=`Transaction verification errors: ${e.map((e=>e.message)).join(", ")}`;throw new h(t,e,f)}}try{let e;try{e=null!=n?`tx-${n.address}`:null}catch(p){e=null}const{txHash:t}=await r.postTransaction({tx:f},null!=e?{requestOptions:{customHeaders:{__queue:e}}}:{});if(s){const e=await m(t,{onNode:r,...l}),n={...e,hash:e.hash,rawTx:f};if(null!=c&&+c>0){const e="boolean"===typeof c?void 0:c;return{...n,confirmationHeight:await y(t,{onNode:r,confirm:e,...l})}}return n}return{hash:t,rawTx:f}}catch(p){throw(0,i.$)(p),Object.assign(p,{rawTx:f,verifyTx:async()=>(0,o.A)(f,r)})}}async function b(e,t){let{height:r,hash:n,onNode:o}=t;return null!=r?o.getAccountByPubkeyAndHeight(e,r):null!=n?o.getAccountByPubkeyAndHash(e,n):o.getAccountByPubkey(e)}async function w(e,t){let{format:r=n.j8.AETTOS,...o}=t;const a=e.startsWith("ok_")?(0,u.lF)((0,u.D4)(e),l.W.AccountAddress):e,{balance:s}=await b(a,o).catch((e=>{if(!(0,i.PI)(e))throw e;return{balance:0n}}));return(0,n.ej)(s,{targetDenomination:r})}async function _(e){let{onNode:t}=e;return t.getCurrentGeneration()}async function E(e,t){let{onNode:r}=t;return"number"===typeof e?r.getGenerationByHeight(e):r.getGenerationByHash(e)}async function A(e,t){let{onNode:r}=t;return(await r.getMicroBlockTransactionsByHash(e)).transactions}async function S(e,t){let{onNode:r}=t;return"number"===typeof e?r.getKeyBlockByHeight(e):r.getKeyBlockByHash(e)}async function T(e,t){let{onNode:r}=t;return r.getMicroBlockHeaderByHash(e)}const x=new Map;async function C(e,t){const r=x.get(e);if(x.delete(e),null==r)throw new c.Gd("Can't get dry-run request");let n;try{const e="number"===typeof r[0].top?(await S(r[0].top,{onNode:t})).hash:r[0].top;n=await t.protectedDryRunTxs({top:e,txEvents:r[0].txEvents,txs:r.map((e=>({tx:e.tx}))),accounts:Array.from(new Set(r.map((e=>e.accountAddress)))).map((e=>({pubKey:e,amount:s.gx.amount})))})}catch(a){return void r.forEach((e=>{let{reject:t}=e;return t(a)}))}const{results:o,txEvents:i}=n;o.forEach(((e,t)=>{let{result:n,reason:o,...a}=e;const{resolve:s,reject:u,tx:l,accountAddress:d}=r[t];"ok"===n?s({...a,txEvents:i}):u(Object.assign(new c.Vz(o),{tx:l,accountAddress:d}))}))}async function I(e,t,r){var n;let{top:o,txEvents:i,combine:a,onNode:s}=r;const c=!0===a?[o,i].join():"immediate",u=null!==(n=x.get(c))&&void 0!==n?n:[];return x.set(c,u),new Promise(((r,n)=>{var l;u.push({tx:e,accountAddress:t,top:o,txEvents:i,resolve:r,reject:n}),!0===a?null!==(l=u.timeout)&&void 0!==l||(u.timeout=setTimeout((()=>{C(c,s)}))):C(c,s)}))}async function O(e,t){let{onNode:r}=t;return r.getContractCode(e)}async function P(e,t){let{onNode:r}=t;return r.getContract(e)}async function k(e,t){let{onNode:r}=t;return r.getNameEntryByName(e)}async function N(e,t,r){let{verify:n=!0,resolveByNode:o=!1,onNode:i}=r;if((0,a.wJ)(e)){if(n||o){const r=await i.getNameEntryByName(e),n=r.pointers.find((e=>e.key===t));if(null==n)throw new c.Ue(e,t);if(o)return n.id}return(0,a.bt)(e)}try{return(0,u.D4)(e),e}catch(s){throw new c.So(`Invalid name or address: ${e}`)}}},83664:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(14332),o=r(97058),i=r(66176),a=r(91577),s=r(91087),c=r(19636),u=r(57889),l=r(65626),d=r(67892),f=r(16896),h=r(89055);function p(e,t,r){g(e,t),t.set(e,r)}function m(e,t){g(e,t),t.add(e)}function g(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function y(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}const{Encoder:v}=i;var b=new WeakSet,w=new WeakSet,_=new WeakSet,E=new WeakSet,A=new WeakMap;class S{async $compile(){if(null!=this.$options.bytecode)return this.$options.bytecode;if(null==this.$options.onCompiler)throw new l.qw("Can't compile without compiler");if(null!=this.$options.sourceCode){const{bytecode:e}=await this.$options.onCompiler.compileBySourceCode(this.$options.sourceCode,this.$options.fileSystem);this.$options.bytecode=e}if(null!=this.$options.sourceCodePath){const{bytecode:e}=await this.$options.onCompiler.compile(this.$options.sourceCodePath);this.$options.bytecode=e}if(null==this.$options.bytecode)throw new l.qw("Can't compile without sourceCode and sourceCodePath");return this.$options.bytecode}async $getCallResultByTxHash(e,t,r){const{callInfo:n}=await this.$options.onNode.getTransactionInfoByHash(e);if(null==n)throw new l.Vl(`callInfo is not available for transaction ${e}`);const o=n;return{...y(this,b,T).call(this,o,t,void 0,r),result:o}}async _estimateGas(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{result:n}=await this.$call(e,t,{...r,callStatic:!0});if(null==n)throw new l.rU;const{gasUsed:o}=n;return Math.floor(1.25*o)}async $deploy(e,t){var r,n;const{callStatic:o,...i}={...this.$options,...t};if(null==this.$options.bytecode&&await this.$compile(),!0===o)return this.$call("init",e,{...i,callStatic:o});if(null!=this.$options.address)throw new l.E0;if(null==i.onAccount)throw new l.qw("Can't deploy without account");const a=i.onAccount.address;if(null==this.$options.bytecode)throw new l.qw("Can't deploy without bytecode");const u=await(0,c.B4)({...i,tag:s.vw.ContractCreateTx,gasLimit:null!==(r=i.gasLimit)&&void 0!==r?r:await this._estimateGas("init",e,i),callData:this._calldata.encode(this._name,"init",e),code:this.$options.bytecode,ownerId:a}),{hash:d,...f}=await y(this,w,x).call(this,u,"init",{...i,onAccount:i.onAccount});return this.$options.address=(0,c.xD)(u),{...f,...null!=(null===(n=f.result)||void 0===n?void 0:n.log)&&{decodedEvents:this.$decodeEvents(f.result.log,i)},owner:a,transaction:d,address:this.$options.address}}async $call(e,t){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{callStatic:o,top:i,...u}={...this.$options,...n},d=y(this,_,C).call(this,e),p=this.$options.address,{onNode:m}=u;if(null==e)throw new l.mh;if("init"===e&&!0!==o)throw new l.FL('"init" can be called only via dryRun');if("init"!==e&&null!=u.amount&&Number(u.amount)>0&&!d.payable)throw new l.Oz(u.amount,e);let g;try{if(null==u.onAccount)throw new l.Gd("Use fallback account");g=u.onAccount.address}catch(A){const e=!0===o&&(A instanceof l.hg&&"Account should be an address (ak-prefixed string), or instance of AccountBase, got undefined instead"===A.message||A instanceof l.Gq||A instanceof l.Gd&&"Use fallback account"===A.message);if(!e)throw A;g=a.gx.pub}const v=this._calldata.encode(this._name,e,t);if(!0===o){if(null==u.nonce){const e=null!=i&&{["number"===typeof i?"height":"hash"]:i},t=await(0,f.getAccount)(g,{...e,onNode:m}).catch((e=>{if(!(0,h.PI)(e))throw e;return{kind:"basic",nonce:0}}));u.nonce="generalized"===t.kind?0:t.nonce+1}const t={...u,onNode:m,callData:v};let r;if("init"===e){if(null==this.$options.bytecode)throw new l.qw('Can\'t dry-run "init" without bytecode');r=await(0,c.B4)({...t,tag:s.vw.ContractCreateTx,code:this.$options.bytecode,ownerId:g})}else{if(null==p)throw new l.dp("Can't dry-run contract without address");r=await(0,c.B4)({...t,tag:s.vw.ContractCallTx,callerId:g,contractId:p})}const{callObj:n,...o}=await(0,f.txDryRun)(r,g,{...u,top:i});if(null==n)throw new l.Gd(`callObj is not available for transaction ${r}`);const a=n;return{...o,...y(this,b,T).call(this,a,e,r,u),tx:(0,c.pj)(r),result:a,rawTx:r,hash:(0,c.BN)(r),txData:void 0}}if(null!=i)throw new l.qw("Can't handle `top` option in on-chain contract call");if(null==p)throw new l.dp("Can't call contract without address");const E=await(0,c.B4)({...u,tag:s.vw.ContractCallTx,gasLimit:null!==(r=u.gasLimit)&&void 0!==r?r:await this._estimateGas(e,t,u),callerId:g,contractId:p,callData:v});if(null==u.onAccount)throw new l.qw("Can't call contract on chain without account");return y(this,w,x).call(this,E,e,{...u,onAccount:u.onAccount})}$decodeEvents(e){let{omitUnknown:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.map((e=>{const n=e.topics.map((e=>BigInt(e)));let o;try{o=y(this,E,I).call(this,e.address,n[0],r)}catch(c){if(null!==t&&void 0!==t&&t&&c instanceof l.Mk)return null;throw c}const i=this._calldata.decodeEvent(o,e.data,n),[a,s]=Object.entries(i)[0];return{name:a,args:s,contract:{name:o,address:e.address}}})).filter((e=>null!=e))}static async initialize(e){let{onCompiler:t,onNode:r,bytecode:n,aci:o,address:i,sourceCodePath:a,sourceCode:s,fileSystem:c,validateBytecode:u,...d}=e;if(null==o&&null!=t){let e;var h;if(null!=a&&(e=await t.compile(a)),null!=s&&(e=await t.compileBySourceCode(s,c)),null!=e)o=e.aci,null!==(h=n)&&void 0!==h||(n=e.bytecode)}if(null==o)throw new l._H;if(null!=i&&(i=await(0,f.resolveName)(i,"contract_pubkey",{resolveByNode:!0,onNode:r})),null==i&&null==s&&null==a&&null==n)throw new l.dp("Can't create instance by ACI without address");if(null!=i){const e=await(0,f.getContract)(i,{onNode:r});if(null==e.active)throw new l.K4(i)}if(!0===u){if(null==i)throw new l.dp("Can't validate bytecode without contract address");const e=(await(0,f.getContractByteCode)(i,{onNode:r})).bytecode;let o=!1;if(null!=n)o=n===e;else if(null!=s){if(null==t)throw new l.qw("Can't validate bytecode without compiler");o=await t.validateBySourceCode(e,s,c)}else if(null!=a){if(null==t)throw new l.qw("Can't validate bytecode without compiler");o=await t.validate(e,a)}if(!o)throw new l.Mb(null!=(null!==s&&void 0!==s?s:a)?"source code":"bytecode")}return new O({onCompiler:t,onNode:r,sourceCode:s,sourceCodePath:a,bytecode:n,aci:o,address:i,fileSystem:c,...d})}constructor(e){var t=this;let{aci:r,...i}=e;m(this,E),m(this,_),m(this,w),m(this,b),p(this,A,{writable:!0,value:void 0}),this._aci=r;const a=r[r.length-1];if(null==a.contract)throw new l.qw(`The last 'aci' item should have 'contract' key, got ${Object.keys(a)} keys instead`);(0,n.A)(this,A,a.contract),this._name=(0,o.A)(this,A).name,this._calldata=new v(r),this.$options=i,Object.assign(this,Object.fromEntries((0,o.A)(this,A).functions.map((e=>{let{name:r,arguments:n,stateful:o}=e;const i="init"!==r&&!o;return[r,async function(){for(var e=arguments.length,o=new Array(e),a=0;at.name===e));if(null!=t)return t;if("init"===e)return{arguments:[],name:"init",payable:!1,returns:"unit",stateful:!0};throw new l.$4(`Function ${e} doesn't exist in contract`)}function I(e,t,r){let{contractAddressToName:n}=r;const o={...this.$options.contractAddressToName,...n};if(null!=o[e])return o[e];const i=(e,t)=>JSON.stringify(e)===JSON.stringify(t),a=this._aci.map((e=>{let{contract:t}=e;return t})).filter((e=>null===e||void 0===e?void 0:e.event)),s=a.map((e=>[e.name,e.event.variant])).map((e=>{let[t,r]=e;return r.map((e=>[t,Object.keys(e)[0],Object.values(e)[0]]))})).flat().filter((e=>{let[,r]=e;return BigInt(`0x${(0,d.tW)(r).toString("hex")}`)===t})).filter(((e,t,r)=>{let[,,n]=e;return!r.slice(0,t).some((e=>i(e[2],n)))}));switch(s.length){case 0:throw new l.Mk(t.toString(),e);case 1:return s[0][0];default:throw new l.m5(e,s)}}const O=S,P=O},91087:(e,t,r)=>{"use strict";r.d(t,{BL:()=>m,L_:()=>d,Rc:()=>c,SM:()=>p,d$:()=>u,d0:()=>f,fp:()=>a,sF:()=>h,vw:()=>g,yY:()=>i});var n=r(60346),o=r(89055);const i=5e4,a=18e4,s=84600,c=s,u=1e9,l=1e14,d=31,f=(0,o.s8)({31:3,30:5,29:8,28:13,27:21,26:34,25:55,24:89,23:144,22:233,21:377,20:610,19:987,18:1597,17:2584,16:4181,15:6765,14:10946,13:17711,12:28657,11:46368,10:75025,9:121393,8:196418,7:317811,6:514229,5:832040,4:1346269,3:2178309,2:3524578,1:5702887},(e=>{let[t,r]=e;return[t,new n.A(r).times(l)]}));let h=function(e){return e[e["Iris"]=5]="Iris",e[e["Ceres"]=6]="Ceres",e}({}),p=function(e){return e[e["NoVm"]=0]="NoVm",e[e["Sophia"]=1]="Sophia",e[e["SophiaImprovementsMinerva"]=3]="SophiaImprovementsMinerva",e[e["SophiaImprovementsFortuna"]=4]="SophiaImprovementsFortuna",e[e["Fate"]=5]="Fate",e[e["SophiaImprovementsLima"]=6]="SophiaImprovementsLima",e[e["Fate2"]=7]="Fate2",e[e["Fate3"]=8]="Fate3",e}({}),m=function(e){return e[e["NoAbi"]=0]="NoAbi",e[e["Sophia"]=1]="Sophia",e[e["Fate"]=3]="Fate",e}({}),g=function(e){return e[e["Account"]=10]="Account",e[e["SignedTx"]=11]="SignedTx",e[e["SpendTx"]=12]="SpendTx",e[e["Oracle"]=20]="Oracle",e[e["OracleRegisterTx"]=22]="OracleRegisterTx",e[e["OracleQueryTx"]=23]="OracleQueryTx",e[e["OracleResponseTx"]=24]="OracleResponseTx",e[e["OracleExtendTx"]=25]="OracleExtendTx",e[e["Name"]=30]="Name",e[e["NameClaimTx"]=32]="NameClaimTx",e[e["NamePreclaimTx"]=33]="NamePreclaimTx",e[e["NameUpdateTx"]=34]="NameUpdateTx",e[e["NameRevokeTx"]=35]="NameRevokeTx",e[e["NameTransferTx"]=36]="NameTransferTx",e[e["Contract"]=40]="Contract",e[e["ContractCall"]=41]="ContractCall",e[e["ContractCreateTx"]=42]="ContractCreateTx",e[e["ContractCallTx"]=43]="ContractCallTx",e[e["ChannelCreateTx"]=50]="ChannelCreateTx",e[e["ChannelDepositTx"]=51]="ChannelDepositTx",e[e["ChannelWithdrawTx"]=52]="ChannelWithdrawTx",e[e["ChannelForceProgressTx"]=521]="ChannelForceProgressTx",e[e["ChannelCloseMutualTx"]=53]="ChannelCloseMutualTx",e[e["ChannelCloseSoloTx"]=54]="ChannelCloseSoloTx",e[e["ChannelSlashTx"]=55]="ChannelSlashTx",e[e["ChannelSettleTx"]=56]="ChannelSettleTx",e[e["ChannelOffChainTx"]=57]="ChannelOffChainTx",e[e["ChannelOffChainUpdateTransfer"]=570]="ChannelOffChainUpdateTransfer",e[e["ChannelOffChainUpdateDeposit"]=571]="ChannelOffChainUpdateDeposit",e[e["ChannelOffChainUpdateWithdraw"]=572]="ChannelOffChainUpdateWithdraw",e[e["ChannelOffChainUpdateCreateContract"]=573]="ChannelOffChainUpdateCreateContract",e[e["ChannelOffChainUpdateCallContract"]=574]="ChannelOffChainUpdateCallContract",e[e["ChannelClientReconnectTx"]=575]="ChannelClientReconnectTx",e[e["Channel"]=58]="Channel",e[e["ChannelSnapshotSoloTx"]=59]="ChannelSnapshotSoloTx",e[e["TreesPoi"]=60]="TreesPoi",e[e["StateTrees"]=62]="StateTrees",e[e["Mtree"]=63]="Mtree",e[e["MtreeValue"]=64]="MtreeValue",e[e["ContractsMtree"]=621]="ContractsMtree",e[e["CallsMtree"]=622]="CallsMtree",e[e["ChannelsMtree"]=623]="ChannelsMtree",e[e["NameserviceMtree"]=624]="NameserviceMtree",e[e["OraclesMtree"]=625]="OraclesMtree",e[e["AccountsMtree"]=626]="AccountsMtree",e[e["GaAttachTx"]=80]="GaAttachTx",e[e["GaMetaTx"]=81]="GaMetaTx",e[e["PayingForTx"]=82]="PayingForTx",e[e["GaMetaTxAuthData"]=810]="GaMetaTxAuthData",e}({})},85649:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,R9:()=>s,h:()=>a});var n=r(48287),o=r(91087);const{Buffer:i}=n,a={[o.sF.Iris]:{"contract-create":{vmVersion:[o.SM.Fate2],abiVersion:[o.BL.Fate]},"contract-call":{vmVersion:[],abiVersion:[o.BL.Fate,o.BL.Sophia]},"oracle-call":{vmVersion:[],abiVersion:[o.BL.NoAbi,o.BL.Fate]}},[o.sF.Ceres]:{"contract-create":{vmVersion:[o.SM.Fate3],abiVersion:[o.BL.Fate]},"contract-call":{vmVersion:[],abiVersion:[o.BL.Fate]},"oracle-call":{vmVersion:[],abiVersion:[o.BL.NoAbi,o.BL.Fate]}}};function s(e,t){var r;const n=a[e][t];return{vmVersion:null!==(r=n.vmVersion[0])&&void 0!==r?r:o.SM.Fate2,abiVersion:n.abiVersion[0]}}const c={serialize(e,t,r){var n;let{consensusProtocolVersion:a=o.sF.Iris}=r;return null!==(n=e)&&void 0!==n||(e=s(a,"contract-create")),i.from([e.vmVersion,0,e.abiVersion])},async prepare(e,t,r){return null!=e?e:null==r.consensusProtocolVersion&&2!==Object.keys(o.sF).length&&null!=r.onNode?s((await r.onNode.getNodeInfo()).consensusProtocolVersion,"contract-create"):void 0},deserialize(e){const[t,,r]=e;return{vmVersion:+t,abiVersion:+r}}}},67283:(e,t,r)=>{"use strict";r.d(t,{JC:()=>A,MN:()=>v,Uk:()=>b,YQ:()=>E,_o:()=>p,bt:()=>y,sP:()=>h,wJ:()=>_});var n=r(48287),o=r(60346),i=r(67892),a=r(57889),s=r(41805),c=r(2232),u=r(89055),l=r(91087),d=r(65626);const{Buffer:f}=n;function h(e,t){const r=f.from([...(0,a.D4)(e),...(0,c.Z)(t)]),n=(0,i.tW)(r);return(0,a.lF)(n,s.W.ContractAddress)}function p(e,t,r){function n(e){const t=(0,c.Z)(e,!0);return(0,u.wh)([f.alloc(32-t.length),t])}const o=(0,i.tW)(f.from([...(0,a.D4)(e),...n(t),...(0,a.D4)(r)]));return(0,a.lF)(o,s.W.OracleQueryId)}const m=".chain";function g(e){const[t,r,...n]=e.split(".");if(0!==n.length)throw new d.c1("aens name","including only one dot",e);if(r!==m.slice(1))throw new d.c1("aens name",`suffixed with ${m}`,e);if(/\p{Emoji_Presentation}/u.test(t))throw new d.c1("aens name","not containing emoji",e);let o;try{const n=new URL(`http://${t}.${r}`);if(n.username+n.password+n.port+n.search+n.hash!==""||"/"!==n.pathname)throw new d.c1("aens name","valid",e);o=n.host}catch(i){if(i instanceof TypeError&&i.message.includes("Invalid URL"))throw new d.c1("aens name","valid",e);throw i}if(!/^[a-z0-9.-]+$/i.test(o))throw new d.c1("aens name","without illegal chars",e);if(o.length>63+m.length)throw new d.c1("aens name","not too long",e);return o}function y(e){return(0,a.lF)((0,i.tW)(g(e)),s.W.Name)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.j$)();return(0,a.lF)((0,i.tW)((0,u.wh)([f.from(g(e)),f.from(t.toString(16).padStart(64,"0"),"hex")])),s.W.Commitment)}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.from([]);return new o.A(f.from(e).toString("hex"),16).toString(10)}function w(e){g(e)}function _(e){try{return w(e),!0}catch(t){return!1}}s.W.AccountAddress,s.W.OracleAddress,s.W.ContractAddress,s.W.Channel;function E(e){const t=g(e).length-m.length;return l.d0[Math.min(t,l.L_)]}function A(e){return g(e).length<13+m.length}},19636:(e,t,r)=>{"use strict";r.d(t,{B4:()=>m,BN:()=>y,_w:()=>h,pj:()=>g,pr:()=>p,xD:()=>v});var n=r(50858),o=r(57889),i=r(41805),a=r(67892),s=r(91577),c=r(91087),u=r(67283),l=r(65626);const{decode:d,encode:f}=n;function h(e,t){var r;const n=s.eR.filter((t=>t.tag.constValue===e));if(0===n.length)throw new l.HR(`${c.vw[e]} (${e})`,0);null!==(r=t)&&void 0!==r||(t=Math.max(...n.map((e=>e.version.constValue))));const o=n.find((e=>e.version.constValue===t));if(null==o)throw new l.HR(`${c.vw[e]} (${e})`,t);return Object.entries(o)}function p(e){let{prefix:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=h(e.tag,e.version),n=r.map((t=>{let[r,n]=t;return n.serialize(e[r],{...e,unpackTx:g,buildTx:p,rebuildTx:t=>p({...e,...t})},e)}));return(0,o.lF)(f(n),null!==t&&void 0!==t?t:i.W.Transaction)}async function m(e){return await Promise.all(h(e.tag,e.version).map((async t=>{let[r,n]=t;null!=n.prepare&&(e[r]=await n.prepare(e[r],e,e))}))),p(e)}function g(e,t){const r=d((0,o.D4)(e)),n=+(0,u.Uk)(r[0]),i=+(0,u.Uk)(r[1]),a=h(n,i);if(null!=t&&t!==n)throw new l.Xc(`Expected transaction to have ${c.vw[t]} tag, got ${c.vw[n]} instead`);if(r.length!==a.length)throw new l.c1("Transaction RLP length",a.length,r.length);return a.reduce(((e,t,n)=>{let[o,i]=t;const a=i.deserialize(r[n],{unpackTx:g});return{...e,[o]:a}}),{})}function y(e){const t="string"===typeof e&&e.startsWith("tx_")?(0,o.D4)(e):e;return(0,o.lF)((0,a.tW)(t),i.W.TxHash)}function v(e){const t=g(e);if(c.vw.ContractCreateTx!==t.tag&&c.vw.GaAttachTx!==t.tag)throw new l.c1("contractTx","a contractCreateTx or gaAttach",t.tag);return(0,u.sP)(t.ownerId,t.nonce)}},91577:(e,t,r)=>{"use strict";r.d(t,{gx:()=>De,kZ:()=>Me,w$:()=>Be,xG:()=>Le,eR:()=>Xe});var n=r(91087),o=r(48287),i=r(57889),a=r(41805),s=r(65626);const{Buffer:c}=o;function u(e){return{serialize(t,r){let{buildTx:n}=r;return ArrayBuffer.isView(t)?c.from(t):"string"===typeof t&&t.startsWith("tx_")?(0,i.D4)(t):(0,i.D4)(n({...t,...null!=e&&{tag:e}}))},deserialize(t,r){let{unpackTx:o}=r;const c=o((0,i.lF)(t,a.W.Transaction));if(null!=e&&c.tag!==e)throw new s.c1("Tag",n.vw[e],n.vw[c.tag]);return c}}}function l(e){return{serialize(t,r){return t.map((t=>e.serialize(t,r)))},deserialize(t,r){return t.map((t=>e.deserialize(t,r)))}}}function d(e,t){return{serialize(e,r){let{buildTx:o}=r;return(0,i.D4)(o({tag:n.vw.Mtree,values:Object.entries(e).map((e=>{let[r,a]=e;return{tag:n.vw.MtreeValue,key:(0,i.D4)(r),value:(0,i.D4)(o({...a,tag:t}))}}))}))},deserialize(r,o){let{unpackTx:s}=o;const{values:c}=s((0,i.lF)(r,a.W.Transaction),n.vw.Mtree);return Object.fromEntries(c.filter((t=>{let{key:r}=t;return e!==a.W.ContractAddress||32===r.length})).map((r=>{let{key:n,value:o}=r;return[(0,i.lF)(n,e),s((0,i.lF)(o,a.W.Transaction),t)]})))},recursiveType:!0}}var f=r(67283),h=r(2232);const p={serialize(e){if(Number(e)<0)throw new s.c1("value","greater or equal to 0",e);return(0,h.Z)(e,!0)},deserialize(e){return(0,f.Uk)(e)}},m={serialize(e){return p.serialize(e)},deserialize(e){return+p.deserialize(e)}};function g(e,t){return{serialize(r){if((!0!==t||null!=r)&&r!==e)throw new s.c1("ShortUIntConst",e,r);return m.serialize(e)},deserialize(t){const r=m.deserialize(t);if(r!==e)throw new s.c1("ShortUIntConst",e,r);return e},constValue:e,constValueOptional:!0===t}}var y=r(89055);const{Buffer:v}=o,b=[a.W.AccountAddress,a.W.Name,a.W.Commitment,a.W.OracleAddress,a.W.ContractAddress,a.W.Channel];function w(){for(var e=arguments.length,t=new Array(e),r=0;r{var t;const r={[n.vw.ChannelForceProgressTx]:30,[n.vw.ChannelOffChainTx]:0,[n.vw.ChannelOffChainUpdateCallContract]:0,[n.vw.ChannelOffChainUpdateCreateContract]:0,[n.vw.ChannelOffChainUpdateDeposit]:0,[n.vw.ChannelOffChainUpdateWithdraw]:0,[n.vw.ChannelOffChainUpdateTransfer]:0,[n.vw.ContractCreateTx]:5,[n.vw.ContractCallTx]:12,[n.vw.GaAttachTx]:5,[n.vw.GaMetaTx]:5,[n.vw.PayingForTx]:.2},o=null!==(t=r[e])&&void 0!==t?t:1;return new C.A(o*I)},N=(e,t,r)=>{let{relativeTtl:o,innerTxSize:i}=r;switch(e){case n.vw.OracleRegisterTx:case n.vw.OracleExtendTx:case n.vw.OracleQueryTx:case n.vw.OracleResponseTx:return new C.A(t).times(O).plus(Math.ceil(32e3*o/Math.floor(525600/P)));case n.vw.GaMetaTx:case n.vw.PayingForTx:return new C.A(t).minus(i).times(O);default:return new C.A(t).times(O)}};function R(e){const t={[n.vw.OracleRegisterTx]:"oracleTtlValue",[n.vw.OracleExtendTx]:"oracleTtlValue",[n.vw.OracleQueryTx]:"queryTtlValue",[n.vw.OracleResponseTx]:"responseTtlValue"},{tag:r}=e;return(0,y.Uu)(r,t)?e[t[r]]:1}function M(e,t,r){const{length:o}=(0,i.D4)(e),a=t(e);let s=0;return a.tag!==n.vw.GaMetaTx&&a.tag!==n.vw.PayingForTx||(s=(0,i.D4)(r(a.tx.encodedTx)).length),k(a.tag).plus(N(a.tag,o,{relativeTtl:R(a),innerTxSize:s})).times(n.d$)}function B(e,t,r){let n,o=new C.A(0);do{n=o,o=M(e(o),t,r)}while(!o.eq(n));return o}const L={...x,serializeAettos(e,t){let{rebuildTx:r,unpackTx:n,buildTx:o,_computingMinFee:i,_pickBiggerFee:a}=t;if(null!=i)return i.toFixed();const c=B((e=>r({_computingMinFee:e})),n,o),u=new C.A(null!==e&&void 0!==e?e:c);if(c.gt(u)){if(!0===a)return c.toFixed();throw new s.qw(`Fee ${u.toString()} must be bigger than ${c}`)}return u.toFixed()}},D={...m,serialize(e){return m.serialize(null!==e&&void 0!==e?e:0)},async prepare(e,t,r){let{onNode:n,absoluteTtl:o}=r;if(!0!==o&&0!==e&&null!=e){if(null==n)throw new s.c1("onNode","provided",n);e+=(await n.getCurrentKeyBlock()).height}return e}};function F(e){return{...m,async prepare(t,r,n){if(null!=t)return t;const{onNode:o,strategy:i}=n,a=n[e],c="provided (or provide `nonce` instead)";if(null==o)throw new s.c1("onNode",c,o);if(null==a)throw new s.c1("senderId",c,a);return(await o.getAccountNextNonce(a.replace(/^ok_/,"ak_"),{strategy:i}).catch((e=>{if(!(0,y.PI)(e))throw e;return{nextNonce:1}}))).nextNonce},senderKey:e}}const j=w(...b),U={serialize(e){if(e.length>32)throw new s.qw(`Expected 32 pointers or less, got ${e.length} instead`);return e.map((e=>[(0,h.Z)(e.key),j.serialize(e.id)]))},deserialize(e){return e.map((e=>{let[t,r]=e;return{key:t.toString(),id:j.deserialize(r)}}))}},{Buffer:$}=o,z={serialize(e){return $.from(e)},deserialize(e){return e.toString()}},H={serialize(e){return z.serialize(e)},deserialize(e){return z.deserialize(e)}},V={...x,serializeAettos(e,t){const r=(0,f.YQ)(t.name),n=new C.A(null!==e&&void 0!==e?e:r);if(r.gt(n))throw new s.ZB(n,r);return n.toFixed()},serialize(e,t,r){return x.serialize.call(this,e,t,r)}},G=w(a.W.Name),q={...G,serialize(e){return G.serialize((0,f.wJ)(e)?(0,f.bt)(e):e)}};var W=r(85649);const{Buffer:K}=o,X={serialize(e){return K.from([e?1:0])},deserialize(e){return 1===e[0]}},Z={...x,serialize(e,t,r){var n;if(null!==(n=e)&&void 0!==n||(e=0),0!==+e)throw new s.qw(`Contract deposit is not refundable, so it should be equal 0, got ${e.toString()} instead`);return x.serialize(e,t,r)}};function Y(e,t,r,o){return e-+M(t(e),r,o).dividedBy(n.d$)}const Q={...m,serialize(e,t,r){let{tag:o,rebuildTx:i,unpackTx:a,buildTx:c,_computingGasLimit:u}=t,{gasMax:l=6e6}=r;if(null!=u)return m.serialize(u);const d=o===n.vw.GaMetaTx?n.yY:Y(l,(e=>i({_computingGasLimit:e,_pickBiggerFee:!0})),a,c),f=null!==e&&void 0!==e?e:d;if(f>d)throw new s.qw(`Gas limit ${f} must be less or equal to ${d}`);return m.serialize(f)}},J={...x,serializeAettos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.d$.toString();if(+e"number"===typeof e));return{serialize(e){if("number"!==typeof e)throw new s.c1("value","to be a number",e);if(e>255)throw new s.c1("value","to be less than 256",e);if(!(0,y.ET)(e,t))throw new s.c1("value","to be a value of Enum",e);return re.from([e])},deserialize(e){if(1!==e.length)throw new s.c1("buffer","to have single element",e.length);const r=e[0];if(!(0,y.ET)(r,t))throw new s.c1("value","to be a value of Enum",r);return r}}}const oe={serialize(e){return(0,h.Z)(e)},deserialize(e){return e.toString()}};var ie=r(14332),ae=r(97058),se=r(50858),ce=r(67892);const{Buffer:ue}=o;function le(e,t){fe(e,t),t.add(e)}function de(e,t,r){fe(e,t),t.set(e,r)}function fe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function he(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function pe(e,t,r){return me(e,t),r}function me(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}const{encode:ge}=se;var ye=function(e){return e[e["Branch"]=0]="Branch",e[e["Extension"]=1]="Extension",e[e["Leaf"]=2]="Leaf",e}(ye||{}),ve=new WeakMap,be=new WeakMap,we=new WeakMap,_e=new WeakMap,Ee=new WeakMap,Ae=new WeakMap,Se=new WeakSet,Te=new WeakSet;class xe{get isComplete(){return(0,ae.A)(this,be)}constructor(e,t,r,n){if(le(this,Te),le(this,Se),de(this,ve,{writable:!0,value:void 0}),de(this,be,{writable:!0,value:!0}),de(this,we,{writable:!0,value:void 0}),de(this,_e,{writable:!0,value:void 0}),de(this,Ee,{writable:!0,value:void 0}),de(this,Ae,{writable:!0,value:void 0}),(0,ie.A)(this,_e,t),(0,ie.A)(this,Ee,r),(0,ie.A)(this,Ae,n),(0,ie.A)(this,ve,e[0].toString("hex")),(0,ie.A)(this,we,Object.fromEntries(e[1].map((e=>[e[0].toString("hex"),e[1]])))),null!=(0,ae.A)(this,we)[(0,ae.A)(this,ve)])Object.entries((0,ae.A)(this,we)).forEach((e=>{let[t,r]=e;if(pe(xe,xe,Ce).call(xe,r)!==t)throw new s.nC;const{type:n}=pe(xe,xe,Ie).call(xe,r);switch(n){case ye.Branch:r.slice(0,16).filter((e=>e.length)).forEach((e=>{null==(0,ae.A)(this,we)[e.toString("hex")]&&(0,ie.A)(this,be,!1)}));break;case ye.Extension:if(null==(0,ae.A)(this,we)[r[1].toString("hex")])throw new s.aL("Can't find a node by hash in extension node");break;case ye.Leaf:break;default:throw new s.Gd(`Unknown MPTree node type: ${n}`)}}));else{if(0!==Object.keys((0,ae.A)(this,we)).length)throw new s.aL("Can't find a node by root hash");(0,ie.A)(this,be,!1)}}isEqual(e){return(0,ae.A)(this,ve)===(0,ae.A)(e,ve)}serialize(){return[ue.from((0,ae.A)(this,ve),"hex"),Object.entries((0,ae.A)(this,we)).map((e=>{let[t,r]=e;return[ue.from(t,"hex"),r]}))]}get(e){const t=he(this,Se,Oe).call(this,(0,i.D4)(e).toString("hex"));return null==t?t:(0,ae.A)(this,Ae).call(this,(0,i.lF)(t,a.W.Transaction),(0,ae.A)(this,Ee))}toObject(){return Object.fromEntries(he(this,Te,Pe).call(this).filter((e=>{let[t]=e;return(0,ae.A)(this,_e)!==a.W.ContractAddress||66!==t.length})).map((e=>{let[t,r]=e;return[(0,i.lF)(ue.from(t,"hex"),(0,ae.A)(this,_e)),(0,ae.A)(this,Ae).call(this,(0,i.lF)(r,a.W.Transaction),(0,ae.A)(this,Ee))]})))}}function Ce(e){return ue.from((0,ce.tW)(ge(e))).toString("hex")}function Ie(e){switch(e.length){case 17:return{type:ye.Branch,...0!==e[16].length&&{value:e[16]}};case 2:{const t=e[0][0]>>4;if(t>3)throw new s.o4(t);const r=t<=1?ye.Extension:ye.Leaf,n=[0,2].includes(t)?2:1;return{type:r,...r===ye.Leaf&&{value:e[1]},path:e[0].toString("hex").slice(n)}}default:throw new s.pC(e.length)}}function Oe(e){let t=(0,ae.A)(this,ve),r=e;while(1){const e=(0,ae.A)(this,we)[t];if(null==e){if(!this.isComplete)return;throw new s.Gd("Can't find node in complete tree")}const{type:n,value:o,path:i}=pe(xe,xe,Ie).call(xe,e);switch(n){case ye.Branch:if(0===r.length)return o;t=e[+`0x${r[0]}`].toString("hex"),r=r.substring(1);break;case ye.Extension:if(r.substring(0,null===i||void 0===i?void 0:i.length)!==i)return;t=e[1].toString("hex"),r=r.substring(i.length);break;case ye.Leaf:if(i!==r)return;return o;default:throw new s.Gd(`Unknown MPTree node type: ${n}`)}}}function Pe(){const e=[],t=(r,n)=>{const o=(0,ae.A)(this,we)[r];if(null==o){if(!this.isComplete)return;throw new s.Gd("Can't find node in complete tree")}const{type:i,value:a,path:c}=pe(xe,xe,Ie).call(xe,o);switch(i){case ye.Branch:o.slice(0,16).map(((e,t)=>[e,t])).filter((e=>{let[t]=e;return t.length})).forEach((e=>{let[r,o]=e;return t(r.toString("hex"),n+o.toString(16))})),null!=a&&e.push([n,a]);break;case ye.Extension:t(o[1].toString("hex"),n+c);break;case ye.Leaf:if(null==a)throw new s.rU;e.push([n+c,a]);break;default:throw new s.Gd(`Unknown MPTree node type: ${i}`)}};return t((0,ae.A)(this,ve),""),e}function ke(e,t){return{serialize(e){return e.serialize()},deserialize(r,n){let{unpackTx:o}=n;return new xe(r,e,t,o)}}}function Ne(e){return{serialize(t,r){let{buildTx:n}=r;return(0,i.D4)(n({tag:e,payload:t}))},deserialize(t,r){let{unpackTx:n}=r;return n((0,i.lF)(t,a.W.Transaction),e).payload},recursiveType:!0}}let Re=function(e){return e[e["delta"]=0]="delta",e[e["block"]=1]="block",e}({});const Me={type:Re.delta,value:500},Be={type:Re.delta,value:10},Le={type:Re.delta,value:10},De={pub:"ak_11111111111111111111111111111111273Yts",amount:100000000000000000000000000000000000n};let Fe=function(e){return e[e["Ok"]=0]="Ok",e[e["Error"]=1]="Error",e[e["Revert"]=2]="Revert",e}({});const je=u(),Ue=u(n.vw.SignedTx),$e=l(u(n.vw.MtreeValue)),ze=u(n.vw.TreesPoi),He=d(a.W.ContractAddress,n.vw.Contract),Ve=d(a.W.AccountAddress,n.vw.Account),Ge=d(a.W.Bytearray,n.vw.ContractCall),qe=d(a.W.Channel,n.vw.Channel),We=d(a.W.Name,n.vw.Name),Ke=d(a.W.OracleAddress,n.vw.Oracle),Xe=[{tag:g(n.vw.Account),version:g(1),nonce:m,balance:p},{tag:g(n.vw.Account),version:g(2,!0),flags:p,nonce:m,balance:p,gaContract:w(a.W.ContractAddress,a.W.Name),gaAuthFun:E(a.W.ContractBytearray)},{tag:g(n.vw.SignedTx),version:g(1,!0),signatures:l(S),encodedTx:je},{tag:g(n.vw.SpendTx),version:g(1,!0),senderId:w(a.W.AccountAddress),recipientId:w(a.W.AccountAddress,a.W.Name),amount:x,fee:L,ttl:D,nonce:F("senderId"),payload:E(a.W.Bytearray,!0)},{tag:g(n.vw.Name),version:g(1,!0),accountId:w(a.W.AccountAddress),nameTtl:m,status:S,clientTtl:m,pointers:U},{tag:g(n.vw.NamePreclaimTx),version:g(1,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),commitmentId:w(a.W.Commitment),fee:L,ttl:D},{tag:g(n.vw.NameClaimTx),version:g(2,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),name:H,nameSalt:p,nameFee:V,fee:L,ttl:D},{tag:g(n.vw.NameUpdateTx),version:g(1,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),nameId:q,nameTtl:m,pointers:U,clientTtl:m,fee:L,ttl:D},{tag:g(n.vw.NameTransferTx),version:g(1,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),nameId:q,recipientId:w(a.W.AccountAddress,a.W.Name),fee:L,ttl:D},{tag:g(n.vw.NameRevokeTx),version:g(1,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),nameId:q,fee:L,ttl:D},{tag:g(n.vw.Contract),version:g(1,!0),owner:w(a.W.AccountAddress),ctVersion:W.Ay,code:E(a.W.ContractBytearray),log:E(a.W.ContractBytearray),active:X,referers:l(w(a.W.AccountAddress)),deposit:Z},{tag:g(n.vw.ContractCreateTx),version:g(1,!0),ownerId:w(a.W.AccountAddress),nonce:F("ownerId"),code:E(a.W.ContractBytearray),ctVersion:W.Ay,fee:L,ttl:D,deposit:Z,amount:x,gasLimit:Q,gasPrice:J,callData:E(a.W.ContractBytearray)},{tag:g(n.vw.ContractCallTx),version:g(1,!0),callerId:w(a.W.AccountAddress),nonce:F("callerId"),contractId:w(a.W.ContractAddress,a.W.Name),abiVersion:te,fee:L,ttl:D,amount:x,gasLimit:Q,gasPrice:J,callData:E(a.W.ContractBytearray)},{tag:g(n.vw.ContractCall),version:g(2,!0),callerId:w(a.W.AccountAddress),callerNonce:m,height:m,contractId:w(a.W.ContractAddress),gasPrice:p,gasUsed:m,returnValue:E(a.W.ContractBytearray),returnType:ne(Fe),log:l(S)},{tag:g(n.vw.Oracle),version:g(1,!0),accountId:w(a.W.AccountAddress),queryFormat:oe,responseFormat:oe,queryFee:x,oracleTtlValue:m,abiVersion:te},{tag:g(n.vw.OracleRegisterTx),version:g(1,!0),accountId:w(a.W.AccountAddress),nonce:F("accountId"),queryFormat:oe,responseFormat:oe,queryFee:x,oracleTtlType:ne(Re),oracleTtlValue:m,fee:L,ttl:D,abiVersion:te},{tag:g(n.vw.OracleExtendTx),version:g(1,!0),oracleId:w(a.W.OracleAddress,a.W.Name),nonce:F("oracleId"),oracleTtlType:ne(Re),oracleTtlValue:m,fee:L,ttl:D},{tag:g(n.vw.OracleQueryTx),version:g(1,!0),senderId:w(a.W.AccountAddress),nonce:F("senderId"),oracleId:w(a.W.OracleAddress,a.W.Name),query:oe,queryFee:x,queryTtlType:ne(Re),queryTtlValue:m,responseTtlType:ne(Re),responseTtlValue:m,fee:L,ttl:D},{tag:g(n.vw.OracleResponseTx),version:g(1,!0),oracleId:w(a.W.OracleAddress),nonce:F("oracleId"),queryId:E(a.W.OracleQueryId),response:oe,responseTtlType:ne(Re),responseTtlValue:m,fee:L,ttl:D},{tag:g(n.vw.ChannelCreateTx),version:g(2,!0),initiator:w(a.W.AccountAddress),initiatorAmount:p,responder:w(a.W.AccountAddress),responderAmount:p,channelReserve:p,lockPeriod:p,ttl:D,fee:L,initiatorDelegateIds:l(w(...b)),responderDelegateIds:l(w(...b)),stateHash:E(a.W.State),nonce:F("initiator")},{tag:g(n.vw.ChannelCloseMutualTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),initiatorAmountFinal:p,responderAmountFinal:p,ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelCloseSoloTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),payload:E(a.W.Transaction),poi:ze,ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelSlashTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),payload:E(a.W.Transaction),poi:ze,ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelDepositTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),amount:p,ttl:D,fee:L,stateHash:E(a.W.State),round:m,nonce:F("fromId")},{tag:g(n.vw.ChannelWithdrawTx),version:g(1,!0),channelId:w(a.W.Channel),toId:w(a.W.AccountAddress),amount:p,ttl:D,fee:L,stateHash:E(a.W.State),round:m,nonce:F("fromId")},{tag:g(n.vw.ChannelSettleTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),initiatorAmountFinal:p,responderAmountFinal:p,ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelForceProgressTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),payload:E(a.W.Transaction),round:m,update:E(a.W.ContractBytearray),stateHash:E(a.W.State),offChainTrees:E(a.W.StateTrees),ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelOffChainTx),version:g(2,!0),channelId:w(a.W.Channel),round:m,stateHash:E(a.W.State)},{tag:g(n.vw.Channel),version:g(3,!0),initiator:w(a.W.AccountAddress),responder:w(a.W.AccountAddress),channelAmount:p,initiatorAmount:p,responderAmount:p,channelReserve:p,initiatorDelegateIds:l(w(...b)),responderDelegateIds:l(w(...b)),stateHash:E(a.W.State),round:m,soloRound:p,lockPeriod:p,lockedUntil:p,initiatorAuth:E(a.W.ContractBytearray),responderAuth:E(a.W.ContractBytearray)},{tag:g(n.vw.ChannelSnapshotSoloTx),version:g(1,!0),channelId:w(a.W.Channel),fromId:w(a.W.AccountAddress),payload:E(a.W.Transaction),ttl:D,fee:L,nonce:F("fromId")},{tag:g(n.vw.ChannelOffChainUpdateTransfer),version:g(1,!0),from:w(a.W.AccountAddress),to:w(a.W.AccountAddress),amount:p},{tag:g(n.vw.ChannelOffChainUpdateDeposit),version:g(1,!0),from:w(a.W.AccountAddress),amount:p},{tag:g(n.vw.ChannelOffChainUpdateWithdraw),version:g(1,!0),from:w(a.W.AccountAddress),amount:p},{tag:g(n.vw.ChannelOffChainUpdateCreateContract),version:g(1,!0),owner:w(a.W.AccountAddress),ctVersion:W.Ay,code:E(a.W.ContractBytearray),deposit:p,callData:E(a.W.ContractBytearray)},{tag:g(n.vw.ChannelOffChainUpdateCallContract),version:g(1,!0),caller:w(a.W.AccountAddress),contract:w(a.W.ContractAddress),abiVersion:te,amount:p,callData:E(a.W.ContractBytearray),callStack:S,gasPrice:J,gasLimit:Q},{tag:g(n.vw.ChannelClientReconnectTx),version:g(1,!0),channelId:w(a.W.Channel),round:m,role:oe,pubkey:w(a.W.AccountAddress)},{tag:g(n.vw.TreesPoi),version:g(1,!0),accounts:l(ke(a.W.AccountAddress,n.vw.Account)),calls:l(ke(a.W.Bytearray,n.vw.ContractCall)),channels:l(ke(a.W.Channel,n.vw.Channel)),contracts:l(ke(a.W.ContractAddress,n.vw.Contract)),ns:l(ke(a.W.Name,n.vw.Name)),oracles:l(ke(a.W.OracleAddress,n.vw.Oracle))},{tag:g(n.vw.StateTrees),version:g(0,!0),contracts:Ne(n.vw.ContractsMtree),calls:Ne(n.vw.CallsMtree),channels:Ne(n.vw.ChannelsMtree),ns:Ne(n.vw.NameserviceMtree),oracles:Ne(n.vw.OraclesMtree),accounts:Ne(n.vw.AccountsMtree)},{tag:g(n.vw.Mtree),version:g(1,!0),values:$e},{tag:g(n.vw.MtreeValue),version:g(1,!0),key:S,value:S},{tag:g(n.vw.ContractsMtree),version:g(1,!0),payload:He},{tag:g(n.vw.CallsMtree),version:g(1,!0),payload:Ge},{tag:g(n.vw.ChannelsMtree),version:g(1,!0),payload:qe},{tag:g(n.vw.NameserviceMtree),version:g(1,!0),payload:We},{tag:g(n.vw.OraclesMtree),version:g(1,!0),payload:Ke},{tag:g(n.vw.AccountsMtree),version:g(1,!0),payload:Ve},{tag:g(n.vw.GaAttachTx),version:g(1,!0),ownerId:w(a.W.AccountAddress),nonce:F("ownerId"),code:E(a.W.ContractBytearray),authFun:S,ctVersion:W.Ay,fee:L,ttl:D,gasLimit:Q,gasPrice:J,callData:E(a.W.ContractBytearray)},{tag:g(n.vw.GaMetaTx),version:g(2,!0),gaId:w(a.W.AccountAddress),authData:E(a.W.ContractBytearray),abiVersion:te,fee:L,gasLimit:Q,gasPrice:J,tx:Ue},{tag:g(n.vw.PayingForTx),version:g(1,!0),payerId:w(a.W.AccountAddress),nonce:F("payerId"),fee:L,tx:Ue},{tag:g(n.vw.GaMetaTxAuthData),version:g(1,!0),fee:x,gasPrice:J,txHash:E(a.W.TxHash)}]},49792:(e,t,r)=>{"use strict";r.d(t,{oo:()=>u,wE:()=>d});var n=r(19636),o=r(91087),i=r(67892),a=r(81265),s=r(65626),c=r(1863);function u(e){let{innerTx:t,gasUsed:r,queryFee:i,isInitiator:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const c=(0,n.pj)(e);if(c.tag===o.vw.SignedTx)throw new s.qw("Transaction shouldn't be a SignedTx, use `getExecutionCostBySignedTx` instead");let l=0n;return"fee"in c&&"freeloader"!==t&&(l+=BigInt(c.fee)),c.tag===o.vw.NameClaimTx&&(l+=BigInt(c.nameFee)),c.tag===o.vw.OracleQueryTx&&(l+=BigInt(c.queryFee)),c.tag===o.vw.OracleResponseTx&&(l-=BigInt(null!==i&&void 0!==i?i:0)),c.tag===o.vw.ChannelSettleTx&&(!0===a&&(l-=BigInt(c.initiatorAmountFinal)),!1===a&&(l-=BigInt(c.responderAmountFinal))),(c.tag===o.vw.SpendTx&&c.senderId!==c.recipientId||c.tag===o.vw.ContractCreateTx||c.tag===o.vw.ContractCallTx||c.tag===o.vw.ChannelDepositTx)&&"fee-payer"!==t&&(l+=BigInt(c.amount)),c.tag===o.vw.ContractCreateTx&&(l+=BigInt(c.deposit)),c.tag!==o.vw.ContractCreateTx&&c.tag!==o.vw.ContractCallTx&&c.tag!==o.vw.GaAttachTx&&c.tag!==o.vw.GaMetaTx||"freeloader"===t||(l+=BigInt(c.gasPrice)*BigInt(null!==r&&void 0!==r?r:c.gasLimit)),c.tag!==o.vw.GaMetaTx&&c.tag!==o.vw.PayingForTx||(l+=u((0,n.pr)(c.tx.encodedTx),c.tag===o.vw.PayingForTx?{innerTx:"fee-payer"}:{})),l}function l(e,t,r){const l=(0,n.pj)(e,o.vw.SignedTx);if(l.encodedTx.tag===o.vw.GaMetaTx)return u((0,n.pr)(l.encodedTx),r);const d=(0,n.pr)(l.encodedTx),f=(0,c.A)(d),[h,p]=[!0,!1].map((e=>(0,i.MX)((0,a.J)(d,t,e),l.signatures[0],f)));if(!h&&!p)throw new s.Jn("Can't verify signature");return u((0,n.pr)(l.encodedTx),{...h&&{innerTx:"freeloader"},...r})}async function d(e,t){let{isMined:r,...i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,n.pj)(e);const c=a.tag===o.vw.SignedTx,d=c&&!0===r&&(0,n.BN)(e);if(a.tag===o.vw.SignedTx&&(a=a.encodedTx),null==i.gasUsed&&!1!==d&&[o.vw.ContractCreateTx,o.vw.ContractCallTx,o.vw.GaAttachTx,o.vw.GaMetaTx].includes(a.tag)){const{callInfo:e,gaInfo:r}=await t.getTransactionInfoByHash(d),n=null!==e&&void 0!==e?e:r;if(null==n)throw new s.Gd(`callInfo and gaInfo is not available for transaction ${d}`);i.gasUsed=n.gasUsed}if(null==i.queryFee&&o.vw.OracleResponseTx===a.tag&&(i.queryFee=(await t.getOracleByPubkey(a.oracleId)).queryFee.toString()),null==i.isInitiator&&o.vw.ChannelSettleTx===a.tag&&!0!==r){const{initiatorId:e}=await t.getChannelByPubkey(a.channelId);i.isInitiator=a.fromId===e}return c?l(e,await t.getNetworkId(),i):u(e,i)}},1863:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(19636),o=r(91087),i=r(65626);function a(e){var t;const r=(0,n.pj)(e);switch(r.tag){case o.vw.SignedTx:return a((0,n.pr)(r.encodedTx));case o.vw.GaMetaTx:return r.gaId;default:}const s=null===(t=(0,n._w)(r.tag,r.version).find((e=>{let[t]=e;return"nonce"===t})))||void 0===t?void 0:t[1];if(null==s)throw new i.Jn(`Transaction doesn't have nonce: ${o.vw[r.tag]}`);if(!("senderKey"in s))throw new i.rU;const c=r[s.senderKey];return c.replace(/^ok_/,"ak_")}},40458:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(48287),o=r(4105),i=r(67892),a=r(85649),s=r(91087),c=r(19636),u=r(89055),l=r(57889),d=r(46512),f=r(11637),h=r(65626),p=r(1863),m=r(49792);const{Buffer:g}=n,y=[];async function v(e,t,r){const n=(0,p.A)((0,c.pr)(e)),[o,{height:i},{consensusProtocolVersion:a,nodeNetworkId:s}]=await Promise.all([t.getAccountByPubkey(n).catch((e=>{if(!(0,u.PI)(e))throw e;return{id:n,balance:0n,nonce:0}})).then((e=>({...e,id:e.id}))),t.getCurrentKeyBlockHeight(),t.getNodeInfo()]);return(await Promise.all(y.map((async n=>n(e,{node:t,account:o,height:i,consensusProtocolVersion:a,nodeNetworkId:s,parentTxTypes:r}))))).flat()}async function b(e,t){const r=new d.A(t.$host,{ignoreVersion:!0,pipeline:t.pipeline.clone(),additionalPolicies:[(0,f.DM)()]});return v((0,c.pj)(e),r,[])}y.push(((e,t)=>{let{account:r,nodeNetworkId:n,parentTxTypes:o}=t;if(e.tag!==s.vw.SignedTx)return[];const{encodedTx:a,signatures:d}=e;if(null==(null!==a&&void 0!==a?a:d))return[];if(1!==d.length)return[];const f=g.from([n,...o.includes(s.vw.PayingForTx)?["inner_tx"]:[]].join("-")),h=(0,l.D4)((0,c.pr)(a)),p=(0,u.wh)([f,h]),m=(0,u.wh)([f,(0,i.tW)(h)]);return(0,i.MX)(p,d[0],r.id)||(0,i.MX)(m,d[0],r.id)?[]:[{message:"Signature cannot be verified, please ensure that you transaction have the correct prefix and the correct private key for the sender address",key:"InvalidSignature",checkedKeys:["encodedTx","signatures"]}]}),(async(e,t)=>{let r,{node:n,parentTxTypes:o}=t;return"encodedTx"in e&&(r=e.encodedTx),"tx"in e&&(r=e.tx),null==r?[]:v(r,n,[...o,e.tag])}),((e,t)=>{let{height:r}=t;return"ttl"in e?0===e.ttl||e.ttl>=r?[]:[{message:`TTL ${e.ttl} is already expired, current height is ${r}`,key:"ExpiredTTL",checkedKeys:["ttl"]}]:[]}),(async(e,t)=>{let{account:r,parentTxTypes:n,node:o}=t;if(0!==n.length)return[];const i=await(0,m.wE)((0,c.pr)(e),o).catch((()=>0n));return i<=r.balance?[]:[{message:`Account balance ${r.balance} is not enough to execute the transaction that costs ${i}`,key:"InsufficientBalance",checkedKeys:["amount","fee","nameFee","gasLimit","gasPrice"]}]}),((e,t)=>{let r,{account:n}=t;return e.tag===s.vw.SignedTx&&"generalized"===n.kind&&0!==e.signatures.length&&(r="Generalized account can't be used to generate SignedTx with signatures"),e.tag===s.vw.GaMetaTx&&"basic"===n.kind&&(r="Basic account can't be used to generate GaMetaTx"),null==r?[]:[{message:r,key:"InvalidAccountType",checkedKeys:["tag"]}]}),((e,t)=>{var r,n;let{consensusProtocolVersion:o}=t;const i=s.vw.Oracle===e.tag||s.vw.OracleRegisterTx===e.tag,c=s.vw.ContractCreateTx===e.tag||s.vw.GaAttachTx===e.tag,u=s.vw.ContractCallTx===e.tag||s.vw.GaMetaTx===e.tag,l=null!==(r=null!==(n=i?"oracle-call":null)&&void 0!==n?n:c?"contract-create":null)&&void 0!==r?r:u?"contract-call":null;if(null==l)return[];const d=a.h[o][l];let f;if("abiVersion"in e&&(f={abiVersion:e.abiVersion}),"ctVersion"in e&&(f=e.ctVersion),null==f)throw new h.rU;return!d.abiVersion.includes(f.abiVersion)||c&&!d.vmVersion.includes(f.vmVersion)?[{message:`ABI/VM version ${JSON.stringify(f)} is wrong, supported is: ${JSON.stringify(d)}`,key:"VmAndAbiVersionMismatch",checkedKeys:["ctVersion","abiVersion"]}]:[]}),(async(e,t)=>{let{node:r}=t;if(s.vw.ContractCallTx!==e.tag)return[];try{const{active:t}=await r.getContract(e.contractId);return t?[]:[{message:`Contract ${e.contractId} is not active`,key:"ContractNotActive",checkedKeys:["contractId"]}]}catch(i){var n;if(!(i instanceof o.pj)||null==(null===(n=i.response)||void 0===n?void 0:n.bodyAsText))throw i;return[{message:JSON.parse(i.response.bodyAsText).reason,key:"ContractNotFound",checkedKeys:["contractId"]}]}}))},65984:(e,t,r)=>{"use strict";r.d(t,{j8:()=>a,ej:()=>c});var n=r(60346);const o=e=>"bigint"===typeof e||["number","object","string"].includes(typeof e)&&(!isNaN(e)||Number.isInteger(e)||n.A.isBigNumber(e));var i=r(65626);let a=function(e){return e["AE"]="ae",e["MILI_AE"]="miliAE",e["MICRO_AE"]="microAE",e["NANO_AE"]="nanoAE",e["PICO_AE"]="picoAE",e["FEMTO_AE"]="femtoAE",e["AETTOS"]="aettos",e}({});const s={[a.AE]:0,[a.MILI_AE]:-3,[a.MICRO_AE]:-6,[a.NANO_AE]:-9,[a.PICO_AE]:-12,[a.FEMTO_AE]:-15,[a.AETTOS]:-18},c=(e,t)=>{let{denomination:r=a.AETTOS,targetDenomination:c=a.AETTOS}=t;if(!o(e))throw new i.c1("value","a number",e);return new n.A("bigint"===typeof e?e.toString():e).shiftedBy(s[r]-s[c]).toFixed()}},11637:(e,t,r)=>{"use strict";r.d(t,{DM:()=>u,C3:()=>c,jG:()=>l,wP:()=>s,Iv:()=>f,BL:()=>d});var n=r(4105),o=r(89055);function i(e,t,r){const n=e=>e.split(/[-+]/)[0].split(".").map((e=>+e)),o=n(e),i=n(t),a=n(r),s=Math.max(...o,...i,...a)+1,c=e=>e.reverse().reduce(((e,t,r)=>e+t*s**r),0),u=c(o),l=c(i),d=c(a);return u>=l&&u{const e=new Map;return{policy:{name:"request-queues",async sendRequest(t,r){var n;const i=t.headers.get("__queue");t.headers.delete("__queue");const a=async()=>r(t);if(null==i)return a();const s=(null!==(n=e.get(i))&&void 0!==n?n:Promise.resolve()).then(a);return e.set(i,s.then((async()=>(0,o.v7)(750)),(()=>{}))),s}},position:"perCall"}},c=()=>{const e=new Map;return{policy:{name:"combine-get-requests",async sendRequest(t,r){var n;if("GET"!==t.method)return r(t);const o=JSON.stringify([t.url,t.body]),i=null!==(n=e.get(o))&&void 0!==n?n:r(t);e.set(o,i);try{return await i}finally{e.delete(o)}}},position:"perCall"}},u=()=>{const e=new Map;return{policy:{name:"aggressive-cache-get-responses",async sendRequest(t,r){var n;if("GET"!==t.method)return r(t);const o=JSON.stringify([t.url,t.body]),i=null!==(n=e.get(o))&&void 0!==n?n:r(t);return e.set(o,i),i}},position:"perCall"}},l=e=>({policy:{name:"error-formatter",async sendRequest(t,r){try{return await r(t)}catch(i){var o;if(!(i instanceof n.pj)||null==i.request)throw i;if(null==(null===(o=i.response)||void 0===o?void 0:o.bodyAsText))throw i;let t;try{t=JSON.parse(i.response.bodyAsText)}catch(a){throw i}i.message=`${new URL(i.request.url).pathname.slice(1)} error`;const r=e(t);throw""!==r&&(i.message+=`:${r}`),i}}},position:"perCall"}),d=(e,t,r,n,o)=>({name:"version-check",async sendRequest(s,c){if(new URL(s.url).pathname===t)return c(s);const u=await r;if(u instanceof Error)throw u;const l=[u,n,o];if(!i(...l))throw new a.K$(e,...l);return c(s)}}),f=(e,t)=>({policy:{name:"retry-on-failure",async sendRequest(r,i){const a=[200,400,403,500],s=new Array(e).fill(0).map(((t,r)=>((r+1)/e)**2)),c=s.reduce(((e,t)=>e+t)),u=s.map((e=>e/c*t));let l=new n.pj("Not expected to be thrown");for(let t=0;t<=e;t+=1){0!==t&&await(0,o.v7)(u[t-1]);try{return await i(r)}catch(h){var d,f;if(!(h instanceof n.pj))throw h;if(a.includes(null!==(d=null===(f=h.response)||void 0===f?void 0:f.status)&&void 0!==d?d:0))throw h;l=h}}throw l}},position:"perCall"})},2232:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(48287),o=r(60346),i=r(65626);const{Buffer:a}=n;function s(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e)return a.from([]);if(Number.isInteger(e)||o.A.isBigNumber(e)||t){if(o.A.isBigNumber(e)||(e=new o.A(e)),!e.isInteger())throw new i.hg(`Unexpected not integer value: ${e.toFixed()}`);let t=e.toString(16);return t.length%2===1&&(t=`0${t}`),a.from(t,"hex")}if("string"===typeof e)return a.from(e);throw new i.E5}},67892:(e,t,r)=>{"use strict";r.d(t,{AV:()=>E,JS:()=>A,MX:()=>w,TZ:()=>v,_S:()=>b,d:()=>y,j$:()=>m,pL:()=>p,tW:()=>g});var n=r(48287),o=r(88947),i=r(74156),a=r(68469),s=r(89055),c=r(41805),u=r(57889),l=r(65626);const{Buffer:d}=n,{blake2b:f}=i,{encode:h}=a;function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.W.AccountAddress;try{(0,u.D4)(e);const r=e.split("_")[0];if(r!==t)throw new l.c1("Encoded string type",t,r);return!0}catch(r){return!1}}function m(){const[e]=new BigUint64Array(o.randomBytes(8).buffer);return Number(e%BigInt(Number.MAX_SAFE_INTEGER))}function g(e){return d.from(f(e,void 0,32))}function y(e){return o.sign.keyPair.fromSecretKey(e)}function v(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=o.sign.keyPair(),r=d.from(t.publicKey),n=d.from(t.secretKey);return e?{publicKey:r,secretKey:n}:{publicKey:(0,u.lF)(r,c.W.AccountAddress),secretKey:n.toString("hex")}}function b(e,t){return o.sign.detached(d.from(e),d.from(t))}function w(e,t,r){return o.sign.detached.verify(e,t,(0,u.D4)(r))}const _=d.from("aeternity Signed Message:\n","utf8"),E=h(_.length);function A(e){const t=d.from(e,"utf8");return g((0,s.wh)([E,_,h(t.length),t]))}},41805:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});let n=function(e){return e["KeyBlockHash"]="kh",e["MicroBlockHash"]="mh",e["BlockPofHash"]="bf",e["BlockTxHash"]="bx",e["BlockStateHash"]="bs",e["Channel"]="ch",e["ContractAddress"]="ct",e["ContractBytearray"]="cb",e["ContractStoreKey"]="ck",e["ContractStoreValue"]="cv",e["Transaction"]="tx",e["TxHash"]="th",e["OracleAddress"]="ok",e["OracleQuery"]="ov",e["OracleQueryId"]="oq",e["OracleResponse"]="or",e["AccountAddress"]="ak",e["Signature"]="sg",e["Commitment"]="cm",e["PeerPubkey"]="pp",e["Name"]="nm",e["State"]="st",e["Poi"]="pi",e["StateTrees"]="ss",e["CallStateTree"]="cs",e["Bytearray"]="ba",e}({})},57889:(e,t,r)=>{"use strict";r.d(t,{D4:()=>A,lF:()=>S});var n=r(48287),o=r(16763),i=r(24107),a=r(65626),s=r(89055),c=r(41805);const{Buffer:u}=n,{encode:l,decode:d}=o;function f(e){return(new i).update(e).digest()}const h=[c.W.ContractBytearray,c.W.ContractStoreKey,c.W.ContractStoreValue,c.W.Transaction,c.W.OracleQuery,c.W.OracleResponse,c.W.State,c.W.Poi,c.W.StateTrees,c.W.CallStateTree,c.W.Bytearray],p=[c.W.KeyBlockHash,c.W.MicroBlockHash,c.W.BlockPofHash,c.W.BlockTxHash,c.W.BlockStateHash,c.W.Channel,c.W.ContractAddress,c.W.TxHash,c.W.OracleAddress,c.W.OracleQueryId,c.W.AccountAddress,c.W.Signature,c.W.Commitment,c.W.PeerPubkey,c.W.Name],m={[c.W.KeyBlockHash]:32,[c.W.MicroBlockHash]:32,[c.W.BlockPofHash]:32,[c.W.BlockTxHash]:32,[c.W.BlockStateHash]:32,[c.W.Channel]:32,[c.W.ContractAddress]:32,[c.W.TxHash]:32,[c.W.OracleAddress]:32,[c.W.OracleQueryId]:32,[c.W.AccountAddress]:32,[c.W.Signature]:64,[c.W.Commitment]:32,[c.W.PeerPubkey]:32,[c.W.State]:32};function g(e,t){if(!(0,s.Uu)(t,m))return;const r=m[t];if(null!=r&&e.length!==r)throw new a.P3(`Payload should be ${r} bytes, got ${e.length} instead`)}const y=e=>f(f(e)).slice(0,4),v=e=>(0,s.wh)([e,y(e)]);function b(e){const t=e.slice(0,-4);if(!y(t).equals(e.slice(-4)))throw new a.je;return t}const w={encode:e=>v(e).toString("base64"),decode:e=>b(u.from(e,"base64"))},_={encode:e=>l(v(e)),decode:e=>b(u.from(d(e)))},E=e=>{const t=h.find((t=>t===e));if(null!=t)return[t,w];const r=p.find((t=>t===e));if(null!=r)return[r,_];throw new a.c1("prefix",`one of ${[...p,...h].join(", ")}`,e)};function A(e){const[t,r,n]=e.split("_");if(null==r)throw new a.Xc(`Encoded string missing payload: ${e}`);if(null!=n)throw new a.Xc(`Encoded string have extra parts: ${e}`);const[o,i]=E(t),s=i.decode(r);return g(s,o),s}function S(e,t){const[,r]=E(t);return g(e,t),`${t}_${r.encode(e)}`}},65626:(e,t,r)=>{"use strict";r.d(t,{$4:()=>j,Cf:()=>n,E0:()=>N,E5:()=>m,EC:()=>s,EH:()=>b,FL:()=>M,G8:()=>P,Gd:()=>_,Gq:()=>oe,HR:()=>ee,Jn:()=>d,Jp:()=>O,K$:()=>w,K4:()=>R,MT:()=>re,Mb:()=>k,Mk:()=>$,Nf:()=>u,OT:()=>ie,OZ:()=>A,Oz:()=>U,P3:()=>Y,Qh:()=>C,So:()=>x,Ue:()=>S,Vl:()=>c,Vz:()=>Q,Xc:()=>Z,YR:()=>J,ZB:()=>T,_H:()=>L,_M:()=>X,_j:()=>te,aL:()=>G,c1:()=>h,dp:()=>B,hg:()=>v,iQ:()=>ne,je:()=>H,m5:()=>z,mh:()=>D,nC:()=>V,o4:()=>W,pC:()=>q,q3:()=>y,qB:()=>I,qs:()=>K,qw:()=>p,rU:()=>E,vo:()=>F,z2:()=>g});class n extends Error{constructor(e){super(e),this.name="BaseError"}}class o extends n{constructor(e){super(e),this.name="AccountError"}}class i extends n{constructor(e){super(e),this.name="AensError"}}class a extends n{constructor(e){super(e),this.name="AeppError"}}class s extends n{constructor(e){super(e),this.name="CompilerError"}}class c extends n{constructor(e){super(e),this.name="ContractError"}}class u extends n{constructor(e){super(e),this.name="CryptographyError"}}class l extends n{constructor(e){super(e),this.name="NodeError"}}class d extends n{constructor(e){super(e),this.name="TransactionError"}}class f extends n{constructor(e){super(e),this.name="WalletError"}}class h extends n{constructor(e,t,r){super(`${e} should be ${t}, got ${r} instead`),this.name="ArgumentError"}}class p extends u{constructor(e){super(e),this.name="IllegalArgumentError"}}class m extends n{constructor(){super("Byte serialization not supported"),this.name="NoSerializerFoundError"}}class g extends n{constructor(e){super(`Giving up at height ${e}`),this.name="RequestTimedOutError"}}class y extends n{constructor(e,t){super([`Giving up after ${e} blocks mined`,`transaction hash: ${t}`].join(", ")),this.name="TxTimedOutError"}}class v extends n{constructor(e){super(e),this.name="TypeError"}}class b extends n{constructor(e){super(e),this.name="NotImplementedError"}}class w extends n{constructor(e,t,r,n){super(`Unsupported ${e} version ${t}. Supported: >= ${r} < ${n}`),this.name="UnsupportedVersionError"}}class _ extends n{constructor(e){super(e),this.name="InternalError"}}class E extends _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Expected to not happen, required for TS";super(e),this.name="UnexpectedTsError"}}class A extends o{constructor(e){super(`Account for ${e} not available`),this.name="UnavailableAccountError"}}class S extends i{constructor(e,t){super(`Name ${e} don't have pointers for ${t}`),this.name="AensPointerContextError"}}class T extends i{constructor(e,t){super(`the provided fee ${e.toString()} is not enough to execute the claim, required: ${t.toString()}`),this.name="InsufficientNameFeeError"}}class x extends i{constructor(e){super(e),this.name="InvalidAensNameError"}}class C extends a{constructor(e){super(`Received invalid message: ${e}`),this.name="InvalidRpcMessageError"}}class I extends a{constructor(e){super(`Can't find callback for this messageId ${e}`),this.name="MissingCallbackError"}}class O extends a{constructor(e){super(`RpcClient with id ${e} do not exist`),this.name="UnknownRpcClientError"}}class P extends s{constructor(e){super(e),this.name="InvalidAuthDataError"}}class k extends c{constructor(e){super(`Contract ${e} do not correspond to the bytecode deployed on the chain`),this.name="BytecodeMismatchError"}}class N extends c{constructor(){super("Contract already deployed"),this.name="DuplicateContractError"}}class R extends c{constructor(e){super(`Contract with address ${e} not active`),this.name="InactiveContractError"}}class M extends c{constructor(e){super(e),this.name="InvalidMethodInvocationError"}}class B extends c{constructor(e){super(e),this.name="MissingContractAddressError"}}class L extends c{constructor(){super("Either ACI or sourceCode or sourceCodePath is required"),this.name="MissingContractDefError"}}class D extends c{constructor(){super("Function name is required"),this.name="MissingFunctionNameError"}}class F extends c{constructor(e,t){super("Invocation failed"+(null==e?"":`: "${e}"`)),this.name="NodeInvocationError",this.transaction=t}}class j extends c{constructor(e){super(`Function ${e} doesn't exist in contract`),this.name="NoSuchContractFunctionError"}}class U extends c{constructor(e,t){super(`You try to pay "${e}" to function "${t}" which is not payable. Only payable function can accept coins`),this.name="NotPayableFunctionError"}}class $ extends c{constructor(e,t){super(`Can't find definition of ${e} event emitted by ${t} (use omitUnknown option to ignore events like this)`),this.name="MissingEventDefinitionError"}}class z extends c{constructor(e,t){super(`Found multiple definitions of "${t[0][1]}" event with different types emitted by ${e} in ${t.map((e=>{let[t]=e;return`"${t}"`})).join(", ")} contracts (use contractAddressToName option to specify contract name corresponding to address)`),this.name="AmbiguousEventDefinitionError"}}class H extends u{constructor(){super("Invalid checksum"),this.name="InvalidChecksumError"}}class V extends u{constructor(){super("Node hash is not equal to provided one"),this.name="MerkleTreeHashMismatchError"}}class G extends u{constructor(e){super(e),this.name="MissingNodeInTreeError"}}class q extends u{constructor(e){super(`Unknown node length: ${e}`),this.name="UnknownNodeLengthError"}}class W extends u{constructor(e){super(`Unknown path nibble: ${e}`),this.name="UnknownPathNibbleError"}}class K extends l{constructor(e){super(`Node with name ${e} already exist`),this.name="DuplicateNodeError"}}class X extends l{constructor(e){super(e),this.name="NodeNotFoundError"}}class Z extends d{constructor(e){super(e),this.name="DecodeError"}}class Y extends d{constructor(e){super(e),this.name="PayloadLengthError"}}class Q extends d{constructor(e){super(e),this.name="DryRunError"}}class J extends d{constructor(e){super(`Prefix for id-tag ${e} not found.`),this.name="PrefixNotFoundError"}}class ee extends d{constructor(e,t){super(`Transaction schema not implemented for tag ${e} version ${t}`),this.name="SchemaNotFoundError"}}class te extends d{constructor(e){super(`Id tag for prefix ${e} not found.`),this.name="DecodeError"}}class re extends d{constructor(e){super(`Transaction ${e} is removed from chain`),this.name="TxNotInChainError"}}class ne extends f{constructor(e){super(e),this.name="AlreadyConnectedError"}}class oe extends f{constructor(e){super(e),this.name="NoWalletConnectedError"}}class ie extends f{constructor(e){super(e),this.name="RpcConnectionError"}}},24007:(e,t,r)=>{"use strict";r.d(t,{An:()=>S});var n=r(48287),o=r(88947),i=r(29234),a=r(99235),s=r(33836),c=r(57889),u=r(41805),l=r(65626),d=r(89055);const{Buffer:f}=n,{full:h}=i,{fromString:p}=a;s.ModeOfOperation.ecb;class m extends l.Nf{constructor(e){super(e),this.name="DerivationError"}}const g=f.from("ed25519 seed"),y=2147483648;function v(e,t){let{secretKey:r,chainCode:n}=e;if(t{if(ev(e,t)),t)}function w(e){const t=h(e,g),r=t.slice(0,32),n=t.slice(32);return{secretKey:r,chainCode:n}}function _(e,t){if(!["m","m/"].includes(e.slice(0,2)))throw new m("Root element is required");const r=w(t);return b(e.slice(2),r)}function E(e){const{secretKey:t,publicKey:r}=e;return{secretKey:f.from(t).toString("hex"),publicKey:(0,c.lF)(r,u.W.AccountAddress)}}function A(e){return o.sign.keyPair.fromSeed(e)}const S=(e,t)=>{const r=_("m/44h/457h",e),n=b(`${t}h/0h/0h`,r),o=A(n.secretKey);return{...E(o),idx:t}}},89055:(e,t,r)=>{"use strict";r.d(t,{$:()=>h,ET:()=>d,PI:()=>f,Uu:()=>l,s8:()=>s,v7:()=>a,wh:()=>u});var n=r(48287),o=r(4105);const{Buffer:i}=n,a=async e=>new Promise((t=>{setTimeout(t,e)})),s=(e,t)=>Object.fromEntries(Object.entries(e).map(t)),c=(()=>{try{return i.concat([Uint8Array.from([])]),!1}catch(e){return!0}})(),u=c?(e,t)=>i.concat(e.map((e=>i.from(e))),t):i.concat;function l(e,t){return e in t}function d(e,t){return t.includes(e)}function f(e){return e instanceof o.pj&&404===e.statusCode&&e.message.includes("Account not found")}function h(e){if(!(e instanceof Error))throw e}},4105:(e,t,r)=>{"use strict";r.d(t,{pj:()=>Je,N$:()=>Ot,fl:()=>wt,Fp:()=>st,G6:()=>Et});const n=new Set(["Deserialize","Serialize","Retry","Sign"]);class o{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!n.has(t.phase))throw new Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!n.has(t.afterPhase))throw new Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){const t=[];return this._policies=this._policies.filter((r=>!(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase)||(t.push(r.policy),!1))),this._orderedPolicies=void 0,t}sendRequest(e,t){const r=this.getOrderedPolicies(),n=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return n(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new o(this._policies)}static create(){return new o}orderPolicies(){const e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}const n=r("Serialize"),o=r("None"),i=r("Deserialize"),a=r("Retry"),s=r("Sign"),c=[n,o,i,a,s];function u(e){return"Retry"===e?a:"Serialize"===e?n:"Deserialize"===e?i:"Sign"===e?s:o}for(const h of this._policies){const e=h.policy,r=h.options,n=e.name;if(t.has(n))throw new Error("Duplicate policy names not allowed in pipeline");const o={policy:e,dependsOn:new Set,dependants:new Set};r.afterPhase&&(o.afterPhase=u(r.afterPhase),o.afterPhase.hasAfterPolicies=!0),t.set(n,o);const i=u(r.phase);i.policies.add(o)}for(const h of this._policies){const{policy:e,options:r}=h,n=e.name,o=t.get(n);if(!o)throw new Error(`Missing node for policy ${n}`);if(r.afterPolicies)for(const i of r.afterPolicies){const e=t.get(i);e&&(o.dependsOn.add(e),e.dependants.add(o))}if(r.beforePolicies)for(const i of r.beforePolicies){const e=t.get(i);e&&(e.dependsOn.add(o),o.dependants.add(e))}}function l(r){r.hasRun=!0;for(const n of r.policies)if((!n.afterPhase||n.afterPhase.hasRun&&!n.afterPhase.policies.size)&&0===n.dependsOn.size){e.push(n.policy);for(const e of n.dependants)e.dependsOn.delete(n);t.delete(n.policy.name),r.policies.delete(n)}}function d(){for(const e of c){if(l(e),e.policies.size>0&&e!==o)return void(o.hasRun||l(o));e.hasAfterPolicies&&l(o)}}let f=0;while(t.size>0){f++;const t=e.length;if(d(),e.length<=t&&f>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function i(){return o.create()}var a=r(73654);const s=(0,a.KV)("core-rest-pipeline");Error;function c(e,t){e=Math.ceil(e),t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}function u(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function l(e){if(u(e)){const t="string"===typeof e.name,r="string"===typeof e.message;return t&&r}return!1}function d(e){if(l(e))return e.message;{let r;try{r="object"===typeof e&&e?JSON.stringify(e):String(e)}catch(t){r="[unable to stringify input]"}return`Unknown error ${r}`}}function f(e,t){switch(t){case"utf-8":return h(e);case"base64":return p(e);case"base64url":return m(e);case"hex":return y(e)}}function h(e){return(new TextEncoder).encode(e)}function p(e){return new Uint8Array([...atob(e)].map((e=>e.charCodeAt(0))))}function m(e){const t=e.replace(/-/g,"+").replace(/_/g,"/");return p(t)}const g=new Set("0123456789abcdefABCDEF");function y(e){const t=new Uint8Array(e.length/2);for(let r=0;re.toLowerCase()))),this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e)return this.sanitizeHeaders(r);if("url"===e)return this.sanitizeUrl(r);if("query"===e)return this.sanitizeQuery(r);if("body"!==e&&"response"!==e&&"operationSpec"!==e){if(Array.isArray(r)||u(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}}),2)}sanitizeHeaders(e){const t={};for(const r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=S;return t}sanitizeQuery(e){if("object"!==typeof e||null===e)return e;const t={};for(const r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=S;return t}sanitizeUrl(e){if("string"!==typeof e||null===e)return e;const t=new URL(e);if(!t.search)return e;for(const[r]of t.searchParams)this.allowedQueryParameters.has(r.toLowerCase())||t.searchParams.set(r,S);return t.toString()}}const I="logPolicy";function O(e={}){const t=e.logger??s.info,r=new C({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:I,async sendRequest(e,n){if(!t.enabled)return n(e);t(`Request: ${r.sanitize(e)}`);const o=await n(e);return t(`Response status code: ${o.status}`),t(`Headers: ${r.sanitize(o.headers)}`),o}}}const P="redirectPolicy",k=["GET","HEAD"];function N(e={}){const{maxRetries:t=20}=e;return{name:P,async sendRequest(e,r){const n=await r(e);return R(r,n,t)}}}async function R(e,t,r,n=0){const{request:o,status:i,headers:a}=t,s=a.get("location");if(s&&(300===i||301===i&&k.includes(o.method)||302===i&&k.includes(o.method)||303===i&&"POST"===o.method||307===i)&&n[f("\r\n","utf-8"),f(ee(e.headers),"utf-8"),f("\r\n","utf-8"),e.body,f(`\r\n--${r}`,"utf-8")])),f("--\r\n\r\n","utf-8")],o=re(n);o&&e.headers.set("Content-Length",o),e.body=await Q(n)}const oe="multipartPolicy",ie=70,ae=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function se(e){if(e.length>ie)throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`);if(Array.from(e).some((e=>!ae.has(e))))throw new Error(`Multipart boundary "${e}" contains invalid characters`)}function ce(){return{name:oe,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary;const n=e.headers.get("Content-Type")??"multipart/mixed",o=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!o)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);const[,i,a]=o;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?se(r):r=J(),e.headers.set("Content-Type",`${i}; boundary=${r}`),await ne(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}}}function ue(){throw new Error("decompressResponsePolicy is not supported in browser environment")}class le extends Error{constructor(e){super(e),this.name="AbortError"}}const de="The operation was aborted.";function fe(e,t,r){return new Promise(((n,o)=>{let i,a;const s=()=>o(new le(r?.abortErrorMsg?r?.abortErrorMsg:de)),c=()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)};if(a=()=>(i&&clearTimeout(i),c(),s()),r?.abortSignal&&r.abortSignal.aborted)return s();i=setTimeout((()=>{c(),n(t)}),e),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)}))}function he(e,t){const r=e.headers.get(t);if(!r)return;const n=Number(r);return Number.isNaN(n)?void 0:n}const pe="Retry-After",me=["retry-after-ms","x-ms-retry-after-ms",pe];function ge(e){if(e&&[429,503].includes(e.status))try{for(const o of me){const t=he(e,o);if(0===t||t){const e=o===pe?1e3:1;return t*e}}const t=e.headers.get(pe);if(!t)return;const r=Date.parse(t),n=r-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch(t){return}}function ye(e){return Number.isFinite(ge(e))}function ve(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=ge(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}}}const be=1e3,we=64e3;function _e(e={}){const t=e.retryDelayInMs??be,r=e.maxRetryDelayInMs??we;let n=t;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:o,responseError:i}){const a=Ae(i),s=a&&e.ignoreSystemErrors,u=Ee(o),l=u&&e.ignoreHttpStatusCodes,d=o&&(ye(o)||!u);if(d||l||s)return{skipStrategy:!0};if(i&&!a&&!u)return{errorToThrow:i};const f=n*Math.pow(2,t),h=Math.min(r,f);return n=h/2+c(0,h/2),{retryAfterInMs:n}}}}function Ee(e){return Boolean(e&&void 0!==e.status&&(e.status>=500||408===e.status)&&501!==e.status&&505!==e.status)}function Ae(e){return!!e&&("ETIMEDOUT"===e.code||"ESOCKETTIMEDOUT"===e.code||"ECONNREFUSED"===e.code||"ECONNRESET"===e.code||"ENOENT"===e.code||"ENOTFOUND"===e.code)}const Se=(0,a.KV)("core-rest-pipeline retryPolicy"),Te="retryPolicy";function xe(e,t={maxRetries:D}){const r=t.logger||Se;return{name:Te,async sendRequest(n,o){let i,a,s=-1;e:while(1){s+=1,i=void 0,a=void 0;try{r.info(`Retry ${s}: Attempting to send request`,n.requestId),i=await o(n),r.info(`Retry ${s}: Received a response from request`,n.requestId)}catch(c){if(r.error(`Retry ${s}: Received an error from request`,n.requestId),a=c,!c||"RestError"!==a.name)throw c;i=a.response}if(n.abortSignal?.aborted){r.error(`Retry ${s}: Request aborted.`);const e=new le;throw e}if(s>=(t.maxRetries??D)){if(r.info(`Retry ${s}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${s}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||Se;e.info(`Retry ${s}: Processing retry strategy ${t.name}.`);const r=t.retry({retryCount:s,response:i,responseError:a});if(r.skipStrategy){e.info(`Retry ${s}: Skipped.`);continue t}const{errorToThrow:o,retryAfterInMs:c,redirectTo:u}=r;if(o)throw e.error(`Retry ${s}: Retry strategy ${t.name} throws error:`,o),o;if(c||0===c){e.info(`Retry ${s}: Retry strategy ${t.name} retries after ${c}`),await fe(c,void 0,{abortSignal:n.abortSignal});continue e}if(u){e.info(`Retry ${s}: Retry strategy ${t.name} redirects to ${u}`),n.url=u;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}const Ce="defaultRetryPolicy";function Ie(e={}){return{name:Ce,sendRequest:xe([ve(),_e(e)],{maxRetries:e.maxRetries??D}).sendRequest}}function Oe(e){return e.toLowerCase()}function*Pe(e){for(const t of e.values())yield[t.name,t.value]}class ke{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(const t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(Oe(e),{name:e,value:String(t).trim()})}get(e){return this._headersMap.get(Oe(e))?.value}has(e){return this._headersMap.has(Oe(e))}delete(e){this._headersMap.delete(Oe(e))}toJSON(e={}){const t={};if(e.preserveCase)for(const r of this._headersMap.values())t[r.name]=r.value;else for(const[r,n]of this._headersMap)t[r]=n.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Pe(this._headersMap)}}function Ne(e){return new ke(e)}const Re="formDataPolicy";function Me(){return{name:Re,async sendRequest(e,t){if(e.formData){const t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=Be(e.formData):await Le(e.formData,e),e.formData=void 0}return t(e)}}}function Be(e){const t=new URLSearchParams;for(const[r,n]of Object.entries(e))if(Array.isArray(n))for(const e of n)t.append(r,e.toString());else t.append(r,n.toString());return t.toString()}async function Le(e,t){const r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");const n=[];for(const[o,i]of Object.entries(e))for(const e of Array.isArray(i)?i:[i])if("string"===typeof e)n.push({headers:Ne({"Content-Disposition":`form-data; name="${o}"`}),body:f(e,"utf-8")});else{if(void 0===e||null===e||"object"!==typeof e)throw new Error(`Unexpected value for key ${o}: ${e}. Value should be serialized to string first.`);{const t=e.name||"blob",r=Ne();r.set("Content-Disposition",`form-data; name="${o}"; filename="${t}"`),r.set("Content-Type",e.type||"application/octet-stream"),n.push({headers:r,body:e})}}t.multipartBody={parts:n}}const De="proxyPolicy is not supported in browser environment";function Fe(){throw new Error(De)}const je="setClientRequestIdPolicy";function Ue(e="x-ms-client-request-id"){return{name:je,async sendRequest(t,r){return t.headers.has(e)||t.headers.set(e,t.requestId),r(t)}}}const $e="tlsPolicy";function ze(e){return{name:$e,sendRequest:async(t,r)=>(t.tlsSettings||(t.tlsSettings=e),r(t))}}const He={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Ve(e={}){let t=new Ge(e.parentContext);return e.span&&(t=t.setValue(He.span,e.span)),e.namespace&&(t=t.setValue(He.namespace,e.namespace)),t}class Ge{_contextMap;constructor(e){this._contextMap=e instanceof Ge?new Map(e._contextMap):new Map}setValue(e,t){const r=new Ge(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new Ge(this);return t._contextMap.delete(e),t}}const qe={instrumenterImplementation:void 0};function We(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{}}}function Ke(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:We(),tracingContext:Ve({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}function Xe(){return qe.instrumenterImplementation||(qe.instrumenterImplementation=Ke()),qe.instrumenterImplementation}function Ze(e){const{namespace:t,packageName:r,packageVersion:n}=e;function o(e,o,i){const a=Xe().startSpan(e,{...i,packageName:r,packageVersion:n,tracingContext:o?.tracingOptions?.tracingContext});let s=a.tracingContext;const c=a.span;s.getValue(He.namespace)||(s=s.setValue(He.namespace,t)),c.setAttribute("az.namespace",s.getValue(He.namespace));const u=Object.assign({},o,{tracingOptions:{...o?.tracingOptions,tracingContext:s}});return{span:c,updatedOptions:u}}async function i(e,t,r,n){const{span:i,updatedOptions:s}=o(e,t,n);try{const e=await a(s.tracingOptions.tracingContext,(()=>Promise.resolve(r(s,i))));return i.setStatus({status:"success"}),e}catch(c){throw i.setStatus({status:"error",error:c}),c}finally{i.end()}}function a(e,t,...r){return Xe().withContext(e,t,...r)}function s(e){return Xe().parseTraceparentHeader(e)}function c(e){return Xe().createRequestHeaders(e)}return{startSpan:o,withSpan:i,withContext:a,parseTraceparentHeader:s,createRequestHeaders:c}}const Ye={},Qe=new C;class Je extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,this.request=t.request,this.response=t.response,Object.setPrototypeOf(this,Je.prototype)}[Ye](){return`RestError: ${this.message} \n ${Qe.sanitize(this)}`}}function et(e){return e instanceof Je||l(e)&&"RestError"===e.name}const tt="tracingPolicy";function rt(e={}){const t=U(e.userAgentPrefix),r=nt();return{name:tt,async sendRequest(e,n){if(!r||!e.tracingOptions?.tracingContext)return n(e);const{span:o,tracingContext:i}=ot(r,e,t)??{};if(!o||!i)return n(e);try{const t=await r.withContext(i,n,e);return at(o,t),t}catch(a){throw it(o,a),a}}}}function nt(){try{return Ze({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:L})}catch(e){return void s.warning(`Error when creating the TracingClient: ${d(e)}`)}}function ot(e,t,r){try{const{span:n,updatedOptions:o}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:{"http.method":t.method,"http.url":t.url,requestId:t.requestId}});if(!n.isRecording())return void n.end();r&&n.setAttribute("http.user_agent",r);const i=e.createRequestHeaders(o.tracingOptions.tracingContext);for(const[e,r]of Object.entries(i))t.headers.set(e,r);return{span:n,tracingContext:o.tracingOptions.tracingContext}}catch(n){return void s.warning(`Skipping creating a tracing span due to an error: ${d(n)}`)}}function it(e,t){try{e.setStatus({status:"error",error:l(t)?t:void 0}),et(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(r){s.warning(`Skipping tracing span processing due to an error: ${d(r)}`)}}function at(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),e.setStatus({status:"success"}),e.end()}catch(r){s.warning(`Skipping tracing span processing due to an error: ${d(r)}`)}}function st(e){const t=i();return A&&(e.tlsOptions&&t.addPolicy(ze(e.tlsOptions)),t.addPolicy(Fe(e.proxyOptions)),t.addPolicy(ue())),t.addPolicy(Me(),{beforePolicies:[oe]}),t.addPolicy(H(e.userAgentOptions)),t.addPolicy(Ue(e.telemetryOptions?.clientRequestIdHeaderName)),t.addPolicy(ce(),{afterPhase:"Deserialize"}),t.addPolicy(Ie(e.retryOptions),{phase:"Retry"}),t.addPolicy(rt(e.userAgentOptions),{afterPhase:"Retry"}),A&&t.addPolicy(N(e.redirectOptions),{afterPhase:"Retry"}),t.addPolicy(O(e.loggingOptions),{afterPhase:"Sign"}),t}function ct(e){return("function"===typeof Blob||"object"===typeof Blob)&&e instanceof Blob}class ut{async sendRequest(e){const t=new URL(e.url),r="https:"!==t.protocol;if(r&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);if(e.proxySettings)throw new Error("HTTP proxy is not supported in browser environment");try{return await lt(e)}catch(n){throw ht(n,e)}}}async function lt(e){const{abortController:t,abortControllerCleanup:r}=ft(e);try{const n=pt(e.headers),{streaming:o,body:i}=gt(e),a={body:i,method:e.method,headers:n,signal:t.signal,..."credentials"in Request.prototype?{credentials:e.withCredentials?"include":"same-origin"}:{},..."cache"in Request.prototype?{cache:"no-store"}:{}};o&&(a.duplex="half");const s=await fetch(e.url,a);return ct(e.body)&&e.onUploadProgress&&e.onUploadProgress({loadedBytes:e.body.size}),dt(s,e,r)}catch(n){throw r?.(),n}}async function dt(e,t,r){const n=mt(e),o={request:t,headers:n,status:e.status},i=K(e.body)?yt(e.body,{onProgress:t.onDownloadProgress,onEnd:r}):e.body;if(t.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||t.streamResponseStatusCodes?.has(o.status))if(t.enableBrowserStreams)o.browserStreamBody=i??void 0;else{const e=new Response(i);o.blobBody=e.blob(),r?.()}else{const e=new Response(i);o.bodyAsText=await e.text(),r?.()}return o}function ft(e){const t=new AbortController;let r,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new le("The operation was aborted.");n=e=>{"abort"===e.type&&t.abort()},e.abortSignal.addEventListener("abort",n),r=()=>{n&&e.abortSignal?.removeEventListener("abort",n)}}return e.timeout>0&&setTimeout((()=>{t.abort()}),e.timeout),{abortController:t,abortControllerCleanup:r}}function ht(e,t){return e&&"AbortError"===e?.name?e:new Je(`Error sending request: ${e.message}`,{code:e?.code??Je.REQUEST_SEND_ERROR,request:t})}function pt(e){const t=new Headers;for(const[r,n]of e)t.append(r,n);return t}function mt(e){const t=Ne();for(const[r,n]of e.headers)t.set(r,n);return t}function gt(e){const t="function"===typeof e.body?e.body():e.body;if(W(t))throw new Error("Node streams are not supported in browser environment.");return K(t)?{streaming:!0,body:yt(t,{onProgress:e.onUploadProgress})}:{streaming:!1,body:t}}function yt(e,t={}){let r=0;const{onProgress:n,onEnd:o}=t;if(bt(e))return e.pipeThrough(new TransformStream({transform(e,t){null!==e?(t.enqueue(e),r+=e.length,n&&n({loadedBytes:r})):t.terminate()},flush(){o?.()}}));{const t=e.getReader();return new ReadableStream({async pull(e){const{done:i,value:a}=await t.read();if(i||!a)return o?.(),e.close(),void t.releaseLock();r+=a?.length??0,e.enqueue(a),n&&n({loadedBytes:r})},cancel(e){return o?.(),t.cancel(e)}})}}function vt(){return new ut}function bt(e){return void 0!==e.pipeThrough&&void 0!==self.TransformStream}function wt(){return vt()}class _t{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;tracingOptions;allowInsecureConnection;onUploadProgress;onDownloadProgress;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Ne(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.tracingOptions=e.tracingOptions,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||w(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1}}function Et(e){return new _t(e)}const At={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function St(e,t,r){async function n(){if(!(Date.now()e.getToken(t,s);n=St(a,i.retryIntervalInMs,o?.expiresOnTimestamp??Date.now()).then((e=>(n=null,o=e,r=s.tenantId,o))).catch((e=>{throw n=null,o=null,r=void 0,e}))}return n}return async(e,t)=>{const n=r!==t.tenantId||Boolean(t.claims)||a.mustRefresh;return n?s(e,t):(a.shouldRefresh&&s(e,t),o)}}const xt="bearerTokenAuthenticationPolicy";async function Ct(e){const{scopes:t,getAccessToken:r,request:n}=e,o={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions},i=await r(t,o);i&&e.request.headers.set("Authorization",`Bearer ${i.token}`)}function It(e){const t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}function Ot(e){const{credential:t,scopes:r,challengeCallbacks:n}=e,o=e.logger||s,i={authorizeRequest:n?.authorizeRequest??Ct,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge,...n},a=t?Tt(t):()=>Promise.resolve(null);return{name:xt,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");let n,s;await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:a,logger:o});try{n=await t(e)}catch(c){s=c,n=c.response}if(i.authorizeRequestOnChallenge&&401===n?.status&&It(n)){const s=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:a,logger:o});if(s)return t(e)}if(s)throw s;return n}}}},73654:(e,t,r)=>{"use strict";function n(...e){if(e.length>0){const t=String(e[0]);t.includes(":error")?console.error(...e):t.includes(":warning")?console.warn(...e):t.includes(":info")?console.info(...e):(t.includes(":verbose"),console.debug(...e))}}r.d(t,{KV:()=>S});const o="undefined"!==typeof process&&process.env&&process.env.DEBUG||void 0;let i,a=[],s=[];const c=[];o&&l(o);const u=Object.assign((e=>h(e)),{enable:l,enabled:d,disable:f,log:n});function l(e){i=e,a=[],s=[];const t=/\*/g,r=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const n of r)n.startsWith("-")?s.push(new RegExp(`^${n.substr(1)}$`)):a.push(new RegExp(`^${n}$`));for(const n of c)n.enabled=d(n.namespace)}function d(e){if(e.endsWith("*"))return!0;for(const t of s)if(t.test(e))return!1;for(const t of a)if(t.test(e))return!0;return!1}function f(){const e=i||"";return l(""),e}function h(e){const t=Object.assign(r,{enabled:d(e),destroy:p,log:u.log,namespace:e,extend:m});function r(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))}return c.push(t),t}function p(){const e=c.indexOf(this);return e>=0&&(c.splice(e,1),!0)}function m(e){const t=h(`${this.namespace}:${e}`);return t.log=this.log,t}const g=u,y=new Set,v="undefined"!==typeof process&&process.env&&process.env.AZURE_LOG_LEVEL||void 0;let b;const w=g("azure");w.log=(...e)=>{g.log(...e)};const _=["verbose","info","warning","error"];function E(e){if(e&&!I(e))throw new Error(`Unknown log level '${e}'. Acceptable values: ${_.join(",")}`);b=e;const t=[];for(const r of y)C(r)&&t.push(r.namespace);g.enable(t.join(","))}v&&(I(v)?E(v):console.error(`AZURE_LOG_LEVEL set to unknown log level '${v}'; logging is not enabled. Acceptable values: ${_.join(", ")}.`));const A={verbose:400,info:300,warning:200,error:100};function S(e){const t=w.extend(e);return T(w,t),{error:x(t,"error"),warning:x(t,"warning"),info:x(t,"info"),verbose:x(t,"verbose")}}function T(e,t){t.log=(...t)=>{e.log(...t)}}function x(e,t){const r=Object.assign(e.extend(t),{level:t});if(T(e,r),C(r)){const e=g.disable();g.enable(e+","+r.namespace)}return y.add(r),r}function C(e){return Boolean(b&&A[e.level]<=A[b])}function I(e){return _.includes(e)}},97058:(e,t,r)=>{"use strict";function n(e,t){return t.get?t.get.call(e):t.value}r.d(t,{A:()=>i});var o=r(40258);function i(e,t){var r=(0,o.A)(t,e);return n(e,r)}},40258:(e,t,r)=>{"use strict";function n(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function o(e,t){return e.get(n(e,t))}r.d(t,{A:()=>o})},14332:(e,t,r)=>{"use strict";function n(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}r.d(t,{A:()=>i});var o=r(40258);function i(e,t,r){var i=(0,o.A)(t,e);return n(e,i,r),r}},49859:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(74048),o=r(32662);function i(e,t,r){return t=(0,o.A)(t),t in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},32662:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(22204),o=r(23015);function i(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[o];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=(0,n.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=i(e,"string");return"symbol"==(0,n.A)(t)?t:String(t)}},22204:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(12440),o=r(46004);function i(e){return i="function"==typeof n&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},i(e)}},44774:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__initializeContext:()=>dt,isPoint:()=>ft,isPointCompressed:()=>ht,isPrivate:()=>mt,isXOnlyPoint:()=>pt,pointAdd:()=>gt,pointAddScalar:()=>yt,pointCompress:()=>vt,pointFromScalar:()=>bt,pointMultiply:()=>Et,privateAdd:()=>At,privateNegate:()=>Tt,privateSub:()=>St,recover:()=>Nt,sign:()=>It,signRecoverable:()=>Ot,signSchnorr:()=>Pt,verify:()=>kt,verifySchnorr:()=>Rt,xOnlyPointAddTweak:()=>xt,xOnlyPointAddTweakCheck:()=>Ct,xOnlyPointFromPoint:()=>_t,xOnlyPointFromScalar:()=>wt});var n={};r.r(n),r.d(n,{ERROR_BAD_EXTRA_DATA:()=>h,ERROR_BAD_HASH:()=>d,ERROR_BAD_PARITY:()=>p,ERROR_BAD_POINT:()=>u,ERROR_BAD_PRIVATE:()=>c,ERROR_BAD_RECOVERY_ID:()=>m,ERROR_BAD_SIGNATURE:()=>f,ERROR_BAD_TWEAK:()=>l,throwError:()=>y});var o={};r.r(o),r.d(o,{generateInt32:()=>ee});var i={};r.r(i),r.d(i,{EXTRA_DATA_INPUT:()=>Ne,HASH_INPUT:()=>ke,PRIVATE_INPUT:()=>Ae,PUBLIC_KEY_INPUT:()=>fe,PUBLIC_KEY_INPUT2:()=>pe,SIGNATURE_INPUT:()=>Re,TWEAK_INPUT:()=>ge,X_ONLY_PUBLIC_KEY_INPUT:()=>ve,X_ONLY_PUBLIC_KEY_INPUT2:()=>we,__data_end:()=>$e,__heap_base:()=>ze,initializeContext:()=>le,isPoint:()=>de,memory:()=>ue,pointAdd:()=>he,pointAddScalar:()=>me,pointCompress:()=>_e,pointFromScalar:()=>Ee,pointMultiply:()=>xe,privateAdd:()=>Ce,privateNegate:()=>Oe,privateSub:()=>Ie,recover:()=>De,rustsecp256k1_v0_8_1_default_error_callback_fn:()=>je,rustsecp256k1_v0_8_1_default_illegal_callback_fn:()=>Ue,sign:()=>Pe,signRecoverable:()=>Me,signSchnorr:()=>Be,verify:()=>Le,verifySchnorr:()=>Fe,xOnlyPointAddTweak:()=>ye,xOnlyPointAddTweakCheck:()=>be,xOnlyPointFromPoint:()=>Te,xOnlyPointFromScalar:()=>Se});const a="0123456789abcdefABCDEF";a.split("").map((e=>e.codePointAt(0))),Array(256).fill(!0).map(((e,t)=>{const r=String.fromCodePoint(t),n=a.indexOf(r);return n<0?void 0:n<16?n:n-6})),new TextEncoder,new TextDecoder("ascii");function s(e,t){const r=Math.min(e.length,t.length);for(let n=0;nt.length?1:-1}const c=0,u=1,l=2,d=3,f=4,h=5,p=6,m=7,g={[c.toString()]:"Expected Private",[u.toString()]:"Expected Point",[l.toString()]:"Expected Tweak",[d.toString()]:"Expected Hash",[f.toString()]:"Expected Signature",[h.toString()]:"Expected Extra Data (32 bytes)",[p.toString()]:"Expected Parity (1 | 0)",[m.toString()]:"Bad Recovery Id"};function y(e){const t=g[e.toString()]||`Unknow error code: ${e}`;throw new TypeError(t)}const v=32,b=33,w=65,_=32,E=32,A=32,S=32,T=64,x=new Uint8Array(32),C=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65]),I=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,69,81,35,25,80,183,95,196,64,45,161,114,47,201,186,238]);function O(e){return e instanceof Uint8Array}function P(e,t){for(let r=0;r<32;++r)if(e[r]!==t[r])return e[r]0&&P(e,C)<0}function R(e){return O(e)&&(e.length===b||e.length===w||e.length===_)}function M(e){return O(e)&&e.length===_}function B(e){return O(e)&&(e.length===b||e.length===w)}function L(e){return O(e)&&e.length===b}function D(e){return O(e)&&e.length===E&&P(e,C)<0}function F(e){return O(e)&&e.length===A}function j(e){return void 0===e||O(e)&&e.length===S}function U(e){return O(e)&&64===e.length&&P(e.subarray(0,32),C)<0&&P(e.subarray(32,64),C)<0}function $(e){return O(e)&&64===e.length&&P(e.subarray(0,32),I)<0}function z(e){0!==e&&1!==e&&y(p)}function H(e){N(e)||y(c)}function V(e){R(e)||y(u)}function G(e){M(e)||y(u)}function q(e){D(e)||y(l)}function W(e){F(e)||y(d)}function K(e){j(e)||y(h)}function X(e){U(e)||y(f)}function Z(e){e()||y(f)}function Y(e){k(e.subarray(0,32))&&y(f),k(e.subarray(32,64))&&y(f)}function Q(e){$(e)||y(m)}function J(){const e=new Uint8Array(4);if("undefined"===typeof crypto)throw new Error("The crypto object is unavailable. This may occur if your environment does not support the Web Cryptography API.");return crypto.getRandomValues(e),e}function ee(){const e=J();return(e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3]}for(var te,re=new Uint8Array(123),ne=25;ne>=0;--ne)re[48+ne]=52+ne,re[65+ne]=ne,re[97+ne]=26+ne;function oe(e,t,r){for(var n,o,i=0,a=t,s=r.length,c=t+(3*s>>2)-("="==r[s-2])-("="==r[s-1]);i>4,a>2),a>2];e:{t:{r:{n:{if(n=o[t+24>>2],!(16&n)){if(32&n)break n;e=o[e>>2],n=(0|e)>=0,e=C(n?e:0-e|0,n?0:0-((e>>31)+(0!=(0|e))|0)|0,n,t);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:87),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break t;e=I(t,1,2,128+(n+a|0)|0,0-n|0);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:55),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break e;e=I(t,1,2,128+(n+a|0)|0,0-n|0)}return h=a+128|0,0|e}ae()}ae()}function C(e,t,n,o){var a=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0;if(m=h-48|0,h=m,d=39,!(!t&e>>>0<1e4))while(1){if(v=(m+9|0)+d|0,b=v-4|0,u=e,p=0,g=0,t){if(l=51-c(t)|0,a=0-l|0,f=63&l,e=31&f,f>>>0>=32?f=t>>>e|0:(p=t>>>e|0,f=((1<>>e),a&=63,e=31&a,a>>>0>=32?(a=u<>>32-e|t<>>31,y=f<<1|a>>>31,_=0-(w+(y>>>0>9999)|0)>>31,p=1e4&_,f=y-p|0,p=w-(p>>>0>y>>>0)|0,a=a<<1|e>>>31,e=e<<1|g,g=1&_,l=l-1|0,!l)break;T=a<<1|e>>>31,e=e<<1|g}else e=(u>>>0)/1e4|0,T=0;if(f=T,a=We(e,f,55536,0)+u|0,p=((65535&a)>>>0)/100|0,l=655718+(p<<1)|0,l=i[0|l]|i[l+1|0]<<8,r[0|b]=l,r[b+1|0]=l>>>8,l=v-2|0,a=655718+((s(p,-100)+a&65535)<<1)|0,a=i[0|a]|i[a+1|0]<<8,r[0|l]=a,r[l+1|0]=a>>>8,d=d-4|0,u=!t&u>>>0>99999999|0!=(0|t),t=f,!u)break}return e>>>0>99&&(d=d-2|0,t=d+(m+9|0)|0,f=e,e=((65535&e)>>>0)/100|0,u=655718+((f+s(e,-100)&65535)<<1)|0,u=i[0|u]|i[u+1|0]<<8,r[0|t]=u,r[t+1|0]=u>>>8),e>>>0>=10?(d=d-2|0,t=d+(m+9|0)|0,e=655718+(e<<1)|0,e=i[0|e]|i[e+1|0]<<8,r[0|t]=e,r[t+1|0]=e>>>8):(d=d-1|0,r[d+(m+9|0)|0]=e+48),e=I(o,n,0,(m+9|0)+d|0,39-d|0),h=m+48|0,e}function I(e,t,n,a,s){var c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0;if(f=655716,t?(c=o[e+24>>2],t=1&c,h=t?43:1114112,u=t+s|0):(c=o[e+24>>2],h=45,u=s+1|0),4&c){if(n&&(l=3&n,l)){t=655716;while(1)if(d=d+(r[0|t]>-65)|0,t=t+1|0,l=l-1|0,!l)break}u=u+d|0}else f=0;e:{t:{if(!o[e+8>>2]){if(t=1,u=o[e>>2],e=o[e+4>>2],J(u,e,h,f,n))break t;break e}r:{n:{o:{i:{if(l=o[e+12>>2],l>>>0>u>>>0){if(8&c)break r;switch(c=l-u|0,u=c,t=i[e+32|0],t=3==(0|t)?1:t,t-1|0){case 1:break o;case 0:break i;default:break n}}if(t=1,u=o[e>>2],e=o[e+4>>2],J(u,e,h,f,n))break t;break e}u=0,t=c;break n}t=c>>>1|0,u=c+1>>>1|0}t=t+1|0,c=o[e+4>>2],d=o[e+28>>2],l=o[e>>2];n:{while(1){if(t=t-1|0,!t)break n;if(0|Xe[o[c+16>>2]](l,d))break}return 1}if(t=1,1114112==(0|d))break t;if(J(l,c,h,f,n))break t;if(0|Xe[o[c+12>>2]](l,a,s))break t;t=0;n:{while(1){if(e=u,(0|e)==(0|t))break n;if(t=t+1|0,0|Xe[o[c+16>>2]](l,d))break}e=t-1|0}t=e>>>0>>0;break t}if(p=o[e+28>>2],o[e+28>>2]=48,m=i[e+32|0],t=1,r[e+32|0]=1,c=o[e>>2],d=o[e+4>>2],!J(c,d,h,f,n)){t=1+(l-u|0)|0;r:{while(1){if(t=t-1|0,!t)break r;if(0|Xe[o[d+16>>2]](c,48))break}return 1}if(t=1,!(0|Xe[o[d+12>>2]](c,a,s)))return r[e+32|0]=m,o[e+28>>2]=p,0}}return t}return 0|Xe[o[e+12>>2]](u,a,s)}function O(e,t){e|=0,t|=0;var n=0,i=0,a=0;a=h-128|0,h=a,e=o[e>>2];e:{t:{r:{n:{if(n=o[t+24>>2],!(16&n)){if(32&n)break n;e=C(o[e>>2],0,1,t);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:87),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break t;e=I(t,1,2,128+(n+a|0)|0,0-n|0);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:55),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break e;e=I(t,1,2,128+(n+a|0)|0,0-n|0)}return h=a+128|0,0|e}ae()}ae()}function P(e){0}function k(e){var t=0,r=0,n=0,i=0,a=0;n=h-32|0,h=n,t=e+16|0,i=o[t+4>>2],r=n+8|0,a=r+16|0,o[a>>2]=o[t>>2],o[a+4>>2]=i,t=e+8|0,i=o[t+4>>2],r=r+8|0,o[r>>2]=o[t>>2],o[r+4>>2]=i,t=o[e+4>>2],o[n+8>>2]=o[e>>2],o[n+12>>2]=t,ae()}function N(){var e=0,t=0,n=0,a=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0,q=0,W=0,K=0,X=0,Z=0,Y=0,Q=0,J=0,te=0,oe=0;if(F=h-32|0,h=F,i[690756])Q=o[172762];else{o[F>>2]=192,o[F+4>>2]=192,e=h-144|0,h=e,o[e+104>>2]=0,o[e+108>>2]=0,o[e+32>>2]=528734635,o[e+36>>2]=1541459225,o[e+24>>2]=1359893119,o[e+28>>2]=-1694144372,o[e+16>>2]=1013904242,o[e+20>>2]=-1521486534,o[e+8>>2]=1779033703,o[e+12>>2]=-1150833019,t=e+8|0,re(t,689435,63),ne(t,e+112|0);while(1)if(s=i[(e+112|0)+a|0]-i[a+690288|0]|0,s||(t=31!=(0|a),a=a+1|0,!t))break;s&&ee(689418,0),o[163880]=0,o[163881]=0,o[163878]=1,o[163879]=0,t=o[172349],o[163892]=o[172348],o[163893]=t,t=o[172559],o[163890]=o[172558],o[163891]=t,t=o[172595],o[163858]=o[172594],o[163859]=t,t=o[172597],o[163860]=o[172596],o[163861]=t,t=o[172599],o[163862]=o[172598],o[163863]=t,t=o[172601],o[163864]=o[172600],o[163865]=t,t=o[172603],o[163866]=o[172602],o[163867]=t,o[163882]=0,o[163883]=0,o[163884]=0,o[163885]=0,o[163886]=0,o[163887]=0,o[163888]=0,o[163876]=629725529,o[163877]=243653,o[163874]=632307772,o[163875]=3389866,o[163872]=1459808328,o[163873]=3272439,o[163870]=-1430362568,o[163871]=3896727,o[163868]=82779140,o[163869]=3682156,o[163856]=0,o[163857]=0,o[163850]=1,o[163851]=0,o[163854]=0,o[163855]=0,o[163852]=0,o[163853]=0,o[163894]=0,o[163848]=1,h=e+144|0,Q=655392,te=690756,oe=0|l(),o[te>>2]=oe,te=690760,oe=0|l(),o[te>>2]=oe,te=690764,oe=0|l(),o[te>>2]=oe,te=690768,oe=0|l(),o[te>>2]=oe,te=690772,oe=0|l(),o[te>>2]=oe,te=690776,oe=0|l(),o[te>>2]=oe,te=690780,oe=0|l(),o[te>>2]=oe,te=690784,oe=0|l(),o[te>>2]=oe,b=h-720|0,h=b,o[163848]&&(e=i[690760]|i[690761]<<8|i[690762]<<16|i[690763]<<24,y=b+336|0,v=y+32|0,o[v>>2]=i[690756]|i[690757]<<8|i[690758]<<16|i[690759]<<24,o[v+4>>2]=e,e=i[690768]|i[690769]<<8|i[690770]<<16|i[690771]<<24,m=y+40|0,o[m>>2]=i[690764]|i[690765]<<8|i[690766]<<16|i[690767]<<24,o[m+4>>2]=e,e=i[690776]|i[690777]<<8|i[690778]<<16|i[690779]<<24,d=b+384|0,o[d>>2]=i[690772]|i[690773]<<8|i[690774]<<16|i[690775]<<24,o[d+4>>2]=e,e=i[690784]|i[690785]<<8|i[690786]<<16|i[690787]<<24,f=b+392|0,o[f>>2]=i[690780]|i[690781]<<8|i[690782]<<16|i[690783]<<24,o[f+4>>2]=e,s=o[163850],c=s<<8&16711680|s<<24,n=s>>>8|0,t=o[163851],a=65280&(n|t<<24),s=s>>>24|0,c=c|a|255&(s|t<<8),e=t,a=-16777216&(n|(255&e)<<24),a|=16711680&(s|(16777215&e)<<8),p=y+24|0,o[p>>2]=e>>>8&65280|e>>>24|a,o[p+4>>2]=c,s=o[163852],c=s<<8&16711680|s<<24,t=o[163853],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),g=y+16|0,o[g>>2]=e>>>8&65280|e>>>24|a,o[g+4>>2]=c,s=o[163856],c=s<<8&16711680|s<<24,t=o[163857],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),n=b,o[n+336>>2]=e>>>8&65280|e>>>24|a,o[n+340>>2]=c,s=o[163854],c=s<<8&16711680|s<<24,t=o[163855],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),o[n+344>>2]=e>>>8&65280|e>>>24|a,o[n+348>>2]=c,V=n+408|0,we(V,y,64),o[f>>2]=0,o[f+4>>2]=0,o[d>>2]=0,o[d+4>>2]=0,o[m>>2]=0,o[m+4>>2]=0,o[v>>2]=0,o[v+4>>2]=0,o[p>>2]=0,o[p+4>>2]=0,o[g>>2]=0,o[g+4>>2]=0,o[n+344>>2]=0,o[n+348>>2]=0,o[n+336>>2]=0,o[n+340>>2]=0,j=n+480|0,_e(V,j),t=i[n+497|0],e=t>>>24|0,a=i[n+498|0]|t<<8,t=e,Z=j+16|0,s=i[0|Z],e=s>>>16|0,a|=s<<16,s=e|t,t=i[n+495|0],e=t>>>8|0,a|=t<<24,g=i[n+492|0],s=i[n+494|0]|e|s|i[n+493|0]<<8|(15&g)<<16,t=i[n+484|0],e=t>>>24|0,u=i[n+485|0]|t<<8,t=e,c=i[n+483|0],e=c>>>16|0,u|=c<<16,c=e|t,t=i[n+482|0],e=t>>>8|0,y=t<<24|u,v=i[n+481|0]|e|c|i[n+480|0]<<8,t=i[n+491|0],e=t>>>28|0,u=t<<4|g>>>4,t=e,c=i[n+490|0],e=c>>>20|0,u|=c<<12,c=e|t,t=i[n+489|0],e=t>>>12|0,u|=t<<20,c|=e,t=i[n+488|0],e=t>>>4|0,m=t<<28|u,d=e|c|i[n+487|0]<<4|i[n+486|0]<<12,Y=j+24|0,t=i[0|Y],e=t>>>28|0,f=i[n+505|0],u=t<<4|f>>>4,t=e,c=i[n+503|0],e=c>>>20|0,u|=c<<12,c=e|t,t=i[n+502|0],e=t>>>12|0,u|=t<<20,c|=e,t=i[n+501|0],e=t>>>4|0,p=t<<28|u,T=e|c|i[n+500|0]<<4|i[n+499|0]<<12,g=T,t=i[n+510|0],e=t>>>24|0,u=i[n+511|0]|t<<8,t=e,c=i[n+509|0],e=c>>>16|0,u|=c<<16,c=e|t,t=i[n+508|0],e=t>>>8|0,M=n+520|0,G=M+32|0,t=u|t<<24,f=i[n+507|0]|e|c|i[n+506|0]<<8|(15&f)<<16,e=!(y|m|a|t|p|v|d|s|f|g)|-1==(a&p&m)&1048575==(s&g&d)&-1==(0|y)&65535==(0|v)&(1048574==(0|f)&t>>>0>4294966318|f>>>0>1048574),c=e-1|0,g=c&y,o[G>>2]=g,u=v,v=0-!e|0,u&=v,o[G+4>>2]=u,q=M+24|0,I=c&m,o[q>>2]=I,O=d&v,o[q+4>>2]=O,W=M+16|0,A=a&c,o[W>>2]=A,w=s&v,o[W+4>>2]=w,K=M+8|0,x=c&p,o[K>>2]=x,_=v&T,o[K+4>>2]=_,c=t&c|e,o[n+520>>2]=c,e=f&v,T=e,o[n+524>>2]=e,y=n+128|0,B=c<<1,P=e<<1|c>>>31,Ve(y,B,P,0,0,I,O,0,0),v=n+192|0,s=x<<1,a=_<<1|x>>>31,Ve(v,s,a,0,0,A,w,0,0),d=n+320|0,Ve(d,g,u,0,0,g,u,0,0),f=n+304|0,Ve(f,o[n+320>>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=u,He(V,68),o[Y>>2]=0,o[Y+4>>2]=0,o[Z>>2]=0,o[Z+4>>2]=0,o[b+488>>2]=0,o[b+492>>2]=0,o[b+480>>2]=0,o[b+484>>2]=0,Ae(655392,A,E),e=y|w|S|c|m|T|_|u?-1:0,d=~c,n=d-801750718|0,c=e,g=~u,u=g-((d>>>0<801750718)+1076732275|0)|0,e&=u,f=e,p=n&c,o[163850]=p,o[163851]=e,m=~m,e=m,v=~y,y=v+((0|u)==(0|g)&n>>>0>>0|u>>>0>>0)|0,n=y-1354194885|0,g=n&c,o[a>>2]=g,e=y>>>0>>0?e+1|0:e,d=e-((y>>>0<1354194885)+1162945305|0)|0,u=d&c,o[a+4>>2]=u,o[163852]=g,o[163853]=u,u=(0|e)==(0|d)&n>>>0>>0|e>>>0>d>>>0,g=u+((0|e)==(0|m)&y>>>0>>0|e>>>0>>0)|0,v=~w,y=v+g|0,m=~T,e=m+(u>>>0>g>>>0)|0,n=y-2|0,g=n&c,o[s>>2]=g,e=y>>>0>>0?e+1|0:e,d=e-(y>>>0<2)|0,u=d&c,o[s+4>>2]=u,o[163854]=g,o[163855]=u,u=(0|e)==(0|d)&n>>>0>>0|e>>>0>d>>>0,n=u+((0|e)==(0|m)&y>>>0>>0|e>>>0>>0)|0,e=n>>>0>>0,g=n-S|0,u=g-2&c,o[t>>2]=u,e=(e-((n>>>0>>0)+_|0)|0)-(g>>>0<2)&c,o[t+4>>2]=e,o[163856]=u,o[163857]=e,o[b+688>>2]=p,o[b+692>>2]=f,Ge(655432,A,128),o[t>>2]=0,o[t+4>>2]=0,o[s>>2]=0,o[s+4>>2]=0,o[a>>2]=0,o[a+4>>2]=0,o[b+688>>2]=0,o[b+692>>2]=0,He(A,124)),h=b+720|0,r[690757]=0,r[690758]=0,r[690759]=0,r[690760]=0,r[690761]=0,r[690762]=0,r[690763]=0,r[690764]=0,r[690756]=1,r[690765]=0,r[690766]=0,r[690767]=0,r[690768]=0,r[690769]=0,r[690770]=0,r[690771]=0,r[690772]=0,r[690773]=0,r[690774]=0,r[690775]=0,r[690776]=0,r[690777]=0,r[690778]=0,r[690779]=0,r[690780]=0,r[690780]=0,r[690781]=0,r[690782]=0,r[690783]=0,r[690784]=0,r[690785]=0,r[690786]=0,r[690787]=0,o[F+4>>2]=1,o[172762]=655392}return h=F+32|0,Q}function R(){N()}function M(e){e|=0;var t=0,r=0;return t=h+-64|0,h=t,32==(0|e)?(e=t+56|0,o[e>>2]=0,o[e+4>>2]=0,e=t+48|0,o[e>>2]=0,o[e+4>>2]=0,e=t+40|0,o[e>>2]=0,o[e+4>>2]=0,e=t+32|0,o[e>>2]=0,o[e+4>>2]=0,e=t+24|0,o[e>>2]=0,o[e+4>>2]=0,e=t+16|0,o[e>>2]=0,o[e+4>>2]=0,e=t+8|0,o[e>>2]=0,o[e+4>>2]=0,o[t>>2]=0,o[t+4>>2]=0,e=Ne(o[172688],t,690820)):(r=t+56|0,o[r>>2]=0,o[r+4>>2]=0,r=t+48|0,o[r>>2]=0,o[r+4>>2]=0,r=t+40|0,o[r>>2]=0,o[r+4>>2]=0,r=t+32|0,o[r>>2]=0,o[r+4>>2]=0,r=t+24|0,o[r>>2]=0,o[r+4>>2]=0,r=t+16|0,o[r>>2]=0,o[r+4>>2]=0,r=t+8|0,o[r>>2]=0,o[r+4>>2]=0,o[t>>2]=0,o[t+4>>2]=0,e=oe(o[172688],t,690820,e)),h=t- -64|0,1==(0|e)|0}function B(e,t,s){e|=0,t|=0,s|=0;var c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,N=0,R=0,M=0,B=0;l=h-272|0,h=l,c=l+200|0,M=c+56|0,o[M>>2]=0,o[M+4>>2]=0,g=c+48|0,o[g>>2]=0,o[g+4>>2]=0,A=c+40|0,o[A>>2]=0,o[A+4>>2]=0,T=c+32|0,o[T>>2]=0,o[T+4>>2]=0,S=c+24|0,o[S>>2]=0,o[S+4>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+24|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=g+16|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=g+8|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,S){o[p+216>>2]=1,He(p+96|0,120),R=A+172|0;while(1){if(u=o[S>>2],!u){Xe[o[A+168>>2]](689809,o[A+172>>2]),e=0;break r}if(o[p+88>>2]=0,t=i[u+60|0]|i[u+61|0]<<8|i[u+62|0]<<16|i[u+63|0]<<24,v=t>>>16|0,e=p,c=i[u+56|0]|i[u+57|0]<<8|i[u+58|0]<<16|i[u+59|0]<<24,o[e+80>>2]=(65535&t)<<16|c>>>16,o[e+84>>2]=v,d=i[u+36|0]|i[u+37|0]<<8|i[u+38|0]<<16|i[u+39|0]<<24,o[e+48>>2]=i[u+32|0]|i[u+33|0]<<8|i[u+34|0]<<16|i[u+35|0]<<24,o[e+52>>2]=1048575&d,v=c<<4&1048560,t=i[u+52|0]|i[u+53|0]<<8|i[u+54|0]<<16|i[u+55|0]<<24,m=t>>>28|0,c=i[u+48|0]|i[u+49|0]<<8|i[u+50|0]<<16|i[u+51|0]<<24,o[e+72>>2]=(268435455&t)<<4|c>>>28,o[e+76>>2]=m|v,v=t<<24|c>>>8,w=c<<24&-16777216,c=i[u+40|0]|i[u+41|0]<<8|i[u+42|0]<<16|i[u+43|0]<<24,t=i[u+44|0]|i[u+45|0]<<8|i[u+46|0]<<16|i[u+47|0]<<24,o[e+64>>2]=t>>>8|w,o[e+68>>2]=1048575&v,T=t<<12|c>>>20,o[e+56>>2]=c<<12&-4096|d>>>20,o[e+60>>2]=1048575&T,c=i[u+12|0]|i[u+13|0]<<8|i[u+14|0]<<16|i[u+15|0]<<24,y=c,t=i[u+8|0]|i[u+9|0]<<8|i[u+10|0]<<16|i[u+11|0]<<24,T=c<<12|t>>>20,b=t<<12&-4096,_=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,t=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,c=t,O=c>>>20|b,o[e+16>>2]=O,P=1048575&T,o[e+20>>2]=P,o[e+8>>2]=_,N=1048575&c,o[e+12>>2]=N,t=i[u+24|0]|i[u+25|0]<<8|i[u+26|0]<<16|i[u+27|0]<<24,w=t,c=i[u+28|0]|i[u+29|0]<<8|i[u+30|0]<<16|i[u+31|0]<<24,d=(65535&c)<<16|t>>>16,o[e+40>>2]=d,b=c>>>16|0,o[e+44>>2]=b,t=i[u+16|0]|i[u+17|0]<<8|i[u+18|0]<<16|i[u+19|0]<<24,c=i[u+20|0]|i[u+21|0]<<8|i[u+22|0]<<16|i[u+23|0]<<24,m=c<<24|t>>>8,u=t<<24&-16777216|y>>>8,o[e+24>>2]=u,y=1048575&m,o[e+28>>2]=y,v=w<<4&1048560,t=(268435455&c)<<4|t>>>28,o[e+32>>2]=t,e=c>>>28|v,o[p+36>>2]=e,_|O|d|u|t|P|N|b|y|e||Xe[o[A+168>>2]](690116,o[R>>2]),S=S+4|0,e=p+96|0,Ie(e,e,p+8|0),x=x-1|0,!x)break}e=0,o[p+216>>2]||(e=p+8|0,Se(e,p+96|0),le(g,e),e=1)}else Xe[o[A+168>>2]](689682,o[A+172>>2]),e=0;else Xe[o[A+168>>2]](689778,o[A+172>>2]),e=0;if(h=p+224|0,!e)break e;if(o[l+264>>2]=s,e=de(o[172688],l+264|0,l+200|0,33==(0|s)?258:2),o[l+268>>2]=e,1!=(0|e))break t;E=1;break e}f(1);break e}f(1);break e}o[l+136>>2]=0,k(l+128|0),ae()}return h=l+272|0,0|E}function L(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=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>>2],s=u+15|0,e=o[w>>2],r[0|s]=e,r[s+1|0]=e>>>8,r[s+2|0]=e>>>16,r[s+3|0]=e>>>24,r[s+4|0]=c,r[s+5|0]=c>>>8,r[s+6|0]=c>>>16,r[s+7|0]=c>>>24,r[d+11|0]=g,r[d+12|0]=g>>>8,r[d+13|0]=g>>>16,r[d+14|0]=g>>>24,c=o[d+76>>2],e=o[d+72>>2],r[d+15|0]=e,r[d+16|0]=e>>>8,r[d+17|0]=e>>>16,r[d+18|0]=e>>>24,r[d+19|0]=c,r[d+20|0]=c>>>8,r[d+21|0]=c>>>16,r[d+22|0]=c>>>24,_=N(),l=h-288|0,h=l,u?(e=i[u+60|0]|i[u+61|0]<<8|i[u+62|0]<<16|i[u+63|0]<<24,v=e>>>16|0,p=l+72|0,c=i[u+56|0]|i[u+57|0]<<8|i[u+58|0]<<16|i[u+59|0]<<24,o[p>>2]=(65535&e)<<16|c>>>16,o[p+4>>2]=v,p=c<<4&1048560,e=i[u+52|0]|i[u+53|0]<<8|i[u+54|0]<<16|i[u+55|0]<<24,m=e>>>28|0,y=l- -64|0,c=i[u+48|0]|i[u+49|0]<<8|i[u+50|0]<<16|i[u+51|0]<<24,o[y>>2]=(268435455&e)<<4|c>>>28,o[y+4>>2]=p|m,v=e<<24|c>>>8,y=c<<24&-16777216,c=i[u+40|0]|i[u+41|0]<<8|i[u+42|0]<<16|i[u+43|0]<<24,b=l+56|0,e=i[u+44|0]|i[u+45|0]<<8|i[u+46|0]<<16|i[u+47|0]<<24,o[b>>2]=e>>>8|y,o[b+4>>2]=1048575&v,v=e<<12|c>>>20,y=c<<12&-4096,s=i[u+32|0]|i[u+33|0]<<8|i[u+34|0]<<16|i[u+35|0]<<24,e=i[u+36|0]|i[u+37|0]<<8|i[u+38|0]<<16|i[u+39|0]<<24,b=l+48|0,o[b>>2]=e>>>20|y,o[b+4>>2]=1048575&v,o[l+80>>2]=0,o[l+40>>2]=s,o[l+44>>2]=1048575&e,s=i[u+12|0]|i[u+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Xe[o[_+168>>2]](689638,o[_+172>>2]),h=l+288|0,!x)break e;if(o[d+204>>2]=t,e=de(o[172688],d+204|0,d+8|0,33==(0|t)?258:2),o[d+72>>2]=e,C=1,1==(0|e))break e;o[d+144>>2]=0,k(d+136|0),ae()}f(1)}return h=d+208|0,0|C}function D(){var e=0,t=0,s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0;d=h-208|0,h=d,s=d+136|0,A=s+56|0,o[A>>2]=0,o[A+4>>2]=0,S=s+48|0,o[S>>2]=0,o[S+4>>2]=0,b=s+40|0,o[b>>2]=0,o[b+4>>2]=0,T=s+32|0,o[T>>2]=0,o[T+4>>2]=0,l=s+24|0,o[l>>2]=0,o[l+4>>2]=0,E=s+16|0,o[E>>2]=0,o[E+4>>2]=0,_=s+8|0,o[_>>2]=0,o[_+4>>2]=0,o[d+136>>2]=0,o[d+140>>2]=0;e:{t:if(1!=(0|Ne(o[172688],s,690885)))f(1);else{if(m=d+136|0,t=m+15|0,e=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=d+72|0,x=s+8|0,o[x>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[x+4>>2]=e,t=m+23|0,e=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,y=s+16|0,o[y>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[y+4>>2]=e,t=m+31|0,e=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,v=s+24|0,o[v>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[v+4>>2]=e,t=m+39|0,e=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,g=s+32|0,o[g>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<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]<<24,v=l+48|0,o[v>>2]=e>>>20|g,o[v+4>>2]=1048575&y,o[l+80>>2]=0,o[l+40>>2]=t,o[l+44>>2]=1048575&e,t=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,_=t,s=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,y=t<<12|s>>>20,g=s<<12&-4096,x=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,s=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,t=s,e=l,p=t>>>20|g,o[e+8>>2]=p,A=1048575&y,o[e+12>>2]=A,o[e>>2]=x,S=1048575&t,o[e+4>>2]=S,s=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,y=s,t=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,u=(65535&t)<<16|s>>>16,o[e+32>>2]=u,g=t>>>16|0,o[e+36>>2]=g,s=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,t=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,E=t<<24|s>>>8,T=s<<24&-16777216|_>>>8,o[e+16>>2]=T,_=1048575&E,o[e+20>>2]=_,v=y<<4&1048560,s=(268435455&t)<<4|s>>>28,o[e+24>>2]=s,e=t>>>28|v,o[l+28>>2]=e,p|x|u|T|s|A|S|g|_|e?(o[l+92>>2]=0,he(l+96|0,690949,l+92|0),o[l+92>>2]||(t=l+8|0,s=o[t+4>>2],u=l+160|0,e=u+8|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+16|0,s=o[t+4>>2],e=u+16|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+24|0,s=o[t+4>>2],e=u+24|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+32|0,s=o[t+4>>2],e=u+32|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+48|0,s=o[t+4>>2],e=u+48|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+56|0,s=o[t+4>>2],e=u+56|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l- -64|0,s=o[t+4>>2],e=u- -64|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+72|0,s=o[t+4>>2],e=u+72|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,o[l+280>>2]=0,e=o[l+4>>2],o[l+160>>2]=o[l>>2],o[l+164>>2]=e,e=o[l+44>>2],o[l+200>>2]=o[l+40>>2],o[l+204>>2]=e,e=l+248|0,o[e>>2]=0,o[e+4>>2]=0,e=l+256|0,o[e>>2]=0,o[e+4>>2]=0,e=l+264|0,o[e>>2]=0,o[e+4>>2]=0,e=l+272|0,o[e>>2]=0,o[e+4>>2]=0,s=l+128|0,e=s+16|0,o[e>>2]=0,o[e+4>>2]=0,e=s+24|0,o[e>>2]=0,o[e+4>>2]=0,o[l+240>>2]=1,o[l+244>>2]=0,o[l+136>>2]=0,o[l+140>>2]=0,o[l+128>>2]=1,o[l+132>>2]=0,ye(u,u,s,l+96|0),o[l+280>>2]||(Se(l,l+160|0),le(m,l),w=1))):Xe[o[b+168>>2]](690116,o[b+172>>2])):Xe[o[b+168>>2]](689629,o[b+172>>2])):Xe[o[b+168>>2]](689607,o[b+172>>2]),h=l+288|0,w){if(o[d+132>>2]=0,e=Me(N(),d+8|0,d+132|0,d+136|0),o[d+204>>2]=e,1!=(0|e))break e;if(e=Re(o[172688],d+8|0),o[d+204>>2]=e,1!=(0|e))break e;e=o[d+132>>2];break t}e=-1}return h=d+208|0,0|e}o[d+80>>2]=0,k(d+72|0),ae()}function F(e){e|=0;var t=0,s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,x=0,C=0,I=0,O=0,P=0,k=0,R=0,M=0,B=0;c=h-192|0,h=c,s=c+128|0,g=s+56|0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,r[t+5|0]=u>>>8,r[t+6|0]=u>>>16,r[t+7|0]=u>>>24,r[c+3|0]=l,r[c+4|0]=l>>>8,r[c+5|0]=l>>>16,r[c+6|0]=l>>>24,t=o[c+68>>2],l=o[c+64>>2],r[c+7|0]=l,r[c+8|0]=l>>>8,r[c+9|0]=l>>>16,r[c+10|0]=l>>>24,r[c+11|0]=t,r[c+12|0]=t>>>8,r[c+13|0]=t>>>16,r[c+14|0]=t>>>24,o[g>>2]=0,o[g+4>>2]=0,o[y>>2]=0,o[y+4>>2]=0,o[p>>2]=0,o[p+4>>2]=0,o[w>>2]=0,o[w+4>>2]=0,o[x>>2]=0,o[x+4>>2]=0,o[C>>2]=0,o[C+4>>2]=0,o[S>>2]=0,o[S+4>>2]=0,o[c+128>>2]=0,o[c+132>>2]=0,1==(0|Ne(o[172688],s,690917))){S=N(),d=h-288|0,h=d,c?(l=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,s=l>>>16|0,u=d+72|0,t=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,o[u>>2]=(65535&l)<<16|t>>>16,o[u+4>>2]=s,g=t<<4&1048560,l=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,s=l>>>28|0,u=d- -64|0,t=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,o[u>>2]=(268435455&l)<<4|t>>>28,o[u+4>>2]=s|g,s=l<<24|t>>>8,g=t<<24&-16777216,t=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,u=d+56|0,l=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,o[u>>2]=l>>>8|g,o[u+4>>2]=1048575&s,l=1048575&(l<<12|t>>>20),g=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,u=d+48|0,y=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,o[u>>2]=t<<12&-4096|y>>>20,o[u+4>>2]=l,o[d+40>>2]=g,o[d+44>>2]=1048575&y,s=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,u=s,l=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,s=s<<12|l>>>20,g=l<<12&-4096,l=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,t=d,p=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,v=p>>>20|g,o[t+8>>2]=v,_=1048575&s,o[t+12>>2]=_,g=l,o[t>>2]=l,b=1048575&p,o[t+4>>2]=b,l=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,s=l>>>16|0,y=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,x=(65535&l)<<16|y>>>16,o[t+32>>2]=x,w=s,o[t+36>>2]=s,s=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,l=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,A=1048575&(s<<24|l>>>8),u=l<<24&-16777216|u>>>8,o[t+16>>2]=u,E=A,o[t+20>>2]=E,y=y<<4&1048560,t=s,s=t>>>28|0,t=(268435455&t)<<4|l>>>28,o[d+24>>2]=t,s|=y,o[d+28>>2]=s,g|v|x|u|t|_|b|w|E|s?(o[d+92>>2]=0,he(d+96|0,690949,d+92|0),o[d+92>>2]||(t=d+8|0,l=o[t+4>>2],s=d+160|0,u=s+8|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+16|0,l=o[t+4>>2],u=s+16|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+24|0,l=o[t+4>>2],u=s+24|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+32|0,l=o[t+4>>2],u=s+32|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+48|0,l=o[t+4>>2],u=s+48|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+56|0,l=o[t+4>>2],u=s+56|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d- -64|0,l=o[t+4>>2],u=s- -64|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+72|0,l=o[t+4>>2],u=s+72|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,o[d+280>>2]=0,t=o[d+4>>2],o[d+160>>2]=o[d>>2],o[d+164>>2]=t,t=o[d+44>>2],o[d+200>>2]=o[d+40>>2],o[d+204>>2]=t,t=d+248|0,o[t>>2]=0,o[t+4>>2]=0,t=d+256|0,o[t>>2]=0,o[t+4>>2]=0,t=d+264|0,o[t>>2]=0,o[t+4>>2]=0,t=d+272|0,o[t>>2]=0,o[t+4>>2]=0,t=d+128|0,l=t+16|0,o[l>>2]=0,o[l+4>>2]=0,l=t+24|0,o[l>>2]=0,o[l+4>>2]=0,o[d+240>>2]=1,o[d+244>>2]=0,o[d+136>>2]=0,o[d+140>>2]=0,o[d+128>>2]=1,o[d+132>>2]=0,ye(s,s,t,d+96|0),o[d+280>>2]||(Se(d,d+160|0),l=o[d+8>>2],u=o[d+12>>2],g=o[d+4>>2],p=o[d+32>>2],y=o[d+36>>2],x=y,s=o[d>>2],t=We(y>>>16|0,0,977,1),E=s+t|0,s=g+T|0,w=t>>>0>E>>>0?s+1|0:s,s=u,t=w>>>20|0,u=t,t=t+l|0,u=u>>>0>t>>>0?s+1|0:s,S=1048575&u,C=o[d+24>>2],v=o[d+28>>2],s=o[d+20>>2],l=u>>>20|0,y=l+o[d+16>>2]|0,g=l>>>0>y>>>0?s+1|0:s,s=v,l=g>>>20|0,m=l,l=l+C|0,s=m>>>0>l>>>0?s+1|0:s,v=1048575&s,g&=1048575,C=-1==(t&y&l)&1048575==(u&g&s),u=s,s=65535&x,u=u>>>20|0,b=u+p|0,s=u>>>0>b>>>0?s+1|0:s,u=s,_=1048575&w,C&-1==(0|b)&65535==(0|s)&(1048574==(0|_)&E>>>0>4294966318|_>>>0>1048574)|s>>>16&&(s=_+1|0,E=E+977|0,s=E>>>0<977?s+1|0:s,_=1048575&s,p=s,s=S,p=p>>>20|0,t=t+p|0,s=p>>>0>t>>>0?s+1|0:s,S=1048575&s,p=s,s=g,p=p>>>20|0,y=p+y|0,s=p>>>0>y>>>0?s+1|0:s,g=1048575&s,p=s,s=v,p=p>>>20|0,l=l+p|0,s=p>>>0>l>>>0?s+1|0:s,v=1048575&s,p=s,s=u,u=b,b=(p>>>20|0)+b|0,u=65535&(u>>>0>b>>>0?s+1:s)),o[d+32>>2]=b,o[d+36>>2]=u,o[d+24>>2]=l,o[d+28>>2]=v,o[d+16>>2]=y,o[d+20>>2]=g,o[d+8>>2]=t,o[d+12>>2]=S,o[d>>2]=E,o[d+4>>2]=_,x=o[d+48>>2],C=o[d+52>>2],m=o[d+44>>2],p=o[d+72>>2],A=o[d+76>>2],k=A,s=o[d+40>>2],w=We(A>>>16|0,0,977,1),A=s+w|0,s=m+T|0,O=w>>>0>A>>>0?s+1|0:s,s=C,w=O>>>20|0,x=w+x|0,m=w>>>0>x>>>0?s+1|0:s,R=1048575&m,P=p,M=65535&k,w=o[d+64>>2],I=o[d+68>>2],s=o[d+60>>2],p=m>>>20|0,C=p+o[d+56>>2]|0,k=p>>>0>C>>>0?s+1|0:s,s=I,p=k>>>20|0,I=p,p=p+w|0,w=I>>>0>p>>>0?s+1|0:s,s=M,I=w>>>20|0,M=I,I=P+I|0,s=M>>>0>I>>>0?s+1|0:s,P=1048575&k,O&=1048575,-1==(C&x&p)&1048575==(m&P&w)&-1==(0|I)&65535==(0|s)&(1048574==(0|O)&A>>>0>4294966318|O>>>0>1048574)|s>>>16&&(s=O+1|0,A=A+977|0,s=A>>>0<977?s+1|0:s,O=1048575&s,m=s,s=R,m=m>>>20|0,x=m+x|0,s=m>>>0>x>>>0?s+1|0:s,R=1048575&s,m=s,s=P,m=m>>>20|0,C=m+C|0,s=m>>>0>C>>>0?s+1|0:s,P=1048575&s,m=s,s=w,m=m>>>20|0,p=p+m|0,w=m>>>0>p>>>0?s+1|0:s),o[d+56>>2]=C,o[d+60>>2]=P,o[d+48>>2]=x,o[d+52>>2]=R,o[d+40>>2]=A,o[d+44>>2]=O,o[d+64>>2]=p,o[d+68>>2]=1048575&w,i[690917]==(u>>>8&255)&&i[690918]==(255&u)&&i[690919]==(255&((16777215&u)<<8|b>>>24))&&i[690920]==(255&((65535&u)<<16|b>>>16))&&i[690921]==(255&((255&u)<<24|b>>>8))&&i[690922]==(255&b)&&i[690923]==(v>>>12|0)&&i[690924]==(v>>>4&255)&&i[690925]==(255&((268435455&v)<<4|l>>>28))&&i[690926]==(255&((1048575&v)<<12|l>>>20))&&i[690927]==(255&((4095&v)<<20|l>>>12))&&i[690928]==(255&((15&v)<<28|l>>>4))&&i[690929]==(255&(l<<4|g>>>16))&&(s=g,i[690930]==(s>>>8&255)&&i[690931]==(255&s)&&i[690932]==(255&((16777215&g)<<8|y>>>24))&&i[690933]==(255&((65535&g)<<16|y>>>16))&&i[690934]==(255&((255&g)<<24|y>>>8))&&i[690935]==(255&y)&&i[690936]==(S>>>12|0)&&i[690937]==(S>>>4&255)&&i[690938]==(255&((268435455&S)<<4|t>>>28))&&i[690939]==(255&((1048575&S)<<12|t>>>20))&&i[690940]==(255&((4095&S)<<20|t>>>12))&&i[690941]==(255&((15&S)<<28|t>>>4))&&i[690942]==(255&(t<<4|_>>>16))&&(s=_,i[690943]==(s>>>8&255)&&i[690944]==(255&s)&&i[690945]==(255&((16777215&_)<<8|E>>>24))&&i[690946]==(255&((65535&_)<<16|E>>>16))&&i[690947]==(255&((255&_)<<24|E>>>8))&&i[690948]==(255&E)&&(B=(1&A)==(0|e))))))):Xe[o[S+168>>2]](690116,o[S+172>>2])):Xe[o[S+168>>2]](689629,o[S+172>>2]),h=d+288|0;break e}f(1)}return h=c+192|0,0|B}function j(e,t){e|=0,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10|0]&t,r[n+11|0]=i[n+11|0]&t,r[n+12|0]=i[n+12|0]&t,r[n+13|0]=i[n+13|0]&t,r[n+14|0]=i[n+14|0]&t,r[n+15|0]=i[n+15|0]&t,r[n+16|0]=i[n+16|0]&t,r[n+17|0]=i[n+17|0]&t,r[n+18|0]=i[n+18|0]&t,r[n+19|0]=i[n+19|0]&t,r[n+20|0]=i[n+20|0]&t,r[n+21|0]=i[n+21|0]&t,r[n+22|0]=i[n+22|0]&t,r[n+23|0]=i[n+23|0]&t,r[n+24|0]=i[n+24|0]&t,r[n+25|0]=i[n+25|0]&t,r[n+26|0]=i[n+26|0]&t,r[n+27|0]=i[n+27|0]&t,r[n+28|0]=i[n+28|0]&t,r[n+29|0]=i[n+29|0]&t,r[n+30|0]=i[n+30|0]&t,r[n+31|0]=i[n+31|0]&t,r[n+32|0]=i[n+32|0]&t,r[n+33|0]=i[n+33|0]&t,r[n+34|0]=i[n+34|0]&t,r[n+35|0]=i[n+35|0]&t,r[n+36|0]=i[n+36|0]&t,r[n+37|0]=i[n+37|0]&t,r[n+38|0]=i[n+38|0]&t,r[n+39|0]=i[n+39|0]&t,r[n+40|0]=i[n+40|0]&t,r[n+41|0]=i[n+41|0]&t,r[n+42|0]=i[n+42|0]&t,r[n+43|0]=i[n+43|0]&t,r[n+44|0]=i[n+44|0]&t,r[n+45|0]=i[n+45|0]&t,r[n+46|0]=i[n+46|0]&t,r[n+47|0]=i[n+47|0]&t,r[n+48|0]=i[n+48|0]&t,r[n+49|0]=i[n+49|0]&t,r[n+50|0]=i[n+50|0]&t,r[n+51|0]=i[n+51|0]&t,r[n+52|0]=i[n+52|0]&t,r[n+53|0]=i[n+53|0]&t,r[n+54|0]=i[n+54|0]&t,r[n+55|0]=i[n+55|0]&t,r[n+56|0]=i[n+56|0]&t,r[n+57|0]=i[n+57|0]&t,r[n+58|0]=i[n+58|0]&t,r[n+59|0]=i[n+59|0]&t,r[n+60|0]=i[n+60|0]&t,r[n+61|0]=i[n+61|0]&t,r[n+62|0]=i[n+62|0]&t,r[n+63|0]=i[n+63|0]&t,t=!l):(Xe[o[s+168>>2]](690045,o[s+172>>2]),t=0)):(Xe[o[s+168>>2]](689638,o[s+172>>2]),t=0),h=a+256|0;e:{if(t){if(o[n+64>>2]=e,e=de(o[172688],n- -64|0,n,33==(0|e)?258:2),o[n+68>>2]=e,1!=(0|e))break e;w=1}return h=n+96|0,0|w}o[n+80>>2]=0,k(n+72|0),ae()}function $(){var e=0,t=0,s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,R=0,M=0,B=0,L=0;c=h-304|0,h=c,s=c+200|0,He(s,96);e:{t:{r:{if(1==(0|Be(N(),s))){if(r[c+10|0]=i[c+202|0],n[c+8>>1]=a[c+200>>1],s=i[c+203|0]|i[c+204|0]<<8|i[c+205|0]<<16|i[c+206|0]<<24,e=c+104|0,l=c+200|0,Ge(e,7|l,89),t=c+8|0,Ge(7|t,e,89),r[c+11|0]=s,r[c+12|0]=s>>>8,r[c+13|0]=s>>>16,r[c+14|0]=s>>>24,s=c+256|0,o[s>>2]=0,o[s+4>>2]=0,s=c+248|0,o[s>>2]=0,o[s+4>>2]=0,s=c+240|0,o[s>>2]=0,o[s+4>>2]=0,s=c+232|0,o[s>>2]=0,o[s+4>>2]=0,s=c+224|0,o[s>>2]=0,o[s+4>>2]=0,s=c+216|0,o[s>>2]=0,o[s+4>>2]=0,s=c+208|0,o[s>>2]=0,o[s+4>>2]=0,o[c+200>>2]=0,o[c+204>>2]=0,o[c+196>>2]=0,y=N(),E=c+196|0,s=h-96|0,h=s,l?(r[0|l]=0,r[l+1|0]=0,r[l+2|0]=0,r[l+3|0]=0,r[l+4|0]=0,r[l+5|0]=0,r[l+6|0]=0,r[l+7|0]=0,e=l+56|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0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<8|i[t+78|0]<<16|i[t+79|0]<<24,w=u>>>8|m,o[d>>2]=w,S=1048575&e,o[d+4>>2]=S,e=p,u=u<<12|e>>>20,p=i[t+64|0]|i[t+65|0]<<8|i[t+66|0]<<16|i[t+67|0]<<24,d=g+48|0,m=i[t+68|0]|i[t+69|0]<<8|i[t+70|0]<<16|i[t+71|0]<<24,_=e<<12&-4096|m>>>20,o[d>>2]=_,T=1048575&u,o[d+4>>2]=T,o[s+88>>2]=0,o[s+48>>2]=p,x=1048575&m,o[s+52>>2]=x,e=i[t+44|0]|i[t+45|0]<<8|i[t+46|0]<<16|i[t+47|0]<<24,d=e,u=i[t+40|0]|i[t+41|0]<<8|i[t+42|0]<<16|i[t+43|0]<<24,m=1048575&(e<<12|u>>>20),e=i[t+32|0]|i[t+33|0]<<8|i[t+34|0]<<16|i[t+35|0]<<24,g=u<<12&-4096,u=i[t+36|0]|i[t+37|0]<<8|i[t+38|0]<<16|i[t+39|0]<<24,C=g|u>>>20,o[s+16>>2]=C,M=m,o[s+20>>2]=m,g=e,o[s+8>>2]=e,I=1048575&u,o[s+12>>2]=I,u=i[t+60|0]|i[t+61|0]<<8|i[t+62|0]<<16|i[t+63|0]<<24,e=u>>>16|0,m=i[t+56|0]|i[t+57|0]<<8|i[t+58|0]<<16|i[t+59|0]<<24,O=(65535&u)<<16|m>>>16,o[s+40>>2]=O,B=e,o[s+44>>2]=e,u=i[t+48|0]|i[t+49|0]<<8|i[t+50|0]<<16|i[t+51|0]<<24,e=i[t+52|0]|i[t+53|0]<<8|i[t+54|0]<<16|i[t+55|0]<<24,t=e,P=1048575&(e<<24|u>>>8),d=u<<24&-16777216|d>>>8,o[s+24>>2]=d,o[s+28>>2]=P,m=m<<4&1048560,e=e>>>28|0,u=(268435455&t)<<4|u>>>28,o[s+32>>2]=u,e|=m,o[s+36>>2]=e,g|C|O|d|u|M|I|B|P|e?(1&p&&(o[s+80>>2]=-4-v,o[s+84>>2]=262143-((v>>>0>4294967292)+R|0),o[s+72>>2]=-4-b,o[s+76>>2]=4194303-((b>>>0>4294967292)+A|0),o[s+64>>2]=-4-w,o[s+68>>2]=4194303-((w>>>0>4294967292)+S|0),o[s+56>>2]=-4-_,o[s+60>>2]=4194303-((_>>>0>4294967292)+T|0),o[s+48>>2]=-3908-p,o[s+52>>2]=4194299-((p>>>0>4294963388)+x|0),L=1),E&&(o[E>>2]=L),le(l,s+8|0),e=1):(Xe[o[y+168>>2]](690116,o[y+172>>2]),e=0)):(Xe[o[y+168>>2]](689700,o[y+172>>2]),e=0)):(Xe[o[y+168>>2]](689638,o[y+172>>2]),e=0),h=s+96|0,o[c+300>>2]=e,1==(0|e))break r;break e}f(0);break t}if(s=Re(o[172688],c+200|0),o[c+300>>2]=s,e=1,1!=(0|s))break e}return h=c+304|0,0|e}o[c+112>>2]=0,k(c+104|0),ae()}function z(e){e|=0;var t=0,s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0;c=h-272|0,h=c,t=c+8|0,u=t+56|0,o[u>>2]=0,o[u+4>>2]=0,s=t+48|0,o[s>>2]=0,o[s+4>>2]=0,l=t+40|0,o[l>>2]=0,o[l+4>>2]=0,d=t+32|0,o[d>>2]=0,o[d+4>>2]=0,p=t+24|0,o[p>>2]=0,o[p+4>>2]=0,m=t+16|0,o[m>>2]=0,o[m+4>>2]=0,g=t+8|0,o[g>>2]=0,o[g+4>>2]=0,o[c+8>>2]=0,o[c+12>>2]=0,o[c+76>>2]=0,t=c+208|0,y=t+56|0,o[y>>2]=0,o[y+4>>2]=0,v=t+48|0,o[v>>2]=0,o[v+4>>2]=0,b=t+40|0,o[b>>2]=0,o[b+4>>2]=0,w=t+32|0,o[w>>2]=0,o[w+4>>2]=0,_=t+24|0,o[_>>2]=0,o[_+4>>2]=0,E=t+16|0,o[E>>2]=0,o[E+4>>2]=0,A=t+8|0,o[A>>2]=0,o[A+4>>2]=0,o[c+208>>2]=0,o[c+212>>2]=0;e:{if(1!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|0]=0,r[0|c]=0,r[c+1|0]=0,r[c+2|0]=0,r[c+3|0]=0,r[c+4|0]=0,r[c+5|0]=0,r[c+6|0]=0,r[c+7|0]=0))):Xe[o[_+168>>2]](689638,o[_+172>>2]),h=d+288|0,!x)break e;if(o[l+204>>2]=t,e=de(o[172688],l+204|0,l+8|0,33==(0|t)?258:2),o[l+72>>2]=e,C=1,1==(0|e))break e;o[l+144>>2]=0,k(l+136|0),ae()}f(1)}return h=l+208|0,0|C}function V(){return 1==(0|Ce())|0}function G(){var e=0,t=0;if(e=h-32|0,h=e,t=xe(o[172688],690949),o[e+4>>2]=t,1==(0|t))return t=Ce(),h=e+32|0,1==(0|t)|0;o[e+16>>2]=0,k(e+8|0),ae()}function q(){var e=0,t=0;e=h-32|0,h=e,t=xe(o[172688],690788),o[e+4>>2]=t,1!=(0|t)?(o[e+16>>2]=0,k(e+8|0),ae()):h=e+32|0}function W(e){e|=0;var t=0,n=0,a=0,s=0,c=0,u=0;a=h-96|0,h=a,t=a+56|0,o[t>>2]=0,o[t+4>>2]=0,t=a+48|0,o[t>>2]=0,o[t+4>>2]=0,t=a+40|0,o[t>>2]=0,o[t+4>>2]=0,t=a+32|0,o[t>>2]=0,o[t+4>>2]=0,t=a+24|0,o[t>>2]=0,o[t+4>>2]=0,t=a+16|0,o[t>>2]=0,o[t+4>>2]=0,t=a+8|0,o[t>>2]=0,o[t+4>>2]=0,o[a>>2]=0,o[a+4>>2]=0,n=N(),c=o[172560],e=e?655681:0,t=h+-64|0,h=t,o[n>>2]?a?(s=t+32|0,e=Ee(n,s,t,0,c,e),u=s+24|0,c=o[u+4>>2],n=a+24|0,u=o[u>>2],r[0|n]=u,r[n+1|0]=u>>>8,r[n+2|0]=u>>>16,r[n+3|0]=u>>>24,r[n+4|0]=c,r[n+5|0]=c>>>8,r[n+6|0]=c>>>16,r[n+7|0]=c>>>24,u=s+16|0,c=o[u+4>>2],n=a+16|0,u=o[u>>2],r[0|n]=u,r[n+1|0]=u>>>8,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pe(690981,n),pe(691013,e),t=1):(Xe[o[t+168>>2]](689748,o[t+172>>2]),t=0),h=e- -64|0,o[a+68>>2]=t,1==(0|t))break t;break e}break e}return void(h=a+96|0)}o[a+80>>2]=0,k(a+72|0),ae()}function K(e){e|=0;var t=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0;if(d=h-112|0,h=d,c=d+16|0,He(c,65),t=N(),a=o[172560],e=e?655681:0,n=h-80|0,h=n,o[t>>2]?c?(s=n+48|0,l=n+16|0,e=Ee(t,s,l,n+12|0,a,e),t=o[n+52>>2],a=o[n+48>>2],r[0|c]=a,r[c+1|0]=a>>>8,r[c+2|0]=a>>>16,r[c+3|0]=a>>>24,r[c+4|0]=t,r[c+5|0]=t>>>8,r[c+6|0]=t>>>16,r[c+7|0]=t>>>24,u=s+8|0,a=o[u+4>>2],t=c+8|0,u=o[u>>2],r[0|t]=u,r[t+1|0]=u>>>8,r[t+2|0]=u>>>16,r[t+3|0]=u>>>24,r[t+4|0]=a,r[t+5|0]=a>>>8,r[t+6|0]=a>>>16,r[t+7|0]=a>>>24,u=s+16|0,a=o[u+4>>2],t=c+16|0,u=o[u>>2],r[0|t]=u,r[t+1|0]=u>>>8,r[t+2|0]=u>>>16,r[t+3|0]=u>>>24,r[t+4|0]=a,r[t+5|0]=a>>>8,r[t+6|0]=a>>>16,r[t+7|0]=a>>>24,s=s+24|0,a=o[s+4>>2],t=c+24|0,s=o[s>>2],r[0|t]=s,r[t+1|0]=s>>>8,r[t+2|0]=s>>>16,r[t+3|0]=s>>>24,r[t+4|0]=a,r[t+5|0]=a>>>8,r[t+6|0]=a>>>16,r[t+7|0]=a>>>24,t=o[n+20>>2],a=o[n+16>>2],r[c+32|0]=a,r[c+33|0]=a>>>8,r[c+34|0]=a>>>16,r[c+35|0]=a>>>24,r[c+36|0]=t,r[c+37|0]=t>>>8,r[c+38|0]=t>>>16,r[c+39|0]=t>>>24,s=l+8|0,a=o[s+4>>2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=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,n=e+48|0,u=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,f=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,n=e+40|0,p=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,n=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,m=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,g=i[e+36|0]|i[e+37|0]<<8|i[e+38|0]<<16|i[e+39|0]<<24,y=i[0|e]|i[e+1|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,v=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,o[a>>2]=i[e+64|0],e=c+8|0,o[e>>2]=p,o[e+4>>2]=n,e=c+16|0,o[e>>2]=u,o[e+4>>2]=f,e=c+24|0,o[e>>2]=s,o[e+4>>2]=l,o[c+32>>2]=y,o[c+36>>2]=v,o[c>>2]=m,o[c+4>>2]=g,pe(690981,t),pe(691013,c)):Xe[o[n+168>>2]](689795,o[n+172>>2]):Xe[o[n+168>>2]](689748,o[n+172>>2]),h=c- -64|0,h=d+112|0,o[d+12>>2];o[d+96>>2]=0,k(d+88|0),ae()}function X(e){e|=0;var t=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,x=0,C=0,I=0,O=0,P=0,R=0;n=h-128|0,h=n,l=He(n,96),n=Be(N(),l),o[l+100>>2]=n;e:{t:{if(1==(0|n)){if(b=N(),R=e?655681:0,t=h-640|0,h=t,e=t+88|0,o[e>>2]=0,o[e+4>>2]=0,e=t+80|0,o[e>>2]=0,o[e+4>>2]=0,o[t+72>>2]=0,o[t+76>>2]=0,o[t+64>>2]=0,o[t+68>>2]=0,o[b>>2])if(l){_=t+472|0,I=h-16|0,h=I,E=i[l+40|0]|i[l+41|0]<<8|i[l+42|0]<<16|i[l+43|0]<<24,u=i[l+44|0]|i[l+45|0]<<8|i[l+46|0]<<16|i[l+47|0]<<24,p=i[l+48|0]|i[l+49|0]<<8|i[l+50|0]<<16|i[l+51|0]<<24,c=i[l+52|0]|i[l+53|0]<<8|i[l+54|0]<<16|i[l+55|0]<<24,A=i[l+72|0]|i[l+73|0]<<8|i[l+74|0]<<16|i[l+75|0]<<24,g=i[l+76|0]|i[l+77|0]<<8|i[l+78|0]<<16|i[l+79|0]<<24,d=i[l+80|0]|i[l+81|0]<<8|i[l+82|0]<<16|i[l+83|0]<<24,a=i[l+84|0]|i[l+85|0]<<8|i[l+86|0]<<16|i[l+87|0]<<24,w=i[l+32|0]|i[l+33|0]<<8|i[l+34|0]<<16|i[l+35|0]<<24,y=i[l+36|0]|i[l+37|0]<<8|i[l+38|0]<<16|i[l+39|0]<<24,m=i[l+56|0]|i[l+57|0]<<8|i[l+58|0]<<16|i[l+59|0]<<24,s=i[l+60|0]|i[l+61|0]<<8|i[l+62|0]<<16|i[l+63|0]<<24,C=i[l+64|0]|i[l+65|0]<<8|i[l+66|0]<<16|i[l+67|0]<<24,v=i[l+68|0]|i[l+69|0]<<8|i[l+70|0]<<16|i[l+71|0]<<24,f=i[l+88|0]|i[l+89|0]<<8|i[l+90|0]<<16|i[l+91|0]<<24,S=i[l+92|0]|i[l+93|0]<<8|i[l+94|0]<<16|i[l+95|0]<<24,n=t+192|0,o[n+80>>2]=0,x=n+72|0,o[x>>2]=(65535&S)<<16|f>>>16,o[x+4>>2]=S>>>16,o[n+40>>2]=C,o[n+44>>2]=1048575&v,x=(65535&s)<<16|m>>>16,o[n+32>>2]=x,C=s>>>16|0,o[n+36>>2]=C,o[n>>2]=w,S=1048575&y,o[n+4>>2]=S,O=n- -64|0,o[O>>2]=(268435455&a)<<4|d>>>28,o[O+4>>2]=f<<4&1048560|a>>>28,e=a<<24|d>>>8,f=n+56|0,a=g,o[f>>2]=d<<24&-16777216|a>>>8,o[f+4>>2]=1048575&e,e=a<<12,a=A,d=1048575&(e|a>>>20),g=n+48|0,o[g>>2]=a<<12&-4096|v>>>20,o[g+4>>2]=d,a=m<<4&1048560,s=c,e=s>>>28|0,c=(268435455&s)<<4|p>>>28,o[n+24>>2]=c,a|=e,o[n+28>>2]=a,e=s<<24|p>>>8,s=u,u=p<<24&-16777216|s>>>8,o[n+16>>2]=u,p=1048575&e,o[n+20>>2]=p,e=s<<12,s=E,g=1048575&(e|s>>>20),s=s<<12&-4096|y>>>20,o[n+8>>2]=s,e=g,o[n+12>>2]=e;r:{n:{if(!(s|w|x|u|c|e|S|C|p|a)){if(Xe[o[b+168>>2]](690116,o[b+172>>2]),Ge(n,690376,88),_)break n;break r}if(P=1,!_)break r;if(he(_,l,I+12|0),!(o[I+12>>2]|!(o[_+24>>2]|o[_+16>>2]|o[_+8>>2]|o[_>>2]|o[_+28>>2]|o[_+20>>2]|o[_+12>>2]|o[_+4>>2])))break r;Xe[o[b+168>>2]](689400,o[b+172>>2]),Ge(n,690376,88)}P=0,e=o[172569],n=_+24|0,o[n>>2]=o[172568],o[n+4>>2]=e,e=o[172567],n=_+16|0,o[n>>2]=o[172566],o[n+4>>2]=e,e=o[172565],n=_+8|0,o[n>>2]=o[172564],o[n+4>>2]=e,e=o[172563],o[_>>2]=o[172562],o[_+4>>2]=e}h=I+16|0,1&r[t+232|0]?(y=o[t+496>>2],v=o[t+488>>2],a=o[t+480>>2],e=o[t+472>>2],w=o[t+500>>2],A=o[t+492>>2],c=o[t+484>>2],n=o[t+476>>2],u=y|v|a|e|w|A|c|n?-1:0,e=~e,p=e-801750718|0,E=u&p,o[t+472>>2]=E,n=~n,s=n-((e>>>0<801750718)+1076732275|0)|0,g=s&u,o[t+476>>2]=g,e=(0|n)==(0|s)&e>>>0>p>>>0|n>>>0>s>>>0,p=~a,a=e+p|0,c=~c,e=c,f=a-1354194885|0,d=f&u,o[t+480>>2]=d,e=a>>>0

>>0?e+1|0:e,m=e-((a>>>0<1354194885)+1162945305|0)|0,n=m&u,o[t+484>>2]=n,s=(0|e)==(0|c)&a>>>0

>>0|e>>>0>>0,p=(0|e)==(0|m)&a>>>0>f>>>0|e>>>0>m>>>0,a=s+p|0,e=a>>>0

>>0,m=~v,p=m+a|0,v=~A,e=v+e|0,f=p-2|0,a=f&u,o[t+488>>2]=a,e=p>>>0>>0?e+1|0:e,A=e-(p>>>0<2)|0,c=A&u,o[t+492>>2]=c,s=(0|e)==(0|v)&p>>>0>>0|e>>>0>>0,p=(0|e)==(0|A)&f>>>0

>>0|e>>>0>A>>>0,s=s+p|0,e=s>>>0

>>0,p=s-y|0,A=p-2&u,o[t+496>>2]=A,p=(e-((s>>>0>>0)+w|0)|0)-(p>>>0<2)&u,o[t+500>>2]=p):(E=o[t+472>>2],g=o[t+476>>2],d=o[t+480>>2],n=o[t+484>>2],a=o[t+488>>2],c=o[t+492>>2],A=o[t+496>>2],p=o[t+500>>2]),r[t+31|0]=E,r[t+30|0]=(255&g)<<24|E>>>8,r[t+29|0]=(65535&g)<<16|E>>>16,r[t+28|0]=(16777215&g)<<8|E>>>24,r[t+27|0]=g,r[t+26|0]=g>>>8,r[t+25|0]=g>>>16,r[t+24|0]=g>>>24,r[t+23|0]=d,r[t+22|0]=(255&n)<<24|d>>>8,r[t+21|0]=(65535&n)<<16|d>>>16,r[t+20|0]=(16777215&n)<<8|d>>>24,r[t+19|0]=n,r[t+18|0]=n>>>8,r[t+17|0]=n>>>16,r[t+16|0]=n>>>24,r[t+15|0]=a,r[t+14|0]=(255&c)<<24|a>>>8,r[t+13|0]=(65535&c)<<16|a>>>16,r[t+12|0]=(16777215&c)<<8|a>>>24,r[t+11|0]=c,r[t+10|0]=c>>>8,r[t+9|0]=c>>>16,r[t+8|0]=c>>>24,r[t+7|0]=A,r[t+6|0]=(255&p)<<24|A>>>8,r[t+5|0]=(65535&p)<<16|A>>>16,r[t+4|0]=(16777215&p)<<8|A>>>24,r[t+3|0]=p,r[t+2|0]=p>>>8,r[t+1|0]=p>>>16,r[0|t]=p>>>24,n=o[t+228>>2],s=o[t+224>>2],r[t+37|0]=s,e=o[t+212>>2],a=o[t+208>>2],r[t+50|0]=a,r[t+36|0]=(255&n)<<24|s>>>8,r[t+35|0]=(65535&n)<<16|s>>>16,r[t+34|0]=(16777215&n)<<8|s>>>24,r[t+33|0]=n,r[t+32|0]=n>>>8,n=o[t+220>>2],s=o[t+216>>2],r[t+43|0]=(15&n)<<28|s>>>4,r[t+42|0]=(4095&n)<<20|s>>>12,r[t+41|0]=(1048575&n)<<12|s>>>20,r[t+40|0]=(268435455&n)<<4|s>>>28,r[t+39|0]=n>>>4,r[t+38|0]=n>>>12,r[t+49|0]=(255&e)<<24|a>>>8,r[t+48|0]=(65535&e)<<16|a>>>16,r[t+47|0]=(16777215&e)<<8|a>>>24,r[t+46|0]=e,r[t+45|0]=e>>>8,r[t+44|0]=e>>>16&15|s<<4,e=o[t+196>>2],a=o[t+192>>2],r[t+63|0]=a,n=o[t+204>>2],s=o[t+200>>2],r[t+56|0]=(15&n)<<28|s>>>4,r[t+55|0]=(4095&n)<<20|s>>>12,r[t+54|0]=(1048575&n)<<12|s>>>20,r[t+53|0]=(268435455&n)<<4|s>>>28,r[t+52|0]=n>>>4,r[t+51|0]=n>>>12,r[t+62|0]=(255&e)<<24|a>>>8,r[t+61|0]=(65535&e)<<16|a>>>16,r[t+60|0]=(16777215&e)<<8|a>>>24,r[t+59|0]=e,r[t+58|0]=e>>>8,r[t+57|0]=e>>>16&15|s<<4,e=t- -64|0,n=Le(e,655649,32,t,t+32|0,690736,13,R),s=t+408|0,he(s,e,0),e=P&0!=(0|n),n=o[t+432>>2],c=o[t+424>>2],a=o[t+416>>2],u=o[t+408>>2],p=o[t+436>>2],y=o[t+428>>2],g=o[t+420>>2],d=o[t+412>>2],O=e&0!=(n|c|a|u|p|y|g|d),I=!O,e=I-1|0,A=e&n,o[t+432>>2]=A,n=0-!I|0,p&=n,o[t+436>>2]=p,S=e&c,o[t+424>>2]=S,C=n&y,o[t+428>>2]=C,x=e&a,o[t+416>>2]=x,_=n&g,o[t+420>>2]=_,E=e&u|I,o[t+408>>2]=E,g=n&d,o[t+412>>2]=g,e=t+280|0,Ae(b,e,s),Se(t+104|0,e),e=t+152|0,s=o[e>>2],u=o[e+4>>2],c=o[t+148>>2],e=t+176|0,d=o[e>>2],a=o[e+4>>2],v=a,e=o[t+144>>2],n=We(a>>>16|0,0,977,1),a=e+n|0,e=c+T|0,f=n>>>0>a>>>0?e+1|0:e,e=u,n=f>>>20|0,c=n,n=n+s|0,c=c>>>0>n>>>0?e+1|0:e,y=1048575&c,e=t+168|0,w=o[e>>2],b=o[e+4>>2],e=t+160|0,u=o[e>>2],e=o[e+4>>2],s=c>>>20|0,m=s,s=s+u|0,m=m>>>0>s>>>0?e+1|0:e,e=b,u=m>>>20|0,b=u,u=u+w|0,e=b>>>0>u>>>0?e+1|0:e,w=1048575&e,m&=1048575,b=-1==(n&s&u)&1048575==(c&m&e),c=e,e=65535&v,c=c>>>20|0,v=c+d|0,e=c>>>0>v>>>0?e+1|0:e,d=e,c=1048575&f,b&-1==(0|v)&65535==(0|e)&(1048574==(0|c)&a>>>0>4294966318|c>>>0>1048574)|e>>>16&&(e=c+1|0,a=a+977|0,e=a>>>0<977?e+1|0:e,c=1048575&e,f=e,e=y,f=f>>>20|0,n=n+f|0,e=f>>>0>n>>>0?e+1|0:e,y=1048575&e,f=e,e=m,f=f>>>20|0,s=s+f|0,e=f>>>0>s>>>0?e+1|0:e,m=1048575&e,f=e,e=w,f=f>>>20|0,u=u+f|0,e=f>>>0>u>>>0?e+1|0:e,w=1048575&e,f=e,e=d,d=v,v=(f>>>20|0)+v|0,d=65535&(d>>>0>v>>>0?e+1:e)),o[t+176>>2]=v,o[t+180>>2]=d,o[t+168>>2]=u,o[t+172>>2]=w,o[t+160>>2]=s,o[t+164>>2]=m,o[t+152>>2]=n,o[t+156>>2]=y,o[t+144>>2]=a,o[t+148>>2]=c,1&a&&(s=E|x|S|A|g|_|C|p?-1:0,e=~E,u=e-801750718|0,E=s&u,o[t+408>>2]=E,n=~g,a=n-((e>>>0<801750718)+1076732275|0)|0,g=a&s,o[t+412>>2]=g,e=(0|n)==(0|a)&e>>>0>u>>>0|n>>>0>a>>>0,u=~x,a=e+u|0,c=~_,e=c,y=a-1354194885|0,x=y&s,o[t+416>>2]=x,e=a>>>0>>0?e+1|0:e,d=e-((a>>>0<1354194885)+1162945305|0)|0,_=d&s,o[t+420>>2]=_,n=(0|e)==(0|c)&a>>>0>>0|e>>>0>>0,u=(0|e)==(0|d)&a>>>0>y>>>0|e>>>0>d>>>0,a=n+u|0,c=~C,e=c+(a>>>0>>0)|0,u=~S,a=u+a|0,y=a-2|0,S=y&s,o[t+424>>2]=S,e=a>>>0>>0?e+1|0:e,d=e-(a>>>0<2)|0,C=d&s,o[t+428>>2]=C,n=(0|e)==(0|c)&a>>>0>>0|e>>>0>>0,a=(0|e)==(0|d)&a>>>0>y>>>0|e>>>0>d>>>0,n=n+a|0,e=n>>>0>>0,a=n-A|0,u=a-2|0,p=(e-((n>>>0>>0)+p|0)|0)-(a>>>0<2)&s,A=s&u,o[t+432>>2]=A,o[t+436>>2]=p),s=o[t+112>>2],a=o[t+116>>2],c=o[t+108>>2],v=o[t+136>>2],u=o[t+140>>2],f=u,e=o[t+104>>2],n=We(u>>>16|0,0,977,1),u=e+n|0,e=c+T|0,w=n>>>0>u>>>0?e+1|0:e,e=a,n=w>>>20|0,a=n+s|0,d=n>>>0>a>>>0?e+1|0:e,c=1048575&d,y=o[t+128>>2],b=o[t+132>>2],e=o[t+124>>2],n=d>>>20|0,s=n+o[t+120>>2]|0,m=n>>>0>s>>>0?e+1|0:e,e=b,n=m>>>20|0,b=n,n=n+y|0,e=b>>>0>n>>>0?e+1|0:e,y=1048575&e,m&=1048575,b=-1==(a&s&n)&1048575==(d&m&e),d=e,e=65535&f,d=d>>>20|0,v=d+v|0,e=d>>>0>v>>>0?e+1|0:e,d=e,w&=1048575,b&-1==(0|v)&65535==(0|e)&(1048574==(0|w)&u>>>0>4294966318|w>>>0>1048574)|e>>>16&&(e=w+1|0,u=u+977|0,e=u>>>0<977?e+1|0:e,w=1048575&e,f=e,e=c,f=f>>>20|0,a=a+f|0,e=f>>>0>a>>>0?e+1|0:e,c=1048575&e,f=e,e=m,f=f>>>20|0,s=s+f|0,e=f>>>0>s>>>0?e+1|0:e,m=1048575&e,f=e,e=y,f=f>>>20|0,n=n+f|0,e=f>>>0>n>>>0?e+1|0:e,y=1048575&e,f=e,e=d,d=v,v=(f>>>20|0)+v|0,d=65535&(d>>>0>v>>>0?e+1:e)),o[t+136>>2]=v,o[t+140>>2]=d,o[t+128>>2]=n,o[t+132>>2]=y,o[t+120>>2]=s,o[t+124>>2]=m,o[t+112>>2]=a,o[t+116>>2]=c,o[t+104>>2]=u,o[t+108>>2]=w,fe(690981,t+104|0),o[t+600>>2]=64,o[t+604>>2]=0,o[t+528>>2]=-1862921884,o[t+532>>2]=870954602,o[t+520>>2]=-1748470448,o[t+524>>2]=3983205,o[t+512>>2]=292000018,o[t+516>>2]=-782074353,o[t+504>>2]=-1662207471,o[t+508>>2]=596792193,e=t+504|0,re(e,690981,32),re(e,t+32|0,32),re(e,655649,32),n=e,e=t+608|0,ne(n,e),f=t+440|0,he(f,e,0),b=t+472|0,ge(f,f,b),n=o[t+440>>2],d=n+E|0,e=g+o[t+444>>2]|0,c=n>>>0>d>>>0?e+1|0:e,a=(0|g)==(0|c)&d>>>0>>0|c>>>0>>0,n=o[t+448>>2],s=a+n|0,e=o[t+452>>2],n=n>>>0>s>>>0?e+1|0:e,e=n+_|0,a=!n&a>>>0>s>>>0,g=s+x|0,u=g>>>0>>0?e+1|0:e,s=(0|n)==(0|u)&s>>>0>g>>>0|n>>>0>u>>>0,n=a+s|0,e=n>>>0>>0,m=n,n=o[t+456>>2],s=m+n|0,a=e,e=e+o[t+460>>2]|0,n=n>>>0>s>>>0?e+1|0:e,e=n+C|0,y=s,v=s+S|0,e=v>>>0>>0?e+1|0:e,E=p,m=(0|n)==(0|a)&s>>>0>>0|n>>>0>>0,s=e,p=v,a=(0|n)==(0|e)&p>>>0>>0|e>>>0>>0,n=m+a|0,e=n>>>0>>0,w=n,a=o[t+464>>2],n=n+a|0,y=e,e=e+o[t+468>>2]|0,a=n>>>0>>0?e+1|0:e,e=a+E|0,m=n,n=n+A|0,E=m>>>0>n>>>0?e+1|0:e,v=n,w=((0|a)==(0|E)&m>>>0>n>>>0|a>>>0>E>>>0)+((0|a)==(0|y)&m>>>0>>0|a>>>0>>0)|0,a=-1==(0|s),y=a&p>>>0<4294967294|-1!=(0|s)|-1!=(n&E),e=-1162945306==(0|u),m=~(y|e&g>>>0<2940772411|u>>>0<3132021990),y=w+(m&(-1076732276==(0|c)&d>>>0>3493216576|c>>>0>3218235020)|m&(e&g>>>0>2940772411|u>>>0>3132021990)|-1==(0|p)&a&~y)|0,a=We(y,0,801750719,1076732275),m=a+d|0,e=c+T|0,o[t+440>>2]=m,e=a>>>0>m>>>0?e+1|0:e,o[t+444>>2]=e,d=(0|e)==(0|c)&d>>>0>m>>>0|e>>>0>>0,c=We(y,0,1354194884,1162945305),n=c+g|0,e=u+T|0,e=n>>>0>>0?e+1|0:e,c=n,n=e,d=c+d|0,e=d>>>0>>0?e+1|0:e,o[t+448>>2]=d,o[t+452>>2]=e,a=(0|n)==(0|u)&c>>>0>>0|n>>>0>>0,u=(0|e)==(0|n)&c>>>0>d>>>0|e>>>0>>0,n=a+u|0,c=n,u=n>>>0>>0,e=s,g=p+y|0,n=g>>>0>>0?e+1|0:e,e=n+u|0,u=g,c=c+u|0,e=u>>>0>c>>>0?e+1|0:e,o[t+456>>2]=c,o[t+460>>2]=e,a=(0|n)==(0|s)&u>>>0

>>0|n>>>0>>0,s=(0|e)==(0|n)&c>>>0>>0|e>>>0>>0,n=a+s|0,e=E+(n>>>0>>0)|0,n=n+v|0,e=n>>>0>>0?e+1|0:e,o[t+464>>2]=n,o[t+468>>2]=e,pe(691013,f),o[t+504>>2]=I,e=o[t+504>>2]-1|0,r[690981]=e&i[690981],r[690982]=i[690982]&e,r[690983]=i[690983]&e,r[690984]=i[690984]&e,r[690985]=i[690985]&e,r[690986]=i[690986]&e,r[690987]=i[690987]&e,r[690988]=i[690988]&e,r[690989]=i[690989]&e,r[690990]=i[690990]&e,r[690991]=i[690991]&e,r[690992]=i[690992]&e,r[690993]=i[690993]&e,r[690994]=i[690994]&e,r[690995]=i[690995]&e,r[690996]=i[690996]&e,r[690997]=i[690997]&e,r[690998]=i[690998]&e,r[690999]=i[690999]&e,r[691e3]=i[691e3]&e,r[691001]=i[691001]&e,r[691002]=i[691002]&e,r[691003]=i[691003]&e,r[691004]=i[691004]&e,r[691005]=i[691005]&e,r[691006]=i[691006]&e,r[691007]=i[691007]&e,r[691008]=i[691008]&e,r[691009]=i[691009]&e,r[691010]=i[691010]&e,r[691011]=i[691011]&e,r[691012]=i[691012]&e,r[691013]=i[691013]&e,r[691014]=i[691014]&e,r[691015]=i[691015]&e,r[691016]=i[691016]&e,r[691017]=i[691017]&e,r[691018]=i[691018]&e,r[691019]=i[691019]&e,r[691020]=i[691020]&e,r[691021]=i[691021]&e,r[691022]=i[691022]&e,r[691023]=i[691023]&e,r[691024]=i[691024]&e,r[691025]=i[691025]&e,r[691026]=i[691026]&e,r[691027]=i[691027]&e,r[691028]=i[691028]&e,r[691029]=i[691029]&e,r[691030]=i[691030]&e,r[691031]=i[691031]&e,r[691032]=i[691032]&e,r[691033]=i[691033]&e,r[691034]=i[691034]&e,r[691035]=i[691035]&e,r[691036]=i[691036]&e,r[691037]=i[691037]&e,r[691038]=i[691038]&e,r[691039]=i[691039]&e,r[691040]=i[691040]&e,r[691041]=i[691041]&e,r[691042]=i[691042]&e,r[691043]=i[691043]&e,r[691044]=i[691044]&e,e=t+408|0,n=e+24|0,o[n>>2]=0,o[n+4>>2]=0,n=e+16|0,o[n>>2]=0,o[n+4>>2]=0,e=e+8|0,o[e>>2]=0,o[e+4>>2]=0,o[t+408>>2]=0,o[t+412>>2]=0,e=b+24|0,o[e>>2]=0,o[e+4>>2]=0,e=b+16|0,o[e>>2]=0,o[e+4>>2]=0,e=b+8|0,o[e>>2]=0,o[e+4>>2]=0,o[t+472>>2]=0,o[t+476>>2]=0,e=t+24|0,o[e>>2]=0,o[e+4>>2]=0,e=t+16|0,o[e>>2]=0,o[e+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t>>2]=0,o[t+4>>2]=0}else Xe[o[b+168>>2]](689700,o[b+172>>2]);else Xe[o[b+168>>2]](690045,o[b+172>>2]);if(h=t+640|0,o[l+100>>2]=O,O)break t;break e}break e}return void(h=l+128|0)}o[l+112>>2]=0,k(l+104|0),ae()}function Z(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0;l=h-192|0,h=l,u=l+128|0,d=u+56|0,o[d>>2]=0,o[d+4>>2]=0,p=u+48|0,o[p>>2]=0,o[p+4>>2]=0,m=u+40|0,o[m>>2]=0,o[m+4>>2]=0,b=u+32|0,o[b>>2]=0,o[b+4>>2]=0,g=u+24|0,o[g>>2]=0,o[g+4>>2]=0,v=u+16|0,o[v>>2]=0,o[v+4>>2]=0,S=u+8|0,o[S>>2]=0,o[S+4>>2]=0,o[l+128>>2]=0,o[l+132>>2]=0;e:if(1!=(0|oe(o[172688],u,690820,e)))f(1);else{if(u=l+128|0,e=u+15|0,s=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,c=l- -64|0,y=c+8|0,o[y>>2]=i[0|e]|i[e+1|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,o[y+4>>2]=s,e=u+23|0,s=i[e+4|0]|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}t||(e=o[172688],s=l+128|0,s?(t=i[s+60|0]|i[s+61|0]<<8|i[s+62|0]<<16|i[s+63|0]<<24,b=t,t=t>>>31|0,c=~t,g=i[s+44|0]|i[s+45|0]<<8|i[s+46|0]<<16|i[s+47|0]<<24,u=1566010995==(0|g),v=i[s+40|0]|i[s+41|0]<<8|i[s+42|0]<<16|i[s+43|0]<<24,y=i[s+48|0]|i[s+49|0]<<8|i[s+50|0]<<16|i[s+51|0]<<24,_=i[s+52|0]|i[s+53|0]<<8|i[s+54|0]<<16|i[s+55|0]<<24,e=i[s+56|0]|i[s+57|0]<<8|i[s+58|0]<<16|i[s+59|0]<<24,c=~(c&(u&v>>>0<1470386205|g>>>0<1566010995)|c&-1!=(y&_)|2147483647==(0|b)&-1!=(0|e)|b>>>0<2147483647),S=i[s+36|0]|i[s+37|0]<<8|i[s+38|0]<<16|i[s+39|0]<<24,A=i[s+32|0]|i[s+33|0]<<8|i[s+34|0]<<16|i[s+35|0]<<24,t|=c&(-538366138==(0|S)&A>>>0>1746608288|S>>>0>3756601158)|c&(u&v>>>0>1470386205|g>>>0>1566010995),s&&(t&&(t=~A,u=t-801750718|0,w=u,c=~S,p=c-((t>>>0<801750718)+1076732275|0)|0,u=(0|c)==(0|p)&t>>>0>u>>>0|c>>>0>p>>>0,E=~v,t=u+E|0,c=~g,d=t>>>0>>0?c+1|0:c,u=t-1354194885|0,T=u,x=~y,c=(0|c)==(0|d)&t>>>0>>0|c>>>0>d>>>0,E=d-((t>>>0<1354194885)+1162945305|0)|0,u=(0|E)==(0|d)&t>>>0>u>>>0|d>>>0>E>>>0,t=c+u|0,m=~_,c=m+(t>>>0>>0)|0,u=t+x|0,c=u>>>0>>0?c+1|0:c,d=u-2|0,C=d,t=v|A|y|e|g|S|_|b?-1:0,_=(0|c)==(0|m)&u>>>0>>0|c>>>0>>0,m=c-(u>>>0<2)|0,c=(0|m)==(0|c)&u>>>0>d>>>0|c>>>0>m>>>0,u=_+c|0,d=c>>>0>u>>>0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]<<24,u=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,m=u>>>31|0,y=~m,s=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,v=1566010995==(0|s),p=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,S=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,g=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,b=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,c=~(y&(v&p>>>0<1470386205|s>>>0<1566010995)|y&-1!=(S&g)|2147483647==(0|u)&-1!=(0|b)|u>>>0<2147483647),!((-538366138==(0|d)&I>>>0>1746608288|d>>>0>3756601158)&c|c&(v&p>>>0>1470386205|s>>>0>1566010995)|m))if(c=i[l+12|0]|i[l+13|0]<<8|i[l+14|0]<<16|i[l+15|0]<<24,v=c,m=i[l+8|0]|i[l+9|0]<<8|i[l+10|0]<<16|i[l+11|0]<<24,y=1048575&(c<<12|m>>>20),_=i[l+4|0]|i[l+5|0]<<8|i[l+6|0]<<16|i[l+7|0]<<24,T=_,O=m<<12&-4096|_>>>20,P=y,m=i[l+16|0]|i[l+17|0]<<8|i[l+18|0]<<16|i[l+19|0]<<24,x=m,c=i[l+20|0]|i[l+21|0]<<8|i[l+22|0]<<16|i[l+23|0]<<24,E=c,y=1048575&(c<<24|m>>>8),k=m<<24&-16777216|v>>>8,R=y,v=i[l+28|0]|i[l+29|0]<<8|i[l+30|0]<<16|i[l+31|0]<<24,c=v>>>16|0,m=i[l+24|0]|i[l+25|0]<<8|i[l+26|0]<<16|i[l+27|0]<<24,y=(65535&v)<<16|m>>>16,_=c,v=m<<4&1048560,m=E,c=m>>>28|0,M=(268435455&m)<<4|x>>>28,B=i[0|l]|i[l+1|0]<<8|i[l+2|0]<<16|i[l+3|0]<<24,L=c|v,D=1048575&T,M|k|y|O|B|L|R|_|P|D){if(v=o[t+64>>2],A=o[t+56>>2],F=o[t+48>>2],j=o[t+40>>2],m=o[t+68>>2],T=o[t+60>>2],E=o[t+52>>2],w=o[t+44>>2],v|A|F|j|m|T|E|w&&p|I|S|b|s|d|g|u&&(x=i[l+48|0]|i[l+49|0]<<8|i[l+50|0]<<16|i[l+51|0]<<24,C=i[l+52|0]|i[l+53|0]<<8|i[l+54|0]<<16|i[l+55|0]<<24,U=i[l+56|0]|i[l+57|0]<<8|i[l+58|0]<<16|i[l+59|0]<<24,z=i[l+60|0]|i[l+61|0]<<8|i[l+62|0]<<16|i[l+63|0]<<24,H=i[l+40|0]|i[l+41|0]<<8|i[l+42|0]<<16|i[l+43|0]<<24,V=i[l+44|0]|i[l+45|0]<<8|i[l+46|0]<<16|i[l+47|0]<<24,G=i[l+32|0]|i[l+33|0]<<8|i[l+34|0]<<16|i[l+35|0]<<24,$=i[l+36|0]|i[l+37|0]<<8|i[l+38|0]<<16|i[l+39|0]<<24,o[t+232>>2]=u>>>24,o[t+236>>2]=0,o[t+200>>2]=I,o[t+204>>2]=1073741823&d,c=u<<6|b>>>26,u=g,o[t+224>>2]=b<<6|u>>>26,o[t+228>>2]=1073741823&c,c=u<<4|S>>>28,o[t+216>>2]=S<<4|s>>>28,o[t+220>>2]=1073741823&c,s=s<<2|p>>>30,o[t+208>>2]=p<<2|d>>>30,o[t+212>>2]=1073741823&s,b=t+200|0,me(b,690320),s=o[t+232>>2]<<24,p=o[t+228>>2],c=p>>>6|0,d=o[t+224>>2],o[t+456>>2]=(63&p)<<26|d>>>6,o[t+460>>2]=s|c,s=d<<26,p=o[t+220>>2],c=p>>>4|0,d=o[t+216>>2],o[t+448>>2]=(15&p)<<28|d>>>4,o[t+452>>2]=s|c,s=d<<28,p=o[t+212>>2],c=p>>>2|0,d=o[t+208>>2],o[t+440>>2]=(3&p)<<30|d>>>2,o[t+444>>2]=s|c,s=o[t+204>>2],c=d<<30,o[t+432>>2]=o[t+200>>2],o[t+436>>2]=s|c,d=t+400|0,c=t+432|0,ge(d,c,t+8|0),p=t+368|0,ge(p,c,t+40|0),c=t+288|0,o[c>>2]=0,o[c+4>>2]=0,u=z,c=u>>>16|0,s=t+272|0,o[s>>2]=(65535&u)<<16|U>>>16,o[s+4>>2]=c,g=U<<4&1048560,u=C,c=u>>>28|0,s=t+264|0,o[s>>2]=(268435455&u)<<4|x>>>28,o[s+4>>2]=c|g,c=u<<24|x>>>8,s=t+256|0,u=V,o[s>>2]=x<<24&-16777216|u>>>8,o[s+4>>2]=1048575&c,c=u<<12,u=H,g=1048575&(c|u>>>20),s=t+248|0,o[s>>2]=u<<12&-4096|$>>>20,o[s+4>>2]=g,c=t+296|0,o[c>>2]=0,o[c+4>>2]=0,c=t+304|0,o[c>>2]=0,o[c+4>>2]=0,c=t+312|0,o[c>>2]=0,o[c+4>>2]=0,o[t+280>>2]=1,o[t+284>>2]=0,o[t+240>>2]=G,o[t+244>>2]=1048575&$,o[t+232>>2]=y,o[t+236>>2]=_,o[t+224>>2]=M,o[t+228>>2]=L,o[t+216>>2]=k,o[t+220>>2]=R,o[t+208>>2]=O,o[t+212>>2]=P,o[t+200>>2]=B,o[t+204>>2]=D,o[t+320>>2]=0,ye(t+72|0,b,p,d),!o[t+192>>2]&&(e=m,c=e>>>16|0,o[t+360>>2]=(65535&e)<<16|v>>>16,o[t+364>>2]=c,u=j,o[t+328>>2]=u,m=1048575&w,o[t+332>>2]=m,s=e,e=T,c=v<<4&1048560|e>>>28,S=c,y=(268435455&e)<<4|A>>>28,o[t+352>>2]=y,o[t+356>>2]=c,c=e<<24|A>>>8,e=E,b=A<<24&-16777216|e>>>8,o[t+344>>2]=b,d=1048575&c,o[t+348>>2]=d,c=e<<12,e=F,p=1048575&(c|e>>>20),g=e<<12&-4096|w>>>20,o[t+336>>2]=g,o[t+340>>2]=p,e=1,!ve(t+328|0,t+72|0))))if(s|!s&v>>>0>65535)e=0;else if(y|S)e=0;else if(d|!d&b>>>0>21319971)e=0;else{if(!(d|21319971!=(0|b))){if(103691==(0|p)&g>>>0>1979466754|p>>>0>103691){e=0;break t}if(!(1979466754!=(0|g)|103691!=(0|p))&&(e=0,893298==(0|m)&u>>>0>801749741|m>>>0>893298))break t}o[t+360>>2]=-1,o[t+364>>2]=65535,o[t+352>>2]=-1,o[t+356>>2]=1048575,c=d+1048575|0,e=b-21319972|0,c=e>>>0<4273647324?c+1|0:c,o[t+344>>2]=e,o[t+348>>2]=c,c=p+944884|0,s=g-1979466755|0,c=s>>>0<2315500541?c+1|0:c,o[t+336>>2]=s,o[t+340>>2]=c,d=m+155276|0,e=u-801750719|0,d=e>>>0<3493216577?d+1|0:d,o[t+328>>2]=e,o[t+332>>2]=d,e=0!=(0|ve(t+328|0,t+72|0))}}else Xe[o[w+168>>2]](690116,o[w+172>>2])}else Xe[o[w+168>>2]](689638,o[w+172>>2]);else Xe[o[w+168>>2]](689748,o[w+172>>2]);h=t+464|0,c=e}return h=l+192|0,0|c}function Y(e,t){e|=0,t|=0;var n=0,a=0,s=0,c=0,u=0,l=0,d=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0;m=h-176|0,h=m,l=m+8|0,He(l,65),n=o[172688],c=h-80|0,h=c,o[c+12>>2]=0,l?t>>>0>=4?Xe[o[n+168>>2]](689986,o[n+172>>2]):(n=c+12|0,he(c+48|0,690981,n),a=o[c+12>>2],he(c+16|0,691013,n),a|o[c+12>>2]?(a=0,He(l,65)):(n=o[c+52>>2],a=o[c+48>>2],r[0|l]=a,r[l+1|0]=a>>>8,r[l+2|0]=a>>>16,r[l+3|0]=a>>>24,r[l+4|0]=n,r[l+5|0]=n>>>8,r[l+6|0]=n>>>16,r[l+7|0]=n>>>24,n=o[c+20>>2],a=o[c+16>>2],r[l+32|0]=a,r[l+33|0]=a>>>8,r[l+34|0]=a>>>16,r[l+35|0]=a>>>24,r[l+36|0]=n,r[l+37|0]=n>>>8,r[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]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,s=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,he(a+8|0,655649,0);r:if(g|b|A|S|n|l|s|c&&o[a+64>>2]|o[a+56>>2]|o[a+48>>2]|o[a+40>>2]|o[a+68>>2]|o[a+60>>2]|o[a+52>>2]|o[a+44>>2]){if(t=a,o[t+632>>2]=(65535&n)<<16|g>>>16,o[t+636>>2]=n>>>16,o[t+600>>2]=S,I=1048575&s,o[t+604>>2]=I,w=g<<4,p=1044480&w,u=p|4080&w|l>>>28,O=u,x=(268435455&l)<<4|b>>>28,o[t+624>>2]=x,o[t+628>>2]=u,w=l<<24|b>>>8,T=983040&w,_=65280&w,v=b<<24&-16777216|c>>>8,o[t+616>>2]=v,C=T|_|255&w,o[t+620>>2]=C,u=c<<12|A>>>20,T=1044480&u,_=4080&u,t=A<<12,w=-268435456&t,p=15&u,d=267386880&t,d=w|d|1044480&t|s>>>20,o[a+608>>2]=d,p=T|p|_,o[a+612>>2]=p,2&E){if(n|!n&g>>>0>65535)break r;if(O|x)break r;if(C|!C&v>>>0>21319971)break r;if(!(C|21319971!=(0|v))){if(103691==(0|p)&d>>>0>1979466754|p>>>0>103691)break r;if(!(1979466754!=(0|d)|103691!=(0|p))&&893298==(0|I)&S>>>0>801749741|I>>>0>893298)break r}o[a+632>>2]=-1,o[a+636>>2]=65535,o[a+624>>2]=-1,o[a+628>>2]=1048575,u=C+1048575|0,t=v-21319972|0,u=t>>>0<4273647324?u+1|0:u,o[a+616>>2]=t,o[a+620>>2]=u,t=p+944884|0,d=d-1979466755|0,t=d>>>0<2315500541?t+1|0:t,o[a+608>>2]=d,o[a+612>>2]=t,u=I+155276|0,t=S-801750719|0,u=t>>>0<3493216577?u+1|0:u,o[a+600>>2]=t,o[a+604>>2]=u}if(ce(a+512|0,a+600|0,1&E)&&(p=a+512|0,d=p+8|0,u=o[d+4>>2],v=a+384|0,t=v+8|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+16|0,u=o[d+4>>2],t=v+16|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+24|0,u=o[d+4>>2],t=v+24|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+32|0,u=o[d+4>>2],t=v+32|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+48|0,u=o[d+4>>2],t=v+48|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+56|0,u=o[d+4>>2],t=v+56|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p- -64|0,u=o[d+4>>2],t=v- -64|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+72|0,u=o[d+4>>2],t=v+72|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,o[a+504>>2]=o[a+592>>2],t=o[a+516>>2],o[a+384>>2]=o[a+512>>2],o[a+388>>2]=t,t=o[a+556>>2],o[a+424>>2]=o[a+552>>2],o[a+428>>2]=t,t=a+472|0,o[t>>2]=0,o[t+4>>2]=0,t=a+480|0,o[t>>2]=0,o[t+4>>2]=0,t=a+488|0,o[t>>2]=0,o[t+4>>2]=0,t=a+496|0,o[t>>2]=0,o[t+4>>2]=0,o[a+464>>2]=1,o[a+468>>2]=0,o[a+104>>2]=n>>>24,o[a+108>>2]=0,n=n<<6|g>>>26,t=l,o[a+96>>2]=g<<6|t>>>26,o[a+100>>2]=1073741823&n,l=t<<4|b>>>28,n=a,t=c,o[n+88>>2]=b<<4|t>>>28,o[n+92>>2]=1073741823&l,o[n+80>>2]=A<<2|s>>>30,o[n+84>>2]=1073741823&(t<<2|A>>>30),o[n+72>>2]=S,o[n+76>>2]=1073741823&s,w=n+72|0,me(w,690320),l=o[n+104>>2]<<24,s=o[n+100>>2],t=s>>>6|0,c=o[n+96>>2],o[n+376>>2]=(63&s)<<26|c>>>6,o[n+380>>2]=t|l,c<<=26,t=o[n+92>>2],u=t>>>4|0,s=o[n+88>>2],o[n+368>>2]=(15&t)<<28|s>>>4,o[n+372>>2]=u|c,l=s<<28,s=o[n+84>>2],t=s>>>2|0,c=o[n+80>>2],o[n+360>>2]=(3&s)<<30|c>>>2,o[n+364>>2]=t|l,l=o[n+76>>2],u=c<<30,o[n+352>>2]=o[n+72>>2],o[n+356>>2]=u|l,p=n+320|0,d=n+352|0,ge(p,d,n+8|0),x=o[n+344>>2],S=o[n+336>>2],g=o[n+328>>2],s=o[n+320>>2],A=o[n+348>>2],b=o[n+340>>2],u=o[n+332>>2],l=o[n+324>>2],t=x|S|g|s|A|b|u|l?-1:0,_=~s,c=_-801750718|0,o[n+320>>2]=t&c,s=t,l=~l,t=l-((_>>>0<801750718)+1076732275|0)|0,o[n+324>>2]=s&t,t=(0|t)==(0|l)&c>>>0<_>>>0|t>>>0>>0,g=~g,E=t+g|0,T=~u,u=T,u=t>>>0>E>>>0?u+1|0:u,t=E-1354194885|0,o[n+328>>2]=t&s,_=u-((E>>>0<1354194885)+1162945305|0)|0,o[n+332>>2]=_&s,l=~S,t=(0|u)==(0|_)&t>>>0>>0|u>>>0>_>>>0,g=t+((0|u)==(0|T)&g>>>0>E>>>0|u>>>0>>0)|0,b=~b,t=b+(t>>>0>g>>>0)|0,u=l+g|0,t=u>>>0>>0?t+1|0:t,c=u-2|0,o[n+336>>2]=c&s,g=t-(u>>>0<2)|0,o[n+340>>2]=g&s,O=(0|t)==(0|b)&u>>>0>>0|t>>>0>>0,t=(0|t)==(0|g)&u>>>0>c>>>0|t>>>0>g>>>0,n=O+t|0,u=t>>>0>n>>>0,t=n-x|0,o[a+344>>2]=t-2&s,o[a+348>>2]=(u-((n>>>0>>0)+A|0)|0)-(t>>>0<2)&s,n=a+288|0,ge(n,d,a+40|0),t=a+160|0,ye(t,v,n,p),ke(w,t),!o[a+280>>2])){le(y,a+72|0),t=1;break t}}r[0|y]=0,r[y+1|0]=0,r[y+2|0]=0,r[y+3|0]=0,r[y+4|0]=0,r[y+5|0]=0,r[y+6|0]=0,r[y+7|0]=0,t=y+56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,r[e+6|0]=u>>>16,r[e+7|0]=u>>>24,r[c+3|0]=s,r[c+4|0]=s>>>8,r[c+5|0]=s>>>16,r[c+6|0]=s>>>24,e=o[c+68>>2],s=o[c+64>>2],r[c+7|0]=s,r[c+8|0]=s>>>8,r[c+9|0]=s>>>16,r[c+10|0]=s>>>24,r[c+11|0]=e,r[c+12|0]=e>>>8,r[c+13|0]=e>>>16,r[c+14|0]=e>>>24,A=N(),t=h-496|0,h=t,c?se(t+136|0,690981)&&(he(t+464|0,691013,t+12|0),o[t+12>>2]||(s=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,d=s,y=s>>>20|0,l=y,e=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,b=e,P=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,s=P,e=e<<12|s>>>20,S=s<<12,k=l|-4096&S,v=e,R=1048575&e,M=b>>>8|0,g=M,e=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,p=e,I=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,s=I,e=e<<24|s>>>8,B=g|s<<24&-16777216,s=e,L=1048575&e,l=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,g=l,_=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,x=(65535&l)<<16|_>>>16,E=l>>>16|0,l=p>>>28|0,m=(268435455&p)<<4|I>>>28,C=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,u=_,e=u<<4,D=l|1048560&e,w=1048575&d,m|B|x|C|k|D|L|E|w|R?(_=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,A=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,O=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,j=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,U=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,$=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,z=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,F=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,r[t+34|0]=M,r[t+21|0]=x,r[t+38|0]=(1048575&v)<<12|S>>>20,r[t+37|0]=(268435455&v)<<4|S>>>28,r[t+36|0]=v>>>4,r[t+35|0]=v>>>12,r[t+30|0]=s,r[t+29|0]=s>>>8,r[t+22|0]=e>>>12,r[t+47|0]=C,r[t+46|0]=(255&d)<<24|C>>>8,r[t+45|0]=(65535&d)<<16|C>>>16,r[t+44|0]=(16777215&d)<<8|C>>>24,r[t+43|0]=d,r[t+42|0]=d>>>8,r[t+41|0]=y<<4|w>>>16,r[t+40|0]=d>>>24,r[t+39|0]=P,r[t+33|0]=b>>>16,r[t+32|0]=b>>>24,r[t+31|0]=I,e=p,r[t+27|0]=e,r[t+26|0]=e>>>8,r[t+25|0]=e>>>16,r[t+24|0]=e>>>24,r[t+23|0]=u,e=g,r[t+20|0]=(16777215&e)<<8|u>>>24,r[t+19|0]=e,r[t+18|0]=e>>>8,r[t+17|0]=e>>>16,r[t+16|0]=e>>>24,r[t+28|0]=s>>>16&15|m<<4,o[t+400>>2]=64,o[t+404>>2]=0,o[t+328>>2]=-1862921884,o[t+332>>2]=870954602,o[t+320>>2]=-1748470448,o[t+324>>2]=3983205,o[t+312>>2]=292000018,o[t+316>>2]=-782074353,o[t+304>>2]=-1662207471,o[t+308>>2]=596792193,d=t+304|0,re(d,690981,32),re(d,t+16|0,32),re(d,655649,32),p=t+48|0,ne(d,p),S=t+432|0,he(S,p,0),s=A,e=s>>>16|0,g=t+176|0,u=g+72|0,o[u>>2]=(65535&s)<<16|_>>>16,o[u+4>>2]=e,l=_<<4&1048560,s=j,e=s>>>28|0,u=g- -64|0,o[u>>2]=(268435455&s)<<4|O>>>28,o[u+4>>2]=e|l,e=s<<24|O>>>8,u=g+56|0,s=$,o[u>>2]=O<<24&-16777216|s>>>8,o[u+4>>2]=1048575&e,e=s<<12,s=U,l=1048575&(e|s>>>20),u=g+48|0,o[u>>2]=s<<12&-4096|F>>>20,o[u+4>>2]=l,o[t+296>>2]=0,o[t+256>>2]=1,o[t+260>>2]=0,o[t+216>>2]=z,o[t+220>>2]=1048575&F,o[t+208>>2]=x,o[t+212>>2]=E,o[t+200>>2]=m,o[t+204>>2]=D,o[t+192>>2]=B,o[t+196>>2]=L,o[t+184>>2]=k,o[t+188>>2]=R,o[t+176>>2]=C,o[t+180>>2]=w,v=o[t+456>>2],w=o[t+448>>2],b=o[t+440>>2],e=o[t+432>>2],x=o[t+460>>2],_=o[t+452>>2],m=o[t+444>>2],s=o[t+436>>2],u=v|w|b|e|x|_|m|s?-1:0,e=~e,E=e-801750718|0,o[t+432>>2]=u&E,l=~s,y=l-((e>>>0<801750718)+1076732275|0)|0,o[t+436>>2]=y&u,e=(0|l)==(0|y)&e>>>0>E>>>0|l>>>0>y>>>0,y=~b,l=e+y|0,b=~m,e=b,E=l-1354194885|0,o[t+440>>2]=E&u,e=l>>>0>>0?e+1|0:e,m=e-((l>>>0<1354194885)+1162945305|0)|0,o[t+444>>2]=m&u,A=~w,s=(0|e)==(0|b)&l>>>0>>0|e>>>0>>0,y=(0|e)==(0|m)&l>>>0>E>>>0|e>>>0>m>>>0,l=s+y|0,w=~_,e=w+(l>>>0>>0)|0,s=l,l=l+A|0,e=s>>>0>l>>>0?e+1|0:e,b=l-2|0,o[t+448>>2]=b&u,y=e-(l>>>0<2)|0,o[t+452>>2]=y&u,s=(0|e)==(0|w)&l>>>0>>0|e>>>0>>0,l=(0|e)==(0|y)&l>>>0>b>>>0|e>>>0>y>>>0,s=s+l|0,e=s>>>0>>0,l=s-v|0,o[t+456>>2]=l-2&u,o[t+460>>2]=(e-((s>>>0>>0)+x|0)|0)-(l>>>0<2)&u,e=t+288|0,o[e>>2]=0,o[e+4>>2]=0,e=t+280|0,o[e>>2]=0,o[e+4>>2]=0,e=t+272|0,o[e>>2]=0,o[e+4>>2]=0,e=t+264|0,o[e>>2]=0,o[e+4>>2]=0,ye(d,g,S,t+464|0),ke(p,d),o[t+128>>2]||(l=o[t+92>>2],u=t+48|0,e=u+72|0,m=o[e>>2],d=o[e+4>>2],w=d,e=o[t+88>>2],s=We(d>>>16|0,0,977,1),g=e+s|0,e=l+T|0,p=s>>>0>g>>>0?e+1|0:e,e=u+48|0,l=o[e>>2],e=o[e+4>>2],s=p>>>20|0,d=s,s=s+l|0,d=d>>>0>s>>>0?e+1|0:e,v=1048575&d,e=u- -64|0,y=o[e>>2],_=o[e+4>>2],e=u+56|0,l=o[e>>2],e=o[e+4>>2],u=d>>>20|0,l=u+l|0,b=u>>>0>l>>>0?e+1|0:e,e=_,u=b>>>20|0,_=u,u=u+y|0,e=_>>>0>u>>>0?e+1|0:e,y=1048575&e,b&=1048575,_=-1==(s&l&u)&1048575==(d&b&e),d=e,e=65535&w,d=d>>>20|0,m=d+m|0,d=d>>>0>m>>>0?e+1|0:e,e=1048575&p,w=e,p=m,_&-1==(0|p)&65535==(0|d)&(1048574==(0|e)&g>>>0>4294966318|e>>>0>1048574)|d>>>16&&(e=w+1|0,g=g+977|0,e=g>>>0<977?e+1|0:e,w=1048575&e,m=e,e=v,m=m>>>20|0,s=s+m|0,e=m>>>0>s>>>0?e+1|0:e,v=1048575&e,m=e,e=b,m=m>>>20|0,l=l+m|0,e=m>>>0>l>>>0?e+1|0:e,b=1048575&e,m=e,e=y,m=m>>>20|0,u=u+m|0,e=m>>>0>u>>>0?e+1|0:e,y=1048575&e,m=e,e=d,d=p,p=(m>>>20|0)+p|0,d=65535&(d>>>0>p>>>0?e+1:e)),o[t+120>>2]=p,o[t+124>>2]=d,o[t+112>>2]=u,o[t+116>>2]=y,o[t+104>>2]=l,o[t+108>>2]=b,o[t+96>>2]=s,o[t+100>>2]=v,o[t+88>>2]=g,o[t+92>>2]=w,1&g||(e=o[t+48>>2],s=o[t+136>>2],u=e-s|0,d=o[t+52>>2]-(o[t+140>>2]+(e>>>0>>0)|0)|0,e=o[t+80>>2],l=o[t+168>>2],s=(e-l|0)-4|0,e=262143+(o[t+84>>2]-(o[t+172>>2]+(e>>>0>>0)|0)|0)|0,l=s>>>0<4294967292?e+1|0:e,g=We(l>>>16|0,0,977,1),u=g+u|0,e=d+T|0,e=(u>>>0>>0?e+1|0:e)+4194299|0,u=u-3908|0,e=u>>>0<4294963388?e+1|0:e,d=1048575&e,w=d,b=976^u,_=1^d,(-1!=(0|b)|1048575!=(0|_))&0!=(u|d)||(y=s,x=65535&l,s=o[t+72>>2],l=o[t+160>>2],v=s-l|0,m=o[t+76>>2]-(o[t+164>>2]+(s>>>0>>0)|0)|0,s=o[t+64>>2],l=o[t+152>>2],g=s-l|0,p=o[t+68>>2]-(o[t+156>>2]+(s>>>0>>0)|0)|0,s=e>>>20|0,S=o[t+144>>2],E=s-S|0,l=E+o[t+56>>2]|0,e=o[t+60>>2]-(o[t+148>>2]+(s>>>0>>0)|0)|0,e=(l>>>0>>0?e+1|0:e)+4194303|0,s=l-4|0,l=s>>>0<4294967292?e+1|0:e,e=p,d=l>>>20|0,p=d,d=d+g|0,e=(p>>>0>d>>>0?e+1|0:e)+4194303|0,d=d-4|0,g=d>>>0<4294967292?e+1|0:e,e=m,p=g>>>20|0,m=p,p=p+v|0,e=(m>>>0>p>>>0?e+1|0:e)+4194303|0,p=p-4|0,v=p>>>0<4294967292?e+1|0:e,e=x,m=v>>>20|0,y=m+y|0,e=m>>>0>y>>>0?e+1|0:e,m=-1==(s&b&d&p&y)?1048575==(l&_&g&v&(983040^e)):0,m?(s=0,e=0):(s=p|d|s|u|y,e|=1048575&v|1048575&g|1048575&l|w),H=!(e|s))))):Xe[o[A+168>>2]](690116,o[A+172>>2]))):Xe[o[A+168>>2]](689638,o[A+172>>2]),h=t+496|0),h=c+192|0,0|H}function J(e,t,r,n,i){var a=0;e:{if(!(1114112!=(0|r)&&(a=1,0|Xe[o[t+16>>2]](e,r)))){if(n)break e;a=0}return a}return 0|Xe[o[t+12>>2]](e,n,i)}function ee(e,t){e|=0,t|=0;var r=0;if(i[0|e]){t=e+1|0,e=0;while(1)if(r=e+t|0,e=e+1|0,!i[0|r])break}ae()}function re(e,t,r){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0,q=0,W=0,K=0,X=0,Z=0,Y=0,Q=0,J=0,ee=0,te=0,re=0,ne=0,oe=0,ie=0,ae=0,se=0,ce=0,ue=0,le=0,de=0,fe=0,he=0,pe=0,me=0,ge=0,ye=0,ve=0,be=0,we=0,_e=0,Ee=0,Ae=0,Se=0;if(n=o[e+100>>2],a=o[e+96>>2],u=a+r|0,n=u>>>0>>0?n+1|0:n,o[e+96>>2]=u,o[e+100>>2]=n,n=63&a,ue=64-n|0,ue>>>0<=r>>>0){Ee=e+32|0;while(1)if(Ge(n+Ee|0,t,ue),a=i[e+67|0],n=i[e+65|0]<<16|i[e+64|0]<<24,U=a|n|i[e+66|0]<<8,d=i[e+39|0],u=i[e+37|0]<<16|i[e+36|0]<<24,h=d|u|i[e+38|0]<<8,S=i[e+59|0],T=i[e+57|0]<<16|i[e+56|0]<<24,E=S|T|i[e+58|0]<<8,c=i[e+51|0],b=i[e+49|0]<<16|i[e+48|0]<<24,g=c|b|i[e+50|0]<<8,p=i[e+43|0],f=i[e+41|0]<<16|i[e+40|0]<<24,m=p|f|i[e+42|0]<<8,se=(a<<25|U>>>7)^(U<<14|n>>>18)^U>>>3,y=i[e+63|0],a=i[e+61|0]<<16|i[e+60|0]<<24,A=y|a|i[e+62|0]<<8,_=i[e+71|0],v=i[e+69|0]<<16|i[e+68|0]<<24,G=_|v|i[e+70|0]<<8,n=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,ee=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,l=G+(ee+((d<<25|h>>>7)^(h<<14|u>>>18)^h>>>3)|0)|0,u=i[e+89|0]<<16|i[e+88|0]<<24,n=u|i[e+90|0]<<8,x=i[e+91|0],I=n|x,s=l+((I<<13|u>>>19)^n>>>10^(I<<15|u>>>17))|0,te=(S<<25|E>>>7)^(E<<14|T>>>18)^E>>>3,S=i[e+55|0],T=i[e+53|0]<<16|i[e+52|0]<<24,w=S|T|i[e+54|0]<<8,B=i[e+83|0],P=i[e+81|0]<<16|i[e+80|0]<<24,q=B|P|i[e+82|0]<<8,l=(c<<25|g>>>7)^(g<<14|b>>>18)^g>>>3,C=i[e+47|0],b=i[e+45|0]<<16|i[e+44|0]<<24,re=C|b|i[e+46|0]<<8,L=i[e+75|0],D=i[e+73|0]<<16|i[e+72|0]<<24,W=L|D|i[e+74|0]<<8,F=i[e+95|0],d=i[e+93|0]<<16|i[e+92|0]<<24,n=d|i[e+94|0]<<8,O=F|n,c=(W+(((p<<25|m>>>7)^(m<<14|f>>>18)^m>>>3)+h|0)|0)+((O<<13|d>>>19)^n>>>10^(O<<15|d>>>17))|0,f=(q+(l+re|0)|0)+(Ke(c,15)^Ke(c,13)^c>>>10)|0,p=((te+w|0)+I|0)+(Ke(f,15)^Ke(f,13)^f>>>10)|0,n=((se+A|0)+s|0)+(Ke(p,15)^Ke(p,13)^p>>>10)|0,ye=(((_<<25|G>>>7)^(G<<14|v>>>18)^G>>>3)+U|0)+c|0,se=(((y<<25|A>>>7)^(A<<14|a>>>18)^A>>>3)+E|0)+O|0,te=((S<<25|w>>>7)^(w<<14|T>>>18)^w>>>3)+g|0,S=i[e+87|0],T=i[e+85|0]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ue=64,n=0,!(r>>>0>63))break}r&&Ge(32+(e+n|0)|0,t,r)}function ne(e,t){var n=0,i=0,a=0;i=h-16|0,h=i,n=o[e+100>>2],a=o[e+96>>2],r[i+11|0]=(536870911&n)<<3|a>>>29,r[i+10|0]=n>>>5,r[i+9|0]=n>>>13,r[i+8|0]=n>>>21,r[i+15|0]=a<<3,r[i+14|0]=a>>>5,r[i+13|0]=a>>>13,r[i+12|0]=a>>>21,re(e,690512,1+(55-a&63)|0),re(e,i+8|0,8),n=o[e>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[0|t]=n,r[t+1|0]=n>>>8,r[t+2|0]=n>>>16,r[t+3|0]=n>>>24,o[e>>2]=0,n=o[e+4>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+4|0]=n,r[t+5|0]=n>>>8,r[t+6|0]=n>>>16,r[t+7|0]=n>>>24,o[e+4>>2]=0,n=o[e+8>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+8|0]=n,r[t+9|0]=n>>>8,r[t+10|0]=n>>>16,r[t+11|0]=n>>>24,o[e+8>>2]=0,n=o[e+12>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+12|0]=n,r[t+13|0]=n>>>8,r[t+14|0]=n>>>16,r[t+15|0]=n>>>24,o[e+12>>2]=0,n=o[e+16>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+16|0]=n,r[t+17|0]=n>>>8,r[t+18|0]=n>>>16,r[t+19|0]=n>>>24,o[e+16>>2]=0,n=o[e+20>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+20|0]=n,r[t+21|0]=n>>>8,r[t+22|0]=n>>>16,r[t+23|0]=n>>>24,o[e+20>>2]=0,n=o[e+24>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+24|0]=n,r[t+25|0]=n>>>8,r[t+26|0]=n>>>16,r[t+27|0]=n>>>24,o[e+24>>2]=0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s+2|0]=0,r[s+3|0]=0,r[s+4|0]=0,r[s+5|0]=0,r[s+6|0]=0,r[s+7|0]=0,n){e=0;t:if(65==(0|a)){if(a=i[0|n],a>>>0>7)break e;if(!(1<>2],d=u+672|0,a=d+8|0,o[a>>2]=o[c>>2],o[a+4>>2]=s,c=l+16|0,s=o[c+4>>2],a=d+16|0,o[a>>2]=o[c>>2],o[a+4>>2]=s,c=l+24|0,s=o[c+4>>2],a=d+24|0,o[a>>2]=o[c>>2],o[a+4>>2]=s,c=l+32|0,s=o[c+4>>2],a=d+32|0,o[a>>2]=o[c>>2],o[a+4>>2]=s,c=u+760|0,s=c+8|0,a=o[s+4>>2],A=u+720|0,o[A>>2]=o[s>>2],o[A+4>>2]=a,s=c+16|0,a=o[s+4>>2],v=u+728|0,o[v>>2]=o[s>>2],o[v+4>>2]=a,s=c+24|0,a=o[s+4>>2],l=u+736|0,o[l>>2]=o[s>>2],o[l+4>>2]=a,s=c+32|0,a=o[s+4>>2],I=u+744|0,o[I>>2]=o[s>>2],o[I+4>>2]=a,o[u+752>>2]=0,a=o[u+804>>2],o[u+672>>2]=o[u+800>>2],o[u+676>>2]=a,a=o[u+764>>2],o[u+712>>2]=o[u+760>>2],o[u+716>>2]=a,n=i[0|n],6==(254&n)&&(a=0,(1&r[u+760|0])==(7!=(0|n)|0))||(n=o[u+716>>2],R=n,f=o[u+712>>2],a=f,n=n<<1|a>>>31,b=u+96|0,p=o[l>>2],m=o[l+4>>2],O=a<<1,B=n,Ve(b,p,m,0,0,O,n,0,0),n=o[A+4>>2],P=n,k=o[A>>2],s=k,n=n<<1|s>>>31,g=u+160|0,y=o[v>>2],v=o[v+4>>2],s<<=1,c=n,Ve(g,y,v,0,0,s,n,0,0),A=u+288|0,a=o[I>>2],n=o[I+4>>2],Ve(A,a,n,0,0,a,n,0,0),l=u+272|0,Ve(l,o[u+288>>2],o[u+292>>2],0,0,15632,16,0,0),n=n<<1|a>>>31,F=u+128|0,_=a<<1,I=n,Ve(F,_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c|0,c=d+w|0,n=c>>>0>>0?n+1|0:n,G=c,d=n,x=o[u+864>>2],M=o[u+868>>2],N=o[u+856>>2],B=o[u+860>>2],O=o[u+848>>2],p=o[u+852>>2],l=o[u+844>>2],v=o[u+872>>2],c=o[u+876>>2],V=c,n=o[u+840>>2],c=We(c>>>16|0,0,977,1),m=n+c|0,n=l+T|0,n=c>>>0>m>>>0?n+1|0:n,c=m+7|0,n=c>>>0<7?n+1|0:n,b=c,l=n,n=p,c=l>>>20|0,p=c,c=c+O|0,n=p>>>0>c>>>0?n+1|0:n,_=c,p=n,n=B,c=p>>>20|0,m=c,c=c+N|0,n=m>>>0>c>>>0?n+1|0:n,B=c,m=n,n=M,c=m>>>20|0,M=c,c=c+x|0,n=M>>>0>c>>>0?n+1|0:n,O=c,c=n,N=b-C|0,C=(1048575&l)-((1048575&y)+(b>>>0>>0)|0)|0,V&=65535,b=65535&R,y=(0|a)==(0|d)&w>>>0>G>>>0|a>>>0>d>>>0,a=(0|a)==(0|k)&w>>>0>>0|a>>>0>>0,l=a+H|0,n=I,n=a>>>0>l>>>0?n+1|0:n,s=s>>>20|0,a=s+l|0,n=s>>>0>a>>>0?n+1|0:n,s=a,a=a+y|0,n=s>>>0>a>>>0?n+1|0:n,s=a<<12|d>>>20,l=s+A|0,n=b+(n<<12|a>>>20)|0,n=s>>>0>l>>>0?n+1|0:n,s=v-l|0,n=V-((l>>>0>v>>>0)+n|0)|0,l=c>>>20|0,a=s+l|0,n=(l>>>0>a>>>0?n+1|0:n)+262143|0,a=a-4|0,v=a>>>0<4294967292?n+1|0:n,s=We(v>>>16|0,0,977,1),l=s+N|0,n=C+T|0,n=(s>>>0>l>>>0?n+1|0:n)+4194299|0,s=l-3908|0,n=s>>>0<4294963388?n+1|0:n,R=976^s,l=1048575&n,w=1^l,(-1!=(0|R)|1048575!=(0|w))&0!=(s|l)?a=0:(b=O-G|0,I=(1048575&c)-((1048575&d)+(O>>>0>>0)|0)|0,y=B-S|0,A=(1048575&m)-((1048575&f)+(S>>>0>B>>>0)|0)|0,s=n,n=(1048575&p)-((1048575&g)+(_>>>0>>0)|0)|0,s=s>>>20|0,c=s,s=s+(_-E|0)|0,n=(c>>>0>s>>>0?n+1|0:n)+4194303|0,l=s-4|0,d=l>>>0<4294967292?n+1|0:n,n=A,s=d>>>20|0,c=s,s=s+y|0,n=(c>>>0>s>>>0?n+1|0:n)+4194303|0,c=s-4|0,s=c>>>0<4294967292?n+1|0:n,n=I,A=s>>>20|0,f=A,A=b+A|0,n=(f>>>0>A>>>0?n+1|0:n)+4194303|0,A=A-4|0,n=A>>>0<4294967292?n+1|0:n,l=A&l&R&c,d=n&d&w&s,s=a,a=n,n=65535&v,a=a>>>20|0,c=a,a=a+s|0,n=c>>>0>a>>>0?n+1|0:n,a=-1==(a&l)&1048575==(d&(983040^n)))))}else{if(33!=(0|a))break e;if(2!=(254&i[0|n]))break e;if(!se(u+840|0,n+1|0)){a=0;break t}a=0!=(0|ce(u+672|0,u+840|0,3==i[0|n]))}a&&(le(t,u+672|0),e=1)}else Xe[o[e+168>>2]](689668,o[e+172>>2]),e=0;else Xe[o[e+168>>2]](689638,o[e+172>>2]),e=0;return h=u+880|0,e}function se(e,t){var r=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0;return a=e,r=i[t+30|0],e=r>>>24|0,n=i[t+31|0]|r<<8,r=e,s=i[t+29|0],e=s>>>16|0,s=s<<16|n,n=e|r,r=i[t+28|0],e=r>>>8|0,r=r<<24|s,e=i[t+27|0]|e|n|i[t+26|0]<<8|(15&i[t+25|0])<<16,s=e,m=r,o[a>>2]=r,o[a+4>>2]=e,r=i[t+24|0],e=r>>>28|0,c=r<<4|i[t+25|0]>>>4,r=e,n=i[t+23|0],e=n>>>20|0,n=n<<12|c,c=e|r,r=i[t+22|0],e=r>>>12|0,n|=r<<20,c|=e,r=i[t+21|0],e=r>>>4|0,r=r<<28|n,n=e|c|i[t+20|0]<<4,e=i[t+19|0]<<12,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[a+4>>2],n=e+8|0,o[n>>2]=o[a>>2],o[n+4>>2]=i,n=o[t+4>>2],o[e>>2]=o[t>>2],o[e+4>>2]=n,n=s+7096|0,Oe(n,t),V=s+7056|0,ue(V,t,n),o[e+80>>2]=0,n=o[s+7060>>2],i=o[s+7056>>2]+7|0,t=i>>>0<7?n+1|0:n,n=i,o[s+7056>>2]=n,o[s+7060>>2]=t,m=s+6848|0,A=o[s+7080>>2],b=o[s+7084>>2],k=n<<1,c=n,S=t<<1|n>>>31,Ve(m,A,b,0,0,k,S,0,0),n=o[s+7068>>2],H=n,L=o[s+7064>>2],a=L,n=n<<1|a>>>31,p=s+6880|0,C=o[s+7072>>2],w=o[s+7076>>2],a<<=1,u=n,Ve(p,C,w,0,0,a,n,0,0),l=s+7008|0,i=o[s+7088>>2],n=o[s+7092>>2],Ve(l,i,n,0,0,i,n,0,0),d=s+6992|0,Ve(d,o[s+7008>>2],o[s+7012>>2],0,0,15632,16,0,0),n=n<<1|i>>>31,M=s+6800|0,x=i<<1,E=n,Ve(M,x,n,0,0,c,t,0,0),U=s+6864|0,Ve(U,A,b,0,0,a,u,0,0),R=s+6944|0,Ve(R,C,w,0,0,C,w,0,0),g=s+6976|0,n=l+8|0,Ve(g,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),z=s+6720|0,Ve(z,c,t,0,0,c,t,0,0),$=s+6912|0,Ve($,x,E,0,0,L,H,0,0),F=s+6960|0,Ve(F,A,b,0,0,C<<1,w<<1|C>>>31,0,0),v=o[s+6852>>2],n=v+o[s+6884>>2]|0,u=o[s+6848>>2],i=o[s+6880>>2],t=u+i|0,a=o[s+6992>>2],y=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+6996>>2]|0,a=a>>>0>y>>>0?n+1|0:n,l=(0|i)==(0|a)&t>>>0>y>>>0|i>>>0>a>>>0,n=d+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|v)&t>>>0>>0|i>>>0>>0,n=p+8|0,i=o[n>>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>20,a=t+f|0,n=d+(n<<12|i>>>20)|0,o[s+7608>>2]=a,o[s+7612>>2]=t>>>0>a>>>0?n+1|0:n,H=s+7576|0,ue(H,H,V),t=o[s+7580>>2],v=t,m=o[s+7576>>2],c=m,n=t<<1|c>>>31,p=s+6448|0,C=o[s+7600>>2],O=o[s+7604>>2],_=c<<1,x=n,Ve(p,C,O,0,0,_,n,0,0),t=o[s+7588>>2],W=t,q=o[s+7584>>2],i=q,n=t<<1|i>>>31,d=s+6656|0,k=o[s+7592>>2],A=o[s+7596>>2],i<<=1,a=n,Ve(d,k,A,0,0,i,n,0,0),l=s+6608|0,u=o[s+7608>>2],t=o[s+7612>>2],Ve(l,u,t,0,0,u,t,0,0),f=s+6592|0,Ve(f,o[s+6608>>2],o[s+6612>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,j=s+6560|0,P=u<<1,S=n,Ve(j,P,n,0,0,c,v,0,0),M=s+6464|0,Ve(M,C,O,0,0,i,a,0,0),U=s+6640|0,Ve(U,k,A,0,0,k,A,0,0),g=s+6576|0,t=l+8|0,Ve(g,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),z=s+6704|0,Ve(z,c,v,0,0,c,v,0,0),$=s+6544|0,Ve($,P,n,0,0,q,W,0,0),R=s+6480|0,Ve(R,C,O,0,0,k<<1,A<<1|k>>>31,0,0),m=o[s+6452>>2],n=m+o[s+6660>>2]|0,u=o[s+6448>>2],i=o[s+6656>>2],t=u+i|0,a=o[s+6592>>2],b=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+6596>>2]|0,a=a>>>0>b>>>0?n+1|0:n,l=(0|i)==(0|a)&t>>>0>b>>>0|i>>>0>a>>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|m)&t>>>0>>0|i>>>0>>0,n=d+8|0,i=o[n>>2],t=p+8|0,d=i+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=i>>>0>d>>>0?n+1|0:n,t=u+d|0,n=(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,w=(0|i)==(0|l)&d>>>0>>0|i>>>0>l>>>0,i=(0|i)==(0|O)&b>>>0>>0|i>>>0>>0,n=_+8|0,d=i+o[n>>2]|0,n=o[n+4>>2],n=i>>>0>d>>>0?n+1|0:n,a=a>>>20|0,i=a+d|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+w|0,n=a>>>0>i>>>0?n+1|0:n,a=l,d=i<<12|a>>>20,l=d+g|0,n=A+(n<<12|i>>>20)|0,i=l,l=i>>>0>>0?n+1|0:n,d=1048575&a,m&=1048575,g=1048575&v,a=p,p=1048575&y,t=t-1|0,!t)break;o[s+7168>>2]=i,o[s+7172>>2]=l,o[s+7160>>2]=f,o[s+7164>>2]=d,o[s+7152>>2]=c,o[s+7156>>2]=m,o[s+7144>>2]=u,o[s+7148>>2]=g,o[s+7136>>2]=a,o[s+7140>>2]=p,t=s+7136|0,ue(t,t,s+7376|0),t=6,i=o[s+7168>>2],l=o[s+7172>>2],f=o[s+7160>>2],d=o[s+7164>>2],c=o[s+7152>>2],m=o[s+7156>>2],u=o[s+7144>>2],g=o[s+7148>>2],a=o[s+7136>>2],p=o[s+7140>>2];while(1)if(y=a,n=p<<1|a>>>31,I=s+640|0,E=a<<1,k=n,Ve(I,f,d,0,0,E,n,0,0),_=s+560|0,a=u<<1,v=g,C=u,u=g<<1|u>>>31,Ve(_,c,m,0,0,a,u,0,0),b=s+496|0,Ve(b,i,l,0,0,i,l,0,0),w=s+480|0,Ve(w,o[s+496>>2],o[s+500>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+448|0,S=i<<1,O=n,Ve(L,S,n,0,0,y,p,0,0),D=s+608|0,Ve(D,f,d,0,0,a,u,0,0),z=s+544|0,Ve(z,c,m,0,0,c,m,0,0),x=s+464|0,n=b+8|0,Ve(x,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),$=s+656|0,Ve($,y,p,0,0,y,p,0,0),F=s+432|0,Ve(F,S,O,0,0,C,g,0,0),j=s+512|0,p=f,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=i+o[n>>2]|0,n=o[n+4>>2],n=i>>>0>d>>>0?n+1|0:n,a=a>>>20|0,i=a+d|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+w|0,n=a>>>0>i>>>0?n+1|0:n,a=l,d=i<<12|a>>>20,l=d+g|0,n=A+(n<<12|i>>>20)|0,i=l,l=i>>>0>>0?n+1|0:n,d=1048575&a,m&=1048575,g=1048575&v,a=p,p=1048575&y,t=t-1|0,!t)break;return o[s+7168>>2]=i,o[s+7172>>2]=l,o[s+7160>>2]=f,o[s+7164>>2]=d,o[s+7152>>2]=c,o[s+7156>>2]=m,o[s+7144>>2]=u,o[s+7148>>2]=g,o[s+7136>>2]=a,o[s+7140>>2]=p,z=s+7136|0,ue(z,z,s+7576|0),t=o[s+7140>>2],v=t,g=o[s+7136>>2],c=g,n=t<<1|c>>>31,p=s- -64|0,A=o[s+7160>>2],b=o[s+7164>>2],k=c<<1,S=n,Ve(p,A,b,0,0,k,n,0,0),t=o[s+7148>>2],L=t,D=o[s+7144>>2],i=D,n=t<<1|i>>>31,d=s+272|0,C=o[s+7152>>2],w=o[s+7156>>2],i<<=1,a=n,Ve(d,C,w,0,0,i,n,0,0),l=s+224|0,u=o[s+7168>>2],t=o[s+7172>>2],Ve(l,u,t,0,0,u,t,0,0),f=s+208|0,Ve(f,o[s+224>>2],o[s+228>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,U=s+176|0,x=u<<1,E=n,Ve(U,x,n,0,0,c,v,0,0),R=s+80|0,Ve(R,A,b,0,0,i,a,0,0),B=s+256|0,Ve(B,C,w,0,0,C,w,0,0),m=s+192|0,t=l+8|0,Ve(m,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+320|0,Ve($,c,v,0,0,c,v,0,0),F=s+160|0,Ve(F,x,n,0,0,D,L,0,0),j=s+96|0,Ve(j,A,b,0,0,C<<1,w<<1|C>>>31,0,0),g=o[s+68>>2],n=g+o[s+276>>2]|0,u=o[s+64>>2],i=o[s+272>>2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|m)&c>>>0>>0|l>>>0>>0,n=A+8|0,u=a+o[n>>2]|0,n=o[n+4>>2],n=a>>>0>u>>>0?n+1|0:n,i=i>>>20|0,a=i,i=i+u|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+d|0,n=a>>>0>i>>>0?n+1|0:n,t=i<<12|t>>>20,a=t+f|0,n=p+(n<<12|i>>>20)|0,o[v+7168>>2]=a,o[v+7172>>2]=t>>>0>a>>>0?n+1|0:n,t=e+40|0,Oe(t,z),Oe(z,t),n=o[v+7080>>2],t=o[v+7160>>2],w=n-t|0,y=o[v+7084>>2]-(o[v+7164>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7072>>2],t=o[v+7152>>2],s=n-t|0,m=o[v+7076>>2]-(o[v+7156>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7064>>2],t=o[v+7144>>2],l=n-t|0,f=o[v+7068>>2]-(o[v+7148>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7056>>2],t=o[v+7136>>2],c=n-t|0,a=o[v+7060>>2]-(o[v+7140>>2]+(t>>>0>n>>>0)|0)|0,i=o[v+7088>>2],n=o[v+7168>>2],t=(i-n|0)-4|0,n=262143+(o[v+7092>>2]-(o[v+7172>>2]+(n>>>0>i>>>0)|0)|0)|0,u=t>>>0<4294967292?n+1|0:n,i=We(u>>>16|0,0,977,1),c=i+c|0,n=a+T|0,n=(i>>>0>c>>>0?n+1|0:n)+4194299|0,i=c-3908|0,n=i>>>0<4294963388?n+1|0:n,g=i,p=n,n=f,i=p>>>20|0,a=i,i=i+l|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,i=i-4|0,n=i>>>0<4294967292?n+1|0:n,d=i,l=n,n=m,i=l>>>20|0,a=i,i=i+s|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,i=i-4|0,n=i>>>0<4294967292?n+1|0:n,f=i,c=n,n=y,i=c>>>20|0,a=i,i=i+w|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,a=i-4|0,i=a>>>0<4294967292?n+1|0:n,m=65535&u,u=a,n=m,a=i>>>20|0,y=a,a=t+a|0,n=y>>>0>a>>>0?n+1|0:n,a|u|d|g|f|n|1048575&(l|p|c|i)&&(t=0,n=-1!=(d&(976^g)&f&u&a)?1:1048575!=(l&(1^p)&c&i&(983040^n)),n)||(t=e+48|0,f=o[t>>2],u=o[t+4>>2],i=o[e+44>>2],t=e+72|0,d=o[t>>2],t=o[t+4>>2],y=t,n=o[e+40>>2],t=We(t>>>16|0,0,977,1),c=n+t|0,n=i+T|0,m=t>>>0>c>>>0?n+1|0:n,n=u,t=m>>>20|0,u=t+f|0,t=t>>>0>u>>>0?n+1|0:n,g=1048575&t,n=e- -64|0,p=o[n>>2],l=o[n+4>>2],n=e+56|0,a=o[n>>2],n=o[n+4>>2],f=t>>>20|0,i=a+f|0,f=f>>>0>i>>>0?n+1|0:n,n=l,a=f>>>20|0,l=a,a=a+p|0,n=l>>>0>a>>>0?n+1|0:n,p=1048575&n,l=1048575&f,s=-1==(i&u&a)&1048575==(t&l&n),t=n,n=65535&y,t=t>>>20|0,f=t+d|0,n=t>>>0>f>>>0?n+1|0:n,d=n,m&=1048575,s&-1==(0|f)&65535==(0|n)&(1048574==(0|m)&c>>>0>4294966318|m>>>0>1048574)|n>>>16&&(n=m+1|0,c=c+977|0,n=c>>>0<977?n+1|0:n,m=1048575&n,t=n,n=g,t=t>>>20|0,u=t+u|0,n=t>>>0>u>>>0?n+1|0:n,g=1048575&n,t=n,n=l,t=t>>>20|0,i=t+i|0,n=t>>>0>i>>>0?n+1|0:n,l=1048575&n,t=n,n=p,t=t>>>20|0,a=t+a|0,n=t>>>0>a>>>0?n+1|0:n,p=1048575&n,t=n,n=d,y=f,f=(t>>>20|0)+f|0,d=65535&(y>>>0>f>>>0?n+1:n)),o[e+72>>2]=f,o[e+76>>2]=d,o[e+64>>2]=a,o[e+68>>2]=p,o[e+56>>2]=i,o[e+60>>2]=l,o[e+48>>2]=u,o[e+52>>2]=g,o[e+40>>2]=c,o[e+44>>2]=m,t=1,(1&c)!=(0|r)&&(o[e+72>>2]=-4-f,o[e+76>>2]=262143-((f>>>0>4294967292)+d|0),o[e+64>>2]=-4-a,o[e+68>>2]=4194303-((a>>>0>4294967292)+p|0),o[e+56>>2]=-4-i,o[e+60>>2]=4194303-((i>>>0>4294967292)+l|0),o[e+48>>2]=-4-u,o[e+52>>2]=4194303-((u>>>0>4294967292)+g|0),o[e+40>>2]=-3908-c,o[e+44>>2]=4194299-((c>>>0>4294963388)+m|0))),h=v+7616|0,t}function ue(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0,q=0,W=0,K=0,X=0,Z=0,Y=0,Q=0,J=0,ee=0,te=0,re=0,ne=0,oe=0,ie=0,ae=0,se=0,ce=0,ue=0,le=0,de=0,fe=0;n=h-496|0,h=n,_=n- -64|0,R=o[r+24>>2],M=o[r+28>>2],B=o[t>>2],L=o[t+4>>2],Ve(_,R,M,0,0,B,L,0,0),A=n+208|0,D=o[r+16>>2],F=o[r+20>>2],j=o[t+8>>2],U=o[t+12>>2],Ve(A,D,F,0,0,j,U,0,0),v=n+320|0,$=o[r+8>>2],z=o[r+12>>2],H=o[t+16>>2],V=o[t+20>>2],Ve(v,$,z,0,0,H,V,0,0),d=n+400|0,G=o[r>>2],q=o[r+4>>2],W=o[t+24>>2],K=o[t+28>>2],Ve(d,G,q,0,0,W,K,0,0),i=n+480|0,X=o[r+32>>2],Z=o[r+36>>2],Y=o[t+32>>2],x=o[t+36>>2],Ve(i,X,Z,0,0,Y,x,0,0),l=n+464|0,Ve(l,o[n+480>>2],o[n+484>>2],0,0,15632,16,0,0),E=n+80|0,Ve(E,X,Z,0,0,B,L,0,0),Q=n+144|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0:t,t=d,i=f>>>20|0,d=i,i=n+i|0,d=d>>>0>i>>>0?t+1|0:t,t=v,n=d>>>20|0,y=n,n=n+u|0,v=y>>>0>n>>>0?t+1|0:t,t=m,u=v>>>20|0,m=u,u=u+_|0,_=m>>>0>u>>>0?t+1|0:t,I=1048575&d,t=1048575&f,y=t,m=i,f=n,x=1048575&v,n=-1==(i&n&u)&1048575==(x&d&_),t=65535&C,i=_>>>20|0,d=i,i=i+A|0,t=d>>>0>i>>>0?t+1|0:t,A=i,d=t,i=We(n&-1==(0|i)&65535==(0|t)&(1048574==(0|y)&a>>>0>4294966318|y>>>0>1048574)|t>>>16,0,977,1),a=i+a|0,t=y+T|0,n=i>>>0>a>>>0?t+1|0:t,t=I,i=n>>>20|0,v=i+m|0,i=i>>>0>v>>>0?t+1|0:t,r[0|e]=a,r[e+1|0]=a>>>8,r[e+2|0]=a>>>16,r[e+3|0]=a>>>24,t=1048575&n|v<<20,r[e+4|0]=t,r[e+5|0]=t>>>8,r[e+6|0]=t>>>16,r[e+7|0]=t>>>24,m=g,y=65535&s,g=h,h=c,n=We(s>>>16|0,0,977,1),a=n+E|0,t=S+T|0,E=n>>>0>a>>>0?t+1|0:t,t=p,n=E>>>20|0,s=n,n=n+w|0,c=s>>>0>n>>>0?t+1|0:t,t=b,s=c>>>20|0,h=s+h|0,p=s>>>0>h>>>0?t+1|0:t,t=l,s=p>>>20|0,l=s,s=s+g|0,b=l>>>0>s>>>0?t+1|0:t,t=y,l=b>>>20|0,g=l,l=l+m|0,t=g>>>0>l>>>0?t+1|0:t,w=l,l=t,S=1048575&c,t=1048575&E,y=a,g=n,m=1048575&p,a=We(-1==(h&n&s)&1048575==(m&c&b)&-1==(0|w)&65535==(0|l)&(1048574==(0|t)&a>>>0>4294966318|t>>>0>1048574)|l>>>16,0,977,1),n=y+a|0,t=t+T|0,c=n>>>0>>0?t+1|0:t,t=S,a=c>>>20|0,p=a+g|0,a=a>>>0>p>>>0?t+1|0:t,r[e+32|0]=n,r[e+33|0]=n>>>8,r[e+34|0]=n>>>16,r[e+35|0]=n>>>24,t=1048575&c|p<<20,r[e+36|0]=t,r[e+37|0]=t>>>8,r[e+38|0]=t>>>16,r[e+39|0]=t>>>24,c=(4095&i)<<20|v>>>12,g=i>>>12&255,t=x,n=(i>>>20|0)+f|0,i=n>>>0>>0?t+1|0:t,f=n,t=n<<8,n=e,r[n+8|0]=c,r[n+9|0]=c>>>8,r[n+10|0]=c>>>16,r[n+11|0]=c>>>24,t|=g,r[n+12|0]=t,r[n+13|0]=t>>>8,r[n+14|0]=t>>>16,r[n+15|0]=t>>>24,c=(4095&a)<<20|p>>>12,p=a>>>12&255,t=m,n=(a>>>20|0)+h|0,a=n>>>0>>0?t+1|0:t,h=n,t=n<<8,n=e,r[n+40|0]=c,r[n+41|0]=c>>>8,r[n+42|0]=c>>>16,r[n+43|0]=c>>>24,t|=p,r[n+44|0]=t,r[n+45|0]=t>>>8,r[n+46|0]=t>>>16,r[n+47|0]=t>>>24,f=268435455&((16777215&i)<<8|f>>>24),t=1048575&_,i=i>>>20|0,n=i+u|0,i=i>>>0>n>>>0?t+1|0:t,t=i<<28|n>>>4,u=n<<28,n=e,u|=f,r[n+16|0]=u,r[n+17|0]=u>>>8,r[n+18|0]=u>>>16,r[n+19|0]=u>>>24,r[n+20|0]=t,r[n+21|0]=t>>>8,r[n+22|0]=t>>>16,r[n+23|0]=t>>>24,u=268435455&((16777215&a)<<8|h>>>24),t=1048575&b,a=a>>>20|0,n=a+s|0,a=a>>>0>n>>>0?t+1|0:t,t=a<<28|n>>>4,s=n<<28,n=e,s|=u,r[n+48|0]=s,r[n+49|0]=s>>>8,r[n+50|0]=s>>>16,r[n+51|0]=s>>>24,r[n+52|0]=t,r[n+53|0]=t>>>8,r[n+54|0]=t>>>16,r[n+55|0]=t>>>24,n=i>>>4&65535,t=d,i=(i>>>20|0)+A|0,t=(i>>>0>>0?t+1:t)<<16|i>>>16,s=i<<16,i=e,n|=s,r[i+24|0]=n,r[i+25|0]=n>>>8,r[i+26|0]=n>>>16,r[i+27|0]=n>>>24,r[i+28|0]=t,r[i+29|0]=t>>>8,r[i+30|0]=t>>>16,r[i+31|0]=t>>>24,n=a>>>4&65535,t=l,i=(a>>>20|0)+w|0,t=(i>>>0>>0?t+1:t)<<16|i>>>16,i=i<<16|n,r[e+56|0]=i,r[e+57|0]=i>>>8,r[e+58|0]=i>>>16,r[e+59|0]=i>>>24,r[e+60|0]=t,r[e+61|0]=t>>>8,r[e+62|0]=t>>>16,r[e+63|0]=t>>>24}function de(e,t,n,a){var s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0;return d=h-96|0,h=d,t?(c=o[t>>2],P=256&a,c>>>0<(P?33:65)>>>0?Xe[o[e+168>>2]](690157,o[e+172>>2]):(o[t>>2]=0,x=He(690820,c),n?2==(255&a)?(o[d+88>>2]=0,a=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,u=a,c=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,l=1048575&(a<<12|c>>>20),f=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,s=f,c=c<<12&-4096|s>>>20,S=l,l=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,m=l,a=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,f=a,g=1048575&(a<<24|l>>>8),w=l<<24&-16777216|u>>>8,C=g,p=g,l=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,a=l>>>16|0,u=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,l=(65535&l)<<16|u>>>16,_=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,b=w|l|_|c,I=a,E=1048575&s,s=p|a|E|S,p=u<<4&1048560,u=f,a=u>>>28|0,g=(268435455&u)<<4|m>>>28,f=b|g,b=a|p,f|s|b?(u=i[n+52|0]|i[n+53|0]<<8|i[n+54|0]<<16|i[n+55|0]<<24,a=u>>>28|0,e=i[n+48|0]|i[n+49|0]<<8|i[n+50|0]<<16|i[n+51|0]<<24,f=(268435455&u)<<4|e>>>28,m=a,a=i[n+56|0]|i[n+57|0]<<8|i[n+58|0]<<16|i[n+59|0]<<24,k=a,y=i[n+60|0]|i[n+61|0]<<8|i[n+62|0]<<16|i[n+63|0]<<24,N=a<<4&1048560,s=i[n+40|0]|i[n+41|0]<<8|i[n+42|0]<<16|i[n+43|0]<<24,p=i[n+44|0]|i[n+45|0]<<8|i[n+46|0]<<16|i[n+47|0]<<24,A=p>>>8|0,a=u<<24|e>>>8,R=e<<24&-16777216,M=1048575&a,u=i[n+32|0]|i[n+33|0]<<8|i[n+34|0]<<16|i[n+35|0]<<24,e=i[n+36|0]|i[n+37|0]<<8|i[n+38|0]<<16|i[n+39|0]<<24,v=e,n=e>>>20|0,e=s,a=p<<12|e>>>20,p=e<<12&-4096,O=1048575&a,T=1048575&v,1048574==(0|E)&_>>>0<4294966319|E>>>0<1048574||-1!=(c&w&g)|1048575!=(S&C&b)||-1!=(0|l)|65535!=(0|I)||(e=E+1|0,_=_+977|0,e=_>>>0<977?e+1|0:e,E=1048575&e,s=e>>>20|0,e=S,c=s+c|0,e=c>>>0>>0?e+1|0:e,S=1048575&e,a=C,e=e>>>20|0,w=e+w|0,a=e>>>0>w>>>0?a+1|0:a,C=1048575&a,s=a>>>20|0,e=b,g=s+g|0,e=g>>>0>>0?e+1|0:e,b=1048575&e,s=e>>>20|0,e=I,a=l,l=s+l|0,I=65535&(a>>>0>l>>>0?e+1:e)),s=f,v=m|N,m=A|R,A=M,p|=n,e=y,a=e>>>16|0,f=(65535&e)<<16|k>>>16,y=a,n=d,o[n+40>>2]=l,o[n+44>>2]=I,o[n+32>>2]=g,o[n+36>>2]=b,o[n+24>>2]=w,o[n+28>>2]=C,o[n+16>>2]=c,o[n+20>>2]=S,o[n+8>>2]=_,o[n+12>>2]=E,1048574==(0|T)&u>>>0<4294966319|T>>>0<1048574||-1!=(p&m&s)|1048575!=(O&A&v)||-1!=(0|f)|65535!=(0|y)||(a=T+1|0,u=u+977|0,a=u>>>0<977?a+1|0:a,T=1048575&a,e=O,a=a>>>20|0,p=a+p|0,e=a>>>0>p>>>0?e+1|0:e,O=1048575&e,c=e>>>20|0,a=A,m=c+m|0,a=m>>>0>>0?a+1|0:a,A=1048575&a,c=a>>>20|0,a=v,s=s+c|0,a=s>>>0>>0?a+1|0:a,v=1048575&a,e=y,y=f,f=(a>>>20|0)+f|0,y=65535&(y>>>0>f>>>0?e+1:e)),o[n+80>>2]=f,o[d+84>>2]=y,o[d+72>>2]=s,o[d+76>>2]=v,o[d+64>>2]=m,o[d+68>>2]=A,o[d+56>>2]=p,o[d+60>>2]=O,o[d+48>>2]=u,o[d+52>>2]=T,fe(x+1|0,d+8|0),P?(r[0|x]=1&u?3:2,e=33):(r[0|x]=4,fe(x+33|0,d+48|0),e=65),o[t>>2]=e,v=1):Xe[o[e+168>>2]](690116,o[e+172>>2])):Xe[o[e+168>>2]](689499,o[e+172>>2]):Xe[o[e+168>>2]](689638,o[e+172>>2]))):Xe[o[e+168>>2]](689730,o[e+172>>2]),h=d+96|0,v}function fe(e,t){r[0|e]=o[t+36>>2]>>>8,r[e+1|0]=o[t+36>>2],r[e+2|0]=(16777215&o[t+36>>2])<<8|o[t+32>>2]>>>24,r[e+3|0]=(65535&o[t+36>>2])<<16|o[t+32>>2]>>>16,r[e+4|0]=(255&o[t+36>>2])<<24|o[t+32>>2]>>>8,r[e+5|0]=o[t+32>>2],r[e+6|0]=o[t+28>>2]>>>12,r[e+7|0]=o[t+28>>2]>>>4,r[e+8|0]=(268435455&o[t+28>>2])<<4|o[t+24>>2]>>>28,r[e+9|0]=(1048575&o[t+28>>2])<<12|o[t+24>>2]>>>20,r[e+10|0]=(4095&o[t+28>>2])<<20|o[t+24>>2]>>>12,r[e+11|0]=(15&o[t+28>>2])<<28|o[t+24>>2]>>>4,r[e+12|0]=15&a[t+22>>1]|o[t+24>>2]<<4,r[e+13|0]=o[t+20>>2]>>>8,r[e+14|0]=o[t+20>>2],r[e+15|0]=(16777215&o[t+20>>2])<<8|o[t+16>>2]>>>24,r[e+16|0]=(65535&o[t+20>>2])<<16|o[t+16>>2]>>>16,r[e+17|0]=(255&o[t+20>>2])<<24|o[t+16>>2]>>>8,r[e+18|0]=o[t+16>>2],r[e+19|0]=o[t+12>>2]>>>12,r[e+20|0]=o[t+12>>2]>>>4,r[e+21|0]=(268435455&o[t+12>>2])<<4|o[t+8>>2]>>>28,r[e+22|0]=(1048575&o[t+12>>2])<<12|o[t+8>>2]>>>20,r[e+23|0]=(4095&o[t+12>>2])<<20|o[t+8>>2]>>>12,r[e+24|0]=(15&o[t+12>>2])<<28|o[t+8>>2]>>>4,r[e+25|0]=15&a[t+6>>1]|o[t+8>>2]<<4,r[e+26|0]=o[t+4>>2]>>>8,r[e+27|0]=o[t+4>>2],r[e+28|0]=(16777215&o[t+4>>2])<<8|o[t>>2]>>>24,r[e+29|0]=(65535&o[t+4>>2])<<16|o[t>>2]>>>16,r[e+30|0]=(255&o[t+4>>2])<<24|o[t>>2]>>>8,r[e+31|0]=o[t>>2]}function he(e,t,r){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,m=0,g=0,y=0;c=e,n=t,t=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,s=t<<8&16711680,p=t<<24|s,a=t>>>8|0,e=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,s=65280&(a|e<<24),t=t>>>24|0,s=p|s|255&(t|e<<8),a=16711680&(t|(16777215&e)<<8)|-16777216&(a|(255&e)<<24),l=e>>>8&65280|e>>>24|a,o[c>>2]=l,o[c+4>>2]=s,t=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,u=t<<8&16711680|t<<24,e=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,a=65280&(e<<24|t>>>8),p=u|a|255&(e<<8|t>>>24),a=-16777216&((255&e)<<24|t>>>8),u=a|16711680&((16777215&e)<<8|t>>>24),y=e>>>8&65280|e>>>24|u,o[c+8>>2]=y,d=p,o[c+12>>2]=d,t=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,u=t<<8&16711680,m=t<<24|u,e=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,u=65280&(e<<24|t>>>8),u=m|u|255&(e<<8|t>>>24),a=-16777216&((255&e)<<24|t>>>8),a|=16711680&((16777215&e)<<8|t>>>24),g=e>>>8&65280|e>>>24|a,o[c+16>>2]=g,m=u,o[c+20>>2]=u,e=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,t=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,u=t<<8&16711680|t<<24,p=u|255&(e<<8|t>>>24)|65280&(e<<24|t>>>8),n=-16777216&((255&e)<<24|t>>>8),f=n|16711680&((16777215&e)<<8|t>>>24),u=e>>>8&65280,t=e>>>24|0,e=p,n=-1==(0|m),u=t|u|f,t=n&g>>>0<4294967294|-1!=(0|m)|-1!=(e&u),a=-1162945306==(0|d),e=~(t|a&y>>>0<2940772411|d>>>0<3132021990),f=e&(-1076732276==(0|s)&l>>>0>3493216576|s>>>0>3218235020)|e&(a&y>>>0>2940772411|d>>>0>3132021990)|-1==(0|g)&n&~t,h=We(f,0,801750719,1076732275),a=T,n=a+s|0,e=l+h|0,n=e>>>0>>0?n+1|0:n,o[c>>2]=e,o[c+4>>2]=n,t=c,n=(0|n)==(0|a)&e>>>0>>0|n>>>0>>0,h=We(f,0,1354194884,1162945305),s=T,l=s+d|0,c=h+y|0,e=c>>>0>>0?l+1|0:l,n=n+c|0,a=n>>>0>>0?e+1|0:e,o[t+8>>2]=n,o[t+12>>2]=a,d=(0|e)==(0|s)&c>>>0>>0|e>>>0>>0,e=(0|e)==(0|a)&n>>>0>>0|e>>>0>a>>>0,s=d+e|0,a=m,n=e>>>0>s>>>0,c=f+g|0,e=c>>>0>>0?a+1|0:a,l=n+e|0,a=c,s=a+s|0,l=a>>>0>s>>>0?l+1|0:l,o[t+16>>2]=s,o[t+20>>2]=l,n=t,c=u,t=!e&a>>>0>>0,e=(0|e)==(0|l)&a>>>0>s>>>0|e>>>0>l>>>0,s=t+e|0,t=(e>>>0>s>>>0)+p|0,e=s+c|0,t=e>>>0>>0?t+1|0:t,o[n+24>>2]=e,o[n+28>>2]=t,r&&(o[r>>2]=f)}function pe(e,t){r[0|e]=i[t+31|0],r[e+1|0]=a[t+30>>1],r[e+2|0]=o[t+28>>2]>>>8,r[e+3|0]=o[t+28>>2],r[e+4|0]=(16777215&o[t+28>>2])<<8|o[t+24>>2]>>>24,r[e+5|0]=(65535&o[t+28>>2])<<16|o[t+24>>2]>>>16,r[e+6|0]=(255&o[t+28>>2])<<24|o[t+24>>2]>>>8,r[e+7|0]=o[t+24>>2],r[e+8|0]=i[t+23|0],r[e+9|0]=a[t+22>>1],r[e+10|0]=o[t+20>>2]>>>8,r[e+11|0]=o[t+20>>2],r[e+12|0]=(16777215&o[t+20>>2])<<8|o[t+16>>2]>>>24,r[e+13|0]=(65535&o[t+20>>2])<<16|o[t+16>>2]>>>16,r[e+14|0]=(255&o[t+20>>2])<<24|o[t+16>>2]>>>8,r[e+15|0]=o[t+16>>2],r[e+16|0]=i[t+15|0],r[e+17|0]=a[t+14>>1],r[e+18|0]=o[t+12>>2]>>>8,r[e+19|0]=o[t+12>>2],r[e+20|0]=(16777215&o[t+12>>2])<<8|o[t+8>>2]>>>24,r[e+21|0]=(65535&o[t+12>>2])<<16|o[t+8>>2]>>>16,r[e+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|0,v=o[r>>2],E=o[r+4>>2],f=(0|d)==(0|F)&f>>>0>>0|d>>>0>>0,r=H+8|0,d=o[r>>2]+y|0,r=o[r+4>>2]+b|0,r=d>>>0>>0?r+1|0:r,b=d,d=d+f|0,r=(b>>>0>d>>>0?r+1|0:r)+E|0,f=d,d=d+v|0,r=f>>>0>d>>>0?r+1|0:r,f=d,d=d+p|0,f=f>>>0>d>>>0?r+1|0:r,r=f>>31,y=f>>30,b=r,l=l<<2|i>>>30,i=i<<2|n>>>30,n=l,f=f<<2|d>>>30,d=d<<2|c>>>30,l=f,f=m,p=w,P=P-1|0,!P)break}u=C-1|0,r=u<<3,a=r+(s+160|0)|0,o[a>>2]=d,o[a+4>>2]=l,r=(s+200|0)+r|0,o[r>>2]=i,o[r+4>>2]=n;e:{if(!(o[s+164>>2]|o[s+160>>2])){if($)break e;if(f=3&u,C-2>>>0<3)c=0,a=0,r=1;else{r=-4&u,P=0,c=0,a=0,p=R;while(1)if(g=p-8|0,m=p-16|0,A=p-24|0,c=o[p>>2]|o[g>>2]|o[m>>2]|o[A>>2]|c,a=o[p+4>>2]|o[g+4>>2]|o[m+4>>2]|o[A+4>>2]|a,p=p+32|0,P=P+4|0,(0|r)==(0|P))break;r=P+1|0}if(f){p=(s+160|0)+(r<<3)|0;while(1)if(c=o[p>>2]|c,a=o[p+4>>2]|a,p=p+8|0,f=f-1|0,!f)break}if(!(a|c))break e}if(r=l>>31,a=r^d,c=r^l,r=(C>>31)-(C>>>0<2)>>31,a|=r,c|=r,r=n>>31,a|r^i|c|r^n)continue;c=(C<<3)-16|0,r=c+(s+200|0)|0,g=o[r+4>>2],o[r>>2]=o[r>>2],o[r+4>>2]=i<<30|g,r=(s+160|0)+c|0,a=o[r+4>>2],o[r>>2]=o[r>>2],o[r+4>>2]=d<<30|a,C=u;continue}break}r=n>>31,n=r,f=s+280|0,r=f+32|0,u=o[r>>2],r=o[r+4>>2],g=r,r>>=31,i=r,l=o[t>>2],m=r&l,a=m+o[s+280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]=i,e=r,r&=1073741823,o[f+4>>2]=r,a=c+8|0,o[a>>2]=i,o[a+4>>2]=r,r=(n&_)+(1073741823&y)|0,i=(n&C)+u|0,r=(e>>31)+(i>>>0>>0?r+1|0:r)|0,e>>=30,u=e,e=e+i|0,r=u>>>0>e>>>0?r+1|0:r,i=e,o[d>>2]=i,e=r,r&=1073741823,o[d+4>>2]=r,a=c+16|0,o[a>>2]=i,o[a+4>>2]=r,r=(n&O)+(1073741823&b)|0,i=(n&k)+g|0,r=(e>>31)+(i>>>0>>0?r+1|0:r)|0,e>>=30,u=e,e=e+i|0,r=u>>>0>e>>>0?r+1|0:r,i=e,o[l>>2]=i,e=r,r&=1073741823,o[l+4>>2]=r,a=c+24|0,o[a>>2]=i,o[a+4>>2]=r,a=c+32|0,r=(n&E)+S|0,n=(n&v)+m|0,r=(e>>31)+(n>>>0>>0?r+1|0:r)|0,e>>=30,i=e,e=e+n|0,r=i>>>0>e>>>0?r+1|0:r,o[a>>2]=e,o[a+4>>2]=r,o[s+280>>2]=t,o[s+284>>2]=p,h=s+320|0}function ge(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0;a=h-288|0,h=a,$e(a+224|0,t,r),n=a+208|0,S=o[a+256>>2],b=o[a+260>>2],Ve(n,S,b,0,0,801750719,1076732275,0,0),w=a+176|0,N=o[a+264>>2],C=o[a+268>>2],Ve(w,N,C,0,0,801750719,1076732275,0,0),f=a+192|0,Ve(f,S,b,0,0,1354194884,1162945305,0,0),A=a+144|0,R=o[a+272>>2],O=o[a+276>>2],Ve(A,R,O,0,0,801750719,1076732275,0,0),v=a+160|0,Ve(v,N,C,0,0,1354194884,1162945305,0,0),P=a+112|0,x=o[a+280>>2],k=o[a+284>>2],Ve(P,x,k,0,0,801750719,1076732275,0,0),I=a+128|0,Ve(I,R,O,0,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>>>0>>0|r>>>0>>0,t=a+8|0,s=r+o[t>>2]|0,t=o[t+4>>2],t=r>>>0>s>>>0?t+1|0:t,c=n+s|0,s=c>>>0>>0?t+1|0:t,t=d+y|0,n=f+g|0,r=n>>>0>>0?t+1|0:t,t=r+s|0,v=(0|r)==(0|y)&n>>>0>>0|r>>>0>>0,d=n,c=n+c|0,n=c>>>0>>0?t+1|0:t,t=d,d=c,s=(0|r)==(0|n)&t>>>0>c>>>0|r>>>0>n>>>0,r=v+s|0,s=r>>>0>>0,t=l+s|0,l=r+w|0,t=l>>>0>>0?t+1|0:t,w=-1==(0|n),c=t,f=w&d>>>0<4294967294|-1!=(0|n)|-1!=(t&l),g=-1162945306==(0|p),t=~(f|g&m>>>0<2940772411|p>>>0<3132021990),f=(t&(-1076732276==(0|u)&i>>>0>3493216576|u>>>0>3218235020)|t&(g&m>>>0>2940772411|p>>>0>3132021990)|-1==(0|d)&w&~f)+((0|s)==(0|c)&r>>>0>l>>>0|s>>>0>c>>>0)|0,r=We(f,0,801750719,1076732275),s=r+i|0,t=u+T|0,o[e>>2]=s,t=r>>>0>s>>>0?t+1|0:t,o[e+4>>2]=t,r=e,u=(0|t)==(0|u)&i>>>0>s>>>0|t>>>0>>0,e=We(f,0,1354194884,1162945305),i=e+m|0,t=p+T|0,t=e>>>0>i>>>0?t+1|0:t,e=t,u=i+u|0,t=u>>>0>>0?t+1|0:t,o[r+8>>2]=u,o[r+12>>2]=t,v=(0|e)==(0|p)&i>>>0>>0|e>>>0

>>0,e=(0|e)==(0|t)&i>>>0>u>>>0|e>>>0>t>>>0,s=v+e|0,u=e>>>0>s>>>0,t=n,i=d+f|0,e=i>>>0>>0?t+1|0:t,t=e+u|0,u=i+s|0,t=u>>>0>>0?t+1|0:t,o[r+16>>2]=u,o[r+20>>2]=t,n=(0|e)==(0|n)&i>>>0>>0|e>>>0>>0,e=(0|e)==(0|t)&i>>>0>u>>>0|e>>>0>t>>>0,i=n+e|0,t=c+(e>>>0>i>>>0)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,a=o[a+120>>2],l=c+a|0,i=o[_+124>>2],o[_+8>>2]=l,i=a>>>0>l>>>0?i+1|0:i,o[_+12>>2]=i,o[_+16>>2]=!i&c>>>0>l>>>0,o[_+20>>2]=0,i=_+32|0,ge(i,i,690576),ge(_,_,690608),l=o[_>>2],c=o[_+32>>2],a=l+c|0,u=o[_+4>>2],i=u+o[_+36>>2]|0,E=a>>>0>>0?i+1|0:i,m=a,g=(0|u)==(0|E)&a>>>0>>0|u>>>0>E>>>0,a=o[_+40>>2],l=g+a|0,i=o[_+44>>2],u=o[_+8>>2],c=u+l|0,a=a>>>0>l>>>0?i+1|0:i,i=a+o[_+12>>2]|0,d=!a&l>>>0>>0,w=c>>>0>>0?i+1|0:i,b=c,a=(0|a)==(0|w)&l>>>0>c>>>0|a>>>0>w>>>0,c=d+a|0,d=a>>>0>c>>>0,i=d+o[_+52>>2]|0,a=o[_+48>>2],g=a+c|0,u=o[_+16>>2],l=g+u|0,a=a>>>0>g>>>0?i+1|0:i,i=a+o[_+20>>2]|0,c=(0|a)==(0|d)&c>>>0>g>>>0|a>>>0>>0,u=u>>>0>l>>>0?i+1|0:i,A=l,a=(0|a)==(0|u)&g>>>0>l>>>0|a>>>0>u>>>0,c=c+a|0,g=a>>>0>c>>>0,i=g+o[_+60>>2]|0,a=o[_+56>>2],l=a+c|0,d=o[_+24>>2],y=l+d|0,a=a>>>0>l>>>0?i+1|0:i,i=a+o[_+28>>2]|0,v=d>>>0>y>>>0?i+1|0:i,d=((0|a)==(0|g)&c>>>0>l>>>0|a>>>0>>0)+((0|a)==(0|v)&l>>>0>y>>>0|a>>>0>v>>>0)|0,c=-1==(0|u),a=c&A>>>0<4294967294|-1!=(0|u)|-1!=(y&v),l=-1162945306==(0|w),i=~(a|l&b>>>0<2940772411|w>>>0<3132021990),C=d+(i&(-1076732276==(0|E)&m>>>0>3493216576|E>>>0>3218235020)|i&(l&b>>>0>2940772411|w>>>0>3132021990)|-1==(0|A)&c&~a)|0,c=We(C,0,801750719,1076732275),a=c+m|0,i=E+T|0,d=f+3720|0,o[d>>2]=a,g=a>>>0>>0?i+1|0:i,o[d+4>>2]=g,l=d,c=We(C,0,1354194884,1162945305),p=c+b|0,i=w+T|0,a=(0|g)==(0|E)&a>>>0>>0|g>>>0>>0,d=p+a|0,i=c>>>0>p>>>0?i+1|0:i,c=i,o[l+8>>2]=d,m=a>>>0>d>>>0?i+1|0:i,o[l+12>>2]=m,i=u,g=A+C|0,a=g>>>0>>0?i+1|0:i,i=(0|c)==(0|w)&p>>>0>>0|c>>>0>>0,c=(0|c)==(0|m)&d>>>0

>>0|c>>>0>m>>>0,d=i+c|0,i=(c>>>0>d>>>0)+a|0,c=d+g|0,i=c>>>0>>0?i+1|0:i,o[l+16>>2]=c,o[l+20>>2]=i,b=l,u=(0|a)==(0|u)&g>>>0>>0|a>>>0>>0,a=(0|i)==(0|a)&c>>>0>>0|i>>>0>>0,c=u+a|0,i=v+(a>>>0>c>>>0)|0,a=c+y|0,i=a>>>0>>0?i+1|0:i,o[l+24>>2]=a,o[l+28>>2]=i,l=f+2560|0,ge(l,b,690704),I=o[l+24>>2],y=o[l+16>>2],g=o[l+8>>2],a=o[l>>2],m=o[l+28>>2],d=o[l+20>>2],p=o[l+12>>2],u=o[l+4>>2],i=I|y|g|a|m|d|p|u?-1:0,A=~a,c=A-801750718|0,C=i&c,o[l>>2]=C,a=i,u=~u,i=u-((A>>>0<801750718)+1076732275|0)|0,v=a&i,o[l+4>>2]=v,c=(0|i)==(0|u)&c>>>0>>0|i>>>0>>0,g=~g,E=c+g|0,A=~p,i=A,u=E-1354194885|0,w=u&a,o[l+8>>2]=w,i=c>>>0>E>>>0?i+1|0:i,p=i-((E>>>0<1354194885)+1162945305|0)|0,c=p&a,o[l+12>>2]=c,u=(0|i)==(0|p)&u>>>0>>0|i>>>0>p>>>0,g=u+((0|i)==(0|A)&g>>>0>E>>>0|i>>>0>>0)|0,A=~y,M=A+g|0,y=~d,i=y+(u>>>0>g>>>0)|0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y>>>0<2940772411|w>>>0<3132021990),C=g+(r&(-1076732276==(0|A)&v>>>0>3493216576|A>>>0>3218235020)|r&(l&y>>>0>2940772411|w>>>0>3132021990)|-1==(0|E)&a&~i)|0,a=We(C,0,801750719,1076732275),r=a+v|0,i=A+T|0,o[c>>2]=r,l=r>>>0>>0?i+1|0:i,o[c+4>>2]=l,a=We(C,0,1354194884,1162945305),m=a+y|0,i=w+T|0,r=(0|l)==(0|A)&r>>>0>>0|l>>>0>>0,g=m+r|0,i=a>>>0>m>>>0?i+1|0:i,a=i,o[c+8>>2]=g,v=r>>>0>g>>>0?i+1|0:i,o[c+12>>2]=v,i=u,l=E+C|0,r=l>>>0>>0?i+1|0:i,i=(0|a)==(0|w)&y>>>0>m>>>0|a>>>0>>0,a=(0|a)==(0|v)&m>>>0>g>>>0|a>>>0>v>>>0,g=i+a|0,i=(a>>>0>g>>>0)+r|0,a=l+g|0,i=a>>>0>>0?i+1|0:i,o[c+16>>2]=a,o[c+20>>2]=i,u=(0|r)==(0|u)&l>>>0>>0|r>>>0>>0,r=(0|r)==(0|i)&a>>>0>>0|r>>>0>i>>>0,a=u+r|0,i=d+(r>>>0>a>>>0)|0,r=a+p|0,i=r>>>0

>>0?i+1|0:i,o[c+24>>2]=r,o[c+28>>2]=i,h=_+128|0,pe=f,me=De(f+496|0,c,5),o[pe+1528>>2]=me,he=De(f+1012|0,b,5),o[f+1532>>2]=he,re=o[f+1528>>2],H=f+3088|0,Ge(H,t,128),r=f+1536|0,Z=f+2240|0,te=f+3680|0,m=0,v=0,p=0,u=0,w=h-720|0,h=w,o[H+120>>2]?(o[w+672>>2]=1,He(w+552|0,120),l=0,c=0):(Pe(w+552|0,H),t=w+664|0,p=o[t>>2],u=o[t+4>>2],t=w+648|0,x=o[t>>2],S=o[t+4>>2],t=w+640|0,k=o[t>>2],P=o[t+4>>2],m=o[w+632>>2],v=o[w+636>>2],t=w+656|0,l=o[t>>2],c=o[t+4>>2]),L=w+552|0,a=L+8|0,i=o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+4>>2],t=r+200|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+208|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+216|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+224|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+232|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+240|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+248|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,X,Z+120|0),o[r+344>>2]=0,t=o[u+428>>2],o[r+264>>2]=o[u+424>>2],o[r+268>>2]=t,i=o[A+4>>2],t=r+272|0,o[t>>2]=o[A>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+280|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+288|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+296|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+304|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+312|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+320|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+328|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+336|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,X,Z+160|0),o[r+432>>2]=0,t=o[u+428>>2],o[r+352>>2]=o[u+424>>2],o[r+356>>2]=t,i=o[A+4>>2],t=r+360|0,o[t>>2]=o[A>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+368|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+376|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+384|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+392|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+400|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+408|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+416|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+424|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,X,Z+200|0),o[r+520>>2]=0,t=o[u+428>>2],o[r+440>>2]=o[u+424>>2],o[r+444>>2]=t,i=o[A+4>>2],t=r+448|0,o[t>>2]=o[A>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+456|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+464|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+472|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+480|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+488|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+496|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+504|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+512|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,C=Z+240|0,Ue(E,E,X,C),o[r+608>>2]=0,t=o[u+428>>2],o[r+528>>2]=o[u+424>>2],o[r+532>>2]=t,i=o[A+4>>2],t=r+536|0,o[t>>2]=o[A>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+544|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+552|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+560|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+568|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+576|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+584|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+592|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+600|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,c=Z+280|0,Ue(E,E,X,c),o[r+696>>2]=0,t=o[u+428>>2],o[r+616>>2]=o[u+424>>2],o[r+620>>2]=t,i=o[A+4>>2],t=r+624|0,o[t>>2]=o[A>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+632|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+640|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[b+4>>2],t=r+648|0,o[t>>2]=o[b>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+656|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+664|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[m+4>>2],t=r+672|0,o[t>>2]=o[m>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+680|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+688|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,ue(te,E+80|0,g),h=u+720|0,p=h-928|0,h=p,l=r+616|0,u=l+72|0,a=o[u>>2],g=o[l+44>>2],i=o[l+40>>2],v=o[u+4>>2],t=We(v>>>16|0,0,977,1),d=i+t|0,i=g+T|0,o[l+40>>2]=d,i=t>>>0>d>>>0?i+1|0:i,o[l+44>>2]=1048575&i,m=l+48|0,d=o[m>>2],t=i,i=o[m+4>>2],t=t>>>20|0,g=t,t=t+d|0,i=g>>>0>t>>>0?i+1|0:i,o[m>>2]=t,o[m+4>>2]=1048575&i,m=l+56|0,d=o[m>>2],t=i,i=o[m+4>>2],t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32|0,i=o[a+4>>2],F=p+680|0,t=F+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+24|0,i=o[a+4>>2],t=F+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+16|0,i=o[a+4>>2],t=F+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+8|0,i=o[a+4>>2],t=F+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,Y=L+40|0,t=o[Y+4>>2],o[H>>2]=o[Y>>2],o[H+4>>2]=t,a=L+48|0,i=o[a+4>>2],t=H+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+56|0,i=o[a+4>>2],t=H+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L- -64|0,i=o[a+4>>2],t=H+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+72|0,i=o[a+4>>2],t=H+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,t=o[L+4>>2],o[p+680>>2]=o[L>>2],o[p+684>>2]=t,o[p+800>>2]=0,t=o[p+812>>2],_=t,y=o[p+808>>2],u=y,i=t<<1|u>>>31,m=p+72|0,P=o[p+832>>2],x=o[p+836>>2],O=u<<1,M=i,Ve(m,P,x,0,0,O,i,0,0),t=o[p+820>>2],z=t,G=o[p+816>>2],a=G,i=t<<1|a>>>31,v=p+280|0,C=o[p+824>>2],S=o[p+828>>2],a<<=1,c=i,Ve(v,C,S,0,0,a,i,0,0),d=p+232|0,l=o[p+840>>2],t=o[p+844>>2],Ve(d,l,t,0,0,l,t,0,0),g=p+216|0,Ve(g,o[p+232>>2],o[p+236>>2],0,0,15632,16,0,0),i=t<<1|l>>>31,U=p+184|0,B=l<<1,I=i,Ve(U,B,i,0,0,u,_,0,0),V=p+88|0,Ve(V,P,x,0,0,a,c,0,0),D=p+264|0,Ve(D,C,S,0,0,C,S,0,0),b=p+200|0,t=d+8|0,Ve(b,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),J=p+328|0,Ve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+1|0:i,i=a+u|0,u=d+v|0,i=u>>>0>>0?i+1|0:i,o[l+912>>2]=u,t=i,o[l+916>>2]=1048575&i,v=65535&_,u=(0|i)==(0|a)&d>>>0>u>>>0|i>>>0>>0,a=(0|a)==(0|b)&d>>>0>>0|a>>>0>>0,i=P+8|0,l=a+o[i>>2]|0,i=o[i+4>>2],i=a>>>0>l>>>0?i+1|0:i,c=c>>>20|0,a=c+l|0,i=c>>>0>a>>>0?i+1|0:i,c=a,a=a+u|0,i=c>>>0>a>>>0?i+1|0:i,t=a<<12|t>>>20,c=t+g|0,i=v+(i<<12|a>>>20)|0,o[p+920>>2]=c,o[p+924>>2]=t>>>0>c>>>0?i+1|0:i,i=p+848|0,t=p+888|0,ue(i,t,ee),ue(L,F,t),ue(Y,H,i),o[L+80>>2]=0,L=L-88|0,j=j-40|0,te=te-1|0,!te)break;h=p+928|0,t=0,L=(0|re)>0?re:0;while(1)if(V=f- -64|0,ne=o[r>>2],oe=o[r+4>>2],Ve(V,ne,oe,0,0,-431719958,28934,0,0),D=f+416|0,i=r+8|0,ie=o[i>>2],ae=o[i+4>>2],Ve(D,ie,ae,0,0,-375590839,799796,0,0),R=f+336|0,i=r+16|0,se=o[i>>2],ce=o[i+4>>2],Ve(R,se,ce,0,0,1486445587,479535,0,0),P=f+256|0,i=r+24|0,le=o[i>>2],de=o[i+4>>2],Ve(P,le,de,0,0,1905590766,617512,0,0),a=f+176|0,i=r+32|0,fe=o[i>>2],X=o[i+4>>2],Ve(a,fe,X,0,0,1781228924,31465,0,0),E=f+160|0,Ve(E,-4&o[f+176>>2],o[f+180>>2],0,0,15632,16,0,0),F=f+80|0,Ve(F,ne,oe,0,0,1781228924,31465,0,0),te=f+432|0,Ve(te,ie,ae,0,0,-431719958,28934,0,0),ee=f+352|0,Ve(ee,se,ce,0,0,-375590839,799796,0,0),Y=f+272|0,Ve(Y,le,de,0,0,1486445587,479535,0,0),Q=f+192|0,Ve(Q,fe,X,0,0,1905590766,617512,0,0),N=f+144|0,i=a+8|0,Ve(N,o[i>>2],o[i+4>>2],0,0,64028672,65536,0,0),z=f+96|0,Ve(z,ne,oe,0,0,1905590766,617512,0,0),G=f+448|0,Ve(G,ie,ae,0,0,1781228924,31465,0,0),J=f+368|0,Ve(J,se,ce,0,0,-431719958,28934,0,0),$=f+288|0,Ve($,le,de,0,0,-375590839,799796,0,0),q=f+208|0,Ve(q,fe,X,0,0,1486445587,479535,0,0),K=o[f+432>>2],a=o[f+80>>2],C=K+a|0,re=o[f+436>>2],i=re+o[f+84>>2]|0,i=a>>>0>C>>>0?i+1|0:i,a=o[f+352>>2],x=a+C|0,I=i,i=i+o[f+356>>2]|0,i=a>>>0>x>>>0?i+1|0:i,a=o[f+272>>2],S=a+x|0,m=i,i=i+o[f+276>>2]|0,i=a>>>0>S>>>0?i+1|0:i,a=o[f+192>>2],A=a+S|0,v=i,i=i+o[f+196>>2]|0,i=a>>>0>A>>>0?i+1|0:i,a=o[f+144>>2],_=a+A|0,d=i,i=i+o[f+148>>2]|0,c=a>>>0>_>>>0?i+1|0:i,W=o[f+416>>2],a=o[f+64>>2],y=W+a|0,U=o[f+420>>2],i=U+o[f+68>>2]|0,i=a>>>0>y>>>0?i+1|0:i,a=o[f+336>>2],b=a+y|0,u=i,i=i+o[f+340>>2]|0,l=a>>>0>b>>>0?i+1|0:i,i=l+o[f+260>>2]|0,a=o[f+256>>2],p=a+b|0,g=o[f+160>>2],M=p+g|0,a=a>>>0>p>>>0?i+1|0:i,i=a+o[f+164>>2]|0,g=g>>>0>M>>>0?i+1|0:i,j=(0|a)==(0|g)&p>>>0>M>>>0|a>>>0>g>>>0,i=E+8|0,B=o[i>>2],k=o[i+4>>2],O=(0|a)==(0|l)&p>>>0>>0|a>>>0>>0,i=P+8|0,w=o[i>>2],P=o[i+4>>2],E=(0|u)==(0|l)&y>>>0>b>>>0|u>>>0>l>>>0,i=R+8|0,b=o[i>>2],p=o[i+4>>2],u=(0|u)==(0|U)&y>>>0>>0|u>>>0>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0>>0?i+1|0:i)+m|0,d=c,c=c+_|0,i=d>>>0>c>>>0?i+1|0:i,d=c,c=c+A|0,i=(d>>>0>c>>>0?i+1|0:i)+S|0,d=c,c=c+O|0,i=d>>>0>c>>>0?i+1|0:i,d=c,c=c+k|0,i=(d>>>0>c>>>0?i+1|0:i)+B|0,d=c,c=c+j|0,i=d>>>0>c>>>0?i+1|0:i,d=c,c=c+W|0,i=(d>>>0>c>>>0?i+1|0:i)+N|0,d=c,c=c+R|0,i=d>>>0>c>>>0?i+1|0:i,d=c+D|0,i=d>>>0>>0?i+1|0:i,l=l>>>20|0,c=d+l|0,i=l>>>0>c>>>0?i+1|0:i,l=c,c=c+V|0,l=l>>>0>c>>>0?i+1|0:i,d=l<<12|c>>>20,i=c<<12,c=b,v=i|c>>>20,b=v+y|0,i=a+d|0,m=v>>>0>b>>>0?i+1|0:i,d=b,i=m<<4|d>>>28,v=d<<4&-16,d=16777215&i,A=c,Ve(f,v|c>>>16&15,d,0,0,977,1,0,0),D=o[f+4>>2],i=D+o[f+100>>2]|0,Z=(f+2240|0)+t|0,d=Z,R=o[f>>2],c=o[f+96>>2],_=R+c|0,o[d>>2]=_,v=c>>>0>_>>>0?i+1|0:i,o[d+4>>2]=1048575&v,te=f+112|0,Ve(te,ne,oe,0,0,1486445587,479535,0,0),ee=f+464|0,Ve(ee,ie,ae,0,0,1905590766,617512,0,0),Y=f+384|0,Ve(Y,se,ce,0,0,1781228924,31465,0,0),N=f+304|0,Ve(N,le,de,0,0,-431719958,28934,0,0),W=f+224|0,Ve(W,fe,X,0,0,-375590839,799796,0,0),Q=f+48|0,B=Q,j=o[f+304>>2],c=o[f+384>>2],x=j+c|0,re=o[f+308>>2],i=re+o[f+388>>2]|0,i=c>>>0>x>>>0?i+1|0:i,c=o[f+224>>2],S=c+x|0,d=i,i=i+o[f+228>>2]|0,c=c>>>0>S>>>0?i+1|0:i,k=(0|a)==(0|m)&y>>>0>b>>>0|a>>>0>m>>>0,O=(0|a)==(0|u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e,120),!((0|r)<=0)){e=r-1|0;e:{if(!t){e<<=2,n=e+(f+3088|0)|0,e=(f+2560|0)+e|0,p=1;while(1){if(p?(o[y+120>>2]=1,He(y,120)):Pe(y,y),(0|r)>(0|m)||(i=o[n>>2],i&&(t=f+3720|0,Fe(t,655920,i),je(y,y,t,f+3680|0))),t=r-1|0,(0|r)>(0|g)||(i=o[e>>2],i&&(r=f+3720|0,Fe(r,656176,i),je(y,y,r,f+3680|0))),(0|t)<=0)break e;n=n-4|0,e=e-4|0,p=o[y+120>>2],r=t}}b=f+3760|0,n=1008+((r<<2)+f|0)|0,t=e<<2,e=t+(f+3088|0)|0,p=(f+2560|0)+t|0,u=o[f+1532>>2],l=o[f+1528>>2],i=1;while(1){if(i?(o[y+120>>2]=1,He(y,120)):Pe(y,y),(0|r)>(0|l)||(t=o[n-516>>2],t&&((0|t)<=0?(Ge(f+3720|0,(f+1536|0)+s(~t/2|0,88)|0,88),t=o[f+3760>>2],i=-3908-t|0,t=4194299-(o[f+3764>>2]+(t>>>0>4294963388)|0)|0,o[f+3760>>2]=i,o[f+3764>>2]=t,t=o[f+3768>>2],i=-4-t|0,t=4194303-(o[f+3772>>2]+(t>>>0>4294967292)|0)|0,o[f+3768>>2]=i,o[f+3772>>2]=t,t=o[f+3776>>2],i=-4-t|0,t=4194303-(o[f+3780>>2]+(t>>>0>4294967292)|0)|0,o[f+3776>>2]=i,o[f+3780>>2]=t,t=o[f+3784>>2],i=-4-t|0,t=4194303-(o[f+3788>>2]+(t>>>0>4294967292)|0)|0,o[f+3784>>2]=i,o[f+3788>>2]=t,t=o[f+3792>>2],i=-4-t|0,t=262143-(o[f+3796>>2]+(t>>>0>4294967292)|0)|0,o[f+3792>>2]=i,o[f+3796>>2]=t):Ge(f+3720|0,(f+1536|0)+s(t-1>>>1|0,88)|0,88),Ue(y,y,f+3720|0,0))),(0|r)>(0|u)||(t=o[n>>2],t&&((0|t)<=0?(c=~t/2|0,d=(f+1536|0)+s(c,88)|0,t=o[d+44>>2],o[b>>2]=o[d+40>>2],o[b+4>>2]=t,a=d+48|0,i=o[a+4>>2],t=b+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+56|0,i=o[a+4>>2],t=b+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d- -64|0,i=o[a+4>>2],t=b+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+72|0,i=o[a+4>>2],t=b+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,d=(f+2240|0)+s(c,40)|0,a=d+8|0,i=o[a+4>>2],c=f+3720|0,t=c+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+16|0,i=o[a+4>>2],t=c+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+24|0,i=o[a+4>>2],t=c+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+32|0,i=o[a+4>>2],t=c+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,o[f+3800>>2]=0,t=o[d+4>>2],o[f+3720>>2]=o[d>>2],o[f+3724>>2]=t,t=o[f+3760>>2],i=-3908-t|0,t=4194299-(o[f+3764>>2]+(t>>>0>4294963388)|0)|0,o[f+3760>>2]=i,o[f+3764>>2]=t,t=o[f+3768>>2],i=-4-t|0,t=4194303-(o[f+3772>>2]+(t>>>0>4294967292)|0)|0,o[f+3768>>2]=i,o[f+3772>>2]=t,t=o[f+3776>>2],i=-4-t|0,t=4194303-(o[f+3780>>2]+(t>>>0>4294967292)|0)|0,o[f+3776>>2]=i,o[f+3780>>2]=t,t=o[f+3784>>2],i=-4-t|0,t=4194303-(o[f+3788>>2]+(t>>>0>4294967292)|0)|0,o[f+3784>>2]=i,o[f+3788>>2]=t,t=o[f+3792>>2],i=-4-t|0,t=262143-(o[f+3796>>2]+(t>>>0>4294967292)|0)|0,o[f+3792>>2]=i,o[f+3796>>2]=t):(i=t-1>>>1|0,v=(f+1536|0)+s(i,88)|0,t=o[v+44>>2],o[b>>2]=o[v+40>>2],o[b+4>>2]=t,d=(f+2240|0)+s(i,40)|0,a=d+8|0,i=o[a+4>>2],c=f+3720|0,t=c+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+16|0,i=o[a+4>>2],t=c+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+24|0,i=o[a+4>>2],t=c+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+32|0,i=o[a+4>>2],t=c+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+48|0,i=o[a+4>>2],t=b+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+56|0,i=o[a+4>>2],t=b+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v- -64|0,i=o[a+4>>2],t=b+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+72|0,i=o[a+4>>2],t=b+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,o[f+3800>>2]=0,t=o[d+4>>2],o[f+3720>>2]=o[d>>2],o[f+3724>>2]=t),Ue(y,y,f+3720|0,0))),(0|r)>(0|m)||(i=o[e>>2],i&&(t=f+3720|0,Fe(t,655920,i),je(y,y,t,f+3680|0))),t=r-1|0,(0|r)>(0|g)||(i=o[p>>2],i&&(r=f+3720|0,Fe(r,656176,i),je(y,y,r,f+3680|0))),(0|t)<=0)break e;e=e-4|0,p=p-4|0,n=n-4|0,i=o[y+120>>2],r=t}}o[y+120>>2]||(e=y+80|0,ue(e,e,f+3680|0))}h=f+3808|0}function ve(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0;return u=h-48|0,h=u,n=u+8|0,Oe(n,t+80|0),ue(n,n,e),a=o[t+24>>2],i=o[t+28>>2],l=o[t+16>>2],s=o[t+20>>2],n=o[t+8>>2],f=o[t+12>>2],r=o[t>>2],c=o[t+4>>2],p=o[t+32>>2],t=o[t+36>>2],m=t,e=r,r=We(t>>>16|0,0,977,1),t=e+r|0,e=c+T|0,e=t>>>0>>0?e+1|0:e,r=t,c=e,e=f,t=c>>>20|0,d=t,t=t+n|0,f=d>>>0>t>>>0?e+1|0:e,e=s,n=f>>>20|0,l=n+l|0,s=n>>>0>l>>>0?e+1|0:e,e=i,n=s>>>20|0,a=n+a|0,n=n>>>0>a>>>0?e+1|0:e,e=o[u+8>>2],i=r-e|0,g=(1048575&c)-(o[u+12>>2]+(e>>>0>r>>>0)|0)|0,e=o[u+40>>2],c=p-e|0,e=(65535&m)-(o[u+44>>2]+(e>>>0>p>>>0)|0)|0,r=n>>>20|0,d=r,r=r+c|0,e=(d>>>0>r>>>0?e+1|0:e)+262143|0,d=i,r=r-4|0,p=r>>>0<4294967292?e+1|0:e,i=We(p>>>16|0,0,977,1),c=d+i|0,e=g+T|0,e=(c>>>0>>0?e+1|0:e)+4194299|0,c=c-3908|0,e=c>>>0<4294963388?e+1|0:e,i=1048575&e,y=i,m=976^c,g=1^i,h=u+48|0,c|i&&(i=0,-1!=(0|m)|1048575!=(0|g))||(i=r,p&=65535,r=o[u+32>>2],v=a-r|0,d=(1048575&n)-(o[u+36>>2]+(r>>>0>a>>>0)|0)|0,n=o[u+24>>2],a=l-n|0,l=(1048575&s)-(o[u+28>>2]+(n>>>0>l>>>0)|0)|0,n=e,e=1048575&f,n=n>>>20|0,r=n,n=t+n|0,e=r>>>0>n>>>0?e+1|0:e,r=o[u+16>>2],t=(n-r|0)-4|0,e=4194303+(e-(o[u+20>>2]+(n>>>0>>0)|0)|0)|0,n=t>>>0<4294967292?e+1|0:e,e=l,r=n>>>20|0,s=r,r=r+a|0,e=(s>>>0>r>>>0?e+1|0:e)+4194303|0,r=r-4|0,l=r>>>0<4294967292?e+1|0:e,e=d,a=l>>>20|0,s=a,a=a+v|0,e=(s>>>0>a>>>0?e+1|0:e)+4194303|0,a=a-4|0,f=a>>>0<4294967292?e+1|0:e,e=p,s=f>>>20|0,d=s,s=i+s|0,e=d>>>0>s>>>0?e+1|0:e,i=-1==(t&m&r&a&s)?1048575==(n&g&l&f&(983040^e)):0,i?(t=0,e=0):(t=a|r|t|c|s,e|=1048575&f|1048575&l|1048575&n|y),i=!(e|t)),i}function be(e,t,n,a,s,c){e|=0,t|=0,n|=0,a|=0,s|=0,c|=0;var u=0,l=0,d=0,f=0,p=0,m=0,g=0;u=h-224|0,h=u,he(u+8|0,t,0),t=n+16|0,l=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,d=u+112|0,f=d+16|0,o[f>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[f+4>>2]=l,t=n+24|0,l=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,d=d+24|0,o[d>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[d+4>>2]=l,t=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[u+112>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+116>>2]=t,t=n+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,o[u+120>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[u+124>>2]=n,t=o[u+12>>2],f=o[u+8>>2],r[u+175|0]=f,n=o[u+20>>2],p=o[u+16>>2],r[u+167|0]=p,l=o[u+28>>2],m=o[u+24>>2],r[u+159|0]=m,d=o[u+36>>2],g=o[u+32>>2],r[u+151|0]=g,r[u+174|0]=(255&t)<<24|f>>>8,r[u+173|0]=(65535&t)<<16|f>>>16,r[u+172|0]=(16777215&t)<<8|f>>>24,r[u+171|0]=t,r[u+170|0]=t>>>8,r[u+169|0]=t>>>16,r[u+168|0]=t>>>24,r[u+166|0]=(255&n)<<24|p>>>8,r[u+165|0]=(65535&n)<<16|p>>>16,r[u+164|0]=(16777215&n)<<8|p>>>24,r[u+163|0]=n,r[u+162|0]=n>>>8,r[u+161|0]=n>>>16,r[u+160|0]=n>>>24,r[u+158|0]=(255&l)<<24|m>>>8,r[u+157|0]=(65535&l)<<16|m>>>16,r[u+156|0]=(16777215&l)<<8|m>>>24,r[u+155|0]=l,r[u+154|0]=l>>>8,r[u+153|0]=l>>>16,r[u+152|0]=l>>>24,r[u+150|0]=(255&d)<<24|g>>>8,r[u+149|0]=(65535&d)<<16|g>>>16,r[u+148|0]=(16777215&d)<<8|g>>>24,r[u+147|0]=d,r[u+146|0]=d>>>8,r[u+145|0]=d>>>16,r[u+144|0]=d>>>24,s?(t=s+24|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+200|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=s+16|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+192|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=s+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+184|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[u+176>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[u+180>>2]=t,n=96):n=64,a&&(s=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,t=(u+112|0)+n|0,l=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,r[0|t]=l,r[t+1|0]=l>>>8,r[t+2|0]=l>>>16,r[t+3|0]=l>>>24,r[t+4|0]=s,r[t+5|0]=s>>>8,r[t+6|0]=s>>>16,r[t+7|0]=s>>>24,a=a+8|0,s=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,t=t+8|0,a=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,r[0|t]=a,r[t+1|0]=a>>>8,r[t+2|0]=a>>>16,r[t+3|0]=a>>>24,r[t+4|0]=s,r[t+5|0]=s>>>8,r[t+6|0]=s>>>16,r[t+7|0]=s>>>24,n|=16),t=u+112|0,we(u+40|0,t,n),n=0,He(t,112);while(1)if(_e(u+40|0,e),n=n+1|0,!(c>>>0>=n>>>0))break;return h=u+224|0,1}function we(e,t,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0;a=h-272|0,h=a,o[e>>2]=16843009,o[e+4>>2]=16843009,o[e+32>>2]=0,o[e+36>>2]=0,u=e+24|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+16|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+8|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+40|0,o[u>>2]=0,o[u+4>>2]=0,u=e+48|0,o[u>>2]=0,o[u+4>>2]=0,u=e+56|0,o[u>>2]=0,o[u+4>>2]=0,u=a+128|0,o[u>>2]=528734635,o[u+4>>2]=1541459225,u=a+120|0,o[u>>2]=1359893119,o[u+4>>2]=-1694144372,u=a+112|0,o[u>>2]=1013904242,o[u+4>>2]=-1521486534,u=a+200|0,o[u>>2]=0,o[u+4>>2]=0,u=a+208|0,s=u+56|0,o[s>>2]=0,o[s+4>>2]=0,s=u+48|0,o[s>>2]=0,o[s+4>>2]=0,s=u+40|0,o[s>>2]=0,o[s+4>>2]=0,s=u+32|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,o[s>>2]=0,o[s+4>>2]=0,u=u+16|0,o[u>>2]=0,o[u+4>>2]=0,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+216>>2]=0,o[a+220>>2]=0,o[a+208>>2]=0,o[a+212>>2]=0,u=e+32|0,d=a+104|0,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;c=a+208|0,re(a,c,64),re(a,e,32),re(a,690368,1),re(a,t,n),ne(a,c),re(d,c,32),ne(d,u),s=a+248|0,o[s>>2]=0,o[s+4>>2]=0,s=a+256|0,o[s>>2]=0,o[s+4>>2]=0,s=a+264|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,f=c+24|0,o[f>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[f+4>>2]=l,s=u+16|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,c=c+16|0,o[c>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[c+4>>2]=l,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,s=u+8|0,c=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[a+216>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[a+220>>2]=c,s=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=s,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;c=a+208|0,re(a,c,64),re(a,e,32),ne(a,c),re(d,c,32),ne(d,e),s=a+248|0,o[s>>2]=0,o[s+4>>2]=0,s=a+256|0,o[s>>2]=0,o[s+4>>2]=0,s=a+264|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,f=c+24|0,o[f>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[f+4>>2]=l,s=u+16|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,c=c+16|0,o[c>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[c+4>>2]=l,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,s=u+8|0,c=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[a+216>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[a+220>>2]=c,s=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=s,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;s=a+208|0,re(a,s,64),re(a,e,32),re(a,690369,1),re(a,t,n),ne(a,s),re(d,s,32),ne(d,u),t=a+248|0,o[t>>2]=0,o[t+4>>2]=0,t=a+256|0,o[t>>2]=0,o[t+4>>2]=0,t=a+264|0,o[t>>2]=0,o[t+4>>2]=0,t=u+24|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,c=s+24|0,o[c>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[c+4>>2]=n,t=u+16|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=s+16|0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=n,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,t=u+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,o[a+216>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[a+220>>2]=n,t=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=t,s=0;while(1)if(t=(a+208|0)+s|0,r[0|t]=92^i[0|t],n=t+1|0,r[0|n]=92^i[0|n],n=t+2|0,r[0|n]=92^i[0|n],t=t+3|0,r[0|t]=92^i[0|t],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(t=(a+208|0)+s|0,r[0|t]=106^i[0|t],n=t+1|0,r[0|n]=106^i[0|n],n=t+2|0,r[0|n]=106^i[0|n],t=t+3|0,r[0|t]=106^i[0|t],s=s+4|0,64==(0|s))break;t=a+208|0,re(a,t,64),re(a,e,32),ne(a,t),re(d,t,32),ne(d,e),o[e+64>>2]=0,h=a+272|0}function _e(e,t){var n=0,a=0,s=0,c=0,u=0,l=0,d=0;if(s=h-272|0,h=s,o[e+64>>2]){n=s+208|0,a=n+40|0,o[a>>2]=0,o[a+4>>2]=0,a=n+48|0,o[a>>2]=0,o[a+4>>2]=0,n=n+56|0,o[n>>2]=0,o[n+4>>2]=0,n=s+200|0,o[n>>2]=0,o[n+4>>2]=0,n=s+128|0,o[n>>2]=528734635,o[n+4>>2]=1541459225,n=s+120|0,o[n>>2]=1359893119,o[n+4>>2]=-1694144372,n=s+112|0,o[n>>2]=1013904242,o[n+4>>2]=-1521486534,n=e+56|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+232|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,n=e+48|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+224|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,n=e+40|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+216>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+220>>2]=a,n=i[e+36|0]|i[e+37|0]<<8|i[e+38|0]<<16|i[e+39|0]<<24,o[s+208>>2]=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,o[s+212>>2]=n,n=e+32|0,u=s+104|0,a=0;while(1)if(c=(s+208|0)+a|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s+8>>2]=1013904242,o[s+12>>2]=-1521486534,o[s>>2]=1779033703,o[s+4>>2]=-1150833019,a=0;while(1)if(c=(s+208|0)+a|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],a=a+4|0,64==(0|a))break;c=s+208|0,re(s,c,64),re(s,e,32),re(s,690370,1),ne(s,c),re(u,c,32),ne(u,n),a=s+248|0,o[a>>2]=0,o[a+4>>2]=0,a=s+256|0,o[a>>2]=0,o[a+4>>2]=0,a=s+264|0,o[a>>2]=0,o[a+4>>2]=0,a=n+24|0,l=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,d=c+24|0,o[d>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[d+4>>2]=l,a=n+16|0,l=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,c=c+16|0,o[c>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[c+4>>2]=l,o[s+200>>2]=0,o[s+204>>2]=0,o[s+128>>2]=528734635,o[s+132>>2]=1541459225,o[s+120>>2]=1359893119,o[s+124>>2]=-1694144372,o[s+112>>2]=1013904242,o[s+116>>2]=-1521486534,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,a=n+8|0,c=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,o[s+216>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[s+220>>2]=c,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+208>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+212>>2]=a,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=92^i[0|n],c=n+1|0,r[0|c]=92^i[0|c],c=n+2|0,r[0|c]=92^i[0|c],n=n+3|0,r[0|n]=92^i[0|n],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s+8>>2]=1013904242,o[s+12>>2]=-1521486534,o[s>>2]=1779033703,o[s+4>>2]=-1150833019,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=106^i[0|n],c=n+1|0,r[0|c]=106^i[0|c],c=n+2|0,r[0|c]=106^i[0|c],n=n+3|0,r[0|n]=106^i[0|n],a=a+4|0,64==(0|a))break;n=s+208|0,re(s,n,64),re(s,e,32),ne(s,n),re(u,n,32),ne(u,e)}n=s+208|0,a=n+40|0,o[a>>2]=0,o[a+4>>2]=0,a=n+48|0,o[a>>2]=0,o[a+4>>2]=0,n=n+56|0,o[n>>2]=0,o[n+4>>2]=0,n=s+200|0,o[n>>2]=0,o[n+4>>2]=0,n=s+128|0,o[n>>2]=528734635,o[n+4>>2]=1541459225,n=s+120|0,o[n>>2]=1359893119,o[n+4>>2]=-1694144372,n=s+112|0,o[n>>2]=1013904242,o[n+4>>2]=-1521486534,n=e+56|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+232|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,n=e+48|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+224|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,n=e+40|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+216>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+220>>2]=a,n=i[e+36|0]|i[e+37|0]<<8|i[e+38|0]<<16|i[e+39|0]<<24,o[s+208>>2]=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,o[s+212>>2]=n,u=s+104|0,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=92^i[0|n],c=n+1|0,r[0|c]=92^i[0|c],c=n+2|0,r[0|c]=92^i[0|c],n=n+3|0,r[0|n]=92^i[0|n],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s+8>>2]=1013904242,o[s+12>>2]=-1521486534,o[s>>2]=1779033703,o[s+4>>2]=-1150833019,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=106^i[0|n],c=n+1|0,r[0|c]=106^i[0|c],c=n+2|0,r[0|c]=106^i[0|c],n=n+3|0,r[0|n]=106^i[0|n],a=a+4|0,64==(0|a))break;n=s+208|0,re(s,n,64),re(s,e,32),ne(s,n),re(u,n,32),ne(u,e),n=e+24|0,u=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,a=t+24|0,n=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,r[0|a]=n,r[a+1|0]=n>>>8,r[a+2|0]=n>>>16,r[a+3|0]=n>>>24,r[a+4|0]=u,r[a+5|0]=u>>>8,r[a+6|0]=u>>>16,r[a+7|0]=u>>>24,n=e+16|0,u=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,a=t+16|0,n=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,r[0|a]=n,r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[p+256>>2]|!(y|g|f|m|_|b|l|v),c=u?0:-1,o[p+120>>2]=c&y,o[p+124>>2]=c&_,o[p+112>>2]=c&g,o[p+116>>2]=c&b,o[p+104>>2]=c&f,o[p+108>>2]=c&l,o[p+96>>2]=c&m|0!=(0|u),o[p+100>>2]=c&v,he(p+32|0,655649,0),B=!u,N=a||4;e:if(0|Xe[0|N](p,655649,690788,0,s,0)){a=1;while(1){if(R=a,he(p- -64|0,p,p+256|0),!(o[p+256>>2]|!(o[p+88>>2]|o[p+80>>2]|o[p+72>>2]|o[p+64>>2]|o[p+92>>2]|o[p+84>>2]|o[p+76>>2]|o[p+68>>2]))&&(o[p+132>>2]=0,a=p+256|0,Ae(e,a,p- -64|0),Se(p+168|0,a),c=p,b=o[c+232>>2],_=o[c+236>>2],y=o[c+224>>2],v=o[c+228>>2],f=o[c+216>>2],l=o[c+220>>2],d=o[c+212>>2],m=o[c+240>>2],g=o[c+244>>2],A=g,a=o[c+208>>2],g=We(g>>>16|0,0,977,1),u=a+g|0,a=d+T|0,g=u>>>0>>0?a+1|0:a,a=l,d=g>>>20|0,w=d,d=f+d|0,l=w>>>0>d>>>0?a+1|0:a,a=v,f=l>>>20|0,v=f,f=f+y|0,y=v>>>0>f>>>0?a+1|0:a,a=_,v=y>>>20|0,w=v,v=b+v|0,a=w>>>0>v>>>0?a+1|0:a,S=f,b=a,M=1048575&y,y=-1==(v&f&d)&1048575==(a&M&l),a=65535&A,f=b>>>20|0,w=f,f=f+m|0,_=w>>>0>f>>>0?a+1|0:a,a=1048575&g,x=f,f=We(y&-1==(0|f)&65535==(0|_)&(1048574==(0|a)&u>>>0>4294966318|a>>>0>1048574)|_>>>16,0,977,1)+u|0,a=T+a|0,k=f,o[c+208>>2]=f,y=u>>>0>f>>>0?a+1|0:a,o[c+212>>2]=1048575&y,A=o[c+192>>2],w=o[c+196>>2],g=o[c+184>>2],C=o[c+188>>2],m=o[c+176>>2],E=o[c+180>>2],O=o[c+172>>2],P=o[c+200>>2],f=o[c+204>>2],L=f,a=o[c+168>>2],u=We(f>>>16|0,0,977,1),f=a+u|0,a=O+T|0,O=u>>>0>f>>>0?a+1|0:a,a=E,u=O>>>20|0,E=u,u=u+m|0,E=E>>>0>u>>>0?a+1|0:a,a=C,m=E>>>20|0,C=m,m=m+g|0,I=C>>>0>m>>>0?a+1|0:a,a=w,g=I>>>20|0,A=g+A|0,a=g>>>0>A>>>0?a+1|0:a,g=1048575&E,C=m,w=a,I&=1048575,m=-1==(u&m&A)&1048575==(a&E&I),a=65535&L,c=w>>>20|0,E=c,c=c+P|0,E=E>>>0>c>>>0?a+1|0:a,a=1048575&O,P=c,c=We(m&-1==(0|c)&65535==(0|E)&(1048574==(0|a)&f>>>0>4294966318|a>>>0>1048574)|E>>>16,0,977,1)+f|0,a=T+a|0,a=c>>>0>>0?a+1|0:a,f=c,c=a,a=g,m=c>>>20|0,g=m,m=u+m|0,a=g>>>0>m>>>0?a+1|0:a,o[p+176>>2]=m,u=a,o[p+180>>2]=1048575&a,a=1048575&l,y=y>>>20|0,d=d+y|0,a=y>>>0>d>>>0?a+1|0:a,o[p+216>>2]=d,o[p+220>>2]=1048575&a,d=a,a=M,d=(d>>>20|0)+S|0,a=d>>>0>>0?a+1|0:a,o[p+224>>2]=d,S=a,o[p+228>>2]=1048575&a,l=p,d=A,w&=1048575,a=I,A=u,g=(u>>>20|0)+C|0,u=g>>>0>>0?a+1|0:a,a=w,y=u>>>20|0,w=y,y=d+y|0,a=w>>>0>y>>>0?a+1|0:a,o[l+192>>2]=y,d=a,o[l+196>>2]=1048575&a,a=1048575&b,b=S>>>20|0,v=b+v|0,a=b>>>0>v>>>0?a+1|0:a,o[l+232>>2]=v,v=a,o[l+236>>2]=1048575&a,a=E,b=d,w=(d>>>20|0)+P|0,a=w>>>0

>>0?a+1|0:a,o[l+200>>2]=w,d=a,o[l+204>>2]=65535&a,a=_,v=(v>>>20|0)+x|0,a=v>>>0>>0?a+1|0:a,o[l+240>>2]=v,o[l+244>>2]=65535&a,v=g,o[l+184>>2]=g,a=1048575&u,o[l+188>>2]=a,o[l+168>>2]=f,g=1048575&c,o[l+172>>2]=g,r[l+415|0]=f,r[l+414|0]=(255&c)<<24|f>>>8,r[l+413|0]=(65535&c)<<16|f>>>16,r[l+412|0]=(16777215&c)<<8|f>>>24,r[l+411|0]=c,r[l+410|0]=c>>>8,c=m>>>28|0,r[l+409|0]=m<<4|g>>>16,r[l+408|0]=(15&A)<<28|m>>>4,r[l+407|0]=(4095&A)<<20|m>>>12,r[l+406|0]=(1048575&A)<<12|m>>>20,r[l+405|0]=c|(268435455&A)<<4,r[l+404|0]=A>>>4,r[l+403|0]=A>>>12,r[l+402|0]=v,r[l+401|0]=(255&u)<<24|v>>>8,r[l+400|0]=(65535&u)<<16|v>>>16,r[l+399|0]=(16777215&u)<<8|v>>>24,r[l+398|0]=u,r[l+397|0]=u>>>8,c=y>>>28|0,r[l+396|0]=y<<4|a>>>16,r[l+395|0]=(15&b)<<28|y>>>4,r[l+394|0]=(4095&b)<<20|y>>>12,r[l+393|0]=(1048575&b)<<12|y>>>20,r[l+392|0]=c|(268435455&b)<<4,r[l+391|0]=b>>>4,r[l+390|0]=b>>>12,r[l+389|0]=w,r[l+388|0]=(255&d)<<24|w>>>8,r[l+387|0]=(65535&d)<<16|w>>>16,r[l+386|0]=(16777215&d)<<8|w>>>24,r[l+385|0]=d,r[l+384|0]=d>>>8,he(t,l+384|0,l+132|0),i&&(o[i>>2]=1&k|o[l+132>>2]<<1),S=l+136|0,ge(S,t,l+96|0),u=o[l+32>>2],d=o[l+136>>2],v=u+d|0,c=o[l+36>>2],a=c+o[l+140>>2]|0,f=d>>>0>v>>>0?a+1|0:a,_=(0|c)==(0|f)&u>>>0>v>>>0|c>>>0>f>>>0,u=o[l+144>>2],c=_+u|0,a=o[l+148>>2],a=c>>>0>>0?a+1|0:a,d=c,c=o[l+40>>2],g=d+c|0,u=a,a=a+o[l+44>>2]|0,m=c>>>0>g>>>0?a+1|0:a,E=o[l+48>>2],c=o[l+152>>2],y=E+c|0,A=o[l+52>>2],a=A+o[l+156>>2]|0,c=c>>>0>y>>>0?a+1|0:a,b=y,a=!u&d>>>0<_>>>0,d=(0|u)==(0|m)&d>>>0>g>>>0|u>>>0>m>>>0,u=a+d|0,a=(u>>>0>>0)+c|0,y=u+y|0,d=y>>>0>>0?a+1|0:a,x=o[l+56>>2],u=o[l+160>>2],_=x+u|0,w=o[l+60>>2],a=w+o[l+164>>2]|0,u=u>>>0>_>>>0?a+1|0:a,a=(0|c)==(0|A)&b>>>0>>0|c>>>0>>0,b=(0|c)==(0|d)&y>>>0>>0|c>>>0>d>>>0,c=a+b|0,a=(c>>>0>>0)+u|0,b=c,c=c+_|0,a=b>>>0>c>>>0?a+1|0:a,b=c,c=l,A=a,w=((0|u)==(0|w)&_>>>0>>0|u>>>0>>0)+((0|u)==(0|a)&b>>>0<_>>>0|a>>>0>>0)|0,u=-1==(0|d),l=u&y>>>0<4294967294|-1!=(0|d)|-1!=(b&a),a=-1162945306==(0|m),_=~(l|a&g>>>0<2940772411|m>>>0<3132021990),E=w+(_&(-1076732276==(0|f)&v>>>0>3493216576|f>>>0>3218235020)|_&(a&g>>>0>2940772411|m>>>0>3132021990)|-1==(0|y)&u&~l)|0,l=We(E,0,801750719,1076732275),u=l+v|0,a=f+T|0,w=u,o[c+136>>2]=u,l=u>>>0>>0?a+1|0:a,o[c+140>>2]=l,u=c,c=We(E,0,1354194884,1162945305),_=c+g|0,a=m+T|0,l=(0|l)==(0|f)&v>>>0>w>>>0|l>>>0>>0,f=_+l|0,a=c>>>0>_>>>0?a+1|0:a,c=a,w=f,o[u+144>>2]=f,l=l>>>0>f>>>0?a+1|0:a,o[u+148>>2]=l,f=u,a=d,v=y+E|0,u=v>>>0>>0?a+1|0:a,a=(0|c)==(0|m)&g>>>0>_>>>0|c>>>0>>0,m=(0|c)==(0|l)&_>>>0>w>>>0|c>>>0>l>>>0,c=a+m|0,a=(c>>>0>>0)+u|0,w=c,c=c+v|0,a=w>>>0>c>>>0?a+1|0:a,o[f+152>>2]=c,o[f+156>>2]=a,d=(0|u)==(0|d)&y>>>0>v>>>0|u>>>0>>0,u=(0|a)==(0|u)&c>>>0>>0|a>>>0>>0,c=d+u|0,a=A+(c>>>0>>0)|0,c=c+b|0,a=c>>>0>>0?a+1|0:a,o[f+160>>2]=c,o[f+164>>2]=a,c=o[f+88>>2],u=o[f+92>>2],o[f+456>>2]=u>>>24,o[f+460>>2]=0,u=u<<6|c>>>26,d=o[f+80>>2],m=o[f+84>>2],o[f+448>>2]=c<<6|m>>>26,o[f+452>>2]=1073741823&u,c=d,u=m<<4|c>>>28,d=o[f+72>>2],m=o[f+76>>2],o[f+440>>2]=c<<4|m>>>28,o[f+444>>2]=1073741823&u,c=d,u=m<<2|c>>>30,d=o[p+64>>2],f=o[p+68>>2],o[p+432>>2]=c<<2|f>>>30,o[p+436>>2]=1073741823&u,o[p+424>>2]=d,o[p+428>>2]=1073741823&f,Te(p+424|0,690320),u=o[p+456>>2]<<24,f=o[p+452>>2],a=f>>>6|0,d=o[p+448>>2],o[n+24>>2]=(63&f)<<26|d>>>6,o[n+28>>2]=a|u,u=d<<26,f=o[p+444>>2],a=f>>>4|0,d=o[p+440>>2],o[n+16>>2]=(15&f)<<28|d>>>4,o[n+20>>2]=a|u,u=d<<28,f=o[p+436>>2],a=f>>>2|0,d=o[p+432>>2],o[n+8>>2]=(3&f)<<30|d>>>2,o[n+12>>2]=a|u,u=o[p+428>>2],a=d<<30,o[n>>2]=o[p+424>>2],o[n+4>>2]=a|u,ge(n,n,S),a=o[n+28>>2],_=a,a=a>>>31|0,c=~a,l=o[n+12>>2],d=1566010995==(0|l),g=o[n+8>>2],w=o[n+16>>2],E=o[n+20>>2],A=o[n+24>>2],c=~(c&(d&g>>>0<1470386205|l>>>0<1566010995)|-1!=(w&E)&c|2147483647==(0|_)&-1!=(0|A)|_>>>0<2147483647),u=o[n+4>>2],m=o[n>>2],b=c&(-538366138==(0|u)&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>u>>>0|n>>>0>s>>>0,n=m+f|0,t=n>>>0>>0,b=n,m=o[r+24>>2],f=n+m|0,n=t,t=t+o[r+28>>2]|0,t=f>>>0>>0?t+1|0:t,e=e+32|0,m=o[e>>2],r=m+f|0,e=t+o[e+4>>2]|0,A=r>>>0>>0?e+1|0:e,m=r,b=((0|t)==(0|n)&f>>>0>>0|t>>>0>>0)+((0|t)==(0|A)&r>>>0>>0|t>>>0>A>>>0)|0,t=-1==(0|s),r=t&u>>>0<4294967294|-1!=(0|s)|-1!=(r&A),e=-1162945306==(0|l),n=~(r|e&_>>>0<2940772411|l>>>0<3132021990),f=b+(n&(-1076732276==(0|c)&E>>>0>3493216576|c>>>0>3218235020)|n&(e&_>>>0>2940772411|l>>>0>3132021990)|-1==(0|u)&t&~r)|0,e=We(f,0,801750719,1076732275),r=e+E|0,t=c+T|0,o[a+8>>2]=r,t=e>>>0>r>>>0?t+1|0:t,o[a+12>>2]=t,e=a,c=(0|t)==(0|c)&r>>>0>>0|t>>>0>>0,n=We(f,0,1354194884,1162945305),r=n+_|0,t=l+T|0,t=r>>>0>>0?t+1|0:t,c=r+c|0,n=c>>>0>>0?t+1|0:t,o[e+16>>2]=c,o[e+20>>2]=n,n=(0|t)==(0|n)&r>>>0>c>>>0|t>>>0>n>>>0,r=n+((0|t)==(0|l)&r>>>0<_>>>0|t>>>0>>0)|0,t=r>>>0>>0,n=r,l=t,t=s,c=u+f|0,r=c>>>0>>0?t+1|0:t,t=r+l|0,b=n,n=c,c=b+n|0,o[e+24>>2]=c,t=n>>>0>c>>>0?t+1|0:t,o[e+28>>2]=t,e=(0|r)==(0|s)&n>>>0>>0|r>>>0>>0,r=(0|t)==(0|r)&n>>>0>c>>>0|t>>>0>>0,t=e+r|0,n=A+(t>>>0>>0)|0,e=t+m|0,n=e>>>0>>0?n+1|0:n,o[a+32>>2]=e,o[a+36>>2]=n,r=0,_=0,s=0,E=0,f=0,m=0,l=0,c=0,b=0,u=0,A=0;while(1)if(o[a+120>>2]=0,t=(a+8|0)+(P>>>2&1073741816)|0,e=o[t>>2],n=o[t+4>>2],i=62&k,t=31&i,e=i>>>0>=32?n>>>t|0:((1<>>t,p=3&e,g=1==(0|p),i=S+656432|0,e=i+248|0,t=i+184|0,n=i+120|0,d=i+56|0,y=2==(0|p),v=3==(0|p),r=v?o[e>>2]:y?o[t>>2]:g?o[n>>2]:p?r:o[d>>2],t=v?o[e+4>>2]:y?o[t+4>>2]:g?o[n+4>>2]:p?_:o[d+4>>2],_=t,e=t>>>16|0,o[a+112>>2]=(65535&t)<<16|r>>>16,o[a+116>>2]=e,e=i+224|0,t=i+160|0,n=i+96|0,d=i+32|0,N=v?o[e>>2]:y?o[t>>2]:g?o[n>>2]:p?N:o[d>>2],l=v?o[e+4>>2]:y?o[t+4>>2]:g?o[n+4>>2]:p?l:o[d+4>>2],o[a+80>>2]=N,o[a+84>>2]=1048575&l,e=i+216|0,t=i+152|0,n=i+88|0,d=i+24|0,c=v?o[e>>2]:y?o[t>>2]:g?o[n>>2]:p?c:o[d>>2],e=v?o[e+4>>2]:y?o[t+4>>2]:g?o[n+4>>2]:p?b:o[d+4>>2],b=e,n=e>>>16|0,o[a+72>>2]=(65535&e)<<16|c>>>16,o[a+76>>2]=n,e=i+192|0,t=i+128|0,n=i- -64|0,R=v?o[e>>2]:y?o[t>>2]:g?o[n>>2]:p?R:o[i>>2],x=v?o[e+4>>2]:y?o[t+4>>2]:g?o[n+4>>2]:p?x:o[i+4>>2],o[a+40>>2]=R,o[a+44>>2]=1048575&x,n=r<<4&1048560,e=i+240|0,t=i+176|0,d=i+112|0,w=i+48|0,s=v?o[e>>2]:y?o[t>>2]:g?o[d>>2]:p?s:o[w>>2],t=v?o[e+4>>2]:y?o[t+4>>2]:g?o[d+4>>2]:p?E:o[w+4>>2],E=t,e=t>>>28|0,o[a+104>>2]=(268435455&t)<<4|s>>>28,o[a+108>>2]=e|n,n=i+232|0,d=i+168|0,w=i+104|0,e=i+40|0,f=v?o[n>>2]:y?o[d>>2]:g?o[w>>2]:p?f:o[e>>2],m=v?o[n+4>>2]:y?o[d+4>>2]:g?o[w+4>>2]:p?m:o[e+4>>2],o[a+96>>2]=s<<24&-16777216|m>>>8,o[a+100>>2]=1048575&(t<<24|s>>>8),o[a+88>>2]=f<<12&-4096|l>>>20,o[a+92>>2]=1048575&(m<<12|f>>>20),e=i+208|0,t=i+144|0,d=i+80|0,w=i+16|0,u=v?o[e>>2]:y?o[t>>2]:g?o[d>>2]:p?u:o[w>>2],e=v?o[e+4>>2]:y?o[t+4>>2]:g?o[d+4>>2]:p?A:o[w+4>>2],A=e,t=e>>>28|0,o[a+64>>2]=(268435455&e)<<4|u>>>28,o[a+68>>2]=t|c<<4&1048560,t=u<<24&-16777216,e=i+200|0,d=i+136|0,w=i+72|0,i=i+8|0,C=v?o[e>>2]:y?o[d>>2]:g?o[w>>2]:p?C:o[i>>2],I=v?o[e+4>>2]:y?o[d+4>>2]:g?o[w+4>>2]:p?I:o[i+4>>2],o[a+56>>2]=I>>>8|t,o[a+60>>2]=1048575&(A<<24|u>>>8),o[a+48>>2]=C<<12&-4096|x>>>20,o[a+52>>2]=1048575&(I<<12|C>>>20),Ie(O,O,a+40|0),k=k+2|0,P=P+1|0,S=S+256|0,32768==(0|S))break;h=a+128|0}function Se(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0;s=h-80|0,h=s,o[e+80>>2]=o[t+120>>2],m=t+104|0,f=o[m>>2],p=o[m+4>>2],g=t+96|0,c=o[g>>2],d=o[g+4>>2],y=t+88|0,a=o[y>>2],u=o[y+4>>2],l=o[t+84>>2],v=t+112|0,b=o[v>>2],i=o[v+4>>2],A=i,r=o[t+80>>2],n=We(i>>>16|0,0,977,1),i=r+n|0,r=l+T|0,l=n>>>0>i>>>0?r+1|0:r,r=u,n=l>>>20|0,u=n,n=n+a|0,u=u>>>0>n>>>0?r+1|0:r,r=d,a=u>>>20|0,d=a,a=a+c|0,d=d>>>0>a>>>0?r+1|0:r,r=p,c=d>>>20|0,p=c,c=c+f|0,f=p>>>0>c>>>0?r+1|0:r,S=1048575&u,r=1048575&l,_=i,w=r,p=n,l=a,E=1048575&d,a=-1==(n&a&c)&1048575==(E&u&f),r=65535&A,n=f>>>20|0,i=n,n=n+b|0,r=i>>>0>n>>>0?r+1|0:r,u=n,i=r,a=We(a&-1==(0|n)&65535==(0|r)&(1048574==(0|w)&_>>>0>4294966318|w>>>0>1048574)|r>>>16,0,977,1),n=a+_|0,r=w+T|0,r=n>>>0>>0?r+1|0:r,a=n,b=r,r=S,n=b>>>20|0,d=n+p|0,n=n>>>0>d>>>0?r+1|0:r,o[s+40>>2]=a,o[s+44>>2]=d<<20&1072693248|1048575&b,r=E,p=l,a=n,l=(n>>>20|0)+l|0,n=p>>>0>l>>>0?r+1|0:r,b=l<<10&1073740800,r=a>>>10|0,o[s+48>>2]=(1023&a)<<22|d>>>10,o[s+52>>2]=b|1023&r,r=1048575&f,a=n,n=n>>>20|0,c=n+c|0,n=n>>>0>c>>>0?r+1|0:r,o[s+56>>2]=(1048575&a)<<12|l>>>20,o[s+60>>2]=1073741823&c,r=i,i=(n>>>20|0)+u|0,r=i>>>0>>0?r+1|0:r,o[s+72>>2]=r>>>8&255,o[s+76>>2]=0,r=r<<22|i>>>10,o[s+64>>2]=4194303&((1073741823&n)<<2|c>>>30)|i<<22&-4194304,o[s+68>>2]=1073741823&r,u=s+40|0,Te(u,690464),n=o[s+44>>2],i=n,o[t+80>>2]=o[s+40>>2],o[t+84>>2]=1048575&n,a=o[s+72>>2]<<8,f=o[s+68>>2],r=f>>>22|0,c=o[s+64>>2],o[v>>2]=(4194303&f)<<10|c>>>22,o[v+4>>2]=r|a,n=c,r=f<<30|n>>>2,c=n<<30&-1073741824,n=o[s+56>>2],a=o[s+60>>2],o[m>>2]=a|c,o[m+4>>2]=1048575&r,r=a<<20|n>>>12,c=n<<20&-1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a>>2]=r,o[a+4>>2]=e,e=(n&O)+(1073741823&f)|0,r=(n&N)+d|0,e=(t>>31)+(r>>>0>>0?e+1|0:e)|0,t>>=30,a=t,t=t+r|0,e=a>>>0>t>>>0?e+1|0:e,r=t,o[i>>2]=r,t=e,e&=1073741823,o[i+4>>2]=e,a=L+24|0,o[a>>2]=r,o[a+4>>2]=e,e=(n&S)+p|0,n=(n&I)+y|0,e=(t>>31)+(n>>>0>>0?e+1|0:e)|0,t>>=30,r=t,t=t+n|0,e=r>>>0>t>>>0?e+1|0:e,o[u>>2]=t,o[u+4>>2]=e,n=L+32|0,o[n>>2]=t,o[n+4>>2]=e,h=c+432|0}function xe(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0;return i=h-48|0,h=i,t?(g=i+8|0,he(g,t,i+44|0),u=o[i+32>>2],r=o[i+24>>2],c=o[i+16>>2],n=o[i+8>>2],f=o[i+36>>2],l=o[i+28>>2],a=o[i+20>>2],s=o[i+12>>2],y=o[i+44>>2]|!(u|r|c|n|f|l|a|s),e=y?0:-1,u&=e,p=e&r,d=e&c,n&=e,f&=e,v=e&l,m=e&a,r=e&s,c=u|p|d|n|f|v|m|r?-1:0,n=~n,s=n-801750718|0,o[i+8>>2]=c&s,r=~r,a=r-((n>>>0<801750718)+1076732275|0)|0,o[i+12>>2]=a&c,e=(0|r)==(0|a)&n>>>0>s>>>0|r>>>0>a>>>0,a=~d,n=e+a|0,s=~m,r=s,m=n-1354194885|0,o[i+16>>2]=m&c,r=n>>>0>>0?r+1|0:r,l=r-((n>>>0<1354194885)+1162945305|0)|0,o[i+20>>2]=l&c,p=~p,e=(0|r)==(0|s)&n>>>0>>0|r>>>0>>0,a=(0|r)==(0|l)&n>>>0>m>>>0|r>>>0>l>>>0,r=e+a|0,d=~v,n=d+(r>>>0>>0)|0,e=r,r=r+p|0,n=e>>>0>r>>>0?n+1|0:n,s=r-2|0,o[i+24>>2]=s&c,a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[i+72>>2],p=t+E|0,f=p>>>0>>0?r+1|0:r,r=f+(n>>>0>u>>>0)|0,l=r+1|0,d=r,r=u+p|0,_=r>>>0>>0?l:d,n=s&v>>>0<4294967294|-1!=(0|e)|-1!=(_&r),c=-1162945306==(0|m),u=~(n|c&b>>>0<2940772411|m>>>0<3132021990),n=(((0|f)==(0|g)&t>>>0>p>>>0|f>>>0>>0)+((0|f)==(0|_)&r>>>0

>>0|f>>>0>_>>>0)|0)+(u&(-1076732276==(0|y)&w>>>0>3493216576|y>>>0>3218235020)|u&(c&b>>>0>2940772411|m>>>0>3132021990)|-1==(0|v)&s&~n)|0,p=n+v|0,p>>>0>>0&&(e=e+1|0),c=We(n,0,1354194884,1162945305),s=m+T|0,t=We(n,0,801750719,1076732275),l=t+w|0,g=c+b|0,n=y+T|0,u=t>>>0>l>>>0?n+1|0:n,n=(0|u)==(0|y)&w>>>0>l>>>0|u>>>0>>0,f=g+n|0,t=c>>>0>g>>>0?s+1|0:s,c=n>>>0>f>>>0?t+1|0:t,n=(0|t)==(0|c)&f>>>0>>0|t>>>0>c>>>0,t=n+((0|t)==(0|m)&g>>>0>>0|t>>>0>>0)|0,d=(0|e)==(0|a)&p>>>0>>0|e>>>0>>0,n=(t>>>0>>0)+e|0,a=t,t=t+p|0,s=a>>>0>t>>>0?n+1|0:n,e=(0|s)==(0|e)&t>>>0

>>0|e>>>0>s>>>0,a=d+e|0,e=_+(e>>>0>a>>>0)|0,a=r+a|0,n=a>>>0>>0?e+1|0:e,e=i,d=a|f|l|t|n|c|u|s?o[e+44>>2]|N|!(E|A|S|x|I|O|P|k):1,i=!d,r=0-i|0,o[e+32>>2]=a&r,o[e+36>>2]=r&n,o[e+24>>2]=t&r,o[e+28>>2]=r&s,o[e+16>>2]=r&f,o[e+20>>2]=r&c,o[e+8>>2]=r&l,o[e+12>>2]=r&u,pe(690788,C),h=e+80|0,i}function Ie(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,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n>>2],G=o[n+4>>2],n=t+72|0,W=o[n>>2],Z=o[n+4>>2],j=o[t+40>>2],O=o[t+44>>2],n=a+1584|0,ue(n,r+40|0,y),ue(n,n,be),D=o[a+1636>>2],n=D+o[E+4>>2]|0,he=a+1544|0,me=he+8|0,i=me,se=o[a+1632>>2],f=o[E>>2],l=se+f|0,o[i>>2]=l,y=l>>>0>>0?n+1|0:n,o[i+4>>2]=y,M=o[a+1644>>2],n=M+o[P+4>>2]|0,ge=he+16|0,c=ge,ce=o[a+1640>>2],i=o[P>>2],f=ce+i|0,o[c>>2]=f,i=i>>>0>f>>>0?n+1|0:n,o[c+4>>2]=i,B=o[a+1652>>2],n=B+o[_+4>>2]|0,ye=he+24|0,E=ye,z=o[a+1648>>2],c=o[_>>2],s=z+c|0,o[E>>2]=s,c=s>>>0>>0?n+1|0:n,o[E+4>>2]=c,Y=o[a+1660>>2],n=Y+o[m+4>>2]|0,de=he+32|0,P=de,U=o[a+1656>>2],_=o[m>>2],E=U+_|0,o[P>>2]=E,m=_>>>0>E>>>0?n+1|0:n,o[P+4>>2]=m,ee=o[a+1628>>2],n=ee+o[a+1668>>2]|0,R=o[a+1624>>2],_=o[a+1664>>2],P=R+_|0,o[a+1544>>2]=P,_=_>>>0>P>>>0?n+1|0:n,o[a+1548>>2]=_,ie=a+1232|0,p=P<<1,d=_<<1|P>>>31,Ve(ie,s,c,0,0,p,d,0,0),H=a+1312|0,x=l<<1,b=y,g=l,y=y<<1|l>>>31,Ve(H,f,i,0,0,x,y,0,0),w=a+1168|0,n=m,Ve(w,E,n,0,0,E,n,0,0),te=a+1152|0,Ve(te,o[a+1168>>2],o[a+1172>>2],0,0,15632,16,0,0),q=a+1120|0,l=E<<1,m=n<<1|E>>>31,Ve(q,l,m,0,0,P,_,0,0),X=a+1216|0,Ve(X,s,c,0,0,x,y,0,0),re=a+1328|0,Ve(re,f,i,0,0,f,i,0,0),Q=a+1136|0,n=w+8|0,Ve(Q,o[n>>2],o[n+4>>2],0,0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],n=E+o[a+1188>>2]|0,n=s>>>0>f>>>0?n+1|0:n,s=f,f=n,n=n+y|0,c=s+c|0,n=c>>>0>>0?n+1|0:n,y=c,c=n,Ve(Q,y,1048575&n,0,0,15632,16,0,0),u=a+1264|0,Ve(u,P,V,0,0,p,d,0,0),d=a+1296|0,Ve(d,g,b,0,0,g,b,0,0),P=a+1040|0,Ve(P,l,m,0,0,x,w,0,0),p=a+1024|0,l=p,y=(0|n)==(0|f)&s>>>0>y>>>0|n>>>0>>0,s=(0|f)==(0|E)&s>>>0<_>>>0|f>>>0>>0,n=re+8|0,E=o[n>>2],_=X+8|0,f=E+o[_>>2]|0,n=o[_+4>>2]+o[n+4>>2]|0,n=f>>>0>>0?n+1|0:n,m=f,f=s+f|0,n=m>>>0>f>>>0?n+1|0:n,i=i>>>20|0,s=i,i=i+f|0,n=s>>>0>i>>>0?n+1|0:n,f=i+y|0,i=f>>>0>>0?n+1|0:n,s=i<<12|f>>>20,y=f<<12|c>>>20,E=o[a+1040>>2],f=y+E|0,c=s,n=s+o[a+1044>>2]|0,n=f>>>0>>0?n+1|0:n,Ve(l,f,n,0,0,15632,16,0,0),g=a+1008|0,s=g,f=(0|n)==(0|c)&f>>>0>>0|n>>>0>>0,n=P+8|0,c=o[n>>2],n=o[n+4>>2],i=i>>>20|0,l=i,i=i+c|0,n=l>>>0>i>>>0?n+1|0:n,c=i,i=i+f|0,n=c>>>0>i>>>0?n+1|0:n,Ve(s,i,n,0,0,64028672,65536,0,0),Q=o[a+1608>>2],re=o[a+1612>>2],J=o[a+1600>>2],we=o[a+1604>>2],fe=o[a+1584>>2],Te=o[a+1588>>2],P=o[a+1616>>2],_=o[a+1620>>2],oe=o[a+1592>>2],xe=o[a+1596>>2],o[a+1416>>2]=-4-U,o[a+1420>>2]=262143-((U>>>0>4294967292)+Y|0),o[a+1408>>2]=-4-z,o[a+1412>>2]=4194303-((z>>>0>4294967292)+B|0),o[a+1400>>2]=-4-ce,o[a+1404>>2]=4194303-((ce>>>0>4294967292)+M|0),o[a+1392>>2]=-4-se,o[a+1396>>2]=4194303-((se>>>0>4294967292)+D|0),o[a+1384>>2]=-3908-R,o[a+1388>>2]=4194299-((R>>>0>4294963388)+ee|0),n=le+8|0,b=o[n>>2],x=o[n+4>>2],n=ve+8|0,c=o[n>>2],z=o[n+4>>2],f=o[a+1248>>2],n=o[a+1252>>2],s=o[a+1088>>2],i=o[a+1092>>2],y=q+8|0,U=o[y>>2],R=o[y+4>>2],y=pe+8|0,l=o[y>>2],D=o[y+4>>2],E=o[a+1280>>2],M=o[a+1284>>2],m=o[a+1056>>2],y=o[a+1060>>2],d=d+8|0,le=o[d>>2],ve=o[d+4>>2],u=u+8|0,ee=o[u>>2],pe=o[u+4>>2],u=o[a+1296>>2],Ce=o[a+1300>>2],q=o[a+1264>>2],B=o[a+1268>>2],d=p+8|0,V=o[d>>2],se=o[d+4>>2],d=o[a+1024>>2],p=o[a+1028>>2],X=o[a+1008>>2],Y=o[a+1012>>2],g=g+8|0,Ie=o[g>>2],ce=o[g+4>>2],Pe=a+1384|0,ue(a+1504|0,F,Pe),n=n+i|0,w=s+f|0,f=w>>>0>>0?n+1|0:n,s=(0|i)==(0|f)&s>>>0>w>>>0|i>>>0>f>>>0,i=x+z|0,n=c,c=c+b|0,n=n>>>0>c>>>0?i+1|0:i,i=s+c|0,c=i>>>0>>0?n+1|0:n,n=c<<12|i>>>20,F=f,f=i<<12|f>>>20,g=n,n=y+M|0,s=m+E|0,i=s>>>0>>0?n+1|0:n,n=i+g|0,x=s+f|0,f=x>>>0>>0?n+1|0:n,E=(0|i)==(0|f)&s>>>0>x>>>0|i>>>0>f>>>0,y=(0|i)==(0|y)&s>>>0>>0|i>>>0>>0,n=R+D|0,s=l+U|0,i=s>>>0>>0?n+1|0:n,n=s+y|0,i=n>>>0>>0?i+1|0:i,s=n,n=i,c=c>>>20|0,i=s+c|0,n=c>>>0>i>>>0?n+1|0:n,s=i,i=i+E|0,y=s>>>0>i>>>0?n+1|0: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>>20|0,R=i+se|0,D=i>>>0>R>>>0?n+1|0:n,i=y,n=le,M=D>>>20|0,B=M,M=M+te|0,i=B>>>0>M>>>0?i+1|0:i,B=i>>>20|0,le=B,B=B+Z|0,n=le>>>0>B>>>0?n+1|0:n,i=B|M|c|z|R|n|1048575&(F|U|D|i)?-1==(z&(976^c)&R&M&B)?1048575==(U&(1^F)&D&i&(983040^n)):0:1,n=i,i=V|L|G|j|N|1048575&(W|$|O|l)|H?-1==(G&(976^L)&j&V&N)?1048575==(W&(1^$)&O&l&(983040^H)):0:1,N=n&i,o[a+1376>>2]=N?Y:q,o[a+1380>>2]=N?ee:X,o[a+1368>>2]=N?u<<1:p,o[a+1372>>2]=N?re<<1|u>>>31:g,o[a+1360>>2]=N?m<<1:b,o[a+1364>>2]=N?Q<<1|m>>>31:S,o[a+1352>>2]=N?s<<1:x,o[a+1356>>2]=N?J<<1|s>>>31:v,o[a+1344>>2]=N?d<<1:w,o[a+1348>>2]=N?oe<<1|d>>>31:A,n=o[a+1420>>2]+ae|0,i=o[a+1416>>2]+K|0,n=i>>>0>>0?n+1|0:n,u=N?i:Z,o[a+1416>>2]=u,d=N?n:ie,o[a+1420>>2]=d,n=o[a+1412>>2]+Ae|0,i=o[a+1408>>2]+k|0,n=i>>>0>>0?n+1|0:n,V=N?i:te,o[a+1408>>2]=V,H=N?n:y,o[a+1412>>2]=H,n=o[a+1404>>2]+Ee|0,i=o[a+1400>>2]+I|0,n=i>>>0>>0?n+1|0:n,c=N?i:se,o[a+1400>>2]=c,s=N?n:E,o[a+1404>>2]=s,n=o[a+1396>>2]+_e|0,i=o[a+1392>>2]+C|0,n=i>>>0>>0?n+1|0:n,i=N?i:ce,o[a+1392>>2]=i,l=N?n:P,o[a+1396>>2]=l,n=o[a+1388>>2]+Se|0,m=o[a+1384>>2]+ne|0,n=m>>>0>>0?n+1|0:n,m=N?m:_,o[a+1384>>2]=m,n=N?n:f,p=n,o[a+1388>>2]=n,g=a+896|0,I=m<<1,C=n<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:n,Ve(d,c,n,0,0,15632,16,0,0),J=a+336|0,u=J,m=(0|n)==(0|i)&c>>>0>>0|n>>>0>>0,n=p+8|0,d=o[n>>2],n=o[n+4>>2],c=s>>>20|0,i=c+d|0,n=c>>>0>i>>>0?n+1|0:n,s=i,i=i+m|0,n=s>>>0>i>>>0?n+1|0:n,Ve(u,i,n,0,0,64028672,65536,0,0),n=a+1424|0,ue(n,n,a+1464|0),n=o[a+1348>>2],v=n,w=o[a+1344>>2],s=w,n=n<<1|s>>>31,A=a- -64|0,i=o[a+1368>>2],c=o[a+1372>>2],b=s<<1,g=n,Ve(A,i,c,0,0,b,n,0,0),n=o[a+1356>>2],W=n,j=o[a+1352>>2],u=j,n=n<<1|u>>>31,G=a+272|0,s=o[a+1360>>2],m=o[a+1364>>2],x=u<<1,d=n,Ve(G,s,m,0,0,x,n,0,0),C=a+224|0,n=o[a+1376>>2],u=o[a+1380>>2],Ve(C,n,u,0,0,n,u,0,0),O=a+208|0,Ve(O,o[a+224>>2],o[a+228>>2],0,0,15632,16,0,0),p=u<<1,u=n,n=p|n>>>31,R=a+176|0,p=u<<1,S=n,Ve(R,p,n,0,0,w,v,0,0),D=a+80|0,Ve(D,i,c,0,0,x,d,0,0),M=a+256|0,Ve(M,s,m,0,0,s,m,0,0),B=a+192|0,n=C+8|0,Ve(B,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),ee=a+320|0,Ve(ee,w,v,0,0,w,v,0,0),q=a+160|0,Ve(q,p,S,0,0,j,W,0,0),X=a+96|0,C=i,I=c,k=m,x=s,Ve(X,i,c,0,0,s<<1,m<<1|s>>>31,0,0),d=o[a+64>>2],c=o[a+272>>2],i=d+c|0,u=o[a+68>>2],n=u+o[a+276>>2]|0,n=i>>>0>>0?n+1|0:n,s=i,i=o[a+208>>2],m=s+i|0,c=n,n=n+o[a+212>>2]|0,i=i>>>0>m>>>0?n+1|0:n,$=m,m=(0|c)==(0|i)&m>>>0>>0|i>>>0>>0,n=O+8|0,v=o[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n=A,i=s>>>20|0,y=i+w|0,l=i>>>0>y>>>0?n+1|0:n,i=p,P=l>>>20|0,n=P+G|0,i=P>>>0>n>>>0?i+1|0:i,e=n|y|e|r|c|i|1048575&(t|f|s|l)?-1==(r&(976^e)&c&y&n)?1048575==(f&(1^t)&s&l&(983040^i)):0:1,o[E+120>>2]=e&~be,o[U>>2]=v&_,o[U+4>>2]=a&d,h=m+1744|0}function Oe(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0;i=h-336|0,h=i,r=o[t+4>>2],_=r,y=o[t>>2],n=y,r=r<<1|n>>>31,d=i- -64|0,g=o[t+24>>2],m=o[t+28>>2],C=n<<1,k=r,Ve(d,g,m,0,0,C,r,0,0),r=o[t+12>>2],D=r,N=o[t+8>>2],n=N,r=r<<1|n>>>31,u=i+272|0,w=o[t+16>>2],p=o[t+20>>2],n<<=1,a=r,Ve(u,w,p,0,0,n,r,0,0),c=i+224|0,s=o[t+32>>2],t=o[t+36>>2],Ve(c,s,t,0,0,s,t,0,0),l=i+208|0,Ve(l,o[i+224>>2],o[i+228>>2],0,0,15632,16,0,0),r=t<<1|s>>>31,R=i+176|0,A=s<<1,M=r,Ve(R,A,r,0,0,y,_,0,0),B=i+80|0,Ve(B,g,m,0,0,n,a,0,0),L=i+256|0,Ve(L,w,p,0,0,w,p,0,0),f=i+192|0,t=c+8|0,Ve(f,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),j=i+320|0,Ve(j,y,_,0,0,y,_,0,0),I=i+160|0,Ve(I,A,r,0,0,N,D,0,0),O=i+96|0,Ve(O,g,m,0,0,w<<1,p<<1|w>>>31,0,0),y=o[i+68>>2],r=y+o[i+276>>2]|0,s=o[i+64>>2],t=o[i+272>>2],n=s+t|0,a=o[i+208>>2],F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o[r+4>>2],r=n>>>0>a>>>0?r+1|0:r,t=t>>>20|0,n=t,t=t+a|0,r=n>>>0>t>>>0?r+1|0:r,n=t,t=t+u|0,r=n>>>0>t>>>0?r+1|0:r,e=t<<12|e>>>20,n=e+T|0,r=d+(r<<12|t>>>20)|0,o[s+32>>2]=n,o[s+36>>2]=e>>>0>n>>>0?r+1|0:r,h=i+336|0}function Pe(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0,q=0,W=0,K=0,X=0,Z=0,Y=0,Q=0,J=0,ee=0,te=0,re=0,ne=0,oe=0,ie=0,ae=0,se=0,ce=0,le=0;i=h-464|0,h=i,o[e+120>>2]=o[t+120>>2],r=t+40|0,ue(e+80|0,t+80|0,r),Oe(i+384|0,r),L=i+424|0,Oe(L,t),y=o[i+388>>2],v=o[i+384>>2],o[i+344>>2]=-3908-v,o[i+348>>2]=4194299-((v>>>0>4294963388)+y|0),m=o[i+396>>2],_=o[i+392>>2],o[i+352>>2]=-4-_,o[i+356>>2]=4194303-((_>>>0>4294967292)+m|0),A=o[i+404>>2],w=o[i+400>>2],o[i+360>>2]=-4-w,o[i+364>>2]=4194303-((w>>>0>4294967292)+A|0),d=o[i+412>>2],c=o[i+408>>2],o[i+368>>2]=-4-c,o[i+372>>2]=4194303-((c>>>0>4294967292)+d|0),s=We(o[i+456>>2],o[i+460>>2],3,0),a=T,E=We(o[i+424>>2],o[i+428>>2],3,0),l=T,r=1&E,n=0-r|0,p=n,f=0-r|0,r=(f>>>16|0)+a|0,n=(65535&f)<<16|n>>>16,a=n+s|0,r=n>>>0>a>>>0?r+1|0:r,o[i+456>>2]=(1&r)<<31|a>>>1,o[i+460>>2]=r>>>1,u=a<<19&524288,s=f>>>12|0,p=(4095&f)<<20|p>>>12,n=We(o[i+448>>2],o[i+452>>2],3,0),a=p+n|0,r=s+T|0,n=n>>>0>a>>>0?r+1|0:r,r=(n>>>1|0)+u|0,f=(1&n)<<31|a>>>1,r=f>>>0>f>>>0?r+1|0:r,o[i+448>>2]=f,o[i+452>>2]=r,f=a<<19&524288,a=We(o[i+440>>2],o[i+444>>2],3,0)+p|0,n=T+s|0,n=a>>>0

>>0?n+1|0:n,r=(n>>>1|0)+f|0,u=(1&n)<<31|a>>>1,r=u>>>0>u>>>0?r+1|0:r,o[i+440>>2]=u,o[i+444>>2]=r,u=a<<19&524288,n=We(o[i+432>>2],o[i+436>>2],3,0),f=n+p|0,r=s+T|0,a=n>>>0>f>>>0?r+1|0:r,r=(a>>>1|0)+u|0,S=(1&a)<<31|f>>>1,n=S,r=n>>>0>n>>>0?r+1|0:r,o[i+432>>2]=n,o[i+436>>2]=r,f=f<<19&524288,r=(1048574&s)+l|0,a=(-977&p)+E|0,r=a>>>0>>0?r+1|0:r,a=(1&r)<<31|a>>>1,r=(r>>>1|0)+f|0,n=a,r=n>>>0>>0?r+1|0:r,o[i+424>>2]=n,o[i+428>>2]=r,l=o[i+420>>2],u=o[i+416>>2],o[i+376>>2]=-4-u,o[i+380>>2]=262143-((u>>>0>4294967292)+l|0),D=i+344|0,ue(D,D,t),Oe(e,L),t=o[i+376>>2],ee=t,r=o[i+380>>2],te=r,r=o[e+36>>2]+(r<<1|t>>>31)|0,t<<=1,n=t,t=t+o[e+32>>2]|0,r=n>>>0>t>>>0?r+1|0:r,$=t,o[e+32>>2]=t,N=r,o[e+36>>2]=r,s=e,a=o[e+24>>2],e=o[i+368>>2],re=e,t=o[i+372>>2],ne=t,r=o[s+28>>2]+(t<<1|e>>>31)|0,e<<=1,t=e,e=e+a|0,r=t>>>0>e>>>0?r+1|0:r,z=e,o[s+24>>2]=e,F=r,o[s+28>>2]=r,e=o[i+360>>2],oe=e,t=o[i+364>>2],ie=t,r=o[s+20>>2]+(t<<1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t+112|0,g=o[n>>2],u=o[n+4>>2],y=u,n=o[t+80>>2],r=We(u>>>16|0,0,977,1),d=n+r|0,a=a+T|0,n=s,l=r>>>0>d>>>0?a+1|0:a,r=l>>>20|0,s=r,r=r+i|0,s=s>>>0>r>>>0?n+1|0:n,v=1048575&s,a=t+104|0,m=o[a>>2],b=o[a+4>>2],a=t+96|0,u=o[a>>2],i=o[a+4>>2],a=s>>>20|0,u=a+u|0,i=a>>>0>u>>>0?i+1|0:i,n=b,p=i,i=i>>>20|0,a=i+m|0,n=i>>>0>a>>>0?n+1|0:n,m=1048575&n,b=t+80|0,i=u,p&=1048575,w=-1==(r&i&a)&1048575==(s&p&n),s=n>>>20|0,n=65535&y,u=s+g|0,s=u>>>0>>0?n+1|0:n,n=1048575&l,g=n,w&-1==(0|u)&65535==(0|s)&(1048574==(0|n)&d>>>0>4294966318|n>>>0>1048574)|s>>>16&&(n=g+1|0,d=d+977|0,n=d>>>0<977?n+1|0:n,g=1048575&n,l=n,n=v,l=l>>>20|0,r=r+l|0,n=l>>>0>r>>>0?n+1|0:n,v=1048575&n,l=i,y=n>>>20|0,i=p,n=l+y|0,i=n>>>0>>0?i+1|0:i,p=1048575&i,l=i,i=n,n=m,l=l>>>20|0,a=a+l|0,n=l>>>0>a>>>0?n+1|0:n,m=1048575&n,l=n,n=s,s=u,u=(l>>>20|0)+u|0,s=65535&(s>>>0>u>>>0?n+1:n)),o[c+72>>2]=s>>>8,o[c+76>>2]=0,n=s<<22|u>>>10,o[c+64>>2]=u<<22&-4194304|(1073741823&m)<<2|a>>>30,o[c+68>>2]=1073741823&n|m>>>30,o[c+56>>2]=(1048575&p)<<12|i>>>20,o[c+60>>2]=1073741823&a|p>>>20,i=i<<10&1073740800,o[c+48>>2]=(1023&v)<<22|r>>>10,o[c+52>>2]=v>>>10|i,o[c+40>>2]=d,o[c+44>>2]=g|r<<20&1072693248,d=c+40|0,me(d,690464),a=o[c+44>>2],i=a,o[t+80>>2]=o[c+40>>2],o[t+84>>2]=1048575&i,a=o[c+72>>2]<<8,u=o[c+68>>2],n=u>>>22|0,s=o[c+64>>2],o[t+112>>2]=(4194303&u)<<10|s>>>22,o[t+116>>2]=n|a,r=s,n=u<<30|r>>>2,s=r<<30&-1073741824,r=o[c+56>>2],a=o[c+60>>2],o[t+104>>2]=a|s,o[t+108>>2]=1048575&n,a=a<<20|r>>>12,s=r<<20&-1048576,u=1048575&a,r=o[c+48>>2],a=o[c+52>>2],o[t+96>>2]=a>>>10|s,o[t+100>>2]=u,n=a<<10|r>>>22,o[t+88>>2]=r<<10&-1024|i>>>20,o[t+92>>2]=1048575&n,Oe(d,b),ue(c,b,d),ue(t,t,d),r=t+40|0,ue(r,r,c),o[f>>2]=0,o[f+4>>2]=0,r=f+8|0,o[r>>2]=0,o[r+4>>2]=0,r=f+16|0,o[r>>2]=0,o[r+4>>2]=0,r=f+24|0,o[r>>2]=0,o[r+4>>2]=0,o[e+80>>2]=0,o[t+80>>2]=1,o[t+84>>2]=0,r=o[t+4>>2],o[e>>2]=o[t>>2],o[e+4>>2]=r,r=t+8|0,a=o[r+4>>2],i=e+8|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+16|0,a=o[r+4>>2],i=e+16|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+24|0,a=o[r+4>>2],i=e+24|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+32|0,a=o[r+4>>2],i=e+32|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+72|0,a=o[r+4>>2],i=e+72|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t- -64|0,a=o[r+4>>2],i=e- -64|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+56|0,a=o[r+4>>2],i=e+56|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+48|0,a=o[r+4>>2],i=e+48|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=o[t+44>>2],o[e+40>>2]=o[t+40>>2],o[e+44>>2]=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0,r[690889]=0,r[690890]=0,r[690891]=0,r[690892]=0,r[690909]=0,r[690910]=0,r[690911]=0,r[690912]=0,r[690913]=0,r[690914]=0,r[690915]=0,r[690916]=0,r[690901]=0,r[690902]=0,r[690903]=0,r[690904]=0,r[690905]=0,r[690906]=0,r[690907]=0,r[690908]=0,r[690893]=0,r[690894]=0,r[690895]=0,r[690896]=0,r[690897]=0,r[690898]=0,r[690899]=0,r[690900]=0,t?(c=i[t+60|0]|i[t+61|0]<<8|i[t+62|0]<<16|i[t+63|0]<<24,d=c>>>16|0,s=a+80|0,n=i[t+56|0]|i[t+57|0]<<8|i[t+58|0]<<16|i[t+59|0]<<24,o[s>>2]=(65535&c)<<16|n>>>16,o[s+4>>2]=d,l=n<<4&1048560,s=i[t+52|0]|i[t+53|0]<<8|i[t+54|0]<<16|i[t+55|0]<<24,n=s>>>28|0,u=a+72|0,c=i[t+48|0]|i[t+49|0]<<8|i[t+50|0]<<16|i[t+51|0]<<24,o[u>>2]=(268435455&s)<<4|c>>>28,o[u+4>>2]=n|l,n=c,d=s<<24|n>>>8,c=i[t+40|0]|i[t+41|0]<<8|i[t+42|0]<<16|i[t+43|0]<<24,l=a- -64|0,s=i[t+44|0]|i[t+45|0]<<8|i[t+46|0]<<16|i[t+47|0]<<24,o[l>>2]=n<<24&-16777216|s>>>8,o[l+4>>2]=1048575&d,n=c,s=1048575&(s<<12|n>>>20),l=i[t+32|0]|i[t+33|0]<<8|i[t+34|0]<<16|i[t+35|0]<<24,u=a+56|0,f=i[t+36|0]|i[t+37|0]<<8|i[t+38|0]<<16|i[t+39|0]<<24,o[u>>2]=n<<12&-4096|f>>>20,o[u+4>>2]=s,o[a+88>>2]=0,o[a+48>>2]=l,o[a+52>>2]=1048575&f,c=i[t+12|0]|i[t+13|0]<<8|i[t+14|0]<<16|i[t+15|0]<<24,n=i[t+8|0]|i[t+9|0]<<8|i[t+10|0]<<16|i[t+11|0]<<24,d=c<<12|n>>>20,s=n<<12&-4096,n=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,f=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,p=f>>>20|s,o[a+16>>2]=p,m=1048575&d,o[a+20>>2]=m,s=n,o[a+8>>2]=n,g=1048575&f,o[a+12>>2]=g,u=i[t+28|0]|i[t+29|0]<<8|i[t+30|0]<<16|i[t+31|0]<<24,n=u>>>16|0,l=i[t+24|0]|i[t+25|0]<<8|i[t+26|0]<<16|i[t+27|0]<<24,f=(65535&u)<<16|l>>>16,o[a+40>>2]=f,u=n,o[a+44>>2]=n,n=i[t+16|0]|i[t+17|0]<<8|i[t+18|0]<<16|i[t+19|0]<<24,v=n,y=i[t+20|0]|i[t+21|0]<<8|i[t+22|0]<<16|i[t+23|0]<<24,t=n,n=y<<24|t>>>8,c=t<<24&-16777216|c>>>8,o[a+24>>2]=c,d=1048575&n,o[a+28>>2]=d,t=y,n=t>>>28|0,t=(268435455&t)<<4|v>>>28,o[a+32>>2]=t,n|=l<<4&1048560,o[a+36>>2]=n,s|p|f|c|t|m|g|u|d|n?(fe(690885,a+8|0),b=1):Xe[o[e+168>>2]](690116,o[e+172>>2])):Xe[o[e+168>>2]](689638,o[e+172>>2]),h=a+96|0,b}function Me(e,t,r,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,T=0,x=0,C=0,I=0,O=0,P=0;return a=h-96|0,h=a,t?n?(p=i[n+60|0]|i[n+61|0]<<8|i[n+62|0]<<16|i[n+63|0]<<24,s=p>>>16|0,c=a+80|0,u=i[n+56|0]|i[n+57|0]<<8|i[n+58|0]<<16|i[n+59|0]<<24,p=(65535&p)<<16|u>>>16,o[c>>2]=p,C=s,o[c+4>>2]=s,f=u<<4&1048560,l=i[n+52|0]|i[n+53|0]<<8|i[n+54|0]<<16|i[n+55|0]<<24,s=l>>>28|0,c=a+72|0,u=i[n+48|0]|i[n+49|0]<<8|i[n+50|0]<<16|i[n+51|0]<<24,g=(268435455&l)<<4|u>>>28,o[c>>2]=g,b=s|f,o[c+4>>2]=b,s=l<<24|u>>>8,f=u<<24&-16777216,u=i[n+40|0]|i[n+41|0]<<8|i[n+42|0]<<16|i[n+43|0]<<24,c=a- -64|0,l=i[n+44|0]|i[n+45|0]<<8|i[n+46|0]<<16|i[n+47|0]<<24,y=l>>>8|f,o[c>>2]=y,w=1048575&s,o[c+4>>2]=w,s=u,f=l<<12|s>>>20,u=i[n+32|0]|i[n+33|0]<<8|i[n+34|0]<<16|i[n+35|0]<<24,c=a+56|0,d=i[n+36|0]|i[n+37|0]<<8|i[n+38|0]<<16|i[n+39|0]<<24,v=s<<12&-4096|d>>>20,o[c>>2]=v,_=1048575&f,o[c+4>>2]=_,o[a+88>>2]=0,o[a+48>>2]=u,E=1048575&d,o[a+52>>2]=E,s=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,c=s,l=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,d=1048575&(s<<12|l>>>20),s=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,m=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,A=l<<12&-4096|m>>>20,o[a+16>>2]=A,I=d,o[a+20>>2]=d,l=s,o[a+8>>2]=s,S=1048575&m,o[a+12>>2]=S,d=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,s=d>>>16|0,f=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,m=(65535&d)<<16|f>>>16,o[a+40>>2]=m,d=s,o[a+44>>2]=s,s=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,O=s,T=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,n=s,x=1048575&(T<<24|n>>>8),c=n<<24&-16777216|c>>>8,o[a+24>>2]=c,o[a+28>>2]=x,n=T,s=n>>>28|0,n=(268435455&n)<<4|O>>>28,o[a+32>>2]=n,s|=f<<4&1048560,o[a+36>>2]=s,l|A|m|c|n|I|S|d|x|s?(1&u&&(o[a+80>>2]=-4-p,o[a+84>>2]=262143-((p>>>0>4294967292)+C|0),o[a+72>>2]=-4-g,o[a+76>>2]=4194303-((g>>>0>4294967292)+b|0),o[a+64>>2]=-4-y,o[a+68>>2]=4194303-((y>>>0>4294967292)+w|0),o[a+56>>2]=-4-v,o[a+60>>2]=4194303-((v>>>0>4294967292)+_|0),o[a+48>>2]=-3908-u,o[a+52>>2]=4194299-((u>>>0>4294963388)+E|0),P=1),r&&(o[r>>2]=P),le(t,a+8|0),e=1):(Xe[o[e+168>>2]](690116,o[e+172>>2]),e=0)):(Xe[o[e+168>>2]](689638,o[e+172>>2]),e=0):(Xe[o[e+168>>2]](689586,o[e+172>>2]),e=0),h=a+96|0,e}function Be(e,t){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0;if(n=h-256|0,h=n,t)if(u=He(t,96),o[e>>2]){a=n+96|0,l=n+128|0,he(a,690788,l),f=o[n+120>>2],p=o[n+112>>2],s=o[n+104>>2],m=o[n+96>>2],g=o[n+124>>2],y=o[n+116>>2],v=o[n+108>>2],b=o[n+100>>2],d=o[n+128>>2]|!(f|p|s|m|g|y|v|b),t=d?0:-1,o[n+120>>2]=t&f,o[n+124>>2]=t&g,o[n+112>>2]=t&p,o[n+116>>2]=t&y,o[n+104>>2]=t&s,o[n+108>>2]=t&v,s=0!=(0|d),o[n+96>>2]=s|t&m,o[n+100>>2]=t&b,Ae(e,l,a),e=n+8|0,Se(e,l),pe(u,a),le(u+32|0,e),o[n+128>>2]=s,e=o[n+128>>2]-1|0;while(1)if(t=c+u|0,r[0|t]=i[0|t]&e,a=t+1|0,r[0|a]=i[0|a]&e,a=t+2|0,r[0|a]=i[0|a]&e,a=t+3|0,r[0|a]=i[0|a]&e,a=t+4|0,r[0|a]=i[0|a]&e,t=t+5|0,r[0|t]=i[0|t]&e,c=c+6|0,96==(0|c))break;c=!d}else Xe[o[e+168>>2]](690045,o[e+172>>2]);else Xe[o[e+168>>2]](689700,o[e+172>>2]);return h=n+256|0,c}function Le(e,t,n,a,s,c,u,l){e|=0,t|=0,n|=0,a|=0,s|=0,c|=0,u|=0,l|=0;var d=0,f=0;if(d=h-176|0,h=d,c){l?(o[d+136>>2]=64,o[d+140>>2]=0,o[d+64>>2]=1252796217,o[d+68>>2]=614368522,o[d+56>>2]=989586609,o[d+60>>2]=1279582103,o[d+48>>2]=-904942663,o[d+52>>2]=262346349,o[d+40>>2]=618476057,o[d+44>>2]=1320844912,f=d+40|0,re(f,l,32),ne(f,d),r[0|d]=i[0|d]^i[0|a],r[d+1|0]=i[d+1|0]^i[a+1|0],r[d+2|0]=i[d+2|0]^i[a+2|0],r[d+3|0]=i[d+3|0]^i[a+3|0],r[d+4|0]=i[d+4|0]^i[a+4|0],r[d+5|0]=i[d+5|0]^i[a+5|0],r[d+6|0]=i[d+6|0]^i[a+6|0],r[d+7|0]=i[d+7|0]^i[a+7|0],r[d+8|0]=i[d+8|0]^i[a+8|0],r[d+9|0]=i[d+9|0]^i[a+9|0],r[d+10|0]=i[d+10|0]^i[a+10|0],r[d+11|0]=i[d+11|0]^i[a+11|0],r[d+12|0]=i[d+12|0]^i[a+12|0],r[d+13|0]=i[d+13|0]^i[a+13|0],r[d+14|0]=i[d+14|0]^i[a+14|0],r[d+15|0]=i[d+15|0]^i[a+15|0],r[d+16|0]=i[d+16|0]^i[a+16|0],r[d+17|0]=i[d+17|0]^i[a+17|0],r[d+18|0]=i[d+18|0]^i[a+18|0],r[d+19|0]=i[d+19|0]^i[a+19|0],r[d+20|0]=i[d+20|0]^i[a+20|0],r[d+21|0]=i[d+21|0]^i[a+21|0],r[d+22|0]=i[d+22|0]^i[a+22|0],r[d+23|0]=i[d+23|0]^i[a+23|0],r[d+24|0]=i[d+24|0]^i[a+24|0],r[d+25|0]=i[d+25|0]^i[a+25|0],r[d+26|0]=i[d+26|0]^i[a+26|0],r[d+27|0]=i[d+27|0]^i[a+27|0],r[d+28|0]=i[d+28|0]^i[a+28|0],r[d+29|0]=i[d+29|0]^i[a+29|0],r[d+30|0]=i[d+30|0]^i[a+30|0],r[d+31|0]=i[d+31|0]^i[a+31|0]):(r[0|d]=84^i[0|a],r[d+1|0]=241^i[a+1|0],r[d+2|0]=105^i[a+2|0],r[d+3|0]=207^i[a+3|0],r[d+4|0]=201^i[a+4|0],r[d+5|0]=226^i[a+5|0],r[d+6|0]=229^i[a+6|0],r[d+7|0]=114^i[a+7|0],r[d+8|0]=116^i[a+8|0],r[d+9|0]=128^i[a+9|0],r[d+10|0]=68^i[a+10|0],r[d+11|0]=31^i[a+11|0],r[d+12|0]=144^i[a+12|0],r[d+13|0]=186^i[a+13|0],r[d+14|0]=37^i[a+14|0],r[d+15|0]=196^i[a+15|0],r[d+16|0]=136^i[a+16|0],r[d+17|0]=244^i[a+17|0],r[d+18|0]=97^i[a+18|0],r[d+19|0]=199^i[a+19|0],r[d+20|0]=11^i[a+20|0],r[d+21|0]=94^i[a+21|0],r[d+22|0]=165^i[a+22|0],r[d+23|0]=220^i[a+23|0],r[d+24|0]=170^i[a+24|0],r[d+25|0]=247^i[a+25|0],r[d+26|0]=175^i[a+26|0],r[d+27|0]=105^i[a+27|0],r[d+28|0]=39^i[a+28|0],r[d+29|0]=10^i[a+29|0],r[d+30|0]=165^i[a+30|0],r[d+31|0]=20^i[a+31|0]);e:if(13!=(0|u))o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,a=d+40|0,re(a,c,u),c=d+144|0,ne(a,c),o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,re(a,c,32),re(a,c,32);else{if(66==i[0|c]&&73==i[c+1|0]&&80==i[c+2|0]&&48==i[c+3|0]&&51==i[c+4|0]&&52==i[c+5|0]&&48==i[c+6|0]&&47==i[c+7|0]&&110==i[c+8|0]&&111==i[c+9|0]&&110==i[c+10|0]&&99==i[c+11|0]&&101==i[c+12|0]){o[d+136>>2]=64,o[d+140>>2]=0,o[d+64>>2]=564305492,o[d+68>>2]=1756396364,o[d+56>>2]=1612804480,o[d+60>>2]=1463125601,o[d+48>>2]=-1618098575,o[d+52>>2]=-2090698061,o[d+40>>2]=1180785461,o[d+44>>2]=-188760073;break e}o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,a=d+40|0,re(a,c,13),c=d+144|0,ne(a,c),o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,re(a,c,32),re(a,c,32)}a=d+40|0,re(a,d,32),re(a,s,32),re(a,t,n),ne(a,e),e=1}else e=0;return h=d+176|0,0|e}function De(e,t,r){var n=0,i=0,a=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0;u=h-32|0,h=u,g=He(e,516),e=t+24|0,f=o[e>>2],e=o[e+4>>2],i=u+24|0,o[i>>2]=f,o[i+4>>2]=e,i=t+16|0,n=o[i+4>>2],a=u+16|0,o[a>>2]=o[i>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o[e>>2]=t,o[e+4>>2]=r,t=o[n+8>>2],r=o[n+12>>2]<<12|t>>>20,o[e+8>>2]=t<<12&-4096|o[n+4>>2]>>>20,o[e+12>>2]=1048575&r,t=o[n+16>>2],r=o[n+20>>2]<<24|t>>>8,o[e+16>>2]=t<<24&-16777216|o[n+12>>2]>>>8,o[e+20>>2]=1048575&r,i=o[n+24>>2]<<4&1048560,r=o[n+20>>2],t=r>>>28|0,o[e+24>>2]=(268435455&r)<<4|o[n+16>>2]>>>28,o[e+28>>2]=t|i,t=o[n+28>>2],r=t>>>16|0,o[e+32>>2]=(65535&t)<<16|o[n+24>>2]>>>16,o[e+36>>2]=r,t=1048575&o[n+36>>2],o[e+40>>2]=o[n+32>>2],o[e+44>>2]=t,i=n+40|0,t=o[i>>2],r=o[i+4>>2]<<12|t>>>20,a=e+48|0,o[a>>2]=t<<12&-4096|o[n+36>>2]>>>20,o[a+4>>2]=1048575&r,a=n+48|0,t=o[a>>2],r=o[a+4>>2]<<24|t>>>8,s=e+56|0,o[s>>2]=t<<24&-16777216|o[i+4>>2]>>>8,o[s+4>>2]=1048575&r,n=n+56|0,t=o[n>>2],s=t<<4&1048560,r=o[a+4>>2],t=r>>>28|0,i=e- -64|0,o[i>>2]=(268435455&r)<<4|o[a>>2]>>>28,o[i+4>>2]=t|s,t=e+72|0,i=o[n+4>>2],o[t>>2]=(65535&i)<<16|o[n>>2]>>>16,o[t+4>>2]=i>>>16):(n=t+(~r/2<<6)|0,t=o[n>>2],r=1048575&o[n+4>>2],o[e>>2]=t,o[e+4>>2]=r,t=o[n+8>>2],r=o[n+12>>2]<<12|t>>>20,o[e+8>>2]=t<<12&-4096|o[n+4>>2]>>>20,o[e+12>>2]=1048575&r,t=o[n+16>>2],r=o[n+20>>2]<<24|t>>>8,o[e+16>>2]=t<<24&-16777216|o[n+12>>2]>>>8,o[e+20>>2]=1048575&r,i=o[n+24>>2]<<4&1048560,r=o[n+20>>2],t=r>>>28|0,o[e+24>>2]=(268435455&r)<<4|o[n+16>>2]>>>28,o[e+28>>2]=t|i,t=o[n+28>>2],r=t>>>16|0,o[e+32>>2]=(65535&t)<<16|o[n+24>>2]>>>16,o[e+36>>2]=r,s=1048575&o[n+36>>2],l=o[n+32>>2],o[e+40>>2]=l,o[e+44>>2]=s,i=n+40|0,t=o[i>>2],r=o[i+4>>2]<<12|t>>>20,d=e+48|0,a=d,f=t<<12&-4096|o[n+36>>2]>>>20,o[a>>2]=f,p=1048575&r,o[a+4>>2]=p,a=n+48|0,t=o[a>>2],r=o[a+4>>2]<<24|t>>>8,c=e+56|0,i=t<<24&-16777216|o[i+4>>2]>>>8,o[c>>2]=i,m=1048575&r,o[c+4>>2]=m,n=n+56|0,t=o[n>>2],h=t<<4&1048560,r=o[a+4>>2],t=r>>>28|0,u=e- -64|0,r=(268435455&r)<<4|o[a>>2]>>>28,o[u>>2]=r,a=t|h,o[u+4>>2]=a,h=o[n>>2],t=o[n+4>>2],o[u>>2]=-4-r,o[u+4>>2]=4194303-((r>>>0>4294967292)+a|0),o[c>>2]=-4-i,o[c+4>>2]=4194303-((i>>>0>4294967292)+m|0),o[d>>2]=-4-f,o[d+4>>2]=4194303-((f>>>0>4294967292)+p|0),o[e+40>>2]=-3908-l,o[e+44>>2]=4194299-((l>>>0>4294963388)+s|0),n=t>>>16|0,r=e+72|0,t=(65535&t)<<16|h>>>16,o[r>>2]=-4-t,o[r+4>>2]=262143-((t>>>0>4294967292)+n|0)),o[e+80>>2]=0}function je(e,t,r,n){var i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,m=0,g=0,y=0,v=0,b=0,w=0,_=0,E=0,A=0,S=0,x=0,C=0,I=0,O=0,P=0,k=0,N=0,R=0,M=0,B=0,L=0,D=0,F=0,j=0,U=0,$=0,z=0,H=0,V=0,G=0,q=0,W=0,K=0,X=0;s=h-1120|0,h=s;e:if(o[t+120>>2])o[e+120>>2]=o[r+80>>2],i=s+1080|0,Oe(i,n),t=s+1040|0,ue(t,i,n),ue(e,r,i),ue(e+40|0,r+40|0,t),t=e+88|0,o[t>>2]=0,o[t+4>>2]=0,o[e+80>>2]=1,o[e+84>>2]=0,t=e+96|0,o[t>>2]=0,o[t+4>>2]=0,t=e+104|0,o[t>>2]=0,o[t+4>>2]=0,e=e+112|0,o[e>>2]=0,o[e+4>>2]=0;else if(o[r+80>>2])Ge(e,t,128);else{if(W=s+1080|0,K=t+80|0,ue(W,K,n),n=o[s+1084>>2],y=n,p=o[s+1080>>2],i=p,n=n<<1|i>>>31,m=s+408|0,A=o[s+1104>>2],_=o[s+1108>>2],S=i<<1,P=n,Ve(m,A,_,0,0,S,n,0,0),n=o[s+1092>>2],G=n,V=o[s+1088>>2],a=V,n=n<<1|a>>>31,l=s+616|0,w=o[s+1096>>2],b=o[s+1100>>2],a<<=1,u=n,Ve(l,w,b,0,0,a,n,0,0),g=s+568|0,i=o[s+1112>>2],n=o[s+1116>>2],Ve(g,i,n,0,0,i,n,0,0),d=s+552|0,Ve(d,o[s+568>>2],o[s+572>>2],0,0,15632,16,0,0),n=n<<1|i>>>31,U=s+520|0,k=i<<1,E=n,Ve(U,k,n,0,0,p,y,0,0),B=s+424|0,Ve(B,A,_,0,0,a,u,0,0),R=s+600|0,Ve(R,w,b,0,0,w,b,0,0),f=s+536|0,n=g+8|0,Ve(f,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),z=s+664|0,Ve(z,p,y,0,0,p,y,0,0),$=s+504|0,Ve($,k,E,0,0,V,G,0,0),F=s+440|0,Ve(F,A,_,0,0,w<<1,b<<1|w>>>31,0,0),y=o[s+412>>2],n=y+o[s+620>>2]|0,c=o[s+408>>2],a=o[s+616>>2],i=c+a|0,u=o[s+552>>2],I=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+556>>2]|0,u=u>>>0>I>>>0?n+1|0:n,p=(0|a)==(0|u)&i>>>0>I>>>0|a>>>0>u>>>0,n=d+8|0,g=o[n>>2],d=o[n+4>>2],c=(0|a)==(0|y)&i>>>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=i>>>0>>0?n+1|0:n,n=p,a=d>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,E=a,o[I>>2]=a,x=1048575&n,o[I+4>>2]=x,I=b+16|0,a=t+56|0,f=o[a>>2],p=o[a+4>>2],a=n,n=p,a=a>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,w=a,o[I>>2]=a,C=1048575&n,o[I+4>>2]=C,I=b+24|0,a=t- -64|0,f=o[a>>2],p=o[a+4>>2],a=n,n=p,a=a>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,_=a,o[I>>2]=a,P=1048575&n,o[I+4>>2]=P,f=b+32|0,a=n,n=65535&v,a=a>>>20|0,c=a+c|0,n=a>>>0>c>>>0?n+1|0:n,b=c,o[f>>2]=c,a=n,o[f+4>>2]=n,I=i,o[s+920>>2]=i,S=1048575&d,o[s+924>>2]=S,n=s+880|0,ue(n,r+40|0,k),ue(n,n,W),i=s,r=o[i+960>>2],p=(r-g|0)-3908|0,n=4194299+(o[i+964>>2]-((r>>>0>>0)+O|0)|0)|0,o[i+840>>2]=p,d=p>>>0<4294963388?n+1|0:n,o[i+844>>2]=d,r=o[i+968>>2],f=(r-y|0)-4|0,n=4194303+(o[i+972>>2]-((r>>>0>>0)+R|0)|0)|0,o[i+848>>2]=f,g=f>>>0<4294967292?n+1|0:n,o[i+852>>2]=g,r=o[i+976>>2],v=(r-m|0)-4|0,n=4194303+(o[i+980>>2]-((r>>>0>>0)+N|0)|0)|0,o[i+856>>2]=v,m=v>>>0<4294967292?n+1|0:n,o[i+860>>2]=m,r=o[i+984>>2],y=(r-l|0)-4|0,n=4194303+(o[i+988>>2]-((r>>>0>>0)+M|0)|0)|0,o[i+864>>2]=y,l=y>>>0<4294967292?n+1|0:n,o[i+868>>2]=l,n=o[i+992>>2],r=(n-A|0)-4|0,n=262143+(o[i+996>>2]-((n>>>0>>0)+L|0)|0)|0,o[i+872>>2]=r,c=r>>>0<4294967292?n+1|0:n,o[i+876>>2]=c,n=o[i+912>>2],L=(b-n|0)-4|0,n=262143+(a-(o[i+916>>2]+(n>>>0>b>>>0)|0)|0)|0,a=L,o[i+832>>2]=a,u=a>>>0<4294967292?n+1|0:n,o[i+836>>2]=u,n=o[i+904>>2],N=(_-n|0)-4|0,n=4194303+(P-(o[i+908>>2]+(n>>>0>_>>>0)|0)|0)|0,o[i+824>>2]=N,A=N>>>0<4294967292?n+1|0:n,o[i+828>>2]=A,n=o[i+896>>2],M=(w-n|0)-4|0,n=4194303+(C-(o[i+900>>2]+(n>>>0>w>>>0)|0)|0)|0,o[i+816>>2]=M,_=M>>>0<4294967292?n+1|0:n,o[i+820>>2]=_,n=o[i+888>>2],O=(E-n|0)-4|0,n=4194303+(x-(o[i+892>>2]+(n>>>0>E>>>0)|0)|0)|0,o[i+808>>2]=O,b=O>>>0<4294967292?n+1|0:n,o[i+812>>2]=b,n=o[i+880>>2],k=(I-n|0)-3908|0,n=4194299+(S-(o[i+884>>2]+(n>>>0>I>>>0)|0)|0)|0,o[i+800>>2]=k,I=k>>>0<4294963388?n+1|0:n,o[i+804>>2]=I,i=We(c>>>16|0,0,977,1)+p|0,n=T+d|0,n=i>>>0

>>0?n+1|0:n,w=1048575&n,F=w,L=i,D=976^i,B=1^w,!((-1!=(0|D)|1048575!=(0|B))&0!=(i|w))&&(R=65535&c,i=n,n=g,i=(i>>>20|0)+f|0,n=i>>>0>>0?n+1|0:n,x=i,C=n,n=m,i=(C>>>20|0)+v|0,n=i>>>0>>0?n+1|0:n,P=i,S=n,n=l,i=(S>>>20|0)+y|0,n=i>>>0>>0?n+1|0:n,E=i,w=n,n=R,i=w>>>20|0,R=i,i=r+i|0,n=R>>>0>i>>>0?n+1|0:n,!(i|E|P|x|L|n|1048575&w|1048575&S|1048575&C|F&&(n=-1!=(x&D&P&E&i)?1:1048575!=(C&B&S&w&(983040^n)),n)))){if(r=We(u>>>16|0,0,977,1)+k|0,n=T+I|0,n=r>>>0>>0?n+1|0:n,c=1048575&n,v=c,i=r,y=976^i,f=1^c,!((-1!=(0|y)|1048575!=(0|f))&0!=(i|c))&&(m=65535&u,r=n,n=b,r=(r>>>20|0)+O|0,n=r>>>0>>0?n+1|0:n,l=r,p=n,n=_,r=(p>>>20|0)+M|0,n=r>>>0>>0?n+1|0:n,g=r,d=n,n=A,r=(d>>>20|0)+N|0,n=r>>>0>>0?n+1|0:n,c=r,u=n,n=m,r=u>>>20|0,m=r,r=r+a|0,n=m>>>0>r>>>0?n+1|0:n,!(r|c|g|i|l|n|1048575&u|1048575&d|1048575&p|v&&(r=-1!=(l&y&g&c&r)?1:1048575!=(p&f&d&u&(983040^n)),r)))){if(o[t+120>>2]){o[e+120>>2]=1,He(e,120);break e}Pe(e,t);break e}o[e+120>>2]=1,He(e,120);break e}o[e+120>>2]=0,j=s+840|0,ue(e+80|0,K,j),P=s+312|0,u=y,a=l,_=p<<1,l=d,A=l<<1|p>>>31,Ve(P,u,a,0,0,_,A,0,0),E=s+232|0,i=v,t=m,d=f<<1,y=g,b=f,g=g<<1|f>>>31,Ve(E,i,t,0,0,d,g,0,0),f=s+168|0,Ve(f,r,c,0,0,r,c,0,0),v=s+152|0,Ve(v,o[s+168>>2],o[s+172>>2],0,0,15632,16,0,0),n=c<<1|r>>>31,U=s+120|0,w=r<<1,I=n,Ve(U,w,n,0,0,p,l,0,0),$=s+280|0,Ve($,u,a,0,0,d,g,0,0),F=s+216|0,Ve(F,i,t,0,0,i,t,0,0),S=s+136|0,r=f+8|0,Ve(S,o[r>>2],o[r+4>>2],0,0,64028672,65536,0,0),D=s+328|0,Ve(D,p,l,0,0,p,l,0,0),B=s+104|0,Ve(B,w,n,0,0,b,y,0,0),l=t,L=i,n=t<<1|i>>>31,R=s+184|0,f=u,m=a,Ve(R,u,a,0,0,i<<1,n,0,0),g=o[s+316>>2],n=g+o[s+236>>2]|0,a=o[s+312>>2],r=o[s+232>>2],t=a+r|0,i=o[s+152>>2],p=t+i|0,r=t>>>0>>0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&i,o[m+4>>2]=P,m=y+24|0,p=t- -64|0,v=o[p>>2],O=o[p+4>>2],p=i,i=O,p=p>>>20|0,O=p+v|0,i=p>>>0>O>>>0?i+1|0:i,o[m>>2]=O,N=1048575&i,o[m+4>>2]=N,y=y+32|0,p=i,i=65535&x,p=p>>>20|0,m=l+p|0,i=p>>>0>m>>>0?i+1|0:i,o[y>>2]=m,v=i,o[y+4>>2]=i,x=a,o[u+576>>2]=a,B=1048575&g,o[u+580>>2]=B,i=u+536|0,ue(i,r+40|0,w),ue(i,i,R),r=o[u+616>>2],l=(r-f|0)-3908|0,i=4194299+(o[u+620>>2]-((r>>>0>>0)+E|0)|0)|0,o[u+496>>2]=l,p=l>>>0<4294963388?i+1|0:i,o[u+500>>2]=p,r=u,i=o[r+624>>2],f=(i-s|0)-4|0,i=4194303+(o[r+628>>2]-((i>>>0>>0)+_|0)|0)|0,o[r+504>>2]=f,g=f>>>0<4294967292?i+1|0:i,o[r+508>>2]=g,i=o[r+632>>2],a=(i-d|0)-4|0,i=4194303+(o[r+636>>2]-((i>>>0>>0)+k|0)|0)|0,o[r+512>>2]=a,d=a>>>0<4294967292?i+1|0:i,o[r+516>>2]=d,i=o[r+640>>2],s=(i-c|0)-4|0,i=4194303+(o[r+644>>2]-((i>>>0>>0)+C|0)|0)|0,o[r+520>>2]=s,c=s>>>0<4294967292?i+1|0:i,o[r+524>>2]=c,i=o[r+648>>2],r=(i-b|0)-4|0,i=262143+(o[u+652>>2]-((i>>>0>>0)+A|0)|0)|0,o[u+528>>2]=r,b=r>>>0<4294967292?i+1|0:i,o[u+532>>2]=b,i=o[u+568>>2],A=(m-i|0)-4|0,i=262143+(v-(o[u+572>>2]+(i>>>0>m>>>0)|0)|0)|0,o[u+488>>2]=A,m=A>>>0<4294967292?i+1|0:i,o[u+492>>2]=m,i=o[u+560>>2],v=(O-i|0)-4|0,i=4194303+(N-(o[u+564>>2]+(i>>>0>O>>>0)|0)|0)|0,O=v,o[u+480>>2]=v,N=v>>>0<4294967292?i+1|0:i,o[u+484>>2]=N,i=o[u+552>>2],v=(I-i|0)-4|0,i=4194303+(P-(o[u+556>>2]+(i>>>0>I>>>0)|0)|0)|0,I=v,o[u+472>>2]=v,P=v>>>0<4294967292?i+1|0:i,o[u+476>>2]=P,i=o[u+544>>2],v=(S-i|0)-4|0,i=4194303+(M-(o[u+548>>2]+(i>>>0>S>>>0)|0)|0)|0,o[u+464>>2]=v,M=v>>>0<4294967292?i+1|0:i,o[u+468>>2]=M,i=o[u+536>>2],y=(x-i|0)-3908|0,i=4194299+(B-(o[u+540>>2]+(i>>>0>x>>>0)|0)|0)|0,S=y,o[u+456>>2]=y,B=y>>>0<4294963388?i+1|0:i,o[u+460>>2]=B,y=We(b>>>16|0,0,977,1)+l|0,i=T+p|0,i=l>>>0>y>>>0?i+1|0:i,x=1048575&i,L=x,D=y,F=976^y,j=1^x,(-1!=(0|F)|1048575!=(0|j))&0!=(y|x)||(E=65535&b,y=i,i=g,y=(y>>>20|0)+f|0,x=y>>>0>>0?i+1|0:i,i=d,w=(x>>>20|0)+a|0,_=w>>>0>>0?i+1|0:i,i=c,k=(_>>>20|0)+s|0,C=k>>>0>>0?i+1|0:i,i=E,E=C>>>20|0,U=E,E=r+E|0,i=U>>>0>E>>>0?i+1|0:i,E|k|w|y|D|i|1048575&C|1048575&_|1048575&x|L&&(i=-1!=(y&F&w&k&E)?1:1048575!=(x&j&_&C&(983040^i)),i)))o[e+120>>2]=0,n&&(t=o[u+500>>2],o[n>>2]=o[u+496>>2],o[n+4>>2]=t,t=u+496|0,i=t+32|0,y=o[i+4>>2],m=n+32|0,o[m>>2]=o[i>>2],o[m+4>>2]=y,i=t+24|0,y=o[i+4>>2],m=n+24|0,o[m>>2]=o[i>>2],o[m+4>>2]=y,i=t+16|0,y=o[i+4>>2],m=n+16|0,o[m>>2]=o[i>>2],o[m+4>>2]=y,t=t+8|0,i=o[t+4>>2],n=n+8|0,o[n>>2]=o[t>>2],o[n+4>>2]=i),k=u+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+1|0:i,Ve(u,t,i,0,0,64028672,65536,0,0),t=u,f=o[t+80>>2],r=o[t+320>>2],a=f+r|0,s=o[t+84>>2],i=s+o[t+324>>2]|0,o[t+416>>2]=-3908-a,r=r>>>0>a>>>0?i+1|0:i,o[t+420>>2]=4194299-((1048575&r)+(a>>>0>4294963388)|0),s=(0|r)==(0|s)&a>>>0>>0|r>>>0>>0,i=M+8|0,f=o[i>>2],d=R+8|0,a=f+o[d>>2]|0,i=o[d+4>>2]+o[i+4>>2]|0,i=a>>>0>>0?i+1|0:i,s=a+s|0,a=s>>>0>>0?i+1|0:i,f=a<<12|s>>>20,s=s<<12|r>>>20,d=f,l=o[t+48>>2],f=o[t+256>>2],r=l+f|0,c=o[t+52>>2],i=c+o[t+260>>2]|0,i=r>>>0>>0?i+1|0:i,f=r,r=i,i=i+d|0,s=s+f|0,i=s>>>0>>0?i+1|0:i,d=s,o[t+424>>2]=-4-s,s=i,o[t+428>>2]=4194303-((1048575&i)+(d>>>0>4294967292)|0),d=(0|r)==(0|i)&d>>>0>>0|r>>>0>i>>>0,f=(0|r)==(0|c)&l>>>0>f>>>0|r>>>0>>0,i=C+8|0,c=o[i>>2],l=P+8|0,r=c+o[l>>2]|0,i=o[l+4>>2]+o[i+4>>2]|0,i=r>>>0>>0?i+1|0:i,c=r,r=r+f|0,i=c>>>0>r>>>0?i+1|0:i,a=a>>>20|0,r=r+a|0,i=a>>>0>r>>>0?i+1|0:i,a=r+d|0,r=a>>>0>>0?i+1|0:i,f=r<<12|a>>>20,l=a<<12|s>>>20,A=o[t+192>>2],a=o[t+240>>2],s=A+a|0,g=o[t+196>>2],i=g+o[t+244>>2]|0,i=a>>>0>s>>>0?i+1|0:i,c=s,s=o[t+16>>2],d=c+s|0,a=i,i=i+o[t+20>>2]|0,s=s>>>0>d>>>0?i+1|0:i,i=s+f|0,f=l+d|0,i=f>>>0>>0?i+1|0:i,l=f,o[t+432>>2]=-4-l,f=i,o[t+436>>2]=4194303-((1048575&i)+(l>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0:e,e=d+f|0,e=0>l>>>0?e+1|0:e,o[h>>2]=l,o[h+4>>2]=e,d=(0|e)==(0|d)&l>>>0>>0|e>>>0>>0,e=(0|t)==(0|m)&f>>>0

>>0|t>>>0>>0,l=t,t=t+We(r,0,s,0)|0,e=T+e|0,e=t>>>0>>0?e+1|0:e,l=t,t=t+d|0,l=l>>>0>t>>>0?e+1|0:e,e=We(g,r,c,u),c=T,n=We(n,i,a,s),r=n+e|0,e=c+T|0,e=(r>>>0>>0?e+1|0:e)+l|0,t=t+r|0,e=t>>>0>>0?e+1|0:e,o[h+8>>2]=t,o[h+12>>2]=e}function Ge(e,t,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0;if(u=n,n>>>0<=15)n=e;else{if(c=0-e&3,s=c+e|0,c){n=e,a=t;while(1)if(r[0|n]=i[0|a],a=a+1|0,n=n+1|0,!(s>>>0>n>>>0))break}u=u-c|0,l=-4&u,n=l+s|0,c=t+c|0,a=3&c;e:if(a){if((0|l)<=0)break e;d=-4&c,t=d+4|0,f=a<<3,h=0-f&24,a=o[d>>2];while(1)if(d=a>>>f|0,a=o[t>>2],o[s>>2]=d|a<>>0>>0))break}else if(!((0|l)<=0)){t=c;while(1)if(o[s>>2]=o[t>>2],t=t+4|0,s=s+4|0,!(s>>>0>>0))break}u&=3,t=c+l|0}if(u){a=n+u|0;while(1)if(r[0|n]=i[0|t],t=t+1|0,n=n+1|0,!(a>>>0>n>>>0))break}return e}function qe(e,t){var r=0,n=0;return e|t?(r=t-1|0,n=e-1|0,r=-1!=(0|n)?r+1|0:r,n^=e,e=c(t^r),32==(0|e)&&(e=c(n)+32|0),T=0-(e>>>0>63)|0,63-e|0):(T=0,64)}function We(e,t,r,n){var o=0,i=0,a=0,c=0,u=0,l=0;return o=65535&r,i=65535&e,a=s(o,i),c=r>>>16|0,l=s(i,c),u=e>>>16|0,i=s(o,u)+(a>>>16|0)|0,o=l+(65535&i)|0,T=(s(t,r)+s(c,u)|0)+s(e,n)+(i>>>16)+(o>>>16)|0,65535&a|o<<16}function Ke(e,t){var r=0,n=0;return r=31&t,n=(-1>>>r&e)<>>e}te=i,ie(e);var Xe=[null,P,x,O,be,Le,ee];function Ze(){return t.byteLength/65536|0}function Ye(e){e|=0;var c=0|Ze(),u=c+e|0;if(cpt(t.subarray(0,32))));const o=ut(n);try{return at.set(e),ct.set(t),1===He.recover(o,r)?tt.slice(0,o):null}finally{at.fill(0),ct.fill(0),tt.fill(0)}}function Rt(e,t,r){W(e),G(t),X(r);try{return at.set(e),nt.set(t),ct.set(r),1===He.verifySchnorr()}finally{at.fill(0),nt.fill(0),ct.fill(0)}}},60346:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});var n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,o=Math.ceil,i=Math.floor,a="[BigNumber Error] ",s=a+"Number primitive has more than 15 significant digits: ",c=1e14,u=14,l=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],f=1e7,h=1e9;function p(e){var t,r,E,A=D.prototype={constructor:D,toString:null,valueOf:null},S=new D(1),T=20,x=4,C=-7,I=21,O=-1e7,P=1e7,k=!1,N=1,R=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz",L=!0;function D(e,t){var o,a,c,d,f,h,p,m,g=this;if(!(g instanceof D))return new D(e,t);if(null==t){if(e&&!0===e._isBigNumber)return g.s=e.s,void(!e.c||e.e>P?g.c=g.e=null:e.e=10;f/=10,d++);return void(d>P?g.c=g.e=null:(g.e=d,g.c=[e]))}m=String(e)}else{if(!n.test(m=String(e)))return E(g,m,h);g.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(d=m.indexOf("."))>-1&&(m=m.replace(".","")),(f=m.search(/e/i))>0?(d<0&&(d=f),d+=+m.slice(f+1),m=m.substring(0,f)):d<0&&(d=m.length)}else{if(v(t,2,B.length,"Base"),10==t&&L)return g=new D(e),$(g,T+g.e+1,x);if(m=String(e),h="number"==typeof e){if(0*e!=0)return E(g,m,h,t);if(g.s=1/e<0?(m=m.slice(1),-1):1,D.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(s+e)}else g.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(o=B.slice(0,t),d=f=0,p=m.length;fd){d=p;continue}}else if(!c&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){c=!0,f=-1,d=0;continue}return E(g,String(e),h,t)}h=!1,m=r(m,t,10,g.s),(d=m.indexOf("."))>-1?m=m.replace(".",""):d=m.length}for(f=0;48===m.charCodeAt(f);f++);for(p=m.length;48===m.charCodeAt(--p););if(m=m.slice(f,++p)){if(p-=f,h&&D.DEBUG&&p>15&&(e>l||e!==i(e)))throw Error(s+g.s*e);if((d=d-f-1)>P)g.c=g.e=null;else if(d=I)?w(c,a):_(c,a,"0");else if(e=$(new D(e),t,r),i=e.e,c=g(e.c),s=c.length,1==n||2==n&&(t<=i||i<=C)){for(;ss){if(--t>0)for(c+=".";t--;c+="0");}else if(t+=i-s,t>0)for(i+1==s&&(c+=".");t--;c+="0");return e.s<0&&o?"-"+c:c}function j(e,t){for(var r,n,o=1,i=new D(e[0]);o=10;o/=10,n++);return(r=n+r*u-1)>P?e.c=e.e=null:r=10;f/=10,a++);if(s=t-a,s<0)s+=u,l=t,h=g[p=0],m=i(h/y[a-l-1]%10);else if(p=o((s+1)/u),p>=g.length){if(!n)break e;for(;g.length<=p;g.push(0));h=m=0,a=1,s%=u,l=s-u+1}else{for(h=f=g[p],a=1;f>=10;f/=10,a++);s%=u,l=s-u+a,m=l<0?0:i(h/y[a-l-1]%10)}if(n=n||t<0||null!=g[p+1]||(l<0?h:h%y[a-l-1]),n=r<4?(m||n)&&(0==r||r==(e.s<0?3:2)):m>5||5==m&&(4==r||n||6==r&&(s>0?l>0?h/y[a-l]:0:g[p-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=y[(u-t%u)%u],e.e=-t||0):g[0]=e.e=0,e;if(0==s?(g.length=p,f=1,p--):(g.length=p+1,f=y[u-s],g[p]=l>0?i(h/y[a-l]%y[l])*f:0),n)for(;;){if(0==p){for(s=1,l=g[0];l>=10;l/=10,s++);for(l=g[0]+=f,f=1;l>=10;l/=10,f++);s!=f&&(e.e++,g[0]==c&&(g[0]=1));break}if(g[p]+=f,g[p]!=c)break;g[p--]=0,f=1}for(s=g.length;0===g[--s];g.pop());}e.e>P?e.c=e.e=null:e.e=I?w(t,r):_(t,r,"0"),e.s<0?"-"+t:t)}return D.clone=p,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(a+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],v(r,0,h,t),T=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],v(r,0,8,t),x=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(v(r[0],-h,0,t),v(r[1],0,h,t),C=r[0],I=r[1]):(v(r,-h,h,t),C=-(I=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)v(r[0],-h,-1,t),v(r[1],1,h,t),O=r[0],P=r[1];else{if(v(r,-h,h,t),!r)throw Error(a+t+" cannot be zero: "+r);O=-(P=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(a+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw k=!r,Error(a+"crypto unavailable");k=r}else k=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],v(r,0,9,t),N=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],v(r,0,h,t),R=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(a+t+" not an object: "+r);M=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(a+t+" invalid: "+r);L="0123456789"==r.slice(0,10),B=r}}return{DECIMAL_PLACES:T,ROUNDING_MODE:x,EXPONENTIAL_AT:[C,I],RANGE:[O,P],CRYPTO:k,MODULO_MODE:N,POW_PRECISION:R,FORMAT:M,ALPHABET:B}},D.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!D.DEBUG)return!0;var t,r,n=e.c,o=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===s||-1===s)&&o>=-h&&o<=h&&o===i(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if(t=(o+1)%u,t<1&&(t+=u),String(n[0]).length==t){for(t=0;t=c||r!==i(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},D.maximum=D.max=function(){return j(arguments,-1)},D.minimum=D.min=function(){return j(arguments,1)},D.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return i(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,n,s,c,l,f=0,p=[],m=new D(S);if(null==e?e=T:v(e,0,h),c=o(e/u),k)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(c*=2));f>>11),l>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[f]=n[0],r[f+1]=n[1]):(p.push(l%1e14),f+=2);f=c/2}else{if(!crypto.randomBytes)throw k=!1,Error(a+"crypto unavailable");for(r=crypto.randomBytes(c*=7);f=9e15?crypto.randomBytes(7).copy(r,f):(p.push(l%1e14),f+=7);f=c/7}if(!k)for(;f=10;l/=10,f++);fr-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var c,u,l,d,f,h,p,m,y=n.indexOf("."),v=T,b=x;for(y>=0&&(d=R,R=0,n=n.replace(".",""),m=new D(o),h=m.pow(n.length-y),R=d,m.c=r(_(g(h.c),h.e,"0"),10,i,e),m.e=m.c.length),p=r(n,o,i,s?(c=B,e):(c=e,B)),l=d=p.length;0==p[--d];p.pop());if(!p[0])return c.charAt(0);if(y<0?--l:(h.c=p,h.e=l,h.s=a,h=t(h,m,v,b,i),p=h.c,f=h.r,l=h.e),u=l+v+1,y=p[u],d=i/2,f=f||u<0||null!=p[u+1],f=b<4?(null!=y||f)&&(0==b||b==(h.s<0?3:2)):y>d||y==d&&(4==b||f||6==b&&1&p[u-1]||b==(h.s<0?8:7)),u<1||!p[0])n=f?_(c.charAt(1),-v,c.charAt(0)):c.charAt(0);else{if(p.length=u,f)for(--i;++p[--u]>i;)p[u]=0,u||(++l,p=[1].concat(p));for(d=p.length;!p[--d];);for(y=0,n="";y<=d;n+=c.charAt(p[y++]));n=_(n,l,c.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,o,i,a,s=0,c=e.length,u=t%f,l=t/f|0;for(e=e.slice();c--;)i=e[c]%f,a=e[c]/f|0,n=l*i+a*u,o=u*i+n%f*f+s,s=(o/r|0)+(n/f|0)+l*a,e[c]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]1;e.splice(0,1));}return function(n,o,a,s,l){var d,f,h,p,g,y,v,b,w,_,E,A,S,T,x,C,I,O=n.s==o.s?1:-1,P=n.c,k=o.c;if(!P||!P[0]||!k||!k[0])return new D(n.s&&o.s&&(P?!k||P[0]!=k[0]:k)?P&&0==P[0]||!k?0*O:O/0:NaN);for(b=new D(O),w=b.c=[],f=n.e-o.e,O=a+f+1,l||(l=c,f=m(n.e/u)-m(o.e/u),O=O/u|0),h=0;k[h]==(P[h]||0);h++);if(k[h]>(P[h]||0)&&f--,O<0)w.push(1),p=!0;else{for(T=P.length,C=k.length,h=0,O+=2,g=i(l/(k[0]+1)),g>1&&(k=e(k,g,l),P=e(P,g,l),C=k.length,T=P.length),S=C,_=P.slice(0,C),E=_.length;E=l/2&&x++;do{if(g=0,d=t(k,_,C,E),d<0){if(A=_[0],C!=E&&(A=A*l+(_[1]||0)),g=i(A/x),g>1){g>=l&&(g=l-1),y=e(k,g,l),v=y.length,E=_.length;while(1==t(y,_,v,E))g--,r(y,C=10;O/=10,h++);$(b,a+(b.e=h+f*u-1)+1,s,p)}else b.e=f,b.r=+p;return b}}(),E=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,s,c,u){var l,d=c?s:s.replace(o,"");if(n.test(d))i.s=isNaN(d)?null:d<0?-1:1;else{if(!c&&(d=d.replace(e,(function(e,t,r){return l="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=l?e:t})),u&&(l=u,d=d.replace(t,"$1").replace(r,"0.$1")),s!=d))return new D(d,l);if(D.DEBUG)throw Error(a+"Not a"+(u?" base "+u:"")+" number: "+s);i.s=null}i.c=i.e=null}}(),A.absoluteValue=A.abs=function(){var e=new D(this);return e.s<0&&(e.s=1),e},A.comparedTo=function(e,t){return y(this,new D(e,t))},A.decimalPlaces=A.dp=function(e,t){var r,n,o,i=this;if(null!=e)return v(e,0,h),null==t?t=x:v(t,0,8),$(new D(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-m(this.e/u))*u,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},A.dividedBy=A.div=function(e,r){return t(this,new D(e,r),T,x)},A.dividedToIntegerBy=A.idiv=function(e,r){return t(this,new D(e,r),0,1)},A.exponentiatedBy=A.pow=function(e,t){var r,n,s,c,l,d,f,h,p,m=this;if(e=new D(e),e.c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+z(e));if(null!=t&&(t=new D(t)),d=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return p=new D(Math.pow(+z(m),d?e.s*(2-b(e)):+z(e))),t?p.mod(t):p;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new D(NaN);n=!f&&m.isInteger()&&t.isInteger(),n&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||d&&m.c[1]>=24e7:m.c[0]<8e13||d&&m.c[0]<=9999975e7)))return c=m.s<0&&b(e)?-0:0,m.e>-1&&(c=1/c),new D(f?1/c:c);R&&(c=o(R/u+2))}for(d?(r=new D(.5),f&&(e.s=1),h=b(e)):(s=Math.abs(+z(e)),h=s%2),p=new D(S);;){if(h){if(p=p.times(m),!p.c)break;c?p.c.length>c&&(p.c.length=c):n&&(p=p.mod(t))}if(s){if(s=i(s/2),0===s)break;h=s%2}else if(e=e.times(r),$(e,e.e+1,1),e.e>14)h=b(e);else{if(s=+z(e),0===s)break;h=s%2}m=m.times(m),c?m.c&&m.c.length>c&&(m.c.length=c):n&&(m=m.mod(t))}return n?p:(f&&(p=S.div(p)),t?p.mod(t):c?$(p,R,x,l):p)},A.integerValue=function(e){var t=new D(this);return null==e?e=x:v(e,0,8),$(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===y(this,new D(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return y(this,new D(e,t))>0},A.isGreaterThanOrEqualTo=A.gte=function(e,t){return 1===(t=y(this,new D(e,t)))||0===t},A.isInteger=function(){return!!this.c&&m(this.e/u)>this.c.length-2},A.isLessThan=A.lt=function(e,t){return y(this,new D(e,t))<0},A.isLessThanOrEqualTo=A.lte=function(e,t){return-1===(t=y(this,new D(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return this.s>0},A.isZero=function(){return!!this.c&&0==this.c[0]},A.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(e=new D(e,t),t=e.s,!s||!t)return new D(NaN);if(s!=t)return e.s=-t,a.plus(e);var l=a.e/u,d=e.e/u,f=a.c,h=e.c;if(!l||!d){if(!f||!h)return f?(e.s=-t,e):new D(h?a:NaN);if(!f[0]||!h[0])return h[0]?(e.s=-t,e):new D(f[0]?a:3==x?-0:0)}if(l=m(l),d=m(d),f=f.slice(),s=l-d){for((i=s<0)?(s=-s,o=f):(d=l,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=f.length)<(t=h.length))?s:t,s=t=0;t0)for(;t--;f[r++]=0);for(t=c-1;n>s;){if(f[--n]=0;){for(r=0,g=A[o]%w,y=A[o]/w|0,a=l,i=o+a;i>o;)d=E[--a]%w,h=E[a]/w|0,s=y*d+h*g,d=g*d+s%w*w+v[i]+r,r=(d/b|0)+(s/w|0)+y*h,v[i--]=d%b;v[i]=r}return r?++n:v.splice(0,1),U(e,v,n)},A.negated=function(){var e=new D(this);return e.s=-e.s||null,e},A.plus=function(e,t){var r,n=this,o=n.s;if(e=new D(e,t),t=e.s,!o||!t)return new D(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/u,a=e.e/u,s=n.c,l=e.c;if(!i||!a){if(!s||!l)return new D(o/0);if(!s[0]||!l[0])return l[0]?e:new D(s[0]?n:0*o)}if(i=m(i),a=m(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=l):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for(o=s.length,t=l.length,o-t<0&&(r=l,l=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+l[t]+o)/c|0,s[t]=c===s[t]?0:s[t]%c;return o&&(s=[o].concat(s),++a),U(e,s,a)},A.precision=A.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return v(e,1,h),null==t?t=x:v(t,0,8),$(new D(i),e,t);if(!(r=i.c))return null;if(o=r.length-1,n=o*u+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},A.shiftedBy=function(e){return v(e,-l,l),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,r,n,o,i,a=this,s=a.c,c=a.s,u=a.e,l=T+4,d=new D("0.5");if(1!==c||!s||!s[0])return new D(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);if(c=Math.sqrt(+z(a)),0==c||c==1/0?(r=g(s),(r.length+u)%2==0&&(r+="0"),c=Math.sqrt(+r),u=m((u+1)/2)-(u<0||u%2),c==1/0?r="5e"+u:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+u),n=new D(r)):n=new D(c+""),n.c[0])for(u=n.e,c=u+l,c<3&&(c=0);;)if(i=n,n=d.times(i.plus(t(a,i,l,1))),g(i.c).slice(0,c)===(r=g(n.c)).slice(0,c)){if(n.e0&&m>0){for(i=m%c||c,d=p.substr(0,i);i0&&(d+=l+p.slice(i)),h&&(d="-"+d)}n=f?d+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?f.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):d}return(r.prefix||"")+n+(r.suffix||"")},A.toFraction=function(e){var r,n,o,i,s,c,l,f,h,p,m,y,v=this,b=v.c;if(null!=e&&(l=new D(e),!l.isInteger()&&(l.c||1!==l.s)||l.lt(S)))throw Error(a+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+z(l));if(!b)return new D(v);for(r=new D(S),h=n=new D(S),o=f=new D(S),y=g(b),s=r.e=y.length-v.e-1,r.c[0]=d[(c=s%u)<0?u+c:c],e=!e||l.comparedTo(r)>0?s>0?r:h:l,c=P,P=1/0,l=new D(y),f.c[0]=0;;){if(p=t(l,r,0,1),i=n.plus(p.times(o)),1==i.comparedTo(e))break;n=o,o=i,h=f.plus(p.times(i=h)),f=i,r=l.minus(p.times(i=r)),l=i}return i=t(e.minus(n),o,0,1),f=f.plus(i.times(h)),n=n.plus(i.times(o)),f.s=h.s=v.s,s*=2,m=t(h,o,s,x).minus(v).abs().comparedTo(t(f,n,s,x).minus(v).abs())<1?[h,o]:[f,n],P=c,m},A.toNumber=function(){return+z(this)},A.toPrecision=function(e,t){return null!=e&&v(e,1,h),F(this,e,t,2)},A.toString=function(e){var t,n=this,o=n.s,i=n.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=C||i>=I?w(g(n.c),i):_(g(n.c),i,"0"):10===e&&L?(n=$(new D(n),T+i+1,x),t=_(g(n.c),n.e,"0")):(v(e,2,B.length,"Base"),t=r(_(g(n.c),i,"0"),10,e,o,!0)),o<0&&n.c[0]&&(t="-"+t)),t},A.valueOf=A.toJSON=function(){return z(this)},A._isBigNumber=!0,A[Symbol.toStringTag]="BigNumber",A[Symbol.for("nodejs.util.inspect.custom")]=A.valueOf,null!=e&&D.set(e),D}function m(e){var t=0|e;return e>0||e===t?t:t-1}function g(e){for(var t,r,n=1,o=e.length,i=e[0]+"";nu^r?1:-1;for(s=(c=o.length)<(u=i.length)?c:u,a=0;ai[a]^r?1:-1;return c==u?0:c>u^r?1:-1}function v(e,t,r,n){if(er||e!==i(e))throw Error(a+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function b(e){var t=e.c.length-1;return m(e.e/u)==t&&e.c[t]%2!=0}function w(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function _(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t{"use strict";r.d(t,{So:()=>M});var n=r(18276);const o=BigInt(2**32-1),i=BigInt(32);function a(e,t=!1){return t?{h:Number(e&o),l:Number(e>>i&o)}:{h:0|Number(e>>i&o),l:0|Number(e&o)}}function s(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oe<>>32-r,u=(e,t,r)=>t<>>32-r,l=(e,t,r)=>t<>>64-r,d=(e,t,r)=>e<>>64-r;var f=r(71274);const[h,p,m]=[[],[],[]],g=BigInt(0),y=BigInt(1),v=BigInt(2),b=BigInt(7),w=BigInt(256),_=BigInt(113);for(let B=0,L=y,D=1,F=0;B<24;B++){[D,F]=[F,(2*D+3*F)%5],h.push(2*(5*F+D)),p.push((B+1)*(B+2)/2%64);let e=g;for(let t=0;t<7;t++)L=(L<>b)*_)%w,L&v&&(e^=y<<(y<r>32?l(e,t,r):c(e,t,r),T=(e,t,r)=>r>32?d(e,t,r):u(e,t,r);function x(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let n=0;n<10;n++)r[n]=e[n]^e[n+10]^e[n+20]^e[n+30]^e[n+40];for(let n=0;n<10;n+=2){const t=(n+8)%10,o=(n+2)%10,i=r[o],a=r[o+1],s=S(i,a,1)^r[t],c=T(i,a,1)^r[t+1];for(let r=0;r<50;r+=10)e[n+r]^=s,e[n+r+1]^=c}let t=e[2],o=e[3];for(let r=0;r<24;r++){const n=p[r],i=S(t,o,n),a=T(t,o,n),s=h[r];t=e[s],o=e[s+1],e[s]=i,e[s+1]=a}for(let n=0;n<50;n+=10){for(let t=0;t<10;t++)r[t]=e[n+t];for(let t=0;t<10;t++)e[n+t]^=~r[(t+2)%10]&r[(t+4)%10]}e[0]^=E[n],e[1]^=A[n]}r.fill(0)}class C extends f.Vw{constructor(e,t,r,o=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=o,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.ai)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,f.DH)(this.state)}keccak(){x(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){(0,n.t2)(this);const{blockLen:t,state:r}=this;e=(0,f.ZJ)(e);const o=e.length;for(let n=0;n=r&&this.keccak();const i=Math.min(r-this.posOut,o-n);e.set(t.subarray(this.posOut,this.posOut+i),n),this.posOut+=i,n+=i}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.ai)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.CG)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:n,rounds:o,enableXOF:i}=this;return e||(e=new C(t,r,n,i,o)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=o,e.suffix=r,e.outputLen=n,e.enableXOF=i,e.destroyed=this.destroyed,e}}const I=(e,t,r)=>(0,f.ld)((()=>new C(t,e,r))),O=I(1,144,28),P=I(1,136,32),k=I(1,104,48),N=I(1,72,64);var R=r(40651);(0,R.RS)(O);const M=(()=>{const e=(0,R.RS)(P);return e.create=P.create,e})();(0,R.RS)(k),(0,R.RS)(N)},40651:(e,t,r)=>{"use strict";r.d(t,{AE:()=>i,AI:()=>o.AI,RS:()=>a});var n=r(18276),o=r(71274);n.Ay.bool,n.Ay.bytes;function i(e){if(!(e instanceof Uint8Array))throw new TypeError("bytesToUtf8 expected Uint8Array, got "+typeof e);return(new TextDecoder).decode(e)}function a(e){return t=>(n.Ay.bytes(t),e(t))}(()=>{const e="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,t="undefined"!==typeof module&&"function"===typeof module.require&&module.require.bind(module);t&&!e&&t("crypto")})()},18276:(e,t,r)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function o(e){if("boolean"!==typeof e)throw new Error(`Expected boolean, not ${e}`)}function i(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}function a(e,...t){if(!i(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function s(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function c(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function u(e,t){a(e);const r=t.outputLen;if(e.lengthd,CG:()=>u,ai:()=>n,ee:()=>a,t2:()=>c});const l={number:n,bool:o,bytes:a,hash:s,exists:c,output:u},d=l},44150:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});const n="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},71274:(e,t,r)=>{"use strict";r.d(t,{AI:()=>s,DH:()=>o,Vw:()=>u,ZJ:()=>c,ld:()=>l,po:()=>d});var n=r(44150); +/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const o=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));function i(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}const a=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!a)throw new Error("Non little-endian hardware is not supported");function s(e){if("string"!==typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function c(e){if("string"===typeof e&&(e=s(e)),!i(e))throw new Error("expected Uint8Array, got "+typeof e);return e}class u{clone(){return this._cloneInto()}}function l(e){const t=t=>e().update(c(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function d(e=32){if(n.E&&"function"===typeof n.E.getRandomValues)return n.E.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},80127:(e,t,r)=>{"use strict";function n(){this.__data__=[],this.size=0}r.d(t,{A:()=>b});const o=n;var i=r(66984);function a(e,t){var r=e.length;while(r--)if((0,i.A)(e[r][0],t))return r;return-1}const s=a;var c=Array.prototype,u=c.splice;function l(e){var t=this.__data__,r=s(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():u.call(t,r,1),--this.size,!0}const d=l;function f(e){var t=this.__data__,r=s(t,e);return r<0?void 0:t[r][1]}const h=f;function p(e){return s(this.__data__,e)>-1}const m=p;function g(e,t){var r=this.__data__,n=s(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}const y=g;function v(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t{"use strict";r.d(t,{A:()=>a});var n=r(18744),o=r(41917),i=(0,n.A)(o.A,"Map");const a=i},29471:(e,t,r)=>{"use strict";r.d(t,{A:()=>$});var n=r(18744),o=(0,n.A)(Object,"create");const i=o;function a(){this.__data__=i?i(null):{},this.size=0}const s=a;function c(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}const u=c;var l="__lodash_hash_undefined__",d=Object.prototype,f=d.hasOwnProperty;function h(e){var t=this.__data__;if(i){var r=t[e];return r===l?void 0:r}return f.call(t,e)?t[e]:void 0}const p=h;var m=Object.prototype,g=m.hasOwnProperty;function y(e){var t=this.__data__;return i?void 0!==t[e]:g.call(t,e)}const v=y;var b="__lodash_hash_undefined__";function w(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=i&&void 0===t?b:t,this}const _=w;function E(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t{"use strict";r.d(t,{A:()=>a});var n=r(18744),o=r(41917),i=(0,n.A)(o.A,"Set");const a=i},39681:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(29471),o="__lodash_hash_undefined__";function i(e){return this.__data__.set(e,o),this}const a=i;function s(e){return this.__data__.has(e)}const c=s;function u(e){var t=-1,r=null==e?0:e.length;this.__data__=new n.A;while(++t{"use strict";r.d(t,{A:()=>v});var n=r(80127);function o(){this.__data__=new n.A,this.size=0}const i=o;function a(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}const s=a;function c(e){return this.__data__.get(e)}const u=c;function l(e){return this.__data__.has(e)}const d=l;var f=r(68335),h=r(29471),p=200;function m(e,t){var r=this.__data__;if(r instanceof n.A){var o=r.__data__;if(!f.A||o.length{"use strict";r.d(t,{A:()=>i});var n=r(41917),o=n.A.Symbol;const i=o},46437:(e,t,r)=>{"use strict";function n(e,t,r,n){var o=e.length,i=r+(n?1:-1);while(n?i--:++if});const o=n;function i(e){return e!==e}const a=i;function s(e,t,r){var n=r-1,o=e.length;while(++n-1}const f=d},87809:(e,t,r)=>{"use strict";function n(e,t,r){var n=-1,o=null==e?0:e.length;while(++no});const o=n},45572:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=null==e?0:e.length,o=Array(n);while(++ro});const o=n},76912:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=t.length,o=e.length;while(++ro});const o=n},52528:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(84171);function o(e,t,r){"__proto__"==t&&n.A?(0,n.A)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}const i=o},13588:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(76912),o=r(241),i=r(52274),a=r(92049),s=o.A?o.A.isConcatSpreadable:void 0;function c(e){return(0,a.A)(e)||(0,i.A)(e)||!!(s&&e&&e[s])}const u=c;function l(e,t,r,o,i){var a=-1,s=e.length;r||(r=u),i||(i=[]);while(++a0&&r(c)?t>1?l(c,t-1,r,o,i):(0,n.A)(i,c):o||(i[i.length]=c)}return i}const d=l},66318:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(63442),o=r(30901);function i(e,t){t=(0,n.A)(t,e);var r=0,i=t.length;while(null!=e&&r{"use strict";r.d(t,{A:()=>v});var n=r(241),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n.A?n.A.toStringTag:void 0;function c(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(c){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}const u=c;var l=Object.prototype,d=l.toString;function f(e){return d.call(e)}const h=f;var p="[object Null]",m="[object Undefined]",g=n.A?n.A.toStringTag:void 0;function y(e){return null==e?void 0===e?m:p:g&&g in Object(e)?u(e):h(e)}const v=y},90854:(e,t,r)=>{"use strict";r.d(t,{A:()=>ye});var n=r(11754),o=r(39681);function i(e,t){var r=-1,n=null==e?0:e.length;while(++rf))return!1;var p=l.get(e),m=l.get(t);if(p&&m)return p==t&&m==e;var g=-1,y=!0,v=r&u?new o.A:void 0;l.set(e,t),l.set(t,e);while(++g{"use strict";r.d(t,{A:()=>D});var n=r(11754),o=r(90854),i=1,a=2;function s(e,t,r,s){var c=r.length,u=c,l=!s;if(null==e)return!u;e=Object(e);while(c--){var d=r[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}while(++c{"use strict";r.d(t,{A:()=>d});var n=r(97271);function o(e,t){return function(r){return e(t(r))}}const i=o;var a=i(Object.keys,Object);const s=a;var c=Object.prototype,u=c.hasOwnProperty;function l(e){if(!(0,n.A)(e))return s(e);var t=[];for(var r in Object(e))u.call(e,r)&&"constructor"!=r&&t.push(r);return t}const d=l},24326:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(29008),o=r(76875),i=r(99727);function a(e,t){return(0,i.A)((0,o.A)(e,t,n.A),e+"")}const s=a},37688:(e,t,r)=>{"use strict";function n(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var i=Array(o);while(++no});const o=n},59520:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=Array(e);while(++ro});const o=n},52789:(e,t,r)=>{"use strict";function n(e){return function(t){return e(t)}}r.d(t,{A:()=>o});const o=n},91285:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(39681),o=r(46437),i=r(87809),a=r(64099),s=r(39857);function c(){}const u=c;var l=r(29959),d=1/0,f=s.A&&1/(0,l.A)(new s.A([,-0]))[1]==d?function(e){return new s.A(e)}:u;const h=f;var p=200;function m(e,t,r){var s=-1,c=o.A,u=e.length,d=!0,f=[],m=f;if(r)d=!1,c=i.A;else if(u>=p){var g=t?null:h(e);if(g)return(0,l.A)(g);d=!1,c=a.A,m=new n.A}else m=t?[]:f;e:while(++s{"use strict";function n(e,t){return e.has(t)}r.d(t,{A:()=>o});const o=n},63442:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(92049),o=r(86586),i=r(29471),a="Expected a function";function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(s.Cache||i.A),r}s.Cache=i.A;const c=s;var u=500;function l(e){var t=c(e,(function(e){return r.size===u&&r.clear(),e})),r=t.cache;return t}const d=l;var f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,p=d((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(f,(function(e,r,n,o){t.push(n?o.replace(h,"$1"):r||e)})),t}));const m=p;var g=r(28894);function y(e,t){return(0,n.A)(e)?e:(0,o.A)(e,t)?[e]:m((0,g.A)(e))}const v=y},84171:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(18744),o=function(){try{var e=(0,n.A)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const i=o},72136:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n="object"==typeof global&&global&&global.Object===Object&&global;const o=n},18744:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var n=r(89610),o=r(41917),i=o.A["__core-js_shared__"];const a=i;var s=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function c(e){return!!s&&s in e}const u=c;var l=r(23149),d=r(81121),f=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,p=Function.prototype,m=Object.prototype,g=p.toString,y=m.hasOwnProperty,v=RegExp("^"+g.call(y).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(e){if(!(0,l.A)(e)||u(e))return!1;var t=(0,n.A)(e)?v:h;return t.test((0,d.A)(e))}const w=b;function _(e,t){return null==e?void 0:e[t]}const E=_;function A(e,t){var r=E(e,t);return w(r)?r:void 0}const S=A},9779:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(18744),o=r(41917),i=(0,n.A)(o.A,"DataView");const a=i;var s=r(68335),c=(0,n.A)(o.A,"Promise");const u=c;var l=r(39857),d=(0,n.A)(o.A,"WeakMap");const f=d;var h=r(88496),p=r(81121),m="[object Map]",g="[object Object]",y="[object Promise]",v="[object Set]",b="[object WeakMap]",w="[object DataView]",_=(0,p.A)(a),E=(0,p.A)(s.A),A=(0,p.A)(u),S=(0,p.A)(l.A),T=(0,p.A)(f),x=h.A;(a&&x(new a(new ArrayBuffer(1)))!=w||s.A&&x(new s.A)!=m||u&&x(u.resolve())!=y||l.A&&x(new l.A)!=v||f&&x(new f)!=b)&&(x=function(e){var t=(0,h.A)(e),r=t==g?e.constructor:void 0,n=r?(0,p.A)(r):"";if(n)switch(n){case _:return w;case E:return m;case A:return y;case S:return v;case T:return b}return t});const C=x},25353:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;function i(e,t){var r=typeof e;return t=null==t?n:t,!!t&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e{"use strict";r.d(t,{A:()=>c});var n=r(92049),o=r(61882),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if((0,n.A)(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!(0,o.A)(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}const c=s},97271:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=Object.prototype;function o(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}const i=o},76875:(e,t,r)=>{"use strict";function n(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}r.d(t,{A:()=>s});const o=n;var i=Math.max;function a(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){var n=arguments,a=-1,s=i(n.length-t,0),c=Array(s);while(++a{"use strict";r.d(t,{A:()=>a});var n=r(72136),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.A||o||Function("return this")();const a=i},29959:(e,t,r)=>{"use strict";function n(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}r.d(t,{A:()=>o});const o=n},99727:(e,t,r)=>{"use strict";function n(e){return function(){return e}}r.d(t,{A:()=>m});const o=n;var i=r(84171),a=r(29008),s=i.A?function(e,t){return(0,i.A)(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a.A;const c=s;var u=800,l=16,d=Date.now;function f(e){var t=0,r=0;return function(){var n=d(),o=l-(n-r);if(r=n,o>0){if(++t>=u)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}const h=f;var p=h(c);const m=p},30901:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(61882),o=1/0;function i(e){if("string"==typeof e||(0,n.A)(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}const a=i},81121:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=Function.prototype,o=n.toString;function i(e){if(null!=e){try{return o.call(e)}catch(t){}try{return e+""}catch(t){}}return""}const a=i},95993:(e,t,r)=>{"use strict";r.d(t,{A:()=>ft});var n=r(28894),o=r(37688);function i(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:(0,o.A)(e,t,r)}const a=i;var s="\\ud800-\\udfff",c="\\u0300-\\u036f",u="\\ufe20-\\ufe2f",l="\\u20d0-\\u20ff",d=c+u+l,f="\\ufe0e\\ufe0f",h="\\u200d",p=RegExp("["+h+s+d+f+"]");function m(e){return p.test(e)}const g=m;function y(e){return e.split("")}const v=y;var b="\\ud800-\\udfff",w="\\u0300-\\u036f",_="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",A=w+_+E,S="\\ufe0e\\ufe0f",T="["+b+"]",x="["+A+"]",C="\\ud83c[\\udffb-\\udfff]",I="(?:"+x+"|"+C+")",O="[^"+b+"]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",N="\\u200d",R=I+"?",M="["+S+"]?",B="(?:"+N+"(?:"+[O,P,k].join("|")+")"+M+R+")*",L=M+R+B,D="(?:"+[O+x+"?",x,P,k,T].join("|")+")",F=RegExp(C+"(?="+C+")|"+D+L,"g");function j(e){return e.match(F)||[]}const U=j;function $(e){return g(e)?U(e):v(e)}const z=$;function H(e){return function(t){t=(0,n.A)(t);var r=g(t)?z(t):void 0,o=r?r[0]:t.charAt(0),i=r?a(r,1).join(""):t.slice(1);return o[e]()+i}}const V=H;var G=V("toUpperCase");const q=G;function W(e){return q((0,n.A)(e).toLowerCase())}const K=W;function X(e,t,r,n){var o=-1,i=null==e?0:e.length;n&&i&&(r=e[++o]);while(++o{"use strict";r.d(t,{A:()=>f});var n=r(23149),o=r(41917),i=function(){return o.A.Date.now()};const a=i;var s=r(71733),c="Expected a function",u=Math.max,l=Math.min;function d(e,t,r){var o,i,d,f,h,p,m=0,g=!1,y=!1,v=!0;if("function"!=typeof e)throw new TypeError(c);function b(t){var r=o,n=i;return o=i=void 0,m=t,f=e.apply(n,r),f}function w(e){return m=e,h=setTimeout(A,t),g?b(e):f}function _(e){var r=e-p,n=e-m,o=t-r;return y?l(o,d-n):o}function E(e){var r=e-p,n=e-m;return void 0===p||r>=t||r<0||y&&n>=d}function A(){var e=a();if(E(e))return S(e);h=setTimeout(A,_(e))}function S(e){return h=void 0,v&&o?b(e):(o=i=void 0,f)}function T(){void 0!==h&&clearTimeout(h),m=0,o=p=i=h=void 0}function x(){return void 0===h?f:S(a())}function C(){var e=a(),r=E(e);if(o=arguments,i=this,p=e,r){if(void 0===h)return w(p);if(y)return clearTimeout(h),h=setTimeout(A,t),b(p)}return void 0===h&&(h=setTimeout(A,t)),f}return t=(0,s.A)(t)||0,(0,n.A)(r)&&(g=!!r.leading,y="maxWait"in r,d=y?u((0,s.A)(r.maxWait)||0,t):d,v="trailing"in r?!!r.trailing:v),C.cancel=T,C.flush=x,C}const f=d},73864:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n="Expected a function";function o(e,t,r){if("function"!=typeof e)throw new TypeError(n);return setTimeout((function(){e.apply(void 0,r)}),t)}const i=o;var a=r(24326),s=(0,a.A)((function(e,t){return i(e,1,t)}));const c=s},46661:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(39681),o=r(46437),i=r(87809),a=r(45572),s=r(52789),c=r(64099),u=200;function l(e,t,r,l){var d=-1,f=o.A,h=!0,p=e.length,m=[],g=t.length;if(!p)return m;r&&(t=(0,a.A)(t,(0,s.A)(r))),l?(f=i.A,h=!1):t.length>=u&&(f=c.A,h=!1,t=new n.A(t));e:while(++d{"use strict";function n(e,t){return e===t||e!==e&&t!==t}r.d(t,{A:()=>o});const o=n},77500:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(66318);function o(e,t,r){var o=null==e?void 0:(0,n.A)(e,t);return void 0===o?r:o}const i=o},1668:(e,t,r)=>{"use strict";function n(e,t){return null!=e&&t in Object(e)}r.d(t,{A:()=>p});const o=n;var i=r(63442),a=r(52274),s=r(92049),c=r(25353),u=r(5254),l=r(30901);function d(e,t,r){t=(0,i.A)(t,e);var n=-1,o=t.length,d=!1;while(++n{"use strict";function n(e){return e}r.d(t,{A:()=>o});const o=n},52274:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(88496),o=r(53098),i="[object Arguments]";function a(e){return(0,o.A)(e)&&(0,n.A)(e)==i}const s=a;var c=Object.prototype,u=c.hasOwnProperty,l=c.propertyIsEnumerable,d=s(function(){return arguments}())?s:function(e){return(0,o.A)(e)&&u.call(e,"callee")&&!l.call(e,"callee")};const f=d},92049:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=Array.isArray;const o=n},38446:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(89610),o=r(5254);function i(e){return null!=e&&(0,o.A)(e.length)&&!(0,n.A)(e)}const a=i},99912:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(41917);function o(){return!1}const i=o;var a="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=a&&"object"==typeof module&&module&&!module.nodeType&&module,c=s&&s.exports===a,u=c?n.A.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||i;const f=d},66401:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(69345),o=r(9779),i=r(52274),a=r(92049),s=r(38446),c=r(99912),u=r(97271),l=r(89455),d="[object Map]",f="[object Set]",h=Object.prototype,p=h.hasOwnProperty;function m(e){if(null==e)return!0;if((0,s.A)(e)&&((0,a.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,c.A)(e)||(0,l.A)(e)||(0,i.A)(e)))return!e.length;var t=(0,o.A)(e);if(t==d||t==f)return!e.size;if((0,u.A)(e))return!(0,n.A)(e).length;for(var r in e)if(p.call(e,r))return!1;return!0}const g=m},46996:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(90854);function o(e,t){return(0,n.A)(e,t)}const i=o},89610:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(88496),o=r(23149),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function u(e){if(!(0,o.A)(e))return!1;var t=(0,n.A)(e);return t==a||t==s||t==i||t==c}const l=u},5254:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=9007199254740991;function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}const i=o},23149:(e,t,r)=>{"use strict";function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}r.d(t,{A:()=>o});const o=n},53098:(e,t,r)=>{"use strict";function n(e){return null!=e&&"object"==typeof e}r.d(t,{A:()=>o});const o=n},61882:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(88496),o=r(53098),i="[object Symbol]";function a(e){return"symbol"==typeof e||(0,o.A)(e)&&(0,n.A)(e)==i}const s=a},89455:(e,t,r)=>{"use strict";r.d(t,{A:()=>H});var n=r(88496),o=r(5254),i=r(53098),a="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",m="[object RegExp]",g="[object Set]",y="[object String]",v="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",_="[object Float32Array]",E="[object Float64Array]",A="[object Int8Array]",S="[object Int16Array]",T="[object Int32Array]",x="[object Uint8Array]",C="[object Uint8ClampedArray]",I="[object Uint16Array]",O="[object Uint32Array]",P={};function k(e){return(0,i.A)(e)&&(0,o.A)(e.length)&&!!P[(0,n.A)(e)]}P[_]=P[E]=P[A]=P[S]=P[T]=P[x]=P[C]=P[I]=P[O]=!0,P[a]=P[s]=P[b]=P[c]=P[w]=P[u]=P[l]=P[d]=P[f]=P[h]=P[p]=P[m]=P[g]=P[y]=P[v]=!1;const N=k;var R=r(52789),M=r(72136),B="object"==typeof exports&&exports&&!exports.nodeType&&exports,L=B&&"object"==typeof module&&module&&!module.nodeType&&module,D=L&&L.exports===B,F=D&&M.A.process,j=function(){try{var e=L&&L.require&&L.require("util").types;return e||F&&F.binding&&F.binding("util")}catch(t){}}();const U=j;var $=U&&U.isTypedArray,z=$?(0,R.A)($):N;const H=z},33014:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(59520),o=r(52274),i=r(92049),a=r(99912),s=r(25353),c=r(89455),u=Object.prototype,l=u.hasOwnProperty;function d(e,t){var r=(0,i.A)(e),u=!r&&(0,o.A)(e),d=!r&&!u&&(0,a.A)(e),f=!r&&!u&&!d&&(0,c.A)(e),h=r||u||d||f,p=h?(0,n.A)(e.length,String):[],m=p.length;for(var g in e)!t&&!l.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,s.A)(g,m))||p.push(g);return p}const f=d;var h=r(69345),p=r(38446);function m(e){return(0,p.A)(e)?f(e):(0,h.A)(e)}const g=m},87471:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(52528);function o(e){return function(t,r,n){var o=-1,i=Object(t),a=n(t),s=a.length;while(s--){var c=a[e?s:++o];if(!1===r(i[c],c,i))break}return t}}const i=o;var a=i();const s=a;var c=r(33014);function u(e,t){return e&&s(e,t,c.A)}const l=u;var d=r(29845);function f(e,t){var r={};return t=(0,d.A)(t,3),l(e,(function(e,o,i){(0,n.A)(r,o,t(e,o,i))})),r}const h=f},83997:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=r(66318),o=r(52528),i=r(66984),a=Object.prototype,s=a.hasOwnProperty;function c(e,t,r){var n=e[t];s.call(e,t)&&(0,i.A)(n,r)&&(void 0!==r||t in e)||(0,o.A)(e,t,r)}const u=c;var l=r(63442),d=r(25353),f=r(23149),h=r(30901);function p(e,t,r,n){if(!(0,f.A)(e))return e;t=(0,l.A)(t,e);var o=-1,i=t.length,a=i-1,s=e;while(null!=s&&++o{"use strict";r.d(t,{A:()=>w});var n=r(29845),o=r(63442);function i(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}const a=i;var s=r(66318),c=r(37688);function u(e,t){return t.length<2?e:(0,s.A)(e,(0,c.A)(t,0,-1))}const l=u;var d=r(30901);function f(e,t){return t=(0,o.A)(t,e),e=l(e,t),null==e||delete e[(0,d.A)(a(t))]}const h=f;var p=r(25353),m=Array.prototype,g=m.splice;function y(e,t){var r=e?t.length:0,n=r-1;while(r--){var o=t[r];if(r==n||o!==i){var i=o;(0,p.A)(o)?g.call(e,o,1):h(e,o)}}return e}const v=y;function b(e,t){var r=[];if(!e||!e.length)return r;var o=-1,i=[],a=e.length;t=(0,n.A)(t,3);while(++o{"use strict";function n(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++rA});const o=n;var i=Math.floor,a=Math.random;function s(e,t){return e+i(a()*(t-e+1))}const c=s;function u(e,t){var r=-1,n=e.length,o=n-1;t=void 0===t?n:t;while(++r{"use strict";r.d(t,{A:()=>s});var n=r(63366),o=r(23149),i="Expected a function";function a(e,t,r){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return(0,o.A)(r)&&(a="leading"in r?!!r.leading:a,s="trailing"in r?!!r.trailing:s),(0,n.A)(e,t,{leading:a,maxWait:t,trailing:s})}const s=a},99834:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(59520),o=r(29008);function i(e){return"function"==typeof e?e:o.A}const a=i;var s=r(71733),c=1/0,u=17976931348623157e292;function l(e){if(!e)return 0===e?e:0;if(e=(0,s.A)(e),e===c||e===-c){var t=e<0?-1:1;return t*u}return e===e?e:0}const d=l;function f(e){var t=d(e),r=t%1;return t===t?r?t-r:t:0}const h=f;var p=9007199254740991,m=4294967295,g=Math.min;function y(e,t){if(e=h(e),e<1||e>p)return[];var r=m,o=g(e,m);t=a(t),e-=m;var i=(0,n.A)(o,t);while(++r{"use strict";r.d(t,{A:()=>y});var n=/\s/;function o(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}const i=o;var a=/^\s+/;function s(e){return e?e.slice(0,i(e)+1).replace(a,""):e}const c=s;var u=r(23149),l=r(61882),d=NaN,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,m=parseInt;function g(e){if("number"==typeof e)return e;if((0,l.A)(e))return d;if((0,u.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,u.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=c(e);var r=h.test(e);return r||p.test(e)?m(e.slice(2),r?2:8):f.test(e)?d:+e}const y=g},28894:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(241),o=r(45572),i=r(92049),a=r(61882),s=1/0,c=n.A?n.A.prototype:void 0,u=c?c.toString:void 0;function l(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,o.A)(e,l)+"";if((0,a.A)(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}const d=l;function f(e){return null==e?"":d(e)}const h=f},41343:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(91285);function o(e){return e&&e.length?(0,n.A)(e):[]}const i=o},5582:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(29845),o=r(91285);function i(e,t){return e&&e.length?(0,o.A)(e,(0,n.A)(t,2)):[]}const a=i},51543:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(91285);function o(e,t){return t="function"==typeof t?t:void 0,e&&e.length?(0,n.A)(e,void 0,t):[]}const i=o},27626:(e,t,r)=>{"use strict";r.d(t,{AV:()=>i});var n=r(12375),o=r(17044);function i(e){let t,{swiper:r,extendParams:i,on:a,emit:s}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const c=(0,n.g)();r.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const u=c.createElement("div");function l(e,t){const n=r.params.virtual;if(n.cache&&r.virtual.cache[t])return r.virtual.cache[t];let i;return n.renderSlide?(i=n.renderSlide.call(r,e,t),"string"===typeof i&&(u.innerHTML=i,i=u.children[0])):i=r.isElement?(0,o.c)("swiper-slide"):(0,o.c)("div",r.params.slideClass),i.setAttribute("data-swiper-slide-index",t),n.renderSlide||(i.innerHTML=e),n.cache&&(r.virtual.cache[t]=i),i}function d(e){const{slidesPerView:t,slidesPerGroup:n,centeredSlides:i,loop:a}=r.params,{addSlidesBefore:c,addSlidesAfter:u}=r.params.virtual,{from:d,to:f,slides:h,slidesGrid:p,offset:m}=r.virtual;r.params.cssMode||r.updateActiveIndex();const g=r.activeIndex||0;let y,v,b;y=r.rtlTranslate?"right":r.isHorizontal()?"left":"top",i?(v=Math.floor(t/2)+n+u,b=Math.floor(t/2)+n+c):(v=t+(n-1)+u,b=(a?t:n)+c);let w=g-b,_=g+v;a||(w=Math.max(w,0),_=Math.min(_,h.length-1));let E=(r.slidesGrid[w]||0)-(r.slidesGrid[0]||0);function A(){r.updateSlides(),r.updateProgress(),r.updateSlidesClasses(),s("virtualUpdate")}if(a&&g>=b?(w-=b,i||(E+=r.slidesGrid[0])):a&&g{e.style[y]=E-Math.abs(r.cssOverflowAdjustment())+"px"})),r.updateProgress(),void s("virtualUpdate");if(r.params.virtual.renderExternal)return r.params.virtual.renderExternal.call(r,{offset:E,from:w,to:_,slides:function(){const e=[];for(let t=w;t<=_;t+=1)e.push(h[t]);return e}()}),void(r.params.virtual.renderExternalUpdate?A():s("virtualUpdate"));const S=[],T=[],x=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)r.slides.filter((e=>e.matches(`.${r.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let o=d;o<=f;o+=1)if(o_){const e=x(o);r.slides.filter((t=>t.matches(`.${r.params.slideClass}[data-swiper-slide-index="${e}"], swiper-slide[data-swiper-slide-index="${e}"]`))).forEach((e=>{e.remove()}))}const C=a?-h.length:0,I=a?2*h.length:h.length;for(let r=C;r=w&&r<=_){const t=x(r);"undefined"===typeof f||e?T.push(t):(r>f&&T.push(t),r{r.slidesEl.append(l(h[e],e))})),a)for(let o=S.length-1;o>=0;o-=1){const e=S[o];r.slidesEl.prepend(l(h[e],e))}else S.sort(((e,t)=>t-e)),S.forEach((e=>{r.slidesEl.prepend(l(h[e],e))}));(0,o.e)(r.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[y]=E-Math.abs(r.cssOverflowAdjustment())+"px"})),A()}function f(e){if("object"===typeof e&&"length"in e)for(let t=0;t{const n=e[r],i=n.getAttribute("data-swiper-slide-index");i&&n.setAttribute("data-swiper-slide-index",parseInt(i,10)+o),t[parseInt(r,10)+o]=n})),r.virtual.cache=t}d(!0),r.slideTo(n,0)}function p(e){if("undefined"===typeof e||null===e)return;let t=r.activeIndex;if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)r.params.virtual.cache&&(delete r.virtual.cache[e[n]],Object.keys(r.virtual.cache).forEach((t=>{t>e&&(r.virtual.cache[t-1]=r.virtual.cache[t],r.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete r.virtual.cache[t])}))),r.virtual.slides.splice(e[n],1),e[n]{t>e&&(r.virtual.cache[t-1]=r.virtual.cache[t],r.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete r.virtual.cache[t])}))),r.virtual.slides.splice(e,1),e{if(!r.params.virtual.enabled)return;let e;if("undefined"===typeof r.passedParams.virtual.slides){const t=[...r.slidesEl.children].filter((e=>e.matches(`.${r.params.slideClass}, swiper-slide`)));t&&t.length&&(r.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),r.virtual.cache[t]=e,e.remove()})))}e||(r.virtual.slides=r.params.virtual.slides),r.classNames.push(`${r.params.containerModifierClass}virtual`),r.params.watchSlidesProgress=!0,r.originalParams.watchSlidesProgress=!0,d()})),a("setTranslate",(()=>{r.params.virtual.enabled&&(r.params.cssMode&&!r._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{d()}),100)):d())})),a("init update resize",(()=>{r.params.virtual.enabled&&r.params.cssMode&&(0,o.s)(r.wrapperEl,"--swiper-virtual-size",`${r.virtualSize}px`)})),Object.assign(r.virtual,{appendSlide:f,prependSlide:h,removeSlide:p,removeAllSlides:m,update:d})}},12375:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&o(e[r],t[r])}))}r.d(t,{a:()=>c,g:()=>a});const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!==typeof document?document:{};return o(e,i),e}const s={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function c(){const e="undefined"!==typeof window?window:{};return o(e,s),e}},21463:(e,t,r)=>{"use strict";r.d(t,{S:()=>ke,d:()=>Ce});var n=r(12375),o=r(17044);let i,a,s;function c(){const e=(0,n.a)(),t=(0,n.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function u(){return i||(i=c()),i}function l(e){let{userAgent:t}=void 0===e?{}:e;const r=u(),o=(0,n.a)(),i=o.navigator.platform,a=t||o.navigator.userAgent,s={ios:!1,android:!1},c=o.screen.width,l=o.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/);let f=a.match(/(iPad).*OS\s([\d_]+)/);const h=a.match(/(iPod)(.*OS\s([\d_]+))?/),p=!f&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===i;let g="MacIntel"===i;const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&g&&r.touch&&y.indexOf(`${c}x${l}`)>=0&&(f=a.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),g=!1),d&&!m&&(s.os="android",s.android=!0),(f||p||h)&&(s.os="ios",s.ios=!0),s}function d(e){return void 0===e&&(e={}),a||(a=l(e)),a}function f(){const e=(0,n.a)(),t=d();let r=!1;function o(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(o()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));r=e<16||16===e&&n<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=o(),s=a||i&&t.ios;return{isSafari:r||a,needPerspectiveFix:r,need3dFix:s,isWebView:i}}function h(){return s||(s=f()),s}function p(e){let{swiper:t,on:r,emit:o}=e;const i=(0,n.a)();let a=null,s=null;const c=()=>{t&&!t.destroyed&&t.initialized&&(o("beforeResize"),o("resize"))},u=()=>{t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{s=i.requestAnimationFrame((()=>{const{width:r,height:n}=t;let o=r,i=n;e.forEach((e=>{let{contentBoxSize:r,contentRect:n,target:a}=e;a&&a!==t.el||(o=n?n.width:(r[0]||r).inlineSize,i=n?n.height:(r[0]||r).blockSize)})),o===r&&i===n||c()}))})),a.observe(t.el))},l=()=>{s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},d=()=>{t&&!t.destroyed&&t.initialized&&o("orientationchange")};r("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?u():(i.addEventListener("resize",c),i.addEventListener("orientationchange",d))})),r("destroy",(()=>{l(),i.removeEventListener("resize",c),i.removeEventListener("orientationchange",d)}))}function m(e){let{swiper:t,extendParams:r,on:i,emit:a}=e;const s=[],c=(0,n.a)(),u=function(e,r){void 0===r&&(r={});const n=c.MutationObserver||c.WebkitMutationObserver,o=new n((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const r=function(){a("observerUpdate",e[0])};c.requestAnimationFrame?c.requestAnimationFrame(r):c.setTimeout(r,0)}));o.observe(e,{attributes:"undefined"===typeof r.attributes||r.attributes,childList:"undefined"===typeof r.childList||r.childList,characterData:"undefined"===typeof r.characterData||r.characterData}),s.push(o)},l=()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,o.a)(t.hostEl);for(let t=0;t{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",d)}var g={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;const o=r?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][o](t)})),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;function o(){n.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var r=arguments.length,i=new Array(r),a=0;a=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((n,o)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(o,1)}))})),r):r},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,r,n;for(var o=arguments.length,i=new Array(o),a=0;a{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...r])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,r)}))})),e}};function y(){const e=this;let t,r;const n=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,r="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt((0,o.o)(n,"padding-left")||0,10)-parseInt((0,o.o)(n,"padding-right")||0,10),r=r-parseInt((0,o.o)(n,"padding-top")||0,10)-parseInt((0,o.o)(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))}function v(){const e=this;function t(t,r){return parseFloat(t.getPropertyValue(e.getDirectionLabel(r))||0)}const r=e.params,{wrapperEl:n,slidesEl:i,size:a,rtlTranslate:s,wrongRTL:c}=e,u=e.virtual&&r.virtual.enabled,l=u?e.virtual.slides.length:e.slides.length,d=(0,o.e)(i,`.${e.params.slideClass}, swiper-slide`),f=u?e.virtual.slides.length:d.length;let h=[];const p=[],m=[];let g=r.slidesOffsetBefore;"function"===typeof g&&(g=r.slidesOffsetBefore.call(e));let y=r.slidesOffsetAfter;"function"===typeof y&&(y=r.slidesOffsetAfter.call(e));const v=e.snapGrid.length,b=e.slidesGrid.length;let w=r.spaceBetween,_=-g,E=0,A=0;if("undefined"===typeof a)return;"string"===typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*a:"string"===typeof w&&(w=parseFloat(w)),e.virtualSize=-w,d.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&((0,o.s)(n,"--swiper-centered-offset-before",""),(0,o.s)(n,"--swiper-centered-offset-after",""));const S=r.grid&&r.grid.rows>1&&e.grid;let T;S?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const x="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>"undefined"!==typeof r.breakpoints[e].slidesPerView)).length>0;for(let C=0;C1&&h.push(e.virtualSize-a)}if(u&&r.loop){const t=m[0]+w;if(r.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),o=t*r.slidesPerGroup;for(let e=0;e!(r.cssMode&&!r.loop)||t!==d.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-a;h=h.map((e=>e<=0?-g:e>t?t+y:e))}if(r.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(w||0)})),e-=w,e{h[r]=e-t})),p.forEach(((e,r)=>{p[r]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:h,slidesGrid:p,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,o.s)(n,"--swiper-centered-offset-before",-h[0]+"px"),(0,o.s)(n,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(f!==l&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==b&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);f<=r.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}}function b(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let o,i=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{r.push(e)}));else for(o=0;ot.slides.length&&!n)break;r.push(a(e))}else r.push(a(t.activeIndex));for(o=0;oi?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)}function w(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=r.spaceBetween;"string"===typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"===typeof s&&(s=parseFloat(s));for(let c=0;c=0&&f<=t.size-t.slidesSizesGrid[c],m=f>=0&&f1&&h<=t.size||f<=0&&h>=t.size;m&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(c),n[c].classList.add(r.slideVisibleClass)),p&&n[c].classList.add(r.slideFullyVisibleClass),e.progress=o?-l:l,e.originalProgress=o?-d:d}}function E(e){const t=this;if("undefined"===typeof e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:a,progressLoop:s}=t;const c=i,u=a;if(0===n)o=0,i=!0,a=!0;else{o=(e-t.minTranslate())/n;const r=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;i=r||o<=0,a=s||o>=1,r&&(o=0),s&&(o=1)}if(r.loop){const r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[r],i=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],c=Math.abs(e);s=c>=o?(c-o)/a:(c+a-i)/a,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:i,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),i&&!c&&t.emit("reachBeginning toEdge"),a&&!u&&t.emit("reachEnd toEdge"),(c&&!i||u&&!a)&&t.emit("fromEdge"),t.emit("progress",o)}function A(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,a=e.virtual&&r.virtual.enabled,s=e.grid&&r.grid&&r.grid.rows>1,c=e=>(0,o.e)(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let u,l,d;if(t.forEach((e=>{e.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)})),a)if(r.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),u=c(`[data-swiper-slide-index="${t}"]`)}else u=c(`[data-swiper-slide-index="${i}"]`);else s?(u=t.filter((e=>e.column===i))[0],d=t.filter((e=>e.column===i+1))[0],l=t.filter((e=>e.column===i-1))[0]):u=t[i];u&&(u.classList.add(r.slideActiveClass),s?(d&&d.classList.add(r.slideNextClass),l&&l.classList.add(r.slidePrevClass)):(d=(0,o.p)(u,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d&&(d=t[0]),d&&d.classList.add(r.slideNextClass),l=(0,o.q)(u,`.${r.slideClass}, swiper-slide`)[0],r.loop&&0===!l&&(l=t[t.length-1]),l&&l.classList.add(r.slidePrevClass))),e.emitSlidesClasses()}const S=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},T=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},x=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const r=o,i=[r-t];return i.push(...Array.from({length:t}).map(((e,t)=>r+n+t))),void e.slides.forEach(((t,r)=>{i.includes(t.column)&&T(e,r)}))}const i=o+n-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=i+t;a+=1){const t=(a%r+r)%r;(ti)&&T(e,t)}else for(let a=Math.max(o-t,0);a<=Math.min(i+t,r-1);a+=1)a!==o&&(a>i||a=t[i]&&n=t[i]&&n=t[i]&&(o=i);return r.normalizeSlideIndex&&(o<0||"undefined"===typeof o)&&(o=0),o}function I(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:o,activeIndex:i,realIndex:a,snapIndex:s}=t;let c,u=e;const l=e=>{let r=e-t.virtual.slidesBefore;return r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),r};if("undefined"===typeof u&&(u=C(t)),n.indexOf(r)>=0)c=n.indexOf(r);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),u===i&&!t.params.loop)return void(c!==s&&(t.snapIndex=c,t.emit("snapIndexChange")));if(u===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=l(u));const d=t.grid&&o.grid&&o.grid.rows>1;let f;if(t.virtual&&o.virtual.enabled&&o.loop)f=l(u);else if(d){const e=t.slides.filter((e=>e.column===u))[0];let r=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(r)&&(r=Math.max(t.slides.indexOf(e),0)),f=Math.floor(r/o.grid.rows)}else if(t.slides[u]){const e=t.slides[u].getAttribute("data-swiper-slide-index");f=e?parseInt(e,10):u}else f=u;Object.assign(t,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:f,previousIndex:i,activeIndex:u}),t.initialized&&x(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function O(e,t){const r=this,n=r.params;let o=e.closest(`.${n.slideClass}, swiper-slide`);!o&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!o&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(o=e)}));let i,a=!1;if(o)for(let s=0;su?u:n&&ea?"next":i=u.length&&(y=u.length-1);const v=-u[y];if(c.normalizeSlideIndex)for(let o=0;o=t&&e=t&&e=t&&(s=o)}if(a.initialized&&s!==f){if(!a.allowSlideNext&&(h?v>a.translate&&v>a.minTranslate():va.translate&&v>a.maxTranslate()&&(f||0)!==s)return!1}let b;if(s!==(d||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(v),b=s>f?"next":s0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[e?"scrollLeft":"scrollTop"]=r}))):p[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,o.r)({swiper:a,targetPosition:r,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,b),0===t?a.transitionEnd(r,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,b))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function H(e,t,r,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"===typeof e){const t=parseInt(e,10);e=t}const o=this;if(o.destroyed)return;const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a+=o.virtual.slidesBefore;else{let e;if(i){const t=a*o.params.grid.rows;e=o.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=o.getSlideIndexByData(a);const t=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:r}=o.params;let n=o.params.slidesPerView;"auto"===n?n=o.slidesPerViewDynamic():(n=Math.ceil(parseFloat(o.params.slidesPerView,10)),r&&n%2===0&&(n+=1));let s=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame((()=>{o.slideTo(a,t,r,n)})),o}function V(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{enabled:o,params:i,animating:a}=n;if(!o||n.destroyed)return n;let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const c=n.activeIndex{n.slideTo(n.activeIndex+c,e,t,r)})),!0}return i.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+c,e,t,r)}function G(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{params:o,snapGrid:i,slidesGrid:a,rtlTranslate:s,enabled:c,animating:u}=n;if(!c||n.destroyed)return n;const l=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!l&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const d=s?n.translate:-n.translate;function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=f(d),p=i.map((e=>f(e)));let m=i[p.indexOf(h)-1];if("undefined"===typeof m&&o.cssMode){let e;i.forEach(((t,r)=>{h>=t&&(e=r)})),"undefined"!==typeof e&&(m=i[e>0?e-1:e])}let g=0;if("undefined"!==typeof m&&(g=a.indexOf(m),g<0&&(g=n.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(g=g-n.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),o.rewind&&n.isBeginning){const o=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(o,e,t,r)}return o.loop&&0===n.activeIndex&&o.cssMode?(requestAnimationFrame((()=>{n.slideTo(g,e,t,r)})),!0):n.slideTo(g,e,t,r)}function q(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,e,t,r)}function W(e,t,r,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);const o=this;if(o.destroyed)return;let i=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),c=o.rtlTranslate?o.translate:-o.translate;if(c>=o.snapGrid[s]){const e=o.snapGrid[s],t=o.snapGrid[s+1];c-e>(t-e)*n&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[s-1],t=o.snapGrid[s];c-e<=(t-e)*n&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,r)}function K(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,a=e.clickedIndex;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=e.getSlideIndex((0,o.e)(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=e.getSlideIndex((0,o.e)(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}var X={slideTo:z,slideToLoop:H,slideNext:V,slidePrev:G,slideReset:q,slideToClosest:W,slideToClickedSlide:K};function Z(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{const e=(0,o.e)(n,`.${r.slideClass}, swiper-slide`);e.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=t.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(a?r.grid.rows:1),c=t.slides.length%s!==0,u=a&&t.slides.length%r.grid.rows!==0,l=e=>{for(let n=0;n1;l.lengthe.classList.contains(p.slideActiveClass)))[0]):E=a;const A="next"===n||!n,S="prev"===n||!n;let T=0,x=0;const C=b?Math.ceil(l.length/p.grid.rows):l.length,I=b?l[a].column:a,O=I+(m&&"undefined"===typeof i?-g/2+.5:0);if(O=0;t-=1)l[t].column===e&&w.push(t)}else w.push(C-t-1)}}else if(O+g>C-v){x=Math.max(O-(C-2*v),y);for(let e=0;e{e.column===t&&_.push(r)})):_.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame((()=>{u.__preventObserver__=!1})),S&&w.forEach((e=>{l[e].swiperLoopMoveDOM=!0,h.prepend(l[e]),l[e].swiperLoopMoveDOM=!1})),A&&_.forEach((e=>{l[e].swiperLoopMoveDOM=!0,h.append(l[e]),l[e].swiperLoopMoveDOM=!1})),u.recalcSlides(),"auto"===p.slidesPerView?u.updateSlides():b&&(w.length>0&&S||_.length>0&&A)&&u.slides.forEach(((e,t)=>{u.grid.updateSlide(t,e,u.slides)})),p.watchSlidesProgress&&u.updateSlidesOffset(),r)if(w.length>0&&S){if("undefined"===typeof t){const e=u.slidesGrid[E],t=u.slidesGrid[E+T],r=t-e;c?u.setTranslate(u.translate-r):(u.slideTo(E+Math.ceil(T),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-r,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-r))}else if(i){const e=b?w.length/p.grid.rows:w.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(_.length>0&&A)if("undefined"===typeof t){const e=u.slidesGrid[E],t=u.slidesGrid[E-x],r=t-e;c?u.setTranslate(u.translate-r):(u.slideTo(E-x,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-r,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-r))}else{const e=b?_.length/p.grid.rows:_.length;u.slideTo(u.activeIndex-e,0,!1,!0)}if(u.allowSlidePrev=d,u.allowSlideNext=f,u.controller&&u.controller.control&&!s){const e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===p.slidesPerView&&r})})):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===p.slidesPerView&&r})}u.emit("loopFix")}function Q(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}var J={loopCreate:Z,loopFix:Y,loopDestroy:Q};function ee(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))}function te(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}var re={setGrabCursor:ee,unsetGrabCursor:te};function ne(e,t){function r(t){if(!t||t===(0,n.g)()||t===(0,n.a)())return null;t.assignedSlot&&(t=t.assignedSlot);const o=t.closest(e);return o||t.getRootNode?o||r(t.getRootNode().host):null}return void 0===t&&(t=this),r(t)}function oe(e,t,r){const o=(0,n.a)(),{params:i}=e,a=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return!a||!(r<=s||r>=o.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function ie(e){const t=this,r=(0,n.g)();let i=e;i.originalEvent&&(i=i.originalEvent);const a=t.touchEventsData;if("pointerdown"===i.type){if(null!==a.pointerId&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(a.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void oe(t,i,i.targetTouches[0].pageX);const{params:s,touches:c,enabled:u}=t;if(!u)return;if(!s.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=i.target;if("wrapper"===s.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(a.isTouched&&a.isMoved)return;const d=!!s.noSwipingClass&&""!==s.noSwipingClass,f=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&f&&(l=f[0]);const h=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!(!i.target||!i.target.shadowRoot);if(s.noSwiping&&(p?ne(h,l):l.closest(h)))return void(t.allowClick=!0);if(s.swipeHandler&&!l.closest(s.swipeHandler))return;c.currentX=i.pageX,c.currentY=i.pageY;const m=c.currentX,g=c.currentY;if(!oe(t,i,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=m,c.startY=g,a.touchStartTime=(0,o.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1);let y=!0;l.matches(a.focusableElements)&&(y=!1,"SELECT"===l.nodeName&&(a.isTouched=!1)),r.activeElement&&r.activeElement.matches(a.focusableElements)&&r.activeElement!==l&&r.activeElement.blur();const v=y&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!v||l.isContentEditable||i.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function ae(e){const t=(0,n.g)(),r=this,i=r.touchEventsData,{params:a,touches:s,rtlTranslate:c,enabled:u}=r;if(!u)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let l,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==i.touchId)return;const e=d.pointerId;if(e!==i.pointerId)return}if("touchmove"===d.type){if(l=[...d.changedTouches].filter((e=>e.identifier===i.touchId))[0],!l||l.identifier!==i.touchId)return}else l=d;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&r.emit("touchMoveOpposite",d));const f=l.pageX,h=l.pageY;if(d.preventedByNestedSwiper)return s.startX=f,void(s.startY=h);if(!r.allowTouchMove)return d.target.matches(i.focusableElements)||(r.allowClick=!1),void(i.isTouched&&(Object.assign(s,{startX:f,startY:h,currentX:f,currentY:h}),i.touchStartTime=(0,o.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(hs.startY&&r.translate>=r.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(fs.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(i.focusableElements))return i.isMoved=!0,void(r.allowClick=!1);i.allowTouchCallbacks&&r.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=f,s.currentY=h;const p=s.currentX-s.startX,m=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(p**2+m**2)=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(p))/Math.PI,i.isScrolling=r.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&r.emit("touchMoveOpposite",d),"undefined"===typeof i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;r.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let g=r.isHorizontal()?p:m,y=r.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(g=Math.abs(g)*(c?1:-1),y=Math.abs(y)*(c?1:-1)),s.diff=g,g*=a.touchRatio,c&&(g=-g,y=-y);const v=r.touchesDirection;r.swipeDirection=g>0?"prev":"next",r.touchesDirection=y>0?"prev":"next";const b=r.params.loop&&!a.cssMode,w="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!i.isMoved){if(b&&w&&r.loopFix({direction:r.swipeDirection}),i.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",d)}let _;if((new Date).getTime(),i.isMoved&&i.allowThresholdMove&&v!==r.touchesDirection&&b&&w&&Math.abs(g)>=1)return Object.assign(s,{startX:f,startY:h,currentX:f,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);r.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,A=a.resistanceRatio;if(a.touchReleaseOnEdges&&(A=0),g>0?(b&&w&&!_&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>r.minTranslate()&&(E=!1,a.resistance&&(i.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+i.startTranslate+g)**A))):g<0&&(b&&w&&!_&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),r.allowSlidePrev||r.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=r.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(i.currentTranslate),r.setTranslate(i.currentTranslate))}function se(e){const t=this,r=t.touchEventsData;let n,i=e;i.originalEvent&&(i=i.originalEvent);const a="touchend"===i.type||"touchcancel"===i.type;if(a){if(n=[...i.changedTouches].filter((e=>e.identifier===r.touchId))[0],!n||n.identifier!==r.touchId)return}else{if(null!==r.touchId)return;if(i.pointerId!==r.pointerId)return;n=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){const e=["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView);if(!e)return}r.pointerId=null,r.touchId=null;const{params:s,touches:c,rtlTranslate:u,slidesGrid:l,enabled:d}=t;if(!d)return;if(!s.simulateTouch&&"mouse"===i.pointerType)return;if(r.allowTouchCallbacks&&t.emit("touchEnd",i),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);s.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const f=(0,o.d)(),h=f-r.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),h<300&&f-r.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(r.lastClickTime=(0,o.d)(),(0,o.n)((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===c.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let p;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,p=s.followFinger?u?t.translate:-t.translate:-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const m=p>=-t.maxTranslate()&&!t.params.loop;let g=0,y=t.slidesSizesGrid[0];for(let o=0;o=l[o]&&p=l[o])&&(g=o,y=l[l.length-1]-l[l.length-2])}let v=null,b=null;s.rewind&&(t.isBeginning?b=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const w=(p-l[g])/y,_=gs.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?v:g+_):t.slideTo(g)),"prev"===t.swipeDirection&&(w>1-s.longSwipesRatio?t.slideTo(g+_):null!==b&&w<0&&Math.abs(w)>s.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl);e?i.target===t.navigation.nextEl?t.slideTo(g+_):t.slideTo(g):("next"===t.swipeDirection&&t.slideTo(null!==v?v:g+_),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g))}}function ce(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=o,e.allowSlideNext=n,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function ue(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function le(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();o=0===i?0:(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function de(e){const t=this;S(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function fe(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const he=(e,t)=>{const r=(0,n.g)(),{params:o,el:i,wrapperEl:a,device:s}=e,c=!!o.nested,u="on"===t?"addEventListener":"removeEventListener",l=t;r[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),i[u]("touchstart",e.onTouchStart,{passive:!1}),i[u]("pointerdown",e.onTouchStart,{passive:!1}),r[u]("touchmove",e.onTouchMove,{passive:!1,capture:c}),r[u]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[u]("touchend",e.onTouchEnd,{passive:!0}),r[u]("pointerup",e.onTouchEnd,{passive:!0}),r[u]("pointercancel",e.onTouchEnd,{passive:!0}),r[u]("touchcancel",e.onTouchEnd,{passive:!0}),r[u]("pointerout",e.onTouchEnd,{passive:!0}),r[u]("pointerleave",e.onTouchEnd,{passive:!0}),r[u]("contextmenu",e.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&i[u]("click",e.onClick,!0),o.cssMode&&a[u]("scroll",e.onScroll),o.updateOnWindowResize?e[l](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ce,!0):e[l]("observerUpdate",ce,!0),i[u]("load",e.onLoad,{capture:!0})};function pe(){const e=this,{params:t}=e;e.onTouchStart=ie.bind(e),e.onTouchMove=ae.bind(e),e.onTouchEnd=se.bind(e),e.onDocumentTouchStart=fe.bind(e),t.cssMode&&(e.onScroll=le.bind(e)),e.onClick=ue.bind(e),e.onLoad=de.bind(e),he(e,"on")}function me(){const e=this;he(e,"off")}var ge={attachEvents:pe,detachEvents:me};const ye=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function ve(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const c=s in a?a[s]:void 0,u=c||e.originalParams,l=ye(e,n),d=ye(e,u),f=n.enabled;l&&!d?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&d&&(i.classList.add(`${n.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof u[t])return;const r=n[t]&&n[t].enabled,o=u[t]&&u[t].enabled;r&&!o&&e[t].disable(),!r&&o&&e[t].enable()}));const h=u.direction&&u.direction!==n.direction,p=n.loop&&(u.slidesPerView!==n.slidesPerView||h),m=n.loop;h&&r&&e.changeDirection(),(0,o.u)(e.params,u);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!g?e.disable():!f&&g&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",u),r&&(p?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&y?(e.loopCreate(t),e.updateSlides()):m&&!y&&e.loopDestroy()),e.emit("breakpoint",u)}function be(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let o=!1;const i=(0,n.a)(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1)),r=a*t;return{value:r,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let n=0;n{"object"===typeof e?Object.keys(e).forEach((n=>{e[n]&&r.push(t+n)})):"string"===typeof e&&r.push(t+e)})),r}function Ee(){const e=this,{classNames:t,params:r,rtl:n,el:o,device:i}=e,a=_e(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()}function Ae(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var Se={addClasses:Ee,removeClasses:Ae};function Te(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var xe={checkOverflow:Te},Ce={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ie(e,t){return function(r){void 0===r&&(r={});const n=Object.keys(r)[0],i=r[n];"object"===typeof i&&null!==i?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i?("object"!==typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,o.u)(t,r)):(0,o.u)(t,r)):(0,o.u)(t,r)}}const Oe={eventsEmitter:g,update:P,translate:L,transition:$,slide:X,loop:J,grabCursor:re,events:ge,breakpoints:we,checkOverflow:xe,classes:Se},Pe={};class ke{constructor(){let e,t;for(var r=arguments.length,i=new Array(r),a=0;a1){const e=[];return s.querySelectorAll(t.el).forEach((r=>{const n=(0,o.u)({},t,{el:r});e.push(new ke(n))})),e}const c=this;c.__swiper__=!0,c.support=u(),c.device=d({userAgent:t.userAgent}),c.browser=h(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],t.modules&&Array.isArray(t.modules)&&c.modules.push(...t.modules);const l={};c.modules.forEach((e=>{e({params:t,swiper:c,extendParams:Ie(t,l),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})}));const f=(0,o.u)({},Ce,l);return c.params=(0,o.u)({},f,Pe,t),c.originalParams=(0,o.u)({},c.params),c.passedParams=(0,o.u)({},t),c.params&&c.params.on&&Object.keys(c.params.on).forEach((e=>{c.on(e,c.params.on[e])})),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===c.params.direction},isVertical(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:r}=this,n=(0,o.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,o.h)(n[0]);return(0,o.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=(0,o.e)(t,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),o=r.maxTranslate(),i=(o-n)*e+n;r.translateTo(i,"undefined"===typeof t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((r=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const r=this,{params:n,slides:o,slidesGrid:i,slidesSizesGrid:a,size:s,activeIndex:c}=r;let u=1;if("number"===typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=o[c]?Math.ceil(o[c].swiperSlideSize):0;for(let r=c+1;rs&&(e=!0));for(let r=c-1;r>=0;r-=1)o[r]&&!e&&(t+=o[r].swiperSlideSize,u+=1,t>s&&(e=!0))}else if("current"===e)for(let l=c+1;l=0;l-=1){const e=i[c]-i[l]{t.complete&&S(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)n(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const t=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||n()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"===typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=()=>{if(r&&r.shadowRoot&&r.shadowRoot.querySelector){const e=r.shadowRoot.querySelector(n());return e}return(0,o.e)(r,n())[0]};let a=i();return!a&&t.params.createElements&&(a=(0,o.c)("div",t.params.wrapperClass),r.append(a),(0,o.e)(r,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:r,wrapperEl:a,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,o.o)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,o.o)(r,"direction")),wrongRTL:"-webkit-box"===(0,o.o)(a,"display")}),!0}init(e){const t=this;if(t.initialized)return t;const r=t.mount(e);if(!1===r)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?S(t,e):e.addEventListener("load",(e=>{S(t,e.target)}))})),x(t),t.initialized=!0,x(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const r=this,{params:n,el:i,wrapperEl:a,slides:s}=r;return"undefined"===typeof r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.el.swiper=null,(0,o.v)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,o.u)(Pe,e)}static get extendedDefaults(){return Pe}static get defaults(){return Ce}static installModule(e){ke.prototype.__modules__||(ke.prototype.__modules__=[]);const t=ke.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ke.installModule(e))),ke):(ke.installModule(e),ke)}}Object.keys(Oe).forEach((e=>{Object.keys(Oe[e]).forEach((t=>{ke.prototype[t]=Oe[e][t]}))})),ke.use([p,m])},17044:(e,t,r)=>{"use strict";r.d(t,{a:()=>E,c:()=>y,d:()=>s,e:()=>m,f:()=>A,h:()=>_,j:()=>u,n:()=>a,o:()=>w,p:()=>b,q:()=>v,r:()=>p,s:()=>h,t:()=>g,u:()=>f,v:()=>i});var n=r(12375);function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(r){}try{delete t[e]}catch(r){}}))}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function s(){return Date.now()}function c(e){const t=(0,n.a)();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function u(e,t){void 0===t&&(t="x");const r=(0,n.a)();let o,i,a;const s=c(e);return r.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new r.WebKitCSSMatrix("none"===i?"":i)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),o=a.toString().split(",")),"x"===t&&(i=r.WebKitCSSMatrix?a.m41:16===o.length?parseFloat(o[12]):parseFloat(o[4])),"y"===t&&(i=r.WebKitCSSMatrix?a.m42:16===o.length?parseFloat(o[13]):parseFloat(o[5])),i||0}function l(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function f(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;rt.indexOf(e)<0));for(let t=0,o=r.length;ta?"next":"prev",d=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,f=()=>{s=(new Date).getTime(),null===c&&(c=s);const e=Math.max(Math.min((s-c)/u,1),0),n=.5-Math.cos(e*Math.PI)/2;let l=a+n*(r-a);if(d(l,r)&&(l=r),t.wrapperEl.scrollTo({[o]:l}),d(l,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[o]:l})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(f)};f()}function m(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function g(e){try{return void console.warn(e)}catch(t){}}function y(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:o(t)),r}function v(e,t){const r=[];while(e.previousElementSibling){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function b(e,t){const r=[];while(e.nextElementSibling){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function w(e,t){const r=(0,n.a)();return r.getComputedStyle(e,null).getPropertyValue(t)}function _(e){let t,r=e;if(r){t=0;while(null!==(r=r.previousSibling))1===r.nodeType&&(t+=1);return t}}function E(e,t){const r=[];let n=e.parentElement;while(n)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function A(e,t,r){const o=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(o.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(o.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},60199:(e,t,r)=>{"use strict";r.d(t,{RC:()=>_,qr:()=>E});var n=r(20641),o=r(50953),i=r(21463);const a=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function s(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function c(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>r.indexOf(e)<0)).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:s(t[r])&&s(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:c(e[r],t[r]):e[r]=t[r]}))}function u(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function l(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function d(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function f(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),r=[];return t.forEach((e=>{r.indexOf(e)<0&&r.push(e)})),r.join(" ")}function h(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function p(e){let{swiper:t,slides:r,passedParams:n,changedParams:o,nextEl:i,prevEl:a,scrollbarEl:c,paginationEl:u}=e;const l=o.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:d,pagination:f,navigation:h,scrollbar:p,virtual:m,thumbs:g}=t;let y,v,b,w,_,E,A,S;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(y=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(v=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||u)&&(d.pagination||!1===d.pagination)&&f&&!f.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(d.scrollbar||!1===d.scrollbar)&&p&&!p.el&&(w=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||i)&&(d.navigation||!1===d.navigation)&&h&&!h.prevEl&&!h.nextEl&&(_=!0);const T=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),d[e].prevEl=void 0,d[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),d[e].el=void 0,t[e].el=void 0))};if(o.includes("loop")&&t.isElement&&(d.loop&&!n.loop?E=!0:!d.loop&&n.loop?A=!0:S=!0),l.forEach((e=>{if(s(d[e])&&s(n[e]))Object.assign(d[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||T(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?d[e]=n[e]:!1===t&&T(e)}})),l.includes("controller")&&!v&&t.controller&&t.controller.control&&d.controller&&d.controller.control&&(t.controller.control=d.controller.control),o.includes("children")&&r&&m&&d.virtual.enabled?(m.slides=r,m.update(!0)):o.includes("virtual")&&m&&d.virtual.enabled&&(r&&(m.slides=r),m.update(!0)),o.includes("children")&&r&&d.loop&&(S=!0),y){const e=g.init();e&&g.update(!0)}v&&(t.controller.control=d.controller.control),b&&(!t.isElement||u&&"string"!==typeof u||(u=document.createElement("div"),u.classList.add("swiper-pagination"),u.part.add("pagination"),t.el.appendChild(u)),u&&(d.pagination.el=u),f.init(),f.render(),f.update()),w&&(!t.isElement||c&&"string"!==typeof c||(c=document.createElement("div"),c.classList.add("swiper-scrollbar"),c.part.add("scrollbar"),t.el.appendChild(c)),c&&(d.scrollbar.el=c),p.init(),p.updateSize(),p.setTranslate()),_&&(t.isElement&&(i&&"string"!==typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-next"),i.innerHTML=t.hostEl.constructor.nextButtonSvg,i.part.add("button-next"),t.el.appendChild(i)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=t.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),t.el.appendChild(a))),i&&(d.navigation.nextEl=i),a&&(d.navigation.prevEl=a),h.init(),h.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&t.changeDirection(n.direction,!1),(E||S)&&t.loopDestroy(),(A||S)&&t.loopCreate(),t.update()}function m(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const r={on:{}},n={},o={};c(r,i.d),r._emitClasses=!0,r.init=!1;const u={},l=a.map((e=>e.replace(/_/,""))),d=Object.assign({},e);return Object.keys(d).forEach((i=>{"undefined"!==typeof e[i]&&(l.indexOf(i)>=0?s(e[i])?(r[i]={},o[i]={},c(r[i],e[i]),c(o[i],e[i])):(r[i]=e[i],o[i]=e[i]):0===i.search(/on[A-Z]/)&&"function"===typeof e[i]?t?n[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:r.on[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:u[i]=e[i])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]})),{params:r,passedParams:o,rest:u,events:n}}function g(e,t){let{el:r,nextEl:n,prevEl:o,paginationEl:i,scrollbarEl:a,swiper:s}=e;u(t)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),l(t)&&i&&(s.params.pagination.el=i,s.originalParams.pagination.el=i),d(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(r)}function y(e,t,r,n,o){const i=[];if(!t)return i;const c=e=>{i.indexOf(e)<0&&i.push(e)};if(r&&n){const e=n.map(o),t=r.map(o);e.join("")!==t.join("")&&c("children"),n.length!==r.length&&c("children")}const u=a.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,"")));return u.forEach((r=>{if(r in e&&r in t)if(s(e[r])&&s(t[r])){const n=Object.keys(e[r]),o=Object.keys(t[r]);n.length!==o.length?c(r):(n.forEach((n=>{e[r][n]!==t[r][n]&&c(r)})),o.forEach((n=>{e[r][n]!==t[r][n]&&c(r)})))}else e[r]!==t[r]&&c(r)})),i}const v=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function b(e,t,r){void 0===e&&(e={});const n=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},i=(e,t)=>{Array.isArray(e)&&e.forEach((e=>{const r="symbol"===typeof e.type;"default"===t&&(t="container-end"),r&&e.children?i(e.children,t):!e.type||"SwiperSlide"!==e.type.name&&"AsyncComponentWrapper"!==e.type.name?o[t]&&o[t].push(e):n.push(e)}))};return Object.keys(e).forEach((t=>{if("function"!==typeof e[t])return;const r=e[t]();i(r,t)})),r.value=t.value,t.value=n,{slides:n,slots:o}}function w(e,t,r){if(!r)return null;const o=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:s}=r,c=e.value.params.loop?-t.length:0,u=e.value.params.loop?2*t.length:t.length,l=[];for(let n=c;n=a&&n<=s&&l.push(t[o(n)]);return l.map((t=>(t.props||(t.props={}),t.props.style||(t.props.style={}),t.props.swiperRef=e,t.props.style=i,(0,n.h)(t.type,{...t.props},t.children))))}const _={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","breakpointsBase","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,t){let{slots:r,emit:a}=t;const{tag:s,wrapperTag:_}=e,E=(0,o.KR)("swiper"),A=(0,o.KR)(null),S=(0,o.KR)(!1),T=(0,o.KR)(!1),x=(0,o.KR)(null),C=(0,o.KR)(null),I=(0,o.KR)(null),O={value:[]},P={value:[]},k=(0,o.KR)(null),N=(0,o.KR)(null),R=(0,o.KR)(null),M=(0,o.KR)(null),{params:B,passedParams:L}=m(e,!1);b(r,O,P),I.value=L,P.value=O.value;const D=()=>{b(r,O,P),S.value=!0};B.onAny=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{A.value=e},renderExternalUpdate:!1};c(C.value.params.virtual,e),c(C.value.originalParams.virtual,e)}function j(e){return B.virtual?w(C,e,A.value):(e.forEach(((e,t)=>{e.props||(e.props={}),e.props.swiperRef=C,e.props.swiperSlideIndex=t})),e)}return(0,n.$u)((()=>{!T.value&&C.value&&(C.value.emitSlidesClasses(),T.value=!0);const{passedParams:t}=m(e,!1),r=y(t,I.value,O.value,P.value,(e=>e.props&&e.props.key));I.value=t,(r.length||S.value)&&C.value&&!C.value.destroyed&&p({swiper:C.value,slides:O.value,passedParams:t,changedParams:r,nextEl:k.value,prevEl:N.value,scrollbarEl:M.value,paginationEl:R.value}),S.value=!1})),(0,n.Gt)("swiper",C),(0,n.wB)(A,(()=>{(0,n.dY)((()=>{v(C.value)}))})),(0,n.sV)((()=>{x.value&&(g({el:x.value,nextEl:k.value,prevEl:N.value,paginationEl:R.value,scrollbarEl:M.value,swiper:C.value},B),a("swiper",C.value))})),(0,n.xo)((()=>{C.value&&!C.value.destroyed&&C.value.destroy(!0,!1)})),()=>{const{slides:t,slots:o}=b(r,O,P);return(0,n.h)(s,{ref:x,class:f(E.value)},[o["container-start"],(0,n.h)(_,{class:h(B.wrapperClass)},[o["wrapper-start"],j(t),o["wrapper-end"]]),u(e)&&[(0,n.h)("div",{ref:N,class:"swiper-button-prev"}),(0,n.h)("div",{ref:k,class:"swiper-button-next"})],d(e)&&(0,n.h)("div",{ref:M,class:"swiper-scrollbar"}),l(e)&&(0,n.h)("div",{ref:R,class:"swiper-pagination"}),o["container-end"]])}}},E={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:r}=t,i=!1;const{swiperRef:a}=e,s=(0,o.KR)(null),c=(0,o.KR)("swiper-slide"),u=(0,o.KR)(!1);function l(e,t,r){t===s.value&&(c.value=r)}(0,n.sV)((()=>{a&&a.value&&(a.value.on("_slideClass",l),i=!0)})),(0,n.Ic)((()=>{!i&&a&&a.value&&(a.value.on("_slideClass",l),i=!0)})),(0,n.$u)((()=>{s.value&&a&&a.value&&("undefined"!==typeof e.swiperSlideIndex&&(s.value.swiperSlideIndex=e.swiperSlideIndex),a.value.destroyed&&"swiper-slide"!==c.value&&(c.value="swiper-slide"))})),(0,n.xo)((()=>{a&&a.value&&a.value.off("_slideClass",l)}));const d=(0,n.EW)((()=>({isActive:c.value.indexOf("swiper-slide-active")>=0,isVisible:c.value.indexOf("swiper-slide-visible")>=0,isPrev:c.value.indexOf("swiper-slide-prev")>=0,isNext:c.value.indexOf("swiper-slide-next")>=0})));(0,n.Gt)("swiperSlide",d);const h=()=>{u.value=!0};return()=>(0,n.h)(e.tag,{class:f(`${c.value}`),ref:s,"data-swiper-slide-index":"undefined"===typeof e.virtualIndex&&a&&a.value&&a.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:h},e.zoom?(0,n.h)("div",{class:"swiper-zoom-container","data-swiper-zoom":"number"===typeof e.zoom?e.zoom:void 0},[r.default&&r.default(d.value),e.lazy&&!u.value&&(0,n.h)("div",{class:"swiper-lazy-preloader"})]):[r.default&&r.default(d.value),e.lazy&&!u.value&&(0,n.h)("div",{class:"swiper-lazy-preloader"})])}}},73889:(e,t,r)=>{"use strict";r.d(t,{A:()=>n.S});var n=r(21463)},56381:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rn})},81503:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(26099);function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}},6624:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});r(26099),r(60825),r(15472);var n=r(22342),o=r(69892),i=(r(16280),r(76918),r(73808));function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){if(t&&("object"===(0,i.A)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function c(e,t,r){return t=(0,n.A)(t),s(e,(0,o.A)()?Reflect.construct(t,r||[],(0,n.A)(e).constructor):t.apply(e,r))}},41417:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(16280),r(76918);function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},13217:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});r(84185);var n=r(47483);function o(e,t){for(var r=0;r{"use strict";r.d(t,{A:()=>o});r(52675),r(89463),r(2259),r(16280),r(76918),r(64346),r(26099),r(47764),r(62953);var n=r(25028);function o(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=(0,n.A)(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==r["return"]||r["return"]()}finally{if(c)throw a}}}}},1287:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(84185);var n=r(47483);function o(e,t,r){return t=(0,n.A)(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},84177:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});r(94170),r(83851),r(26099),r(40888),r(15472);var n=r(22342);function o(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=(0,n.A)(e),null===e)break;return e}function i(){return i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=o(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},i.apply(this,arguments)}},22342:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(94170),r(40875),r(63548),r(10287);function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}},217:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(16280),r(76918),r(59904),r(84185);var n=r(42906);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.A)(e,t)}},69892:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(26099),r(60825),r(15472);function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(n=function(){return!!e})()}},38151:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});r(52675),r(2008),r(51629),r(44114),r(67945),r(84185),r(83851),r(81278),r(79432),r(26099),r(23500);var n=r(1287);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t{"use strict";r.d(t,{A:()=>o});r(52675),r(25276),r(79432);function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}function o(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},2327:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(52675),r(89463),r(66412),r(2259),r(78125),r(16280),r(76918),r(51629),r(44114),r(94490),r(34782),r(62010),r(4731),r(60479),r(59904),r(84185),r(40875),r(63548),r(10287),r(26099),r(47764),r(23500),r(62953);var n=r(73808);function o(){ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ +o=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new N(n||[]);return a(i,"_invoke",{value:I(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function w(){}function _(){}var E={};d(E,c,(function(){return this}));var A=Object.getPrototypeOf,S=A&&A(A(R([])));S&&S!==r&&i.call(S,c)&&(E=S);var T=_.prototype=b.prototype=Object.create(E);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(o,a,s,c){var u=h(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==(0,n.A)(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function I(t,r,n){var o=p;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var u=h(t,r,n);if("normal"===u.type){if(o=n.done?y:m,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function O(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator["return"]&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}},42906:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(94170),r(63548),r(10287);function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}},55096:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});r(64346);function n(e){if(Array.isArray(e))return e}r(52675),r(89463),r(2259),r(44114),r(26099),r(47764),r(62953);function o(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}var i=r(25028);r(16280),r(76918);function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){return n(e)||o(e,t)||(0,i.A)(e,t)||a()}},6682:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});r(64346);var n=r(56381);function o(e){if(Array.isArray(e))return(0,n.A)(e)}r(52675),r(89463),r(2259),r(23418),r(26099),r(47764),r(62953);function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var a=r(25028);r(16280),r(76918);function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e){return o(e)||i(e)||(0,a.A)(e)||s()}},47483:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(73808);r(52675),r(89463),r(45700),r(16280),r(76918),r(89572),r(2892),r(26099);function o(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==(0,n.A)(t)?t:String(t)}},73808:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(52675),r(89463),r(2259),r(26099),r(47764),r(62953);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}},25028:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(76918),r(23418),r(34782),r(23288),r(62010),r(26099),r(27495),r(90906),r(38781),r(47764);var n=r(56381);function o(e,t){if(e){if("string"===typeof e)return(0,n.A)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.A)(e,t):void 0}}},20852:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});r(16280),r(76918),r(36033),r(59904),r(26099),r(47764),r(62953);var n=r(22342),o=r(42906);r(25276),r(23288),r(38781);function i(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}}r(44114),r(94170),r(60825),r(15472);var a=r(69892);function s(e,t,r){if((0,a.A)())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&(0,o.A)(i,r.prototype),i}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!i(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,(0,n.A)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(r,e)},c(e)}},46992:(e,t,r)=>{"use strict";r.d(t,{hU:()=>Ur,s9:()=>$r}); +/*! + * shared v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */ +const n="undefined"!==typeof window;const o=(e,t=!1)=>t?Symbol.for(e):Symbol(e),i=(e,t,r)=>a({l:e,k:t,s:r}),a=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),s=e=>"number"===typeof e&&isFinite(e),c=e=>"[object Date]"===S(e),u=e=>"[object RegExp]"===S(e),l=e=>T(e)&&0===Object.keys(e).length,d=Object.assign;let f;const h=()=>f||(f="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof global?global:{});function p(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const m=Object.prototype.hasOwnProperty;function g(e,t){return m.call(e,t)}const y=Array.isArray,v=e=>"function"===typeof e,b=e=>"string"===typeof e,w=e=>"boolean"===typeof e,_=e=>null!==e&&"object"===typeof e,E=e=>_(e)&&v(e.then)&&v(e.catch),A=Object.prototype.toString,S=e=>A.call(e),T=e=>{if(!_(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object},x=e=>null==e?"":y(e)||T(e)&&e.toString===A?JSON.stringify(e,null,2):String(e);function C(e,t=""){return e.reduce(((e,r,n)=>0===n?e+r:e+t+r),"")}function I(e){let t=e;return()=>++t}function O(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const P=e=>!_(e)||y(e);function k(e,t){if(P(e)||P(t))throw new Error("Invalid value");const r=[{src:e,des:t}];while(r.length){const{src:e,des:t}=r.pop();Object.keys(e).forEach((n=>{P(e[n])||P(t[n])?t[n]=e[n]:r.push({src:e[n],des:t[n]})}))}}function N(e,t,r){return{line:e,column:t,offset:r}}function R(e,t,r){const n={start:e,end:t};return null!=r&&(n.source=r),n}const M=/\{([0-9a-zA-Z]+)\}/g;function B(e,...t){return 1===t.length&&F(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(M,((e,r)=>t.hasOwnProperty(r)?t[r]:""))}const L=Object.assign,D=e=>"string"===typeof e,F=e=>null!==e&&"object"===typeof e;function j(e,t=""){return e.reduce(((e,r,n)=>0===n?e+r:e+t+r),"")}const U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},$={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function z(e,t,r={}){const{domain:n,messages:o,args:i}=r,a=B((o||$)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=n,s}function H(e){throw e}const V=" ",G="\r",q="\n",W=String.fromCharCode(8232),K=String.fromCharCode(8233);function X(e){const t=e;let r=0,n=1,o=1,i=0;const a=e=>t[e]===G&&t[e+1]===q,s=e=>t[e]===q,c=e=>t[e]===K,u=e=>t[e]===W,l=e=>a(e)||s(e)||c(e)||u(e),d=()=>r,f=()=>n,h=()=>o,p=()=>i,m=e=>a(e)||c(e)||u(e)?q:t[e],g=()=>m(r),y=()=>m(r+i);function v(){return i=0,l(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function b(){return a(r+i)&&i++,i++,t[r+i]}function w(){r=0,n=1,o=1,i=0}function _(e=0){i=e}function E(){const e=r+i;while(e!==r)v();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:g,currentPeek:y,next:v,peek:b,reset:w,resetPeek:_,skipToPeek:E}}const Z=void 0,Y=".",Q="'",J="tokenizer";function ee(e,t={}){const r=!1!==t.location,n=X(e),o=()=>n.index(),i=()=>N(n.line(),n.column(),n.index()),a=i(),s=o(),c={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function d(e,t,n,...o){const i=u();if(t.column+=n,t.offset+=n,l){const n=r?R(i.startLoc,t):null,a=z(e,n,{domain:J,args:o});l(a)}}function f(e,t,n){e.endLoc=i(),e.currentType=t;const o={type:t};return r&&(o.loc=R(e.startLoc,e.endLoc)),null!=n&&(o.value=n),o}const h=e=>f(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(U.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";while(e.currentPeek()===V||e.currentPeek()===q)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function y(e){if(e===Z)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e){if(e===Z)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function b(e,t){const{currentType:r}=t;if(2!==r)return!1;m(e);const n=y(e.currentPeek());return e.resetPeek(),n}function w(e,t){const{currentType:r}=t;if(2!==r)return!1;m(e);const n="-"===e.currentPeek()?e.peek():e.currentPeek(),o=v(n);return e.resetPeek(),o}function _(e,t){const{currentType:r}=t;if(2!==r)return!1;m(e);const n=e.currentPeek()===Q;return e.resetPeek(),n}function E(e,t){const{currentType:r}=t;if(8!==r)return!1;m(e);const n="."===e.currentPeek();return e.resetPeek(),n}function A(e,t){const{currentType:r}=t;if(9!==r)return!1;m(e);const n=y(e.currentPeek());return e.resetPeek(),n}function S(e,t){const{currentType:r}=t;if(8!==r&&12!==r)return!1;m(e);const n=":"===e.currentPeek();return e.resetPeek(),n}function T(e,t){const{currentType:r}=t;if(10!==r)return!1;const n=()=>{const t=e.currentPeek();return"{"===t?y(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===V||!t)&&(t===q?(e.peek(),n()):y(t))},o=n();return e.resetPeek(),o}function x(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function C(e){const t=m(e),r="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:r,hasSpace:t.length>0}}function I(e,t=!0){const r=(t=!1,n="",o=!1)=>{const i=e.currentPeek();return"{"===i?"%"!==n&&t:"@"!==i&&i?"%"===i?(e.peek(),r(t,"%",!0)):"|"===i?!("%"!==n&&!o)||!(n===V||n===q):i===V?(e.peek(),r(!0,V,o)):i!==q||(e.peek(),r(!0,q,o)):"%"===n||t},n=r();return t&&e.resetPeek(),n}function O(e,t){const r=e.currentChar();return r===Z?Z:t(r)?(e.next(),r):null}function P(e){const t=e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t};return O(e,t)}function k(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57};return O(e,t)}function M(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};return O(e,t)}function B(e){let t="",r="";while(t=k(e))r+=t;return r}function L(e){g(e);const t=e.currentChar();return"%"!==t&&d(U.EXPECTED_TOKEN,i(),0,t),e.next(),"%"}function D(e){let t="";while(1){const r=e.currentChar();if("{"===r||"}"===r||"@"===r||"|"===r||!r)break;if("%"===r){if(!I(e))break;t+=r,e.next()}else if(r===V||r===q)if(I(e))t+=r,e.next();else{if(x(e))break;t+=r,e.next()}else t+=r,e.next()}return t}function F(e){g(e);let t="",r="";while(t=P(e))r+=t;return e.currentChar()===Z&&d(U.UNTERMINATED_CLOSING_BRACE,i(),0),r}function j(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${B(e)}`):t+=B(e),e.currentChar()===Z&&d(U.UNTERMINATED_CLOSING_BRACE,i(),0),t}function $(e){g(e),p(e,"'");let t="",r="";const n=e=>e!==Q&&e!==q;while(t=O(e,n))r+="\\"===t?H(e):t;const o=e.currentChar();return o===q||o===Z?(d(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),o===q&&(e.next(),p(e,"'")),r):(p(e,"'"),r)}function H(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return G(e,t,4);case"U":return G(e,t,6);default:return d(U.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function G(e,t,r){p(e,t);let n="";for(let o=0;o"{"!==e&&"}"!==e&&e!==V&&e!==q;while(t=O(e,n))r+=t;return r}function K(e){let t="",r="";while(t=P(e))r+=t;return r}function ee(e){const t=(r=!1,n)=>{const o=e.currentChar();return"{"!==o&&"%"!==o&&"@"!==o&&"|"!==o&&"("!==o&&")"!==o&&o?o===V?n:o===q||o===Y?(n+=o,e.next(),t(r,n)):(n+=o,e.next(),t(!0,n)):n};return t(!1,"")}function te(e){g(e);const t=p(e,"|");return g(e),t}function re(e,t){let r=null;const n=e.currentChar();switch(n){case"{":return t.braceNest>=1&&d(U.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),r=f(t,2,"{"),g(e),t.braceNest++,r;case"}":return t.braceNest>0&&2===t.currentType&&d(U.EMPTY_PLACEHOLDER,i(),0),e.next(),r=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),r;case"@":return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,i(),0),r=ne(e,t)||h(t),t.braceNest=0,r;default:{let n=!0,o=!0,a=!0;if(x(e))return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,i(),0),r=f(t,1,te(e)),t.braceNest=0,t.inLinked=!1,r;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(U.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,oe(e,t);if(n=b(e,t))return r=f(t,5,F(e)),g(e),r;if(o=w(e,t))return r=f(t,6,j(e)),g(e),r;if(a=_(e,t))return r=f(t,7,$(e)),g(e),r;if(!n&&!o&&!a)return r=f(t,13,W(e)),d(U.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,r.value),g(e),r;break}}return r}function ne(e,t){const{currentType:r}=t;let n=null;const o=e.currentChar();switch(8!==r&&9!==r&&12!==r&&10!==r||o!==q&&o!==V||d(U.INVALID_LINKED_FORMAT,i(),0),o){case"@":return e.next(),n=f(t,8,"@"),t.inLinked=!0,n;case".":return g(e),e.next(),f(t,9,".");case":":return g(e),e.next(),f(t,10,":");default:return x(e)?(n=f(t,1,te(e)),t.braceNest=0,t.inLinked=!1,n):E(e,t)||S(e,t)?(g(e),ne(e,t)):A(e,t)?(g(e),f(t,12,K(e))):T(e,t)?(g(e),"{"===o?re(e,t)||n:f(t,11,ee(e))):(8===r&&d(U.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,oe(e,t))}}function oe(e,t){let r={type:14};if(t.braceNest>0)return re(e,t)||h(t);if(t.inLinked)return ne(e,t)||h(t);const n=e.currentChar();switch(n){case"{":return re(e,t)||h(t);case"}":return d(U.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return ne(e,t)||h(t);default:{if(x(e))return r=f(t,1,te(e)),t.braceNest=0,t.inLinked=!1,r;const{isModulo:n,hasSpace:o}=C(e);if(n)return o?f(t,0,D(e)):f(t,4,L(e));if(I(e))return f(t,0,D(e));break}}return r}function ie(){const{currentType:e,offset:t,startLoc:r,endLoc:a}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=r,c.lastEndLoc=a,c.offset=o(),c.startLoc=i(),n.currentChar()===Z?f(c,14):oe(n,c)}return{nextToken:ie,currentOffset:o,currentPosition:i,context:u}}const te="parser",re=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ne(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||r,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function oe(e={}){const t=!1!==e.location,{onError:r}=e;function n(e,n,o,i,...a){const s=e.currentPosition();if(s.offset+=i,s.column+=i,r){const e=t?R(o,s):null,i=z(n,e,{domain:te,args:a});r(i)}}function o(e,r,n){const o={type:e};return t&&(o.start=r,o.end=r,o.loc={start:n,end:n}),o}function i(e,r,n,o){o&&(e.type=o),t&&(e.end=r,e.loc&&(e.loc.end=n))}function a(e,t){const r=e.context(),n=o(3,r.offset,r.startLoc);return n.value=t,i(n,e.currentOffset(),e.currentPosition()),n}function s(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(5,n,a);return s.index=parseInt(t,10),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(4,n,a);return s.key=t,e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function u(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(9,n,a);return s.value=t.replace(re,ne),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function l(e){const t=e.nextToken(),r=e.context(),{lastOffset:a,lastStartLoc:s}=r,c=o(8,a,s);return 12!==t.type?(n(e,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,r.lastStartLoc,0),c.value="",i(c,a,s),{nextConsumeToken:t,node:c}):(null==t.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,r.lastStartLoc,0,ie(t)),c.value=t.value||"",i(c,e.currentOffset(),e.currentPosition()),{node:c})}function d(e,t){const r=e.context(),n=o(7,r.offset,r.startLoc);return n.value=t,i(n,e.currentOffset(),e.currentPosition()),n}function f(e){const t=e.context(),r=o(6,t.offset,t.startLoc);let a=e.nextToken();if(9===a.type){const t=l(e);r.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(10!==a.type&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 11:null==a.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(a)),r.key=d(e,a.value||"");break;case 5:null==a.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(a)),r.key=c(e,a.value||"");break;case 6:null==a.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(a)),r.key=s(e,a.value||"");break;case 7:null==a.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(a)),r.key=u(e,a.value||"");break;default:{n(e,U.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const s=e.context(),c=o(7,s.offset,s.startLoc);return c.value="",i(c,s.offset,s.startLoc),r.key=c,i(r,s.offset,s.startLoc),{nextConsumeToken:a,node:r}}}return i(r,e.currentOffset(),e.currentPosition()),{node:r}}function h(e){const t=e.context(),r=1===t.currentType?e.currentOffset():t.offset,l=1===t.currentType?t.endLoc:t.startLoc,d=o(2,r,l);d.items=[];let h=null;do{const r=h||e.nextToken();switch(h=null,r.type){case 0:null==r.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(r)),d.items.push(a(e,r.value||""));break;case 6:null==r.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(r)),d.items.push(s(e,r.value||""));break;case 5:null==r.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(r)),d.items.push(c(e,r.value||""));break;case 7:null==r.value&&n(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,ie(r)),d.items.push(u(e,r.value||""));break;case 8:{const t=f(e);d.items.push(t.node),h=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);const p=1===t.currentType?t.lastOffset:e.currentOffset(),m=1===t.currentType?t.lastEndLoc:e.currentPosition();return i(d,p,m),d}function p(e,t,r,a){const s=e.context();let c=0===a.items.length;const u=o(1,t,r);u.cases=[],u.cases.push(a);do{const t=h(e);c||(c=0===t.items.length),u.cases.push(t)}while(14!==s.currentType);return c&&n(e,U.MUST_HAVE_MESSAGES_IN_PLURAL,r,0),i(u,e.currentOffset(),e.currentPosition()),u}function m(e){const t=e.context(),{offset:r,startLoc:n}=t,o=h(e);return 14===t.currentType?o:p(e,r,n,o)}function g(r){const a=ee(r,L({},e)),s=a.context(),c=o(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=r),c.body=m(a),e.onCacheKey&&(c.cacheKey=e.onCacheKey(r)),14!==s.currentType&&n(a,U.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,r[s.offset]||""),i(c,a.currentOffset(),a.currentPosition()),c}return{parse:g}}function ie(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ae(e,t={}){const r={ast:e,helpers:new Set},n=()=>r,o=e=>(r.helpers.add(e),e);return{context:n,helper:o}}function se(e,t){for(let r=0;rde(e))),e}function de(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rs;function u(e,t){s.code+=e}function l(e,t=!0){const r=t?o:"";u(i?r+" ".repeat(e):r)}function d(e=!0){const t=++s.indentLevel;e&&l(t)}function f(e=!0){const t=--s.indentLevel;e&&l(t)}function h(){l(s.indentLevel)}const p=e=>`_${e}`,m=()=>s.needIndent;return{context:c,push:u,indent:d,deindent:f,newline:h,helper:p,needIndent:m}}function ge(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),we(e,t.key),t.modifier?(e.push(", "),we(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ye(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let i=0;i1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let r=0;r{const r=D(t.mode)?t.mode:"normal",n=D(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===r?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==r,s=e.helpers||[],c=me(e,{mode:r,filename:n,sourceMap:o,breakLineCode:i,needIndent:a});c.push("normal"===r?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),s.length>0&&(c.push(`const { ${j(s.map((e=>`${e}: _${e}`)),", ")} } = ctx`),c.newline()),c.push("return "),we(c,e),c.deindent(a),c.push("}"),delete e.helpers;const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function Ee(e,t={}){const r=L({},t),n=!!r.jit,o=!!r.minify,i=null==r.optimize||r.optimize,a=oe(r),s=a.parse(e);return n?(i&&le(s),o&&he(s),{ast:s,code:""}):(ue(s,r),_e(s,r))} +/*! + * core-base v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */ +function Ae(){"boolean"!==typeof __INTLIFY_JIT_COMPILATION__&&(h().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!==typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(h().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Se=[];Se[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},Se[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},Se[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},Se[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},Se[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},Se[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},Se[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const Te=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function xe(e){return Te.test(e)}function Ce(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t!==r||34!==t&&39!==t?e:e.slice(1,-1)}function Ie(e){if(void 0===e||null===e)return"o";const t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Oe(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(xe(t)?Ce(t):"*"+t)}function Pe(e){const t=[];let r,n,o,i,a,s,c,u=-1,l=0,d=0;const f=[];function h(){const t=e[u+1];if(5===l&&"'"===t||6===l&&'"'===t)return u++,o="\\"+t,f[0](),!0}f[0]=()=>{void 0===n?n=o:n+=o},f[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,l=4,f[0]();else{if(d=0,void 0===n)return!1;if(n=Oe(n),!1===n)return!1;f[1]()}};while(null!==l)if(u++,r=e[u],"\\"!==r||!h()){if(i=Ie(r),c=Se[l],a=c[i]||c["l"]||8,8===a)return;if(l=a[0],void 0!==a[1]&&(s=f[a[1]],s&&(o=r,!1===s())))return;if(7===l)return t}}const ke=new Map;function Ne(e,t){return _(e)?e[t]:null}function Re(e,t){if(!_(e))return null;let r=ke.get(t);if(r||(r=Pe(t),r&&ke.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;while(ie,Be=e=>"",Le="text",De=e=>0===e.length?"":C(e),Fe=x;function je(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Ue(e){const t=s(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(s(e.named.count)||s(e.named.n))?s(e.named.count)?e.named.count:s(e.named.n)?e.named.n:t:t}function $e(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ze(e={}){const t=e.locale,r=Ue(e),n=_(e.pluralRules)&&b(t)&&v(e.pluralRules[t])?e.pluralRules[t]:je,o=_(e.pluralRules)&&b(t)&&v(e.pluralRules[t])?je:void 0,i=e=>e[n(r,e.length,o)],a=e.list||[],c=e=>a[e],u=e.named||{};s(e.pluralIndex)&&$e(r,u);const l=e=>u[e];function f(t){const r=v(e.messages)?e.messages(t):!!_(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):Be)}const h=t=>e.modifiers?e.modifiers[t]:Me,p=T(e.processor)&&v(e.processor.normalize)?e.processor.normalize:De,m=T(e.processor)&&v(e.processor.interpolate)?e.processor.interpolate:Fe,g=T(e.processor)&&b(e.processor.type)?e.processor.type:Le,w=(e,...t)=>{const[r,n]=t;let o="text",i="";1===t.length?_(r)?(i=r.modifier||i,o=r.type||o):b(r)&&(i=r||i):2===t.length&&(b(r)&&(i=r||i),b(n)&&(o=n||o));const a=f(e)(E),s="vnode"===o&&y(a)&&i?a[0]:a;return i?h(i)(s,o):s},E={["list"]:c,["named"]:l,["plural"]:i,["linked"]:w,["message"]:f,["type"]:g,["interpolate"]:m,["normalize"]:p,["values"]:d({},a,u)};return E}const He={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};He.NOT_FOUND_KEY,He.FALLBACK_TO_TRANSLATE,He.CANNOT_FORMAT_NUMBER,He.FALLBACK_TO_NUMBER_FORMAT,He.CANNOT_FORMAT_DATE,He.FALLBACK_TO_DATE_FORMAT,He.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER;const Ve=U.__EXTEND_POINT__,Ge=I(Ve),qe={INVALID_ARGUMENT:Ve,INVALID_DATE_ARGUMENT:Ge(),INVALID_ISO_DATE_ARGUMENT:Ge(),NOT_SUPPORT_NON_STRING_MESSAGE:Ge(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ge(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ge(),NOT_SUPPORT_LOCALE_TYPE:Ge(),__EXTEND_POINT__:Ge()};function We(e){return z(e,null,void 0)}qe.INVALID_ARGUMENT,qe.INVALID_DATE_ARGUMENT,qe.INVALID_ISO_DATE_ARGUMENT,qe.NOT_SUPPORT_NON_STRING_MESSAGE,qe.NOT_SUPPORT_LOCALE_PROMISE_VALUE,qe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,qe.NOT_SUPPORT_LOCALE_TYPE;function Ke(e,t){return null!=t.locale?Ze(t.locale):Ze(e.locale)}let Xe;function Ze(e){if(b(e))return e;if(v(e)){if(e.resolvedOnce&&null!=Xe)return Xe;if("Function"===e.constructor.name){const t=e();if(E(t))throw We(qe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Xe=t}throw We(qe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw We(qe.NOT_SUPPORT_LOCALE_TYPE)}function Ye(e,t,r){return[...new Set([r,...y(t)?t:_(t)?Object.keys(t):b(t)?[t]:[r]])]}function Qe(e,t,r){const n=b(r)?r:ot,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let e=[r];while(y(e))e=Je(i,e,t);const a=y(t)||!T(t)?t:t["default"]?t["default"]:null;e=b(a)?[a]:a,y(e)&&Je(i,e,!1),o.__localeChainCache.set(n,i)}return i}function Je(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function st(){return{upper:(e,t)=>"text"===t&&b(e)?e.toUpperCase():"vnode"===t&&_(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&b(e)?e.toLowerCase():"vnode"===t&&_(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&b(e)?at(e):"vnode"===t&&_(e)&&"__v_isVNode"in e?at(e.children):e}}let ct,ut,lt;function dt(e){ct=e}function ft(e){ut=e}function ht(e){lt=e}let pt=null;const mt=e=>{pt=e},gt=()=>pt;let yt=0;function vt(e={}){const t=v(e.onWarn)?e.onWarn:O,r=b(e.version)?e.version:rt,n=b(e.locale)||v(e.locale)?e.locale:ot,o=v(n)?ot:n,i=y(e.fallbackLocale)||T(e.fallbackLocale)||b(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,a=T(e.messages)?e.messages:{[o]:{}},s=T(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},c=T(e.numberFormats)?e.numberFormats:{[o]:{}},l=d({},e.modifiers||{},st()),f=e.pluralRules||{},h=v(e.missing)?e.missing:null,p=!w(e.missingWarn)&&!u(e.missingWarn)||e.missingWarn,m=!w(e.fallbackWarn)&&!u(e.fallbackWarn)||e.fallbackWarn,g=!!e.fallbackFormat,E=!!e.unresolving,A=v(e.postTranslation)?e.postTranslation:null,S=T(e.processor)?e.processor:null,x=!w(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,I=v(e.messageCompiler)?e.messageCompiler:ct;const P=v(e.messageResolver)?e.messageResolver:ut||Ne,k=v(e.localeFallbacker)?e.localeFallbacker:lt||Ye,N=_(e.fallbackContext)?e.fallbackContext:void 0,R=e,M=_(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,B=_(R.__numberFormatters)?R.__numberFormatters:new Map,L=_(R.__meta)?R.__meta:{};yt++;const D={version:r,cid:yt,locale:n,fallbackLocale:i,messages:a,modifiers:l,pluralRules:f,missing:h,missingWarn:p,fallbackWarn:m,fallbackFormat:g,unresolving:E,postTranslation:A,processor:S,warnHtmlMessage:x,escapeParameter:C,messageCompiler:I,messageResolver:P,localeFallbacker:k,fallbackContext:N,onWarn:t,__meta:L};return D.datetimeFormats=s,D.numberFormats=c,D.__datetimeFormatters=M,D.__numberFormatters=B,D}function bt(e,t,r,n,o){const{missing:i,onWarn:a}=e;if(null!==i){const n=i(e,r,t,o);return b(n)?n:t}return t}function wt(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function _t(e){const t=t=>Et(t,e);return t}function Et(e,t){const r=t.b||t.body;if(1===(r.t||r.type)){const t=r,n=t.c||t.cases;return e.plural(n.reduce(((t,r)=>[...t,At(e,r)]),[]))}return At(e,r)}function At(e,t){const r=t.s||t.static;if(r)return"text"===e.type?r:e.normalize([r]);{const r=(t.i||t.items).reduce(((t,r)=>[...t,St(e,r)]),[]);return e.normalize(r)}}function St(e,t){const r=t.t||t.type;switch(r){case 3:{const e=t;return e.v||e.value}case 9:{const e=t;return e.v||e.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(null!=r.i?r.i:r.index))}case 6:{const r=t,n=r.m||r.modifier;return e.linked(St(e,r.k||r.key),n?St(e,n):void 0,e.type)}case 7:{const e=t;return e.v||e.value}case 8:{const e=t;return e.v||e.value}default:throw new Error(`unhandled node type on format message part: ${r}`)}}const Tt=e=>e;let xt=Object.create(null);const Ct=e=>_(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);function It(e,t={}){let r=!1;const n=t.onError||H;return t.onError=e=>{r=!0,n(e)},{...Ee(e,t),detectError:r}}const Ot=(e,t)=>{if(!b(e))throw We(qe.NOT_SUPPORT_NON_STRING_MESSAGE);{!w(t.warnHtmlMessage)||t.warnHtmlMessage;const r=t.onCacheKey||Tt,n=r(e),o=xt[n];if(o)return o;const{code:i,detectError:a}=It(e,t),s=new Function(`return ${i}`)();return a?s:xt[n]=s}};function Pt(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&b(e)){!w(t.warnHtmlMessage)||t.warnHtmlMessage;const r=t.onCacheKey||Tt,n=r(e),o=xt[n];if(o)return o;const{ast:i,detectError:a}=It(e,{...t,location:!1,jit:!0}),s=_t(i);return a?s:xt[n]=s}{0;const t=e.cacheKey;if(t){const r=xt[t];return r||(xt[t]=_t(e))}return _t(e)}}const kt=()=>"",Nt=e=>v(e);function Rt(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:s}=e,[c,u]=Ft(...t),l=w(u.missingWarn)?u.missingWarn:e.missingWarn,d=w(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=w(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,p=b(u.default)||w(u.default)?w(u.default)?i?c:()=>c:u.default:r?i?c:()=>c:"",m=r||""!==p,g=Ke(e,u);f&&Mt(u);let[y,v,_]=h?[c,g,s[g]||{}]:Bt(e,c,g,a,d,l),E=y,A=c;if(h||b(E)||Ct(E)||Nt(E)||m&&(E=p,A=E),!h&&(!(b(E)||Ct(E)||Nt(E))||!b(v)))return o?nt:c;let S=!1;const T=()=>{S=!0},x=Nt(E)?E:Lt(e,c,v,E,A,T);if(S)return E;const C=Ut(e,v,_,u),I=ze(C),O=Dt(e,x,I),P=n?n(O,c):O;return P}function Mt(e){y(e.list)?e.list=e.list.map((e=>b(e)?p(e):e)):_(e.named)&&Object.keys(e.named).forEach((t=>{b(e.named[t])&&(e.named[t]=p(e.named[t]))}))}function Bt(e,t,r,n,o,i){const{messages:a,onWarn:s,messageResolver:c,localeFallbacker:u}=e,l=u(e,n,r);let d,f={},h=null,p=r,m=null;const g="translate";for(let y=0;yn;return e.locale=r,e.key=t,e}const c=a(n,jt(e,r,o,n,s,i));return c.locale=r,c.key=t,c.source=n,c}function Dt(e,t,r){const n=t(r);return n}function Ft(...e){const[t,r,n]=e,o={};if(!b(t)&&!s(t)&&!Nt(t)&&!Ct(t))throw We(qe.INVALID_ARGUMENT);const i=s(t)?String(t):(Nt(t),t);return s(r)?o.plural=r:b(r)?o.default=r:T(r)&&!l(r)?o.named=r:y(r)&&(o.list=r),s(n)?o.plural=n:b(n)?o.default=n:T(n)&&d(o,n),[i,o]}function jt(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:e=>{throw a&&a(e),e},onCacheKey:e=>i(t,r,e)}}function Ut(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:l,fallbackContext:d}=e,f=n=>{let o=a(r,n);if(null==o&&d){const[,,e]=Bt(d,n,t,c,u,l);o=a(e,n)}if(b(o)||Ct(o)){let r=!1;const i=()=>{r=!0},a=Lt(e,n,t,o,n,i);return r?kt:a}return Nt(o)?o:kt},h={locale:t,modifiers:o,pluralRules:i,messages:f};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),s(n.plural)&&(h.pluralIndex=n.plural),h}const $t="undefined"!==typeof Intl;$t&&Intl.DateTimeFormat,$t&&Intl.NumberFormat;function zt(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e;const[c,u,f,h]=Vt(...t),p=w(f.missingWarn)?f.missingWarn:e.missingWarn,m=(w(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,!!f.part),g=Ke(e,f),y=a(e,o,g);if(!b(c)||""===c)return new Intl.DateTimeFormat(g,h).format(u);let v,_={},E=null,A=g,S=null;const x="datetime format";for(let l=0;l{Ht.includes(e)?u[e]=r[e]:i[e]=r[e]})),b(n)?i.locale=n:T(n)&&(u=n),T(o)&&(u=o),[i.key||"",a,i,u]}function Gt(e,t,r){const n=e;for(const o in r){const e=`${t}__${o}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function qt(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e;const[c,u,f,h]=Kt(...t),p=w(f.missingWarn)?f.missingWarn:e.missingWarn,m=(w(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,!!f.part),g=Ke(e,f),y=a(e,o,g);if(!b(c)||""===c)return new Intl.NumberFormat(g,h).format(u);let v,_={},E=null,A=g,S=null;const x="number format";for(let l=0;l{Wt.includes(e)?a[e]=r[e]:i[e]=r[e]})),b(n)?i.locale=n:T(n)&&(a=n),T(o)&&(a=o),[i.key||"",c,i,a]}function Xt(e,t,r){const n=e;for(const o in r){const e=`${t}__${o}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}Ae();var Zt=r(20641),Yt=r(50953); +/*! + * vue-i18n v9.10.2 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */ +const Qt="9.10.2";function Jt(){"boolean"!==typeof __INTLIFY_JIT_COMPILATION__&&(h().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!==typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(h().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const er=He.__EXTEND_POINT__,tr=I(er),rr={FALLBACK_TO_ROOT:er,NOT_SUPPORTED_PRESERVE:tr(),NOT_SUPPORTED_FORMATTER:tr(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:tr(),NOT_SUPPORTED_GET_CHOICE_INDEX:tr(),COMPONENT_NAME_LEGACY_COMPATIBLE:tr(),NOT_FOUND_PARENT_SCOPE:tr(),IGNORE_OBJ_FLATTEN:tr(),NOTICE_DROP_ALLOW_COMPOSITION:tr(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:tr()};rr.FALLBACK_TO_ROOT,rr.NOT_SUPPORTED_PRESERVE,rr.NOT_SUPPORTED_FORMATTER,rr.NOT_SUPPORTED_PRESERVE_DIRECTIVE,rr.NOT_SUPPORTED_GET_CHOICE_INDEX,rr.COMPONENT_NAME_LEGACY_COMPATIBLE,rr.NOT_FOUND_PARENT_SCOPE,rr.IGNORE_OBJ_FLATTEN,rr.NOTICE_DROP_ALLOW_COMPOSITION,rr.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG;const nr=qe.__EXTEND_POINT__,or=I(nr),ir={UNEXPECTED_RETURN_TYPE:nr,INVALID_ARGUMENT:or(),MUST_BE_CALL_SETUP_TOP:or(),NOT_INSTALLED:or(),NOT_AVAILABLE_IN_LEGACY_MODE:or(),REQUIRED_VALUE:or(),INVALID_VALUE:or(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:or(),NOT_INSTALLED_WITH_PROVIDE:or(),UNEXPECTED_ERROR:or(),NOT_COMPATIBLE_LEGACY_VUE_I18N:or(),BRIDGE_SUPPORT_VUE_2_ONLY:or(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:or(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:or(),__EXTEND_POINT__:or()};function ar(e,...t){return z(e,null,void 0)}ir.UNEXPECTED_RETURN_TYPE,ir.INVALID_ARGUMENT,ir.MUST_BE_CALL_SETUP_TOP,ir.NOT_INSTALLED,ir.UNEXPECTED_ERROR,ir.NOT_AVAILABLE_IN_LEGACY_MODE,ir.REQUIRED_VALUE,ir.INVALID_VALUE,ir.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,ir.NOT_INSTALLED_WITH_PROVIDE,ir.NOT_COMPATIBLE_LEGACY_VUE_I18N,ir.BRIDGE_SUPPORT_VUE_2_ONLY,ir.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,ir.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const sr=o("__translateVNode"),cr=o("__datetimeParts"),ur=o("__numberParts"),lr=o("__setPluralRules");o("__intlifyMeta");const dr=o("__injectWithOption"),fr=o("__dispose");function hr(e){if(!_(e))return e;for(const t in e)if(g(e,t))if(t.includes(".")){const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:r}=e;t?(a[t]=a[t]||{},k(r,a[t])):k(r,a)}else b(e)&&k(JSON.parse(e),a)})),null==o&&i)for(const s in a)g(a,s)&&hr(a[s]);return a}function mr(e){return e.type}function gr(e,t,r){let n=_(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=pr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),_(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach((r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])}))}if(_(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach((r=>{e.mergeNumberFormat(r,t.numberFormats[r])}))}}function yr(e){return(0,Zt.bF)(Zt.EY,null,e,0)}const vr=()=>[],br=()=>!1;let wr=0;function _r(e){return(t,r,n,o)=>e(r,n,(0,Zt.nI)()||void 0,o)}function Er(e={},t){const{__root:r,__injectWithOption:o}=e,i=void 0===r,a=e.flatJson,c=n?Yt.KR:Yt.IJ,l=!!e.translateExistCompatible;let f=!w(e.inheritLocale)||e.inheritLocale;const h=c(r&&f?r.locale.value:b(e.locale)?e.locale:ot),p=c(r&&f?r.fallbackLocale.value:b(e.fallbackLocale)||y(e.fallbackLocale)||T(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:h.value),m=c(pr(h.value,e)),E=c(T(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),A=c(T(e.numberFormats)?e.numberFormats:{[h.value]:{}});let S=r?r.missingWarn:!w(e.missingWarn)&&!u(e.missingWarn)||e.missingWarn,x=r?r.fallbackWarn:!w(e.fallbackWarn)&&!u(e.fallbackWarn)||e.fallbackWarn,C=r?r.fallbackRoot:!w(e.fallbackRoot)||e.fallbackRoot,I=!!e.fallbackFormat,O=v(e.missing)?e.missing:null,P=v(e.missing)?_r(e.missing):null,N=v(e.postTranslation)?e.postTranslation:null,R=r?r.warnHtmlMessage:!w(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter;const B=r?r.modifiers:T(e.modifiers)?e.modifiers:{};let L,D=e.pluralRules||r&&r.pluralRules;const F=()=>{i&&mt(null);const t={version:Qt,locale:h.value,fallbackLocale:p.value,messages:m.value,modifiers:B,pluralRules:D,missing:null===P?void 0:P,missingWarn:S,fallbackWarn:x,fallbackFormat:I,unresolving:!0,postTranslation:null===N?void 0:N,warnHtmlMessage:R,escapeParameter:M,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=E.value,t.numberFormats=A.value,t.__datetimeFormatters=T(L)?L.__datetimeFormatters:void 0,t.__numberFormatters=T(L)?L.__numberFormatters:void 0;const r=vt(t);return i&&mt(r),r};function j(){return[h.value,p.value,m.value,E.value,A.value]}L=F(),wt(L,h.value,p.value);const U=(0,Zt.EW)({get:()=>h.value,set:e=>{h.value=e,L.locale=h.value}}),$=(0,Zt.EW)({get:()=>p.value,set:e=>{p.value=e,L.fallbackLocale=p.value,wt(L,h.value,e)}}),z=(0,Zt.EW)((()=>m.value)),H=(0,Zt.EW)((()=>E.value)),V=(0,Zt.EW)((()=>A.value));function G(){return v(N)?N:null}function q(e){N=e,L.postTranslation=e}function W(){return O}function K(e){null!==e&&(P=_r(e)),O=e,L.missing=P}const X=(e,t,n,o,a,c)=>{let u;j();try{0,i||(L.fallbackContext=r?gt():void 0),u=e(L)}finally{0,i||(L.fallbackContext=void 0)}if("translate exists"!==n&&s(u)&&u===nt||"translate exists"===n&&!u){const[e,n]=t();return r&&C?o(r):a(e)}if(c(u))return u;throw ar(ir.UNEXPECTED_RETURN_TYPE)};function Z(...e){return X((t=>Reflect.apply(Rt,null,[t,...e])),(()=>Ft(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>b(e)))}function Y(...e){const[t,r,n]=e;if(n&&!_(n))throw ar(ir.INVALID_ARGUMENT);return Z(t,r,d({resolvedMessage:!0},n||{}))}function Q(...e){return X((t=>Reflect.apply(zt,null,[t,...e])),(()=>Vt(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>it),(e=>b(e)))}function J(...e){return X((t=>Reflect.apply(qt,null,[t,...e])),(()=>Kt(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>it),(e=>b(e)))}function ee(e){return e.map((e=>b(e)||s(e)||w(e)?yr(String(e)):e))}const te=e=>e,re={normalize:ee,interpolate:te,type:"vnode"};function ne(...e){return X((t=>{let r;const n=t;try{n.processor=re,r=Reflect.apply(Rt,null,[n,...e])}finally{n.processor=null}return r}),(()=>Ft(...e)),"translate",(t=>t[sr](...e)),(e=>[yr(e)]),(e=>y(e)))}function oe(...e){return X((t=>Reflect.apply(qt,null,[t,...e])),(()=>Kt(...e)),"number format",(t=>t[ur](...e)),vr,(e=>b(e)||y(e)))}function ie(...e){return X((t=>Reflect.apply(zt,null,[t,...e])),(()=>Vt(...e)),"datetime format",(t=>t[cr](...e)),vr,(e=>b(e)||y(e)))}function ae(e){D=e,L.pluralRules=D}function se(e,t){return X((()=>{if(!e)return!1;const r=b(t)?t:h.value,n=le(r),o=L.messageResolver(n,e);return l?null!=o:Ct(o)||Nt(o)||b(o)}),(()=>[e]),"translate exists",(r=>Reflect.apply(r.te,r,[e,t])),br,(e=>w(e)))}function ce(e){let t=null;const r=Qe(L,p.value,h.value);for(let n=0;n{f&&(h.value=e,L.locale=e,wt(L,h.value,p.value))})),(0,Zt.wB)(r.fallbackLocale,(e=>{f&&(p.value=e,L.fallbackLocale=e,wt(L,h.value,p.value))})));const be={id:wr,locale:U,fallbackLocale:$,get inheritLocale(){return f},set inheritLocale(e){f=e,e&&r&&(h.value=r.locale.value,p.value=r.fallbackLocale.value,wt(L,h.value,p.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:z,get modifiers(){return B},get pluralRules(){return D||{}},get isGlobal(){return i},get missingWarn(){return S},set missingWarn(e){S=e,L.missingWarn=S},get fallbackWarn(){return x},set fallbackWarn(e){x=e,L.fallbackWarn=x},get fallbackRoot(){return C},set fallbackRoot(e){C=e},get fallbackFormat(){return I},set fallbackFormat(e){I=e,L.fallbackFormat=I},get warnHtmlMessage(){return R},set warnHtmlMessage(e){R=e,L.warnHtmlMessage=e},get escapeParameter(){return M},set escapeParameter(e){M=e,L.escapeParameter=e},t:Z,getLocaleMessage:le,setLocaleMessage:de,mergeLocaleMessage:fe,getPostTranslationHandler:G,setPostTranslationHandler:q,getMissingHandler:W,setMissingHandler:K,[lr]:ae};return be.datetimeFormats=H,be.numberFormats=V,be.rt=Y,be.te=se,be.tm=ue,be.d=Q,be.n=J,be.getDateTimeFormat=he,be.setDateTimeFormat=pe,be.mergeDateTimeFormat=me,be.getNumberFormat=ge,be.setNumberFormat=ye,be.mergeNumberFormat=ve,be[dr]=o,be[sr]=ne,be[cr]=ie,be[ur]=oe,be}const Ar={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Sr({slots:e},t){if(1===t.length&&"default"===t[0]){const t=e.default?e.default():[];return t.reduce(((e,t)=>[...e,...t.type===Zt.FK?t.children:[t]]),[])}return t.reduce(((t,r)=>{const n=e[r];return n&&(t[r]=n()),t}),{})}function Tr(e){return Zt.FK}const xr=(0,Zt.pM)({name:"i18n-t",props:d({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>s(e)||!isNaN(e)}},Ar),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||$r({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(r).filter((e=>"_"!==e)),a={};e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=b(e.plural)?+e.plural:e.plural);const s=Sr(t,i),c=o[sr](e.keypath,s,a),u=d({},n),l=b(e.tag)||_(e.tag)?e.tag:Tr();return(0,Zt.h)(l,u,c)}}}),Cr=xr;function Ir(e){return y(e)&&!b(e[0])}function Or(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let a={};e.locale&&(t.locale=e.locale),b(e.format)?t.key=e.format:_(e.format)&&(b(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?d({},t,{[n]:e.format[n]}):t),{}));const s=n(e.value,t,a);let c=[t.key];y(s)?c=s.map(((e,t)=>{const r=o[e.type],n=r?r({[e.type]:e.value,index:t,parts:s}):[e.value];return Ir(n)&&(n[0].key=`${e.type}-${t}`),n})):b(s)&&(c=[s]);const u=d({},i),l=b(e.tag)||_(e.tag)?e.tag:Tr();return(0,Zt.h)(l,u,c)}}const Pr=(0,Zt.pM)({name:"i18n-n",props:d({value:{type:Number,required:!0},format:{type:[String,Object]}},Ar),setup(e,t){const r=e.i18n||$r({useScope:"parent",__useComponent:!0});return Or(e,t,Wt,((...e)=>r[ur](...e)))}}),kr=Pr,Nr=(0,Zt.pM)({name:"i18n-d",props:d({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ar),setup(e,t){const r=e.i18n||$r({useScope:"parent",__useComponent:!0});return Or(e,t,Ht,((...e)=>r[cr](...e)))}}),Rr=Nr;function Mr(e,t){const r=e;if("composition"===e.mode)return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}function Br(e){const t=t=>{const{instance:r,modifiers:n,value:o}=t;if(!r||!r.$)throw ar(ir.UNEXPECTED_ERROR);const i=Mr(e,r.$);const a=Lr(o);return[Reflect.apply(i.t,i,[...Dr(a)]),i]},r=(r,o)=>{const[i,a]=t(o);n&&e.global===a&&(r.__i18nWatcher=(0,Zt.wB)(a.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),r.__composer=a,r.textContent=i},o=e=>{n&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},i=(e,{value:t})=>{if(e.__composer){const r=e.__composer,n=Lr(t);e.textContent=Reflect.apply(r.t,r,[...Dr(n)])}},a=e=>{const[r]=t(e);return{textContent:r}};return{created:r,unmounted:o,beforeUpdate:i,getSSRProps:a}}function Lr(e){if(b(e))return{path:e};if(T(e)){if(!("path"in e))throw ar(ir.REQUIRED_VALUE,"path");return e}throw ar(ir.INVALID_VALUE)}function Dr(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},c=n||{};return b(r)&&(a.locale=r),s(o)&&(a.plural=o),s(i)&&(a.plural=i),[t,c,a]}function Fr(e,t,...r){const n=T(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=!w(n.globalInstall)||n.globalInstall;i&&([o?"i18n":Cr.name,"I18nT"].forEach((t=>e.component(t,Cr))),[kr.name,"I18nN"].forEach((t=>e.component(t,kr))),[Rr.name,"I18nD"].forEach((t=>e.component(t,Rr)))),e.directive("t",Br(t))}const jr=o("global-vue-i18n");function Ur(e={},t){const r=!1,n=!w(e.globalInjection)||e.globalInjection,i=!0,a=new Map,[s,c]=zr(e,r),u=o("");function l(e){return a.get(e)||null}function d(e,t){a.set(e,t)}function f(e){a.delete(e)}{const e={get mode(){return"composition"},get allowComposition(){return i},async install(t,...o){if(t.__VUE_I18N_SYMBOL__=u,t.provide(t.__VUE_I18N_SYMBOL__,e),T(o[0])){const t=o[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let i=null;!r&&n&&(i=Yr(t,e.global)),Fr(t,e,...o);const a=t.unmount;t.unmount=()=>{i&&i(),e.dispose(),a()}},get global(){return c},dispose(){s.stop()},__instances:a,__getInstance:l,__setInstance:d,__deleteInstance:f};return e}}function $r(e={}){const t=(0,Zt.nI)();if(null==t)throw ar(ir.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ar(ir.NOT_INSTALLED);const r=Hr(t),n=Gr(r),o=mr(t),i=Vr(e,o);if("global"===i)return gr(n,e,o),n;if("parent"===i){let o=qr(r,t,e.__useComponent);return null==o&&(o=n),o}const a=r;let s=a.__getInstance(t);if(null==s){const r=d({},e);"__i18n"in o&&(r.__i18n=o.__i18n),n&&(r.__root=n),s=Er(r),a.__composerExtend&&(s[fr]=a.__composerExtend(s)),Kr(a,t,s),a.__setInstance(t,s)}return s}function zr(e,t,r){const n=(0,Yt.uY)();{const t=n.run((()=>Er(e)));if(null==t)throw ar(ir.UNEXPECTED_ERROR);return[n,t]}}function Hr(e){{const t=(0,Zt.WQ)(e.isCE?jr:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ar(e.isCE?ir.NOT_INSTALLED_WITH_PROVIDE:ir.UNEXPECTED_ERROR);return t}}function Vr(e,t){return l(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Gr(e){return"composition"===e.mode?e.global:e.global.__composer}function qr(e,t,r=!1){let n=null;const o=t.root;let i=Wr(t,r);while(null!=i){const t=e;if("composition"===e.mode&&(n=t.__getInstance(i)),null!=n)break;if(o===i)break;i=i.parent}return n}function Wr(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}function Kr(e,t,r){(0,Zt.sV)((()=>{0}),t),(0,Zt.hi)((()=>{const n=r;e.__deleteInstance(t);const o=n[fr];o&&(o(),delete n[fr])}),t)}const Xr=["locale","fallbackLocale","availableLocales"],Zr=["t","rt","d","n","tm","te"];function Yr(e,t){const r=Object.create(null);Xr.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw ar(ir.UNEXPECTED_ERROR);const o=(0,Yt.i9)(n.value)?{get(){return n.value.value},set(e){n.value.value=e}}:{get(){return n.get&&n.get()}};Object.defineProperty(r,e,o)})),e.config.globalProperties.$i18n=r,Zr.forEach((r=>{const n=Object.getOwnPropertyDescriptor(t,r);if(!n||!n.value)throw ar(ir.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,n)}));const n=()=>{delete e.config.globalProperties.$i18n,Zr.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return n}Jt(),__INTLIFY_JIT_COMPILATION__?dt(Pt):dt(Ot),ft(Re),ht(Qe)},75220:(e,t,r)=>{"use strict";r.d(t,{Bt:()=>se,LA:()=>ae,Ur:()=>Ue,aE:()=>rt,lq:()=>it,mA:()=>Me,nU:()=>De,rd:()=>ot});var n=r(20641),o=r(50953); +/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */ +const i="undefined"!==typeof document;function a(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const s=Object.assign;function c(e,t){const r={};for(const n in t){const o=t[n];r[n]=l(o)?o.map(e):e(o)}return r}const u=()=>{},l=Array.isArray;const d=/#/g,f=/&/g,h=/\//g,p=/=/g,m=/\?/g,g=/\+/g,y=/%5B/g,v=/%5D/g,b=/%5E/g,w=/%60/g,_=/%7B/g,E=/%7C/g,A=/%7D/g,S=/%20/g;function T(e){return encodeURI(""+e).replace(E,"|").replace(y,"[").replace(v,"]")}function x(e){return T(e).replace(_,"{").replace(A,"}").replace(b,"^")}function C(e){return T(e).replace(g,"%2B").replace(S,"+").replace(d,"%23").replace(f,"%26").replace(w,"`").replace(_,"{").replace(A,"}").replace(b,"^")}function I(e){return C(e).replace(p,"%3D")}function O(e){return T(e).replace(d,"%23").replace(m,"%3F")}function P(e){return null==e?"":O(e).replace(h,"%2F")}function k(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const N=/\/$/,R=e=>e.replace(N,"");function M(e,t,r="/"){let n,o={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s=0&&(c=-1),c>-1&&(n=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),o=e(i)),s>-1&&(n=n||t.slice(0,s),a=t.slice(s,t.length)),n=z(null!=n?n:t,r),{fullPath:n+(i&&"?")+i+a,path:n,query:o,hash:k(a)}}function B(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function L(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function D(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&F(t.matched[n],r.matched[o])&&j(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function F(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function j(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!U(e[r],t[r]))return!1;return!0}function U(e,t){return l(e)?$(e,t):l(t)?$(t,e):e===t}function $(e,t){return l(t)?e.length===t.length&&e.every(((e,r)=>e===t[r])):1===e.length&&e[0]===t}function z(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];".."!==o&&"."!==o||n.push("");let i,a,s=r.length-1;for(i=0;i1&&s--}return r.slice(0,s).join("/")+"/"+n.slice(i).join("/")}var H,V;(function(e){e["pop"]="pop",e["push"]="push"})(H||(H={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(V||(V={}));function G(e){if(!e)if(i){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),R(e)}const q=/^[^#]+#/;function W(e,t){return e.replace(q,"#")+t}function K(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const X=()=>({left:window.scrollX,top:window.scrollY});function Z(e){let t;if("el"in e){const r=e.el,n="string"===typeof r&&r.startsWith("#");0;const o="string"===typeof r?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=K(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Y(e,t){const r=history.state?history.state.position-t:-1;return r+e}const Q=new Map;function J(e,t){Q.set(e,t)}function ee(e){const t=Q.get(e);return Q.delete(e),t}let te=()=>location.protocol+"//"+location.host;function re(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,r=o.slice(t);return"/"!==r[0]&&(r="/"+r),L(r,"")}const a=L(r,e);return a+n+o}function ne(e,t,r,n){let o=[],i=[],a=null;const c=({state:i})=>{const s=re(e,location),c=r.value,u=t.value;let l=0;if(i){if(r.value=s,t.value=i,a&&a===c)return void(a=null);l=u?i.position-u.position:0}else n(s);o.forEach((e=>{e(r.value,c,{delta:l,type:H.pop,direction:l?l>0?V.forward:V.back:V.unknown})}))};function u(){a=r.value}function l(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t}function d(){const{history:e}=window;e.state&&e.replaceState(s({},e.state,{scroll:X()}),"")}function f(){for(const e of i)e();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:l,destroy:f}}function oe(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?X():null}}function ie(e){const{history:t,location:r}=window,n={value:re(e,r)},o={value:t.state};function i(n,i,a){const s=e.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?e:e.slice(s))+n:te()+e+n;try{t[a?"replaceState":"pushState"](i,"",c),o.value=i}catch(u){console.error(u),r[a?"replace":"assign"](c)}}function a(e,r){const a=s({},t.state,oe(o.value.back,e,o.value.forward,!0),r,{position:o.value.position});i(e,a,!0),n.value=e}function c(e,r){const a=s({},o.value,t.state,{forward:e,scroll:X()});i(a.current,a,!0);const c=s({},oe(n.value,e,null),{position:a.position+1},r);i(e,c,!1),n.value=e}return o.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:n,state:o,push:c,replace:a}}function ae(e){e=G(e);const t=ie(e),r=ne(e,t.state,t.location,t.replace);function n(e,t=!0){t||r.pauseListeners(),history.go(e)}const o=s({location:"",base:e,go:n,createHref:W.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function se(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ae(e)}function ce(e){return"string"===typeof e||e&&"object"===typeof e}function ue(e){return"string"===typeof e||"symbol"===typeof e}const le={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},de=Symbol("");var fe;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(fe||(fe={}));function he(e,t){return s(new Error,{type:e,[de]:!0},t)}function pe(e,t){return e instanceof Error&&de in e&&(null==t||!!(e.type&t))}const me="[^/]+?",ge={sensitive:!1,strict:!1,start:!0,end:!0},ye=/[.+*?^${}()[\]/\\]/g;function ve(e,t){const r=s({},ge,t),n=[];let o=r.start?"^":"";const i=[];for(const s of e){const e=s.length?[]:[90];r.strict&&!s.length&&(o+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function we(e,t){let r=0;const n=e.score,o=t.score;while(r0&&t[t.length-1]<0}const Ee={type:0,value:""},Ae=/[a-zA-Z0-9_]/;function Se(e){if(!e)return[[]];if("/"===e)return[[Ee]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${r})/"${u}": ${e}`)}let r=0,n=r;const o=[];let i;function a(){i&&o.push(i),i=[]}let s,c=0,u="",l="";function d(){u&&(0===r?i.push({type:0,value:u}):1===r||2===r||3===r?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}while(c{a(p)}:u}function a(e){if(ue(e)){const t=n.get(e);t&&(n.delete(e),r.splice(r.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=r.indexOf(e);t>-1&&(r.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function c(){return r}function l(e){let t=0;while(t=0&&(e.record.path!==r[t].record.path||!Re(e,r[t])))t++;r.splice(t,0,e),e.record.name&&!Pe(e)&&n.set(e.record.name,e)}function d(e,t){let o,i,a,c={};if("name"in e&&e.name){if(o=n.get(e.name),!o)throw he(1,{location:e});0,a=o.record.name,c=s(Ce(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ce(e.params,o.keys.map((e=>e.name)))),i=o.stringify(c)}else if(null!=e.path)i=e.path,o=r.find((e=>e.re.test(i))),o&&(c=o.parse(i),a=o.record.name);else{if(o=t.name?n.get(t.name):r.find((e=>e.re.test(t.path))),!o)throw he(1,{location:e,currentLocation:t});a=o.record.name,c=s({},t.params,e.params),i=o.stringify(c)}const u=[];let l=o;while(l)u.unshift(l.record),l=l.parent;return{name:a,path:i,params:c,matched:u,meta:ke(u)}}return t=Ne({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:d,removeRoute:a,getRoutes:c,getRecordMatcher:o}}function Ce(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Ie(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Oe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Oe(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]="object"===typeof r?r[n]:r;return t}function Pe(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ke(e){return e.reduce(((e,t)=>s(e,t.meta)),{})}function Ne(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function Re(e,t){return t.children.some((t=>t===e||Re(e,t)))}function Me(e){const t={};if(""===e||"?"===e)return t;const r="?"===e[0],n=(r?e.slice(1):e).split("&");for(let o=0;oe&&C(e))):[n&&C(n)];o.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+r,null!=e&&(t+="="+e))}))}return t}function Le(e){const t={};for(const r in e){const n=e[r];void 0!==n&&(t[r]=l(n)?n.map((e=>null==e?null:""+e)):null==n?n:""+n)}return t}const De=Symbol(""),Fe=Symbol(""),je=Symbol(""),Ue=Symbol(""),$e=Symbol("");function ze(){let e=[];function t(t){return e.push(t),()=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function He(e,t,r,n,o,i=(e=>e())){const a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise(((s,c)=>{const u=e=>{!1===e?c(he(4,{from:r,to:t})):e instanceof Error?c(e):ce(e)?c(he(2,{from:t,to:e})):(a&&n.enterCallbacks[o]===a&&"function"===typeof e&&a.push(e),s())},l=i((()=>e.call(n&&n.instances[o],t,r,u)));let d=Promise.resolve(l);e.length<3&&(d=d.then(u)),d.catch((e=>c(e)))}))}function Ve(e,t,r,n,o=(e=>e())){const i=[];for(const s of e){0;for(const e in s.components){let c=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Ge(c)){const a=c.__vccOpts||c,u=a[t];u&&i.push(He(u,r,n,s,e,o))}else{let u=c();0,i.push((()=>u.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const c=a(i)?i.default:i;s.components[e]=c;const u=c.__vccOpts||c,l=u[t];return l&&He(l,r,n,s,e,o)()}))))}}}return i}function Ge(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function qe(e){const t=(0,n.WQ)(je),r=(0,n.WQ)(Ue),i=(0,n.EW)((()=>t.resolve((0,o.R1)(e.to)))),a=(0,n.EW)((()=>{const{matched:e}=i.value,{length:t}=e,n=e[t-1],o=r.matched;if(!n||!o.length)return-1;const a=o.findIndex(F.bind(null,n));if(a>-1)return a;const s=Ye(e[t-2]);return t>1&&Ye(n)===s&&o[o.length-1].path!==s?o.findIndex(F.bind(null,e[t-2])):a})),s=(0,n.EW)((()=>a.value>-1&&Ze(r.params,i.value.params))),c=(0,n.EW)((()=>a.value>-1&&a.value===r.matched.length-1&&j(r.params,i.value.params)));function l(r={}){return Xe(r)?t[(0,o.R1)(e.replace)?"replace":"push"]((0,o.R1)(e.to)).catch(u):Promise.resolve()}return{route:i,href:(0,n.EW)((()=>i.value.href)),isActive:s,isExactActive:c,navigate:l}}const We=(0,n.pM)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:qe,setup(e,{slots:t}){const r=(0,o.Kh)(qe(e)),{options:i}=(0,n.WQ)(je),a=(0,n.EW)((()=>({[Qe(e.activeClass,i.linkActiveClass,"router-link-active")]:r.isActive,[Qe(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const o=t.default&&t.default(r);return e.custom?o:(0,n.h)("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},o)}}}),Ke=We;function Xe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ze(e,t){for(const r in t){const n=t[r],o=e[r];if("string"===typeof n){if(n!==o)return!1}else if(!l(o)||o.length!==n.length||n.some(((e,t)=>e!==o[t])))return!1}return!0}function Ye(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qe=(e,t,r)=>null!=e?e:null!=t?t:r,Je=(0,n.pM)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const i=(0,n.WQ)($e),a=(0,n.EW)((()=>e.route||i.value)),c=(0,n.WQ)(Fe,0),u=(0,n.EW)((()=>{let e=(0,o.R1)(c);const{matched:t}=a.value;let r;while((r=t[e])&&!r.components)e++;return e})),l=(0,n.EW)((()=>a.value.matched[u.value]));(0,n.Gt)(Fe,(0,n.EW)((()=>u.value+1))),(0,n.Gt)(De,l),(0,n.Gt)($e,a);const d=(0,o.KR)();return(0,n.wB)((()=>[d.value,l.value,e.name]),(([e,t,r],[n,o,i])=>{t&&(t.instances[r]=e,o&&o!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&F(t,o)&&n||(t.enterCallbacks[r]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=a.value,i=e.name,c=l.value,u=c&&c.components[i];if(!u)return et(r.default,{Component:u,route:o});const f=c.props[i],h=f?!0===f?o.params:"function"===typeof f?f(o):f:null,p=e=>{e.component.isUnmounted&&(c.instances[i]=null)},m=(0,n.h)(u,s({},h,t,{onVnodeUnmounted:p,ref:d}));return et(r.default,{Component:m,route:o})||m}}});function et(e,t){if(!e)return null;const r=e(t);return 1===r.length?r[0]:r}const tt=Je;function rt(e){const t=xe(e.routes,e),r=e.parseQuery||Me,a=e.stringifyQuery||Be,d=e.history;const f=ze(),h=ze(),p=ze(),m=(0,o.IJ)(le);let g=le;i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=c.bind(null,(e=>""+e)),v=c.bind(null,P),b=c.bind(null,k);function w(e,r){let n,o;return ue(e)?(n=t.getRecordMatcher(e),o=r):o=e,t.addRoute(o,n)}function _(e){const r=t.getRecordMatcher(e);r&&t.removeRoute(r)}function E(){return t.getRoutes().map((e=>e.record))}function A(e){return!!t.getRecordMatcher(e)}function S(e,n){if(n=s({},n||m.value),"string"===typeof e){const o=M(r,e,n.path),i=t.resolve({path:o.path},n),a=d.createHref(o.fullPath);return s(o,i,{params:b(i.params),hash:k(o.hash),redirectedFrom:void 0,href:a})}let o;if(null!=e.path)o=s({},e,{path:M(r,e.path,n.path).path});else{const t=s({},e.params);for(const e in t)null==t[e]&&delete t[e];o=s({},e,{params:v(t)}),n.params=v(n.params)}const i=t.resolve(o,n),c=e.hash||"";i.params=y(b(i.params));const u=B(a,s({},e,{hash:x(c),path:i.path})),l=d.createHref(u);return s({fullPath:u,hash:c,query:a===Be?Le(e.query):e.query||{}},i,{redirectedFrom:void 0,href:l})}function T(e){return"string"===typeof e?M(r,e,m.value.path):s({},e)}function C(e,t){if(g!==e)return he(8,{from:t,to:e})}function I(e){return R(e)}function O(e){return I(s(T(e),{replace:!0}))}function N(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:r}=t;let n="function"===typeof r?r(e):r;return"string"===typeof n&&(n=n.includes("?")||n.includes("#")?n=T(n):{path:n},n.params={}),s({query:e.query,hash:e.hash,params:null!=n.path?{}:e.params},n)}}function R(e,t){const r=g=S(e),n=m.value,o=e.state,i=e.force,c=!0===e.replace,u=N(r);if(u)return R(s(T(u),{state:"object"===typeof u?s({},o,u.state):o,force:i,replace:c}),t||r);const l=r;let d;return l.redirectedFrom=t,!i&&D(a,n,r)&&(d=he(16,{to:l,from:n}),re(n,n,!0,!1)),(d?Promise.resolve(d):j(l,n)).catch((e=>pe(e)?pe(e,2)?e:te(e):K(e,l,n))).then((e=>{if(e){if(pe(e,2))return R(s({replace:c},T(e.to),{state:"object"===typeof e.to?s({},o,e.to.state):o,force:i}),t||l)}else e=$(l,n,!0,c,o);return U(l,n,e),e}))}function L(e,t){const r=C(e,t);return r?Promise.reject(r):Promise.resolve()}function F(e){const t=ie.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function j(e,t){let r;const[n,o,i]=nt(e,t);r=Ve(n.reverse(),"beforeRouteLeave",e,t);for(const s of n)s.leaveGuards.forEach((n=>{r.push(He(n,e,t))}));const a=L.bind(null,e,t);return r.push(a),se(r).then((()=>{r=[];for(const n of f.list())r.push(He(n,e,t));return r.push(a),se(r)})).then((()=>{r=Ve(o,"beforeRouteUpdate",e,t);for(const n of o)n.updateGuards.forEach((n=>{r.push(He(n,e,t))}));return r.push(a),se(r)})).then((()=>{r=[];for(const n of i)if(n.beforeEnter)if(l(n.beforeEnter))for(const o of n.beforeEnter)r.push(He(o,e,t));else r.push(He(n.beforeEnter,e,t));return r.push(a),se(r)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),r=Ve(i,"beforeRouteEnter",e,t,F),r.push(a),se(r)))).then((()=>{r=[];for(const n of h.list())r.push(He(n,e,t));return r.push(a),se(r)})).catch((e=>pe(e,8)?e:Promise.reject(e)))}function U(e,t,r){p.list().forEach((n=>F((()=>n(e,t,r)))))}function $(e,t,r,n,o){const a=C(e,t);if(a)return a;const c=t===le,u=i?history.state:{};r&&(n||c?d.replace(e.fullPath,s({scroll:c&&u&&u.scroll},o)):d.push(e.fullPath,o)),m.value=e,re(e,t,r,c),te()}let z;function V(){z||(z=d.listen(((e,t,r)=>{if(!ae.listening)return;const n=S(e),o=N(n);if(o)return void R(s(o,{replace:!0}),n).catch(u);g=n;const a=m.value;i&&J(Y(a.fullPath,r.delta),X()),j(n,a).catch((e=>pe(e,12)?e:pe(e,2)?(R(e.to,n).then((e=>{pe(e,20)&&!r.delta&&r.type===H.pop&&d.go(-1,!1)})).catch(u),Promise.reject()):(r.delta&&d.go(-r.delta,!1),K(e,n,a)))).then((e=>{e=e||$(n,a,!1),e&&(r.delta&&!pe(e,8)?d.go(-r.delta,!1):r.type===H.pop&&pe(e,20)&&d.go(-1,!1)),U(n,a,e)})).catch(u)})))}let G,q=ze(),W=ze();function K(e,t,r){te(e);const n=W.list();return n.length?n.forEach((n=>n(e,t,r))):console.error(e),Promise.reject(e)}function Q(){return G&&m.value!==le?Promise.resolve():new Promise(((e,t)=>{q.add([e,t])}))}function te(e){return G||(G=!e,V(),q.list().forEach((([t,r])=>e?r(e):t())),q.reset()),e}function re(t,r,o,a){const{scrollBehavior:s}=e;if(!i||!s)return Promise.resolve();const c=!o&&ee(Y(t.fullPath,0))||(a||!o)&&history.state&&history.state.scroll||null;return(0,n.dY)().then((()=>s(t,r,c))).then((e=>e&&Z(e))).catch((e=>K(e,t,r)))}const ne=e=>d.go(e);let oe;const ie=new Set,ae={currentRoute:m,listening:!0,addRoute:w,removeRoute:_,hasRoute:A,getRoutes:E,resolve:S,options:e,push:I,replace:O,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:f.add,beforeResolve:h.add,afterEach:p.add,onError:W.add,isReady:Q,install(e){const t=this;e.component("RouterLink",Ke),e.component("RouterView",tt),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.R1)(m)}),i&&!oe&&m.value===le&&(oe=!0,I(d.location).catch((e=>{0})));const r={};for(const o in le)Object.defineProperty(r,o,{get:()=>m.value[o],enumerable:!0});e.provide(je,t),e.provide(Ue,(0,o.Gc)(r)),e.provide($e,m);const n=e.unmount;ie.add(e),e.unmount=function(){ie.delete(e),ie.size<1&&(g=le,z&&z(),z=null,m.value=le,oe=!1,G=!1),n()}}};function se(e){return e.reduce(((e,t)=>e.then((()=>F(t)))),Promise.resolve())}return ae}function nt(e,t){const r=[],n=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aF(e,i)))?n.push(i):r.push(i));const s=e.matched[a];s&&(t.matched.find((e=>F(e,s)))||o.push(s))}return[r,n,o]}function ot(){return(0,n.WQ)(je)}function it(){return(0,n.WQ)(Ue)}},9829:(e,t,r)=>{"use strict";r.d(t,{AL:()=>n,bl:()=>M,p6:()=>j,tn:()=>O,w3:()=>w});var n,o=r(39788),i=r(38653);class a{constructor(){this._emitter=new i.bk}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}emit(e,t){this._emitter.emit(e,t)}listenerCount(e){return this._emitter.listenerCount(e)}listeners(e){return this._emitter.listeners(e)}eventNames(){return this._emitter.eventNames()}removeAllListeners(){return this._emitter.removeAllListeners()}setMaxListenerWarningThreshold(e){this._emitter.setMaxListeners(e)}getMaxListeners(){return this._emitter.getMaxListeners()}}(function(e){e["CONFIG_CHANGE"]="CONFIG_CHANGE"})(n||(n={}));class s extends a{constructor(e){super(),this.config={handleRevert:!1,defaultAccount:void 0,defaultBlock:"latest",transactionBlockTimeout:50,transactionConfirmationBlocks:24,transactionPollingInterval:1e3,transactionPollingTimeout:75e4,transactionReceiptPollingInterval:void 0,transactionSendTimeout:75e4,transactionConfirmationPollingInterval:void 0,blockHeaderTimeout:10,maxListenersWarningThreshold:100,contractDataInputFill:"data",defaultNetworkId:void 0,defaultChain:"mainnet",defaultHardfork:"london",defaultCommon:void 0,defaultTransactionType:"0x2",defaultMaxPriorityFeePerGas:(0,i.nj)(25e8),enableExperimentalFeatures:{useSubscriptionWhenCheckingBlockTimeout:!1,useRpcCallSpecification:!1},transactionBuilder:void 0,transactionTypeParser:void 0},this.setConfig(null!==e&&void 0!==e?e:{})}setConfig(e){const t=Object.keys(e);for(const r of t)this._triggerConfigChange(r,e[r]);Object.assign(this.config,e)}get handleRevert(){return this.config.handleRevert}set handleRevert(e){this._triggerConfigChange("handleRevert",e),this.config.handleRevert=e}get contractDataInputFill(){return this.config.contractDataInputFill}set contractDataInputFill(e){this._triggerConfigChange("contractDataInputFill",e),this.config.contractDataInputFill=e}get defaultAccount(){return this.config.defaultAccount}set defaultAccount(e){this._triggerConfigChange("defaultAccount",e),this.config.defaultAccount=e}get defaultBlock(){return this.config.defaultBlock}set defaultBlock(e){this._triggerConfigChange("defaultBlock",e),this.config.defaultBlock=e}get transactionSendTimeout(){return this.config.transactionSendTimeout}set transactionSendTimeout(e){this._triggerConfigChange("transactionSendTimeout",e),this.config.transactionSendTimeout=e}get transactionBlockTimeout(){return this.config.transactionBlockTimeout}set transactionBlockTimeout(e){this._triggerConfigChange("transactionBlockTimeout",e),this.config.transactionBlockTimeout=e}get transactionConfirmationBlocks(){return this.config.transactionConfirmationBlocks}set transactionConfirmationBlocks(e){this._triggerConfigChange("transactionConfirmationBlocks",e),this.config.transactionConfirmationBlocks=e}get transactionPollingInterval(){return this.config.transactionPollingInterval}set transactionPollingInterval(e){this._triggerConfigChange("transactionPollingInterval",e),this.config.transactionPollingInterval=e,this.transactionReceiptPollingInterval=e,this.transactionConfirmationPollingInterval=e}get transactionPollingTimeout(){return this.config.transactionPollingTimeout}set transactionPollingTimeout(e){this._triggerConfigChange("transactionPollingTimeout",e),this.config.transactionPollingTimeout=e}get transactionReceiptPollingInterval(){return this.config.transactionReceiptPollingInterval}set transactionReceiptPollingInterval(e){this._triggerConfigChange("transactionReceiptPollingInterval",e),this.config.transactionReceiptPollingInterval=e}get transactionConfirmationPollingInterval(){return this.config.transactionConfirmationPollingInterval}set transactionConfirmationPollingInterval(e){this._triggerConfigChange("transactionConfirmationPollingInterval",e),this.config.transactionConfirmationPollingInterval=e}get blockHeaderTimeout(){return this.config.blockHeaderTimeout}set blockHeaderTimeout(e){this._triggerConfigChange("blockHeaderTimeout",e),this.config.blockHeaderTimeout=e}get enableExperimentalFeatures(){return this.config.enableExperimentalFeatures}set enableExperimentalFeatures(e){this._triggerConfigChange("enableExperimentalFeatures",e),this.config.enableExperimentalFeatures=e}get maxListenersWarningThreshold(){return this.config.maxListenersWarningThreshold}set maxListenersWarningThreshold(e){this._triggerConfigChange("maxListenersWarningThreshold",e),this.setMaxListenerWarningThreshold(e),this.config.maxListenersWarningThreshold=e}get defaultNetworkId(){return this.config.defaultNetworkId}set defaultNetworkId(e){this._triggerConfigChange("defaultNetworkId",e),this.config.defaultNetworkId=e}get defaultChain(){return this.config.defaultChain}set defaultChain(e){if(!(0,i.uy)(this.config.defaultCommon)&&!(0,i.uy)(this.config.defaultCommon.baseChain)&&e!==this.config.defaultCommon.baseChain)throw new o.Iy(this.config.defaultChain,e);this._triggerConfigChange("defaultChain",e),this.config.defaultChain=e}get defaultHardfork(){return this.config.defaultHardfork}set defaultHardfork(e){if(!(0,i.uy)(this.config.defaultCommon)&&!(0,i.uy)(this.config.defaultCommon.hardfork)&&e!==this.config.defaultCommon.hardfork)throw new o.CGx(this.config.defaultCommon.hardfork,e);this._triggerConfigChange("defaultHardfork",e),this.config.defaultHardfork=e}get defaultCommon(){return this.config.defaultCommon}set defaultCommon(e){if(!(0,i.uy)(this.config.defaultHardfork)&&!(0,i.uy)(e)&&!(0,i.uy)(e.hardfork)&&this.config.defaultHardfork!==e.hardfork)throw new o.CGx(this.config.defaultHardfork,e.hardfork);if(!(0,i.uy)(this.config.defaultChain)&&!(0,i.uy)(e)&&!(0,i.uy)(e.baseChain)&&this.config.defaultChain!==e.baseChain)throw new o.Iy(this.config.defaultChain,e.baseChain);this._triggerConfigChange("defaultCommon",e),this.config.defaultCommon=e}get defaultTransactionType(){return this.config.defaultTransactionType}set defaultTransactionType(e){this._triggerConfigChange("defaultTransactionType",e),this.config.defaultTransactionType=e}get defaultMaxPriorityFeePerGas(){return this.config.defaultMaxPriorityFeePerGas}set defaultMaxPriorityFeePerGas(e){this._triggerConfigChange("defaultMaxPriorityFeePerGas",e),this.config.defaultMaxPriorityFeePerGas=e}get transactionBuilder(){return this.config.transactionBuilder}set transactionBuilder(e){this._triggerConfigChange("transactionBuilder",e),this.config.transactionBuilder=e}get transactionTypeParser(){return this.config.transactionTypeParser}set transactionTypeParser(e){this._triggerConfigChange("transactionTypeParser",e),this.config.transactionTypeParser=e}_triggerConfigChange(e,t){this.emit(n.CONFIG_CHANGE,{name:e,oldValue:this.config[e],newValue:t})}}var c=r(29094),u=r(20345),l=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class d extends u.SB{constructor(e,t){if(super(),!d.validateClientUrl(e))throw new o.Pgv(e);this.clientUrl=e,this.httpProviderOptions=t}static validateClientUrl(e){return"string"===typeof e&&/^http(s)?:\/\//i.test(e)}getStatus(){throw new o.juf}supportsSubscriptions(){return!1}request(e,t){var r;return l(this,void 0,void 0,(function*(){const n=Object.assign(Object.assign({},null===(r=this.httpProviderOptions)||void 0===r?void 0:r.providerOptions),t),i=yield c(this.clientUrl,Object.assign(Object.assign({},n),{method:"POST",headers:Object.assign(Object.assign({},n.headers),{"Content-Type":"application/json"}),body:JSON.stringify(e)}));if(!i.ok)throw new o.o3e(yield i.json());return yield i.json()}))}on(){throw new o.juf}removeListener(){throw new o.juf}once(){throw new o.juf}removeAllListeners(){throw new o.juf}connect(){throw new o.juf}disconnect(){throw new o.juf}reset(){throw new o.juf}reconnect(){throw new o.juf}}var f=null;"undefined"!==typeof WebSocket?f=WebSocket:"undefined"!==typeof MozWebSocket?f=MozWebSocket:"undefined"!==typeof r.g?f=r.g.WebSocket||r.g.MozWebSocket:"undefined"!==typeof window?f=window.WebSocket||window.MozWebSocket:"undefined"!==typeof self&&(f=self.WebSocket||self.MozWebSocket);const h=f;class p extends i.FI{constructor(e,t,r){super(e,t,r)}_validateProviderPath(e){return"string"===typeof e&&/^ws(s)?:\/\//i.test(e)}getStatus(){if(this._socketConnection&&!(0,i.uy)(this._socketConnection))switch(this._socketConnection.readyState){case this._socketConnection.CONNECTING:return"connecting";case this._socketConnection.OPEN:return"connected";default:return"disconnected"}return"disconnected"}_openSocketConnection(){this._socketConnection=new h(this._socketPath,void 0,this._socketOptions&&0===Object.keys(this._socketOptions).length?void 0:this._socketOptions)}_closeSocketConnection(e,t){var r;null===(r=this._socketConnection)||void 0===r||r.close(e,t)}_sendToSocket(e){var t;if("disconnected"===this.getStatus())throw new o.W8o;null===(t=this._socketConnection)||void 0===t||t.send(JSON.stringify(e))}_parseResponses(e){return this.chunkResponseParser.parseResponse(e.data)}_addSocketListeners(){var e,t,r,n;null===(e=this._socketConnection)||void 0===e||e.addEventListener("open",this._onOpenHandler),null===(t=this._socketConnection)||void 0===t||t.addEventListener("message",this._onMessageHandler),null===(r=this._socketConnection)||void 0===r||r.addEventListener("close",(e=>this._onCloseHandler(e))),null===(n=this._socketConnection)||void 0===n||n.addEventListener("error",this._onErrorHandler)}_removeSocketListeners(){var e,t,r;null===(e=this._socketConnection)||void 0===e||e.removeEventListener("message",this._onMessageHandler),null===(t=this._socketConnection)||void 0===t||t.removeEventListener("open",this._onOpenHandler),null===(r=this._socketConnection)||void 0===r||r.removeEventListener("close",this._onCloseHandler)}_onCloseEvent(e){var t;!this._reconnectOptions.autoReconnect||[1e3,1001].includes(e.code)&&e.wasClean?(this._clearQueues(e),this._removeSocketListeners(),this._onDisconnect(e.code,e.reason),null===(t=this._socketConnection)||void 0===t||t.removeEventListener("error",this._onErrorHandler)):this._reconnect()}}const m=e=>u.SB.isWeb3Provider(e),g=e=>"string"!==typeof e&&"request"in e&&"Function"===e.request.constructor.name,y=e=>"string"!==typeof e&&"request"in e&&"AsyncFunction"===e.request.constructor.name,v=e=>"string"!==typeof e&&"send"in e,b=e=>"string"!==typeof e&&"sendAsync"in e,w=e=>e&&(m(e)||y(e)||g(e)||b(e)||v(e)),_=e=>e&&"supportsSubscriptions"in e?e.supportsSubscriptions():!(!e||"string"===typeof e||!("on"in e));var E,A=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};(function(e){e["PROVIDER_CHANGED"]="PROVIDER_CHANGED",e["BEFORE_PROVIDER_CHANGE"]="BEFORE_PROVIDER_CHANGE"})(E||(E={}));const S={HttpProvider:d,WebsocketProvider:p};class T extends a{constructor(e,t){super(),(0,i.uy)(e)||this.setProvider(e),this.useRpcCallSpecification=t}static get providers(){return S}get provider(){return this._provider}get providers(){return S}setProvider(e){let t;if(e&&"string"===typeof e&&this.providers)if(/^http(s)?:\/\//i.test(e))t=new this.providers.HttpProvider(e);else{if(!/^ws(s)?:\/\//i.test(e))throw new o.mZX(`Can't autodetect provider for "${e}"`);t=new this.providers.WebsocketProvider(e)}else t=(0,i.uy)(e)?void 0:e;return this.emit(E.BEFORE_PROVIDER_CHANGE,this._provider),this._provider=t,this.emit(E.PROVIDER_CHANGED,this._provider),!0}send(e){return A(this,void 0,void 0,(function*(){const t=yield this._sendRequest(e);if(i.wE.isResponseWithResult(t))return t.result;throw new o.o3e(t)}))}sendBatch(e){return A(this,void 0,void 0,(function*(){const t=yield this._sendRequest(e);return t}))}_sendRequest(e){return A(this,void 0,void 0,(function*(){const{provider:t}=this;if((0,i.uy)(t))throw new o.mZX("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");const r=i.wE.isBatchRequest(e)?i.wE.toBatchPayload(e):i.wE.toPayload(e);if(m(t)){let e;try{e=yield t.request(r)}catch(n){e=n}return this._processJsonRpcResponse(r,e,{legacy:!1,error:!1})}if(y(t))return t.request(r).then((e=>this._processJsonRpcResponse(r,e,{legacy:!0,error:!1}))).catch((e=>this._processJsonRpcResponse(r,e,{legacy:!0,error:!0})));if(g(t))return new Promise(((e,n)=>{const o=e=>n(this._processJsonRpcResponse(r,e,{legacy:!0,error:!0})),a=t=>e(this._processJsonRpcResponse(r,t,{legacy:!0,error:!1})),s=t.request(r,((e,t)=>e?o(e):a(t)));if((0,i.yL)(s)){const e=s;e.then(a).catch(o)}}));if(v(t))return new Promise(((e,n)=>{t.send(r,((t,a)=>{if(t)return n(this._processJsonRpcResponse(r,t,{legacy:!0,error:!0}));if((0,i.uy)(a))throw new o.o3e("",'Got a "nullish" response from provider.');return e(this._processJsonRpcResponse(r,a,{legacy:!0,error:!1}))}))}));if(b(t))return t.sendAsync(r).then((e=>this._processJsonRpcResponse(r,e,{legacy:!0,error:!1}))).catch((e=>this._processJsonRpcResponse(r,e,{legacy:!0,error:!0})));throw new o.mZX("Provider does not have a request or send method to use.")}))}_processJsonRpcResponse(e,t,{legacy:r,error:n}){if((0,i.uy)(t))return this._buildResponse(e,null,n);if(i.wE.isResponseWithError(t)){if(this.useRpcCallSpecification&&(0,i.jB)(t)){const e=t;if(o.lv4.get(e.error.code)){const t=o.lv4.get(e.error.code).error;throw new t(e)}throw new o.Qc(e)}if(!T._isReverted(t))throw new o.tFo(t,e)}if(i.wE.isResponseWithResult(t))return t;if(t instanceof Error)throw T._isReverted(t),t;if(!r&&i.wE.isBatchRequest(e)&&i.wE.isBatchResponse(t))return t;if(r&&!n&&i.wE.isBatchRequest(e))return t;if(r&&n&&i.wE.isBatchRequest(e))throw t;if(r&&!i.wE.isResponseWithError(t)&&!i.wE.isResponseWithResult(t))return this._buildResponse(e,t,n);if(i.wE.isBatchRequest(e)&&!Array.isArray(t))throw new o.o3e(t,"Got normal response for a batch request.");if(!i.wE.isBatchRequest(e)&&Array.isArray(t))throw new o.o3e(t,"Got batch response for a normal request.");if((i.wE.isResponseWithError(t)||i.wE.isResponseWithResult(t))&&!i.wE.isBatchRequest(e)&&t.id&&e.id!==t.id)throw new o.tFo(t);throw new o.o3e(t,"Invalid response")}static _isReverted(e){let t;if(i.wE.isResponseWithError(e)?t=e.error:e instanceof Error&&(t=e),null===t||void 0===t?void 0:t.message.includes("revert"))throw new o.fQB(t);return!1}_buildResponse(e,t,r){const n={jsonrpc:"2.0",id:i.wE.isBatchRequest(e)?e[0].id:"id"in e?e.id:null};return r?Object.assign(Object.assign({},n),{error:t}):Object.assign(Object.assign({},n),{result:t})}}var x=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class C{constructor(e,t,r=!1){this.requestManager=e,this.registeredSubscriptions=t,this.tolerateUnlinkedSubscription=r,this._subscriptions=new Map,this.requestManager.on(E.BEFORE_PROVIDER_CHANGE,(()=>x(this,void 0,void 0,(function*(){yield this.unsubscribe()})))),this.requestManager.on(E.PROVIDER_CHANGED,(()=>{this.clear(),this.listenToProviderEvents()})),this.listenToProviderEvents()}listenToProviderEvents(){const e=this.requestManager.provider;this.requestManager.provider&&("function"!==typeof(null===e||void 0===e?void 0:e.supportsSubscriptions)||(null===e||void 0===e?void 0:e.supportsSubscriptions()))&&"function"===typeof this.requestManager.provider.on&&("function"===typeof this.requestManager.provider.request?this.requestManager.provider.on("message",(e=>this.messageListener(e))):e.on("data",(e=>this.messageListener(e))))}messageListener(e){var t,r,n;if(!e)throw new o.AAt("Should not call messageListener with no data. Type was");const i=(null===(t=e.params)||void 0===t?void 0:t.subscription)||(null===(r=e.data)||void 0===r?void 0:r.subscription)||(null===(n=e.id)||void 0===n?void 0:n.toString(16));if(i){const t=this._subscriptions.get(i);null===t||void 0===t||t.processSubscriptionData(e)}}subscribe(e,t,r=u.Hh){return x(this,void 0,void 0,(function*(){const n=this.registeredSubscriptions[e];if(!n)throw new o.AAt("Invalid subscription type");const i=new n(null!==t&&void 0!==t?t:void 0,{subscriptionManager:this,returnFormat:r});return yield this.addSubscription(i),i}))}get subscriptions(){return this._subscriptions}addSubscription(e){return x(this,void 0,void 0,(function*(){if(!this.requestManager.provider)throw new o.mZX("Provider not available");if(!this.supportsSubscriptions())throw new o.AAt("The current provider does not support subscriptions");if(e.id&&this._subscriptions.has(e.id))throw new o.AAt(`Subscription with id "${e.id}" already exists`);if(yield e.sendSubscriptionRequest(),(0,i.uy)(e.id))throw new o.AAt("Subscription is not subscribed yet.");return this._subscriptions.set(e.id,e),e.id}))}removeSubscription(e){return x(this,void 0,void 0,(function*(){const{id:t}=e;if((0,i.uy)(t))throw new o.AAt("Subscription is not subscribed yet. Or, had already been unsubscribed but not through the Subscription Manager.");if(!this._subscriptions.has(t)&&!this.tolerateUnlinkedSubscription)throw new o.AAt(`Subscription with id "${t.toString()}" does not exists`);return yield e.sendUnsubscribeRequest(),this._subscriptions.delete(t),t}))}unsubscribe(e){return x(this,void 0,void 0,(function*(){const t=[];for(const[r,n]of this.subscriptions.entries())(!e||"function"===typeof e&&e({id:r,sub:n}))&&t.push(this.removeSubscription(n));return Promise.all(t)}))}clear(){this._subscriptions.clear()}supportsSubscriptions(){return!(0,i.uy)(this.requestManager.provider)&&_(this.requestManager.provider)}}var I=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class O extends a{constructor(e,t){var r;super(),this.args=e;const{requestManager:n}=t,{subscriptionManager:i}=t;if(n&&i)throw new o.AAt("Only requestManager or subscriptionManager should be provided at Subscription constructor");if(!n&&!i)throw new o.AAt("Either requestManager or subscriptionManager should be provided at Subscription constructor");this._subscriptionManager=n?new C(n,{},!0):i,this._returnFormat=null!==(r=null===t||void 0===t?void 0:t.returnFormat)&&void 0!==r?r:u.Hh}get id(){return this._id}get lastBlock(){return this._lastBlock}subscribe(){return I(this,void 0,void 0,(function*(){return this._subscriptionManager.addSubscription(this)}))}processSubscriptionData(e){var t,r;(null===e||void 0===e?void 0:e.data)?this._processSubscriptionResult(null!==(r=null===(t=null===e||void 0===e?void 0:e.data)||void 0===t?void 0:t.result)&&void 0!==r?r:null===e||void 0===e?void 0:e.data):e&&i.wE.isResponseWithNotification(e)&&this._processSubscriptionResult(null===e||void 0===e?void 0:e.params.result)}sendSubscriptionRequest(){return I(this,void 0,void 0,(function*(){return this._id=yield this._subscriptionManager.requestManager.send({method:"eth_subscribe",params:this._buildSubscriptionParams()}),this.emit("connected",this._id),this._id}))}get returnFormat(){return this._returnFormat}get subscriptionManager(){return this._subscriptionManager}resubscribe(){return I(this,void 0,void 0,(function*(){yield this.unsubscribe(),yield this.subscribe()}))}unsubscribe(){return I(this,void 0,void 0,(function*(){this.id&&(yield this._subscriptionManager.removeSubscription(this))}))}sendUnsubscribeRequest(){return I(this,void 0,void 0,(function*(){yield this._subscriptionManager.requestManager.send({method:"eth_unsubscribe",params:[this.id]}),this._id=void 0}))}formatSubscriptionResult(e){return e}_processSubscriptionResult(e){this.emit("data",this.formatSubscriptionResult(e))}_processSubscriptionError(e){this.emit("error",e)}_buildSubscriptionParams(){throw new Error("Implement in the child class")}}r(97362);var P=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const k=1e3;class N{constructor(e){this._requestManager=e,this._requests=new Map}get requests(){return[...this._requests.values()].map((e=>e.payload))}add(e){const t=i.wE.toPayload(e),r=new i.AI;return this._requests.set(t.id,{payload:t,promise:r}),r}execute(e){var t;return P(this,void 0,void 0,(function*(){if(0===this.requests.length)return Promise.resolve([]);const r=new i.AI({timeout:null!==(t=null===e||void 0===e?void 0:e.timeout)&&void 0!==t?t:k,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(r).catch((e=>r.reject(e))),r.catch((e=>{e instanceof o.FqJ&&this._abortAllRequests("Batch request timeout"),r.reject(e)})),r}))}_processBatchRequest(e){var t,r;return P(this,void 0,void 0,(function*(){const n=yield this._requestManager.sendBatch([...this._requests.values()].map((e=>e.payload)));if(n.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new o.o3e(n,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${n.length}`);const a=this.requests.map((e=>e.id)).map(Number).sort(((e,t)=>e-t)),s=n.map((e=>e.id)).map(Number).sort(((e,t)=>e-t));if(JSON.stringify(a)!==JSON.stringify(s))throw this._abortAllRequests("Invalid batch response"),new o.o3e(n,`Batch request mismatch the results. Requests: [${a.join()}], Responses: [${s.join()}]`);for(const e of n)i.wE.isResponseWithResult(e)?null===(t=this._requests.get(e.id))||void 0===t||t.promise.resolve(e.result):i.wE.isResponseWithError(e)&&(null===(r=this._requests.get(e.id))||void 0===r||r.promise.reject(e.error));e.resolve(n)}))}_abortAllRequests(e){for(const{promise:t}of this._requests.values())t.reject(new o.WtD(e))}}var R=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class M extends s{constructor(e){var t;if(super(),this.providers=T.providers,(0,i.uy)(e)||"string"===typeof e&&""!==e.trim()||w(e))return this._requestManager=new T(e),void(this._subscriptionManager=new C(this._requestManager,{}));const{config:r,provider:n,requestManager:o,subscriptionManager:a,registeredSubscriptions:s,accountProvider:c,wallet:u}=e;this.setConfig(null!==r&&void 0!==r?r:{}),this._requestManager=null!==o&&void 0!==o?o:new T(n,null===(t=null===r||void 0===r?void 0:r.enableExperimentalFeatures)||void 0===t?void 0:t.useSubscriptionWhenCheckingBlockTimeout),this._subscriptionManager=a||new C(this.requestManager,null!==s&&void 0!==s?s:{}),c&&(this._accountProvider=c),u&&(this._wallet=u)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:null===(e=this.subscriptionManager)||void 0===e?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...t){const r=new e(...[...t,this.getContextObject()]);return this.on(n.CONFIG_CHANGE,(e=>{r.setConfig({[e.name]:e.newValue})})),r}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(n.CONFIG_CHANGE,(e=>{this.setConfig({[e.name]:e.newValue})}))}registerPlugin(e){if(void 0!==this[e.pluginNamespace])throw new o.aY6(e.pluginNamespace);const t={[e.pluginNamespace]:e};t[e.pluginNamespace].link(this),Object.assign(this,t)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return M.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return N.bind(void 0,this._requestManager)}extend(e){var t;return e.property&&!this[e.property]&&(this[e.property]={}),null===(t=e.methods)||void 0===t||t.forEach((t=>{const r=(...e)=>R(this,void 0,void 0,(function*(){return this.requestManager.send({method:t.call,params:e})}));e.property?this[e.property][t.name]=r:this[t.name]=r})),this}}M.providers=T.providers;var B=r(69825);class L{constructor(e){if(this.toAddress=()=>{if(this.isDirect()){const e=this._iban.slice(4),t=L._parseInt(e,36),r=(0,i.PX)(t,40);return(0,i.BA)(r)}throw new Error("Iban is indirect and cannot be converted. Must be length of 34 or 35")},!L.isIndirect(e)&&!L.isDirect(e))throw new Error("Invalid IBAN was provided");this._iban=e}static isDirect(e){return 34===e.length||35===e.length}isDirect(){return L.isDirect(this._iban)}static isIndirect(e){return 20===e.length}isIndirect(){return L.isIndirect(this._iban)}static isValid(e){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(e)&&1===L._mod9710(L._iso13616Prepare(e))}isValid(){return L.isValid(this._iban)}static fromBban(e){const t="XE",r=this._mod9710(this._iso13616Prepare(`${t}00${e}`)),n=`0${(98-r).toString()}`.slice(-2);return new L(`${t}${n}${e}`)}static createIndirect(e){return L.fromBban(`ETH${e.institution}${e.identifier}`)}static fromAddress(e){if(!(0,B.PW)(e))throw new o.MsQ(e);const t=BigInt((0,i.ME)(e)),r=t.toString(36),n=(0,i.PX)(r,15);return L.fromBban(n.toUpperCase())}static toIban(e){return L.fromAddress(e).toString()}client(){return this.isIndirect()?this._iban.slice(11):""}checksum(){return this._iban.slice(2,4)}institution(){return this.isIndirect()?this._iban.slice(7,11):""}toString(){return this._iban}}L._iso13616Prepare=e=>{const t="A".charCodeAt(0),r="Z".charCodeAt(0),n=e.toUpperCase(),o=`${n.slice(4)}${n.slice(0,4)}`;return o.split("").map((e=>{const n=e.charCodeAt(0);return n>=t&&n<=r?n-t+10:e})).join("")},L._parseInt=(e,t)=>[...e].reduce(((e,r)=>BigInt(parseInt(r,t))+BigInt(t)*e),BigInt(0)),L._mod9710=e=>{let t,r=e;while(r.length>2)t=r.slice(0,9),r=`${(parseInt(t,10)%97).toString()}${r.slice(t.length)}`;return parseInt(r,10)%97},L.toAddress=e=>{const t=new L(e);return t.toAddress()};var D,F=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class j extends a{constructor(e){super(),this[D]="Promise",this._promise=new Promise(e)}then(e,t){return F(this,void 0,void 0,(function*(){return this._promise.then(e,t)}))}catch(e){return F(this,void 0,void 0,(function*(){return this._promise.catch(e)}))}finally(e){return F(this,void 0,void 0,(function*(){return this._promise.finally(e)}))}on(e,t){return super.on(e,t),this}once(e,t){return super.once(e,t),this}}D=Symbol.toStringTag},39788:(e,t,r)=>{"use strict";r.d(t,{XPP:()=>Ne,vGW:()=>me,Iy:()=>pt,CGx:()=>ht,Rcq:()=>be,W8o:()=>we,fQB:()=>xe,SC6:()=>Ce,B0b:()=>vt,c08:()=>ee,oo5:()=>qe,Ut4:()=>Te,aY6:()=>Re,Buf:()=>Ie,zH8:()=>st,MsQ:()=>it,oiV:()=>ct,xRF:()=>nt,Pgv:()=>Be,lw5:()=>ot,CGi:()=>ve,Q8z:()=>rt,tFo:()=>ft,jfZ:()=>Ge,NgH:()=>Ve,iqJ:()=>at,fVU:()=>tt,H9x:()=>_e,juf:()=>Oe,WtD:()=>ke,FqJ:()=>Pe,aJ3:()=>Ee,VJv:()=>ye,mZX:()=>Me,kk9:()=>Ae,o3e:()=>dt,Qc:()=>yt,$D_:()=>Nt,VAK:()=>Fe,AAt:()=>Le,tty:()=>Qe,mPB:()=>Ke,byU:()=>Je,WCt:()=>He,xyB:()=>Ye,Joe:()=>et,nSB:()=>Ue,ct4:()=>$e,eFl:()=>ze,C18:()=>Xe,KTA:()=>We,SNI:()=>Se,DL5:()=>De,lv4:()=>kt});const n=100,o=101,i=201,a=202,s=203,c=204,u=205,l=206,d=300,f=310,h=311,p=400,m=402,g=405,y=408,v=423,b=424,w=425,_=426,E=427,A=428,S=429,T=430,x=431,C=432,I=437,O=438,P=439,k=500,N=503,R=505,M=506,B=507,L=600,D=602,F=603,j=604,U=701,$=702,z=801,H=4001,V=4100,G=4200,q=4900,W=4901,K=1002,X=1003,Z=1004,Y=1005,Q=1006,J=1008,ee=1100,te=1101,re=1200,ne=-32700,oe=-32600,ie=-32601,ae=-32602,se=-32603,ce=-32e3,ue=-32001,le=-32002,de=-32003,fe=-32004,he=-32005,pe=-32006;class me extends Error{constructor(e,t){super(e),this.innerError=t,this.name=this.constructor.name,"function"===typeof Error.captureStackTrace?Error.captureStackTrace(new.target.constructor):this.stack=(new Error).stack}static convertToString(e,t=!1){if(null===e||void 0===e)return"undefined";const r=JSON.stringify(e,((e,t)=>"bigint"===typeof t?t.toString():t));return t&&["bigint","string"].includes(typeof e)?r.replace(/['\\"]+/g,""):r}toJSON(){return{name:this.name,code:this.code,message:this.message,innerError:this.innerError}}}class ge extends me{constructor(e,t){super(`Invalid value given "${me.convertToString(e,!0)}". Error: ${t}.`),this.name=this.constructor.name}}class ye extends me{constructor(){super("Private key must be 32 bytes."),this.code=U}}class ve extends me{constructor(){super("Invalid Private Key, Not a valid string or uint8Array"),this.code=$}}class be extends me{constructor(e,t){super(e),this.code=k,t&&(this.errorCode=t.code,this.errorReason=t.reason)}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{errorCode:this.errorCode,errorReason:this.errorReason})}}class we extends be{constructor(e){super("Connection not open",e),this.code=N}}class _e extends be{constructor(e){super(`Maximum number of reconnect attempts reached! (${e})`),this.code=R}}class Ee extends be{constructor(){super("CONNECTION ERROR: Provider started to reconnect before the response got received!"),this.code=M}}class Ae extends be{constructor(e){super(`Request already sent with following id: ${e}`),this.code=B}}class Se extends me{constructor(e,t){super(e),this.code=d,this.receipt=t}}class Te extends Se{constructor(e){if(super(e.message||"Error"),this.name="name"in e&&e.name||this.constructor.name,this.stack="stack"in e&&e.stack||void 0,this.code=e.code,"object"===typeof e.data){let t;t="originalError"in e.data?e.data.originalError:e.data,this.data=t.data,this.innerError=new Te(t)}else this.data=e.data}setDecodedProperties(e,t,r){this.errorName=e,this.errorSignature=t,this.errorArgs=r}toJSON(){let e=Object.assign(Object.assign({},super.toJSON()),{data:this.data});return this.errorName&&(e=Object.assign(Object.assign({},e),{errorName:this.errorName,errorSignature:this.errorSignature,errorArgs:this.errorArgs})),e}}class xe extends Se{constructor(e){super("Error happened while trying to execute a function inside a smart contract"),this.code=f,this.innerError=new Te(e)}}class Ce extends ge{constructor(e){var t,r;super(`data: ${null!==(t=e.data)&&void 0!==t?t:"undefined"}, input: ${null!==(r=e.input)&&void 0!==r?r:"undefined"}`,'You can\'t have "data" and "input" as properties of a contract at the same time, please use either "data" or "input" instead.'),this.code=h}}class Ie extends me{constructor(){super(...arguments),this.code=i}}class Oe extends me{constructor(){super("The method you're trying to call is not implemented."),this.code=a}}class Pe extends me{constructor(){super(...arguments),this.code=s}}class ke extends me{constructor(){super(...arguments),this.code=c}}class Ne extends me{constructor(e,t){super(e),this.code=u,this.props=null!==t&&void 0!==t?t:{}}}class Re extends me{constructor(e){super(`A plugin with the namespace: ${e} has already been registered.`),this.code=l}}class Me extends me{constructor(){super(...arguments),this.code=L}}class Be extends me{constructor(e){super(`Client URL "${e}" is invalid.`),this.code=D}}class Le extends me{constructor(){super(...arguments),this.code=F}}class De extends me{constructor(){super(...arguments),this.code=j}}class Fe extends ge{constructor(){super(...arguments),this.code=z}}class je extends me{constructor(e,t){super(e),this.receipt=t,this.code=p}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{receipt:this.receipt})}}class Ue extends me{constructor(e,t,r,n){super("Transaction has been reverted by the EVM"+(void 0===r?"":`:\n ${me.convertToString(r)}`)),this.reason=e,this.signature=t,this.receipt=r,this.data=n,this.code=m}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,signature:this.signature,receipt:this.receipt,data:this.data})}}class $e extends Ue{constructor(e,t,r,n,o,i,a){super(e),this.reason=e,this.customErrorName=t,this.customErrorDecodedSignature=r,this.customErrorArguments=n,this.signature=o,this.receipt=i,this.data=a,this.code=O}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,customErrorName:this.customErrorName,customErrorDecodedSignature:this.customErrorDecodedSignature,customErrorArguments:this.customErrorArguments,signature:this.signature,receipt:this.receipt,data:this.data})}}class ze extends je{constructor(e){super("Transaction has been reverted by the EVM"+(void 0===e?"":`:\n ${me.convertToString(e)}`),e),this.code=g}}class He extends je{constructor(){super("Transaction not found"),this.code=T}}class Ve extends ge{constructor(e){super(e,"invalid transaction with invalid sender"),this.code=y}}class Ge extends ge{constructor(e){super(e,"invalid transaction with invalid receiver"),this.code=I}}class qe extends ge{constructor(){super("Eip1559NotSupportedError","Network doesn't support eip-1559"),this.code=v}}class We extends ge{constructor(e){super(e,"unsupported transaction type"),this.code=b}}class Ke extends ge{constructor(e){var t,r;super(`data: ${null!==(t=e.data)&&void 0!==t?t:"undefined"}, input: ${null!==(r=e.input)&&void 0!==r?r:"undefined"}`,'You can\'t have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.'),this.code=w}}class Xe extends me{constructor(e){super(`The connected Ethereum Node did not respond within ${e.numberOfSeconds} seconds, please make sure your transaction was properly sent and you are connected to a healthy Node. Be aware that transaction might still be pending or mined!\n\tTransaction Hash: ${e.transactionHash?e.transactionHash.toString():"not available"}`),this.code=x}}function Ze(e){return`Please make sure your transaction was properly sent and there are no previous pending transaction for the same account. However, be aware that it might still be mined!\n\tTransaction Hash: ${e?e.toString():"not available"}`}class Ye extends me{constructor(e){super(`Transaction was not mined within ${e.numberOfSeconds} seconds. ${Ze(e.transactionHash)}`),this.code=_}}class Qe extends me{constructor(e){super(`Transaction started at ${e.starterBlockNumber} but was not mined within ${e.numberOfBlocks} blocks. ${Ze(e.transactionHash)}`),this.code=C}}class Je extends ge{constructor(e){var t,r;super(`receipt: ${JSON.stringify(e.receipt)}, blockHash: ${null===(t=e.blockHash)||void 0===t?void 0:t.toString()}, transactionHash: ${null===(r=e.transactionHash)||void 0===r?void 0:r.toString()}`,"Receipt missing or blockHash null"),this.code=E}}class et extends ge{constructor(e){super(`receipt: ${JSON.stringify(e.receipt)}`,"Receipt missing block number"),this.code=A}}class tt extends ge{constructor(){super("LocalWalletNotAvailableError","Attempted to index account in local wallet, but no wallet is available"),this.code=S}}class rt extends me{constructor(e,t){const r=[];e.forEach((e=>r.push(e.keyword))),super(`The following properties are invalid for the transaction type ${t}: ${r.join(", ")}`),this.code=P}}class nt extends ge{constructor(e){super(e,"can not parse as byte data"),this.code=K}}class ot extends ge{constructor(e){super(e,"can not parse as number data"),this.code=X}}class it extends ge{constructor(e){super(e,"invalid ethereum address"),this.code=Y}}class at extends ge{constructor(e){super(e,"invalid unit"),this.code=Z}}class st extends ge{constructor(e){super(e,"can not be converted to hex"),this.code=Q}}class ct extends ge{constructor(e){super(e,"not a valid boolean."),this.code=J}}const ut=e=>!Array.isArray(e)&&"2.0"===e.jsonrpc&&!!e&&(void 0===e.result||null===e.result)&&"error"in e&&("number"===typeof e.id||"string"===typeof e.id),lt=e=>ut(e)?e.error.message:"";class dt extends me{constructor(e,t,r){var o;let i;super(null!==t&&void 0!==t?t:`Returned error: ${Array.isArray(e)?e.map((e=>lt(e))).join(","):lt(e)}`),this.code=n,t||(this.data=Array.isArray(e)?e.map((e=>{var t;return null===(t=e.error)||void 0===t?void 0:t.data})):null===(o=null===e||void 0===e?void 0:e.error)||void 0===o?void 0:o.data),this.request=r,"error"in e?i=e.error:e instanceof Array&&(i=e.map((e=>e.error))),this.innerError=i}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{data:this.data,request:this.request})}}class ft extends dt{constructor(e,t){let r;super(e,void 0,t),this.code=o,"error"in e?r=e.error:e instanceof Array&&(r=e.map((e=>e.error))),this.innerError=r}}class ht extends me{constructor(e,t){super(`Web3Config hardfork doesnt match in defaultHardfork ${e} and common.hardfork ${t}`),this.code=te}}class pt extends me{constructor(e,t){super(`Web3Config chain doesnt match in defaultHardfork ${e} and common.hardfork ${t}`),this.code=te}}const mt="An Rpc error has occured with a code of *code*",gt={[ne]:{message:"Parse error",description:"Invalid JSON"},[oe]:{message:"Invalid request",description:"JSON is not a valid request object\t"},[ie]:{message:"Method not found",description:"Method does not exist\t"},[ae]:{message:"Invalid params",description:"Invalid method parameters"},[se]:{message:"Internal error",description:"Internal JSON-RPC error"},[ce]:{message:"Invalid input",description:"Missing or invalid parameters"},[ue]:{message:"Resource not found",description:"Requested resource not found"},[le]:{message:"Resource unavailable",description:"Requested resource not available"},[de]:{message:"Transaction rejected",description:"Transaction creation failed"},[fe]:{message:"Method not supported",description:"Method is not implemented"},[he]:{message:"Limit exceeded",description:"Request exceeds defined limit"},[pe]:{message:"JSON-RPC version not supported",description:"Version of JSON-RPC protocol is not supported"},[H]:{name:"User Rejected Request",message:"The user rejected the request."},[V]:{name:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},[G]:{name:"Unsupported Method",message:"The Provider does not support the requested method."},[q]:{name:"Disconnected",message:"The Provider is disconnected from all chains."},[W]:{name:"Chain Disconnected",message:"The Provider is not connected to the requested chain."},"0-999":{name:"",message:"Not used."},1e3:{name:"Normal Closure",message:"The connection successfully completed the purpose for which it was created."},1001:{name:"Going Away",message:"The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection."},1002:{name:"Protocol error",message:"The endpoint is terminating the connection due to a protocol error."},1003:{name:"Unsupported Data",message:"The connection is being terminated because the endpoint received data of a type it cannot accept. (For example, a text-only endpoint received binary data.)"},1004:{name:"Reserved",message:"Reserved. A meaning might be defined in the future."},1005:{name:"No Status Rcvd",message:"Reserved. Indicates that no status code was provided even though one was expected."},1006:{name:"Abnormal Closure",message:"Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected."},1007:{name:"Invalid frame payload data",message:"The endpoint is terminating the connection because a message was received that contained inconsistent data (e.g., non-UTF-8 data within a text message)."},1008:{name:"Policy Violation",message:"The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable."},1009:{name:"Message Too Big",message:"The endpoint is terminating the connection because a data frame was received that is too large."},1010:{name:"Mandatory Ext.",message:"The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't."},1011:{name:"Internal Error",message:"The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."},1012:{name:"Service Restart",message:"The server is terminating the connection because it is restarting."},1013:{name:"Try Again Later",message:"The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is casting off some of its clients."},1014:{name:"Bad Gateway",message:"The server was acting as a gateway or proxy and received an invalid response from the upstream server. This is similar to 502 HTTP Status Code."},1015:{name:"TLS handshake",message:"Reserved. Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."},"1016-2999":{name:"",message:"For definition by future revisions of the WebSocket Protocol specification, and for definition by extension specifications."},"3000-3999":{name:"",message:"For use by libraries, frameworks, and applications. These status codes are registered directly with IANA. The interpretation of these codes is undefined by the WebSocket protocol."},"4000-4999":{name:"",message:"For private use, and thus can't be registered. Such codes can be used by prior agreements between WebSocket applications. The interpretation of these codes is undefined by the WebSocket protocol."}};class yt extends me{constructor(e,t){super(null!==t&&void 0!==t?t:mt.replace("*code*",e.error.code.toString())),this.code=e.error.code,this.id=e.id,this.jsonrpc=e.jsonrpc,this.jsonRpcError=e.error}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{error:this.jsonRpcError,id:this.id,jsonRpc:this.jsonrpc})}}class vt extends me{constructor(e,t){var r,n,o,i;if(e)if(null===(r=gt[e])||void 0===r?void 0:r.message)super(gt[e].message);else{const t=Object.keys(gt).find((t=>"string"===typeof t&&e>=parseInt(t.split("-")[0],10)&&e<=parseInt(t.split("-")[1],10)));super(null!==(o=null===(n=gt[null!==t&&void 0!==t?t:""])||void 0===n?void 0:n.message)&&void 0!==o?o:mt.replace("*code*",null!==(i=null===e||void 0===e?void 0:e.toString())&&void 0!==i?i:'""'))}else super();this.code=e,this.data=t}}class bt extends yt{constructor(e){super(e,gt[ne].message),this.code=ne}}class wt extends yt{constructor(e){super(e,gt[oe].message),this.code=oe}}class _t extends yt{constructor(e){super(e,gt[ie].message),this.code=ie}}class Et extends yt{constructor(e){super(e,gt[ae].message),this.code=ae}}class At extends yt{constructor(e){super(e,gt[se].message),this.code=se}}class St extends yt{constructor(e){super(e,gt[ce].message),this.code=ce}}class Tt extends yt{constructor(e){super(e,gt[fe].message),this.code=fe}}class xt extends yt{constructor(e){super(e,gt[le].message),this.code=le}}class Ct extends yt{constructor(e){super(e,gt[ue].message),this.code=ue}}class It extends yt{constructor(e){super(e,gt[pe].message),this.code=pe}}class Ot extends yt{constructor(e){super(e,gt[de].message),this.code=de}}class Pt extends yt{constructor(e){super(e,gt[he].message),this.code=he}}const kt=new Map;kt.set(ne,{error:bt}),kt.set(oe,{error:wt}),kt.set(ie,{error:_t}),kt.set(ae,{error:Et}),kt.set(se,{error:At}),kt.set(ce,{error:St}),kt.set(fe,{error:Tt}),kt.set(le,{error:xt}),kt.set(de,{error:Ot}),kt.set(ue,{error:Ct}),kt.set(pe,{error:It}),kt.set(he,{error:Pt});class Nt extends me{constructor(e){super(`Format for the type ${e} is unsupported`),this.type=e,this.code=re}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{type:this.type})}}},54261:(e,t,r)=>{"use strict";r.d(t,{Zo:()=>De,Nr:()=>Le,bo:()=>ke,T3:()=>m,fY:()=>Re,yF:()=>Oe,ve:()=>Ce,lN:()=>Ie,ry:()=>c,VW:()=>i,b8:()=>a,zH:()=>s,Bv:()=>h});var n=r(38653),o=r(39788);const i=e=>!(0,n.uy)(e)&&"object"===typeof e&&!(0,n.uy)(e.type)&&"error"===e.type,a=e=>!(0,n.uy)(e)&&"object"===typeof e&&!(0,n.uy)(e.type)&&"event"===e.type,s=e=>!(0,n.uy)(e)&&"object"===typeof e&&!(0,n.uy)(e.type)&&"function"===e.type,c=e=>!(0,n.uy)(e)&&"object"===typeof e&&!(0,n.uy)(e.type)&&"constructor"===e.type,u=e=>"object"===typeof e&&"undefined"===typeof e.components&&"undefined"===typeof e.name,l=e=>e.includes("[]")?{type:"tuple[]",name:e.slice(0,-2)}:{type:"tuple",name:e},d=e=>{const t=[];for(const r of Object.keys(e)){const n=e[r];"object"===typeof n?t.push(Object.assign(Object.assign({},l(r)),{components:d(n)})):t.push({name:r,type:e[r]})}return t},f=(e,t)=>{const r=[];return t.forEach((t=>{if("object"===typeof t.components){if(!t.type.startsWith("tuple"))throw new o.XPP(`Invalid value given "${t.type}". Error: components found but type is not tuple.`);const n=t.type.indexOf("["),i=n>=0?t.type.substring(n):"",a=f(e,t.components);Array.isArray(a)&&e?r.push(`tuple(${a.join(",")})${i}`):e?r.push(`(${a.join()})`):r.push(`(${a.join(",")})${i}`)}else r.push(t.type)})),r},h=e=>{var t,r,n,o;return i(e)||a(e)||s(e)?(null===(t=e.name)||void 0===t?void 0:t.includes("("))?e.name:`${null!==(r=e.name)&&void 0!==r?r:""}(${f(!1,null!==(n=e.inputs)&&void 0!==n?n:[]).join(",")})`:`(${f(!1,null!==(o=e.inputs)&&void 0!==o?o:[]).join(",")})`},p=e=>{if("string"!==typeof e&&!i(e))throw new o.XPP("Invalid parameter value in encodeErrorSignature");let t;return t=!e||"function"!==typeof e&&"object"!==typeof e?e:h(e),(0,n.aQ)(t)},m=e=>{if("string"!==typeof e&&!a(e))throw new o.XPP("Invalid parameter value in encodeEventSignature");let t;return t=!e||"function"!==typeof e&&"object"!==typeof e?e:h(e),(0,n.aQ)(t)};var g=r(69825);function y(e,t){const r=e.exec(t);return r?.groups}var v=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,b=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,w=/^\(.+?\).*?$/,_=Object.defineProperty,E=(e,t,r)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t,r)=>(E(e,"symbol"!==typeof t?t+"":t,r),r),S="abitype",T="0.7.1",x=class extends Error{constructor(e,t={}){const r=t.cause instanceof x?t.cause.details:t.cause?.message?t.cause.message:t.details,n=t.cause instanceof x&&t.cause.docsPath||t.docsPath,o=[e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...n?[`Docs: https://abitype.dev${n}`]:[],...r?[`Details: ${r}`]:[],`Version: ${S}@${T}`].join("\n");super(o),A(this,"details"),A(this,"docsPath"),A(this,"metaMessages"),A(this,"shortMessage"),A(this,"name","AbiTypeError"),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=n,this.metaMessages=t.metaMessages,this.shortMessage=e}};var C=/^struct (?[a-zA-Z0-9_]+) \{(?.*?)\}$/;function I(e){return C.test(e)}function O(e){return y(C,e)}var P=new Set(["memory","indexed","storage","calldata"]),k=new Set(["calldata","memory","storage"]);function N(e,t){return t?`${t}:${e}`:e}var R=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);var M=/^(?[a-zA-Z0-9_]+?)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z0-9_]+))?$/,B=/^\((?.+?)\)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z0-9_]+))?$/,L=/^u?int$/;function D(e,t){const r=N(e,t?.type);if(R.has(r))return R.get(r);const n=w.test(e),o=y(n?B:M,e);if(!o)throw new x("Invalid ABI parameter.",{details:e});if(o.name&&$(o.name))throw new x("Invalid ABI parameter.",{details:e,metaMessages:[`"${o.name}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]});const i=o.name?{name:o.name}:{},a="indexed"===o.modifier?{indexed:!0}:{},s=t?.structs??{};let c,u={};if(n){c="tuple";const e=F(o.type),t=[],r=e.length;for(let n=0;n0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`});return[...t,r.trim()]}const o=e.length;for(let i=0;i[a-zA-Z0-9_]+?)(?(?:\[\d*?\])+?)?$/;function G(e,t,r=new Set){const n=[],o=e.length;for(let i=0;iX(e)))})}function Z(e){return!(0,n.uy)(e)&&"object"===typeof e&&!(0,n.uy)(e.type)&&"string"===typeof e.type}function Y(e){return e.map((e=>{var t;if(Z(e))return e;if("string"===typeof e)return X(q(e.replace(/tuple/,"")));if(u(e)){const r=Object.keys(e)[0],n=l(r);return n.name=null!==(t=n.name)&&void 0!==t?t:"",Object.assign(Object.assign({},n),{components:d(e[r])})}throw new o.XPP("Invalid abi")}))}function Q(e){const t=e.type.lastIndexOf("["),r=e.type.substring(0,t),n=e.type.substring(t);let i=-1;if("[]"!==n&&(i=Number(n.slice(1,-1)),isNaN(i)))throw new o.XPP("Invalid fixed array size",{size:n});return{param:{type:r,name:"",components:e.components},size:i}}function J(e){var t,r;return!("string"!==e.type&&"bytes"!==e.type&&!e.type.endsWith("[]"))||("tuple"===e.type?null!==(r=null===(t=e.components)||void 0===t?void 0:t.some(J))&&void 0!==r&&r:!!e.type.endsWith("]")&&J(Q(e).param))}const ee=20,te=W-ee;function re(e,t){if("string"!==typeof t)throw new o.XPP("address type expects string as input type",{value:t,name:e.name,type:e.type});let r=t.toLowerCase();if(r.startsWith("0x")||(r=`0x${r}`),!(0,g.PW)(r))throw new o.XPP("provided input is not valid address",{value:t,name:e.name,type:e.type});const n=g.utils.hexToUint8Array(r),i=K(W);return i.set(n,te),{dynamic:!1,encoded:i}}function ne(e,t){const r=t.subarray(te,W);if(r.length!==ee)throw new o.XPP("Invalid decoding input, not enough bytes to decode address",{bytes:t});const i=g.utils.uint8ArrayToHexString(r);return{result:(0,n.BA)(i),encoded:t.subarray(W),consumed:W}}const oe=new Map;let ie=BigInt(256);for(let Fe=8;Fe<=256;Fe+=8)oe.set(`uint${Fe}`,{min:BigInt(0),max:ie-BigInt(1)}),oe.set(`int${Fe}`,{min:-ie/BigInt(2),max:ie/BigInt(2)-BigInt(1)}),ie*=BigInt(256);oe.set("int",oe.get("int256")),oe.set("uint",oe.get("uint256"));const ae=BigInt(1)<i.max)throw new o.XPP("provided input is greater then maximum for given type",{type:e.type,value:t,name:e.name,maximum:i.max.toString()});return{dynamic:!1,encoded:se(r)}}function le(e,t){if(t.lengthn.max)throw new o.XPP("decoded value is greater then maximum for given type",{type:e.type,value:i,name:e.name,maximum:n.max.toString()});return{result:i,encoded:t.subarray(W),consumed:W}}function de(e,t){let r;try{r=(0,n.AF)(t)}catch(i){if(i instanceof o.oiV)throw new o.XPP("provided input is not valid boolean value",{type:e.type,value:t,name:e.name})}return ue({type:"uint8",name:""},Number(r))}function fe(e,t){const r=le({type:"uint8",name:""},t);if(r.result>1||r.result<0)throw new o.XPP("Invalid boolean value encoded",{boolBytes:t.subarray(0,W),numberResult:r});return{result:r.result===BigInt(1),encoded:r.encoded,consumed:W}}const he=32;function pe(e,t){if("string"===typeof t&&t.length%2!==0&&(t+="0"),!(0,g.aY)(t))throw new o.XPP("provided input is not valid bytes value",{type:e.type,value:t,name:e.name});const r=(0,n.E3)(t),[,i]=e.type.split("bytes");if(i){if(Number(i)>he||Number(i)<1)throw new o.XPP("invalid bytes type. Static byte type can have between 1 and 32 bytes",{type:e.type});if(Number(i)t.length)throw new o.XPP("there is not enough data to decode",{type:e.type,encoded:t,size:i});return{result:(0,n.My)(a.subarray(0,i)),encoded:a.subarray(s*W),consumed:c+s*W}}function ge(e,t){if("string"!==typeof t)throw new o.XPP("invalid input, should be string",{input:t});const r=(0,n.hl)(t);return pe({type:"bytes",name:""},r)}function ye(e,t){const r=me({type:"bytes",name:""},t);return{result:(0,n.m2)(r.result),encoded:r.encoded,consumed:r.consumed}}function ve(e){let t=0,r=0;const o=[],i=[];for(const n of e)n.dynamic?t+=W:t+=n.encoded.length;for(const n of e)n.dynamic?(o.push(ue({type:"uint256",name:""},t+r)),i.push(n),r+=n.encoded.length):o.push(n);return(0,n.cX)(...o.map((e=>e.encoded)),...i.map((e=>e.encoded)))}function be(e,t){if(!Array.isArray(t))throw new o.XPP("Expected value to be array",{abi:e,values:t});const{size:r,param:i}=Q(e),a=t.map((e=>_e(i,e))),s=-1===r,c=a.length>0&&a[0].dynamic;if(!s&&t.length!==r)throw new o.XPP("Given arguments count doesn't match array length",{arrayLength:r,argumentsLength:t.length});if(s||c){const e=ve(a);if(s){const t=ue({type:"uint256",name:""},a.length).encoded;return{dynamic:!0,encoded:a.length>0?(0,n.cX)(t,e):t}}return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,n.cX)(...a.map((e=>e.encoded)))}}function we(e,t){let{size:r,param:n}=Q(e);const o=-1===r;let i=0;const a=[];let s=t;if(o){const e=le({type:"uint32",name:""},t);r=Number(e.result),i=e.consumed,s=e.encoded}const c=J(n);if(c){for(let e=0;e=c.length)throw new o.XPP("input param length missmatch",{param:e,input:t});i=_e(r,c[n])}else{const n=c[null!==(a=r.name)&&void 0!==a?a:""];if(void 0===n||null===n)throw new o.XPP("missing input defined in abi",{param:e,input:t,paramName:r.name});i=_e(r,n)}i.dynamic&&(s=!0),u.push(i)}return s?{dynamic:!0,encoded:ve(u)}:{dynamic:!1,encoded:(0,n.cX)(...u.map((e=>e.encoded)))}}function Se(e,t){const r={__length__:0};let n=0;if(!e.components)return{result:r,encoded:t,consumed:n};let o=0;for(const[i,a]of e.components.entries()){let e;if(J(a)){const r=le({type:"uint32",name:""},t.subarray(n));e=Ee(a,t.subarray(Number(r.result))),n+=r.consumed,o+=e.consumed}else e=Ee(a,t.subarray(n)),n+=e.consumed;r.__length__+=1,r[i]=e.result,a.name&&""!==a.name&&(r[a.name]=e.result)}return{encoded:t.subarray(n+o),result:r,consumed:n+o}}function Te(e,t,r){const n=Y(e),o=g.utils.hexToUint8Array(t);return Se({type:"tuple",name:"",components:n},o).result}function xe(e){const t=[];return e.forEach((e=>{if(Array.isArray(e)){const r=xe(e);t.push({type:"tuple",components:r,name:""})}else t.push({type:(0,n.nj)(e,!0)})})),t}function Ce(e,t){if((null===e||void 0===e?void 0:e.length)!==t.length)throw new o.XPP("Invalid number of values received for given ABI",{expected:null===e||void 0===e?void 0:e.length,received:t.length});const r=Y(e);return g.utils.uint8ArrayToHexString(Ae({type:"tuple",name:"",components:r},t).encoded)}function Ie(e){try{const t=xe(e);return g.utils.uint8ArrayToHexString(Ae({type:"tuple",name:"",components:t},e).encoded)}catch(t){throw new o.XPP("Could not infer types from given params",{params:e})}}const Oe=(e,t)=>Ce([e],[t]),Pe=(e,t,r)=>{try{if(e.length>0&&(!t||"0x"===t||"0X"===t))throw new o.XPP("Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.");return Te(e,`0x${t.replace(/0x/i,"")}`,r)}catch(n){throw new o.XPP(`Parameter decoding error: ${n.message}`,{internalErr:n})}},ke=(e,t)=>Pe(e,t,!1),Ne=(e,t)=>ke([e],t)["0"],Re=e=>{if("string"!==typeof e&&!s(e))throw new o.XPP("Invalid parameter value in encodeFunctionSignature");let t;return t=!e||"function"!==typeof e&&"object"!==typeof e?e:h(e),(0,n.aQ)(t).slice(0,10)},Me=["bool","string","int","uint","address","fixed","ufixed"],Be=(e,t)=>"string"===e?t:Ne(e,t),Le=(e,t,r)=>{const n=Array.isArray(r)?r:[r],o={},i={};for(const[f,h]of e.entries())h.indexed?o[f]=h:i[f]=h;const a=t?Pe(Object.values(i),t,!0):{__length__:0},s=n.length-Object.keys(o).length,c=Object.values(o).map(((e,t)=>Me.some((t=>e.type.startsWith(t)))?Be(e.type,n[t+s]):n[t+s])),u={__length__:0};let l=0,d=0;for(const[f,h]of e.entries())u[f]="string"===h.type?"":void 0,o[f]&&(u[f]=c[l],l+=1),i[f]&&(u[f]=a[String(d)],d+=1),h.name&&(u[h.name]=u[f]),u.__length__+=1;return u},De=(e,t)=>{if(null===t||void 0===t?void 0:t.data){let n,o,i;try{const r=t.data.slice(0,10),a=e.find((e=>p(e).startsWith(r)));(null===a||void 0===a?void 0:a.inputs)&&(n=a.name,o=h(a),i=ke([...a.inputs],t.data.substring(10)))}catch(r){console.error(r)}n&&t.setDecodedProperties(n,o,i)}}},97362:(e,t,r)=>{"use strict";r.d(t,{nx:()=>Fr,dF:()=>qr,Q9:()=>Tt,uX:()=>Kr});var n={};r.r(n),r.d(n,{OG:()=>Y,My:()=>U,bytesToNumberBE:()=>G,lX:()=>q,Id:()=>Z,fg:()=>ee,qj:()=>X,hexToBytes:()=>V,aY:()=>F,lq:()=>W,z:()=>K,Q5:()=>re});var o={};r.r(o),r.d(o,{secp256k1:()=>Ze});var i=r(20345),a=r(69825);i.K5;var s=r(44150);r(40651);s.E;var c=r(39788),u=r(38653);function l(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function d(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}function f(e,...t){if(!d(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function h(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");l(e.outputLen),l(e.blockLen)}function p(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function m(e,t){f(e);const r=t.outputLen;if(e.lengthnew DataView(e.buffer,e.byteOffset,e.byteLength),b=(e,t)=>e<<32-t|e>>>t,w=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!w)throw new Error("Non little-endian hardware is not supported");function _(e){if("string"!==typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function E(e){if("string"===typeof e&&(e=_(e)),!y(e))throw new Error("expected Uint8Array, got "+typeof e);return e}function A(...e){let t=0;for(let n=0;ne().update(E(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function x(e=32){if(g&&"function"===typeof g.getRandomValues)return g.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function C(e,t,r,n){if("function"===typeof e.setBigUint64)return e.setBigUint64(t,r,n);const o=BigInt(32),i=BigInt(4294967295),a=Number(r>>o&i),s=Number(r&i),c=n?4:0,u=n?0:4;e.setUint32(t+c,a,n),e.setUint32(t+u,s,n)}class I extends S{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=v(this.buffer)}update(e){p(this);const{view:t,buffer:r,blockLen:n}=this;e=E(e);const o=e.length;for(let i=0;in-i&&(this.process(r,0),i=0);for(let l=i;lu.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;le&t^~e&r,P=(e,t,r)=>e&t^e&r^t&r,k=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),N=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),R=new Uint32Array(64);class M extends I{constructor(){super(64,32,8,!1),this.A=0|N[0],this.B=0|N[1],this.C=0|N[2],this.D=0|N[3],this.E=0|N[4],this.F=0|N[5],this.G=0|N[6],this.H=0|N[7]}get(){const{A:e,B:t,C:r,D:n,E:o,F:i,G:a,H:s}=this;return[e,t,r,n,o,i,a,s]}set(e,t,r,n,o,i,a,s){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|i,this.G=0|a,this.H=0|s}process(e,t){for(let l=0;l<16;l++,t+=4)R[l]=e.getUint32(t,!1);for(let l=16;l<64;l++){const e=R[l-15],t=R[l-2],r=b(e,7)^b(e,18)^e>>>3,n=b(t,17)^b(t,19)^t>>>10;R[l]=n+R[l-7]+r+R[l-16]|0}let{A:r,B:n,C:o,D:i,E:a,F:s,G:c,H:u}=this;for(let l=0;l<64;l++){const e=b(a,6)^b(a,11)^b(a,25),t=u+e+O(a,s,c)+k[l]+R[l]|0,d=b(r,2)^b(r,13)^b(r,22),f=d+P(r,n,o)|0;u=c,c=s,s=a,a=i+t|0,i=o,o=n,n=r,r=t+f|0}r=r+this.A|0,n=n+this.B|0,o=o+this.C|0,i=i+this.D|0,a=a+this.E|0,s=s+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,o,i,a,s,c,u)}roundClean(){R.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const B=T((()=>new M)),L=(BigInt(0),BigInt(1)),D=BigInt(2);function F(e){return e instanceof Uint8Array||null!=e&&"object"===typeof e&&"Uint8Array"===e.constructor.name}const j=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function U(e){if(!F(e))throw new Error("Uint8Array expected");let t="";for(let r=0;r=z._0&&e<=z._9?e-z._0:e>=z._A&&e<=z._F?e-(z._A-10):e>=z._a&&e<=z._f?e-(z._a-10):void 0}function V(e){if("string"!==typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let o=0,i=0;o(D<new Uint8Array(e),J=e=>Uint8Array.from(e);function ee(e,t,r){if("number"!==typeof e||e<2)throw new Error("hashLen must be a number");if("number"!==typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!==typeof r)throw new Error("hmacFn must be a function");let n=Q(e),o=Q(e),i=0;const a=()=>{n.fill(1),o.fill(0),i=0},s=(...e)=>r(o,n,...e),c=(e=Q())=>{o=s(J([0]),e),n=s(),0!==e.length&&(o=s(J([1]),e),n=s())},u=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];while(e{let r;a(),c(e);while(!(r=t(u())))c();return a(),r};return l}const te={bigint:e=>"bigint"===typeof e,function:e=>"function"===typeof e,boolean:e=>"boolean"===typeof e,string:e=>"string"===typeof e,stringOrUint8Array:e=>"string"===typeof e||F(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"===typeof e&&Number.isSafeInteger(e.outputLen)};function re(e,t,r={}){const n=(t,r,n)=>{const o=te[r];if("function"!==typeof o)throw new Error(`Invalid validator "${r}", expected function`);const i=e[t];if((!n||void 0!==i)&&!o(i,e))throw new Error(`Invalid param ${String(t)}=${i} (${typeof i}), expected ${r}`)};for(const[o,i]of Object.entries(t))n(o,i,!1);for(const[o,i]of Object.entries(r))n(o,i,!0);return e} +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ +const ne=BigInt(0),oe=BigInt(1),ie=BigInt(2),ae=BigInt(3),se=BigInt(4),ce=BigInt(5),ue=BigInt(8);BigInt(9),BigInt(16);function le(e,t){const r=e%t;return r>=ne?r:t+r}function de(e,t,r){if(r<=ne||t 0");if(r===oe)return ne;let n=oe;while(t>ne)t&oe&&(n=n*e%r),e=e*e%r,t>>=oe;return n}function fe(e,t,r){let n=e;while(t-- >ne)n*=n,n%=r;return n}function he(e,t){if(e===ne||t<=ne)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=le(e,t),n=t,o=ne,i=oe,a=oe,s=ne;while(r!==ne){const e=n/r,t=n%r,c=o-a*e,u=i-s*e;n=r,r=t,o=a,i=s,a=c,s=u}const c=n;if(c!==oe)throw new Error("invert: does not exist");return le(o,t)}function pe(e){const t=(e-oe)/ie;let r,n,o;for(r=e-oe,n=0;r%ie===ne;r/=ie,n++);for(o=ie;o(e[t]="function",e)),t);return re(e,r)}function ve(e,t,r){if(r 0");if(r===ne)return e.ONE;if(r===oe)return t;let n=e.ONE,o=t;while(r>ne)r&oe&&(n=e.mul(n,o)),o=e.sqr(o),r>>=oe;return n}function be(e,t){const r=new Array(t.length),n=t.reduce(((t,n,o)=>e.is0(n)?t:(r[o]=t,e.mul(t,n))),e.ONE),o=e.inv(n);return t.reduceRight(((t,n,o)=>e.is0(n)?t:(r[o]=e.mul(t,r[o]),e.mul(t,n))),o),r}function we(e,t){const r=void 0!==t?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function _e(e,t,r=!1,n={}){if(e<=ne)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:o,nByteLength:i}=we(e,t);if(i>2048)throw new Error("Field lengths over 2048 bytes are not supported");const a=me(e),s=Object.freeze({ORDER:e,BITS:o,BYTES:i,MASK:Y(o),ZERO:ne,ONE:oe,create:t=>le(t,e),isValid:t=>{if("bigint"!==typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return ne<=t&&te===ne,isOdd:e=>(e&oe)===oe,neg:t=>le(-t,e),eql:(e,t)=>e===t,sqr:t=>le(t*t,e),add:(t,r)=>le(t+r,e),sub:(t,r)=>le(t-r,e),mul:(t,r)=>le(t*r,e),pow:(e,t)=>ve(s,e,t),div:(t,r)=>le(t*he(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>he(t,e),sqrt:n.sqrt||(e=>a(s,e)),invertBatch:e=>be(s,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?K(e,i):W(e,i),fromBytes:e=>{if(e.length!==i)throw new Error(`Fp.fromBytes: expected ${i}, got ${e.length}`);return r?q(e):G(e)}});return Object.freeze(s)}function Ee(e){if("bigint"!==typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function Ae(e){const t=Ee(e);return t+Math.ceil(t/2)}function Se(e,t,r=!1){const n=e.length,o=Ee(t),i=Ae(t);if(n<16||n1024)throw new Error(`expected ${i}-1024 bytes of input, got ${n}`);const a=r?G(e):q(e),s=le(a,t-oe)+oe;return r?K(s,o):W(s,o)}class Te extends S{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,h(e);const r=E(t);if(this.iHash=e.create(),"function"!==typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,o=new Uint8Array(n);o.set(r.length>n?e.create().update(r).digest():r);for(let i=0;inew Te(e,t).update(r).digest();xe.create=(e,t)=>new Te(e,t); +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ +const Ce=BigInt(0),Ie=BigInt(1);function Oe(e,t){const r=(e,t)=>{const r=t.negate();return e?r:t},n=e=>{const r=Math.ceil(t/e)+1,n=2**(e-1);return{windows:r,windowSize:n}};return{constTimeNegate:r,unsafeLadder(t,r){let n=e.ZERO,o=t;while(r>Ce)r&Ie&&(n=n.add(o)),o=o.double(),r>>=Ie;return n},precomputeWindow(e,t){const{windows:r,windowSize:o}=n(t),i=[];let a=e,s=a;for(let n=0;n>=f,n>s&&(n-=d,i+=Ie);const a=t,h=t+Math.abs(n)-1,p=e%2!==0,m=n<0;0===n?u=u.add(r(p,o[a])):c=c.add(r(m,o[h]))}return{p:c,f:u}},wNAFCached(e,t,r,n){const o=e._WINDOW_SIZE||1;let i=t.get(e);return i||(i=this.precomputeWindow(e,o),1!==o&&t.set(e,n(i))),this.wNAF(o,i,r)}}}function Pe(e){return ye(e.Fp),re(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...we(e.n,e.nBitLength),...e,p:e.Fp.ORDER})} +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ +function ke(e){const t=Pe(e);re(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:n,a:o}=t;if(r){if(!n.eql(o,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!==typeof r||"bigint"!==typeof r.beta||"function"!==typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}const{bytesToNumberBE:Ne,hexToBytes:Re}=n,Me={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){const{Err:t}=Me;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");const r=e[1],n=e.subarray(2,r+2);if(!r||n.length!==r)throw new t("Invalid signature integer: wrong length");if(128&n[0])throw new t("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:Ne(n),l:e.subarray(r+2)}},toSig(e){const{Err:t}=Me,r="string"===typeof e?Re(e):e;if(!F(r))throw new Error("ui8a expected");let n=r.length;if(n<2||48!=r[0])throw new t("Invalid signature tag");if(r[1]!==n-2)throw new t("Invalid signature: incorrect length");const{d:o,l:i}=Me._parseInt(r.subarray(2)),{d:a,l:s}=Me._parseInt(i);if(s.length)throw new t("Invalid signature: left bytes after parsing");return{r:o,s:a}},hexFromSig(e){const t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,r=e=>{const t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(r(e.s)),o=t(r(e.r)),i=n.length/2,a=o.length/2,s=r(i),c=r(a);return`30${r(a+i+4)}02${c}${o}02${s}${n}`}},Be=BigInt(0),Le=BigInt(1),De=(BigInt(2),BigInt(3));BigInt(4);function Fe(e){const t=ke(e),{Fp:r}=t,n=t.toBytes||((e,t,n)=>{const o=t.toAffine();return Z(Uint8Array.from([4]),r.toBytes(o.x),r.toBytes(o.y))}),o=t.fromBytes||(e=>{const t=e.subarray(1),n=r.fromBytes(t.subarray(0,r.BYTES)),o=r.fromBytes(t.subarray(r.BYTES,2*r.BYTES));return{x:n,y:o}});function i(e){const{a:n,b:o}=t,i=r.sqr(e),a=r.mul(i,e);return r.add(r.add(a,r.mul(e,n)),o)}if(!r.eql(r.sqr(t.Gy),i(t.Gx)))throw new Error("bad generator point: equation left != right");function a(e){return"bigint"===typeof e&&Ber.eql(e,r.ZERO);return o(t)&&o(n)?d.ZERO:new d(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){const t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}static fromHex(e){const t=d.fromAffine(o(X("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return d.BASE.multiply(c(e))}_setWindowSize(e){this._WINDOW_SIZE=e,u.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:e,y:n}=this.toAffine();if(!r.isValid(e)||!r.isValid(n))throw new Error("bad point: x or y not FE");const o=r.sqr(n),a=i(e);if(!r.eql(o,a))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){l(e);const{px:t,py:n,pz:o}=this,{px:i,py:a,pz:s}=e,c=r.eql(r.mul(t,s),r.mul(i,o)),u=r.eql(r.mul(n,s),r.mul(a,o));return c&&u}negate(){return new d(this.px,r.neg(this.py),this.pz)}double(){const{a:e,b:n}=t,o=r.mul(n,De),{px:i,py:a,pz:s}=this;let c=r.ZERO,u=r.ZERO,l=r.ZERO,f=r.mul(i,i),h=r.mul(a,a),p=r.mul(s,s),m=r.mul(i,a);return m=r.add(m,m),l=r.mul(i,s),l=r.add(l,l),c=r.mul(e,l),u=r.mul(o,p),u=r.add(c,u),c=r.sub(h,u),u=r.add(h,u),u=r.mul(c,u),c=r.mul(m,c),l=r.mul(o,l),p=r.mul(e,p),m=r.sub(f,p),m=r.mul(e,m),m=r.add(m,l),l=r.add(f,f),f=r.add(l,f),f=r.add(f,p),f=r.mul(f,m),u=r.add(u,f),p=r.mul(a,s),p=r.add(p,p),f=r.mul(p,m),c=r.sub(c,f),l=r.mul(p,h),l=r.add(l,l),l=r.add(l,l),new d(c,u,l)}add(e){l(e);const{px:n,py:o,pz:i}=this,{px:a,py:s,pz:c}=e;let u=r.ZERO,f=r.ZERO,h=r.ZERO;const p=t.a,m=r.mul(t.b,De);let g=r.mul(n,a),y=r.mul(o,s),v=r.mul(i,c),b=r.add(n,o),w=r.add(a,s);b=r.mul(b,w),w=r.add(g,y),b=r.sub(b,w),w=r.add(n,i);let _=r.add(a,c);return w=r.mul(w,_),_=r.add(g,v),w=r.sub(w,_),_=r.add(o,i),u=r.add(s,c),_=r.mul(_,u),u=r.add(y,v),_=r.sub(_,u),h=r.mul(p,w),u=r.mul(m,v),h=r.add(u,h),u=r.sub(y,h),h=r.add(y,h),f=r.mul(u,h),y=r.add(g,g),y=r.add(y,g),v=r.mul(p,v),w=r.mul(m,w),y=r.add(y,v),v=r.sub(g,v),v=r.mul(p,v),w=r.add(w,v),g=r.mul(y,w),f=r.add(f,g),g=r.mul(_,w),u=r.mul(b,u),u=r.sub(u,g),g=r.mul(b,y),h=r.mul(_,h),h=r.add(h,g),new d(u,f,h)}subtract(e){return this.add(e.negate())}is0(){return this.equals(d.ZERO)}wNAF(e){return h.wNAFCached(this,u,e,(e=>{const t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}))}multiplyUnsafe(e){const n=d.ZERO;if(e===Be)return n;if(s(e),e===Le)return this;const{endo:o}=t;if(!o)return h.unsafeLadder(this,e);let{k1neg:i,k1:a,k2neg:c,k2:u}=o.splitScalar(e),l=n,f=n,p=this;while(a>Be||u>Be)a&Le&&(l=l.add(p)),u&Le&&(f=f.add(p)),p=p.double(),a>>=Le,u>>=Le;return i&&(l=l.negate()),c&&(f=f.negate()),f=new d(r.mul(f.px,o.beta),f.py,f.pz),l.add(f)}multiply(e){s(e);let n,o,i=e;const{endo:a}=t;if(a){const{k1neg:e,k1:t,k2neg:s,k2:c}=a.splitScalar(i);let{p:u,f:l}=this.wNAF(t),{p:f,f:p}=this.wNAF(c);u=h.constTimeNegate(e,u),f=h.constTimeNegate(s,f),f=new d(r.mul(f.px,a.beta),f.py,f.pz),n=u.add(f),o=l.add(p)}else{const{p:e,f:t}=this.wNAF(i);n=e,o=t}return d.normalizeZ([n,o])[0]}multiplyAndAddUnsafe(e,t,r){const n=d.BASE,o=(e,t)=>t!==Be&&t!==Le&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),i=o(this,t).add(o(e,r));return i.is0()?void 0:i}toAffine(e){const{px:t,py:n,pz:o}=this,i=this.is0();null==e&&(e=i?r.ONE:r.inv(o));const a=r.mul(t,e),s=r.mul(n,e),c=r.mul(o,e);if(i)return{x:r.ZERO,y:r.ZERO};if(!r.eql(c,r.ONE))throw new Error("invZ was invalid");return{x:a,y:s}}isTorsionFree(){const{h:e,isTorsionFree:r}=t;if(e===Le)return!0;if(r)return r(d,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:r}=t;return e===Le?this:r?r(d,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),n(d,this,e)}toHex(e=!0){return U(this.toRawBytes(e))}}d.BASE=new d(t.Gx,t.Gy,r.ONE),d.ZERO=new d(r.ZERO,r.ONE,r.ZERO);const f=t.nBitLength,h=Oe(d,t.endo?Math.ceil(f/2):f);return{CURVE:t,ProjectivePoint:d,normPrivateKeyToScalar:c,weierstrassEquation:i,isWithinCurveOrder:a}}function je(e){const t=Pe(e);return re(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function Ue(e){const t=je(e),{Fp:r,n}=t,o=r.BYTES+1,i=2*r.BYTES+1;function a(e){return BeU(W(e,t.nByteLength));function p(e){const t=n>>Le;return e>t}function m(e){return p(e)?s(-e):e}const g=(e,t,r)=>G(e.slice(t,r));class y{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){const r=t.nByteLength;return e=X("compactSignature",e,2*r),new y(g(e,0,r),g(e,r,2*r))}static fromDER(e){const{r:t,s:r}=Me.toSig(X("DER",e));return new y(t,r)}assertValidity(){if(!f(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!f(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new y(this.r,this.s,e)}recoverPublicKey(e){const{r:n,s:o,recovery:i}=this,a=A(X("msgHash",e));if(null==i||![0,1,2,3].includes(i))throw new Error("recovery id invalid");const l=2===i||3===i?n+t.n:n;if(l>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const d=0===(1&i)?"02":"03",f=u.fromHex(d+h(l)),p=c(l),m=s(-a*p),g=s(o*p),y=u.BASE.multiplyAndAddUnsafe(f,m,g);if(!y)throw new Error("point at infinify");return y.assertValidity(),y}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new y(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return V(this.toDERHex())}toDERHex(){return Me.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return V(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}const v={isValidPrivateKey(e){try{return l(e),!0}catch(t){return!1}},normPrivateKeyToScalar:l,randomPrivateKey:()=>{const e=Ae(t.n);return Se(t.randomBytes(e),t.n)},precompute(e=8,t=u.BASE){return t._setWindowSize(e),t.multiply(BigInt(3)),t}};function b(e,t=!0){return u.fromPrivateKey(e).toRawBytes(t)}function w(e){const t=F(e),r="string"===typeof e,n=(t||r)&&e.length;return t?n===o||n===i:r?n===2*o||n===2*i:e instanceof u}function _(e,t,r=!0){if(w(e))throw new Error("first arg must be private key");if(!w(t))throw new Error("second arg must be public key");const n=u.fromHex(t);return n.multiply(l(e)).toRawBytes(r)}const E=t.bits2int||function(e){const r=G(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},A=t.bits2int_modN||function(e){return s(E(e))},S=Y(t.nBitLength);function T(e){if("bigint"!==typeof e)throw new Error("bigint expected");if(!(Be<=e&&ee in o)))throw new Error("sign() legacy options not supported");const{hash:i,randomBytes:a}=t;let{lowS:d,prehash:h,extraEntropy:g}=o;null==d&&(d=!0),e=X("msgHash",e),h&&(e=X("prehashed msgHash",i(e)));const v=A(e),b=l(n),w=[T(b),T(v)];if(null!=g){const e=!0===g?a(r.BYTES):g;w.push(X("extraEntropy",e))}const _=Z(...w),S=v;function x(e){const t=E(e);if(!f(t))return;const r=c(t),n=u.BASE.multiply(t).toAffine(),o=s(n.x);if(o===Be)return;const i=s(r*s(S+o*b));if(i===Be)return;let a=(n.x===o?0:2)|Number(n.y&Le),l=i;return d&&p(i)&&(l=m(i),a^=1),new y(o,l,a)}return{seed:_,k2sig:x}}const C={lowS:t.lowS,prehash:!1},I={lowS:t.lowS,prehash:!1};function O(e,r,n=C){const{seed:o,k2sig:i}=x(e,r,n),a=t,s=ee(a.hash.outputLen,a.nByteLength,a.hmac);return s(o,i)}function P(e,r,n,o=I){const i=e;if(r=X("msgHash",r),n=X("publicKey",n),"strict"in o)throw new Error("options.strict was renamed to lowS");const{lowS:a,prehash:l}=o;let d,f;try{if("string"===typeof i||F(i))try{d=y.fromDER(i)}catch(E){if(!(E instanceof Me.Err))throw E;d=y.fromCompact(i)}else{if("object"!==typeof i||"bigint"!==typeof i.r||"bigint"!==typeof i.s)throw new Error("PARSE");{const{r:e,s:t}=i;d=new y(e,t)}}f=u.fromHex(n)}catch(S){if("PARSE"===S.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(a&&d.hasHighS())return!1;l&&(r=t.hash(r));const{r:h,s:p}=d,m=A(r),g=c(p),v=s(m*g),b=s(h*g),w=u.BASE.multiplyAndAddUnsafe(f,v,b)?.toAffine();if(!w)return!1;const _=s(w.x);return _===h}return u.BASE._setWindowSize(8),{CURVE:t,getPublicKey:b,getSharedSecret:_,sign:O,verify:P,ProjectivePoint:u,Signature:y,utils:v}} +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ +function $e(e){return{hash:e,hmac:(t,...r)=>xe(e,t,A(...r)),randomBytes:x}}function ze(e,t){const r=t=>Ue({...e,...$e(t)});return Object.freeze({...r(t),create:r})} +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ +const He=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Ve=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Ge=BigInt(1),qe=BigInt(2),We=(e,t)=>(e+t/qe)/t;function Ke(e){const t=He,r=BigInt(3),n=BigInt(6),o=BigInt(11),i=BigInt(22),a=BigInt(23),s=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,d=fe(l,r,t)*l%t,f=fe(d,r,t)*l%t,h=fe(f,qe,t)*u%t,p=fe(h,o,t)*h%t,m=fe(p,i,t)*p%t,g=fe(m,s,t)*m%t,y=fe(g,c,t)*g%t,v=fe(y,s,t)*m%t,b=fe(v,r,t)*l%t,w=fe(b,a,t)*p%t,_=fe(w,n,t)*u%t,E=fe(_,qe,t);if(!Xe.eql(Xe.sqr(E),e))throw new Error("Cannot find square root");return E}const Xe=_e(He,void 0,void 0,{sqrt:Ke}),Ze=ze({a:BigInt(0),b:BigInt(7),Fp:Xe,n:Ve,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=Ve,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Ge*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,a=BigInt("0x100000000000000000000000000000000"),s=We(i*e,t),c=We(-n*e,t);let u=le(e-s*r-c*o,t),l=le(-s*n-c*i,t);const d=u>a,f=l>a;if(d&&(u=t-u),f&&(l=t-l),u>a||l>a)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:u,k2neg:f,k2:l}}}},B);BigInt(0);Ze.ProjectivePoint;var Ye;const Qe=null!==(Ye=Ze)&&void 0!==Ye?Ye:o,Je=BigInt("0xffffffffffffffff"),et=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),tt=Qe.CURVE.n,rt=tt/BigInt(2);var nt,ot,it,at,st,ct;(function(e){e[e["Mainnet"]=1]="Mainnet",e[e["Goerli"]=5]="Goerli",e[e["Sepolia"]=11155111]="Sepolia"})(nt||(nt={})),function(e){e["Chainstart"]="chainstart",e["Homestead"]="homestead",e["Dao"]="dao",e["TangerineWhistle"]="tangerineWhistle",e["SpuriousDragon"]="spuriousDragon",e["Byzantium"]="byzantium",e["Constantinople"]="constantinople",e["Petersburg"]="petersburg",e["Istanbul"]="istanbul",e["MuirGlacier"]="muirGlacier",e["Berlin"]="berlin",e["London"]="london",e["ArrowGlacier"]="arrowGlacier",e["GrayGlacier"]="grayGlacier",e["MergeForkIdTransition"]="mergeForkIdTransition",e["Merge"]="merge",e["Shanghai"]="shanghai",e["ShardingForkDev"]="shardingFork"}(ot||(ot={})),function(e){e["ProofOfStake"]="pos",e["ProofOfWork"]="pow",e["ProofOfAuthority"]="poa"}(it||(it={})),function(e){e["Ethash"]="ethash",e["Clique"]="clique",e["Casper"]="casper"}(at||(at={})),function(e){e["PolygonMainnet"]="polygon-mainnet",e["PolygonMumbai"]="polygon-mumbai",e["ArbitrumRinkebyTestnet"]="arbitrum-rinkeby-testnet",e["ArbitrumOne"]="arbitrum-one",e["xDaiChain"]="x-dai-chain",e["OptimisticKovan"]="optimistic-kovan",e["OptimisticEthereum"]="optimistic-ethereum"}(st||(st={})),function(e){e[e["Number"]=0]="Number",e[e["BigInt"]=1]="BigInt",e[e["Uint8Array"]=2]="Uint8Array",e[e["PrefixedHexString"]=3]="PrefixedHexString"}(ct||(ct={}));const ut=e=>{if("string"!==typeof e)throw new Error("[stripHexPrefix] input must be type 'string', received "+typeof e);return(0,a.Xs)(e)?e.slice(2):e};function lt(e){return e&&"0x0"!==e?(0,a.Xs)(e)?`0x${ut(e).padStart(16,"0")}`:`0x${e.padStart(16,"0")}`:"0x0000000000000000"}const dt=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`};function ft(e,t=!0){var r,n;const{name:o,config:i,difficulty:s,mixHash:c,gasLimit:u,coinbase:l,baseFeePerGas:d}=e;let{extraData:f,timestamp:h,nonce:p}=e;const m=Number(h),{chainId:g}=i;if(""===f&&(f="0x"),(0,a.Xs)(h)||(h=dt(parseInt(h))),18!==p.length&&(p=lt(p)),i.eip155Block!==i.eip158Block)throw new Error("EIP155 block number must equal EIP 158 block number since both are part of SpuriousDragon hardfork and the client only supports activating the full hardfork");const y={name:o,chainId:g,networkId:g,genesis:{timestamp:h,gasLimit:parseInt(u),difficulty:parseInt(s),nonce:p,extraData:f,mixHash:c,coinbase:l,baseFeePerGas:d},hardfork:void 0,hardforks:[],bootstrapNodes:[],consensus:void 0!==i.clique?{type:"poa",algorithm:"clique",clique:{period:null!==(r=i.clique.period)&&void 0!==r?r:i.clique.blockperiodseconds,epoch:null!==(n=i.clique.epoch)&&void 0!==n?n:i.clique.epochlength}}:{type:"pow",algorithm:"ethash",ethash:{}}},v={[ot.Homestead]:{name:"homesteadBlock"},[ot.Dao]:{name:"daoForkBlock"},[ot.TangerineWhistle]:{name:"eip150Block"},[ot.SpuriousDragon]:{name:"eip155Block"},[ot.Byzantium]:{name:"byzantiumBlock"},[ot.Constantinople]:{name:"constantinopleBlock"},[ot.Petersburg]:{name:"petersburgBlock"},[ot.Istanbul]:{name:"istanbulBlock"},[ot.MuirGlacier]:{name:"muirGlacierBlock"},[ot.Berlin]:{name:"berlinBlock"},[ot.London]:{name:"londonBlock"},[ot.MergeForkIdTransition]:{name:"mergeForkBlock",postMerge:t},[ot.Shanghai]:{name:"shanghaiTime",postMerge:!0,isTimestamp:!0},[ot.ShardingForkDev]:{name:"shardingForkTime",postMerge:!0,isTimestamp:!0}},b=Object.keys(v).reduce(((e,t)=>(e[v[t].name]=t,e)),{}),w=Object.keys(i).filter((e=>void 0!==b[e]&&void 0!==i[e]&&null!==i[e]));if(y.hardforks=w.map((e=>({name:b[e],block:!0===v[b[e]].isTimestamp||"number"!==typeof i[e]?null:i[e],timestamp:!0===v[b[e]].isTimestamp&&"number"===typeof i[e]?i[e]:void 0}))).filter((e=>null!==e.block||void 0!==e.timestamp)),y.hardforks.sort(((e,t)=>{var r,n;return(null!==(r=e.block)&&void 0!==r?r:1/0)-(null!==(n=t.block)&&void 0!==n?n:1/0)})),y.hardforks.sort(((e,t)=>{var r,n;return(null!==(r=e.timestamp)&&void 0!==r?r:m)-(null!==(n=t.timestamp)&&void 0!==n?n:m)})),void 0!==i.terminalTotalDifficulty){const e={name:ot.Merge,ttd:i.terminalTotalDifficulty,block:null},t=y.hardforks.findIndex((e=>{var t;return!0===(null===(t=v[e.name])||void 0===t?void 0:t.postMerge)}));-1!==t?y.hardforks.splice(t,0,e):y.hardforks.push(e)}const _=y.hardforks.length>0?y.hardforks.slice(-1)[0]:void 0;return y.hardfork=null===_||void 0===_?void 0:_.name,y.hardforks.unshift({name:ot.Chainstart,block:0}),y}function ht(e,t,r){try{if(["config","difficulty","gasLimit","alloc"].some((t=>!(t in e))))throw new Error("Invalid format, expected geth genesis fields missing");return void 0!==t&&(e.name=t),ft(e,r)}catch(n){throw new Error(`Error parsing parameters file: ${n.message}`)}}function pt(e){let t=e;if("string"!==typeof t)throw new Error("[padToEven] value must be type 'string', received "+typeof t);return t.length%2&&(t=`0${t}`),t}const mt=function(e){const t=dt(e);return(0,u.aT)(`0x${pt(t.slice(2))}`)},gt=function(e){var t;if(null===e||void 0===e)return new Uint8Array;if(e instanceof Uint8Array)return e;if("Uint8Array"===(null===(t=null===e||void 0===e?void 0:e.constructor)||void 0===t?void 0:t.name))return Uint8Array.from(e);if(Array.isArray(e))return Uint8Array.from(e);if("string"===typeof e){if(!(0,a.Lo)(e))throw new Error(`Cannot convert string to Uint8Array. only supports 0x-prefixed hex strings and this string was given: ${e}`);return(0,u.aT)(pt(ut(e)))}if("number"===typeof e)return gt((0,u.cK)(e));if("bigint"===typeof e){if(e0&&"0"===t.toString())e=e.slice(1),t=e[0];return e}const St=function(e){return _t(e),At(e)},Tt=e=>`0x${e.toString(16)}`;function xt(e){return St(vt(e))}function Ct(e,t){return e===BigInt(0)||e===BigInt(1)?e:void 0===t?e-BigInt(27):e-(t*BigInt(2)+BigInt(35))}function It(e){return e===BigInt(0)||e===BigInt(1)}const Ot=function(e,t,r,n,o){const i=Ct(t,o);if(!It(i))throw new Error("Invalid signature v value");const a=new Qe.Signature(yt(r),yt(n)).addRecoveryBit(Number(i)).recoverPublicKey(e).toRawBytes(!1);return a.slice(1)};function Pt(e,t){if(null===e)return null;if(void 0===e)return;if("string"===typeof e&&!(0,a.Lo)(e))throw new Error(`A string must be provided with a 0x-prefix, given: ${e}`);if("number"===typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");const r=gt(e);switch(t){case ct.Uint8Array:return r;case ct.BigInt:return yt(r);case ct.Number:{const e=yt(r);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case ct.PrefixedHexString:return(0,u.My)(r);default:throw new Error("unknown outputType")}}var kt=r(90433),Nt=r(66289),Rt=r(52566);const Mt={name:"goerli",chainId:5,networkId:5,defaultHardfork:"merge",consensus:{type:"poa",algorithm:"clique",clique:{period:15,epoch:3e4}},comment:"Cross-client PoA test network",url:"https://github.com/goerli/testnet",genesis:{timestamp:"0x5c51a607",gasLimit:10485760,difficulty:1,nonce:"0x0000000000000000",extraData:"0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},hardforks:[{name:"chainstart",block:0,forkHash:"0xa3f5ab08"},{name:"homestead",block:0,forkHash:"0xa3f5ab08"},{name:"tangerineWhistle",block:0,forkHash:"0xa3f5ab08"},{name:"spuriousDragon",block:0,forkHash:"0xa3f5ab08"},{name:"byzantium",block:0,forkHash:"0xa3f5ab08"},{name:"constantinople",block:0,forkHash:"0xa3f5ab08"},{name:"petersburg",block:0,forkHash:"0xa3f5ab08"},{name:"istanbul",block:1561651,forkHash:"0xc25efa5c"},{name:"berlin",block:4460644,forkHash:"0x757a1c47"},{name:"london",block:5062605,forkHash:"0xb8c6299d"},{"//_comment":"The forkHash will remain same as mergeForkIdTransition is post merge, terminal block: https://goerli.etherscan.io/block/7382818",name:"merge",ttd:"10790000",block:7382819,forkHash:"0xb8c6299d"},{name:"mergeForkIdTransition",block:null,forkHash:null},{name:"shanghai",block:null,forkHash:null}],bootstrapNodes:[],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.goerli.ethdisco.net"]},Bt={name:"mainnet",chainId:1,networkId:1,defaultHardfork:"merge",consensus:{type:"pow",algorithm:"ethash",ethash:{}},comment:"The Ethereum main chain",url:"https://ethstats.net/",genesis:{gasLimit:5e3,difficulty:17179869184,nonce:"0x0000000000000042",extraData:"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"},hardforks:[{name:"chainstart",block:0,forkHash:"0xfc64ec04"},{name:"homestead",block:115e4,forkHash:"0x97c2c34c"},{name:"dao",block:192e4,forkHash:"0x91d1f948"},{name:"tangerineWhistle",block:2463e3,forkHash:"0x7a64da13"},{name:"spuriousDragon",block:2675e3,forkHash:"0x3edd5b10"},{name:"byzantium",block:437e4,forkHash:"0xa00bc324"},{name:"constantinople",block:728e4,forkHash:"0x668db0af"},{name:"petersburg",block:728e4,forkHash:"0x668db0af"},{name:"istanbul",block:9069e3,forkHash:"0x879d6e30"},{name:"muirGlacier",block:92e5,forkHash:"0xe029e991"},{name:"berlin",block:12244e3,forkHash:"0x0eb440f6"},{name:"london",block:12965e3,forkHash:"0xb715077d"},{name:"arrowGlacier",block:13773e3,forkHash:"0x20c327fc"},{name:"grayGlacier",block:1505e4,forkHash:"0xf0afd0e3"},{"//_comment":"The forkHash will remain same as mergeForkIdTransition is post merge, terminal block: https://etherscan.io/block/15537393",name:"merge",ttd:"58750000000000000000000",block:15537394,forkHash:"0xf0afd0e3"},{name:"mergeForkIdTransition",block:null,forkHash:null},{name:"shanghai",block:null,forkHash:null}],bootstrapNodes:[],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net"]},Lt={name:"sepolia",chainId:11155111,networkId:11155111,defaultHardfork:"merge",consensus:{type:"pow",algorithm:"ethash",ethash:{}},comment:"PoW test network to replace Ropsten",url:"https://github.com/ethereum/go-ethereum/pull/23730",genesis:{timestamp:"0x6159af19",gasLimit:3e7,difficulty:131072,nonce:"0x0000000000000000",extraData:"0x5365706f6c69612c20417468656e732c204174746963612c2047726565636521"},hardforks:[{name:"chainstart",block:0,forkHash:"0xfe3366e7"},{name:"homestead",block:0,forkHash:"0xfe3366e7"},{name:"tangerineWhistle",block:0,forkHash:"0xfe3366e7"},{name:"spuriousDragon",block:0,forkHash:"0xfe3366e7"},{name:"byzantium",block:0,forkHash:"0xfe3366e7"},{name:"constantinople",block:0,forkHash:"0xfe3366e7"},{name:"petersburg",block:0,forkHash:"0xfe3366e7"},{name:"istanbul",block:0,forkHash:"0xfe3366e7"},{name:"muirGlacier",block:0,forkHash:"0xfe3366e7"},{name:"berlin",block:0,forkHash:"0xfe3366e7"},{name:"london",block:0,forkHash:"0xfe3366e7"},{"//_comment":"The forkHash will remain same as mergeForkIdTransition is post merge, terminal block: https://sepolia.etherscan.io/block/1450408",name:"merge",ttd:"17000000000000000",block:1450409,forkHash:"0xfe3366e7"},{name:"mergeForkIdTransition",block:1735371,forkHash:"0xb96cbd13"},{name:"shanghai",block:null,timestamp:"1677557088",forkHash:"0xf7f9bc08"}],bootstrapNodes:[],dnsNetworks:["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.sepolia.ethdisco.net"]},Dt={name:"EIP-1153",number:1153,comment:"Transient Storage",url:"https://eips.ethereum.org/EIPS/eip-1153",status:"Review",minimumHardfork:"chainstart",requiredEIPs:[],gasConfig:{},gasPrices:{tstore:{v:100,d:"Base fee of the TSTORE opcode"},tload:{v:100,d:"Base fee of the TLOAD opcode"}},vm:{},pow:{}},Ft={name:"EIP-1559",number:1559,comment:"Fee market change for ETH 1.0 chain",url:"https://eips.ethereum.org/EIPS/eip-1559",status:"Final",minimumHardfork:"berlin",requiredEIPs:[2930],gasConfig:{baseFeeMaxChangeDenominator:{v:8,d:"Maximum base fee change denominator"},elasticityMultiplier:{v:2,d:"Maximum block gas target elasticity"},initialBaseFee:{v:1e9,d:"Initial base fee on first EIP1559 block"}},gasPrices:{},vm:{},pow:{}},jt={name:"EIP-2315",number:2315,comment:"Simple subroutines for the EVM",url:"https://eips.ethereum.org/EIPS/eip-2315",status:"Draft",minimumHardfork:"istanbul",gasConfig:{},gasPrices:{beginsub:{v:2,d:"Base fee of the BEGINSUB opcode"},returnsub:{v:5,d:"Base fee of the RETURNSUB opcode"},jumpsub:{v:10,d:"Base fee of the JUMPSUB opcode"}},vm:{},pow:{}},Ut={name:"EIP-2537",number:2537,comment:"BLS12-381 precompiles",url:"https://eips.ethereum.org/EIPS/eip-2537",status:"Draft",minimumHardfork:"chainstart",gasConfig:{},gasPrices:{Bls12381G1AddGas:{v:600,d:"Gas cost of a single BLS12-381 G1 addition precompile-call"},Bls12381G1MulGas:{v:12e3,d:"Gas cost of a single BLS12-381 G1 multiplication precompile-call"},Bls12381G2AddGas:{v:4500,d:"Gas cost of a single BLS12-381 G2 addition precompile-call"},Bls12381G2MulGas:{v:55e3,d:"Gas cost of a single BLS12-381 G2 multiplication precompile-call"},Bls12381PairingBaseGas:{v:115e3,d:"Base gas cost of BLS12-381 pairing check"},Bls12381PairingPerPairGas:{v:23e3,d:"Per-pair gas cost of BLS12-381 pairing check"},Bls12381MapG1Gas:{v:5500,d:"Gas cost of BLS12-381 map field element to G1"},Bls12381MapG2Gas:{v:11e4,d:"Gas cost of BLS12-381 map field element to G2"},Bls12381MultiExpGasDiscount:{v:[[1,1200],[2,888],[3,764],[4,641],[5,594],[6,547],[7,500],[8,453],[9,438],[10,423],[11,408],[12,394],[13,379],[14,364],[15,349],[16,334],[17,330],[18,326],[19,322],[20,318],[21,314],[22,310],[23,306],[24,302],[25,298],[26,294],[27,289],[28,285],[29,281],[30,277],[31,273],[32,269],[33,268],[34,266],[35,265],[36,263],[37,262],[38,260],[39,259],[40,257],[41,256],[42,254],[43,253],[44,251],[45,250],[46,248],[47,247],[48,245],[49,244],[50,242],[51,241],[52,239],[53,238],[54,236],[55,235],[56,233],[57,232],[58,231],[59,229],[60,228],[61,226],[62,225],[63,223],[64,222],[65,221],[66,220],[67,219],[68,219],[69,218],[70,217],[71,216],[72,216],[73,215],[74,214],[75,213],[76,213],[77,212],[78,211],[79,211],[80,210],[81,209],[82,208],[83,208],[84,207],[85,206],[86,205],[87,205],[88,204],[89,203],[90,202],[91,202],[92,201],[93,200],[94,199],[95,199],[96,198],[97,197],[98,196],[99,196],[100,195],[101,194],[102,193],[103,193],[104,192],[105,191],[106,191],[107,190],[108,189],[109,188],[110,188],[111,187],[112,186],[113,185],[114,185],[115,184],[116,183],[117,182],[118,182],[119,181],[120,180],[121,179],[122,179],[123,178],[124,177],[125,176],[126,176],[127,175],[128,174]],d:"Discount gas costs of calls to the MultiExp precompiles with `k` (point, scalar) pair"}},vm:{},pow:{}},$t={name:"EIP-2565",number:2565,comment:"ModExp gas cost",url:"https://eips.ethereum.org/EIPS/eip-2565",status:"Final",minimumHardfork:"byzantium",gasConfig:{},gasPrices:{modexpGquaddivisor:{v:3,d:"Gquaddivisor from modexp precompile for gas calculation"}},vm:{},pow:{}},zt={name:"EIP-2718",comment:"Typed Transaction Envelope",url:"https://eips.ethereum.org/EIPS/eip-2718",status:"Final",minimumHardfork:"chainstart",gasConfig:{},gasPrices:{},vm:{},pow:{}},Ht={name:"EIP-2929",comment:"Gas cost increases for state access opcodes",url:"https://eips.ethereum.org/EIPS/eip-2929",status:"Final",minimumHardfork:"chainstart",gasConfig:{},gasPrices:{coldsload:{v:2100,d:"Gas cost of the first read of storage from a given location (per transaction)"},coldaccountaccess:{v:2600,d:"Gas cost of the first read of a given address (per transaction)"},warmstorageread:{v:100,d:"Gas cost of reading storage locations which have already loaded 'cold'"},sstoreCleanGasEIP2200:{v:2900,d:"Once per SSTORE operation from clean non-zero to something else"},sstoreNoopGasEIP2200:{v:100,d:"Once per SSTORE operation if the value doesn't change"},sstoreDirtyGasEIP2200:{v:100,d:"Once per SSTORE operation if a dirty value is changed"},sstoreInitRefundEIP2200:{v:19900,d:"Once per SSTORE operation for resetting to the original zero value"},sstoreCleanRefundEIP2200:{v:4900,d:"Once per SSTORE operation for resetting to the original non-zero value"},call:{v:0,d:"Base fee of the CALL opcode"},callcode:{v:0,d:"Base fee of the CALLCODE opcode"},delegatecall:{v:0,d:"Base fee of the DELEGATECALL opcode"},staticcall:{v:0,d:"Base fee of the STATICCALL opcode"},balance:{v:0,d:"Base fee of the BALANCE opcode"},extcodesize:{v:0,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:0,d:"Base fee of the EXTCODECOPY opcode"},extcodehash:{v:0,d:"Base fee of the EXTCODEHASH opcode"},sload:{v:0,d:"Base fee of the SLOAD opcode"},sstore:{v:0,d:"Base fee of the SSTORE opcode"}},vm:{},pow:{}},Vt={name:"EIP-2930",comment:"Optional access lists",url:"https://eips.ethereum.org/EIPS/eip-2930",status:"Final",minimumHardfork:"istanbul",requiredEIPs:[2718,2929],gasConfig:{},gasPrices:{accessListStorageKeyCost:{v:1900,d:"Gas cost per storage key in an Access List transaction"},accessListAddressCost:{v:2400,d:"Gas cost per storage key in an Access List transaction"}},vm:{},pow:{}},Gt={name:"EIP-3198",number:3198,comment:"BASEFEE opcode",url:"https://eips.ethereum.org/EIPS/eip-3198",status:"Final",minimumHardfork:"london",gasConfig:{},gasPrices:{basefee:{v:2,d:"Gas cost of the BASEFEE opcode"}},vm:{},pow:{}},qt={name:"EIP-3529",comment:"Reduction in refunds",url:"https://eips.ethereum.org/EIPS/eip-3529",status:"Final",minimumHardfork:"berlin",requiredEIPs:[2929],gasConfig:{maxRefundQuotient:{v:5,d:"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},gasPrices:{selfdestructRefund:{v:0,d:"Refunded following a selfdestruct operation"},sstoreClearRefundEIP2200:{v:4800,d:"Once per SSTORE operation for clearing an originally existing storage slot"}},vm:{},pow:{}},Wt={name:"EIP-3540",number:3540,comment:"EVM Object Format (EOF) v1",url:"https://eips.ethereum.org/EIPS/eip-3540",status:"Review",minimumHardfork:"london",requiredEIPs:[3541],gasConfig:{},gasPrices:{},vm:{},pow:{}},Kt={name:"EIP-3541",comment:"Reject new contracts starting with the 0xEF byte",url:"https://eips.ethereum.org/EIPS/eip-3541",status:"Final",minimumHardfork:"berlin",requiredEIPs:[],gasConfig:{},gasPrices:{},vm:{},pow:{}},Xt={name:"EIP-3554",comment:"Reduction in refunds",url:"Difficulty Bomb Delay to December 1st 2021",status:"Final",minimumHardfork:"muirGlacier",requiredEIPs:[],gasConfig:{},gasPrices:{},vm:{},pow:{difficultyBombDelay:{v:95e5,d:"the amount of blocks to delay the difficulty bomb with"}}},Zt={name:"EIP-3607",number:3607,comment:"Reject transactions from senders with deployed code",url:"https://eips.ethereum.org/EIPS/eip-3607",status:"Final",minimumHardfork:"chainstart",requiredEIPs:[],gasConfig:{},gasPrices:{},vm:{},pow:{}},Yt={name:"EIP-3651",number:3198,comment:"Warm COINBASE",url:"https://eips.ethereum.org/EIPS/eip-3651",status:"Review",minimumHardfork:"london",requiredEIPs:[2929],gasConfig:{},gasPrices:{},vm:{},pow:{}},Qt={name:"EIP-3670",number:3670,comment:"EOF - Code Validation",url:"https://eips.ethereum.org/EIPS/eip-3670",status:"Review",minimumHardfork:"london",requiredEIPs:[3540],gasConfig:{},gasPrices:{},vm:{},pow:{}},Jt={name:"EIP-3675",number:3675,comment:"Upgrade consensus to Proof-of-Stake",url:"https://eips.ethereum.org/EIPS/eip-3675",status:"Final",minimumHardfork:"london",requiredEIPs:[],gasConfig:{},gasPrices:{},vm:{},pow:{}},er={name:"EIP-3855",number:3855,comment:"PUSH0 instruction",url:"https://eips.ethereum.org/EIPS/eip-3855",status:"Review",minimumHardfork:"chainstart",requiredEIPs:[],gasConfig:{},gasPrices:{push0:{v:2,d:"Base fee of the PUSH0 opcode"}},vm:{},pow:{}},tr={name:"EIP-3860",number:3860,comment:"Limit and meter initcode",url:"https://eips.ethereum.org/EIPS/eip-3860",status:"Review",minimumHardfork:"spuriousDragon",requiredEIPs:[],gasConfig:{},gasPrices:{initCodeWordCost:{v:2,d:"Gas to pay for each word (32 bytes) of initcode when creating a contract"}},vm:{maxInitCodeSize:{v:49152,d:"Maximum length of initialization code when creating a contract"}},pow:{}},rr={name:"EIP-4345",number:4345,comment:"Difficulty Bomb Delay to June 2022",url:"https://eips.ethereum.org/EIPS/eip-4345",status:"Final",minimumHardfork:"london",gasConfig:{},gasPrices:{},vm:{},pow:{difficultyBombDelay:{v:107e5,d:"the amount of blocks to delay the difficulty bomb with"}}},nr={name:"EIP-4399",number:4399,comment:"Supplant DIFFICULTY opcode with PREVRANDAO",url:"https://eips.ethereum.org/EIPS/eip-4399",status:"Review",minimumHardfork:"london",requiredEIPs:[],gasConfig:{},gasPrices:{},vm:{},pow:{}},or={name:"EIP-5133",number:5133,comment:"Delaying Difficulty Bomb to mid-September 2022",url:"https://eips.ethereum.org/EIPS/eip-5133",status:"Draft",minimumHardfork:"grayGlacier",gasConfig:{},gasPrices:{},vm:{},pow:{difficultyBombDelay:{v:114e5,d:"the amount of blocks to delay the difficulty bomb with"}}},ir={1153:Dt,1559:Ft,2315:jt,2537:Ut,2565:$t,2718:zt,2929:Ht,2930:Vt,3198:Gt,3529:qt,3540:Wt,3541:Kt,3554:Xt,3607:Zt,3651:Yt,3670:Qt,3675:Jt,3855:er,3860:tr,4345:rr,4399:nr,5133:or},ar={name:"chainstart",comment:"Start of the Ethereum main chain",url:"",status:"",gasConfig:{minGasLimit:{v:5e3,d:"Minimum the gas limit may ever be"},gasLimitBoundDivisor:{v:1024,d:"The bound divisor of the gas limit, used in update calculations"},maxRefundQuotient:{v:2,d:"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},gasPrices:{base:{v:2,d:"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},tierStep:{v:[0,2,3,5,8,10,20],d:"Once per operation, for a selection of them"},exp:{v:10,d:"Base fee of the EXP opcode"},expByte:{v:10,d:"Times ceil(log256(exponent)) for the EXP instruction"},sha3:{v:30,d:"Base fee of the SHA3 opcode"},sha3Word:{v:6,d:"Once per word of the SHA3 operation's data"},sload:{v:50,d:"Base fee of the SLOAD opcode"},sstoreSet:{v:2e4,d:"Once per SSTORE operation if the zeroness changes from zero"},sstoreReset:{v:5e3,d:"Once per SSTORE operation if the zeroness does not change from zero"},sstoreRefund:{v:15e3,d:"Once per SSTORE operation if the zeroness changes to zero"},jumpdest:{v:1,d:"Base fee of the JUMPDEST opcode"},log:{v:375,d:"Base fee of the LOG opcode"},logData:{v:8,d:"Per byte in a LOG* operation's data"},logTopic:{v:375,d:"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},create:{v:32e3,d:"Base fee of the CREATE opcode"},call:{v:40,d:"Base fee of the CALL opcode"},callStipend:{v:2300,d:"Free gas given at beginning of call"},callValueTransfer:{v:9e3,d:"Paid for CALL when the value transfor is non-zero"},callNewAccount:{v:25e3,d:"Paid for CALL when the destination address didn't exist prior"},selfdestructRefund:{v:24e3,d:"Refunded following a selfdestruct operation"},memory:{v:3,d:"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},quadCoeffDiv:{v:512,d:"Divisor for the quadratic particle of the memory cost equation"},createData:{v:200,d:""},tx:{v:21e3,d:"Per transaction. NOTE: Not payable on data of calls between transactions"},txCreation:{v:32e3,d:"The cost of creating a contract via tx"},txDataZero:{v:4,d:"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},txDataNonZero:{v:68,d:"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},copy:{v:3,d:"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},ecRecover:{v:3e3,d:""},sha256:{v:60,d:""},sha256Word:{v:12,d:""},ripemd160:{v:600,d:""},ripemd160Word:{v:120,d:""},identity:{v:15,d:""},identityWord:{v:3,d:""},stop:{v:0,d:"Base fee of the STOP opcode"},add:{v:3,d:"Base fee of the ADD opcode"},mul:{v:5,d:"Base fee of the MUL opcode"},sub:{v:3,d:"Base fee of the SUB opcode"},div:{v:5,d:"Base fee of the DIV opcode"},sdiv:{v:5,d:"Base fee of the SDIV opcode"},mod:{v:5,d:"Base fee of the MOD opcode"},smod:{v:5,d:"Base fee of the SMOD opcode"},addmod:{v:8,d:"Base fee of the ADDMOD opcode"},mulmod:{v:8,d:"Base fee of the MULMOD opcode"},signextend:{v:5,d:"Base fee of the SIGNEXTEND opcode"},lt:{v:3,d:"Base fee of the LT opcode"},gt:{v:3,d:"Base fee of the GT opcode"},slt:{v:3,d:"Base fee of the SLT opcode"},sgt:{v:3,d:"Base fee of the SGT opcode"},eq:{v:3,d:"Base fee of the EQ opcode"},iszero:{v:3,d:"Base fee of the ISZERO opcode"},and:{v:3,d:"Base fee of the AND opcode"},or:{v:3,d:"Base fee of the OR opcode"},xor:{v:3,d:"Base fee of the XOR opcode"},not:{v:3,d:"Base fee of the NOT opcode"},byte:{v:3,d:"Base fee of the BYTE opcode"},address:{v:2,d:"Base fee of the ADDRESS opcode"},balance:{v:20,d:"Base fee of the BALANCE opcode"},origin:{v:2,d:"Base fee of the ORIGIN opcode"},caller:{v:2,d:"Base fee of the CALLER opcode"},callvalue:{v:2,d:"Base fee of the CALLVALUE opcode"},calldataload:{v:3,d:"Base fee of the CALLDATALOAD opcode"},calldatasize:{v:2,d:"Base fee of the CALLDATASIZE opcode"},calldatacopy:{v:3,d:"Base fee of the CALLDATACOPY opcode"},codesize:{v:2,d:"Base fee of the CODESIZE opcode"},codecopy:{v:3,d:"Base fee of the CODECOPY opcode"},gasprice:{v:2,d:"Base fee of the GASPRICE opcode"},extcodesize:{v:20,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:20,d:"Base fee of the EXTCODECOPY opcode"},blockhash:{v:20,d:"Base fee of the BLOCKHASH opcode"},coinbase:{v:2,d:"Base fee of the COINBASE opcode"},timestamp:{v:2,d:"Base fee of the TIMESTAMP opcode"},number:{v:2,d:"Base fee of the NUMBER opcode"},difficulty:{v:2,d:"Base fee of the DIFFICULTY opcode"},gaslimit:{v:2,d:"Base fee of the GASLIMIT opcode"},pop:{v:2,d:"Base fee of the POP opcode"},mload:{v:3,d:"Base fee of the MLOAD opcode"},mstore:{v:3,d:"Base fee of the MSTORE opcode"},mstore8:{v:3,d:"Base fee of the MSTORE8 opcode"},sstore:{v:0,d:"Base fee of the SSTORE opcode"},jump:{v:8,d:"Base fee of the JUMP opcode"},jumpi:{v:10,d:"Base fee of the JUMPI opcode"},pc:{v:2,d:"Base fee of the PC opcode"},msize:{v:2,d:"Base fee of the MSIZE opcode"},gas:{v:2,d:"Base fee of the GAS opcode"},push:{v:3,d:"Base fee of the PUSH opcode"},dup:{v:3,d:"Base fee of the DUP opcode"},swap:{v:3,d:"Base fee of the SWAP opcode"},callcode:{v:40,d:"Base fee of the CALLCODE opcode"},return:{v:0,d:"Base fee of the RETURN opcode"},invalid:{v:0,d:"Base fee of the INVALID opcode"},selfdestruct:{v:0,d:"Base fee of the SELFDESTRUCT opcode"}},vm:{stackLimit:{v:1024,d:"Maximum size of VM stack allowed"},callCreateDepth:{v:1024,d:"Maximum depth of call/create stack"},maxExtraDataSize:{v:32,d:"Maximum size extra data may be after Genesis"}},pow:{minimumDifficulty:{v:131072,d:"The minimum that the difficulty may ever be"},difficultyBoundDivisor:{v:2048,d:"The bound divisor of the difficulty, used in the update calculations"},durationLimit:{v:13,d:"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},epochDuration:{v:3e4,d:"Duration between proof-of-work epochs"},timebombPeriod:{v:1e5,d:"Exponential difficulty timebomb period"},minerReward:{v:"5000000000000000000",d:"the amount a miner get rewarded for mining a block"},difficultyBombDelay:{v:0,d:"the amount of blocks to delay the difficulty bomb with"}}},sr={name:"dao",comment:"DAO rescue hardfork",url:"https://eips.ethereum.org/EIPS/eip-779",status:"Final",gasConfig:{},gasPrices:{},vm:{},pow:{}},cr={name:"homestead",comment:"Homestead hardfork with protocol and network changes",url:"https://eips.ethereum.org/EIPS/eip-606",status:"Final",gasConfig:{},gasPrices:{delegatecall:{v:40,d:"Base fee of the DELEGATECALL opcode"}},vm:{},pow:{}},ur={name:"tangerineWhistle",comment:"Hardfork with gas cost changes for IO-heavy operations",url:"https://eips.ethereum.org/EIPS/eip-608",status:"Final",gasConfig:{},gasPrices:{sload:{v:200,d:"Once per SLOAD operation"},call:{v:700,d:"Once per CALL operation & message call transaction"},extcodesize:{v:700,d:"Base fee of the EXTCODESIZE opcode"},extcodecopy:{v:700,d:"Base fee of the EXTCODECOPY opcode"},balance:{v:400,d:"Base fee of the BALANCE opcode"},delegatecall:{v:700,d:"Base fee of the DELEGATECALL opcode"},callcode:{v:700,d:"Base fee of the CALLCODE opcode"},selfdestruct:{v:5e3,d:"Base fee of the SELFDESTRUCT opcode"}},vm:{},pow:{}},lr={name:"spuriousDragon",comment:"HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit",url:"https://eips.ethereum.org/EIPS/eip-607",status:"Final",gasConfig:{},gasPrices:{expByte:{v:50,d:"Times ceil(log256(exponent)) for the EXP instruction"}},vm:{maxCodeSize:{v:24576,d:"Maximum length of contract code"}},pow:{}},dr={name:"byzantium",comment:"Hardfork with new precompiles, instructions and other protocol changes",url:"https://eips.ethereum.org/EIPS/eip-609",status:"Final",gasConfig:{},gasPrices:{modexpGquaddivisor:{v:20,d:"Gquaddivisor from modexp precompile for gas calculation"},ecAdd:{v:500,d:"Gas costs for curve addition precompile"},ecMul:{v:4e4,d:"Gas costs for curve multiplication precompile"},ecPairing:{v:1e5,d:"Base gas costs for curve pairing precompile"},ecPairingWord:{v:8e4,d:"Gas costs regarding curve pairing precompile input length"},revert:{v:0,d:"Base fee of the REVERT opcode"},staticcall:{v:700,d:"Base fee of the STATICCALL opcode"},returndatasize:{v:2,d:"Base fee of the RETURNDATASIZE opcode"},returndatacopy:{v:3,d:"Base fee of the RETURNDATACOPY opcode"}},vm:{},pow:{minerReward:{v:"3000000000000000000",d:"the amount a miner get rewarded for mining a block"},difficultyBombDelay:{v:3e6,d:"the amount of blocks to delay the difficulty bomb with"}}},fr={name:"constantinople",comment:"Postponed hardfork including EIP-1283 (SSTORE gas metering changes)",url:"https://eips.ethereum.org/EIPS/eip-1013",status:"Final",gasConfig:{},gasPrices:{netSstoreNoopGas:{v:200,d:"Once per SSTORE operation if the value doesn't change"},netSstoreInitGas:{v:2e4,d:"Once per SSTORE operation from clean zero"},netSstoreCleanGas:{v:5e3,d:"Once per SSTORE operation from clean non-zero"},netSstoreDirtyGas:{v:200,d:"Once per SSTORE operation from dirty"},netSstoreClearRefund:{v:15e3,d:"Once per SSTORE operation for clearing an originally existing storage slot"},netSstoreResetRefund:{v:4800,d:"Once per SSTORE operation for resetting to the original non-zero value"},netSstoreResetClearRefund:{v:19800,d:"Once per SSTORE operation for resetting to the original zero value"},shl:{v:3,d:"Base fee of the SHL opcode"},shr:{v:3,d:"Base fee of the SHR opcode"},sar:{v:3,d:"Base fee of the SAR opcode"},extcodehash:{v:400,d:"Base fee of the EXTCODEHASH opcode"},create2:{v:32e3,d:"Base fee of the CREATE2 opcode"}},vm:{},pow:{minerReward:{v:"2000000000000000000",d:"The amount a miner gets rewarded for mining a block"},difficultyBombDelay:{v:5e6,d:"the amount of blocks to delay the difficulty bomb with"}}},hr={name:"petersburg",comment:"Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople",url:"https://eips.ethereum.org/EIPS/eip-1716",status:"Final",gasConfig:{},gasPrices:{netSstoreNoopGas:{v:null,d:"Removed along EIP-1283"},netSstoreInitGas:{v:null,d:"Removed along EIP-1283"},netSstoreCleanGas:{v:null,d:"Removed along EIP-1283"},netSstoreDirtyGas:{v:null,d:"Removed along EIP-1283"},netSstoreClearRefund:{v:null,d:"Removed along EIP-1283"},netSstoreResetRefund:{v:null,d:"Removed along EIP-1283"},netSstoreResetClearRefund:{v:null,d:"Removed along EIP-1283"}},vm:{},pow:{}},pr={name:"istanbul",comment:"HF targeted for December 2019 following the Constantinople/Petersburg HF",url:"https://eips.ethereum.org/EIPS/eip-1679",status:"Final",gasConfig:{},gasPrices:{blake2Round:{v:1,d:"Gas cost per round for the Blake2 F precompile"},ecAdd:{v:150,d:"Gas costs for curve addition precompile"},ecMul:{v:6e3,d:"Gas costs for curve multiplication precompile"},ecPairing:{v:45e3,d:"Base gas costs for curve pairing precompile"},ecPairingWord:{v:34e3,d:"Gas costs regarding curve pairing precompile input length"},txDataNonZero:{v:16,d:"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},sstoreSentryGasEIP2200:{v:2300,d:"Minimum gas required to be present for an SSTORE call, not consumed"},sstoreNoopGasEIP2200:{v:800,d:"Once per SSTORE operation if the value doesn't change"},sstoreDirtyGasEIP2200:{v:800,d:"Once per SSTORE operation if a dirty value is changed"},sstoreInitGasEIP2200:{v:2e4,d:"Once per SSTORE operation from clean zero to non-zero"},sstoreInitRefundEIP2200:{v:19200,d:"Once per SSTORE operation for resetting to the original zero value"},sstoreCleanGasEIP2200:{v:5e3,d:"Once per SSTORE operation from clean non-zero to something else"},sstoreCleanRefundEIP2200:{v:4200,d:"Once per SSTORE operation for resetting to the original non-zero value"},sstoreClearRefundEIP2200:{v:15e3,d:"Once per SSTORE operation for clearing an originally existing storage slot"},balance:{v:700,d:"Base fee of the BALANCE opcode"},extcodehash:{v:700,d:"Base fee of the EXTCODEHASH opcode"},chainid:{v:2,d:"Base fee of the CHAINID opcode"},selfbalance:{v:5,d:"Base fee of the SELFBALANCE opcode"},sload:{v:800,d:"Base fee of the SLOAD opcode"}},vm:{},pow:{}},mr={name:"muirGlacier",comment:"HF to delay the difficulty bomb",url:"https://eips.ethereum.org/EIPS/eip-2384",status:"Final",gasConfig:{},gasPrices:{},vm:{},pow:{difficultyBombDelay:{v:9e6,d:"the amount of blocks to delay the difficulty bomb with"}}},gr={name:"berlin",comment:"HF targeted for July 2020 following the Muir Glacier HF",url:"https://eips.ethereum.org/EIPS/eip-2070",status:"Final",eips:[2565,2929,2718,2930]},yr={name:"london",comment:"HF targeted for July 2021 following the Berlin fork",url:"https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md",status:"Final",eips:[1559,3198,3529,3541]},vr={name:"shanghai",comment:"Next feature hardfork after the merge hardfork having withdrawals, warm coinbase, push0, limit/meter initcode",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md",status:"Final",eips:[3651,3855,3860,4895]},br={name:"arrowGlacier",comment:"HF to delay the difficulty bomb",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md",status:"Final",eips:[4345],gasConfig:{},gasPrices:{},vm:{},pow:{}},wr={name:"grayGlacier",comment:"Delaying the difficulty bomb to Mid September 2022",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md",status:"Draft",eips:[5133],gasConfig:{},gasPrices:{},vm:{},pow:{}},_r={name:"mergeForkIdTransition",comment:"Pre-merge hardfork to fork off non-upgraded clients",url:"https://eips.ethereum.org/EIPS/eip-3675",status:"Draft",eips:[]},Er={name:"merge",comment:"Hardfork to upgrade the consensus mechanism to Proof-of-Stake",url:"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/merge.md",status:"Final",consensus:{type:"pos",algorithm:"casper",casper:{}},eips:[3675,4399]},Ar={chainstart:ar,homestead:cr,dao:sr,tangerineWhistle:ur,spuriousDragon:lr,byzantium:dr,constantinople:fr,petersburg:hr,istanbul:pr,muirGlacier:mr,berlin:gr,london:yr,shanghai:vr,arrowGlacier:br,grayGlacier:wr,mergeForkIdTransition:_r,merge:Er},{buf:Sr}=Rt;class Tr extends u.bk{constructor(e){var t,r;super(),this._eips=[],this._customChains=null!==(t=e.customChains)&&void 0!==t?t:[],this._chainParams=this.setChain(e.chain),this.DEFAULT_HARDFORK=null!==(r=this._chainParams.defaultHardfork)&&void 0!==r?r:ot.Merge,this.HARDFORK_CHANGES=this.hardforks().map((e=>[e.name,Ar[e.name]])),this._hardfork=this.DEFAULT_HARDFORK,void 0!==e.hardfork&&this.setHardfork(e.hardfork),e.eips&&this.setEIPs(e.eips)}static custom(e,t={}){var r;const n=null!==(r=t.baseChain)&&void 0!==r?r:"mainnet",o=Object.assign({},Tr._getChainParams(n));if(o.name="custom-chain","string"!==typeof e)return new Tr(Object.assign({chain:Object.assign(Object.assign({},o),e)},t));if(e===st.PolygonMainnet)return Tr.custom({name:st.PolygonMainnet,chainId:137,networkId:137},t);if(e===st.PolygonMumbai)return Tr.custom({name:st.PolygonMumbai,chainId:80001,networkId:80001},t);if(e===st.ArbitrumRinkebyTestnet)return Tr.custom({name:st.ArbitrumRinkebyTestnet,chainId:421611,networkId:421611},t);if(e===st.ArbitrumOne)return Tr.custom({name:st.ArbitrumOne,chainId:42161,networkId:42161},t);if(e===st.xDaiChain)return Tr.custom({name:st.xDaiChain,chainId:100,networkId:100},t);if(e===st.OptimisticKovan)return Tr.custom({name:st.OptimisticKovan,chainId:69,networkId:69},Object.assign({hardfork:ot.Berlin},t));if(e===st.OptimisticEthereum)return Tr.custom({name:st.OptimisticEthereum,chainId:10,networkId:10},Object.assign({hardfork:ot.Berlin},t));throw new Error(`Custom chain ${e} not supported`)}static fromGethGenesis(e,{chain:t,eips:r,genesisHash:n,hardfork:o,mergeForkIdPostMerge:i}){var a;const s=ht(e,t,i),c=new Tr({chain:null!==(a=s.name)&&void 0!==a?a:"custom",customChains:[s],eips:r,hardfork:null!==o&&void 0!==o?o:s.hardfork});return void 0!==n&&c.setForkHashes(n),c}static isSupportedChainId(e){const t=this._getInitializedChains();return Boolean(t.names[e.toString()])}static _getChainParams(e,t){let r=e;const n=this._getInitializedChains(t);if("number"===typeof r||"bigint"===typeof r){if(r=r.toString(),n.names[r]){const e=n.names[r];return n[e]}throw new Error(`Chain with ID ${r} not supported`)}if(void 0!==n[r])return n[r];throw new Error(`Chain with name ${r} not supported`)}setChain(e){if("number"===typeof e||"bigint"===typeof e||"string"===typeof e)this._chainParams=Tr._getChainParams(e,this._customChains);else{if("object"!==typeof e)throw new Error("Wrong input format");{if(this._customChains.length>0)throw new Error("Chain must be a string, number, or bigint when initialized with customChains passed in");const t=["networkId","genesis","hardforks","bootstrapNodes"];for(const r of t)if(!(r in e))throw new Error(`Missing required chain parameter: ${r}`);this._chainParams=e}}for(const t of this.hardforks())if(void 0===t.block)throw new Error("Hardfork cannot have undefined block number");return this._chainParams}setHardfork(e){let t=!1;for(const r of this.HARDFORK_CHANGES)r[0]===e&&(this._hardfork!==e&&(this._hardfork=e,this.emit("hardforkChanged",e)),t=!0);if(!t)throw new Error(`Hardfork with name ${e} not supported`)}getHardforkByBlockNumber(e,t,r){const n=Pt(e,ct.BigInt),o=Pt(t,ct.BigInt),i=Pt(r,ct.Number),a=this.hardforks().filter((e=>null!==e.block||null!==e.ttd&&void 0!==e.ttd||void 0!==e.timestamp)),s=a.findIndex((e=>null!==e.ttd&&void 0!==e.ttd)),c=a.slice(s+1).findIndex((e=>null!==e.ttd&&void 0!==e.ttd));if(c>=0)throw Error("More than one merge hardforks found with ttd specified");let u=a.findIndex((e=>null!==e.block&&e.block>n||void 0!==i&&Number(e.timestamp)>i));if(-1===u)u=a.length;else if(0===u)throw Error("Must have at least one hardfork at block 0");if(void 0===i){const e=a.slice(0,u).reverse().findIndex((e=>null!==e.block||void 0!==e.ttd));u-=e}if(u-=1,null===a[u].block&&void 0===a[u].timestamp)(void 0===o||null===o||BigInt(a[u].ttd)>o)&&(u-=1);else if(s>=0&&void 0!==o&&null!==o){if(u>=s&&BigInt(a[s].ttd)>o)throw Error("Maximum HF determined by total difficulty is lower than the block number HF");if(u{var r;return Math.max(Number(null!==(r=t.timestamp)&&void 0!==r?r:"0"),e)}),0);if(e>i)throw Error("Maximum HF determined by timestamp is lower than the block number/ttd HF");const t=a.slice(u+1).reduce(((e,t)=>{var r;return Math.min(Number(null!==(r=t.timestamp)&&void 0!==r?r:i),e)}),i);if(t=o}activeOnBlock(e){return this.hardforkIsActiveOnBlock(null,e)}hardforkGteHardfork(e,t){const r=null!==e&&void 0!==e?e:this._hardfork,n=this.hardforks();let o=-1,i=-1,a=0;for(const s of n)s.name===r&&(o=a),s.name===t&&(i=a),a+=1;return o>=i&&-1!==i}gteHardfork(e){return this.hardforkGteHardfork(null,e)}hardforkBlock(e){var t;const r=null!==e&&void 0!==e?e:this._hardfork,n=null===(t=this._getHardfork(r))||void 0===t?void 0:t.block;return void 0===n||null===n?null:BigInt(n)}hardforkTimestamp(e){var t;const r=null!==e&&void 0!==e?e:this._hardfork,n=null===(t=this._getHardfork(r))||void 0===t?void 0:t.timestamp;return void 0===n||null===n?null:BigInt(n)}eipBlock(e){for(const t of this.HARDFORK_CHANGES){const r=t[1];if("eips"in r&&r.eips.includes(e))return this.hardforkBlock("number"===typeof t[0]?String(t[0]):t[0])}return null}hardforkTTD(e){var t;const r=null!==e&&void 0!==e?e:this._hardfork,n=null===(t=this._getHardfork(r))||void 0===t?void 0:t.ttd;return void 0===n||null===n?null:BigInt(n)}isHardforkBlock(e,t){const r=Pt(e,ct.BigInt),n=null!==t&&void 0!==t?t:this._hardfork,o=this.hardforkBlock(n);return"bigint"===typeof o&&o!==BigInt(0)&&o===r}nextHardforkBlockOrTimestamp(e){var t,r;const n=null!==e&&void 0!==e?e:this._hardfork,o=this.hardforks();let i=o.findIndex((e=>e.name===n));if(n===ot.Merge&&(i-=1),i<0)return null;let a=null!==(t=o[i].timestamp)&&void 0!==t?t:o[i].block;a=null!==a&&void 0!==a?Number(a):null;const s=o.slice(i+1).find((e=>{var t;let r=null!==(t=e.timestamp)&&void 0!==t?t:e.block;return r=null!==r&&void 0!==r?Number(r):null,e.name!==ot.Merge&&null!==r&&void 0!==r&&r!==a}));if(void 0===s)return null;const c=null!==(r=s.timestamp)&&void 0!==r?r:s.block;return null===c||void 0===c?null:BigInt(c)}nextHardforkBlock(e){const t=null!==e&&void 0!==e?e:this._hardfork;let r=this.hardforkBlock(t);if(null===r&&t===ot.Merge){const e=this.hardforks(),t=e.findIndex((e=>null!==e.ttd&&void 0!==e.ttd));if(t<0)throw Error("Merge hardfork should have been found");r=this.hardforkBlock(e[t-1].name)}if(null===r)return null;const n=this.hardforks().reduce(((e,t)=>{const n=BigInt(null===t.block||void 0!==t.ttd&&null!==t.ttd?0:t.block);return n>r&&null===e?n:e}),null);return n}isNextHardforkBlock(e,t){const r=Pt(e,ct.BigInt),n=null!==t&&void 0!==t?t:this._hardfork,o=this.nextHardforkBlock(n);return null!==o&&o===r}_calcForkHash(e,t){let r=new Uint8Array,n=0;for(const a of this.hardforks()){const{block:t,timestamp:o,name:i}=a;let s=null!==o&&void 0!==o?o:t;if(s=null!==s?Number(s):null,"number"===typeof s&&0!==s&&s!==n&&i!==ot.Merge){const e=(0,u.aT)(s.toString(16).padStart(16,"0"));r=(0,u.cX)(r,e),n=s}if(a.name===e)break}const o=(0,u.cX)(t,r),i=(0,u.My)(mt(Sr(o)>>>0));return i}forkHash(e,t){const r=null!==e&&void 0!==e?e:this._hardfork,n=this._getHardfork(r);if(null===n||null===(null===n||void 0===n?void 0:n.block)&&void 0===(null===n||void 0===n?void 0:n.timestamp)&&void 0===(null===n||void 0===n?void 0:n.ttd)){const e="No fork hash calculation possible for future hardfork";throw new Error(e)}if(null!==(null===n||void 0===n?void 0:n.forkHash)&&void 0!==(null===n||void 0===n?void 0:n.forkHash))return n.forkHash;if(!t)throw new Error("genesisHash required for forkHash calculation");return this._calcForkHash(r,t)}hardforkForForkHash(e){const t=this.hardforks().filter((t=>t.forkHash===e));return t.length>=1?t[t.length-1]:null}setForkHashes(e){var t;for(const r of this.hardforks()){const n=null!==(t=r.timestamp)&&void 0!==t?t:r.block;null!==r.forkHash&&void 0!==r.forkHash||(null===n||void 0===n)&&"undefined"===typeof r.ttd||(r.forkHash=this.forkHash(r.name,e))}}genesis(){return this._chainParams.genesis}hardforks(){return this._chainParams.hardforks}bootstrapNodes(){return this._chainParams.bootstrapNodes}dnsNetworks(){return this._chainParams.dnsNetworks}hardfork(){return this._hardfork}chainId(){return BigInt(this._chainParams.chainId)}chainName(){return this._chainParams.name}networkId(){return BigInt(this._chainParams.networkId)}eips(){return this._eips}consensusType(){const e=this.hardfork();let t;for(const r of this.HARDFORK_CHANGES)if("consensus"in r[1]&&(t=r[1].consensus.type),r[0]===e)break;return null!==t&&void 0!==t?t:this._chainParams.consensus.type}consensusAlgorithm(){const e=this.hardfork();let t;for(const r of this.HARDFORK_CHANGES)if("consensus"in r[1]&&(t=r[1].consensus.algorithm),r[0]===e)break;return null!==t&&void 0!==t?t:this._chainParams.consensus.algorithm}consensusConfig(){var e;const t=this.hardfork();let r;for(const n of this.HARDFORK_CHANGES)if("consensus"in n[1]&&(r=n[1].consensus[n[1].consensus.algorithm]),n[0]===t)break;return null!==(e=null!==r&&void 0!==r?r:this._chainParams.consensus[this.consensusAlgorithm()])&&void 0!==e?e:{}}copy(){const e=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return e.removeAllListeners(),e}static _getInitializedChains(e){const t={};for(const[n,o]of Object.entries(nt))t[o]=n.toLowerCase();const r={mainnet:Bt,goerli:Mt,sepolia:Lt};if(e)for(const n of e){const{name:e}=n;t[n.chainId.toString()]=e,r[e]=n}return r.names=t,r}}var xr;function Cr(e){if(0===e.length)return!0;const t=e[0];return!!Array.isArray(t)}function Ir(e){return!Cr(e)}(function(e){e[e["EIP155ReplayProtection"]=155]="EIP155ReplayProtection",e[e["EIP1559FeeMarket"]=1559]="EIP1559FeeMarket",e[e["EIP2718TypedTransaction"]=2718]="EIP2718TypedTransaction",e[e["EIP2930AccessLists"]=2930]="EIP2930AccessLists"})(xr||(xr={}));class Or{constructor(e){if(20!==e.length)throw new Error("Invalid address length");this.buf=e}static zero(){return new Or(bt(20))}equals(e){return(0,u.X7)(this.buf,e.buf)}isZero(){return this.equals(Or.zero())}toString(){return(0,u.My)(this.buf)}toArray(){return this.buf}static publicToAddress(e,t=!1){let r=e;if(_t(r),t&&64!==r.length&&(r=Qe.ProjectivePoint.fromHex(r).toRawBytes(!1).slice(1)),64!==r.length)throw new Error("Expected pubKey to be of length 64");return(0,kt.So)(r).slice(-20)}}const Pr=(e,t)=>{const r=e.param("vm","maxInitCodeSize");if(r&&BigInt(t)>r)throw new Error(`the initcode size of this transaction is too large: it is ${t} while the max is ${e.param("vm","maxInitCodeSize")}`)},kr=e=>{let t,r;if(Ir(e)){t=e;const n=[];for(let t=0;t{for(let t=0;t{const t=[];for(let r=0;r{const r=t.param("gasPrices","accessListStorageKeyCost"),n=t.param("gasPrices","accessListAddressCost");let o=0;for(let a=0;a0?new Or(h):void 0,this.value=yt(gt(""===s?"0x":s)),this.data=gt(""===c?"0x":c),this.v=p.length>0?yt(p):void 0,this.r=m.length>0?yt(m):void 0,this.s=g.length>0?yt(g):void 0,this._validateCannotExceedMaxInteger({value:this.value,r:this.r,s:this.s}),this._validateCannotExceedMaxInteger({gasLimit:this.gasLimit},64),this._validateCannotExceedMaxInteger({nonce:this.nonce},64,!0);const y=void 0===this.to||null===this.to,v=null!==(r=t.allowUnlimitedInitCodeSize)&&void 0!==r&&r,b=null!==(n=t.common)&&void 0!==n?n:this._getCommon();y&&b.isActivatedEIP(3860)&&!v&&Pr(b,this.data.length)}get type(){return this._type}supports(e){return this.activeCapabilities.includes(e)}validate(e=!1){const t=[];return this.getBaseFee()>this.gasLimit&&t.push(`gasLimit is too low. given ${this.gasLimit}, need at least ${this.getBaseFee()}`),this.isSigned()&&!this.verifySignature()&&t.push("Invalid Signature"),e?t:0===t.length}_validateYParity(){const{v:e}=this;if(void 0!==e&&e!==BigInt(0)&&e!==BigInt(1)){const e=this._errorMsg("The y-parity of the transaction should either be 0 or 1");throw new Error(e)}}_validateHighS(){const{s:e}=this;if(this.common.gteHardfork("homestead")&&void 0!==e&&e>rt){const e=this._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");throw new Error(e)}}getBaseFee(){const e=this.common.param("gasPrices","tx");let t=this.getDataFee();if(e&&(t+=e),this.common.gteHardfork("homestead")&&this.toCreationAddress()){const e=this.common.param("gasPrices","txCreation");e&&(t+=e)}return t}getDataFee(){const e=this.common.param("gasPrices","txDataZero"),t=this.common.param("gasPrices","txDataNonZero");let r=BigInt(0);for(let n=0;n-1&&this.activeCapabilities.splice(e,1)}return a}_getCommon(e,t){var r,n,o,i;if(void 0!==t){const r=yt(gt(t));if(e){if(e.chainId()!==r){const e=this._errorMsg("The chain ID does not match the chain ID of Common");throw new Error(e)}return e.copy()}return Tr.isSupportedChainId(r)?new Tr({chain:r,hardfork:this.DEFAULT_HARDFORK}):Tr.custom({name:"custom-chain",networkId:r,chainId:r},{baseChain:this.DEFAULT_CHAIN,hardfork:this.DEFAULT_HARDFORK})}if((null===e||void 0===e?void 0:e.copy)&&"function"===typeof(null===e||void 0===e?void 0:e.copy))return e.copy();if(e){const t="function"===typeof e.hardfork?e.hardfork():e.hardfork;return Tr.custom({name:"custom-chain",networkId:e.networkId?e.networkId():null!==(n=BigInt(null===(r=e.customChain)||void 0===r?void 0:r.networkId))&&void 0!==n?n:void 0,chainId:e.chainId?e.chainId():null!==(i=BigInt(null===(o=e.customChain)||void 0===o?void 0:o.chainId))&&void 0!==i?i:void 0},{baseChain:this.DEFAULT_CHAIN,hardfork:t||this.DEFAULT_HARDFORK})}return new Tr({chain:this.DEFAULT_CHAIN,hardfork:this.DEFAULT_HARDFORK})}_validateCannotExceedMaxInteger(e,t=256,r=!1){for(const[n,o]of Object.entries(e))switch(t){case 64:if(r){if(void 0!==o&&o>=Je){const e=this._errorMsg(`${n} cannot equal or exceed MAX_UINT64 (2^64-1), given ${o}`);throw new Error(e)}}else if(void 0!==o&&o>Je){const e=this._errorMsg(`${n} cannot exceed MAX_UINT64 (2^64-1), given ${o}`);throw new Error(e)}break;case 256:if(r){if(void 0!==o&&o>=et){const e=this._errorMsg(`${n} cannot equal or exceed MAX_INTEGER (2^256-1), given ${o}`);throw new Error(e)}}else if(void 0!==o&&o>et){const e=this._errorMsg(`${n} cannot exceed MAX_INTEGER (2^256-1), given ${o}`);throw new Error(e)}break;default:{const e=this._errorMsg("unimplemented bits value");throw new Error(e)}}}static _validateNotArray(e){const t=["nonce","gasPrice","gasLimit","to","value","data","v","r","s","type","baseFee","maxFeePerGas","chainId"];for(const[r,n]of Object.entries(e))if(t.includes(r)&&Array.isArray(n))throw new Error(`${r} cannot be an array`)}_getSharedErrorPostfix(){let e="";try{e=this.isSigned()?(0,u.My)(this.hash()):"not available (unsigned)"}catch(o){e="error"}let t="";try{t=this.isSigned().toString()}catch(o){e="error"}let r="";try{r=this.common.hardfork()}catch(o){r="error"}let n=`tx type=${this.type} hash=${e} nonce=${this.nonce} value=${this.value} `;return n+=`signed=${t} hf=${r}`,n}_ecsign(e,t,r){const n=Qe.sign(e,t),o=n.toCompactRawBytes(),i=o.subarray(0,32),a=o.subarray(32,64),s=void 0===r?BigInt(n.recovery+27):BigInt(n.recovery+35)+BigInt(r)*BigInt(2);return{r:i,s:a,v:s}}static fromSerializedTx(e,t={}){}static fromTxData(e,t={}){}}const Lr=2,Dr=(0,u.aT)(Lr.toString(16).padStart(2,"0"));class Fr extends Br{constructor(e,t={}){var r;super(Object.assign(Object.assign({},e),{type:Lr}),t),this.DEFAULT_HARDFORK="london";const{chainId:n,accessList:o,maxFeePerGas:i,maxPriorityFeePerGas:a}=e;if(this.common=this._getCommon(t.common,n),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930]);const s=kr(null!==o&&void 0!==o?o:[]);if(this.accessList=s.accessList,this.AccessListJSON=s.AccessListJSON,Nr(this.accessList),this.maxFeePerGas=yt(gt(""===i?"0x":i)),this.maxPriorityFeePerGas=yt(gt(""===a?"0x":a)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),Br._validateNotArray(e),this.gasLimit*this.maxFeePerGas>et){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGaset){const e=this._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");throw new Error(e)}this._validateYParity(),this._validateHighS();const s=null===(r=null===t||void 0===t?void 0:t.freeze)||void 0===r||r;s&&Object.freeze(this)}static fromTxData(e,t={}){return new $r(e,t)}static fromSerializedTx(e,t={}){if(!(0,u.X7)(e.subarray(0,1),Ur))throw new Error(`Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ${jr}, received: ${(0,u.My)(e.subarray(0,1))}`);const r=Nt.Tj.decode(Uint8Array.from(e.subarray(1)));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return $r.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(8!==e.length&&11!==e.length)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");const[r,n,o,i,s,c,u,l,d,f,h]=e;this._validateNotArray({chainId:r,v:d}),(0,a.M9)({nonce:n,gasPrice:o,gasLimit:i,value:c,v:d,r:f,s:h});const p=[];return new $r({chainId:yt(r),nonce:n,gasPrice:o,gasLimit:i,to:s,value:c,data:u,accessList:null!==l&&void 0!==l?l:p,v:void 0!==d?yt(d):void 0,r:f,s:h},t)}getDataFee(){if(this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork())return this.cache.dataFee.value;let e=super.getDataFee();return e+=BigInt(Mr(this.accessList,this.common)),Object.isFrozen(this)&&(this.cache.dataFee={value:e,hardfork:this.common.hardfork()}),e}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}raw(){return[xt(this.chainId),xt(this.nonce),xt(this.gasPrice),xt(this.gasLimit),void 0!==this.to?this.to.buf:Uint8Array.from([]),xt(this.value),this.data,this.accessList,void 0!==this.v?xt(this.v):Uint8Array.from([]),void 0!==this.r?xt(this.r):Uint8Array.from([]),void 0!==this.s?xt(this.s):Uint8Array.from([])]}serialize(){const e=this.raw();return(0,u.cX)(Ur,Nt.Tj.encode(e))}getMessageToSign(e=!0){const t=this.raw().slice(0,8),r=(0,u.cX)(Ur,Nt.Tj.encode(t));return e?(0,kt.So)(r):r}hash(){if(!this.isSigned()){const e=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(e)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,kt.So)(this.serialize())),this.cache.hash):(0,kt.So)(this.serialize())}getMessageToVerifySignature(){return this.getMessageToSign()}getSenderPublicKey(){if(!this.isSigned()){const e=this._errorMsg("Cannot call this method if transaction is not signed");throw new Error(e)}const e=this.getMessageToVerifySignature(),{v:t,r,s:n}=this;this._validateHighS();try{return Ot(e,t+BigInt(27),xt(r),xt(n))}catch(o){const e=this._errorMsg("Invalid Signature");throw new Error(e)}}_processSignature(e,t,r){const n=Object.assign(Object.assign({},this.txOptions),{common:this.common});return $r.fromTxData({chainId:this.chainId,nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:e-BigInt(27),r:yt(t),s:yt(r)},n)}toJSON(){const e=Rr(this.accessList);return{chainId:Tt(this.chainId),nonce:Tt(this.nonce),gasPrice:Tt(this.gasPrice),gasLimit:Tt(this.gasLimit),to:void 0!==this.to?this.to.toString():void 0,value:Tt(this.value),data:(0,u.My)(this.data),accessList:e,v:void 0!==this.v?Tt(this.v):void 0,r:void 0!==this.r?Tt(this.r):void 0,s:void 0!==this.s?Tt(this.s):void 0}}errorStr(){var e,t;let r=this._getSharedErrorPostfix();return r+=` gasPrice=${this.gasPrice} accessListCount=${null!==(t=null===(e=this.accessList)||void 0===e?void 0:e.length)&&void 0!==t?t:0}`,r}_errorMsg(e){return`${e} (${this.errorStr()})`}}const zr=0;function Hr(e,t){const r=Number(e),n=2*Number(t);return r===n+35||r===n+36}class Vr extends Br{constructor(e,t={}){var r;if(super(Object.assign(Object.assign({},e),{type:zr}),t),this.common=this._validateTxV(this.v,t.common),this.gasPrice=yt(gt(""===e.gasPrice?"0x":e.gasPrice)),this.gasPrice*this.gasLimit>et){const e=this._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),Br._validateNotArray(e),this.common.gteHardfork("spuriousDragon")&&(this.isSigned()?Hr(this.v,this.common.chainId())&&this.activeCapabilities.push(xr.EIP155ReplayProtection):this.activeCapabilities.push(xr.EIP155ReplayProtection));const n=null===(r=null===t||void 0===t?void 0:t.freeze)||void 0===r||r;n&&Object.freeze(this)}static fromTxData(e,t={}){return new Vr(e,t)}static fromSerializedTx(e,t={}){const r=Nt.Tj.decode(e);if(!Array.isArray(r))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(6!==e.length&&9!==e.length)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");const[r,n,o,i,s,c,u,l,d]=e;return(0,a.M9)({nonce:r,gasPrice:n,gasLimit:o,value:s,v:u,r:l,s:d}),new Vr({nonce:r,gasPrice:n,gasLimit:o,to:i,value:s,data:c,v:u,r:l,s:d},t)}raw(){return[xt(this.nonce),xt(this.gasPrice),xt(this.gasLimit),void 0!==this.to?this.to.buf:Uint8Array.from([]),xt(this.value),this.data,void 0!==this.v?xt(this.v):Uint8Array.from([]),void 0!==this.r?xt(this.r):Uint8Array.from([]),void 0!==this.s?xt(this.s):Uint8Array.from([])]}serialize(){return Nt.Tj.encode(this.raw())}_getMessageToSign(){const e=[xt(this.nonce),xt(this.gasPrice),xt(this.gasLimit),void 0!==this.to?this.to.buf:Uint8Array.from([]),xt(this.value),this.data];return this.supports(xr.EIP155ReplayProtection)&&(e.push(gt(this.common.chainId())),e.push(St(gt(0))),e.push(St(gt(0)))),e}getMessageToSign(e=!0){const t=this._getMessageToSign();return e?(0,kt.So)(Nt.Tj.encode(t)):t}getDataFee(){return this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork()?this.cache.dataFee.value:(Object.isFrozen(this)&&(this.cache.dataFee={value:super.getDataFee(),hardfork:this.common.hardfork()}),super.getDataFee())}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}hash(){if(!this.isSigned()){const e=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(e)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,kt.So)(Nt.Tj.encode(this.raw()))),this.cache.hash):(0,kt.So)(Nt.Tj.encode(this.raw()))}getMessageToVerifySignature(){if(!this.isSigned()){const e=this._errorMsg("This transaction is not signed");throw new Error(e)}const e=this._getMessageToSign();return(0,kt.So)(Nt.Tj.encode(e))}getSenderPublicKey(){const e=this.getMessageToVerifySignature(),{v:t,r,s:n}=this;this._validateHighS();try{return Ot(e,t,xt(r),xt(n),this.supports(xr.EIP155ReplayProtection)?this.common.chainId():void 0)}catch(o){const e=this._errorMsg("Invalid Signature");throw new Error(e)}}_processSignature(e,t,r){let n=e;this.supports(xr.EIP155ReplayProtection)&&(n+=this.common.chainId()*BigInt(2)+BigInt(8));const o=Object.assign(Object.assign({},this.txOptions),{common:this.common});return Vr.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:n,r:yt(t),s:yt(r)},o)}toJSON(){return{nonce:Tt(this.nonce),gasPrice:Tt(this.gasPrice),gasLimit:Tt(this.gasLimit),to:void 0!==this.to?this.to.toString():void 0,value:Tt(this.value),data:(0,u.My)(this.data),v:void 0!==this.v?Tt(this.v):void 0,r:void 0!==this.r?Tt(this.r):void 0,s:void 0!==this.s?Tt(this.s):void 0}}_validateTxV(e,t){let r;const n=void 0!==e?Number(e):void 0;if(void 0!==n&&n<37&&27!==n&&28!==n)throw new Error(`Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ${n}`);if(void 0!==n&&0!==n&&(!t||t.gteHardfork("spuriousDragon"))&&27!==n&&28!==n)if(t){if(!Hr(BigInt(n),t.chainId()))throw new Error(`Incompatible EIP155-based V ${n} and chain id ${t.chainId()}. See the Common parameter of the Transaction constructor to set the chain id.`)}else{let e;e=(n-35)%2===0?35:36,r=BigInt(n-e)/BigInt(2)}return this._getCommon(t,r)}errorStr(){let e=this._getSharedErrorPostfix();return e+=` gasPrice=${this.gasPrice}`,e}_errorMsg(e){return`${e} (${this.errorStr()})`}}const Gr=new Map;class qr{constructor(){}static typeToInt(e){return Number(yt(gt(e)))}static registerTransactionType(e,t){const r=qr.typeToInt(e);Gr.set(r,t)}static fromTxData(e,t={}){if(!("type"in e)||void 0===e.type)return Vr.fromTxData(e,t);const r=qr.typeToInt(e.type);if(0===r)return Vr.fromTxData(e,t);if(1===r)return $r.fromTxData(e,t);if(2===r)return Fr.fromTxData(e,t);const n=Gr.get(r);if(null===n||void 0===n?void 0:n.fromTxData)return n.fromTxData(e,t);throw new Error(`Tx instantiation with type ${r} not supported`)}static fromSerializedData(e,t={}){if(!(e[0]<=127))return Vr.fromSerializedTx(e,t);switch(e[0]){case 1:return $r.fromSerializedTx(e,t);case 2:return Fr.fromSerializedTx(e,t);default:{const r=Gr.get(Number(e[0]));if(null===r||void 0===r?void 0:r.fromSerializedTx)return r.fromSerializedTx(e,t);throw new Error(`TypedTransaction with ID ${e[0]} unknown`)}}}static fromBlockBodyData(e,t={}){if((0,u.mg)(e))return this.fromSerializedData(e,t);if(Array.isArray(e))return Vr.fromValuesArray(e,t);throw new Error("Cannot decode transaction: unknown type input")}}const Wr=(e,t)=>{let r;if(!t&&"string"===typeof e&&(0,a.lX)(e)&&66!==e.length)throw new c.VJv;try{r=(0,u.mg)(e)?e:(0,u.E3)(e)}catch(Ye){throw new c.CGi}if(!t&&32!==r.byteLength)throw new c.VJv;return r},Kr=e=>{const t=Wr(e),r=Qe.getPublicKey(t,!1),n=(0,u.aQ)(r.slice(1)),o=n.slice(-40);return(0,u.BA)(`0x${o}`)}},40166:(e,t,r)=>{"use strict";r.d(t,{NZ:()=>E});var n=r(9829),o=r(39788),i=r(37061),a=r(54261),s=r(20345),c=r(38653),u=r(69825);const l=({address:e},t,r)=>{var n,o;const u=null===r||void 0===r?void 0:r.topics,l=null!==(n=null===r||void 0===r?void 0:r.filter)&&void 0!==n?n:{},d={};if((0,c.uy)(null===r||void 0===r?void 0:r.fromBlock)||(d.fromBlock=(0,c.GP)(i.jn.properties.number,null===r||void 0===r?void 0:r.fromBlock,{number:s.M$.HEX,bytes:s.QR.HEX})),(0,c.uy)(null===r||void 0===r?void 0:r.toBlock)||(d.toBlock=(0,c.GP)(i.jn.properties.number,null===r||void 0===r?void 0:r.toBlock,{number:s.M$.HEX,bytes:s.QR.HEX})),u&&Array.isArray(u))d.topics=[...u];else if(d.topics=[],!t||t.anonymous||[i.CQ,"allEvents"].includes(t.name)||d.topics.push(null!==(o=t.signature)&&void 0!==o?o:(0,a.T3)((0,a.Bv)(t))),![i.CQ,"allEvents"].includes(t.name)&&t.inputs)for(const i of t.inputs){if(!i.indexed)continue;const e=l[i.name];e?Array.isArray(e)?d.topics.push(e.map((e=>(0,a.yF)(i.type,e)))):"string"===i.type?d.topics.push((0,c.So)(e)):d.topics.push((0,a.yF)(i.type,e)):d.topics.push(null)}return d.topics.length||delete d.topics,e&&(d.address=e.toLowerCase()),d},d=(e,t,r)=>{const n=Array.isArray(e.inputs)?e.inputs.length:0;if(e.inputs&&n!==t.length)throw new o.SNI(`The number of arguments is not matching the methods required number. You need to pass ${n} arguments.`);let i;if(i=e.inputs?(0,a.ve)(Array.isArray(e.inputs)?e.inputs:[],t).replace("0x",""):(0,a.lN)(t).replace("0x",""),(0,a.ry)(e)){if(!r)throw new o.SNI("The contract has no contract data option set. This is necessary to append the constructor parameters.");return r.startsWith("0x")?`${r}${i}`:`0x${r}${i}`}return`${(0,a.fY)(e)}${i}`},f=(e,t)=>{if("constructor"===e.type)return t;if(!t)return null;const r=t.length>=2?t.slice(2):t;if(!e.outputs)return null;const n=(0,a.bo)([...e.outputs],r);return 1===n.__length__?n[0]:n};class h extends n.tn{constructor(e,t){super(e,t),this.address=e.address,this.topics=e.topics,this.abi=e.abi,this.jsonInterface=e.jsonInterface}_buildSubscriptionParams(){return["logs",{address:this.address,topics:this.topics}]}formatSubscriptionResult(e){return(0,i.Nk)(this.abi,e,this.jsonInterface,super.returnFormat)}}const p=(e,t,r,n)=>{var o,i;const a={};return(0,c.uy)(e.data)&&"both"!==n||(a.data=d(t,r,null!==(o=e.data)&&void 0!==o?o:e.input)),(0,c.uy)(e.input)&&"both"!==n||(a.input=d(t,r,null!==(i=e.input)&&void 0!==i?i:e.data)),(0,c.uy)(a.input)&&(0,c.uy)(a.data)&&(a[n]=d(t,r)),{data:a.data,input:a.input}},m=({abi:e,params:t,options:r,contractOptions:n})=>{var i,a,s;const u=null!==(s=null!==(a=null!==(i=null===r||void 0===r?void 0:r.input)&&void 0!==i?i:null===r||void 0===r?void 0:r.data)&&void 0!==a?a:n.input)&&void 0!==s?s:n.data;if(!u&&!(null===r||void 0===r?void 0:r.to)&&!n.address)throw new o.SNI("Contract address not specified");if(!(null===r||void 0===r?void 0:r.from)&&!n.from)throw new o.SNI('Contract "from" address not specified');let l=(0,c.D9)({to:n.address,gas:n.gas,gasPrice:n.gasPrice,from:n.from,input:n.input,maxPriorityFeePerGas:n.maxPriorityFeePerGas,maxFeePerGas:n.maxFeePerGas,data:n.data},r);const d=p(l,e,t,null===r||void 0===r?void 0:r.dataInputFill);return l=Object.assign(Object.assign({},l),{data:d.data,input:d.input}),l},g=({abi:e,params:t,options:r,contractOptions:n})=>{if(!(null===r||void 0===r?void 0:r.to)&&!n.address)throw new o.SNI("Contract address not specified");let i=(0,c.D9)({to:n.address,gas:n.gas,gasPrice:n.gasPrice,from:n.from,input:n.input,maxPriorityFeePerGas:n.maxPriorityFeePerGas,maxFeePerGas:n.maxFeePerGas,data:n.data},r);const a=p(i,e,t,null===r||void 0===r?void 0:r.dataInputFill);return i=Object.assign(Object.assign({},i),{data:a.data,input:a.input}),i},y=({abi:e,params:t,options:r,contractOptions:n})=>{let o=(0,c.D9)({to:n.address,gas:n.gas,gasPrice:n.gasPrice,from:n.from,input:n.input,data:n.data},r);const i=p(o,e,t,null===r||void 0===r?void 0:r.dataInputFill);return o=Object.assign(Object.assign({},o),{data:i.data,input:i.input}),o},v=e=>"object"===typeof e&&!(0,c.uy)(e)&&0!==Object.keys(e).length&&!(0,c.nF)(e),b=({abi:e,params:t,options:r,contractOptions:n})=>{if(!(null===r||void 0===r?void 0:r.to)&&!n.address)throw new o.SNI("Contract address not specified");if(!(null===r||void 0===r?void 0:r.from)&&!n.from)throw new o.SNI('Contract "from" address not specified');let i=(0,c.D9)({to:n.address,gas:n.gas,gasPrice:n.gasPrice,from:n.from,input:n.input,maxPriorityFeePerGas:n.maxPriorityFeePerGas,maxFeePerGas:n.maxFeePerGas,data:n.data},r);const a=p(i,e,t,null===r||void 0===r?void 0:r.dataInputFill);return i=Object.assign(Object.assign({},i),{data:a.data,input:a.input}),i};var w=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const _={logs:h,newHeads:i.fJ,newBlockHeaders:i.fJ};class E extends n.bl{constructor(e,t,r,i,a){var l,d,f;const h=(0,c.nF)(t)?t:(0,c.nF)(r)?r:void 0;let p,m;if(p=v(t)?t:v(r)?r:i,m="object"===typeof t&&"provider"in t?t.provider:"object"===typeof r&&"provider"in r?r.provider:"object"===typeof i&&"provider"in i?i.provider:E.givenProvider,super(Object.assign(Object.assign({},p),{provider:m,registeredSubscriptions:_})),this.syncWithContext=!1,this._functions={},(null===p||void 0===p?void 0:p.wallet)&&(this._wallet=p.wallet),(null===p||void 0===p?void 0:p.accountProvider)&&(this._accountProvider=p.accountProvider),!(0,u.uy)(h)&&!(0,u.uy)(h.data)&&!(0,u.uy)(h.input)&&"both"!==this.config.contractDataInputFill)throw new o.SC6({data:h.data,input:h.input});this._overloadedMethodAbis=new Map;const g=(0,c.kY)(i)?i:(0,c.kY)(r)?r:null!==a&&void 0!==a?a:s.Hh,y="string"===typeof t?t:void 0;this.config.contractDataInputFill=null!==(l=null===h||void 0===h?void 0:h.dataInputFill)&&void 0!==l?l:this.config.contractDataInputFill,this._parseAndSetJsonInterface(e,g),(0,u.uy)(y)||this._parseAndSetAddress(y,g),this.options={address:y,jsonInterface:this._jsonInterface,gas:null!==(d=null===h||void 0===h?void 0:h.gas)&&void 0!==d?d:null===h||void 0===h?void 0:h.gasLimit,gasPrice:null===h||void 0===h?void 0:h.gasPrice,from:null===h||void 0===h?void 0:h.from,input:null===h||void 0===h?void 0:h.input,data:null===h||void 0===h?void 0:h.data},this.syncWithContext=null!==(f=null===h||void 0===h?void 0:h.syncWithContext)&&void 0!==f&&f,p instanceof n.bl&&this.subscribeToContextEvents(p),Object.defineProperty(this.options,"address",{set:e=>this._parseAndSetAddress(e,g),get:()=>this._address}),Object.defineProperty(this.options,"jsonInterface",{set:e=>this._parseAndSetJsonInterface(e,g),get:()=>this._jsonInterface}),p instanceof n.bl&&p.on(n.AL.CONFIG_CHANGE,(e=>{this.setConfig({[e.name]:e.newValue})}))}get events(){return this._events}get methods(){return this._methods}clone(){let e;return e=this.options.address?new E([...this._jsonInterface,...this._errorsInterface],this.options.address,{gas:this.options.gas,gasPrice:this.options.gasPrice,from:this.options.from,input:this.options.input,data:this.options.data,provider:this.currentProvider,syncWithContext:this.syncWithContext,dataInputFill:this.config.contractDataInputFill},this.getContextObject()):new E([...this._jsonInterface,...this._errorsInterface],{gas:this.options.gas,gasPrice:this.options.gasPrice,from:this.options.from,input:this.options.input,data:this.options.data,provider:this.currentProvider,syncWithContext:this.syncWithContext,dataInputFill:this.config.contractDataInputFill},this.getContextObject()),this.context&&e.subscribeToContextEvents(this.context),e}deploy(e){var t,r,n;let i=this._jsonInterface.find((e=>"constructor"===e.type));i||(i={type:"constructor",stateMutability:""});const a=(0,c.GP)({format:"bytes"},null!==(t=null===e||void 0===e?void 0:e.input)&&void 0!==t?t:this.options.input,s.Hh),u=(0,c.GP)({format:"bytes"},null!==(r=null===e||void 0===e?void 0:e.data)&&void 0!==r?r:this.options.data,s.Hh);if((!a||"0x"===a.trim())&&(!u||"0x"===u.trim()))throw new o.SNI("contract creation without any data provided.");const l=null!==(n=null===e||void 0===e?void 0:e.arguments)&&void 0!==n?n:[],f=Object.assign(Object.assign({},this.options),{input:a,data:u}),h=null!==a&&void 0!==a?a:u;return{arguments:l,send:e=>{const t=Object.assign({},e);return this._contractMethodDeploySend(i,l,t,f)},estimateGas:(e,t=s.Hh)=>w(this,void 0,void 0,(function*(){const r=Object.assign({},e);return this._contractMethodEstimateGas({abi:i,params:l,returnFormat:t,options:r,contractOptions:f})})),encodeABI:()=>d(i,l,(0,c.GP)({format:"bytes"},h,s.Hh))}}getPastEvents(e,t,r){var n;return w(this,void 0,void 0,(function*(){const a="string"===typeof e?e:i.CQ,u="string"===typeof e||(0,c.kY)(e)?(0,c.kY)(t)?{}:t:e,d=(0,c.kY)(e)?e:(0,c.kY)(t)?t:null!==r&&void 0!==r?r:s.Hh,f="allEvents"===a||a===i.CQ?i.bV:this._jsonInterface.find((e=>"name"in e&&e.name===a));if(!f)throw new o.SNI(`Event ${a} not found.`);const{fromBlock:h,toBlock:p,topics:m,address:g}=l(this.options,f,null!==u&&void 0!==u?u:{}),y=yield(0,i.ao)(this,{fromBlock:h,toBlock:p,topics:m,address:g},d),v=y?y.map((e=>"string"===typeof e?e:(0,i.Nk)(f,e,this._jsonInterface,d))):[],b=null!==(n=null===u||void 0===u?void 0:u.filter)&&void 0!==n?n:{},w=Object.keys(b);return w.length>0?v.filter((e=>"string"===typeof e||w.every((t=>{var r;if(Array.isArray(b[t]))return b[t].some((r=>String(e.returnValues[t]).toUpperCase()===String(r).toUpperCase()));const n=null===(r=f.inputs)||void 0===r?void 0:r.filter((e=>e.name===t))[0];if((null===n||void 0===n?void 0:n.indexed)&&"string"===n.type){const r=(0,c.So)(b[t]);if(r===String(e.returnValues[t]))return!0}return String(e.returnValues[t]).toUpperCase()===String(b[t]).toUpperCase()})))):v}))}_parseAndSetAddress(e,t=s.Hh){this._address=e?(0,c.BA)((0,c.GP)({format:"address"},e,t)):e}_parseAndSetJsonInterface(e,t=s.Hh){var r,n,o,c,u;this._functions={},this._methods={},this._events={};let l=[];const d=e.filter((e=>"error"!==e.type)),f=e.filter((e=>(0,a.VW)(e)));for(const i of d){const e=Object.assign(Object.assign({},i),{signature:""});if((0,a.zH)(e)){const t=(0,a.Bv)(e),i=(0,a.fY)(t);e.signature=i,e.constant=null!==(n=null!==(r="view"===e.stateMutability)&&void 0!==r?r:"pure"===e.stateMutability)&&void 0!==n?n:e.constant,e.payable=null!==(o="payable"===e.stateMutability)&&void 0!==o?o:e.payable,this._overloadedMethodAbis.set(e.name,[...null!==(c=this._overloadedMethodAbis.get(e.name))&&void 0!==c?c:[],e]);const s=null!==(u=this._overloadedMethodAbis.get(e.name))&&void 0!==u?u:[],l=this._createContractMethod(s,f);this._functions[t]={signature:i,method:l},this._methods[e.name]=this._functions[t].method,this._methods[t]=this._functions[t].method,this._methods[i]=this._functions[t].method}else if((0,a.b8)(e)){const r=(0,a.Bv)(e),n=(0,a.T3)(r),o=this._createContractEvent(e,t);e.signature=n,r in this._events&&"bound"!==e.name||(this._events[r]=o),this._events[e.name]=o,this._events[n]=o}l=[...l,e]}this._events.allEvents=this._createContractEvent(i.bV,t),this._jsonInterface=[...l],this._errorsInterface=f}_getAbiParams(e,t){var r;try{return u.utils.transformJsonDataToAbiFormat(null!==(r=e.inputs)&&void 0!==r?r:[],t)}catch(n){throw new o.SNI(`Invalid parameters for method ${e.name}: ${n.message}`)}}_createContractMethod(e,t){const r=e[e.length-1];return(...e)=>{var n,o;let i;const a=null!==(n=this._overloadedMethodAbis.get(r.name))&&void 0!==n?n:[];let c=a[0];const l=t,f=a.filter((t=>{var r;return(null!==(r=t.inputs)&&void 0!==r?r:[]).length===e.length}));if(1===a.length||0===f.length)i=this._getAbiParams(c,e),u.Nc.validate(null!==(o=r.inputs)&&void 0!==o?o:[],i);else{const t=[];for(const r of f)try{i=this._getAbiParams(r,e),u.Nc.validate(r.inputs,i),c=r;break}catch(p){t.push(p)}if(t.length===f.length)throw new u.qT(t)}const h={arguments:i,call:(e,t)=>w(this,void 0,void 0,(function*(){return this._contractMethodCall(c,i,l,e,t)})),send:e=>this._contractMethodSend(c,i,l,e),estimateGas:(e,t=s.Hh)=>w(this,void 0,void 0,(function*(){return this._contractMethodEstimateGas({abi:c,params:i,returnFormat:t,options:e})})),encodeABI:()=>d(c,i),createAccessList:(e,t)=>w(this,void 0,void 0,(function*(){return this._contractMethodCreateAccessList(c,i,l,e,t)}))};return c.stateMutability,h}}_contractMethodCall(e,t,r,n,c){var u;return w(this,void 0,void 0,(function*(){const l=g({abi:e,params:t,options:Object.assign(Object.assign({},n),{dataInputFill:this.config.contractDataInputFill}),contractOptions:Object.assign(Object.assign({},this.options),{from:null!==(u=this.options.from)&&void 0!==u?u:this.config.defaultAccount})});try{const t=yield(0,i.T1)(this,l,c,s.Hh);return f(e,t)}catch(d){throw d instanceof o.fQB&&(0,a.Zo)(r,d.cause),d}}))}_contractMethodCreateAccessList(e,t,r,n,c){var u;return w(this,void 0,void 0,(function*(){const l=b({abi:e,params:t,options:Object.assign(Object.assign({},n),{dataInputFill:this.config.contractDataInputFill}),contractOptions:Object.assign(Object.assign({},this.options),{from:null!==(u=this.options.from)&&void 0!==u?u:this.config.defaultAccount})});try{return(0,i.Xy)(this,l,c,s.Hh)}catch(d){throw d instanceof o.fQB&&(0,a.Zo)(r,d.cause),d}}))}_contractMethodSend(e,t,r,n,c){var u,l;let d=null!==c&&void 0!==c?c:this.options;d=Object.assign(Object.assign({},d),{input:void 0,from:null!==(l=null!==(u=d.from)&&void 0!==u?u:this.defaultAccount)&&void 0!==l?l:void 0});const f=m({abi:e,params:t,options:Object.assign(Object.assign({},n),{dataInputFill:this.config.contractDataInputFill}),contractOptions:d}),h=(0,i.vD)(this,f,s.Hh,{checkRevertBeforeSending:!1,contractAbi:this._jsonInterface});return h.on("error",(e=>{e instanceof o.fQB&&(0,a.Zo)(r,e.cause)})),h}_contractMethodDeploySend(e,t,r,n){var a,c;let u=null!==n&&void 0!==n?n:this.options;u=Object.assign(Object.assign({},u),{from:null!==(c=null!==(a=u.from)&&void 0!==a?a:this.defaultAccount)&&void 0!==c?c:void 0});const l=m({abi:e,params:t,options:Object.assign(Object.assign({},r),{dataInputFill:this.config.contractDataInputFill}),contractOptions:u});return(0,i.vD)(this,l,s.Hh,{transactionResolver:e=>{if(e.status===BigInt(0))throw new o.SNI("code couldn't be stored",e);const t=this.clone();return t.options.address=e.contractAddress,t},contractAbi:this._jsonInterface,checkRevertBeforeSending:!1})}_contractMethodEstimateGas({abi:e,params:t,returnFormat:r,options:n,contractOptions:o}){return w(this,void 0,void 0,(function*(){const a=y({abi:e,params:t,options:Object.assign(Object.assign({},n),{dataInputFill:this.config.contractDataInputFill}),contractOptions:null!==o&&void 0!==o?o:this.options});return(0,i.Qr)(this,a,s.zC.LATEST,r)}))}_createContractEvent(e,t=s.Hh){return(...r)=>{var n;const{topics:i,fromBlock:a}=l(this.options,e,r[0]),s=new h({address:this.options.address,topics:i,abi:e,jsonInterface:this._jsonInterface},{subscriptionManager:this.subscriptionManager,returnFormat:t});return(0,u.uy)(a)||this.getPastEvents(e.name,{fromBlock:a,topics:i},t).then((e=>{e&&e.forEach((e=>s.emit("data",e)))})).catch((e=>{s.emit("error",new o.AAt("Failed to get past events.",e))})),null===(n=this.subscriptionManager)||void 0===n||n.addSubscription(s).catch((e=>{s.emit("error",new o.AAt("Failed to subscribe.",e))})),s}}subscribeToContextEvents(e){const t=this;this.context=e,t.syncWithContext&&e.on(n.AL.CONFIG_CHANGE,(e=>{t.setConfig({[e.name]:e.newValue})}))}}},37061:(e,t,r)=>{"use strict";r.d(t,{CQ:()=>Te,bV:()=>xe,XD:()=>Ce,fJ:()=>Rt,PT:()=>Dt,jn:()=>he,T1:()=>At,Xy:()=>Ot,Nk:()=>Qe,Ay:()=>Ft,Qr:()=>St,r1:()=>st,gd:()=>lt,ao:()=>Tt,xw:()=>pt,ym:()=>vt,h9:()=>yt,f7:()=>wt,vD:()=>bt});r(42791);var n=r(20345),o=r(9829),i=r(39788),a=r(38653),s=r(69825),c=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function u(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_protocolVersion",params:[]})}))}function l(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_syncing",params:[]})}))}function d(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_coinbase",params:[]})}))}function f(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_mining",params:[]})}))}function h(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_hashrate",params:[]})}))}function p(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_gasPrice",params:[]})}))}function m(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_maxPriorityFeePerGas",params:[]})}))}function g(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_accounts",params:[]})}))}function y(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_blockNumber",params:[]})}))}function v(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","blockNumberOrTag"],[t,r]),e.send({method:"eth_getBalance",params:[t,r]})}))}function b(e,t,r,n){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","hex","blockNumberOrTag"],[t,r,n]),e.send({method:"eth_getStorageAt",params:[t,r,n]})}))}function w(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","blockNumberOrTag"],[t,r]),e.send({method:"eth_getTransactionCount",params:[t,r]})}))}function _(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32"],[t]),e.send({method:"eth_getBlockTransactionCountByHash",params:[t]})}))}function E(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag"],[t]),e.send({method:"eth_getBlockTransactionCountByNumber",params:[t]})}))}function A(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32"],[t]),e.send({method:"eth_getUncleCountByBlockHash",params:[t]})}))}function S(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag"],[t]),e.send({method:"eth_getUncleCountByBlockNumber",params:[t]})}))}function T(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","blockNumberOrTag"],[t,r]),e.send({method:"eth_getCode",params:[t,r]})}))}function x(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","hex"],[t,r]),e.send({method:"eth_sign",params:[t,r]})}))}function C(e,t){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_signTransaction",params:[t]})}))}function I(e,t){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_sendTransaction",params:[t]})}))}function O(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["hex"],[t]),e.send({method:"eth_sendRawTransaction",params:[t]})}))}function P(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag"],[r]),e.send({method:"eth_call",params:[t,r]})}))}function k(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag"],[r]),e.send({method:"eth_estimateGas",params:[t,r]})}))}function N(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32","bool"],[t,r]),e.send({method:"eth_getBlockByHash",params:[t,r]})}))}function R(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag","bool"],[t,r]),e.send({method:"eth_getBlockByNumber",params:[t,r]})}))}function M(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32"],[t]),e.send({method:"eth_getTransactionByHash",params:[t]})}))}function B(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32","hex"],[t,r]),e.send({method:"eth_getTransactionByBlockHashAndIndex",params:[t,r]})}))}function L(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag","hex"],[t,r]),e.send({method:"eth_getTransactionByBlockNumberAndIndex",params:[t,r]})}))}function D(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32"],[t]),e.send({method:"eth_getTransactionReceipt",params:[t]})}))}function F(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes32","hex"],[t,r]),e.send({method:"eth_getUncleByBlockHashAndIndex",params:[t,r]})}))}function j(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag","hex"],[t,r]),e.send({method:"eth_getUncleByBlockNumberAndIndex",params:[t,r]})}))}function U(e,t){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["filter"],[t]),e.send({method:"eth_getLogs",params:[t]})}))}function $(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_getWork",params:[]})}))}function z(e,t,r,n){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["bytes8","bytes32","bytes32"],[t,r,n]),e.send({method:"eth_submitWork",params:[t,r,n]})}))}function H(e,t,r,n){return c(this,void 0,void 0,(function*(){s.Nc.validate(["hex","blockNumberOrTag"],[t,r]);for(const e of n)s.Nc.validate(["number"],[e]);return e.send({method:"eth_feeHistory",params:[t,r,n]})}))}function V(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_pendingTransactions",params:[]})}))}function G(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_requestAccounts",params:[]})}))}function q(e){return c(this,void 0,void 0,(function*(){return e.send({method:"eth_chainId",params:[]})}))}function W(e,t,r,n){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address","bytes32[]","blockNumberOrTag"],[t,r,n]),e.send({method:"eth_getProof",params:[t,r,n]})}))}function K(e){return c(this,void 0,void 0,(function*(){return e.send({method:"web3_clientVersion",params:[]})}))}function X(e,t,r){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["blockNumberOrTag"],[r]),e.send({method:"eth_createAccessList",params:[t,r]})}))}function Z(e,t,r,n=!1){return c(this,void 0,void 0,(function*(){return s.Nc.validate(["address"],[t]),e.send({method:"eth_signTypedData"+(n?"":"_v4"),params:[t,r]})}))}var Y=r(97362);const Q={type:"object",properties:{accessList:{type:"null"},maxFeePerGas:{type:"null"},maxPriorityFeePerGas:{type:"null"}}},J={type:"object",properties:{maxFeePerGas:{type:"null"},maxPriorityFeePerGas:{type:"null"}}},ee={type:"object",properties:{gasPrice:{type:"null"}}},te=(e,t,r)=>{try{s.Nc.validateJSONSchema(e,t)}catch(n){if(n instanceof s.qT)throw new i.Q8z(n.errors,r);throw n}},re=e=>{var t,r;const o=e;if(!(0,s.uy)(o.type)){let e;switch(o.type){case"0x0":e=Q;break;case"0x1":e=J;break;case"0x2":e=ee;break;default:return(0,a.GP)({format:"uint"},o.type,n.F2)}return te(e,o,o.type),(0,a.GP)({format:"uint"},o.type,n.F2)}if(!(0,s.uy)(o.maxFeePerGas)||!(0,s.uy)(o.maxPriorityFeePerGas))return te(ee,o,"0x2"),"0x2";if(!(0,s.uy)(o.accessList))return te(J,o,"0x1"),"0x1";const i=null!==(t=o.hardfork)&&void 0!==t?t:null===(r=o.common)||void 0===r?void 0:r.hardfork;if(!(0,s.uy)(i)){const e=Object.keys(n.EC).indexOf(i);if(e>=Object.keys(n.EC).indexOf("london"))return(0,s.uy)(o.gasPrice)?"0x2":"0x0";if(e===Object.keys(n.EC).indexOf("berlin"))return"0x0"}return(0,s.uy)(o.gasPrice)?void 0:(te(Q,o,"0x0"),"0x0")},ne=(e,t)=>{var r;return(null!==(r=null===t||void 0===t?void 0:t.transactionTypeParser)&&void 0!==r?r:re)(e)},oe=e=>e[0]>127?"0x0":(0,a.nj)(e[0]),ie={type:"object",properties:{address:{format:"address"},storageKeys:{type:"array",items:{format:"bytes32"}}}},ae={type:"array",items:Object.assign({},ie)},se={type:"object",properties:{accessList:Object.assign({},ae),gasUsed:{type:"string"}}},ce={type:"string",enum:["goerli","kovan","mainnet","rinkeby","ropsten","sepolia"]},ue={type:"string",enum:["arrowGlacier","berlin","byzantium","chainstart","constantinople","dao","homestead","istanbul","london","merge","muirGlacier","petersburg","shanghai","spuriousDragon","tangerineWhistle"]},le={type:"object",properties:{name:{format:"string"},networkId:{format:"uint"},chainId:{format:"uint"}}},de={type:"object",properties:{from:{format:"address"},to:{oneOf:[{format:"address"},{type:"null"}]},value:{format:"uint"},gas:{format:"uint"},gasPrice:{format:"uint"},effectiveGasPrice:{format:"uint"},type:{format:"uint"},maxFeePerGas:{format:"uint"},maxPriorityFeePerGas:{format:"uint"},accessList:Object.assign({},ae),data:{format:"bytes"},input:{format:"bytes"},nonce:{format:"uint"},chain:Object.assign({},ce),hardfork:Object.assign({},ue),chainId:{format:"uint"},networkId:{format:"uint"},common:{type:"object",properties:{customChain:Object.assign({},le),baseChain:Object.assign({},ce),hardfork:Object.assign({},ue)}},gasLimit:{format:"uint"},v:{format:"uint"},r:{format:"bytes32"},s:{format:"bytes32"}}},fe={type:"object",properties:Object.assign(Object.assign({},de.properties),{blockHash:{format:"bytes32"},blockNumber:{format:"uint"},hash:{format:"bytes32"},transactionIndex:{format:"uint"},from:{format:"address"},to:{oneOf:[{format:"address"},{type:"null"}]},value:{format:"uint"},gas:{format:"uint"},gasPrice:{format:"uint"},effectiveGasPrice:{format:"uint"},type:{format:"uint"},maxFeePerGas:{format:"uint"},maxPriorityFeePerGas:{format:"uint"},accessList:Object.assign({},ae),data:{format:"bytes"},input:{format:"bytes"},nonce:{format:"uint"},gasLimit:{format:"uint"},v:{format:"uint"},r:{format:"bytes32"},s:{format:"bytes32"}})},he={type:"object",properties:{parentHash:{format:"bytes32"},sha3Uncles:{format:"bytes32"},miner:{format:"bytes"},stateRoot:{format:"bytes32"},transactionsRoot:{format:"bytes32"},receiptsRoot:{format:"bytes32"},logsBloom:{format:"bytes256"},difficulty:{format:"uint"},number:{format:"uint"},gasLimit:{format:"uint"},gasUsed:{format:"uint"},timestamp:{format:"uint"},extraData:{format:"bytes"},mixHash:{format:"bytes32"},nonce:{format:"uint"},totalDifficulty:{format:"uint"},baseFeePerGas:{format:"uint"},size:{format:"uint"},transactions:{oneOf:[{type:"array",items:Object.assign({},fe)},{type:"array",items:{format:"bytes32"}}]},uncles:{type:"array",items:{format:"bytes32"}},hash:{format:"bytes32"}}},pe={type:"object",properties:{index:{format:"uint"},validatorIndex:{format:"uint"},address:{format:"address"},amount:{format:"uint"}}},me={type:"object",properties:{author:{format:"bytes32"},hash:{format:"bytes32"},parentHash:{format:"bytes32"},receiptsRoot:{format:"bytes32"},miner:{format:"bytes"},stateRoot:{format:"bytes32"},transactionsRoot:{format:"bytes32"},withdrawalsRoot:{format:"bytes32"},logsBloom:{format:"bytes256"},difficulty:{format:"uint"},totalDifficulty:{format:"uint"},number:{format:"uint"},gasLimit:{format:"uint"},gasUsed:{format:"uint"},timestamp:{format:"uint"},extraData:{format:"bytes"},nonce:{format:"uint"},sha3Uncles:{format:"bytes32"},size:{format:"uint"},baseFeePerGas:{format:"uint"},excessDataGas:{format:"uint"},mixHash:{format:"bytes32"},transactions:{type:"array",items:{format:"bytes32"}},uncles:{type:"array",items:{format:"bytes32"}},withdrawals:{type:"array",items:Object.assign({},pe)}}},ge={type:"object",properties:{removed:{format:"bool"},logIndex:{format:"uint"},transactionIndex:{format:"uint"},transactionHash:{format:"bytes32"},blockHash:{format:"bytes32"},blockNumber:{format:"uint"},address:{format:"address"},data:{format:"bytes"},topics:{type:"array",items:{format:"bytes32"}}}},ye={type:"object",properties:{startingBlock:{format:"string"},currentBlock:{format:"string"},highestBlock:{format:"string"},knownStates:{format:"string"},pulledStates:{format:"string"}}},ve={type:"object",properties:{transactionHash:{format:"bytes32"},transactionIndex:{format:"uint"},blockHash:{format:"bytes32"},blockNumber:{format:"uint"},from:{format:"address"},to:{format:"address"},cumulativeGasUsed:{format:"uint"},gasUsed:{format:"uint"},effectiveGasPrice:{format:"uint"},contractAddress:{format:"address"},logs:{type:"array",items:Object.assign({},ge)},logsBloom:{format:"bytes"},root:{format:"bytes"},status:{format:"uint"},type:{format:"uint"}}},be={type:"object",properties:{messageHash:{format:"bytes"},r:{format:"bytes32"},s:{format:"bytes32"},v:{format:"bytes"},message:{format:"bytes"},signature:{format:"bytes"}}},we={type:"object",properties:{oldestBlock:{format:"uint"},baseFeePerGas:{type:"array",items:{format:"uint"}},reward:{type:"array",items:{type:"array",items:{format:"uint"}}},gasUsedRatio:{type:"array",items:{type:"number"}}}},_e={type:"object",properties:{key:{format:"bytes32"},value:{format:"uint"},proof:{type:"array",items:{format:"bytes32"}}}},Ee={type:"object",properties:{balance:{format:"uint"},codeHash:{format:"bytes32"},nonce:{format:"uint"},storageHash:{format:"bytes32"},accountProof:{type:"array",items:{format:"bytes32"}},storageProof:{type:"array",items:Object.assign({},_e)}}};function Ae(e,t=n.Hh,r={transactionSchema:fe,fillInputAndData:!1}){var o,c;let u=(0,a.D9)({},e);if((0,s.uy)(null===e||void 0===e?void 0:e.common)||(u.common=Object.assign({},e.common),(0,s.uy)(null===(o=e.common)||void 0===o?void 0:o.customChain)||(u.common.customChain=Object.assign({},e.common.customChain))),u=(0,a.GP)(null!==(c=r.transactionSchema)&&void 0!==c?c:fe,u,t),!(0,s.uy)(u.data)&&!(0,s.uy)(u.input)&&(0,a.nj)(u.data)!==(0,a.nj)(u.input))throw new i.mPB({data:(0,a.My)(u.data),input:(0,a.My)(u.input)});return r.fillInputAndData&&((0,s.uy)(u.data)?(0,s.uy)(u.input)||(u.data=u.input):u.input=u.data),(0,s.uy)(u.gasLimit)||(u.gas=u.gasLimit,delete u.gasLimit),u}function Se(e,t,r={fillInputAndData:!1}){return{raw:(0,a.GP)({format:"bytes"},e,t),tx:Ae(Object.assign(Object.assign({},Y.dF.fromSerializedData((0,a.aT)(e)).toJSON()),{hash:(0,a.My)((0,a.So)((0,a.aT)(e))),type:oe((0,a.aT)(e))}),t,{fillInputAndData:r.fillInputAndData})}}const Te="ALLEVENTS",xe={name:Te,signature:"",type:"event",inputs:[]},Ce={bytes:n.QR.HEX,number:n.M$.NUMBER};var Ie=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Oe(e,t,r){var n,o,c;return Ie(this,void 0,void 0,(function*(){const u=yield lt(t,t.defaultBlock,!1,r);if((0,s.uy)(u.baseFeePerGas))throw new i.oo5;if(!(0,s.uy)(e.gasPrice)){const t=(0,a.GP)({format:"uint"},e.gasPrice,r);return{maxPriorityFeePerGas:t,maxFeePerGas:t}}return{maxPriorityFeePerGas:(0,a.GP)({format:"uint"},null!==(n=e.maxPriorityFeePerGas)&&void 0!==n?n:t.defaultMaxPriorityFeePerGas,r),maxFeePerGas:(0,a.GP)({format:"uint"},null!==(o=e.maxFeePerGas)&&void 0!==o?o:BigInt(u.baseFeePerGas)*BigInt(2)+BigInt(null!==(c=e.maxPriorityFeePerGas)&&void 0!==c?c:t.defaultMaxPriorityFeePerGas),r)}}))}function Pe(e,t,r){return Ie(this,void 0,void 0,(function*(){const n=Ne(e,t);if(!(0,s.uy)(n)){if(n.startsWith("-"))throw new i.KTA(n);if(Number(n)<0||Number(n)>127)throw new i.KTA(n);if((0,s.uy)(e.gasPrice)&&("0x0"===n||"0x1"===n))return{gasPrice:yield ot(t,r),maxPriorityFeePerGas:void 0,maxFeePerGas:void 0};if("0x2"===n)return Object.assign({gasPrice:void 0},yield Oe(e,t,r))}}))}const ke=(e,t,r,n)=>{if(void 0!==r&&e in r&&void 0!==r[e]){if("string"===typeof r[e]&&(0,s.PW)(r[e]))return r[e];if(!(0,s.lX)(r[e])&&(0,s.Et)(r[e])){if(t.wallet){const n=t.wallet.get((0,a.GP)({format:"uint"},r[e],Ce));if(!(0,s.uy)(n))return n.address;throw new i.fVU}throw new i.fVU}throw"from"===e?new i.NgH(r.from):new i.jfZ(r.to)}if("from"===e){if(!(0,s.uy)(n))return(0,Y.uX)(n);if(!(0,s.uy)(t.defaultAccount))return t.defaultAccount}},Ne=(e,t)=>{const r=ne(e,t);return(0,s.uy)(r)?(0,s.uy)(t.defaultTransactionType)?void 0:(0,a.GP)({format:"uint"},t.defaultTransactionType,n.F2):r};var Re=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Me(e,t,r){const n=e.transactionPollingInterval,[o,s]=(0,a.k8)((()=>Re(this,void 0,void 0,(function*(){let n;try{n=yield at(e,Ce)}catch(a){return void console.warn("An error happen while trying to get the block number",a)}const o=n-t;if(o>=e.transactionBlockTimeout)return new i.tty({starterBlockNumber:t,numberOfBlocks:o,transactionHash:r})}))),n),c=()=>{clearInterval(o)};return[s,{clean:c}]}function Be(e,t,r){var n;return Re(this,void 0,void 0,(function*(){let o,a,s=!0;function c(n,o){o&&console.warn("error happened at subscription. So revert to polling...",o),a.clean(),s=!1;const[i,c]=Me(e,t,r);a.clean=c.clean,i.catch((e=>n(e)))}try{o=yield null===(n=e.subscriptionManager)||void 0===n?void 0:n.subscribe("newHeads"),a={clean:()=>{var t;o.id&&(null===(t=e.subscriptionManager)||void 0===t||t.removeSubscription(o).then((()=>{})).catch((()=>{})))}}}catch(l){return Me(e,t,r)}const u=new Promise(((n,a)=>{try{o.on("data",(n=>{if(s=!1,!(null===n||void 0===n?void 0:n.number))return;const o=Number(BigInt(n.number)-BigInt(t));o>=e.transactionBlockTimeout&&a(new i.tty({starterBlockNumber:t,numberOfBlocks:o,transactionHash:r}))})),o.on("error",(e=>{c(a,e)}))}catch(l){c(a,l)}setTimeout((()=>{s&&c(a)}),1e3*e.blockHeaderTimeout)}));return[u,a]}))}function Le(e,t){var r,n;return Re(this,void 0,void 0,(function*(){const{provider:o}=e.requestManager;let i;const a=yield at(e,Ce);return i=(null===(n=(r=o).supportsSubscriptions)||void 0===n?void 0:n.call(r))&&e.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout?yield Be(e,a,t):Me(e,a,t),i}))}var De=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Fe(e,t,r){return De(this,void 0,void 0,(function*(){const[n,o]=(0,a.Q3)(e.transactionSendTimeout,new i.C18({numberOfSeconds:e.transactionSendTimeout/1e3,transactionHash:r})),[s,c]=yield Le(e,r);try{return yield Promise.race([t(),o,s])}finally{clearTimeout(n),c.clean()}}))}var je=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Ue(e,t,r){var n;return je(this,void 0,void 0,(function*(){const o=null!==(n=e.transactionReceiptPollingInterval)&&void 0!==n?n:e.transactionPollingInterval,[s,c]=(0,a.Rp)((()=>je(this,void 0,void 0,(function*(){try{return yt(e,t,r)}catch(n){return void console.warn("An error happen while trying to get the transaction receipt",n)}}))),o),[u,l]=(0,a.Q3)(e.transactionPollingTimeout,new i.xyB({numberOfSeconds:e.transactionPollingTimeout/1e3,transactionHash:t})),[d,f]=yield Le(e,t);try{return yield Promise.race([s,l,d])}finally{u&&clearTimeout(u),c&&clearInterval(c),f.clean()}}))}var $e=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const ze=({web3Context:e,transactionReceipt:t,transactionPromiEvent:r,returnFormat:n})=>{var o;let i=1;const s=setInterval((()=>{(()=>{$e(void 0,void 0,void 0,(function*(){i>=e.transactionConfirmationBlocks&&clearInterval(s);const o=yield R(e.requestManager,(0,a.cK)(BigInt(t.blockNumber)+BigInt(i)),!1);(null===o||void 0===o?void 0:o.hash)&&(i+=1,r.emit("confirmation",{confirmations:(0,a.GP)({format:"uint"},i,n),receipt:(0,a.GP)(ve,t,n),latestBlockHash:(0,a.GP)({format:"bytes32"},o.hash,n)}))}))})()}),null!==(o=e.transactionReceiptPollingInterval)&&void 0!==o?o:e.transactionPollingInterval)};var He=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const Ve=({web3Context:e,transactionReceipt:t,transactionPromiEvent:r,returnFormat:n})=>{let o,i=!0;setImmediate((()=>{var s;null===(s=e.subscriptionManager)||void 0===s||s.subscribe("newHeads").then((s=>{s.on("data",(c=>He(void 0,void 0,void 0,(function*(){var u;if(i=!1,!(null===c||void 0===c?void 0:c.number)||o===(null===c||void 0===c?void 0:c.parentHash))return;o=null===c||void 0===c?void 0:c.parentHash;const l=BigInt(c.number)-BigInt(t.blockNumber)+BigInt(1);r.emit("confirmation",{confirmations:(0,a.GP)({format:"uint"},l,n),receipt:(0,a.GP)(ve,t,n),latestBlockHash:(0,a.GP)({format:"bytes32"},c.parentHash,n)}),l>=e.transactionConfirmationBlocks&&(yield null===(u=e.subscriptionManager)||void 0===u?void 0:u.removeSubscription(s))})))),s.on("error",(()=>He(void 0,void 0,void 0,(function*(){var o;yield null===(o=e.subscriptionManager)||void 0===o?void 0:o.removeSubscription(s),i=!1,ze({web3Context:e,transactionReceipt:t,transactionPromiEvent:r,returnFormat:n})}))))})).catch((()=>{i=!1,ze({web3Context:e,transactionReceipt:t,transactionPromiEvent:r,returnFormat:n})}))})),setTimeout((()=>{i&&ze({web3Context:e,transactionReceipt:t,transactionPromiEvent:r,returnFormat:n})}),1e3*e.blockHeaderTimeout)};function Ge(e,t,r,n,o){if((0,s.uy)(r)||(0,s.uy)(r.blockHash))throw new i.byU({receipt:r,blockHash:(0,a.GP)({format:"bytes32"},null===r||void 0===r?void 0:r.blockHash,o),transactionHash:(0,a.GP)({format:"bytes32"},n,o)});if(!r.blockNumber)throw new i.Joe({receipt:r});t.emit("confirmation",{confirmations:(0,a.GP)({format:"uint"},1,o),receipt:(0,a.GP)(ve,r,o),latestBlockHash:(0,a.GP)({format:"bytes32"},r.blockHash,o)});const c=e.requestManager.provider;c&&"supportsSubscriptions"in c&&c.supportsSubscriptions()?Ve({web3Context:e,transactionReceipt:r,transactionPromiEvent:t,returnFormat:o}):ze({web3Context:e,transactionReceipt:r,transactionPromiEvent:t,returnFormat:o})}var qe=r(54261),We=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const Ke=(e,t)=>{var r,n,o,a,s;if(e instanceof i.fQB&&e.cause instanceof i.Ut4){if(void 0!==t){const o=t.filter((e=>(0,qe.VW)(e)));return(0,qe.Zo)(o,e.cause),{reason:e.cause.message,signature:null===(r=e.cause.data)||void 0===r?void 0:r.slice(0,10),data:null===(n=e.cause.data)||void 0===n?void 0:n.substring(10),customErrorName:e.cause.errorName,customErrorDecodedSignature:e.cause.errorSignature,customErrorArguments:e.cause.errorArgs}}return{reason:e.cause.message,signature:null===(o=e.cause.data)||void 0===o?void 0:o.slice(0,10),data:null===(a=e.cause.data)||void 0===a?void 0:a.substring(10)}}if(e instanceof i.tFo&&!Array.isArray(null===(s=e.cause)||void 0===s?void 0:s.errors)&&void 0!==e.cause)return e.cause.message;throw e};function Xe(e,t,r,o=n.Hh){return We(this,void 0,void 0,(function*(){try{return void(yield At(e,t,e.defaultBlock,o))}catch(n){return Ke(n,r)}}))}var Ze=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Ye(e,t,r,n,o,a){return Ze(this,void 0,void 0,(function*(){let s,c=a;if(void 0===c&&(void 0!==n?c=Ke(n):e.handleRevert&&void 0!==t&&(c=yield Xe(e,t,o))),void 0===c)s=new i.eFl(r);else if("string"===typeof c)s=new i.nSB(c,void 0,r);else if(void 0!==c.customErrorName&&void 0!==c.customErrorDecodedSignature&&void 0!==c.customErrorArguments){const e=c;s=new i.ct4(e.reason,e.customErrorName,e.customErrorDecodedSignature,e.customErrorArguments,e.signature,r,e.data)}else s=new i.nSB(c.reason,c.signature,r,c.data);return s}))}const Qe=(e,t,r,o=n.Hh)=>{var i,s,c,u,l;let d=Object.assign({},e);const f=(0,a.GP)(ge,t,o);if([Te,"allEvents"].includes(d.name)){const e=r.find((e=>e.signature===t.topics[0]));d=e||{anonymous:!0}}if(d.inputs=null!==(s=null!==(i=d.inputs)&&void 0!==i?i:e.inputs)&&void 0!==s?s:[],!d.anonymous){let e=0;(null!==(c=d.inputs)&&void 0!==c?c:[]).forEach((t=>{t.indexed&&(e+=1)})),e>0&&(null===t||void 0===t?void 0:t.topics)&&(null===t||void 0===t?void 0:t.topics.length)!==e+1&&(d=Object.assign(Object.assign({},d),{anonymous:!0,inputs:[]}))}const h=d.anonymous?t.topics:(null!==(u=t.topics)&&void 0!==u?u:[]).slice(1);return Object.assign(Object.assign({},f),{returnValues:(0,qe.Nr)([...null!==(l=d.inputs)&&void 0!==l?l:[]],t.data,h),event:d.name,signature:!d.anonymous&&t.topics&&0!==t.topics.length&&t.topics[0]?t.topics[0]:void 0,raw:{data:t.data,topics:t.topics}})};var Je=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class et{constructor({options:e,web3Context:t,promiEvent:r,returnFormat:n}){this.options={checkRevertBeforeSending:!0},this.options=e,this.web3Context=t,this.promiEvent=r,this.returnFormat=n}getReceiptWithEvents(e){var t,r;const n=Object.assign({},null!==e&&void 0!==e?e:{});if((null===(t=this.options)||void 0===t?void 0:t.contractAbi)&&n.logs&&n.logs.length>0){n.events={};for(const e of n.logs){const t=Qe(xe,e,null===(r=this.options)||void 0===r?void 0:r.contractAbi,this.returnFormat);t.event&&(n.events[t.event]=t)}}return n}checkRevertBeforeSending(e){return Je(this,void 0,void 0,(function*(){if(!1!==this.options.checkRevertBeforeSending){const t=yield Xe(this.web3Context,e,this.options.contractAbi);if(void 0!==t)throw yield Ye(this.web3Context,e,void 0,void 0,this.options.contractAbi,t)}}))}emitSending(e){this.promiEvent.listenerCount("sending")>0&&this.promiEvent.emit("sending",e)}populateGasPrice({transactionFormatted:e,transaction:t}){var r;return Je(this,void 0,void 0,(function*(){let o=e;return!(null===(r=this.options)||void 0===r?void 0:r.ignoreGasPricing)&&(0,s.uy)(e.gasPrice)&&((0,s.uy)(t.maxPriorityFeePerGas)||(0,s.uy)(t.maxFeePerGas))&&(o=Object.assign(Object.assign({},e),yield Pe(e,this.web3Context,n.F2))),o}))}signAndSend({wallet:e,tx:t}){return Je(this,void 0,void 0,(function*(){if(e){const r=yield e.signTransaction(t);return Fe(this.web3Context,(()=>Je(this,void 0,void 0,(function*(){return O(this.web3Context.requestManager,r.rawTransaction)}))),r.transactionHash)}return Fe(this.web3Context,(()=>Je(this,void 0,void 0,(function*(){return I(this.web3Context.requestManager,t)}))))}))}emitSent(e){this.promiEvent.listenerCount("sent")>0&&this.promiEvent.emit("sent",e)}emitTransactionHash(e){this.promiEvent.listenerCount("transactionHash")>0&&this.promiEvent.emit("transactionHash",e)}emitReceipt(e){this.promiEvent.listenerCount("receipt")>0&&this.promiEvent.emit("receipt",e)}handleError({error:e,tx:t}){var r;return Je(this,void 0,void 0,(function*(){let n=e;return n instanceof i.fQB&&this.web3Context.handleRevert&&(n=yield Ye(this.web3Context,t,void 0,void 0,null===(r=this.options)||void 0===r?void 0:r.contractAbi)),(n instanceof i.tFo||n instanceof i.fQB||n instanceof i.ct4||n instanceof i.eFl||n instanceof i.nSB||n instanceof i.xyB)&&this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",n),n}))}emitConfirmation({receipt:e,transactionHash:t}){this.promiEvent.listenerCount("confirmation")>0&&Ge(this.web3Context,this.promiEvent,e,t,this.returnFormat)}handleResolve({receipt:e,tx:t}){var r,n,o;return Je(this,void 0,void 0,(function*(){if(null===(r=this.options)||void 0===r?void 0:r.transactionResolver)return null===(n=this.options)||void 0===n?void 0:n.transactionResolver(e);if(e.status===BigInt(0)){const r=yield Ye(this.web3Context,t,e,void 0,null===(o=this.options)||void 0===o?void 0:o.contractAbi);throw this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",r),r}return e}))}}var tt=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))},rt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);oAe(e,t,{fillInputAndData:!0})))}))}function gt(e,t=e.defaultBlock,r,o){return tt(this,void 0,void 0,(function*(){const i=(0,a.GP)({format:"uint"},r,n.F2);let c;if((0,s.aY)(t)){const r=(0,a.GP)({format:"bytes32"},t,n.F2);c=yield B(e.requestManager,r,i)}else{const r=(0,s._N)(t)?t:(0,a.GP)({format:"uint"},t,n.F2);c=yield L(e.requestManager,r,i)}return(0,s.uy)(c)?c:Ae(c,o,{fillInputAndData:!0})}))}function yt(e,t,r){return tt(this,void 0,void 0,(function*(){const o=(0,a.GP)({format:"bytes32"},t,n.Hh),i=yield D(e.requestManager,o);return(0,s.uy)(i)?i:(0,a.GP)(ve,i,r)}))}function vt(e,t,r=e.defaultBlock,o){return tt(this,void 0,void 0,(function*(){const i=(0,s._N)(r)?r:(0,a.GP)({format:"uint"},r,n.F2),c=yield w(e.requestManager,t,i);return(0,a.GP)({format:"uint"},c,o)}))}function bt(e,t,r,i={checkRevertBeforeSending:!0}){const c=new o.p6(((o,u)=>{setImmediate((()=>{(()=>{tt(this,void 0,void 0,(function*(){const l=new et({web3Context:e,promiEvent:c,options:i,returnFormat:r});let d=Ae(Object.assign(Object.assign({},t),{from:ke("from",e,t),to:ke("to",e,t)}),n.F2);try{let n;d=yield l.populateGasPrice({transaction:t,transactionFormatted:d}),yield l.checkRevertBeforeSending(d),l.emitSending(d),e.wallet&&!(0,s.uy)(d.from)&&(n=e.wallet.get(d.from));const i=yield l.signAndSend({wallet:n,tx:d}),c=(0,a.GP)({format:"bytes32"},i,r);l.emitSent(d),l.emitTransactionHash(c);const u=yield Ue(e,i,r),f=l.getReceiptWithEvents((0,a.GP)(ve,u,r));l.emitReceipt(f),o(yield l.handleResolve({receipt:f,tx:d})),l.emitConfirmation({receipt:f,transactionHash:i})}catch(f){u(yield l.handleError({error:f,tx:d}))}}))})()}))}));return c}function wt(e,t,r,i={checkRevertBeforeSending:!0}){const s=new o.p6(((o,c)=>{setImmediate((()=>{(()=>{tt(this,void 0,void 0,(function*(){const u=new et({web3Context:e,promiEvent:s,options:i,returnFormat:r}),l=(0,a.GP)({format:"bytes"},t,n.F2),d=Y.dF.fromSerializedData((0,a.E3)((0,a.aT)(l))),f=Object.assign(Object.assign({},d.toJSON()),{from:d.getSenderAddress().toString()});try{const{v:t,r:n,s:i}=f,s=rt(f,["v","r","s"]);yield u.checkRevertBeforeSending(s),u.emitSending(l);const c=yield Fe(e,(()=>tt(this,void 0,void 0,(function*(){return O(e.requestManager,l)}))));u.emitSent(l);const d=(0,a.GP)({format:"bytes32"},c,r);u.emitTransactionHash(d);const h=yield Ue(e,c,r),p=u.getReceiptWithEvents((0,a.GP)(ve,h,r));u.emitReceipt(p),o(yield u.handleResolve({receipt:p,tx:f})),u.emitConfirmation({receipt:p,transactionHash:c})}catch(h){c(yield u.handleError({error:h,tx:f}))}}))})()}))}));return s}function _t(e,t,r,o){var s;return tt(this,void 0,void 0,(function*(){const c=(0,a.GP)({format:"bytes"},t,n.Hh);if(null===(s=e.wallet)||void 0===s?void 0:s.get(r)){const t=e.wallet.get(r),n=t.sign(c);return(0,a.GP)(be,n,o)}if("number"===typeof r)throw new i.VAK(t,'RPC method "eth_sign" does not support index signatures');const u=yield x(e.requestManager,r,c);return(0,a.GP)({format:"bytes"},u,o)}))}function Et(e,t,r){return tt(this,void 0,void 0,(function*(){const o=yield C(e.requestManager,Ae(t,n.F2));return(0,s.Kg)(o)?Se(o,r,{fillInputAndData:!0}):{raw:(0,a.GP)({format:"bytes"},o.raw,r),tx:Ae(o.tx,r,{fillInputAndData:!0})}}))}function At(e,t,r=e.defaultBlock,o){return tt(this,void 0,void 0,(function*(){const i=(0,s._N)(r)?r:(0,a.GP)({format:"uint"},r,n.F2),c=yield P(e.requestManager,Ae(t,n.F2),i);return(0,a.GP)({format:"bytes"},c,o)}))}function St(e,t,r=e.defaultBlock,o){return tt(this,void 0,void 0,(function*(){const i=Ae(t,n.F2),c=(0,s._N)(r)?r:(0,a.GP)({format:"uint"},r,n.F2),u=yield k(e.requestManager,i,c);return(0,a.GP)({format:"uint"},u,o)}))}function Tt(e,t,r){return tt(this,void 0,void 0,(function*(){let{toBlock:n,fromBlock:o}=t;(0,s.uy)(n)||"number"!==typeof n&&"bigint"!==typeof n||(n=(0,a.cK)(n)),(0,s.uy)(o)||"number"!==typeof o&&"bigint"!==typeof o||(o=(0,a.cK)(o));const i=Object.assign(Object.assign({},t),{fromBlock:o,toBlock:n}),c=yield U(e.requestManager,i),u=c.map((e=>"string"===typeof e?e:(0,a.GP)(ge,e,r)));return u}))}function xt(e,t){return tt(this,void 0,void 0,(function*(){const r=yield q(e.requestManager);return(0,a.GP)({format:"uint"},r,t)}))}function Ct(e,t,r,o=e.defaultBlock,i){return tt(this,void 0,void 0,(function*(){const c=r.map((e=>(0,a.GP)({format:"bytes"},e,n.F2))),u=(0,s._N)(o)?o:(0,a.GP)({format:"uint"},o,n.F2),l=yield W(e.requestManager,t,c,u);return(0,a.GP)(Ee,l,i)}))}function It(e,t,r=e.defaultBlock,o,i){return tt(this,void 0,void 0,(function*(){const c=(0,a.GP)({format:"uint"},t,n.F2),u=(0,s._N)(r)?r:(0,a.GP)({format:"uint"},r,n.F2),l=(0,a.GP)({type:"array",items:{format:"uint"}},o,Ce),d=yield H(e.requestManager,c,u,l);return(0,a.GP)(we,d,i)}))}function Ot(e,t,r=e.defaultBlock,o){return tt(this,void 0,void 0,(function*(){const i=(0,s._N)(r)?r:(0,a.GP)({format:"uint"},r,n.F2),c=yield X(e.requestManager,Ae(t,n.F2),i);return(0,a.GP)(se,c,o)}))}function Pt(e,t,r,n,o){return tt(this,void 0,void 0,(function*(){const i=yield Z(e.requestManager,t,r,n);return(0,a.GP)({format:"bytes"},i,o)}))}class kt extends o.tn{_buildSubscriptionParams(){return["logs",this.args]}formatSubscriptionResult(e){return(0,a.GP)(ge,e,super.returnFormat)}}class Nt extends o.tn{_buildSubscriptionParams(){return["newPendingTransactions"]}formatSubscriptionResult(e){return(0,a.GP)({format:"string"},e,super.returnFormat)}}class Rt extends o.tn{_buildSubscriptionParams(){return["newHeads"]}formatSubscriptionResult(e){return(0,a.GP)(me,e,super.returnFormat)}}class Mt extends o.tn{_buildSubscriptionParams(){return["syncing"]}_processSubscriptionResult(e){if("boolean"===typeof e)this.emit("changed",e);else{const t=Object.fromEntries(Object.entries(e.status).map((([e,t])=>[e.charAt(0).toLowerCase()+e.substring(1),t])));this.emit("changed",e.syncing),this.emit("data",(0,a.GP)(ye,t,super.returnFormat))}}}var Bt=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const Lt={logs:kt,newPendingTransactions:Nt,newHeads:Rt,syncing:Mt,pendingTransactions:Nt,newBlockHeaders:Rt};class Dt extends o.bl{constructor(e){"string"===typeof e||(0,o.w3)(e)?super({provider:e,registeredSubscriptions:Lt}):e.registeredSubscriptions?super(e):(super(Object.assign(Object.assign({},e),{registeredSubscriptions:Lt})),this.getFeeData=this.calculateFeeData)}getProtocolVersion(){return Bt(this,void 0,void 0,(function*(){return u(this.requestManager)}))}isSyncing(){return Bt(this,void 0,void 0,(function*(){return l(this.requestManager)}))}getCoinbase(){return Bt(this,void 0,void 0,(function*(){return d(this.requestManager)}))}isMining(){return Bt(this,void 0,void 0,(function*(){return f(this.requestManager)}))}getHashrate(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return this.getHashRate(e)}))}getHashRate(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return nt(this,e)}))}getGasPrice(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return ot(this,e)}))}getMaxPriorityFeePerGas(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return it(this,e)}))}calculateFeeData(e=BigInt(2),t=a._W.Gwei){var r;return Bt(this,void 0,void 0,(function*(){const n=yield this.getBlock(void 0,!1),o=null!==(r=null===n||void 0===n?void 0:n.baseFeePerGas)&&void 0!==r?r:void 0;let i,a,s;try{i=yield this.getGasPrice()}catch(c){}try{a=yield this.getMaxPriorityFeePerGas()}catch(c){}return o&&(a=null!==a&&void 0!==a?a:t,s=o*e+a),{gasPrice:i,maxFeePerGas:s,maxPriorityFeePerGas:a,baseFeePerGas:o}}))}getAccounts(){var e;return Bt(this,void 0,void 0,(function*(){const t=null!==(e=yield g(this.requestManager))&&void 0!==e?e:[];return t.map((e=>(0,a.BA)(e)))}))}getBlockNumber(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return at(this,e)}))}getBalance(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return st(this,e,t,r)}))}getStorageAt(e,t,r=this.defaultBlock,o=n.Hh){return Bt(this,void 0,void 0,(function*(){return ct(this,e,t,r,o)}))}getCode(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return ut(this,e,t,r)}))}getBlock(e=this.defaultBlock,t=!1,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return lt(this,e,t,r)}))}getBlockTransactionCount(e=this.defaultBlock,t=n.Hh){return Bt(this,void 0,void 0,(function*(){return dt(this,e,t)}))}getBlockUncleCount(e=this.defaultBlock,t=n.Hh){return Bt(this,void 0,void 0,(function*(){return ft(this,e,t)}))}getUncle(e=this.defaultBlock,t,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return ht(this,e,t,r)}))}getTransaction(e,t=n.Hh){return Bt(this,void 0,void 0,(function*(){const r=yield pt(this,e,t);if(!r)throw new i.WCt;return r}))}getPendingTransactions(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return mt(this,e)}))}getTransactionFromBlock(e=this.defaultBlock,t,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return gt(this,e,t,r)}))}getTransactionReceipt(e,t=n.Hh){return Bt(this,void 0,void 0,(function*(){const r=yield yt(this,e,t);if(!r)throw new i.WCt;return r}))}getTransactionCount(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return vt(this,e,t,r)}))}sendTransaction(e,t=n.Hh,r){return bt(this,e,t,r)}sendSignedTransaction(e,t=n.Hh,r){return wt(this,e,t,r)}sign(e,t,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return _t(this,e,t,r)}))}signTransaction(e,t=n.Hh){return Bt(this,void 0,void 0,(function*(){return Et(this,e,t)}))}call(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return At(this,e,t,r)}))}estimateGas(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return St(this,e,t,r)}))}getPastLogs(e,t=n.Hh){return Bt(this,void 0,void 0,(function*(){return Tt(this,e,t)}))}getWork(){return Bt(this,void 0,void 0,(function*(){return $(this.requestManager)}))}submitWork(e,t,r){return Bt(this,void 0,void 0,(function*(){return z(this.requestManager,e,t,r)}))}requestAccounts(){return Bt(this,void 0,void 0,(function*(){return G(this.requestManager)}))}getChainId(e=n.Hh){return Bt(this,void 0,void 0,(function*(){return xt(this,e)}))}getNodeInfo(){return Bt(this,void 0,void 0,(function*(){return K(this.requestManager)}))}getProof(e,t,r=this.defaultBlock,o=n.Hh){return Bt(this,void 0,void 0,(function*(){return Ct(this,e,t,r,o)}))}getFeeHistory(e,t=this.defaultBlock,r,o=n.Hh){return Bt(this,void 0,void 0,(function*(){return It(this,e,t,r,o)}))}createAccessList(e,t=this.defaultBlock,r=n.Hh){return Bt(this,void 0,void 0,(function*(){return Ot(this,e,t,r)}))}signTypedData(e,t,r=!1,o=n.Hh){return Bt(this,void 0,void 0,(function*(){return Pt(this,e,t,r,o)}))}subscribe(e,t,r=n.Hh){var o;return Bt(this,void 0,void 0,(function*(){const n=yield null===(o=this.subscriptionManager)||void 0===o?void 0:o.subscribe(e,t,r);return n instanceof kt&&"logs"===e&&"object"===typeof t&&!(0,a.uy)(t.fromBlock)&&Number.isFinite(Number(t.fromBlock))&&setImmediate((()=>{this.getPastLogs(t).then((e=>{for(const t of e)n._processSubscriptionResult(t)})).catch((e=>{n._processSubscriptionError(e)}))})),n}))}static shouldClearSubscription({sub:e}){return!(e instanceof Mt)}clearSubscriptions(e=!1){var t;return null===(t=this.subscriptionManager)||void 0===t?void 0:t.unsubscribe(e?Dt.shouldClearSubscription:void 0)}}const Ft=Dt},20345:(e,t,r)=>{"use strict";var n,o;r.d(t,{zC:()=>s,Hh:()=>i,F2:()=>a,QR:()=>o,M$:()=>n,EC:()=>c,wx:()=>u,SB:()=>f,K5:()=>h}),function(e){e["NUMBER"]="NUMBER_NUMBER",e["HEX"]="NUMBER_HEX",e["STR"]="NUMBER_STR",e["BIGINT"]="NUMBER_BIGINT"}(n||(n={})),function(e){e["HEX"]="BYTES_HEX",e["UINT8ARRAY"]="BYTES_UINT8ARRAY"}(o||(o={}));const i={number:n.BIGINT,bytes:o.HEX},a={number:n.HEX,bytes:o.HEX};var s,c;(function(e){e["EARLIEST"]="earliest",e["LATEST"]="latest",e["PENDING"]="pending",e["SAFE"]="safe",e["FINALIZED"]="finalized"})(s||(s={})),function(e){e["chainstart"]="chainstart",e["frontier"]="frontier",e["homestead"]="homestead",e["dao"]="dao",e["tangerineWhistle"]="tangerineWhistle",e["spuriousDragon"]="spuriousDragon",e["byzantium"]="byzantium",e["constantinople"]="constantinople",e["petersburg"]="petersburg",e["istanbul"]="istanbul",e["muirGlacier"]="muirGlacier",e["berlin"]="berlin",e["london"]="london",e["altair"]="altair",e["arrowGlacier"]="arrowGlacier",e["grayGlacier"]="grayGlacier",e["bellatrix"]="bellatrix",e["merge"]="merge",e["capella"]="capella",e["shanghai"]="shanghai"}(c||(c={}));const u=Object.getPrototypeOf(Uint8Array);var l=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const d=Symbol.for("web3/base-provider");class f{static isWeb3Provider(e){return e instanceof f||Boolean(e&&e[d])}get[d](){return!0}send(e,t){this.request(e).then((e=>{t(null,e)})).catch((e=>{t(e)}))}sendAsync(e){return l(this,void 0,void 0,(function*(){return this.request(e)}))}asEIP1193Provider(){const e=Object.create(this),t=e.request;return e.request=function(e){return l(this,void 0,void 0,(function*(){const r=yield t(e);return r.result}))},e.asEIP1193Provider=void 0,e}}class h extends Array{constructor(e){super(),this._accountProvider=e}}},38653:(e,t,r)=>{"use strict";r.d(t,{bk:()=>P,FI:()=>xe,AI:()=>be,My:()=>p,E3:()=>f,_W:()=>d,GP:()=>H,kX:()=>S,aT:()=>m,ME:()=>g,m2:()=>b,nF:()=>N,kY:()=>j,uy:()=>R,yL:()=>Q,jB:()=>oe,mg:()=>c,wE:()=>n,So:()=>W,PX:()=>D,D9:()=>B,cK:()=>y,Ho:()=>L,Rp:()=>ee,k8:()=>re,Q3:()=>te,aQ:()=>q,Dg:()=>A,AF:()=>C,BA:()=>x,nj:()=>_,fq:()=>T,cX:()=>u,X7:()=>l,hl:()=>w});var n={};r.r(n),r.d(n,{isBatchRequest:()=>ge,isBatchResponse:()=>de,isResponseRpcError:()=>oe,isResponseWithError:()=>ae,isResponseWithNotification:()=>se,isResponseWithResult:()=>ie,isSubscriptionResult:()=>ce,isValidResponse:()=>le,setRequestIdStart:()=>he,toBatchPayload:()=>me,toPayload:()=>pe,validateResponse:()=>ue});var o=r(90433),i=r(40651),a=r(69825),s=r(39788);function c(e){var t;return e instanceof Uint8Array||"Uint8Array"===(null===(t=null===e||void 0===e?void 0:e.constructor)||void 0===t?void 0:t.name)}function u(...e){const t=e.reduce(((e,t)=>{const r=e+t.length;return r}),0),r=new Uint8Array(t);let n=0;for(const o of e)r.set(o,n),n+=o.length;return r}function l(e,t){if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let r=0;r{if(a.Nc.validate(["bytes"],[e]),c(e))return e;if(Array.isArray(e))return new Uint8Array(e);if("string"===typeof e)return a.utils.hexToUint8Array(e);throw new s.xRF(e)},{uint8ArrayToHexString:h}=a.utils,p=e=>h(f(e)),m=e=>"string"===typeof e&&"0x"!==e.slice(0,2).toLowerCase()?f(`0x${e}`):f(e),g=e=>(a.Nc.validate(["hex"],[e]),a.utils.hexToNumber(e)),y=(e,t)=>{"bigint"!==typeof e&&a.Nc.validate(["int"],[e]);let r=a.utils.numberToHex(e);return t&&(r.startsWith("-")||r.length%2!==1?r.length%2===0&&r.startsWith("-")&&(r="-0x0".concat(r.slice(3))):r="0x0".concat(r.slice(2))),r},v=e=>{a.Nc.validate(["string"],[e]);let t=e.replace(/^(?:\u0000)/,"");return t=t.replace(/(?:\u0000)$/,""),p((new TextEncoder).encode(t))},b=e=>(0,i.AE)(m(e)),w=i.AI,_=(e,t)=>{if("string"===typeof e&&(0,a.PW)(e))return t?"address":`0x${e.toLowerCase().replace(/^0x/i,"")}`;if("boolean"===typeof e)return t?"bool":e?"0x01":"0x00";if("number"===typeof e)return t?e<0?"int256":"uint256":y(e);if("bigint"===typeof e)return t?"bigint":y(e);if("object"===typeof e&&e)return t?"string":v(JSON.stringify(e));if("string"===typeof e){if(e.startsWith("-0x")||e.startsWith("-0X"))return t?"int256":y(e);if((0,a.lX)(e))return t?"bytes":e;if((0,a.qv)(e)&&!(0,a.E6)(e)&&!(0,a.Db)(e))return t?"bytes":`0x${e}`;if((0,a.qv)(e)&&!(0,a.E6)(e)&&(0,a.Db)(e))return t?"uint":y(e);if(!Number.isFinite(e))return t?"string":v(e)}throw new s.zH8(e)},E=e=>{if("number"===typeof e)return e;if("bigint"===typeof e)return e>=Number.MIN_SAFE_INTEGER&&e<=Number.MAX_SAFE_INTEGER?Number(e):e;if("string"===typeof e&&(0,a.lX)(e))return g(e);try{return E(BigInt(e))}catch(ye){throw new s.lw5(e)}},A=e=>{if("number"===typeof e)return BigInt(e);if("bigint"===typeof e)return e;if("string"===typeof e&&(0,a.qv)(e))return e.startsWith("-")?-BigInt(e.substring(1)):BigInt(e);throw new s.lw5(e)},S=(e,t)=>{const r=d[t];if(!r)throw new s.iqJ(t);const n=String(E(e)),o=r.toString().length-1;if(o<=0)return n.toString();const i=n.padStart(o,"0"),a=i.slice(0,-o),c=i.slice(-o).replace(/\.?0+$/,"");return""===a?`0.${c}`:""===c?a:`${a}.${c}`},T=(e,t)=>{a.Nc.validate(["number"],[e]);const r=d[t];if(!r)throw new s.iqJ(t);const[n,o]=String("string"!==typeof e||(0,a.lX)(e)?E(e):e).split(".").concat(""),i=BigInt(`${n}${o}`),c=i*r,u=r.toString().length-1,l=Math.min(o.length,u);return 0===l?c.toString():c.toString().padStart(l,"0").slice(0,-l)},x=e=>{if(!(0,a.PW)(e,!1))throw new s.MsQ(e);const t=e.toLowerCase().replace(/^0x/i,""),r=a.utils.uint8ArrayToHexString((0,o.So)(a.utils.ensureIfUint8Array(w(t))));if((0,a.uy)(r)||"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"===r)return"";let n="0x";const i=r.replace(/^0x/i,"");for(let o=0;o7?n+=t[o].toUpperCase():n+=t[o];return n},C=e=>{if("boolean"===typeof e)return e;if("number"===typeof e&&(0===e||1===e))return Boolean(e);if("bigint"===typeof e&&(e===BigInt(0)||e===BigInt(1)))return Boolean(e);if("string"===typeof e&&!(0,a.lX)(e)&&("1"===e||"0"===e||"false"===e||"true"===e))return"true"===e||"false"!==e&&Boolean(Number(e));if("string"===typeof e&&(0,a.lX)(e)&&("0x1"===e||"0x0"===e))return Boolean(E(e));throw new s.oiV(e)};var I=r(30228);const O=I;class P extends O{constructor(){super(...arguments),this.maxListeners=Number.MAX_SAFE_INTEGER}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}}var k=r(20345);const N=e=>"object"===typeof e&&!(0,a.uy)(e)&&0!==Object.keys(e).length&&["input","data","from","gas","gasPrice","gasLimit","address","jsonInterface","syncWithContext","dataInputFill"].some((t=>t in e)),R=a.uy,M=e=>"object"===typeof e&&!(0,a.uy)(e)&&!Array.isArray(e)&&!(e instanceof k.wx),B=(e,...t)=>{if(!M(e))return e;const r=Object.assign({},e);for(const n of t)for(const e in n)M(n[e])?(r[e]||(r[e]={}),r[e]=B(r[e],n[e])):!(0,a.uy)(n[e])&&Object.hasOwnProperty.call(n,e)&&(Array.isArray(n[e])||n[e]instanceof k.wx?r[e]=n[e].slice(0):r[e]=n[e]);return r},L=(e,t,r="0")=>"string"===typeof e?(0,a.lX)(e)?a.utils.padLeft(e,t,r):e.padStart(t,r):(a.Nc.validate(["int"],[e]),a.utils.padLeft(e,t,r)),D=L,{parseBaseType:F}=a.utils,j=e=>"object"===typeof e&&!(0,a.uy)(e)&&"number"in e&&"bytes"in e,U=(e,t,r=[])=>{let n,o=Object.assign({},e);for(const i of t){if(o.oneOf&&n){const e=r.find((function(e){return this===e[0]}),null!==n&&void 0!==n?n:"");e&&e[0]===n&&(o=o.oneOf[e[1]])}if(!o.properties&&!o.items)return;if(o.properties)o=o.properties[i];else if(o.items&&o.items.properties){const e=o.items.properties;if(!e)return;o=e[i]}else o.items&&(0,a.Gv)(o.items)?o=o.items:o.items&&Array.isArray(o.items)&&(o=o.items[parseInt(i,10)]);o&&i&&(n=i)}return o},$=(e,t,r)=>{try{const{baseType:n,baseTypeSize:o}=F(t);if("int"===n||"uint"===n)switch(r.number){case k.M$.NUMBER:return Number(A(e));case k.M$.HEX:return y(A(e));case k.M$.STR:return A(e).toString();case k.M$.BIGINT:return A(e);default:throw new s.Buf(`Invalid format: ${String(r.number)}`)}if("bytes"===n){let t;switch(o?"string"===typeof e?t=L(e,2*o):c(e)&&(t=u(new Uint8Array(o-e.length),e)):t=e,r.bytes){case k.QR.HEX:return p(f(t));case k.QR.UINT8ARRAY:return f(t);default:throw new s.Buf(`Invalid format: ${String(r.bytes)}`)}}}catch(n){return e}return e},z=(e,t,r,n,o=[])=>{var i,s;if(!(0,a.Gv)(e)&&!Array.isArray(e))return $(e,null===t||void 0===t?void 0:t.format,n);const c=e;for(const[u,l]of Object.entries(c)){r.push(u);const e=U(t,r,o);if((0,a.uy)(e))delete c[u],r.pop();else if((0,a.Gv)(l))z(l,t,r,n),r.pop();else{if(Array.isArray(l)){let d=e;if(void 0!==(null===e||void 0===e?void 0:e.oneOf)&&e.oneOf.forEach(((t,r)=>{var n,i;!Array.isArray(null===e||void 0===e?void 0:e.items)&&("object"===typeof l[0]&&"object"===(null===(n=null===t||void 0===t?void 0:t.items)||void 0===n?void 0:n.type)||"string"===typeof l[0]&&"object"!==(null===(i=null===t||void 0===t?void 0:t.items)||void 0===i?void 0:i.type))&&(d=t,o.push([u,r]))})),(0,a.uy)(null===d||void 0===d?void 0:d.items)){delete c[u],r.pop();continue}if((0,a.Gv)(d.items)&&!(0,a.uy)(d.items.format)){for(let e=0;e{let n;n=(0,a.Gv)(t)?B({},t):Array.isArray(t)?[...t]:t;const o=(0,a.Gv)(e)?e:a.utils.ethAbiToJsonSchema(e);if(!o.properties&&!o.items&&!o.format)throw new s.Buf("Invalid json schema for formatting");return z(n,o,[],r)},V="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",G=e=>{let t;t="string"===typeof e?e.startsWith("0x")&&(0,a.lX)(e)?m(e):(0,i.AI)(e):e;const r=p((0,o.So)(a.utils.ensureIfUint8Array(t)));return r===V?void 0:r},q=e=>{const t=G(e);return(0,a.uy)(t)?V:t},W=e=>{let t;return t="bigint"===typeof e||"number"===typeof e?(0,i.AI)(e.toString()):Array.isArray(e)?new Uint8Array(e):"string"!==typeof e||(0,a.lX)(e)?f(e):(0,i.AI)(e),p((0,o.So)(a.utils.ensureIfUint8Array(t)))};var K=r(71274);function X(e){return(0,K.po)(e)}const Z=e=>X(e);var Y=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};function Q(e){return("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}function J(e,t,r){return Y(this,void 0,void 0,(function*(){let n;const o=yield Promise.race([e instanceof Promise?e:e(),new Promise(((e,o)=>{n=setTimeout((()=>r?o(r):e(void 0)),t)}))]);if(n&&clearTimeout(n),o instanceof Error)throw o;return o}))}function ee(e,t){let r;const n=new Promise(((n,o)=>{r=setInterval(function i(){return(()=>{Y(this,void 0,void 0,(function*(){try{const o=yield J(e,t);(0,a.uy)(o)||(clearInterval(r),n(o))}catch(i){clearInterval(r),o(i)}}))})(),i}(),t)}));return[n,r]}function te(e,t){let r;const n=new Promise(((n,o)=>{r=setTimeout((()=>{o(t)}),e)}));return[r,n]}function re(e,t){let r;const n=new Promise(((n,o)=>{r=setInterval((()=>{(()=>{Y(this,void 0,void 0,(function*(){const t=yield e();t&&(clearInterval(r),o(t))}))})()}),t)}));return[r,n]}const ne=()=>{const e=Z(16);e[6]=15&e[6]|64,e[8]=63&e[8]|128;const t=p(e);return[t.substring(2,10),t.substring(10,14),t.substring(14,18),t.substring(18,22),t.substring(22,34)].join("-")},oe=e=>{const t=e.error.code;return s.lv4.has(t)||t>=-32099&&t<=-32e3},ie=e=>!Array.isArray(e)&&!!e&&"2.0"===e.jsonrpc&&"result"in e&&(0,a.uy)(e.error)&&("number"===typeof e.id||"string"===typeof e.id),ae=e=>!Array.isArray(e)&&"2.0"===e.jsonrpc&&!!e&&(0,a.uy)(e.result)&&"error"in e&&("number"===typeof e.id||"string"===typeof e.id),se=e=>!Array.isArray(e)&&!!e&&"2.0"===e.jsonrpc&&!(0,a.uy)(e.params)&&!(0,a.uy)(e.method),ce=e=>!Array.isArray(e)&&!!e&&"2.0"===e.jsonrpc&&"id"in e&&"result"in e,ue=e=>ie(e)||ae(e),le=e=>Array.isArray(e)?e.every(ue):ue(e),de=e=>Array.isArray(e)&&e.length>0&&le(e);let fe;const he=e=>{fe=e},pe=e=>{var t,r,n,o;return"undefined"!==typeof fe&&(fe+=1),{jsonrpc:null!==(t=e.jsonrpc)&&void 0!==t?t:"2.0",id:null!==(n=null!==(r=e.id)&&void 0!==r?r:fe)&&void 0!==n?n:ne(),method:e.method,params:null!==(o=e.params)&&void 0!==o?o:void 0}},me=e=>e.map((e=>pe(e))),ge=e=>Array.isArray(e)&&e.length>0;var ye,ve=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class be{constructor({timeout:e,eagerStart:t,timeoutMessage:r}={timeout:0,eagerStart:!1,timeoutMessage:"DeferredPromise timed out"}){this[ye]="Promise",this._state="pending",this._promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t})),this._timeoutMessage=r,this._timeoutInterval=e,t&&this.startTimer()}get state(){return this._state}then(e,t){return ve(this,void 0,void 0,(function*(){return this._promise.then(e,t)}))}catch(e){return ve(this,void 0,void 0,(function*(){return this._promise.catch(e)}))}finally(e){return ve(this,void 0,void 0,(function*(){return this._promise.finally(e)}))}resolve(e){this._resolve(e),this._state="fulfilled",this._clearTimeout()}reject(e){this._reject(e),this._state="rejected",this._clearTimeout()}startTimer(){this._timeoutInterval&&this._timeoutInterval>0&&(this._timeoutId=setTimeout(this._checkTimeout.bind(this),this._timeoutInterval))}_checkTimeout(){"pending"===this._state&&this._timeoutId&&this.reject(new s.FqJ(this._timeoutMessage))}_clearTimeout(){this._timeoutId&&clearTimeout(this._timeoutId)}}ye=Symbol.toStringTag;class we{constructor(e,t){this.eventEmitter=e,this.autoReconnect=t,this.chunkTimout=15e3}clearQueues(){"function"===typeof this._clearQueues&&this._clearQueues()}onError(e){this._clearQueues=e}parseResponse(e){const t=[],r=e.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|");return r.forEach((e=>{let r,n=e;this.lastChunk&&(n=this.lastChunk+n);try{r=JSON.parse(n)}catch(o){return this.lastChunk=n,this.lastChunkTimeout&&clearTimeout(this.lastChunkTimeout),void(this.lastChunkTimeout=setTimeout((()=>{this.autoReconnect||(this.clearQueues(),this.eventEmitter.emit("error",new s.tFo({id:1,jsonrpc:"2.0",error:{code:2,message:"Chunk timeout"}})))}),this.chunkTimout))}clearTimeout(this.lastChunkTimeout),this.lastChunk=void 0,r&&t.push(r)})),t}}var _e=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};class Ee extends k.SB{constructor(){super(...arguments),this._eventEmitter=new I,this._chainId="",this._accounts=[]}_getChainId(){var e;return _e(this,void 0,void 0,(function*(){const t=yield this.request(pe({method:"eth_chainId",params:[]}));return null!==(e=null===t||void 0===t?void 0:t.result)&&void 0!==e?e:""}))}_getAccounts(){var e;return _e(this,void 0,void 0,(function*(){const t=yield this.request(pe({method:"eth_accounts",params:[]}));return null!==(e=null===t||void 0===t?void 0:t.result)&&void 0!==e?e:[]}))}_onConnect(){Promise.all([this._getChainId().then((e=>{e!==this._chainId&&(this._chainId=e,this._eventEmitter.emit("chainChanged",this._chainId))})).catch((e=>{console.error(e)})),this._getAccounts().then((e=>{this._accounts.length===e.length&&e.every((t=>e.includes(t)))||(this._accounts=e,this._onAccountsChanged())})).catch((e=>{console.error(e)}))]).then((()=>this._eventEmitter.emit("connect",{chainId:this._chainId}))).catch((e=>{console.error(e)}))}_onDisconnect(e,t){this._eventEmitter.emit("disconnect",new s.B0b(e,t))}_onAccountsChanged(){this._eventEmitter.emit("accountsChanged",this._accounts)}}var Ae=function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):o(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))};const Se={autoReconnect:!0,delay:5e3,maxAttempts:5},Te=1e3;class xe extends Ee{constructor(e,t,r){if(super(),this._connectionStatus="connecting",this._onMessageHandler=this._onMessage.bind(this),this._onOpenHandler=this._onConnect.bind(this),this._onCloseHandler=this._onCloseEvent.bind(this),this._onErrorHandler=this._onError.bind(this),!this._validateProviderPath(e))throw new s.Pgv(e);this._socketPath=e,this._socketOptions=t,this._reconnectOptions=Object.assign(Object.assign({},Se),null!==r&&void 0!==r?r:{}),this._pendingRequestsQueue=new Map,this._sentRequestsQueue=new Map,this._init(),this.connect(),this.chunkResponseParser=new we(this._eventEmitter,this._reconnectOptions.autoReconnect),this.chunkResponseParser.onError((()=>{this._clearQueues()})),this.isReconnecting=!1}get SocketConnection(){return this._socketConnection}_init(){this._reconnectAttempts=0}connect(){try{this._openSocketConnection(),this._connectionStatus="connecting",this._addSocketListeners()}catch(e){if(!this.isReconnecting)throw this._connectionStatus="disconnected",e&&e.message?new s.Rcq(`Error while connecting to ${this._socketPath}. Reason: ${e.message}`):new s.Pgv(this._socketPath);setImmediate((()=>{this._reconnect()}))}}_validateProviderPath(e){return!!e}getPendingRequestQueueSize(){return this._pendingRequestsQueue.size}getSentRequestsQueueSize(){return this._sentRequestsQueue.size}supportsSubscriptions(){return!0}on(e,t){this._eventEmitter.on(e,t)}once(e,t){this._eventEmitter.once(e,t)}removeListener(e,t){this._eventEmitter.removeListener(e,t)}_onDisconnect(e,t){this._connectionStatus="disconnected",super._onDisconnect(e,t)}disconnect(e,t){const r=null!==e&&void 0!==e?e:Te;this._removeSocketListeners(),"disconnected"!==this.getStatus()&&this._closeSocketConnection(r,t),this._onDisconnect(r,t)}safeDisconnect(e,t,r=!1,n=1e3){return Ae(this,void 0,void 0,(function*(){let o=0;const i=()=>Ae(this,void 0,void 0,(function*(){return new Promise((e=>{const t=setInterval((()=>{r&&5===o&&this.clearQueues(),0===this.getPendingRequestQueueSize()&&0===this.getSentRequestsQueueSize()&&(clearInterval(t),e(!0)),o+=1}),n)}))}));yield i(),this.disconnect(e,t)}))}removeAllListeners(e){this._eventEmitter.removeAllListeners(e)}_onError(e){this.isReconnecting?this._reconnect():this._eventEmitter.emit("error",e)}reset(){this._sentRequestsQueue.clear(),this._pendingRequestsQueue.clear(),this._init(),this._removeSocketListeners(),this._addSocketListeners()}_reconnect(){this.isReconnecting||(this.isReconnecting=!0,this._sentRequestsQueue.size>0&&this._sentRequestsQueue.forEach(((e,t)=>{e.deferredPromise.reject(new s.aJ3),this._sentRequestsQueue.delete(t)})),this._reconnectAttempts{this._removeSocketListeners(),this.connect(),this.isReconnecting=!1}),this._reconnectOptions.delay)):(this.isReconnecting=!1,this._clearQueues(),this._removeSocketListeners(),this._eventEmitter.emit("error",new s.H9x(this._reconnectOptions.maxAttempts))))}request(e){return Ae(this,void 0,void 0,(function*(){if(R(this._socketConnection))throw new Error("Connection is undefined");"disconnected"===this.getStatus()&&this.connect();const t=ge(e)?e[0].id:e.id;if(!t)throw new s.DL5("Request Id not defined");if(this._sentRequestsQueue.has(t))throw new s.kk9(t);const r=new be;r.catch((e=>{this._eventEmitter.emit("error",e)}));const n={payload:e,deferredPromise:r};if("connecting"===this.getStatus())return this._pendingRequestsQueue.set(t,n),n.deferredPromise;this._sentRequestsQueue.set(t,n);try{this._sendToSocket(n.payload)}catch(o){this._sentRequestsQueue.delete(t),this._eventEmitter.emit("error",o)}return r}))}_onConnect(){this._connectionStatus="connected",this._reconnectAttempts=0,super._onConnect(),this._sendPendingRequests()}_sendPendingRequests(){for(const[e,t]of this._pendingRequestsQueue.entries())this._sendToSocket(t.payload),this._pendingRequestsQueue.delete(e),this._sentRequestsQueue.set(e,t)}_onMessage(e){const t=this._parseResponses(e);if(!R(t)&&0!==t.length)for(const r of t){if(se(r)&&r.method.endsWith("_subscription"))return void this._eventEmitter.emit("message",r);const e=de(r)?r[0].id:r.id,t=this._sentRequestsQueue.get(e);if(!t)return;(de(r)||ie(r)||ae(r))&&(this._eventEmitter.emit("message",r),t.deferredPromise.resolve(r)),this._sentRequestsQueue.delete(e)}}clearQueues(e){this._clearQueues(e)}_clearQueues(e){this._pendingRequestsQueue.size>0&&this._pendingRequestsQueue.forEach(((t,r)=>{t.deferredPromise.reject(new s.W8o(e)),this._pendingRequestsQueue.delete(r)})),this._sentRequestsQueue.size>0&&this._sentRequestsQueue.forEach(((t,r)=>{t.deferredPromise.reject(new s.W8o(e)),this._sentRequestsQueue.delete(r)})),this._removeSocketListeners()}}},69825:(e,t,r)=>{"use strict";r.d(t,{qT:()=>Et,PW:()=>Qt,_N:()=>ir,aY:()=>Zt,qv:()=>Pt,Xs:()=>kt,lX:()=>It,Lo:()=>Ot,E6:()=>rr,uy:()=>ur,Et:()=>nr,Gv:()=>lr,Kg:()=>Ct,Db:()=>tr,utils:()=>n,M9:()=>Nt,Nc:()=>vr});var n={};r.r(n),r.d(n,{abiSchemaToJsonSchema:()=>Lt,codePointToInt:()=>Ut,ensureIfUint8Array:()=>Kt,ethAbiToJsonSchema:()=>Dt,fetchArrayElement:()=>Ft,hexToNumber:()=>$t,hexToUint8Array:()=>Wt,numberToHex:()=>zt,padLeft:()=>Ht,parseBaseType:()=>Mt,transformJsonDataToAbiFormat:()=>jt,uint8ArrayToHexString:()=>Vt});var o,i,a=r(39788);(function(e){function t(e){}function r(e){throw new Error}function n(e,t=" | "){return e.map((e=>"string"===typeof e?`'${e}'`:e)).join(t)}e.assertEqual=e=>e,e.assertIs=t,e.assertNever=r,e.arrayToEnum=e=>{const t={};for(const r of e)t[r]=r;return t},e.getValidEnumValues=t=>{const r=e.objectKeys(t).filter((e=>"number"!==typeof t[t[e]])),n={};for(const e of r)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"===typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(const r of e)if(t(r))return r},e.isInteger="function"===typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"===typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=n,e.jsonStringifyReplacer=(e,t)=>"bigint"===typeof t?t.toString():t})(o||(o={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(i||(i={}));const s=o.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),c=e=>{const t=typeof e;switch(t){case"undefined":return s.undefined;case"string":return s.string;case"number":return isNaN(e)?s.nan:s.number;case"boolean":return s.boolean;case"function":return s.function;case"bigint":return s.bigint;case"symbol":return s.symbol;case"object":return Array.isArray(e)?s.array:null===e?s.null:e.then&&"function"===typeof e.then&&e.catch&&"function"===typeof e.catch?s.promise:"undefined"!==typeof Map&&e instanceof Map?s.map:"undefined"!==typeof Set&&e instanceof Set?s.set:"undefined"!==typeof Date&&e instanceof Date?s.date:s.object;default:return s.unknown}},u=o.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),l=e=>{const t=JSON.stringify(e,null,2);return t.replace(/"([^"]+)":/g,"$1:")};class d extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(n);else if("invalid_return_type"===o.code)n(o.returnTypeError);else if("invalid_arguments"===o.code)n(o.argumentsError);else if(0===o.path.length)r._errors.push(t(o));else{let e=r,n=0;while(ne.message)){const t={},r=[];for(const n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}d.create=e=>{const t=new d(e);return t};const f=(e,t)=>{let r;switch(e.code){case u.invalid_type:r=e.received===s.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case u.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,o.jsonStringifyReplacer)}`;break;case u.unrecognized_keys:r=`Unrecognized key(s) in object: ${o.joinValues(e.keys,", ")}`;break;case u.invalid_union:r="Invalid input";break;case u.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${o.joinValues(e.options)}`;break;case u.invalid_enum_value:r=`Invalid enum value. Expected ${o.joinValues(e.options)}, received '${e.received}'`;break;case u.invalid_arguments:r="Invalid function arguments";break;case u.invalid_return_type:r="Invalid function return type";break;case u.invalid_date:r="Invalid date";break;case u.invalid_string:"object"===typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"===typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:o.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case u.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case u.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case u.custom:r="Invalid input";break;case u.invalid_intersection_types:r="Intersection results could not be merged";break;case u.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case u.not_finite:r="Number must be finite";break;default:r=t.defaultError,o.assertNever(e)}return{message:r}};let h=f;function p(e){h=e}function m(){return h}const g=e=>{const{data:t,path:r,errorMaps:n,issueData:o}=e,i=[...r,...o.path||[]],a={...o,path:i};let s="";const c=n.filter((e=>!!e)).slice().reverse();for(const u of c)s=u(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}},y=[];function v(e,t){const r=g({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,m(),f].filter((e=>!!e))});e.common.issues.push(r)}class b{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const n of t){if("aborted"===n.status)return w;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const n of t)r.push({key:await n.key,value:await n.value});return b.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const n of t){const{key:t,value:o}=n;if("aborted"===t.status)return w;if("aborted"===o.status)return w;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),"__proto__"===t.value||"undefined"===typeof o.value&&!n.alwaysSet||(r[t.value]=o.value)}return{status:e.value,value:r}}}const w=Object.freeze({status:"aborted"}),_=e=>({status:"dirty",value:e}),E=e=>({status:"valid",value:e}),A=e=>"aborted"===e.status,S=e=>"dirty"===e.status,T=e=>"valid"===e.status,x=e=>"undefined"!==typeof Promise&&e instanceof Promise;var C;(function(e){e.errToObj=e=>"string"===typeof e?{message:e}:e||{},e.toString=e=>"string"===typeof e?e:null===e||void 0===e?void 0:e.message})(C||(C={}));class I{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const O=(e,t)=>{if(T(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new d(e.common.issues);return this._error=t,this._error}}};function P(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:o}=e;if(t&&(r||n))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:o};const i=(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:"undefined"===typeof t.data?{message:null!==n&&void 0!==n?n:t.defaultError}:{message:null!==r&&void 0!==r?r:t.defaultError};return{errorMap:i,description:o}}class k{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return c(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:c(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new b,ctx:{common:e.parent.common,data:e.data,parsedType:c(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(x(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const n={common:{issues:[],async:null!==(r=null===t||void 0===t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null===t||void 0===t?void 0:t.errorMap},path:(null===t||void 0===t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:c(e)},o=this._parseSync({data:e,path:n.path,parent:n});return O(n,o)}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:null===t||void 0===t?void 0:t.errorMap,async:!0},path:(null===t||void 0===t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:c(e)},n=this._parse({data:e,path:r.path,parent:r}),o=await(x(n)?n:Promise.resolve(n));return O(r,o)}refine(e,t){const r=e=>"string"===typeof t||"undefined"===typeof t?{message:t}:"function"===typeof t?t(e):t;return this._refinement(((t,n)=>{const o=e(t),i=()=>n.addIssue({code:u.custom,...r(t)});return"undefined"!==typeof Promise&&o instanceof Promise?o.then((e=>!!e||(i(),!1))):!!o||(i(),!1)}))}refinement(e,t){return this._refinement(((r,n)=>!!e(r)||(n.addIssue("function"===typeof t?t(r,n):t),!1)))}_refinement(e){return new _e({schema:this,typeName:Re.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Ee.create(this,this._def)}nullable(){return Ae.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return re.create(this,this._def)}promise(){return we.create(this,this._def)}or(e){return ie.create([this,e],this._def)}and(e){return ue.create(this,e,this._def)}transform(e){return new _e({...P(this._def),schema:this,typeName:Re.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"===typeof e?e:()=>e;return new Se({...P(this._def),innerType:this,defaultValue:t,typeName:Re.ZodDefault})}brand(){return new Ie({typeName:Re.ZodBranded,type:this,...P(this._def)})}catch(e){const t="function"===typeof e?e:()=>e;return new Te({...P(this._def),innerType:this,catchValue:t,typeName:Re.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Oe.create(this,e)}readonly(){return Pe.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const N=/^c[^\s-]{8,}$/i,R=/^[a-z][a-z0-9]*$/,M=/^[0-9A-HJKMNP-TV-Z]{26}$/,B=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,L=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,D="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let F;const j=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,U=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,$=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function z(e,t){return!("v4"!==t&&t||!j.test(e))||!("v6"!==t&&t||!U.test(e))}class H extends k{_parse(e){this._def.coerce&&(e.data=String(e.data));const t=this._getType(e);if(t!==s.string){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.string,received:t.parsedType}),w}const r=new b;let n;for(const a of this._def.checks)if("min"===a.kind)e.data.lengtha.value&&(n=this._getOrReturnCtx(e,n),v(n,{code:u.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if("length"===a.kind){const t=e.data.length>a.value,o=e.data.lengthe.test(t)),{validation:t,code:u.invalid_string,...C.errToObj(r)})}_addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...C.errToObj(e)})}url(e){return this._addCheck({kind:"url",...C.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...C.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...C.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...C.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...C.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...C.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...C.errToObj(e)})}datetime(e){var t;return"string"===typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:"undefined"===typeof(null===e||void 0===e?void 0:e.precision)?null:null===e||void 0===e?void 0:e.precision,offset:null!==(t=null===e||void 0===e?void 0:e.offset)&&void 0!==t&&t,...C.errToObj(null===e||void 0===e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...C.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null===t||void 0===t?void 0:t.position,...C.errToObj(null===t||void 0===t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...C.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...C.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...C.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...C.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...C.errToObj(t)})}nonempty(e){return this.min(1,C.errToObj(e))}trim(){return new H({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new H({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new H({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.valuen?r:n,i=parseInt(e.toFixed(o).replace(".","")),a=parseInt(t.toFixed(o).replace(".",""));return i%a/Math.pow(10,o)}H.create=e=>{var t;return new H({checks:[],typeName:Re.ZodString,coerce:null!==(t=null===e||void 0===e?void 0:e.coerce)&&void 0!==t&&t,...P(e)})};class G extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));const t=this._getType(e);if(t!==s.number){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.number,received:t.parsedType}),w}let r;const n=new b;for(const i of this._def.checks)if("int"===i.kind)o.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),v(r,{code:u.invalid_type,expected:"integer",received:"float",message:i.message}),n.dirty());else if("min"===i.kind){const t=i.inclusive?e.datai.value:e.data>=i.value;t&&(r=this._getOrReturnCtx(e,r),v(r,{code:u.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty())}else"multipleOf"===i.kind?0!==V(e.data,i.value)&&(r=this._getOrReturnCtx(e,r),v(r,{code:u.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),v(r,{code:u.not_finite,message:i.message}),n.dirty()):o.assertNever(i);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,C.toString(t))}gt(e,t){return this.setLimit("min",e,!1,C.toString(t))}lte(e,t){return this.setLimit("max",e,!0,C.toString(t))}lt(e,t){return this.setLimit("max",e,!1,C.toString(t))}setLimit(e,t,r,n){return new G({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:C.toString(n)}]})}_addCheck(e){return new G({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:C.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:C.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:C.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:C.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:C.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:C.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:C.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:C.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:C.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&o.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew G({checks:[],typeName:Re.ZodNumber,coerce:(null===e||void 0===e?void 0:e.coerce)||!1,...P(e)});class q extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){this._def.coerce&&(e.data=BigInt(e.data));const t=this._getType(e);if(t!==s.bigint){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.bigint,received:t.parsedType}),w}let r;const n=new b;for(const i of this._def.checks)if("min"===i.kind){const t=i.inclusive?e.datai.value:e.data>=i.value;t&&(r=this._getOrReturnCtx(e,r),v(r,{code:u.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty())}else"multipleOf"===i.kind?e.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),v(r,{code:u.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):o.assertNever(i);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,C.toString(t))}gt(e,t){return this.setLimit("min",e,!1,C.toString(t))}lte(e,t){return this.setLimit("max",e,!0,C.toString(t))}lt(e,t){return this.setLimit("max",e,!1,C.toString(t))}setLimit(e,t,r,n){return new q({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:C.toString(n)}]})}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:C.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:C.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:C.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:C.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:C.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new q({checks:[],typeName:Re.ZodBigInt,coerce:null!==(t=null===e||void 0===e?void 0:e.coerce)&&void 0!==t&&t,...P(e)})};class W extends k{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));const t=this._getType(e);if(t!==s.boolean){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.boolean,received:t.parsedType}),w}return E(e.data)}}W.create=e=>new W({typeName:Re.ZodBoolean,coerce:(null===e||void 0===e?void 0:e.coerce)||!1,...P(e)});class K extends k{_parse(e){this._def.coerce&&(e.data=new Date(e.data));const t=this._getType(e);if(t!==s.date){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.date,received:t.parsedType}),w}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_date}),w}const r=new b;let n;for(const i of this._def.checks)"min"===i.kind?e.data.getTime()i.value&&(n=this._getOrReturnCtx(e,n),v(n,{code:u.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):o.assertNever(i);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new K({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:C.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:C.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew K({checks:[],coerce:(null===e||void 0===e?void 0:e.coerce)||!1,typeName:Re.ZodDate,...P(e)});class X extends k{_parse(e){const t=this._getType(e);if(t!==s.symbol){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.symbol,received:t.parsedType}),w}return E(e.data)}}X.create=e=>new X({typeName:Re.ZodSymbol,...P(e)});class Z extends k{_parse(e){const t=this._getType(e);if(t!==s.undefined){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.undefined,received:t.parsedType}),w}return E(e.data)}}Z.create=e=>new Z({typeName:Re.ZodUndefined,...P(e)});class Y extends k{_parse(e){const t=this._getType(e);if(t!==s.null){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.null,received:t.parsedType}),w}return E(e.data)}}Y.create=e=>new Y({typeName:Re.ZodNull,...P(e)});class Q extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return E(e.data)}}Q.create=e=>new Q({typeName:Re.ZodAny,...P(e)});class J extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return E(e.data)}}J.create=e=>new J({typeName:Re.ZodUnknown,...P(e)});class ee extends k{_parse(e){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.never,received:t.parsedType}),w}}ee.create=e=>new ee({typeName:Re.ZodNever,...P(e)});class te extends k{_parse(e){const t=this._getType(e);if(t!==s.undefined){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.void,received:t.parsedType}),w}return E(e.data)}}te.create=e=>new te({typeName:Re.ZodVoid,...P(e)});class re extends k{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==s.array)return v(t,{code:u.invalid_type,expected:s.array,received:t.parsedType}),w;if(null!==n.exactLength){const e=t.data.length>n.exactLength.value,o=t.data.lengthn.maxLength.value&&(v(t,{code:u.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map(((e,r)=>n.type._parseAsync(new I(t,e,t.path,r))))).then((e=>b.mergeArray(r,e)));const o=[...t.data].map(((e,r)=>n.type._parseSync(new I(t,e,t.path,r))));return b.mergeArray(r,o)}get element(){return this._def.type}min(e,t){return new re({...this._def,minLength:{value:e,message:C.toString(t)}})}max(e,t){return new re({...this._def,maxLength:{value:e,message:C.toString(t)}})}length(e,t){return new re({...this._def,exactLength:{value:e,message:C.toString(t)}})}nonempty(e){return this.min(1,e)}}function ne(e){if(e instanceof oe){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=Ee.create(ne(n))}return new oe({...e._def,shape:()=>t})}return e instanceof re?new re({...e._def,type:ne(e.element)}):e instanceof Ee?Ee.create(ne(e.unwrap())):e instanceof Ae?Ae.create(ne(e.unwrap())):e instanceof le?le.create(e.items.map((e=>ne(e)))):e}re.create=(e,t)=>new re({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Re.ZodArray,...P(t)});class oe extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=o.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){const t=this._getType(e);if(t!==s.object){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.object,received:t.parsedType}),w}const{status:r,ctx:n}=this._processInputParams(e),{shape:o,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ee&&"strip"===this._def.unknownKeys))for(const s in n.data)i.includes(s)||a.push(s);const c=[];for(const s of i){const e=o[s],t=n.data[s];c.push({key:{status:"valid",value:s},value:e._parse(new I(n,t,n.path,s)),alwaysSet:s in n.data})}if(this._def.catchall instanceof ee){const e=this._def.unknownKeys;if("passthrough"===e)for(const t of a)c.push({key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}});else if("strict"===e)a.length>0&&(v(n,{code:u.unrecognized_keys,keys:a}),r.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of a){const r=n.data[t];c.push({key:{status:"valid",value:t},value:e._parse(new I(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of c){const r=await t.key;e.push({key:r,value:await t.value,alwaysSet:t.alwaysSet})}return e})).then((e=>b.mergeObjectSync(r,e))):b.mergeObjectSync(r,c)}get shape(){return this._def.shape()}strict(e){return C.errToObj,new oe({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,o,i,a;const s=null!==(i=null===(o=(n=this._def).errorMap)||void 0===o?void 0:o.call(n,t,r).message)&&void 0!==i?i:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=C.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new oe({...this._def,unknownKeys:"strip"})}passthrough(){return new oe({...this._def,unknownKeys:"passthrough"})}extend(e){return new oe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new oe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Re.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new oe({...this._def,catchall:e})}pick(e){const t={};return o.objectKeys(e).forEach((r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])})),new oe({...this._def,shape:()=>t})}omit(e){const t={};return o.objectKeys(this.shape).forEach((r=>{e[r]||(t[r]=this.shape[r])})),new oe({...this._def,shape:()=>t})}deepPartial(){return ne(this)}partial(e){const t={};return o.objectKeys(this.shape).forEach((r=>{const n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()})),new oe({...this._def,shape:()=>t})}required(e){const t={};return o.objectKeys(this.shape).forEach((r=>{if(e&&!e[r])t[r]=this.shape[r];else{const e=this.shape[r];let n=e;while(n instanceof Ee)n=n._def.innerType;t[r]=n}})),new oe({...this._def,shape:()=>t})}keyof(){return ye(o.objectKeys(this.shape))}}oe.create=(e,t)=>new oe({shape:()=>e,unknownKeys:"strip",catchall:ee.create(),typeName:Re.ZodObject,...P(t)}),oe.strictCreate=(e,t)=>new oe({shape:()=>e,unknownKeys:"strict",catchall:ee.create(),typeName:Re.ZodObject,...P(t)}),oe.lazycreate=(e,t)=>new oe({shape:e,unknownKeys:"strip",catchall:ee.create(),typeName:Re.ZodObject,...P(t)});class ie extends k{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;function n(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const r=e.map((e=>new d(e.ctx.common.issues)));return v(t,{code:u.invalid_union,unionErrors:r}),w}if(t.common.async)return Promise.all(r.map((async e=>{const r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}}))).then(n);{let e;const n=[];for(const i of r){const r={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=n.map((e=>new d(e)));return v(t,{code:u.invalid_union,unionErrors:o}),w}}get options(){return this._def.options}}ie.create=(e,t)=>new ie({options:e,typeName:Re.ZodUnion,...P(t)});const ae=e=>e instanceof me?ae(e.schema):e instanceof _e?ae(e.innerType()):e instanceof ge?[e.value]:e instanceof ve?e.options:e instanceof be?Object.keys(e.enum):e instanceof Se?ae(e._def.innerType):e instanceof Z?[void 0]:e instanceof Y?[null]:null;class se extends k{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.object)return v(t,{code:u.invalid_type,expected:s.object,received:t.parsedType}),w;const r=this.discriminator,n=t.data[r],o=this.optionsMap.get(n);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(v(t,{code:u.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),w)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const n=new Map;for(const o of t){const t=ae(o.shape[e]);if(!t)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const r of t){if(n.has(r))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);n.set(r,o)}}return new se({typeName:Re.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...P(r)})}}function ce(e,t){const r=c(e),n=c(t);if(e===t)return{valid:!0,data:e};if(r===s.object&&n===s.object){const r=o.objectKeys(t),n=o.objectKeys(e).filter((e=>-1!==r.indexOf(e))),i={...e,...t};for(const o of n){const r=ce(e[o],t[o]);if(!r.valid)return{valid:!1};i[o]=r.data}return{valid:!0,data:i}}if(r===s.array&&n===s.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let n=0;n{if(A(e)||A(n))return w;const o=ce(e.value,n.value);return o.valid?((S(e)||S(n))&&t.dirty(),{status:t.value,value:o.data}):(v(r,{code:u.invalid_intersection_types}),w)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((([e,t])=>n(e,t))):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ue.create=(e,t,r)=>new ue({left:e,right:t,typeName:Re.ZodIntersection,...P(r)});class le extends k{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==s.array)return v(r,{code:u.invalid_type,expected:s.array,received:r.parsedType}),w;if(r.data.lengththis._def.items.length&&(v(r,{code:u.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const o=[...r.data].map(((e,t)=>{const n=this._def.items[t]||this._def.rest;return n?n._parse(new I(r,e,r.path,t)):null})).filter((e=>!!e));return r.common.async?Promise.all(o).then((e=>b.mergeArray(t,e))):b.mergeArray(t,o)}get items(){return this._def.items}rest(e){return new le({...this._def,rest:e})}}le.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new le({items:e,typeName:Re.ZodTuple,rest:null,...P(t)})};class de extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==s.object)return v(r,{code:u.invalid_type,expected:s.object,received:r.parsedType}),w;const n=[],o=this._def.keyType,i=this._def.valueType;for(const a in r.data)n.push({key:o._parse(new I(r,a,r.path,a)),value:i._parse(new I(r,r.data[a],r.path,a))});return r.common.async?b.mergeObjectAsync(t,n):b.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new de(t instanceof k?{keyType:e,valueType:t,typeName:Re.ZodRecord,...P(r)}:{keyType:H.create(),valueType:e,typeName:Re.ZodRecord,...P(t)})}}class fe extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==s.map)return v(r,{code:u.invalid_type,expected:s.map,received:r.parsedType}),w;const n=this._def.keyType,o=this._def.valueType,i=[...r.data.entries()].map((([e,t],i)=>({key:n._parse(new I(r,e,r.path,[i,"key"])),value:o._parse(new I(r,t,r.path,[i,"value"]))})));if(r.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const r of i){const n=await r.key,o=await r.value;if("aborted"===n.status||"aborted"===o.status)return w;"dirty"!==n.status&&"dirty"!==o.status||t.dirty(),e.set(n.value,o.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const r of i){const n=r.key,o=r.value;if("aborted"===n.status||"aborted"===o.status)return w;"dirty"!==n.status&&"dirty"!==o.status||t.dirty(),e.set(n.value,o.value)}return{status:t.value,value:e}}}}fe.create=(e,t,r)=>new fe({valueType:t,keyType:e,typeName:Re.ZodMap,...P(r)});class he extends k{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==s.set)return v(r,{code:u.invalid_type,expected:s.set,received:r.parsedType}),w;const n=this._def;null!==n.minSize&&r.data.sizen.maxSize.value&&(v(r,{code:u.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());const o=this._def.valueType;function i(e){const r=new Set;for(const n of e){if("aborted"===n.status)return w;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}const a=[...r.data.values()].map(((e,t)=>o._parse(new I(r,e,r.path,t))));return r.common.async?Promise.all(a).then((e=>i(e))):i(a)}min(e,t){return new he({...this._def,minSize:{value:e,message:C.toString(t)}})}max(e,t){return new he({...this._def,maxSize:{value:e,message:C.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}he.create=(e,t)=>new he({valueType:e,minSize:null,maxSize:null,typeName:Re.ZodSet,...P(t)});class pe extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.function)return v(t,{code:u.invalid_type,expected:s.function,received:t.parsedType}),w;function r(e,r){return g({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m(),f].filter((e=>!!e)),issueData:{code:u.invalid_arguments,argumentsError:r}})}function n(e,r){return g({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,m(),f].filter((e=>!!e)),issueData:{code:u.invalid_return_type,returnTypeError:r}})}const o={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof we){const e=this;return E((async function(...t){const a=new d([]),s=await e._def.args.parseAsync(t,o).catch((e=>{throw a.addIssue(r(t,e)),a})),c=await Reflect.apply(i,this,s),u=await e._def.returns._def.type.parseAsync(c,o).catch((e=>{throw a.addIssue(n(c,e)),a}));return u}))}{const e=this;return E((function(...t){const a=e._def.args.safeParse(t,o);if(!a.success)throw new d([r(t,a.error)]);const s=Reflect.apply(i,this,a.data),c=e._def.returns.safeParse(s,o);if(!c.success)throw new d([n(s,c.error)]);return c.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new pe({...this._def,args:le.create(e).rest(J.create())})}returns(e){return new pe({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,r){return new pe({args:e||le.create([]).rest(J.create()),returns:t||J.create(),typeName:Re.ZodFunction,...P(r)})}}class me extends k{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.getter();return r._parse({data:t.data,path:t.path,parent:t})}}me.create=(e,t)=>new me({getter:e,typeName:Re.ZodLazy,...P(t)});class ge extends k{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return v(t,{received:t.data,code:u.invalid_literal,expected:this._def.value}),w}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ye(e,t){return new ve({values:e,typeName:Re.ZodEnum,...P(t)})}ge.create=(e,t)=>new ge({value:e,typeName:Re.ZodLiteral,...P(t)});class ve extends k{_parse(e){if("string"!==typeof e.data){const t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{expected:o.joinValues(r),received:t.parsedType,code:u.invalid_type}),w}if(-1===this._def.values.indexOf(e.data)){const t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{received:t.data,code:u.invalid_enum_value,options:r}),w}return E(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return ve.create(e)}exclude(e){return ve.create(this.options.filter((t=>!e.includes(t))))}}ve.create=ye;class be extends k{_parse(e){const t=o.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==s.string&&r.parsedType!==s.number){const e=o.objectValues(t);return v(r,{expected:o.joinValues(e),received:r.parsedType,code:u.invalid_type}),w}if(-1===t.indexOf(e.data)){const e=o.objectValues(t);return v(r,{received:r.data,code:u.invalid_enum_value,options:e}),w}return E(e.data)}get enum(){return this._def.values}}be.create=(e,t)=>new be({values:e,typeName:Re.ZodNativeEnum,...P(t)});class we extends k{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.promise&&!1===t.common.async)return v(t,{code:u.invalid_type,expected:s.promise,received:t.parsedType}),w;const r=t.parsedType===s.promise?t.data:Promise.resolve(t.data);return E(r.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}we.create=(e,t)=>new we({type:e,typeName:Re.ZodPromise,...P(t)});class _e extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Re.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,i={addIssue:e=>{v(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===n.type){const e=n.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:r.path,parent:r}))):this._def.schema._parseSync({data:e,path:r.path,parent:r})}if("refinement"===n.type){const e=e=>{const t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===r.common.async){const n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?w:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((r=>"aborted"===r.status?w:("dirty"===r.status&&t.dirty(),e(r.value).then((()=>({status:t.value,value:r.value}))))))}if("transform"===n.type){if(!1===r.common.async){const e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!T(e))return e;const o=n.transform(e.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((e=>T(e)?Promise.resolve(n.transform(e.value,i)).then((e=>({status:t.value,value:e}))):e))}o.assertNever(n)}}_e.create=(e,t,r)=>new _e({schema:e,typeName:Re.ZodEffects,effect:t,...P(r)}),_e.createWithPreprocess=(e,t,r)=>new _e({schema:t,effect:{type:"preprocess",transform:e},typeName:Re.ZodEffects,...P(r)});class Ee extends k{_parse(e){const t=this._getType(e);return t===s.undefined?E(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ee.create=(e,t)=>new Ee({innerType:e,typeName:Re.ZodOptional,...P(t)});class Ae extends k{_parse(e){const t=this._getType(e);return t===s.null?E(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ae.create=(e,t)=>new Ae({innerType:e,typeName:Re.ZodNullable,...P(t)});class Se extends k{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===s.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Se.create=(e,t)=>new Se({innerType:e,typeName:Re.ZodDefault,defaultValue:"function"===typeof t.default?t.default:()=>t.default,...P(t)});class Te extends k{_parse(e){const{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return x(n)?n.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new d(r.common.issues)},input:r.data})}))):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new d(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Te.create=(e,t)=>new Te({innerType:e,typeName:Re.ZodCatch,catchValue:"function"===typeof t.catch?t.catch:()=>t.catch,...P(t)});class xe extends k{_parse(e){const t=this._getType(e);if(t!==s.nan){const t=this._getOrReturnCtx(e);return v(t,{code:u.invalid_type,expected:s.nan,received:t.parsedType}),w}return{status:"valid",value:e.data}}}xe.create=e=>new xe({typeName:Re.ZodNaN,...P(e)});const Ce=Symbol("zod_brand");class Ie extends k{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class Oe extends k{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async){const e=async()=>{const e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?w:"dirty"===e.status?(t.dirty(),_(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})};return e()}{const e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?w:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new Oe({in:e,out:t,typeName:Re.ZodPipeline})}}class Pe extends k{_parse(e){const t=this._def.innerType._parse(e);return T(t)&&(t.value=Object.freeze(t.value)),t}}Pe.create=(e,t)=>new Pe({innerType:e,typeName:Re.ZodReadonly,...P(t)});const ke=(e,t={},r)=>e?Q.create().superRefine(((n,o)=>{var i,a;if(!e(n)){const e="function"===typeof t?t(n):"string"===typeof t?{message:t}:t,s=null===(a=null!==(i=e.fatal)&&void 0!==i?i:r)||void 0===a||a,c="string"===typeof e?{message:e}:e;o.addIssue({code:"custom",...c,fatal:s})}})):Q.create(),Ne={object:oe.lazycreate};var Re;(function(e){e["ZodString"]="ZodString",e["ZodNumber"]="ZodNumber",e["ZodNaN"]="ZodNaN",e["ZodBigInt"]="ZodBigInt",e["ZodBoolean"]="ZodBoolean",e["ZodDate"]="ZodDate",e["ZodSymbol"]="ZodSymbol",e["ZodUndefined"]="ZodUndefined",e["ZodNull"]="ZodNull",e["ZodAny"]="ZodAny",e["ZodUnknown"]="ZodUnknown",e["ZodNever"]="ZodNever",e["ZodVoid"]="ZodVoid",e["ZodArray"]="ZodArray",e["ZodObject"]="ZodObject",e["ZodUnion"]="ZodUnion",e["ZodDiscriminatedUnion"]="ZodDiscriminatedUnion",e["ZodIntersection"]="ZodIntersection",e["ZodTuple"]="ZodTuple",e["ZodRecord"]="ZodRecord",e["ZodMap"]="ZodMap",e["ZodSet"]="ZodSet",e["ZodFunction"]="ZodFunction",e["ZodLazy"]="ZodLazy",e["ZodLiteral"]="ZodLiteral",e["ZodEnum"]="ZodEnum",e["ZodEffects"]="ZodEffects",e["ZodNativeEnum"]="ZodNativeEnum",e["ZodOptional"]="ZodOptional",e["ZodNullable"]="ZodNullable",e["ZodDefault"]="ZodDefault",e["ZodCatch"]="ZodCatch",e["ZodPromise"]="ZodPromise",e["ZodBranded"]="ZodBranded",e["ZodPipeline"]="ZodPipeline",e["ZodReadonly"]="ZodReadonly"})(Re||(Re={}));const Me=(e,t={message:`Input not instance of ${e.name}`})=>ke((t=>t instanceof e),t),Be=H.create,Le=G.create,De=xe.create,Fe=q.create,je=W.create,Ue=K.create,$e=X.create,ze=Z.create,He=Y.create,Ve=Q.create,Ge=J.create,qe=ee.create,We=te.create,Ke=re.create,Xe=oe.create,Ze=oe.strictCreate,Ye=ie.create,Qe=se.create,Je=ue.create,et=le.create,tt=de.create,rt=fe.create,nt=he.create,ot=pe.create,it=me.create,at=ge.create,st=ve.create,ct=be.create,ut=we.create,lt=_e.create,dt=Ee.create,ft=Ae.create,ht=_e.createWithPreprocess,pt=Oe.create,mt=()=>Be().optional(),gt=()=>Le().optional(),yt=()=>je().optional(),vt={string:e=>H.create({...e,coerce:!0}),number:e=>G.create({...e,coerce:!0}),boolean:e=>W.create({...e,coerce:!0}),bigint:e=>q.create({...e,coerce:!0}),date:e=>K.create({...e,coerce:!0})},bt=w;var wt=Object.freeze({__proto__:null,defaultErrorMap:f,setErrorMap:p,getErrorMap:m,makeIssue:g,EMPTY_PATH:y,addIssueToContext:v,ParseStatus:b,INVALID:w,DIRTY:_,OK:E,isAborted:A,isDirty:S,isValid:T,isAsync:x,get util(){return o},get objectUtil(){return i},ZodParsedType:s,getParsedType:c,ZodType:k,ZodString:H,ZodNumber:G,ZodBigInt:q,ZodBoolean:W,ZodDate:K,ZodSymbol:X,ZodUndefined:Z,ZodNull:Y,ZodAny:Q,ZodUnknown:J,ZodNever:ee,ZodVoid:te,ZodArray:re,ZodObject:oe,ZodUnion:ie,ZodDiscriminatedUnion:se,ZodIntersection:ue,ZodTuple:le,ZodRecord:de,ZodMap:fe,ZodSet:he,ZodFunction:pe,ZodLazy:me,ZodLiteral:ge,ZodEnum:ve,ZodNativeEnum:be,ZodPromise:we,ZodEffects:_e,ZodTransformer:_e,ZodOptional:Ee,ZodNullable:Ae,ZodDefault:Se,ZodCatch:Te,ZodNaN:xe,BRAND:Ce,ZodBranded:Ie,ZodPipeline:Oe,ZodReadonly:Pe,custom:ke,Schema:k,ZodSchema:k,late:Ne,get ZodFirstPartyTypeKind(){return Re},coerce:vt,any:Ve,array:Ke,bigint:Fe,boolean:je,date:Ue,discriminatedUnion:Qe,effect:lt,enum:st,function:ot,instanceof:Me,intersection:Je,lazy:it,literal:at,map:rt,nan:De,nativeEnum:ct,never:qe,null:He,nullable:ft,number:Le,object:Xe,oboolean:yt,onumber:gt,optional:dt,ostring:mt,pipeline:pt,preprocess:ht,promise:ut,record:tt,set:nt,strictObject:Ze,string:Be,symbol:$e,transformer:lt,tuple:et,undefined:ze,union:Ye,unknown:Ge,void:We,NEVER:bt,ZodIssueCode:u,quotelessJson:l,ZodError:d});const _t=e=>e.message?e.message:"unspecified error";class Et extends a.vGW{constructor(e){super(),this.code=a.c08,this.errors=e,super.message=`Web3 validator found ${e.length} error[s]:\n${this._compileErrors().join("\n")}`}_compileErrors(){return this.errors.map(_t)}}var At=r(90433),St=r(40651);const Tt=["bool","int","uint","bytes","string","address","tuple"],xt=e=>"object"===typeof e&&"type"in e&&"name"in e,Ct=e=>"string"===typeof e,It=e=>"string"===typeof e&&/^((-)?0x[0-9a-f]+|(0x))$/i.test(e);function Ot(e,t){return!("string"!==typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&!("undefined"!==typeof t&&t>0&&e.length!==2+2*t)}const Pt=e=>"number"===typeof e||"bigint"===typeof e||"string"===typeof e&&/^((-0x|0x|-)?[0-9a-f]+|(0x))$/i.test(e);function kt(e){if("string"!==typeof e)throw new Error("[isHexPrefixed] input must be type 'string', received type "+typeof e);return e.startsWith("0x")}const Nt=function(e){for(const[t,r]of Object.entries(e))if(void 0!==r&&r.length>0&&0===r[0])throw new Error(`${t} cannot have leading zeroes, received: ${r.toString()}`)},Rt=["hex","number","blockNumber","blockNumberOrTag","filter","bloom"],Mt=e=>{let t,r=e.replace(/ /,""),n=!1,o=[];if(e.includes("[")&&(r=r.slice(0,r.indexOf("[")),o=[...e.matchAll(/(?:\[(\d*)\])/g)].map((e=>parseInt(e[1],10))).map((e=>Number.isNaN(e)?-1:e)),n=o.length>0),Tt.includes(r))return{baseType:r,isArray:n,baseTypeSize:t,arraySizes:o};if(r.startsWith("int"))t=parseInt(r.substring(3),10),r="int";else if(r.startsWith("uint"))t=parseInt(e.substring(4),10),r="uint";else{if(!r.startsWith("bytes"))return{baseType:void 0,isArray:!1,baseTypeSize:void 0,arraySizes:o};t=parseInt(r.substring(5),10),r="bytes"}return{baseType:r,isArray:n,baseTypeSize:t,arraySizes:o}},Bt=(e,t={})=>{const r=Object.keys(t).includes("type");if(r)throw new Et([{keyword:"eth",message:'Either "eth" or "type" can be presented in schema',params:{eth:e},instancePath:"",schemaPath:""}]);const{baseType:n,baseTypeSize:o}=Mt(e);if(!n&&!Rt.includes(e))throw new Et([{keyword:"eth",message:`Eth data type "${e}" is not valid`,params:{eth:e},instancePath:"",schemaPath:""}]);if(n){if("tuple"===n)throw new Error('"tuple" type is not implemented directly.');return{format:`${n}${null!==o&&void 0!==o?o:""}`,required:!0}}return e?{format:e,required:!0}:{}},Lt=(e,t="/0")=>{const r={type:"array",items:[],maxItems:e.length,minItems:e.length};for(const[n,o]of e.entries()){let e,i,a=[];xt(o)?(e=o.type,i=o.name,a=o.components):"string"===typeof o?(e=o,i=`${t}/${n}`):Array.isArray(o)&&(o[0]&&"string"===typeof o[0]&&o[0].startsWith("tuple")&&!Array.isArray(o[0])&&o[1]&&Array.isArray(o[1])?(e=o[0],i=`${t}/${n}`,a=o[1]):(e="tuple",i=`${t}/${n}`,a=o));const{baseType:s,isArray:c,arraySizes:u}=Mt(e);let l,d=r;for(let t=u.length-1;t>0;t-=1)l={type:"array",items:[],maxItems:u[t],minItems:u[t]},u[t]<0&&(delete l.maxItems,delete l.minItems),Array.isArray(d.items)?0===d.items.length?d.items=l:d.items.push(l):d.items=[d.items,l],d=l;if("tuple"!==s||c)if("tuple"===s&&c){const e=u[0],t={$id:i,type:"array",items:Lt(a,i),maxItems:e,minItems:e};e<0&&(delete t.maxItems,delete t.minItems),d.items.push(t)}else if(c){const e=u[0],t={type:"array",$id:i,items:Bt(String(s)),minItems:e,maxItems:e};e<0&&(delete t.maxItems,delete t.minItems),d.items.push(t)}else Array.isArray(d.items)?d.items.push(Object.assign({$id:i},Bt(e))):d.items.items.push(Object.assign({$id:i},Bt(e)));else{const e=Lt(a,i);e.$id=i,d.items.push(e)}d=r}return r},Dt=e=>Lt(e),Ft=(e,t)=>1===t?e:Ft(e[0],t-1),jt=(e,t,r)=>{const n=[];for(const[o,i]of e.entries()){let e,a,s=[];xt(i)?(e=i.type,a=i.name,s=i.components):"string"===typeof i?e=i:Array.isArray(i)&&(i[1]&&Array.isArray(i[1])?(e=i[0],s=i[1]):(e="tuple",s=i));const{baseType:c,isArray:u,arraySizes:l}=Mt(e),d=Array.isArray(t)?t[o]:t[a];if("tuple"!==c||u)if("tuple"===c&&u){const e=[];for(const t of d)if(l.length>1){const n=Ft(t,l.length-1),o=[];for(const e of n)o.push(jt(s,e,r));e.push(o)}else e.push(jt(s,t,r));n.push(e)}else n.push(d);else n.push(jt(s,d,r))}return r=null!==r&&void 0!==r?r:[],r.push(...n),r},Ut=e=>{if(e>=48&&e<=57)return e-48;if(e>=65&&e<=70)return e-55;if(e>=97&&e<=102)return e-87;throw new Error(`Invalid code point: ${e}`)},$t=e=>{if(!It(e))throw new Error("Invalid hex string");const[t,r]=e.startsWith("-")?[!0,e.slice(1)]:[!1,e],n=BigInt(r);return n>Number.MAX_SAFE_INTEGER?t?-n:n:n{if(("number"===typeof e||"bigint"===typeof e)&&e<0)return`-0x${e.toString(16).slice(1)}`;if(("number"===typeof e||"bigint"===typeof e)&&e>=0)return`0x${e.toString(16)}`;if("string"===typeof e&&It(e)){const[t,r]=e.startsWith("-")?[!0,e.slice(1)]:[!1,e],n=r.split(/^(-)?0(x|X)/).slice(-1)[0];return`${t?"-":""}0x${n.replace(/^0+/,"").toLowerCase()}`}if("string"===typeof e&&!It(e))return zt(BigInt(e));throw new a.lw5(e)},Ht=(e,t,r="0")=>{if("string"===typeof e&&!It(e))return e.padStart(t,r);const n="string"===typeof e&&It(e)?e:zt(e),[o,i]=n.startsWith("-")?["-0x",n.slice(3)]:["0x",n.slice(2)];return`${o}${i.padStart(t,r)}`};function Vt(e){let t="0x";for(const r of e){const e=r.toString(16);t+=1===e.length?`0${e}`:e}return t}const Gt={zero:48,nine:57,A:65,F:70,a:97,f:102};function qt(e){return e>=Gt.zero&&e<=Gt.nine?e-Gt.zero:e>=Gt.A&&e<=Gt.F?e-(Gt.A-10):e>=Gt.a&&e<=Gt.f?e-(Gt.a-10):void 0}function Wt(e){let t=0;if(!e.startsWith("0")||"x"!==e[1]&&"X"!==e[1]||(t=2),e.length%2!==0)throw new a.xRF(`hex string has odd length: ${e}`);const r=(e.length-t)/2,n=new Uint8Array(r);for(let o=0,i=t;o{var t;return e instanceof Uint8Array||"Uint8Array"===(null===(t=null===e||void 0===e?void 0:e.constructor)||void 0===t?void 0:t.name)},Zt=(e,t={abiType:"bytes"})=>{if("string"!==typeof e&&!Array.isArray(e)&&!Xt(e))return!1;if("string"===typeof e&&It(e)&&e.startsWith("-"))return!1;if("string"===typeof e&&!It(e))return!1;let r;if("string"===typeof e){if(e.length%2!==0)return!1;r=Wt(e)}else if(Array.isArray(e)){if(e.some((e=>e<0||e>255||!Number.isInteger(e))))return!1;r=new Uint8Array(e)}else r=e;if(null===t||void 0===t?void 0:t.abiType){const{baseTypeSize:e}=Mt(t.abiType);return!e||r.length===e}return!(null===t||void 0===t?void 0:t.size)||r.length===(null===t||void 0===t?void 0:t.size)},Yt=e=>{if(!/^(0x)?[0-9a-f]{40}$/i.test(e))return!1;const t=e.slice(2),r=(0,St.AI)(t.toLowerCase()),n=Vt((0,At.So)(Kt(r))).slice(2);for(let o=0;o<40;o+=1)if(parseInt(n[o],16)>7&&t[o].toUpperCase()!==t[o]||parseInt(n[o],16)<=7&&t[o].toLowerCase()!==t[o])return!1;return!0},Qt=(e,t=!0)=>{if("string"!==typeof e&&!Xt(e))return!1;let r;return r=Xt(e)?Vt(e):"string"!==typeof e||It(e)||e.toLowerCase().startsWith("0x")?e:`0x${e}`,!!/^(0x)?[0-9a-f]{40}$/i.test(r)&&(!(!/^(0x|0X)?[0-9a-f]{40}$/.test(r)&&!/^(0x|0X)?[0-9A-F]{40}$/.test(r))||(!t||Yt(r)))};var Jt=r(20345);const er=(e,t)=>{let r=e;for(let n=1;n{if(!["number","string","bigint"].includes(typeof e)||"string"===typeof e&&0===e.length)return!1;let r;if(null===t||void 0===t?void 0:t.abiType){const{baseTypeSize:e}=Mt(t.abiType);e&&(r=e)}else t.bitSize&&(r=t.bitSize);const n=er(BigInt(2),BigInt(null!==r&&void 0!==r?r:256))-BigInt(1);try{const t="string"===typeof e&&It(e)?BigInt($t(e)):BigInt(e);return t>=0&&t<=n}catch(o){return!1}},rr=(e,t={abiType:"int"})=>{if(!["number","string","bigint"].includes(typeof e))return!1;if("number"===typeof e&&e>Number.MAX_SAFE_INTEGER)return!1;let r;if(null===t||void 0===t?void 0:t.abiType){const{baseTypeSize:e,baseType:n}=Mt(t.abiType);if("int"!==n)return!1;e&&(r=e)}else t.bitSize&&(r=t.bitSize);const n=er(BigInt(2),BigInt((null!==r&&void 0!==r?r:256)-1)),o=BigInt(-1)*er(BigInt(2),BigInt((null!==r&&void 0!==r?r:256)-1));try{const t="string"===typeof e&&It(e)?BigInt($t(e)):BigInt(e);return t>=o&&t<=n}catch(i){return!1}},nr=e=>!!rr(e)||(!("string"!==typeof e||!/[0-9.]/.test(e)||e.indexOf(".")!==e.lastIndexOf("."))||"number"===typeof e),or=e=>tr(e),ir=e=>Object.values(Jt.zC).includes(e),ar=e=>ir(e)||or(e),sr=e=>"string"===typeof e&&(!!/^(0x)?[0-9a-f]{512}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{512}$/.test(e)&&!/^(0x)?[0-9A-F]{512}$/.test(e))),cr=e=>!!["number","string","boolean"].includes(typeof e)&&("boolean"===typeof e||("string"!==typeof e||It(e)?"string"===typeof e&&It(e)?"0x1"===e||"0x0"===e:1===e||0===e:"1"===e||"0"===e)),ur=e=>void 0===e||null===e,lr=e=>"object"===typeof e&&!ur(e)&&!Array.isArray(e)&&!(e instanceof Jt.wx),dr=e=>"string"===typeof e&&(!!/^(0x)?[0-9a-f]{64}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{64}$/.test(e)&&!/^(0x)?[0-9A-F]{64}$/.test(e))),fr=e=>{const t=["fromBlock","toBlock","address","topics","blockHash"];if(ur(e)||"object"!==typeof e)return!1;if(!Object.keys(e).every((e=>t.includes(e))))return!1;if(!ur(e.fromBlock)&&!ar(e.fromBlock)||!ur(e.toBlock)&&!ar(e.toBlock))return!1;if(!ur(e.address))if(Array.isArray(e.address)){if(!e.address.every((e=>Qt(e))))return!1}else if(!Qt(e.address))return!1;return!(!ur(e.topics)&&!e.topics.every((e=>!!ur(e)||(Array.isArray(e)?e.every((e=>dr(e))):!!dr(e)))))},hr={address:e=>Qt(e),bloom:e=>sr(e),blockNumber:e=>or(e),blockTag:e=>ir(e),blockNumberOrTag:e=>ar(e),bool:e=>cr(e),bytes:e=>Zt(e),filter:e=>fr(e),hex:e=>It(e),uint:e=>tr(e),int:e=>rr(e),number:e=>nr(e),string:e=>Ct(e)};for(let br=8;br<=256;br+=8)hr[`int${br}`]=e=>rr(e,{bitSize:br}),hr[`uint${br}`]=e=>tr(e,{bitSize:br});for(let br=1;br<=32;br+=1)hr[`bytes${br}`]=e=>Zt(e,{size:br});hr.bytes256=hr.bytes;const pr=hr,mr=e=>{if((!(null===e||void 0===e?void 0:e.type)||"object"===(null===e||void 0===e?void 0:e.type))&&(null===e||void 0===e?void 0:e.properties)){const t={};for(const r of Object.keys(e.properties)){const n=mr(e.properties[r]);n&&(t[r]=n)}return Array.isArray(e.required)?wt.object(t).partial().required(e.required.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:!0})),{})):wt.object(t).partial()}if("array"===(null===e||void 0===e?void 0:e.type)&&(null===e||void 0===e?void 0:e.items)){if(Array.isArray(e.items)&&e.items.length>0){const t=[];for(const r of e.items){const e=mr(r);e&&t.push(e)}return wt.tuple(t)}return wt.array(mr(e.items))}if(e.oneOf&&Array.isArray(e.oneOf))return wt.union(e.oneOf.map((e=>mr(e))));if(null===e||void 0===e?void 0:e.format){if(!pr[e.format])throw new a.$D_(e.format);return wt.any().refine(pr[e.format],(t=>({params:{value:t,format:e.format}})))}return(null===e||void 0===e?void 0:e.type)&&"object"!==(null===e||void 0===e?void 0:e.type)&&"function"===typeof wt[String(e.type)]?wt[String(e.type)]():wt.object({data:wt.any()}).partial()};class gr{static factory(){return gr.validatorInstance||(gr.validatorInstance=new gr),gr.validatorInstance}validate(e,t,r){var n,o;const i=mr(e),a=i.safeParse(t);if(!a.success){const e=this.convertErrors(null!==(o=null===(n=a.error)||void 0===n?void 0:n.issues)&&void 0!==o?o:[]);if(e){if(null===r||void 0===r?void 0:r.silent)return e;throw new Et(e)}}}convertErrors(e){if(e&&Array.isArray(e)&&e.length>0)return e.map((e=>{var t;let r,n,o,i;i=e.path.join("/");const a=String(e.path[e.path.length-1]),s=e.path.join("/");if(e.code===u.too_big)n="maxItems",i=`${s}/maxItems`,o={limit:e.maximum},r=`must NOT have more than ${e.maximum} items`;else if(e.code===u.too_small)n="minItems",i=`${s}/minItems`,o={limit:e.minimum},r=`must NOT have fewer than ${e.minimum} items`;else if(e.code===u.custom){const{value:n,format:a}=null!==(t=e.params)&&void 0!==t?t:{};r="undefined"===typeof n?`value at "/${i}" is required`:`value "${"object"===typeof n?JSON.stringify(n):n}" at "/${i}" must pass "${a}" validation`,o={value:n}}return{keyword:null!==n&&void 0!==n?n:a,instancePath:s?`/${s}`:"",schemaPath:i?`#${i}`:"#",params:null!==o&&void 0!==o?o:{value:e.message},message:null!==r&&void 0!==r?r:e.message}}))}}class yr{constructor(){this._validator=gr.factory()}validateJSONSchema(e,t,r){return this._validator.validate(e,t,r)}validate(e,t,r={silent:!1}){var n,o;const i=Dt(e);if(!Array.isArray(i.items)||0!==(null===(n=i.items)||void 0===n?void 0:n.length)||0!==t.length){if(Array.isArray(i.items)&&0===(null===(o=i.items)||void 0===o?void 0:o.length)&&0!==t.length)throw new Et([{instancePath:"/0",schemaPath:"/",keyword:"required",message:"empty schema against data can not be validated",params:t}]);return this._validator.validate(i,t,r)}}}const vr=new yr},15115:e=>{"use strict";e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')}}]); \ No newline at end of file diff --git a/js/chunk-vendors.b1fcce2d.js b/js/chunk-vendors.b1fcce2d.js deleted file mode 100644 index ff0076923..000000000 --- a/js/chunk-vendors.b1fcce2d.js +++ /dev/null @@ -1,224 +0,0 @@ -(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[998],{68293:(e,t,r)=>{const n=r(88323),o=r(16477),i=r(37200),a=r(19814),s=r(60880),{FateTypeCalldata:c,FateTypeString:u}=r(84265),l=r(17960);class d{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a,this._canonicalMapper=new s}encodeCall(e,t,r){const{types:n,required:o}=this._typeResolver.getCallTypes(e,t);if(r.length>n.length||r.length{const n=r(92540),o=r(76966),{FateTypeEvent:i}=r(84265),a=e=>e&&"object"===typeof e&&e.constructor===Object,s=({type:e})=>{let t,r=e;return a(r)&&([[r,t]]=Object.entries(r)),"option"===r};class c extends n{constructor(e){super(),this.aci=e}getCallTypes(e,t){const r=this.getNamespaceAci(e).functions.find((e=>e.name===t));if(r){const e=r.arguments.map((e=>this.resolveType(e.type))),t=r.arguments.filter(s);return{types:e,required:e.length-t.length}}if("init"===t)return{types:[],required:0};throw new o(`Unknown function ${t}`)}getReturnType(e,t){if("init"===t)return this.resolveType("void");const r=this.getNamespaceAci(e).functions.find((e=>e.name===t));if(!r)throw new o(`Unknown function ${t}`);return this.resolveType(r.returns)}getEventType(e,t){const r=this.getNamespaceAci(e);if(!r.hasOwnProperty("event"))throw new o("Missing event declaration");return i(this.resolveType(r.event),t)}isCustomType(e){if("string"!==typeof e)return!1;if(this.isStdType(e))return!1;const[t,r]=e.split("."),n=this.getNamespaceAci(t);return!!n}isStdType(e){return"Set.set"===e}getNamespaceAci(e){for(const t of this.aci){const[[r,n]]=Object.entries(t);if(n.name===e)return n}return null}resolveTypeDef(e,t=[]){const[r,n]=e.split("."),i=this.getNamespaceAci(r);if(!i)throw new o("Unknown namespace for "+JSON.stringify(e));if(i.name===e)return["contract_pubkey",[]];const a=[...i.typedefs||i.type_defs,...i.state?[{name:"state",typedef:i.state,vars:[]}]:[]].find((e=>e.name===n));if(!a)throw new o("Unknown type definition: "+JSON.stringify(e));const s={};a.vars.forEach(((e,r)=>{const[[n,o]]=Object.entries(e);s[o]=t[r]}));const c=s.hasOwnProperty(a.typedef)?s[a.typedef]:a.typedef;return[c,s]}}e.exports=c},37200:(e,t,r)=>{const n=r(68638),o=r(92727),i=r(70722),a=r(55110),s={key_block_hash:{tag:"kh",size:32,encoder:o},micro_block_hash:{tag:"mh",size:32,encoder:o},block_pof_hash:{tag:"bf",size:32,encoder:o},block_tx_hash:{tag:"bx",size:32,encoder:o},block_state_hash:{tag:"bs",size:32,encoder:o},contract_bytearray:{tag:"cb",size:0,encoder:n},contract_pubkey:{tag:"ct",size:32,encoder:o},account_pubkey:{tag:"ak",size:32,encoder:o},channel:{tag:"ch",size:32,encoder:o},oracle_pubkey:{tag:"ok",size:32,encoder:o},oracle_query_id:{tag:"oq",size:32,encoder:o},peer_pubkey:{tag:"pp",size:32,encoder:o},name:{tag:"nm",size:0,encoder:o},tx_hash:{tag:"th",size:32,encoder:o},signature:{tag:"sg",size:64,encoder:o},commitment:{tag:"cm",size:32,encoder:o},bytearray:{tag:"ba",size:0,encoder:n}},c={kh:"key_block_hash",mh:"micro_block_hash",bf:"block_pof_hash",bx:"block_tx_hash",bs:"block_state_hash",cb:"contract_bytearray",ct:"contract_pubkey",ak:"account_pubkey",ch:"channel",ok:"oracle_pubkey",oq:"oracle_query_id",pp:"peer_pubkey",nm:"name",th:"tx_hash",sg:"signature",cm:"commitment",ba:"bytearray"};class u{encode(e,t){if(!s.hasOwnProperty(e))throw new a(e,`Unsupported API type ${e}`);const r=s[e];if(r.size>0&&t.length!==r.size)throw new a(e,`Invalid payload. Expected size ${r.size}, but got ${t.length}`);const n=r.encoder.encode(t);return`${r.tag}_${n}`}decode(e){const t=e.substring(0,2);if(!c.hasOwnProperty(t))throw new i(`Invalid API data format. Unsupported tag: ${t}`);if("_"!==e[2])throw new i(`Invalid API data format. Expected _ separator on position 2, got ${e[2]}`);const r=s[c[t]],n=e.substring(3),o=r.encoder.decode(n);if(r.size>0&&o.length!==r.size)throw new i(`Invalid API data format. Expected size ${r.size}, but got ${o.length}`);return o}decodeWithType(e,t){const r=e.substring(0,2);if(!s.hasOwnProperty(t))throw new a(t,"Unsupported API type");const n=s[t].tag;if(r!==n){const r=this.capitalizeType(t);throw new a(t,`${r} should start with ${n}_, got ${e} instead`)}return this.decode(e)}capitalizeType(e){const t=e.replace("_"," ");return t.charAt(0).toUpperCase()+t.slice(1)}}e.exports=u},12690:(e,t,r)=>{const n=r(88323),o=r(48179),i=r(37200),a=r(19814),{FateTypeCalldata:s,FateTypeString:c}=r(84265),u=r(17960);class l{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a}encodeCall(e,t){const{types:r,required:n}=this._typeResolver.getCallTypes(e);if(t.length>r.length||t.length{const n=r(56634),o=r(76966),{FateTypeVoid:i,FateTypeTuple:a,FateTypeEvent:s,FateTypeList:c,FateTypeMap:u,FateTypeVariant:l,FateTypeOracleAddress:d,FateTypeOracleQueryAddress:f}=r(84265);class h{constructor(e){this._contractEncoder=new n,this._encodedContract=e,this._contract=null}get _bytecode(){return null===this._contract&&(this._contract=this._contractEncoder.decode(this._encodedContract)),this._contract.bytecode}getFunctionId(e){const{symbols:t}=this._bytecode;return Object.keys(t).find((r=>t[r]===e))}getFunction(e){const{functions:t}=this._bytecode;return t.find((t=>t.id===e))}getFunctionName(e){const{name:t}=this.getFunction(e);return t}getCallTypes(e){const t=this.getFunction(this.getFunctionId(e));if(t){const e=t.args.valueTypes.map((e=>this.resolveType(e)));return{types:e,required:e.length}}if("init"===e)return{types:[],required:0};throw new o(`Unknown function ${e}`)}getReturnType(e){if("init"===e)return i();const t=this.getFunction(this.getFunctionId(e));if(t)return this.resolveType(t.returnType);throw new o(`Unknown function ${e}`)}getEventType(e){const t=this.getFunction(this.getFunctionId("Chain.event"));if(!t)throw new o("The contract does not have event declaration");const r=t.args.valueTypes[0];return s(this.resolveType(r),e)}resolveType(e){if("variant"===e.name){const t=e.variants.map(((e,t)=>{const r=e.valueTypes.map((e=>this.resolveType(e)));return{[t]:r}}));return l(t)}let t=[];return Array.isArray(e.valueTypes)&&(t=e.valueTypes.map((e=>this.resolveType(e)))),"tuple"===e.name?a(t):"list"===e.name?c(...t):"map"===e.name?u(...t):"oracle"===e.name?d(...t):"oracle_query"===e.name?f(...t):e}}e.exports=h},88323:(e,t,r)=>{const n=r(17829),o=r(37200),i=r(60880),a=r(3451);class s{constructor(){this._serializer=new n,this._apiEncoder=new o,this._externalDataFactory=new a,this._canonicalMapper=new i}encode(e,t){const r=this._externalDataFactory.create(e,t),n=this._serializer.serialize(r),o=new Uint8Array(n.flat(1/0));return this._apiEncoder.encode("contract_bytearray",o)}decode(e){const t=this._apiEncoder.decodeWithType(e,"contract_bytearray"),r=this._serializer.deserialize(t);return this._canonicalMapper.toCanonical(r)}decodeWithType(e,t){const r=this._apiEncoder.decodeWithType(e,"contract_bytearray"),n=this._serializer.deserializeWithType(r,t);return this._canonicalMapper.toCanonical(n)}}e.exports=s},56634:(e,t,r)=>{const n=r(6636),o=r(37200),i=r(17829),a=r(97784),{byteArray2Int:s,byteArray2Hex:c}=r(72318);class u{constructor(){this._apiEncoder=new o,this._bytecodeSerializer=new a(new i)}decode(e){const t=this._apiEncoder.decodeWithType(e,"contract_bytearray"),r=n.decode(t,!0),o=new TextDecoder;return{tag:s(r.data[0]),vsn:s(r.data[1]),sourceHash:c(r.data[2]),aevmTypeInfo:r.data[3],compilerVersion:o.decode(r.data[5]),payable:Boolean(r.data[6][0]),bytecode:this._bytecodeSerializer.deserialize(new Uint8Array(r.data[4]))}}}e.exports=u},56040:e=>{class t{constructor(e){this._valueFactory=e}get valueFactory(){return this._valueFactory}supports({_name:e,_valueTypes:t}){return!1}create(e,t){throw new Error("Not implemented.")}}e.exports=t},16097:(e,t,r)=>{const n=r(41565),o=r(94077),i=r(56040),a=["bls12_381.fr","bls12_381.fp"];class s extends i{supports({name:e,_valueTypes:t}){return a.includes(e)}create(e,t){switch(e.name){case"bls12_381.fr":return new n(t);case"bls12_381.fp":return new o(t);default:throw new Error(`Unsupported type "${e.name}"`)}}}e.exports=s},87961:(e,t,r)=>{const{symbolIdentifier:n}=r(12665),o=r(55110),i=r(77255),a=r(56040);class s extends a{supports({name:e,_valueTypes:t}){return"calldata"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate calldata arguments must be an Array, got ${t} instead`);const r=this.valueFactory.createMultiple(e.argumentTypes,t),a=n(e.functionName);return new i(a,e.argumentTypes,r)}}e.exports=s},12320:(e,t,r)=>{const n=r(44664),o=r(55675),i=r(41168),a=r(49205),s=r(34960),c=r(25202),u=r(20786),l=r(77211),d=r(34093),f=r(72954),h=r(16097),p=r(87961);class g{constructor(){this._factories=[new i(this),new a(this),new s(this),new c(this),new u(this),new l(this),new f(this),new d(this),new h(this),new p(this)]}createMultiple(e,t){return n(t.length===e.length,`Number of types (${e.length}) and values (${t.length}) should match`),o(e,t).map((e=>this.create(...e)))}create(e,t){const r=this._factories.find((t=>t.supports(e)));return n(r,`Unsupported type "${e.name}"`),r.create(e,t)}}e.exports=g},72954:(e,t,r)=>{const{hash:n}=r(12665),{byteArray2Int:o}=r(72318),i=r(76966),a=r(56040),s=["string","signature","bytes"];class c extends a{supports({name:e,_valueTypes:t}){return"event"===e}create({variantType:e,topics:t},r){const[a,...s]=t;if("bigint"!==typeof a)throw new i(`Event name hash (first topic) should be of type "BigInt", got "${typeof a}" instead.`);const c=e.variants.map((e=>o(n(Object.keys(e)[0])))).findIndex((e=>e===a));if(-1===c)throw new i("Event name hash does not match any event variant constructor");const u=e.variants[c],l=Object.keys(u)[0],[d]=Object.values(u),f=d.map((e=>this._isData(e)?r:s.shift()));return this.valueFactory.create(e,{[l]:f})}_isData(e){return!!s.includes(e.name)&&!("bytes"===e.name&&e.size<=32)}}e.exports=c},49205:(e,t,r)=>{const n=r(51041),o=r(55110),i=r(56040);class a extends i{supports({name:e,_valueTypes:t}){return"list"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate list must be an Array, got ${t} instead`);const r=t.map((t=>this.valueFactory.create(e.valuesType,t)));return new n(e.valuesType,r)}}e.exports=a},25202:(e,t,r)=>{const n=r(68804),o=r(56040);class i extends o{supports({name:e,_valueTypes:t}){return"map"===e}create(e,t){const r=[];for(const n of t)r.push([this.valueFactory.create(e.keyType,n[0]),this.valueFactory.create(e.valueType,n[1])]);return new n(e.keyType,e.valueType,r)}}e.exports=i},41168:(e,t,r)=>{const n=r(43509),o=r(4476),i=r(36313),a=r(7772),s=r(63607),c=r(15779),u=r(43422),l=r(20539),d=r(58623),f=r(96445),h=r(90687),p=r(45070),g=r(56040),m=["int","bool","string","bits","hash","bytes","signature","account_pubkey","contract_pubkey","channel","oracle_pubkey","oracle_query_id"];class y extends g{supports({name:e,_valueTypes:t}){return m.includes(e)}create(e,t){switch(e.name){case"int":return new n(t);case"bool":return new o(t);case"string":return new i(t);case"bits":return new u(t);case"hash":return new a(t);case"bytes":return new c(t,e.valueTypes);case"signature":return new s(t);case"account_pubkey":return new l(t);case"contract_pubkey":return new d(t);case"channel":return new f(t);case"oracle_pubkey":return new h(t);case"oracle_query_id":return new p(t);default:throw new Error(`Unsupported type "${e.name}"`)}}}e.exports=y},77211:(e,t,r)=>{const n=r(56040),o=r(56878),{FateTypeRecord:i}=r(84265),a=r(55110);class s extends n{supports({name:e,_valueTypes:t}){return"record"===e}create(e,t){if("object"!==typeof t)throw new a(e.name,`Fate record must be an Object, got ${t} instead`);const r=Object.keys(t).length;if(r!==e.keys.length)throw new a(e.name,`Number of expected keys (${e.keys.length}) and actual keys (${r}) should match`);const n=e.valueTypes.map(((r,n)=>{const o=e.keys[n];return this.valueFactory.create(r,t[o])}));return 1===n.length?n[0]:new o(i(e.keys,e.valueTypes),n)}}e.exports=s},34960:(e,t,r)=>{const n=r(72548),o=r(56040);class i extends o{supports({name:e,_valueTypes:t}){return"set"===e}create(e,t){const r=[];for(const n of t)r.push(this.valueFactory.create(e.valuesType,n));return new n(e.valuesType,r)}}e.exports=i},20786:(e,t,r)=>{const n=r(56878),o=r(55110),i=r(56040);class a extends i{supports({name:e,_valueTypes:t}){return"tuple"===e}create(e,t){if(!Array.isArray(t))throw new o(e.name,`Fate tuple must be an Array, got ${t} instead`);const r=e.valueTypes.map(((e,r)=>this.valueFactory.create(e,t[r])));return 1===r.length?r[0]:new n(e.valueTypes,r)}}e.exports=a},34093:(e,t,r)=>{const n=r(72457),o=r(55110),i=r(56040),a=["variant","Chain.ttl","AENS.pointee","AENS.name"];class s extends i{supports({name:e,_valueTypes:t}){return a.includes(e)}create(e,t){if(!this.isValid(t))throw new o(e.name,`Variant should be an object mapping constructor to array of values, got "${t}" instead`);const[r,i]=Object.entries(t)[0],a=e.variants.map((e=>{const[[,t]]=Object.entries(e);return t.length})),s=e.variants.findIndex((e=>{const[[t,n]]=Object.entries(e);return t===r}));if(-1===s)throw new o(e.name,`Unknown variant constructor: ${r}`);const[[,c]]=Object.entries(e.variants[s]);if(i.length!==c.length)throw new o(e.name,`"${r}" variant constructor expects ${c.length} argument(s) but got ${i.length} instead`);const u=this.valueFactory.createMultiple(c,i);return new n(a,s,u,c,e.variants)}isValid(e){return"object"===typeof e&&null!==e&&1===Object.entries(e).length&&Array.isArray(Object.values(e)[0])}}e.exports=s},92968:(e,t,r)=>{const n=r(88323),o=r(16477),i=r(37200),a=r(19814),s=r(60880),{FateTypeCalldata:c,FateTypeString:u}=r(84265),l=r(17960);class d{constructor(e){this._byteArrayEncoder=new n,this._typeResolver=new o(e),this._apiEncoder=new i,this._eventEncoder=new a,this._canonicalMapper=new s}encode(e,t,r){const{types:n,required:o}=this._typeResolver.getCallTypes(e,t);if(r.length>n.length||r.length{class t extends Error{constructor(e){super(e),this.name="EncoderError"}}e.exports=t},5462:e=>{class t extends Error{constructor(e){super("Invalid FATE prefix: 0b"+e.toString(2).padStart(8,"0")),this.name="FatePrefixError",this.prefix=e}}e.exports=t},55110:e=>{class t extends Error{constructor(e,t){super(t),this.name="FateTypeError",this.type=e}}e.exports=t},70722:e=>{class t extends Error{constructor(e){super(e),this.name="FormatError"}}e.exports=t},2966:e=>{class t extends Error{constructor(e){super(e),this.name="InternalError"}}e.exports=t},99098:e=>{class t extends Error{constructor(e){super(e),this.name="SerializerError"}}e.exports=t},76966:e=>{class t extends Error{constructor(e){super(e),this.name="TypeResolveError"}}e.exports=t},19814:(e,t,r)=>{const n=r(37200),o=r(12320),i=r(60880);class a{constructor(){this._dataFactory=new o,this._apiEncoder=new n,this._canonicalMapper=new i}decodeWithType(e,t){const r=this._apiEncoder.decode(e),n=this._dataFactory.create(t,r);return this._canonicalMapper.toCanonical(n)}}e.exports=a},3451:(e,t,r)=>{const n=r(12320),o=r(51338);class i extends n{constructor(){super(),this._mapper=new o}create(e,t){const r=this._mapper.toInternal(e,t);return super.create(e,r)}}e.exports=i},12689:(e,t,r)=>{const n=r(44664),o=r(51041),i=r(56878),{FateTypeTuple:a,FateTypeInt:s}=r(84265),c=(e,t)=>{if(0===e.length)return-1;if(0===t.length)return 1;const r=w(e.itemsType);for(let n=0;n{if(0===e.size)return-1;const r=e.size-t.size;if(0!==r)return r;for(let n=0;n{const r=e.arities.length-t.arities.length;if(0!==r)return r;const n=new o(e.aritiesType,e.arities),s=new o(t.aritiesType,t.arities),c=w(n),u=c(n,s);if(0!==u)return u;const l=e.tag-t.tag;if(0!==l)return l;const d=w(a());return d(new i(e.valueTypes,e.value),new i(t.valueTypes,t.value))},d=e=>{const t=w(e);return(e,r)=>t(e.key,r.key)},f=(e,t)=>{const r=[...e.items],n=[...t.items];r.sort(d(e.keyType)),n.sort(d(t.keyType));const o=w(e.keyType),i=w(e.valueType);for(let a=0;a{const r=new o(s(),e.valueOf()),n=new o(s(),t.valueOf());return c(r,n)},p=(e,t)=>{const r=new TextEncoder,n=e.toString(),o=t.toString();return n.length===o.length?h(r.encode(e),r.encode(t)):n.length-o.length},g=(e,t)=>Number(BigInt(e)-BigInt(t)),m=(e,t)=>e-t,y=(e,t)=>e<0||t<0?-g(e,t):g(e,t),v={int:g,bool:m,string:p,bits:y,list:c,tuple:u,variant:l,map:f,bytes:h,account_pubkey:h,channel:h,contract_pubkey:h,oracle_query_id:h,oracle_pubkey:h},w=e=>(n(e.hasOwnProperty("name"),`Cannot determine type name of ${JSON.stringify(e)}`),n(v.hasOwnProperty(e.name),`Unsupported comparator for ${e.name}`),v[e.name]);e.exports=w},33425:e=>{e.exports=Object.freeze({0:{mnemonic:"RETURN",args:0,end:!0},1:{mnemonic:"RETURNR",args:1,end:!0},2:{mnemonic:"CALL",args:1,end:!0},3:{mnemonic:"CALL_R",args:5,end:!0},4:{mnemonic:"CALL_T",args:1,end:!0},5:{mnemonic:"CALL_GR",args:6,end:!0},6:{mnemonic:"JUMP",args:1,end:!0},7:{mnemonic:"JUMPIF",args:2,end:!0},8:{mnemonic:"SWITCH_V2",args:3,end:!0},9:{mnemonic:"SWITCH_V3",args:4,end:!0},10:{mnemonic:"SWITCH_VN",args:2,end:!0},11:{mnemonic:"CALL_VALUE",args:1,end:!1},12:{mnemonic:"PUSH",args:1,end:!1},13:{mnemonic:"DUPA",args:0,end:!1},14:{mnemonic:"DUP",args:1,end:!1},15:{mnemonic:"POP",args:1,end:!1},16:{mnemonic:"INCA",args:0,end:!1},17:{mnemonic:"INC",args:1,end:!1},18:{mnemonic:"DECA",args:0,end:!1},19:{mnemonic:"DEC",args:1,end:!1},20:{mnemonic:"ADD",args:3,end:!1},21:{mnemonic:"SUB",args:3,end:!1},22:{mnemonic:"MUL",args:3,end:!1},23:{mnemonic:"DIV",args:3,end:!1},24:{mnemonic:"MOD",args:3,end:!1},25:{mnemonic:"POW",args:3,end:!1},26:{mnemonic:"STORE",args:2,end:!1},27:{mnemonic:"SHA3",args:2,end:!1},28:{mnemonic:"SHA256",args:2,end:!1},29:{mnemonic:"BLAKE2B",args:2,end:!1},30:{mnemonic:"LT",args:3,end:!1},31:{mnemonic:"GT",args:3,end:!1},32:{mnemonic:"EQ",args:3,end:!1},33:{mnemonic:"ELT",args:3,end:!1},34:{mnemonic:"EGT",args:3,end:!1},35:{mnemonic:"NEQ",args:3,end:!1},36:{mnemonic:"AND",args:3,end:!1},37:{mnemonic:"OR",args:3,end:!1},38:{mnemonic:"NOT",args:2,end:!1},39:{mnemonic:"TUPLE",args:2,end:!1},40:{mnemonic:"ELEMENT",args:3,end:!1},41:{mnemonic:"SETELEMENT",args:4,end:!1},42:{mnemonic:"MAP_EMPTY",args:1,end:!1},43:{mnemonic:"MAP_LOOKUP",args:3,end:!1},44:{mnemonic:"MAP_LOOKUPD",args:4,end:!1},45:{mnemonic:"MAP_UPDATE",args:4,end:!1},46:{mnemonic:"MAP_DELETE",args:3,end:!1},47:{mnemonic:"MAP_MEMBER",args:3,end:!1},48:{mnemonic:"MAP_FROM_LIST",args:2,end:!1},49:{mnemonic:"MAP_SIZE",args:2,end:!1},50:{mnemonic:"MAP_TO_LIST",args:2,end:!1},51:{mnemonic:"IS_NIL",args:2,end:!1},52:{mnemonic:"CONS",args:3,end:!1},53:{mnemonic:"HD",args:2,end:!1},54:{mnemonic:"TL",args:2,end:!1},55:{mnemonic:"LENGTH",args:2,end:!1},56:{mnemonic:"NIL",args:1,end:!1},57:{mnemonic:"APPEND",args:3,end:!1},58:{mnemonic:"STR_JOIN",args:3,end:!1},59:{mnemonic:"INT_TO_STR",args:2,end:!1},60:{mnemonic:"ADDR_TO_STR",args:2,end:!1},61:{mnemonic:"STR_REVERSE",args:2,end:!1},62:{mnemonic:"STR_LENGTH",args:2,end:!1},63:{mnemonic:"BYTES_TO_INT",args:2,end:!1},64:{mnemonic:"BYTES_TO_STR",args:2,end:!1},65:{mnemonic:"BYTES_CONCAT",args:3,end:!1},66:{mnemonic:"BYTES_SPLIT",args:3,end:!1},67:{mnemonic:"INT_TO_ADDR",args:2,end:!1},68:{mnemonic:"VARIANT",args:4,end:!1},69:{mnemonic:"VARIANT_TEST",args:3,end:!1},70:{mnemonic:"VARIANT_ELEMENT",args:3,end:!1},71:{mnemonic:"BITS_NONEA",args:0,end:!1},72:{mnemonic:"BITS_NONE",args:1,end:!1},73:{mnemonic:"BITS_ALLA",args:0,end:!1},74:{mnemonic:"BITS_ALL",args:1,end:!1},75:{mnemonic:"BITS_ALL_N",args:2,end:!1},76:{mnemonic:"BITS_SET",args:3,end:!1},77:{mnemonic:"BITS_CLEAR",args:3,end:!1},78:{mnemonic:"BITS_TEST",args:3,end:!1},79:{mnemonic:"BITS_SUM",args:2,end:!1},80:{mnemonic:"BITS_OR",args:3,end:!1},81:{mnemonic:"BITS_AND",args:3,end:!1},82:{mnemonic:"BITS_DIFF",args:3,end:!1},83:{mnemonic:"BALANCE",args:1,end:!1},84:{mnemonic:"ORIGIN",args:1,end:!1},85:{mnemonic:"CALLER",args:1,end:!1},86:{mnemonic:"BLOCKHASH",args:2,end:!1},87:{mnemonic:"BENEFICIARY",args:1,end:!1},88:{mnemonic:"TIMESTAMP",args:1,end:!1},89:{mnemonic:"GENERATION",args:1,end:!1},90:{mnemonic:"MICROBLOCK",args:1,end:!1},91:{mnemonic:"DIFFICULTY",args:1,end:!1},92:{mnemonic:"GASLIMIT",args:1,end:!1},93:{mnemonic:"GAS",args:1,end:!1},94:{mnemonic:"ADDRESS",args:1,end:!1},95:{mnemonic:"GASPRICE",args:1,end:!1},96:{mnemonic:"LOG0",args:1,end:!1},97:{mnemonic:"LOG1",args:2,end:!1},98:{mnemonic:"LOG2",args:3,end:!1},99:{mnemonic:"LOG3",args:4,end:!1},100:{mnemonic:"LOG4",args:5,end:!1},101:{mnemonic:"SPEND",args:2,end:!1},102:{mnemonic:"ORACLE_REGISTER",args:7,end:!1},103:{mnemonic:"ORACLE_QUERY",args:8,end:!1},104:{mnemonic:"ORACLE_RESPOND",args:6,end:!1},105:{mnemonic:"ORACLE_EXTEND",args:3,end:!1},106:{mnemonic:"ORACLE_GET_ANSWER",args:5,end:!1},107:{mnemonic:"ORACLE_GET_QUESTION",args:5,end:!1},108:{mnemonic:"ORACLE_QUERY_FEE",args:2,end:!1},109:{mnemonic:"AENS_RESOLVE",args:4,end:!1},110:{mnemonic:"AENS_PRECLAIM",args:3,end:!1},111:{mnemonic:"AENS_CLAIM",args:5,end:!1},112:{mnemonic:"AENS_UPDATE",args:6,end:!1},113:{mnemonic:"AENS_TRANSFER",args:4,end:!1},114:{mnemonic:"AENS_REVOKE",args:3,end:!1},115:{mnemonic:"BALANCE_OTHER",args:2,end:!1},116:{mnemonic:"VERIFY_SIG",args:4,end:!1},117:{mnemonic:"VERIFY_SIG_SECP256K1",args:4,end:!1},118:{mnemonic:"CONTRACT_TO_ADDRESS",args:2,end:!1},119:{mnemonic:"AUTH_TX_HASH",args:1,end:!1},120:{mnemonic:"ORACLE_CHECK",args:4,end:!1},121:{mnemonic:"ORACLE_CHECK_QUERY",args:5,end:!1},122:{mnemonic:"IS_ORACLE",args:2,end:!1},123:{mnemonic:"IS_CONTRACT",args:2,end:!1},124:{mnemonic:"IS_PAYABLE",args:2,end:!1},125:{mnemonic:"CREATOR",args:1,end:!1},126:{mnemonic:"ECVERIFY_SECP256K1",args:4,end:!1},127:{mnemonic:"ECRECOVER_SECP256K1",args:3,end:!1},128:{mnemonic:"ADDRESS_TO_CONTRACT",args:2,end:!1},129:{mnemonic:"BLS12_381_G1_NEG",args:2,end:!1},130:{mnemonic:"BLS12_381_G1_NORM",args:2,end:!1},131:{mnemonic:"BLS12_381_G1_VALID",args:2,end:!1},132:{mnemonic:"BLS12_381_G1_IS_ZERO",args:2,end:!1},133:{mnemonic:"BLS12_381_G1_ADD",args:3,end:!1},134:{mnemonic:"BLS12_381_G1_MUL",args:3,end:!1},135:{mnemonic:"BLS12_381_G2_NEG",args:2,end:!1},136:{mnemonic:"BLS12_381_G2_NORM",args:2,end:!1},137:{mnemonic:"BLS12_381_G2_VALID",args:2,end:!1},138:{mnemonic:"BLS12_381_G2_IS_ZERO",args:2,end:!1},139:{mnemonic:"BLS12_381_G2_ADD",args:3,end:!1},140:{mnemonic:"BLS12_381_G2_MUL",args:3,end:!1},141:{mnemonic:"BLS12_381_GT_INV",args:2,end:!1},142:{mnemonic:"BLS12_381_GT_ADD",args:3,end:!1},143:{mnemonic:"BLS12_381_GT_MUL",args:3,end:!1},144:{mnemonic:"BLS12_381_GT_POW",args:3,end:!1},145:{mnemonic:"BLS12_381_GT_IS_ONE",args:2,end:!1},146:{mnemonic:"BLS12_381_PAIRING",args:3,end:!1},147:{mnemonic:"BLS12_381_MILLER_LOOP",args:3,end:!1},148:{mnemonic:"BLS12_381_FINAL_EXP",args:2,end:!1},149:{mnemonic:"BLS12_381_INT_TO_FR",args:2,end:!1},150:{mnemonic:"BLS12_381_INT_TO_FP",args:2,end:!1},151:{mnemonic:"BLS12_381_FR_TO_INT",args:2,end:!1},152:{mnemonic:"BLS12_381_FP_TO_INT",args:2,end:!1},153:{mnemonic:"AENS_LOOKUP",args:2,end:!1},154:{mnemonic:"ORACLE_EXPIRY",args:2,end:!1},155:{mnemonic:"AUTH_TX",args:1,end:!1},156:{mnemonic:"STR_TO_LIST",args:2,end:!1},157:{mnemonic:"STR_FROM_LIST",args:2,end:!1},158:{mnemonic:"STR_TO_UPPER",args:2,end:!1},159:{mnemonic:"STR_TO_LOWER",args:2,end:!1},160:{mnemonic:"CHAR_TO_INT",args:2,end:!1},161:{mnemonic:"CHAR_FROM_INT",args:2,end:!1},162:{mnemonic:"CALL_PGR",args:7,end:!0},163:{mnemonic:"CREATE",args:3,end:!0},164:{mnemonic:"CLONE",args:4,end:!0},165:{mnemonic:"CLONE_G",args:5,end:!0},166:{mnemonic:"BYTECODE_HASH",args:2,end:!1},167:{mnemonic:"FEE",args:1,end:!1},168:{mnemonic:"ADDRESS_TO_BYTES",args:2,end:!1},169:{mnemonic:"POSEIDON",args:3,end:!1},170:{mnemonic:"MULMOD",args:4,end:!1},171:{mnemonic:"BAND",args:3,end:!1},172:{mnemonic:"BOR",args:3,end:!1},173:{mnemonic:"BXOR",args:3,end:!1},174:{mnemonic:"BNOT",args:2,end:!1},175:{mnemonic:"BSL",args:3,end:!1},176:{mnemonic:"BSR",args:3,end:!1},250:{mnemonic:"DEACTIVATE",args:0,end:!1},251:{mnemonic:"ABORT",args:1,end:!0},252:{mnemonic:"EXIT",args:1,end:!0},253:{mnemonic:"NOP",args:0,end:!1},254:{mnemonic:"FUNCTION",args:0,end:!1},255:{mnemonic:"EXTEND",args:0,end:!1}})},20105:e=>{e.exports=Object.freeze({SMALL_INT:0,LONG_STRING:1,SHORT_STRING:1,SHORT_LIST:3,TYPE_INTEGER:7,TYPE_BOOLEAN:23,TYPE_LIST:39,TYPE_TUPLE:55,TYPE_OBJECT:71,TYPE_BITS:87,TYPE_MAP:103,TYPE_STRING:119,TYPE_VARIANT:135,TYPE_BYTES:151,TYPE_CONTRACT_BYTEARRAY:167,TYPE_VAR:231,TYPE_ANY:247,LONG_TUPLE:11,SHORT_TUPLE:11,LONG_LIST:31,MAP:47,EMPTY_TUPLE:63,POS_BITS:79,EMPTY_STRING:95,POS_BIG_INT:111,FALSE:127,OBJECT:159,VARIANT:175,MAP_ID:191,NEG_BITS:207,EMPTY_MAP:223,NEG_BIG_INT:239,TRUE:255,OTYPE_ADDRESS:0,OTYPE_BYTES:1,OTYPE_CONTRACT:2,OTYPE_ORACLE:3,OTYPE_ORACLE_QUERY:4,OTYPE_CHANNEL:5})},84265:e=>{const t=()=>({name:"void"}),r=()=>({name:"int"}),n=()=>({name:"bool"}),o=()=>({name:"string"}),i=()=>({name:"bits"}),a=e=>({name:"bytes",size:e}),s=()=>({name:"hash"}),c=()=>({name:"signature"}),u=()=>({name:"account_pubkey"}),l=()=>({name:"contract_pubkey"}),d=()=>({name:"channel"}),f=(e,t)=>({name:"oracle_pubkey",questionType:e,answerType:t}),h=(e,t)=>({name:"oracle_query_id",questionType:e,answerType:t}),p=()=>({name:"byte_array"}),g=e=>({name:"list",valuesType:e}),m=(e=[])=>({name:"tuple",valueTypes:e}),y=(e,t)=>({name:"record",keys:e,valueTypes:t}),v=e=>({name:"set",valuesType:e}),w=(e,t)=>({name:"map",keyType:e,valueType:t}),b=e=>({name:"variant",variants:e}),_=e=>({name:"type",type:e}),E=e=>{const t=[{None:[]},{Some:e}];return b(t)},S=()=>{const e=[{RelativeTTL:[r()]},{FixedTTL:[r()]}];return b(e)},A=()=>{const e=[{"Chain.GAMetaTx":[u(),r()]}];return b(e)},T=()=>{const e=[{"Chain.PayingForTx":[u(),r()]}];return b(e)},C=()=>{const e=[{"Chain.SpendTx":[u(),r(),o()]},{"Chain.OracleRegisterTx":[]},{"Chain.OracleQueryTx":[]},{"Chain.OracleResponseTx":[]},{"Chain.OracleExtendTx":[]},{"Chain.NamePreclaimTx":[]},{"Chain.NameClaimTx":[o()]},{"Chain.NameUpdateTx":[s()]},{"Chain.NameRevokeTx":[s()]},{"Chain.NameTransferTx":[u(),s()]},{"Chain.ChannelCreateTx":[u()]},{"Chain.ChannelDepositTx":[u(),r()]},{"Chain.ChannelWithdrawTx":[u(),r()]},{"Chain.ChannelForceProgressTx":[u()]},{"Chain.ChannelCloseMutualTx":[u()]},{"Chain.ChannelCloseSoloTx":[u()]},{"Chain.ChannelSlashTx":[u()]},{"Chain.ChannelSettleTx":[u()]},{"Chain.ChannelSnapshotSoloTx":[u()]},{"Chain.ContractCreateTx":[u()]},{"Chain.ContractCallTx":[u(),r()]},{"Chain.GAAttachTx":[]}];return b(e)},x=()=>{const e=[{"AENS.AccountPt":[u()]},{"AENS.OraclePt":[u()]},{"AENS.ContractPt":[u()]},{"AENS.ChannelPt":[u()]}];return b(e)},I=()=>{const e=[{"AENS.Name":[u(),S(),w(o(),x())]}];return b(e)},O=(e,t)=>({name:"event",variantType:e,topics:t}),N=()=>({name:"bls12_381.fr"}),P=()=>({name:"bls12_381.fp"}),k=(e,t)=>({name:"calldata",functionName:e,argumentTypes:t}),R=e=>({name:"tvar",id:e}),M=()=>({name:"any"});e.exports={FateTypeVoid:t,FateTypeInt:r,FateTypeBool:n,FateTypeString:o,FateTypeBits:i,FateTypeBytes:a,FateTypeHash:s,FateTypeSignature:c,FateTypeAccountAddress:u,FateTypeContractAddress:l,FateTypeChannelAddress:d,FateTypeOracleAddress:f,FateTypeOracleQueryAddress:h,FateTypeByteArray:p,FateTypeList:g,FateTypeTuple:m,FateTypeRecord:y,FateTypeSet:v,FateTypeMap:w,FateTypeVariant:b,FateTypeType:_,FateTypeOption:E,FateTypeChainTTL:S,FateTypeChainGAMetaTx:A,FateTypeChainPayingForTx:T,FateTypeChainBaseTx:C,FateTypeAENSPointee:x,FateTypeAENSName:I,FateTypeEvent:O,FateTypeBls12381Fr:N,FateTypeBls12381Fp:P,FateTypeCalldata:k,FateTypeVar:R,FateTypeAny:M}},60880:(e,t,r)=>{const n=r(37200),{montBytes2Int:o}=r(33755),{byteArray2Hex:i}=r(72318);class a{constructor(){this._apiEncoder=new n}toCanonical(e){return e.accept(this)}visitData(e){return e.valueOf()}visitAddress(e){return this._apiEncoder.encode(e.name,e.value)}visitList(e){return e.items.map((e=>e.accept(this)))}visitSet(e){return new Set(e.items.map((e=>e.accept(this))))}visitMap(e){const t=new Map;for(const[r,n]of e.iterator)t.set(r.accept(this),n.accept(this));return t}visitTuple(e){return e.prepareItems((e=>e.accept(this)))}visitVariant(e){const t=e.value.map((e=>e.accept(this)));if("None"!==e.variantName)return"Some"===e.variantName?t[0]:{[e.variantName]:t}}visitBls12381Fr(e){return o(e.valueOf(),"r")}visitBls12381Fp(e){return o(e.valueOf(),"p")}visitCalldata(e){const{functionId:t,args:r}=e.valueOf();return{functionId:i(t),args:r.map((e=>e.accept(this)))}}}e.exports=a},51338:(e,t,r)=>{const n=r(37200),{int2MontBytes:o}=r(33755),i=r(55110);class a{constructor(){this._apiEncoder=new n}toInternal(e,t){switch(e.name){case"account_pubkey":case"contract_pubkey":case"channel":case"oracle_pubkey":case"oracle_query_id":return this.toAddress(e,t);case"variant":return this.toVariant(e,t);case"map":return this.toMap(e,t);case"set":return this.toSet(e,t);case"record":return this.toRecord(e,t);case"bls12_381.fr":return this.toBls12381Fr(e,t);case"bls12_381.fp":return this.toBls12381Fp(e,t);default:return t}}toAddress({name:e,_:t},r){return this._apiEncoder.decodeWithType(r,e)}toVariant(e,t){if(!this.isOptionVariant(e))return t;if([void 0,null].includes(t))return{None:[]};const[r]=Object.keys(t);return["Some","None"].includes(r)?t:{Some:[t]}}isOptionVariant({_name:e,variants:t}){return t.some((({None:e})=>e&&0===e.length))&&t.some((({Some:e})=>e))}toMap(e,t){if("object"!==typeof t||null===t)throw new i("map",`Fate map must be one of: Map, Array, Object; got ${t} instead`);return Array.isArray(t)||t instanceof Map?t:Object.entries(t)}toSet(e,t){if(t instanceof Set)return t;if(Array.isArray(t))return new Set(t);throw new i("set",`Fate set must be a Set or Array, got "${t}" instead`)}toRecord(e,t){return e.keys.reduce(((e,r)=>({...e,[r]:t[r]})),{})}validateBls12381Field(e,t){if("bigint"!==typeof t&&!Number.isInteger(t))throw new i(e.name,`Should be one of: BigInt or Number; got ${t} instead`)}toBls12381Fr(e,t){return this.validateBls12381Field(e,t),o(t,"r")}toBls12381Fp(e,t){return this.validateBls12381Field(e,t),o(t,"p")}}e.exports=a},17829:(e,t,r)=>{const n=r(52584),o=r(69865),i=r(68268),a=r(59135),s=r(21290),c=r(4857),u=r(28183),l=r(66651),d=r(13234),f=r(44150),h=r(42086),p=r(34),g=r(62137),m=r(6210),y=r(70692),v=r(54266),w=r(51751),b=r(26973),_=r(46178),E=r(69503),S=r(75547),A=r(4276),T=r(21329),C=r(99098);class x extends i{constructor(){super(),this.typeFactory=new n,this._serializers={void:new p,bool:new c,int:new h,tuple:new _(this),record:new _(this),list:new g(this),set:new m(this),map:new y(this),byte_array:new u,string:new b,hash:new l,signature:new l,bits:new s,variant:new E(this),bytes:new l,account_pubkey:new a,contract_pubkey:new f,oracle_pubkey:new w,oracle_query_id:new v,channel:new d,"bls12_381.fr":new S,"bls12_381.fp":new S,calldata:new A(this),type:new T}}_getSerializer(e){if(!e.hasOwnProperty("name"))throw new C("Unsupported type: "+JSON.stringify(e));const t=e.name;if(!this._serializers.hasOwnProperty(t))throw new C("Unsupported type: "+JSON.stringify(t));return this._serializers[t]}serialize(e){if("object"!==typeof e)throw new C("Only object serialization is supported. Got: "+JSON.stringify(e));if(!(e instanceof o))throw new C("Only instances of FateData is supported.");return this._getSerializer(e).serialize(e)}deserializeWithType(e,t){if(!(e instanceof Uint8Array))throw new C("Only instances of Uint8Array is supported.");return this._getSerializer(t).deserialize(e,t)}deserialize(e){if(!(e instanceof Uint8Array))throw new C("Only instances of Uint8Array is supported.");const t=this.typeFactory.createType(e);return this.deserializeWithType(e,t)}deserializeStream(e,t){if(!(e instanceof Uint8Array))throw new C("Only instances of Uint8Array is supported.");let r=t;return"undefined"===typeof t&&(r=this.typeFactory.createType(e)),this._getSerializer(r).deserializeStream(e,t)}}e.exports=x},59135:(e,t,r)=>{const n=r(6636),o=r(20105),i=r(68268),a=r(20539);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ADDRESS,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},68268:(e,t,r)=>{const n=r(99098);class o{constructor(e){this.globalSerializer=e}serialize(e){throw new n("Not implemented.")}deserialize(e,t){const[r,n]=this.deserializeStream(e,t);return r}deserializeStream(e,t){throw new n("Not implemented.")}}e.exports=o},21290:(e,t,r)=>{const n=r(20105),o=r(77138),i=r(43422),a=r(68268),s=r(99475);class c extends a{serialize(e){const t=e.value>=0?n.POS_BITS:n.NEG_BITS;return[t,...o.encode(s(e.value))]}deserializeStream(e){const t=new Uint8Array(e),r=t[0]===n.POS_BITS?1n:-1n,[a,s]=o.decode(t.slice(1));return[new i(a*r),new Uint8Array(s)]}}e.exports=c},75547:(e,t,r)=>{const n=r(68268),o=r(66651),i=r(41565),a=r(94077),s=new o,c=(e,t)=>{switch(e.name){case"bls12_381.fr":return new i(t);case"bls12_381.fp":return new a(t);default:throw new Error(`Unsupported type "${e.name}"`)}};class u extends n{serialize(e){return s.serialize(e)}deserializeStream(e,t){const[r,n]=s.deserializeStream(e);return[c(t,r.valueOf()),n]}}e.exports=u},4857:(e,t,r)=>{const n=r(20105),o=r(4476),i=r(68268),a=r(5462);class s extends i{serialize(e){return!0===e.valueOf()?[n.TRUE]:[n.FALSE]}deserializeStream(e){const t=new Uint8Array(e),r=t[0],i=t.slice(1);if(r===n.TRUE)return[new o(!0),i];if(r===n.FALSE)return[new o(!1),i];throw new a(r)}}e.exports=s},28183:(e,t,r)=>{const n=r(20105),o=r(68268),i=r(7945),a=r(42086),s=new a;class c extends o{serialize(e){if(0===e.length)return[n.EMPTY_STRING];if(e.length<64){const t=e.length<<2|n.SHORT_STRING;return[t,...e.valueOf()]}return[n.LONG_STRING,...s.serialize(e.length-64),...e.valueOf()]}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(r===n.EMPTY_STRING)return[new i,t.slice(1)];if(r===n.LONG_STRING){const[e,r]=s.deserializeStream(t.slice(1)),n=Number(e.valueOf())+64;return[new i(r.slice(0,n)),r.slice(n)]}const o=1+(r>>2);return[new i(t.slice(1,o)),t.slice(o)]}}e.exports=c},97784:(e,t,r)=>{const n=r(6636),o=r(68268),i=r(21329),{byteArray2Hex:a,byteArray2Int:s}=r(72318),c=r(33425),{FateTypeByteArray:u,FateTypeString:l,FateTypeMap:d}=r(84265),f={3:"immediate",2:"var",1:"arg",0:"stack"},h=(e,t=1)=>{const r=[];let n=Number(s(e));for(let o=0;o<2*t;o+=2)r.push(3&n),n>>=2;if(0!==n)throw new Error(`Invalid argument modifier data. Unexpected padding: 0b${n.toString(2)}`);return r};class p extends o{constructor(e){super(e),this._typeSerializer=new i}deserialize(e){const t=n.decode(e,!0),r=n.decode(t.remainder,!0),o=n.decode(r.remainder),i=this.deserializeSymbols(r.data),a=this.deserializeFunctions(t.data,i),s=this.deserializeAnnotations(o);return{functions:a,symbols:i,annotations:s}}deserializeFunctions(e,t){let r={},n=e;const o=[];while(n.length)[r,n]=this.deserializeFunction(n,t),o.push(r);return o}deserializeFunction(e,t){const r=e[0],n=a(e.slice(1,5));if(254!==r)throw new Error(`Wrong function prefix, expeted 0xfe got 0x${e[0].toString(16)}`);const o=t[n],[i,s]=this.deserializeAttributes(e.slice(5)),[c,u,l]=this.deserializeSignature(s),[d,f]=this.deserializeInstructions(l);return[{id:n,name:o,attributes:i,args:c,returnType:u,instructions:d},f]}deserializeInstructions(e){let t={},r=e;const n=[];let o=0,i=!1;while(r.length&&254!==r[0])void 0===n[o]&&(n[o]=[]),[t,r,i]=this.deserializeInstruction(r),n[o].push(t),i&&o++;return[n,r]}deserializeInstruction(e){const t=e[0],r=e.slice(1);if(!c.hasOwnProperty(t))throw new Error(`Unsupported opcode: 0x${t.toString(16)}`);const n=c[t],{mnemonic:o,end:i}=n;if(0===n.args)return[{mnemonic:o,args:[]},r,i];const[a,s]=this.deserializeArguments(r,n.args);return[{mnemonic:o,args:a},s,i]}deserializeArguments(e,t){const r=t<=4?1:2,n=e.subarray(0,r),o=e.slice(r),i=h(n,t),a=[];let s,c=o;return i.forEach((e=>{[s,c]=this.deserializeArgument(e,c),a.push(s)})),[a,c]}deserializeArgument(e,t){const r=f[e];if("stack"===r)return[{mod:r,arg:0},t];const[n,o]=this.globalSerializer.deserializeStream(t);return[{mod:r,arg:n.valueOf()},o]}deserializeSignature(e){const[t,r]=this._typeSerializer.deserializeStream(e),[n,o]=this._typeSerializer.deserializeStream(r);return[t,n,o]}deserializeAttributes(e){const[t,r]=this.globalSerializer.deserializeStream(e),n=Number(t.valueOf()),o=[];return 1&n&&o.push("private"),2&n&&o.push("payable"),[o,r]}deserializeSymbols(e){const t=d(u(),l()),r=this.globalSerializer.deserializeWithType(e,t).valueOf(),n={};return r.forEach(((e,t)=>{const r=a(t);n[r]=e})),n}deserializeAnnotations(e){const t=this.globalSerializer.deserialize(e).valueOf();return t}}e.exports=p},66651:(e,t,r)=>{const n=r(20105),o=r(28183),i=r(15779),a=r(68268),s=new o;class c extends a{serialize(e){return[n.OBJECT,n.OTYPE_BYTES,...s.serialize(e.value)]}deserializeStream(e){const t=new Uint8Array(e),[r,n]=s.deserializeStream(t.slice(2));return[new i(r.valueOf()),n]}}e.exports=c},4276:(e,t,r)=>{const n=r(56878),o=r(77255),i=r(7945),a=r(68268),{FateTypeTuple:s,FateTypeByteArray:c}=r(84265);class u extends a{serialize(e){const t=new i(e.functionId),r=new n(e.argTypes,e.args),o=new n([t.type,r.type],[t,r]);return this.globalSerializer.serialize(o)}deserialize(e,t){const r=s([c(),s(t.argumentTypes)]),[n]=this.globalSerializer.deserializeStream(e,r),[i,a]=n.items;return new o(i.valueOf(),a.valueTypes,a.items)}}e.exports=u},13234:(e,t,r)=>{const n=r(6636),o=r(20105),i=r(68268),a=r(96445);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_CHANNEL,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},44150:(e,t,r)=>{const n=r(6636),o=r(20105),i=r(68268),a=r(58623);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_CONTRACT,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},42086:(e,t,r)=>{const n=r(20105),o=r(77138),i=r(43509),a=r(68268),s=r(5462),c=r(99475),u=1;class l extends a{serialize(e){const t=e instanceof i?e.value:BigInt(e),r=c(t);if(r<64){const e=Number(r);return t>=0?[e<<1]:[254&(128|e<<1)]}return t<0?[n.NEG_BIG_INT,...o.encode(r-64n)]:[n.POS_BIG_INT,...o.encode(r-64n)]}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(0===(r&u)){if(0===(128&r))return[new i(r>>1),t.slice(1)];const e=(126&r)>>1;return[new i(-e),t.slice(1)]}if(r===n.POS_BIG_INT||r===n.NEG_BIG_INT){const e=r===n.POS_BIG_INT?1n:-1n,[a,s]=o.decode(t.slice(1));return[new i((a+64n)*e),new Uint8Array(s)]}throw new s(r)}}e.exports=l},62137:(e,t,r)=>{const n=r(77138),o=r(20105),i=r(51041),a=r(68268);class s extends a{serialize(e){const t=e.items.map((e=>this.globalSerializer.serialize(e))).flat(1/0),r=e.items.length;if(r<16){const e=r<<4|o.SHORT_LIST;return[e,...t]}return[o.LONG_LIST,...n.encode(r-16),...t]}deserializeStream(e,t){const r=new Uint8Array(e),a=r[0];let s,c,u=0n,l=r.slice(1);a===o.LONG_LIST&&([u,l]=n.decode(r.slice(1)),u+=16n),(15&a)===o.SHORT_LIST&&(u=BigInt((240&a)>>4)),"undefined"!==typeof t&&(s=t.valuesType);const d=[];for(let n=0n;n{const n=r(20105),o=r(77138),i=r(68268),a=r(12689),s=r(68804),c=r(5462);class u extends i{serialize(e){const t=e.length,r=a(e.keyType),i=[...e.items];i.sort(((e,t)=>r(e.key,t.key)));const s=i.map((e=>[this.globalSerializer.serialize(e.key),this.globalSerializer.serialize(e.value)]));return[n.MAP,...o.encode(t),...s.flat(1/0)]}deserializeStream(e,t){const r=new Uint8Array(e),i=r[0];if(i!==n.MAP)throw new c(i);const[a,u]=o.decode(r.slice(1));let l,d,f=u;if(0n===a)return[new s,f];"undefined"!==typeof t&&({keyType:l,valueType:d}=t);const h=[];for(let n=0n;n{const n=r(6636),o=r(20105),i=r(68268),a=r(45070);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ORACLE_QUERY,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},51751:(e,t,r)=>{const n=r(6636),o=r(20105),i=r(68268),a=r(90687);class s extends i{serialize(e){return[o.OBJECT,o.OTYPE_ORACLE,...n.encode(e.value)]}deserializeStream(e){const t=new Uint8Array(e),r=n.decode(t.slice(2),!0);return[new a(r.data),new Uint8Array(r.remainder)]}}e.exports=s},6210:(e,t,r)=>{const n=r(68268),{FateTypeTuple:o,FateTypeMap:i}=r(84265),a=r(68804),s=r(56878),c=r(72548);class u extends n{serialize(e){return this.globalSerializer.serialize(new a(e.itemsType,o(),e.items.map((e=>[e,new s]))))}deserializeStream(e,t){const r=i(t.valuesType,o()),[n,a]=this.globalSerializer.deserializeStream(e,r);return[new c(t.valuesType,n.keys),a]}}e.exports=u},26973:(e,t,r)=>{const n=r(20105),o=r(68268),i=r(28183),a=r(36313),s=r(5462),c=new i;class u extends o{serialize(e){const t=new TextEncoder,r=t.encode(e);return c.serialize(r)}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if((3&r)!==n.SHORT_STRING&&![n.EMPTY_STRING,n.LONG_STRING].includes(r))throw new s(r);const o=new TextDecoder,[i,u]=c.deserializeStream(t);return[new a(o.decode(i.valueOf())),u]}}e.exports=u},46178:(e,t,r)=>{const n=r(20105),o=r(56878),i=r(68268),a=r(77138);class s extends i{serialize(e){const t=e.size;if(0===t)return[n.EMPTY_TUPLE];const r=e.items.map((e=>this.globalSerializer.serialize(e))).flat(1/0);if(t<16){const e=t<<4|n.SHORT_TUPLE;return[e,...r]}return[n.LONG_TUPLE,...a.encode(t-16),...r]}deserializeStream(e,t){const r=new Uint8Array(e),i=r[0];let s=0n,c=r.slice(1);if(i===n.EMPTY_TUPLE)return[new o,c];(15&i)===n.SHORT_TUPLE&&(s=(240&i)>>4),i===n.LONG_TUPLE&&([s,c]=a.decode(r.slice(1)),s+=16n);let u=[];"undefined"!==typeof t&&(u=t.valueTypes);const l=[];let d=null;for(let n=0n;ne.type))),[new o(f,l),c]}}e.exports=s},21329:(e,t,r)=>{const n=r(20105),o=r(68268),i=r(42086),a=r(5462),{FateTypeInt:s,FateTypeBool:c,FateTypeString:u,FateTypeBits:l,FateTypeBytes:d,FateTypeAccountAddress:f,FateTypeContractAddress:h,FateTypeOracleAddress:p,FateTypeOracleQueryAddress:g,FateTypeChannelAddress:m,FateTypeList:y,FateTypeMap:v,FateTypeTuple:w,FateTypeVariant:b,FateTypeVar:_,FateTypeAny:E}=r(84265),S={[n.TYPE_INTEGER]:s(),[n.TYPE_BOOLEAN]:c(),[n.TYPE_BITS]:l(),[n.TYPE_STRING]:u(),[n.TYPE_ANY]:E()},A={[n.OTYPE_ADDRESS]:f(),[n.OTYPE_CONTRACT]:h(),[n.OTYPE_ORACLE]:p(),[n.OTYPE_ORACLE_QUERY]:g(),[n.OTYPE_CHANNEL]:m()};class T extends o{constructor(e){super(e),this._intSerializer=new i}deserializeStream(e){const t=new Uint8Array(e),r=t[0];if(S.hasOwnProperty(r))return[S[r],t.slice(1)];if(r===n.TYPE_OBJECT){const e=t[1];if(!A.hasOwnProperty(e))throw new a(e,"Unsupported object type");return[A[e],t.slice(2)]}if(r===n.TYPE_VAR)return[_(t[1]),t.slice(2)];if(r===n.TYPE_BYTES){const[e,r]=this._intSerializer.deserializeStream(t.slice(1));return[d(e.valueOf()),r]}if(r===n.TYPE_LIST){const[e,r]=this.deserializeStream(t.slice(1));return[y(e),r]}if(r===n.TYPE_MAP){const[e,r]=this.deserializeStream(t.slice(1)),[n,o]=this.deserializeStream(r);return[v(e,n),o]}if(r===n.TYPE_TUPLE){const e=t[1],r=[];let n,o=t.slice(2);for(let t=0;t{const n=r(6636),o=r(20105),i=r(56878),a=r(72457),{FateTypeTuple:s}=r(84265),c=r(68268);class u extends c{serialize(e){const t=new i(e.valueTypes,e.value);return[o.VARIANT,...n.encode(new Uint8Array(e.arities)),e.tag,...this.globalSerializer.serialize(t)]}deserializeStream(e,t){const r=new Uint8Array(e),o=n.decode(r.slice(1),!0),i=[...o.data],c=o.remainder[0],u=o.remainder.slice(1);let l,d=[];"undefined"!==typeof t&&"undefined"!==typeof t.variants&&(d=t.variants,l=s(Object.values(d[c])[0]));const[f,h]=this.globalSerializer.deserializeStream(u,l);return[new a(i,c,f.items,f.valueTypes,d),h]}}e.exports=u},34:(e,t,r)=>{const n=r(19713),o=r(68268);class i extends o{serialize(){return""}deserialize(){return new n}deserializeStream(e){return[new n,e]}}e.exports=i},52584:(e,t,r)=>{const n=r(44664),o=r(20105),i=r(5462),{FateTypeInt:a,FateTypeBool:s,FateTypeString:c,FateTypeBits:u,FateTypeBytes:l,FateTypeAccountAddress:d,FateTypeContractAddress:f,FateTypeOracleAddress:h,FateTypeOracleQueryAddress:p,FateTypeChannelAddress:g,FateTypeList:m,FateTypeMap:y,FateTypeTuple:v,FateTypeVariant:w,FateTypeType:b}=r(84265),_={[o.OTYPE_ADDRESS]:d(),[o.OTYPE_BYTES]:l(),[o.OTYPE_CONTRACT]:f(),[o.OTYPE_ORACLE]:h(),[o.OTYPE_ORACLE_QUERY]:p(),[o.OTYPE_CHANNEL]:g()};class E{createType(e){const t=e[0];if(t===o.TRUE||t===o.FALSE)return s();if((1&t)===o.SMALL_INT||t===o.POS_BIG_INT||t===o.NEG_BIG_INT)return a();if((3&t)===o.SHORT_STRING||t===o.LONG_STRING||t===o.EMPTY_STRING)return c();if((15&t)===o.SHORT_LIST||t===o.LONG_LIST)return m();if((15&t)===o.SHORT_TUPLE||t===o.LONG_TUPLE||t===o.EMPTY_TUPLE)return v();if(t===o.MAP||t===o.EMPTY_MAP)return y();if(t===o.POS_BITS||t===o.NEG_BITS)return u();if(t===o.VARIANT)return w();if(t===o.OBJECT){const t=e[1];return n(_.hasOwnProperty(t),`Unsupported object type "${t}"`),_[t]}if(t===o.TYPE_INTEGER||t===o.TYPE_BOOLEAN||t===o.TYPE_LIST||t===o.TYPE_TUPLE||t===o.TYPE_OBJECT||t===o.TYPE_BITS||t===o.TYPE_MAP||t===o.TYPE_STRING||t===o.TYPE_VARIANT||t===o.TYPE_BYTES||t===o.TYPE_CONTRACT_BYTEARRAY||t===o.TYPE_VAR||t===o.TYPE_ANY)return b();throw new i(t)}}e.exports=E},92540:(e,t,r)=>{const n=r(76966),{FateTypeVoid:o,FateTypeInt:i,FateTypeBool:a,FateTypeString:s,FateTypeBits:c,FateTypeBytes:u,FateTypeHash:l,FateTypeSignature:d,FateTypeAccountAddress:f,FateTypeContractAddress:h,FateTypeOracleAddress:p,FateTypeOracleQueryAddress:g,FateTypeList:m,FateTypeMap:y,FateTypeTuple:v,FateTypeRecord:w,FateTypeSet:b,FateTypeVariant:_,FateTypeOption:E,FateTypeChainTTL:S,FateTypeChainGAMetaTx:A,FateTypeChainPayingForTx:T,FateTypeChainBaseTx:C,FateTypeAENSPointee:x,FateTypeAENSName:I,FateTypeBls12381Fr:O,FateTypeBls12381Fp:N}=r(84265),P=e=>e&&"object"===typeof e&&e.constructor===Object;class k{isCustomType(){return!1}resolveTypeDef(e,t){return[e,t]}resolveValueTypes(e,t){return Array.isArray(e)?e.map((e=>{const r=e.hasOwnProperty("type")?e.type:e,n=t.hasOwnProperty(r)?t[r]:r;return this.resolveType(n,t)})):[]}resolveType(e,t={}){let r=e,_=[],k=[];if(P(e)&&([[r,_]]=Object.entries(e)),this.isCustomType(r)){const[e,t]=this.resolveTypeDef(r,_);return this.resolveType(e,t)}if("variant"!==r&&(k=this.resolveValueTypes(_,t)),"void"===r)return o();if("unit"===r)return v([]);if("int"===r)return i();if("bool"===r)return a();if("string"===r)return s();if("bits"===r)return c();if("hash"===r)return l();if("signature"===r)return d();if("address"===r)return f();if("contract_pubkey"===r)return h();if("Chain.ttl"===r)return S();if("Chain.ga_meta_tx"===r)return A();if("Chain.paying_for_tx"===r)return T();if("Chain.base_tx"===r)return C();if("AENS.pointee"===r)return x();if("AENS.name"===r)return I();if("Set.set"===r)return b(...k);if("MCL_BLS12_381.fr"===r)return O();if("MCL_BLS12_381.fp"===r)return N();if("bytes"===r)return u(_);if("list"===r)return m(...k);if("map"===r)return y(...k);if(("tuple"===r||"record"===r)&&1===k.length)return k[0];if("tuple"===r)return v(k);if("record"===r){const e=_.map((e=>e.name));return w(e,k)}if("variant"===r)return this.resolveVariant(_,t);if("option"===r)return E(k);if("oracle"===r)return p(...k);if("oracle_query"===r)return g(...k);throw new n("Cannot resolve type: "+JSON.stringify(e))}resolveVariant(e,t){const r=e.map((e=>{const[[r,n]]=Object.entries(e),o=n.map((e=>{const r=t.hasOwnProperty(e)?t[e]:e;return this.resolveType(r,t)}));return{[r]:o}}));return _(r)}}e.exports=k},50389:(e,t,r)=>{const n=r(68293);class o{constructor(e){this._internalEncoder=new n(e)}encodeCall(e,t,r){return this._internalEncoder.encodeCall(e,t,r)}decodeCall(e,t,r){return this._internalEncoder.decodeCall(e,t,r)}decodeResult(e,t,r,n="ok"){return this._internalEncoder.decodeResult(e,t,r,n)}decodeEvent(e,t,r){return this._internalEncoder.decodeEvent(e,t,r)}}e.exports=o},40493:(e,t,r)=>{const n=r(12690);class o{constructor(e){this._internalEncoder=new n(e)}encodeCall(e,t){return this._internalEncoder.encodeCall(e,t)}decodeCall(e){return this._internalEncoder.decodeCall(e)}decodeResult(e,t="ok"){return this._internalEncoder.decodeResult(e,t)}}e.exports=o},12787:(e,t,r)=>{const n=r(88323);class o{constructor(){this._internalEncoder=new n}encodeWithType(e,t){return this._internalEncoder.encode(t,e)}decode(e){return this._internalEncoder.decode(e)}decodeWithType(e,t){return this._internalEncoder.decodeWithType(e,t)}}e.exports=o},31293:(e,t,r)=>{const n=r(56634);class o{constructor(){this._internalEncoder=new n}decode(e){return this._internalEncoder.decode(e)}}e.exports=o},87795:(e,t,r)=>{const n=r(92968);class o{constructor(e){this._internalEncoder=new n(e)}encode(e,t,r){return this._internalEncoder.encode(e,t,r)}decode(e,t,r){return this._internalEncoder.decode(e,t,r)}decodeContractByteArray(e){return this._internalEncoder.decodeContractByteArray(e)}decodeString(e){return this._internalEncoder.decodeString(e)}decodeFateString(e){return this._internalEncoder.decodeFateString(e)}decodeEvent(e,t,r){return this._internalEncoder.decodeEvent(e,t,r)}}e.exports=o},42559:(e,t,r)=>{const n=r(37200);class o{constructor(){this._internalEncoder=new n}encode(e,t){return this._internalEncoder.encode(e,t)}decode(e){return this._internalEncoder.decode(e)}}e.exports=o},11912:(e,t,r)=>{const n=r(92540);class o{constructor(){this._internalResolver=new n}resolveType(e,t={}){return this._internalResolver.resolveType(e,t)}}e.exports=o},23023:(e,t,r)=>{const n=r(87795),o=r(50389),i=r(40493),a=r(12787),s=r(42559),c=r(31293),u=r(11912);e.exports={Encoder:n,AciContractCallEncoder:o,BytecodeContractCallEncoder:i,ContractByteArrayEncoder:a,FateApiEncoder:s,ContractEncoder:c,TypeResolver:u}},20539:(e,t,r)=>{const n=r(86187);class o extends n{constructor(e){super(e,"account_pubkey","ak")}}e.exports=o},86187:(e,t,r)=>{const n=r(15779);class o extends n{constructor(e,t,r){super(e,32,t),this._prefix=r}get prefix(){return this._prefix}accept(e){return e.visitAddress(this)}}e.exports=o},43422:(e,t,r)=>{const n=r(69865);class o extends n{constructor(e){super("bits"),this._value=BigInt(e)}get value(){return this._value}valueOf(){return this._value}}e.exports=o},27430:(e,t,r)=>{const n=r(69865),o=r(55110);class i extends n{constructor(e,t,r){if(super(r),!Array.isArray(e)&&!ArrayBuffer.isView(e))throw new o(r,`Should be one of: Array or ArrayBuffer; got ${e} instead`);const n=new Uint8Array(e);if(n.byteLength!==t)throw new o(r,`Invalid length: got ${n.byteLength} bytes instead of ${t} bytes`);this._value=n,this._size=t}get value(){return this._value}get size(){return this._size}valueOf(){return this._value}}e.exports=i},94077:(e,t,r)=>{const n=r(27430),{FateTypeBls12381Fp:o}=r(84265),i=48,a="bls12_381.fp";class s extends n{constructor(e){super(e,i,a)}get type(){return o()}accept(e){return e.visitBls12381Fp(this)}}e.exports=s},41565:(e,t,r)=>{const n=r(27430),{FateTypeBls12381Fr:o}=r(84265),i=32,a="bls12_381.fr";class s extends n{constructor(e){super(e,i,a)}get type(){return o()}accept(e){return e.visitBls12381Fr(this)}}e.exports=s},4476:(e,t,r)=>{const n=r(69865),{FateTypeBool:o}=r(84265);class i extends n{constructor(e){super("bool"),this._value=!!e}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},7945:(e,t,r)=>{const n=r(69865),{FateTypeByteArray:o}=r(84265);class i extends n{constructor(e=[]){super("byte_array"),this._value=new Uint8Array(e)}get length(){return this._value.length}get type(){return o()}valueOf(){return this._value}}e.exports=i},15779:(e,t,r)=>{const n=r(69865),{int2ByteArray:o}=r(72318),i=r(52185),a=r(55110),s=(e,t=0)=>{if(Array.isArray(e)||ArrayBuffer.isView(e))return new Uint8Array(e);if("string"===typeof e)return i(e);if("bigint"!==typeof e&&!Number.isInteger(e))throw new a("byte_array",`Should be one of: Array, ArrayBuffer, hex string, Number, BigInt; got ${e} instead`);const r=o(e);if(r.length>=t)return r;const n=new Uint8Array(t);return n.set(r,t-r.length),n};class c extends n{constructor(e,t,r="bytes"){if(super(r),this._value=s(e,t),t&&this._value.byteLength!==t)throw new a(r,`Invalid length: got ${this._value.byteLength} bytes instead of ${t} bytes`);this._size=t}get value(){return this._value}get size(){return this._size}valueOf(){return this._value}}e.exports=c},77255:(e,t,r)=>{const n=r(69865);class o extends n{constructor(e,t,r){super("calldata"),this._functionId=new Uint8Array(e),this._argTypes=t,this._args=r}get functionId(){return this._functionId}get argTypes(){return this._argTypes}get args(){return this._args}valueOf(){return{functionId:this._functionId,args:this._args}}accept(e){return e.visitCalldata(this)}}e.exports=o},96445:(e,t,r)=>{const n=r(86187);class o extends n{constructor(e){super(e,"channel","ch")}}e.exports=o},58623:(e,t,r)=>{const n=r(86187);class o extends n{constructor(e){super(e,"contract_pubkey","ct")}}e.exports=o},69865:(e,t,r)=>{const n=r(2966);class o{constructor(e){this.name=e}valueOf(){throw new n("Not implemented.")}accept(e){return e.visitData(this)}}e.exports=o},7772:(e,t,r)=>{const n=r(15779);class o extends n{constructor(e){super(e,32,"hash")}}e.exports=o},43509:(e,t,r)=>{const n=r(69865),{FateTypeInt:o}=r(84265);class i extends n{constructor(e){super("int"),this._value=BigInt(e)}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},51041:(e,t,r)=>{const n=r(69865),{FateTypeList:o}=r(84265);class i extends n{constructor(e,t=[]){super("list"),this._itemsType=e,this.items=Array.from(t)}get itemsType(){return this._itemsType}get type(){return o(this.itemsType)}get length(){return this.items.length}valueOf(){return this.items.map((e=>e.valueOf()))}accept(e){return e.visitList(this)}}e.exports=i},68804:(e,t,r)=>{const n=r(69865),{FateTypeMap:o}=r(84265),i=e=>{const[t,r]=e;return{key:t,value:r}};class a extends n{constructor(e,t,r=[]){super("map"),this._keyType=e,this._valueType=t,this._type=o(e,t),this._value=new Map(r)}get items(){return[...this._value.entries()].map(i)}get keyType(){return this._keyType}get valueType(){return this._valueType}get type(){return this._type}get length(){return this._value.size}get iterator(){return this._value[Symbol.iterator]()}get keys(){return this._value.keys()}valueOf(){const e=new Map;for(const[t,r]of this.iterator)e.set(t.valueOf(),r.valueOf());return e}accept(e){return e.visitMap(this)}}e.exports=a},90687:(e,t,r)=>{const n=r(86187);class o extends n{constructor(e){super(e,"oracle_pubkey","ok")}}e.exports=o},45070:(e,t,r)=>{const n=r(86187);class o extends n{constructor(e){super(e,"oracle_query_id","oq")}}e.exports=o},72548:(e,t,r)=>{const n=r(69865),{FateTypeSet:o}=r(84265);class i extends n{constructor(e,t=[]){super("set"),this._itemsType=e,this._items=new Set(t)}get items(){return Array.from(this._items.values())}get itemsType(){return this._itemsType}get type(){return o(this.itemsType)}get length(){return this._items.size}valueOf(){return new Set(this.items.map((e=>e.valueOf())))}accept(e){return e.visitSet(this)}}e.exports=i},63607:(e,t,r)=>{const n=r(15779);class o extends n{constructor(e){super(e,64,"signature")}}e.exports=o},36313:(e,t,r)=>{const n=r(69865),{FateTypeString:o}=r(84265),i=e=>{if(e instanceof Uint8Array){const t=new TextDecoder;return t.decode(e)}return e.toString()};class a extends n{constructor(e){super("string"),this._value=i(e)}get type(){return o()}toString(){return this._value}valueOf(){return this._value}}e.exports=a},56878:(e,t,r)=>{const n=r(69865),{FateTypeTuple:o}=r(84265),i=(e,t)=>{const r=(e,r,n)=>(e[r]=t[n],e);return e.reduce(r,{})};class a extends n{constructor(e=[],t=[]){super("tuple"),this._valueTypes=e.hasOwnProperty("valueTypes")?e.valueTypes:e,this._type=Array.isArray(e)?o(e):e,this._items=Array.from(t)}get valueTypes(){return this._valueTypes}get type(){return this._type}get size(){return this._items.length}get items(){return this._items}valueOf(){return this.prepareItems((e=>e.valueOf()))}prepareItems(e){const t=this._items.map(e);return"record"===this._type.name?i(this._type.keys,t):t}accept(e){return e.visitTuple(this)}}e.exports=a},72457:(e,t,r)=>{const n=r(69865),{FateTypeVariant:o,FateTypeTuple:i,FateTypeInt:a}=r(84265);class s extends n{constructor(e,t,r=[],n=[],i=[]){super("variant"),this.arities=Array.from(e),this._tag=t,this._value=r,this._valueTypes=n,this._type=o(i)}get valueTypes(){return this._valueTypes}get type(){return this._type}get tag(){return this._tag}get value(){return this._value}get aritiesType(){return a()}get variantType(){return i(this._valueTypes)}get variants(){return this._type.variants}get variantName(){if(0===this.variants.length)return this.tag;const e=this.variants[this.tag];return Object.keys(e)[0]}valueOf(){if(0===this.variants.length)return this;const e=this._value.map((e=>e.valueOf()));return{[this.variantName]:e}}accept(e){return e.visitVariant(this)}}e.exports=s},19713:(e,t,r)=>{const n=r(69865),{FateTypeVoid:o}=r(84265);class i extends n{constructor(){super("void"),this._value=void 0}get value(){return this._value}get type(){return o()}valueOf(){return this._value}}e.exports=i},77138:(e,t,r)=>{const n=r(6636),{int2ByteArray:o,byteArray2Int:i}=r(72318);e.exports={encode(e){return new Uint8Array(n.encode(o(e)))},decode(e){const t=n.decode(e,!0);return[i(t.data),t.remainder]}}},99475:e=>{const t=e=>e>0?e:-1n*e;e.exports=t},44664:(e,t,r)=>{const n=r(2966),o=(e,t)=>{if(!e)throw new n(t)};e.exports=o},92727:(e,t,r)=>{const n=r(77191),{addChecksum:o,getPayload:i}=r(68638),a=e=>n.encode(o(e)),s=e=>i(n.decode(e));e.exports={encode:a,decode:s}},68638:(e,t,r)=>{const n=r(67499),{Buffer:o}=r(89509),i=r(70722),a=e=>(new n).update(e).digest(),s=e=>a(a(e)).slice(0,4),c=e=>{const t=o.from(e),r=s(e);return o.concat([t,r],t.length+4)},u=e=>{const t=o.from(e),r=t.slice(0,-4),n=t.slice(-4),a=s(r);if(!n.equals(a))throw new i("Invalid checksum");return new Uint8Array(r)},l=e=>c(e).toString("base64"),d=e=>{const t=o.from(e,"base64");return u(t)};e.exports={addChecksum:c,getPayload:u,encode:l,decode:d}},33755:(e,t,r)=>{const{int2ByteArray:n,byteArray2IntBE:o}=r(72318),i={r:{R:1n<<256n,N:0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001n},p:{R:1n<<384n,N:0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaabn}},a=(e,t)=>{if(0n===t)return[1n,0n,e];const[r,n,o]=a(t,e%t);return[n,r-n*(e/t),o]},s=(e,t)=>{const[r,n,o]=a(e,t);return(r+t)%t},c=(e,t)=>{const r=i[t],o=BigInt(e),a=o*r.R%r.N;return n(a)},u=(e,t)=>{const r=i[t],n=o(e),a=s(r.R,r.N);return n*a%r.N};e.exports={int2MontBytes:c,montBytes2Int:u}},12665:(e,t,r)=>{const n=r(8442),o=32,i=e=>Array.from(n.blake2b(e,null,o)),a=e=>i(e).slice(0,4);e.exports={hash:i,symbolIdentifier:a}},52185:(e,t,r)=>{const n=r(70722),o=e=>{const t=e.match(/^(0x)?([a-f0-9]*)$/i);if(!t)throw new n(`Invalid hex string: ${e}`);return new Uint8Array(t[2].split(/(.{1,2})/).filter((e=>e)).map((e=>parseInt(e,16))))};e.exports=o},72318:e=>{const t=e=>{const r=BigInt(e);return r<256n?new Uint8Array([Number(r)]):new Uint8Array([...t(r>>8n),Number(0xffn&r)])},r=e=>[...e].map((e=>e.toString(16).padStart(2,"0"))),n=e=>{const t=r(e);return BigInt("0x"+t.join(""))},o=e=>{const t=r(e).reverse();return BigInt("0x"+t.join(""))},i=e=>r(e).join("");e.exports={int2ByteArray:t,byteArray2Int:n,byteArray2IntBE:o,byteArray2Hex:i}},55675:e=>{e.exports=(e,...t)=>e.map(((e,r)=>t.reduce(((e,t)=>[...e,t[r]]),[e])))},75885:(e,t,r)=>{var n=r(89509).Buffer,o=r(23482),i=r(25632).pbkdf2Sync,a=r(61798),s=r(20326),c=s,u="Invalid mnemonic",l="Invalid entropy",d="Invalid mnemonic checksum";function f(e,t,r){while(e.length32)throw new Error(l);if(p.length%4!==0)throw new Error(l);var m=n.from(p),v=g(m);if(v!==s)throw new Error(d);return m.toString("hex")}function _(e,t){if(n.isBuffer(e)||(e=n.from(e,"hex")),t=t||c,e.length<16)throw new TypeError(l);if(e.length>32)throw new TypeError(l);if(e.length%4!==0)throw new TypeError(l);var r=p([].slice.call(e)),o=g(e),i=r+o,a=i.match(/(.{1,11})/g),s=a.map((function(e){var r=h(e);return t[r]}));return s.join(" ")}function E(e,t,r){if(e=e||128,e%32!==0)throw new TypeError(l);return t=t||a,_(t(e/8),r)}function S(e,t){try{b(e,t)}catch(r){return!1}return!0}e.exports={mnemonicToSeed:v,mnemonicToSeedHex:w,mnemonicToEntropy:b,entropyToMnemonic:_,generateMnemonic:E,validateMnemonic:S,wordlists:{EN:s,english:s}}},89784:(e,t,r)=>{var n=r(37798).stringify,o=r(16175);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},16175:(e,t,r)=>{var n=null,o=function(e){"use strict";var t={strict:!1,storeAsString:!1};void 0!==e&&null!==e&&(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0));var o,i,a,s,c={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=function(e){throw{name:"SyntaxError",message:e,at:o,text:a}},l=function(e){return e&&e!==i&&u("Expected '"+e+"' instead of '"+i+"'"),i=a.charAt(o),o+=1,i},d=function(){var e,o="";"-"===i&&(o="-",l("-"));while(i>="0"&&i<="9")o+=i,l();if("."===i){o+=".";while(l()&&i>="0"&&i<="9")o+=i}if("e"===i||"E"===i){o+=i,l(),"-"!==i&&"+"!==i||(o+=i,l());while(i>="0"&&i<="9")o+=i,l()}if(e=+o,isFinite(e))return null==n&&(n=r(44431)),o.length>15?!0===t.storeAsString?o:new n(o):e;u("Bad number")},f=function(){var e,t,r,n="";if('"'===i)while(l()){if('"'===i)return l(),n;if("\\"===i)if(l(),"u"===i){for(r=0,t=0;t<4;t+=1){if(e=parseInt(l(),16),!isFinite(e))break;r=16*r+e}n+=String.fromCharCode(r)}else{if("string"!==typeof c[i])break;n+=c[i]}else n+=i}u("Bad string")},h=function(){while(i&&i<=" ")l()},p=function(){switch(i){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}u("Unexpected '"+i+"'")},g=function(){var e=[];if("["===i){if(l("["),h(),"]"===i)return l("]"),e;while(i){if(e.push(s()),h(),"]"===i)return l("]"),e;l(","),h()}}u("Bad array")},m=function(){var e,r={};if("{"===i){if(l("{"),h(),"}"===i)return l("}"),r;while(i){if(e=f(),h(),l(":"),!0===t.strict&&Object.hasOwnProperty.call(r,e)&&u('Duplicate key "'+e+'"'),r[e]=s(),h(),"}"===i)return l("}"),r;l(","),h()}}u("Bad object")};return s=function(){switch(h(),i){case"{":return m();case"[":return g();case'"':return f();case"-":return d();default:return i>="0"&&i<="9"?d():p()}},function(e,t){var r;return a=e+"",o=0,i=" ",r=s(),h(),i&&u("Syntax error"),"function"===typeof t?function e(r,n){var o,i=r[n];return i&&"object"===typeof i&&Object.keys(i).forEach((function(t){o=e(i,t),void 0!==o?i[t]=o:delete i[t]})),t.call(r,n,i)}({"":r},""):r}};e.exports=o},37798:(e,t,r)=>{var n=r(44431),o=e.exports;(function(){"use strict";var e,t,r,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function c(o,i){var a,u,l,d,f,h=e,p=i[o],g=null!=p&&(p instanceof n||n.isBigNumber(p));switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(o)),"function"===typeof r&&(p=r.call(i,o,p)),typeof p){case"string":return g?p:s(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(e+=t,f=[],"[object Array]"===Object.prototype.toString.apply(p)){for(d=p.length,a=0;a{"use strict";r.d(t,{o:()=>s,h:()=>c});var n=r(55742);const o={};var i=r(17440);const a=new i.T;class s extends Error{constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,this.request=t.request,this.response=t.response,Object.setPrototypeOf(this,s.prototype)}[o](){return`RestError: ${this.message} \n ${a.sanitize(this)}`}}function c(e){return e instanceof s||(0,n.V)(e)&&"RestError"===e.name}s.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",s.PARSE_ERROR="PARSE_ERROR"},17440:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(38472);const o="REDACTED",i=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],a=["api-version"];class s{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=i.concat(e),t=a.concat(t),this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase()))),this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if(r instanceof Error)return Object.assign(Object.assign({},r),{name:r.name,message:r.message});if("headers"===e)return this.sanitizeHeaders(r);if("url"===e)return this.sanitizeUrl(r);if("query"===e)return this.sanitizeQuery(r);if("body"!==e&&"response"!==e&&"operationSpec"!==e){if(Array.isArray(r)||(0,n.K)(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}}),2)}sanitizeHeaders(e){const t={};for(const r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=o;return t}sanitizeQuery(e){if("object"!==typeof e||null===e)return e;const t={};for(const r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=o;return t}sanitizeUrl(e){if("string"!==typeof e||null===e)return e;const t=new URL(e);if(!t.search)return e;for(const[r]of t.searchParams)this.allowedQueryParameters.has(r.toLowerCase())||t.searchParams.set(r,o);return t.toString()}}},55742:(e,t,r)=>{"use strict";r.d(t,{V:()=>o,e:()=>i});var n=r(38472);function o(e){if((0,n.K)(e)){const t="string"===typeof e.name,r="string"===typeof e.message;return t&&r}return!1}function i(e){if(o(e))return e.message;{let r;try{r="object"===typeof e&&e?JSON.stringify(e):String(e)}catch(t){r="[unable to stringify input]"}return`Unknown error ${r}`}}},38472:(e,t,r)=>{"use strict";function n(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}r.d(t,{K:()=>n})},55130:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});const n={FRONT:"front",BACK:"back"}},86693:(e,t,r)=>{"use strict";r.d(t,{mR:()=>o});var n=r(29895);r(55130);const o=(0,n.fo)("BarcodeScanner",{web:()=>r.e(998).then(r.bind(r,14640)).then((e=>new e.BarcodeScannerWeb))})},14640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BarcodeScannerWeb:()=>s});var n=r(29895),o=r(71076),i=r(83205),a=r(55130);class s extends n.Uw{constructor(){super(...arguments),this._formats=[],this._controls=null,this._torchState=!1,this._video=null,this._options=null,this._backgroundColor=null}async prepare(){await this._getVideoElement()}async hideBackground(){this._backgroundColor=document.documentElement.style.backgroundColor,document.documentElement.style.backgroundColor="transparent"}async showBackground(){document.documentElement.style.backgroundColor=this._backgroundColor||""}async startScan(e){var t;this._options=e,this._formats=[],null===(t=null===e||void 0===e?void 0:e.targetedFormats)||void 0===t||t.forEach((e=>{const t=Object.keys(o.BarcodeFormat).indexOf(e);t>=0?this._formats.push(0):console.error(e,"is not supported on web")}));const r=await this._getVideoElement();if(r)return await this._getFirstResultFromReader();throw this.unavailable("Missing video element")}async startScanning(e,t){throw this.unimplemented("Not implemented on web.")}async pauseScanning(){this._controls&&(this._controls.stop(),this._controls=null)}async resumeScanning(){this._getFirstResultFromReader()}async stopScan(e){this._stop(),this._controls&&(this._controls.stop(),this._controls=null)}async checkPermission(e){if("undefined"===typeof navigator||!navigator.permissions)throw this.unavailable("Permissions API not available in this browser");try{const e=await window.navigator.permissions.query({name:"camera"});return"prompt"===e.state?{neverAsked:!0}:"denied"===e.state?{denied:!0}:"granted"===e.state?{granted:!0}:{unknown:!0}}catch(t){throw this.unavailable("Camera permissions are not available in this browser")}}async openAppSettings(){throw this.unavailable("App settings are not available in this browser")}async disableTorch(){this._controls&&this._controls.switchTorch&&(this._controls.switchTorch(!1),this._torchState=!1)}async enableTorch(){this._controls&&this._controls.switchTorch&&(this._controls.switchTorch(!0),this._torchState=!0)}async toggleTorch(){this._controls&&this._controls.switchTorch&&this._controls.switchTorch(!0)}async getTorchState(){return{isEnabled:this._torchState}}async _getVideoElement(){return this._video||await this._startVideo(),this._video}async _getFirstResultFromReader(){const e=await this._getVideoElement();return new Promise((async t=>{if(e){let r;this._formats.length&&(r=new Map,r.set(i.DecodeHintType.POSSIBLE_FORMATS,this._formats));const n=new o.BrowserQRCodeReader(r);this._controls=await n.decodeFromVideoElement(e,((e,r,n)=>{!r&&e&&e.getText()&&(t({hasContent:!0,content:e.getText(),format:e.getBarcodeFormat().toString()}),n.stop(),this._controls=null,this._stop()),r&&r.message&&console.error(r.message)}))}}))}async _startVideo(){return new Promise((async(e,t)=>{var r;await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then((e=>{e.getTracks().forEach((e=>e.stop()))})).catch((e=>{t(e)}));const n=document.body,o=document.getElementById("video");if(o)t({message:"camera already started"});else{const o=document.createElement("div");o.setAttribute("style","position:absolute; top: 0; left: 0; width:100%; height: 100%; background-color: black;"),this._video=document.createElement("video"),this._video.id="video",(null===(r=this._options)||void 0===r?void 0:r.cameraDirection)!==a.G.BACK?this._video.setAttribute("style","-webkit-transform: scaleX(-1); transform: scaleX(-1); width:100%; height: 100%;"):this._video.setAttribute("style","width:100%; height: 100%;");const i=navigator.userAgent.toLowerCase(),s=i.includes("safari")&&!i.includes("chrome");if(s&&(this._video.setAttribute("autoplay","true"),this._video.setAttribute("muted","true"),this._video.setAttribute("playsinline","true")),o.appendChild(this._video),n.appendChild(o),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){const r={video:{}};navigator.mediaDevices.getUserMedia(r).then((t=>{this._video&&(this._video.srcObject=t,this._video.play()),e({})}),(e=>{t(e)}))}}}))}async _stop(){var e;if(this._video){this._video.pause();const n=this._video.srcObject,o=n.getTracks();for(var t=0;t{"use strict";r.d(t,{g:()=>o});var n=r(29895);const o=(0,n.fo)("App",{web:()=>r.e(998).then(r.bind(r,65486)).then((e=>new e.AppWeb))})},65486:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppWeb:()=>o});var n=r(29895);class o extends n.Uw{constructor(){super(),this.handleVisibilityChange=()=>{const e={isActive:!0!==document.hidden};this.notifyListeners("appStateChange",e),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:!0!==document.hidden}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}}},97439:(e,t,r)=>{"use strict";var n,o,i;r.d(t,{GW:()=>o,oK:()=>n}),function(e){e["Prompt"]="PROMPT",e["Camera"]="CAMERA",e["Photos"]="PHOTOS"}(n||(n={})),function(e){e["Rear"]="REAR",e["Front"]="FRONT"}(o||(o={})),function(e){e["Uri"]="uri",e["Base64"]="base64",e["DataUrl"]="dataUrl"}(i||(i={}))},96826:(e,t,r)=>{"use strict";r.d(t,{V1:()=>o});var n=r(29895);r(97439);const o=(0,n.fo)("Camera",{web:()=>r.e(998).then(r.bind(r,66806)).then((e=>new e.CameraWeb))})},66806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Camera:()=>a,CameraWeb:()=>i});var n=r(29895),o=r(97439);class i extends n.Uw{async getPhoto(e){return new Promise((async(t,r)=>{if(e.webUseInput||e.source===o.oK.Photos)this.fileInputExperience(e,t);else if(e.source===o.oK.Prompt){let n=document.querySelector("pwa-action-sheet");n||(n=document.createElement("pwa-action-sheet"),document.body.appendChild(n)),n.header=e.promptLabelHeader||"Photo",n.cancelable=!1,n.options=[{title:e.promptLabelPhoto||"From Photos"},{title:e.promptLabelPicture||"Take Picture"}],n.addEventListener("onSelection",(async n=>{const o=n.detail;0===o?this.fileInputExperience(e,t):this.cameraExperience(e,t,r)}))}else this.cameraExperience(e,t,r)}))}async pickImages(e){return new Promise((async e=>{this.multipleFileInputExperience(e)}))}async cameraExperience(e,t,r){if(customElements.get("pwa-camera-modal")){const a=document.createElement("pwa-camera-modal");a.facingMode=e.direction===o.GW.Front?"user":"environment",document.body.appendChild(a);try{await a.componentOnReady(),a.addEventListener("onPhoto",(async o=>{const i=o.detail;null===i?r(new n.xz("User cancelled photos app")):i instanceof Error?r(i):t(await this._getCameraPhoto(i,e)),a.dismiss(),document.body.removeChild(a)})),a.present()}catch(i){this.fileInputExperience(e,t)}}else console.error("Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/web/pwa-elements."),this.fileInputExperience(e,t)}fileInputExperience(e,t){let r=document.querySelector("#_capacitor-camera-input");const n=()=>{var e;null===(e=r.parentNode)||void 0===e||e.removeChild(r)};r||(r=document.createElement("input"),r.id="_capacitor-camera-input",r.type="file",r.hidden=!0,document.body.appendChild(r),r.addEventListener("change",(o=>{const i=r.files[0];let a="jpeg";if("image/png"===i.type?a="png":"image/gif"===i.type&&(a="gif"),"dataUrl"===e.resultType||"base64"===e.resultType){const r=new FileReader;r.addEventListener("load",(()=>{if("dataUrl"===e.resultType)t({dataUrl:r.result,format:a});else if("base64"===e.resultType){const e=r.result.split(",")[1];t({base64String:e,format:a})}n()})),r.readAsDataURL(i)}else t({webPath:URL.createObjectURL(i),format:a}),n()}))),r.accept="image/*",r.capture=!0,e.source===o.oK.Photos||e.source===o.oK.Prompt?r.removeAttribute("capture"):e.direction===o.GW.Front?r.capture="user":e.direction===o.GW.Rear&&(r.capture="environment"),r.click()}multipleFileInputExperience(e){let t=document.querySelector("#_capacitor-camera-input-multiple");const r=()=>{var e;null===(e=t.parentNode)||void 0===e||e.removeChild(t)};t||(t=document.createElement("input"),t.id="_capacitor-camera-input-multiple",t.type="file",t.hidden=!0,t.multiple=!0,document.body.appendChild(t),t.addEventListener("change",(n=>{const o=[];for(let e=0;e{const o=new FileReader,i=e.type.split("/")[1];"uri"===t.resultType?r({webPath:URL.createObjectURL(e),format:i,saved:!1}):(o.readAsDataURL(e),o.onloadend=()=>{const e=o.result;"dataUrl"===t.resultType?r({dataUrl:e,format:i,saved:!1}):r({base64String:e.split(",")[1],format:i,saved:!1})},o.onerror=e=>{n(e)})}))}async checkPermissions(){if("undefined"===typeof navigator||!navigator.permissions)throw this.unavailable("Permissions API not available in this browser");try{const e=await window.navigator.permissions.query({name:"camera"});return{camera:e.state,photos:"granted"}}catch(e){throw this.unavailable("Camera permissions are not available in this browser")}}async requestPermissions(){throw this.unimplemented("Not implemented on web.")}async pickLimitedLibraryPhotos(){throw this.unavailable("Not implemented on web.")}async getLimitedLibraryPhotos(){throw this.unavailable("Not implemented on web.")}}const a=new i},39807:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(29895);class o extends n.Uw{async write(e){if("undefined"===typeof navigator||!navigator.clipboard)throw this.unavailable("Clipboard API not available in this browser");if(void 0!==e.string)await this.writeText(e.string);else if(e.url)await this.writeText(e.url);else{if(!e.image)throw new Error("Nothing to write");if("undefined"===typeof ClipboardItem)throw this.unavailable("Writing images to the clipboard is not supported in this browser");try{const t=await(await fetch(e.image)).blob(),r=new ClipboardItem({[t.type]:t});await navigator.clipboard.write([r])}catch(t){throw new Error("Failed to write image")}}}async read(){if("undefined"===typeof navigator||!navigator.clipboard)throw this.unavailable("Clipboard API not available in this browser");if("undefined"===typeof ClipboardItem)return this.readText();try{const e=await navigator.clipboard.read(),t=e[0].types[0],r=await e[0].getType(t),n=await this._getBlobData(r,t);return{value:n,type:t}}catch(e){return this.readText()}}async readText(){if("undefined"===typeof navigator||!navigator.clipboard||!navigator.clipboard.readText)throw this.unavailable("Reading from clipboard not supported in this browser");const e=await navigator.clipboard.readText();return{value:e,type:"text/plain"}}async writeText(e){if("undefined"===typeof navigator||!navigator.clipboard||!navigator.clipboard.writeText)throw this.unavailable("Writting to clipboard not supported in this browser");await navigator.clipboard.writeText(e)}_getBlobData(e,t){return new Promise(((r,n)=>{const o=new FileReader;t.includes("image")?o.readAsDataURL(e):o.readAsText(e),o.onloadend=()=>{const e=o.result;r(e)},o.onerror=e=>{n(e)}}))}}const i=(0,n.fo)("Clipboard",{web:()=>new o})},29895:(e,t,r)=>{"use strict";r.d(t,{Sd:()=>b,Uw:()=>h,fo:()=>f,xz:()=>s}); -/*! Capacitor: https://capacitorjs.com/ - MIT License */ -const n=e=>{const t=new Map;t.set("web",{name:"web"});const r=e.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:t},n=(e,t)=>{r.platforms.set(e,t)},o=e=>{r.platforms.has(e)&&(r.currentPlatform=r.platforms.get(e))};return r.addPlatform=n,r.setPlatform=o,r},o=e=>e.CapacitorPlatforms=n(e),i=o("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{});i.addPlatform,i.setPlatform;var a;(function(e){e["Unimplemented"]="UNIMPLEMENTED",e["Unavailable"]="UNAVAILABLE"})(a||(a={}));class s extends Error{constructor(e,t,r){super(e),this.message=e,this.code=t,this.data=r}}const c=e=>{var t,r;return(null===e||void 0===e?void 0:e.androidBridge)?"android":(null===(r=null===(t=null===e||void 0===e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===r?void 0:r.bridge)?"ios":"web"},u=e=>{var t,r,n,o,i;const u=e.CapacitorCustomPlatform||null,l=e.Capacitor||{},d=l.Plugins=l.Plugins||{},f=e.CapacitorPlatforms,h=()=>null!==u?u.name:c(e),p=(null===(t=null===f||void 0===f?void 0:f.currentPlatform)||void 0===t?void 0:t.getPlatform)||h,g=()=>"web"!==p(),m=(null===(r=null===f||void 0===f?void 0:f.currentPlatform)||void 0===r?void 0:r.isNativePlatform)||g,y=e=>{const t=S.get(e);return!!(null===t||void 0===t?void 0:t.platforms.has(p()))||!!b(e)},v=(null===(n=null===f||void 0===f?void 0:f.currentPlatform)||void 0===n?void 0:n.isPluginAvailable)||y,w=e=>{var t;return null===(t=l.PluginHeaders)||void 0===t?void 0:t.find((t=>t.name===e))},b=(null===(o=null===f||void 0===f?void 0:f.currentPlatform)||void 0===o?void 0:o.getPluginHeader)||w,_=t=>e.console.error(t),E=(e,t,r)=>Promise.reject(`${r} does not have an implementation of "${t}".`),S=new Map,A=(e,t={})=>{const r=S.get(e);if(r)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),r.proxy;const n=p(),o=b(e);let i;const c=async()=>(!i&&n in t?i=i="function"===typeof t[n]?await t[n]():t[n]:null!==u&&!i&&"web"in t&&(i=i="function"===typeof t["web"]?await t["web"]():t["web"]),i),f=(t,r)=>{var i,c;if(!o){if(t)return null===(c=t[r])||void 0===c?void 0:c.bind(t);throw new s(`"${e}" plugin is not implemented on ${n}`,a.Unimplemented)}{const n=null===o||void 0===o?void 0:o.methods.find((e=>r===e.name));if(n)return"promise"===n.rtype?t=>l.nativePromise(e,r.toString(),t):(t,n)=>l.nativeCallback(e,r.toString(),t,n);if(t)return null===(i=t[r])||void 0===i?void 0:i.bind(t)}},h=t=>{let r;const o=(...o)=>{const i=c().then((i=>{const c=f(i,t);if(c){const e=c(...o);return r=null===e||void 0===e?void 0:e.remove,e}throw new s(`"${e}.${t}()" is not implemented on ${n}`,a.Unimplemented)}));return"addListener"===t&&(i.remove=async()=>r()),i};return o.toString=()=>`${t.toString()}() { [capacitor code] }`,Object.defineProperty(o,"name",{value:t,writable:!1,configurable:!1}),o},g=h("addListener"),m=h("removeListener"),y=(e,t)=>{const r=g({eventName:e},t),n=async()=>{const n=await r;m({eventName:e,callbackId:n},t)},o=new Promise((e=>r.then((()=>e({remove:n})))));return o.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await n()},o},v=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return o?y:g;case"removeListener":return m;default:return h(t)}}});return d[e]=v,S.set(e,{name:e,proxy:v,platforms:new Set([...Object.keys(t),...o?[n]:[]])}),v},T=(null===(i=null===f||void 0===f?void 0:f.currentPlatform)||void 0===i?void 0:i.registerPlugin)||A;return l.convertFileSrc||(l.convertFileSrc=e=>e),l.getPlatform=p,l.handleError=_,l.isNativePlatform=m,l.isPluginAvailable=v,l.pluginMethodNoop=E,l.registerPlugin=T,l.Exception=s,l.DEBUG=!!l.DEBUG,l.isLoggingEnabled=!!l.isLoggingEnabled,l.platform=l.getPlatform(),l.isNative=l.isNativePlatform(),l},l=e=>e.Capacitor=u(e),d=l("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{}),f=d.registerPlugin;d.Plugins;class h{constructor(e){this.listeners={},this.windowListeners={},e&&(console.warn(`Capacitor WebPlugin "${e.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=e)}addListener(e,t){const r=this.listeners[e];r||(this.listeners[e]=[]),this.listeners[e].push(t);const n=this.windowListeners[e];n&&!n.registered&&this.addWindowListener(n);const o=async()=>this.removeListener(e,t),i=Promise.resolve({remove:o});return Object.defineProperty(i,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await o()}}),i}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t){const r=this.listeners[e];r&&r.forEach((e=>e(t)))}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e="not implemented"){return new d.Exception(e,a.Unimplemented)}unavailable(e="not available"){return new d.Exception(e,a.Unavailable)}async removeListener(e,t){const r=this.listeners[e];if(!r)return;const n=r.indexOf(t);this.listeners[e].splice(n,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}}const p=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),g=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class m extends h{async getCookies(){const e=document.cookie,t={};return e.split(";").forEach((e=>{if(e.length<=0)return;let[r,n]=e.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");r=g(r).trim(),n=g(n).trim(),t[r]=n})),t}async setCookie(e){try{const t=p(e.key),r=p(e.value),n=`; expires=${(e.expires||"").replace("expires=","")}`,o=(e.path||"/").replace("path=",""),i=null!=e.url&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${t}=${r||""}${n}; path=${o}; ${i};`}catch(t){return Promise.reject(t)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}f("CapacitorCookies",{web:()=>new m});const y=async e=>new Promise(((t,r)=>{const n=new FileReader;n.onload=()=>{const e=n.result;t(e.indexOf(",")>=0?e.split(",")[1]:e)},n.onerror=e=>r(e),n.readAsDataURL(e)})),v=(e={})=>{const t=Object.keys(e),r=Object.keys(e).map((e=>e.toLocaleLowerCase())),n=r.reduce(((r,n,o)=>(r[n]=e[t[o]],r)),{});return n},w=(e,t=!0)=>{if(!e)return null;const r=Object.entries(e).reduce(((e,r)=>{const[n,o]=r;let i,a;return Array.isArray(o)?(a="",o.forEach((e=>{i=t?encodeURIComponent(e):e,a+=`${n}=${i}&`})),a.slice(0,-1)):(i=t?encodeURIComponent(o):o,a=`${n}=${i}`),`${e}&${a}`}),"");return r.substr(1)},b=(e,t={})=>{const r=Object.assign({method:e.method||"GET",headers:e.headers},t),n=v(e.headers),o=n["content-type"]||"";if("string"===typeof e.data)r.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const t=new URLSearchParams;for(const[r,n]of Object.entries(e.data||{}))t.set(r,n);r.body=t.toString()}else if(o.includes("multipart/form-data")){const t=new FormData;if(e.data instanceof FormData)e.data.forEach(((e,r)=>{t.append(r,e)}));else for(const r of Object.keys(e.data))t.append(r,e.data[r]);r.body=t;const n=new Headers(r.headers);n.delete("content-type"),r.headers=n}else(o.includes("application/json")||"object"===typeof e.data)&&(r.body=JSON.stringify(e.data));return r};class _ extends h{async request(e){const t=b(e,e.webFetchExtra),r=w(e.params,e.shouldEncodeUrlParams),n=r?`${e.url}?${r}`:e.url,o=await fetch(n,t),i=o.headers.get("content-type")||"";let a,s,{responseType:c="text"}=o.ok?e:{};switch(i.includes("application/json")&&(c="json"),c){case"arraybuffer":case"blob":s=await o.blob(),a=await y(s);break;case"json":a=await o.json();break;case"document":case"text":default:a=await o.text()}const u={};return o.headers.forEach(((e,t)=>{u[t]=e})),{data:a,headers:u,status:o.status,url:o.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}f("CapacitorHttp",{web:()=>new _})},64963:(e,t,r)=>{"use strict";var n,o;r.d(t,{ez:()=>o,tP:()=>n}),function(e){e["Documents"]="DOCUMENTS",e["Data"]="DATA",e["Library"]="LIBRARY",e["Cache"]="CACHE",e["External"]="EXTERNAL",e["ExternalStorage"]="EXTERNAL_STORAGE"}(n||(n={})),function(e){e["UTF8"]="utf8",e["ASCII"]="ascii",e["UTF16"]="utf16"}(o||(o={}))},30891:(e,t,r)=>{"use strict";r.d(t,{fy:()=>i,tP:()=>o.tP});var n=r(29895),o=r(64963);const i=(0,n.fo)("Filesystem",{web:()=>r.e(998).then(r.bind(r,33176)).then((e=>new e.FilesystemWeb))})},33176:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilesystemWeb:()=>s});var n=r(29895),o=r(64963);function i(e){const t=e.split("/").filter((e=>"."!==e)),r=[];return t.forEach((e=>{".."===e&&r.length>0&&".."!==r[r.length-1]?r.pop():r.push(e)})),r.join("/")}function a(e,t){e=i(e),t=i(t);const r=e.split("/"),n=t.split("/");return e!==t&&r.every(((e,t)=>e===n[t]))}class s extends n.Uw{constructor(){super(...arguments),this.DB_VERSION=1,this.DB_NAME="Disc",this._writeCmds=["add","put","delete"],this.downloadFile=async e=>{var t,r;const o=(0,n.Sd)(e,e.webFetchExtra),i=await fetch(e.url,o);let a;if(e.progress)if(null===i||void 0===i?void 0:i.body){const t=i.body.getReader();let r=0;const n=[],o=i.headers.get("content-type"),s=parseInt(i.headers.get("content-length")||"0",10);while(1){const{done:o,value:i}=await t.read();if(o)break;n.push(i),r+=(null===i||void 0===i?void 0:i.length)||0;const a={url:e.url,bytes:r,contentLength:s};this.notifyListeners("progress",a)}const c=new Uint8Array(r);let u=0;for(const e of n)"undefined"!==typeof e&&(c.set(e,u),u+=e.length);a=new Blob([c.buffer],{type:o||void 0})}else a=new Blob;else a=await i.blob();const s=await this.writeFile({path:e.path,directory:null!==(t=e.directory)&&void 0!==t?t:void 0,recursive:null!==(r=e.recursive)&&void 0!==r&&r,data:a});return{path:s.uri,blob:a}}}async initDb(){if(void 0!==this._db)return this._db;if(!("indexedDB"in window))throw this.unavailable("This browser doesn't support IndexedDB");return new Promise(((e,t)=>{const r=indexedDB.open(this.DB_NAME,this.DB_VERSION);r.onupgradeneeded=s.doUpgrade,r.onsuccess=()=>{this._db=r.result,e(r.result)},r.onerror=()=>t(r.error),r.onblocked=()=>{console.warn("db blocked")}}))}static doUpgrade(e){const t=e.target,r=t.result;switch(e.oldVersion){case 0:case 1:default:{r.objectStoreNames.contains("FileStorage")&&r.deleteObjectStore("FileStorage");const e=r.createObjectStore("FileStorage",{keyPath:"path"});e.createIndex("by_folder","folder")}}}async dbRequest(e,t){const r=-1!==this._writeCmds.indexOf(e)?"readwrite":"readonly";return this.initDb().then((n=>new Promise(((o,i)=>{const a=n.transaction(["FileStorage"],r),s=a.objectStore("FileStorage"),c=s[e](...t);c.onsuccess=()=>o(c.result),c.onerror=()=>i(c.error)}))))}async dbIndexRequest(e,t,r){const n=-1!==this._writeCmds.indexOf(t)?"readwrite":"readonly";return this.initDb().then((o=>new Promise(((i,a)=>{const s=o.transaction(["FileStorage"],n),c=s.objectStore("FileStorage"),u=c.index(e),l=u[t](...r);l.onsuccess=()=>i(l.result),l.onerror=()=>a(l.error)}))))}getPath(e,t){const r=void 0!==t?t.replace(/^[/]+|[/]+$/g,""):"";let n="";return void 0!==e&&(n+="/"+e),""!==t&&(n+="/"+r),n}async clear(){const e=await this.initDb(),t=e.transaction(["FileStorage"],"readwrite"),r=t.objectStore("FileStorage");r.clear()}async readFile(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(void 0===r)throw Error("File does not exist.");return{data:r.content?r.content:""}}async writeFile(e){const t=this.getPath(e.directory,e.path);let r=e.data;const n=e.encoding,o=e.recursive,i=await this.dbRequest("get",[t]);if(i&&"directory"===i.type)throw Error("The supplied path is a directory.");const a=t.substr(0,t.lastIndexOf("/")),s=await this.dbRequest("get",[a]);if(void 0===s){const t=a.indexOf("/",1);if(-1!==t){const r=a.substr(t);await this.mkdir({path:r,directory:e.directory,recursive:o})}}if(!n&&!(r instanceof Blob)&&(r=r.indexOf(",")>=0?r.split(",")[1]:r,!this.isBase64String(r)))throw Error("The supplied data is not valid base64 content.");const c=Date.now(),u={path:t,folder:a,type:"file",size:r instanceof Blob?r.size:r.length,ctime:c,mtime:c,content:r};return await this.dbRequest("put",[u]),{uri:u.path}}async appendFile(e){const t=this.getPath(e.directory,e.path);let r=e.data;const n=e.encoding,o=t.substr(0,t.lastIndexOf("/")),i=Date.now();let a=i;const s=await this.dbRequest("get",[t]);if(s&&"directory"===s.type)throw Error("The supplied path is a directory.");const c=await this.dbRequest("get",[o]);if(void 0===c){const t=o.indexOf("/",1);if(-1!==t){const r=o.substr(t);await this.mkdir({path:r,directory:e.directory,recursive:!0})}}if(!n&&!this.isBase64String(r))throw Error("The supplied data is not valid base64 content.");if(void 0!==s){if(s.content instanceof Blob)throw Error("The occupied entry contains a Blob object which cannot be appended to.");r=void 0===s.content||n?s.content+r:btoa(atob(s.content)+atob(r)),a=s.ctime}const u={path:t,folder:o,type:"file",size:r.length,ctime:a,mtime:i,content:r};await this.dbRequest("put",[u])}async deleteFile(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(void 0===r)throw Error("File does not exist.");const n=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(t)]);if(0!==n.length)throw Error("Folder is not empty.");await this.dbRequest("delete",[t])}async mkdir(e){const t=this.getPath(e.directory,e.path),r=e.recursive,n=t.substr(0,t.lastIndexOf("/")),o=(t.match(/\//g)||[]).length,i=await this.dbRequest("get",[n]),a=await this.dbRequest("get",[t]);if(1===o)throw Error("Cannot create Root directory");if(void 0!==a)throw Error("Current directory does already exist.");if(!r&&2!==o&&void 0===i)throw Error("Parent directory must exist");if(r&&2!==o&&void 0===i){const t=n.substr(n.indexOf("/",1));await this.mkdir({path:t,directory:e.directory,recursive:r})}const s=Date.now(),c={path:t,folder:n,type:"directory",size:0,ctime:s,mtime:s};await this.dbRequest("put",[c])}async rmdir(e){const{path:t,directory:r,recursive:n}=e,o=this.getPath(r,t),i=await this.dbRequest("get",[o]);if(void 0===i)throw Error("Folder does not exist.");if("directory"!==i.type)throw Error("Requested path is not a directory");const a=await this.readdir({path:t,directory:r});if(0!==a.files.length&&!n)throw Error("Folder is not empty");for(const s of a.files){const e=`${t}/${s.name}`,o=await this.stat({path:e,directory:r});"file"===o.type?await this.deleteFile({path:e,directory:r}):await this.rmdir({path:e,directory:r,recursive:n})}await this.dbRequest("delete",[o])}async readdir(e){const t=this.getPath(e.directory,e.path),r=await this.dbRequest("get",[t]);if(""!==e.path&&void 0===r)throw Error("Folder does not exist.");const n=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(t)]),o=await Promise.all(n.map((async e=>{let r=await this.dbRequest("get",[e]);return void 0===r&&(r=await this.dbRequest("get",[e+"/"])),{name:e.substring(t.length+1),type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}})));return{files:o}}async getUri(e){const t=this.getPath(e.directory,e.path);let r=await this.dbRequest("get",[t]);return void 0===r&&(r=await this.dbRequest("get",[t+"/"])),{uri:(null===r||void 0===r?void 0:r.path)||t}}async stat(e){const t=this.getPath(e.directory,e.path);let r=await this.dbRequest("get",[t]);if(void 0===r&&(r=await this.dbRequest("get",[t+"/"])),void 0===r)throw Error("Entry does not exist.");return{type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}}async rename(e){await this._copy(e,!0)}async copy(e){return this._copy(e,!1)}async requestPermissions(){return{publicStorage:"granted"}}async checkPermissions(){return{publicStorage:"granted"}}async _copy(e,t=!1){let{toDirectory:r}=e;const{to:n,from:i,directory:s}=e;if(!n||!i)throw Error("Both to and from must be provided");r||(r=s);const c=this.getPath(s,i),u=this.getPath(r,n);if(c===u)return{uri:u};if(a(c,u))throw Error("To path cannot contain the from path");let l;try{l=await this.stat({path:n,directory:r})}catch(p){const e=n.split("/");e.pop();const t=e.join("/");if(e.length>0){const e=await this.stat({path:t,directory:r});if("directory"!==e.type)throw new Error("Parent directory of the to path is a file")}}if(l&&"directory"===l.type)throw new Error("Cannot overwrite a directory with a file");const d=await this.stat({path:i,directory:s}),f=async(e,t,n)=>{const o=this.getPath(r,e),i=await this.dbRequest("get",[o]);i.ctime=t,i.mtime=n,await this.dbRequest("put",[i])},h=d.ctime?d.ctime:Date.now();switch(d.type){case"file":{const e=await this.readFile({path:i,directory:s});let a;t&&await this.deleteFile({path:i,directory:s}),e.data instanceof Blob||this.isBase64String(e.data)||(a=o.ez.UTF8);const c=await this.writeFile({path:n,directory:r,data:e.data,encoding:a});return t&&await f(n,h,d.mtime),c}case"directory":{if(l)throw Error("Cannot move a directory over an existing object");try{await this.mkdir({path:n,directory:r,recursive:!1}),t&&await f(n,h,d.mtime)}catch(p){}const e=(await this.readdir({path:i,directory:s})).files;for(const o of e)await this._copy({from:`${i}/${o.name}`,to:`${n}/${o.name}`,directory:s,toDirectory:r},t);t&&await this.rmdir({path:i,directory:s})}}return{uri:u}}isBase64String(e){try{return btoa(atob(e))==e}catch(t){return!1}}}s._debug=!0},32605:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(29895);const o=(0,n.fo)("Network",{web:()=>r.e(998).then(r.bind(r,92466)).then((e=>new e.NetworkWeb))})},92466:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Network:()=>a,NetworkWeb:()=>i});var n=r(29895);function o(){const e=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;let t="unknown";const r=e?e.type||e.effectiveType:null;if(r&&"string"===typeof r)switch(r){case"bluetooth":case"cellular":t="cellular";break;case"none":t="none";break;case"ethernet":case"wifi":case"wimax":t="wifi";break;case"other":case"unknown":t="unknown";break;case"slow-2g":case"2g":case"3g":t="cellular";break;case"4g":t="wifi";break;default:break}return t}class i extends n.Uw{constructor(){super(),this.handleOnline=()=>{const e=o(),t={connected:!0,connectionType:e};this.notifyListeners("networkStatusChange",t)},this.handleOffline=()=>{const e={connected:!1,connectionType:"none"};this.notifyListeners("networkStatusChange",e)},"undefined"!==typeof window&&(window.addEventListener("online",this.handleOnline),window.addEventListener("offline",this.handleOffline))}async getStatus(){if(!window.navigator)throw this.unavailable("Browser does not support the Network Information API");const e=window.navigator.onLine,t=o(),r={connected:e,connectionType:e?t:"none"};return r}}const a=new i},94161:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(29895);const o=(0,n.fo)("Share",{web:()=>r.e(998).then(r.bind(r,24811)).then((e=>new e.ShareWeb))})},24811:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ShareWeb:()=>o});var n=r(29895);class o extends n.Uw{async canShare(){return"undefined"!==typeof navigator&&navigator.share?{value:!0}:{value:!1}}async share(e){if("undefined"===typeof navigator||!navigator.share)throw this.unavailable("Share API not available in this browser");return await navigator.share({title:e.title,text:e.text,url:e.url}),{}}}},40125:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(29895);const o=(0,n.fo)("SplashScreen",{web:()=>r.e(998).then(r.bind(r,3030)).then((e=>new e.SplashScreenWeb))})},3030:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplashScreenWeb:()=>o});var n=r(29895);class o extends n.Uw{async show(e){}async hide(e){}}},82136:(e,t,r)=>{"use strict";r.d(t,{A_:()=>a,bg:()=>n});var n,o,i=r(29895);(function(e){e["Dark"]="DARK",e["Light"]="LIGHT",e["Default"]="DEFAULT"})(n||(n={})),function(e){e["None"]="NONE",e["Slide"]="SLIDE",e["Fade"]="FADE"}(o||(o={}));const a=(0,i.fo)("StatusBar")},35980:(e,t,r)=>{"use strict";r.d(t,{c:()=>v});var n=r(19461),o=r(96587); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -let i;const a=e=>(e.forEach((e=>{for(const t in e)if(e.hasOwnProperty(t)){const r=e[t];if("easing"===t){const n="animation-timing-function";e[n]=r,delete e[t]}else{const n=s(t);n!==t&&(e[n]=r,delete e[t])}}})),e),s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),c=e=>{if(void 0===i){const t=void 0!==e.style.animationName,r=void 0!==e.style.webkitAnimationName;i=!t&&r?"-webkit-":""}return i},u=(e,t,r)=>{const n=t.startsWith("animation")?c(e):"";e.style.setProperty(n+t,r)},l=(e,t)=>{const r=t.startsWith("animation")?c(e):"";e.style.removeProperty(r+t)},d=(e,t)=>{let r;const n={passive:!0},o=()=>{r&&r()},i=r=>{e===r.target&&(o(),t(r))};return e&&(e.addEventListener("webkitAnimationEnd",i,n),e.addEventListener("animationend",i,n),r=()=>{e.removeEventListener("webkitAnimationEnd",i,n),e.removeEventListener("animationend",i,n)}),o},f=(e=[])=>e.map((e=>{const t=e.offset,r=[];for(const n in e)e.hasOwnProperty(n)&&"offset"!==n&&r.push(`${n}: ${e[n]};`);return`${100*t}% { ${r.join(" ")} }`})).join(" "),h=[],p=e=>{let t=h.indexOf(e);return t<0&&(t=h.push(e)-1),`ion-animation-${t}`},g=e=>{const t=void 0!==e.getRootNode?e.getRootNode():e;return t.head||t},m=(e,t,r)=>{var n;const o=g(r),i=c(r),a=o.querySelector("#"+e);if(a)return a;const s=(null!==(n=r.ownerDocument)&&void 0!==n?n:document).createElement("style");return s.id=e,s.textContent=`@${i}keyframes ${e} { ${t} } @${i}keyframes ${e}-alt { ${t} }`,o.appendChild(s),s},y=(e=[],t)=>{if(void 0!==t){const r=Array.isArray(t)?t:[t];return[...e,...r]}return e},v=e=>{let t,r,i,s,c,h,g,v,w,b,_,E,S,A=[],T=[],C=[],x=!1,I={},O=[],N=[],P={},k=0,R=!1,M=!1,B=!0,L=!1,D=!0,F=!1;const $=e,U=[],j=[],z=[],V=[],H=[],q=[],G=[],W=[],Z=[],K=[],Y="function"===typeof AnimationEffect||void 0!==n.w&&"function"===typeof n.w.AnimationEffect,X="function"===typeof Element&&"function"===typeof Element.prototype.animate&&Y,J=100,Q=()=>K,ee=e=>(V.forEach((t=>{t.destroy(e)})),te(e),z.length=0,V.length=0,A.length=0,ie(),x=!1,D=!0,S),te=e=>{ae(),e&&se()},re=()=>{R=!1,M=!1,D=!0,w=void 0,b=void 0,_=void 0,k=0,L=!1,B=!0,F=!1},ne=()=>0!==k&&!F,oe=(e,t)=>{const r=(null===t||void 0===t?void 0:t.oneTimeCallback)?j:U;return r.push({c:e,o:t}),S},ie=()=>(U.length=0,j.length=0,S),ae=()=>{if(X)K.forEach((e=>{e.cancel()})),K.length=0;else{const e=z.slice();(0,o.r)((()=>{e.forEach((e=>{l(e,"animation-name"),l(e,"animation-duration"),l(e,"animation-timing-function"),l(e,"animation-iteration-count"),l(e,"animation-delay"),l(e,"animation-play-state"),l(e,"animation-fill-mode"),l(e,"animation-direction")}))}))}},se=()=>{H.forEach((e=>{(null===e||void 0===e?void 0:e.parentNode)&&e.parentNode.removeChild(e)})),H.length=0},ce=e=>(q.push(e),S),ue=e=>(G.push(e),S),le=e=>(W.push(e),S),de=e=>(Z.push(e),S),fe=e=>(T=y(T,e),S),he=e=>(C=y(C,e),S),pe=(e={})=>(I=e,S),ge=(e=[])=>{for(const t of e)I[t]="";return S},me=e=>(O=y(O,e),S),ye=e=>(N=y(N,e),S),ve=(e={})=>(P=e,S),we=(e=[])=>{for(const t of e)P[t]="";return S},be=()=>void 0!==c?c:g?g.getFill():"both",_e=()=>void 0!==w?w:void 0!==h?h:g?g.getDirection():"normal",Ee=()=>R?"linear":void 0!==i?i:g?g.getEasing():"linear",Se=()=>M?0:void 0!==b?b:void 0!==r?r:g?g.getDuration():0,Ae=()=>void 0!==s?s:g?g.getIterations():1,Te=()=>void 0!==_?_:void 0!==t?t:g?g.getDelay():0,Ce=()=>A,xe=e=>(h=e,We(!0),S),Ie=e=>(c=e,We(!0),S),Oe=e=>(t=e,We(!0),S),Ne=e=>(i=e,We(!0),S),Pe=e=>(X||0!==e||(e=1),r=e,We(!0),S),ke=e=>(s=e,We(!0),S),Re=e=>(g=e,S),Me=e=>{if(null!=e)if(1===e.nodeType)z.push(e);else if(e.length>=0)for(let t=0;t{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(S),V.push(t);else e.parent(S),V.push(e);return S},Le=e=>{const t=A!==e;return A=e,t&&De(A),S},De=e=>{X?Q().forEach((t=>{if(t.effect.setKeyframes)t.effect.setKeyframes(e);else{const r=new KeyframeEffect(t.effect.target,e,t.effect.getTiming());t.effect=r}})):je()},Fe=()=>{q.forEach((e=>e())),G.forEach((e=>e()));const e=T,t=C,r=I;z.forEach((n=>{const o=n.classList;e.forEach((e=>o.add(e))),t.forEach((e=>o.remove(e)));for(const e in r)r.hasOwnProperty(e)&&u(n,e,r[e])}))},$e=()=>{et(),W.forEach((e=>e())),Z.forEach((e=>e()));const e=B?1:0,t=O,r=N,n=P;z.forEach((e=>{const o=e.classList;t.forEach((e=>o.add(e))),r.forEach((e=>o.remove(e)));for(const t in n)n.hasOwnProperty(t)&&u(e,t,n[t])})),U.forEach((t=>t.c(e,S))),j.forEach((t=>t.c(e,S))),j.length=0,D=!0,B&&(L=!0),B=!0},Ue=()=>{0!==k&&(k--,0===k&&($e(),g&&g.animationFinish()))},je=(t=!0)=>{se();const r=a(A);z.forEach((n=>{if(r.length>0){const i=f(r);E=void 0!==e?e:p(i);const a=m(E,i,n);H.push(a),u(n,"animation-duration",`${Se()}ms`),u(n,"animation-timing-function",Ee()),u(n,"animation-delay",`${Te()}ms`),u(n,"animation-fill-mode",be()),u(n,"animation-direction",_e());const s=Ae()===1/0?"infinite":Ae().toString();u(n,"animation-iteration-count",s),u(n,"animation-play-state","paused"),t&&u(n,"animation-name",`${a.id}-alt`),(0,o.r)((()=>{u(n,"animation-name",a.id||null)}))}}))},ze=()=>{z.forEach((e=>{const t=e.animate(A,{id:$,delay:Te(),duration:Se(),easing:Ee(),iterations:Ae(),fill:be(),direction:_e()});t.pause(),K.push(t)})),K.length>0&&(K[0].onfinish=()=>{Ue()})},Ve=(e=!0)=>{Fe(),A.length>0&&(X?ze():je(e)),x=!0},He=e=>{if(e=Math.min(Math.max(e,0),.9999),X)K.forEach((t=>{t.currentTime=t.effect.getComputedTiming().delay+Se()*e,t.pause()}));else{const t=`-${Se()*e}ms`;z.forEach((e=>{A.length>0&&(u(e,"animation-delay",t),u(e,"animation-play-state","paused"))}))}},qe=e=>{K.forEach((e=>{e.effect.updateTiming({delay:Te(),duration:Se(),easing:Ee(),iterations:Ae(),fill:be(),direction:_e()})})),void 0!==e&&He(e)},Ge=(e=!0,t)=>{(0,o.r)((()=>{z.forEach((r=>{u(r,"animation-name",E||null),u(r,"animation-duration",`${Se()}ms`),u(r,"animation-timing-function",Ee()),u(r,"animation-delay",void 0!==t?`-${t*Se()}ms`:`${Te()}ms`),u(r,"animation-fill-mode",be()||null),u(r,"animation-direction",_e()||null);const n=Ae()===1/0?"infinite":Ae().toString();u(r,"animation-iteration-count",n),e&&u(r,"animation-name",`${E}-alt`),(0,o.r)((()=>{u(r,"animation-name",E||null)}))}))}))},We=(e=!1,t=!0,r)=>(e&&V.forEach((n=>{n.update(e,t,r)})),X?qe(r):Ge(t,r),S),Ze=(e=!1,t)=>(V.forEach((r=>{r.progressStart(e,t)})),Xe(),R=e,x||Ve(),We(!1,!0,t),S),Ke=e=>(V.forEach((t=>{t.progressStep(e)})),He(e),S),Ye=(e,t,r)=>(R=!1,V.forEach((n=>{n.progressEnd(e,t,r)})),void 0!==r&&(b=r),L=!1,B=!0,0===e?(w="reverse"===_e()?"normal":"reverse","reverse"===w&&(B=!1),X?(We(),He(1-t)):(_=(1-t)*Se()*-1,We(!1,!1))):1===e&&(X?(We(),He(t)):(_=t*Se()*-1,We(!1,!1))),void 0!==e&&(oe((()=>{b=void 0,w=void 0,_=void 0}),{oneTimeCallback:!0}),g||it()),S),Xe=()=>{x&&(X?K.forEach((e=>{e.pause()})):z.forEach((e=>{u(e,"animation-play-state","paused")})),F=!0)},Je=()=>(V.forEach((e=>{e.pause()})),Xe(),S),Qe=()=>{v=void 0,Ue()},et=()=>{v&&clearTimeout(v)},tt=()=>{if(et(),(0,o.r)((()=>{z.forEach((e=>{A.length>0&&u(e,"animation-play-state","running")}))})),0===A.length||0===z.length)Ue();else{const e=Te()||0,t=Se()||0,r=Ae()||1;isFinite(r)&&(v=setTimeout(Qe,e+t*r+J)),d(z[0],(()=>{et(),(0,o.r)((()=>{rt(),(0,o.r)(Ue)}))}))}},rt=()=>{z.forEach((e=>{l(e,"animation-duration"),l(e,"animation-delay"),l(e,"animation-play-state")}))},nt=()=>{K.forEach((e=>{e.play()})),0!==A.length&&0!==z.length||Ue()},ot=()=>{X?(He(0),qe()):Ge()},it=e=>new Promise((t=>{(null===e||void 0===e?void 0:e.sync)&&(M=!0,oe((()=>M=!1),{oneTimeCallback:!0})),x||Ve(),L&&(ot(),L=!1),D&&(k=V.length+1,D=!1),oe((()=>t()),{oneTimeCallback:!0}),V.forEach((e=>{e.play()})),X?nt():tt(),F=!1})),at=()=>{V.forEach((e=>{e.stop()})),x&&(ae(),x=!1),re()},st=(e,t)=>{const r=A[0];return void 0===r||void 0!==r.offset&&0!==r.offset?A=[{offset:0,[e]:t},...A]:r[e]=t,S},ct=(e,t)=>{const r=A[A.length-1];return void 0===r||void 0!==r.offset&&1!==r.offset?A=[...A,{offset:1,[e]:t}]:r[e]=t,S},ut=(e,t,r)=>st(e,t).to(e,r);return S={parentAnimation:g,elements:z,childAnimations:V,id:$,animationFinish:Ue,from:st,to:ct,fromTo:ut,parent:Re,play:it,pause:Je,stop:at,destroy:ee,keyframes:Le,addAnimation:Be,addElement:Me,update:We,fill:Ie,direction:xe,iterations:ke,duration:Pe,easing:Ne,delay:Oe,getWebAnimations:Q,getKeyframes:Ce,getFill:be,getDirection:_e,getDelay:Te,getIterations:Ae,getEasing:Ee,getDuration:Se,afterAddRead:le,afterAddWrite:de,afterClearStyles:we,afterStyles:ve,afterRemoveClass:ye,afterAddClass:me,beforeAddRead:ce,beforeAddWrite:ue,beforeClearStyles:ge,beforeStyles:pe,beforeRemoveClass:he,beforeAddClass:fe,onFinish:oe,isRunning:ne,progressStart:Ze,progressStep:Ke,progressEnd:Ye}}},80545:(e,t,r)=>{"use strict";r.d(t,{i:()=>n}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase())},8544:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startFocusVisible:()=>a}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n="ion-focused",o="ion-focusable",i=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],a=e=>{let t=[],r=!0;const a=e?e.shadowRoot:document,s=e||document.body,c=e=>{t.forEach((e=>e.classList.remove(n))),e.forEach((e=>e.classList.add(n))),t=e},u=()=>{r=!1,c([])},l=e=>{r=i.includes(e.key),r||c([])},d=e=>{if(r&&void 0!==e.composedPath){const t=e.composedPath().filter((e=>!!e.classList&&e.classList.contains(o)));c(t)}},f=()=>{a.activeElement===s&&c([])};a.addEventListener("keydown",l),a.addEventListener("focusin",d),a.addEventListener("focusout",f),a.addEventListener("touchstart",u,{passive:!0}),a.addEventListener("mousedown",u);const h=()=>{a.removeEventListener("keydown",l),a.removeEventListener("focusin",d),a.removeEventListener("focusout",f),a.removeEventListener("touchstart",u),a.removeEventListener("mousedown",u)};return{destroy:h,setFocus:c}}},14261:(e,t,r)=>{"use strict";r.r(t),r.d(t,{MENU_BACK_BUTTON_PRIORITY:()=>a,OVERLAY_BACK_BUTTON_PRIORITY:()=>i,blockHardwareBackButton:()=>n,startHardwareBackButton:()=>o}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n=()=>{document.addEventListener("backbutton",(()=>{}))},o=()=>{const e=document;let t=!1;e.addEventListener("backbutton",(()=>{if(t)return;let r=0,n=[];const o=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){n.push({priority:e,handler:t,id:r++})}}});e.dispatchEvent(o);const i=async e=>{try{if(null===e||void 0===e?void 0:e.handler){const t=e.handler(a);null!=t&&await t}}catch(t){console.error(t)}},a=()=>{if(n.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};n.forEach((t=>{t.priority>=e.priority&&(e=t)})),t=!0,n=n.filter((t=>t.id!==e.id)),i(e).then((()=>t=!1))}};a()}))},i=100,a=99},96587:(e,t,r)=>{"use strict";r.d(t,{a:()=>c,b:()=>u,c:()=>n,d:()=>i,i:()=>s,l:()=>o,m:()=>d,p:()=>f,r:()=>l,s:()=>g,u:()=>h,v:()=>p}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n=(e,t)=>{e.componentOnReady?e.componentOnReady().then((e=>t(e))):l((()=>t(e)))},o=e=>void 0!==e.componentOnReady,i=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=(e,t)=>{let r=a;return t&&t.length>0&&(r=r.filter((e=>!t.includes(e)))),i(e,r)},c=(e,t,r,n)=>{var o;if("undefined"!==typeof window){const i=window,a=null===(o=null===i||void 0===i?void 0:i.Ionic)||void 0===o?void 0:o.config;if(a){const o=a.get("_ael");if(o)return o(e,t,r,n);if(a._ael)return a._ael(e,t,r,n)}}return e.addEventListener(t,r,n)},u=(e,t,r,n)=>{var o;if("undefined"!==typeof window){const i=window,a=null===(o=null===i||void 0===i?void 0:i.Ionic)||void 0===o?void 0:o.config;if(a){const o=a.get("_rel");if(o)return o(e,t,r,n);if(a._rel)return a._rel(e,t,r,n)}}return e.removeEventListener(t,r,n)},l=e=>"function"===typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"===typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),d=(e,t,r)=>Math.max(e,Math.min(t,r)),f=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},h=e=>e.timeStamp||Date.now(),p=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},g=(e,t)=>{if(null!==e&&void 0!==e||(e={}),null!==t&&void 0!==t||(t={}),e===t)return!0;const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(const n of r){if(!(n in t))return!1;if(e[n]!==t[n])return!1}return!0}},66515:(e,t,r)=>{"use strict";r.d(t,{L:()=>i,a:()=>a,b:()=>s,c:()=>c,d:()=>u,g:()=>I,l:()=>A,s:()=>C,t:()=>f});var n=r(50065),o=r(96587); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const i="ionViewWillEnter",a="ionViewDidEnter",s="ionViewWillLeave",c="ionViewDidLeave",u="ionViewWillUnload",l=()=>r.e(998).then(r.bind(r,56338)),d=()=>r.e(998).then(r.bind(r,74753)),f=e=>new Promise(((t,r)=>{(0,n.Iu)((()=>{h(e),p(e).then((r=>{r.animation&&r.animation.destroy(),g(e),t(r)}),(t=>{g(e),r(t)}))}))})),h=e=>{const t=e.enteringEl,r=e.leavingEl;x(t,r,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),C(t,!1),t.style.setProperty("pointer-events","none"),r&&(C(r,!1),r.style.setProperty("pointer-events","none"))},p=async e=>{const t=await m(e),r=t&&n.Z5.isBrowser?y(t,e):v(e);return r},g=e=>{const t=e.enteringEl,r=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),void 0!==r&&(r.classList.remove("ion-page-invisible"),r.style.removeProperty("pointer-events"))},m=async e=>{if(!e.leavingEl||!e.animated||0===e.duration)return;if(e.animationBuilder)return e.animationBuilder;const t="ios"===e.mode?(await l()).iosTransitionAnimation:(await d()).mdTransitionAnimation;return t},y=async(e,t)=>{await w(t,!0);const r=e(t.baseEl,t);E(t.enteringEl,t.leavingEl);const n=await _(r,t);return t.progressCallback&&t.progressCallback(void 0),n&&S(t.enteringEl,t.leavingEl),{hasCompleted:n,animation:r}},v=async e=>{const t=e.enteringEl,r=e.leavingEl;return await w(e,!1),E(t,r),S(t,r),{hasCompleted:!0}},w=async(e,t)=>{const r=void 0!==e.deepWait?e.deepWait:t;r&&await Promise.all([T(e.enteringEl),T(e.leavingEl)]),await b(e.viewIsReady,e.enteringEl)},b=async(e,t)=>{e&&await e(t)},_=(e,t)=>{const r=t.progressCallback,n=new Promise((t=>{e.onFinish((e=>t(1===e)))}));return r?(e.progressStart(!0),r(e)):e.play(),n},E=(e,t)=>{A(t,s),A(e,i)},S=(e,t)=>{A(e,a),A(t,c)},A=(e,t)=>{if(e){const r=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}},T=async e=>{const t=e;if(t){if(null!=t.componentOnReady){const e=await t.componentOnReady();if(null!=e)return}else if(null!=t.__registerHost){const e=new Promise((e=>(0,o.r)(e)));return void await e}await Promise.all(Array.from(t.children).map(T))}},C=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},x=(e,t,r)=>{void 0!==e&&(e.style.zIndex="back"===r?"99":"101"),void 0!==t&&(t.style.zIndex="100")},I=e=>{if(e.classList.contains("ion-page"))return e;const t=e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");return t||e}},19461:(e,t,r)=>{"use strict";r.d(t,{d:()=>o,w:()=>n}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n="undefined"!==typeof window?window:void 0,o="undefined"!==typeof document?document:void 0},46645:(e,t,r)=>{"use strict";r.d(t,{b:()=>o,p:()=>n}); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const n=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),o=(e,...t)=>console.error(`<${e.tagName.toLowerCase()}> must be used inside ${t.join(" or ")}.`)},68487:(e,t,r)=>{"use strict";r.d(t,{a:()=>f,c:()=>p,f:()=>d,g:()=>l,p:()=>g,s:()=>h});var n=r(96587),o=r(46645); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const i="ION-CONTENT",a="ion-content",s=".ion-content-scroll-host",c=`${a}, ${s}`,u=e=>e.tagName===i,l=async e=>u(e)?(await new Promise((t=>(0,n.c)(e,t))),e.getScrollElement()):e,d=e=>{const t=e.querySelector(s);return t||e.querySelector(c)},f=e=>e.closest(c),h=(e,t)=>{if(u(e)){const r=e;return r.scrollToTop(t)}return Promise.resolve(e.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"}))},p=(e,t,r,n)=>{if(u(e)){const o=e;return o.scrollByPoint(t,r,n)}return Promise.resolve(e.scrollBy({top:r,left:t,behavior:n>0?"smooth":"auto"}))},g=e=>(0,o.b)(e,a)},84074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startTapClick:()=>i});var n=r(19461),o=r(96587); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const i=e=>{if(void 0===n.d)return;let t,r,i,h=10*-f,p=0;const g=e.getBoolean("animated",!0)&&e.getBoolean("rippleEffect",!0),m=new WeakMap,y=e=>{h=(0,o.u)(e),E(e)},v=e=>{h=(0,o.u)(e),S(e)},w=e=>{if(2===e.button)return;const t=(0,o.u)(e)-f;h{const t=(0,o.u)(e)-f;h{i&&clearTimeout(i),i=void 0,t&&(x(!1),t=void 0)},E=e=>{t||A(a(e),e)},S=e=>{A(void 0,e)},A=(e,r)=>{if(e&&e===t)return;i&&clearTimeout(i),i=void 0;const{x:n,y:a}=(0,o.v)(r);if(t){if(m.has(t))throw new Error("internal error");t.classList.contains(u)||T(t,n,a),x(!0)}if(e){const t=m.get(e);t&&(clearTimeout(t),m.delete(e)),e.classList.remove(u);const r=()=>{T(e,n,a),i=void 0};s(e)?r():i=setTimeout(r,l)}t=e},T=(e,t,n)=>{if(p=Date.now(),e.classList.add(u),!g)return;const o=c(e);null!==o&&(C(),r=o.addRipple(t,n))},C=()=>{void 0!==r&&(r.then((e=>e())),r=void 0)},x=e=>{C();const r=t;if(!r)return;const n=d-Date.now()+p;if(e&&n>0&&!s(r)){const e=setTimeout((()=>{r.classList.remove(u),m.delete(r)}),d);m.set(r,e)}else r.classList.remove(u)};n.d.addEventListener("ionGestureCaptured",_),n.d.addEventListener("touchstart",y,!0),n.d.addEventListener("touchcancel",v,!0),n.d.addEventListener("touchend",v,!0),n.d.addEventListener("pointercancel",_,!0),n.d.addEventListener("mousedown",w,!0),n.d.addEventListener("mouseup",b,!0)},a=e=>{if(void 0===e.composedPath)return e.target.closest(".ion-activatable");{const t=e.composedPath();for(let e=0;ee.classList.contains("ion-activatable-instant"),c=e=>{if(e.shadowRoot){const t=e.shadowRoot.querySelector("ion-ripple-effect");if(t)return t}return e.querySelector("ion-ripple-effect")},u="ion-activated",l=100,d=150,f=2500},8775:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startInputShims:()=>I});var n=r(68487),o=r(96587),i=r(19420),a=r(19461); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const s=new WeakMap,c=(e,t,r,n=0,o=!1)=>{s.has(e)!==r&&(r?l(e,t,n,o):d(e,t))},u=e=>e===e.getRootNode().activeElement,l=(e,t,r,n=!1)=>{const o=t.parentNode,i=t.cloneNode(!1);i.classList.add("cloned-input"),i.tabIndex=-1,n&&(i.disabled=!0),o.appendChild(i),s.set(e,i);const a=e.ownerDocument,c="rtl"===a.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${c}px,${r}px,0) scale(0)`},d=(e,t)=>{const r=s.get(e);r&&(s.delete(e),r.remove()),e.style.pointerEvents="",t.style.transform=""},f=50,h=(e,t,r)=>{if(!r||!t)return()=>{};const n=r=>{u(t)&&c(e,t,r)},i=()=>c(e,t,!1),a=()=>n(!0),s=()=>n(!1);return(0,o.a)(r,"ionScrollStart",a),(0,o.a)(r,"ionScrollEnd",s),t.addEventListener("blur",i),()=>{(0,o.b)(r,"ionScrollStart",a),(0,o.b)(r,"ionScrollEnd",s),t.removeEventListener("blur",i)}},p="input, textarea, [no-blur], [contenteditable]",g=()=>{let e=!0,t=!1;const r=document,n=()=>{t=!0},i=()=>{e=!0},a=n=>{if(t)return void(t=!1);const o=r.activeElement;if(!o)return;if(o.matches(p))return;const i=n.target;i!==o&&(i.matches(p)||i.closest(p)||(e=!1,setTimeout((()=>{e||o.blur()}),50)))};return(0,o.a)(r,"ionScrollStart",n),r.addEventListener("focusin",i,!0),r.addEventListener("touchend",a,!1),()=>{(0,o.b)(r,"ionScrollStart",n,!0),r.removeEventListener("focusin",i,!0),r.removeEventListener("touchend",a,!1)}},m=.3,y=(e,t,r,n)=>{var o;const i=null!==(o=e.closest("ion-item,[ion-item]"))&&void 0!==o?o:e;return v(i.getBoundingClientRect(),t.getBoundingClientRect(),r,n)},v=(e,t,r,n)=>{const o=e.top,i=e.bottom,a=t.top,s=Math.min(t.bottom,n-r),c=a+15,u=s-f,l=u-i,d=c-o,h=Math.round(l<0?-l:d>0?-d:0),p=Math.min(h,o-a),g=Math.abs(p),y=g/m,v=Math.min(400,Math.max(150,y));return{scrollAmount:p,scrollDuration:v,scrollPadding:r,inputSafeY:4-(o-c)}},w="$ionPaddingTimer",b=(e,t,r)=>{const n=e[w];n&&clearTimeout(n),t>0?e.style.setProperty("--keyboard-offset",`${t}px`):e[w]=setTimeout((()=>{e.style.setProperty("--keyboard-offset","0px"),r&&r()}),120)},_=(e,t,r)=>{const n=()=>{t&&b(t,0,r)};e.addEventListener("focusout",n,{once:!0})};let E=0;const S="data-ionic-skip-scroll-assist",A=(e,t,r,n,o,s,c,u=!1)=>{const l=s&&(void 0===c||c.mode===i.a.None);let d=!1;const f=void 0!==a.w?a.w.innerHeight:0,h=o=>{!1!==d?C(e,t,r,n,o.detail.keyboardHeight,l,u,f,!1):d=!0},p=()=>{d=!1,null===a.w||void 0===a.w||a.w.removeEventListener("ionKeyboardDidShow",h),e.removeEventListener("focusout",p,!0)},g=async()=>{t.hasAttribute(S)?t.removeAttribute(S):(C(e,t,r,n,o,l,u,f),null===a.w||void 0===a.w||a.w.addEventListener("ionKeyboardDidShow",h),e.addEventListener("focusout",p,!0))};return e.addEventListener("focusin",g,!0),()=>{e.removeEventListener("focusin",g,!0),null===a.w||void 0===a.w||a.w.removeEventListener("ionKeyboardDidShow",h),e.removeEventListener("focusout",p,!0)}},T=e=>{document.activeElement!==e&&(e.setAttribute(S,"true"),e.focus())},C=async(e,t,r,i,a,s,u=!1,l=0,d=!0)=>{if(!r&&!i)return;const h=y(e,r||i,a,l);if(r&&Math.abs(h.scrollAmount)<4)return T(t),void(s&&null!==r&&(b(r,E),_(t,r,(()=>E=0))));if(c(e,t,!0,h.inputSafeY,u),T(t),(0,o.r)((()=>e.click())),s&&r&&(E=h.scrollPadding,b(r,E)),"undefined"!==typeof window){let o;const i=async()=>{void 0!==o&&clearTimeout(o),window.removeEventListener("ionKeyboardDidShow",a),window.removeEventListener("ionKeyboardDidShow",i),r&&await(0,n.c)(r,0,h.scrollAmount,h.scrollDuration),c(e,t,!1,h.inputSafeY),T(t),s&&_(t,r,(()=>E=0))},a=()=>{window.removeEventListener("ionKeyboardDidShow",a),window.addEventListener("ionKeyboardDidShow",i)};if(r){const e=await(0,n.g)(r),s=e.scrollHeight-e.clientHeight;if(d&&h.scrollAmount>s-e.scrollTop)return"password"===t.type?(h.scrollAmount+=f,window.addEventListener("ionKeyboardDidShow",a)):window.addEventListener("ionKeyboardDidShow",i),void(o=setTimeout(i,1e3))}i()}},x=!0,I=async(e,t)=>{const r=document,a="ios"===t,s="android"===t,c=e.getNumber("keyboardHeight",290),u=e.getBoolean("scrollAssist",!0),l=e.getBoolean("hideCaretOnScroll",a),d=e.getBoolean("inputBlurring",a),f=e.getBoolean("scrollPadding",!0),p=Array.from(r.querySelectorAll("ion-input, ion-textarea")),m=new WeakMap,y=new WeakMap,v=await i.K.getResizeMode(),w=async e=>{await new Promise((t=>(0,o.c)(e,t)));const t=e.shadowRoot||e,r=t.querySelector("input")||t.querySelector("textarea"),i=(0,n.a)(e),a=i?null:e.closest("ion-footer");if(!r)return;if(i&&l&&!m.has(e)){const t=h(e,r,i);m.set(e,t)}const d="date"===r.type||"datetime-local"===r.type;if(!d&&(i||a)&&u&&!y.has(e)){const t=A(e,r,i,a,c,f,v,s);y.set(e,t)}},b=e=>{if(l){const t=m.get(e);t&&t(),m.delete(e)}if(u){const t=y.get(e);t&&t(),y.delete(e)}};d&&x&&g();for(const n of p)w(n);r.addEventListener("ionInputDidLoad",(e=>{w(e.detail)})),r.addEventListener("ionInputDidUnload",(e=>{b(e.detail)}))}},45241:(e,t,r)=>{"use strict";r.d(t,{a:()=>h,b:()=>B,c:()=>i,i:()=>L});var n=r(50065); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */class o{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const r=this.m.get(e);return void 0!==r?r:t}getBoolean(e,t=!1){const r=this.m.get(e);return void 0===r?t:"string"===typeof r?"true"===r:!!r}getNumber(e,t){const r=parseFloat(this.m.get(e));return isNaN(r)?void 0!==t?t:NaN:r}set(e,t){this.m.set(e,t)}}const i=new o,a=e=>{try{const t=e.sessionStorage.getItem(d);return null!==t?JSON.parse(t):{}}catch(t){return{}}},s=(e,t)=>{try{e.sessionStorage.setItem(d,JSON.stringify(t))}catch(r){return}},c=e=>{const t={};return e.location.search.slice(1).split("&").map((e=>e.split("="))).map((([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)])).filter((([e])=>u(e,l))).map((([e,t])=>[e.slice(l.length),t])).forEach((([e,r])=>{t[e]=r})),t},u=(e,t)=>e.substr(0,t.length)===t,l="ionic:",d="ionic-persist-config",f=e=>p(e),h=(e,t)=>("string"===typeof e&&(t=e,e=void 0),f(e).includes(t)),p=(e=window)=>{if("undefined"===typeof e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=g(e),t.forEach((t=>e.document.documentElement.classList.add(`plt-${t}`)))),t},g=e=>{const t=i.get("platform");return Object.keys(R).filter((r=>{const n=null===t||void 0===t?void 0:t[r];return"function"===typeof n?n(e):R[r](e)}))},m=e=>A(e)&&!C(e),y=e=>!!P(e,/iPad/i)||!(!P(e,/Macintosh/i)||!A(e)),v=e=>P(e,/iPhone/i),w=e=>P(e,/iPhone|iPod/i)||y(e),b=e=>P(e,/android|sink/i),_=e=>b(e)&&!P(e,/mobile/i),E=e=>{const t=e.innerWidth,r=e.innerHeight,n=Math.min(t,r),o=Math.max(t,r);return n>390&&n<520&&o>620&&o<800},S=e=>{const t=e.innerWidth,r=e.innerHeight,n=Math.min(t,r),o=Math.max(t,r);return y(e)||_(e)||n>460&&n<820&&o>780&&o<1400},A=e=>k(e,"(any-pointer:coarse)"),T=e=>!A(e),C=e=>x(e)||I(e),x=e=>!!(e["cordova"]||e["phonegap"]||e["PhoneGap"]),I=e=>{const t=e["Capacitor"];return!!(null===t||void 0===t?void 0:t.isNative)},O=e=>P(e,/electron/i),N=e=>{var t;return!(!(null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(display-mode: standalone)").matches)&&!e.navigator.standalone)},P=(e,t)=>t.test(e.navigator.userAgent),k=(e,t)=>{var r;return null===(r=e.matchMedia)||void 0===r?void 0:r.call(e,t).matches},R={ipad:y,iphone:v,ios:w,android:b,phablet:E,tablet:S,cordova:x,capacitor:I,electron:O,pwa:N,mobile:A,mobileweb:m,desktop:T,hybrid:C};let M;const B=e=>e&&(0,n.iJ)(e)||M,L=(e={})=>{if("undefined"===typeof window)return;const t=window.document,r=window,o=r.Ionic=r.Ionic||{},u={};e._ael&&(u.ael=e._ael),e._rel&&(u.rel=e._rel),e._ce&&(u.ce=e._ce),(0,n.TX)(u);const l=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a(r)),{persistConfig:!1}),o.config),c(r)),e);i.reset(l),i.getBoolean("persistConfig")&&s(r,l),p(r),o.config=i,o.mode=M=i.get("mode",t.documentElement.getAttribute("mode")||(h(r,"ios")?"ios":"md")),i.set("mode",M),t.documentElement.setAttribute("mode",M),t.documentElement.classList.add(M),i.getBoolean("_testing")&&i.set("animated",!1);const d=e=>{var t;return null===(t=e.tagName)||void 0===t?void 0:t.startsWith("ION-")},f=e=>["ios","md"].includes(e);(0,n.PM)((e=>{while(e){const t=e.mode||e.getAttribute("mode");if(t){if(f(t))return t;d(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return M}))}},56338:(e,t,r)=>{"use strict";r.r(t),r.d(t,{iosTransitionAnimation:()=>h,shadow:()=>s});var n=r(35980),o=r(66515); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const i=540,a=e=>document.querySelector(`${e}.ion-cloned-element`),s=e=>e.shadowRoot||e,c=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),r="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(r):null}return e.querySelector(r)},u=(e,t)=>{const r="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let n=[];if(null!=r){const e=r.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(n=e.querySelectorAll("ion-buttons"))}else n=e.querySelectorAll("ion-buttons");for(const o of n){const e=o.closest("ion-header"),r=e&&!e.classList.contains("header-collapse-condense-inactive"),n=o.querySelector("ion-back-button"),i=o.classList.contains("buttons-collapse"),a="start"===o.slot||""===o.slot;if(null!==n&&a&&(i&&r&&t||!i))return n}return null},l=(e,t,r,n,o)=>{const i=u(n,r),a=c(o),s=c(n),l=u(o,r),h=null!==i&&null!==a&&!r,p=null!==s&&null!==l&&r;if(h){const n=a.getBoundingClientRect(),o=i.getBoundingClientRect();f(e,t,r,a,n,o),d(e,t,r,i,n,o)}else if(p){const n=s.getBoundingClientRect(),o=l.getBoundingClientRect();f(e,t,r,s,n,o),d(e,t,r,l,n,o)}return{forward:h,backward:p}},d=(e,t,r,o,i,c)=>{const u=t?`calc(100% - ${c.right+4}px)`:c.left-4+"px",l=t?"7px":"-7px",d=t?"-4px":"4px",f=t?"-4px":"4px",h=t?"right":"left",p=t?"left":"right",g=[{offset:0,opacity:0,transform:`translate3d(${l}, ${i.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${d}, ${c.top-46}px, 0) scale(1)`}],m=[{offset:0,opacity:1,transform:`translate3d(${d}, ${c.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${l}, ${i.top-40}px, 0) scale(2.1)`}],y=r?m:g,v=[{offset:0,opacity:0,transform:`translate3d(${f}, ${c.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${f}, ${c.top-46}px, 0) scale(1)`}],w=[{offset:0,opacity:1,transform:`translate3d(${f}, ${c.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${f}, ${c.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${f}, ${c.top-41}px, 0) scale(0.6)`}],b=r?w:v,_=(0,n.c)(),E=(0,n.c)(),S=a("ion-back-button"),A=s(S).querySelector(".button-text"),T=s(S).querySelector("ion-icon");S.text=o.text,S.mode=o.mode,S.icon=o.icon,S.color=o.color,S.disabled=o.disabled,S.style.setProperty("display","block"),S.style.setProperty("position","fixed"),E.addElement(T),_.addElement(A),_.beforeStyles({"transform-origin":`${h} center`}).beforeAddWrite((()=>{o.style.setProperty("display","none"),S.style.setProperty(h,u)})).afterAddWrite((()=>{o.style.setProperty("display",""),S.style.setProperty("display","none"),S.style.removeProperty(h)})).keyframes(y),E.beforeStyles({"transform-origin":`${p} center`}).keyframes(b),e.addAnimation([_,E])},f=(e,t,r,o,i,s)=>{const c=t?`calc(100% - ${i.right}px)`:`${i.left}px`,u=t?"-18px":"18px",l=t?"right":"left",d=[{offset:0,opacity:0,transform:`translate3d(${u}, ${s.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${i.top-2}px, 0) scale(1)`}],f=[{offset:0,opacity:.99,transform:`translate3d(0, ${i.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${s.top-4}px, 0) scale(0.5)`}],h=r?d:f,p=a("ion-title"),g=(0,n.c)();p.innerText=o.innerText,p.size=o.size,p.color=o.color,g.addElement(p),g.beforeStyles({"transform-origin":`${l} center`,height:"46px",display:"",position:"relative",[l]:c}).beforeAddWrite((()=>{o.style.setProperty("display","none")})).afterAddWrite((()=>{o.style.setProperty("display",""),p.style.setProperty("display","none")})).keyframes(h),e.addAnimation(g)},h=(e,t)=>{var r;try{const a="cubic-bezier(0.32,0.72,0,1)",c="opacity",u="transform",d="0%",f=.8,h="rtl"===e.ownerDocument.dir,p=h?"-99.5%":"99.5%",g=h?"33%":"-33%",m=t.enteringEl,y=t.leavingEl,v="back"===t.direction,w=m.querySelector(":scope > ion-content"),b=m.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),_=m.querySelectorAll(":scope > ion-header > ion-toolbar"),E=(0,n.c)(),S=(0,n.c)();if(E.addElement(m).duration((null!==(r=t.duration)&&void 0!==r?r:0)||i).easing(t.easing||a).fill("both").beforeRemoveClass("ion-page-invisible"),y&&null!==e&&void 0!==e){const t=(0,n.c)();t.addElement(e),E.addAnimation(t)}if(w||0!==_.length||0!==b.length?(S.addElement(w),S.addElement(b)):S.addElement(m.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),E.addAnimation(S),v?S.beforeClearStyles([c]).fromTo("transform",`translateX(${g})`,`translateX(${d})`).fromTo(c,f,1):S.beforeClearStyles([c]).fromTo("transform",`translateX(${p})`,`translateX(${d})`),w){const e=s(w).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),r=e.querySelector(".transition-shadow"),o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();o.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),i.addElement(t).beforeClearStyles([c]).fromTo(c,0,.1),a.addElement(r).beforeClearStyles([c]).fromTo(c,.03,.7),o.addAnimation([i,a]),S.addAnimation([o])}}const A=m.querySelector("ion-header.header-collapse-condense"),{forward:T,backward:C}=l(E,h,v,m,y);if(_.forEach((e=>{const t=(0,n.c)();t.addElement(e),E.addAnimation(t);const r=(0,n.c)();r.addElement(e.querySelector("ion-title"));const o=(0,n.c)(),i=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),a=e.closest("ion-header"),u=null===a||void 0===a?void 0:a.classList.contains("header-collapse-condense-inactive");let l;l=v?i.filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!u||!t})):i.filter((e=>!e.classList.contains("buttons-collapse"))),o.addElement(l);const f=(0,n.c)();f.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const m=(0,n.c)();m.addElement(s(e).querySelector(".toolbar-background"));const y=(0,n.c)(),w=e.querySelector("ion-back-button");if(w&&y.addElement(w),t.addAnimation([r,o,f,m,y]),o.fromTo(c,.01,1),f.fromTo(c,.01,1),v)u||r.fromTo("transform",`translateX(${g})`,`translateX(${d})`).fromTo(c,.01,1),f.fromTo("transform",`translateX(${g})`,`translateX(${d})`),y.fromTo(c,.01,1);else{A||r.fromTo("transform",`translateX(${p})`,`translateX(${d})`).fromTo(c,.01,1),f.fromTo("transform",`translateX(${p})`,`translateX(${d})`),m.beforeClearStyles([c,"transform"]);const e=null===a||void 0===a?void 0:a.translucent;if(e?m.fromTo("transform",h?"translateX(-100%)":"translateX(100%)","translateX(0px)"):m.fromTo(c,.01,"var(--opacity)"),T||y.fromTo(c,.01,1),w&&!T){const e=(0,n.c)();e.addElement(s(w).querySelector(".button-text")).fromTo("transform",h?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}})),y){const e=(0,n.c)(),t=y.querySelector(":scope > ion-content"),r=y.querySelectorAll(":scope > ion-header > ion-toolbar"),i=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==r.length||0!==i.length?(e.addElement(t),e.addElement(i)):e.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),E.addAnimation(e),v){e.beforeClearStyles([c]).fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)");const t=(0,o.g)(y);E.afterAddWrite((()=>{"normal"===E.getDirection()&&t.style.setProperty("display","none")}))}else e.fromTo("transform",`translateX(${d})`,`translateX(${g})`).fromTo(c,1,f);if(t){const r=s(t).querySelector(".transition-effect");if(r){const t=r.querySelector(".transition-cover"),o=r.querySelector(".transition-shadow"),i=(0,n.c)(),a=(0,n.c)(),s=(0,n.c)();i.addElement(r).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([c]).fromTo(c,.1,0),s.addElement(o).beforeClearStyles([c]).fromTo(c,.7,.03),i.addAnimation([a,s]),e.addAnimation([i])}}r.forEach((e=>{const t=(0,n.c)();t.addElement(e);const r=(0,n.c)();r.addElement(e.querySelector("ion-title"));const o=(0,n.c)(),i=e.querySelectorAll("ion-buttons,[menuToggle]"),a=e.closest("ion-header"),l=null===a||void 0===a?void 0:a.classList.contains("header-collapse-condense-inactive"),f=Array.from(i).filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!l||!t}));o.addElement(f);const p=(0,n.c)(),m=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");m.length>0&&p.addElement(m);const y=(0,n.c)();y.addElement(s(e).querySelector(".toolbar-background"));const w=(0,n.c)(),b=e.querySelector("ion-back-button");if(b&&w.addElement(b),t.addAnimation([r,o,p,w,y]),E.addAnimation(t),w.fromTo(c,.99,0),o.fromTo(c,.99,0),p.fromTo(c,.99,0),v){l||r.fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)").fromTo(c,.99,0),p.fromTo("transform",`translateX(${d})`,h?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([c,"transform"]);const e=null===a||void 0===a?void 0:a.translucent;if(e?y.fromTo("transform","translateX(0px)",h?"translateX(-100%)":"translateX(100%)"):y.fromTo(c,"var(--opacity)",0),b&&!C){const e=(0,n.c)();e.addElement(s(b).querySelector(".button-text")).fromTo("transform",`translateX(${d})`,`translateX(${(h?-124:124)+"px"})`),t.addAnimation(e)}}else l||r.fromTo("transform",`translateX(${d})`,`translateX(${g})`).fromTo(c,.99,0).afterClearStyles([u,c]),p.fromTo("transform",`translateX(${d})`,`translateX(${g})`).afterClearStyles([u,c]),w.afterClearStyles([c]),r.afterClearStyles([c]),o.afterClearStyles([c])}))}return E}catch(a){throw a}}},19420:(e,t,r)=>{"use strict";r.d(t,{K:()=>s,a:()=>a});var n=r(19461); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const o=()=>{if(void 0!==n.w)return n.w.Capacitor}; -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -var i,a;(function(e){e["Unimplemented"]="UNIMPLEMENTED",e["Unavailable"]="UNAVAILABLE"})(i||(i={})),function(e){e["Body"]="body",e["Ionic"]="ionic",e["Native"]="native",e["None"]="none"}(a||(a={}));const s={getEngine(){const e=o();if(null===e||void 0===e?void 0:e.isPluginAvailable("Keyboard"))return e.Plugins.Keyboard},getResizeMode(){const e=this.getEngine();return(null===e||void 0===e?void 0:e.getResizeMode)?e.getResizeMode().catch((e=>{if(e.code!==i.Unimplemented)throw e})):Promise.resolve(void 0)}}},56158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{KEYBOARD_DID_CLOSE:()=>i,KEYBOARD_DID_OPEN:()=>o,copyVisualViewport:()=>_,keyboardDidClose:()=>y,keyboardDidOpen:()=>g,keyboardDidResize:()=>m,resetKeyboardAssist:()=>l,setKeyboardClose:()=>p,setKeyboardOpen:()=>h,startKeyboardAssist:()=>d,trackViewportChanges:()=>b});var n=r(19420); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */const o="ionKeyboardDidShow",i="ionKeyboardDidHide",a=150;let s={},c={},u=!1;const l=()=>{s={},c={},u=!1},d=e=>{const t=n.K.getEngine();if(t)f(e);else{if(!e.visualViewport)return;c=_(e.visualViewport),e.visualViewport.onresize=()=>{b(e),g()||m(e)?h(e):y(e)&&p(e)}}},f=e=>{e.addEventListener("keyboardDidShow",(t=>h(e,t))),e.addEventListener("keyboardDidHide",(()=>p(e)))},h=(e,t)=>{v(e,t),u=!0},p=e=>{w(e),u=!1},g=()=>{const e=(s.height-c.height)*c.scale;return!u&&s.width===c.width&&e>a},m=e=>u&&!y(e),y=e=>u&&c.height===e.innerHeight,v=(e,t)=>{const r=t?t.keyboardHeight:e.innerHeight-c.height,n=new CustomEvent(o,{detail:{keyboardHeight:r}});e.dispatchEvent(n)},w=e=>{const t=new CustomEvent(i);e.dispatchEvent(t)},b=e=>{s=Object.assign({},c),c=_(e.visualViewport)},_=e=>({width:Math.round(e.width),height:Math.round(e.height),offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,pageTop:e.pageTop,pageLeft:e.pageLeft,scale:e.scale})},74753:(e,t,r)=>{"use strict";r.r(t),r.d(t,{mdTransitionAnimation:()=>i});var n=r(35980),o=r(66515); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const i=(e,t)=>{var r,i,a;const s="40px",c="0px",u="back"===t.direction,l=t.enteringEl,d=t.leavingEl,f=(0,o.g)(l),h=f.querySelector("ion-toolbar"),p=(0,n.c)();if(p.addElement(f).fill("both").beforeRemoveClass("ion-page-invisible"),u?p.duration((null!==(r=t.duration)&&void 0!==r?r:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):p.duration((null!==(i=t.duration)&&void 0!==i?i:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${s})`,`translateY(${c})`).fromTo("opacity",.01,1),h){const e=(0,n.c)();e.addElement(h),p.addAnimation(e)}if(d&&u){p.duration((null!==(a=t.duration)&&void 0!==a?a:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=(0,n.c)();e.addElement((0,o.g)(d)).onFinish((t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")})).fromTo("transform",`translateY(${c})`,`translateY(${s})`).fromTo("opacity",1,0),p.addAnimation(e)}return p}},6078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{startStatusTap:()=>a});var n=r(50065),o=r(68487),i=r(96587); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const a=()=>{const e=window;e.addEventListener("statusTap",(()=>{(0,n.wj)((()=>{const t=e.innerWidth,r=e.innerHeight,a=document.elementFromPoint(t/2,r/2);if(!a)return;const s=(0,o.a)(a);s&&new Promise((e=>(0,i.c)(s,e))).then((()=>{(0,n.Iu)((async()=>{s.style.setProperty("--overflow","hidden"),await(0,o.s)(s,300),s.style.removeProperty("--overflow")}))}))}))}))}},64044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createSwipeBackGesture:()=>_});var n=r(96587),o=r(80545); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -class i{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){var t;return new a(this,this.newID(),e.name,null!==(t=e.priority)&&void 0!==t?t:0,!!e.disableScroll)}createBlocker(e={}){return new s(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,r){return this.canStart(e)?(this.requestedStart.set(t,r),!0):(this.requestedStart.delete(t),!1)}capture(e,t,r){if(!this.start(e,t,r))return!1;const n=this.requestedStart;let o=-1e4;if(n.forEach((e=>{o=Math.max(o,e)})),o===r){this.capturedId=t,n.clear();const r=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(r),!0}return n.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let r=this.disabledGestures.get(e);void 0===r&&(r=new Set,this.disabledGestures.set(e,r)),r.add(t)}enableGesture(e,t){const r=this.disabledGestures.get(e);void 0!==r&&r.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add(c)}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove(c)}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}class a{constructor(e,t,r,n,o){this.id=t,this.name=r,this.disableScroll=o,this.priority=1e6*n+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class s{constructor(e,t,r,n){this.id=t,this.disable=r,this.disableScroll=n,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const c="backdrop-no-scroll",u=new i,l=(e,t,r,n)=>{const o=d(e)?{capture:!!n.capture,passive:!!n.passive}:!!n.capture;let i,a;return e["__zone_symbol__addEventListener"]?(i="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(i="addEventListener",a="removeEventListener"),e[i](t,r,o),()=>{e[a](t,r,o)}},d=e=>{if(void 0===f)try{const t=Object.defineProperty({},"passive",{get:()=>{f=!0}});e.addEventListener("optsTest",(()=>{}),t)}catch(t){f=!1}return!!f};let f;const h=2e3,p=(e,t,r,n,o)=>{let i,a,s,c,u,d,f,p=0;const m=n=>{p=Date.now()+h,t(n)&&(!a&&r&&(a=l(e,"touchmove",r,o)),s||(s=l(n.target,"touchend",v,o)),c||(c=l(n.target,"touchcancel",v,o)))},y=n=>{p>Date.now()||t(n)&&(!d&&r&&(d=l(g(e),"mousemove",r,o)),f||(f=l(g(e),"mouseup",w,o)))},v=e=>{b(),n&&n(e)},w=e=>{_(),n&&n(e)},b=()=>{a&&a(),s&&s(),c&&c(),a=s=c=void 0},_=()=>{d&&d(),f&&f(),d=f=void 0},E=()=>{b(),_()},S=(t=!0)=>{t?(i||(i=l(e,"touchstart",m,o)),u||(u=l(e,"mousedown",y,o))):(i&&i(),u&&u(),i=u=void 0,E())},A=()=>{S(!1),n=r=t=void 0};return{enable:S,stop:E,destroy:A}},g=e=>e instanceof Document?e:e.ownerDocument,m=(e,t,r)=>{const n=r*(Math.PI/180),o="x"===e,i=Math.cos(n),a=t*t;let s=0,c=0,u=!1,l=0;return{start(e,t){s=e,c=t,l=0,u=!0},detect(e,t){if(!u)return!1;const r=e-s,n=t-c,d=r*r+n*n;if(di?1:h<-i?-1:0,u=!1,!0},isGesture(){return 0!==l},getDirection(){return l}}},y=e=>{let t=!1,r=!1,n=!0,o=!1;const i=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),a=i.canStart,s=i.onWillStart,c=i.onStart,l=i.onEnd,d=i.notCaptured,f=i.onMove,h=i.threshold,g=i.passive,y=i.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},E=m(i.direction,i.threshold,i.maxAngle),S=u.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),A=e=>{const t=b(e);return!(r||!n)&&(w(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!a||!1!==a(_))&&(S.release(),!!S.start()&&(r=!0,0===h?x():(E.start(_.startX,_.startY),!0))))},T=e=>{t?!o&&n&&(o=!0,v(_,e),requestAnimationFrame(C)):(v(_,e),E.detect(_.currentX,_.currentY)&&(E.isGesture()&&x()||R()))},C=()=>{t&&(o=!1,f&&f(_))},x=()=>!!S.capture()&&(t=!0,n=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,s?s(_).then(O):O(),!0),I=()=>{if("undefined"!==typeof document){const e=document.activeElement;(null===e||void 0===e?void 0:e.blur)&&e.blur()}},O=()=>{y&&I(),c&&c(_),n=!0},N=()=>{t=!1,r=!1,o=!1,n=!0,S.release()},P=e=>{const r=t,o=n;N(),o&&(v(_,e),r?l&&l(_):d&&d(_))},k=p(i.el,A,T,P,{capture:!1,passive:g}),R=()=>{N(),k.stop(),d&&d(_)};return{enable(e=!0){e||(t&&P(void 0),N()),k.enable(e)},destroy(){S.destroy(),k.destroy()}}},v=(e,t)=>{if(!t)return;const r=e.currentX,n=e.currentY,o=e.currentTime;w(t,e);const i=e.currentX,a=e.currentY,s=e.currentTime=b(t),c=s-o;if(c>0&&c<100){const t=(i-r)/c,o=(a-n)/c;e.velocityX=.7*t+.3*e.velocityX,e.velocityY=.7*o+.3*e.velocityY}e.deltaX=i-e.startX,e.deltaY=a-e.startY,e.event=t},w=(e,t)=>{let r=0,n=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];r=e.clientX,n=e.clientY}else void 0!==e.pageX&&(r=e.pageX,n=e.pageY)}t.currentX=r,t.currentY=n},b=e=>e.timeStamp||Date.now(),_=(e,t,r,i,a)=>{const s=e.ownerDocument.defaultView;let c=(0,o.i)(e);const u=e=>{const t=50,{startX:r}=e;return c?r>=s.innerWidth-t:r<=t},l=e=>c?-e.deltaX:e.deltaX,d=e=>c?-e.velocityX:e.velocityX,f=r=>(c=(0,o.i)(e),u(r)&&t()),h=e=>{const t=l(e),r=t/s.innerWidth;i(r)},p=e=>{const t=l(e),r=s.innerWidth,o=t/r,i=d(e),c=r/2,u=i>=0&&(i>.2||t>c),f=u?1-o:o,h=f*r;let p=0;if(h>5){const e=h/Math.abs(i);p=Math.min(e,540)}a(u,o<=0?.01:(0,n.m)(0,o,.9999),p)};return y({el:e,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:f,onStart:r,onMove:h,onEnd:p})}},44297:(e,t,r)=>{"use strict";r.d(t,{PO:()=>d,p7:()=>l,r5:()=>f});var n=r(22201),o=r(2262);const i=()=>{const e=[],t={},r=e=>{switch(e.routerAction){case"pop":o(e);break;default:i(e);break}"root"===e.routerDirection&&(a(),i(e))},n=r=>{const n=e.findIndex((e=>e.id===r.id));n>-1&&e.splice(n,1,r);const o=t[r.tab||""];if(o){const e=o.findIndex((e=>e.id===r.id));e>-1?o.splice(e,1,r):o.push(r)}else r.tab&&(t[r.tab]=[r])},o=t=>{const r=s(t.tab);let n;if(r){n=r[r.length-1];while(n&&n.id!==t.id)r.pop(),n=r[r.length-1];r.pop(),r.push(t)}n=e[e.length-1];while(n&&n.id!==t.id)e.pop(),n=e[e.length-1];e.pop(),e.push(t)},i=t=>{const r=s(t.tab);r&&(r[r.length-1]&&r[r.length-1].id===t.id&&r.pop(),r.push(t)),e.push(t)},a=r=>{if(r){const{position:n,tab:o}=r,i=e.findIndex((e=>e.position===n));if(-1===i)return;e.splice(i);const a=e=>{const r=t[e].findIndex((e=>e.position===n));-1!==r&&t[e].splice(r)},s=t[o];if(o&&s)a(o);else for(const e in t)a(e)}else{for(const e in t)t[e]=[];e.length=0}},s=e=>{let r;return e&&(r=t[e],r||(r=t[e]=[])),r},c=()=>e.length,u=(t,r)=>{const n=r-t;return e[n]||l()},l=()=>e[e.length-1],d=(e=1,t,r)=>r-e>=t,f=e=>{const t=s(e);if(t)return t[0]},h=e=>{const t=s(e);if(t)return t[t.length-1]},p=(t,r=-1)=>{const n=s(t.tab);if(n){if(r<-1)return n[n.length-1+r];for(let e=n.length-2;e>=0;e--){const r=n[e];if(r&&r.pathname===t.pushedByRoute)return r}}if(r<-1)return e[e.length-1+r];for(let o=e.length-2;o>=0;o--){const r=e[o];if(r&&r.pathname===t.pushedByRoute)return r}};return{current:u,size:c,last:l,add:r,canGoBack:d,update:n,getFirstRouteInfoForTab:f,getCurrentRouteInfoForTab:h,findLastLocation:p,clearHistory:a}},a={main:0},s=(e="main")=>{var t;const r=(null!==(t=a[e])&&void 0!==t?t:0)+1;return a[e]=r,r.toString()},c=(e,t)=>{let r={direction:void 0,action:void 0,delta:void 0};t.afterEach(((t,n,o)=>{if(o)return;const{direction:i,action:a,delta:s}=r;l=e.history.state.position;const c=e.history.state.replaced?"replace":void 0;p(t,a||c,i,s),r={direction:void 0,action:void 0,delta:void 0}}));const o=i();let a,c,u=e.history.state.position,l=e.history.state.position;const d=[];"undefined"!==typeof document&&document.addEventListener("ionBackButton",(t=>{t.detail.register(0,(t=>{e.history.go(-1),t()}))})),e.history.listen(((e,t,n)=>{r={delta:n.delta,action:"pop"===n.type&&n.delta>=1?"push":n.type,direction:""===n.direction?"forward":n.direction}}));const f=(e,r)=>{const n=o.current(u,l);if(n&&n.pushedByRoute){const i=o.findLastLocation(n);i?(c=Object.assign(Object.assign({},i),{routerAction:"pop",routerDirection:"back",routerAnimation:r||n.routerAnimation}),n.lastPathname===n.pushedByRoute||i.pathname===n.pushedByRoute&&!n.tab&&!i.tab?t.back():t.go(i.position-n.position)):h(e,"pop","back",r)}else h(e,"pop","back",r)},h=(e,r,n,o,i)=>{E(r,n,o,i),"push"===r?t.push(e):t.replace(e)},p=(e,t,r,n)=>{let i;if(c)if("replace"===c.routerAction)i=o.current(u,l);else if("pop"===c.routerAction)i=o.current(u,l+1),"replace"===t&&o.clearHistory();else{const e="root"===c.routerDirection?l:l-1;i=o.current(u,e)}else i=a;i||(i={pathname:"",search:""});const f=i.pathname+i.search;if(f!==e.fullPath){if(!c){if("replace"===t)c={routerAction:"replace",routerDirection:"none"};else if("pop"===t){const e=o.current(u,l-n);if(e&&e.pushedByRoute){const t=o.findLastLocation(e,n);c=Object.assign(Object.assign({},t),{routerAction:"pop",routerDirection:"back"})}else c={routerAction:"pop",routerDirection:"none"}}c||(c={routerAction:"push",routerDirection:r||"forward"})}let d;if(null===c||void 0===c?void 0:c.id)d=Object.assign(Object.assign({},c),{lastPathname:i.pathname});else{const t="push"===c.routerAction&&"forward"===c.routerDirection;if(d=Object.assign(Object.assign({id:s("routeInfo")},c),{lastPathname:i.pathname,pathname:e.path,search:e.fullPath&&e.fullPath.split("?")[1]||"",params:e.params&&e.params,prevRouteLastPathname:i.lastPathname}),t)d.pushedByRoute=""!==i.pathname?i.pathname:void 0;else if("pop"===d.routerAction){const e=o.findLastLocation(d);d.pushedByRoute=null===e||void 0===e?void 0:e.pushedByRoute}else if("push"===d.routerAction&&d.tab!==i.tab){const e=o.getCurrentRouteInfoForTab(d.tab);d.pushedByRoute=null===e||void 0===e?void 0:e.pushedByRoute}else if("replace"===d.routerAction){const e=o.current(u,l),t=null===e||void 0===e?void 0:e.pushedByRoute,r=void 0!==t&&t!==d.pathname?t:d.pushedByRoute;d.lastPathname=(null===e||void 0===e?void 0:e.pathname)||d.lastPathname,d.pushedByRoute=r,d.routerDirection=(null===e||void 0===e?void 0:e.routerDirection)||d.routerDirection,d.routerAnimation=(null===e||void 0===e?void 0:e.routerAnimation)||d.routerAnimation,d.prevRouteLastPathname=null===e||void 0===e?void 0:e.lastPathname}}d.position=l,d.delta=n;const f=o.size(),h=l-u,p=f===h&&f>0&&"replace"===t;f>h||p?"push"!==d.routerAction&&"replace"!==d.routerAction||void 0!==n||(o.clearHistory(d),o.add(d)):o.add(d),1===o.size()&&(u=d.position),a=d}c=void 0,d.forEach((e=>e(a)))},g=()=>a,m=(e=1)=>o.canGoBack(e,u,l),y=e=>{const{routerAnimation:r,routerDirection:n,routerLink:o}=e;E("push",n,r),t.push(o)},v=e=>{const r=o.getFirstRouteInfoForTab(e);r&&t.go(r.position-l)},w=(e,r)=>{if(!r)return;const i=o.getCurrentRouteInfoForTab(e),[a]=r.split("?");i?(c=Object.assign(Object.assign({},c),{routerAction:"push",routerDirection:"none",tab:e}),i.pathname===a?t.push({path:i.pathname,query:(0,n.mB)(i.search)}):t.push({path:a,query:(0,n.mB)(i.search)})):h(a,"push","none",void 0,e)},b=e=>{const t=Object.assign({},o.current(u,l));t.tab!==e&&(t.tab=e,o.update(t));const r=o.findLastLocation(t);t.pushedByRoute!==t.lastPathname&&(null===r||void 0===r?void 0:r.tab)!==e&&(t.pushedByRoute=void 0,o.update(t))},_=e=>{d.push(e)},E=(e="push",t="forward",r,n)=>{c={routerAction:e,routerDirection:t,routerAnimation:r,tab:n}},S=e=>{E("pop","back",e),t.back()},A=e=>{E("push","forward",e),t.forward()},T=()=>o.current(u,l);return{handleNavigate:h,getLeavingRouteInfo:T,handleNavigateBack:f,handleSetCurrentTab:b,getCurrentRouteInfo:g,canGoBack:m,navigate:y,resetTab:v,changeTab:w,registerHistoryChangeListener:_,goBack:S,goForward:A}},u=e=>{const t={},r=()=>Object.keys(t).length,n=e=>{delete t[e]},i=e=>t[e],a=(e,t)=>{e.ionPageElement=t,e.ionRoute=!0,e.matchedRoute.instances={default:e.vueComponentRef.value}},c=(e,t)=>f(e.pathname,t,!1),u=(e,t,r=!0)=>f(e.lastPathname,t,r),l=(e,t)=>f(e,t,!1),d=(e,t)=>t.find((t=>{if(t.pathname===e)return t})),f=(r,n,o=!1)=>{const i=t=>{if(o&&!t.ionRoute||""===r)return!1;const n=e.resolve(r),i=n.matched.find((e=>e===t.matchedRoute));if(i){const e=i.path.includes(":");return(!e||r===t.pathname)&&t}};if(n){const o=t[n];if(!o)return;const a=e?o.find(i):d(r,o);if(a)return a}else for(const e in t){const n=t[e],o=d(r,n);if(o)return o}},h=(e,t,r,n,i)=>({id:s("viewItem"),pathname:n.pathname,outletId:e,matchedRoute:r,ionPageElement:i,vueComponent:t,vueComponentRef:(0,o.XI)(),ionRoute:!1,mount:!1,exact:n.pathname===r.path,params:n.params,vueComponentData:{}}),p=e=>{const{outletId:r}=e;t[r]?t[r].push(e):t[r]=[e]},g=(e,r)=>{if(!r)throw Error("outletId required");const n=t[r];n&&(t[r]=n.filter((t=>t.id!==e.id)))},m=e=>{const r=t[e];if(r){const r=t[e].filter((e=>e.mount));return r}return[]},y=(e,r,n=1)=>{const o=t[e];if(!o)return;const i=o.findIndex((e=>e===r));for(let t=i+1;t{const o=t[e];if(!o)return;const i=o.findIndex((e=>e===r));for(let t=i+1;t{const t=Object.assign({},e);delete t.tabsPrefix;const r=(0,n.p7)(t),o=c(e,r),i=u(r),a=r.install.bind(r);r.install=e=>{e.provide("navManager",o),e.provide("viewStacks",i),a(e)};const s=r.isReady.bind(r);return r.isReady=()=>s(),r},d=e=>(0,n.PO)(e),f=e=>(0,n.r5)(e)},51268:(e,t,r)=>{"use strict";r.d(t,{dr:()=>Go,W2:()=>vo,Gu:()=>wo,_i:()=>$o,jP:()=>zo,sr:()=>bo,oX:()=>Do,Yr:()=>Po,RD:()=>Ro,KA:()=>No,l3:()=>ko,Kx:()=>_o,cj:()=>Mo});var n=r(66252),o=r(2262),i=r(50065),a=r(96587),s=r(45241),c=r(80545); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const u=(e,t)=>null!==t.closest(e),l=(e,t)=>"string"===typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,d=/^[a-z][a-z0-9+\-.]*:/,f=async(e,t,r,n)=>{if(null!=e&&"#"!==e[0]&&!d.test(e)){const o=document.querySelector("ion-router");if(o)return null!=t&&t.preventDefault(),o.push(e,r,n)}return!1},h=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}',p=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=(0,i.yM)(this,"ionScrollStart",7),this.ionScroll=(0,i.yM)(this,"ionScroll",7),this.ionScrollEnd=(0,i.yM)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal")}disconnectedCallback(){this.onScrollEnd()}onAppLoad(){this.resize()}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout((()=>{null!==this.el.offsetParent&&this.resize()}),100)}shouldForceOverscroll(){const{forceOverscroll:e}=this,t=(0,s.b)(this);return void 0===e?"ios"===t&&(0,s.a)("ios"):e}resize(){i.Z5.isBrowser&&(this.fullscreen?(0,i.wj)((()=>this.readDimensions())):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,(0,i.xE)(this)))}readDimensions(){const e=m(this.el),t=Math.max(this.el.offsetTop,0),r=Math.max(e.offsetHeight-t-this.el.offsetHeight,0),n=t!==this.cTop||r!==this.cBottom;n&&(this.cTop=t,this.cBottom=r,(0,i.xE)(this))}onScroll(e){const t=Date.now(),r=!this.isScrolling;this.lastScroll=t,r&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,i.wj)((t=>{this.queued=!1,this.detail.event=e,y(this.detail,this.scrollEl,t,r),this.ionScroll.emit(this.detail)})))}async getScrollElement(){return this.scrollEl||await new Promise((e=>(0,a.c)(this.el,e))),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise((e=>(0,a.c)(this.el,e))),Promise.resolve(this.backgroundContentEl)}scrollToTop(e=0){return this.scrollToPoint(void 0,0,e)}async scrollToBottom(e=0){const t=await this.getScrollElement(),r=t.scrollHeight-t.clientHeight;return this.scrollToPoint(void 0,r,e)}async scrollByPoint(e,t,r){const n=await this.getScrollElement();return this.scrollToPoint(e+n.scrollLeft,t+n.scrollTop,r)}async scrollToPoint(e,t,r=0){const n=await this.getScrollElement();if(r<32)return null!=t&&(n.scrollTop=t),void(null!=e&&(n.scrollLeft=e));let o,i=0;const a=new Promise((e=>o=e)),s=n.scrollTop,c=n.scrollLeft,u=null!=t?t-s:0,l=null!=e?e-c:0,d=e=>{const t=Math.min(1,(e-i)/r)-1,a=Math.pow(t,3)+1;0!==u&&(n.scrollTop=Math.floor(a*u+s)),0!==l&&(n.scrollLeft=Math.floor(a*l+c)),a<1?requestAnimationFrame(d):o()};return requestAnimationFrame((e=>{i=e,d(e)})),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval((()=>{this.lastScrollthis.backgroundContentEl=e,id:"background-content",part:"background"}),(0,i.h)(h,{class:{"inner-scroll":!0,"scroll-x":t,"scroll-y":r,overscroll:(t||r)&&d},ref:e=>this.scrollEl=e,onScroll:this.scrollEvents?e=>this.onScroll(e):void 0,part:"scroll"},(0,i.h)("slot",null)),f?(0,i.h)("div",{class:"transition-effect"},(0,i.h)("div",{class:"transition-cover"}),(0,i.h)("div",{class:"transition-shadow"})):null,(0,i.h)("slot",{name:"fixed"}))}get el(){return this}static get style(){return h}},[1,"ion-content",{color:[513],fullscreen:[4],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[8,"appload","onAppLoad"],[9,"resize","onResize"]]]),g=e=>{var t;return e.parentElement?e.parentElement:(null===(t=e.parentNode)||void 0===t?void 0:t.host)?e.parentNode.host:null},m=e=>{const t=e.closest("ion-tabs");if(t)return t;const r=e.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return r||g(e)},y=(e,t,r,n)=>{const o=e.currentX,i=e.currentY,a=e.currentTime,s=t.scrollLeft,c=t.scrollTop,u=r-a;if(n&&(e.startTime=r,e.startX=s,e.startY=c,e.velocityX=e.velocityY=0),e.currentTime=r,e.currentX=e.scrollLeft=s,e.currentY=e.scrollTop=c,e.deltaX=s-e.startX,e.deltaY=c-e.startY,u>0&&u<100){const t=(s-o)/u,r=(c-i)/u;e.velocityX=.7*t+.3*e.velocityX,e.velocityY=.7*r+.3*e.velocityY}};function v(){if("undefined"===typeof customElements)return;const e=["ion-content"];e.forEach((e=>{switch(e){case"ion-content":customElements.get(e)||customElements.define(e,p);break}}))}const w=v;var b=r(68487); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const _="all 0.2s ease-in-out",E=e=>{const t=document.querySelector(`${e}.ion-cloned-element`);if(null!==t)return t;const r=document.createElement(e);return r.classList.add("ion-cloned-element"),r.style.setProperty("display","none"),document.body.appendChild(r),r},S=e=>{if(!e)return;const t=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(t).map((e=>{const t=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:t,innerTitleEl:t?t.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}}))}},A=(e,t,r)=>{(0,i.wj)((()=>{const n=e.scrollTop,o=(0,a.m)(1,1+-n/500,1.1),s=r.querySelector("ion-refresher.refresher-native");null===s&&(0,i.Iu)((()=>{O(t.toolbars,o)}))}))},T=(e,t)=>{"fade"!==e.collapse&&(void 0===t?e.style.removeProperty("--opacity-scale"):e.style.setProperty("--opacity-scale",t.toString()))},C=(e,t,r)=>{if(!e[0].isIntersecting)return;const n=e[0].intersectionRatio>.9||r<=0?0:100*(1-e[0].intersectionRatio)/75;T(t.el,1===n?void 0:n)},x=(e,t,r,n)=>{(0,i.Iu)((()=>{const o=n.scrollTop;C(e,t,o);const i=e[0],a=i.intersectionRect,s=a.width*a.height,c=i.rootBounds.width*i.rootBounds.height,u=0===s&&0===c,l=Math.abs(a.left-i.boundingClientRect.left),d=Math.abs(a.right-i.boundingClientRect.right),f=s>0&&(l>=5||d>=5);if(!u&&!f)if(i.isIntersecting)I(t,!1),I(r);else{const e=0===a.x&&0===a.y||0!==a.width&&0!==a.height;e&&o>0&&(I(t),I(r,!1),T(t.el))}}))},I=(e,t=!0)=>{const r=e.el;t?(r.classList.remove("header-collapse-condense-inactive"),r.removeAttribute("aria-hidden")):(r.classList.add("header-collapse-condense-inactive"),r.setAttribute("aria-hidden","true"))},O=(e=[],t=1,r=!1)=>{e.forEach((e=>{const n=e.ionTitleEl,o=e.innerTitleEl;n&&"large"===n.size&&(o.style.transition=r?_:"",o.style.transform=`scale3d(${t}, ${t}, 1)`)}))},N=(e,t,r)=>{(0,i.wj)((()=>{const n=e.scrollTop,o=t.clientHeight,s=r?r.clientHeight:0;if(null!==r&&n{e.style.removeProperty("clip-path"),t.style.setProperty("--opacity-scale",l.toString())}))}))},P="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:1px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}",k="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}",R=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=async(e,t)=>{const r=this.scrollEl=await(0,b.g)(e);this.contentScrollCallback=()=>{N(this.scrollEl,this.el,t)},r.addEventListener("scroll",this.contentScrollCallback),N(this.scrollEl,this.el,t)},this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,a.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){const e=(0,s.b)(this);if("ios"!==e)return;const{collapse:t}=this,r="condense"===t,n="fade"===t;if(this.destroyCollapsibleHeader(),r){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?(0,b.f)(e):null;(0,i.Iu)((()=>{const e=E("ion-title");e.size="large",E("ion-back-button")})),await this.setupCondenseHeader(t,e)}else if(n){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?(0,b.f)(e):null;if(!t)return void(0,b.p)(this.el);const r=t.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(t,r)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(e,t){if(!e||!t)return void(0,b.p)(this.el);if("undefined"===typeof IntersectionObserver)return;this.scrollEl=await(0,b.g)(e);const r=t.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(r).find((e=>"condense"!==e.collapse)),!this.collapsibleMainHeader)return;const n=S(this.collapsibleMainHeader),o=S(this.el);if(!n||!o)return;I(n,!1),T(n.el,0);const a=e=>{x(e,n,o,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(a,{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(o.toolbars[o.toolbars.length-1].el),this.contentScrollCallback=()=>{A(this.scrollEl,o,e)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),(0,i.Iu)((()=>{void 0!==this.collapsibleMainHeader&&this.collapsibleMainHeader.classList.add("header-collapse-main")}))}render(){const{translucent:e,inheritedAttributes:t}=this,r=(0,s.b)(this),n=this.collapse||"none",o=u("ion-menu",this.el)?"none":"banner";return(0,i.h)(i.AA,Object.assign({role:o,class:{[r]:!0,[`header-${r}`]:!0,["header-translucent"]:this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${r}`]:this.translucent}},t),"ios"===r&&e&&(0,i.h)("div",{class:"header-background"}),(0,i.h)("slot",null))}get el(){return this}static get style(){return{ios:P,md:k}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function M(){if("undefined"===typeof customElements)return;const e=["ion-header"];e.forEach((e=>{switch(e){case"ion-header":customElements.get(e)||customElements.define(e,R);break}}))}const B=M,L=(e,t,r,n,o)=>F(e[1],t[1],r[1],n[1],o).map((o=>D(e[0],t[0],r[0],n[0],o))),D=(e,t,r,n,o)=>{const i=3*t*Math.pow(o-1,2),a=-3*r*o+3*r+n*o,s=e*Math.pow(o-1,3);return o*(i+o*a)-s},F=(e,t,r,n,o)=>{e-=o,t-=o,r-=o,n-=o;const i=U(n-3*r+3*t-e,3*r-6*t+3*e,3*t-3*e,e);return i.filter((e=>e>=0&&e<=1))},$=(e,t,r)=>{const n=t*t-4*e*r;return n<0?[]:[(-t+Math.sqrt(n))/(2*e),(-t-Math.sqrt(n))/(2*e)]},U=(e,t,r,n)=>{if(0===e)return $(t,r,n);t/=e,r/=e,n/=e;const o=(3*r-t*t)/3,i=(2*t*t*t-9*t*r+27*n)/27;if(0===o)return[Math.pow(-i,1/3)];if(0===i)return[Math.sqrt(-o),-Math.sqrt(-o)];const a=Math.pow(i/2,2)+Math.pow(o/3,3);if(0===a)return[Math.pow(i/2,.5)-t/3];if(a>0)return[Math.pow(-i/2+Math.sqrt(a),1/3)-Math.pow(i/2+Math.sqrt(a),1/3)-t/3];const s=Math.sqrt(Math.pow(-o/3,3)),c=Math.acos(-i/(2*Math.sqrt(Math.pow(-o/3,3)))),u=2*Math.pow(s,1/3);return[u*Math.cos(c/3)-t/3,u*Math.cos((c+2*Math.PI)/3)-t/3,u*Math.cos((c+4*Math.PI)/3)-t/3]};var j=r(46645),z=r(66515); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const V=async(e,t,r,n,o,i)=>{var s;if(e)return e.attachViewToDom(t,r,o,n);if(!i&&"string"!==typeof r&&!(r instanceof HTMLElement))throw new Error("framework delegate is missing");const c="string"===typeof r?null===(s=t.ownerDocument)||void 0===s?void 0:s.createElement(r):r;return n&&n.forEach((e=>c.classList.add(e))),o&&Object.assign(c,o),t.appendChild(c),await new Promise((e=>(0,a.c)(c,e))),c},H=(e,t)=>{if(t){if(e){const r=t.parentElement;return e.removeViewFromDom(r,t)}t.remove()}return Promise.resolve()},q=1,G=2,W=3;class Z{constructor(e,t){this.component=e,this.params=t,this.state=q}async init(e){if(this.state=G,!this.element){const t=this.component;this.element=await V(this.delegate,e,t,["ion-page","ion-page-invisible"],this.params)}}_destroy(){(0,a.p)(this.state!==W,"view state must be ATTACHED");const e=this.element;e&&(this.delegate?this.delegate.removeViewFromDom(e.parentElement,e):e.remove()),this.nav=void 0,this.state=W}}const K=(e,t,r)=>!!e&&(e.component===t&&(0,a.s)(e.params,r)),Y=(e,t)=>e?e instanceof Z?e:new Z(e,t):null,X=e=>e.map((e=>e instanceof Z?e:"component"in e?Y(e.component,null===e.componentProps?void 0:e.componentProps):Y(e,void 0))).filter((e=>null!==e)),J=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}",Q=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,i.yM)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.yM)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.yM)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){const e=i.Z5.isDev;void 0!==this.root&&!1!==this.didLoad&&(this.useRouter?e&&(0,j.p)(" does not support a root attribute when using ion-router.",this.el):void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,s.b)(this);this.swipeGesture=s.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await r.e(998).then(r.bind(r,64044))).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,z.l)(e.element,z.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,r,n){return this.insert(-1,e,t,r,n)}insert(e,t,r,n,o){return this.insertPages(e,[{component:t,componentProps:r}],n,o)}insertPages(e,t,r,n){return this.queueTrns({insertStart:e,insertViews:t,opts:r},n)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,r){const n={removeStart:-1,removeCount:-1,opts:t};return"object"===typeof e&&e.component?(n.removeView=e,n.removeStart=1):"number"===typeof e&&(n.removeStart=e+1),this.queueTrns(n,r)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,r,n){return this.queueTrns({removeStart:e,removeCount:t,opts:r},n)}setRoot(e,t,r,n){return this.setPages([{component:e,componentProps:t}],r,n)}setPages(e,t,r){return null!==t&&void 0!==t||(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},r)}setRouteId(e,t,r,n){const o=this.getActiveSync();if(K(o,e,t))return Promise.resolve({changed:!1,element:o.element});let i;const a=new Promise((e=>i=e));let s;const c={updateURL:!1,viewIsReady:e=>{let t;const r=new Promise((e=>t=e));return i({changed:!0,element:e,markVisible:async()=>{t(),await s}}),r}};if("root"===r)s=this.setRoot(e,t,c);else{const o=this.views.find((r=>K(r,e,t)));o?s=this.popTo(o,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:n})):"forward"===r?s=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:n})):"back"===r&&(s=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:n})))}return a}async getRouteId(){const e=this.getActiveSync();if(e)return{id:e.element.tagName,params:e.params,element:e.element}}async getActive(){return this.getActiveSync()}async getByIndex(e){return this.views[e]}async canGoBack(e){return this.canGoBackSync(e)}async getPrevious(e){return this.getPreviousSync(e)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,r=t.indexOf(e);return r>0?t[r-1]:void 0}async queueTrns(e,t){var r,n;if(this.isTransitioning&&(null===(r=e.opts)||void 0===r?void 0:r.skipIfBusy))return!1;const o=new Promise(((t,r)=>{e.resolve=t,e.reject=r}));if(e.done=t,e.opts&&!1!==e.opts.updateURL&&this.useRouter){const t=document.querySelector("ion-router");if(t){const r=await t.canTransition();if(!1===r)return!1;if("string"===typeof r)return t.push(r,e.opts.direction||"back"),!1}}return 0===(null===(n=e.insertViews)||void 0===n?void 0:n.length)&&(e.insertViews=void 0),this.transInstr.push(e),this.nextTrns(),o}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const t=document.querySelector("ion-router");if(t){const r="back"===e.direction?"back":"forward";t.navChanged(r)}}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}async runTransition(e){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(e);const t=this.getActiveSync(),r=this.getEnteringView(e,t);if(!t&&!r)throw new Error("no views in the stack to be removed");r&&r.state===q&&await r.init(this.el),this.postViewInit(r,t,e);const n=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&r!==t;if(n&&e.opts&&t){const n="back"===e.opts.direction;n&&(e.opts.animationBuilder=e.opts.animationBuilder||(null===r||void 0===r?void 0:r.animationBuilder)),t.animationBuilder=e.opts.animationBuilder}let o;o=n?await this.transition(r,t,e):{hasCompleted:!0,requiresTransition:!1},this.success(o,e),this.ionNavDidChange.emit()}catch(t){this.failed(t,e)}this.isTransitioning=!1,this.nextTrns()}prepareTI(e){var t,r,n;const o=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(r=(n=e.opts).delegate)&&void 0!==r||(n.delegate=this.delegate),void 0!==e.removeView){(0,a.p)(void 0!==e.removeStart,"removeView needs removeStart"),(0,a.p)(void 0!==e.removeCount,"removeView needs removeCount");const t=this.views.indexOf(e.removeView);if(t<0)throw new Error("removeView was not found");e.removeStart+=t}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=o-1),e.removeCount<0&&(e.removeCount=o-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===o),e.insertViews&&((e.insertStart<0||e.insertStart>o)&&(e.insertStart=o),e.enteringRequiresTransition=e.insertStart===o);const i=e.insertViews;if(!i)return;(0,a.p)(i.length>0,"length can not be zero");const s=X(i);if(0===s.length)throw new Error("invalid views to insert");for(const a of s){a.delegate=e.opts.delegate;const t=a.nav;if(t&&t!==this)throw new Error("inserted view was already inserted");if(a.state===W)throw new Error("inserted view was already destroyed")}e.insertViews=s}getEnteringView(e,t){const r=e.insertViews;if(void 0!==r)return r[r.length-1];const n=e.removeStart;if(void 0!==n){const r=this.views,o=n+e.removeCount;for(let e=r.length-1;e>=0;e--){const i=r[e];if((e=o)&&i!==t)return i}}}postViewInit(e,t,r){var n,o,i;(0,a.p)(t||e,"Both leavingView and enteringView are null"),(0,a.p)(r.resolve,"resolve must be valid"),(0,a.p)(r.reject,"reject must be valid");const s=r.opts,{insertViews:c,removeStart:u,removeCount:l}=r;let d;if(void 0!==u&&void 0!==l){(0,a.p)(u>=0,"removeStart can not be negative"),(0,a.p)(l>=0,"removeCount can not be negative"),d=[];for(let r=u;r=0,"final balance can not be negative"),0===f)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(c){let e=r.insertStart;for(const t of c)this.insertViewAt(t,e),e++;r.enteringRequiresTransition&&(null!==(i=s.direction)&&void 0!==i||(s.direction="forward"))}if(d&&d.length>0){for(const e of d)(0,z.l)(e.element,z.b),(0,z.l)(e.element,z.c),(0,z.l)(e.element,z.d);for(const e of d)this.destroyView(e)}}async transition(e,t,r){const n=r.opts,o=n.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.sbAni=e:(this.gestureOrAnimationInProgress=!0,e.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0,i=(0,s.b)(this),a=e.element,c=t&&t.element,u=Object.assign(Object.assign({mode:i,showGoBack:this.canGoBackSync(e),baseEl:this.el,progressCallback:o,animated:this.animated&&s.c.getBoolean("animated",!0),enteringEl:a,leavingEl:c},n),{animationBuilder:n.animationBuilder||this.animation||s.c.get("navAnimation")}),{hasCompleted:l}=await(0,z.t)(u);return this.transitionFinish(l,e,t,n)}transitionFinish(e,t,r,n){const o=e?t:r;return o&&this.unmountInactiveViews(o),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:r,direction:n.direction}}insertViewAt(e,t){const r=this.views,n=r.indexOf(e);n>-1?((0,a.p)(e.nav===this,"view is not part of the nav"),r.splice(n,1),r.splice(t,0,e)):((0,a.p)(!e.nav,"nav is used"),e.nav=this,r.splice(t,0,e))}removeView(e){(0,a.p)(e.state===G||e.state===W,"view state should be loaded or destroyed");const t=this.views,r=t.indexOf(e);(0,a.p)(r>-1,"view must be part of the stack"),r>=0&&t.splice(r,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,r=t.indexOf(e);for(let n=t.length-1;n>=0;n--){const e=t[n],o=e.element;o&&(n>r?((0,z.l)(o,z.d),this.destroyView(e)):n{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let n=e?-.001:.001;e?n+=L([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),n+=L([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,n,r)}else this.gestureOrAnimationInProgress=!1}render(){return(0,i.h)("slot",null)}get el(){return this}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}static get style(){return J}},[1,"ion-nav",{delegate:[16],swipeGesture:[1028,"swipe-gesture"],animated:[4],animation:[16],rootParams:[16],root:[1],push:[64],insert:[64],insertPages:[64],pop:[64],popTo:[64],popToRoot:[64],removeIndex:[64],setRoot:[64],setPages:[64],setRouteId:[64],getRouteId:[64],getActive:[64],getByIndex:[64],canGoBack:[64],getPrevious:[64]},void 0,{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}]);function ee(){if("undefined"===typeof customElements)return;const e=["ion-nav"];e.forEach((e=>{switch(e){case"ion-nav":customElements.get(e)||customElements.define(e,Q);break}}))}const te=ee,re=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large){padding-bottom:7px}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",ne=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}",oe=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const e=Array.from(this.el.querySelectorAll("ion-buttons")),t=e.find((e=>"start"===e.slot));t&&t.classList.add("buttons-first-slot");const r=e.reverse(),n=r.find((e=>"end"===e.slot))||r.find((e=>"primary"===e.slot))||r.find((e=>"secondary"===e.slot));n&&n.classList.add("buttons-last-slot")}childrenStyle(e){e.stopPropagation();const t=e.target.tagName,r=e.detail,n={},o=this.childrenStyles.get(t)||{};let a=!1;Object.keys(r).forEach((e=>{const t=`toolbar-${e}`,i=r[e];i!==o[t]&&(a=!0),i&&(n[t]=!0)})),a&&(this.childrenStyles.set(t,n),(0,i.xE)(this))}render(){const e=(0,s.b)(this),t={};return this.childrenStyles.forEach((e=>{Object.assign(t,e)})),(0,i.h)(i.AA,{class:Object.assign(Object.assign({},t),l(this.color,{[e]:!0,"in-toolbar":u("ion-toolbar",this.el)}))},(0,i.h)("div",{class:"toolbar-background"}),(0,i.h)("div",{class:"toolbar-container"},(0,i.h)("slot",{name:"start"}),(0,i.h)("slot",{name:"secondary"}),(0,i.h)("div",{class:"toolbar-content"},(0,i.h)("slot",null)),(0,i.h)("slot",{name:"primary"}),(0,i.h)("slot",{name:"end"})))}get el(){return this}static get style(){return{ios:re,md:ne}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function ie(){if("undefined"===typeof customElements)return;const e=["ion-toolbar"];e.forEach((e=>{switch(e){case"ion-toolbar":customElements.get(e)||customElements.define(e,oe);break}}))}const ae=ie,se="data:image/svg+xml;utf8,",ce="data:image/svg+xml;utf8,"; -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -let ue;const le=()=>{if("undefined"===typeof window)return new Map;if(!ue){const e=window;e.Ionicons=e.Ionicons||{},ue=e.Ionicons.map=e.Ionicons.map||new Map}return ue},de=e=>{let t=pe(e.src);if(t)return t;if(t=he(e.name,e.icon,e.mode,e.ios,e.md),t)return fe(t);if(e.icon){if(t=pe(e.icon),t)return t;if(t=pe(e.icon[e.mode]),t)return t}return null},fe=e=>{const t=le().get(e);return t||(0,i.K3)(`svg/${e}.svg`)},he=(e,t,r,n,o)=>{if(r="ios"===(r&&ye(r))?"ios":"md",n&&"ios"===r?e=ye(n):o&&"md"===r?e=ye(o):(e||!t||ge(t)||(e=t),me(e)&&(e=ye(e))),!me(e)||""===e.trim())return null;const i=e.replace(/[a-z]|-|\d/gi,"");return""!==i?null:e},pe=e=>me(e)&&(e=e.trim(),ge(e))?e:null,ge=e=>e.length>0&&/(\/|\.)/.test(e),me=e=>"string"===typeof e,ye=e=>e.toLowerCase(),ve=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},we=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),be=e=>{const t=document.createElement("div");t.innerHTML=e;for(let n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);const r=t.firstElementChild;if(r&&"svg"===r.nodeName.toLowerCase()){const e=r.getAttribute("class")||"";if(r.setAttribute("class",(e+" s-ion-icon").trim()),_e(r))return t.innerHTML}return""},_e=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;te.startsWith("data:image/svg+xml"),Se=e=>-1!==e.indexOf(";utf8,"),Ae=new Map,Te=new Map;let Ce;const xe=(e,t)=>{let r=Te.get(e);if(!r){if("undefined"===typeof fetch||"undefined"===typeof document)return Ae.set(e,""),Promise.resolve();if(Ee(e)&&Se(e)){Ce||(Ce=new DOMParser);const t=Ce.parseFromString(e,"text/html"),r=t.querySelector("svg");return r&&Ae.set(e,r.outerHTML),Promise.resolve()}r=fetch(e).then((r=>{if(r.ok)return r.text().then((r=>{r&&!1!==t&&(r=be(r)),Ae.set(e,r||"")}));Ae.set(e,"")})),Te.set(e,r)}return r},Ie=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",Oe=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=Ne(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=ve(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,r){if(i.Z5.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const n=this.io=new window.IntersectionObserver((e=>{e[0].isIntersecting&&(n.disconnect(),this.io=void 0,r())}),{rootMargin:t});n.observe(e)}else r()}loadIcon(){if(i.Z5.isBrowser&&this.isVisible){const e=de(this);e&&(Ae.has(e)?this.svgContent=Ae.get(e):xe(e,this.sanitize).then((()=>this.svgContent=Ae.get(e))))}this.iconName=he(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{iconName:e,el:t,inheritedAttributes:r}=this,n=this.mode||"md",o=this.flipRtl||e&&(e.indexOf("arrow")>-1||e.indexOf("chevron")>-1)&&!1!==this.flipRtl;return(0,i.h)(i.AA,Object.assign({role:"img",class:Object.assign(Object.assign({[n]:!0},Pe(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!o&&we(t)})},r),i.Z5.isBrowser&&this.svgContent?(0,i.h)("div",{class:"icon-inner",innerHTML:this.svgContent}):(0,i.h)("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return Ie}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},void 0,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}]),Ne=()=>i.Z5.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",Pe=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function ke(){if("undefined"===typeof customElements)return;const e=["ion-icon"];e.forEach((e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,Oe);break}}))} -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const Re=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",Me=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,t){return new Promise((r=>{(0,i.wj)((()=>{const n=this.el.getBoundingClientRect(),o=n.width,a=n.height,s=Math.sqrt(o*o+a*a),c=Math.max(a,o),u=this.unbounded?c:s+Le,l=Math.floor(c*De),d=u/l;let f=e-n.left,h=t-n.top;this.unbounded&&(f=.5*o,h=.5*a);const p=f-.5*l,g=h-.5*l,m=.5*o-f,y=.5*a-h;(0,i.Iu)((()=>{const e=document.createElement("div");e.classList.add("ripple-effect");const t=e.style;t.top=g+"px",t.left=p+"px",t.width=t.height=l+"px",t.setProperty("--final-scale",`${d}`),t.setProperty("--translate-end",`${m}px, ${y}px`);const n=this.el.shadowRoot||this.el;n.appendChild(e),setTimeout((()=>{r((()=>{Be(e)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const e=(0,s.b)(this);return(0,i.h)(i.AA,{role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return Re}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),Be=e=>{e.classList.add("fade-out"),setTimeout((()=>{e.remove()}),200)},Le=10,De=.5;function Fe(){if("undefined"===typeof customElements)return;const e=["ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-ripple-effect":customElements.get(e)||customElements.define(e,Me);break}}))} -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const $e=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',Ue=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',je=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.onClick=async e=>{const t=this.el.closest("ion-nav");return e.preventDefault(),t&&await t.canGoBack()?t.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):f(this.defaultHref,e,"back",this.routerAnimation)},this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,a.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=s.c.get("backButtonDefaultHref"))}get backButtonIcon(){const e=this.icon;return null!=e?e:"ios"===(0,s.b)(this)?s.c.get("backButtonIcon",ce):s.c.get("backButtonIcon",se)}get backButtonText(){const e="ios"===(0,s.b)(this)?"Back":null;return null!=this.text?this.text:s.c.get("backButtonText",e)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:e,defaultHref:t,disabled:r,type:n,hasIconOnly:o,backButtonIcon:a,backButtonText:c,icon:d,inheritedAttributes:f}=this,h=void 0!==t,p=(0,s.b)(this),g=f["aria-label"]||c||"back";return(0,i.h)(i.AA,{onClick:this.onClick,class:l(e,{[p]:!0,button:!0,"back-button-disabled":r,"back-button-has-icon-only":o,"in-toolbar":u("ion-toolbar",this.el),"in-toolbar-color":u("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":h})},(0,i.h)("button",{type:n,disabled:r,class:"button-native",part:"native","aria-label":g},(0,i.h)("span",{class:"button-inner"},a&&(0,i.h)("ion-icon",{part:"icon",icon:a,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===d}),c&&(0,i.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},c)),"md"===p&&(0,i.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get style(){return{ios:$e,md:Ue}}},[33,"ion-back-button",{color:[513],defaultHref:[1025,"default-href"],disabled:[516],icon:[1],text:[1],type:[1],routerAnimation:[16]}]);function ze(){if("undefined"===typeof customElements)return;const e=["ion-back-button","ion-icon","ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-back-button":customElements.get(e)||customElements.define(e,je);break;case"ion-icon":customElements.get(e)||ke();break;case"ion-ripple-effect":customElements.get(e)||Fe();break}}))}const Ve=ze,He=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}",qe=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,i.yM)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,i.yM)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,i.yM)(this,"ionNavDidChange",3),this.gestureOrAnimationInProgress=!1,this.mode=(0,s.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}async connectedCallback(){const e=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await r.e(998).then(r.bind(r,64044))).createSwipeBackGesture(this.el,(()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart()),(()=>e()),(e=>{var t;return null===(t=this.ani)||void 0===t?void 0:t.progressStep(e)}),((e,t,r)=>{if(this.ani){this.ani.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(e)}),{oneTimeCallback:!0});let n=e?-.001:.001;e?n+=L([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),n+=L([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.ani.progressEnd(e?1:0,n,r)}else this.gestureOrAnimationInProgress=!1})),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(e,t,r){const n=await this.lock();let o=!1;try{o=await this.transition(e,t,r)}catch(i){console.error(i)}return n(),o}async setRouteId(e,t,r,n){const o=await this.setRoot(e,t,{duration:"root"===r?0:void 0,direction:"back"===r?"back":"forward",animationBuilder:n});return{changed:o,element:this.activeEl}}async getRouteId(){const e=this.activeEl;return e?{id:e.tagName,element:e,params:this.activeParams}:void 0}async setRoot(e,t,r){if(this.activeComponent===e&&(0,a.s)(t,this.activeParams))return!1;const n=this.activeEl,o=await V(this.delegate,this.el,e,["ion-page","ion-page-invisible"],t);return this.activeComponent=e,this.activeEl=o,this.activeParams=t,await this.commit(o,n,r),await H(this.delegate,n),!0}async transition(e,t,r={}){if(t===e)return!1;this.ionNavWillChange.emit();const{el:n,mode:o}=this,i=this.animated&&s.c.getBoolean("animated",!0),c=r.animationBuilder||this.animation||s.c.get("navAnimation");return await(0,z.t)(Object.assign(Object.assign({mode:o,animated:i,enteringEl:e,leavingEl:t,baseEl:n,deepWait:(0,a.l)(n),progressCallback:r.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.ani=e:(this.gestureOrAnimationInProgress=!0,e.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)}),{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0},r),{animationBuilder:c})),this.ionNavDidChange.emit(),!0}async lock(){const e=this.waitPromise;let t;return this.waitPromise=new Promise((e=>t=e)),void 0!==e&&await e,t}render(){return(0,i.h)("slot",null)}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return He}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]);function Ge(){if("undefined"===typeof customElements)return;const e=["ion-router-outlet"];e.forEach((e=>{switch(e){case"ion-router-outlet":customElements.get(e)||customElements.define(e,qe);break}}))}const We=Ge;var Ze=r(22201); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const Ke=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',Ye=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}',Xe=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=(0,i.yM)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{"Enter"!==e.key&&" "!==e.key||this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(e){const t=e.target,r=this.el.parentElement;(e.composedPath().includes(r)||(null===t||void 0===t?void 0:t.contains(this.el)))&&(this.selected=this.tab===e.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,a.d)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=s.c.get("tabButtonLayout","icon-top"))}selectTab(e){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),e.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:e,hasIcon:t,hasLabel:r,href:n,rel:o,target:a,layout:c,selected:u,tab:l,inheritedAttributes:d}=this,f=(0,s.b)(this),h={download:this.download,href:n,rel:o,target:a};return(0,i.h)(i.AA,{onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==l?`tab-button-${l}`:null,class:{[f]:!0,"tab-selected":u,"tab-disabled":e,"tab-has-label":r,"tab-has-icon":t,"tab-has-label-only":r&&!t,"tab-has-icon-only":t&&!r,[`tab-layout-${c}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,i.h)("a",Object.assign({},h,{class:"button-native",part:"native",role:"tab","aria-selected":u?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":void 0},d),(0,i.h)("span",{class:"button-inner"},(0,i.h)("slot",null)),"md"===f&&(0,i.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return this}static get style(){return{ios:Ke,md:Ye}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);function Je(){if("undefined"===typeof customElements)return;const e=["ion-tab-button","ion-ripple-effect"];e.forEach((e=>{switch(e){case"ion-tab-button":customElements.get(e)||customElements.define(e,Xe);break;case"ion-ripple-effect":customElements.get(e)||Fe();break}}))}const Qe=Je;var et=r(19461),tt=r(19420); -/*! - * (C) Ionic http://ionicframework.com - MIT License - */ -const rt=e=>{if(void 0===et.d||e===tt.a.None||void 0===e)return null;const t=et.d.querySelector("ion-app");return null!==t&&void 0!==t?t:et.d.body},nt=e=>{const t=rt(e);return null===t?0:t.clientHeight},ot=async e=>{let t,r,n,o;const i=async()=>{const e=await tt.K.getResizeMode(),i=void 0===e?void 0:e.mode;t=()=>{void 0===o&&(o=nt(i)),n=!0,a(n,i)},r=()=>{n=!1,a(n,i)},null===et.w||void 0===et.w||et.w.addEventListener("keyboardWillShow",t),null===et.w||void 0===et.w||et.w.addEventListener("keyboardWillHide",r)},a=(t,r)=>{e&&e(t,s(r))},s=e=>{if(0===o||o===nt(e))return;const t=rt(e);return null!==t?new Promise((e=>{const r=()=>{t.clientHeight===o&&(n.disconnect(),e())},n=new ResizeObserver(r);n.observe(t)})):void 0},c=()=>{null===et.w||void 0===et.w||et.w.removeEventListener("keyboardWillShow",t),null===et.w||void 0===et.w||et.w.removeEventListener("keyboardWillHide",r),t=r=void 0},u=()=>n;return await i(),{init:i,destroy:c,isKeyboardVisible:u}},it=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",at=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}",st=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=(0,i.yM)(this,"ionTabBarChanged",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await ot((async(e,t)=>{!1===e&&void 0!==t&&await t,this.keyboardVisible=e}))}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}render(){const{color:e,translucent:t,keyboardVisible:r}=this,n=(0,s.b)(this),o=r&&"top"!==this.el.getAttribute("slot");return(0,i.h)(i.AA,{role:"tablist","aria-hidden":o?"true":null,class:l(e,{[n]:!0,"tab-bar-translucent":t,"tab-bar-hidden":o})},(0,i.h)("slot",null))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:it,md:at}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]);function ct(){if("undefined"===typeof customElements)return;const e=["ion-tab-bar"];e.forEach((e=>{switch(e){case"ion-tab-bar":customElements.get(e)||customElements.define(e,st);break}}))}const ut=ct,lt="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}",dt=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost()}componentDidLoad(){i.Z5.isBrowser&&ht((async()=>{const e=(0,s.a)(window,"hybrid");if(s.c.getBoolean("_testing")||r.e(998).then(r.bind(r,84074)).then((e=>e.startTapClick(s.c))),s.c.getBoolean("statusTap",e)&&r.e(998).then(r.bind(r,6078)).then((e=>e.startStatusTap())),s.c.getBoolean("inputShims",ft())){const e=(0,s.a)(window,"ios")?"ios":"android";r.e(998).then(r.bind(r,8775)).then((t=>t.startInputShims(s.c,e)))}const t=await r.e(998).then(r.bind(r,14261));s.c.getBoolean("hardwareBackButton",e)?t.startHardwareBackButton():t.blockHardwareBackButton(),"undefined"!==typeof window&&r.e(998).then(r.bind(r,56158)).then((e=>e.startKeyboardAssist(window))),r.e(998).then(r.bind(r,8544)).then((e=>this.focusVisible=e.startFocusVisible()))}))}async setFocus(e){this.focusVisible&&this.focusVisible.setFocus(e)}render(){const e=(0,s.b)(this);return(0,i.h)(i.AA,{class:{[e]:!0,"ion-page":!0,"force-statusbar-padding":s.c.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return lt}},[0,"ion-app",{setFocus:[64]}]),ft=()=>{const e=(0,s.a)(window,"ios")&&(0,s.a)(window,"mobile");if(e)return!0;const t=(0,s.a)(window,"android")&&(0,s.a)(window,"mobileweb");return!!t},ht=e=>{"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,32)};function pt(){if("undefined"===typeof customElements)return;const e=["ion-app"];e.forEach((e=>{switch(e){case"ion-app":customElements.get(e)||customElements.define(e,dt);break}}))}const gt=pt,mt={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0},yt="app";let vt,wt,bt,_t,Et=0,St=!1,At=!1,Tt=!1,Ct=!1,xt=null,It=0,Ot=!1;const Nt={isDev:!!mt.isDev,isBrowser:!0,isServer:!1,isTesting:!!mt.isTesting},Pt=e=>{const t=new URL(e,_n.$resourcesUrl$);return t.origin!==vn.location.origin?t.href:t.pathname},kt=(e,t="")=>{if(mt.profile&&performance.mark){const r=`st:${e}:${t}:${Et++}`;return performance.mark(r),()=>performance.measure(`[Stencil] ${e}() <${t}>`,r)}return()=>{}},Rt=(e,t)=>mt.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(t,"measure").length&&performance.measure(t,e)}):()=>{},Mt="r",Bt="o",Lt="s",Dt="t",Ft="s-id",$t="sty-id",Ut="c-id",jt="http://www.w3.org/1999/xlink",zt={},Vt="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml",qt=e=>null!=e,Gt=e=>(e=typeof e,"object"===e||"function"===e);function Wt(e){var t,r,n;return null!==(n=null===(r=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===r?void 0:r.getAttribute("content"))&&void 0!==n?n:void 0}const Zt=(e,t,...r)=>{let n=null,o=null,i=null,a=!1,s=!1;const c=[],u=t=>{for(let r=0;re[t])).join(" "))}if(mt.isDev&&c.some(Xt)&&fn("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),mt.vdomFunctional&&"function"===typeof e)return e(null===t?{}:t,c,Jt);const l=Kt(e,null);return l.$attrs$=t,c.length>0&&(l.$children$=c),mt.vdomKey&&(l.$key$=o),mt.slotRelocation&&(l.$name$=i),l},Kt=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return mt.vdomAttribute&&(r.$attrs$=null),mt.vdomKey&&(r.$key$=null),mt.slotRelocation&&(r.$name$=null),r},Yt={},Xt=e=>e&&e.$tag$===Yt,Jt={forEach:(e,t)=>e.map(Qt).forEach(t),map:(e,t)=>e.map(Qt).map(t).map(er)},Qt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),er=e=>{if("function"===typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Zt(e.vtag,t,...e.vchildren||[])}const t=Kt(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},tr=e=>{const t=Object.keys(e),r=t.indexOf("value");if(-1===r)return;const n=t.indexOf("type"),o=t.indexOf("min"),i=t.indexOf("max"),a=t.indexOf("step");(r should be set after "min", "max", "type" and "step"')},rr=(e,t,r,n)=>{const o=kt("hydrateClient",t),i=e.shadowRoot,a=[],s=[],c=mt.shadowDom&&i?[]:null,u=n.$vnode$=Kt(t,null);_n.$orgLocNodes$||or(wn.body,_n.$orgLocNodes$=new Map),e[Ft]=r,e.removeAttribute(Ft),nr(u,a,s,c,e,e,r),a.map((e=>{const r=e.$hostId$+"."+e.$nodeId$,n=_n.$orgLocNodes$.get(r),o=e.$elm$;n&&En&&""===n["s-en"]&&n.parentNode.insertBefore(o,n.nextSibling),i||(o["s-hn"]=t,n&&(o["s-ol"]=n,o["s-ol"]["s-nr"]=o)),_n.$orgLocNodes$.delete(r)})),mt.shadowDom&&i&&c.map((e=>{e&&i.appendChild(e)})),o()},nr=(e,t,r,n,o,i,a)=>{let s,c,u,l;if(1===i.nodeType){for(s=i.getAttribute(Ut),s&&(c=s.split("."),c[0]!==a&&"0"!==c[0]||(u={$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(u),i.removeAttribute(Ut),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,e=u,n&&"0"===u.$depth$&&(n[u.$index$]=u.$elm$))),l=i.childNodes.length-1;l>=0;l--)nr(e,t,r,n,o,i.childNodes[l],a);if(i.shadowRoot)for(l=i.shadowRoot.childNodes.length-1;l>=0;l--)nr(e,t,r,n,o,i.shadowRoot.childNodes[l],a)}else if(8===i.nodeType)c=i.nodeValue.split("."),c[1]!==a&&"0"!==c[1]||(s=c[0],u={$flags$:0,$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},s===Dt?(u.$elm$=i.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,t.push(u),i.remove(),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,n&&"0"===u.$depth$&&(n[u.$index$]=u.$elm$))):u.$hostId$===a&&(s===Lt?(u.$tag$="slot",c[5]?i["s-sn"]=u.$name$=c[5]:i["s-sn"]="",i["s-sr"]=!0,mt.shadowDom&&n&&(u.$elm$=wn.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),i.parentNode.insertBefore(u.$elm$,i),i.remove(),"0"===u.$depth$&&(n[u.$index$]=u.$elm$)),r.push(u),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u):s===Mt&&(mt.shadowDom&&n?i.remove():mt.slotRelocation&&(o["s-cr"]=i,i["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=Kt(null,i.textContent);t.$elm$=i,t.$index$="0",e.$children$=[t]}},or=(e,t)=>{if(1===e.nodeType){let r=0;for(;ryn.map((t=>t(e))).find((e=>!!e)),ar=(e,t)=>null==e||Gt(e)?e:mt.propBoolean&&4&t?"false"!==e&&(""===e||!!e):mt.propNumber&&2&t?parseFloat(e):mt.propString&&1&t?String(e):e,sr=(e,t,r)=>{const n=_n.ce(t,r);return e.dispatchEvent(n),n},cr=new WeakMap,ur=(e,t,r)=>{let n=mn.get(e);Tn&&r?(n=n||new CSSStyleSheet,"string"===typeof n?n=t:n.replaceSync(t)):n=t,mn.set(e,n)},lr=(e,t,r,n)=>{var o;let i=fr(t,r);const a=mn.get(i);if(!mt.attachStyles)return i;if(e=11===e.nodeType?e:wn,a)if("string"===typeof a){e=e.head||e;let r,s=cr.get(e);if(s||cr.set(e,s=new Set),!s.has(i)){if(mt.hydrateClientSide&&e.host&&(r=e.querySelector(`[${$t}="${i}"]`)))r.innerHTML=a;else{if(mt.cssVarShim&&_n.$cssShim$){r=_n.$cssShim$.createHostStyle(n,i,a,!!(10&t.$flags$));const e=r["s-sc"];e&&(i=e,s=null)}else r=wn.createElement("style"),r.innerHTML=a;const c=null!==(o=_n.$nonce$)&&void 0!==o?o:Wt(wn);null!=c&&r.setAttribute("nonce",c),(mt.hydrateServerSide||mt.hotModuleReplacement)&&r.setAttribute($t,i),e.insertBefore(r,e.querySelector("link"))}s&&s.add(i)}}else mt.constructableCSS&&!e.adoptedStyleSheets.includes(a)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return i},dr=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,n=t.$flags$,o=kt("attachStyles",t.$tagName$),i=lr(mt.shadowDom&&En&&r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$modeName$,r);(mt.shadowDom||mt.scoped)&&mt.cssAnnotations&&10&n&&(r["s-sc"]=i,r.classList.add(i+"-h"),mt.scoped&&2&n&&r.classList.add(i+"-s")),o()},fr=(e,t)=>"sc-"+(mt.mode&&t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),hr=(e,t,r,n,o,i)=>{if(r!==n){let s=un(e,t),c=t.toLowerCase();if(mt.vdomClass&&"class"===t){const t=e.classList,o=gr(r),i=gr(n);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if(mt.vdomStyle&&"style"===t){if(mt.updatable)for(const t in r)n&&null!=n[t]||(!mt.hydrateServerSide&&t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)r&&n[t]===r[t]||(!mt.hydrateServerSide&&t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if(mt.vdomKey&&"key"===t);else if(mt.vdomRef&&"ref"===t)n&&n(e);else if(!mt.vdomListener||(mt.lazyLoad?s:e.__lookupSetter__(t))||"o"!==t[0]||"n"!==t[1]){if(mt.vdomPropOrAttr){const u=Gt(n);if((s||u&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{const o=null==n?"":n;"list"===t?s=!1:null!=r&&e[t]==o||(e[t]=o)}}catch(a){}let l=!1;mt.vdomXlink&&c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,l=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(mt.vdomXlink&&l?e.removeAttributeNS(jt,t):e.removeAttribute(t)):(!s||4&i||o)&&!u&&(n=!0===n?"":n,mt.vdomXlink&&l?e.setAttributeNS(jt,t,n):e.setAttribute(t,n))}}else t="-"===t[2]?t.slice(3):un(vn,c)?c.slice(2):c[2]+t.slice(3),r&&_n.rel(e,t,r,!1),n&&_n.ael(e,t,n,!1)}},pr=/\s/,gr=e=>e?e.split(pr):[],mr=(e,t,r,n)=>{const o=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||zt,a=t.$attrs$||zt;if(mt.updatable)for(n in i)n in a||hr(o,n,i[n],void 0,r,t.$flags$);for(n in a)hr(o,n,i[n],a[n],r,t.$flags$)},yr=(e,t,r,n)=>{const o=t.$children$[r];let i,a,s,c=0;if(mt.slotRelocation&&!St&&(Tt=!0,"slot"===o.$tag$&&(vt&&n.classList.add(vt+"-s"),o.$flags$|=o.$children$?2:1)),mt.isDev&&o.$elm$&&fn(`The JSX ${null!==o.$text$?`"${o.$text$}" text`:`"${o.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),mt.vdomText&&null!==o.$text$)i=o.$elm$=wn.createTextNode(o.$text$);else if(mt.slotRelocation&&1&o.$flags$)i=o.$elm$=mt.isDebug||mt.hydrateServerSide?kr(o):wn.createTextNode("");else{if(mt.svg&&!Ct&&(Ct="svg"===o.$tag$),i=o.$elm$=mt.svg?wn.createElementNS(Ct?Vt:Ht,mt.slotRelocation&&2&o.$flags$?"slot-fb":o.$tag$):wn.createElement(mt.slotRelocation&&2&o.$flags$?"slot-fb":o.$tag$),mt.svg&&Ct&&"foreignObject"===o.$tag$&&(Ct=!1),mt.vdomAttribute&&mr(null,o,Ct),(mt.shadowDom||mt.scoped)&&qt(vt)&&i["s-si"]!==vt&&i.classList.add(i["s-si"]=vt),o.$children$)for(c=0;c{_n.$flags$|=1;const r=e.childNodes;for(let n=r.length-1;n>=0;n--){const e=r[n];e["s-hn"]!==bt&&e["s-ol"]&&(Ar(e).insertBefore(e,Sr(e)),e["s-ol"].remove(),e["s-ol"]=void 0,Tt=!0),t&&vr(e,t)}_n.$flags$&=-2},wr=(e,t,r,n,o,i)=>{let a,s=mt.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(mt.shadowDom&&s.shadowRoot&&s.tagName===bt&&(s=s.shadowRoot);o<=i;++o)n[o]&&(a=yr(null,r,o,e),a&&(n[o].$elm$=a,s.insertBefore(a,mt.slotRelocation?Sr(t):t)))},br=(e,t,r,n,o)=>{for(;t<=r;++t)(n=e[t])&&(o=n.$elm$,Nr(n),mt.slotRelocation&&(At=!0,o["s-ol"]?o["s-ol"].remove():vr(o,!0)),o.remove())},_r=(e,t,r,n)=>{let o,i,a=0,s=0,c=0,u=0,l=t.length-1,d=t[0],f=t[l],h=n.length-1,p=n[0],g=n[h];while(a<=l&&s<=h)if(null==d)d=t[++a];else if(null==f)f=t[--l];else if(null==p)p=n[++s];else if(null==g)g=n[--h];else if(Er(d,p))Tr(d,p),d=t[++a],p=n[++s];else if(Er(f,g))Tr(f,g),f=t[--l],g=n[--h];else if(Er(d,g))!mt.slotRelocation||"slot"!==d.$tag$&&"slot"!==g.$tag$||vr(d.$elm$.parentNode,!1),Tr(d,g),e.insertBefore(d.$elm$,f.$elm$.nextSibling),d=t[++a],g=n[--h];else if(Er(f,p))!mt.slotRelocation||"slot"!==d.$tag$&&"slot"!==g.$tag$||vr(f.$elm$.parentNode,!1),Tr(f,p),e.insertBefore(f.$elm$,d.$elm$),f=t[--l],p=n[++s];else{if(c=-1,mt.vdomKey)for(u=a;u<=l;++u)if(t[u]&&null!==t[u].$key$&&t[u].$key$===p.$key$){c=u;break}mt.vdomKey&&c>=0?(i=t[c],i.$tag$!==p.$tag$?o=yr(t&&t[s],r,c,e):(Tr(i,p),t[c]=void 0,o=i.$elm$),p=n[++s]):(o=yr(t&&t[s],r,s,e),p=n[++s]),o&&(mt.slotRelocation?Ar(d.$elm$).insertBefore(o,Sr(d.$elm$)):d.$elm$.parentNode.insertBefore(o,d.$elm$))}a>l?wr(e,null==n[h+1]?null:n[h+1].$elm$,r,n,s,h):mt.updatable&&s>h&&br(t,a,l)},Er=(e,t)=>e.$tag$===t.$tag$&&(mt.slotRelocation&&"slot"===e.$tag$?e.$name$===t.$name$:!mt.vdomKey||e.$key$===t.$key$),Sr=e=>e&&e["s-ol"]||e,Ar=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Tr=(e,t)=>{const r=t.$elm$=e.$elm$,n=e.$children$,o=t.$children$,i=t.$tag$,a=t.$text$;let s;mt.vdomText&&null!==a?mt.vdomText&&mt.slotRelocation&&(s=r["s-cr"])?s.parentNode.textContent=a:mt.vdomText&&e.$text$!==a&&(r.data=a):(mt.svg&&(Ct="svg"===i||"foreignObject"!==i&&Ct),(mt.vdomAttribute||mt.reflect)&&(mt.slot&&"slot"===i||mr(e,t,Ct)),mt.updatable&&null!==n&&null!==o?_r(r,n,t,o):null!==o?(mt.updatable&&mt.vdomText&&null!==e.$text$&&(r.textContent=""),wr(r,null,t,o,0,o.length-1)):mt.updatable&&null!==n&&br(n,0,n.length-1),mt.svg&&Ct&&"svg"===i&&(Ct=!1))},Cr=e=>{const t=e.childNodes;let r,n,o,i,a,s;for(n=0,o=t.length;n{let t,r,n,o,i,a,s=0;const c=e.childNodes,u=c.length;for(;s=0;a--)r=n[a],r["s-cn"]||r["s-nr"]||r["s-hn"]===t["s-hn"]||(Or(r,o)?(i=xr.find((e=>e.$nodeToRelocate$===r)),At=!0,r["s-sn"]=r["s-sn"]||o,i?i.$slotRefNode$=t:xr.push({$slotRefNode$:t,$nodeToRelocate$:r}),r["s-sr"]&&xr.map((e=>{Or(e.$nodeToRelocate$,r["s-sn"])&&(i=xr.find((e=>e.$nodeToRelocate$===r)),i&&!e.$slotRefNode$&&(e.$slotRefNode$=i.$slotRefNode$))}))):xr.some((e=>e.$nodeToRelocate$===r))||xr.push({$nodeToRelocate$:r}));1===t.nodeType&&Ir(t)}},Or=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Nr=e=>{mt.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Nr))},Pr=(e,t)=>{const r=e.$hostElement$,n=e.$cmpMeta$,o=e.$vnode$||Kt(null,null),i=Xt(t)?t:Zt(null,null,t);if(bt=r.tagName,mt.isDev&&Array.isArray(t)&&t.some(Xt))throw new Error(`The must be the single root component.\nLooks like the render() function of "${bt.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(mt.reflect&&n.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},n.$attrsToReflect$.map((([e,t])=>i.$attrs$[t]=r[e]))),i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=o.$elm$=mt.shadowDom&&r.shadowRoot||r,(mt.scoped||mt.shadowDom)&&(vt=r["s-sc"]),mt.slotRelocation&&(wt=r["s-cr"],St=En&&0!==(1&n.$flags$),At=!1),Tr(o,i),mt.slotRelocation){if(_n.$flags$|=1,Tt){let e,t,r,n,o,a;Ir(i.$elm$);let s=0;for(;swn.createComment(` (host=${bt.toLowerCase()})`),Rr=e=>wn.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`)),Mr=(e,t)=>{mt.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},Br=(e,t)=>{if(mt.taskQueue&&mt.updatable&&(e.$flags$|=16),mt.asyncLoading&&4&e.$flags$)return void(e.$flags$|=512);Mr(e,e.$ancestorComponent$);const r=()=>Lr(e,t);return mt.taskQueue?Mn(r):r()},Lr=(e,t)=>{const r=e.$hostElement$,n=kt("scheduleUpdate",e.$cmpMeta$.$tagName$),o=mt.lazyLoad?e.$lazyInstance$:r;let i;return t?(mt.lazyLoad&&mt.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((([e,t])=>jr(o,e,t))),e.$queuedListeners$=null)),Vr(r,"componentWillLoad"),mt.cmpWillLoad&&(i=jr(o,"componentWillLoad"))):(Vr(r,"componentWillUpdate"),mt.cmpWillUpdate&&(i=jr(o,"componentWillUpdate"))),Vr(r,"componentWillRender"),mt.cmpWillRender&&(i=zr(i,(()=>jr(o,"componentWillRender")))),n(),zr(i,(()=>Dr(e,o,t)))},Dr=async(e,t,r)=>{const n=e.$hostElement$,o=kt("update",e.$cmpMeta$.$tagName$),i=n["s-rc"];mt.style&&r&&dr(e);const a=kt("render",e.$cmpMeta$.$tagName$);if(mt.isDev&&(e.$flags$|=1024),mt.hydrateServerSide?await Fr(e,t,n):Fr(e,t,n),mt.cssVarShim&&_n.$cssShim$&&_n.$cssShim$.updateHost(n),mt.isDev&&(e.$renderCount$++,e.$flags$&=-1025),mt.hydrateServerSide)try{qr(n),r&&(1&e.$cmpMeta$.$flags$?n["s-en"]="":2&e.$cmpMeta$.$flags$&&(n["s-en"]="c"))}catch(s){ln(s,n)}if(mt.asyncLoading&&i&&(i.map((e=>e())),n["s-rc"]=void 0),a(),o(),mt.asyncLoading){const t=n["s-p"],r=()=>$r(e);0===t.length?r():(Promise.all(t).then(r),e.$flags$|=4,t.length=0)}else $r(e)},Fr=(e,t,r)=>{const n=!!mt.allRenderFn,o=!!mt.lazyLoad,i=!!mt.taskQueue,a=!!mt.updatable;try{if(xt=t,t=(n||t.render)&&t.render(),a&&i&&(e.$flags$&=-17),(a||o)&&(e.$flags$|=2),mt.hasRenderFn||mt.reflect)if(mt.vdomRender||mt.reflect){if(mt.hydrateServerSide)return Promise.resolve(t).then((t=>Pr(e,t)));Pr(e,t)}else r.textContent=t}catch(s){ln(s,e.$hostElement$)}return xt=null,null},$r=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,n=kt("postUpdate",t),o=mt.lazyLoad?e.$lazyInstance$:r,i=e.$ancestorComponent$;mt.cmpDidRender&&(mt.isDev&&(e.$flags$|=1024),jr(o,"componentDidRender"),mt.isDev&&(e.$flags$&=-1025)),Vr(r,"componentDidRender"),64&e.$flags$?(mt.cmpDidUpdate&&(mt.isDev&&(e.$flags$|=1024),jr(o,"componentDidUpdate"),mt.isDev&&(e.$flags$&=-1025)),Vr(r,"componentDidUpdate"),n()):(e.$flags$|=64,mt.asyncLoading&&mt.cssAnnotations&&Hr(r),mt.cmpDidLoad&&(mt.isDev&&(e.$flags$|=2048),jr(o,"componentDidLoad"),mt.isDev&&(e.$flags$&=-2049)),Vr(r,"componentDidLoad"),n(),mt.asyncLoading&&(e.$onReadyResolve$(r),i||Ur(t))),mt.hotModuleReplacement&&r["s-hmr-load"]&&r["s-hmr-load"](),mt.method&&mt.lazyLoad&&e.$onInstanceResolve$(r),mt.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Rn((()=>Br(e,!1))),e.$flags$&=-517)},Ur=e=>{mt.cssAnnotations&&Hr(wn.documentElement),mt.asyncQueue&&(_n.$flags$|=2),Rn((()=>sr(vn,"appload",{detail:{namespace:yt}}))),mt.profile&&performance.measure&&performance.measure(`[Stencil] ${yt} initial load (by ${e})`,"st:app:start")},jr=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(n){ln(n)}},zr=(e,t)=>e&&e.then?e.then(t):t(),Vr=(e,t)=>{mt.lifecycleDOMEvents&&sr(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:yt}})},Hr=e=>mt.hydratedClass?e.classList.add("hydrated"):mt.hydratedAttribute?e.setAttribute("hydrated",""):void 0,qr=e=>{const t=e.children;if(null!=t)for(let r=0,n=t.length;rsn(e).$instanceValues$.get(t),Wr=(e,t,r,n)=>{const o=sn(e),i=mt.lazyLoad?o.$hostElement$:e,a=o.$instanceValues$.get(t),s=o.$flags$,c=mt.lazyLoad?o.$lazyInstance$:i;r=ar(r,n.$members$[t][0]);const u=Number.isNaN(a)&&Number.isNaN(r),l=r!==a&&!u;if((!mt.lazyLoad||!(8&s)||void 0===a)&&l&&(o.$instanceValues$.set(t,r),mt.isDev&&(1024&o.$flags$?hn(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",r,"\nOld value",a):2048&o.$flags$&&hn(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",r,"\nOld value",a)),!mt.lazyLoad||c)){if(mt.watchCallback&&n.$watchers$&&128&s){const e=n.$watchers$[t];e&&e.map((e=>{try{c[e](r,a,t)}catch(n){ln(n,i)}}))}if(mt.updatable&&2===(18&s)){if(mt.cmpShouldUpdate&&c.componentShouldUpdate&&!1===c.componentShouldUpdate(r,a,t))return;Br(o,!1)}}},Zr=(e,t,r)=>{if(mt.member&&t.$members$){mt.watchCallback&&e.watchers&&(t.$watchers$=e.watchers);const n=Object.entries(t.$members$),o=e.prototype;if(n.map((([e,[n]])=>{(mt.prop||mt.state)&&(31&n||(!mt.lazyLoad||2&r)&&32&n)?Object.defineProperty(o,e,{get(){return Gr(this,e)},set(o){if(mt.isDev){const o=sn(this);0===(1&r)&&0===(8&o.$flags$)&&0!==(31&n)&&0===(1024&n)&&hn(`@Prop() "${e}" on <${t.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}Wr(this,e,o,t)},configurable:!0,enumerable:!0}):mt.lazyLoad&&mt.method&&1&r&&64&n&&Object.defineProperty(o,e,{value(...t){const r=sn(this);return r.$onInstancePromise$.then((()=>r.$lazyInstance$[e](...t)))}})})),mt.observeAttribute&&(!mt.lazyLoad||1&r)){const r=new Map;o.attributeChangedCallback=function(e,t,n){_n.jmp((()=>{const t=r.get(e);if(this.hasOwnProperty(t))n=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"===typeof this[t]&&this[t]==n)return;this[t]=(null!==n||"boolean"!==typeof this[t])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,n])=>{const o=n[1]||e;return r.set(o,e),mt.reflect&&512&n[0]&&t.$attrsToReflect$.push([e,o]),o}))}}return e},Kr=async(e,t,n,o,i)=>{if((mt.lazyLoad||mt.hydrateServerSide||mt.style)&&0===(32&t.$flags$)){if(mt.lazyLoad||mt.hydrateClientSide){if(t.$flags$|=32,i=gn(n,t,o),i.then){const e=Rt(`st:load:${n.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${n.$tagName$}>`);i=await i,e()}if((mt.isDev||mt.isDebug)&&!i)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);mt.member&&!i.isProxied&&(mt.watchCallback&&(n.$watchers$=i.watchers),Zr(i,n,2),i.isProxied=!0);const e=kt("createInstance",n.$tagName$);mt.member&&(t.$flags$|=8);try{new i(t)}catch(c){ln(c)}mt.member&&(t.$flags$&=-9),mt.watchCallback&&(t.$flags$|=128),e(),Yr(t.$lazyInstance$)}else i=e.constructor,t.$flags$|=32,customElements.whenDefined(n.$tagName$).then((()=>t.$flags$|=128));if(mt.style&&i.style){let o=i.style;mt.mode&&"string"!==typeof o&&(o=o[t.$modeName$=ir(e)],mt.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));const a=fr(n,t.$modeName$);if(!mn.has(a)){const e=kt("registerStyles",n.$tagName$);!mt.hydrateServerSide&&mt.shadowDom&&mt.shadowDomShim&&8&n.$flags$&&(o=await r.e(998).then(r.bind(r,5880)).then((e=>e.scopeCss(o,a,!1)))),ur(a,o,!!(1&n.$flags$)),e()}}}const a=t.$ancestorComponent$,s=()=>Br(t,!0);mt.asyncLoading&&a&&a["s-rc"]?a["s-rc"].push(s):s()},Yr=e=>{mt.lazyLoad&&mt.connectedCallback&&jr(e,"connectedCallback")},Xr=e=>{if(0===(1&_n.$flags$)){const t=sn(e),r=t.$cmpMeta$,n=kt("connectedCallback",r.$tagName$);if(mt.hostListenerTargetParent&&tn(e,t,r.$listeners$,!0),1&t.$flags$)tn(e,t,r.$listeners$,!1),Yr(t.$lazyInstance$);else{let n;if(t.$flags$|=1,mt.hydrateClientSide&&(n=e.getAttribute(Ft),n)){if(mt.shadowDom&&En&&1&r.$flags$){const t=mt.mode?lr(e.shadowRoot,r,e.getAttribute("s-mode")):lr(e.shadowRoot,r);e.classList.remove(t+"-h",t+"-s")}rr(e,r.$tagName$,n,t)}if(mt.slotRelocation&&!n&&(mt.hydrateServerSide||(mt.slot||mt.shadowDom)&&12&r.$flags$)&&Jr(e),mt.asyncLoading){let r=e;while(r=r.parentNode||r.host)if(mt.hydrateClientSide&&1===r.nodeType&&r.hasAttribute("s-id")&&r["s-p"]||r["s-p"]){Mr(t,t.$ancestorComponent$=r);break}}mt.prop&&!mt.hydrateServerSide&&r.$members$&&Object.entries(r.$members$).map((([t,[r]])=>{if(31&r&&e.hasOwnProperty(t)){const r=e[t];delete e[t],e[t]=r}})),mt.initializeNextTick?Rn((()=>Kr(e,t,r))):Kr(e,t,r)}n()}},Jr=e=>{const t=e["s-cr"]=wn.createComment(mt.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Qr=e=>{if(0===(1&_n.$flags$)){const t=sn(e),r=mt.lazyLoad?t.$lazyInstance$:e;mt.hostListener&&t.$rmListeners$&&(t.$rmListeners$.map((e=>e())),t.$rmListeners$=void 0),mt.cssVarShim&&_n.$cssShim$&&_n.$cssShim$.removeHost(e),mt.lazyLoad&&mt.disconnectedCallback&&jr(r,"disconnectedCallback"),mt.cmpDidUnload&&jr(r,"componentDidUnload")}},en=(e,t)=>{const r={$flags$:t[0],$tagName$:t[1]};mt.member&&(r.$members$=t[2]),mt.hostListener&&(r.$listeners$=t[3]),mt.watchCallback&&(r.$watchers$=e.$watchers$),mt.reflect&&(r.$attrsToReflect$=[]),mt.shadowDom&&!En&&1&r.$flags$&&(r.$flags$|=8);const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){cn(this,r)},connectedCallback(){Xr(this),mt.connectedCallback&&n&&n.call(this)},disconnectedCallback(){Qr(this),mt.disconnectedCallback&&o&&o.call(this)},__attachShadow(){En?mt.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),e.is=r.$tagName$,Zr(e,r,3)},tn=(e,t,r,n)=>{mt.hostListener&&r&&(mt.hostListenerTargetParent&&(r=n?r.filter((([e])=>32&e)):r.filter((([e])=>!(32&e)))),r.map((([r,n,o])=>{const i=mt.hostListenerTarget?nn(e,r):e,a=rn(t,o),s=on(r);_n.ael(i,n,a,s),(t.$rmListeners$=t.$rmListeners$||[]).push((()=>_n.rel(i,n,a,s)))})))},rn=(e,t)=>r=>{try{mt.lazyLoad?256&e.$flags$?e.$lazyInstance$[t](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r]):e.$hostElement$[t](r)}catch(n){ln(n)}},nn=(e,t)=>mt.hostListenerTargetDocument&&4&t?wn:mt.hostListenerTargetWindow&&8&t?vn:mt.hostListenerTargetBody&&16&t?wn.body:mt.hostListenerTargetParent&&32&t?e.parentElement:e,on=e=>Sn?{passive:0!==(1&e),capture:0!==(2&e)}:0!==(2&e),an=new WeakMap,sn=e=>an.get(e),cn=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return mt.isDev&&(r.$renderCount$=0),mt.method&&mt.lazyLoad&&(r.$onInstancePromise$=new Promise((e=>r.$onInstanceResolve$=e))),mt.asyncLoading&&(r.$onReadyPromise$=new Promise((e=>r.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[]),tn(e,r,t.$listeners$,!1),an.set(e,r)},un=(e,t)=>t in e,ln=(e,t)=>(_t||console.error)(e,t),dn=mt.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],fn=(...e)=>console.error(...dn,...e),hn=(...e)=>console.warn(...dn,...e),pn=new Map,gn=(e,t,n)=>{const o=e.$tagName$.replace(/-/g,"_"),i=e.$lazyBundleId$;if(mt.isDev&&"string"!==typeof i)return void fn(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);const a=!mt.hotModuleReplacement&&pn.get(i);return a?a[o]:r(11875)(`./${i}.entry.js${mt.hotModuleReplacement&&n?"?s-hmr="+n:""}`).then((e=>(mt.hotModuleReplacement||pn.set(i,e),e[o])),ln) -/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},mn=new Map,yn=[],vn="undefined"!==typeof window?window:{},wn=(mt.cssVarShim&&vn.CSS,vn.document||{head:{}}),bn=vn.HTMLElement||class{},_n={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,n)=>e.addEventListener(t,r,n),rel:(e,t,r,n)=>e.removeEventListener(t,r,n),ce:(e,t)=>new CustomEvent(e,t)},En=!mt.shadowDomShim||!mt.shadowDom||(()=>(wn.head.attachShadow+"").indexOf("[native")>-1)(),Sn=(()=>{let e=!1;try{wn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),An=e=>Promise.resolve(e),Tn=!!mt.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Cn=[],xn=[],In=[],On=(e,t)=>r=>{e.push(r),Ot||(Ot=!0,t&&4&_n.$flags$?Rn(kn):_n.raf(kn))},Nn=e=>{for(let r=0;r{let r=0,n=0;while(r{if(mt.asyncQueue&&It++,Nn(Cn),mt.asyncQueue){const e=2===(6&_n.$flags$)?performance.now()+14*Math.ceil(.1*It):1/0;Pn(xn,e),Pn(In,e),xn.length>0&&(In.push(...xn),xn.length=0),(Ot=Cn.length+xn.length+In.length>0)?_n.raf(kn):It=0}else Nn(xn),(Ot=Cn.length>0)&&_n.raf(kn)},Rn=e=>An().then(e),Mn=On(xn,!0);let Bn;const Ln=()=>{if("undefined"===typeof window)return new Map;if(!Bn){const e=window;e.Ionicons=e.Ionicons||{},Bn=e.Ionicons.map=e.Ionicons.map||new Map}return Bn},Dn=e=>{let t=Un(e.src);if(t)return t;if(t=$n(e.name,e.icon,e.mode,e.ios,e.md),t)return Fn(t);if(e.icon){if(t=Un(e.icon),t)return t;if(t=Un(e.icon[e.mode]),t)return t}return null},Fn=e=>{const t=Ln().get(e);return t||Pt(`svg/${e}.svg`)},$n=(e,t,r,n,o)=>{if(r="ios"===(r&&Vn(r))?"ios":"md",n&&"ios"===r?e=Vn(n):o&&"md"===r?e=Vn(o):(e||!t||jn(t)||(e=t),zn(e)&&(e=Vn(e))),!zn(e)||""===e.trim())return null;const i=e.replace(/[a-z]|-|\d/gi,"");return""!==i?null:e},Un=e=>zn(e)&&(e=e.trim(),jn(e))?e:null,jn=e=>e.length>0&&/(\/|\.)/.test(e),zn=e=>"string"===typeof e,Vn=e=>e.toLowerCase(),Hn=(e,t=[])=>{const r={};return t.forEach((t=>{if(e.hasAttribute(t)){const n=e.getAttribute(t);null!==n&&(r[t]=e.getAttribute(t)),e.removeAttribute(t)}})),r},qn=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),Gn=e=>{const t=document.createElement("div");t.innerHTML=e;for(let n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);const r=t.firstElementChild;if(r&&"svg"===r.nodeName.toLowerCase()){const e=r.getAttribute("class")||"";if(r.setAttribute("class",(e+" s-ion-icon").trim()),Wn(r))return t.innerHTML}return""},Wn=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;te.startsWith("data:image/svg+xml"),Kn=e=>-1!==e.indexOf(";utf8,"),Yn=new Map,Xn=new Map;let Jn;const Qn=(e,t)=>{let r=Xn.get(e);if(!r){if("undefined"===typeof fetch||"undefined"===typeof document)return Yn.set(e,""),Promise.resolve();if(Zn(e)&&Kn(e)){Jn||(Jn=new DOMParser);const t=Jn.parseFromString(e,"text/html"),r=t.querySelector("svg");return r&&Yn.set(e,r.outerHTML),Promise.resolve()}r=fetch(e).then((r=>{if(r.ok)return r.text().then((r=>{r&&!1!==t&&(r=Gn(r)),Yn.set(e,r||"")}));Yn.set(e,"")})),Xn.set(e,r)}return r},eo=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",to=en(class extends bn{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=ro(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=Hn(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,t,r){if(Nt.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const n=this.io=new window.IntersectionObserver((e=>{e[0].isIntersecting&&(n.disconnect(),this.io=void 0,r())}),{rootMargin:t});n.observe(e)}else r()}loadIcon(){if(Nt.isBrowser&&this.isVisible){const e=Dn(this);e&&(Yn.has(e)?this.svgContent=Yn.get(e):Qn(e,this.sanitize).then((()=>this.svgContent=Yn.get(e))))}this.iconName=$n(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:e,iconName:t,inheritedAttributes:r,el:n}=this,o=this.mode||"md",i=!!t&&((t.includes("arrow")||t.includes("chevron"))&&!1!==e),a=e||i;return Zt(Yt,Object.assign({role:"img",class:Object.assign(Object.assign({[o]:!0},no(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":a,"icon-rtl":a&&qn(n)})},r),Nt.isBrowser&&this.svgContent?Zt("div",{class:"icon-inner",innerHTML:this.svgContent}):Zt("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return eo}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]),ro=()=>Nt.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",no=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function oo(){if("undefined"===typeof customElements)return;const e=["ion-icon"];e.forEach((e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,to);break}}))}const io=oo,ao="update:modelValue",so="modelValue",co="routerLink",uo="navManager",lo="router",fo="aria",ho=Symbol(),po={default:ho},go=e=>(null===e||void 0===e?void 0:e.split(" "))||[],mo=(e,t,r=[])=>{var n;return[...Array.from((null===(n=e.value)||void 0===n?void 0:n.classList)||[]),...r].filter(((e,r,n)=>!t.has(e)&&n.indexOf(e)===r))},yo=(e,t,r=[],i,a,s)=>{void 0!==t&&t();const c=(0,n.aZ)(((t,{attrs:r,slots:c,emit:u})=>{var l;let d=t[i];const f=(0,o.iH)(),h=new Set(go(r.class)),p=e=>{if(e.el){const t=Array.isArray(a)?a:[a];t.forEach((t=>{e.el.addEventListener(t.toLowerCase(),(e=>{d=(null===e||void 0===e?void 0:e.target)[i],u(ao,d),s&&u(s,e)}))}))}},g=(0,n.FN)(),m=null===(l=null===g||void 0===g?void 0:g.appContext)||void 0===l?void 0:l.provides[uo],y=m?(0,n.f3)(uo):void 0,v=e=>{const{routerLink:r}=t;if(r!==ho)if(void 0!==y){let r={event:e};for(const e in t){const n=t[e];t.hasOwnProperty(e)&&e.startsWith(lo)&&n!==ho&&(r[e]=n)}y.navigate(r)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{d=t[i],go(r.class).forEach((e=>{h.add(e)}));const o=t.onClick,s=e=>{void 0!==o&&o(e),e.defaultPrevented||v(e)};let u={ref:f,class:mo(f,h),onClick:s,onVnodeBeforeMount:a?p:void 0};for(const e in t){const r=t[e];(t.hasOwnProperty(e)&&r!==ho||e.startsWith(fo))&&(u[e]=r)}return i&&(t[so]!==ho?u=Object.assign(Object.assign({},u),{[i]:t[so]}):d!==ho&&(u=Object.assign(Object.assign({},u),{[i]:d}))),(0,n.h)(e,u,c.default&&c.default())}}));return"function"!==typeof c&&(c.name=e,c.props={[co]:po},r.forEach((e=>{c.props[e]=po})),i&&(c.props[so]=po,c.emits=[ao,s])),c},vo=yo("ion-content",w,["color","fullscreen","forceOverscroll","scrollX","scrollY","scrollEvents","ionScrollStart","ionScroll","ionScrollEnd"]),wo=yo("ion-header",B,["collapse","translucent"]),bo=yo("ion-toolbar",ae,["color"]),_o=(e,t)=>{const r=r=>r.detail.register(e,t),n=()=>document.removeEventListener("ionBackButton",r);return document.addEventListener("ionBackButton",r),{unregister:n}};var Eo;(function(e){e["WillEnter"]="onIonViewWillEnter",e["DidEnter"]="onIonViewDidEnter",e["WillLeave"]="onIonViewWillLeave",e["DidLeave"]="onIonViewDidLeave"})(Eo||(Eo={}));const So={[z.L]:Eo.WillEnter,[z.a]:Eo.DidEnter,[z.b]:Eo.WillLeave,[z.c]:Eo.DidLeave},Ao={main:0},To=(e="main")=>{var t;const r=(null!==(t=Ao[e])&&void 0!==t?t:0)+1;return Ao[e]=r,r.toString()},Co=(e,t,r)=>{(null===e||void 0===e?void 0:e[r])&&e[r].bind(null===t||void 0===t?void 0:t.value)();const n=null===t||void 0===t?void 0:t.value;if((null===n||void 0===n?void 0:n[r])&&n[r](),n){const e=So[r],t=n[e];t&&t.forEach((e=>e()))}},xo=()=>{if("undefined"!==typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null},Io=(e,t,r)=>{if(r){const n=r,o=n.proxy[e]||(n.proxy[e]=[]);n.exposed&&(n.exposed[e]=o);const i=(...e)=>{if(!n.isUnmounted)return e?t(...e):t()};return o.push(i),i}console.warn("[@ionic/vue]: Ionic Lifecycle Hooks can only be used during execution of setup().")},Oo=e=>(t,r=(0,n.FN)())=>Io(e,t,r),No=Oo(Eo.WillEnter),Po=Oo(Eo.DidEnter),ko=Oo(Eo.WillLeave),Ro=Oo(Eo.DidLeave),Mo=()=>{const{canGoBack:e,goBack:t,goForward:r,handleNavigate:o}=(0,n.f3)("navManager"),i=(e,t,r,n)=>o(e,r,t,n),a=(e,t)=>i(e,"forward","push",t),s=(e,t)=>i(e,"root","replace",t),c=e=>t(e),u=e=>r(e);return{canGoBack:e,push:a,replace:s,back:c,forward:u,navigate:i}},Bo=e=>{const t=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();switch(e){case"ionInput":return"v-ion-input";case"ionChange":return"v-ion-change";default:return t(e)}},Lo=()=>({ael:(e,t,r,n)=>e.addEventListener(Bo(t),r,n),rel:(e,t,r,n)=>e.removeEventListener(Bo(t),r,n),ce:(e,t)=>new CustomEvent(Bo(e),t)}),Do={async install(e,t={}){"undefined"!==typeof document&&document.documentElement.classList.add("ion-ce");const{ael:r,rel:n,ce:o}=Lo();(0,s.i)(Object.assign(Object.assign({},t),{_ael:r,_rel:n,_ce:o}))}},Fo=(0,n.aZ)(((e,{attrs:t,slots:r})=>{Ve();const o=(0,n.f3)("navManager"),i=()=>{if(void 0===o)return;const e=t["default-href"]||t["defaultHref"],r=t["router-animation"]||t["routerAnimation"];o.handleNavigateBack(e,r)};return()=>(0,n.h)("ion-back-button",Object.assign({onClick:i},t),r.default&&r.default())}));Fo.name="IonBackButton";const $o=(0,n.aZ)({name:"IonPage",props:{registerIonPage:{type:Function,default:()=>{}}},mounted(){this.$props.registerIonPage(this.$refs.ionPage)},setup(e,{attrs:t,slots:r}){return()=>(0,n.h)("div",Object.assign(Object.assign({},t),{["class"]:"ion-page",ref:"ionPage"}),r.default&&r.default())}}),Uo=e=>!e.classList.contains("ion-page-hidden")&&!e.classList.contains("ion-page-invisible"),jo=Symbol(0),zo=(0,n.aZ)({name:"IonRouterOutlet",setup(){We();const e=(0,n.f3)(Ze.ZD),t=(0,Ze.yj)(),r=(0,n.f3)(jo,0),i=(0,n.Fl)((()=>t.matched[r]));let a,s;(0,n.JJ)(jo,r+1),(0,n.JJ)(Ze.XS,i);const c=(0,o.iH)(),u=To("ion-router-outlet"),l=(0,n.f3)("navManager"),d=(0,n.f3)("viewStacks"),f=(0,o.XI)([]);let h,p=!1;(0,n.YP)((()=>[t,i.value]),(([e,t])=>{if(void 0!==t){const r=t!==a,n=e.matched[e.matched.length-1]===t&&e.path!==s;(r||n)&&b(i)}a=t,s=e.path}));const g=()=>{const e=xo(),t=e&&e.get("swipeBackEnabled","ios"===c.value.mode);if(!t)return!1;const r=d.getViewStack(u);if(!r||r.length<=1)return!1;const n=l.getLeavingRouteInfo(),o=d.findViewItemByRouteInfo({pathname:n.pushedByRoute||""},u);return!!o},m=async()=>{const e=l.getLeavingRouteInfo(),{routerAnimation:t}=e,r=d.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},u),n=d.findViewItemByRouteInfo(e,u);if(n){let e=t;const o=r.ionPageElement,i=n.ionPageElement,a=r.routerAnimation;void 0===e&&void 0!==a&&(e=a),n.routerAnimation=e,await v(o,i,"back",l.canGoBack(2),!0,e)}return Promise.resolve()},y=e=>{if(e)p=!0,l.handleNavigateBack();else{const e=l.getCurrentRouteInfo(),t=d.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},u);t.ionPageElement.setAttribute("aria-hidden","true"),t.ionPageElement.classList.add("ion-page-hidden")}};(0,n.YP)(c,(()=>{c.value.swipeHandler={canStart:g,onStart:m,onEnd:y}}));const v=async(e,t,r,n,o,i)=>{if(p)return p=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);e.classList.add("ion-page-invisible");const a=void 0===r||"root"===r||"none"===r,s=await c.value.commit(e,t,{duration:a&&void 0===i?0:void 0,direction:r,showGoBack:n,progressAnimation:o,animationBuilder:i});return s},w=async()=>{const e=l.getCurrentRouteInfo(),{routerDirection:t,routerAction:r,routerAnimation:n,prevRouteLastPathname:o,delta:i}=e,a=d.findViewItemByRouteInfo(e,u);let s=d.findLeavingViewItemByRouteInfo(e,u);const c=a.ionPageElement;if(void 0===c&&console.warn(`[@ionic/vue Warning]: The view you are trying to render for path ${e.pathname} does not have the required component. Transitions and lifecycle methods may not work as expected.\n\nSee https://ionicframework.com/docs/vue/navigation#ionpage for more information.`),a!==s&&(!s&&o&&(s=d.findViewItemByPathname(o,u)),!Uo(c)||void 0===(null===s||void 0===s?void 0:s.ionPageElement)||Uo(s.ionPageElement))){if(Co(a.vueComponent,a.vueComponentRef,z.L),(null===s||void 0===s?void 0:s.ionPageElement)&&a!==s){let o=n;const l=s.ionPageElement;Co(s.vueComponent,s.vueComponentRef,z.b);const f=a.routerAnimation;void 0===o&&"back"===t&&void 0!==f&&(o=f),s.routerAnimation=o,await v(c,l,t,!!e.pushedByRoute,!1,o),l.classList.add("ion-page-hidden"),l.setAttribute("aria-hidden","true");const h=1===d.size();if("replace"===r)s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1;else if("push"!==r||"forward"!==t){const e="none"!==t&&s&&a!==s;e&&(s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1,h&&d.unmountLeavingViews(u,a,i))}else h&&d.mountIntermediaryViews(u,s,i);Co(s.vueComponent,s.vueComponentRef,z.c)}else requestAnimationFrame((()=>c.classList.remove("ion-page-invisible")));Co(a.vueComponent,a.vueComponentRef,z.a),f.value=d.getChildrenToRender(u)}},b=e=>{const r=t.matched[0];if(h||(h=r.path),!e.value||e.value!==r&&r.path!==h)return;const n=l.getCurrentRouteInfo();let o=d.findViewItemByRouteInfo(n,u);o||(o=d.createViewItem(u,e.value.components.default,e.value,n),d.add(o)),o.mount?w():(o.mount=!0,o.registerCallback=()=>{w(),o.registerCallback=void 0}),f.value=d.getChildrenToRender(u)};i.value&&b(i),(0,n.Ah)((()=>d.clear(u)));const _=(e,t)=>{const r=e.ionPageElement;d.registerIonPage(e,t),e.registerCallback?(t.classList.add("ion-page-invisible"),e.registerCallback()):r&&!r.classList.contains("ion-page-invisible")&&t.classList.remove("ion-page-invisible")};return{id:u,components:f,injectedRoute:e,ionRouterOutlet:c,registerIonPage:_}},render(){const{components:e,registerIonPage:t,injectedRoute:r}=this;return(0,n.h)("ion-router-outlet",{ref:"ionRouterOutlet"},e&&e.map((e=>{var o,i;let a={ref:e.vueComponentRef,key:e.pathname,registerIonPage:r=>t(e,r)};const s=null===(i=null===(o=e.matchedRoute)||void 0===o?void 0:o.props)||void 0===i?void 0:i.default,c=()=>{var t;const n=null===(t=e.vueComponentData)||void 0===t?void 0:t.propsFunctionResult;if(n)return n;{const t=s(r);return e.vueComponentData=Object.assign(Object.assign({},e.vueComponentData),{propsFunctionResult:t}),t}},u=s?!0===s?e.params:"function"===typeof s?c():s:null;return a=Object.assign(Object.assign({},a),u),(0,n.h)(e.vueComponent,a)})))}}),Vo=(Boolean,Boolean,e=>{var t;return"IonTabButton"===(null===(t=e.type)||void 0===t?void 0:t.name)}),Ho=e=>{let t=[];return e.forEach((e=>{if(Vo(e))t.push(e);else if(Array.isArray(e.children)&&e.children.length>1){const r=Ho(e.children);t=[...t,...r]}})),t},qo=((0,n.aZ)({name:"IonTabBar",props:{_tabsWillChange:{type:Function,default:()=>{}},_tabsDidChange:{type:Function,default:()=>{}}},data(){return{tabState:{activeTab:void 0,tabs:{}},tabVnodes:[]}},updated(){this.setupTabState((0,n.f3)("navManager"))},methods:{setupTabState(e){const t=this.$data.tabState,r=(0,n.FN)(),o=this.$data.tabVnodes=Ho(r.subTree.children||[]);o.forEach((e=>{t.tabs[e.props.tab]={originalHref:e.props.href,currentHref:e.props.href,ref:e},e.component.props._getTabState=()=>t})),this.checkActiveTab(e)},checkActiveTab(e){const t=e.getCurrentRouteInfo(),r=this.$data.tabVnodes,{tabs:n,activeTab:o}=this.$data.tabState,i=this.$data.tabState,a=Object.keys(n),s=a.find((e=>{const r=n[e].originalHref;return t.pathname.startsWith(r)}));if(r.forEach((e=>{const t=n[e.props.tab];t&&t.originalHref===e.props.href||(n[e.props.tab]={originalHref:e.props.href,currentHref:e.props.href,ref:e})})),s&&o){const e=this.$data.tabState.tabs[o].currentHref;if(s!==o||e!==t.pathname){const e=t.search?`?${t.search}`:"";n[s]=Object.assign(Object.assign({},n[s]),{currentHref:t.pathname+e})}"pop"===t.routerAction&&s!==o&&(n[o]=Object.assign(Object.assign({},n[o]),{currentHref:n[o].originalHref}))}const c=r.find((e=>{var t;return Vo(e)&&(null===(t=e.props)||void 0===t?void 0:t.tab)===s})),u=this.$refs.ionTabBar,l=s!==o;u&&(c?(l&&this.$props._tabsWillChange(s),e.handleSetCurrentTab(s),u.selectedTab=i.activeTab=s,l&&this.$props._tabsDidChange(s)):u.selectedTab=i.activeTab="")}},mounted(){const e=(0,n.f3)("navManager");this.setupTabState(e),e.registerHistoryChangeListener((()=>this.checkActiveTab(e)))},setup(e,{slots:t}){return ut(),()=>(0,n.h)("ion-tab-bar",{ref:"ionTabBar"},t.default&&t.default())}}),(0,o.XI)([])),Go=(0,n.aZ)(((e,{attrs:t,slots:r})=>(gt(),()=>(0,n.h)("ion-app",Object.assign({},t),[r.default&&r.default(),...qo.value]))));Go.name="IonApp";const Wo=e=>{qo.value=[...qo.value,e]},Zo=e=>{qo.value=qo.value.filter((t=>t!==e))},Ko=(e=Wo,t=Zo)=>{const r=new WeakMap,o=(t,o,i={},a)=>{const s=document.createElement("div");a&&s.classList.add(...a),t.appendChild(s);const c=(0,n.h)(n.lR,{to:s},(0,n.h)(o,Object.assign({},i)));return r.set(s,c),e(c),Promise.resolve(s)},i=(e,n)=>{const o=r.get(n);return o&&t(o),Promise.resolve()};return{attachViewToDom:o,removeViewFromDom:i}},Yo=(0,n.aZ)((()=>{te();const e=(0,o.XI)([]),t=t=>e.value=[...e.value,t],r=t=>e.value=e.value.filter((e=>e!==t)),i=Ko(t,r);return()=>(0,n.h)("ion-nav",{delegate:i},e.value)}));Yo.name="IonNav";Boolean,Symbol()},27320:(e,t)=>{"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function n(e){if("boolean"!==typeof e)throw new Error(`Expected boolean, not ${e}`)}function o(e,...t){if(!(e instanceof Uint8Array))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function i(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){o(e);const r=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;const n=r(27320),o=r(98089);function i(e,t,r,n){if("function"===typeof e.setBigUint64)return e.setBigUint64(t,r,n);const o=BigInt(32),i=BigInt(4294967295),a=Number(r>>o&i),s=Number(r&i),c=n?4:0,u=n?0:4;e.setUint32(t+c,a,n),e.setUint32(t+u,s,n)}class a extends o.Hash{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,o.createView)(this.buffer)}update(e){n.default.exists(this);const{view:t,buffer:r,blockLen:i}=this;e=(0,o.toBytes)(e);const a=e.length;for(let n=0;na-c&&(this.process(r,0),c=0);for(let n=c;nf.length)throw new Error("_sha2: outputLen bigger than state");for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;const r=BigInt(2**32-1),n=BigInt(32);function o(e,t=!1){return t?{h:Number(e&r),l:Number(e>>n&r)}:{h:0|Number(e>>n&r),l:0|Number(e&r)}}function i(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);t.toBig=a;const s=(e,t,r)=>e>>>r,c=(e,t,r)=>e<<32-r|t>>>r,u=(e,t,r)=>e>>>r|t<<32-r,l=(e,t,r)=>e<<32-r|t>>>r,d=(e,t,r)=>e<<64-r|t>>>r-32,f=(e,t,r)=>e>>>r-32|t<<64-r,h=(e,t)=>t,p=(e,t)=>e,g=(e,t,r)=>e<>>32-r,m=(e,t,r)=>t<>>32-r,y=(e,t,r)=>t<>>64-r,v=(e,t,r)=>e<>>64-r;function w(e,t,r,n){const o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:0|o}}t.add=w;const b=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),_=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,E=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),S=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0,A=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0),T=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0,C={fromBig:o,split:i,toBig:t.toBig,shrSH:s,shrSL:c,rotrSH:u,rotrSL:l,rotrBH:d,rotrBL:f,rotr32H:h,rotr32L:p,rotlSH:g,rotlSL:m,rotlBH:y,rotlBL:v,add:w,add3L:b,add3H:_,add4L:E,add4H:S,add5H:T,add5L:A};t["default"]=C},31945:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},79569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;const n=r(27320),o=r(98089);class i extends o.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,n.default.hash(e);const r=(0,o.toBytes)(t);if(this.iHash=e.create(),"function"!==typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,a=new Uint8Array(i);a.set(r.length>i?e.create().update(r).digest():r);for(let n=0;nnew i(e,t).update(r).digest();t.hmac=a,t.hmac.create=(e,t)=>new i(e,t)},70830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ripemd160=t.RIPEMD160=void 0;const n=r(27505),o=r(98089),i=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),a=Uint8Array.from({length:16},((e,t)=>t)),s=a.map((e=>(9*e+5)%16));let c=[a],u=[s];for(let w=0;w<4;w++)for(let e of[c,u])e.push(e[w].map((e=>i[e])));const l=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),d=c.map(((e,t)=>e.map((e=>l[t][e])))),f=u.map(((e,t)=>e.map((e=>l[t][e])))),h=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),p=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),g=(e,t)=>e<>>32-t;function m(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const y=new Uint32Array(16);class v extends n.SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|o}process(e,t){for(let c=0;c<16;c++,t+=4)y[c]=e.getUint32(t,!0);let r=0|this.h0,n=r,o=0|this.h1,i=o,a=0|this.h2,s=a,l=0|this.h3,v=l,w=0|this.h4,b=w;for(let _=0;_<5;_++){const e=4-_,t=h[_],E=p[_],S=c[_],A=u[_],T=d[_],C=f[_];for(let n=0;n<16;n++){const e=g(r+m(_,o,a,l)+y[S[n]]+t,T[n])+w|0;r=w,w=l,l=0|g(a,10),a=o,o=e}for(let r=0;r<16;r++){const t=g(n+m(e,i,s,v)+y[A[r]]+E,C[r])+b|0;n=b,b=v,v=0|g(s,10),s=i,i=t}}this.set(this.h1+a+v|0,this.h2+l+b|0,this.h3+w+n|0,this.h4+r+i|0,this.h0+o+s|0)}roundClean(){y.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}t.RIPEMD160=v,t.ripemd160=(0,o.wrapConstructor)((()=>new v))},73963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha1=void 0;const n=r(27505),o=r(98089),i=(e,t)=>e<>>32-t>>>0,a=(e,t,r)=>e&t^~e&r,s=(e,t,r)=>e&t^e&r^t&r,c=new Uint32Array([1732584193,4023233417,2562383102,271733878,3285377520]),u=new Uint32Array(80);class l extends n.SHA2{constructor(){super(64,20,8,!1),this.A=0|c[0],this.B=0|c[1],this.C=0|c[2],this.D=0|c[3],this.E=0|c[4]}get(){const{A:e,B:t,C:r,D:n,E:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o}process(e,t){for(let i=0;i<16;i++,t+=4)u[i]=e.getUint32(t,!1);for(let a=16;a<80;a++)u[a]=i(u[a-3]^u[a-8]^u[a-14]^u[a-16],1);let{A:r,B:n,C:o,D:c,E:l}=this;for(let d=0;d<80;d++){let e,t;d<20?(e=a(n,o,c),t=1518500249):d<40?(e=n^o^c,t=1859775393):d<60?(e=s(n,o,c),t=2400959708):(e=n^o^c,t=3395469782);const f=i(r,5)+e+l+t+u[d]|0;l=c,c=o,o=i(n,30),n=r,r=f}r=r+this.A|0,n=n+this.B|0,o=o+this.C|0,c=c+this.D|0,l=l+this.E|0,this.set(r,n,o,c,l)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0),this.buffer.fill(0)}}t.sha1=(0,o.wrapConstructor)((()=>new l))},23061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;const n=r(27505),o=r(98089),i=(e,t,r)=>e&t^~e&r,a=(e,t,r)=>e&t^e&r^t&r,s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),c=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class l extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|c[0],this.B=0|c[1],this.C=0|c[2],this.D=0|c[3],this.E=0|c[4],this.F=0|c[5],this.G=0|c[6],this.H=0|c[7]}get(){const{A:e,B:t,C:r,D:n,E:o,F:i,G:a,H:s}=this;return[e,t,r,n,o,i,a,s]}set(e,t,r,n,o,i,a,s){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|i,this.G=0|a,this.H=0|s}process(e,t){for(let o=0;o<16;o++,t+=4)u[o]=e.getUint32(t,!1);for(let i=16;i<64;i++){const e=u[i-15],t=u[i-2],r=(0,o.rotr)(e,7)^(0,o.rotr)(e,18)^e>>>3,n=(0,o.rotr)(t,17)^(0,o.rotr)(t,19)^t>>>10;u[i]=n+u[i-7]+r+u[i-16]|0}let{A:r,B:n,C:c,D:l,E:d,F:f,G:h,H:p}=this;for(let g=0;g<64;g++){const e=(0,o.rotr)(d,6)^(0,o.rotr)(d,11)^(0,o.rotr)(d,25),t=p+e+i(d,f,h)+s[g]+u[g]|0,m=(0,o.rotr)(r,2)^(0,o.rotr)(r,13)^(0,o.rotr)(r,22),y=m+a(r,n,c)|0;p=h,h=f,f=d,d=l+t|0,l=c,c=n,n=r,r=t+y|0}r=r+this.A|0,n=n+this.B|0,c=c+this.C|0,l=l+this.D|0,d=d+this.E|0,f=f+this.F|0,h=h+this.G|0,p=p+this.H|0,this.set(r,n,c,l,d,f,h,p)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class d extends l{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,o.wrapConstructor)((()=>new l)),t.sha224=(0,o.wrapConstructor)((()=>new d))},86262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512_224=t.sha512=t.SHA512=void 0;const n=r(27505),o=r(6873),i=r(98089),[a,s]=o.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),c=new Uint32Array(80),u=new Uint32Array(80);class l extends n.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:r,Bl:n,Ch:o,Cl:i,Dh:a,Dl:s,Eh:c,El:u,Fh:l,Fl:d,Gh:f,Gl:h,Hh:p,Hl:g}=this;return[e,t,r,n,o,i,a,s,c,u,l,d,f,h,p,g]}set(e,t,r,n,o,i,a,s,c,u,l,d,f,h,p,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|o,this.Cl=0|i,this.Dh=0|a,this.Dl=0|s,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|f,this.Gl=0|h,this.Hh=0|p,this.Hl=0|g}process(e,t){for(let o=0;o<16;o++,t+=4)c[o]=e.getUint32(t),u[o]=e.getUint32(t+=4);for(let a=16;a<80;a++){const e=0|c[a-15],t=0|u[a-15],r=o.default.rotrSH(e,t,1)^o.default.rotrSH(e,t,8)^o.default.shrSH(e,t,7),n=o.default.rotrSL(e,t,1)^o.default.rotrSL(e,t,8)^o.default.shrSL(e,t,7),i=0|c[a-2],s=0|u[a-2],l=o.default.rotrSH(i,s,19)^o.default.rotrBH(i,s,61)^o.default.shrSH(i,s,6),d=o.default.rotrSL(i,s,19)^o.default.rotrBL(i,s,61)^o.default.shrSL(i,s,6),f=o.default.add4L(n,d,u[a-7],u[a-16]),h=o.default.add4H(f,r,l,c[a-7],c[a-16]);c[a]=0|h,u[a]=0|f}let{Ah:r,Al:n,Bh:i,Bl:l,Ch:d,Cl:f,Dh:h,Dl:p,Eh:g,El:m,Fh:y,Fl:v,Gh:w,Gl:b,Hh:_,Hl:E}=this;for(let S=0;S<80;S++){const e=o.default.rotrSH(g,m,14)^o.default.rotrSH(g,m,18)^o.default.rotrBH(g,m,41),t=o.default.rotrSL(g,m,14)^o.default.rotrSL(g,m,18)^o.default.rotrBL(g,m,41),A=g&y^~g&w,T=m&v^~m&b,C=o.default.add5L(E,t,T,s[S],u[S]),x=o.default.add5H(C,_,e,A,a[S],c[S]),I=0|C,O=o.default.rotrSH(r,n,28)^o.default.rotrBH(r,n,34)^o.default.rotrBH(r,n,39),N=o.default.rotrSL(r,n,28)^o.default.rotrBL(r,n,34)^o.default.rotrBL(r,n,39),P=r&i^r&d^i&d,k=n&l^n&f^l&f;_=0|w,E=0|b,w=0|y,b=0|v,y=0|g,v=0|m,({h:g,l:m}=o.default.add(0|h,0|p,0|x,0|I)),h=0|d,p=0|f,d=0|i,f=0|l,i=0|r,l=0|n;const R=o.default.add3L(I,N,k);r=o.default.add3H(R,x,O,P),n=0|R}({h:r,l:n}=o.default.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l}=o.default.add(0|this.Bh,0|this.Bl,0|i,0|l)),({h:d,l:f}=o.default.add(0|this.Ch,0|this.Cl,0|d,0|f)),({h,l:p}=o.default.add(0|this.Dh,0|this.Dl,0|h,0|p)),({h:g,l:m}=o.default.add(0|this.Eh,0|this.El,0|g,0|m)),({h:y,l:v}=o.default.add(0|this.Fh,0|this.Fl,0|y,0|v)),({h:w,l:b}=o.default.add(0|this.Gh,0|this.Gl,0|w,0|b)),({h:_,l:E}=o.default.add(0|this.Hh,0|this.Hl,0|_,0|E)),this.set(r,n,i,l,d,f,h,p,g,m,y,v,w,b,_,E)}roundClean(){c.fill(0),u.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.SHA512=l;class d extends l{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends l{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class h extends l{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}t.sha512=(0,i.wrapConstructor)((()=>new l)),t.sha512_224=(0,i.wrapConstructor)((()=>new d)),t.sha512_256=(0,i.wrapConstructor)((()=>new f)),t.sha384=(0,i.wrapConstructor)((()=>new h))},98089:(e,t,r)=>{"use strict"; -/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const n=r(31945),o=e=>e instanceof Uint8Array,i=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t.u8=i;const a=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.u32=a;const s=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);t.createView=s;const c=(e,t)=>e<<32-t|e>>>t;if(t.rotr=c,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const u=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function l(e){if(!o(e))throw new Error("Uint8Array expected");let t="";for(let r=0;r{};async function h(e,r,n){let o=Date.now();for(let i=0;i=0&&ee+t.length),0));let r=0;return e.forEach((e=>{if(!o(e))throw new Error("Uint8Array expected");t.set(e,r),r+=e.length})),t}t.nextTick=f,t.asyncLoop=h,t.utf8ToBytes=p,t.toBytes=g,t.concatBytes=m;class y{clone(){return this._cloneInto()}}t.Hash=y;const v=e=>"[object Object]"===Object.prototype.toString.call(e)&&e.constructor===Object;function w(e,t){if(void 0!==t&&("object"!==typeof t||!v(t)))throw new Error("Options should be object or undefined");const r=Object.assign(e,t);return r}function b(e){const t=t=>e().update(g(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function _(e){const t=(t,r)=>e(r).update(g(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function E(e){const t=(t,r)=>e(r).update(g(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function S(e=32){if(n.crypto&&"function"===typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}t.checkOpts=w,t.wrapConstructor=b,t.wrapConstructorWithOpts=_,t.wrapXOFConstructorWithOpts=E,t.randomBytes=S},39187:(e,t)=>{"use strict"; -/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function r(e){if(!Number.isSafeInteger(e))throw new Error(`Wrong integer: ${e}`)}function n(...e){const t=(e,t)=>r=>e(t(r)),r=Array.from(e).reverse().reduce(((e,r)=>e?t(e,r.encode):r.encode),void 0),n=e.reduce(((e,r)=>e?t(e,r.decode):r.decode),void 0);return{encode:r,decode:n}}function o(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((t=>{if(r(t),t<0||t>=e.length)throw new Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]}))},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((t=>{if("string"!==typeof t)throw new Error(`alphabet.decode: not string element=${t}`);const r=e.indexOf(t);if(-1===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r}))}}}function i(e=""){if("string"!==typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!==typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!==typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function a(e,t="="){if(r(e),"string"!==typeof t)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!==typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!==typeof e)throw new Error(`padding.encode: non-string input=${e}`);while(r.length*e%8)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!==typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!==typeof e)throw new Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function s(e){if("function"!==typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function c(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let o=0;const i=[],a=Array.from(e);a.forEach((e=>{if(r(e),e<0||e>=t)throw new Error(`Wrong integer: ${e}`)}));while(1){let e=0,r=!0;for(let i=o;it?u(t,e%t):e,l=(e,t)=>e+(t-u(e,t));function d(e,t,n,o){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(l(t,n)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${l(t,n)}`);let i=0,a=0;const s=2**n-1,c=[];for(const u of e){if(r(u),u>=2**t)throw new Error(`convertRadix2: invalid data word=${u} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=n;a-=n)c.push((i>>a-n&s)>>>0);i&=2**a-1}if(i=i<=t)throw new Error("Excess padding");if(!o&&i)throw new Error(`Non-zero padding: ${i}`);return o&&a>0&&c.push(i>>>0),c}function f(e){return r(e),{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return c(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(c(t,e,256))}}}function h(e,t=!1){if(r(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(l(8,e)>32||l(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return d(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!==typeof r[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(d(r,e,8,t))}}}function p(e){if("function"!==typeof e)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(r){}}}function g(e,t){if(r(e),"function"!==typeof t)throw new Error("checksum fn should be function");return{encode(r){if(!(r instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),o=new Uint8Array(r.length+e);return o.set(r),o.set(n,r.length),o},decode(r){if(!(r instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),o=t(n).slice(0,e),i=r.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")))),t.base64=n(h(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),a(6),i("")),t.base64url=n(h(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),a(6),i(""));const m=e=>n(f(58),o(e),i(""));t.base58=m("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=m("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=m("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const y=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let r="";for(let n=0;nn(g(4,(t=>e(e(t)))),t.base58);t.base58check=v;const w=n(o("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),b=[996825010,642813549,513874426,1027748829,705979059];function _(e){const t=e>>25;let r=(33554431&e)<<5;for(let n=0;n>n&1)&&(r^=b[n]);return r}function E(e,t,r=1){const n=e.length;let o=1;for(let i=0;i126)throw new Error(`Invalid prefix (${e})`);o=_(o)^t>>5}o=_(o);for(let i=0;in)throw new TypeError(`Length ${o} exceeds limit ${n}`);return e=e.toLowerCase(),`${e}1${w.encode(r)}${E(e,r,t)}`}function s(e,r=90){if("string"!==typeof e)throw new Error("bech32.decode input should be string, not "+typeof e);if(e.length<8||!1!==r&&e.length>r)throw new TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);const n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");e=n;const o=e.lastIndexOf("1");if(0===o||-1===o)throw new Error('Letter "1" must be present between prefix and data only');const i=e.slice(0,o),a=e.slice(o+1);if(a.length<6)throw new Error("Data must be at least 6 characters long");const s=w.decode(a).slice(0,-6),c=E(i,s,t);if(!a.endsWith(c))throw new Error(`Invalid checksum in ${e}: expected "${c}"`);return{prefix:i,words:s}}const c=p(s);function u(e){const{prefix:t,words:r}=s(e,!1);return{prefix:t,words:r,bytes:n(r)}}return{encode:a,decode:s,decodeToBytes:u,decodeUnsafe:c,fromWords:n,fromWordsUnsafe:i,toWords:o}}t.bech32=S("bech32"),t.bech32m=S("bech32m"),t.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},t.hex=n(h(4),o("0123456789abcdef"),i(""),s((e=>{if("string"!==typeof e||e.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()})));const A={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},T=`Invalid encoding type. Available types: ${Object.keys(A).join(", ")}`,C=(e,t)=>{if("string"!==typeof e||!A.hasOwnProperty(e))throw new TypeError(T);if(!(t instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return A[e].encode(t)};t.bytesToString=C,t.str=t.bytesToString;const x=(e,t)=>{if(!A.hasOwnProperty(e))throw new TypeError(T);if("string"!==typeof t)throw new TypeError("stringToBytes() expects string");return A[e].decode(t)};t.stringToBytes=x,t.bytes=t.stringToBytes},50065:(e,t,r)=>{"use strict";r.d(t,{Z5:()=>y,mv:()=>Ct,AA:()=>D,yM:()=>X,xE:()=>Re,K3:()=>v,iJ:()=>Z,h:()=>B,GH:()=>st,wj:()=>jt,PM:()=>W,TX:()=>It,Iu:()=>zt});const n={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,patchPseudoShadowDom:!1},o="app";let i,a,s,c,u=0,l=!1,d=!1,f=!1,h=!1,p=null,g=0,m=!1;const y={isDev:!!n.isDev,isBrowser:!0,isServer:!1,isTesting:!!n.isTesting},v=e=>{const t=new URL(e,xt.$resourcesUrl$);return t.origin!==At.location.origin?t.href:t.pathname},w=(e,t="")=>{if(n.profile&&performance.mark){const r=`st:${e}:${t}:${u++}`;return performance.mark(r),()=>performance.measure(`[Stencil] ${e}() <${t}>`,r)}return()=>{}},b=(e,t)=>n.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(t,"measure").length&&performance.measure(t,e)}):()=>{},_="r",E="o",S="s",A="t",T="s-id",C="sty-id",x="c-id",I="http://www.w3.org/1999/xlink",O={},N="http://www.w3.org/2000/svg",P="http://www.w3.org/1999/xhtml",k=e=>null!=e,R=e=>(e=typeof e,"object"===e||"function"===e);function M(e){var t,r,n;return null!==(n=null===(r=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===r?void 0:r.getAttribute("content"))&&void 0!==n?n:void 0}const B=(e,t,...r)=>{let o=null,i=null,a=null,s=!1,c=!1;const u=[],l=t=>{for(let r=0;re[t])).join(" "))}if(n.isDev&&u.some(F)&&vt("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),n.vdomFunctional&&"function"===typeof e)return e(null===t?{}:t,u,$);const d=L(e,null);return d.$attrs$=t,u.length>0&&(d.$children$=u),n.vdomKey&&(d.$key$=i),n.slotRelocation&&(d.$name$=a),d},L=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.vdomAttribute&&(r.$attrs$=null),n.vdomKey&&(r.$key$=null),n.slotRelocation&&(r.$name$=null),r},D={},F=e=>e&&e.$tag$===D,$={forEach:(e,t)=>e.map(U).forEach(t),map:(e,t)=>e.map(U).map(t).map(j)},U=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),j=e=>{if("function"===typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),B(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},z=e=>{const t=Object.keys(e),r=t.indexOf("value");if(-1===r)return;const n=t.indexOf("type"),o=t.indexOf("min"),i=t.indexOf("max"),a=t.indexOf("step");(r should be set after "min", "max", "type" and "step"')},V=(e,t,r,o)=>{const i=w("hydrateClient",t),a=e.shadowRoot,s=[],c=[],u=n.shadowDom&&a?[]:null,l=o.$vnode$=L(t,null);xt.$orgLocNodes$||q(Tt.body,xt.$orgLocNodes$=new Map),e[T]=r,e.removeAttribute(T),H(l,s,c,u,e,e,r),s.map((e=>{const r=e.$hostId$+"."+e.$nodeId$,n=xt.$orgLocNodes$.get(r),o=e.$elm$;n&&Ot&&""===n["s-en"]&&n.parentNode.insertBefore(o,n.nextSibling),a||(o["s-hn"]=t,n&&(o["s-ol"]=n,o["s-ol"]["s-nr"]=o)),xt.$orgLocNodes$.delete(r)})),n.shadowDom&&a&&u.map((e=>{e&&a.appendChild(e)})),i()},H=(e,t,r,o,i,a,s)=>{let c,u,l,d;if(1===a.nodeType){for(c=a.getAttribute(x),c&&(u=c.split("."),u[0]!==s&&"0"!==u[0]||(l={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(l),a.removeAttribute(x),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l,e=l,o&&"0"===l.$depth$&&(o[l.$index$]=l.$elm$))),d=a.childNodes.length-1;d>=0;d--)H(e,t,r,o,i,a.childNodes[d],s);if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)H(e,t,r,o,i,a.shadowRoot.childNodes[d],s)}else if(8===a.nodeType)u=a.nodeValue.split("."),u[1]!==s&&"0"!==u[1]||(c=u[0],l={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},c===A?(l.$elm$=a.nextSibling,l.$elm$&&3===l.$elm$.nodeType&&(l.$text$=l.$elm$.textContent,t.push(l),a.remove(),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l,o&&"0"===l.$depth$&&(o[l.$index$]=l.$elm$))):l.$hostId$===s&&(c===S?(l.$tag$="slot",u[5]?a["s-sn"]=l.$name$=u[5]:a["s-sn"]="",a["s-sr"]=!0,n.shadowDom&&o&&(l.$elm$=Tt.createElement(l.$tag$),l.$name$&&l.$elm$.setAttribute("name",l.$name$),a.parentNode.insertBefore(l.$elm$,a),a.remove(),"0"===l.$depth$&&(o[l.$index$]=l.$elm$)),r.push(l),e.$children$||(e.$children$=[]),e.$children$[l.$index$]=l):c===_&&(n.shadowDom&&o?a.remove():n.slotRelocation&&(i["s-cr"]=a,a["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=L(null,a.textContent);t.$elm$=a,t.$index$="0",e.$children$=[t]}},q=(e,t)=>{if(1===e.nodeType){let r=0;for(;rSt.map((t=>t(e))).find((e=>!!e)),W=e=>St.push(e),Z=e=>ht(e).$modeName$,K=(e,t)=>null==e||R(e)?e:n.propBoolean&&4&t?"false"!==e&&(""===e||!!e):n.propNumber&&2&t?parseFloat(e):n.propString&&1&t?String(e):e,Y=e=>n.lazyLoad?ht(e).$hostElement$:e,X=(e,t,r)=>{const o=Y(e);return{emit:e=>(n.isDev&&!o.isConnected&&wt(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),J(o,t,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:e}))}},J=(e,t,r)=>{const n=xt.ce(t,r);return e.dispatchEvent(n),n},Q=new WeakMap,ee=(e,t,r)=>{let n=Et.get(e);kt&&r?(n=n||new CSSStyleSheet,"string"===typeof n?n=t:n.replaceSync(t)):n=t,Et.set(e,n)},te=(e,t,r)=>{var o;const i=ne(t,r),a=Et.get(i);if(!n.attachStyles)return i;if(e=11===e.nodeType?e:Tt,a)if("string"===typeof a){e=e.head||e;let t,r=Q.get(e);if(r||Q.set(e,r=new Set),!r.has(i)){if(n.hydrateClientSide&&e.host&&(t=e.querySelector(`[${C}="${i}"]`)))t.innerHTML=a;else{t=Tt.createElement("style"),t.innerHTML=a;const r=null!==(o=xt.$nonce$)&&void 0!==o?o:M(Tt);null!=r&&t.setAttribute("nonce",r),(n.hydrateServerSide||n.hotModuleReplacement)&&t.setAttribute(C,i),e.insertBefore(t,e.querySelector("link"))}r&&r.add(i)}}else n.constructableCSS&&!e.adoptedStyleSheets.includes(a)&&(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return i},re=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,o=t.$flags$,i=w("attachStyles",t.$tagName$),a=te(n.shadowDom&&Ot&&r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$modeName$);(n.shadowDom||n.scoped)&&n.cssAnnotations&&10&o&&(r["s-sc"]=a,r.classList.add(a+"-h"),n.scoped&&2&o&&r.classList.add(a+"-s")),i()},ne=(e,t)=>"sc-"+(n.mode&&t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),oe=(e,t,r,o,i,a)=>{if(r!==o){let c=gt(e,t),u=t.toLowerCase();if(n.vdomClass&&"class"===t){const t=e.classList,n=ae(r),i=ae(o);t.remove(...n.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!n.includes(e))))}else if(n.vdomStyle&&"style"===t){if(n.updatable)for(const t in r)o&&null!=o[t]||(!n.hydrateServerSide&&t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)r&&o[t]===r[t]||(!n.hydrateServerSide&&t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if(n.vdomKey&&"key"===t);else if(n.vdomRef&&"ref"===t)o&&o(e);else if(!n.vdomListener||(n.lazyLoad?c:e.__lookupSetter__(t))||"o"!==t[0]||"n"!==t[1]){if(n.vdomPropOrAttr){const l=R(o);if((c||l&&null!==o)&&!i)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?c=!1:null!=r&&e[t]==n||(e[t]=n)}}catch(s){}let d=!1;n.vdomXlink&&u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,d=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(n.vdomXlink&&d?e.removeAttributeNS(I,t):e.removeAttribute(t)):(!c||4&a||i)&&!l&&(o=!0===o?"":o,n.vdomXlink&&d?e.setAttributeNS(I,t,o):e.setAttribute(t,o))}}else t="-"===t[2]?t.slice(3):gt(At,u)?u.slice(2):u[2]+t.slice(3),r&&xt.rel(e,t,r,!1),o&&xt.ael(e,t,o,!1)}},ie=/\s/,ae=e=>e?e.split(ie):[],se=(e,t,r,o)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||O,s=t.$attrs$||O;if(n.updatable)for(o in a)o in s||oe(i,o,a[o],void 0,r,t.$flags$);for(o in s)oe(i,o,a[o],s[o],r,t.$flags$)},ce=(e,t,r,o)=>{const c=t.$children$[r];let u,d,p,g=0;if(n.slotRelocation&&!l&&(f=!0,"slot"===c.$tag$&&(i&&o.classList.add(i+"-s"),c.$flags$|=c.$children$?2:1)),n.isDev&&c.$elm$&&vt(`The JSX ${null!==c.$text$?`"${c.$text$}" text`:`"${c.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),n.vdomText&&null!==c.$text$)u=c.$elm$=Tt.createTextNode(c.$text$);else if(n.slotRelocation&&1&c.$flags$)u=c.$elm$=n.isDebug||n.hydrateServerSide?Se(c):Tt.createTextNode("");else{if(n.svg&&!h&&(h="svg"===c.$tag$),u=c.$elm$=n.svg?Tt.createElementNS(h?N:P,n.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$):Tt.createElement(n.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$),n.svg&&h&&"foreignObject"===c.$tag$&&(h=!1),n.vdomAttribute&&se(null,c,h),(n.shadowDom||n.scoped)&&k(i)&&u["s-si"]!==i&&u.classList.add(u["s-si"]=i),c.$children$)for(g=0;g{xt.$flags$|=1;const r=e.childNodes;for(let n=r.length-1;n>=0;n--){const e=r[n];e["s-hn"]!==s&&e["s-ol"]&&(ge(e).insertBefore(e,pe(e)),e["s-ol"].remove(),e["s-ol"]=void 0,f=!0),t&&ue(e,t)}xt.$flags$&=-2},le=(e,t,r,o,i,a)=>{let c,u=n.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(n.shadowDom&&u.shadowRoot&&u.tagName===s&&(u=u.shadowRoot);i<=a;++i)o[i]&&(c=ce(null,r,i,e),c&&(o[i].$elm$=c,u.insertBefore(c,n.slotRelocation?pe(t):t)))},de=(e,t,r)=>{for(let o=t;o<=r;++o){const t=e[o];if(t){const e=t.$elm$;_e(t),e&&(n.slotRelocation&&(d=!0,e["s-ol"]?e["s-ol"].remove():ue(e,!0)),e.remove())}}},fe=(e,t,r,o)=>{let i,a,s=0,c=0,u=0,l=0,d=t.length-1,f=t[0],h=t[d],p=o.length-1,g=o[0],m=o[p];while(s<=d&&c<=p)if(null==f)f=t[++s];else if(null==h)h=t[--d];else if(null==g)g=o[++c];else if(null==m)m=o[--p];else if(he(f,g))me(f,g),f=t[++s],g=o[++c];else if(he(h,m))me(h,m),h=t[--d],m=o[--p];else if(he(f,m))!n.slotRelocation||"slot"!==f.$tag$&&"slot"!==m.$tag$||ue(f.$elm$.parentNode,!1),me(f,m),e.insertBefore(f.$elm$,h.$elm$.nextSibling),f=t[++s],m=o[--p];else if(he(h,g))!n.slotRelocation||"slot"!==f.$tag$&&"slot"!==m.$tag$||ue(h.$elm$.parentNode,!1),me(h,g),e.insertBefore(h.$elm$,f.$elm$),h=t[--d],g=o[++c];else{if(u=-1,n.vdomKey)for(l=s;l<=d;++l)if(t[l]&&null!==t[l].$key$&&t[l].$key$===g.$key$){u=l;break}n.vdomKey&&u>=0?(a=t[u],a.$tag$!==g.$tag$?i=ce(t&&t[c],r,u,e):(me(a,g),t[u]=void 0,i=a.$elm$),g=o[++c]):(i=ce(t&&t[c],r,c,e),g=o[++c]),i&&(n.slotRelocation?ge(f.$elm$).insertBefore(i,pe(f.$elm$)):f.$elm$.parentNode.insertBefore(i,f.$elm$))}s>d?le(e,null==o[p+1]?null:o[p+1].$elm$,r,o,c,p):n.updatable&&c>p&&de(t,s,d)},he=(e,t)=>e.$tag$===t.$tag$&&(n.slotRelocation&&"slot"===e.$tag$?e.$name$===t.$name$:!n.vdomKey||e.$key$===t.$key$),pe=e=>e&&e["s-ol"]||e,ge=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,me=(e,t)=>{const r=t.$elm$=e.$elm$,o=e.$children$,i=t.$children$,a=t.$tag$,s=t.$text$;let c;n.vdomText&&null!==s?n.vdomText&&n.slotRelocation&&(c=r["s-cr"])?c.parentNode.textContent=s:n.vdomText&&e.$text$!==s&&(r.data=s):(n.svg&&(h="svg"===a||"foreignObject"!==a&&h),(n.vdomAttribute||n.reflect)&&(n.slot&&"slot"===a||se(e,t,h)),n.updatable&&null!==o&&null!==i?fe(r,o,t,i):null!==i?(n.updatable&&n.vdomText&&null!==e.$text$&&(r.textContent=""),le(r,null,t,i,0,i.length-1)):n.updatable&&null!==o&&de(o,0,o.length-1),n.svg&&h&&"svg"===a&&(h=!1))},ye=e=>{const t=e.childNodes;let r,n,o,i,a,s;for(n=0,o=t.length;n{let t,r,n,o,i,a,s=0;const c=e.childNodes,u=c.length;for(;s=0;a--)r=n[a],r["s-cn"]||r["s-nr"]||r["s-hn"]===t["s-hn"]||(be(r,o)?(i=ve.find((e=>e.$nodeToRelocate$===r)),d=!0,r["s-sn"]=r["s-sn"]||o,i?i.$slotRefNode$=t:ve.push({$slotRefNode$:t,$nodeToRelocate$:r}),r["s-sr"]&&ve.map((e=>{be(e.$nodeToRelocate$,r["s-sn"])&&(i=ve.find((e=>e.$nodeToRelocate$===r)),i&&!e.$slotRefNode$&&(e.$slotRefNode$=i.$slotRefNode$))}))):ve.some((e=>e.$nodeToRelocate$===r))||ve.push({$nodeToRelocate$:r}));1===t.nodeType&&we(t)}},be=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,_e=e=>{n.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e))},Ee=(e,t,r=!1)=>{const o=e.$hostElement$,c=e.$cmpMeta$,u=e.$vnode$||L(null,null),h=F(t)?t:B(null,null,t);if(s=o.tagName,n.isDev&&Array.isArray(t)&&t.some(F))throw new Error(`The must be the single root component.\nLooks like the render() function of "${s.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(n.reflect&&c.$attrsToReflect$&&(h.$attrs$=h.$attrs$||{},c.$attrsToReflect$.map((([e,t])=>h.$attrs$[t]=o[e]))),r&&h.$attrs$)for(const n of Object.keys(h.$attrs$))o.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(h.$attrs$[n]=o[n]);if(h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=u.$elm$=n.shadowDom&&o.shadowRoot||o,(n.scoped||n.shadowDom)&&(i=o["s-sc"]),n.slotRelocation&&(a=o["s-cr"],l=Ot&&0!==(1&c.$flags$),d=!1),me(u,h),n.slotRelocation){if(xt.$flags$|=1,f){let e,t,r,o,i,a;we(h.$elm$);let s=0;for(;sTt.createComment(` (host=${s.toLowerCase()})`),Ae=e=>Tt.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`)),Te=(e,t)=>{n.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},Ce=(e,t)=>{if(n.taskQueue&&n.updatable&&(e.$flags$|=16),n.asyncLoading&&4&e.$flags$)return void(e.$flags$|=512);Te(e,e.$ancestorComponent$);const r=()=>xe(e,t);return n.taskQueue?zt(r):r()},xe=(e,t)=>{const r=e.$hostElement$,o=w("scheduleUpdate",e.$cmpMeta$.$tagName$),i=n.lazyLoad?e.$lazyInstance$:r;let a;return t?(n.lazyLoad&&n.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((([e,t])=>Be(i,e,t))),e.$queuedListeners$=void 0)),Le(r,"componentWillLoad"),n.cmpWillLoad&&(a=Be(i,"componentWillLoad"))):(Le(r,"componentWillUpdate"),n.cmpWillUpdate&&(a=Be(i,"componentWillUpdate"))),Le(r,"componentWillRender"),n.cmpWillRender&&(a=Ie(a,(()=>Be(i,"componentWillRender")))),o(),Ie(a,(()=>Ne(e,i,t)))},Ie=(e,t)=>Oe(e)?e.then(t):t(),Oe=e=>e instanceof Promise||e&&e.then&&"function"===typeof e.then,Ne=async(e,t,r)=>{var o;const i=e.$hostElement$,a=w("update",e.$cmpMeta$.$tagName$),s=i["s-rc"];n.style&&r&&re(e);const c=w("render",e.$cmpMeta$.$tagName$);if(n.isDev&&(e.$flags$|=1024),n.hydrateServerSide?await Pe(e,t,i,r):Pe(e,t,i,r),n.isDev&&(e.$renderCount$=void 0===e.$renderCount$?1:e.$renderCount$+1,e.$flags$&=-1025),n.hydrateServerSide)try{Fe(i),r&&(1&e.$cmpMeta$.$flags$?i["s-en"]="":2&e.$cmpMeta$.$flags$&&(i["s-en"]="c"))}catch(u){mt(u,i)}if(n.asyncLoading&&s&&(s.map((e=>e())),i["s-rc"]=void 0),c(),a(),n.asyncLoading){const t=null!==(o=i["s-p"])&&void 0!==o?o:[],r=()=>ke(e);0===t.length?r():(Promise.all(t).then(r),e.$flags$|=4,t.length=0)}else ke(e)},Pe=(e,t,r,o)=>{const i=!!n.allRenderFn,a=!!n.lazyLoad,s=!!n.taskQueue,c=!!n.updatable;try{if(p=t,t=(i||t.render)&&t.render(),c&&s&&(e.$flags$&=-17),(c||a)&&(e.$flags$|=2),n.hasRenderFn||n.reflect)if(n.vdomRender||n.reflect){if(n.hydrateServerSide)return Promise.resolve(t).then((t=>Ee(e,t,o)));Ee(e,t,o)}else r.textContent=t}catch(u){mt(u,e.$hostElement$)}return p=null,null},ke=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,o=w("postUpdate",t),i=n.lazyLoad?e.$lazyInstance$:r,a=e.$ancestorComponent$;n.cmpDidRender&&(n.isDev&&(e.$flags$|=1024),Be(i,"componentDidRender"),n.isDev&&(e.$flags$&=-1025)),Le(r,"componentDidRender"),64&e.$flags$?(n.cmpDidUpdate&&(n.isDev&&(e.$flags$|=1024),Be(i,"componentDidUpdate"),n.isDev&&(e.$flags$&=-1025)),Le(r,"componentDidUpdate"),o()):(e.$flags$|=64,n.asyncLoading&&n.cssAnnotations&&De(r),n.cmpDidLoad&&(n.isDev&&(e.$flags$|=2048),Be(i,"componentDidLoad"),n.isDev&&(e.$flags$&=-2049)),Le(r,"componentDidLoad"),o(),n.asyncLoading&&(e.$onReadyResolve$(r),a||Me(t))),n.hotModuleReplacement&&r["s-hmr-load"]&&r["s-hmr-load"](),n.method&&n.lazyLoad&&e.$onInstanceResolve$(r),n.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ut((()=>Ce(e,!1))),e.$flags$&=-517)},Re=e=>{if(n.updatable&&(y.isBrowser||y.isTesting)){const t=ht(e),r=t.$hostElement$.isConnected;return r&&2===(18&t.$flags$)&&Ce(t,!1),r}return!1},Me=e=>{n.cssAnnotations&&De(Tt.documentElement),n.asyncQueue&&(xt.$flags$|=2),Ut((()=>J(At,"appload",{detail:{namespace:o}}))),n.profile&&performance.measure&&performance.measure(`[Stencil] ${o} initial load (by ${e})`,"st:app:start")},Be=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(n){mt(n)}},Le=(e,t)=>{n.lifecycleDOMEvents&&J(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:o}})},De=e=>n.hydratedClass?e.classList.add("hydrated"):n.hydratedAttribute?e.setAttribute("hydrated",""):void 0,Fe=e=>{const t=e.children;if(null!=t)for(let r=0,n=t.length;rht(e).$instanceValues$.get(t),Ue=(e,t,r,o)=>{const i=ht(e),a=n.lazyLoad?i.$hostElement$:e,s=i.$instanceValues$.get(t),c=i.$flags$,u=n.lazyLoad?i.$lazyInstance$:a;r=K(r,o.$members$[t][0]);const l=Number.isNaN(s)&&Number.isNaN(r),d=r!==s&&!l;if((!n.lazyLoad||!(8&c)||void 0===s)&&d&&(i.$instanceValues$.set(t,r),n.isDev&&(1024&i.$flags$?wt(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",a,"\nNew value",r,"\nOld value",s):2048&i.$flags$&&wt(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",a,"\nNew value",r,"\nOld value",s)),!n.lazyLoad||u)){if(n.watchCallback&&o.$watchers$&&128&c){const e=o.$watchers$[t];e&&e.map((e=>{try{u[e](r,s,t)}catch(n){mt(n,a)}}))}if(n.updatable&&2===(18&c)){if(n.cmpShouldUpdate&&u.componentShouldUpdate&&!1===u.componentShouldUpdate(r,s,t))return;Ce(i,!1)}}},je=(e,t,r)=>{var o;if(n.member&&t.$members$){n.watchCallback&&e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),a=e.prototype;if(i.map((([e,[o]])=>{(n.prop||n.state)&&(31&o||(!n.lazyLoad||2&r)&&32&o)?Object.defineProperty(a,e,{get(){return $e(this,e)},set(i){if(n.isDev){const n=ht(this);0===(1&r)&&0===(8&n.$flags$)&&0!==(31&o)&&0===(1024&o)&&wt(`@Prop() "${e}" on <${t.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}Ue(this,e,i,t)},configurable:!0,enumerable:!0}):n.lazyLoad&&n.method&&1&r&&64&o&&Object.defineProperty(a,e,{value(...t){const r=ht(this);return r.$onInstancePromise$.then((()=>r.$lazyInstance$[e](...t)))}})})),n.observeAttribute&&(!n.lazyLoad||1&r)){const r=new Map;a.attributeChangedCallback=function(e,o,i){xt.jmp((()=>{const s=r.get(e);if(this.hasOwnProperty(s))i=this[s],delete this[s];else{if(a.hasOwnProperty(s)&&"number"===typeof this[s]&&this[s]==i)return;if(null==s){const r=ht(this),a=null===r||void 0===r?void 0:r.$flags$;if(!(8&a)&&128&a&&i!==o){const a=n.lazyLoad?r.$hostElement$:this,s=n.lazyLoad?r.$lazyInstance$:a,c=t.$watchers$[e];null===c||void 0===c||c.forEach((t=>{null!=s[t]&&s[t].call(s,i,o,e)}))}return}}this[s]=(null!==i||"boolean"!==typeof this[s])&&i}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(o=t.$watchers$)&&void 0!==o?o:{}),...i.filter((([e,t])=>15&t[0])).map((([e,o])=>{const i=o[1]||e;return r.set(i,e),n.reflect&&512&o[0]&&t.$attrsToReflect$.push([e,i]),i}))]))}}return e},ze=async(e,t,o,i,a)=>{if(0===(32&t.$flags$)){if(t.$flags$|=32,n.lazyLoad||n.hydrateClientSide){if(a=_t(o,t,i),a.then){const e=b(`st:load:${o.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${o.$tagName$}>`);a=await a,e()}if((n.isDev||n.isDebug)&&!a)throw new Error(`Constructor for "${o.$tagName$}#${t.$modeName$}" was not found`);n.member&&!a.isProxied&&(n.watchCallback&&(o.$watchers$=a.watchers),je(a,o,2),a.isProxied=!0);const e=w("createInstance",o.$tagName$);n.member&&(t.$flags$|=8);try{new a(t)}catch(u){mt(u)}n.member&&(t.$flags$&=-9),n.watchCallback&&(t.$flags$|=128),e(),Ve(t.$lazyInstance$)}else a=e.constructor,customElements.whenDefined(o.$tagName$).then((()=>t.$flags$|=128));if(n.style&&a.style){let i=a.style;n.mode&&"string"!==typeof i&&(i=i[t.$modeName$=G(e)],n.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));const s=ne(o,t.$modeName$);if(!Et.has(s)){const e=w("registerStyles",o.$tagName$);!n.hydrateServerSide&&n.shadowDom&&n.shadowDomShim&&8&o.$flags$&&(i=await r.e(998).then(r.bind(r,20576)).then((e=>e.scopeCss(i,s,!1)))),ee(s,i,!!(1&o.$flags$)),e()}}}const s=t.$ancestorComponent$,c=()=>Ce(t,!0);n.asyncLoading&&s&&s["s-rc"]?s["s-rc"].push(c):c()},Ve=e=>{n.lazyLoad&&n.connectedCallback&&Be(e,"connectedCallback")},He=e=>{if(0===(1&xt.$flags$)){const t=ht(e),r=t.$cmpMeta$,o=w("connectedCallback",r.$tagName$);if(n.hostListenerTargetParent&&ct(e,t,r.$listeners$,!0),1&t.$flags$)ct(e,t,r.$listeners$,!1),(null===t||void 0===t?void 0:t.$lazyInstance$)?Ve(t.$lazyInstance$):(null===t||void 0===t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>Ve(t.$lazyInstance$)));else{let o;if(t.$flags$|=1,n.hydrateClientSide&&(o=e.getAttribute(T),o)){if(n.shadowDom&&Ot&&1&r.$flags$){const t=n.mode?te(e.shadowRoot,r,e.getAttribute("s-mode")):te(e.shadowRoot,r);e.classList.remove(t+"-h",t+"-s")}V(e,r.$tagName$,o,t)}if(n.slotRelocation&&!o&&(n.hydrateServerSide||(n.slot||n.shadowDom)&&12&r.$flags$)&&qe(e),n.asyncLoading){let r=e;while(r=r.parentNode||r.host)if(n.hydrateClientSide&&1===r.nodeType&&r.hasAttribute("s-id")&&r["s-p"]||r["s-p"]){Te(t,t.$ancestorComponent$=r);break}}n.prop&&!n.hydrateServerSide&&r.$members$&&Object.entries(r.$members$).map((([t,[r]])=>{if(31&r&&e.hasOwnProperty(t)){const r=e[t];delete e[t],e[t]=r}})),n.initializeNextTick?Ut((()=>ze(e,t,r))):ze(e,t,r)}o()}},qe=e=>{const t=e["s-cr"]=Tt.createComment(n.isDebug?`content-ref (host=${e.localName})`:"");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Ge=e=>{n.lazyLoad&&n.disconnectedCallback&&Be(e,"disconnectedCallback"),n.cmpDidUnload&&Be(e,"componentDidUnload")},We=async e=>{if(0===(1&xt.$flags$)){const t=ht(e);n.hostListener&&t.$rmListeners$&&(t.$rmListeners$.map((e=>e())),t.$rmListeners$=void 0),n.lazyLoad?(null===t||void 0===t?void 0:t.$lazyInstance$)?Ge(t.$lazyInstance$):(null===t||void 0===t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>Ge(t.$lazyInstance$))):Ge(e)}},Ze=(e,t)=>{Ke(e),Ye(e),Je(e),Xe(e),tt(e),Qe(e),et(e),rt(e,t),nt(e,t)},Ke=e=>{const t=e.cloneNode;e.cloneNode=function(e){const r=this,o=!!n.shadowDom&&(r.shadowRoot&&Ot),i=t.call(r,!!o&&e);if(n.slot&&!o&&e){let e,t,o=0;const a=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;o!r.childNodes[o][e])),e&&(n.appendChildSlotFix&&i.__appendChild?i.__appendChild(e.cloneNode(!0)):i.appendChild(e.cloneNode(!0))),t&&i.appendChild(r.childNodes[o].cloneNode(!0))}return i}},Ye=e=>{e.__appendChild=e.appendChild,e.appendChild=function(e){const t=e["s-sn"]=ot(e),r=it(this.childNodes,t);if(r){const n=at(r,t),o=n[n.length-1];return o.parentNode.insertBefore(e,o.nextSibling)}return this.__appendChild(e)}},Xe=e=>{const t=e.prepend;e.prepend=function(...e){e.forEach((e=>{"string"===typeof e&&(e=this.ownerDocument.createTextNode(e));const r=e["s-sn"]=ot(e),n=it(this.childNodes,r);if(n){const t=document.createTextNode("");t["s-nr"]=e,n["s-cr"].parentNode.__appendChild(t),e["s-ol"]=t;const o=at(n,r),i=o[0];return i.parentNode.insertBefore(e,i.nextSibling)}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.call(this,e)}))}},Je=e=>{e.append=function(...e){e.forEach((e=>{"string"===typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)}))}},Qe=e=>{const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,r);const n=this.ownerDocument.createElement("_");let o;if(n.innerHTML=r,"afterbegin"===e)while(o=n.firstChild)this.prepend(o);else if("beforeend"===e)while(o=n.firstChild)this.append(o)}},et=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},tt=e=>{const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,r);"afterbegin"===e?this.prepend(r):"beforeend"===e&&this.append(r)}},rt=(e,t)=>{if(n.scoped&&2&t.$flags$){const t=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",t),Object.defineProperty(e,"textContent",{get(){var e;const t=it(this.childNodes,"");return 3===(null===(e=null===t||void 0===t?void 0:t.nextSibling)||void 0===e?void 0:e.nodeType)?t.nextSibling.textContent:t?t.textContent:this.__textContent},set(e){var t;const r=it(this.childNodes,"");if(3===(null===(t=null===r||void 0===r?void 0:r.nextSibling)||void 0===t?void 0:t.nodeType))r.nextSibling.textContent=e;else if(r)r.textContent=e;else{this.__textContent=e;const t=this["s-cr"];t&&this.insertBefore(t,this.firstChild)}}})}},nt=(e,t)=>{class r extends Array{item(e){return this[e]}}if(8&t.$flags$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get(){return e.children.length}}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0===(1&xt.$flags$)&&2&ht(this).$flags$){const t=new r;for(let r=0;re["s-sn"]||1===e.nodeType&&e.getAttribute("slot")||"",it=(e,t)=>{let r,n=0;for(;n{const r=[e];while((e=e.nextSibling)&&e["s-sn"]===t)r.push(e);return r},st=(e,t)=>{const r={$flags$:t[0],$tagName$:t[1]};n.member&&(r.$members$=t[2]),n.hostListener&&(r.$listeners$=t[3]),n.watchCallback&&(r.$watchers$=e.$watchers$),n.reflect&&(r.$attrsToReflect$=[]),n.shadowDom&&!Ot&&1&r.$flags$&&(r.$flags$|=8),n.patchPseudoShadowDom&&n.scoped?Ze(e.prototype,r):(n.slotChildNodesFix&&nt(e.prototype,r),n.cloneNodeFix&&Ke(e.prototype),n.appendChildSlotFix&&Ye(e.prototype),n.scopedSlotTextContentFix&&rt(e.prototype,r));const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){pt(this,r)},connectedCallback(){He(this),n.connectedCallback&&o&&o.call(this)},disconnectedCallback(){We(this),n.disconnectedCallback&&i&&i.call(this)},__attachShadow(){Ot?n.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),e.is=r.$tagName$,je(e,r,3)},ct=(e,t,r,o)=>{n.hostListener&&r&&(n.hostListenerTargetParent&&(r=o?r.filter((([e])=>32&e)):r.filter((([e])=>!(32&e)))),r.map((([r,o,i])=>{const a=n.hostListenerTarget?lt(e,r):e,s=ut(t,i),c=dt(r);xt.ael(a,o,s,c),(t.$rmListeners$=t.$rmListeners$||[]).push((()=>xt.rel(a,o,s,c)))})))},ut=(e,t)=>r=>{try{n.lazyLoad?256&e.$flags$?e.$lazyInstance$[t](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r]):e.$hostElement$[t](r)}catch(o){mt(o)}},lt=(e,t)=>n.hostListenerTargetDocument&&4&t?Tt:n.hostListenerTargetWindow&&8&t?At:n.hostListenerTargetBody&&16&t?Tt.body:n.hostListenerTargetParent&&32&t?e.parentElement:e,dt=e=>Nt?{passive:0!==(1&e),capture:0!==(2&e)}:0!==(2&e),ft=new WeakMap,ht=e=>ft.get(e),pt=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.isDev&&(r.$renderCount$=0),n.method&&n.lazyLoad&&(r.$onInstancePromise$=new Promise((e=>r.$onInstanceResolve$=e))),n.asyncLoading&&(r.$onReadyPromise$=new Promise((e=>r.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[]),ct(e,r,t.$listeners$,!1),ft.set(e,r)},gt=(e,t)=>t in e,mt=(e,t)=>(c||console.error)(e,t),yt=n.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],vt=(...e)=>console.error(...yt,...e),wt=(...e)=>console.warn(...yt,...e),bt=new Map,_t=(e,t,o)=>{const i=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$;if(n.isDev&&"string"!==typeof a)return void vt(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);const s=!n.hotModuleReplacement&&bt.get(a);return s?s[i]:r(41993)(`./${a}.entry.js${n.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((e=>(n.hotModuleReplacement||bt.set(a,e),e[i])),mt) -/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Et=new Map,St=[],At="undefined"!==typeof window?window:{},Tt=At.document||{head:{}},Ct=At.HTMLElement||class{},xt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,n)=>e.addEventListener(t,r,n),rel:(e,t,r,n)=>e.removeEventListener(t,r,n),ce:(e,t)=>new CustomEvent(e,t)},It=e=>{Object.assign(xt,e)},Ot=!n.shadowDomShim||!n.shadowDom||(()=>(Tt.head.attachShadow+"").indexOf("[native")>-1)(),Nt=(()=>{let e=!1;try{Tt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),Pt=e=>Promise.resolve(e),kt=!!n.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Rt=[],Mt=[],Bt=[],Lt=(e,t)=>r=>{e.push(r),m||(m=!0,t&&4&xt.$flags$?Ut($t):xt.raf($t))},Dt=e=>{for(let r=0;r{let r=0,n=0;while(r{if(n.asyncQueue&&g++,Dt(Rt),n.asyncQueue){const e=2===(6&xt.$flags$)?performance.now()+14*Math.ceil(.1*g):1/0;Ft(Mt,e),Ft(Bt,e),Mt.length>0&&(Bt.push(...Mt),Mt.length=0),(m=Rt.length+Mt.length+Bt.length>0)?xt.raf($t):g=0}else Dt(Mt),(m=Rt.length>0)&&xt.raf($t)},Ut=e=>Pt().then(e),jt=Lt(Rt,!1),zt=Lt(Mt,!0)},20576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{scopeCss:()=>K}); -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * - * This file is a port of shadowCSS from `webcomponents.js` to TypeScript. - * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js - * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts - */ -const n=e=>{const t=[];let r=0;e=e.replace(/(\[[^\]]*\])/g,((e,n)=>{const o=`__ph-${r}__`;return t.push(n),r++,o}));const n=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,n,o)=>{const i=`__ph-${r}__`;return t.push(o),r++,n+i})),o={content:n,placeholders:t};return o},o=(e,t)=>t.replace(/__ph-(\d+)__/g,((t,r)=>e[+r])),i="-shadowcsshost",a="-shadowcssslotted",s="-shadowcsscontext",c=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",u=new RegExp("("+i+c,"gim"),l=new RegExp("("+s+c,"gim"),d=new RegExp("("+a+c,"gim"),f=i+"-no-combinator",h=/-shadowcsshost-no-combinator([^\s]*)/,p=[/::shadow/g,/::content/g],g="([>\\s~+[.,{:][\\s\\S]*)?$",m=/-shadowcsshost/gim,y=e=>new RegExp(`((?e.replace(_,""),S=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,A=e=>e.match(S)||[],T=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,C=/([{}])/g,x=/(^.*?[^\\])??((:+)(.*)|$)/,I="{",O="}",N="%BLOCK%",P=(e,t)=>{const r=k(e);let n=0;return r.escapedString.replace(T,((...e)=>{const o=e[2];let i="",a=e[4],s="";a&&a.startsWith("{"+N)&&(i=r.blocks[n++],a=a.substring(N.length+1),s="{");const c={selector:o,content:i},u=t(c);return`${e[1]}${u.selector}${e[3]}${s}${u.content}${a}`}))},k=e=>{const t=e.split(C),r=[],n=[];let o=0,i=[];for(let s=0;s0?i.push(e):(i.length>0&&(n.push(i.join("")),r.push(N),i=[]),r.push(e)),e===I&&o++}i.length>0&&(n.push(i.join("")),r.push(N));const a={escapedString:r.join(""),blocks:n};return a},R=e=>(e=e.replace(b,`$1${s}`).replace(w,`$1${i}`).replace(v,`$1${a}`),e),M=(e,t,r)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),n=[];for(let o=0;oe+t.replace(i,"")+r,L=e=>M(e,u,B),D=(e,t,r)=>t.indexOf(i)>-1?B(e,t,r):e+t+r+", "+t+" "+e+r,F=(e,t)=>{const r="."+t+" > ",n=[];return e=e.replace(d,((...e)=>{if(e[2]){const t=e[2].trim(),o=e[3],i=r+t+o;let a="";for(let r=e[4]-1;r>=0;r--){const t=e[5][r];if("}"===t||","===t)break;a=t+a}const s=a+i,c=`${a.trimRight()}${i.trim()}`;if(s.trim()!==c.trim()){const e=`${c}, ${s}`;n.push({orgSelector:s,updatedSelector:e})}return i}return f+e[3]})),{selectors:n,cssText:e}},$=e=>M(e,l,D),U=e=>p.reduce(((e,t)=>e.replace(t," ")),e),j=e=>{const t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+g,"m")},z=(e,t)=>{const r=j(t);return!r.test(e)},V=(e,t)=>e.replace(x,((e,r="",n,o="",i="")=>r+t+o+i)),H=(e,t,r)=>{if(m.lastIndex=0,m.test(e)){const t=`.${r}`;return e.replace(h,((e,r)=>V(r,t))).replace(m,t+" ")}return t+" "+e},q=(e,t,r)=>{const i=/\[is=([^\]]*)\]/g;t=t.replace(i,((e,...t)=>t[0]));const a="."+t,s=e=>{let n=e.trim();if(!n)return"";if(e.indexOf(f)>-1)n=H(e,t,r);else{const t=e.replace(m,"");t.length>0&&(n=V(t,a))}return n},c=n(e);e=c.content;let u,l="",d=0;const h=/( |>|\+|~(?!=))\s*/g,p=e.indexOf(f)>-1;let g=!p;while(null!==(u=h.exec(e))){const t=u[1],r=e.slice(d,u.index).trim();g=g||r.indexOf(f)>-1;const n=g?s(r):r;l+=`${n} ${t} `,d=h.lastIndex}const y=e.substring(d);return g=g||y.indexOf(f)>-1,l+=g?s(y):y,o(c.placeholders,l)},G=(e,t,r,n)=>e.split(",").map((e=>n&&e.indexOf("."+n)>-1?e.trim():z(e,t)?q(e,t,r).trim():e.trim())).join(", "),W=(e,t,r,n,o)=>P(e,(e=>{let o=e.selector,i=e.content;"@"!==e.selector[0]?o=G(e.selector,t,r,n):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=W(e.content,t,r,n));const a={selector:o.replace(/\s{2,}/g," ").trim(),content:i};return a})),Z=(e,t,r,n,o)=>{e=R(e),e=L(e),e=$(e);const i=F(e,n);return e=i.cssText,e=U(e),t&&(e=W(e,t,r,n)),e=e.replace(/-shadowcsshost-no-combinator/g,`.${r}`),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors}},K=(e,t,r)=>{const n=t+"-h",o=t+"-s",i=A(e);e=E(e);const a=[];if(r){const t=e=>{const t=`/*!@___${a.length}___*/`,r=`/*!@${e.selector}*/`;return a.push({placeholder:t,comment:r}),e.selector=t+e.selector,e};e=P(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=P(e.content,t),e):e))}const s=Z(e,t,n,o);return e=[s.cssText,...i].join("\n"),r&&a.forEach((({placeholder:t,comment:r})=>{e=e.replace(t,r)})),s.slottedSelectors.forEach((t=>{e=e.replace(t.orgSelector,t.updatedSelector)})),e}},16391:(e,t,r)=>{"use strict"; -/** - * vee-validate v4.8.6 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function n(e){return"function"===typeof e}r.d(t,{NC:()=>u});const o=e=>null!==e&&!!e&&"object"===typeof e&&!Array.isArray(e);function i(e,t){return Object.keys(t).forEach((r=>{if(o(t[r]))return e[r]||(e[r]={}),void i(e[r],t[r]);e[r]=t[r]})),e}function a(e,t){return e.replace(/(\d:)?{([^}]+)}/g,(function(e,r,n){if(!r||!t.params)return n in t?t[n]:t.params&&n in t.params?t.params[n]:`{${n}}`;if(!Array.isArray(t.params))return n in t.params?t.params[n]:`{${n}}`;const o=Number(r.replace(":",""));return o in t.params?t.params[o]:`${r}{${n}}`}))}class s{constructor(e,t){this.container={},this.locale=e,this.merge(t)}resolve(e){return this.format(this.locale,e)}getLocaleDefault(e,t){var r,n,o,i,a;return(null===(o=null===(n=null===(r=this.container[e])||void 0===r?void 0:r.fields)||void 0===n?void 0:n[t])||void 0===o?void 0:o._default)||(null===(a=null===(i=this.container[e])||void 0===i?void 0:i.messages)||void 0===a?void 0:a._default)}format(e,t){var r,o,i,s,c,u,l;let d;const{rule:f,form:h,label:p,name:g}=t,m=p||(null===(o=null===(r=this.container[e])||void 0===r?void 0:r.names)||void 0===o?void 0:o[g])||g;return f?(d=(null===(c=null===(s=null===(i=this.container[e])||void 0===i?void 0:i.fields)||void 0===s?void 0:s[g])||void 0===c?void 0:c[f.name])||(null===(l=null===(u=this.container[e])||void 0===u?void 0:u.messages)||void 0===l?void 0:l[f.name]),d||(d=this.getLocaleDefault(e,g)||`${m} is not valid`),n(d)?d(t):a(d,Object.assign(Object.assign({},h),{field:m,params:f.params}))):(d=this.getLocaleDefault(e,g)||`${m} is not valid`,n(d)?d(t):a(d,Object.assign(Object.assign({},h),{field:m})))}merge(e){i(this.container,e)}}let c;function u(e,t){c||(c=new s("en",{}));const r=e=>c.resolve(e);return"string"===typeof e?(c.locale=e,t&&c.merge({[e]:t}),r):(c.merge(e),r)}},32387:(e,t,r)=>{"use strict";r.d(t,{C1:()=>s});var n=r(66252),o=r(2262);function i(e){return null===e||void 0===e}function a(e){return Array.isArray(e)&&0===e.length}const s=e=>!i(e)&&!a(e)&&!1!==e&&!!String(e).trim().length; -/** - * vee-validate v4.8.6 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function c(e){return"function"===typeof e}function u(e){return null===e||void 0===e}const l=e=>null!==e&&!!e&&"object"===typeof e&&!Array.isArray(e);function d(e){return Number(e)>=0}function f(e){const t=parseFloat(e);return isNaN(t)?e:t}const h={};function p(e){return h[e]}const g=Symbol("vee-validate-form"),m=Symbol("vee-validate-field-instance"),y=Symbol("Default empty value"),v="undefined"!==typeof window;function w(e){return c(e)&&!!e.__locatorRef}function b(e){return!!e&&c(e.parse)&&"VVTypedSchema"===e.__type}function _(e){return!!e&&c(e.validate)}function E(e){return"checkbox"===e||"radio"===e}function S(e){return l(e)||Array.isArray(e)}function A(e){return Array.isArray(e)?0===e.length:l(e)&&0===Object.keys(e).length}function T(e){return/^\[.+\]$/i.test(e)}function C(e){return x(e)&&e.multiple}function x(e){return"SELECT"===e.tagName}function I(e,t){const r=![!1,null,void 0,0].includes(t.multiple)&&!Number.isNaN(t.multiple);return"select"===e&&"multiple"in t&&r}function O(e,t){return!I(e,t)&&"file"!==t.type&&!E(t.type)}function N(e){return P(e)&&e.target&&"submit"in e.target}function P(e){return!!e&&(!!("undefined"!==typeof Event&&c(Event)&&e instanceof Event)||!(!e||!e.srcElement))}function k(e,t){return t in e&&e[t]!==y}function R(e,t){if(e===t)return!0;if(e&&t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!==n--;)if(!R(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!R(n[1],t.get(n[0])))return!1;return!0}if(M(e)&&M(t))return e.size===t.size&&(e.name===t.name&&(e.lastModified===t.lastModified&&e.type===t.type));if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;0!==n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){var i=o[n];if(!R(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function M(e){return!!v&&e instanceof File}function B(e,t,r){"object"===typeof r.value&&(r.value=L(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==t?e[t]=r.value:Object.defineProperty(e,t,r)}function L(e){if("object"!==typeof e)return e;var t,r,n,o=0,i=Object.prototype.toString.call(e);if("[object Object]"===i?n=Object.create(e.__proto__||null):"[object Array]"===i?n=Array(e.length):"[object Set]"===i?(n=new Set,e.forEach((function(e){n.add(L(e))}))):"[object Map]"===i?(n=new Map,e.forEach((function(e,t){n.set(L(t),L(e))}))):"[object Date]"===i?n=new Date(+e):"[object RegExp]"===i?n=new RegExp(e.source,e.flags):"[object DataView]"===i?n=new e.constructor(L(e.buffer)):"[object ArrayBuffer]"===i?n=e.slice(0):"Array]"===i.slice(-6)&&(n=new e.constructor(e)),n){for(r=Object.getOwnPropertySymbols(e);oS(e)&&t in e?e[t]:r),e);return n}function $(e,t,r){if(T(t))return void(e[D(t)]=r);const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let i=0;iF(e,r.slice(0,n).join("."))));for(let i=o.length-1;i>=0;i--)A(o[i])&&(0!==i?U(o[i-1],r[i-1]):U(e,r[0]))}function z(e){return Object.keys(e)}function V(e,t=void 0){const r=(0,n.FN)();return(null===r||void 0===r?void 0:r.provides[e])||(0,n.f3)(e,t)}function H(e){(0,n.ZK)(`[vee-validate]: ${e}`)}function q(e,t,r){if(Array.isArray(e)){const r=[...e],n=r.findIndex((e=>R(e,t)));return n>=0?r.splice(n,1):r.push(t),r}return R(e,t)?r:t}function G(e,t){let r,n;return function(...o){const i=this;return r||(r=!0,setTimeout((()=>r=!1),t),n=e.apply(i,o)),n}}function W(e,t=0){let r=null,n=[];return function(...o){return r&&window.clearTimeout(r),r=window.setTimeout((()=>{const t=e(...o);n.forEach((e=>e(t))),n=[]}),t),new Promise((e=>n.push(e)))}}function Z(e,t){return l(t)&&t.number?f(e):e}function K(e,t){let r;return async function(...n){const o=e(...n);r=o;const i=await o;return o!==r||(r=void 0,t(i,n)),i}}function Y({get:e,set:t}){const r=(0,o.iH)(L(e()));return(0,n.YP)(e,(e=>{R(e,r.value)||(r.value=L(e))}),{deep:!0}),(0,n.YP)(r,(r=>{R(r,e())||t(L(r))}),{deep:!0}),r}function X(e){return c(e)?e():(0,o.SU)(e)}function J(e){return(0,n.Fl)((()=>X(e)))}const Q=(e,t,r)=>t.slots.default?"string"!==typeof e&&e?{default:()=>{var e,n;return null===(n=(e=t.slots).default)||void 0===n?void 0:n.call(e,r())}}:t.slots.default(r()):t.slots.default;function ee(e){if(te(e))return e._value}function te(e){return"_value"in e}function re(e){if(!P(e))return e;const t=e.target;if(E(t.type)&&te(t))return ee(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(C(t))return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(ee);if(x(t)){const e=Array.from(t.options).find((e=>e.selected));return e?ee(e):t.value}return t.value}function ne(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?l(e)&&e._$$isNormalized?e:l(e)?Object.keys(e).reduce(((t,r)=>{const n=oe(e[r]);return!1!==e[r]&&(t[r]=ie(n)),t}),t):"string"!==typeof e?t:e.split("|").reduce(((e,t)=>{const r=ae(t);return r.name?(e[r.name]=ie(r.params),e):e}),t):t}function oe(e){return!0===e?[]:Array.isArray(e)||l(e)?e:[e]}function ie(e){const t=e=>"string"===typeof e&&"@"===e[0]?se(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n]),r)),{})}const ae=e=>{let t=[];const r=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:r,params:t}};function se(e){const t=t=>{const r=F(t,e)||t[e];return r};return t.__locatorRef=e,t}function ce(e){return Array.isArray(e)?e.filter(w):z(e).filter((t=>w(e[t]))).map((t=>e[t]))}const ue={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let le=Object.assign({},ue);const de=()=>le;async function fe(e,t,r={}){const n=null===r||void 0===r?void 0:r.bails,o={name:(null===r||void 0===r?void 0:r.name)||"{field}",rules:t,label:null===r||void 0===r?void 0:r.label,bails:null===n||void 0===n||n,formData:(null===r||void 0===r?void 0:r.values)||{}},i=await he(o,e),a=i.errors;return{errors:a,valid:!a.length}}async function he(e,t){if(b(e.rules)||_(e.rules))return me(t,e.rules);if(c(e.rules)||Array.isArray(e.rules)){const r={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},n=Array.isArray(e.rules)?e.rules:[e.rules],o=n.length,i=[];for(let a=0;a{const r=t.path||"";return e[r]||(e[r]={errors:[],path:r}),e[r].errors.push(...t.errors),e}),{});return{errors:Object.values(e)}}}};return t}async function me(e,t){const r=b(t)?t:ge(t),n=await r.parse(e),o=[];for(const i of n.errors)i.errors.length&&o.push(...i.errors);return{errors:o}}async function ye(e,t,r){const n=p(r.name);if(!n)throw new Error(`No such validator '${r.name}' exists.`);const o=we(r.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},r),{params:o})},a=await n(t,o,i);return"string"===typeof a?{error:a}:{error:a?void 0:ve(i)}}function ve(e){const t=de().generateMessage;return t?t(e):"Field is invalid"}function we(e,t){const r=e=>w(e)?e(t):e;return Array.isArray(e)?e.map(r):Object.keys(e).reduce(((t,n)=>(t[n]=r(e[n]),t)),{})}async function be(e,t){const r=b(e)?e:ge(e),n=await r.parse(t),o={},i={};for(const a of n.errors){const e=a.errors,t=(a.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[t]={valid:!e.length,errors:e},e.length&&(i[t]=e[0])}return{valid:!n.errors.length,results:o,errors:i,values:n.value}}async function _e(e,t,r){const n=z(e),o=n.map((async n=>{var o,i,a;const s=null===(o=null===r||void 0===r?void 0:r.names)||void 0===o?void 0:o[n],c=await fe(F(t,n),e[n],{name:(null===s||void 0===s?void 0:s.name)||n,label:null===s||void 0===s?void 0:s.label,values:t,bails:null===(a=null===(i=null===r||void 0===r?void 0:r.bailsMap)||void 0===i?void 0:i[n])||void 0===a||a});return Object.assign(Object.assign({},c),{path:n})}));let i=!0;const a=await Promise.all(o),s={},c={};for(const u of a)s[u.path]={valid:u.valid,errors:u.errors},u.valid||(i=!1,c[u.path]=u.errors[0]);return{valid:i,results:s,errors:c}}let Ee=0;function Se(e,t){const{value:r,initialValue:n,setInitialValue:o}=Ae(e,t.modelValue,t.form),{errorMessage:i,errors:a,setErrors:s}=xe(e,t.form),c=Ce(r,n,a),u=Ee>=Number.MAX_SAFE_INTEGER?0:++Ee;function l(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(c.touched=null!==(t=e.touched)&&void 0!==t?t:c.touched),"initialValue"in e&&o(e.initialValue)}return{id:u,path:e,value:r,initialValue:n,meta:c,errors:a,errorMessage:i,setState:l}}function Ae(e,t,r){const i=(0,o.iH)((0,o.SU)(t));function a(){return r?F(r.meta.value.initialValues,(0,o.SU)(e),(0,o.SU)(i)):(0,o.SU)(i)}function s(t){r?r.stageInitialValue((0,o.SU)(e),t,!0):i.value=t}const c=(0,n.Fl)(a);if(!r){const e=(0,o.iH)(a());return{value:e,initialValue:c,setInitialValue:s}}const u=Te(t,r,c,e);r.stageInitialValue((0,o.SU)(e),u,!0);const l=(0,n.Fl)({get(){return F(r.values,(0,o.SU)(e))},set(t){r.setFieldValue((0,o.SU)(e),t)}});return{value:l,initialValue:c,setInitialValue:s}}function Te(e,t,r,n){return(0,o.dq)(e)?(0,o.SU)(e):void 0!==e?e:F(t.values,(0,o.SU)(n),(0,o.SU)(r))}function Ce(e,t,r){const i=(0,o.qj)({touched:!1,pending:!1,valid:!0,validated:!!(0,o.SU)(r).length,initialValue:(0,n.Fl)((()=>(0,o.SU)(t))),dirty:(0,n.Fl)((()=>!R((0,o.SU)(e),(0,o.SU)(t))))});return(0,n.YP)(r,(e=>{i.valid=!e.length}),{immediate:!0,flush:"sync"}),i}function xe(e,t){function r(e){return e?Array.isArray(e)?e:[e]:[]}if(!t){const e=(0,o.iH)([]);return{errors:e,errorMessage:(0,n.Fl)((()=>e.value[0])),setErrors:t=>{e.value=r(t)}}}const i=(0,n.Fl)((()=>t.errorBag.value[(0,o.SU)(e)]||[]));return{errors:i,errorMessage:(0,n.Fl)((()=>i.value[0])),setErrors:n=>{t.setFieldErrorBag((0,o.SU)(e),r(n))}}}let Ie;G((()=>{setTimeout((async()=>{await(0,n.Y3)(),null===Ie||void 0===Ie||Ie.sendInspectorState(Oe),null===Ie||void 0===Ie||Ie.sendInspectorTree(Oe)}),100)}),100);const Oe="vee-validate-inspector";function Ne(e,t,r){return E(null===r||void 0===r?void 0:r.type)?Me(e,t,r):Pe(e,t,r)}function Pe(e,t,r){const{initialValue:i,validateOnMount:a,bails:s,type:u,checkedValue:l,label:d,validateOnValueUpdate:f,uncheckedValue:h,controlled:p,keepValueOnUnmount:y,modelPropName:v,syncVModel:w,form:E}=ke(r),S=p?V(g):void 0,A=E||S,T=J(e);let C=!1;const{id:x,value:I,initialValue:O,meta:N,setState:P,errors:k,errorMessage:M}=Se(T,{modelValue:i,form:A});w&&Be({value:I,prop:v,handleChange:H});const B=()=>{N.touched=!0},D=(0,n.Fl)((()=>{let e=(0,o.SU)(t);const r=(0,o.SU)(null===A||void 0===A?void 0:A.schema);return!r||_(r)||b(r)||(e=Re(r,(0,o.SU)(T))||e),_(e)||b(e)||c(e)||Array.isArray(e)?e:ne(e)}));async function $(e){var t,r;return(null===A||void 0===A?void 0:A.validateSchema)?null!==(t=(await A.validateSchema(e)).results[(0,o.SU)(T)])&&void 0!==t?t:{valid:!0,errors:[]}:fe(I.value,D.value,{name:(0,o.SU)(T),label:(0,o.SU)(d),values:null!==(r=null===A||void 0===A?void 0:A.values)&&void 0!==r?r:{},bails:s})}const U=K((async()=>(N.pending=!0,N.validated=!0,$("validated-only"))),(e=>(C&&(e.valid=!0,e.errors=[]),P({errors:e.errors}),N.pending=!1,e))),j=K((async()=>$("silent")),(e=>(C&&(e.valid=!0),N.valid=e.valid,e)));function z(e){return"silent"===(null===e||void 0===e?void 0:e.mode)?j():U()}function H(e,t=!0){const r=re(e);I.value=r,!f&&t&&U()}function q(e){N.touched=e}let G;(0,n.bv)((()=>{if(a)return U();A&&A.validateSchema||j()}));let W=L(I.value);function Z(){G=(0,n.YP)(I,((e,t)=>{if(R(e,t)&&R(e,W))return;const r=f?U:j;r(),W=L(e)}),{deep:!0})}function Y(e){var t;null===G||void 0===G||G();const r=e&&"value"in e?e.value:O.value;P({value:L(r),initialValue:L(r),touched:null!==(t=null===e||void 0===e?void 0:e.touched)&&void 0!==t&&t,errors:(null===e||void 0===e?void 0:e.errors)||[]}),N.pending=!1,N.validated=!1,j(),(0,n.Y3)((()=>{Z()}))}function X(e){I.value=e}function Q(e){P({errors:Array.isArray(e)?e:[e]})}Z();const ee={id:x,name:T,label:d,value:I,meta:N,errors:k,errorMessage:M,type:u,checkedValue:l,uncheckedValue:h,bails:s,keepValueOnUnmount:y,resetField:Y,handleReset:()=>Y(),validate:z,handleChange:H,handleBlur:B,setState:P,setTouched:q,setErrors:Q,setValue:X};if((0,n.JJ)(m,ee),(0,o.dq)(t)&&"function"!==typeof(0,o.SU)(t)&&(0,n.YP)(t,((e,t)=>{R(e,t)||(N.validated?U():j())}),{deep:!0}),!A)return ee;A.register(ee),(0,n.Jd)((()=>{C=!0,A.unregister(ee)}));const te=(0,n.Fl)((()=>{const e=D.value;return!e||c(e)||_(e)||b(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,r)=>{const n=ce(e[r]).map((e=>e.__locatorRef)).reduce(((e,t)=>{const r=F(A.values,t)||A.values[t];return void 0!==r&&(e[t]=r),e}),{});return Object.assign(t,n),t}),{})}));return(0,n.YP)(te,((e,t)=>{if(!Object.keys(e).length)return;const r=!R(e,t);r&&(N.validated?U():j())})),ee}function ke(e){var t;const r=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,modelPropName:"modelValue",syncVModel:!0,controlled:!0}),o=null===(t=null===e||void 0===e?void 0:e.syncVModel)||void 0===t||t,i=o&&!("initialValue"in(e||{}))?Le((0,n.FN)(),(null===e||void 0===e?void 0:e.modelPropName)||"modelValue"):null===e||void 0===e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},r()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,s="standalone"in e?!e.standalone:e.controlled;return Object.assign(Object.assign(Object.assign({},r()),e||{}),{initialValue:i,controlled:null===s||void 0===s||s,checkedValue:a})}function Re(e,t){if(e)return e[t]}function Me(e,t,r){const i=(null===r||void 0===r?void 0:r.standalone)?void 0:V(g),a=null===r||void 0===r?void 0:r.checkedValue,s=null===r||void 0===r?void 0:r.uncheckedValue;function c(e){const t=e.handleChange,r=(0,n.Fl)((()=>{const t=(0,o.SU)(e.value),r=(0,o.SU)(a);return Array.isArray(t)?t.findIndex((e=>R(e,r)))>=0:R(r,t)}));function c(n,c=!0){var u;if(r.value===(null===(u=null===n||void 0===n?void 0:n.target)||void 0===u?void 0:u.checked))return void(c&&e.validate());let l=re(n);i||(l=q((0,o.SU)(e.value),(0,o.SU)(a),(0,o.SU)(s))),t(l,c)}return Object.assign(Object.assign({},e),{checked:r,checkedValue:a,uncheckedValue:s,handleChange:c})}return c(Pe(e,t,r))}function Be({prop:e,value:t,handleChange:r}){const o=(0,n.FN)();if(!o)return void 0;const i=e||"modelValue",a=`update:${i}`;i in o.props&&((0,n.YP)(t,(e=>{R(e,Le(o,i))||o.emit(a,e)})),(0,n.YP)((()=>Le(o,i)),(e=>{if(e===y&&void 0===t.value)return;const n=e===y?void 0:e;R(n,Z(t.value,o.props.modelModifiers))||r(n)})))}function Le(e,t){if(e)return e.props[t]}function De(e,t){let r=e.as||"";return e.as||t.slots.default||(r="input"),r}function Fe(e){var t,r,n,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:s,validateOnModelUpdate:c}=de();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(r=e.validateOnChange)&&void 0!==r?r:a,validateOnBlur:null!==(n=e.validateOnBlur)&&void 0!==n?n:s,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:c}}function $e(e,t){return E(t.attrs.type)?k(e,"modelValue")?e.modelValue:void 0:k(e,"modelValue")?e.modelValue:t.attrs.value}(0,n.aZ)({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>de().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:y},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const r=(0,o.Vh)(e,"rules"),i=(0,o.Vh)(e,"name"),a=(0,o.Vh)(e,"label"),s=(0,o.Vh)(e,"uncheckedValue"),c=(0,o.Vh)(e,"keepValue"),{errors:u,value:l,errorMessage:d,validate:f,handleChange:h,handleBlur:p,setTouched:g,resetField:m,handleReset:y,meta:v,checked:w,setErrors:b}=Ne(i,r,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:$e(e,t),checkedValue:t.attrs.value,uncheckedValue:s,label:a,validateOnValueUpdate:!1,keepValueOnUnmount:c}),_=function(e,r=!0){h(e,r),t.emit("update:modelValue",l.value)},S=e=>{E(t.attrs.type)||(l.value=re(e))},A=function(e){S(e),t.emit("update:modelValue",l.value)},T=(0,n.Fl)((()=>{const{validateOnInput:r,validateOnChange:n,validateOnBlur:o,validateOnModelUpdate:i}=Fe(e),a=[p,t.attrs.onBlur,o?f:void 0].filter(Boolean),s=[e=>_(e,r),t.attrs.onInput].filter(Boolean),c=[e=>_(e,n),t.attrs.onChange].filter(Boolean),u={name:e.name,onBlur:a,onInput:s,onChange:c,"onUpdate:modelValue":e=>_(e,i)};E(t.attrs.type)&&w&&(u.checked=w.value);const d=De(e,t);return O(d,t.attrs)&&(u.value=l.value),u}));function C(){return{field:T.value,value:l.value,meta:v,errors:u.value,errorMessage:d.value,validate:f,resetField:m,handleChange:_,handleInput:A,handleReset:y,handleBlur:p,setTouched:g,setErrors:b}}return t.expose({setErrors:b,setTouched:g,reset:m,validate:f,handleChange:h}),()=>{const r=(0,n.LL)(De(e,t)),o=Q(r,t,C);return r?(0,n.h)(r,Object.assign(Object.assign({},t.attrs),T.value),o):o}}});let Ue=0;function je(e){const t=(0,o.SU)(null===e||void 0===e?void 0:e.initialValues)||{},r=(0,o.SU)(null===e||void 0===e?void 0:e.validationSchema);return r&&b(r)&&c(r.cast)?L(r.cast(t)||{}):L(t)}function ze(e){var t;const r=Ue++,i=new Set;let a=!1;const s=(0,o.iH)({}),c=(0,o.iH)(!1),u=(0,o.iH)(0),l=[],d=(0,o.qj)(je(e)),{errorBag:f,setErrorBag:h,setFieldErrorBag:p}=qe(null===e||void 0===e?void 0:e.initialErrors),m=(0,n.Fl)((()=>z(f.value).reduce(((e,t)=>{const r=f.value[t];return r&&r.length&&(e[t]=r[0]),e}),{})));function y(e){const t=s.value[e];return Array.isArray(t)?t[0]:t}function v(e){return!!s.value[e]}const w=(0,n.Fl)((()=>z(s.value).reduce(((e,t)=>{const r=y(t);return r&&(e[t]={name:(0,o.SU)(r.name)||"",label:(0,o.SU)(r.label)||""}),e}),{}))),E=(0,n.Fl)((()=>z(s.value).reduce(((e,t)=>{var r;const n=y(t);return n&&(e[t]=null===(r=n.bails)||void 0===r||r),e}),{}))),S=Object.assign({},(null===e||void 0===e?void 0:e.initialErrors)||{}),T=null!==(t=null===e||void 0===e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:C,originalInitialValues:x,setInitialValues:I}=He(s,d,e),O=Ve(s,d,x,m),P=(0,n.Fl)((()=>[...i,...z(s.value)].reduce(((e,t)=>{const r=F(d,t);return $(e,t,r),e}),{}))),k=null===e||void 0===e?void 0:e.validationSchema,M=W(ye,5),B=W(ye,5),D=K((async e=>"silent"===await e?M():B()),((e,[t])=>{const r=G.fieldsByPath.value||{},n=z(G.errorBag.value),o=[...new Set([...z(e.results),...z(r),...n])];return o.reduce(((n,o)=>{const i=r[o],a=(e.results[o]||{errors:[]}).errors,s={errors:a,valid:!a.length};if(n.results[o]=s,s.valid||(n.errors[o]=s.errors[0]),!i)return J(o,a),n;if(Y(i,(e=>e.meta.valid=s.valid)),"silent"===t)return n;const c=Array.isArray(i)?i.some((e=>e.meta.validated)):i.meta.validated;return"validated-only"!==t||c?(Y(i,(e=>e.setState({errors:s.errors}))),n):n}),{valid:e.valid,results:{},errors:{}})}));function U(e){return function(t,r){return function(n){return n instanceof Event&&(n.preventDefault(),n.stopPropagation()),ie(z(s.value).reduce(((e,t)=>(e[t]=!0,e)),{})),c.value=!0,u.value++,fe().then((o=>{const i=L(d);if(o.valid&&"function"===typeof t){const r=L(P.value);let a=e?r:i;return o.values&&(a=o.values),t(a,{evt:n,controlledValues:r,setErrors:Q,setFieldError:J,setTouched:ie,setFieldTouched:oe,setValues:te,setFieldValue:ee,resetForm:se,resetField:ae})}o.valid||"function"!==typeof r||r({values:i,evt:n,errors:o.errors,results:o.results})})).then((e=>(c.value=!1,e)),(e=>{throw c.value=!1,e}))}}}const V=U(!1),H=V;H.withControlled=U(!0);const G={formId:r,fieldsByPath:s,values:d,controlledValues:P,errorBag:f,errors:m,schema:k,submitCount:u,meta:O,isSubmitting:c,fieldArrays:l,keepValuesOnUnmount:T,validateSchema:(0,o.SU)(k)?D:void 0,validate:fe,register:le,unregister:de,setFieldErrorBag:p,validateField:he,setFieldValue:ee,setValues:te,setErrors:Q,setFieldError:J,setFieldTouched:oe,setTouched:ie,resetForm:se,resetField:ae,handleSubmit:H,stageInitialValue:ge,unsetInitialValue:pe,setFieldInitialValue:me,useFieldModel:ne};function Z(e){return Array.isArray(e)}function Y(e,t){return Array.isArray(e)?e.forEach(t):t(e)}function X(e){Object.values(s.value).forEach((t=>{t&&Y(t,e)}))}function J(e,t){p(e,t)}function Q(e){h(e)}function ee(e,t,{force:r}={force:!1}){var n;const i=s.value[e],c=L(t);if(!i)return void $(d,e,c);if(Z(i)&&"checkbox"===(null===(n=i[0])||void 0===n?void 0:n.type)&&!Array.isArray(t)){const r=L(q(F(d,e)||[],t,void 0));return void $(d,e,r)}let u=c;Z(i)||"checkbox"!==i.type||r||a||(u=L(q(F(d,e),t,(0,o.SU)(i.uncheckedValue)))),$(d,e,u)}function te(e){z(d).forEach((e=>{delete d[e]})),z(e).forEach((t=>{ee(t,e[t])})),l.forEach((e=>e&&e.reset()))}function re(e){const{value:t}=Ae(e,void 0,G);return(0,n.YP)(t,(()=>{v((0,o.SU)(e))||fe({mode:"validated-only"})}),{deep:!0}),i.add((0,o.SU)(e)),t}function ne(e){return Array.isArray(e)?e.map(re):re(e)}function oe(e,t){const r=s.value[e];r&&Y(r,(e=>e.setTouched(t)))}function ie(e){z(e).forEach((t=>{oe(t,!!e[t])}))}function ae(e,t){const r=s.value[e];r&&Y(r,(e=>e.resetField(t)))}function se(e){a=!0,X((e=>e.resetField()));const t=(null===e||void 0===e?void 0:e.values)?e.values:x.value;I(t),te(t),(null===e||void 0===e?void 0:e.touched)&&ie(e.touched),Q((null===e||void 0===e?void 0:e.errors)||{}),u.value=(null===e||void 0===e?void 0:e.submitCount)||0,(0,n.Y3)((()=>{a=!1}))}function ce(e,t){const r=(0,o.Xl)(e),n=t;if(!s.value[n])return void(s.value[n]=r);const i=s.value[n];i&&!Array.isArray(i)&&(s.value[n]=[i]),s.value[n]=[...s.value[n],r]}function ue(e,t){const r=t,n=s.value[r];if(n)if(Z(n)||e.id!==n.id){if(Z(n)){const t=n.findIndex((t=>t.id===e.id));if(-1===t)return;n.splice(t,1),n.length||delete s.value[r]}}else delete s.value[r]}function le(e){const t=(0,o.SU)(e.name);ce(e,t),(0,o.dq)(e.name)&&(0,n.YP)(e.name,(async(t,r)=>{await(0,n.Y3)(),ue(e,r),ce(e,t),(m.value[r]||m.value[t])&&(J(r,void 0),he(t)),await(0,n.Y3)(),v(r)||j(d,r)}));const r=(0,o.SU)(e.errorMessage);r&&(null===S||void 0===S?void 0:S[t])!==r&&he(t),delete S[t]}function de(e){const t=(0,o.SU)(e.name),r=s.value[t],i=!!r&&Z(r);ue(e,t),(0,n.Y3)((()=>{var n;const a=null!==(n=(0,o.SU)(e.keepValueOnUnmount))&&void 0!==n?n:(0,o.SU)(T),c=F(d,t),u=i&&(r===s.value[t]||!s.value[t]);if(u&&!a)if(Array.isArray(c)){const r=c.findIndex((t=>R(t,(0,o.SU)(e.checkedValue))));if(r>-1){const e=[...c];e.splice(r,1),ee(t,e,{force:!0})}}else c===(0,o.SU)(e.checkedValue)&&j(d,t);if(!v(t)){if(J(t,void 0),a)return;if(i&&Array.isArray(c)&&!A(c))return;j(d,t)}}))}async function fe(e){const t=(null===e||void 0===e?void 0:e.mode)||"force";if("force"===t&&X((e=>e.meta.validated=!0)),G.validateSchema)return G.validateSchema(t);const r=await Promise.all(Object.values(s.value).map((t=>{const r=Array.isArray(t)?t[0]:t;return r?r.validate(e).then((e=>({key:(0,o.SU)(r.name),valid:e.valid,errors:e.errors}))):Promise.resolve({key:"",valid:!0,errors:[]})}))),n={},i={};for(const o of r)n[o.key]={valid:o.valid,errors:o.errors},o.errors.length&&(i[o.key]=o.errors[0]);return{valid:r.every((e=>e.valid)),results:n,errors:i}}async function he(e){const t=s.value[e];return t?Array.isArray(t)?t.map((e=>e.validate()))[0]:t.validate():((0,n.ZK)(`field with name ${e} was not found`),Promise.resolve({errors:[],valid:!0}))}function pe(e){j(C.value,e)}function ge(t,r,n=!1){$(d,t,r),me(t,r),n&&!(null===e||void 0===e?void 0:e.initialValues)&&$(x.value,t,L(r))}function me(e,t){$(C.value,e,L(t))}async function ye(){const e=(0,o.SU)(k);if(!e)return{valid:!0,results:{},errors:{}};const t=_(e)||b(e)?await be(e,d):await _e(e,d,{names:w.value,bailsMap:E.value});return t}const ve=H(((e,{evt:t})=>{N(t)&&t.target.submit()}));return(0,n.bv)((()=>{(null===e||void 0===e?void 0:e.initialErrors)&&Q(e.initialErrors),(null===e||void 0===e?void 0:e.initialTouched)&&ie(e.initialTouched),(null===e||void 0===e?void 0:e.validateOnMount)?fe():G.validateSchema&&G.validateSchema("silent")})),(0,o.dq)(k)&&(0,n.YP)(k,(()=>{var e;null===(e=G.validateSchema)||void 0===e||e.call(G,"validated-only")})),(0,n.JJ)(g,G),Object.assign(Object.assign({},G),{handleReset:()=>se(),submitForm:ve})}function Ve(e,t,r,i){const a={touched:"some",pending:"some",valid:"every"},s=(0,n.Fl)((()=>!R(t,(0,o.SU)(r))));function c(){const t=Object.values(e.value).flat(1).filter(Boolean);return z(a).reduce(((e,r)=>{const n=a[r];return e[r]=t[n]((e=>e.meta[r])),e}),{})}const u=(0,o.qj)(c());return(0,n.m0)((()=>{const e=c();u.touched=e.touched,u.valid=e.valid,u.pending=e.pending})),(0,n.Fl)((()=>Object.assign(Object.assign({initialValues:(0,o.SU)(r)},u),{valid:u.valid&&!z(i.value).length,dirty:s.value})))}function He(e,t,r){const i=je(r),a=null===r||void 0===r?void 0:r.initialValues,s=(0,o.iH)(i),c=(0,o.iH)(L(i));function u(r,n=!1){s.value=L(r),c.value=L(r),n&&z(e.value).forEach((r=>{const n=e.value[r],o=Array.isArray(n)?n.some((e=>e.meta.touched)):null===n||void 0===n?void 0:n.meta.touched;if(!n||o)return;const i=F(s.value,r);$(t,r,L(i))}))}return(0,o.dq)(a)&&(0,n.YP)(a,(e=>{u(e,!0)}),{deep:!0}),{initialValues:s,originalInitialValues:c,setInitialValues:u}}function qe(e){const t=(0,o.iH)({});function r(e){return Array.isArray(e)?e:e?[e]:[]}function n(e,n){n?t.value[e]=r(n):delete t.value[e]}function i(e){t.value=z(e).reduce(((t,n)=>{const o=e[n];return o&&(t[n]=r(o)),t}),{})}return e&&i(e),{errorBag:t,setErrorBag:i,setFieldErrorBag:n}}function Ge(e){const t=V(g,void 0),r=(0,o.iH)([]),i=()=>{},a={fields:r,remove:i,push:i,swap:i,insert:i,update:i,replace:i,prepend:i,move:i};if(!t)return H("FieldArray requires being a child of `

` or `useForm` being called before it. Array fields may not work correctly"),a;if(!(0,o.SU)(e))return H("FieldArray requires a field path to be provided, did you forget to pass the `name` prop?"),a;const s=t.fieldArrays.find((t=>(0,o.SU)(t.path)===(0,o.SU)(e)));if(s)return s;let c=0;function l(){return F(null===t||void 0===t?void 0:t.values,(0,o.SU)(e),[])||[]}function d(){const e=l();r.value=e.map(h),f()}function f(){const e=r.value.length;for(let t=0;te.key===i));return-1===s?n:a[s]},set(e){const t=r.value.findIndex((e=>e.key===i));-1!==t?_(t,e):H("Attempting to update a non-existent array item")}}),isFirst:!1,isLast:!1};return a}function p(){f(),null===t||void 0===t||t.validate({mode:"silent"})}function m(n){const i=(0,o.SU)(e),a=F(null===t||void 0===t?void 0:t.values,i);if(!a||!Array.isArray(a))return;const s=[...a];s.splice(n,1),null===t||void 0===t||t.unsetInitialValue(i+`[${n}]`),null===t||void 0===t||t.setFieldValue(i,s),r.value.splice(n,1),p()}function y(n){const i=(0,o.SU)(e),a=F(null===t||void 0===t?void 0:t.values,i),s=u(a)?[]:a;if(!Array.isArray(s))return;const c=[...s];c.push(n),null===t||void 0===t||t.stageInitialValue(i+`[${c.length-1}]`,n),null===t||void 0===t||t.setFieldValue(i,c),r.value.push(h(n)),p()}function v(n,i){const a=(0,o.SU)(e),s=F(null===t||void 0===t?void 0:t.values,a);if(!Array.isArray(s)||!(n in s)||!(i in s))return;const c=[...s],u=[...r.value],l=c[n];c[n]=c[i],c[i]=l;const d=u[n];u[n]=u[i],u[i]=d,null===t||void 0===t||t.setFieldValue(a,c),r.value=u,f()}function w(n,i){const a=(0,o.SU)(e),s=F(null===t||void 0===t?void 0:t.values,a);if(!Array.isArray(s)||s.length{const r=t.fieldArrays.findIndex((t=>(0,o.SU)(t.path)===(0,o.SU)(e)));r>=0&&t.fieldArrays.splice(r,1)})),(0,n.YP)(l,(e=>{const t=r.value.map((e=>e.value));R(e,t)||d()})),A}(0,n.aZ)({name:"Form",inheritAttrs:!1,props:{as:{type:String,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const r=(0,o.Vh)(e,"initialValues"),i=(0,o.Vh)(e,"validationSchema"),a=(0,o.Vh)(e,"keepValues"),{errors:s,errorBag:c,values:u,meta:l,isSubmitting:d,submitCount:f,controlledValues:h,validate:p,validateField:g,handleReset:m,resetForm:y,handleSubmit:v,setErrors:w,setFieldError:b,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetField:T}=ze({validationSchema:i.value?i:void 0,initialValues:r,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:a}),C=v(((e,{evt:t})=>{N(t)&&t.target.submit()}),e.onInvalidSubmit),x=e.onSubmit?v(e.onSubmit,e.onInvalidSubmit):C;function I(e){P(e)&&e.preventDefault(),m(),"function"===typeof t.attrs.onReset&&t.attrs.onReset()}function O(t,r){const n="function"!==typeof t||r?r:t;return v(n,e.onInvalidSubmit)(t)}function k(){return L(u)}function R(){return L(l.value)}function M(){return L(s.value)}function B(){return{meta:l.value,errors:s.value,errorBag:c.value,values:u,isSubmitting:d.value,submitCount:f.value,controlledValues:h.value,validate:p,validateField:g,handleSubmit:O,handleReset:m,submitForm:C,setErrors:w,setFieldError:b,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetForm:y,resetField:T,getValues:k,getMeta:R,getErrors:M}}return t.expose({setFieldError:b,setErrors:w,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetForm:y,validate:p,validateField:g,resetField:T,getValues:k,getMeta:R,getErrors:M}),function(){const r="form"===e.as?e.as:(0,n.LL)(e.as),o=Q(r,t,B);if(!e.as)return o;const i="form"===e.as?{novalidate:!0}:{};return(0,n.h)(r,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:x,onReset:I}),o)}}}),(0,n.aZ)({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,t){const{push:r,remove:n,swap:i,insert:a,replace:s,update:c,prepend:u,move:l,fields:d}=Ge((0,o.Vh)(e,"name"));function f(){return{fields:d.value,push:r,remove:n,swap:i,insert:a,update:c,replace:s,prepend:u,move:l}}return t.expose({push:r,remove:n,swap:i,insert:a,update:c,replace:s,prepend:u,move:l}),()=>{const e=Q(void 0,t,f);return e}}}),(0,n.aZ)({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,t){const r=(0,n.f3)(g,void 0),o=(0,n.Fl)((()=>null===r||void 0===r?void 0:r.errors.value[e.name]));function i(){return{message:o.value}}return()=>{if(!o.value)return;const r=e.as?(0,n.LL)(e.as):e.as,a=Q(r,t,i),s=Object.assign({role:"alert"},t.attrs);return r||!Array.isArray(a)&&a||!(null===a||void 0===a?void 0:a.length)?!Array.isArray(a)&&a||(null===a||void 0===a?void 0:a.length)?(0,n.h)(r,s,a):(0,n.h)(r||"span",s,o.value):a}}})},2262:(e,t,r)=>{"use strict";r.d(t,{B:()=>a,Bj:()=>i,Fl:()=>Xe,IU:()=>ke,Jd:()=>T,PG:()=>Ie,SU:()=>Ve,Um:()=>Te,Vh:()=>Ze,WL:()=>qe,X$:()=>O,X3:()=>Pe,XI:()=>Ue,Xl:()=>Re,dq:()=>Fe,iH:()=>$e,j:()=>x,lk:()=>C,nZ:()=>c,qj:()=>Ae,qq:()=>_,yT:()=>Ne});var n=r(3577);let o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,r;for(t=0,r=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},l=e=>(e.w&m)>0,d=e=>(e.n&m)>0,f=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{("length"===r||r>=e)&&c.push(t)}))}else switch(void 0!==r&&c.push(s.get(r)),t){case"add":(0,n.kJ)(e)?(0,n.S0)(r)&&c.push(s.get("length")):(c.push(s.get(w)),(0,n._N)(e)&&c.push(s.get(b)));break;case"delete":(0,n.kJ)(e)||(c.push(s.get(w)),(0,n._N)(e)&&c.push(s.get(b)));break;case"set":(0,n._N)(e)&&c.push(s.get(w));break}if(1===c.length)c[0]&&N(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);N(u(e))}}function N(e,t){const r=(0,n.kJ)(e)?e:[...e];for(const n of r)n.computed&&P(n,t);for(const n of r)n.computed||P(n,t)}function P(e,t){(e!==v||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function k(e,t){var r;return null==(r=p.get(e))?void 0:r.get(t)}const R=(0,n.fY)("__proto__,__v_isRef,__isVue"),M=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(n.yk)),B=j(),L=j(!1,!0),D=j(!0),F=$();function $(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const r=ke(this);for(let t=0,o=this.length;t{e[t]=function(...e){T();const r=ke(this)[t].apply(this,e);return C(),r}})),e}function U(e){const t=ke(this);return x(t,"has",e),t.hasOwnProperty(e)}function j(e=!1,t=!1){return function(r,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?_e:be:t?we:ve).get(r))return r;const a=(0,n.kJ)(r);if(!e){if(a&&(0,n.RI)(F,o))return Reflect.get(F,o,i);if("hasOwnProperty"===o)return U}const s=Reflect.get(r,o,i);return((0,n.yk)(o)?M.has(o):R(o))?s:(e||x(r,"get",o),t?s:Fe(s)?a&&(0,n.S0)(o)?s:s.value:(0,n.Kn)(s)?e?Ce(s):Ae(s):s)}}const z=H(),V=H(!0);function H(e=!1){return function(t,r,o,i){let a=t[r];if(Oe(a)&&Fe(a)&&!Fe(o))return!1;if(!e&&(Ne(o)||Oe(o)||(a=ke(a),o=ke(o)),!(0,n.kJ)(t)&&Fe(a)&&!Fe(o)))return a.value=o,!0;const s=(0,n.kJ)(t)&&(0,n.S0)(r)?Number(r)e,J=e=>Reflect.getPrototypeOf(e);function Q(e,t,r=!1,n=!1){e=e["__v_raw"];const o=ke(e),i=ke(t);r||(t!==i&&x(o,"get",t),x(o,"get",i));const{has:a}=J(o),s=n?X:r?Be:Me;return a.call(o,t)?s(e.get(t)):a.call(o,i)?s(e.get(i)):void(e!==o&&e.get(t))}function ee(e,t=!1){const r=this["__v_raw"],n=ke(r),o=ke(e);return t||(e!==o&&x(n,"has",e),x(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function te(e,t=!1){return e=e["__v_raw"],!t&&x(ke(e),"iterate",w),Reflect.get(e,"size",e)}function re(e){e=ke(e);const t=ke(this),r=J(t),n=r.has.call(t,e);return n||(t.add(e),O(t,"add",e,e)),this}function ne(e,t){t=ke(t);const r=ke(this),{has:o,get:i}=J(r);let a=o.call(r,e);a||(e=ke(e),a=o.call(r,e));const s=i.call(r,e);return r.set(e,t),a?(0,n.aU)(t,s)&&O(r,"set",e,t,s):O(r,"add",e,t),this}function oe(e){const t=ke(this),{has:r,get:n}=J(t);let o=r.call(t,e);o||(e=ke(e),o=r.call(t,e));const i=n?n.call(t,e):void 0,a=t.delete(e);return o&&O(t,"delete",e,void 0,i),a}function ie(){const e=ke(this),t=0!==e.size,r=void 0,n=e.clear();return t&&O(e,"clear",void 0,void 0,r),n}function ae(e,t){return function(r,n){const o=this,i=o["__v_raw"],a=ke(i),s=t?X:e?Be:Me;return!e&&x(a,"iterate",w),i.forEach(((e,t)=>r.call(n,s(e),s(t),o)))}}function se(e,t,r){return function(...o){const i=this["__v_raw"],a=ke(i),s=(0,n._N)(a),c="entries"===e||e===Symbol.iterator&&s,u="keys"===e&&s,l=i[e](...o),d=r?X:t?Be:Me;return!t&&x(a,"iterate",u?b:w),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function ce(e){return function(...t){return"delete"!==e&&this}}function ue(){const e={get(e){return Q(this,e)},get size(){return te(this)},has:ee,add:re,set:ne,delete:oe,clear:ie,forEach:ae(!1,!1)},t={get(e){return Q(this,e,!1,!0)},get size(){return te(this)},has:ee,add:re,set:ne,delete:oe,clear:ie,forEach:ae(!1,!0)},r={get(e){return Q(this,e,!0)},get size(){return te(this,!0)},has(e){return ee.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:ae(!0,!1)},n={get(e){return Q(this,e,!0,!0)},get size(){return te(this,!0)},has(e){return ee.call(this,e,!0)},add:ce("add"),set:ce("set"),delete:ce("delete"),clear:ce("clear"),forEach:ae(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=se(o,!1,!1),r[o]=se(o,!0,!1),t[o]=se(o,!1,!0),n[o]=se(o,!0,!0)})),[e,r,t,n]}const[le,de,fe,he]=ue();function pe(e,t){const r=t?e?he:fe:e?de:le;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,n.RI)(r,o)&&o in t?r:t,o,i)}const ge={get:pe(!1,!1)},me={get:pe(!1,!0)},ye={get:pe(!0,!1)};const ve=new WeakMap,we=new WeakMap,be=new WeakMap,_e=new WeakMap;function Ee(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Se(e){return e["__v_skip"]||!Object.isExtensible(e)?0:Ee((0,n.W7)(e))}function Ae(e){return Oe(e)?e:xe(e,!1,Z,ge,ve)}function Te(e){return xe(e,!1,Y,me,we)}function Ce(e){return xe(e,!0,K,ye,be)}function xe(e,t,r,o,i){if(!(0,n.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const a=i.get(e);if(a)return a;const s=Se(e);if(0===s)return e;const c=new Proxy(e,2===s?o:r);return i.set(e,c),c}function Ie(e){return Oe(e)?Ie(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Oe(e){return!(!e||!e["__v_isReadonly"])}function Ne(e){return!(!e||!e["__v_isShallow"])}function Pe(e){return Ie(e)||Oe(e)}function ke(e){const t=e&&e["__v_raw"];return t?ke(t):e}function Re(e){return(0,n.Nj)(e,"__v_skip",!0),e}const Me=e=>(0,n.Kn)(e)?Ae(e):e,Be=e=>(0,n.Kn)(e)?Ce(e):e;function Le(e){S&&v&&(e=ke(e),I(e.dep||(e.dep=u())))}function De(e,t){e=ke(e);const r=e.dep;r&&N(r)}function Fe(e){return!(!e||!0!==e.__v_isRef)}function $e(e){return je(e,!1)}function Ue(e){return je(e,!0)}function je(e,t){return Fe(e)?e:new ze(e,t)}class ze{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ke(e),this._value=t?e:Me(e)}get value(){return Le(this),this._value}set value(e){const t=this.__v_isShallow||Ne(e)||Oe(e);e=t?e:ke(e),(0,n.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Me(e),De(this,e))}}function Ve(e){return Fe(e)?e.value:e}const He={get:(e,t,r)=>Ve(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Fe(o)&&!Fe(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function qe(e){return Ie(e)?e:new Proxy(e,He)}class Ge{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return k(ke(this._object),this._key)}}class We{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ze(e,t,r){return Fe(e)?e:(0,n.mf)(e)?new We(e):(0,n.Kn)(e)&&arguments.length>1?Ke(e,t,r):$e(e)}function Ke(e,t,r){const n=e[t];return Fe(n)?n:new Ge(e,t,r)}class Ye{constructor(e,t,r,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,De(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!n,this["__v_isReadonly"]=r}get value(){const e=ke(this);return Le(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xe(e,t,r=!1){let o,i;const a=(0,n.mf)(e);a?(o=e,i=n.dG):(o=e.get,i=e.set);const s=new Ye(o,i,a||!i,r);return s}},66252:(e,t,r)=>{"use strict";r.d(t,{$d:()=>s,Ah:()=>ke,Cn:()=>D,F4:()=>br,FN:()=>Mr,Fl:()=>Qr,HY:()=>Qt,JJ:()=>vt,Jd:()=>Pe,Ko:()=>Ve,LL:()=>Ue,Nv:()=>He,P$:()=>ae,Q6:()=>fe,RC:()=>ge,U2:()=>ce,Uk:()=>Er,Us:()=>$t,WI:()=>qe,Wm:()=>vr,Xn:()=>Oe,Y3:()=>w,Y8:()=>re,YP:()=>K,ZK:()=>i,_:()=>yr,aZ:()=>he,bv:()=>Ie,dD:()=>L,dG:()=>Ir,f3:()=>wt,h:()=>en,iD:()=>lr,ic:()=>Ne,j4:()=>dr,kq:()=>Ar,lR:()=>Xt,m0:()=>W,mx:()=>We,nJ:()=>oe,nK:()=>de,uE:()=>Sr,up:()=>Fe,w5:()=>F,wF:()=>xe,wg:()=>ir,wy:()=>ee,xv:()=>er});var n=r(2262),o=r(3577);function i(e,...t){}function a(e,t,r,n){let o;try{o=n?e(...n):e()}catch(i){c(i,t,r)}return o}function s(e,t,r,n){if((0,o.mf)(e)){const i=a(e,t,r,n);return i&&(0,o.tI)(i)&&i.catch((e=>{c(e,t,r)})),i}const i=[];for(let o=0;o>>1,o=x(f[n]);oh&&f.splice(t,1)}function A(e){(0,o.kJ)(e)?p.push(...e):g&&g.includes(e,e.allowRecurse?m+1:m)||p.push(e),E()}function T(e,t=(l?h+1:0)){for(0;tx(e)-x(t))),m=0;mnull==e.id?1/0:e.id,I=(e,t)=>{const r=x(e)-x(t);if(0===r){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function O(e){d=!1,l=!0,f.sort(I);o.dG;try{for(h=0;h(0,o.HD)(e)?e.trim():e))),t&&(i=r.map(o.h5))}let u;let l=n[u=(0,o.hR)(t)]||n[u=(0,o.hR)((0,o._A)(t))];!l&&a&&(l=n[u=(0,o.hR)((0,o.rs)(t))]),l&&s(l,e,6,i);const d=n[u+"Once"];if(d){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,s(d,e,6,i)}}function P(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(void 0!==i)return i;const a=e.emits;let s={},c=!1;if(!(0,o.mf)(e)){const n=e=>{const r=P(e,t,!0);r&&(c=!0,(0,o.l7)(s,r))};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return a||c?((0,o.kJ)(a)?a.forEach((e=>s[e]=null)):(0,o.l7)(s,a),(0,o.Kn)(e)&&n.set(e,s),s):((0,o.Kn)(e)&&n.set(e,null),null)}function k(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let R=null,M=null;function B(e){const t=R;return R=e,M=e&&e.type.__scopeId||null,t}function L(e){M=e}function D(){M=null}function F(e,t=R,r){if(!t)return e;if(e._n)return e;const n=(...r)=>{n._d&&cr(-1);const o=B(t);let i;try{i=e(...r)}finally{B(o),n._d&&cr(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function $(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[s],slots:u,attrs:l,emit:d,render:f,renderCache:h,data:p,setupState:g,ctx:m,inheritAttrs:y}=e;let v,w;const b=B(e);try{if(4&r.shapeFlag){const e=i||n;v=Tr(f.call(e,e,h,a,g,p,m)),w=l}else{const e=t;0,v=Tr(e.length>1?e(a,{attrs:l,slots:u,emit:d}):e(a,null)),w=t.props?l:U(l)}}catch(E){nr.length=0,c(E,e,1),v=vr(tr)}let _=v;if(w&&!1!==y){const e=Object.keys(w),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(o.tR)&&(w=j(w,s)),_=_r(_,w))}return r.dirs&&(_=_r(_),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),v=_,B(b),v}const U=e=>{let t;for(const r in e)("class"===r||"style"===r||(0,o.F7)(r))&&((t||(t={}))[r]=e[r]);return t},j=(e,t)=>{const r={};for(const n in e)(0,o.tR)(n)&&n.slice(9)in t||(r[n]=e[n]);return r};function z(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(r&&c>=0))return!(!o&&!s||s&&s.$stable)||n!==a&&(n?!a||V(n,a,u):!!a);if(1024&c)return!0;if(16&c)return n?V(n,a,u):!!a;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function G(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):A(e)}function W(e,t){return Y(e,null,t)}const Z={};function K(e,t,r){return Y(e,t,r)}function Y(e,t,{immediate:r,deep:i,flush:c,onTrack:u,onTrigger:l}=o.kT){var d;const f=(0,n.nZ)()===(null==(d=Rr)?void 0:d.scope)?Rr:null;let h,p,g=!1,m=!1;if((0,n.dq)(e)?(h=()=>e.value,g=(0,n.yT)(e)):(0,n.PG)(e)?(h=()=>e,i=!0):(0,o.kJ)(e)?(m=!0,g=e.some((e=>(0,n.PG)(e)||(0,n.yT)(e))),h=()=>e.map((e=>(0,n.dq)(e)?e.value:(0,n.PG)(e)?Q(e):(0,o.mf)(e)?a(e,f,2):void 0))):h=(0,o.mf)(e)?t?()=>a(e,f,2):()=>{if(!f||!f.isUnmounted)return p&&p(),s(e,f,3,[v])}:o.dG,t&&i){const e=h;h=()=>Q(e())}let y,v=e=>{p=S.onStop=()=>{a(e,f,4)}};if(Vr){if(v=o.dG,t?r&&s(t,f,3,[h(),m?[]:void 0,v]):h(),"sync"!==c)return o.dG;{const e=rn();y=e.__watcherHandles||(e.__watcherHandles=[])}}let w=m?new Array(e.length).fill(Z):Z;const b=()=>{if(S.active)if(t){const e=S.run();(i||g||(m?e.some(((e,t)=>(0,o.aU)(e,w[t]))):(0,o.aU)(e,w)))&&(p&&p(),s(t,f,3,[e,w===Z?void 0:m&&w[0]===Z?[]:w,v]),w=e)}else S.run()};let E;b.allowRecurse=!!t,"sync"===c?E=b:"post"===c?E=()=>Ft(b,f&&f.suspense):(b.pre=!0,f&&(b.id=f.uid),E=()=>_(b));const S=new n.qq(h,E);t?r?b():w=S.run():"post"===c?Ft(S.run.bind(S),f&&f.suspense):S.run();const A=()=>{S.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,S)};return y&&y.push(A),A}function X(e,t,r){const n=this.proxy,i=(0,o.HD)(e)?e.includes(".")?J(n,e):()=>n[e]:e.bind(n,n);let a;(0,o.mf)(t)?a=t:(a=t.handler,r=t);const s=Rr;Fr(this);const c=Y(i,a.bind(n),r);return s?Fr(s):$r(),c}function J(e,t){const r=t.split(".");return()=>{let t=e;for(let e=0;e{Q(e,t)}));else if((0,o.PO)(e))for(const r in e)Q(e[r],t);return e}function ee(e,t){const r=R;if(null===r)return e;const n=Yr(r)||r.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0})),Pe((()=>{e.isUnmounting=!0})),e}const ne=[Function,Array],oe={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ne,onEnter:ne,onAfterEnter:ne,onEnterCancelled:ne,onBeforeLeave:ne,onLeave:ne,onAfterLeave:ne,onLeaveCancelled:ne,onBeforeAppear:ne,onAppear:ne,onAfterAppear:ne,onAppearCancelled:ne},ie={name:"BaseTransition",props:oe,setup(e,{slots:t}){const r=Mr(),o=re();let i;return()=>{const a=t.default&&fe(t.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){let e=!1;for(const t of a)if(t.type!==tr){0,s=t,e=!0;break}}const c=(0,n.IU)(e),{mode:u}=c;if(o.isLeaving)return ue(s);const l=le(s);if(!l)return ue(s);const d=ce(l,c,o,r);de(l,d);const f=r.subTree,h=f&&le(f);let p=!1;const{getTransitionKey:g}=l.type;if(g){const e=g();void 0===i?i=e:e!==i&&(i=e,p=!0)}if(h&&h.type!==tr&&(!hr(l,h)||p)){const e=ce(h,c,o,r);if(de(h,e),"out-in"===u)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==r.update.active&&r.update()},ue(s);"in-out"===u&&l.type!==tr&&(e.delayLeave=(e,t,r)=>{const n=se(o,h);n[String(h.key)]=h,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=r})}return s}}},ae=ie;function se(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ce(e,t,r,n){const{appear:i,mode:a,persisted:c=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:y,onAppear:v,onAfterAppear:w,onAppearCancelled:b}=t,_=String(e.key),E=se(r,e),S=(e,t)=>{e&&s(e,n,9,t)},A=(e,t)=>{const r=t[1];S(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&r():e.length<=1&&r()},T={mode:a,persisted:c,beforeEnter(t){let n=u;if(!r.isMounted){if(!i)return;n=y||u}t._leaveCb&&t._leaveCb(!0);const o=E[_];o&&hr(e,o)&&o.el._leaveCb&&o.el._leaveCb(),S(n,[t])},enter(e){let t=l,n=d,o=f;if(!r.isMounted){if(!i)return;t=v||l,n=w||d,o=b||f}let a=!1;const s=e._enterCb=t=>{a||(a=!0,S(t?o:n,[e]),T.delayedLeave&&T.delayedLeave(),e._enterCb=void 0)};t?A(t,[e,s]):s()},leave(t,n){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),r.isUnmounting)return n();S(h,[t]);let i=!1;const a=t._leaveCb=r=>{i||(i=!0,n(),S(r?m:g,[t]),t._leaveCb=void 0,E[o]===e&&delete E[o])};E[o]=e,p?A(p,[t,a]):a()},clone(e){return ce(e,t,r,n)}};return T}function ue(e){if(ye(e))return e=_r(e),e.children=null,e}function le(e){return ye(e)?e.children?e.children[0]:void 0:e}function de(e,t){6&e.shapeFlag&&e.component?de(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fe(e,t=!1,r){let n=[],o=0;for(let i=0;i1)for(let i=0;i(0,o.l7)({name:e.name},t,{setup:e}))():e}const pe=e=>!!e.type.__asyncLoader;function ge(e){(0,o.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:i,delay:a=200,timeout:s,suspensible:u=!0,onError:l}=e;let d,f=null,h=0;const p=()=>(h++,f=null,g()),g=()=>{let e;return f||(e=f=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,r)=>{const n=()=>t(p()),o=()=>r(e);l(e,n,o,h+1)}));throw e})).then((t=>e!==f&&f?f:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),d=t,t))))};return he({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return d},setup(){const e=Rr;if(d)return()=>me(d,e);const t=t=>{f=null,c(t,e,13,!i)};if(u&&e.suspense||Vr)return g().then((t=>()=>me(t,e))).catch((e=>(t(e),()=>i?vr(i,{error:e}):null)));const o=(0,n.iH)(!1),l=(0,n.iH)(),h=(0,n.iH)(!!a);return a&&setTimeout((()=>{h.value=!1}),a),null!=s&&setTimeout((()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),g().then((()=>{o.value=!0,e.parent&&ye(e.parent.vnode)&&_(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>o.value&&d?me(d,e):l.value&&i?vr(i,{error:l.value}):r&&!h.value?vr(r):void 0}})}function me(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=vr(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}const ye=e=>e.type.__isKeepAlive;RegExp,RegExp;function ve(e,t){return(0,o.kJ)(e)?e.some((e=>ve(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&e.test(t)}function we(e,t){_e(e,"a",t)}function be(e,t){_e(e,"da",t)}function _e(e,t,r=Rr){const n=e.__wdc||(e.__wdc=()=>{let t=r;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(Te(t,n,r),r){let e=r.parent;while(e&&e.parent)ye(e.parent.vnode)&&Ee(n,t,r,e),e=e.parent}}function Ee(e,t,r,n){const i=Te(t,e,n,!0);ke((()=>{(0,o.Od)(n[t],i)}),r)}function Se(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ae(e){return 128&e.shapeFlag?e.ssContent:e}function Te(e,t,r=Rr,o=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;(0,n.Jd)(),Fr(r);const i=s(t,r,e,o);return $r(),(0,n.lk)(),i});return o?i.unshift(a):i.push(a),a}}const Ce=e=>(t,r=Rr)=>(!Vr||"sp"===e)&&Te(e,((...e)=>t(...e)),r),xe=Ce("bm"),Ie=Ce("m"),Oe=Ce("bu"),Ne=Ce("u"),Pe=Ce("bum"),ke=Ce("um"),Re=Ce("sp"),Me=Ce("rtg"),Be=Ce("rtc");function Le(e,t=Rr){Te("ec",e,t)}const De="components";function Fe(e,t){return je(De,e,!0,t)||e}const $e=Symbol.for("v-ndc");function Ue(e){return(0,o.HD)(e)?je(De,e,!1)||e:e||$e}function je(e,t,r=!0,n=!1){const i=R||Rr;if(i){const r=i.type;if(e===De){const e=Xr(r,!1);if(e&&(e===t||e===(0,o._A)(t)||e===(0,o.kC)((0,o._A)(t))))return r}const a=ze(i[e]||r[e],t)||ze(i.appContext[e],t);return!a&&n?r:a}}function ze(e,t){return e&&(e[t]||e[(0,o._A)(t)]||e[(0,o.kC)((0,o._A)(t))])}function Ve(e,t,r,n){let i;const a=r&&r[n];if((0,o.kJ)(e)||(0,o.HD)(e)){i=new Array(e.length);for(let r=0,n=e.length;rt(e,r,void 0,a&&a[r])));else{const r=Object.keys(e);i=new Array(r.length);for(let n=0,o=r.length;n{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return e}function qe(e,t,r={},n,o){if(R.isCE||R.parent&&pe(R.parent)&&R.parent.isCE)return"default"!==t&&(r.name=t),vr("slot",r,n&&n());let i=e[t];i&&i._c&&(i._d=!1),ir();const a=i&&Ge(i(r)),s=dr(Qt,{key:r.key||a&&a.key||`_${t}`},a||(n?n():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Ge(e){return e.some((e=>!fr(e)||e.type!==tr&&!(e.type===Qt&&!Ge(e.children))))?e:null}function We(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:(0,o.hR)(n)]=e[n];return r}const Ze=e=>e?Ur(e)?Yr(e)||e.proxy:Ze(e.parent):null,Ke=(0,o.l7)(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=>Ze(e.parent),$root:e=>Ze(e.root),$emit:e=>e.emit,$options:e=>ot(e),$forceUpdate:e=>e.f||(e.f=()=>_(e.update)),$nextTick:e=>e.n||(e.n=w.bind(e.proxy)),$watch:e=>X.bind(e)}),Ye=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Xe={get({_:e},t){const{ctx:r,setupState:i,data:a,props:s,accessCache:c,type:u,appContext:l}=e;let d;if("$"!==t[0]){const n=c[t];if(void 0!==n)switch(n){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return s[t]}else{if(Ye(i,t))return c[t]=1,i[t];if(a!==o.kT&&(0,o.RI)(a,t))return c[t]=2,a[t];if((d=e.propsOptions[0])&&(0,o.RI)(d,t))return c[t]=3,s[t];if(r!==o.kT&&(0,o.RI)(r,t))return c[t]=4,r[t];Qe&&(c[t]=0)}}const f=Ke[t];let h,p;return f?("$attrs"===t&&(0,n.j)(e,"get",t),f(e)):(h=u.__cssModules)&&(h=h[t])?h:r!==o.kT&&(0,o.RI)(r,t)?(c[t]=4,r[t]):(p=l.config.globalProperties,(0,o.RI)(p,t)?p[t]:void 0)},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return Ye(i,t)?(i[t]=r,!0):n!==o.kT&&(0,o.RI)(n,t)?(n[t]=r,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=r,!0))},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},s){let c;return!!r[s]||e!==o.kT&&(0,o.RI)(e,s)||Ye(t,s)||(c=a[0])&&(0,o.RI)(c,s)||(0,o.RI)(n,s)||(0,o.RI)(Ke,s)||(0,o.RI)(i.config.globalProperties,s)},defineProperty(e,t,r){return null!=r.get?e._.accessCache[t]=0:(0,o.RI)(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Je(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Qe=!0;function et(e){const t=ot(e),r=e.proxy,i=e.ctx;Qe=!1,t.beforeCreate&&rt(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:c,watch:u,provide:l,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:g,updated:m,activated:y,deactivated:v,beforeDestroy:w,beforeUnmount:b,destroyed:_,unmounted:E,render:S,renderTracked:A,renderTriggered:T,errorCaptured:C,serverPrefetch:x,expose:I,inheritAttrs:O,components:N,directives:P,filters:k}=t,R=null;if(d&&tt(d,i,R),c)for(const n in c){const e=c[n];(0,o.mf)(e)&&(i[n]=e.bind(r))}if(a){0;const t=a.call(r,r);0,(0,o.Kn)(t)&&(e.data=(0,n.qj)(t))}if(Qe=!0,s)for(const n in s){const e=s[n],t=(0,o.mf)(e)?e.bind(r,r):(0,o.mf)(e.get)?e.get.bind(r,r):o.dG;0;const a=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(r):o.dG,c=Qr({get:t,set:a});Object.defineProperty(i,n,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(u)for(const n in u)nt(u[n],i,r,n);if(l){const e=(0,o.mf)(l)?l.call(r):l;Reflect.ownKeys(e).forEach((t=>{vt(t,e[t])}))}function M(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(r)))):t&&e(t.bind(r))}if(f&&rt(f,e,"c"),M(xe,h),M(Ie,p),M(Oe,g),M(Ne,m),M(we,y),M(be,v),M(Le,C),M(Be,A),M(Me,T),M(Pe,b),M(ke,E),M(Re,x),(0,o.kJ)(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>r[e],set:t=>r[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===o.dG&&(e.render=S),null!=O&&(e.inheritAttrs=O),N&&(e.components=N),P&&(e.directives=P)}function tt(e,t,r=o.dG){(0,o.kJ)(e)&&(e=ut(e));for(const i in e){const r=e[i];let a;a=(0,o.Kn)(r)?"default"in r?wt(r.from||i,r.default,!0):wt(r.from||i):wt(r),(0,n.dq)(a)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[i]=a}}function rt(e,t,r){s((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,r)}function nt(e,t,r,n){const i=n.includes(".")?J(r,n):()=>r[n];if((0,o.HD)(e)){const r=t[e];(0,o.mf)(r)&&K(i,r)}else if((0,o.mf)(e))K(i,e.bind(r));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>nt(e,t,r,n)));else{const n=(0,o.mf)(e.handler)?e.handler.bind(r):t[e.handler];(0,o.mf)(n)&&K(i,n,e)}else 0}function ot(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,c=a.get(t);let u;return c?u=c:i.length||r||n?(u={},i.length&&i.forEach((e=>it(u,e,s,!0))),it(u,t,s)):u=t,(0,o.Kn)(t)&&a.set(t,u),u}function it(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&it(e,i,r,!0),o&&o.forEach((t=>it(e,t,r,!0)));for(const a in t)if(n&&"expose"===a);else{const n=at[a]||r&&r[a];e[a]=n?n(e[a],t[a]):t[a]}return e}const at={data:st,props:ft,emits:ft,methods:dt,computed:dt,beforeCreate:lt,created:lt,beforeMount:lt,mounted:lt,beforeUpdate:lt,updated:lt,beforeDestroy:lt,beforeUnmount:lt,destroyed:lt,unmounted:lt,activated:lt,deactivated:lt,errorCaptured:lt,serverPrefetch:lt,components:dt,directives:dt,watch:ht,provide:st,inject:ct};function st(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function ct(e,t){return dt(ut(e),ut(t))}function ut(e){if((0,o.kJ)(e)){const t={};for(let r=0;r1)return r&&(0,o.mf)(t)?t.call(n&&n.proxy):t}else 0}function bt(e,t,r,i=!1){const a={},s={};(0,o.Nj)(s,pr,1),e.propsDefaults=Object.create(null),Et(e,t,a,s);for(const n in e.propsOptions[0])n in a||(a[n]=void 0);r?e.props=i?a:(0,n.Um)(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function _t(e,t,r,i){const{props:a,attrs:s,vnode:{patchFlag:c}}=e,u=(0,n.IU)(a),[l]=e.propsOptions;let d=!1;if(!(i||c>0)||16&c){let n;Et(e,t,a,s)&&(d=!0);for(const i in u)t&&((0,o.RI)(t,i)||(n=(0,o.rs)(i))!==i&&(0,o.RI)(t,n))||(l?!r||void 0===r[i]&&void 0===r[n]||(a[i]=St(l,u,i,void 0,e,!0)):delete a[i]);if(s!==u)for(const e in s)t&&(0,o.RI)(t,e)||(delete s[e],d=!0)}else if(8&c){const r=e.vnode.dynamicProps;for(let n=0;n{u=!0;const[r,n]=At(e,t,!0);(0,o.l7)(s,r),n&&c.push(...n)};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!a&&!u)return(0,o.Kn)(e)&&n.set(e,o.Z6),o.Z6;if((0,o.kJ)(a))for(let d=0;d-1,n[1]=r<0||e-1||(0,o.RI)(n,"default"))&&c.push(t)}}}}const l=[s,c];return(0,o.Kn)(e)&&n.set(e,l),l}function Tt(e){return"$"!==e[0]}function Ct(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function xt(e,t){return Ct(e)===Ct(t)}function It(e,t){return(0,o.kJ)(t)?t.findIndex((t=>xt(t,e))):(0,o.mf)(t)&&xt(t,e)?0:-1}const Ot=e=>"_"===e[0]||"$stable"===e,Nt=e=>(0,o.kJ)(e)?e.map(Tr):[Tr(e)],Pt=(e,t,r)=>{if(t._n)return t;const n=F(((...e)=>Nt(t(...e))),r);return n._c=!1,n},kt=(e,t,r)=>{const n=e._ctx;for(const i in e){if(Ot(i))continue;const r=e[i];if((0,o.mf)(r))t[i]=Pt(i,r,n);else if(null!=r){0;const e=Nt(r);t[i]=()=>e}}},Rt=(e,t)=>{const r=Nt(t);e.slots.default=()=>r},Mt=(e,t)=>{if(32&e.vnode.shapeFlag){const r=t._;r?(e.slots=(0,n.IU)(t),(0,o.Nj)(t,"_",r)):kt(t,e.slots={})}else e.slots={},t&&Rt(e,t);(0,o.Nj)(e.slots,pr,1)},Bt=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,s=o.kT;if(32&n.shapeFlag){const e=t._;e?r&&1===e?a=!1:((0,o.l7)(i,t),r||1!==e||delete i._):(a=!t.$stable,kt(t,i)),s=t}else t&&(Rt(e,t),s={default:1});if(a)for(const o in i)Ot(o)||o in s||delete i[o]};function Lt(e,t,r,i,s=!1){if((0,o.kJ)(e))return void e.forEach(((e,n)=>Lt(e,t&&((0,o.kJ)(t)?t[n]:t),r,i,s)));if(pe(i)&&!s)return;const c=4&i.shapeFlag?Yr(i.component)||i.component.proxy:i.el,u=s?null:c,{i:l,r:d}=e;const f=t&&t.r,h=l.refs===o.kT?l.refs={}:l.refs,p=l.setupState;if(null!=f&&f!==d&&((0,o.HD)(f)?(h[f]=null,(0,o.RI)(p,f)&&(p[f]=null)):(0,n.dq)(f)&&(f.value=null)),(0,o.mf)(d))a(d,l,12,[u,h]);else{const t=(0,o.HD)(d),i=(0,n.dq)(d);if(t||i){const n=()=>{if(e.f){const r=t?(0,o.RI)(p,d)?p[d]:h[d]:d.value;s?(0,o.kJ)(r)&&(0,o.Od)(r,c):(0,o.kJ)(r)?r.includes(c)||r.push(c):t?(h[d]=[c],(0,o.RI)(p,d)&&(p[d]=h[d])):(d.value=[c],e.k&&(h[e.k]=d.value))}else t?(h[d]=u,(0,o.RI)(p,d)&&(p[d]=u)):i&&(d.value=u,e.k&&(h[e.k]=u))};u?(n.id=-1,Ft(n,r)):n()}else 0}}function Dt(){}const Ft=G;function $t(e){return Ut(e)}function Ut(e,t){Dt();const r=(0,o.E9)();r.__VUE__=!0;const{insert:i,remove:a,patchProp:s,createElement:c,createText:u,createComment:l,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:g=o.dG,insertStaticContent:m}=e,y=(e,t,r,n=null,o=null,i=null,a=!1,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!hr(e,t)&&(n=J(e),W(e,o,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:l,shapeFlag:d}=t;switch(u){case er:v(e,t,r,n);break;case tr:w(e,t,r,n);break;case rr:null==e&&b(t,r,n,a);break;case Qt:M(e,t,r,n,o,i,a,s,c);break;default:1&d?x(e,t,r,n,o,i,a,s,c):6&d?B(e,t,r,n,o,i,a,s,c):(64&d||128&d)&&u.process(e,t,r,n,o,i,a,s,c,ee)}null!=l&&o&&Lt(l,e&&e.ref,i,t||e,!t)},v=(e,t,r,n)=>{if(null==e)i(t.el=u(t.children),r,n);else{const r=t.el=e.el;t.children!==e.children&&d(r,t.children)}},w=(e,t,r,n)=>{null==e?i(t.el=l(t.children||""),r,n):t.el=e.el},b=(e,t,r,n)=>{[e.el,e.anchor]=m(e.children,t,r,n,e.el,e.anchor)},E=({el:e,anchor:t},r,n)=>{let o;while(e&&e!==t)o=p(e),i(e,r,n),e=o;i(t,r,n)},A=({el:e,anchor:t})=>{let r;while(e&&e!==t)r=p(e),a(e),e=r;a(t)},x=(e,t,r,n,o,i,a,s,c)=>{a=a||"svg"===t.type,null==e?I(t,r,n,o,i,a,s,c):P(e,t,o,i,a,s,c)},I=(e,t,r,n,a,u,l,d)=>{let h,p;const{type:g,props:m,shapeFlag:y,transition:v,dirs:w}=e;if(h=e.el=c(e.type,u,m&&m.is,m),8&y?f(h,e.children):16&y&&N(e.children,h,null,n,a,u&&"foreignObject"!==g,l,d),w&&te(e,null,n,"created"),O(h,e,e.scopeId,l,n),m){for(const t in m)"value"===t||(0,o.Gg)(t)||s(h,t,null,m[t],u,e.children,n,a,X);"value"in m&&s(h,"value",null,m.value),(p=m.onVnodeBeforeMount)&&Or(p,n,e)}w&&te(e,null,n,"beforeMount");const b=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;b&&v.beforeEnter(h),i(h,t,r),((p=m&&m.onVnodeMounted)||b||w)&&Ft((()=>{p&&Or(p,n,e),b&&v.enter(h),w&&te(e,null,n,"mounted")}),a)},O=(e,t,r,n,o)=>{if(r&&g(e,r),n)for(let i=0;i{for(let u=c;u{const u=t.el=e.el;let{patchFlag:l,dynamicChildren:d,dirs:h}=t;l|=16&e.patchFlag;const p=e.props||o.kT,g=t.props||o.kT;let m;r&&jt(r,!1),(m=g.onVnodeBeforeUpdate)&&Or(m,r,t,e),h&&te(t,e,r,"beforeUpdate"),r&&jt(r,!0);const y=i&&"foreignObject"!==t.type;if(d?k(e.dynamicChildren,d,u,r,n,y,a):c||j(e,t,u,null,r,n,y,a,!1),l>0){if(16&l)R(u,t,p,g,r,n,i);else if(2&l&&p.class!==g.class&&s(u,"class",null,g.class,i),4&l&&s(u,"style",p.style,g.style,i),8&l){const o=t.dynamicProps;for(let t=0;t{m&&Or(m,r,t,e),h&&te(t,e,r,"updated")}),n)},k=(e,t,r,n,o,i,a)=>{for(let s=0;s{if(r!==n){if(r!==o.kT)for(const u in r)(0,o.Gg)(u)||u in n||s(e,u,r[u],null,c,t.children,i,a,X);for(const u in n){if((0,o.Gg)(u))continue;const l=n[u],d=r[u];l!==d&&"value"!==u&&s(e,u,d,l,c,t.children,i,a,X)}"value"in n&&s(e,"value",r.value,n.value)}},M=(e,t,r,n,o,a,s,c,l)=>{const d=t.el=e?e.el:u(""),f=t.anchor=e?e.anchor:u("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(i(d,r,n),i(f,r,n),N(t.children,r,f,o,a,s,c,l)):h>0&&64&h&&p&&e.dynamicChildren?(k(e.dynamicChildren,p,r,o,a,s,c),(null!=t.key||o&&t===o.subTree)&&zt(e,t,!0)):j(e,t,r,f,o,a,s,c,l)},B=(e,t,r,n,o,i,a,s,c)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,r,n,a,c):L(t,r,n,o,i,a,c):D(e,t,c)},L=(e,t,r,n,o,i,a)=>{const s=e.component=kr(e,n,o);if(ye(e)&&(s.ctx.renderer=ee),Hr(s),s.asyncDep){if(o&&o.registerDep(s,F),!e.el){const e=s.subTree=vr(tr);w(null,e,t,r)}}else F(s,e,t,r,o,i,a)},D=(e,t,r)=>{const n=t.component=e.component;if(z(e,t,r)){if(n.asyncDep&&!n.asyncResolved)return void U(n,t,r);n.next=t,S(n.update),n.update()}else t.el=e.el,n.vnode=t},F=(e,t,r,i,a,s,c)=>{const u=()=>{if(e.isMounted){let t,{next:r,bu:n,u:i,parent:u,vnode:l}=e,d=r;0,jt(e,!1),r?(r.el=l.el,U(e,r,c)):r=l,n&&(0,o.ir)(n),(t=r.props&&r.props.onVnodeBeforeUpdate)&&Or(t,u,r,l),jt(e,!0);const f=$(e);0;const p=e.subTree;e.subTree=f,y(p,f,h(p.el),J(p),e,a,s),r.el=f.el,null===d&&H(e,f.el),i&&Ft(i,a),(t=r.props&&r.props.onVnodeUpdated)&&Ft((()=>Or(t,u,r,l)),a)}else{let n;const{el:c,props:u}=t,{bm:l,m:d,parent:f}=e,h=pe(t);if(jt(e,!1),l&&(0,o.ir)(l),!h&&(n=u&&u.onVnodeBeforeMount)&&Or(n,f,t),jt(e,!0),c&&ne){const r=()=>{e.subTree=$(e),ne(c,e.subTree,e,a,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&r())):r()}else{0;const n=e.subTree=$(e);0,y(null,n,r,i,e,a,s),t.el=n.el}if(d&&Ft(d,a),!h&&(n=u&&u.onVnodeMounted)){const e=t;Ft((()=>Or(n,f,e)),a)}(256&t.shapeFlag||f&&pe(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Ft(e.a,a),e.isMounted=!0,t=r=i=null}},l=e.effect=new n.qq(u,(()=>_(d)),e.scope),d=e.update=()=>l.run();d.id=e.uid,jt(e,!0),d()},U=(e,t,r)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,_t(e,t.props,o,r),Bt(e,t.children,r),(0,n.Jd)(),T(),(0,n.lk)()},j=(e,t,r,n,o,i,a,s,c=!1)=>{const u=e&&e.children,l=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void q(u,d,r,n,o,i,a,s,c);if(256&h)return void V(u,d,r,n,o,i,a,s,c)}8&p?(16&l&&X(u,o,i),d!==u&&f(r,d)):16&l?16&p?q(u,d,r,n,o,i,a,s,c):X(u,o,i,!0):(8&l&&f(r,""),16&p&&N(d,r,n,o,i,a,s,c))},V=(e,t,r,n,i,a,s,c,u)=>{e=e||o.Z6,t=t||o.Z6;const l=e.length,d=t.length,f=Math.min(l,d);let h;for(h=0;hd?X(e,i,a,!0,!1,f):N(t,r,n,i,a,s,c,u,f)},q=(e,t,r,n,i,a,s,c,u)=>{let l=0;const d=t.length;let f=e.length-1,h=d-1;while(l<=f&&l<=h){const n=e[l],o=t[l]=u?Cr(t[l]):Tr(t[l]);if(!hr(n,o))break;y(n,o,r,null,i,a,s,c,u),l++}while(l<=f&&l<=h){const n=e[f],o=t[h]=u?Cr(t[h]):Tr(t[h]);if(!hr(n,o))break;y(n,o,r,null,i,a,s,c,u),f--,h--}if(l>f){if(l<=h){const e=h+1,o=eh)while(l<=f)W(e[l],i,a,!0),l++;else{const p=l,g=l,m=new Map;for(l=g;l<=h;l++){const e=t[l]=u?Cr(t[l]):Tr(t[l]);null!=e.key&&m.set(e.key,l)}let v,w=0;const b=h-g+1;let _=!1,E=0;const S=new Array(b);for(l=0;l=b){W(n,i,a,!0);continue}let o;if(null!=n.key)o=m.get(n.key);else for(v=g;v<=h;v++)if(0===S[v-g]&&hr(n,t[v])){o=v;break}void 0===o?W(n,i,a,!0):(S[o-g]=l+1,o>=E?E=o:_=!0,y(n,t[o],r,null,i,a,s,c,u),w++)}const A=_?Vt(S):o.Z6;for(v=A.length-1,l=b-1;l>=0;l--){const e=g+l,o=t[e],f=e+1{const{el:a,type:s,transition:c,children:u,shapeFlag:l}=e;if(6&l)return void G(e.component.subTree,t,r,n);if(128&l)return void e.suspense.move(t,r,n);if(64&l)return void s.move(e,t,r,ee);if(s===Qt){i(a,t,r);for(let e=0;ec.enter(a)),o);else{const{leave:e,delayLeave:n,afterLeave:o}=c,s=()=>i(a,t,r),u=()=>{e(a,(()=>{s(),o&&o()}))};n?n(a,s,u):u()}else i(a,t,r)},W=(e,t,r,n=!1,o=!1)=>{const{type:i,props:a,ref:s,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:d,dirs:f}=e;if(null!=s&&Lt(s,null,r,e,!0),256&l)return void t.ctx.deactivate(e);const h=1&l&&f,p=!pe(e);let g;if(p&&(g=a&&a.onVnodeBeforeUnmount)&&Or(g,t,e),6&l)Y(e.component,r,n);else{if(128&l)return void e.suspense.unmount(r,n);h&&te(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,r,o,ee,n):u&&(i!==Qt||d>0&&64&d)?X(u,t,r,!1,!0):(i===Qt&&384&d||!o&&16&l)&&X(c,t,r),n&&Z(e)}(p&&(g=a&&a.onVnodeUnmounted)||h)&&Ft((()=>{g&&Or(g,t,e),h&&te(e,null,t,"unmounted")}),r)},Z=e=>{const{type:t,el:r,anchor:n,transition:o}=e;if(t===Qt)return void K(r,n);if(t===rr)return void A(e);const i=()=>{a(r),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:n}=o,a=()=>t(r,i);n?n(e.el,i,a):a()}else i()},K=(e,t)=>{let r;while(e!==t)r=p(e),a(e),e=r;a(t)},Y=(e,t,r)=>{const{bum:n,scope:i,update:a,subTree:s,um:c}=e;n&&(0,o.ir)(n),i.stop(),a&&(a.active=!1,W(s,e,t,r)),c&&Ft(c,t),Ft((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,r,n=!1,o=!1,i=0)=>{for(let a=i;a6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Q=(e,t,r)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,r),T(),C(),t._vnode=e},ee={p:y,um:W,m:G,r:Z,mt:L,mc:N,pc:j,pbc:k,n:J,o:e};let re,ne;return t&&([re,ne]=t(ee)),{render:Q,hydrate:re,createApp:mt(Q,re)}}function jt({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function zt(e,t,r=!1){const n=e.children,i=t.children;if((0,o.kJ)(n)&&(0,o.kJ)(i))for(let o=0;o>1,e[r[s]]0&&(t[n]=r[i-1]),r[i]=n)}}i=r.length,a=r[i-1];while(i-- >0)r[i]=a,a=t[a];return r}const Ht=e=>e.__isTeleport,qt=e=>e&&(e.disabled||""===e.disabled),Gt=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,Wt=(e,t)=>{const r=e&&e.to;if((0,o.HD)(r)){if(t){const e=t(r);return e}return null}return r},Zt={__isTeleport:!0,process(e,t,r,n,o,i,a,s,c,u){const{mc:l,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:m}}=u,y=qt(t.props);let{shapeFlag:v,children:w,dynamicChildren:b}=t;if(null==e){const e=t.el=g(""),u=t.anchor=g("");h(e,r,n),h(u,r,n);const d=t.target=Wt(t.props,p),f=t.targetAnchor=g("");d&&(h(f,d),a=a||Gt(d));const m=(e,t)=>{16&v&&l(w,e,t,o,i,a,s,c)};y?m(r,u):d&&m(d,f)}else{t.el=e.el;const n=t.anchor=e.anchor,l=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=qt(e.props),m=g?r:l,v=g?n:h;if(a=a||Gt(l),b?(f(e.dynamicChildren,b,m,o,i,a,s),zt(e,t,!0)):c||d(e,t,m,v,o,i,a,s,!1),y)g||Kt(t,r,n,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Wt(t.props,p);e&&Kt(t,e,null,u,0)}else g&&Kt(t,l,h,u,1)}Jt(t)},remove(e,t,r,n,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:u,targetAnchor:l,target:d,props:f}=e;if(d&&i(l),(a||!qt(f))&&(i(u),16&s))for(let h=0;h0?or||o.Z6:null,ar(),sr>0&&or&&or.push(e),e}function lr(e,t,r,n,o,i){return ur(yr(e,t,r,n,o,i,!0))}function dr(e,t,r,n,o){return ur(vr(e,t,r,n,o,!0))}function fr(e){return!!e&&!0===e.__v_isVNode}function hr(e,t){return e.type===t.type&&e.key===t.key}const pr="__vInternal",gr=({key:e})=>null!=e?e:null,mr=({ref:e,ref_key:t,ref_for:r})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,n.dq)(e)||(0,o.mf)(e)?{i:R,r:e,k:t,f:!!r}:e:null);function yr(e,t=null,r=null,n=0,i=null,a=(e===Qt?0:1),s=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gr(t),ref:t&&mr(t),scopeId:M,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:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:R};return c?(xr(u,r),128&a&&e.normalize(u)):r&&(u.shapeFlag|=(0,o.HD)(r)?8:16),sr>0&&!s&&or&&(u.patchFlag>0||6&a)&&32!==u.patchFlag&&or.push(u),u}const vr=wr;function wr(e,t=null,r=null,i=0,a=null,s=!1){if(e&&e!==$e||(e=tr),fr(e)){const n=_r(e,t,!0);return r&&xr(n,r),sr>0&&!s&&or&&(6&n.shapeFlag?or[or.indexOf(e)]=n:or.push(n)),n.patchFlag|=-2,n}if(Jr(e)&&(e=e.__vccOpts),t){t=br(t);let{class:e,style:r}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(r)&&((0,n.X3)(r)&&!(0,o.kJ)(r)&&(r=(0,o.l7)({},r)),t.style=(0,o.j5)(r))}const c=(0,o.HD)(e)?1:q(e)?128:Ht(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return yr(e,t,r,i,a,c,s,!0)}function br(e){return e?(0,n.X3)(e)||pr in e?(0,o.l7)({},e):e:null}function _r(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:s}=e,c=t?Ir(n||{},t):n,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&gr(c),ref:t&&t.ref?r&&i?(0,o.kJ)(i)?i.concat(mr(t)):[i,mr(t)]:mr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qt?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_r(e.ssContent),ssFallback:e.ssFallback&&_r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u}function Er(e=" ",t=0){return vr(er,null,e,t)}function Sr(e,t){const r=vr(rr,null,e);return r.staticCount=t,r}function Ar(e="",t=!1){return t?(ir(),dr(tr,null,e)):vr(tr,null,e)}function Tr(e){return null==e||"boolean"===typeof e?vr(tr):(0,o.kJ)(e)?vr(Qt,null,e.slice()):"object"===typeof e?Cr(e):vr(er,null,String(e))}function Cr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:_r(e)}function xr(e,t){let r=0;const{shapeFlag:n}=e;if(null==t)t=null;else if((0,o.kJ)(t))r=16;else if("object"===typeof t){if(65&n){const r=t.default;return void(r&&(r._c&&(r._d=!1),xr(e,r()),r._c&&(r._d=!0)))}{r=32;const n=t._;n||pr in t?3===n&&R&&(1===R.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=R}}else(0,o.mf)(t)?(t={default:t,_ctx:R},r=32):(t=String(t),64&n?(r=16,t=[Er(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ir(...e){const t={};for(let r=0;rRr||R;let Br,Lr,Dr="__VUE_INSTANCE_SETTERS__";(Lr=(0,o.E9)()[Dr])||(Lr=(0,o.E9)()[Dr]=[]),Lr.push((e=>Rr=e)),Br=e=>{Lr.length>1?Lr.forEach((t=>t(e))):Lr[0](e)};const Fr=e=>{Br(e),e.scope.on()},$r=()=>{Rr&&Rr.scope.off(),Br(null)};function Ur(e){return 4&e.vnode.shapeFlag}let jr,zr,Vr=!1;function Hr(e,t=!1){Vr=t;const{props:r,children:n}=e.vnode,o=Ur(e);bt(e,r,o,t),Mt(e,n);const i=o?qr(e,t):void 0;return Vr=!1,i}function qr(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=(0,n.Xl)(new Proxy(e.ctx,Xe));const{setup:i}=r;if(i){const r=e.setupContext=i.length>1?Kr(e):null;Fr(e),(0,n.Jd)();const s=a(i,e,0,[e.props,r]);if((0,n.lk)(),$r(),(0,o.tI)(s)){if(s.then($r,$r),t)return s.then((r=>{Gr(e,r,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=s}else Gr(e,s,t)}else Wr(e,t)}function Gr(e,t,r){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,n.WL)(t)),Wr(e,r)}function Wr(e,t,r){const i=e.type;if(!e.render){if(!t&&jr&&!i.render){const t=i.template||ot(e).template;if(t){0;const{isCustomElement:r,compilerOptions:n}=e.appContext.config,{delimiters:a,compilerOptions:s}=i,c=(0,o.l7)((0,o.l7)({isCustomElement:r,delimiters:a},n),s);i.render=jr(t,c)}}e.render=i.render||o.dG,zr&&zr(e)}Fr(e),(0,n.Jd)(),et(e),(0,n.lk)(),$r()}function Zr(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return(0,n.j)(e,"get","$attrs"),t[r]}}))}function Kr(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return Zr(e)},slots:e.slots,emit:e.emit,expose:t}}function Yr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,n.WL)((0,n.Xl)(e.exposed)),{get(t,r){return r in t?t[r]:r in Ke?Ke[r](e):void 0},has(e,t){return t in e||t in Ke}}))}function Xr(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function Jr(e){return(0,o.mf)(e)&&"__vccOpts"in e}const Qr=(e,t)=>(0,n.Fl)(e,t,Vr);function en(e,t,r){const n=arguments.length;return 2===n?(0,o.Kn)(t)&&!(0,o.kJ)(t)?fr(t)?vr(e,null,[t]):vr(e,t):vr(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):3===n&&fr(r)&&(r=[r]),vr(e,t,r))}const tn=Symbol.for("v-scx"),rn=()=>{{const e=wt(tn);return e}};const nn="3.3.2"},49963:(e,t,r)=>{"use strict";r.d(t,{D2:()=>pe,F8:()=>ge,e8:()=>ae,iM:()=>fe,ri:()=>be,uT:()=>B});var n=r(3577),o=r(66252),i=r(2262);const a="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,c=s&&s.createElement("template"),u={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?s.createElementNS(a,e):s.createElement(e,r?{is:r}:void 0);return"select"===e&&n&&null!=n.multiple&&o.setAttribute("multiple",n.multiple),o},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const a=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),r),o===i||!(o=o.nextSibling))break}else{c.innerHTML=n?`${e}`:e;const o=c.content;if(n){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function l(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function d(e,t,r){const o=e.style,i=(0,n.HD)(r);if(r&&!i){if(t&&!(0,n.HD)(t))for(const e in t)null==r[e]&&h(o,e,"");for(const e in r)h(o,e,r[e])}else{const n=o.display;i?t!==r&&(o.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=n)}}const f=/\s*!important$/;function h(e,t,r){if((0,n.kJ)(r))r.forEach((r=>h(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const o=m(e,t);f.test(r)?e.setProperty((0,n.rs)(o),r.replace(f,""),"important"):e[o]=r}}const p=["Webkit","Moz","ms"],g={};function m(e,t){const r=g[t];if(r)return r;let o=(0,n._A)(t);if("filter"!==o&&o in e)return g[t]=o;o=(0,n.kC)(o);for(let n=0;nT||(C.then((()=>T=0)),T=Date.now());function I(e,t){const r=e=>{if(e._vts){if(e._vts<=r.attached)return}else e._vts=Date.now();(0,o.$d)(O(e,r.value),t,5,[e])};return r.value=e,r.attached=x(),r}function O(e,t){if((0,n.kJ)(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const N=/^on[a-z]/,P=(e,t,r,o,i=!1,a,s,c,u)=>{"class"===t?l(e,o,i):"style"===t?d(e,r,o):(0,n.F7)(t)?(0,n.tR)(t)||E(e,t,r,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):k(e,t,o,i))?w(e,t,o,a,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),v(e,t,o,i))};function k(e,t,r,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&N.test(t)&&(0,n.mf)(r)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!N.test(t)||!(0,n.HD)(r))&&t in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;const R="transition",M="animation",B=(e,{slots:t})=>(0,o.h)(o.P$,U(e),t);B.displayName="Transition";const L={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},D=B.props=(0,n.l7)({},o.nJ,L),F=(e,t=[])=>{(0,n.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},$=e=>!!e&&((0,n.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function U(e){const t={};for(const n in e)n in L||(t[n]=e[n]);if(!1===e.css)return t;const{name:r="v",type:o,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:u=a,appearActiveClass:l=s,appearToClass:d=c,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,g=j(i),m=g&&g[0],y=g&&g[1],{onBeforeEnter:v,onEnter:w,onEnterCancelled:b,onLeave:_,onLeaveCancelled:E,onBeforeAppear:S=v,onAppear:A=w,onAppearCancelled:T=b}=t,C=(e,t,r)=>{H(e,t?d:c),H(e,t?l:s),r&&r()},x=(e,t)=>{e._isLeaving=!1,H(e,f),H(e,p),H(e,h),t&&t()},I=e=>(t,r)=>{const n=e?A:w,i=()=>C(t,e,r);F(n,[t,i]),q((()=>{H(t,e?u:a),V(t,e?d:c),$(n)||W(t,o,m,i)}))};return(0,n.l7)(t,{onBeforeEnter(e){F(v,[e]),V(e,a),V(e,s)},onBeforeAppear(e){F(S,[e]),V(e,u),V(e,l)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const r=()=>x(e,t);V(e,f),X(),V(e,h),q((()=>{e._isLeaving&&(H(e,f),V(e,p),$(_)||W(e,o,y,r))})),F(_,[e,r])},onEnterCancelled(e){C(e,!1),F(b,[e])},onAppearCancelled(e){C(e,!0),F(T,[e])},onLeaveCancelled(e){x(e),F(E,[e])}})}function j(e){if(null==e)return null;if((0,n.Kn)(e))return[z(e.enter),z(e.leave)];{const t=z(e);return[t,t]}}function z(e){const t=(0,n.He)(e);return t}function V(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function H(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function q(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let G=0;function W(e,t,r,n){const o=e._endId=++G,i=()=>{o===e._endId&&n()};if(r)return setTimeout(i,r);const{type:a,timeout:s,propCount:c}=Z(e,t);if(!a)return n();const u=a+"end";let l=0;const d=()=>{e.removeEventListener(u,f),i()},f=t=>{t.target===e&&++l>=c&&d()};setTimeout((()=>{l(r[e]||"").split(", "),o=n(`${R}Delay`),i=n(`${R}Duration`),a=K(o,i),s=n(`${M}Delay`),c=n(`${M}Duration`),u=K(s,c);let l=null,d=0,f=0;t===R?a>0&&(l=R,d=a,f=i.length):t===M?u>0&&(l=M,d=u,f=c.length):(d=Math.max(a,u),l=d>0?a>u?R:M:null,f=l?l===R?i.length:c.length:0);const h=l===R&&/\b(transform|all)(,|$)/.test(n(`${R}Property`).toString());return{type:l,timeout:d,propCount:f,hasTransform:h}}function K(e,t){while(e.lengthY(t)+Y(e[r]))))}function Y(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function X(){return document.body.offsetHeight}const J=new WeakMap,Q=new WeakMap,ee={name:"TransitionGroup",props:(0,n.l7)({},D,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=(0,o.FN)(),n=(0,o.Y8)();let a,s;return(0,o.ic)((()=>{if(!a.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!oe(a[0].el,r.vnode.el,t))return;a.forEach(te),a.forEach(re);const n=a.filter(ne);X(),n.forEach((e=>{const r=e.el,n=r.style;V(r,t),n.transform=n.webkitTransform=n.transitionDuration="";const o=r._moveCb=e=>{e&&e.target!==r||e&&!/transform$/.test(e.propertyName)||(r.removeEventListener("transitionend",o),r._moveCb=null,H(r,t))};r.addEventListener("transitionend",o)}))})),()=>{const c=(0,i.IU)(e),u=U(c);let l=c.tag||o.HY;a=s,s=t.default?(0,o.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&n.classList.remove(e)))})),r.split(/\s+/).forEach((e=>e&&n.classList.add(e))),n.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(n);const{hasTransform:i}=Z(n);return o.removeChild(n),i}const ie=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,n.kJ)(t)?e=>(0,n.ir)(t,e):t};const ae={deep:!0,created(e,t,r){e._assign=ie(r),b(e,"change",(()=>{const t=e._modelValue,r=ce(e),o=e.checked,i=e._assign;if((0,n.kJ)(t)){const e=(0,n.hq)(t,r),a=-1!==e;if(o&&!a)i(t.concat(r));else if(!o&&a){const r=[...t];r.splice(e,1),i(r)}}else if((0,n.DM)(t)){const e=new Set(t);o?e.add(r):e.delete(r),i(e)}else i(ue(e,o))}))},mounted:se,beforeUpdate(e,t,r){e._assign=ie(r),se(e,t,r)}};function se(e,{value:t,oldValue:r},o){e._modelValue=t,(0,n.kJ)(t)?e.checked=(0,n.hq)(t,o.props.value)>-1:(0,n.DM)(t)?e.checked=t.has(o.props.value):t!==r&&(e.checked=(0,n.WV)(t,ue(e,!0)))}function ce(e){return"_value"in e?e._value:e.value}function ue(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const le=["ctrl","shift","alt","meta"],de={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>le.some((r=>e[`${r}Key`]&&!t.includes(r)))},fe=(e,t)=>(r,...n)=>{for(let e=0;er=>{if(!("key"in r))return;const o=(0,n.rs)(r.key);return t.some((e=>e===o||he[e]===o))?e(r):void 0},ge={beforeMount(e,{value:t},{transition:r}){e._vod="none"===e.style.display?"":e.style.display,r&&t?r.beforeEnter(e):me(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),me(e,!0),n.enter(e)):n.leave(e,(()=>{me(e,!1)})):me(e,t))},beforeUnmount(e,{value:t}){me(e,t)}};function me(e,t){e.style.display=t?e._vod:"none"}const ye=(0,n.l7)({patchProp:P},u);let ve;function we(){return ve||(ve=(0,o.Us)(ye))}const be=(...e)=>{const t=we().createApp(...e);const{mount:r}=t;return t.mount=e=>{const o=_e(e);if(!o)return;const i=t._component;(0,n.mf)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const a=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function _e(e){if((0,n.HD)(e)){const t=document.querySelector(e);return t}return e}},3577:(e,t,r)=>{"use strict";function n(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[e.toLowerCase()]:e=>!!r[e]}r.d(t,{C_:()=>J,DM:()=>y,E9:()=>H,F7:()=>u,Gg:()=>N,HD:()=>_,He:()=>z,Kj:()=>w,Kn:()=>S,NO:()=>s,Nj:()=>U,Od:()=>f,PO:()=>I,Pq:()=>te,RI:()=>p,S0:()=>O,W7:()=>x,WV:()=>oe,Z6:()=>i,_A:()=>R,_N:()=>m,aU:()=>F,dG:()=>a,e1:()=>G,fY:()=>n,h5:()=>j,hR:()=>D,hq:()=>ie,ir:()=>$,j5:()=>W,kC:()=>L,kJ:()=>g,kT:()=>o,l7:()=>d,mf:()=>b,rs:()=>B,tI:()=>A,tR:()=>l,vs:()=>Q,yA:()=>re,yk:()=>E,zw:()=>ae});const o={},i=[],a=()=>{},s=()=>!1,c=/^on[^a-z]/,u=e=>c.test(e),l=e=>e.startsWith("onUpdate:"),d=Object.assign,f=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},h=Object.prototype.hasOwnProperty,p=(e,t)=>h.call(e,t),g=Array.isArray,m=e=>"[object Map]"===C(e),y=e=>"[object Set]"===C(e),v=e=>"[object Date]"===C(e),w=e=>"[object RegExp]"===C(e),b=e=>"function"===typeof e,_=e=>"string"===typeof e,E=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,A=e=>S(e)&&b(e.then)&&b(e.catch),T=Object.prototype.toString,C=e=>T.call(e),x=e=>C(e).slice(8,-1),I=e=>"[object Object]"===C(e),O=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,N=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return r=>{const n=t[r];return n||(t[r]=e(r))}},k=/-(\w)/g,R=P((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,B=P((e=>e.replace(M,"-$1").toLowerCase())),L=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=P((e=>e?`on${L(e)}`:"")),F=(e,t)=>!Object.is(e,t),$=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t},z=e=>{const t=_(e)?Number(e):NaN;return isNaN(t)?e:t};let V;const H=()=>V||(V="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{});const q="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",G=n(q);function W(e){if(g(e)){const t={};for(let r=0;r{if(e){const r=e.split(K);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function J(e){let t="";if(_(e))t=e;else if(g(e))for(let r=0;roe(e,t)))}const ae=e=>_(e)?e:null==e?"":g(e)||S(e)&&(e.toString===T||!b(e.toString))?JSON.stringify(e,se,2):String(e),se=(e,t)=>t&&t.__v_isRef?se(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:y(t)?{[`Set(${t.size})`]:[...t.values()]}:!S(t)||g(t)||I(t)?t:String(t)},71076:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BarcodeFormat:()=>n.BarcodeFormat,BrowserAztecCodeReader:()=>m,BrowserCodeReader:()=>p,BrowserCodeSvgWriter:()=>I,BrowserDatamatrixCodeReader:()=>b,BrowserMultiFormatOneDReader:()=>v,BrowserMultiFormatReader:()=>E,BrowserPDF417Reader:()=>A,BrowserQRCodeReader:()=>C,BrowserQRCodeSvgWriter:()=>N,HTMLCanvasElementLuminanceSource:()=>i});var n=r(83205),o=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(e){function t(r){var n=e.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=t.makeBufferFromCanvasImageData(r),n}return o(t,e),t.makeBufferFromCanvasImageData=function(e){var r=e.getContext("2d");if(!r)throw new Error("Couldn't get canvas context.");var n=r.getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(n.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,t,r){for(var n=new Uint8ClampedArray(t*r),o=0,i=0,a=e.length;o>10}n[i]=s}return n},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new n.IllegalArgumentException("Requested row is outside the image: "+e);var r=this.getWidth(),o=e*r;return null===t?t=this.buffer.slice(o,o+r):(t.length0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h={delayBetweenScanAttempts:500,delayBetweenScanSuccess:500,tryPlayVideoTimeout:5e3},p=function(){function e(e,t,r){void 0===t&&(t=new Map),void 0===r&&(r={}),this.reader=e,this.hints=t,this.options=u(u({},h),r)}return Object.defineProperty(e.prototype,"possibleFormats",{set:function(e){this.hints.set(n.DecodeHintType.POSSIBLE_FORMATS,e)},enumerable:!1,configurable:!0}),e.addVideoSource=function(e,t){try{e.srcObject=t}catch(r){console.error("got interrupted by new loading request")}},e.mediaStreamSetTorch=function(e,t){return l(this,void 0,void 0,(function(){return d(this,(function(r){switch(r.label){case 0:return[4,e.applyConstraints({advanced:[{fillLightMode:t?"flash":"off",torch:!!t}]})];case 1:return r.sent(),[2]}}))}))},e.mediaStreamIsTorchCompatible=function(t){var r,n,o=t.getVideoTracks();try{for(var i=f(o),a=i.next();!a.done;a=i.next()){var s=a.value;if(e.mediaStreamIsTorchCompatibleTrack(s))return!0}}catch(c){r={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},e.mediaStreamIsTorchCompatibleTrack=function(e){try{var t=e.getCapabilities();return"torch"in t}catch(r){return console.error(r),console.warn("Your browser may be not fully compatible with WebRTC and/or ImageCapture specs. Torch will not be available."),!1}},e.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&e.readyState>2},e.getMediaElement=function(e,t){var r=document.getElementById(e);if(!r)throw new n.ArgumentException("element with id '".concat(e,"' not found"));if(r.nodeName.toLowerCase()!==t.toLowerCase())throw new n.ArgumentException("element with id '".concat(e,"' must be an ").concat(t," element"));return r},e.createVideoElement=function(t){if(t instanceof HTMLVideoElement)return t;if("string"===typeof t)return e.getMediaElement(t,"video");if(!t&&"undefined"!==typeof document){var r=document.createElement("video");return r.width=200,r.height=200,r}throw new Error("Couldn't get videoElement from videoSource!")},e.prepareImageElement=function(t){if(t instanceof HTMLImageElement)return t;if("string"===typeof t)return e.getMediaElement(t,"img");if("undefined"===typeof t){var r=document.createElement("img");return r.width=200,r.height=200,r}throw new Error("Couldn't get imageElement from imageSource!")},e.prepareVideoElement=function(t){var r=e.createVideoElement(t);return r.setAttribute("autoplay","true"),r.setAttribute("muted","true"),r.setAttribute("playsinline","true"),r},e.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.createBinaryBitmapFromCanvas=function(e){var t=new i(e),r=new n.HybridBinarizer(t);return new n.BinaryBitmap(r)},e.drawImageOnCanvas=function(e,t){e.drawImage(t,0,0)},e.getMediaElementDimensions=function(e){if(e instanceof HTMLVideoElement)return{height:e.videoHeight,width:e.videoWidth};if(e instanceof HTMLImageElement)return{height:e.naturalHeight||e.height,width:e.naturalWidth||e.width};throw new Error("Couldn't find the Source's dimensions!")},e.createCaptureCanvas=function(t){if(!t)throw new n.ArgumentException("Cannot create a capture canvas without a media element.");if("undefined"===typeof document)throw new Error('The page "Document" is undefined, make sure you\'re running in a browser.');var r=document.createElement("canvas"),o=e.getMediaElementDimensions(t),i=o.width,a=o.height;return r.style.width=i+"px",r.style.height=a+"px",r.width=i,r.height=a,r},e.tryPlayVideo=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:if(null===t||void 0===t?void 0:t.ended)return console.error("Trying to play video that has ended."),[2,!1];if(e.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2,!0];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,t.play()];case 2:return n.sent(),[2,!0];case 3:return r=n.sent(),console.warn("It was not possible to play the video.",r),[2,!1];case 4:return[2]}}))}))},e.createCanvasFromMediaElement=function(t){var r=e.createCaptureCanvas(t),n=r.getContext("2d");if(!n)throw new Error("Couldn't find Canvas 2D Context.");return e.drawImageOnCanvas(n,t),r},e.createBinaryBitmapFromMediaElem=function(t){var r=e.createCanvasFromMediaElement(t);return e.createBinaryBitmapFromCanvas(r)},e.destroyImageElement=function(e){e.src="",e.removeAttribute("src"),e=void 0},e.listVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var e,t,r,n,o,i,s,u,l,h,p,g;return d(this,(function(d){switch(d.label){case 0:if(!a())throw new Error("Can't enumerate devices, navigator is not present.");if(!c())throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=d.sent(),t=[];try{for(r=f(e),n=r.next();!n.done;n=r.next())o=n.value,i="video"===o.kind?"videoinput":o.kind,"videoinput"===i&&(s=o.deviceId||o.id,u=o.label||"Video device ".concat(t.length+1),l=o.groupId,h={deviceId:s,label:u,kind:i,groupId:l},t.push(h))}catch(m){p={error:m}}finally{try{n&&!n.done&&(g=r.return)&&g.call(r)}finally{if(p)throw p.error}}return[2,t]}}))}))},e.findDeviceById=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,e.listVideoInputDevices()];case 1:return r=n.sent(),r?[2,r.find((function(e){return e.deviceId===t}))]:[2]}}))}))},e.cleanVideoSource=function(e){if(e){try{e.srcObject=null}catch(t){e.src=""}e&&e.removeAttribute("src")}},e.releaseAllStreams=function(){0!==e.streamTracker.length&&e.streamTracker.forEach((function(e){e.getTracks().forEach((function(e){return e.stop()}))})),e.streamTracker=[]},e.playVideoOnLoadAsync=function(t,r){return l(this,void 0,void 0,(function(){var n;return d(this,(function(o){switch(o.label){case 0:return[4,e.tryPlayVideo(t)];case 1:return n=o.sent(),n?[2,!0]:[2,new Promise((function(n,o){var i=setTimeout((function(){e.isVideoPlaying(t)||(o(!1),t.removeEventListener("canplay",a))}),r),a=function(){e.tryPlayVideo(t).then((function(e){clearTimeout(i),t.removeEventListener("canplay",a),n(e)}))};t.addEventListener("canplay",a)}))]}}))}))},e.attachStreamToVideo=function(t,r,n){return void 0===n&&(n=5e3),l(this,void 0,void 0,(function(){var o;return d(this,(function(i){switch(i.label){case 0:return o=e.prepareVideoElement(r),e.addVideoSource(o,t),[4,e.playVideoOnLoadAsync(o,n)];case 1:return i.sent(),[2,o]}}))}))},e._waitImageLoad=function(t){return new Promise((function(r,n){var o=1e4,i=setTimeout((function(){e.isImageLoaded(t)||(t.removeEventListener("load",a),n())}),o),a=function(){clearTimeout(i),t.removeEventListener("load",a),r()};t.addEventListener("load",a)}))},e.checkCallbackFnOrThrow=function(e){if(!e)throw new n.ArgumentException("`callbackFn` is a required parameter, you cannot capture results without it.")},e.disposeMediaStream=function(e){e.getVideoTracks().forEach((function(e){return e.stop()})),e=void 0},e.prototype.decode=function(t){var r=e.createCanvasFromMediaElement(t);return this.decodeFromCanvas(r)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this.hints)},e.prototype.decodeFromCanvas=function(t){var r=e.createBinaryBitmapFromCanvas(t);return this.decodeBitmap(r)},e.prototype.decodeFromImageElement=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(o){switch(o.label){case 0:if(!t)throw new n.ArgumentException("An image element must be provided.");return r=e.prepareImageElement(t),[4,this._decodeOnLoadImage(r)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeFromImageUrl=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(o){switch(o.label){case 0:if(!t)throw new n.ArgumentException("An URL must be provided.");r=e.prepareImageElement(),r.src=t,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.decodeFromImageElement(r)];case 2:return[2,o.sent()];case 3:return e.destroyImageElement(r),[7];case 4:return[2]}}))}))},e.prototype.decodeFromConstraints=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:return e.checkCallbackFnOrThrow(n),[4,this.getUserMedia(t)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.decodeFromStream(o,r,n)];case 3:return[2,a.sent()];case 4:throw i=a.sent(),e.disposeMediaStream(o),i;case 5:return[2]}}))}))},e.prototype.decodeFromStream=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i,a,s,c,h,p,g,m,y=this;return d(this,(function(v){switch(v.label){case 0:return e.checkCallbackFnOrThrow(n),o=this.options.tryPlayVideoTimeout,[4,e.attachStreamToVideo(t,r,o)];case 1:return i=v.sent(),a=function(){e.disposeMediaStream(t),e.cleanVideoSource(i)},s=this.scan(i,n,a),c=t.getVideoTracks(),h=u(u({},s),{stop:function(){s.stop()},streamVideoConstraintsApply:function(e,t){return l(this,void 0,void 0,(function(){var r,n,o,i,a,s,u;return d(this,(function(l){switch(l.label){case 0:r=t?c.filter(t):c,l.label=1;case 1:l.trys.push([1,6,7,8]),n=f(r),o=n.next(),l.label=2;case 2:return o.done?[3,5]:(i=o.value,[4,i.applyConstraints(e)]);case 3:l.sent(),l.label=4;case 4:return o=n.next(),[3,2];case 5:return[3,8];case 6:return a=l.sent(),s={error:a},[3,8];case 7:try{o&&!o.done&&(u=n.return)&&u.call(n)}finally{if(s)throw s.error}return[7];case 8:return[2]}}))}))},streamVideoConstraintsGet:function(e){return c.find(e).getConstraints()},streamVideoSettingsGet:function(e){return c.find(e).getSettings()},streamVideoCapabilitiesGet:function(e){return c.find(e).getCapabilities()}}),p=e.mediaStreamIsTorchCompatible(t),p&&(g=null===c||void 0===c?void 0:c.find((function(t){return e.mediaStreamIsTorchCompatibleTrack(t)})),m=function(t){return l(y,void 0,void 0,(function(){return d(this,(function(r){switch(r.label){case 0:return[4,e.mediaStreamSetTorch(g,t)];case 1:return r.sent(),[2]}}))}))},h.switchTorch=m,h.stop=function(){return l(y,void 0,void 0,(function(){return d(this,(function(e){switch(e.label){case 0:return s.stop(),[4,m(!1)];case 1:return e.sent(),[2]}}))}))}),[2,h]}}))}))},e.prototype.decodeFromVideoDevice=function(t,r,n){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:return e.checkCallbackFnOrThrow(n),o=t?{deviceId:{exact:t}}:{facingMode:"environment"},i={video:o},[4,this.decodeFromConstraints(i,r,n)];case 1:return[2,a.sent()]}}))}))},e.prototype.decodeFromVideoElement=function(t,r){return l(this,void 0,void 0,(function(){var o,i;return d(this,(function(a){switch(a.label){case 0:if(e.checkCallbackFnOrThrow(r),!t)throw new n.ArgumentException("A video element must be provided.");return o=e.prepareVideoElement(t),i=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(o,i)];case 1:return a.sent(),[2,this.scan(o,r)]}}))}))},e.prototype.decodeFromVideoUrl=function(t,r){return l(this,void 0,void 0,(function(){var o,i,a,s;return d(this,(function(c){switch(c.label){case 0:if(e.checkCallbackFnOrThrow(r),!t)throw new n.ArgumentException("An URL must be provided.");return o=e.prepareVideoElement(),o.src=t,i=function(){e.cleanVideoSource(o)},a=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(o,a)];case 1:return c.sent(),s=this.scan(o,r,i),[2,s]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,this.getUserMedia(e)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,t)];case 2:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(t,r){return l(this,void 0,void 0,(function(){var n,o,i;return d(this,(function(a){switch(a.label){case 0:return n=Boolean(r),[4,e.attachStreamToVideo(t,r)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,,4,5]),[4,this.scanOneResult(o)];case 3:return i=a.sent(),[2,i];case 4:return n||e.cleanVideoSource(o),[7];case 5:return[2]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return l(this,void 0,void 0,(function(){var r,n;return d(this,(function(o){switch(o.label){case 0:return r=e?{deviceId:{exact:e}}:{facingMode:"environment"},n={video:r},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeOnceFromVideoElement=function(t){return l(this,void 0,void 0,(function(){var r,o;return d(this,(function(i){switch(i.label){case 0:if(!t)throw new n.ArgumentException("A video element must be provided.");return r=e.prepareVideoElement(t),o=this.options.tryPlayVideoTimeout,[4,e.playVideoOnLoadAsync(r,o)];case 1:return i.sent(),[4,this.scanOneResult(r)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeOnceFromVideoUrl=function(t){return l(this,void 0,void 0,(function(){var r,o;return d(this,(function(i){switch(i.label){case 0:if(!t)throw new n.ArgumentException("An URL must be provided.");r=e.prepareVideoElement(),r.src=t,o=this.decodeOnceFromVideoElement(r),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,o];case 2:return[2,i.sent()];case 3:return e.cleanVideoSource(r),[7];case 4:return[2]}}))}))},e.prototype.scanOneResult=function(e,t,r,o){var i=this;return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===o&&(o=!0),new Promise((function(a,s){i.scan(e,(function(e,i,c){if(e)return a(e),void c.stop();if(i){if(i instanceof n.NotFoundException&&t)return;if(i instanceof n.ChecksumException&&r)return;if(i instanceof n.FormatException&&o)return;c.stop(),s(i)}}))}))},e.prototype.scan=function(t,r,o){var i=this;e.checkCallbackFnOrThrow(r);var a=e.createCaptureCanvas(t),s=a.getContext("2d");if(!s)throw new Error("Couldn't create canvas for visual element scan.");var c,u=function(){s=void 0,a=void 0},l=!1,d=function(){l=!0,clearTimeout(c),u(),o&&o()},f={stop:d},h=function(){if(!l)try{e.drawImageOnCanvas(s,t);var d=i.decodeFromCanvas(a);r(d,void 0,f),c=setTimeout(h,i.options.delayBetweenScanSuccess)}catch(y){r(void 0,y,f);var p=y instanceof n.ChecksumException,g=y instanceof n.FormatException,m=y instanceof n.NotFoundException;if(p||g||m)return void(c=setTimeout(h,i.options.delayBetweenScanAttempts));u(),o&&o(y)}};return h(),f},e.prototype._decodeOnLoadImage=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return r=e.isImageLoaded(t),r?[3,2]:[4,e._waitImageLoad(t)];case 1:n.sent(),n.label=2;case 2:return[2,this.decode(t)]}}))}))},e.prototype.getUserMedia=function(t){return l(this,void 0,void 0,(function(){var r;return d(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=n.sent(),e.streamTracker.push(r),[2,r]}}))}))},e.streamTracker=[],e}(),g=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(e){function t(t,r){return e.call(this,new n.AztecCodeReader,t,r)||this}return g(t,e),t}(p),y=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v=function(e){function t(t,r){return e.call(this,new n.MultiFormatOneDReader(t),t,r)||this}return y(t,e),t}(p),w=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b=function(e){function t(t,r){return e.call(this,new n.DataMatrixReader,t,r)||this}return w(t,e),t}(p),_=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),E=function(e){function t(t,r){var o=this,i=new n.MultiFormatReader;return i.setHints(t),o=e.call(this,i,t,r)||this,o.reader=i,o}return _(t,e),Object.defineProperty(t.prototype,"possibleFormats",{set:function(e){this.hints.set(n.DecodeHintType.POSSIBLE_FORMATS,e),this.reader.setHints(this.hints)},enumerable:!1,configurable:!0}),t.prototype.decodeBitmap=function(e){return this.reader.decodeWithState(e)},t.prototype.setHints=function(e){this.hints=e,this.reader.setHints(this.hints)},t}(p),S=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),A=function(e){function t(t,r){return e.call(this,new n.PDF417Reader,t,r)||this}return S(t,e),t}(p),T=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e){function t(t,r){return e.call(this,new n.QRCodeReader,t,r)||this}return T(t,e),t}(p),x="http://www.w3.org/2000/svg",I=function(){function e(e){if("string"===typeof e){var t=document.getElementById(e);if(!t)throw new Error("Could not find a Container element with '".concat(e,"'."));this.containerElement=t}else this.containerElement=e}return e.prototype.write=function(t,r,o,i){if(0===t.length)throw new n.IllegalArgumentException("Found empty contents");if(r<0||o<0)throw new n.IllegalArgumentException("Requested dimensions are too small: "+r+"x"+o);var a=i&&void 0!==i.get(n.EncodeHintType.MARGIN)?Number.parseInt(i.get(n.EncodeHintType.MARGIN).toString(),10):e.QUIET_ZONE_SIZE,s=this.encode(i,t);return this.renderResult(s,r,o,a)},e.prototype.createSVGElement=function(t,r){var n=document.createElementNS(e.SVG_NS,"svg");return n.setAttributeNS(x,"width",r.toString()),n.setAttributeNS(x,"height",t.toString()),n},e.prototype.createSvgPathPlaceholderElement=function(t,r){var n=document.createElementNS(e.SVG_NS,"path");return n.setAttributeNS(x,"d","M0 0h".concat(t,"v").concat(r,"H0z")),n.setAttributeNS(x,"fill","none"),n},e.prototype.createSvgRectElement=function(t,r,n,o){var i=document.createElementNS(e.SVG_NS,"rect");return i.setAttributeNS(x,"x",t.toString()),i.setAttributeNS(x,"y",r.toString()),i.setAttributeNS(x,"height",n.toString()),i.setAttributeNS(x,"width",o.toString()),i.setAttributeNS(x,"fill","#000000"),i},e.prototype.encode=function(e,t){var r=n.QRCodeDecoderErrorCorrectionLevel.L;if(e&&void 0!==e.get(n.EncodeHintType.ERROR_CORRECTION)){var o=e.get(n.EncodeHintType.ERROR_CORRECTION).toString();r=n.QRCodeDecoderErrorCorrectionLevel.fromString(o)}var i=n.QRCodeEncoder.encode(t,r,e);return i},e.prototype.renderResult=function(e,t,r,o){var i=e.getMatrix();if(null===i)throw new n.IllegalStateException;var a=i.getWidth(),s=i.getHeight(),c=a+2*o,u=s+2*o,l=Math.max(t,c),d=Math.max(r,u),f=Math.min(Math.floor(l/c),Math.floor(d/u)),h=Math.floor((l-a*f)/2),p=Math.floor((d-s*f)/2),g=this.createSVGElement(l,d),m=this.createSvgPathPlaceholderElement(t,r);g.appendChild(m),this.containerElement.appendChild(g);for(var y=0,v=p;y{"use strict";function n(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function o(e,t){void 0===t&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}r.d(t,{ArgumentException:()=>f,AztecCodeReader:()=>Ct,BarcodeFormat:()=>Ie,BinaryBitmap:()=>y,ChecksumException:()=>b,DataMatrixReader:()=>To,DecodeHintType:()=>$,EncodeHintType:()=>Ya,FormatException:()=>z,HybridBinarizer:()=>fe,IllegalArgumentException:()=>g,IllegalStateException:()=>Ze,InvertedLuminanceSource:()=>ye,LuminanceSource:()=>pe,MultiFormatOneDReader:()=>to,MultiFormatReader:()=>qa,NotFoundException:()=>ae,PDF417Reader:()=>$a,QRCodeDecoderErrorCorrectionLevel:()=>Oo,QRCodeEncoder:()=>gs,QRCodeReader:()=>Ei});var i=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=function(e){function t(t,r){var i=this.constructor,a=e.call(this,t,r)||this;return Object.defineProperty(a,"name",{value:i.name,enumerable:!1,configurable:!0}),n(a,i.prototype),o(a),a}return i(t,e),t}(Error);var s=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=function(e){function t(t){void 0===t&&(t=void 0);var r=e.call(this,t)||this;return r.message=t,r}return s(t,e),t.prototype.getKind=function(){var e=this.constructor;return e.kind},t.kind="Exception",t}(a);const u=c;var l=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.kind="ArgumentException",t}(u);const f=d;var h=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.kind="IllegalArgumentException",t}(u);const g=p;var m=function(){function e(e){if(this.binarizer=e,null===e)throw new g("Binarizer must be non-null.")}return e.prototype.getWidth=function(){return this.binarizer.getWidth()},e.prototype.getHeight=function(){return this.binarizer.getHeight()},e.prototype.getBlackRow=function(e,t){return this.binarizer.getBlackRow(e,t)},e.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},e.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},e.prototype.crop=function(t,r,n,o){var i=this.binarizer.getLuminanceSource().crop(t,r,n,o);return new e(this.binarizer.createBinarizer(i))},e.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},e.prototype.rotateCounterClockwise=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new e(this.binarizer.createBinarizer(t))},e.prototype.rotateCounterClockwise45=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new e(this.binarizer.createBinarizer(t))},e.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(e){return""}},e}();const y=m;var v=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.getChecksumInstance=function(){return new t},t.kind="ChecksumException",t}(u);const b=w;var _=function(){function e(e){this.source=e}return e.prototype.getLuminanceSource=function(){return this.source},e.prototype.getWidth=function(){return this.source.getWidth()},e.prototype.getHeight=function(){return this.source.getHeight()},e}();const E=_;var S=function(){function e(){}return e.arraycopy=function(e,t,r,n,o){while(o--)r[n++]=e[t++]},e.currentTimeMillis=function(){return Date.now()},e}();const A=S;var T=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.kind="IndexOutOfBoundsException",t}(u);const x=C;var I=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=function(e){function t(t,r){void 0===t&&(t=void 0),void 0===r&&(r=void 0);var n=e.call(this,r)||this;return n.index=t,n.message=r,n}return I(t,e),t.kind="ArrayIndexOutOfBoundsException",t}(x);const N=O;var P=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},k=function(){function e(){}return e.fill=function(e,t){for(var r=0,n=e.length;rr)throw new g("fromIndex("+t+") > toIndex("+r+")");if(t<0)throw new N(t);if(r>e)throw new N(r)},e.asList=function(){for(var e=[],t=0;t>1,s=n(r,t[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},e.numberComparator=function(e,t){return e-t},e}();const R=k;var M=function(){function e(){}return e.numberOfTrailingZeros=function(e){var t;if(0===e)return 32;var r=31;return t=e<<16,0!==t&&(r-=16,e=t),t=e<<8,0!==t&&(r-=8,e=t),t=e<<4,0!==t&&(r-=4,e=t),t=e<<2,0!==t&&(r-=2,e=t),r-(e<<1>>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16===0&&(t+=16,e<<=16),e>>>24===0&&(t+=8,e<<=8),e>>>28===0&&(t+=4,e<<=4),e>>>30===0&&(t+=2,e<<=2),t-=e>>>31,t},e.toHexString=function(e){return e.toString(16)},e.toBinaryString=function(e){return String(parseInt(String(e),2))},e.bitCount=function(e){return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),e=e+(e>>>4)&252645135,e+=e>>>8,e+=e>>>16,63&e},e.truncDivision=function(e,t){return Math.trunc(e/t)},e.parseInt=function(e,t){return void 0===t&&(t=void 0),parseInt(e,t)},e.MIN_VALUE_32_BITS=-2147483648,e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();const B=M;var L=function(){function e(t,r){void 0===t?(this.size=0,this.bits=new Int32Array(1)):(this.size=t,this.bits=void 0===r||null===r?e.makeArray(t):r)}return e.prototype.getSize=function(){return this.size},e.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},e.prototype.ensureCapacity=function(t){if(t>32*this.bits.length){var r=e.makeArray(t);A.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},e.prototype.get=function(e){return 0!==(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=r[n];o&=~((1<<(31&e))-1);var i=r.length;while(0===o){if(++n===i)return t;o=r[n]}var a=32*n+B.numberOfTrailingZeros(o);return a>t?t:a},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=~r[n];o&=~((1<<(31&e))-1);var i=r.length;while(0===o){if(++n===i)return t;o=~r[n]}var a=32*n+B.numberOfTrailingZeros(o);return a>t?t:a},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(tthis.size)throw new g;if(t!==e){t--;for(var r=Math.floor(e/32),n=Math.floor(t/32),o=this.bits,i=r;i<=n;i++){var a=i>r?0:31&e,s=ithis.size)throw new g;if(t===e)return!0;t--;for(var n=Math.floor(e/32),o=Math.floor(t/32),i=this.bits,a=n;a<=o;a++){var s=a>n?0:31&e,c=a32)throw new g("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(var r=t;r>0;r--)this.appendBit(1===(e>>r-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t);for(var r=0;r>1&1431655765|(1431655765&i)<<1,i=i>>2&858993459|(858993459&i)<<2,i=i>>4&252645135|(252645135&i)<<4,i=i>>8&16711935|(16711935&i)<<8,i=i>>16&65535|(65535&i)<<16,e[t-o]=i}if(this.size!==32*r){var a=32*r-this.size,s=e[0]>>>a;for(o=1;o>>a}e[r-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.size===r.size&&R.equals(this.bits,r.bits)},e.prototype.hashCode=function(){return 31*this.size+R.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,r=this.size;t=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};(function(e){e[e["Cp437"]=0]="Cp437",e[e["ISO8859_1"]=1]="ISO8859_1",e[e["ISO8859_2"]=2]="ISO8859_2",e[e["ISO8859_3"]=3]="ISO8859_3",e[e["ISO8859_4"]=4]="ISO8859_4",e[e["ISO8859_5"]=5]="ISO8859_5",e[e["ISO8859_6"]=6]="ISO8859_6",e[e["ISO8859_7"]=7]="ISO8859_7",e[e["ISO8859_8"]=8]="ISO8859_8",e[e["ISO8859_9"]=9]="ISO8859_9",e[e["ISO8859_10"]=10]="ISO8859_10",e[e["ISO8859_11"]=11]="ISO8859_11",e[e["ISO8859_13"]=12]="ISO8859_13",e[e["ISO8859_14"]=13]="ISO8859_14",e[e["ISO8859_15"]=14]="ISO8859_15",e[e["ISO8859_16"]=15]="ISO8859_16",e[e["SJIS"]=16]="SJIS",e[e["Cp1250"]=17]="Cp1250",e[e["Cp1251"]=18]="Cp1251",e[e["Cp1252"]=19]="Cp1252",e[e["Cp1256"]=20]="Cp1256",e[e["UnicodeBigUnmarked"]=21]="UnicodeBigUnmarked",e[e["UTF8"]=22]="UTF8",e[e["ASCII"]=23]="ASCII",e[e["Big5"]=24]="Big5",e[e["GB18030"]=25]="GB18030",e[e["EUC_KR"]=26]="EUC_KR"})(V||(V={}));var q=function(){function e(t,r,n){for(var o,i,a=[],s=3;s=900)throw new z("incorect value");var r=e.VALUES_TO_ECI.get(t);if(void 0===r)throw new z("incorect value");return r},e.getCharacterSetECIByName=function(t){var r=e.NAME_TO_ECI.get(t);if(void 0===r)throw new z("incorect value");return r},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.getName()===r.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(V.Cp437,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(V.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(V.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(V.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(V.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(V.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(V.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(V.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(V.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(V.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(V.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(V.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(V.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(V.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(V.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(V.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(V.SJIS,20,"SJIS","Shift_JIS"),e.Cp1250=new e(V.Cp1250,21,"Cp1250","windows-1250"),e.Cp1251=new e(V.Cp1251,22,"Cp1251","windows-1251"),e.Cp1252=new e(V.Cp1252,23,"Cp1252","windows-1252"),e.Cp1256=new e(V.Cp1256,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(V.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(V.UTF8,26,"UTF8","UTF-8"),e.ASCII=new e(V.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(V.Big5,28,"Big5"),e.GB18030=new e(V.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(V.EUC_KR,30,"EUC_KR","EUC-KR"),e}();const G=q;var W=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.kind="UnsupportedOperationException",t}(u);const K=Z;var Y=function(){function e(){}return e.decode=function(e,t){var r=this.encodingName(t);return this.customDecoder?this.customDecoder(e,r):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(e,r):new TextDecoder(r).decode(e)},e.shouldDecodeOnFallback=function(t){return!e.isBrowser()&&"ISO-8859-1"===t},e.encode=function(e,t){var r=this.encodingName(t);return this.customEncoder?this.customEncoder(e,r):"undefined"===typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},e.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"===typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return e instanceof G?e:G.getCharacterSetECIByName(e)},e.decodeFallback=function(t,r){var n=this.encodingCharacterSet(r);if(e.isDecodeFallbackSupported(n)){for(var o="",i=0,a=t.length;i3&&239===t[0]&&187===t[1]&&191===t[2],w=0;w0?0===(128&b)?a=!1:s--:0!==(128&b)&&(0===(64&b)?a=!1:(s++,0===(32&b)?c++:(s++,0===(16&b)?u++:(s++,0===(8&b)?l++:a=!1))))),o&&(b>127&&b<160?o=!1:b>159&&(b<192||215===b||247===b)&&y++),i&&(d>0?b<64||127===b||b>252?i=!1:d--:128===b||160===b||b>239?i=!1:b>160&&b<224?(f++,p=0,h++,h>g&&(g=h)):b>127?(d++,h=0,p++,p>m&&(m=p)):(h=0,p=0))}return a&&s>0&&(a=!1),i&&d>0&&(i=!1),a&&(v||c+u+l>0)?e.UTF8:i&&(e.ASSUME_SHIFT_JIS||g>=3||m>=3)?e.SHIFT_JIS:o&&i?2===g&&2===f||10*y>=n?e.SHIFT_JIS:e.ISO88591:o?e.ISO88591:i?e.SHIFT_JIS:a?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],r=1;ra){if(-1===s)s=i-a;else if(i-a!==s)throw new g("row lengths do not match");a=i,c++}u++}else if(t.substring(u,u+r.length)===r)u+=r.length,o[i]=!0,i++;else{if(t.substring(u,u+n.length)!==n)throw new g("illegal character encountered: "+t.substring(u));u+=n.length,o[i]=!1,i++}if(i>a){if(-1===s)s=i-a;else if(i-a!==s)throw new g("row lengths do not match");c++}for(var l=new e(s,c),d=0;d>>(31&e)&1)},e.prototype.set=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new g("input matrix dimensions do not match");for(var t=new D(Math.floor(this.width/32)+1),r=this.rowSize,n=this.bits,o=0,i=this.height;othis.height||o>this.width)throw new g("The region must fit inside the matrix");for(var a=this.rowSize,s=this.bits,c=t;cs&&(s=c),32*ua){d=31;while(l>>>d===0)d--;32*u+d>a&&(a=32*u+d)}}}return a=0&&0===t[r])r--;if(r<0)return null;var n=Math.floor(r/e),o=32*Math.floor(r%e),i=t[r],a=31;while(i>>>a===0)a--;return o+=a,Int32Array.from([o,n])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&R.equals(this.bits,r.bits)},e.prototype.hashCode=function(){var e=this.width;return e=31*e+this.width,e=31*e+this.height,e=31*e+this.rowSize,e=31*e+R.hashCode(this.bits),e},e.prototype.toString=function(e,t,r){return void 0===e&&(e="X "),void 0===t&&(t=" "),void 0===r&&(r="\n"),this.buildToString(e,t,r)},e.prototype.buildToString=function(e,t,r){for(var n=new te,o=0,i=this.height;o>t.LUMINANCE_SHIFT]++;var c=t.estimateBlackPoint(a);if(o<3)for(s=0;s>t.LUMINANCE_SHIFT]++}var f=t.estimateBlackPoint(i),h=e.getMatrix();for(a=0;ai&&(o=a,i=e[a]),e[a]>n&&(n=e[a]);var s=0,c=0;for(a=0;ac&&(s=a,c=l)}if(o>s){var d=o;o=s,s=d}if(s-o<=r/16)throw new ae;var f=s-1,h=-1;for(a=s-1;a>o;a--){var p=a-o;l=p*p*(s-a)*(n-e[a]);l>h&&(f=a,h=l)}return f<=t.MINIMUM_DIMENSION&&o>=t.MINIMUM_DIMENSION){var i=r.getMatrix(),a=n>>t.BLOCK_SIZE_POWER;0!==(n&t.BLOCK_SIZE_MASK)&&a++;var s=o>>t.BLOCK_SIZE_POWER;0!==(o&t.BLOCK_SIZE_MASK)&&s++;var c=t.calculateBlackPoints(i,a,s,n,o),u=new ne(n,o);t.calculateThresholdForBlock(i,a,s,n,o,c,u),this.matrix=u}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,r,n,o,i,a,s){for(var c=i-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,l=0;lc&&(d=c);for(var f=t.cap(l,2,n-3),h=0;hu&&(p=u);for(var g=t.cap(h,2,r-3),m=0,y=-2;y<=2;y++){var v=a[f+y];m+=v[g-2]+v[g-1]+v[g]+v[g+1]+v[g+2]}var w=m/25;t.thresholdBlock(e,p,d,w,o,s)}}},t.cap=function(e,t,r){return er?r:e},t.thresholdBlock=function(e,r,n,o,i,a){for(var s=0,c=n*i+r;sa&&(l=a);for(var d=0;ds&&(f=s);for(var h=0,p=255,g=0,m=0,y=l*o+f;mg&&(g=w)}if(g-p>t.MIN_DYNAMIC_RANGE)for(m++,y+=o;m>2*t.BLOCK_SIZE_POWER;if(g-p<=t.MIN_DYNAMIC_RANGE&&(b=p/2,u>0&&d>0)){var _=(c[u-1][d]+2*c[u][d-1]+c[u-1][d-1])/4;p<_&&(b=_)}c[u][d]=b}}return c},t.BLOCK_SIZE_POWER=3,t.BLOCK_SIZE=1<>10}o[a]=c}else{i=0,a=0;for(var h=e.length;i>10}o[a]=255-c}}return o},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new g("Requested row is outside the image: "+e);var r=this.getWidth(),n=e*r;return null===t?t=this.buffer.slice(n,n+r):(t.length0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ae=function(){function e(e,t,r){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!1,configurable:!0}),e.prototype.listVideoInputDevices=function(){return _e(this,void 0,void 0,(function(){var e,t,r,n,o,i,a,s,c,u,l,d;return Ee(this,(function(f){switch(f.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=f.sent(),t=[];try{for(r=Se(e),n=r.next();!n.done;n=r.next())o=n.value,i="video"===o.kind?"videoinput":o.kind,"videoinput"===i&&(a=o.deviceId||o.id,s=o.label||"Video device "+(t.length+1),c=o.groupId,u={deviceId:a,label:s,kind:i,groupId:c},t.push(u))}catch(h){l={error:h}}finally{try{n&&!n.done&&(d=r.return)&&d.call(r)}finally{if(l)throw l.error}}return[2,t]}}))}))},e.prototype.getVideoInputDevices=function(){return _e(this,void 0,void 0,(function(){var e;return Ee(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return e=t.sent(),[2,e.map((function(e){return new be(e.deviceId,e.label)}))]}}))}))},e.prototype.findDeviceById=function(e){return _e(this,void 0,void 0,(function(){var t;return Ee(this,(function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return t=r.sent(),t?[2,t.find((function(t){return t.deviceId===e}))]:[2,null]}}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){return _e(this,void 0,void 0,(function(){return Ee(this,(function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,r.sent()]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return _e(this,void 0,void 0,(function(){var r,n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),r=e?{deviceId:{exact:e}}:{facingMode:"environment"},n={video:r},[4,this.decodeOnceFromConstraints(n,t)];case 1:return[2,o.sent()]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return _e(this,void 0,void 0,(function(){var r;return Ee(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,t)];case 2:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(e,t){return _e(this,void 0,void 0,(function(){var r,n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return r=o.sent(),[4,this.decodeOnce(r)];case 2:return n=o.sent(),[2,n]}}))}))},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,r){return _e(this,void 0,void 0,(function(){return Ee(this,(function(n){switch(n.label){case 0:return[4,this.decodeFromVideoDevice(e,t,r)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeFromVideoDevice=function(e,t,r){return _e(this,void 0,void 0,(function(){var n,o;return Ee(this,(function(i){switch(i.label){case 0:return n=e?{deviceId:{exact:e}}:{facingMode:"environment"},o={video:n},[4,this.decodeFromConstraints(o,t,r)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromConstraints=function(e,t,r){return _e(this,void 0,void 0,(function(){var n;return Ee(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=o.sent(),[4,this.decodeFromStream(n,t,r)];case 2:return[2,o.sent()]}}))}))},e.prototype.decodeFromStream=function(e,t,r){return _e(this,void 0,void 0,(function(){var n;return Ee(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=o.sent(),[4,this.decodeContinuously(n,r)];case 2:return[2,o.sent()]}}))}))},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return _e(this,void 0,void 0,(function(){var r;return Ee(this,(function(n){switch(n.label){case 0:return r=this.prepareVideoElement(t),this.addVideoSource(r,e),this.videoElement=r,this.stream=e,[4,this.playVideoOnLoadAsync(r)];case 1:return n.sent(),[2,r]}}))}))},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise((function(r,n){return t.playVideoOnLoad(e,(function(){return r()}))}))},e.prototype.playVideoOnLoad=function(e,t){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return _e(this,void 0,void 0,(function(){return Ee(this,(function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},e.prototype.getMediaElement=function(e,t){var r=document.getElementById(e);if(!r)throw new f("element with id '"+e+"' not found");if(r.nodeName.toLowerCase()!==t.toLowerCase())throw new f("element with id '"+e+"' must be an "+t+" element");return r},e.prototype.decodeFromImage=function(e,t){if(!e&&!t)throw new f("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,t){if(!e&&!t)throw new f("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,t,r){if(void 0===e&&void 0===t)throw new f("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,r):this.decodeFromVideoElementContinuously(e,r)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new f("An image element must be provided.");this.reset();var t,r=this.prepareImageElement(e);return this.imageElement=r,t=this.isImageLoaded(r)?this.decodeOnce(r,!1,!0):this._decodeOnLoadImage(r),t},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var r=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(r,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new f("A video element must be provided.");this.reset();var t=this.prepareVideoElement(e);return this.videoElement=t,t},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new f("An URL must be provided.");this.reset();var t=this.prepareImageElement();this.imageElement=t;var r=this._decodeOnLoadImage(t);return t.src=e,r},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new f("An URL must be provided.");this.reset();var t=this.prepareVideoElement(),r=this.decodeFromVideoElement(t);return t.src=e,r},e.prototype.decodeFromVideoUrlContinuously=function(e,t){if(!e)throw new f("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),n=this.decodeFromVideoElementContinuously(r,t);return r.src=e,n},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise((function(r,n){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(r,n)},e.addEventListener("load",t.imageLoadedListener)}))},e.prototype._decodeOnLoadVideo=function(e){return _e(this,void 0,void 0,(function(){return Ee(this,(function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}}))}))},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return _e(this,void 0,void 0,(function(){return Ee(this,(function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return r.sent(),this.decodeContinuously(e,t),[2]}}))}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){var t;return"undefined"===typeof e&&(t=document.createElement("img"),t.width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||"undefined"===typeof document||(t=document.createElement("video"),t.width=200,t.height=200),"string"===typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t},e.prototype.decodeOnce=function(e,t,r){var n=this;void 0===t&&(t=!0),void 0===r&&(r=!0),this._stopAsyncDecode=!1;var o=function(i,a){if(n._stopAsyncDecode)return a(new ae("Video stream has ended before any code could be detected.")),void(n._stopAsyncDecode=void 0);try{var s=n.decode(e);i(s)}catch(d){var c=t&&d instanceof ae,u=d instanceof b||d instanceof z,l=u&&r;if(c||l)return setTimeout(o,n._timeBetweenDecodingAttempts,i,a);a(d)}};return new Promise((function(e,t){return o(e,t)}))},e.prototype.decodeContinuously=function(e,t){var r=this;this._stopContinuousDecode=!1;var n=function(){if(r._stopContinuousDecode)r._stopContinuousDecode=void 0;else try{var o=r.decode(e);t(o,null),setTimeout(n,r.timeBetweenScansMillis)}catch(s){t(null,s);var i=s instanceof b||s instanceof z,a=s instanceof ae;(i||a)&&setTimeout(n,r._timeBetweenDecodingAttempts)}};n()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){this.getCaptureCanvasContext(e);e instanceof HTMLVideoElement?this.drawFrameOnCanvas(e):this.drawImageOnCanvas(e);var t=this.getCaptureCanvas(e),r=new we(t),n=new fe(r);return new y(n)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e),r=void 0;try{r=t.getContext("2d",{willReadFrequently:!0})}catch(n){r=t.getContext("2d")}this.captureCanvasContext=r}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawFrameOnCanvas=function(e,t,r){void 0===t&&(t={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.drawImageOnCanvas=function(e,t,r){void 0===t&&(t={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(e,t.sx,t.sy,t.sWidth,t.sHeight,t.dx,t.dy,t.dWidth,t.dHeight)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var t,r,n=document.createElement("canvas");return"undefined"!==typeof e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,r=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,r=e.naturalHeight||e.height)),n.style.width=t+"px",n.style.height=r+"px",n.width=t,n.height=r,n},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(e){return e.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&("undefined"!==typeof this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),"undefined"!==typeof this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),"undefined"!==typeof this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(r){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")},e}(),Te=function(){function e(e,t,r,n,o,i){void 0===r&&(r=null==t?0:8*t.length),void 0===i&&(i=A.currentTimeMillis()),this.text=e,this.rawBytes=t,this.numBits=r,this.resultPoints=n,this.format=o,this.timestamp=i,this.text=e,this.rawBytes=t,this.numBits=void 0===r||null===r?null===t||void 0===t?0:8*t.length:r,this.resultPoints=n,this.format=o,this.resultMetadata=null,this.timestamp=void 0===i||null===i?A.currentTimeMillis():i}return e.prototype.getText=function(){return this.text},e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.getBarcodeFormat=function(){return this.format},e.prototype.getResultMetadata=function(){return this.resultMetadata},e.prototype.putMetadata=function(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)},e.prototype.putAllMetadata=function(e){null!==e&&(null===this.resultMetadata?this.resultMetadata=e:this.resultMetadata=new Map(e))},e.prototype.addResultPoints=function(e){var t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){var r=new Array(t.length+e.length);A.arraycopy(t,0,r,0,t.length),A.arraycopy(e,0,r,t.length,e.length),this.resultPoints=r}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();const Ce=Te;var xe;(function(e){e[e["AZTEC"]=0]="AZTEC",e[e["CODABAR"]=1]="CODABAR",e[e["CODE_39"]=2]="CODE_39",e[e["CODE_93"]=3]="CODE_93",e[e["CODE_128"]=4]="CODE_128",e[e["DATA_MATRIX"]=5]="DATA_MATRIX",e[e["EAN_8"]=6]="EAN_8",e[e["EAN_13"]=7]="EAN_13",e[e["ITF"]=8]="ITF",e[e["MAXICODE"]=9]="MAXICODE",e[e["PDF_417"]=10]="PDF_417",e[e["QR_CODE"]=11]="QR_CODE",e[e["RSS_14"]=12]="RSS_14",e[e["RSS_EXPANDED"]=13]="RSS_EXPANDED",e[e["UPC_A"]=14]="UPC_A",e[e["UPC_E"]=15]="UPC_E",e[e["UPC_EAN_EXTENSION"]=16]="UPC_EAN_EXTENSION"})(xe||(xe={}));const Ie=xe;var Oe;(function(e){e[e["OTHER"]=0]="OTHER",e[e["ORIENTATION"]=1]="ORIENTATION",e[e["BYTE_SEGMENTS"]=2]="BYTE_SEGMENTS",e[e["ERROR_CORRECTION_LEVEL"]=3]="ERROR_CORRECTION_LEVEL",e[e["ISSUE_NUMBER"]=4]="ISSUE_NUMBER",e[e["SUGGESTED_PRICE"]=5]="SUGGESTED_PRICE",e[e["POSSIBLE_COUNTRY"]=6]="POSSIBLE_COUNTRY",e[e["UPC_EAN_EXTENSION"]=7]="UPC_EAN_EXTENSION",e[e["PDF417_EXTRA_METADATA"]=8]="PDF417_EXTRA_METADATA",e[e["STRUCTURED_APPEND_SEQUENCE"]=9]="STRUCTURED_APPEND_SEQUENCE",e[e["STRUCTURED_APPEND_PARITY"]=10]="STRUCTURED_APPEND_PARITY"})(Oe||(Oe={}));const Ne=Oe;var Pe=function(){function e(e,t,r,n,o,i){void 0===o&&(o=-1),void 0===i&&(i=-1),this.rawBytes=e,this.text=t,this.byteSegments=r,this.ecLevel=n,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=i,this.numBits=void 0===e||null===e?0:8*e.length}return e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.setNumBits=function(e){this.numBits=e},e.prototype.getText=function(){return this.text},e.prototype.getByteSegments=function(){return this.byteSegments},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getErrorsCorrected=function(){return this.errorsCorrected},e.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},e.prototype.getErasures=function(){return this.erasures},e.prototype.setErasures=function(e){this.erasures=e},e.prototype.getOther=function(){return this.other},e.prototype.setOther=function(e){this.other=e},e.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();const ke=Pe;var Re=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new g;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();const Me=Re;var Be=function(){function e(e,t){if(0===t.length)throw new g;this.field=e;var r=t.length;if(r>1&&0===t[0]){var n=1;while(nn.length){var o=r;r=n,n=o}var i=new Int32Array(n.length),a=n.length-r.length;A.arraycopy(n,0,i,0,a);for(var s=a;s=e.getDegree()&&!n.isZero()){var a=n.getDegree()-e.getDegree(),s=t.multiply(n.getCoefficient(n.getDegree()),i),c=e.multiplyByMonomial(a,s),u=t.buildMonomial(a,s);r=r.addOrSubtract(u),n=n.addOrSubtract(c)}return[r,n]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);if(0!==r){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),0===t||1!==r){var n=this.field.log(r);0===n?e+="1":1===n?e+="a":(e+="a^",e+=n)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();const Le=Be;var De=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return De(t,e),t.kind="ArithmeticException",t}(u);const $e=Fe;var Ue=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),je=function(e){function t(t,r,n){var o=e.call(this)||this;o.primitive=t,o.size=r,o.generatorBase=n;for(var i=new Int32Array(r),a=1,s=0;s=r&&(a^=t,a&=r-1);o.expTable=i;var c=new Int32Array(r);for(s=0;s=(r/2|0)){var u=i,l=s;if(i=a,s=c,i.isZero())throw new qe("r_{i-1} was zero");a=u;var d=o.getZero(),f=i.getCoefficient(i.getDegree()),h=o.inverse(f);while(a.getDegree()>=i.getDegree()&&!a.isZero()){var p=a.getDegree()-i.getDegree(),g=o.multiply(a.getCoefficient(a.getDegree()),h);d=d.addOrSubtract(o.buildMonomial(p,g)),a=a.addOrSubtract(i.multiplyByMonomial(p,g))}if(c=d.multiply(s).addOrSubtract(l),a.getDegree()>=i.getDegree())throw new Ze("Division algorithm failed to reduce polynomial?")}var m=c.getCoefficient(0);if(0===m)throw new qe("sigmaTilde(0) was zero");var y=o.inverse(m),v=c.multiplyScalar(y),w=a.multiplyScalar(y);return[v,w]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var r=new Int32Array(t),n=0,o=this.field,i=1;i1,p,p+n-1),p+=n-1;else for(var g=n-1;g>=0;--g)h[p++]=0!==(f&1<=8?e.readCode(t,r,8):e.readCode(t,r,n)<<8-n},e.convertBoolArrayToByteArray=function(t){for(var r=new Uint8Array((t.length+7)/8),n=0;n","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}();const Qe=Je;var et=function(){function e(){}return e.round=function(e){return isNaN(e)?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,r,n){var o=e-r,i=t-n;return Math.sqrt(o*o+i*i)},e.sum=function(e){for(var t=0,r=0,n=e.length;r!==n;r++){var o=e[r];t+=o}return t},e}();const tt=et;var rt=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();const nt=rt;var ot=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){if(t instanceof e){var r=t;return this.x===r.x&&this.y===r.y}return!1},e.prototype.hashCode=function(){return 31*nt.floatToIntBits(this.x)+nt.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,r,n,o=this.distance(e[0],e[1]),i=this.distance(e[1],e[2]),a=this.distance(e[0],e[2]);if(i>=o&&i>=a?(r=e[0],t=e[1],n=e[2]):a>=i&&a>=o?(r=e[1],t=e[0],n=e[2]):(r=e[2],t=e[0],n=e[1]),this.crossProductZ(t,r,n)<0){var s=t;t=n,n=s}e[0]=t,e[1]=r,e[2]=n},e.distance=function(e,t){return tt.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,r){var n=t.x,o=t.y;return(r.x-n)*(e.y-o)-(r.y-o)*(e.x-n)},e}();const it=ot;var at=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();const st=at;var ct=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ut=function(e){function t(t,r,n,o,i){var a=e.call(this,t,r)||this;return a.compact=n,a.nbDatablocks=o,a.nbLayers=i,a}return ct(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(st);const lt=ut;var dt=function(){function e(t,r,n,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),void 0!==r&&null!==r||(r=e.INIT_SIZE),void 0!==n&&null!==n||(n=t.getWidth()/2|0),void 0!==o&&null!==o||(o=t.getHeight()/2|0);var i=r/2|0;if(this.leftInit=n-i,this.rightInit=n+i,this.upInit=o-i,this.downInit=o+i,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new ae}return e.prototype.detect=function(){var e=this.leftInit,t=this.rightInit,r=this.upInit,n=this.downInit,o=!1,i=!0,a=!1,s=!1,c=!1,u=!1,l=!1,d=this.width,f=this.height;while(i){i=!1;var h=!0;while((h||!s)&&t=d){o=!0;break}var p=!0;while((p||!c)&&n=f){o=!0;break}var g=!0;while((g||!u)&&e>=0)g=this.containsBlackPoint(r,n,e,!1),g?(e--,i=!0,u=!0):u||e--;if(e<0){o=!0;break}var m=!0;while((m||!l)&&r>=0)m=this.containsBlackPoint(e,t,r,!0),m?(r--,i=!0,l=!0):l||r--;if(r<0){o=!0;break}i&&(a=!0)}if(!o&&a){for(var y=t-e,v=null,w=1;null===v&&wr||s<-1||s>n)throw new ae;o=!1,-1===a?(t[i]=0,o=!0):a===r&&(t[i]=r-1,o=!0),-1===s?(t[i+1]=0,o=!0):s===n&&(t[i+1]=n-1,o=!0)}o=!0;for(i=t.length-2;i>=0&&o;i-=2){a=Math.floor(t[i]),s=Math.floor(t[i+1]);if(a<-1||a>r||s<-1||s>n)throw new ae;o=!1,-1===a?(t[i]=0,o=!0):a===r&&(t[i]=r-1,o=!0),-1===s?(t[i+1]=0,o=!0):s===n&&(t[i+1]=n-1,o=!0)}},e}();const pt=ht;var gt=function(){function e(e,t,r,n,o,i,a,s,c){this.a11=e,this.a21=t,this.a31=r,this.a12=n,this.a22=o,this.a32=i,this.a13=a,this.a23=s,this.a33=c}return e.quadrilateralToQuadrilateral=function(t,r,n,o,i,a,s,c,u,l,d,f,h,p,g,m){var y=e.quadrilateralToSquare(t,r,n,o,i,a,s,c),v=e.squareToQuadrilateral(u,l,d,f,h,p,g,m);return v.times(y)},e.prototype.transformPoints=function(e){for(var t=e.length,r=this.a11,n=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,c=this.a31,u=this.a32,l=this.a33,d=0;d>1&127):(n<<=10,n+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},e.prototype.getRotation=function(e,t){var r=0;e.forEach((function(e,n,o){var i=(e>>t-2<<1)+(1&e);r=(r<<3)+i})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(B.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new ae},e.prototype.getCorrectedParameterData=function(e,t){var r,n;t?(r=7,n=2):(r=10,n=4);for(var o=r-n,i=new Int32Array(r),a=r-1;a>=0;--a)i[a]=15&e,e>>=4;try{var s=new Ye(ze.AZTEC_PARAM);s.decode(i,o)}catch(u){throw new ae}var c=0;for(a=0;a2){var l=this.distancePoint(u,a)*this.nbCenterLayers/(this.distancePoint(o,t)*(this.nbCenterLayers+2));if(l<.75||l>1.25||!this.isWhiteOrBlackRectangle(a,s,c,u))break}t=a,r=s,n=c,o=u,i=!i}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new ae;this.compact=5===this.nbCenterLayers;var d=new it(t.getX()+.5,t.getY()-.5),f=new it(r.getX()+.5,r.getY()+.5),h=new it(n.getX()-.5,n.getY()+.5),p=new it(o.getX()-.5,o.getY()-.5);return this.expandSquare([d,f,h,p],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,r,n;try{var o=new ft(this.image).detect();e=o[0],t=o[1],r=o[2],n=o[3]}catch(u){var i=this.image.getWidth()/2,a=this.image.getHeight()/2;e=this.getFirstDifferent(new Et(i+7,a-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new Et(i+7,a+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Et(i-7,a+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new Et(i-7,a-7),!1,-1,-1).toResultPoint()}var s=tt.round((e.getX()+n.getX()+t.getX()+r.getX())/4),c=tt.round((e.getY()+n.getY()+t.getY()+r.getY())/4);try{o=new ft(this.image,15,s,c).detect();e=o[0],t=o[1],r=o[2],n=o[3]}catch(u){e=this.getFirstDifferent(new Et(s+7,c-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new Et(s+7,c+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Et(s-7,c+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new Et(s-7,c-7),!1,-1,-1).toResultPoint()}return s=tt.round((e.getX()+n.getX()+t.getX()+r.getX())/4),c=tt.round((e.getY()+n.getY()+t.getY()+r.getY())/4),new Et(s,c)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,r,n,o){var i=_t.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,c=a/2+this.nbCenterLayers;return i.sampleGrid(e,a,a,s,s,c,s,c,c,s,c,t.getX(),t.getY(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,r){for(var n=0,o=this.distanceResultPoint(e,t),i=o/r,a=e.getX(),s=e.getY(),c=i*(t.getX()-e.getX())/o,u=i*(t.getY()-e.getY())/o,l=0;l.1&&d<.9?0:d<=.1===c?1:-1},e.prototype.getFirstDifferent=function(e,t,r,n){var o=e.getX()+r,i=e.getY()+n;while(this.isValid(o,i)&&this.image.get(o,i)===t)o+=r,i+=n;o-=r,i-=n;while(this.isValid(o,i)&&this.image.get(o,i)===t)o+=r;o-=r;while(this.isValid(o,i)&&this.image.get(o,i)===t)i+=n;return i-=n,new Et(o,i)},e.prototype.expandSquare=function(e,t,r){var n=r/(2*t),o=e[0].getX()-e[2].getX(),i=e[0].getY()-e[2].getY(),a=(e[0].getX()+e[2].getX())/2,s=(e[0].getY()+e[2].getY())/2,c=new it(a+n*o,s+n*i),u=new it(a-n*o,s-n*i);o=e[1].getX()-e[3].getX(),i=e[1].getY()-e[3].getY(),a=(e[1].getX()+e[3].getX())/2,s=(e[1].getY()+e[3].getY())/2;var l=new it(a+n*o,s+n*i),d=new it(a-n*o,s-n*i),f=[c,l,u,d];return f},e.prototype.isValid=function(e,t){return e>=0&&e0&&t>(a?8:5));r=a?o:15;for(var c=Math.trunc(o/2),u=0;u=o)break;try{i=e.getBlackRow(f,i)}catch(y){continue}for(var h=function(e){if(1===e&&(i.reverse(),t&&!0===t.get($.NEED_RESULT_POINT_CALLBACK))){var r=new Map;t.forEach((function(e,t){return r.set(t,e)})),r.delete($.NEED_RESULT_POINT_CALLBACK),t=r}try{var o=p.decodeRow(f,i,t);if(1===e){o.putMetadata(Ne.ORIENTATION,180);var a=o.getResultPoints();null!==a&&(a[0]=new it(n-a[0].getX()-1,a[0].getY()),a[1]=new it(n-a[1].getX()-1,a[1].getY()))}return{value:o}}catch(s){}},p=this,g=0;g<2;g++){var m=h(g);if("object"===typeof m)return m.value}}throw new ae},e.recordPattern=function(e,t,r){for(var n=r.length,o=0;o=i)throw new ae;var a=!e.get(t),s=0,c=t;while(c0&&o>=0)t.get(--r)!==i&&(o--,i=!i);if(o>=0)throw new ae;e.recordPattern(t,r+1,n)},e.patternMatchVariance=function(e,t,r){for(var n=e.length,o=0,i=0,a=0;ad?l-d:d-l;if(f>r)return Number.POSITIVE_INFINITY;c+=f}return c/o},e}());const Ot=It;var Nt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Nt(t,e),t.findStartPattern=function(e){for(var r=e.getSize(),n=e.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=n,s=!1,c=6,u=n;u=0&&e.isRange(Math.max(0,a-(u-a)/2),a,!1))return Int32Array.from([a,u,d]);a+=i[0]+i[1],i=i.slice(2,i.length-1),i[o-1]=0,i[o]=0,o--}else o++;i[o]=1,s=!s}throw new ae},t.decodeCode=function(e,r,n){Ot.recordPattern(e,n,r);for(var o=t.MAX_AVG_VARIANCE,i=-1,a=0;a=0)return i;throw new ae},t.prototype.decodeRow=function(e,r,n){var o,i=n&&!0===n.get($.ASSUME_GS1),a=t.findStartPattern(r),s=a[2],c=0,u=new Uint8Array(20);switch(u[c++]=s,s){case t.CODE_START_A:o=t.CODE_CODE_A;break;case t.CODE_START_B:o=t.CODE_CODE_B;break;case t.CODE_START_C:o=t.CODE_CODE_C;break;default:throw new z}var l=!1,d=!1,f="",h=a[0],p=a[1],g=Int32Array.from([0,0,0,0,0,0]),m=0,y=0,v=s,w=0,_=!0,E=!1,S=!1;while(!l){var A=d;switch(d=!1,m=y,y=t.decodeCode(r,g,p),u[c++]=y,y!==t.CODE_STOP&&(_=!0),y!==t.CODE_STOP&&(w++,v+=w*y),h=p,p+=g.reduce((function(e,t){return e+t}),0),y){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new z}switch(o){case t.CODE_CODE_A:if(y<64)f+=S===E?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),S=!1;else if(y<96)f+=S===E?String.fromCharCode(y-64):String.fromCharCode(y+64),S=!1;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!E&&S?(E=!0,S=!1):E&&S?(E=!1,S=!1):S=!0;break;case t.CODE_SHIFT:d=!0,o=t.CODE_CODE_B;break;case t.CODE_CODE_B:o=t.CODE_CODE_B;break;case t.CODE_CODE_C:o=t.CODE_CODE_C;break;case t.CODE_STOP:l=!0;break}break;case t.CODE_CODE_B:if(y<96)f+=S===E?String.fromCharCode(" ".charCodeAt(0)+y):String.fromCharCode(" ".charCodeAt(0)+y+128),S=!1;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!E&&S?(E=!0,S=!1):E&&S?(E=!1,S=!1):S=!0;break;case t.CODE_SHIFT:d=!0,o=t.CODE_CODE_A;break;case t.CODE_CODE_A:o=t.CODE_CODE_A;break;case t.CODE_CODE_C:o=t.CODE_CODE_C;break;case t.CODE_STOP:l=!0;break}break;case t.CODE_CODE_C:if(y<100)y<10&&(f+="0"),f+=y;else switch(y!==t.CODE_STOP&&(_=!1),y){case t.CODE_FNC_1:i&&(0===f.length?f+="]C1":f+=String.fromCharCode(29));break;case t.CODE_CODE_A:o=t.CODE_CODE_A;break;case t.CODE_CODE_B:o=t.CODE_CODE_B;break;case t.CODE_STOP:l=!0;break}break}A&&(o=o===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var T=p-h;if(p=r.getNextUnset(p),!r.isRange(p,Math.min(r.getSize(),p+(p-h)/2),!1))throw new ae;if(v-=w*m,v%103!==m)throw new b;var C=f.length;if(0===C)throw new ae;C>0&&_&&(f=o===t.CODE_CODE_C?f.substring(0,C-2):f.substring(0,C-1));for(var x=(a[1]+a[0])/2,I=h+T/2,O=u.length,N=new Uint8Array(O),P=0;P=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Bt=function(e){function t(t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.call(this)||this;return n.usingCheckDigit=t,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return Rt(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c=this.counters;c.fill(0),this.decodeRowResult="";var u,l,d=t.findAsteriskPattern(r,c),f=r.getNextSet(d[1]),h=r.getSize();do{t.recordPattern(r,f,c);var p=t.toNarrowWidePattern(c);if(p<0)throw new ae;u=t.patternToChar(p),this.decodeRowResult+=u,l=f;try{for(var g=(o=void 0,Mt(c)),m=g.next();!m.done;m=g.next()){var y=m.value;f+=y}}catch(O){o={error:O}}finally{try{m&&!m.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}f=r.getNextSet(f)}while("*"!==u);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var w=Mt(c),_=w.next();!_.done;_=w.next()){y=_.value;v+=y}}catch(N){a={error:N}}finally{try{_&&!_.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}var E,S=f-l-v;if(f!==h&&2*Si&&(a=u)}}catch(h){t={error:h}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}i=a,n=0;for(var l=0,d=0,f=0;fi&&(d|=1<0;f++){u=e[f];if(u>i&&(n--,2*u>=l))return-1}return d}}while(n>3);return-1},t.patternToChar=function(e){for(var r=0;r="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")a=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")a=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")a=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)a="\0";else if("V"===i)a="@";else if("W"===i)a="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new z;a=""}break;case"/":if(i>="A"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new z;a=":"}break}r+=a,n++}else r+=o}return r},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(Ot);const Lt=Bt;var Dt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ft=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},$t=function(e){function t(){var t=e.call(this)||this;return t.decodeRowResult="",t.counters=new Int32Array(6),t}return Dt(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c,u,l=this.findAsteriskPattern(r),d=r.getNextSet(l[1]),f=r.getSize(),h=this.counters;h.fill(0),this.decodeRowResult="";do{t.recordPattern(r,d,h);var p=this.toPattern(h);if(p<0)throw new ae;c=this.patternToChar(p),this.decodeRowResult+=c,u=d;try{for(var g=(o=void 0,Ft(h)),m=g.next();!m.done;m=g.next()){var y=m.value;d+=y}}catch(A){o={error:A}}finally{try{m&&!m.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}d=r.getNextSet(d)}while("*"!==c);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var w=Ft(h),b=w.next();!b.done;b=w.next()){y=b.value;v+=y}}catch(T){a={error:T}}finally{try{b&&!b.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}if(d===f||!r.get(d))throw new ae;if(this.decodeRowResult.length<2)throw new ae;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var _=this.decodeExtended(this.decodeRowResult),E=(l[1]+l[0])/2,S=u+v/2;return new Ce(_,null,0,[new it(E,e),new it(S,e)],Ie.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var r=e.getSize(),n=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,i=n,a=!1,s=o.length,c=0,u=n;u4)return-1;if(0===(1&u))for(var d=0;d="a"&&o<="d"){if(n>=t-1)throw new z;var i=e.charAt(n+1),a="\0";switch(o){case"d":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)+32);break;case"a":if(!(i>="A"&&i<="Z"))throw new z;a=String.fromCharCode(i.charCodeAt(0)-64);break;case"b":if(i>="A"&&i<="E")a=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")a=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")a=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)a="\0";else if("V"===i)a="@";else if("W"===i)a="`";else{if(!(i>="X"&&i<="Z"))throw new z;a=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")a=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new z;a=":"}break}r+=a,n++}else r+=o}return r},t.prototype.checkChecksums=function(e){var t=e.length;this.checkOneChecksum(e,t-2,20),this.checkOneChecksum(e,t-1,15)},t.prototype.checkOneChecksum=function(e,r,n){for(var o=1,i=0,a=r-1;a>=0;a--)i+=o*t.ALPHABET_STRING.indexOf(e.charAt(a)),++o>n&&(o=1);if(e.charAt(r)!==t.ALPHABET_STRING[i%47])throw new b},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",t.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],t.ASTERISK_ENCODING=t.CHARACTER_ENCODINGS[47],t}(Ot);const Ut=$t;var jt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),zt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return jt(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a=this.decodeStart(r),s=this.decodeEnd(r),c=new te;t.decodeMiddle(r,a[1],s[0],c);var u=c.toString(),l=null;null!=n&&(l=n.get($.ALLOWED_LENGTHS)),null==l&&(l=t.DEFAULT_ALLOWED_LENGTHS);var d=u.length,f=!1,h=0;try{for(var p=zt(l),g=p.next();!g.done;g=p.next()){var m=g.value;if(d===m){f=!0;break}m>h&&(h=m)}}catch(w){o={error:w}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(!f&&d>h&&(f=!0),!f)throw new z;var y=[new it(a[1],e),new it(s[0],e)],v=new Ce(u,null,0,y,Ie.ITF,(new Date).getTime());return v},t.decodeMiddle=function(e,r,n,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);i.fill(0),a.fill(0),s.fill(0);while(r0&&n>=0;n--){if(e.get(n))break;r--}if(0!==r)throw new ae},t.skipWhiteSpace=function(e){var t=e.getSize(),r=e.getNextSet(0);if(r===t)throw new ae;return r},t.prototype.decodeEnd=function(e){e.reverse();try{var r=t.skipWhiteSpace(e),n=void 0;try{n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[0])}catch(i){i instanceof ae&&(n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,n[0]);var o=n[0];return n[0]=e.getSize()-n[1],n[1]=e.getSize()-o,n}finally{e.reverse()}},t.findGuardPattern=function(e,r,n){var o=n.length,i=new Int32Array(o),a=e.getSize(),s=!1,c=0,u=r;i.fill(0);for(var l=r;l=0)return n%10;throw new ae},t.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=Int32Array.from([1,1,1,1]),t.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],t}(Ot);const Ht=Vt;var qt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.decodeRowStringBuffer="",t}return qt(t,e),t.findStartGuardPattern=function(e){var r,n=!1,o=0,i=Int32Array.from([0,0,0]);while(!n){i=Int32Array.from([0,0,0]),r=t.findGuardPattern(e,o,!1,this.START_END_PATTERN,i);var a=r[0];o=r[1];var s=a-(o-a);s>=0&&(n=e.isRange(s,a,!1))}return r},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var r=e.length;if(0===r)return!1;var n=parseInt(e.charAt(r-1),10);return t.getStandardUPCEANChecksum(e.substring(0,r-1))===n},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,r=0,n=t-1;n>=0;n-=2){var o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}r*=3;for(n=t-2;n>=0;n-=2){o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}return(1e3-r)%10},t.decodeEnd=function(e,r){return t.findGuardPattern(e,r,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPatternWithoutCounters=function(e,t,r,n){return this.findGuardPattern(e,t,r,n,new Int32Array(n.length))},t.findGuardPattern=function(e,r,n,o,i){var a=e.getSize();r=n?e.getNextUnset(r):e.getNextSet(r);for(var s=0,c=r,u=o.length,l=n,d=r;d=0)return a;throw new ae},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=Int32Array.from([1,1,1]),t.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),t.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],t}(Ot);const Wt=Gt;var Zt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Kt=function(){function e(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,n){var o=this.decodeRowStringBuffer,i=this.decodeMiddle(r,n,o),a=o.toString(),s=e.parseExtensionString(a),c=[new it((n[0]+n[1])/2,t),new it(i,t)],u=new Ce(a,null,0,c,Ie.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&u.putAllMetadata(s),u},e.prototype.decodeMiddle=function(t,r,n){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),c=r[1],u=0,l=0;l<5&&c=10&&(u|=1<<4-l),4!==l&&(c=t.getNextSet(c),c=t.getNextUnset(c))}if(5!==n.length)throw new ae;var g=this.determineCheckDigit(u);if(e.extensionChecksum(n.toString())!==g)throw new ae;return c},e.extensionChecksum=function(e){for(var t=e.length,r=0,n=t-2;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=t-1;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return r*=3,r%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new ae},e.parseExtensionString=function(t){if(5!==t.length)return null;var r=e.parseExtension5String(t);return null==r?null:new Map([[Ne.SUGGESTED_PRICE,r]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="£";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t="";break}var r=parseInt(e.substring(1)),n=(r/100).toString(),o=r%100,i=o<10?"0"+o:o.toString();return t+n+"."+i},e}();const Yt=Kt;var Xt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Jt=function(){function e(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,n){var o=this.decodeRowStringBuffer,i=this.decodeMiddle(r,n,o),a=o.toString(),s=e.parseExtensionString(a),c=[new it((n[0]+n[1])/2,t),new it(i,t)],u=new Ce(a,null,0,c,Ie.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&u.putAllMetadata(s),u},e.prototype.decodeMiddle=function(e,t,r){var n,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=e.getSize(),s=t[1],c=0,u=0;u<2&&s=10&&(c|=1<<1-u),1!==u&&(s=e.getNextSet(s),s=e.getNextUnset(s))}if(2!==r.length)throw new ae;if(parseInt(r.toString())%4!==c)throw new ae;return s},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[Ne.ISSUE_NUMBER,parseInt(e)]])},e}();const Qt=Jt;var er=function(){function e(){}return e.decodeRow=function(e,t,r){var n=Wt.findGuardPattern(t,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{var o=new Yt;return o.decodeRow(e,t,n)}catch(a){var i=new Qt;return i.decodeRow(e,t,n)}},e.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),e}();const tr=er;var rr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),nr=function(e){function t(){var r=e.call(this)||this;r.decodeRowStringBuffer="",t.L_AND_G_PATTERNS=t.L_PATTERNS.map((function(e){return Int32Array.from(e)}));for(var n=10;n<20;n++){for(var o=t.L_PATTERNS[n-10],i=new Int32Array(o.length),a=0;a=r.getSize()||!r.isRange(h,p,!1))throw new ae;var g=u.toString();if(g.length<8)throw new z;if(!t.checkChecksum(g))throw new b;var m=(o[1]+o[0])/2,y=(d[1]+d[0])/2,v=this.getBarcodeFormat(),w=[new it(m,e),new it(y,e)],_=new Ce(g,null,0,w,v,(new Date).getTime()),E=0;try{var S=tr.decodeRow(e,r,d[1]);_.putMetadata(Ne.UPC_EAN_EXTENSION,S.getText()),_.putAllMetadata(S.getResultMetadata()),_.addResultPoints(S.getResultPoints()),E=S.getText().length}catch(x){}var A=null==n?null:n.get($.ALLOWED_EAN_EXTENSIONS);if(null!=A){var T=!1;for(var C in A)if(E.toString()===C){T=!0;break}if(!T)throw new ae}return v===Ie.EAN_13||Ie.UPC_A,_},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var r=e.length;if(0===r)return!1;var n=parseInt(e.charAt(r-1),10);return t.getStandardUPCEANChecksum(e.substring(0,r-1))===n},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,r=0,n=t-1;n>=0;n-=2){var o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}r*=3;for(n=t-2;n>=0;n-=2){o=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new z;r+=o}return(1e3-r)%10},t.decodeEnd=function(e,r){return t.findGuardPattern(e,r,!1,t.START_END_PATTERN,new Int32Array(t.START_END_PATTERN.length).fill(0))},t}(Wt);const or=nr;var ir=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ar=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},sr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return ir(t,e),t.prototype.decodeMiddle=function(e,r,n){var o,i,a,s,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var u=e.getSize(),l=r[1],d=0,f=0;f<6&&l=10&&(d|=1<<5-f)}n=t.determineFirstDigit(n,d);var y=or.findGuardPattern(e,l,!0,or.MIDDLE_PATTERN,new Int32Array(or.MIDDLE_PATTERN.length).fill(0));l=y[1];for(f=0;f<6&&l=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},dr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return ur(t,e),t.prototype.decodeMiddle=function(e,t,r){var n,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=e.getSize(),u=t[1],l=0;l<4&&u=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},vr=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return mr(t,e),t.prototype.decodeMiddle=function(e,r,n){var o,i,a=this.decodeMiddleCounters.map((function(e){return e}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=r[1],u=0,l=0;l<6&&c=10&&(u|=1<<5-l)}return t.determineNumSysAndCheckDigit(new te(n),u),c},t.prototype.decodeEnd=function(e,r){return t.findGuardPatternWithoutCounters(e,r,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return or.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return e.insert(0,"0"+r),void e.append("0"+n);throw ae.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return Ie.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),r=new te;r.append(e.charAt(0));var n=t[5];switch(n){case 0:case 1:case 2:r.appendChars(t,0,2),r.append(n),r.append("0000"),r.appendChars(t,2,3);break;case 3:r.appendChars(t,0,3),r.append("00000"),r.appendChars(t,3,2);break;case 4:r.appendChars(t,0,4),r.append("00000"),r.append(t[4]);break;default:r.appendChars(t,0,5),r.append("0000"),r.append(n);break}return e.length>=8&&r.append(e.charAt(7)),r.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],t}(or);const wr=vr;var br=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),_r=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Er=function(e){function t(t){var r=e.call(this)||this,n=null==t?null:t.get($.POSSIBLE_FORMATS),o=[];return null!=n&&(n.indexOf(Ie.EAN_13)>-1&&o.push(new cr),n.indexOf(Ie.UPC_A)>-1&&o.push(new gr),n.indexOf(Ie.EAN_8)>-1&&o.push(new fr),n.indexOf(Ie.UPC_E)>-1&&o.push(new wr)),0===o.length&&(o.push(new cr),o.push(new gr),o.push(new fr),o.push(new wr)),r.readers=o,r}return br(t,e),t.prototype.decodeRow=function(e,t,r){var n,o;try{for(var i=_r(this.readers),a=i.next();!a.done;a=i.next()){var s=a.value;try{var c=s.decodeRow(e,t,r),u=c.getBarcodeFormat()===Ie.EAN_13&&"0"===c.getText().charAt(0),l=null==r?null:r.get($.POSSIBLE_FORMATS),d=null==l||l.includes(Ie.UPC_A);if(u&&d){var f=c.getRawBytes(),h=new Ce(c.getText().substring(1),f,f?f.length:null,c.getResultPoints(),Ie.UPC_A);return h.putAllMetadata(c.getResultMetadata()),h}return c}catch(p){}}}catch(g){n={error:g}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}throw new ae},t.prototype.reset=function(){var e,t;try{for(var r=_r(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t}(Ot);const Sr=Er;var Ar=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Tr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},t}return Ar(t,e),t.prototype.decodeRow=function(e,t,r){var n=this.getValidRowData(t);if(!n)throw new ae;var o=this.codaBarDecodeRow(n.row);if(!o)throw new ae;return new Ce(o,null,0,[new it(n.left,e),new it(n.right,e)],Ie.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),r=t.indexOf(!0);if(-1===r)return null;var n=t.lastIndexOf(!0);if(n<=r)return null;t=t.slice(r,n+1);for(var o=[],i=t[0],a=1,s=1;s0){var n=e.splice(0,8).splice(0,7),o=n.map((function(e){return e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Or=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Int32Array(4),t.dataCharacterCounters=new Int32Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return xr(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,r){for(var n=0;nn&&(n=t[o],r=o);e[r]++},t.decrement=function(e,t){for(var r=0,n=t[0],o=1;o=t.MIN_FINDER_PATTERN_RATIO&&a<=t.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,c=Number.MIN_SAFE_INTEGER;try{for(var u=Ir(e),l=u.next();!l.done;l=u.next()){var d=l.value;d>c&&(c=d),d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Lr=function(){function e(){}return e.getRSSvalue=function(t,r,n){var o,i,a=0;try{for(var s=Br(t),c=s.next();!c.done;c=s.next()){var u=c.value;a+=u}}catch(v){o={error:v}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}for(var l=0,d=0,f=t.length,h=0;h=f-h-1&&(g-=e.combins(a-p-(f-h),f-h-2)),f-h-1>1){for(var m=0,y=a-p-(f-h-2);y>r;y--)m+=e.combins(a-p-y-1,f-h-3);g-=m*(f-1-h)}else a-p>r&&g--;l+=g}a-=p}return l},e.combins=function(e,t){var r,n;e-t>t?(n=t,r=e-t):(n=e-t,r=t);for(var o=1,i=1,a=e;a>r;a--)o*=a,i<=n&&(o/=i,i++);while(i<=n)o/=i,i++;return o},e}();const Dr=Lr;var Fr=function(){function e(){}return e.buildBitArray=function(e){var t=2*e.length-1;null==e[e.length-1].getRightChar()&&(t-=1);for(var r=12*t,n=new D(r),o=0,i=e[0],a=i.getRightChar().getValue(),s=11;s>=0;--s)0!==(a&1<=0;--l)0!==(u&1<=0;--l)0!==(d&1<10||n<0||n>10)throw new z;return o.firstDigit=r,o.secondDigit=n,o}return Yr(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(Vr);const Jr=Xr;var Qr=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},en=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var r,n,o,i,a,s,c,u;if(!t)return null;if(t.length<2)throw new ae;var l=t.substring(0,2);try{for(var d=Qr(e.TWO_DIGIT_DATA_LENGTH),f=d.next();!f.done;f=d.next()){var h=f.value;if(h[0]===l)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,h[2],t):e.processFixedAI(2,h[1],t)}}catch(E){r={error:E}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}if(t.length<3)throw new ae;var p=t.substring(0,3);try{for(var g=Qr(e.THREE_DIGIT_DATA_LENGTH),m=g.next();!m.done;m=g.next()){h=m.value;if(h[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,h[2],t):e.processFixedAI(3,h[1],t)}}catch(S){o={error:S}}finally{try{m&&!m.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var y=Qr(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),v=y.next();!v.done;v=y.next()){h=v.value;if(h[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(A){a={error:A}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}if(t.length<4)throw new ae;var w=t.substring(0,4);try{for(var b=Qr(e.FOUR_DIGIT_DATA_LENGTH),_=b.next();!_.done;_=b.next()){h=_.value;if(h[0]===w)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(T){c={error:T}}finally{try{_&&!_.done&&(u=b.return)&&u.call(b)}finally{if(c)throw c.error}}throw new ae},e.processFixedAI=function(t,r,n){if(n.lengththis.information.getSize())return e+4<=this.information.getSize();for(var t=e;tthis.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new Jr(this.information.getSize(),0===t?Jr.FNC1:t-1,Jr.FNC1)}var r=this.extractNumericValueFromBitArray(e,7),n=(r-8)/11,o=(r-8)%11;return new Jr(e+7,n,o)},e.prototype.extractNumericValueFromBitArray=function(t,r){return e.extractNumericValueFromBitArray(this.information,t,r)},e.extractNumericValueFromBitArray=function(e,t,r){for(var n=0,o=0;othis.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<116)return!0;if(e+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,8);return n>=232&&n<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new Gr(e+5,Gr.FNC1);if(t>=5&&t<15)return new Gr(e+5,"0"+(t-5));var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new Gr(e+7,""+(r+1));if(r>=90&&r<116)return new Gr(e+7,""+(r+7));var n,o=this.extractNumericValueFromBitArray(e,8);switch(o){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new z}return new Gr(e+8,n)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,6);return r>=16&&r<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new Gr(e+5,Gr.FNC1);if(t>=5&&t<15)return new Gr(e+5,"0"+(t-5));var r,n=this.extractNumericValueFromBitArray(e,6);if(n>=32&&n<58)return new Gr(e+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new Ze("Decoding invalid alphanumeric value: "+n)}return new Gr(e+6,r)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+ethis.information.getSize())return!1;for(var t=e;tthis.information.getSize())return!1;for(var t=0;t<4&&t+e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Hn=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.pairs=new Array(t.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return zn(t,e),t.prototype.decodeRow=function(e,r,n){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,r))}catch(o){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,r))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){var r,n=!1;while(!n)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(i){if(i instanceof ae){if(!this.pairs.length)throw new ae;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(e,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(o=this.checkRowsBoolean(!0),null!=o)return o}throw new ae},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(r){console.log(r)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,r){for(var n,o,i=r;ia.length)){for(var s=!0,c=0;ce){i=a.isEquivalent(this.pairs);break}o=a.isEquivalent(this.pairs),n++}i||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new jn(this.pairs,e,r)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var r,n,o,i,a,s;try{for(var c=Vn(t),u=c.next();!u.done;u=c.next()){var l=u.value;if(l.getPairs().length!==e.length){try{for(var d=(o=void 0,Vn(l.getPairs())),f=d.next();!f.done;f=d.next()){var h=f.value,p=!1;try{for(var g=(a=void 0,Vn(e)),m=g.next();!m.done;m=g.next()){var y=m.value;if($n.equals(h,y)){p=!0;break}}}catch(v){a={error:v}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}p||!1}}catch(w){o={error:w}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}}}catch(b){r={error:b}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}},t.isPartialRow=function(e,t){var r,n,o,i,a,s;try{for(var c=Vn(t),u=c.next();!u.done;u=c.next()){var l=u.value,d=!0;try{for(var f=(o=void 0,Vn(e)),h=f.next();!h.done;h=f.next()){var p=h.value,g=!1;try{for(var m=(a=void 0,Vn(l.getPairs())),y=m.next();!y.done;y=m.next()){var v=y.value;if(p.equals(v)){g=!0;break}}}catch(w){a={error:w}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}if(!g){d=!1;break}}}catch(b){o={error:b}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}if(d)return!0}}catch(_){r={error:_}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=$r.buildBitArray(e),r=Dn(t),n=r.parseInformation(),o=e[0].getFinderPattern().getResultPoints(),i=e[e.length-1].getFinderPattern().getResultPoints(),a=[o[0],o[1],i[0],i[1]];return new Ce(n,null,null,a,Ie.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),r=e.getRightChar();if(null===r)return!1;for(var n=r.getChecksumPortion(),o=2,i=1;i=0)i=n;else if(this.isEmptyPair(r))i=0;else{var s=r[r.length-1];i=s.getFinderPattern().getStartEnd()[1]}var c=r.length%2!==0;this.startFromEven&&(c=!c);var u=!1;while(i=0&&!e.get(s))s--;s++,o=this.startEnd[0]-s,i=s,a=this.startEnd[1]}else i=this.startEnd[0],a=e.getNextUnset(this.startEnd[1]+1),o=a-this.startEnd[1];var c,u=this.getDecodeFinderCounters();A.arraycopy(u,0,u,1,u.length-1),u[0]=o;try{c=this.parseFinderValue(u,t.FINDER_PATTERNS)}catch(l){return null}return new Mr(c,[i,a],i,a,r)},t.prototype.decodeDataCharacter=function(e,r,n,o){for(var i=this.getDataCharacterCounters(),a=0;a.3)throw new ae;var h=this.getOddCounts(),p=this.getEvenCounts(),g=this.getOddRoundingErrors(),m=this.getEvenRoundingErrors();for(s=0;s8){if(y>8.7)throw new ae;v=8}var w=s/2;0===(1&s)?(h[w]=v,g[w]=y-v):(p[w]=v,m[w]=y-v)}this.adjustOddEvenCounts(l);var b=4*r.getValue()+(n?0:2)+(o?0:1)-1,_=0,E=0;for(s=h.length-1;s>=0;s--){if(t.isNotA1left(r,n,o)){var S=t.WEIGHTS[b][2*s];E+=h[s]*S}_+=h[s]}var A=0;for(s=p.length-1;s>=0;s--)if(t.isNotA1left(r,n,o)){S=t.WEIGHTS[b][2*s+1];A+=p[s]*S}var T=E+A;if(0!==(1&_)||_>13||_<4)throw new ae;var C=(13-_)/2,x=t.SYMBOL_WIDEST[C],I=9-x,O=Dr.getRSSvalue(h,x,!0),N=Dr.getRSSvalue(p,I,!1),P=t.EVEN_TOTAL_SUBSET[C],k=t.GSUM[C],R=O*P+N+k;return new kr(R,T)},t.isNotA1left=function(e,t,r){return!(0===e.getValue()&&t&&r)},t.prototype.adjustOddEvenCounts=function(e){var r=tt.sum(new Int32Array(this.getOddCounts())),n=tt.sum(new Int32Array(this.getEvenCounts())),o=!1,i=!1;r>13?i=!0:r<4&&(o=!0);var a=!1,s=!1;n>13?s=!0:n<4&&(a=!0);var c=r+n-e,u=1===(1&r),l=0===(1&n);if(1===c)if(u){if(l)throw new ae;i=!0}else{if(!l)throw new ae;s=!0}else if(-1===c)if(u){if(l)throw new ae;o=!0}else{if(!l)throw new ae;a=!0}else{if(0!==c)throw new ae;if(u){if(!l)throw new ae;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Xn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return Kn(t,e),t.prototype.decodeRow=function(e,r,n){var o,i,a,s,c=this.decodePair(r,!1,e,n);t.addOrTally(this.possibleLeftPairs,c),r.reverse();var u=this.decodePair(r,!0,e,n);t.addOrTally(this.possibleRightPairs,u),r.reverse();try{for(var l=Yn(this.possibleLeftPairs),d=l.next();!d.done;d=l.next()){var f=d.value;if(f.getCount()>1)try{for(var h=(a=void 0,Yn(this.possibleRightPairs)),p=h.next();!p.done;p=h.next()){var g=p.value;if(g.getCount()>1&&t.checkChecksum(f,g))return t.constructResult(f,g)}}catch(m){a={error:m}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}}}catch(y){o={error:y}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}throw new ae},t.addOrTally=function(e,t){var r,n;if(null!=t){var o=!1;try{for(var i=Yn(e),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.getValue()===t.getValue()){s.incrementCount(),o=!0;break}}}catch(c){r={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var r=4537077*e.getValue()+t.getValue(),n=new String(r).toString(),o=new te,i=13-n.length;i>0;i--)o.append("0");o.append(n);var a=0;for(i=0;i<13;i++){var s=o.charAt(i).charCodeAt(0)-"0".charCodeAt(0);a+=0===(1&i)?3*s:s}a=10-a%10,10===a&&(a=0),o.append(a.toString());var c=e.getFinderPattern().getResultPoints(),u=t.getFinderPattern().getResultPoints();return new Ce(o.toString(),null,0,[c[0],c[1],u[0],u[1]],Ie.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var r=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,n=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},t.prototype.decodePair=function(e,t,r,n){try{var o=this.findFinderPattern(e,t),i=this.parseFoundFinderPattern(e,r,t,o),a=null==n?null:n.get($.NEED_RESULT_POINT_CALLBACK);if(null!=a){var s=(o[0]+o[1])/2;t&&(s=e.getSize()-1-s),a.foundPossibleResultPoint(new it(s,r))}var c=this.decodeDataCharacter(e,i,!0),u=this.decodeDataCharacter(e,i,!1);return new Zn(1597*c.getValue()+u.getValue(),c.getChecksumPortion()+4*u.getChecksumPortion(),i)}catch(l){return null}},t.prototype.decodeDataCharacter=function(e,r,n){for(var o=this.getDataCharacterCounters(),i=0;i8&&(m=8);var y=Math.floor(a/2);0===(1&a)?(d[y]=m,h[y]=g-m):(f[y]=m,p[y]=g-m)}this.adjustOddEvenCounts(n,u);var v=0,w=0;for(a=d.length-1;a>=0;a--)w*=9,w+=d[a],v+=d[a];var b=0,_=0;for(a=f.length-1;a>=0;a--)b*=9,b+=f[a],_+=f[a];var E=w+3*b;if(n){if(0!==(1&v)||v>12||v<4)throw new ae;var S=(12-v)/2,A=t.OUTSIDE_ODD_WIDEST[S],T=9-A,C=Dr.getRSSvalue(d,A,!1),x=Dr.getRSSvalue(f,T,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[S],O=t.OUTSIDE_GSUM[S];return new kr(C*I+x+O,E)}if(0!==(1&_)||_>10||_<4)throw new ae;S=(10-_)/2,A=t.INSIDE_ODD_WIDEST[S],T=9-A,C=Dr.getRSSvalue(d,A,!0),x=Dr.getRSSvalue(f,T,!1);var N=t.INSIDE_ODD_TOTAL_SUBSET[S];O=t.INSIDE_GSUM[S];return new kr(x*N+C+O,E)},t.prototype.findFinderPattern=function(e,t){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;var n=e.getSize(),o=!1,i=0;while(i=0&&i!==e.get(a))a--;a++;var s=o[0]-a,c=this.getDecodeFinderCounters(),u=new Int32Array(c.length);A.arraycopy(c,0,u,1,c.length-1),u[0]=s;var l=this.parseFinderValue(u,t.FINDER_PATTERNS),d=a,f=o[1];return n&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new Mr(l,[a,o[1]],d,f,r)},t.prototype.adjustOddEvenCounts=function(e,t){var r=tt.sum(new Int32Array(this.getOddCounts())),n=tt.sum(new Int32Array(this.getEvenCounts())),o=!1,i=!1,a=!1,s=!1;e?(r>12?i=!0:r<4&&(o=!0),n>12?s=!0:n<4&&(a=!0)):(r>11?i=!0:r<5&&(o=!0),n>10?s=!0:n<4&&(a=!0));var c=r+n-t,u=(1&r)===(e?1:0),l=1===(1&n);if(1===c)if(u){if(l)throw new ae;i=!0}else{if(!l)throw new ae;s=!0}else if(-1===c)if(u){if(l)throw new ae;o=!0}else{if(!l)throw new ae;a=!0}else{if(0!==c)throw new ae;if(u){if(!l)throw new ae;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}),oo=function(){function e(e,t,r){this.ecCodewords=e,this.ecBlocks=[t],r&&this.ecBlocks.push(r)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),io=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),ao=function(){function e(e,t,r,n,o,i){var a,s;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,this.dataRegionSizeColumns=o,this.ecBlocks=i;var c=0,u=i.getECCodewords(),l=i.getECBlocks();try{for(var d=no(l),f=d.next();!f.done;f=d.next()){var h=f.value;c+=h.getCount()*(h.getDataCodewords()+u)}}catch(p){a={error:p}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}this.totalCodewords=c}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,r){var n,o;if(0!==(1&t)||0!==(1&r))throw new z;try{for(var i=no(e.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===t&&s.symbolSizeColumns===r)return s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}throw new z},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new oo(5,new io(1,3))),new e(2,12,12,10,10,new oo(7,new io(1,5))),new e(3,14,14,12,12,new oo(10,new io(1,8))),new e(4,16,16,14,14,new oo(12,new io(1,12))),new e(5,18,18,16,16,new oo(14,new io(1,18))),new e(6,20,20,18,18,new oo(18,new io(1,22))),new e(7,22,22,20,20,new oo(20,new io(1,30))),new e(8,24,24,22,22,new oo(24,new io(1,36))),new e(9,26,26,24,24,new oo(28,new io(1,44))),new e(10,32,32,14,14,new oo(36,new io(1,62))),new e(11,36,36,16,16,new oo(42,new io(1,86))),new e(12,40,40,18,18,new oo(48,new io(1,114))),new e(13,44,44,20,20,new oo(56,new io(1,144))),new e(14,48,48,22,22,new oo(68,new io(1,174))),new e(15,52,52,24,24,new oo(42,new io(2,102))),new e(16,64,64,14,14,new oo(56,new io(2,140))),new e(17,72,72,16,16,new oo(36,new io(4,92))),new e(18,80,80,18,18,new oo(48,new io(4,114))),new e(19,88,88,20,20,new oo(56,new io(4,144))),new e(20,96,96,22,22,new oo(68,new io(4,174))),new e(21,104,104,24,24,new oo(56,new io(6,136))),new e(22,120,120,18,18,new oo(68,new io(6,175))),new e(23,132,132,20,20,new oo(62,new io(8,163))),new e(24,144,144,22,22,new oo(62,new io(8,156),new io(2,155))),new e(25,8,18,6,16,new oo(7,new io(1,5))),new e(26,8,32,6,14,new oo(11,new io(1,10))),new e(27,12,26,10,24,new oo(14,new io(1,16))),new e(28,12,36,10,16,new oo(18,new io(1,22))),new e(29,16,36,14,16,new oo(24,new io(1,32))),new e(30,16,48,14,22,new oo(28,new io(1,49)))]},e.VERSIONS=e.buildVersions(),e}();const so=ao;var co=function(){function e(t){var r=t.getHeight();if(r<8||r>144||0!==(1&r))throw new z;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new ne(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),r=e.getWidth();return so.getVersionForDimensions(t,r)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,c=!1,u=!1;do{if(r!==o||0!==n||a)if(r!==o-2||0!==n||0===(3&i)||s)if(r!==o+4||2!==n||0!==(7&i)||c)if(r!==o-2||0!==n||4!==(7&i)||u){do{r=0&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,i)),r-=2,n+=2}while(r>=0&&n=0&&n=0);r+=3,n+=1}else e[t++]=255&this.readCorner4(o,i),r-=2,n+=2,u=!0;else e[t++]=255&this.readCorner3(o,i),r-=2,n+=2,c=!0;else e[t++]=255&this.readCorner2(o,i),r-=2,n+=2,s=!0;else e[t++]=255&this.readCorner1(o,i),r-=2,n+=2,a=!0}while(r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},fo=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r){var n,o,i,a,s=r.getECBlocks(),c=0,u=s.getECBlocks();try{for(var l=lo(u),d=l.next();!d.done;d=l.next()){var f=d.value;c+=f.getCount()}}catch(P){n={error:P}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}var h=new Array(c),p=0;try{for(var m=lo(u),y=m.next();!y.done;y=m.next()){f=y.value;for(var v=0;v7?v-1:v;h[O].codewords[N]=t[A++]}if(A!==t.length)throw new g;return h},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}();const ho=fo;var po=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new g(""+e);var t=0,r=this.bitOffset,n=this.byteOffset,o=this.bytes;if(r>0){var i=8-r,a=e>8-a<>s,e-=a,r+=a,8===r&&(r=0,n++)}if(e>0){while(e>=8)t=t<<8|255&o[n],n++,e-=8;if(e>0){s=8-e,c=255>>s<>s,r+=e}}return this.bitOffset=r,this.byteOffset=n,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();const go=po;var mo;(function(e){e[e["PAD_ENCODE"]=0]="PAD_ENCODE",e[e["ASCII_ENCODE"]=1]="ASCII_ENCODE",e[e["C40_ENCODE"]=2]="C40_ENCODE",e[e["TEXT_ENCODE"]=3]="TEXT_ENCODE",e[e["ANSIX12_ENCODE"]=4]="ANSIX12_ENCODE",e[e["EDIFACT_ENCODE"]=5]="EDIFACT_ENCODE",e[e["BASE256_ENCODE"]=6]="BASE256_ENCODE"})(mo||(mo={}));var yo=function(){function e(){}return e.decode=function(e){var t=new go(e),r=new te,n=new te,o=new Array,i=mo.ASCII_ENCODE;do{if(i===mo.ASCII_ENCODE)i=this.decodeAsciiSegment(t,r,n);else{switch(i){case mo.C40_ENCODE:this.decodeC40Segment(t,r);break;case mo.TEXT_ENCODE:this.decodeTextSegment(t,r);break;case mo.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,r);break;case mo.EDIFACT_ENCODE:this.decodeEdifactSegment(t,r);break;case mo.BASE256_ENCODE:this.decodeBase256Segment(t,r,o);break;default:throw new z}i=mo.ASCII_ENCODE}}while(i!==mo.PAD_ENCODE&&t.available()>0);return n.length()>0&&r.append(n.toString()),new ke(e,r.toString(),0===o.length?null:o,null)},e.decodeAsciiSegment=function(e,t,r){var n=!1;do{var o=e.readBits(8);if(0===o)throw new z;if(o<=128)return n&&(o+=128),t.append(String.fromCharCode(o-1)),mo.ASCII_ENCODE;if(129===o)return mo.PAD_ENCODE;if(o<=229){var i=o-130;i<10&&t.append("0"),t.append(""+i)}else switch(o){case 230:return mo.C40_ENCODE;case 231:return mo.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:n=!0;break;case 236:t.append("[)>05"),r.insert(0,"");break;case 237:t.append("[)>06"),r.insert(0,"");break;case 238:return mo.ANSIX12_ENCODE;case 239:return mo.TEXT_ENCODE;case 240:return mo.EDIFACT_ENCODE;case 241:break;default:if(254!==o||0!==e.available())throw new z;break}}while(e.available()>0);return mo.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var r=!1,n=[],o=0;do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s0)},e.decodeTextSegment=function(e,t){var r=!1,n=[],o=0;do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s0)},e.decodeAnsiX12Segment=function(e,t){var r=[];do{if(8===e.available())return;var n=e.readBits(8);if(254===n)return;this.parseTwoBytes(n,e.readBits(8),r);for(var o=0;o<3;o++){var i=r[o];switch(i){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(i<14)t.append(String.fromCharCode(i+44));else{if(!(i<40))throw new z;t.append(String.fromCharCode(i+51))}break}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,r){var n=(e<<8)+t-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var n=e.readBits(6);if(31===n){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0===(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,r){var n,o=1+e.getByteOffset(),i=this.unrandomize255State(e.readBits(8),o++);if(n=0===i?e.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(e.readBits(8),o++),n<0)throw new z;for(var a=new Uint8Array(n),s=0;s=0?n:n+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],e}();const vo=yo;var wo=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},bo=function(){function e(){this.rsDecoder=new Ye(ze.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,r,n=new uo(e),o=n.getVersion(),i=n.readCodewords(),a=ho.getDataBlocks(i,o),s=0;try{for(var c=wo(a),u=c.next();!u.done;u=c.next()){var l=u.value;s+=l.getNumDataCodewords()}}catch(v){t={error:v}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}for(var d=new Uint8Array(s),f=a.length,h=0;ha&&(u=a,l[0]=t,l[1]=r,l[2]=n,l[3]=o),u>s&&(u=s,l[0]=r,l[1]=n,l[2]=o,l[3]=t),u>c&&(l[0]=n,l[1]=o,l[2]=t,l[3]=r),l},e.prototype.detectSolid2=function(t){var r=t[0],n=t[1],o=t[2],i=t[3],a=this.transitionsBetween(r,i),s=e.shiftPoint(n,o,4*(a+1)),c=e.shiftPoint(o,n,4*(a+1)),u=this.transitionsBetween(s,r),l=this.transitionsBetween(c,i);return uh?l:d},e.prototype.shiftToModuleCenter=function(t){var r=t[0],n=t[1],o=t[2],i=t[3],a=this.transitionsBetween(r,i)+1,s=this.transitionsBetween(o,i)+1,c=e.shiftPoint(r,n,4*s),u=e.shiftPoint(o,n,4*a);a=this.transitionsBetween(c,i)+1,s=this.transitionsBetween(u,i)+1,1===(1&a)&&(a+=1),1===(1&s)&&(s+=1);var l,d,f=(r.getX()+n.getX()+o.getX()+i.getX())/4,h=(r.getY()+n.getY()+o.getY()+i.getY())/4;return r=e.moveAway(r,f,h),n=e.moveAway(n,f,h),o=e.moveAway(o,f,h),i=e.moveAway(i,f,h),c=e.shiftPoint(r,n,4*s),c=e.shiftPoint(c,i,4*a),l=e.shiftPoint(n,r,4*s),l=e.shiftPoint(l,o,4*a),u=e.shiftPoint(o,i,4*s),u=e.shiftPoint(u,n,4*a),d=e.shiftPoint(i,o,4*s),d=e.shiftPoint(d,r,4*a),[c,l,u,d]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(o-r);if(a){var s=r;r=n,n=s,s=o,o=i,i=s}for(var c=Math.abs(o-r),u=Math.abs(i-n),l=-c/2,d=n0){if(m===i)break;m+=d,l-=c}}return h},e}();const So=Eo;var Ao=function(){function e(){this.decoder=new _o}return e.prototype.decode=function(t,r){var n,o;if(void 0===r&&(r=null),null!=r&&r.has($.PURE_BARCODE)){var i=e.extractPureBits(t.getBlackMatrix());n=this.decoder.decode(i),o=e.NO_POINTS}else{var a=new So(t.getBlackMatrix()).detect();n=this.decoder.decode(a.getBits()),o=a.getPoints()}var s=n.getRawBytes(),c=new Ce(n.getText(),s,8*s.length,o,Ie.DATA_MATRIX,A.currentTimeMillis()),u=n.getByteSegments();null!=u&&c.putMetadata(Ne.BYTE_SEGMENTS,u);var l=n.getECLevel();return null!=l&&c.putMetadata(Ne.ERROR_CORRECTION_LEVEL,l),c},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null==t||null==r)throw new ae;var n=this.moduleSize(t,e),o=t[1],i=r[1],a=t[0],s=r[0],c=(s-a+1)/n,u=(i-o+1)/n;if(c<=0||u<=0)throw new ae;var l=n/2;o+=l,a+=l;for(var d=new ne(c,u),f=0;f=e.FOR_BITS.size)throw new g;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(Co.L,"L",1),e.M=new e(Co.M,"M",0),e.Q=new e(Co.Q,"Q",3),e.H=new e(Co.H,"H",2),e}();const Oo=Io;var No=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Po=function(){function e(e){this.errorCorrectionLevel=Oo.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return B.bitCount(e^t)},e.decodeFormatInformation=function(t,r){var n=e.doDecodeFormatInformation(t,r);return null!==n?n:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,r^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,r){var n,o,i=Number.MAX_SAFE_INTEGER,a=0;try{for(var s=No(e.FORMAT_INFO_DECODE_LOOKUP),c=s.next();!c.done;c=s.next()){var u=c.value,l=u[0];if(l===t||l===r)return new e(u[1]);var d=e.numBitsDiffering(t,l);d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Mo=function(){function e(e){for(var t=[],r=1;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},$o=function(){function e(e,t){for(var r,n,o=[],i=2;i40)throw new g;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var r=Number.MAX_SAFE_INTEGER,n=0,o=0;o6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new Bo(7,new Do(1,19)),new Bo(10,new Do(1,16)),new Bo(13,new Do(1,13)),new Bo(17,new Do(1,9))),new e(2,Int32Array.from([6,18]),new Bo(10,new Do(1,34)),new Bo(16,new Do(1,28)),new Bo(22,new Do(1,22)),new Bo(28,new Do(1,16))),new e(3,Int32Array.from([6,22]),new Bo(15,new Do(1,55)),new Bo(26,new Do(1,44)),new Bo(18,new Do(2,17)),new Bo(22,new Do(2,13))),new e(4,Int32Array.from([6,26]),new Bo(20,new Do(1,80)),new Bo(18,new Do(2,32)),new Bo(26,new Do(2,24)),new Bo(16,new Do(4,9))),new e(5,Int32Array.from([6,30]),new Bo(26,new Do(1,108)),new Bo(24,new Do(2,43)),new Bo(18,new Do(2,15),new Do(2,16)),new Bo(22,new Do(2,11),new Do(2,12))),new e(6,Int32Array.from([6,34]),new Bo(18,new Do(2,68)),new Bo(16,new Do(4,27)),new Bo(24,new Do(4,19)),new Bo(28,new Do(4,15))),new e(7,Int32Array.from([6,22,38]),new Bo(20,new Do(2,78)),new Bo(18,new Do(4,31)),new Bo(18,new Do(2,14),new Do(4,15)),new Bo(26,new Do(4,13),new Do(1,14))),new e(8,Int32Array.from([6,24,42]),new Bo(24,new Do(2,97)),new Bo(22,new Do(2,38),new Do(2,39)),new Bo(22,new Do(4,18),new Do(2,19)),new Bo(26,new Do(4,14),new Do(2,15))),new e(9,Int32Array.from([6,26,46]),new Bo(30,new Do(2,116)),new Bo(22,new Do(3,36),new Do(2,37)),new Bo(20,new Do(4,16),new Do(4,17)),new Bo(24,new Do(4,12),new Do(4,13))),new e(10,Int32Array.from([6,28,50]),new Bo(18,new Do(2,68),new Do(2,69)),new Bo(26,new Do(4,43),new Do(1,44)),new Bo(24,new Do(6,19),new Do(2,20)),new Bo(28,new Do(6,15),new Do(2,16))),new e(11,Int32Array.from([6,30,54]),new Bo(20,new Do(4,81)),new Bo(30,new Do(1,50),new Do(4,51)),new Bo(28,new Do(4,22),new Do(4,23)),new Bo(24,new Do(3,12),new Do(8,13))),new e(12,Int32Array.from([6,32,58]),new Bo(24,new Do(2,92),new Do(2,93)),new Bo(22,new Do(6,36),new Do(2,37)),new Bo(26,new Do(4,20),new Do(6,21)),new Bo(28,new Do(7,14),new Do(4,15))),new e(13,Int32Array.from([6,34,62]),new Bo(26,new Do(4,107)),new Bo(22,new Do(8,37),new Do(1,38)),new Bo(24,new Do(8,20),new Do(4,21)),new Bo(22,new Do(12,11),new Do(4,12))),new e(14,Int32Array.from([6,26,46,66]),new Bo(30,new Do(3,115),new Do(1,116)),new Bo(24,new Do(4,40),new Do(5,41)),new Bo(20,new Do(11,16),new Do(5,17)),new Bo(24,new Do(11,12),new Do(5,13))),new e(15,Int32Array.from([6,26,48,70]),new Bo(22,new Do(5,87),new Do(1,88)),new Bo(24,new Do(5,41),new Do(5,42)),new Bo(30,new Do(5,24),new Do(7,25)),new Bo(24,new Do(11,12),new Do(7,13))),new e(16,Int32Array.from([6,26,50,74]),new Bo(24,new Do(5,98),new Do(1,99)),new Bo(28,new Do(7,45),new Do(3,46)),new Bo(24,new Do(15,19),new Do(2,20)),new Bo(30,new Do(3,15),new Do(13,16))),new e(17,Int32Array.from([6,30,54,78]),new Bo(28,new Do(1,107),new Do(5,108)),new Bo(28,new Do(10,46),new Do(1,47)),new Bo(28,new Do(1,22),new Do(15,23)),new Bo(28,new Do(2,14),new Do(17,15))),new e(18,Int32Array.from([6,30,56,82]),new Bo(30,new Do(5,120),new Do(1,121)),new Bo(26,new Do(9,43),new Do(4,44)),new Bo(28,new Do(17,22),new Do(1,23)),new Bo(28,new Do(2,14),new Do(19,15))),new e(19,Int32Array.from([6,30,58,86]),new Bo(28,new Do(3,113),new Do(4,114)),new Bo(26,new Do(3,44),new Do(11,45)),new Bo(26,new Do(17,21),new Do(4,22)),new Bo(26,new Do(9,13),new Do(16,14))),new e(20,Int32Array.from([6,34,62,90]),new Bo(28,new Do(3,107),new Do(5,108)),new Bo(26,new Do(3,41),new Do(13,42)),new Bo(30,new Do(15,24),new Do(5,25)),new Bo(28,new Do(15,15),new Do(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new Bo(28,new Do(4,116),new Do(4,117)),new Bo(26,new Do(17,42)),new Bo(28,new Do(17,22),new Do(6,23)),new Bo(30,new Do(19,16),new Do(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new Bo(28,new Do(2,111),new Do(7,112)),new Bo(28,new Do(17,46)),new Bo(30,new Do(7,24),new Do(16,25)),new Bo(24,new Do(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new Bo(30,new Do(4,121),new Do(5,122)),new Bo(28,new Do(4,47),new Do(14,48)),new Bo(30,new Do(11,24),new Do(14,25)),new Bo(30,new Do(16,15),new Do(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new Bo(30,new Do(6,117),new Do(4,118)),new Bo(28,new Do(6,45),new Do(14,46)),new Bo(30,new Do(11,24),new Do(16,25)),new Bo(30,new Do(30,16),new Do(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new Bo(26,new Do(8,106),new Do(4,107)),new Bo(28,new Do(8,47),new Do(13,48)),new Bo(30,new Do(7,24),new Do(22,25)),new Bo(30,new Do(22,15),new Do(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new Bo(28,new Do(10,114),new Do(2,115)),new Bo(28,new Do(19,46),new Do(4,47)),new Bo(28,new Do(28,22),new Do(6,23)),new Bo(30,new Do(33,16),new Do(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new Bo(30,new Do(8,122),new Do(4,123)),new Bo(28,new Do(22,45),new Do(3,46)),new Bo(30,new Do(8,23),new Do(26,24)),new Bo(30,new Do(12,15),new Do(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new Bo(30,new Do(3,117),new Do(10,118)),new Bo(28,new Do(3,45),new Do(23,46)),new Bo(30,new Do(4,24),new Do(31,25)),new Bo(30,new Do(11,15),new Do(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new Bo(30,new Do(7,116),new Do(7,117)),new Bo(28,new Do(21,45),new Do(7,46)),new Bo(30,new Do(1,23),new Do(37,24)),new Bo(30,new Do(19,15),new Do(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new Bo(30,new Do(5,115),new Do(10,116)),new Bo(28,new Do(19,47),new Do(10,48)),new Bo(30,new Do(15,24),new Do(25,25)),new Bo(30,new Do(23,15),new Do(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new Bo(30,new Do(13,115),new Do(3,116)),new Bo(28,new Do(2,46),new Do(29,47)),new Bo(30,new Do(42,24),new Do(1,25)),new Bo(30,new Do(23,15),new Do(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new Bo(30,new Do(17,115)),new Bo(28,new Do(10,46),new Do(23,47)),new Bo(30,new Do(10,24),new Do(35,25)),new Bo(30,new Do(19,15),new Do(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new Bo(30,new Do(17,115),new Do(1,116)),new Bo(28,new Do(14,46),new Do(21,47)),new Bo(30,new Do(29,24),new Do(19,25)),new Bo(30,new Do(11,15),new Do(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new Bo(30,new Do(13,115),new Do(6,116)),new Bo(28,new Do(14,46),new Do(23,47)),new Bo(30,new Do(44,24),new Do(7,25)),new Bo(30,new Do(59,16),new Do(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new Bo(30,new Do(12,121),new Do(7,122)),new Bo(28,new Do(12,47),new Do(26,48)),new Bo(30,new Do(39,24),new Do(14,25)),new Bo(30,new Do(22,15),new Do(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new Bo(30,new Do(6,121),new Do(14,122)),new Bo(28,new Do(6,47),new Do(34,48)),new Bo(30,new Do(46,24),new Do(10,25)),new Bo(30,new Do(2,15),new Do(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new Bo(30,new Do(17,122),new Do(4,123)),new Bo(28,new Do(29,46),new Do(14,47)),new Bo(30,new Do(49,24),new Do(10,25)),new Bo(30,new Do(24,15),new Do(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new Bo(30,new Do(4,122),new Do(18,123)),new Bo(28,new Do(13,46),new Do(32,47)),new Bo(30,new Do(48,24),new Do(14,25)),new Bo(30,new Do(42,15),new Do(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new Bo(30,new Do(20,117),new Do(4,118)),new Bo(28,new Do(40,47),new Do(7,48)),new Bo(30,new Do(43,24),new Do(22,25)),new Bo(30,new Do(10,15),new Do(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new Bo(30,new Do(19,118),new Do(6,119)),new Bo(28,new Do(18,47),new Do(31,48)),new Bo(30,new Do(34,24),new Do(34,25)),new Bo(30,new Do(20,15),new Do(61,16)))],e}();const Uo=$o;var jo;(function(e){e[e["DATA_MASK_000"]=0]="DATA_MASK_000",e[e["DATA_MASK_001"]=1]="DATA_MASK_001",e[e["DATA_MASK_010"]=2]="DATA_MASK_010",e[e["DATA_MASK_011"]=3]="DATA_MASK_011",e[e["DATA_MASK_100"]=4]="DATA_MASK_100",e[e["DATA_MASK_101"]=5]="DATA_MASK_101",e[e["DATA_MASK_110"]=6]="DATA_MASK_110",e[e["DATA_MASK_111"]=7]="DATA_MASK_111"})(jo||(jo={}));var zo=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var r=0;r=0;r--)e=this.copyBit(8,r,e);var n=this.bitMatrix.getHeight(),o=0,i=n-7;for(r=n-1;r>=i;r--)o=this.copyBit(8,r,o);for(t=n-8;t=0;o--)for(var i=e-9;i>=n;i--)r=this.copyBit(i,o,r);var a=Uo.decodeVersionInformation(r);if(null!==a&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;r=0;for(i=5;i>=0;i--)for(o=e-9;o>=n;o--)r=this.copyBit(i,o,r);if(a=Uo.decodeVersionInformation(r),null!==a&&a.getDimensionForVersion()===e)return this.parsedVersion=a,a;throw new z},e.prototype.copyBit=function(e,t,r){var n=this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t);return n?r<<1|1:r<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),r=Vo.values.get(e.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=t.buildFunctionPattern(),i=!0,a=new Uint8Array(t.getTotalCodewords()),s=0,c=0,u=0,l=n-1;l>0;l-=2){6===l&&l--;for(var d=0;d=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Wo=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r,n){var o,i,a,s;if(t.length!==r.getTotalCodewords())throw new g;var c=r.getECBlocksForLevel(n),u=0,l=c.getECBlocks();try{for(var d=Go(l),f=d.next();!f.done;f=d.next()){var h=f.value;u+=h.getCount()}}catch(N){o={error:N}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}var p=new Array(u),m=0;try{for(var y=Go(l),v=y.next();!v.done;v=y.next()){h=v.value;for(var w=0;w=0){var A=p[S].codewords.length;if(A===E)break;S--}S++;var T=E-c.getECCodewordsPerBlock(),C=0;for(w=0;we.available())throw new z;var n=new Uint8Array(2*r),o=0;while(r>0){var i=e.readBits(13),a=i/96<<8&4294967295|i%96;a+=a<959?41377:42657,n[o]=a>>8&255,n[o+1]=255&a,o+=2,r--}try{t.append(X.decode(n,Q.GB2312))}catch(s){throw new z(s)}},e.decodeKanjiSegment=function(e,t,r){if(13*r>e.available())throw new z;var n=new Uint8Array(2*r),o=0;while(r>0){var i=e.readBits(13),a=i/192<<8&4294967295|i%192;a+=a<7936?33088:49472,n[o]=a>>8,n[o+1]=a,o+=2,r--}try{t.append(X.decode(n,Q.SHIFT_JIS))}catch(s){throw new z(s)}},e.decodeByteSegment=function(e,t,r,n,o,i){if(8*r>e.available())throw new z;for(var a,s=new Uint8Array(r),c=0;c=e.ALPHANUMERIC_CHARS.length)throw new z;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,r,n,o){var i=r.length();while(n>1){if(t.available()<11)throw new z;var a=t.readBits(11);r.append(e.toAlphaNumericChar(Math.floor(a/45))),r.append(e.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(t.available()<6)throw new z;r.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var s=i;s=3){if(t.available()<10)throw new z;var o=t.readBits(10);if(o>=1e3)throw new z;r.append(e.toAlphaNumericChar(Math.floor(o/100))),r.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(e.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(t.available()<7)throw new z;var i=t.readBits(7);if(i>=100)throw new z;r.append(e.toAlphaNumericChar(Math.floor(i/10))),r.append(e.toAlphaNumericChar(i%10))}else if(1===n){if(t.available()<4)throw new z;var a=t.readBits(4);if(a>=10)throw new z;r.append(e.toAlphaNumericChar(a))}},e.parseECIValue=function(e){var t=e.readBits(8);if(0===(128&t))return 127&t;if(128===(192&t)){var r=e.readBits(8);return(63&t)<<8&4294967295|r}if(192===(224&t)){var n=e.readBits(16);return(31&t)<<16&4294967295|n}throw new z},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}();const Qo=Jo;var ei=function(){function e(e){this.mirrored=e}return e.prototype.isMirrored=function(){return this.mirrored},e.prototype.applyMirroredCorrection=function(e){if(this.mirrored&&null!==e&&!(e.length<3)){var t=e[0];e[0]=e[2],e[2]=t}},e}();const ti=ei;var ri=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ni=function(){function e(){this.rsDecoder=new Ye(ze.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(ne.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var r=new qo(e),n=null;try{return this.decodeBitMatrixParser(r,t)}catch(i){n=i}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,t);return o.setOther(new ti(!0)),o}catch(i){if(null!==n)throw n;throw i}},e.prototype.decodeBitMatrixParser=function(e,t){var r,n,o,i,a=e.readVersion(),s=e.readFormatInformation().getErrorCorrectionLevel(),c=e.readCodewords(),u=Zo.getDataBlocks(c,a,s),l=0;try{for(var d=ri(u),f=d.next();!f.done;f=d.next()){var h=f.value;l+=h.getNumDataCodewords()}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}var p=new Uint8Array(l),g=0;try{for(var m=ri(u),y=m.next();!y.done;y=m.next()){h=y.value;var v=h.getCodewords(),w=h.getNumDataCodewords();this.correctErrors(v,w);for(var b=0;b=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ui=function(){function e(e,t,r,n,o,i,a){this.image=e,this.startX=t,this.startY=r,this.width=n,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,r=this.width,n=e+r,o=this.startY+t/2,i=new Int32Array(3),a=this.image,s=0;s=r)return!1;return!0},e.prototype.crossCheckVertical=function(t,r,n,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;var c=t;while(c>=0&&i.get(r,c)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&!i.get(r,c)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(cn)return NaN;while(cn)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,r,n){var o,i,a=t[0]+t[1]+t[2],s=e.centerFromEnd(t,n),c=this.crossCheckVertical(r,s,2*t[1],a);if(!isNaN(c)){var u=(t[0]+t[1]+t[2])/3;try{for(var l=ci(this.possibleCenters),d=l.next();!d.done;d=l.next()){var f=d.value;if(f.aboutEquals(u,c,s))return f.combineEstimate(c,s,u)}}catch(p){o={error:p}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var h=new si(s,c,u);this.possibleCenters.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return null},e}();const li=ui;var di=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),fi=function(e){function t(t,r,n,o){var i=e.call(this,t,r)||this;return i.estimatedModuleSize=n,i.count=o,void 0===o&&(i.count=1),i}return di(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o=this.count+1,i=(this.count*this.getX()+r)/o,a=(this.count*this.getY()+e)/o,s=(this.count*this.estimatedModuleSize+n)/o;return new t(i,a,s,o)},t}(it);const hi=fi;var pi=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}();const gi=pi;var mi=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},yi=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var r=null!==t&&void 0!==t&&void 0!==t.get($.TRY_HARDER),n=null!==t&&void 0!==t&&void 0!==t.get($.PURE_BARCODE),o=this.image,i=o.getHeight(),a=o.getWidth(),s=Math.floor(3*i/(4*e.MAX_MODULES));(su[2]&&(l+=p-u[2]-s,f=a-1)}d=0,u[0]=0,u[1]=0,u[2]=0,u[3]=0,u[4]=0}else u[0]=u[2],u[1]=u[3],u[2]=u[4],u[3]=1,u[4]=0,d=3;else u[++d]++;else u[d]++;if(e.foundPatternCross(u)){h=this.handlePossibleCenter(u,l,a,n);!0===h&&(s=u[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}}var g=this.selectBestPatterns();return it.orderBestPatterns(g),new gi(g)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,r=0;r<5;r++){var n=e[r];if(0===n)return!1;t+=n}if(t<7)return!1;var o=t/7,i=o/2;return Math.abs(o-e[0])=a&&r>=a&&s.get(r-a,t-a))i[2]++,a++;if(t=a&&r>=a&&!s.get(r-a,t-a)&&i[1]<=n)i[1]++,a++;if(tn)return!1;while(t>=a&&r>=a&&s.get(r-a,t-a)&&i[0]<=n)i[0]++,a++;if(i[0]>n)return!1;var c=s.getHeight(),u=s.getWidth();a=1;while(t+a=c||r+a>=u)return!1;while(t+a=c||r+a>=u||i[3]>=n)return!1;while(t+a=n)return!1;var l=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(l-o)<2*o&&e.foundPatternCross(i)},e.prototype.crossCheckVertical=function(t,r,n,o){var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),c=t;while(c>=0&&i.get(r,c))s[2]++,c--;if(c<0)return NaN;while(c>=0&&!i.get(r,c)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&i.get(r,c)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(c=n)return NaN;while(c=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=2*o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.crossCheckHorizontal=function(t,r,n,o){var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),c=t;while(c>=0&&i.get(c,r))s[2]++,c--;if(c<0)return NaN;while(c>=0&&!i.get(c,r)&&s[1]<=n)s[1]++,c--;if(c<0||s[1]>n)return NaN;while(c>=0&&i.get(c,r)&&s[0]<=n)s[0]++,c--;if(s[0]>n)return NaN;c=t+1;while(c=n)return NaN;while(c=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=o?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,c):NaN},e.prototype.handlePossibleCenter=function(t,r,n,o){var i=t[0]+t[1]+t[2]+t[3]+t[4],a=e.centerFromEnd(t,n),s=this.crossCheckVertical(r,Math.floor(a),t[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),t[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),t[2],i)))){for(var c=i/7,u=!1,l=this.possibleCenters,d=0,f=l.length;d=e.CENTER_QUORUM){if(null!=o)return this.hasSkipped=!0,Math.floor((Math.abs(o.getX()-s.getX())-Math.abs(o.getY()-s.getY()))/2);o=s}}}catch(c){t={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,r,n,o,i=0,a=0,s=this.possibleCenters.length;try{for(var c=mi(this.possibleCenters),u=c.next();!u.done;u=c.next()){var l=u.value;l.getCount()>=e.CENTER_QUORUM&&(i++,a+=l.getEstimatedModuleSize())}}catch(g){t={error:g}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}if(i<3)return!1;var d=a/s,f=0;try{for(var h=mi(this.possibleCenters),p=h.next();!p.done;p=h.next()){l=p.value;f+=Math.abs(l.getEstimatedModuleSize()-d)}}catch(m){n={error:m}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return f<=.05*a},e.prototype.selectBestPatterns=function(){var e,t,r,n,o=this.possibleCenters.length;if(o<3)throw new ae;var i,a=this.possibleCenters;if(o>3){var s=0,c=0;try{for(var u=mi(this.possibleCenters),l=u.next();!l.done;l=u.next()){var d=l.value,f=d.getEstimatedModuleSize();s+=f,c+=f*f}}catch(b){e={error:b}}finally{try{l&&!l.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}i=s/o;var h=Math.sqrt(c/o-i*i);a.sort((function(e,t){var r=Math.abs(t.getEstimatedModuleSize()-i),n=Math.abs(e.getEstimatedModuleSize()-i);return rn?1:0}));for(var p=Math.max(.2*i,h),g=0;g3;g++){var m=a[g];Math.abs(m.getEstimatedModuleSize()-i)>p&&(a.splice(g,1),g--)}}if(a.length>3){s=0;try{for(var y=mi(a),v=y.next();!v.done;v=y.next()){var w=v.value;s+=w.getEstimatedModuleSize()}}catch(_){r={error:_}}finally{try{v&&!v.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}i=s/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var r=Math.abs(t.getEstimatedModuleSize()-i),n=Math.abs(e.getEstimatedModuleSize()-i);return rn?-1:0}return t.getCount()-e.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}();const vi=yi;var wi=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null===e||void 0===e?null:e.get($.NEED_RESULT_POINT_CALLBACK);var t=new vi(this.image,this.resultPointCallback),r=t.find(e);return this.processFinderPatternInfo(r)},e.prototype.processFinderPatternInfo=function(t){var r=t.getTopLeft(),n=t.getTopRight(),o=t.getBottomLeft(),i=this.calculateModuleSize(r,n,o);if(i<1)throw new ae("No pattern found in proccess finder.");var a=e.computeDimension(r,n,o,i),s=Uo.getProvisionalVersionForDimension(a),c=s.getDimensionForVersion()-7,u=null;if(s.getAlignmentPatternCenters().length>0)for(var l=n.getX()-r.getX()+o.getX(),d=n.getY()-r.getY()+o.getY(),f=1-3/c,h=Math.floor(r.getX()+f*(l-r.getX())),p=Math.floor(r.getY()+f*(d-r.getY())),g=4;g<=16;g<<=1)try{u=this.findAlignmentInRegion(i,h,p,g);break}catch(w){if(!(w instanceof ae))throw w}var m,y=e.createTransform(r,n,o,u,a),v=e.sampleGrid(this.image,y,a);return m=null===u?[o,r,n]:[o,r,n,u],new st(v,m)},e.createTransform=function(e,t,r,n,o){var i,a,s,c,u=o-3.5;return null!==n?(i=n.getX(),a=n.getY(),s=u-3,c=s):(i=t.getX()-e.getX()+r.getX(),a=t.getY()-e.getY()+r.getY(),s=u,c=u),mt.quadrilateralToQuadrilateral(3.5,3.5,u,3.5,s,c,3.5,u,e.getX(),e.getY(),t.getX(),t.getY(),i,a,r.getX(),r.getY())},e.sampleGrid=function(e,t,r){var n=_t.getInstance();return n.sampleGridWithTransform(e,r,r,t)},e.computeDimension=function(e,t,r,n){var o=tt.round(it.distance(e,t)/n),i=tt.round(it.distance(e,r)/n),a=Math.floor((o+i)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new ae("Dimensions could be not found.")}return a},e.prototype.calculateModuleSize=function(e,t,r){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,r))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,r,n){var o=this.sizeOfBlackWhiteBlackRun(e,t,r,n),i=1,a=e-(r-e);a<0?(i=e/(e-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-e)/(a-e),a=this.image.getWidth()-1);var s=Math.floor(t-(n-t)*i);return i=1,s<0?(i=t/(t-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),a=Math.floor(e+(a-e)*i),o+=this.sizeOfBlackWhiteBlackRun(e,t,a,s),o-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,r,n){var o=Math.abs(n-t)>Math.abs(r-e);if(o){var i=e;e=t,t=i,i=r,r=n,n=i}for(var a=Math.abs(r-e),s=Math.abs(n-t),c=-a/2,u=e0){if(p===n)break;p+=l,c-=a}}return 2===d?tt.distance(r+u,n,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,r,n){var o=Math.floor(n*e),i=Math.max(0,t-o),a=Math.min(this.image.getWidth()-1,t+o);if(a-i<3*e)throw new ae("Alignment top exceeds estimated module size.");var s=Math.max(0,r-o),c=Math.min(this.image.getHeight()-1,r+o);if(c-s<3*e)throw new ae("Alignment bottom exceeds estimated module size.");var u=new li(this.image,i,s,a-i,c-s,e,this.resultPointCallback);return u.find()},e}();const bi=wi;var _i=function(){function e(){this.decoder=new oi}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,r){var n,o;if(void 0!==r&&null!==r&&void 0!==r.get($.PURE_BARCODE)){var i=e.extractPureBits(t.getBlackMatrix());n=this.decoder.decodeBitMatrix(i,r),o=e.NO_POINTS}else{var a=new bi(t.getBlackMatrix()).detect(r);n=this.decoder.decodeBitMatrix(a.getBits(),r),o=a.getPoints()}n.getOther()instanceof ti&&n.getOther().applyMirroredCorrection(o);var s=new Ce(n.getText(),n.getRawBytes(),void 0,o,Ie.QR_CODE,void 0),c=n.getByteSegments();null!==c&&s.putMetadata(Ne.BYTE_SEGMENTS,c);var u=n.getECLevel();return null!==u&&s.putMetadata(Ne.ERROR_CORRECTION_LEVEL,u),n.hasStructuredAppend()&&(s.putMetadata(Ne.STRUCTURED_APPEND_SEQUENCE,n.getStructuredAppendSequenceNumber()),s.putMetadata(Ne.STRUCTURED_APPEND_PARITY,n.getStructuredAppendParity())),s},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null===t||null===r)throw new ae;var n=this.moduleSize(t,e),o=t[1],i=r[1],a=t[0],s=r[0];if(a>=s||o>=i)throw new ae;if(i-o!==s-a&&(s=a+(i-o),s>=e.getWidth()))throw new ae;var c=Math.round((s-a+1)/n),u=Math.round((i-o+1)/n);if(c<=0||u<=0)throw new ae;if(u!==c)throw new ae;var l=Math.floor(n/2);o+=l,a+=l;var d=a+Math.floor((c-1)*n)-s;if(d>0){if(d>l)throw new ae;a-=d}var f=o+Math.floor((u-1)*n)-i;if(f>0){if(f>l)throw new ae;o-=f}for(var h=new ne(c,u),p=0;p=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ai=function(){function e(){}return e.prototype.PDF417Common=function(){},e.getBitCountSum=function(e){return tt.sum(e)},e.toIntArray=function(t){var r,n;if(null==t||!t.length)return e.EMPTY_INT_ARRAY;var o=new Int32Array(t.length),i=0;try{for(var a=Si(t),s=a.next();!s.done;s=a.next()){var c=s.value;o[i++]=c}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.getCodeword=function(t){var r=R.binarySearch(e.SYMBOL_TABLE,262143&t);return r<0?-1:(e.CODEWORD_TABLE[r]-1)%e.NUMBER_OF_CODEWORDS},e.NUMBER_OF_CODEWORDS=929,e.MAX_CODEWORDS_IN_BARCODE=e.NUMBER_OF_CODEWORDS-1,e.MIN_ROWS_IN_BARCODE=3,e.MAX_ROWS_IN_BARCODE=90,e.MODULES_IN_CODEWORD=17,e.MODULES_IN_STOP_PATTERN=18,e.BARS_IN_MODULE=8,e.EMPTY_INT_ARRAY=new Int32Array([]),e.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),e.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),e}();const Ti=Ai;var Ci=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();const xi=Ci;var Ii=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Oi=function(){function e(){}return e.detectMultiple=function(t,r,n){var o=t.getBlackMatrix(),i=e.detect(n,o);return i.length||(o=o.clone(),o.rotate180(),i=e.detect(n,o)),new xi(o,i)},e.detect=function(t,r){var n,o,i=new Array,a=0,s=0,c=!1;while(a0){var d=e.findGuardPattern(t,i,--o,n,!1,a,u);if(null==d){o++;break}l=d}s[0]=new it(l[0],o),s[1]=new it(l[1],o),c=!0;break}}var f=o+1;if(c){var h=0;for(d=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);fe.SKIPPED_ROW_COUNT_MAX)break;h++}}f-=h+1,s[2]=new it(d[0],f),s[3]=new it(d[1],f)}return f-o0&&u++d?l-d:d-l;if(f>r)return 1/0;c+=f}return c/o},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}();const Ni=Oi;var Pi=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ki=function(){function e(e,t){if(0===t.length)throw new g;this.field=e;var r=t.length;if(r>1&&0===t[0]){var n=1;while(nn.length){var o=r;r=n,n=o}var i=new Int32Array(n.length),a=n.length-r.length;A.arraycopy(n,0,i,0,a);for(var s=a;s=0;t--){var r=this.getCoefficient(t);0!==r&&(r<0?(e.append(" - "),r=-r):e.length()>0&&e.append(" + "),0!==t&&1===r||e.append(r),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}();const Ri=ki;var Mi=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new g;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new $e;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}();const Bi=Mi;var Li=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Di=function(e){function t(t,r){var n=e.call(this)||this;n.modulus=t,n.expTable=new Int32Array(t),n.logTable=new Int32Array(t);for(var o=1,i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ui=function(){function e(){this.field=Fi.PDF417_GF}return e.prototype.decode=function(e,t,r){for(var n,o,i=new Ri(this.field,e),a=new Int32Array(t),s=!1,c=t;c>0;c--){var u=i.evaluateAt(this.field.exp(c));a[t-c]=u,0!==u&&(s=!0)}if(!s)return 0;var l=this.field.getOne();if(null!=r)try{for(var d=$i(r),f=d.next();!f.done;f=d.next()){var h=f.value,p=this.field.exp(e.length-1-h),g=new Ri(this.field,new Int32Array([this.field.subtract(0,p),1]));l=l.multiply(g)}}catch(A){n={error:A}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}var m=new Ri(this.field,a),y=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),m,t),v=y[0],w=y[1],_=this.findErrorLocations(v),E=this.findErrorMagnitudes(w,v,_);for(c=0;c<_.length;c++){var S=e.length-1-this.field.log(_[c]);if(S<0)throw b.getChecksumInstance();e[S]=this.field.subtract(e[S],E[c])}return _.length},e.prototype.runEuclideanAlgorithm=function(e,t,r){if(e.getDegree()=Math.round(r/2)){var c=o,u=a;if(o=i,a=s,o.isZero())throw b.getChecksumInstance();i=c;var l=this.field.getZero(),d=o.getCoefficient(o.getDegree()),f=this.field.inverse(d);while(i.getDegree()>=o.getDegree()&&!i.isZero()){var h=i.getDegree()-o.getDegree(),p=this.field.multiply(i.getCoefficient(i.getDegree()),f);l=l.add(this.field.buildMonomial(h,p)),i=i.subtract(o.multiplyByMonomial(h,p))}s=l.multiply(a).subtract(u).negative()}var g=s.getCoefficient(0);if(0===g)throw b.getChecksumInstance();var m=this.field.inverse(g),y=s.multiply(m),v=i.multiply(m);return[y,v]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),r=new Int32Array(t),n=0,o=1;o0){var c=n?this.topLeft:this.topRight,u=Math.trunc(c.getY()-t);u<0&&(u=0);var l=new it(c.getX(),u);n?o=l:a=l}if(r>0){var d=n?this.bottomLeft:this.bottomRight,f=Math.trunc(d.getY()+r);f>=this.image.getHeight()&&(f=this.image.getHeight()-1);var h=new it(d.getX(),f);n?i=h:s=h}return new e(this.image,o,i,a,s)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}();const Vi=zi;var Hi=function(){function e(e,t,r,n){this.columnCount=e,this.errorCorrectionLevel=n,this.rowCountUpperPart=t,this.rowCountLowerPart=r,this.rowCount=t+r}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}();const qi=Hi;var Gi=function(){function e(){this.buffer=""}return e.form=function(e,t){var r=-1;function n(e,n,o,i,a,s){if("%%"===e)return"%";if(void 0!==t[++r]){e=i?parseInt(i.substr(1)):void 0;var c,u=a?parseInt(a.substr(1)):void 0;switch(s){case"s":c=t[r];break;case"c":c=t[r][0];break;case"f":c=parseFloat(t[r]).toFixed(e);break;case"p":c=parseFloat(t[r]).toPrecision(e);break;case"e":c=parseFloat(t[r]).toExponential(e);break;case"x":c=parseInt(t[r]).toString(u||16);break;case"d":c=parseFloat(parseInt(t[r],u||10).toPrecision(e)).toFixed(0);break}c="object"===typeof c?JSON.stringify(c):(+c).toString(u);var l=parseInt(o),d=o&&o[0]+""==="0"?"0":" ";while(c.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ki=function(){function e(e){this.boundingBox=new Vi(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var r=this.getCodeword(t);if(null!=r)return r;for(var n=1;n=0&&(r=this.codewords[o],null!=r))return r;if(o=this.imageRowToCodewordIndex(t)+n,o=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ji=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},Qi=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,r=-1,n=new Array,o=function(e,t){var o={getKey:function(){return e},getValue:function(){return t}};o.getValue()>r?(r=o.getValue(),n=[],n.push(o.getKey())):o.getValue()===r&&n.push(o.getKey())};try{for(var i=Xi(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=Ji(a.value,2),c=s[0],u=s[1];o(c,u)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return Ti.toIntArray(n)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}();const ea=Qi;var ta=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ra=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},na=function(e){function t(t,r){var n=e.call(this,t)||this;return n._isLeft=r,n}return ta(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var r=ra(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,c=1,u=0,l=i;l=e.getRowCount()||f>l)t[l]=null;else{var h=void 0;h=c>2?(c-2)*f:f;for(var p=h>=l,g=1;g<=h&&!p;g++)p=null!=t[l-g];p?t[l]=null:(s=d.getRowNumber(),u=1)}}},t.prototype.getRowHeights=function(){var e,t,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.getRowCount());try{for(var o=ra(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=n.length)continue;n[s]++}}}catch(c){e={error:c}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),r=this._isLeft?t.getTopLeft():t.getTopRight(),n=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),s=-1,c=1,u=0,l=o;l=e.getRowCount()?a[l]=null:(s=d.getRowNumber(),u=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,r=this.getCodewords(),n=new ea,o=new ea,i=new ea,a=new ea;try{for(var s=ra(r),c=s.next();!c.done;c=s.next()){var u=c.value;if(null!=u){u.setRowNumberAsRowIndicatorColumn();var l=u.getValue()%30,d=u.getRowNumber();switch(this._isLeft||(d+=2),d%3){case 0:o.setValue(3*l+1);break;case 1:a.setValue(l/3),i.setValue(l%3);break;case 2:n.setValue(l+1);break}}}}catch(h){e={error:h}}finally{try{c&&!c.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}if(0===n.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||n.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]Ti.MAX_ROWS_IN_BARCODE)return null;var f=new qi(n.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(r,f),f},t.prototype.removeIncorrectCodewords=function(e,t){for(var r=0;rt.getRowCount())e[r]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[r]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[r]=null);break;case 2:o+1!==t.getColumnCount()&&(e[r]=null);break}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(Yi);const oa=na;var ia=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},aa=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e,t=Ti.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t0&&i0&&(u[0]=n[r-1],u[4]=s[r-1],u[5]=c[r-1]),r>1&&(u[8]=n[r-2],u[10]=s[r-2],u[11]=c[r-2]),r>=1;n=1&r,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(Ti.BARS_IN_MODULE)),e.RATIOS_TABLE[t][Ti.BARS_IN_MODULE-o-1]=Math.fround(i/Ti.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var r=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==r?r:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=tt.sum(e),r=new Int32Array(Ti.BARS_IN_MODULE),n=0,o=0,i=0;i1)for(var o=0;o=i)break}ce.length||r<0||t+r>e.length||t+r<0)throw new x;if(0!==r)for(var n=0;n0&&this.grow(e)},t.prototype.grow=function(e){var t=this.buf.length,r=t<<1;if(r-e<0&&(r=e),r<0){if(e<0)throw new Sa;r=B.MAX_VALUE}this.buf=R.copyOfUint8Array(this.buf,r)},t.prototype.write=function(e){this.ensureCapacity(this.count+1),this.buf[this.count]=e,this.count+=1},t.prototype.writeBytesOffset=function(e,t,r){if(t<0||t>e.length||r<0||t+r-e.length>0)throw new x;this.ensureCapacity(this.count+r),A.arraycopy(e,t,this.buf,this.count,r),this.count+=r},t.prototype.writeTo=function(e){e.writeBytesOffset(this.buf,0,this.count)},t.prototype.reset=function(){this.count=0},t.prototype.toByteArray=function(){return R.copyOfUint8Array(this.buf,this.count)},t.prototype.size=function(){return this.count},t.prototype.toString=function(e){return e?"string"===typeof e?this.toString_string(e):this.toString_number(e):this.toString_void()},t.prototype.toString_void=function(){return new String(this.buf).toString()},t.prototype.toString_string=function(e){return new String(this.buf).toString()},t.prototype.toString_number=function(e){return new String(this.buf).toString()},t.prototype.close=function(){},t}(ba);const Ca=Ta;var xa,Ia;function Oa(){if("undefined"!==typeof window)return window["BigInt"]||null;if("undefined"!==typeof r.g)return r.g["BigInt"]||null;if("undefined"!==typeof self)return self["BigInt"]||null;throw new Error("Can't search globals for BigInt!")}function Na(e){if("undefined"===typeof Ia&&(Ia=Oa()),null===Ia)throw new Error("BigInt is not supported!");return Ia(e)}function Pa(){var e=[];e[0]=Na(1);var t=Na(900);e[1]=t;for(var r=2;r<16;r++)e[r]=e[r-1]*t;return e}(function(e){e[e["ALPHA"]=0]="ALPHA",e[e["LOWER"]=1]="LOWER",e[e["MIXED"]=2]="MIXED",e[e["PUNCT"]=3]="PUNCT",e[e["ALPHA_SHIFT"]=4]="ALPHA_SHIFT",e[e["PUNCT_SHIFT"]=5]="PUNCT_SHIFT"})(xa||(xa={}));var ka=function(){function e(){}return e.decode=function(t,r){var n=new te(""),o=G.ISO8859_1;n.enableDecoding(o);var i=1,a=t[i++],s=new ha;while(it[0])throw z.getFormatInstance();for(var o=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i0){for(var f=0;f<6;++f)a.write(Number(Na(c)>>Na(8*(5-f))));c=0,s=0}break}o===r[0]&&d0){for(f=0;f<6;++f)a.write(Number(Na(c)>>Na(8*(5-f))));c=0,s=0}}break}return i.append(X.decode(a.toByteArray(),n)),o},e.numericCompaction=function(t,r,n){var o=0,i=!1,a=new Int32Array(e.MAX_NUMERIC_CODEWORDS);while(r0&&(n.append(e.decodeBase900toBase10(a,o)),o=0)}return r},e.decodeBase900toBase10=function(t,r){for(var n=Na(0),o=0;o@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=Oa()?Pa():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}();const Ra=ka;var Ma=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ba=function(){function e(){}return e.decode=function(t,r,n,o,i,a,s){for(var c,u=new Vi(t,r,n,o,i),l=null,d=null,f=!0;;f=!1){if(null!=r&&(l=e.getRowIndicatorColumn(t,u,r,!0,a,s)),null!=o&&(d=e.getRowIndicatorColumn(t,u,o,!1,a,s)),c=e.merge(l,d),null==c)throw ae.getNotFoundInstance();var h=c.getBoundingBox();if(!f||null==h||!(h.getMinY()u.getMaxY()))break;u=h}c.setBoundingBox(u);var p=c.getBarcodeColumnCount()+1;c.setDetectionResultColumn(0,l),c.setDetectionResultColumn(p,d);for(var g=null!=l,m=1;m<=p;m++){var y=g?m:p-m;if(void 0===c.getDetectionResultColumn(y)){var v=void 0;v=0===y||y===p?new oa(u,0===y):new Yi(u),c.setDetectionResultColumn(y,v);for(var w=-1,b=w,_=u.getMinY();_<=u.getMaxY();_++){if(w=e.getStartColumn(c,y,_,g),w<0||w>u.getMaxX()){if(-1===b)continue;w=b}var E=e.detectCodeword(t,u.getMinX(),u.getMaxX(),g,w,_,a,s);null!=E&&(v.setCodeword(_,E),b=w,a=Math.min(a,E.getWidth()),s=Math.max(s,E.getWidth()))}}}return e.createDecoderResult(c)},e.merge=function(t,r){if(null==t&&null==r)return null;var n=e.getBarcodeMetadata(t,r);if(null==n)return null;var o=Vi.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(r));return new sa(n,o)},e.adjustBoundingBox=function(t){var r,n;if(null==t)return null;var o=t.getRowHeights();if(null==o)return null;var i=e.getMax(o),a=0;try{for(var s=Ma(o),c=s.next();!c.done;c=s.next()){var u=c.value;if(a+=i-u,u>0)break}}catch(h){r={error:h}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}for(var l=t.getCodewords(),d=0;a>0&&null==l[d];d++)a--;var f=0;for(d=o.length-1;d>=0;d--)if(f+=i-o[d],o[d]>0)break;for(d=l.length-1;f>0&&null==l[d];d--)f--;return t.getBoundingBox().addMissingRows(a,f,t.isLeft())},e.getMax=function(e){var t,r,n=-1;try{for(var o=Ma(e),i=o.next();!i.done;i=o.next()){var a=i.value;n=Math.max(n,a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.getBarcodeMetadata=function(e,t){var r,n;return null==e||null==(r=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(n=t.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},e.getRowIndicatorColumn=function(t,r,n,o,i,a){for(var s=new oa(r,o),c=0;c<2;c++)for(var u=0===c?1:-1,l=Math.trunc(Math.trunc(n.getX())),d=Math.trunc(Math.trunc(n.getY()));d<=r.getMaxY()&&d>=r.getMinY();d+=u){var f=e.detectCodeword(t,0,t.getWidth(),o,l,d,i,a);null!=f&&(s.setCodeword(d,f),l=o?f.getStartX():f.getEndX())}return s},e.adjustCodewordCount=function(t,r){var n=r[0][1],o=n.getValue(),i=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===o.length){if(i<1||i>Ti.MAX_CODEWORDS_IN_BARCODE)throw ae.getNotFoundInstance();n.setValue(i)}else o[0]!==i&&n.setValue(i)},e.createDecoderResult=function(t){var r=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,r);for(var n=new Array,o=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),i=[],a=new Array,s=0;s0){for(var c=0;c=0){if(g>=i.length)continue;i[g][c].setValue(p.getValue())}}}}catch(m){n={error:m}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}c++}}catch(y){t={error:y}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return i},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,r,n,o){var i,a,s=o?1:-1,c=null;if(e.isValidBarcodeColumn(t,r-s)&&(c=t.getDetectionResultColumn(r-s).getCodeword(n)),null!=c)return o?c.getEndX():c.getStartX();if(c=t.getDetectionResultColumn(r).getCodewordNearby(n),null!=c)return o?c.getStartX():c.getEndX();if(e.isValidBarcodeColumn(t,r-s)&&(c=t.getDetectionResultColumn(r-s).getCodewordNearby(n)),null!=c)return o?c.getEndX():c.getStartX();var u=0;while(e.isValidBarcodeColumn(t,r-s)){r-=s;try{for(var l=(i=void 0,Ma(t.getDetectionResultColumn(r).getCodewords())),d=l.next();!d.done;d=l.next()){var f=d.value;if(null!=f)return(o?f.getEndX():f.getStartX())+s*u*(f.getEndX()-f.getStartX())}}catch(h){i={error:h}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}u++}return o?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,r,n,o,i,a,s,c){i=e.adjustCodewordStartColumn(t,r,n,o,i,a);var u,l=e.getModuleBitCount(t,r,n,o,i,a);if(null==l)return null;var d=tt.sum(l);if(o)u=i+d;else{for(var f=0;f=t)&&c=r:se.CODEWORD_SKEW_SIZE)return i;s+=c}c=-c,o=!o}return s},e.checkCodewordSkew=function(t,r,n){return r-e.CODEWORD_SKEW_SIZE<=t&&t<=n+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,r,n){if(0===t.length)throw z.getFormatInstance();var o=1<n/2+e.MAX_ERRORS||n<0||n>e.MAX_EC_CODEWORDS)throw b.getChecksumInstance();return e.errorCorrection.decode(t,n,r)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw z.getFormatInstance();var r=e[0];if(r>e.length)throw z.getFormatInstance();if(0===r){if(!(t>=1}return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new Wi,r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Fa=function(){function e(){}return e.prototype.decode=function(t,r){void 0===r&&(r=null);var n=e.decode(t,r,!1);if(null==n||0===n.length||null==n[0])throw ae.getNotFoundInstance();return n[0]},e.prototype.decodeMultiple=function(t,r){void 0===r&&(r=null);try{return e.decode(t,r,!0)}catch(n){if(n instanceof z||n instanceof b)throw ae.getNotFoundInstance();throw n}},e.decode=function(t,r,n){var o,i,a=new Array,s=Ni.detectMultiple(t,r,n);try{for(var c=Da(s.getPoints()),u=c.next();!u.done;u=c.next()){var l=u.value,d=La.decode(s.getBits(),l[4],l[5],l[6],l[7],e.getMinCodewordWidth(l),e.getMaxCodewordWidth(l)),f=new Ce(d.getText(),d.getRawBytes(),void 0,l,Ie.PDF_417);f.putMetadata(Ne.ERROR_CORRECTION_LEVEL,d.getECLevel());var h=d.getOther();null!=h&&f.putMetadata(Ne.PDF417_EXTRA_METADATA,h),a.push(f)}}catch(p){o={error:p}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return a.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?B.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*Ti.MODULES_IN_CODEWORD/Ti.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}();const $a=Fa;var Ua=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ua(t,e),t.kind="ReaderException",t}(u);const za=ja;var Va=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ha=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!==e&&void 0!==e&&void 0!==e.get($.TRY_HARDER),r=null===e||void 0===e?null:e.get($.POSSIBLE_FORMATS),n=new Array;if(null!==r&&void 0!==r){var o=r.some((function(e){return e===Ie.UPC_A||e===Ie.UPC_E||e===Ie.EAN_13||e===Ie.EAN_8||e===Ie.CODABAR||e===Ie.CODE_39||e===Ie.CODE_93||e===Ie.CODE_128||e===Ie.ITF||e===Ie.RSS_14||e===Ie.RSS_EXPANDED}));o&&!t&&n.push(new to(e)),r.includes(Ie.QR_CODE)&&n.push(new Ei),r.includes(Ie.DATA_MATRIX)&&n.push(new To),r.includes(Ie.AZTEC)&&n.push(new Ct),r.includes(Ie.PDF_417)&&n.push(new $a),o&&t&&n.push(new to(e))}0===n.length&&(t||n.push(new to(e)),n.push(new Ei),n.push(new To),n.push(new Ct),n.push(new $a),t&&n.push(new to(e))),this.readers=n},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var r=Va(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(i){e={error:i}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,r;if(null===this.readers)throw new za("No readers where selected, nothing can be read.");try{for(var n=Va(this.readers),o=n.next();!o.done;o=n.next()){var i=o.value;try{return i.decode(e,this.hints)}catch(a){if(a instanceof za)continue}}}catch(s){t={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}throw new ae("No MultiFormat Readers were able to detect the code.")},e}();const qa=Ha;var Ga,Wa=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Za=(function(e){function t(t,r){void 0===t&&(t=null),void 0===r&&(r=500);var n=this,o=new qa;return o.setHints(t),n=e.call(this,o,r)||this,n}Wa(t,e),t.prototype.decodeBitmap=function(e){return this.reader.decodeWithState(e)}}(Ae),function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}()),Ka=(function(e){function t(t){return void 0===t&&(t=500),e.call(this,new $a,t)||this}Za(t,e)}(Ae),function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}());(function(e){function t(t){return void 0===t&&(t=500),e.call(this,new Ei,t)||this}Ka(t,e)})(Ae);(function(e){e[e["ERROR_CORRECTION"]=0]="ERROR_CORRECTION",e[e["CHARACTER_SET"]=1]="CHARACTER_SET",e[e["DATA_MATRIX_SHAPE"]=2]="DATA_MATRIX_SHAPE",e[e["DATA_MATRIX_COMPACT"]=3]="DATA_MATRIX_COMPACT",e[e["MIN_SIZE"]=4]="MIN_SIZE",e[e["MAX_SIZE"]=5]="MAX_SIZE",e[e["MARGIN"]=6]="MARGIN",e[e["PDF417_COMPACT"]=7]="PDF417_COMPACT",e[e["PDF417_COMPACTION"]=8]="PDF417_COMPACTION",e[e["PDF417_DIMENSIONS"]=9]="PDF417_DIMENSIONS",e[e["AZTEC_LAYERS"]=10]="AZTEC_LAYERS",e[e["QR_VERSION"]=11]="QR_VERSION",e[e["GS1_FORMAT"]=12]="GS1_FORMAT",e[e["FORCE_C40"]=13]="FORCE_C40"})(Ga||(Ga={}));const Ya=Ga;var Xa=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new Le(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var r=t[t.length-1],n=this.field,o=t.length;o<=e;o++){var i=r.multiply(new Le(n,Int32Array.from([1,n.exp(o-1+n.getGeneratorBase())])));t.push(i),r=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new g("No error correction bytes");var r=e.length-t;if(r<=0)throw new g("No data bytes provided");var n=this.buildGenerator(t),o=new Int32Array(r);A.arraycopy(e,0,o,0,r);var i=new Le(this.field,o);i=i.multiplyByMonomial(t,1);for(var a=i.divide(n)[1],s=a.getCoefficients(),c=t-s.length,u=0;u=5&&(n+=e.N1+(c-5)),c=1,u=d)}c>=5&&(n+=e.N1+(c-5))}return n},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();const es=Qa;var ts=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},rs=function(){function e(e,t){this.width=e,this.height=t;for(var r=new Array(t),n=0;n!==t;n++)r[n]=new Uint8Array(e);this.bytes=r}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,r){this.bytes[t][e]=r},e.prototype.setBoolean=function(e,t,r){this.bytes[t][e]=r?1:0},e.prototype.clear=function(e){var t,r;try{for(var n=ts(this.bytes),o=n.next();!o.done;o=n.next()){var i=o.value;R.fill(i,e)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t0){6===a&&(a-=1);while(s>=0&&s=n)t^=r<=0)for(var c=0;c!==a;c++){var u=o[c];u>=0&&e.isEmpty(r.get(u,s))&&e.embedPositionAdjustmentPattern(u-2,s-2,r)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();const ls=us;var ds=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}();const fs=ds;var hs=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ps=function(){function e(){}return e.calculateMaskPenalty=function(e){return es.applyMaskPenaltyRule1(e)+es.applyMaskPenaltyRule2(e)+es.applyMaskPenaltyRule3(e)+es.applyMaskPenaltyRule4(e)},e.encode=function(t,r,n){void 0===n&&(n=null);var o=e.DEFAULT_BYTE_MODE_ENCODING,i=null!==n&&void 0!==n.get(Ya.CHARACTER_SET);i&&(o=n.get(Ya.CHARACTER_SET).toString());var a=this.chooseMode(t,o),s=new D;if(a===Xo.BYTE&&(i||e.DEFAULT_BYTE_MODE_ENCODING!==o)){var c=G.getCharacterSetECIByName(o);void 0!==c&&this.appendECI(c,s)}this.appendModeInfo(a,s);var u,l=new D;if(this.appendBytes(t,a,l,o),null!==n&&void 0!==n.get(Ya.QR_VERSION)){var d=Number.parseInt(n.get(Ya.QR_VERSION).toString(),10);u=Uo.getVersionForNumber(d);var f=this.calculateBitsNeeded(a,s,l,u);if(!this.willFit(f,u,r))throw new cs("Data too big for requested version")}else u=this.recommendVersion(r,a,s,l);var h=new D;h.appendBitArray(s);var p=a===Xo.BYTE?l.getSizeInBytes():t.length;this.appendLengthInfo(p,u,a,h),h.appendBitArray(l);var g=u.getECBlocksForLevel(r),m=u.getTotalCodewords()-g.getTotalECCodewords();this.terminateBits(m,h);var y=this.interleaveWithECBytes(h,u.getTotalCodewords(),m,g.getNumBlocks()),v=new is;v.setECLevel(r),v.setMode(a),v.setVersion(u);var w=u.getDimensionForVersion(),b=new ns(w,w),_=this.chooseMaskPattern(y,r,u,b);return v.setMaskPattern(_),ls.buildMatrix(y,r,u,_,b),v.setMatrix(b),v},e.recommendVersion=function(e,t,r,n){var o=this.calculateBitsNeeded(t,r,n,Uo.getVersionForNumber(1)),i=this.chooseVersion(o,e),a=this.calculateBitsNeeded(t,r,n,i);return this.chooseVersion(a,e)},e.calculateBitsNeeded=function(e,t,r,n){return t.getSize()+e.getCharacterCountBits(n)+r.getSize()},e.getAlphanumericCode=function(t){return t159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,r,n){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a=s},e.terminateBits=function(e,t){var r=8*e;if(t.getSize()>r)throw new cs("data bits cannot fit in the QR Code"+t.getSize()+" > "+r);for(var n=0;n<4&&t.getSize()0)for(n=o;n<8;n++)t.appendBit(!1);var i=e-t.getSizeInBytes();for(n=0;n=r)throw new cs("Block ID too large");var a=e%r,s=r-a,c=Math.floor(e/r),u=c+1,l=Math.floor(t/r),d=l+1,f=c-l,h=u-d;if(f!==h)throw new cs("EC bytes mismatch");if(r!==s+a)throw new cs("RS blocks mismatch");if(e!==(l+f)*s+(d+h)*a)throw new cs("Total bytes mismatch");n=1<=0&&r<=9},e.appendNumericBytes=function(t,r){var n=t.length,o=0;while(o=33088&&s<=40956?c=s-33088:s>=57408&&s<=60351&&(c=s-49472),-1===c)throw new cs("Invalid byte sequence");var u=192*(c>>8)+(255&c);t.appendBits(u,13)}},e.appendECI=function(e,t){t.appendBits(Xo.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=G.UTF8.getName(),e}();const gs=ps;(function(){function e(){}e.prototype.write=function(t,r,n,o){if(void 0===o&&(o=null),0===t.length)throw new g("Found empty contents");if(r<0||n<0)throw new g("Requested dimensions are too small: "+r+"x"+n);var i=Oo.L,a=e.QUIET_ZONE_SIZE;null!==o&&(void 0!==o.get(Ya.ERROR_CORRECTION)&&(i=Oo.fromString(o.get(Ya.ERROR_CORRECTION).toString())),void 0!==o.get(Ya.MARGIN)&&(a=Number.parseInt(o.get(Ya.MARGIN).toString(),10)));var s=gs.encode(t,i,o);return this.renderResult(s,r,n,a)},e.prototype.writeToDom=function(e,t,r,n,o){void 0===o&&(o=null),"string"===typeof e&&(e=document.querySelector(e));var i=this.write(t,r,n,o);e&&e.appendChild(i)},e.prototype.renderResult=function(e,t,r,n){var o=e.getMatrix();if(null===o)throw new Ze;for(var i=o.getWidth(),a=o.getHeight(),s=i+2*n,c=a+2*n,u=Math.max(t,s),l=Math.max(r,c),d=Math.min(Math.floor(u/s),Math.floor(l/c)),f=Math.floor((u-i*d)/2),h=Math.floor((l-a*d)/2),p=this.createSVGElement(u,l),g=0,m=h;gr||i+s>n)throw new g("Crop rectangle does not fit within image data.");return c&&u.reverseHorizontal(a,s),u}vs(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new g("Requested row is outside the image: "+e);var r=this.getWidth();(null===t||void 0===t||t.length>16&255,p=f>>7&510,m=255&f;l[d]=(h+p+m)/4&255}c.luminances=l}else c.luminances=t;if(void 0===o&&(c.dataWidth=r),void 0===i&&(c.dataHeight=n),void 0===a&&(c.left=0),void 0===s&&(c.top=0),c.left+r>c.dataWidth||c.top+n>c.dataHeight)throw new g("Crop rectangle does not fit within image data.");return c}ws(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new g("Requested row is outside the image: "+e);var r=this.getWidth();(null===t||void 0===t||t.length=0&&this.noBit(r,t)&&this.utah(t,r,e++),t-=2,r+=2}while(t>=0&&r=0&&r=0);t+=3,r++}while(t=256&&(r^=Ps);return{LOG:e,ALOG:t}},Rs=(xs=ks([],[]),xs.LOG),Ms=xs.ALOG;(function(e){e[e["FORCE_NONE"]=0]="FORCE_NONE",e[e["FORCE_SQUARE"]=1]="FORCE_SQUARE",e[e["FORCE_RECTANGLE"]=2]="FORCE_RECTANGLE"})(Is||(Is={}));var Bs=129,Ls=230,Ds=231,Fs=235,$s=236,Us=237,js=238,zs=239,Vs=240,Hs=254,qs=254,Gs="[)>05",Ws="[)>06",Zs="",Ks=0,Ys=1,Xs=2,Js=3,Qs=4,ec=5,tc=function(){function e(){}return e.encodeECC200=function(e,t){if(e.length!==t.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var r=new te;r.append(e);var n=t.getInterleavedBlockCount();if(1===n){var o=this.createECCBlock(e,t.getErrorCodewords());r.append(o)}else{for(var i=[],a=[],s=0;s0;s--)0!==a&&0!==o[s]?i[s]=i[s-1]^Ms[(Rs[a]+Rs[o[s]])%255]:i[s]=i[s-1];0!==a&&0!==o[0]?i[0]=Ms[(Rs[a]+Rs[o[0]])%255]:i[0]=0}var c=[];for(n=0;n=2)e.writeCodeword(this.encodeASCIIDigits(e.getMessage().charCodeAt(e.pos),e.getMessage().charCodeAt(e.pos+1))),e.pos+=2;else{var r=e.getCurrentChar(),n=wc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(n!==this.getEncodingMode())switch(n){case ec:return e.writeCodeword(Ds),void e.signalEncoderChange(ec);case Ys:return e.writeCodeword(Ls),void e.signalEncoderChange(Ys);case Js:e.writeCodeword(js),e.signalEncoderChange(Js);break;case Xs:e.writeCodeword(zs),e.signalEncoderChange(Xs);break;case Qs:e.writeCodeword(Vs),e.signalEncoderChange(Qs);break;default:throw new Error("Illegal mode: "+n)}else wc.isExtendedASCII(r)?(e.writeCodeword(Fs),e.writeCodeword(r-128+1),e.pos++):(e.writeCodeword(r+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){if(wc.isDigit(e)&&wc.isDigit(t)){var r=10*(e-48)+(t-48);return r+130}throw new Error("not digits: "+e+t)},e}(),oc=function(){function e(){}return e.prototype.getEncodingMode=function(){return ec},e.prototype.encode=function(e){var t=new te;t.append(0);while(e.hasMoreCharacters()){var r=e.getCurrentChar();t.append(r),e.pos++;var n=wc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(n!==this.getEncodingMode()){e.signalEncoderChange(Ks);break}}var o=t.length()-1,i=1,a=e.getCodewordCount()+o+i;e.updateSymbolInfo(a);var s=e.getSymbolInfo().getDataCapacity()-a>0;if(e.hasMoreCharacters()||s)if(o<=249)t.setCharAt(0,Q.getCharAt(o));else{if(!(o<=1555))throw new Error("Message length not in valid ranges: "+o);t.setCharAt(0,Q.getCharAt(Math.floor(o/250)+249)),t.insert(1,Q.getCharAt(o%250))}var c=0;for(r=t.length();c3||1!==c))&&(e.pos=n)}t.length()>0&&e.writeCodeword(Ls),this.handleEOD(e,t)},e.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();e.pos++;var n=this.encodeChar(r,t),o=2*Math.floor(t.length()/3),i=e.getCodewordCount()+o;e.updateSymbolInfo(i);var a=e.getSymbolInfo().getDataCapacity()-i;if(!e.hasMoreCharacters()){var s=new te;t.length()%3===2&&2!==a&&(n=this.backtrackOneCharacter(e,t,s,n));while(t.length()%3===1&&(n>3||1!==a))n=this.backtrackOneCharacter(e,t,s,n);break}var c=t.length();if(c%3===0){var u=wc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(u!==this.getEncodingMode()){e.signalEncoderChange(Ks);break}}}this.handleEOD(e,t)},e.prototype.backtrackOneCharacter=function(e,t,r,n){var o=t.length(),i=t.toString().substring(0,o-n);t.setLengthToZero(),t.append(i),e.pos--;var a=e.getCurrentChar();return n=this.encodeChar(a,r),e.resetSymbolInfo(),n},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var r=t.toString().substring(3);t.setLengthToZero(),t.append(r)},e.prototype.handleEOD=function(e,t){var r=Math.floor(t.length()/3*2),n=t.length()%3,o=e.getCodewordCount()+r;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===n){t.append("\0");while(t.length()>=3)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(Hs)}else if(1===i&&1===n){while(t.length()>=3)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(Hs),e.pos--}else{if(0!==n)throw new Error("Unexpected case. Please report!");while(t.length()>=3)this.writeNextTriplet(e,t);(i>0||e.hasMoreCharacters())&&e.writeCodeword(Hs)}e.signalEncoderChange(Ks)},e.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return t.append(e-65+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e<=127)return t.append(2),t.append(e-96),2;t.append("1");var r=2;return r+=this.encodeChar(e-128,t),r},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,r=t/256,n=t%256,o=new te;return o.append(r),o.append(n),o.toString()},e}(),ac=function(){function e(){}return e.prototype.getEncodingMode=function(){return Qs},e.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();this.encodeChar(r,t),e.pos++;var n=t.length();if(n>=4){e.writeCodewords(this.encodeToCodewords(t.toString()));var o=t.toString().substring(4);t.setLengthToZero(),t.append(o);var i=wc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(i!==this.getEncodingMode()){e.signalEncoderChange(Ks);break}}}t.append(Q.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var r=t.length();if(0===r)return;if(1===r){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>n&&(e.updateSymbolInfo(e.getCodewordCount()+1),n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var i=r-1,a=this.encodeToCodewords(t.toString()),s=!e.hasMoreCharacters(),c=s&&i<=2;if(i<=2){e.updateSymbolInfo(e.getCodewordCount()+i);n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount();n>=3&&(c=!1,e.updateSymbolInfo(e.getCodewordCount()+a.length))}c?(e.resetSymbolInfo(),e.pos-=i):e.writeCodewords(a)}finally{e.signalEncoderChange(Ks)}},e.prototype.encodeChar=function(e,t){e>=" ".charCodeAt(0)&&e<="?".charCodeAt(0)?t.append(e):e>="@".charCodeAt(0)&&e<="^".charCodeAt(0)?t.append(Q.getCharAt(e-64)):wc.illegalCharacter(Q.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var r=e.charAt(0).charCodeAt(0),n=t>=2?e.charAt(1).charCodeAt(0):0,o=t>=3?e.charAt(2).charCodeAt(0):0,i=t>=4?e.charAt(3).charCodeAt(0):0,a=(r<<18)+(n<<12)+(o<<6)+i,s=a>>16&255,c=a>>8&255,u=255&a,l=new te;return l.append(s),t>=2&&l.append(c),t>=3&&l.append(u),l.toString()},e}(),sc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),cc=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},uc=function(){function e(e,t,r,n,o,i,a,s){void 0===a&&(a=0),void 0===s&&(s=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=o,this.dataRegions=i,this.rsBlockData=a,this.rsBlockError=s}return e.lookup=function(e,t,r,n,o){var i,a;void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===o&&(o=!0);try{for(var s=cc(fc),c=s.next();!c.done;c=s.next()){var u=c.value;if((1!==t||!u.rectangular)&&((2!==t||u.rectangular)&&(null==r||!(u.getSymbolWidth()n.getWidth()||u.getSymbolHeight()>n.getHeight()))&&e<=u.dataCapacity))return u}}catch(l){i={error:l}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}if(o)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},e.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},e.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},e.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},e.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},e.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},e.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},e.prototype.getDataCapacity=function(){return this.dataCapacity},e.prototype.getErrorCodewords=function(){return this.errorCodewords},e.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},e.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},e}();const lc=uc;var dc=function(e){function t(){return e.call(this,!1,1558,620,22,22,36,-1,62)||this}return sc(t,e),t.prototype.getInterleavedBlockCount=function(){return 10},t.prototype.getDataLengthForInterleavedBlock=function(e){return e<=8?156:155},t}(uc),fc=[new uc(!1,3,5,8,8,1),new uc(!1,5,7,10,10,1),new uc(!0,5,7,16,6,1),new uc(!1,8,10,12,12,1),new uc(!0,10,11,14,6,2),new uc(!1,12,12,14,14,1),new uc(!0,16,14,24,10,1),new uc(!1,18,14,16,16,1),new uc(!1,22,18,18,18,1),new uc(!0,22,18,16,10,2),new uc(!1,30,20,20,20,1),new uc(!0,32,24,16,14,2),new uc(!1,36,24,22,22,1),new uc(!1,44,28,24,24,1),new uc(!0,49,28,22,14,2),new uc(!1,62,36,14,14,4),new uc(!1,86,42,16,16,4),new uc(!1,114,48,18,18,4),new uc(!1,144,56,20,20,4),new uc(!1,174,68,22,22,4),new uc(!1,204,84,24,24,4,102,42),new uc(!1,280,112,14,14,16,140,56),new uc(!1,368,144,16,16,16,92,36),new uc(!1,456,192,18,18,16,114,48),new uc(!1,576,224,20,20,16,144,56),new uc(!1,696,272,22,22,16,174,68),new uc(!1,816,336,24,24,16,136,56),new uc(!1,1050,408,18,18,36,175,68),new uc(!1,1304,496,20,20,36,163,62),new dc],hc=function(){function e(e){this.msg=e,this.pos=0,this.skipAtEnd=0;for(var t=e.split("").map((function(e){return e.charCodeAt(0)})),r=new te,n=0,o=t.length;nthis.symbolInfo.getDataCapacity())&&(this.symbolInfo=lc.lookup(e,this.shape,this.minSize,this.maxSize,!0))},e.prototype.resetSymbolInfo=function(){this.symbolInfo=null},e}(),pc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),gc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return pc(t,e),t.prototype.getEncodingMode=function(){return Js},t.prototype.encode=function(e){var t=new te;while(e.hasMoreCharacters()){var r=e.getCurrentChar();e.pos++,this.encodeChar(r,t);var n=t.length();if(n%3===0){this.writeNextTriplet(e,t);var o=wc.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(o!==this.getEncodingMode()){e.signalEncoderChange(Ks);break}}}this.handleEOD(e,t)},t.prototype.encodeChar=function(e,t){switch(e){case 13:t.append(0);break;case"*".charCodeAt(0):t.append(1);break;case">".charCodeAt(0):t.append(2);break;case" ".charCodeAt(0):t.append(3);break;default:e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)?t.append(e-48+4):e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?t.append(e-65+14):wc.illegalCharacter(Q.getCharAt(e));break}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),n=t.length();e.pos-=n,(e.getRemainingCharacters()>1||r>1||e.getRemainingCharacters()!==r)&&e.writeCodeword(qs),e.getNewEncoding()<0&&e.signalEncoderChange(Ks)},t}(ic),mc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),yc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mc(t,e),t.prototype.getEncodingMode=function(){return Xs},t.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="a".charCodeAt(0)&&e<="z".charCodeAt(0))return t.append(e-97+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e>="[".charCodeAt(0)&&e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e==="`".charCodeAt(0))return t.append(2),t.append(0),2;if(e<="Z".charCodeAt(0))return t.append(2),t.append(e-65+1),2;if(e<=127)return t.append(2),t.append(e-123+27),2;t.append("1");var r=2;return r+=this.encodeChar(e-128,t),r},t}(ic),vc=function(){function e(){}return e.randomize253State=function(e){var t=149*e%253+1,r=Bs+t;return r<=254?r:r-254},e.encodeHighLevel=function(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===o&&(o=!1);var i=new ic,a=[new nc,i,new yc,new gc,new ac,new oc],s=new hc(e);s.setSymbolShape(t),s.setSizeConstraints(r,n),e.startsWith(Gs)&&e.endsWith(Zs)?(s.writeCodeword($s),s.setSkipAtEnd(2),s.pos+=Gs.length):e.startsWith(Ws)&&e.endsWith(Zs)&&(s.writeCodeword(Us),s.setSkipAtEnd(2),s.pos+=Ws.length);var c=Ks;o&&(i.encodeMaximal(s),c=s.getNewEncoding(),s.resetEncoderSignal());while(s.hasMoreCharacters())a[c].encode(s),s.getNewEncoding()>=0&&(c=s.getNewEncoding(),s.resetEncoderSignal());var u=s.getCodewordCount();s.updateSymbolInfo();var l=s.getSymbolInfo().getDataCapacity();u=e.length)return r;var n;r===Ks?n=[0,1,1,1,1,1.25]:(n=[1,2,2,2,2,2.25],n[r]=0);var o=0,i=new Uint8Array(6),a=[];while(1){if(t+o===e.length){R.fill(i,0),R.fill(a,0);var s=this.findMinimums(n,a,B.MAX_VALUE,i),c=this.getMinimumCount(i);if(a[Ks]===s)return Ks;if(1===c){if(i[ec]>0)return ec;if(i[Qs]>0)return Qs;if(i[Xs]>0)return Xs;if(i[Js]>0)return Js}return Ys}var u=e.charCodeAt(t+o);if(o++,this.isDigit(u)?n[Ks]+=.5:this.isExtendedASCII(u)?(n[Ks]=Math.ceil(n[Ks]),n[Ks]+=2):(n[Ks]=Math.ceil(n[Ks]),n[Ks]++),this.isNativeC40(u)?n[Ys]+=2/3:this.isExtendedASCII(u)?n[Ys]+=8/3:n[Ys]+=4/3,this.isNativeText(u)?n[Xs]+=2/3:this.isExtendedASCII(u)?n[Xs]+=8/3:n[Xs]+=4/3,this.isNativeX12(u)?n[Js]+=2/3:this.isExtendedASCII(u)?n[Js]+=13/3:n[Js]+=10/3,this.isNativeEDIFACT(u)?n[Qs]+=3/4:this.isExtendedASCII(u)?n[Qs]+=4.25:n[Qs]+=3.25,this.isSpecialB256(u)?n[ec]+=4:n[ec]++,o>=4){if(R.fill(i,0),R.fill(a,0),this.findMinimums(n,a,B.MAX_VALUE,i),a[Ks]i&&(r=i,R.fill(n,0)),r===i&&(n[o]=n[o]+1)}return r},e.getMinimumCount=function(e){for(var t=0,r=0;r<6;r++)t+=e[r];return t||0},e.isDigit=function(e){return e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)},e.isExtendedASCII=function(e){return e>=128&&e<=255},e.isNativeC40=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isNativeText=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="a".charCodeAt(0)&&e<="z".charCodeAt(0)},e.isNativeX12=function(e){return this.isX12TermSep(e)||e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},e.isX12TermSep=function(e){return 13===e||e==="*".charCodeAt(0)||e===">".charCodeAt(0)},e.isNativeEDIFACT=function(e){return e>=" ".charCodeAt(0)&&e<="^".charCodeAt(0)},e.isSpecialB256=function(e){return!1},e.determineConsecutiveDigitCount=function(e,t){void 0===t&&(t=0);var r=e.length,n=t;while(n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ec=function(){function e(e){this.charset=e,this.name=e.name}return e.prototype.canEncode=function(e){try{return null!=X.encode(e,this.charset)}catch(t){return!1}},e}(),Sc=function(){function e(e,t,r){var n,o,i,a,s,c;this.ENCODERS=["IBM437","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-8859-10","ISO-8859-11","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","windows-1250","windows-1251","windows-1252","windows-1256","Shift_JIS"].map((function(e){return new Ec(Es.forName(e))})),this.encoders=[];var u=[];u.push(new Ec(As.ISO_8859_1));for(var l=null!=t&&t.name.startsWith("UTF"),d=0;d=this.bytes.length)return!1;for(var r=0;r=this.length())throw new Error(""+e);if(this.isECI(e))throw new Error("value at "+e+" is not a character but an ECI");return this.isFNC1(e)?this.fnc1:this.bytes[e]},e.prototype.subSequence=function(e,t){if(e<0||e>t||t>this.length())throw new Error(""+e);for(var r=new te,n=e;n=this.length())throw new Error(""+e);return this.bytes[e]>255&&this.bytes[e]<=999},e.prototype.isFNC1=function(e){if(e<0||e>=this.length())throw new Error(""+e);return 1e3===this.bytes[e]},e.prototype.getECIValue=function(e){if(e<0||e>=this.length())throw new Error(""+e);if(!this.isECI(e))throw new Error("value at "+e+" is not an ECI but a character");return this.bytes[e]-256},e.prototype.addEdge=function(e,t,r){(null==e[t][r.encoderIndex]||e[t][r.encoderIndex].cachedTotalSize>r.cachedTotalSize)&&(e[t][r.encoderIndex]=r)},e.prototype.addEdges=function(e,t,r,n,o,i){var a=e.charAt(n).charCodeAt(0),s=0,c=t.length();t.getPriorityEncoderIndex()>=0&&(a===i||t.canEncode(a,t.getPriorityEncoderIndex()))&&(s=t.getPriorityEncoderIndex(),c=s+1);for(var u=s;u=0;i--)l.unshift(255&f[i])}var h=null===d.previous?0:d.previous.encoderIndex;h!==d.encoderIndex&&l.unshift(256+t.getECIValue(d.encoderIndex)),d=d.previous}var p=[];for(i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Oc=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},Nc=function(){for(var e=[],t=0;t","?","@","[","\\","]","^","_"],kc=function(){function e(){}return e.isExtendedASCII=function(e,t){return e!==t&&e>=128&&e<=255},e.isInC40Shift1Set=function(e){return e<=31},e.isInC40Shift2Set=function(e,t){var r,n;try{for(var o=Ic(Pc),i=o.next();!i.done;i=o.next()){var a=i.value;if(a.charCodeAt(0)===e)return!0}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return e===t},e.isInTextShift1Set=function(e){return this.isInC40Shift1Set(e)},e.isInTextShift2Set=function(e,t){return this.isInC40Shift2Set(e,t)},e.encodeHighLevel=function(e,t,r,n){void 0===t&&(t=null),void 0===r&&(r=-1),void 0===n&&(n=0);var o=0;return e.startsWith(Gs)&&e.endsWith(Zs)?(o=5,e=e.substring(Gs.length,e.length-2)):e.startsWith(Ws)&&e.endsWith(Zs)&&(o=6,e=e.substring(Ws.length,e.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,Nc(this.encode(e,t,r,n,o)))))},e.encode=function(e,t,r,n,o){return this.encodeMinimally(new Bc(e,t,r,n,o)).getBytes()},e.addEdge=function(e,t){var r=t.fromPosition+t.characterLength;(null===e[r][t.getEndMode()]||e[r][t.getEndMode()].cachedTotalSize>t.cachedTotalSize)&&(e[r][t.getEndMode()]=t)},e.getNumberOfC40Words=function(t,r,n,o){for(var i=0,a=r;a=128&&(n&&wc.isNativeC40(c-128)||!n&&wc.isNativeText(c-128))?i+=3:i+=4}else i+=2;if(i%3===0||(i-2)%3===0&&a+1===t.length())return o[0]=a-r+1,Math.ceil(i/3)}return o[0]=0,0},e.addEdges=function(t,r,n,o){var i,a;if(t.isECI(n))this.addEdge(r,new Mc(t,bc.ASCII,n,1,o));else{var s,c=t.charAt(n);if(null===o||o.getEndMode()!==bc.EDF){wc.isDigit(c)&&t.haveNCharacters(n,2)&&wc.isDigit(t.charAt(n+1))?this.addEdge(r,new Mc(t,bc.ASCII,n,2,o)):this.addEdge(r,new Mc(t,bc.ASCII,n,1,o));var u=[bc.C40,bc.TEXT];try{for(var l=Ic(u),d=l.next();!d.done;d=l.next()){var f=d.value,h=[];e.getNumberOfC40Words(t,n,f===bc.C40,h)>0&&this.addEdge(r,new Mc(t,f,n,h[0],o))}}catch(g){i={error:g}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}t.haveNCharacters(n,3)&&wc.isNativeX12(t.charAt(n))&&wc.isNativeX12(t.charAt(n+1))&&wc.isNativeX12(t.charAt(n+2))&&this.addEdge(r,new Mc(t,bc.X12,n,3,o)),this.addEdge(r,new Mc(t,bc.B256,n,1,o))}for(s=0;s<3;s++){var p=n+s;if(!t.haveNCharacters(p,1)||!wc.isNativeEDIFACT(t.charAt(p)))break;this.addEdge(r,new Mc(t,bc.EDF,n,s+1,o))}3===s&&t.haveNCharacters(n,4)&&wc.isNativeEDIFACT(t.charAt(n+3))&&this.addEdge(r,new Mc(t,bc.EDF,n,4,o))}},e.encodeMinimally=function(e){var t=e.length(),r=Array(t+1).fill(null).map((function(){return Array(6).fill(0)}));this.addEdges(e,r,0,null);for(var n=1;n<=t;n++){for(var o=0;o<6;o++)null!==r[n][o]&&n=1&&o<=3?s.cachedTotalSize+1:s.cachedTotalSize;c0&&(r+=this.prepend(Mc.getBytes(232),n));for(var s=0;s=0;r--)t.unshift(e[r]);return e.length},e.prototype.randomize253State=function(e){var t=149*e%253+1,r=129+t;return r<=254?r:r-254},e.prototype.applyRandomPattern=function(e,t,r){for(var n=0;n0&&this.getCodewordsRemaining(this.cachedTotalSize+e)<=2-e)return bc.ASCII}if(this.mode===bc.C40||this.mode===bc.TEXT||this.mode===bc.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return bc.ASCII;e=this.getLastASCII();if(1===e&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return bc.ASCII}return this.mode},e.prototype.getMode=function(){return this.mode},e.prototype.getLastASCII=function(){var e=this.input.length(),t=this.fromPosition+this.characterLength;return e-t>4||t>=e?0:e-t===1?kc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())?0:1:e-t===2?kc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())||kc.isExtendedASCII(this.input.charAt(t+1),this.input.getFNC1Character())?0:wc.isDigit(this.input.charAt(t))&&wc.isDigit(this.input.charAt(t+1))?1:2:e-t===3?wc.isDigit(this.input.charAt(t))&&wc.isDigit(this.input.charAt(t+1))&&!kc.isExtendedASCII(this.input.charAt(t+2),this.input.getFNC1Character())||wc.isDigit(this.input.charAt(t+1))&&wc.isDigit(this.input.charAt(t+2))&&!kc.isExtendedASCII(this.input.charAt(t),this.input.getFNC1Character())?2:0:wc.isDigit(this.input.charAt(t))&&wc.isDigit(this.input.charAt(t+1))&&wc.isDigit(this.input.charAt(t+2))&&wc.isDigit(this.input.charAt(t+3))?2:0},e.prototype.getMinSymbolSize=function(e){var t,r,n,o,i,a;switch(this.input.getShapeHint()){case 1:try{for(var s=Ic(this.squareCodewordCapacities),c=s.next();!c.done;c=s.next()){var u=c.value;if(u>=e)return u}}catch(p){t={error:p}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}break;case 2:try{for(var l=Ic(this.rectangularCodewordCapacities),d=l.next();!d.done;d=l.next()){u=d.value;if(u>=e)return u}}catch(g){n={error:g}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}break}try{for(var f=Ic(this.allCodewordCapacities),h=f.next();!h.done;h=f.next()){u=h.value;if(u>=e)return u}}catch(m){i={error:m}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},e.prototype.getCodewordsRemaining=function(e){return this.getMinSymbolSize(e)-e},e.getBytes=function(e,t){var r=new Uint8Array(t?2:1);return r[0]=e,t&&(r[1]=t),r},e.prototype.setC40Word=function(e,t,r,n,o){var i=1600*(255&r)+40*(255&n)+(255&o)+1;e[t]=i/256,e[t+1]=i%256},e.prototype.getX12Value=function(e){return 13===e?0:42===e?1:62===e?2:32===e?3:e>=48&&e<=57?e-44:e>=65&&e<=90?e-51:e},e.prototype.getX12Words=function(){if(this.characterLength%3!==0)throw new Error("X12 words must be a multiple of 3");for(var e=new Uint8Array(this.characterLength/3*2),t=0;t=33&&r<=47?r-33:r>=48&&r<=57?r-44:r>=58&&r<=64?r-43:r>=65&&r<=90?r-64:r>=91&&r<=95?r-69:96===r?0:r>=97&&r<=122?r-83:r>=123&&r<=127?r-96:r},e.prototype.getC40Words=function(e,t){for(var r=[],n=0;n>16&255,t[o+1]=s>>8&255,t[o+2]=255&s}return t},e.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case bc.ASCII:case bc.B256:switch(this.mode){case bc.B256:return e.getBytes(231);case bc.C40:return e.getBytes(230);case bc.TEXT:return e.getBytes(239);case bc.X12:return e.getBytes(238);case bc.EDF:return e.getBytes(240)}break;case bc.C40:case bc.TEXT:case bc.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case bc.ASCII:return e.getBytes(254);case bc.B256:return e.getBytes(254,231);case bc.C40:return e.getBytes(254,230);case bc.TEXT:return e.getBytes(254,239);case bc.X12:return e.getBytes(254,238);case bc.EDF:return e.getBytes(254,240)}break;case bc.EDF:if(this.mode!==bc.EDF)throw new Error("Cannot switch from EDF to "+this.mode);break}return new Uint8Array(0)},e.prototype.getDataBytes=function(){switch(this.mode){case bc.ASCII:return this.input.isECI(this.fromPosition)?e.getBytes(241,this.input.getECIValue(this.fromPosition)+1):kc.isExtendedASCII(this.input.charAt(this.fromPosition),this.input.getFNC1Character())?e.getBytes(235,this.input.charAt(this.fromPosition)-127):2===this.characterLength?e.getBytes(10*this.input.charAt(this.fromPosition)+this.input.charAt(this.fromPosition+1)+130):this.input.isFNC1(this.fromPosition)?e.getBytes(232):e.getBytes(this.input.charAt(this.fromPosition)+1);case bc.B256:return e.getBytes(this.input.charAt(this.fromPosition));case bc.C40:return this.getC40Words(!0,this.input.getFNC1Character());case bc.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case bc.X12:return this.getX12Words();case bc.EDF:return this.getEDFBytes()}},e}(),Bc=function(e){function t(t,r,n,o,i){var a=e.call(this,t,r,n)||this;return a.shape=o,a.macroId=i,a}return xc(t,e),t.prototype.getMacroId=function(){return this.macroId},t.prototype.getShapeHint=function(){return this.shape},t}(Tc);(function(){function e(){}e.prototype.encode=function(e,t,r,n,o){if(void 0===o&&(o=null),""===e.trim())throw new Error("Found empty contents");if(t!==Ie.DATA_MATRIX)throw new Error("Can only encode DATA_MATRIX, but got "+t);if(r<0||n<0)throw new Error("Requested dimensions can't be negative: "+r+"x"+n);var i,a=0,s=null,c=null;if(null!=o){var u=o.get(Ya.DATA_MATRIX_SHAPE);null!=u&&(a=u);var l=o.get(Ya.MIN_SIZE);null!=l&&(s=l);var d=o.get(Ya.MAX_SIZE);null!=d&&(c=d)}var f=null!=o&&o.has(Ya.DATA_MATRIX_COMPACT)&&Boolean(o.get(Ya.DATA_MATRIX_COMPACT).toString());if(f){var h=o.has(Ya.GS1_FORMAT)&&Boolean(o.get(Ya.GS1_FORMAT).toString()),p=null,g=o.has(Ya.CHARACTER_SET);g&&(p=Es.forName(o.get(Ya.CHARACTER_SET).toString())),i=kc.encodeHighLevel(e,p,h?29:-1,a)}else{var m=null!=o&&o.has(Ya.FORCE_C40)&&Boolean(o.get(Ya.FORCE_C40).toString());i=wc.encodeHighLevel(e,a,s,c,m)}var y=lc.lookup(i.length,a,s,c,!0),v=rc.encodeECC200(i,y),w=new Cs(v,y.getSymbolDataWidth(),y.getSymbolDataHeight());return w.place(),this.encodeLowLevel(w,y,r,n)},e.prototype.encodeLowLevel=function(e,t,r,n){for(var o=t.getSymbolDataWidth(),i=t.getSymbolDataHeight(),a=new ns(t.getSymbolWidth(),t.getSymbolHeight()),s=0,c=0;c"},t}(jc);const Hc=Vc;var qc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Gc=function(e){function t(t,r,n){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return qc(t,e),t.prototype.appendTo=function(e,t){for(var r=0;r62?e.appendBits(this.binaryShiftByteCount-31,16):0===r?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+r],8)},t.prototype.addBinaryShift=function(e,r){return new t(this,e,r)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(Hc);const Wc=Gc;function Zc(e,t,r){return new Wc(e,t,r)}function Kc(e,t,r){return new Hc(e,t,r)}var Yc=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],Xc=0,Jc=1,Qc=2,eu=3,tu=4,ru=new Hc(null,0,0),nu=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],ou=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function iu(e){var t,r;try{for(var n=ou(e),o=n.next();!o.done;o=n.next()){var i=o.value;R.fill(i,-1)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return e[Xc][tu]=0,e[Jc][tu]=0,e[Jc][Xc]=28,e[eu][tu]=0,e[Qc][tu]=0,e[Qc][Xc]=15,e}var au=iu(R.createInt32Array(6,6)),su=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},cu=function(){function e(e,t,r,n){this.token=e,this.mode=t,this.binaryShiftByteCount=r,this.bitCount=n}return e.prototype.getMode=function(){return this.mode},e.prototype.getToken=function(){return this.token},e.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},e.prototype.getBitCount=function(){return this.bitCount},e.prototype.latchAndAppend=function(t,r){var n=this.bitCount,o=this.token;if(t!==this.mode){var i=nu[this.mode][t];o=Kc(o,65535&i,i>>16),n+=i>>16}var a=t===Qc?4:5;return o=Kc(o,r,a),new e(o,t,0,n+a)},e.prototype.shiftAndAppend=function(t,r){var n=this.token,o=this.mode===Qc?4:5;return n=Kc(n,au[this.mode][t],o),n=Kc(n,r,5),new e(n,this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var r=this.token,n=this.mode,o=this.bitCount;if(this.mode===tu||this.mode===Qc){var i=nu[n][Xc];r=Kc(r,65535&i,i>>16),o+=i>>16,n=Xc}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new e(r,n,this.binaryShiftByteCount+1,o+a);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(t+1)),s},e.prototype.endBinaryShift=function(t){if(0===this.binaryShiftByteCount)return this;var r=this.token;return r=Zc(r,t-this.binaryShiftByteCount,this.binaryShiftByteCount),new e(r,this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var r=this.bitCount+(nu[this.mode][t.mode]>>16);return this.binaryShiftByteCountt.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(r+=10),r<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,r,n=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())n.unshift(o);var i=new D;try{for(var a=su(n),s=a.next();!s.done;s=a.next()){var c=s.value;c.appendTo(i,e)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return Q.format("%s bits=%d bytes=%d",Yc[this.mode],this.bitCount,this.binaryShiftByteCount)},e.calculateBinaryShiftCost=function(e){return e.binaryShiftByteCount>62?21:e.binaryShiftByteCount>31?20:e.binaryShiftByteCount>0?10:0},e.INITIAL_STATE=new e(ru,Xc,0,0),e}();const uu=cu;function lu(e){var t=Q.getCharCode(" "),r=Q.getCharCode("."),n=Q.getCharCode(",");e[Xc][t]=1;for(var o=Q.getCharCode("Z"),i=Q.getCharCode("A"),a=i;a<=o;a++)e[Xc][a]=a-i+2;e[Jc][t]=1;var s=Q.getCharCode("z"),c=Q.getCharCode("a");for(a=c;a<=s;a++)e[Jc][a]=a-c+2;e[Qc][t]=1;var u=Q.getCharCode("9"),l=Q.getCharCode("0");for(a=l;a<=u;a++)e[Qc][a]=a-l+2;e[Qc][n]=12,e[Qc][r]=13;for(var d=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~",""],f=0;f","?","[","]","{","}"];for(f=0;f0&&(e[tu][Q.getCharCode(h[f])]=f);return e}var du=lu(R.createInt32Array(5,256)),fu=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},hu=function(){function e(e){this.text=e}return e.prototype.encode=function(){for(var t=Q.getCharCode(" "),r=Q.getCharCode("\n"),n=$c.singletonList(uu.INITIAL_STATE),o=0;o0?(n=e.updateStateListForPair(n,o,i),o++):n=this.updateStateListForChar(n,o)}var s=$c.min(n,(function(e,t){return e.getBitCount()-t.getBitCount()}));return s.toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,r){var n,o,i=[];try{for(var a=fu(t),s=a.next();!s.done;s=a.next()){var c=s.value;this.updateStateForChar(c,r,i)}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return e.simplifyStates(i)},e.prototype.updateStateForChar=function(e,t,r){for(var n=255&this.text[t],o=du[e.getMode()][n]>0,i=null,a=0;a<=tu;a++){var s=du[a][n];if(s>0){if(null==i&&(i=e.endBinaryShift(t)),!o||a===e.getMode()||a===Qc){var c=i.latchAndAppend(a,s);r.push(c)}if(!o&&au[e.getMode()][a]>=0){var u=i.shiftAndAppend(a,s);r.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===du[e.getMode()][n]){var l=e.addBinaryShiftChar(t);r.push(l)}},e.updateStateListForPair=function(e,t,r){var n,o,i=[];try{for(var a=fu(e),s=a.next();!s.done;s=a.next()){var c=s.value;this.updateStateForPair(c,t,r,i)}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return this.simplifyStates(i)},e.updateStateForPair=function(e,t,r,n){var o=e.endBinaryShift(t);if(n.push(o.latchAndAppend(tu,r)),e.getMode()!==tu&&n.push(o.shiftAndAppend(tu,r)),3===r||4===r){var i=o.latchAndAppend(Qc,16-r).latchAndAppend(Qc,1);n.push(i)}if(e.getBinaryShiftByteCount()>0){var a=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);n.push(a)}},e.simplifyStates=function(e){var t,r,n,o,i=[];try{for(var a=fu(e),s=a.next();!s.done;s=a.next()){var c=s.value,u=!0,l=function(e){if(e.isBetterThanOrEqualTo(c))return u=!1,"break";c.isBetterThanOrEqualTo(e)&&(i=i.filter((function(t){return t!==e})))};try{for(var d=(n=void 0,fu(i)),f=d.next();!f.done;f=d.next()){var h=f.value,p=l(h);if("break"===p)break}}catch(g){n={error:g}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}u&&i.push(c)}}catch(m){t={error:m}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},e}();const pu=hu;var gu=function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},mu=function(){function e(){}return e.encodeBytes=function(t){return e.encode(t,e.DEFAULT_EC_PERCENT,e.DEFAULT_AZTEC_LAYERS)},e.encode=function(t,r,n){var o,i,a,s,c,u=new pu(t).encode(),l=B.truncDivision(u.getSize()*r,100)+11,d=u.getSize()+l;if(n!==e.DEFAULT_AZTEC_LAYERS){if(o=n<0,i=Math.abs(n),i>(o?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new g(Q.format("Illegal value %s for layers",n));a=e.totalBitsInLayer(i,o),s=e.WORD_SIZE[i];var f=a-a%s;if(c=e.stuffBits(u,s),c.getSize()+l>f)throw new g("Data to large for user specified layer");if(o&&c.getSize()>64*s)throw new g("Data to large for user specified layer")}else{s=0,c=null;for(var h=0;;h++){if(h>e.MAX_NB_BITS)throw new g("Data too large for an Aztec code");if(o=h<=3,i=o?h+1:h,a=e.totalBitsInLayer(i,o),!(d>a)){null!=c&&s===e.WORD_SIZE[i]||(s=e.WORD_SIZE[i],c=e.stuffBits(u,s));f=a-a%s;if(!(o&&c.getSize()>64*s)&&c.getSize()+l<=f)break}}}var p,m=e.generateCheckWords(c,a,s),y=c.getSize()/s,v=e.generateModeMessage(o,i,y),w=(o?11:14)+4*i,b=new Int32Array(w);if(o){p=w;for(h=0;h=n||e.get(i+s))&&(a|=1<. See LICENSE.txt. */ -(function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function a(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}var s=function(){function e(e){var t=[],r=0;e=encodeURI(e);while(r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}return{toBytes:e,fromBytes:t}}(),c=function(){function e(e){for(var t=[],r=0;r>4]+t[15&o])}return r.join("")}return{toBytes:e,fromBytes:r}}(),u={16:10,24:12,32:14},l=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],f=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],p=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],g=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],m=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],y=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],b=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],_=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],S=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function T(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];var a,s=0,c=o;while(c>16&255]<<24^d[a>>8&255]<<16^d[255&a]<<8^d[a>>24&255]^l[s]<<24,s+=1,8!=o)for(t=1;t>8&255]<<8^d[a>>16&255]<<16^d[a>>24&255]<<24;for(t=o/2+1;t>2,h=c%4,this._Ke[f][h]=i[t],this._Kd[e-f][h]=i[t++],c++}for(var f=1;f>24&255]^E[a>>16&255]^S[a>>8&255]^A[255&a]},C.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=T(e),o=0;o<4;o++)n[o]^=this._Ke[0][o];for(var a=1;a>24&255]^p[n[(o+1)%4]>>16&255]^g[n[(o+2)%4]>>8&255]^m[255&n[(o+3)%4]]^this._Ke[a][o];n=r.slice()}var s,c=i(16);for(o=0;o<4;o++)s=this._Ke[t][o],c[4*o]=255&(d[n[o]>>24&255]^s>>24),c[4*o+1]=255&(d[n[(o+1)%4]>>16&255]^s>>16),c[4*o+2]=255&(d[n[(o+2)%4]>>8&255]^s>>8),c[4*o+3]=255&(d[255&n[(o+3)%4]]^s);return c},C.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=T(e),o=0;o<4;o++)n[o]^=this._Kd[0][o];for(var a=1;a>24&255]^v[n[(o+3)%4]>>16&255]^w[n[(o+2)%4]>>8&255]^b[255&n[(o+1)%4]]^this._Kd[a][o];n=r.slice()}var s,c=i(16);for(o=0;o<4;o++)s=this._Kd[t][o],c[4*o]=255&(f[n[o]>>24&255]^s>>24),c[4*o+1]=255&(f[n[(o+3)%4]>>16&255]^s>>16),c[4*o+2]=255&(f[n[(o+2)%4]>>8&255]^s>>8),c[4*o+3]=255&(f[255&n[(o+1)%4]]^s);return c};var x=function(e){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new C(e)};x.prototype.encrypt=function(e){if(e=o(e),e.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;nNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},P.prototype.setBytes=function(e){if(e=o(e,!0),16!=e.length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},P.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var k=function(e,t){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof P||(t=new P(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new C(e)};function R(e){e=o(e,!0);var t=16-e.length%16,r=i(e.length+t);a(e,r);for(var n=e.length;n16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{"use strict";function t(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,l=new Uint8Array(c);while(o!==i){for(var d=t[o],f=0,h=c-1;(0!==d||f>>0,l[h]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");n=f,o++}var p=c-n;while(p!==c&&0===l[p])p++;for(var g=s.repeat(r);p>>0,u=new Uint8Array(i);while(e[r]){var l=t[e.charCodeAt(r)];if(255===l)return;for(var d=0,f=i-1;(0!==l||d>>0,u[f]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");o=d,r++}var h=i-o;while(h!==i&&0===u[h])h++;var p=new Uint8Array(n+(i-h)),g=n;while(h!==i)p[g++]=u[h++];return p}function f(e){var t=d(e);if(t)return t;throw new Error("Non-base"+a+" character")}return{encode:l,decodeUnsafe:d,decode:f}}e.exports=t},79742:(e,t)=>{"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=p;for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function l(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,i=c(e),a=i[0],s=i[1],u=new o(l(e,a,s)),d=0,f=s>0?a-4:a;for(r=0;r>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[d++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var n,o=[],i=t;ic?c:s+a));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},27715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bech32m=t.bech32=void 0;const r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={};for(let d=0;d>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){let t=1;for(let r=0;r126)return"Invalid prefix ("+e+")";t=o(t)^n>>5}t=o(t);for(let r=0;r=r)i-=r,s.push(o>>i&a)}if(n)i>0&&s.push(o<=t)return"Excess padding";if(o<a)throw new TypeError("Exceeds length limit");e=e.toLowerCase();let s=i(e);if("string"===typeof s)throw new Error(s);let c=e+"1";for(let t=0;t>5!==0)throw new Error("Non 5-bit word");s=o(s)^e,c+=r.charAt(e)}for(let t=0;t<6;++t)s=o(s);s^=t;for(let t=0;t<6;++t){const e=s>>5*(5-t)&31;c+=r.charAt(e)}return c}function l(e,r){if(r=r||90,e.length<8)return e+" too short";if(e.length>r)return"Exceeds length limit";const a=e.toLowerCase(),s=e.toUpperCase();if(e!==a&&e!==s)return"Mixed-case string "+e;e=a;const c=e.lastIndexOf("1");if(-1===c)return"No separator character for "+e;if(0===c)return"Missing prefix for "+e;const u=e.slice(0,c),l=e.slice(c+1);if(l.length<6)return"Data too short";let d=i(u);if("string"===typeof d)return d;const f=[];for(let t=0;t=l.length||f.push(r)}return d!==t?"Invalid checksum for "+e:{prefix:u,words:f}}function d(e,t){const r=l(e,t);if("object"===typeof r)return r}function f(e,t){const r=l(e,t);if("object"===typeof r)return r;throw new Error(r)}return t="bech32"===e?1:734539939,{decodeUnsafe:d,decode:f,encode:a,toWords:s,fromWordsUnsafe:c,fromWords:u}}t.bech32=l("bech32"),t.bech32m=l("bech32m")},44431:function(e,t,r){var n;(function(o){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,c=Math.floor,u="[BigNumber Error] ",l=u+"Number primitive has more than 15 significant digits: ",d=1e14,f=14,h=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],g=1e7,m=1e9;function y(e){var t,r,n,o=D.prototype={constructor:D,toString:null,valueOf:null},i=new D(1),T=20,C=4,x=-7,I=21,O=-1e7,N=1e7,P=!1,k=1,R=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz",L=!0;function D(e,t){var o,i,s,u,d,p,g,m,y=this;if(!(y instanceof D))return new D(e,t);if(null==t){if(e&&!0===e._isBigNumber)return y.s=e.s,void(!e.c||e.e>N?y.c=y.e=null:e.e=10;d/=10,u++);return void(u>N?y.c=y.e=null:(y.e=u,y.c=[e]))}m=String(e)}else{if(!a.test(m=String(e)))return n(y,m,p);y.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(u=m.indexOf("."))>-1&&(m=m.replace(".","")),(d=m.search(/e/i))>0?(u<0&&(u=d),u+=+m.slice(d+1),m=m.substring(0,d)):u<0&&(u=m.length)}else{if(_(t,2,B.length,"Base"),10==t&&L)return y=new D(e),j(y,T+y.e+1,C);if(m=String(e),p="number"==typeof e){if(0*e!=0)return n(y,m,p,t);if(y.s=1/e<0?(m=m.slice(1),-1):1,D.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(l+e)}else y.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(o=B.slice(0,t),u=d=0,g=m.length;du){u=g;continue}}else if(!s&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){s=!0,d=-1,u=0;continue}return n(y,String(e),p,t)}p=!1,m=r(m,t,10,y.s),(u=m.indexOf("."))>-1?m=m.replace(".",""):u=m.length}for(d=0;48===m.charCodeAt(d);d++);for(g=m.length;48===m.charCodeAt(--g););if(m=m.slice(d,++g)){if(g-=d,p&&D.DEBUG&&g>15&&(e>h||e!==c(e)))throw Error(l+y.s*e);if((u=u-d-1)>N)y.c=y.e=null;else if(u=I)?S(c,a):A(c,a,"0");else if(e=j(new D(e),t,r),i=e.e,c=w(e.c),s=c.length,1==n||2==n&&(t<=i||i<=x)){for(;ss){if(--t>0)for(c+=".";t--;c+="0");}else if(t+=i-s,t>0)for(i+1==s&&(c+=".");t--;c+="0");return e.s<0&&o?"-"+c:c}function $(e,t){for(var r,n=1,o=new D(e[0]);n=10;o/=10,n++);return(r=n+r*f-1)>N?e.c=e.e=null:r=10;u/=10,o++);if(i=t-o,i<0)i+=f,a=t,l=m[h=0],g=l/y[o-a-1]%10|0;else if(h=s((i+1)/f),h>=m.length){if(!n)break e;for(;m.length<=h;m.push(0));l=g=0,o=1,i%=f,a=i-f+1}else{for(l=u=m[h],o=1;u>=10;u/=10,o++);i%=f,a=i-f+o,g=a<0?0:l/y[o-a-1]%10|0}if(n=n||t<0||null!=m[h+1]||(a<0?l:l%y[o-a-1]),n=r<4?(g||n)&&(0==r||r==(e.s<0?3:2)):g>5||5==g&&(4==r||n||6==r&&(i>0?a>0?l/y[o-a]:0:m[h-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,n?(t-=e.e+1,m[0]=y[(f-t%f)%f],e.e=-t||0):m[0]=e.e=0,e;if(0==i?(m.length=h,u=1,h--):(m.length=h+1,u=y[f-i],m[h]=a>0?c(l/y[o-a]%y[a])*u:0),n)for(;;){if(0==h){for(i=1,a=m[0];a>=10;a/=10,i++);for(a=m[0]+=u,u=1;a>=10;a/=10,u++);i!=u&&(e.e++,m[0]==d&&(m[0]=1));break}if(m[h]+=u,m[h]!=d)break;m[h--]=0,u=1}for(i=m.length;0===m[--i];m.pop());}e.e>N?e.c=e.e=null:e.e=I?S(t,r):A(t,r,"0"),e.s<0?"-"+t:t)}return D.clone=y,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(u+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],_(r,0,m,t),T=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],_(r,0,8,t),C=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(_(r[0],-m,0,t),_(r[1],0,m,t),x=r[0],I=r[1]):(_(r,-m,m,t),x=-(I=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)_(r[0],-m,-1,t),_(r[1],1,m,t),O=r[0],N=r[1];else{if(_(r,-m,m,t),!r)throw Error(u+t+" cannot be zero: "+r);O=-(N=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(u+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw P=!r,Error(u+"crypto unavailable");P=r}else P=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],_(r,0,9,t),k=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],_(r,0,m,t),R=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(u+t+" not an object: "+r);M=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(u+t+" invalid: "+r);L="0123456789"==r.slice(0,10),B=r}}return{DECIMAL_PLACES:T,ROUNDING_MODE:C,EXPONENTIAL_AT:[x,I],RANGE:[O,N],CRYPTO:P,MODULO_MODE:k,POW_PRECISION:R,FORMAT:M,ALPHABET:B}},D.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!D.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===i||-1===i)&&o>=-m&&o<=m&&o===c(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if(t=(o+1)%f,t<1&&(t+=f),String(n[0]).length==t){for(t=0;t=d||r!==c(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(u+"Invalid BigNumber: "+e)},D.maximum=D.max=function(){return $(arguments,o.lt)},D.minimum=D.min=function(){return $(arguments,o.gt)},D.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return c(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,n,o,a,l,d=0,h=[],g=new D(i);if(null==e?e=T:_(e,0,m),a=s(e/f),P)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(a*=2));d>>11),l>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[d]=n[0],r[d+1]=n[1]):(h.push(l%1e14),d+=2);d=a/2}else{if(!crypto.randomBytes)throw P=!1,Error(u+"crypto unavailable");for(r=crypto.randomBytes(a*=7);d=9e15?crypto.randomBytes(7).copy(r,d):(h.push(l%1e14),d+=7);d=a/7}if(!P)for(;d=10;l/=10,d++);dr-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var c,u,l,d,f,h,p,g,m=n.indexOf("."),y=T,v=C;for(m>=0&&(d=R,R=0,n=n.replace(".",""),g=new D(o),h=g.pow(n.length-m),R=d,g.c=r(A(w(h.c),h.e,"0"),10,i,e),g.e=g.c.length),p=r(n,o,i,s?(c=B,e):(c=e,B)),l=d=p.length;0==p[--d];p.pop());if(!p[0])return c.charAt(0);if(m<0?--l:(h.c=p,h.e=l,h.s=a,h=t(h,g,y,v,i),p=h.c,f=h.r,l=h.e),u=l+y+1,m=p[u],d=i/2,f=f||u<0||null!=p[u+1],f=v<4?(null!=m||f)&&(0==v||v==(h.s<0?3:2)):m>d||m==d&&(4==v||f||6==v&&1&p[u-1]||v==(h.s<0?8:7)),u<1||!p[0])n=f?A(c.charAt(1),-y,c.charAt(0)):c.charAt(0);else{if(p.length=u,f)for(--i;++p[--u]>i;)p[u]=0,u||(++l,p=[1].concat(p));for(d=p.length;!p[--d];);for(m=0,n="";m<=d;n+=c.charAt(p[m++]));n=A(n,l,c.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,o,i,a,s=0,c=e.length,u=t%g,l=t/g|0;for(e=e.slice();c--;)i=e[c]%g,a=e[c]/g|0,n=l*i+a*u,o=u*i+n%g*g+s,s=(o/r|0)+(n/g|0)+l*a,e[c]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]1;e.splice(0,1));}return function(n,o,i,a,s){var u,l,h,p,g,m,y,w,b,_,E,S,A,T,C,x,I,O=n.s==o.s?1:-1,N=n.c,P=o.c;if(!N||!N[0]||!P||!P[0])return new D(n.s&&o.s&&(N?!P||N[0]!=P[0]:P)?N&&0==N[0]||!P?0*O:O/0:NaN);for(w=new D(O),b=w.c=[],l=n.e-o.e,O=i+l+1,s||(s=d,l=v(n.e/f)-v(o.e/f),O=O/f|0),h=0;P[h]==(N[h]||0);h++);if(P[h]>(N[h]||0)&&l--,O<0)b.push(1),p=!0;else{for(T=N.length,x=P.length,h=0,O+=2,g=c(s/(P[0]+1)),g>1&&(P=e(P,g,s),N=e(N,g,s),x=P.length,T=N.length),A=x,_=N.slice(0,x),E=_.length;E=s/2&&C++;do{if(g=0,u=t(P,_,x,E),u<0){if(S=_[0],x!=E&&(S=S*s+(_[1]||0)),g=c(S/C),g>1){g>=s&&(g=s-1),m=e(P,g,s),y=m.length,E=_.length;while(1==t(m,_,y,E))g--,r(m,x=10;O/=10,h++);j(w,i+(w.e=h+l*f-1)+1,a,p)}else w.e=l,w.r=+p;return w}}(),n=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,a,s,c){var l,d=s?a:a.replace(o,"");if(n.test(d))i.s=isNaN(d)?null:d<0?-1:1;else{if(!s&&(d=d.replace(e,(function(e,t,r){return l="x"==(r=r.toLowerCase())?16:"b"==r?2:8,c&&c!=l?e:t})),c&&(l=c,d=d.replace(t,"$1").replace(r,"0.$1")),a!=d))return new D(d,l);if(D.DEBUG)throw Error(u+"Not a"+(c?" base "+c:"")+" number: "+a);i.s=null}i.c=i.e=null}}(),o.absoluteValue=o.abs=function(){var e=new D(this);return e.s<0&&(e.s=1),e},o.comparedTo=function(e,t){return b(this,new D(e,t))},o.decimalPlaces=o.dp=function(e,t){var r,n,o,i=this;if(null!=e)return _(e,0,m),null==t?t=C:_(t,0,8),j(new D(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-v(this.e/f))*f,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(e,r){return t(this,new D(e,r),T,C)},o.dividedToIntegerBy=o.idiv=function(e,r){return t(this,new D(e,r),0,1)},o.exponentiatedBy=o.pow=function(e,t){var r,n,o,a,l,d,h,p,g,m=this;if(e=new D(e),e.c&&!e.isInteger())throw Error(u+"Exponent not an integer: "+z(e));if(null!=t&&(t=new D(t)),d=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return g=new D(Math.pow(+z(m),d?e.s*(2-E(e)):+z(e))),t?g.mod(t):g;if(h=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new D(NaN);n=!h&&m.isInteger()&&t.isInteger(),n&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||d&&m.c[1]>=24e7:m.c[0]<8e13||d&&m.c[0]<=9999975e7)))return a=m.s<0&&E(e)?-0:0,m.e>-1&&(a=1/a),new D(h?1/a:a);R&&(a=s(R/f+2))}for(d?(r=new D(.5),h&&(e.s=1),p=E(e)):(o=Math.abs(+z(e)),p=o%2),g=new D(i);;){if(p){if(g=g.times(m),!g.c)break;a?g.c.length>a&&(g.c.length=a):n&&(g=g.mod(t))}if(o){if(o=c(o/2),0===o)break;p=o%2}else if(e=e.times(r),j(e,e.e+1,1),e.e>14)p=E(e);else{if(o=+z(e),0===o)break;p=o%2}m=m.times(m),a?m.c&&m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}return n?g:(h&&(g=i.div(g)),t?g.mod(t):a?j(g,R,C,l):g)},o.integerValue=function(e){var t=new D(this);return null==e?e=C:_(e,0,8),j(t,t.e+1,e)},o.isEqualTo=o.eq=function(e,t){return 0===b(this,new D(e,t))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(e,t){return b(this,new D(e,t))>0},o.isGreaterThanOrEqualTo=o.gte=function(e,t){return 1===(t=b(this,new D(e,t)))||0===t},o.isInteger=function(){return!!this.c&&v(this.e/f)>this.c.length-2},o.isLessThan=o.lt=function(e,t){return b(this,new D(e,t))<0},o.isLessThanOrEqualTo=o.lte=function(e,t){return-1===(t=b(this,new D(e,t)))||0===t},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(e=new D(e,t),t=e.s,!s||!t)return new D(NaN);if(s!=t)return e.s=-t,a.plus(e);var c=a.e/f,u=e.e/f,l=a.c,h=e.c;if(!c||!u){if(!l||!h)return l?(e.s=-t,e):new D(h?a:NaN);if(!l[0]||!h[0])return h[0]?(e.s=-t,e):new D(l[0]?a:3==C?-0:0)}if(c=v(c),u=v(u),l=l.slice(),s=c-u){for((i=s<0)?(s=-s,o=l):(u=c,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=l.length)<(t=h.length))?s:t,s=t=0;t0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]=0;){for(r=0,p=S[o]%b,m=S[o]/b|0,a=c,i=o+a;i>o;)u=E[--a]%b,l=E[a]/b|0,s=m*u+l*p,u=p*u+s%b*b+y[i]+r,r=(u/w|0)+(s/b|0)+m*l,y[i--]=u%w;y[i]=r}return r?++n:y.splice(0,1),U(e,y,n)},o.negated=function(){var e=new D(this);return e.s=-e.s||null,e},o.plus=function(e,t){var r,n=this,o=n.s;if(e=new D(e,t),t=e.s,!o||!t)return new D(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/f,a=e.e/f,s=n.c,c=e.c;if(!i||!a){if(!s||!c)return new D(o/0);if(!s[0]||!c[0])return c[0]?e:new D(s[0]?n:0*o)}if(i=v(i),a=v(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=c):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for(o=s.length,t=c.length,o-t<0&&(r=c,c=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+c[t]+o)/d|0,s[t]=d===s[t]?0:s[t]%d;return o&&(s=[o].concat(s),++a),U(e,s,a)},o.precision=o.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return _(e,1,m),null==t?t=C:_(t,0,8),j(new D(i),e,t);if(!(r=i.c))return null;if(o=r.length-1,n=o*f+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},o.shiftedBy=function(e){return _(e,-h,h),this.times("1e"+e)},o.squareRoot=o.sqrt=function(){var e,r,n,o,i,a=this,s=a.c,c=a.s,u=a.e,l=T+4,d=new D("0.5");if(1!==c||!s||!s[0])return new D(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);if(c=Math.sqrt(+z(a)),0==c||c==1/0?(r=w(s),(r.length+u)%2==0&&(r+="0"),c=Math.sqrt(+r),u=v((u+1)/2)-(u<0||u%2),c==1/0?r="5e"+u:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+u),n=new D(r)):n=new D(c+""),n.c[0])for(u=n.e,c=u+l,c<3&&(c=0);;)if(i=n,n=d.times(i.plus(t(a,i,l,1))),w(i.c).slice(0,c)===(r=w(n.c)).slice(0,c)){if(n.e0&&g>0){for(i=g%s||s,d=p.substr(0,i);i0&&(d+=l+p.slice(i)),h&&(d="-"+d)}n=f?d+(r.decimalSeparator||"")+((c=+r.fractionGroupSize)?f.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):d}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(e){var r,n,o,a,s,c,l,d,h,g,m,y,v=this,b=v.c;if(null!=e&&(l=new D(e),!l.isInteger()&&(l.c||1!==l.s)||l.lt(i)))throw Error(u+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+z(l));if(!b)return new D(v);for(r=new D(i),h=n=new D(i),o=d=new D(i),y=w(b),s=r.e=y.length-v.e-1,r.c[0]=p[(c=s%f)<0?f+c:c],e=!e||l.comparedTo(r)>0?s>0?r:h:l,c=N,N=1/0,l=new D(y),d.c[0]=0;;){if(g=t(l,r,0,1),a=n.plus(g.times(o)),1==a.comparedTo(e))break;n=o,o=a,h=d.plus(g.times(a=h)),d=a,r=l.minus(g.times(a=r)),l=a}return a=t(e.minus(n),o,0,1),d=d.plus(a.times(h)),n=n.plus(a.times(o)),d.s=h.s=v.s,s*=2,m=t(h,o,s,C).minus(v).abs().comparedTo(t(d,n,s,C).minus(v).abs())<1?[h,o]:[d,n],N=c,m},o.toNumber=function(){return+z(this)},o.toPrecision=function(e,t){return null!=e&&_(e,1,m),F(this,e,t,2)},o.toString=function(e){var t,n=this,o=n.s,i=n.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=x||i>=I?S(w(n.c),i):A(w(n.c),i,"0"):10===e&&L?(n=j(new D(n),T+i+1,C),t=A(w(n.c),n.e,"0")):(_(e,2,B.length,"Base"),t=r(A(w(n.c),i,"0"),10,e,o,!0)),o<0&&n.c[0]&&(t="-"+t)),t},o.valueOf=o.toJSON=function(){return z(this)},o._isBigNumber=!0,null!=e&&D.set(e),D}function v(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,o=e.length,i=e[0]+"";nu^r?1:-1;for(s=(c=o.length)<(u=i.length)?c:u,a=0;ai[a]^r?1:-1;return c==u?0:c>u^r?1:-1}function _(e,t,r,n){if(er||e!==c(e))throw Error(u+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function E(e){var t=e.c.length-1;return v(e.e/f)==t&&e.c[t]%2!=0}function S(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function A(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(36574);function o(e){const t=e[0],r=n.psbtToKeyVals(t),o=e.slice(1);if(0===o.length)throw new Error("Combine: Nothing to combine");const c=a(t);if(void 0===c)throw new Error("Combine: Self missing transaction");const u=s(r.globalKeyVals),l=r.inputKeyVals.map(s),d=r.outputKeyVals.map(s);for(const f of o){const e=a(f);if(void 0===e||!e.toBuffer().equals(c.toBuffer()))throw new Error("Combine: One of the Psbts does not have the same transaction.");const t=n.psbtToKeyVals(f),o=s(t.globalKeyVals);o.forEach(i(u,r.globalKeyVals,t.globalKeyVals));const h=t.inputKeyVals.map(s);h.forEach(((e,n)=>e.forEach(i(l[n],r.inputKeyVals[n],t.inputKeyVals[n]))));const p=t.outputKeyVals.map(s);p.forEach(((e,n)=>e.forEach(i(d[n],r.outputKeyVals[n],t.outputKeyVals[n]))))}return n.psbtFromKeyVals(c,{globalMapKeyVals:r.globalKeyVals,inputKeyVals:r.inputKeyVals,outputKeyVals:r.outputKeyVals})}function i(e,t,r){return n=>{if(e.has(n))return;const o=r.filter((e=>e.key.toString("hex")===n))[0];t.push(o),e.add(n)}}function a(e){return e.globalMap.unsignedTx}function s(e){const t=new Set;return e.forEach((e=>{const r=e.key.toString("hex");if(t.has(r))throw new Error("Combine: KeyValue Map keys should be unique");t.add(r)})),t}t.combine=o},44041:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847),i=e=>[...Array(e).keys()];function a(e){if(e.key[0]!==o.GlobalTypes.GLOBAL_XPUB)throw new Error("Decode Error: could not decode globalXpub with key 0x"+e.key.toString("hex"));if(79!==e.key.length||![2,3].includes(e.key[46]))throw new Error("Decode Error: globalXpub has invalid extended pubkey in key 0x"+e.key.toString("hex"));if(e.value.length/4%1!==0)throw new Error("Decode Error: Global GLOBAL_XPUB value length should be multiple of 4");const t=e.key.slice(1),r={masterFingerprint:e.value.slice(0,4),extendedPubkey:t,path:"m"};for(const n of i(e.value.length/4-1)){const t=e.value.readUInt32LE(4*n+4),o=!!(2147483648&t),i=2147483647&t;r.path+="/"+i.toString(10)+(o?"'":"")}return r}function s(e){const t=n.from([o.GlobalTypes.GLOBAL_XPUB]),r=n.concat([t,e.extendedPubkey]),i=e.path.split("/"),a=n.allocUnsafe(4*i.length);e.masterFingerprint.copy(a,0);let s=4;return i.slice(1).forEach((e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),a.writeUInt32LE(r,s),s+=4})),{key:r,value:a}}function c(e){const t=e.extendedPubkey,r=e.masterFingerprint,o=e.path;return n.isBuffer(t)&&78===t.length&&[2,3].indexOf(t[45])>-1&&n.isBuffer(r)&&4===r.length&&"string"===typeof o&&!!o.match(/^m(\/\d+'?)*$/)}function u(e,t,r){const n=t.extendedPubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.extendedPubkey.equals(t.extendedPubkey))).length)}t.decode=a,t.encode=s,t.expected="{ masterFingerprint: Buffer; extendedPubkey: Buffer; path: string; }",t.check=c,t.canAddToArray=u},74480:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){return{key:n.from([o.GlobalTypes.UNSIGNED_TX]),value:e.toBuffer()}}t.encode=i},12091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1847),o=r(44041),i=r(74480),a=r(20859),s=r(8248),c=r(70537),u=r(61511),l=r(65896),d=r(91243),f=r(3530),h=r(49265),p=r(23934),g=r(50602),m=r(82954),y=r(6036),v=r(44799),w=r(99595),b=r(9705),_=r(17196),E=r(29375),S=r(66327),A={unsignedTx:i,globalXpub:o,checkPubkey:w.makeChecker([])};t.globals=A;const T={nonWitnessUtxo:c,partialSig:u,sighashType:d,finalScriptSig:a,finalScriptWitness:s,porCommitment:l,witnessUtxo:m,bip32Derivation:v.makeConverter(n.InputTypes.BIP32_DERIVATION),redeemScript:b.makeConverter(n.InputTypes.REDEEM_SCRIPT),witnessScript:S.makeConverter(n.InputTypes.WITNESS_SCRIPT),checkPubkey:w.makeChecker([n.InputTypes.PARTIAL_SIG,n.InputTypes.BIP32_DERIVATION]),tapKeySig:f,tapScriptSig:g,tapLeafScript:h,tapBip32Derivation:_.makeConverter(n.InputTypes.TAP_BIP32_DERIVATION),tapInternalKey:E.makeConverter(n.InputTypes.TAP_INTERNAL_KEY),tapMerkleRoot:p};t.inputs=T;const C={bip32Derivation:v.makeConverter(n.OutputTypes.BIP32_DERIVATION),redeemScript:b.makeConverter(n.OutputTypes.REDEEM_SCRIPT),witnessScript:S.makeConverter(n.OutputTypes.WITNESS_SCRIPT),checkPubkey:w.makeChecker([n.OutputTypes.BIP32_DERIVATION]),tapBip32Derivation:_.makeConverter(n.OutputTypes.TAP_BIP32_DERIVATION),tapTree:y,tapInternalKey:E.makeConverter(n.OutputTypes.TAP_INTERNAL_KEY)};t.outputs=C},20859:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.FINAL_SCRIPTSIG)throw new Error("Decode Error: could not decode finalScriptSig with key 0x"+e.key.toString("hex"));return e.value}function a(e){const t=n.from([o.InputTypes.FINAL_SCRIPTSIG]);return{key:t,value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.finalScriptSig}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},8248:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.FINAL_SCRIPTWITNESS)throw new Error("Decode Error: could not decode finalScriptWitness with key 0x"+e.key.toString("hex"));return e.value}function a(e){const t=n.from([o.InputTypes.FINAL_SCRIPTWITNESS]);return{key:t,value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.finalScriptWitness}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},70537:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.NON_WITNESS_UTXO)throw new Error("Decode Error: could not decode nonWitnessUtxo with key 0x"+e.key.toString("hex"));return e.value}function a(e){return{key:n.from([o.InputTypes.NON_WITNESS_UTXO]),value:e}}function s(e){return n.isBuffer(e)}function c(e,t){return!!e&&!!t&&void 0===e.nonWitnessUtxo}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},61511:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.PARTIAL_SIG)throw new Error("Decode Error: could not decode partialSig with key 0x"+e.key.toString("hex"));if(34!==e.key.length&&66!==e.key.length||![2,3,4].includes(e.key[1]))throw new Error("Decode Error: partialSig has invalid pubkey in key 0x"+e.key.toString("hex"));const t=e.key.slice(1);return{pubkey:t,signature:e.value}}function a(e){const t=n.from([o.InputTypes.PARTIAL_SIG]);return{key:n.concat([t,e.pubkey]),value:e.signature}}function s(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.signature)&&[33,65].includes(e.pubkey.length)&&[2,3,4].includes(e.pubkey[0])&&c(e.signature)}function c(e){if(!n.isBuffer(e)||e.length<9)return!1;if(48!==e[0])return!1;if(e.length!==e[1]+3)return!1;if(2!==e[2])return!1;const t=e[3];if(t>33||t<1)return!1;if(2!==e[3+t+1])return!1;const r=e[3+t+2];return!(r>33||r<1)&&e.length===3+t+2+r+2}function u(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey))).length)}t.decode=i,t.encode=a,t.expected="{ pubkey: Buffer; signature: Buffer; }",t.check=s,t.canAddToArray=u},65896:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.POR_COMMITMENT)throw new Error("Decode Error: could not decode porCommitment with key 0x"+e.key.toString("hex"));return e.value.toString("utf8")}function a(e){const t=n.from([o.InputTypes.POR_COMMITMENT]);return{key:t,value:n.from(e,"utf8")}}function s(e){return"string"===typeof e}function c(e,t){return!!e&&!!t&&void 0===e.porCommitment}t.decode=i,t.encode=a,t.expected="string",t.check=s,t.canAdd=c},91243:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function a(e){const t=n.from([o.InputTypes.SIGHASH_TYPE]),r=n.allocUnsafe(4);return r.writeUInt32LE(e,0),{key:t,value:r}}function s(e){return"number"===typeof e}function c(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=i,t.encode=a,t.expected="number",t.check=s,t.canAdd=c},3530:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.TAP_KEY_SIG||1!==e.key.length)throw new Error("Decode Error: could not decode tapKeySig with key 0x"+e.key.toString("hex"));if(!s(e.value))throw new Error("Decode Error: tapKeySig not a valid 64-65-byte BIP340 signature");return e.value}function a(e){const t=n.from([o.InputTypes.TAP_KEY_SIG]);return{key:t,value:e}}function s(e){return n.isBuffer(e)&&(64===e.length||65===e.length)}function c(e,t){return!!e&&!!t&&void 0===e.tapKeySig}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},49265:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.TAP_LEAF_SCRIPT)throw new Error("Decode Error: could not decode tapLeafScript with key 0x"+e.key.toString("hex"));if((e.key.length-2)%32!==0)throw new Error("Decode Error: tapLeafScript has invalid control block in key 0x"+e.key.toString("hex"));const t=e.value[e.value.length-1];if((254&e.key[1])!==t)throw new Error("Decode Error: tapLeafScript bad leaf version in key 0x"+e.key.toString("hex"));const r=e.value.slice(0,-1),n=e.key.slice(1);return{controlBlock:n,script:r,leafVersion:t}}function a(e){const t=n.from([o.InputTypes.TAP_LEAF_SCRIPT]),r=n.from([e.leafVersion]);return{key:n.concat([t,e.controlBlock]),value:n.concat([e.script,r])}}function s(e){return n.isBuffer(e.controlBlock)&&(e.controlBlock.length-1)%32===0&&(254&e.controlBlock[0])===e.leafVersion&&n.isBuffer(e.script)}function c(e,t,r){const n=t.controlBlock.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.controlBlock.equals(t.controlBlock))).length)}t.decode=i,t.encode=a,t.expected="{ controlBlock: Buffer; leafVersion: number, script: Buffer; }",t.check=s,t.canAddToArray=c},23934:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.TAP_MERKLE_ROOT||1!==e.key.length)throw new Error("Decode Error: could not decode tapMerkleRoot with key 0x"+e.key.toString("hex"));if(!s(e.value))throw new Error("Decode Error: tapMerkleRoot not a 32-byte hash");return e.value}function a(e){const t=n.from([o.InputTypes.TAP_MERKLE_ROOT]);return{key:t,value:e}}function s(e){return n.isBuffer(e)&&32===e.length}function c(e,t){return!!e&&!!t&&void 0===e.tapMerkleRoot}t.decode=i,t.encode=a,t.expected="Buffer",t.check=s,t.canAdd=c},50602:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847);function i(e){if(e.key[0]!==o.InputTypes.TAP_SCRIPT_SIG)throw new Error("Decode Error: could not decode tapScriptSig with key 0x"+e.key.toString("hex"));if(65!==e.key.length)throw new Error("Decode Error: tapScriptSig has invalid key 0x"+e.key.toString("hex"));if(64!==e.value.length&&65!==e.value.length)throw new Error("Decode Error: tapScriptSig has invalid signature in key 0x"+e.key.toString("hex"));const t=e.key.slice(1,33),r=e.key.slice(33);return{pubkey:t,leafHash:r,signature:e.value}}function a(e){const t=n.from([o.InputTypes.TAP_SCRIPT_SIG]);return{key:n.concat([t,e.pubkey,e.leafHash]),value:e.signature}}function s(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.leafHash)&&n.isBuffer(e.signature)&&32===e.pubkey.length&&32===e.leafHash.length&&(64===e.signature.length||65===e.signature.length)}function c(e,t,r){const n=t.pubkey.toString("hex")+t.leafHash.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey)&&e.leafHash.equals(t.leafHash))).length)}t.decode=i,t.encode=a,t.expected="{ pubkey: Buffer; leafHash: Buffer; signature: Buffer; }",t.check=s,t.canAddToArray=c},82954:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847),i=r(19254),a=r(3493);function s(e){if(e.key[0]!==o.InputTypes.WITNESS_UTXO)throw new Error("Decode Error: could not decode witnessUtxo with key 0x"+e.key.toString("hex"));const t=i.readUInt64LE(e.value,0);let r=8;const n=a.decode(e.value,r);r+=a.encodingLength(n);const s=e.value.slice(r);if(s.length!==n)throw new Error("Decode Error: WITNESS_UTXO script is not proper length");return{script:s,value:t}}function c(e){const{script:t,value:r}=e,s=a.encodingLength(t.length),c=n.allocUnsafe(8+s+t.length);return i.writeUInt64LE(c,r,0),a.encode(t.length,c,8),t.copy(c,8+s),{key:n.from([o.InputTypes.WITNESS_UTXO]),value:c}}function u(e){return n.isBuffer(e.script)&&"number"===typeof e.value}function l(e,t){return!!e&&!!t&&void 0===e.witnessUtxo}t.decode=s,t.encode=c,t.expected="{ script: Buffer; value: number; }",t.check=u,t.canAdd=l},6036:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(1847),i=r(3493);function a(e){if(e.key[0]!==o.OutputTypes.TAP_TREE||1!==e.key.length)throw new Error("Decode Error: could not decode tapTree with key 0x"+e.key.toString("hex"));let t=0;const r=[];while(t[n.of(e.depth,e.leafVersion),i.encode(e.script.length),e.script])));return{key:t,value:n.concat(r)}}function c(e){return Array.isArray(e.leaves)&&e.leaves.every((e=>e.depth>=0&&e.depth<=128&&(254&e.leafVersion)===e.leafVersion&&n.isBuffer(e.script)))}function u(e,t){return!!e&&!!t&&void 0===e.tapTree}t.decode=a,t.encode=s,t.expected="{ leaves: [{ depth: number; leafVersion: number, script: Buffer; }] }",t.check=c,t.canAdd=u},44799:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=e=>[...Array(e).keys()],i=e=>33===e.length&&[2,3].includes(e[0])||65===e.length&&4===e[0];function a(e,t=i){function r(r){if(r.key[0]!==e)throw new Error("Decode Error: could not decode bip32Derivation with key 0x"+r.key.toString("hex"));const n=r.key.slice(1);if(!t(n))throw new Error("Decode Error: bip32Derivation has invalid pubkey in key 0x"+r.key.toString("hex"));if(r.value.length/4%1!==0)throw new Error("Decode Error: Input BIP32_DERIVATION value length should be multiple of 4");const i={masterFingerprint:r.value.slice(0,4),pubkey:n,path:"m"};for(const e of o(r.value.length/4-1)){const t=r.value.readUInt32LE(4*e+4),n=!!(2147483648&t),o=2147483647&t;i.path+="/"+o.toString(10)+(n?"'":"")}return i}function a(t){const r=n.from([e]),o=n.concat([r,t.pubkey]),i=t.path.split("/"),a=n.allocUnsafe(4*i.length);t.masterFingerprint.copy(a,0);let s=4;return i.slice(1).forEach((e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),a.writeUInt32LE(r,s),s+=4})),{key:o,value:a}}const s="{ masterFingerprint: Buffer; pubkey: Buffer; path: string; }";function c(e){return n.isBuffer(e.pubkey)&&n.isBuffer(e.masterFingerprint)&&"string"===typeof e.path&&t(e.pubkey)&&4===e.masterFingerprint.length}function u(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter((e=>e.pubkey.equals(t.pubkey))).length)}return{decode:r,encode:a,check:c,expected:s,canAddToArray:u}}t.makeConverter=a},99595:(e,t)=>{"use strict";function r(e){return t;function t(t){let r;if(e.includes(t.key[0])&&(r=t.key.slice(1),33!==r.length&&65!==r.length||![2,3,4].includes(r[0])))throw new Error("Format Error: invalid pubkey in key 0x"+t.key.toString("hex"));return r}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeChecker=r},9705:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e){function t(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode redeemScript with key 0x"+t.key.toString("hex"));return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)}function a(e,t){return!!e&&!!t&&void 0===e.redeemScript}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},17196:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(3493),i=r(44799),a=e=>32===e.length;function s(e){const t=i.makeConverter(e,a);function r(e){const r=o.decode(e.value),n=o.encodingLength(r),i=t.decode({key:e.key,value:e.value.slice(n+32*r)}),a=new Array(r);for(let t=0,o=n;tn.isBuffer(e)&&32===e.length))&&t.check(e)}return{decode:r,encode:s,check:u,expected:c,canAddToArray:t.canAddToArray}}t.makeConverter=s},29375:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e){function t(t){if(t.key[0]!==e||1!==t.key.length)throw new Error("Decode Error: could not decode tapInternalKey with key 0x"+t.key.toString("hex"));if(32!==t.value.length)throw new Error("Decode Error: tapInternalKey not a 32-byte x-only pubkey");return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)&&32===e.length}function a(e,t){return!!e&&!!t&&void 0===e.tapInternalKey}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},66327:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e){function t(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode witnessScript with key 0x"+t.key.toString("hex"));return t.value}function r(t){const r=n.from([e]);return{key:r,value:t}}const o="Buffer";function i(e){return n.isBuffer(e)}function a(e,t){return!!e&&!!t&&void 0===e.witnessScript}return{decode:t,encode:r,check:i,expected:o,canAdd:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=o},19254:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(3493);function i(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;nt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function u(e,t){const r=e.readUInt32LE(t);let n=e.readUInt32LE(t+4);return n*=4294967296,c(n+r,9007199254740991),n+r}function l(e,t,r){return c(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}t.range=e=>[...Array(e).keys()],t.reverseBuffer=i,t.keyValsToBuffer=a,t.keyValToBuffer=s,t.readUInt64LE=u,t.writeUInt64LE=l},3493:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=9007199254740991;function i(e){if(e<0||e>o||e%1!==0)throw new RangeError("value out of range")}function a(e,t,r){if(i(e),t||(t=n.allocUnsafe(c(e))),!n.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");return r||(r=0),e<253?(t.writeUInt8(e,r),Object.assign(a,{bytes:1})):e<=65535?(t.writeUInt8(253,r),t.writeUInt16LE(e,r+1),Object.assign(a,{bytes:3})):e<=4294967295?(t.writeUInt8(254,r),t.writeUInt32LE(e,r+1),Object.assign(a,{bytes:5})):(t.writeUInt8(255,r),t.writeUInt32LE(e>>>0,r+1),t.writeUInt32LE(e/4294967296|0,r+5),Object.assign(a,{bytes:9})),t}function s(e,t){if(!n.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");t||(t=0);const r=e.readUInt8(t);if(r<253)return Object.assign(s,{bytes:1}),r;if(253===r)return Object.assign(s,{bytes:3}),e.readUInt16LE(t+1);if(254===r)return Object.assign(s,{bytes:5}),e.readUInt32LE(t+1);{Object.assign(s,{bytes:9});const r=e.readUInt32LE(t+1),n=e.readUInt32LE(t+5),o=4294967296*n+r;return i(o),o}}function c(e){return i(e),e<253?1:e<=65535?3:e<=4294967295?5:9}t.encode=a,t.decode=s,t.encodingLength=c},12974:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(12091),i=r(19254),a=r(3493),s=r(1847);function c(e,t){let r=0;function n(){const t=a.decode(e,r);r+=a.encodingLength(t);const n=e.slice(r,r+t);return r+=t,n}function o(){const t=e.readUInt32BE(r);return r+=4,t}function c(){const t=e.readUInt8(r);return r+=1,t}function u(){const e=n(),t=n();return{key:e,value:t}}function d(){if(r>=e.length)throw new Error("Format Error: Unexpected End of PSBT");const t=0===e.readUInt8(r);return t&&r++,t}if(1886610036!==o())throw new Error("Format Error: Invalid Magic Number");if(255!==c())throw new Error("Format Error: Magic Number must be followed by 0xff separator");const f=[],h={};while(!d()){const e=u(),t=e.key.toString("hex");if(h[t])throw new Error("Format Error: Keys must be unique for global keymap: key "+t);h[t]=1,f.push(e)}const p=f.filter((e=>e.key[0]===s.GlobalTypes.UNSIGNED_TX));if(1!==p.length)throw new Error("Format Error: Only one UNSIGNED_TX allowed");const g=t(p[0].value),{inputCount:m,outputCount:y}=g.getInputOutputCounts(),v=[],w=[];for(const a of i.range(m)){const e={},t=[];while(!d()){const r=u(),n=r.key.toString("hex");if(e[n])throw new Error("Format Error: Keys must be unique for each input: input index "+a+" key "+n);e[n]=1,t.push(r)}v.push(t)}for(const a of i.range(y)){const e={},t=[];while(!d()){const r=u(),n=r.key.toString("hex");if(e[n])throw new Error("Format Error: Keys must be unique for each output: output index "+a+" key "+n);e[n]=1,t.push(r)}w.push(t)}return l(g,{globalMapKeyVals:f,inputKeyVals:v,outputKeyVals:w})}function u(e,t,r){if(!t.equals(n.from([r])))throw new Error(`Format Error: Invalid ${e} key: ${t.toString("hex")}`)}function l(e,{globalMapKeyVals:t,inputKeyVals:r,outputKeyVals:n}){const a={unsignedTx:e};let c=0;for(const i of t)switch(i.key[0]){case s.GlobalTypes.UNSIGNED_TX:if(u("global",i.key,s.GlobalTypes.UNSIGNED_TX),c>0)throw new Error("Format Error: GlobalMap has multiple UNSIGNED_TX");c++;break;case s.GlobalTypes.GLOBAL_XPUB:void 0===a.globalXpub&&(a.globalXpub=[]),a.globalXpub.push(o.globals.globalXpub.decode(i));break;default:a.unknownKeyVals||(a.unknownKeyVals=[]),a.unknownKeyVals.push(i)}const l=r.length,d=n.length,f=[],h=[];for(const p of i.range(l)){const e={};for(const t of r[p])switch(o.inputs.checkPubkey(t),t.key[0]){case s.InputTypes.NON_WITNESS_UTXO:if(u("input",t.key,s.InputTypes.NON_WITNESS_UTXO),void 0!==e.nonWitnessUtxo)throw new Error("Format Error: Input has multiple NON_WITNESS_UTXO");e.nonWitnessUtxo=o.inputs.nonWitnessUtxo.decode(t);break;case s.InputTypes.WITNESS_UTXO:if(u("input",t.key,s.InputTypes.WITNESS_UTXO),void 0!==e.witnessUtxo)throw new Error("Format Error: Input has multiple WITNESS_UTXO");e.witnessUtxo=o.inputs.witnessUtxo.decode(t);break;case s.InputTypes.PARTIAL_SIG:void 0===e.partialSig&&(e.partialSig=[]),e.partialSig.push(o.inputs.partialSig.decode(t));break;case s.InputTypes.SIGHASH_TYPE:if(u("input",t.key,s.InputTypes.SIGHASH_TYPE),void 0!==e.sighashType)throw new Error("Format Error: Input has multiple SIGHASH_TYPE");e.sighashType=o.inputs.sighashType.decode(t);break;case s.InputTypes.REDEEM_SCRIPT:if(u("input",t.key,s.InputTypes.REDEEM_SCRIPT),void 0!==e.redeemScript)throw new Error("Format Error: Input has multiple REDEEM_SCRIPT");e.redeemScript=o.inputs.redeemScript.decode(t);break;case s.InputTypes.WITNESS_SCRIPT:if(u("input",t.key,s.InputTypes.WITNESS_SCRIPT),void 0!==e.witnessScript)throw new Error("Format Error: Input has multiple WITNESS_SCRIPT");e.witnessScript=o.inputs.witnessScript.decode(t);break;case s.InputTypes.BIP32_DERIVATION:void 0===e.bip32Derivation&&(e.bip32Derivation=[]),e.bip32Derivation.push(o.inputs.bip32Derivation.decode(t));break;case s.InputTypes.FINAL_SCRIPTSIG:u("input",t.key,s.InputTypes.FINAL_SCRIPTSIG),e.finalScriptSig=o.inputs.finalScriptSig.decode(t);break;case s.InputTypes.FINAL_SCRIPTWITNESS:u("input",t.key,s.InputTypes.FINAL_SCRIPTWITNESS),e.finalScriptWitness=o.inputs.finalScriptWitness.decode(t);break;case s.InputTypes.POR_COMMITMENT:u("input",t.key,s.InputTypes.POR_COMMITMENT),e.porCommitment=o.inputs.porCommitment.decode(t);break;case s.InputTypes.TAP_KEY_SIG:u("input",t.key,s.InputTypes.TAP_KEY_SIG),e.tapKeySig=o.inputs.tapKeySig.decode(t);break;case s.InputTypes.TAP_SCRIPT_SIG:void 0===e.tapScriptSig&&(e.tapScriptSig=[]),e.tapScriptSig.push(o.inputs.tapScriptSig.decode(t));break;case s.InputTypes.TAP_LEAF_SCRIPT:void 0===e.tapLeafScript&&(e.tapLeafScript=[]),e.tapLeafScript.push(o.inputs.tapLeafScript.decode(t));break;case s.InputTypes.TAP_BIP32_DERIVATION:void 0===e.tapBip32Derivation&&(e.tapBip32Derivation=[]),e.tapBip32Derivation.push(o.inputs.tapBip32Derivation.decode(t));break;case s.InputTypes.TAP_INTERNAL_KEY:u("input",t.key,s.InputTypes.TAP_INTERNAL_KEY),e.tapInternalKey=o.inputs.tapInternalKey.decode(t);break;case s.InputTypes.TAP_MERKLE_ROOT:u("input",t.key,s.InputTypes.TAP_MERKLE_ROOT),e.tapMerkleRoot=o.inputs.tapMerkleRoot.decode(t);break;default:e.unknownKeyVals||(e.unknownKeyVals=[]),e.unknownKeyVals.push(t)}f.push(e)}for(const p of i.range(d)){const e={};for(const t of n[p])switch(o.outputs.checkPubkey(t),t.key[0]){case s.OutputTypes.REDEEM_SCRIPT:if(u("output",t.key,s.OutputTypes.REDEEM_SCRIPT),void 0!==e.redeemScript)throw new Error("Format Error: Output has multiple REDEEM_SCRIPT");e.redeemScript=o.outputs.redeemScript.decode(t);break;case s.OutputTypes.WITNESS_SCRIPT:if(u("output",t.key,s.OutputTypes.WITNESS_SCRIPT),void 0!==e.witnessScript)throw new Error("Format Error: Output has multiple WITNESS_SCRIPT");e.witnessScript=o.outputs.witnessScript.decode(t);break;case s.OutputTypes.BIP32_DERIVATION:void 0===e.bip32Derivation&&(e.bip32Derivation=[]),e.bip32Derivation.push(o.outputs.bip32Derivation.decode(t));break;case s.OutputTypes.TAP_INTERNAL_KEY:u("output",t.key,s.OutputTypes.TAP_INTERNAL_KEY),e.tapInternalKey=o.outputs.tapInternalKey.decode(t);break;case s.OutputTypes.TAP_TREE:u("output",t.key,s.OutputTypes.TAP_TREE),e.tapTree=o.outputs.tapTree.decode(t);break;case s.OutputTypes.TAP_BIP32_DERIVATION:void 0===e.tapBip32Derivation&&(e.tapBip32Derivation=[]),e.tapBip32Derivation.push(o.outputs.tapBip32Derivation.decode(t));break;default:e.unknownKeyVals||(e.unknownKeyVals=[]),e.unknownKeyVals.push(t)}h.push(e)}return{globalMap:a,inputs:f,outputs:h}}t.psbtFromBuffer=c,t.checkKeyBuffer=u,t.psbtFromKeyVals=l},36574:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(12974)),n(r(15312))},15312:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(12091),i=r(19254);function a({globalMap:e,inputs:t,outputs:r}){const{globalKeyVals:o,inputKeyVals:a,outputKeyVals:s}=u({globalMap:e,inputs:t,outputs:r}),c=i.keyValsToBuffer(o),l=e=>0===e.length?[n.from([0])]:e.map(i.keyValsToBuffer),d=l(a),f=l(s),h=n.allocUnsafe(5);return h.writeUIntBE(482972169471,0,5),n.concat([h,c].concat(d,f))}t.psbtToBuffer=a;const s=(e,t)=>e.key.compare(t.key);function c(e,t){const r=new Set,n=Object.entries(e).reduce(((e,[n,o])=>{if("unknownKeyVals"===n)return e;const i=t[n];if(void 0===i)return e;const a=(Array.isArray(o)?o:[o]).map(i.encode),s=a.map((e=>e.key.toString("hex")));return s.forEach((e=>{if(r.has(e))throw new Error("Serialize Error: Duplicate key: "+e);r.add(e)})),e.concat(a)}),[]),o=e.unknownKeyVals?e.unknownKeyVals.filter((e=>!r.has(e.key.toString("hex")))):[];return n.concat(o).sort(s)}function u({globalMap:e,inputs:t,outputs:r}){return{globalKeyVals:c(e,o.globals),inputKeyVals:t.map((e=>c(e,o.inputs))),outputKeyVals:r.map((e=>c(e,o.outputs)))}}t.psbtToKeyVals=u},95011:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(82190),i=r(36574),a=r(1847),s=r(96403);class c{constructor(e){this.inputs=[],this.outputs=[],this.globalMap={unsignedTx:e}}static fromBase64(e,t){const r=n.from(e,"base64");return this.fromBuffer(r,t)}static fromHex(e,t){const r=n.from(e,"hex");return this.fromBuffer(r,t)}static fromBuffer(e,t){const r=i.psbtFromBuffer(e,t),n=new this(r.globalMap.unsignedTx);return Object.assign(n,r),n}toBase64(){const e=this.toBuffer();return e.toString("base64")}toHex(){const e=this.toBuffer();return e.toString("hex")}toBuffer(){return i.psbtToBuffer(this)}updateGlobal(e){return s.updateGlobal(e,this.globalMap),this}updateInput(e,t){const r=s.checkForInput(this.inputs,e);return s.updateInput(t,r),this}updateOutput(e,t){const r=s.checkForOutput(this.outputs,e);return s.updateOutput(t,r),this}addUnknownKeyValToGlobal(e){return s.checkHasKey(e,this.globalMap.unknownKeyVals,s.getEnumLength(a.GlobalTypes)),this.globalMap.unknownKeyVals||(this.globalMap.unknownKeyVals=[]),this.globalMap.unknownKeyVals.push(e),this}addUnknownKeyValToInput(e,t){const r=s.checkForInput(this.inputs,e);return s.checkHasKey(t,r.unknownKeyVals,s.getEnumLength(a.InputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addUnknownKeyValToOutput(e,t){const r=s.checkForOutput(this.outputs,e);return s.checkHasKey(t,r.unknownKeyVals,s.getEnumLength(a.OutputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addInput(e){this.globalMap.unsignedTx.addInput(e),this.inputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.inputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToInput(r,e))),s.addInputAttributes(this.inputs,e),this}addOutput(e){this.globalMap.unsignedTx.addOutput(e),this.outputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.outputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToInput(r,e))),s.addOutputAttributes(this.outputs,e),this}clearFinalizedInput(e){const t=s.checkForInput(this.inputs,e);s.inputCheckUncleanFinalized(e,t);for(const r of Object.keys(t))["witnessUtxo","nonWitnessUtxo","finalScriptSig","finalScriptWitness","unknownKeyVals"].includes(r)||delete t[r];return this}combine(...e){const t=o.combine([this].concat(e));return Object.assign(this,t),this}getTransaction(){return this.globalMap.unsignedTx.toBuffer()}}t.Psbt=c},1847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT",e[e["TAP_KEY_SIG"]=19]="TAP_KEY_SIG",e[e["TAP_SCRIPT_SIG"]=20]="TAP_SCRIPT_SIG",e[e["TAP_LEAF_SCRIPT"]=21]="TAP_LEAF_SCRIPT",e[e["TAP_BIP32_DERIVATION"]=22]="TAP_BIP32_DERIVATION",e[e["TAP_INTERNAL_KEY"]=23]="TAP_INTERNAL_KEY",e[e["TAP_MERKLE_ROOT"]=24]="TAP_MERKLE_ROOT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment","tapKeySig","tapScriptSig","tapLeafScript","tapBip32Derivation","tapInternalKey","tapMerkleRoot"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION",e[e["TAP_INTERNAL_KEY"]=5]="TAP_INTERNAL_KEY",e[e["TAP_TREE"]=6]="TAP_TREE",e[e["TAP_BIP32_DERIVATION"]=7]="TAP_BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation","tapInternalKey","tapTree","tapBip32Derivation"]},96403:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0});const o=r(12091);function i(e,t){const r=e[t];if(void 0===r)throw new Error(`No input #${t}`);return r}function a(e,t){const r=e[t];if(void 0===r)throw new Error(`No output #${t}`);return r}function s(e,t,r){if(e.key[0]t.key.equals(e.key))).length)throw new Error(`Duplicate Key: ${e.key.toString("hex")}`)}function c(e){let t=0;return Object.keys(e).forEach((e=>{Number(isNaN(Number(e)))&&t++})),t}function u(e,t){let r=!1;if(t.nonWitnessUtxo||t.witnessUtxo){const e=!!t.redeemScript,n=!!t.witnessScript,o=!e||!!t.finalScriptSig,i=!n||!!t.finalScriptWitness,a=!!t.finalScriptSig||!!t.finalScriptWitness;r=o&&i&&a}if(!1===r)throw new Error(`Input #${e} has too much or too little data to clean`)}function l(e,t,r,n){throw new Error(`Data for ${e} key ${t} is incorrect: Expected ${r} and got ${JSON.stringify(n)}`)}function d(e){return(t,r)=>{for(const n of Object.keys(t)){const i=t[n],{canAdd:a,canAddToArray:s,check:c,expected:u}=o[e+"s"][n]||{},d=!!s;if(c)if(d){if(!Array.isArray(i)||r[n]&&!Array.isArray(r[n]))throw new Error(`Key type ${n} must be an array`);i.every(c)||l(e,n,u,i);const t=r[n]||[],o=new Set;if(!i.every((e=>s(t,e,o))))throw new Error("Can not add duplicate data to array");r[n]=t.concat(i)}else{if(c(i)||l(e,n,u,i),!a(r,i))throw new Error(`Can not add duplicate data to ${e}`);r[n]=i}}}}function f(e,r){const n=e.length-1,o=i(e,n);t.updateInput(r,o)}function h(e,r){const n=e.length-1,o=a(e,n);t.updateOutput(r,o)}function p(e,t){if(!n.isBuffer(t)||t.length<4)throw new Error("Set Version: Invalid Transaction");return t.writeUInt32LE(e,0),t}function g(e,t){if(!n.isBuffer(t)||t.length<4)throw new Error("Set Locktime: Invalid Transaction");return t.writeUInt32LE(e,t.length-4),t}t.checkForInput=i,t.checkForOutput=a,t.checkHasKey=s,t.getEnumLength=c,t.inputCheckUncleanFinalized=u,t.updateGlobal=d("global"),t.updateInput=d("input"),t.updateOutput=d("output"),t.addInputAttributes=f,t.addOutputAttributes=h,t.defaultVersionSetter=p,t.defaultLocktimeSetter=g},30246:e=>{const t=2147483648;var r=function(e){if(!Array.isArray(e))throw new Error("Input must be an Array");if(0===e.length)throw new Error("Path must contain at least one level");for(var t=0;t=t)throw new Error("Invalid child index");if("h"===s[2]||"H"===s[2]||"'"===s[2])i[a]+=t;else if(0!=s[2].length)throw new Error("Invalid modifier")}return new r(i)},r.prototype.toPathArray=function(){return this.path},r.prototype.toString=function(e,r){for(var n=new Array(this.path.length),o=0;o"},e.exports=r},84090:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.BIP32Factory=void 0;const o=r(56903),i=r(32871),a=r(39187),s=r(23061),c=r(2401),u=r(37174),l=(0,a.base58check)(s.sha256),d={encode:e=>l.encode(Uint8Array.from(e)),decode:e=>n.from(l.decode(e))};function f(e){(0,i.testEcc)(e);const t=c.BufferN(32),r=c.compile({wif:c.UInt8,bip32:{public:c.UInt32,private:c.UInt32}}),a={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},s=2147483648,l=Math.pow(2,31)-1;function f(e){return c.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function h(e){return c.UInt32(e)&&e<=l}function p(e){return 32===e.length?e:e.slice(1,33)}class g{constructor(e,t){this.__D=e,this.__Q=t,this.lowR=!1}get publicKey(){return void 0===this.__Q&&(this.__Q=n.from(e.pointFromScalar(this.__D,!0))),this.__Q}get privateKey(){return this.__D}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return n.from(e.sign(t,this.privateKey));{let r=n.from(e.sign(t,this.privateKey));const o=n.alloc(32,0);let i=0;while(r[0]>127)i++,o.writeUIntLE(i,0,6),r=n.from(e.sign(t,this.privateKey,o));return r}}signSchnorr(t){if(!this.privateKey)throw new Error("Missing private key");if(!e.signSchnorr)throw new Error("signSchnorr not supported by ecc library");return n.from(e.signSchnorr(t,this.privateKey))}verify(t,r){return e.verify(t,this.publicKey,r)}verifySchnorr(t,r){if(!e.verifySchnorr)throw new Error("verifySchnorr not supported by ecc library");return e.verifySchnorr(t,this.publicKey.subarray(1,33),r)}}class m extends g{constructor(e,t,n,o,i=0,a=0,s=0){super(e,t),this.chainCode=n,this.network=o,this.__DEPTH=i,this.__INDEX=a,this.__PARENT_FINGERPRINT=s,c(r,o)}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get identifier(){return o.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return _(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const e=this.network,t=this.isNeutered()?e.bip32.public:e.bip32.private,r=n.allocUnsafe(78);return r.writeUInt32BE(t,0),r.writeUInt8(this.depth,4),r.writeUInt32BE(this.parentFingerprint,5),r.writeUInt32BE(this.index,9),this.chainCode.copy(r,13),this.isNeutered()?this.publicKey.copy(r,45):(r.writeUInt8(0,45),this.privateKey.copy(r,46)),d.encode(r)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return u.encode(this.network.wif,this.privateKey,!0)}derive(t){c(c.UInt32,t);const r=t>=s,i=n.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");i[0]=0,this.privateKey.copy(i,1),i.writeUInt32BE(t,33)}else this.publicKey.copy(i,0),i.writeUInt32BE(t,33);const a=o.hmacSHA512(this.chainCode,i),u=a.slice(0,32),l=a.slice(32);if(!e.isPrivate(u))return this.derive(t+1);let d;if(this.isNeutered()){const r=n.from(e.pointAddScalar(this.publicKey,u,!0));if(null===r)return this.derive(t+1);d=_(r,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const r=n.from(e.privateAdd(this.privateKey,u));if(null==r)return this.derive(t+1);d=w(r,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return d}deriveHardened(e){return c(h,e),this.derive(e+s)}derivePath(e){c(f,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce(((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))}),this)}tweak(e){return this.privateKey?this.tweakFromPrivateKey(e):this.tweakFromPublicKey(e)}tweakFromPublicKey(t){const r=p(this.publicKey);if(!e.xOnlyPointAddTweak)throw new Error("xOnlyPointAddTweak not supported by ecc library");const o=e.xOnlyPointAddTweak(r,t);if(!o||null===o.xOnlyPubkey)throw new Error("Cannot tweak public key!");const i=n.from([0===o.parity?2:3]),a=n.concat([i,o.xOnlyPubkey]);return new g(void 0,a)}tweakFromPrivateKey(t){const r=3===this.publicKey[0]||4===this.publicKey[0]&&1===(1&this.publicKey[64]),o=(()=>{if(r){if(e.privateNegate)return e.privateNegate(this.privateKey);throw new Error("privateNegate not supported by ecc library")}return this.privateKey})(),i=e.privateAdd(o,t);if(!i)throw new Error("Invalid tweaked private key!");return new g(n.from(i),void 0)}}function y(e,t){const r=d.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||a;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const o=r[4],i=r.readUInt32BE(5);if(0===o&&0!==i)throw new TypeError("Invalid parent fingerprint");const s=r.readUInt32BE(9);if(0===o&&0!==s)throw new TypeError("Invalid index");const c=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");const e=r.slice(46,78);u=w(e,c,t,o,s,i)}else{const e=r.slice(45,78);u=_(e,c,t,o,s,i)}return u}function v(e,t,r){return w(e,t,r)}function w(r,n,o,i,s,u){if(c({privateKey:t,chainCode:t},{privateKey:r,chainCode:n}),o=o||a,!e.isPrivate(r))throw new TypeError("Private key not in range [1, n)");return new m(r,void 0,n,o,i,s,u)}function b(e,t,r){return _(e,t,r)}function _(r,n,o,i,s,u){if(c({publicKey:c.BufferN(33),chainCode:t},{publicKey:r,chainCode:n}),o=o||a,!e.isPoint(r))throw new TypeError("Point is not on the curve");return new m(void 0,r,n,o,i,s,u)}function E(e,t){if(c(c.Buffer,e),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");t=t||a;const r=o.hmacSHA512(n.from("Bitcoin seed","utf8"),e),i=r.slice(0,32),s=r.slice(32);return v(i,s,t)}return{fromSeed:E,fromBase58:y,fromPublicKey:b,fromPrivateKey:v}}t.BIP32Factory=f},56903:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.hmacSHA512=t.hash160=void 0;const o=r(79569),i=r(70830),a=r(23061),s=r(86262);function c(e){const t=(0,a.sha256)(Uint8Array.from(e));return n.from((0,i.ripemd160)(t))}function u(e,t){return n.from((0,o.hmac)(s.sha512,e,t))}t.hash160=c,t.hmacSHA512=u},37786:(e,t,r)=>{"use strict";t.GA=void 0;var n=r(84090);Object.defineProperty(t,"GA",{enumerable:!0,get:function(){return n.BIP32Factory}})},32871:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.testEcc=void 0;const o=e=>n.from(e,"hex");function i(e){if(a(e.isPoint(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(!e.isPoint(o("030000000000000000000000000000000000000000000000000000000000000005"))),a(e.isPrivate(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(!e.isPrivate(o("0000000000000000000000000000000000000000000000000000000000000000"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142"))),a(n.from(e.pointFromScalar(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99"))),e.xOnlyPointAddTweak){a(null===e.xOnlyPointAddTweak(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140")));let t=e.xOnlyPointAddTweak(o("1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b"),o("a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac"));a(n.from(t.xOnlyPubkey).equals(o("e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"))&&1===t.parity),t=e.xOnlyPointAddTweak(o("2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991"),o("823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47"))}a(n.from(e.pointAddScalar(o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("0000000000000000000000000000000000000000000000000000000000000003"))).equals(o("02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5"))),a(n.from(e.privateAdd(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"),o("0000000000000000000000000000000000000000000000000000000000000002"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),e.privateNegate&&(a(n.from(e.privateNegate(o("0000000000000000000000000000000000000000000000000000000000000001"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(n.from(e.privateNegate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"))).equals(o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateNegate(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("4eede1bf775995d70a494f0a7bb6bc11e0b8cccd41cce8009ab1132c8b0a3792")))),a(n.from(e.sign(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))).equals(o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),a(e.verify(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),e.signSchnorr&&a(n.from(e.signSchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9"),o("c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906"))).equals(o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7"))),e.verifySchnorr&&a(e.verifySchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8"),o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7")))}function a(e){if(!e)throw new Error("ecc library invalid")}t.testEcc=i},95488:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.toOutputScript=t.fromOutputScript=t.toBech32=t.toBase58Check=t.fromBech32=t.fromBase58Check=void 0;const o=r(74378),i=r(84972),a=r(73357),s=r(41838),c=r(27715),u=r(58334),l=40,d=2,f=16,h=2,p=80,g="WARNING: Sending to a future segwit version address can lead to loss of funds. End users MUST be warned carefully in the GUI and asked if they wish to proceed with caution. Wallets should verify the segwit version from the output of fromBech32, then decide when it is safe to use which version of segwit.";function m(e,t){const r=e.slice(2);if(r.lengthl)throw new TypeError("Invalid program length for segwit address");const n=e[0]-p;if(nf)throw new TypeError("Invalid version for segwit address");if(e[1]!==r.length)throw new TypeError("Invalid script for segwit address");return console.warn(g),b(r,n,t.bech32)}function y(e){const t=n.from(u.decode(e));if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");const r=t.readUint8(0),o=t.slice(1);return{version:r,hash:o}}function v(e){let t,r;try{t=c.bech32.decode(e)}catch(i){}if(t){if(r=t.words[0],0!==r)throw new TypeError(e+" uses wrong encoding")}else if(t=c.bech32m.decode(e),r=t.words[0],0===r)throw new TypeError(e+" uses wrong encoding");const o=c.bech32.fromWords(t.words.slice(1));return{version:r,prefix:t.prefix,data:n.from(o)}}function w(e,t){(0,s.typeforce)((0,s.tuple)(s.Hash160bit,s.UInt8),arguments);const r=n.allocUnsafe(21);return r.writeUInt8(t,0),e.copy(r,1),u.encode(r)}function b(e,t,r){const n=c.bech32.toWords(e);return n.unshift(t),0===t?c.bech32.encode(r,n):c.bech32m.encode(r,n)}function _(e,t){t=t||o.bitcoin;try{return i.p2pkh({output:e,network:t}).address}catch(r){}try{return i.p2sh({output:e,network:t}).address}catch(r){}try{return i.p2wpkh({output:e,network:t}).address}catch(r){}try{return i.p2wsh({output:e,network:t}).address}catch(r){}try{return i.p2tr({output:e,network:t}).address}catch(r){}try{return m(e,t)}catch(r){}throw new Error(a.toASM(e)+" has no matching Address")}function E(e,t){let r,n;t=t||o.bitcoin;try{r=y(e)}catch(s){}if(r){if(r.version===t.pubKeyHash)return i.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return i.p2sh({hash:r.hash}).output}else{try{n=v(e)}catch(s){}if(n){if(n.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===n.version){if(20===n.data.length)return i.p2wpkh({hash:n.data}).output;if(32===n.data.length)return i.p2wsh({hash:n.data}).output}else if(1===n.version){if(32===n.data.length)return i.p2tr({pubkey:n.data}).output}else if(n.version>=h&&n.version<=f&&n.data.length>=d&&n.data.length<=l)return console.warn(g),a.compile([n.version+p,n.data])}}throw new Error(e+" has no matching Script")}t.fromBase58Check=y,t.fromBech32=v,t.toBase58Check=w,t.toBech32=b,t.fromOutputScript=_,t.toOutputScript=E},77617:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;const t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;const r=e[5+t];return 0!==r&&(6+t+r===e.length&&(!(128&e[4])&&(!(t>1&&0===e[4]&&!(128&e[5]))&&(!(128&e[t+6])&&!(r>1&&0===e[t+6]&&!(128&e[t+7]))))))}function i(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");const t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");const r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}}function a(e,t){const r=e.length,o=t.length;if(0===r)throw new Error("R length is zero");if(0===o)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(o>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(o>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");const i=n.allocUnsafe(6+r+o);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=t.check=void 0,t.check=o,t.decode=i,t.encode=a},87949:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;const o=r(9357),i=r(5525),a=r(298),s=r(82737),c=r(41838),{typeforce:u}=c,l=new TypeError("Cannot compute merkle root for zero transactions"),d=new TypeError("Cannot compute witness commit for non-segwit block");class f{constructor(){this.version=1,this.prevHash=void 0,this.merkleRoot=void 0,this.timestamp=0,this.witnessCommit=void 0,this.bits=0,this.nonce=0,this.transactions=void 0}static fromBuffer(e){if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");const t=new o.BufferReader(e),r=new f;if(r.version=t.readInt32(),r.prevHash=t.readSlice(32),r.merkleRoot=t.readSlice(32),r.timestamp=t.readUInt32(),r.bits=t.readUInt32(),r.nonce=t.readUInt32(),80===e.length)return r;const n=()=>{const e=s.Transaction.fromBuffer(t.buffer.slice(t.offset),!0);return t.offset+=e.byteLength(),e},i=t.readVarInt();r.transactions=[];for(let o=0;o>24)-3,r=8388607&e,o=n.alloc(32,0);return o.writeUIntBE(r,29-t,3),o}static calculateMerkleRoot(e,t){if(u([{getHash:c.Function}],e),0===e.length)throw l;if(t&&!h(e))throw d;const r=e.map((e=>e.getHash(t))),o=(0,a.fastMerkleRoot)(r,i.hash256);return t?i.hash256(n.concat([o,e[0].ins[0].witness[0]])):o}getWitnessCommit(){if(!h(this.transactions))return null;const e=this.transactions[0].outs.filter((e=>e.script.slice(0,6).equals(n.from("6a24aa21a9ed","hex")))).map((e=>e.script.slice(6,38)));if(0===e.length)return null;const t=e[e.length-1];return t instanceof n&&32===t.length?t:null}hasWitnessCommit(){return this.witnessCommit instanceof n&&32===this.witnessCommit.length||null!==this.getWitnessCommit()}hasWitness(){return p(this.transactions)}weight(){const e=this.byteLength(!1,!1),t=this.byteLength(!1,!0);return 3*e+t}byteLength(e,t=!0){return e||!this.transactions?80:80+o.varuint.encodingLength(this.transactions.length)+this.transactions.reduce(((e,r)=>e+r.byteLength(t)),0)}getHash(){return i.hash256(this.toBuffer(!0))}getId(){return(0,o.reverseBuffer)(this.getHash()).toString("hex")}getUTCDate(){const e=new Date(0);return e.setUTCSeconds(this.timestamp),e}toBuffer(e){const t=n.allocUnsafe(this.byteLength(e)),r=new o.BufferWriter(t);return r.writeInt32(this.version),r.writeSlice(this.prevHash),r.writeSlice(this.merkleRoot),r.writeUInt32(this.timestamp),r.writeUInt32(this.bits),r.writeUInt32(this.nonce),e||!this.transactions||(o.varuint.encode(this.transactions.length,t,r.offset),r.offset+=o.varuint.encode.bytes,this.transactions.forEach((e=>{const n=e.byteLength();e.toBuffer(t,r.offset),r.offset+=n}))),t}toHex(e){return this.toBuffer(e).toString("hex")}checkTxRoots(){const e=this.hasWitnessCommit();return!(!e&&this.hasWitness())&&(this.__checkMerkleRoot()&&(!e||this.__checkWitnessCommit()))}checkProofOfWork(){const e=(0,o.reverseBuffer)(this.getHash()),t=f.calculateTarget(this.bits);return e.compare(t)<=0}__checkMerkleRoot(){if(!this.transactions)throw l;const e=f.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)}__checkWitnessCommit(){if(!this.transactions)throw l;if(!this.hasWitnessCommit())throw d;const e=f.calculateMerkleRoot(this.transactions,!0);return 0===this.witnessCommit.compare(e)}}function h(e){return e instanceof Array&&e[0]&&e[0].ins&&e[0].ins instanceof Array&&e[0].ins[0]&&e[0].ins[0].witness&&e[0].ins[0].witness instanceof Array&&e[0].ins[0].witness.length>0}function p(e){return e instanceof Array&&e.some((e=>"object"===typeof e&&e.ins instanceof Array&&e.ins.some((e=>"object"===typeof e&&e.witness instanceof Array&&e.witness.length>0))))}t.Block=f},9357:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.BufferReader=t.BufferWriter=t.cloneBuffer=t.reverseBuffer=t.writeUInt64LE=t.readUInt64LE=t.varuint=void 0;const o=r(41838),{typeforce:i}=o,a=r(57795);function s(e,t){if("number"!==typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function c(e,t){const r=e.readUInt32LE(t);let n=e.readUInt32LE(t+4);return n*=4294967296,s(n+r,9007199254740991),n+r}function u(e,t,r){return s(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}function l(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;nthis.writeVarSlice(e)))}end(){if(this.buffer.length===this.offset)return this.buffer;throw new Error(`buffer size ${this.buffer.length}, offset ${this.offset}`)}}t.BufferWriter=f;class h{constructor(e,t=0){this.buffer=e,this.offset=t,i(o.tuple(o.Buffer,o.UInt32),[e,t])}readUInt8(){const e=this.buffer.readUInt8(this.offset);return this.offset++,e}readInt32(){const e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}readUInt32(){const e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}readUInt64(){const e=c(this.buffer,this.offset);return this.offset+=8,e}readVarInt(){const e=a.decode(this.buffer,this.offset);return this.offset+=a.decode.bytes,e}readSlice(e){if(this.buffer.length{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.taggedHash=t.TAGGED_HASH_PREFIXES=t.TAGS=t.hash256=t.hash160=t.sha256=t.sha1=t.ripemd160=void 0;const o=r(70830),i=r(73963),a=r(23061);function s(e){return n.from((0,o.ripemd160)(Uint8Array.from(e)))}function c(e){return n.from((0,i.sha1)(Uint8Array.from(e)))}function u(e){return n.from((0,a.sha256)(Uint8Array.from(e)))}function l(e){return n.from((0,o.ripemd160)((0,a.sha256)(Uint8Array.from(e))))}function d(e){return n.from((0,a.sha256)((0,a.sha256)(Uint8Array.from(e))))}function f(e,r){return u(n.concat([t.TAGGED_HASH_PREFIXES[e],r]))}t.ripemd160=s,t.sha1=c,t.sha256=u,t.hash160=l,t.hash256=d,t.TAGS=["BIP0340/challenge","BIP0340/aux","BIP0340/nonce","TapLeaf","TapBranch","TapSighash","TapTweak","KeyAgg list","KeyAgg coefficient"],t.TAGGED_HASH_PREFIXES={"BIP0340/challenge":n.from([123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124,123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124]),"BIP0340/aux":n.from([241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144,241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144]),"BIP0340/nonce":n.from([7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47,7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47]),TapLeaf:n.from([174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238,174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238]),TapBranch:n.from([25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21,25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21]),TapSighash:n.from([244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49,244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49]),TapTweak:n.from([232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233,232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233]),"KeyAgg list":n.from([72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240,72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240]),"KeyAgg coefficient":n.from([191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129,191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129])},t.taggedHash=f},66379:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.getEccLib=t.initEccLib=void 0;const o={};function i(e){e?e!==o.eccLib&&(c(e),o.eccLib=e):o.eccLib=e}function a(){if(!o.eccLib)throw new Error("No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance");return o.eccLib}t.initEccLib=i,t.getEccLib=a;const s=e=>n.from(e,"hex");function c(e){u("function"===typeof e.isXOnlyPoint),u(e.isXOnlyPoint(s("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),u(e.isXOnlyPoint(s("fffffffffffffffffffffffffffffffffffffffffffffffffffffffeeffffc2e"))),u(e.isXOnlyPoint(s("f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9"))),u(e.isXOnlyPoint(s("0000000000000000000000000000000000000000000000000000000000000001"))),u(!e.isXOnlyPoint(s("0000000000000000000000000000000000000000000000000000000000000000"))),u(!e.isXOnlyPoint(s("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"))),u("function"===typeof e.xOnlyPointAddTweak),l.forEach((t=>{const r=e.xOnlyPointAddTweak(s(t.pubkey),s(t.tweak));null===t.result?u(null===r):(u(null!==r),u(r.parity===t.parity),u(n.from(r.xOnlyPubkey).equals(s(t.result))))}))}function u(e){if(!e)throw new Error("ecc library invalid")}const l=[{pubkey:"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",tweak:"fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",parity:-1,result:null},{pubkey:"1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b",tweak:"a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac",parity:1,result:"e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"},{pubkey:"2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991",tweak:"823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47",parity:0,result:"9534f8dc8c6deda2dc007655981c78b49c5d96c778fbf363462a11ec9dfd948c"}]},17656:(e,t,r)=>{"use strict";t.YW=t._B=t.PP=t.QW=void 0;const n=r(95488);const o=r(5525);const i=r(74378);t.QW=i;const a=r(84972);t.PP=a;const s=r(73357);var c=r(87949);var u=r(99930);Object.defineProperty(t,"_B",{enumerable:!0,get:function(){return u.Psbt}});var l=r(47334);var d=r(82737);Object.defineProperty(t,"YW",{enumerable:!0,get:function(){return d.Transaction}});var f=r(66379)},298:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e,t){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!==typeof t)throw TypeError("Expected digest Function");let r=e.length;const o=e.concat();while(r>1){let e=0;for(let i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testnet=t.regtest=t.bitcoin=void 0,t.bitcoin={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},t.regtest={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bcrt",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},t.testnet={messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}},47334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REVERSE_OPS=t.OPS=void 0;const r={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_CHECKSIGADD:186,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255};t.OPS=r;const n={};t.REVERSE_OPS=n;for(const o of Object.keys(r)){const e=r[o];n[e]=o}},12227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tweakKey=t.tapTweakHash=t.tapleafHash=t.findScriptPath=t.toHashTree=t.rootHashFromPath=t.MAX_TAPTREE_DEPTH=t.LEAF_VERSION_TAPSCRIPT=void 0;const n=r(48764),o=r(66379),i=r(5525),a=r(9357),s=r(41838);t.LEAF_VERSION_TAPSCRIPT=192,t.MAX_TAPTREE_DEPTH=128;const c=e=>"left"in e&&"right"in e;function u(e,t){if(e.length<33)throw new TypeError(`The control-block length is too small. Got ${e.length}, expected min 33.`);const r=(e.length-33)/32;let n=t;for(let o=0;oe.hash.compare(t.hash)));const[r,n]=t;return{hash:g(r.hash,n.hash),left:r,right:n}}function d(e,t){if(c(e)){const r=d(e.left,t);if(void 0!==r)return[...r,e.right.hash];const n=d(e.right,t);if(void 0!==n)return[...n,e.left.hash]}else if(e.hash.equals(t))return[]}function f(e){const r=e.version||t.LEAF_VERSION_TAPSCRIPT;return i.taggedHash("TapLeaf",n.Buffer.concat([n.Buffer.from([r]),m(e.output)]))}function h(e,t){return i.taggedHash("TapTweak",n.Buffer.concat(t?[e,t]:[e]))}function p(e,t){if(!n.Buffer.isBuffer(e))return null;if(32!==e.length)return null;if(t&&32!==t.length)return null;const r=h(e,t),i=(0,o.getEccLib)().xOnlyPointAddTweak(e,r);return i&&null!==i.xOnlyPubkey?{parity:i.parity,x:n.Buffer.from(i.xOnlyPubkey)}:null}function g(e,t){return i.taggedHash("TapBranch",n.Buffer.concat([e,t]))}function m(e){const t=a.varuint.encodingLength(e.length),r=n.Buffer.allocUnsafe(t);return a.varuint.encode(e.length,r),n.Buffer.concat([r,e])}t.rootHashFromPath=u,t.toHashTree=l,t.findScriptPath=d,t.tapleafHash=f,t.tapTweakHash=h,t.tweakKey=p},36648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2data=void 0;const n=r(74378),o=r(73357),i=r(41838),a=r(52691),s=o.OPS;function c(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function u(e,t){if(!e.data&&!e.output)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),output:i.typeforce.maybe(i.typeforce.Buffer),data:i.typeforce.maybe(i.typeforce.arrayOf(i.typeforce.Buffer))},e);const r=e.network||n.bitcoin,u={name:"embed",network:r};if(a.prop(u,"output",(()=>{if(e.data)return o.compile([s.OP_RETURN].concat(e.data))})),a.prop(u,"data",(()=>{if(e.output)return o.decompile(e.output).slice(1)})),t.validate&&e.output){const t=o.decompile(e.output);if(t[0]!==s.OP_RETURN)throw new TypeError("Output is invalid");if(!t.slice(1).every(i.typeforce.Buffer))throw new TypeError("Output is invalid");if(e.data&&!c(e.data,u.data))throw new TypeError("Data mismatch")}return Object.assign(u,e)}t.p2data=u},84972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2tr=t.p2wsh=t.p2wpkh=t.p2sh=t.p2pkh=t.p2pk=t.p2ms=t.embed=void 0;const n=r(36648);Object.defineProperty(t,"embed",{enumerable:!0,get:function(){return n.p2data}});const o=r(98793);Object.defineProperty(t,"p2ms",{enumerable:!0,get:function(){return o.p2ms}});const i=r(97759);Object.defineProperty(t,"p2pk",{enumerable:!0,get:function(){return i.p2pk}});const a=r(44483);Object.defineProperty(t,"p2pkh",{enumerable:!0,get:function(){return a.p2pkh}});const s=r(21160);Object.defineProperty(t,"p2sh",{enumerable:!0,get:function(){return s.p2sh}});const c=r(18810);Object.defineProperty(t,"p2wpkh",{enumerable:!0,get:function(){return c.p2wpkh}});const u=r(82401);Object.defineProperty(t,"p2wsh",{enumerable:!0,get:function(){return u.p2wsh}});const l=r(10079);Object.defineProperty(t,"p2tr",{enumerable:!0,get:function(){return l.p2tr}})},52691:(e,t)=>{"use strict";function r(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){const e=r.call(this);return this[t]=e,e},set(e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})}})}function n(e){let t;return()=>(void 0!==t||(t=e()),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.value=t.prop=void 0,t.prop=r,t.value=n},98793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2ms=void 0;const n=r(74378),o=r(73357),i=r(41838),a=r(52691),s=o.OPS,c=s.OP_RESERVED;function u(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function l(e,t){if(!e.input&&!e.output&&(!e.pubkeys||void 0===e.m)&&!e.signatures)throw new TypeError("Not enough data");function r(e){return o.isCanonicalScriptSignature(e)||void 0!==(t.allowIncomplete&&e===s.OP_0)}t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),m:i.typeforce.maybe(i.typeforce.Number),n:i.typeforce.maybe(i.typeforce.Number),output:i.typeforce.maybe(i.typeforce.Buffer),pubkeys:i.typeforce.maybe(i.typeforce.arrayOf(i.isPoint)),signatures:i.typeforce.maybe(i.typeforce.arrayOf(r)),input:i.typeforce.maybe(i.typeforce.Buffer)},e);const l=e.network||n.bitcoin,d={network:l};let f=[],h=!1;function p(e){h||(h=!0,f=o.decompile(e),d.m=f[0]-c,d.n=f[f.length-2]-c,d.pubkeys=f.slice(1,-2))}if(a.prop(d,"output",(()=>{if(e.m&&d.n&&e.pubkeys)return o.compile([].concat(c+e.m,e.pubkeys,c+d.n,s.OP_CHECKMULTISIG))})),a.prop(d,"m",(()=>{if(d.output)return p(d.output),d.m})),a.prop(d,"n",(()=>{if(d.pubkeys)return d.pubkeys.length})),a.prop(d,"pubkeys",(()=>{if(e.output)return p(e.output),d.pubkeys})),a.prop(d,"signatures",(()=>{if(e.input)return o.decompile(e.input).slice(1)})),a.prop(d,"input",(()=>{if(e.signatures)return o.compile([s.OP_0].concat(e.signatures))})),a.prop(d,"witness",(()=>{if(d.input)return[]})),a.prop(d,"name",(()=>{if(d.m&&d.n)return`p2ms(${d.m} of ${d.n})`})),t.validate){if(e.output){if(p(e.output),!i.typeforce.Number(f[0]))throw new TypeError("Output is invalid");if(!i.typeforce.Number(f[f.length-2]))throw new TypeError("Output is invalid");if(f[f.length-1]!==s.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(d.m<=0||d.n>16||d.m>d.n||d.n!==f.length-3)throw new TypeError("Output is invalid");if(!d.pubkeys.every((e=>(0,i.isPoint)(e))))throw new TypeError("Output is invalid");if(void 0!==e.m&&e.m!==d.m)throw new TypeError("m mismatch");if(void 0!==e.n&&e.n!==d.n)throw new TypeError("n mismatch");if(e.pubkeys&&!u(e.pubkeys,d.pubkeys))throw new TypeError("Pubkeys mismatch")}if(e.pubkeys){if(void 0!==e.n&&e.n!==e.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(d.n=e.pubkeys.length,d.nd.m)throw new TypeError("Too many signatures provided")}if(e.input){if(e.input[0]!==s.OP_0)throw new TypeError("Input is invalid");if(0===d.signatures.length||!d.signatures.every(r))throw new TypeError("Input has invalid signature(s)");if(e.signatures&&!u(e.signatures,d.signatures))throw new TypeError("Signature mismatch");if(void 0!==e.m&&e.m!==e.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(d,e)}t.p2ms=l},97759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2pk=void 0;const n=r(74378),o=r(73357),i=r(41838),a=r(52691),s=o.OPS;function c(e,t){if(!e.input&&!e.output&&!e.pubkey&&!e.input&&!e.signature)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,i.typeforce)({network:i.typeforce.maybe(i.typeforce.Object),output:i.typeforce.maybe(i.typeforce.Buffer),pubkey:i.typeforce.maybe(i.isPoint),signature:i.typeforce.maybe(o.isCanonicalScriptSignature),input:i.typeforce.maybe(i.typeforce.Buffer)},e);const r=a.value((()=>o.decompile(e.input))),c=e.network||n.bitcoin,u={name:"p2pk",network:c};if(a.prop(u,"output",(()=>{if(e.pubkey)return o.compile([e.pubkey,s.OP_CHECKSIG])})),a.prop(u,"pubkey",(()=>{if(e.output)return e.output.slice(1,-1)})),a.prop(u,"signature",(()=>{if(e.input)return r()[0]})),a.prop(u,"input",(()=>{if(e.signature)return o.compile([e.signature])})),a.prop(u,"witness",(()=>{if(u.input)return[]})),t.validate){if(e.output){if(e.output[e.output.length-1]!==s.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!(0,i.isPoint)(u.pubkey))throw new TypeError("Output pubkey is invalid");if(e.pubkey&&!e.pubkey.equals(u.pubkey))throw new TypeError("Pubkey mismatch")}if(e.signature&&e.input&&!e.input.equals(u.input))throw new TypeError("Signature mismatch");if(e.input){if(1!==r().length)throw new TypeError("Input is invalid");if(!o.isCanonicalScriptSignature(u.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(u,e)}t.p2pk=c},44483:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2pkh=void 0;const o=r(5525),i=r(74378),a=r(73357),s=r(41838),c=r(52691),u=r(58334),l=a.OPS;function d(e,t){if(!e.address&&!e.hash&&!e.output&&!e.pubkey&&!e.input)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),output:s.typeforce.maybe(s.typeforce.BufferN(25)),pubkey:s.typeforce.maybe(s.isPoint),signature:s.typeforce.maybe(a.isCanonicalScriptSignature),input:s.typeforce.maybe(s.typeforce.Buffer)},e);const r=c.value((()=>{const t=n.from(u.decode(e.address)),r=t.readUInt8(0),o=t.slice(1);return{version:r,hash:o}})),d=c.value((()=>a.decompile(e.input))),f=e.network||i.bitcoin,h={name:"p2pkh",network:f};if(c.prop(h,"address",(()=>{if(!h.hash)return;const e=n.allocUnsafe(21);return e.writeUInt8(f.pubKeyHash,0),h.hash.copy(e,1),u.encode(e)})),c.prop(h,"hash",(()=>e.output?e.output.slice(3,23):e.address?r().hash:e.pubkey||h.pubkey?o.hash160(e.pubkey||h.pubkey):void 0)),c.prop(h,"output",(()=>{if(h.hash)return a.compile([l.OP_DUP,l.OP_HASH160,h.hash,l.OP_EQUALVERIFY,l.OP_CHECKSIG])})),c.prop(h,"pubkey",(()=>{if(e.input)return d()[1]})),c.prop(h,"signature",(()=>{if(e.input)return d()[0]})),c.prop(h,"input",(()=>{if(e.pubkey&&e.signature)return a.compile([e.signature,e.pubkey])})),c.prop(h,"witness",(()=>{if(h.input)return[]})),t.validate){let t=n.from([]);if(e.address){if(r().version!==f.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(20!==r().hash.length)throw new TypeError("Invalid address");t=r().hash}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(25!==e.output.length||e.output[0]!==l.OP_DUP||e.output[1]!==l.OP_HASH160||20!==e.output[2]||e.output[23]!==l.OP_EQUALVERIFY||e.output[24]!==l.OP_CHECKSIG)throw new TypeError("Output is invalid");const r=e.output.slice(3,23);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.pubkey){const r=o.hash160(e.pubkey);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.input){const r=d();if(2!==r.length)throw new TypeError("Input is invalid");if(!a.isCanonicalScriptSignature(r[0]))throw new TypeError("Input has invalid signature");if(!(0,s.isPoint)(r[1]))throw new TypeError("Input has invalid pubkey");if(e.signature&&!e.signature.equals(r[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&!e.pubkey.equals(r[1]))throw new TypeError("Pubkey mismatch");const n=o.hash160(r[1]);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch")}}return Object.assign(h,e)}t.p2pkh=d},21160:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2sh=void 0;const o=r(5525),i=r(74378),a=r(73357),s=r(41838),c=r(52691),u=r(58334),l=a.OPS;function d(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function f(e,t){if(!e.address&&!e.hash&&!e.output&&!e.redeem&&!e.input)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),output:s.typeforce.maybe(s.typeforce.BufferN(23)),redeem:s.typeforce.maybe({network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.Buffer),input:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))}),input:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);let r=e.network;r||(r=e.redeem&&e.redeem.network||i.bitcoin);const f={network:r},h=c.value((()=>{const t=n.from(u.decode(e.address)),r=t.readUInt8(0),o=t.slice(1);return{version:r,hash:o}})),p=c.value((()=>a.decompile(e.input))),g=c.value((()=>{const t=p(),o=t[t.length-1];return{network:r,output:o===l.OP_FALSE?n.from([]):o,input:a.compile(t.slice(0,-1)),witness:e.witness||[]}}));if(c.prop(f,"address",(()=>{if(!f.hash)return;const e=n.allocUnsafe(21);return e.writeUInt8(f.network.scriptHash,0),f.hash.copy(e,1),u.encode(e)})),c.prop(f,"hash",(()=>e.output?e.output.slice(2,22):e.address?h().hash:f.redeem&&f.redeem.output?o.hash160(f.redeem.output):void 0)),c.prop(f,"output",(()=>{if(f.hash)return a.compile([l.OP_HASH160,f.hash,l.OP_EQUAL])})),c.prop(f,"redeem",(()=>{if(e.input)return g()})),c.prop(f,"input",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.output)return a.compile([].concat(a.decompile(e.redeem.input),e.redeem.output))})),c.prop(f,"witness",(()=>f.redeem&&f.redeem.witness?f.redeem.witness:f.input?[]:void 0)),c.prop(f,"name",(()=>{const e=["p2sh"];return void 0!==f.redeem&&void 0!==f.redeem.name&&e.push(f.redeem.name),e.join("-")})),t.validate){let t=n.from([]);if(e.address){if(h().version!==r.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(20!==h().hash.length)throw new TypeError("Invalid address");t=h().hash}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(23!==e.output.length||e.output[0]!==l.OP_HASH160||20!==e.output[1]||e.output[22]!==l.OP_EQUAL)throw new TypeError("Output is invalid");const r=e.output.slice(2,22);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}const i=e=>{if(e.output){const r=a.decompile(e.output);if(!r||r.length<1)throw new TypeError("Redeem.output too short");if(e.output.byteLength>520)throw new TypeError("Redeem.output unspendable if larger than 520 bytes");if(a.countNonPushOnlyOPs(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");const n=o.hash160(e.output);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch");t=n}if(e.input){const t=e.input.length>0,r=e.witness&&e.witness.length>0;if(!t&&!r)throw new TypeError("Empty input");if(t&&r)throw new TypeError("Input and witness provided");if(t){const t=a.decompile(e.input);if(!a.isPushOnly(t))throw new TypeError("Non push-only scriptSig")}}};if(e.input){const e=p();if(!e||e.length<1)throw new TypeError("Input too short");if(!n.isBuffer(g().output))throw new TypeError("Input is invalid");i(g())}if(e.redeem){if(e.redeem.network&&e.redeem.network!==r)throw new TypeError("Network mismatch");if(e.input){const t=g();if(e.redeem.output&&!e.redeem.output.equals(t.output))throw new TypeError("Redeem.output mismatch");if(e.redeem.input&&!e.redeem.input.equals(t.input))throw new TypeError("Redeem.input mismatch")}i(e.redeem)}if(e.witness&&e.redeem&&e.redeem.witness&&!d(e.redeem.witness,e.witness))throw new TypeError("Witness and redeem.witness mismatch")}return Object.assign(f,e)}t.p2sh=f},10079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p2tr=void 0;const n=r(48764),o=r(74378),i=r(73357),a=r(41838),s=r(66379),c=r(12227),u=r(52691),l=r(27715),d=i.OPS,f=1,h=80;function p(e,t){if(!e.address&&!e.output&&!e.pubkey&&!e.internalPubkey&&!(e.witness&&e.witness.length>1))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,a.typeforce)({address:a.typeforce.maybe(a.typeforce.String),input:a.typeforce.maybe(a.typeforce.BufferN(0)),network:a.typeforce.maybe(a.typeforce.Object),output:a.typeforce.maybe(a.typeforce.BufferN(34)),internalPubkey:a.typeforce.maybe(a.typeforce.BufferN(32)),hash:a.typeforce.maybe(a.typeforce.BufferN(32)),pubkey:a.typeforce.maybe(a.typeforce.BufferN(32)),signature:a.typeforce.maybe(a.typeforce.anyOf(a.typeforce.BufferN(64),a.typeforce.BufferN(65))),witness:a.typeforce.maybe(a.typeforce.arrayOf(a.typeforce.Buffer)),scriptTree:a.typeforce.maybe(a.isTaptree),redeem:a.typeforce.maybe({output:a.typeforce.maybe(a.typeforce.Buffer),redeemVersion:a.typeforce.maybe(a.typeforce.Number),witness:a.typeforce.maybe(a.typeforce.arrayOf(a.typeforce.Buffer))}),redeemVersion:a.typeforce.maybe(a.typeforce.Number)},e);const r=u.value((()=>{const t=l.bech32m.decode(e.address),r=t.words.shift(),o=l.bech32m.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.Buffer.from(o)}})),p=u.value((()=>{if(e.witness&&e.witness.length)return e.witness.length>=2&&e.witness[e.witness.length-1][0]===h?e.witness.slice(0,-1):e.witness.slice()})),m=u.value((()=>e.scriptTree?(0,c.toHashTree)(e.scriptTree):e.hash?{hash:e.hash}:void 0)),y=e.network||o.bitcoin,v={name:"p2tr",network:y};if(u.prop(v,"address",(()=>{if(!v.pubkey)return;const e=l.bech32m.toWords(v.pubkey);return e.unshift(f),l.bech32m.encode(y.bech32,e)})),u.prop(v,"hash",(()=>{const e=m();if(e)return e.hash;const t=p();if(t&&t.length>1){const e=t[t.length-1],r=e[0]&a.TAPLEAF_VERSION_MASK,n=t[t.length-2],o=(0,c.tapleafHash)({output:n,version:r});return(0,c.rootHashFromPath)(e,o)}return null})),u.prop(v,"output",(()=>{if(v.pubkey)return i.compile([d.OP_1,v.pubkey])})),u.prop(v,"redeemVersion",(()=>e.redeemVersion?e.redeemVersion:e.redeem&&void 0!==e.redeem.redeemVersion&&null!==e.redeem.redeemVersion?e.redeem.redeemVersion:c.LEAF_VERSION_TAPSCRIPT)),u.prop(v,"redeem",(()=>{const e=p();if(e&&!(e.length<2))return{output:e[e.length-2],witness:e.slice(0,-2),redeemVersion:e[e.length-1][0]&a.TAPLEAF_VERSION_MASK}})),u.prop(v,"pubkey",(()=>{if(e.pubkey)return e.pubkey;if(e.output)return e.output.slice(2);if(e.address)return r().data;if(v.internalPubkey){const e=(0,c.tweakKey)(v.internalPubkey,v.hash);if(e)return e.x}})),u.prop(v,"internalPubkey",(()=>{if(e.internalPubkey)return e.internalPubkey;const t=p();return t&&t.length>1?t[t.length-1].slice(1,33):void 0})),u.prop(v,"signature",(()=>{if(e.signature)return e.signature;const t=p();return t&&1===t.length?t[0]:void 0})),u.prop(v,"witness",(()=>{if(e.witness)return e.witness;const t=m();if(t&&e.redeem&&e.redeem.output&&e.internalPubkey){const r=(0,c.tapleafHash)({output:e.redeem.output,version:v.redeemVersion}),o=(0,c.findScriptPath)(t,r);if(!o)return;const i=(0,c.tweakKey)(e.internalPubkey,t.hash);if(!i)return;const a=n.Buffer.concat([n.Buffer.from([v.redeemVersion|i.parity]),e.internalPubkey].concat(o));return[e.redeem.output,a]}return e.signature?[e.signature]:void 0})),t.validate){let t=n.Buffer.from([]);if(e.address){if(y&&y.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==f)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.pubkey){if(t.length>0&&!t.equals(e.pubkey))throw new TypeError("Pubkey mismatch");t=e.pubkey}if(e.output){if(34!==e.output.length||e.output[0]!==d.OP_1||32!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&!t.equals(e.output.slice(2)))throw new TypeError("Pubkey mismatch");t=e.output.slice(2)}if(e.internalPubkey){const r=(0,c.tweakKey)(e.internalPubkey,v.hash);if(t.length>0&&!t.equals(r.x))throw new TypeError("Pubkey mismatch");t=r.x}if(t&&t.length&&!(0,s.getEccLib)().isXOnlyPoint(t))throw new TypeError("Invalid pubkey for p2tr");const o=m();if(e.hash&&o&&!e.hash.equals(o.hash))throw new TypeError("Hash mismatch");if(e.redeem&&e.redeem.output&&o){const t=(0,c.tapleafHash)({output:e.redeem.output,version:v.redeemVersion});if(!(0,c.findScriptPath)(o,t))throw new TypeError("Redeem script not in tree")}const u=p();if(e.redeem&&v.redeem){if(e.redeem.redeemVersion&&e.redeem.redeemVersion!==v.redeem.redeemVersion)throw new TypeError("Redeem.redeemVersion and witness mismatch");if(e.redeem.output){if(0===i.decompile(e.redeem.output).length)throw new TypeError("Redeem.output is invalid");if(v.redeem.output&&!e.redeem.output.equals(v.redeem.output))throw new TypeError("Redeem.output and witness mismatch")}if(e.redeem.witness&&v.redeem.witness&&!g(e.redeem.witness,v.redeem.witness))throw new TypeError("Redeem.witness and witness mismatch")}if(u&&u.length)if(1===u.length){if(e.signature&&!e.signature.equals(u[0]))throw new TypeError("Signature mismatch")}else{const r=u[u.length-1];if(r.length<33)throw new TypeError(`The control-block length is too small. Got ${r.length}, expected min 33.`);if((r.length-33)%32!==0)throw new TypeError(`The control-block length of ${r.length} is incorrect!`);const n=(r.length-33)/32;if(n>128)throw new TypeError(`The script path is too long. Got ${n}, expected max 128.`);const o=r.slice(1,33);if(e.internalPubkey&&!e.internalPubkey.equals(o))throw new TypeError("Internal pubkey mismatch");if(!(0,s.getEccLib)().isXOnlyPoint(o))throw new TypeError("Invalid internalPubkey for p2tr witness");const i=r[0]&a.TAPLEAF_VERSION_MASK,l=u[u.length-2],d=(0,c.tapleafHash)({output:l,version:i}),f=(0,c.rootHashFromPath)(r,d),h=(0,c.tweakKey)(o,f);if(!h)throw new TypeError("Invalid outputKey for p2tr witness");if(t.length&&!t.equals(h.x))throw new TypeError("Pubkey mismatch for p2tr witness");if(h.parity!==(1&r[0]))throw new Error("Incorrect parity")}}return Object.assign(v,e)}function g(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}t.p2tr=p},18810:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2wpkh=void 0;const o=r(5525),i=r(74378),a=r(73357),s=r(41838),c=r(52691),u=r(27715),l=a.OPS,d=n.alloc(0);function f(e,t){if(!e.address&&!e.hash&&!e.output&&!e.pubkey&&!e.witness)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(20)),input:s.typeforce.maybe(s.typeforce.BufferN(0)),network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.BufferN(22)),pubkey:s.typeforce.maybe(s.isPoint),signature:s.typeforce.maybe(a.isCanonicalScriptSignature),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);const r=c.value((()=>{const t=u.bech32.decode(e.address),r=t.words.shift(),o=u.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.from(o)}})),f=e.network||i.bitcoin,h={name:"p2wpkh",network:f};if(c.prop(h,"address",(()=>{if(!h.hash)return;const e=u.bech32.toWords(h.hash);return e.unshift(0),u.bech32.encode(f.bech32,e)})),c.prop(h,"hash",(()=>e.output?e.output.slice(2,22):e.address?r().data:e.pubkey||h.pubkey?o.hash160(e.pubkey||h.pubkey):void 0)),c.prop(h,"output",(()=>{if(h.hash)return a.compile([l.OP_0,h.hash])})),c.prop(h,"pubkey",(()=>e.pubkey?e.pubkey:e.witness?e.witness[1]:void 0)),c.prop(h,"signature",(()=>{if(e.witness)return e.witness[0]})),c.prop(h,"input",(()=>{if(h.witness)return d})),c.prop(h,"witness",(()=>{if(e.pubkey&&e.signature)return[e.signature,e.pubkey]})),t.validate){let t=n.from([]);if(e.address){if(f&&f.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(20!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(22!==e.output.length||e.output[0]!==l.OP_0||20!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&!t.equals(e.output.slice(2)))throw new TypeError("Hash mismatch");t=e.output.slice(2)}if(e.pubkey){const r=o.hash160(e.pubkey);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");if(t=r,!(0,s.isPoint)(e.pubkey)||33!==e.pubkey.length)throw new TypeError("Invalid pubkey for p2wpkh")}if(e.witness){if(2!==e.witness.length)throw new TypeError("Witness is invalid");if(!a.isCanonicalScriptSignature(e.witness[0]))throw new TypeError("Witness has invalid signature");if(!(0,s.isPoint)(e.witness[1])||33!==e.witness[1].length)throw new TypeError("Witness has invalid pubkey");if(e.signature&&!e.signature.equals(e.witness[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&!e.pubkey.equals(e.witness[1]))throw new TypeError("Pubkey mismatch");const r=o.hash160(e.witness[1]);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch")}}return Object.assign(h,e)}t.p2wpkh=f},82401:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.p2wsh=void 0;const o=r(5525),i=r(74378),a=r(73357),s=r(41838),c=r(52691),u=r(27715),l=a.OPS,d=n.alloc(0);function f(e,t){return e.length===t.length&&e.every(((e,r)=>e.equals(t[r])))}function h(e){return!(!n.isBuffer(e)||65!==e.length||4!==e[0]||!(0,s.isPoint)(e))}function p(e,t){if(!e.address&&!e.hash&&!e.output&&!e.redeem&&!e.witness)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),(0,s.typeforce)({network:s.typeforce.maybe(s.typeforce.Object),address:s.typeforce.maybe(s.typeforce.String),hash:s.typeforce.maybe(s.typeforce.BufferN(32)),output:s.typeforce.maybe(s.typeforce.BufferN(34)),redeem:s.typeforce.maybe({input:s.typeforce.maybe(s.typeforce.Buffer),network:s.typeforce.maybe(s.typeforce.Object),output:s.typeforce.maybe(s.typeforce.Buffer),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))}),input:s.typeforce.maybe(s.typeforce.BufferN(0)),witness:s.typeforce.maybe(s.typeforce.arrayOf(s.typeforce.Buffer))},e);const r=c.value((()=>{const t=u.bech32.decode(e.address),r=t.words.shift(),o=u.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:n.from(o)}})),p=c.value((()=>a.decompile(e.redeem.input)));let g=e.network;g||(g=e.redeem&&e.redeem.network||i.bitcoin);const m={network:g};if(c.prop(m,"address",(()=>{if(!m.hash)return;const e=u.bech32.toWords(m.hash);return e.unshift(0),u.bech32.encode(g.bech32,e)})),c.prop(m,"hash",(()=>e.output?e.output.slice(2):e.address?r().data:m.redeem&&m.redeem.output?o.sha256(m.redeem.output):void 0)),c.prop(m,"output",(()=>{if(m.hash)return a.compile([l.OP_0,m.hash])})),c.prop(m,"redeem",(()=>{if(e.witness)return{output:e.witness[e.witness.length-1],input:d,witness:e.witness.slice(0,-1)}})),c.prop(m,"input",(()=>{if(m.witness)return d})),c.prop(m,"witness",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.input.length>0&&e.redeem.output&&e.redeem.output.length>0){const t=a.toStack(p());return m.redeem=Object.assign({witness:t},e.redeem),m.redeem.input=d,[].concat(t,e.redeem.output)}if(e.redeem&&e.redeem.output&&e.redeem.witness)return[].concat(e.redeem.witness,e.redeem.output)})),c.prop(m,"name",(()=>{const e=["p2wsh"];return void 0!==m.redeem&&void 0!==m.redeem.name&&e.push(m.redeem.name),e.join("-")})),t.validate){let t=n.from([]);if(e.address){if(r().prefix!==g.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&!t.equals(e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(34!==e.output.length||e.output[0]!==l.OP_0||32!==e.output[1])throw new TypeError("Output is invalid");const r=e.output.slice(2);if(t.length>0&&!t.equals(r))throw new TypeError("Hash mismatch");t=r}if(e.redeem){if(e.redeem.network&&e.redeem.network!==g)throw new TypeError("Network mismatch");if(e.redeem.input&&e.redeem.input.length>0&&e.redeem.witness&&e.redeem.witness.length>0)throw new TypeError("Ambiguous witness source");if(e.redeem.output){const r=a.decompile(e.redeem.output);if(!r||r.length<1)throw new TypeError("Redeem.output is invalid");if(e.redeem.output.byteLength>3600)throw new TypeError("Redeem.output unspendable if larger than 3600 bytes");if(a.countNonPushOnlyOPs(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");const n=o.sha256(e.redeem.output);if(t.length>0&&!t.equals(n))throw new TypeError("Hash mismatch");t=n}if(e.redeem.input&&!a.isPushOnly(p()))throw new TypeError("Non push-only scriptSig");if(e.witness&&e.redeem.witness&&!f(e.witness,e.redeem.witness))throw new TypeError("Witness and redeem.witness mismatch");if(e.redeem.input&&p().some(h)||e.redeem.output&&(a.decompile(e.redeem.output)||[]).some(h))throw new TypeError("redeem.input or redeem.output contains uncompressed pubkey")}if(e.witness&&e.witness.length>0){const t=e.witness[e.witness.length-1];if(e.redeem&&e.redeem.output&&!e.redeem.output.equals(t))throw new TypeError("Witness and redeem.output mismatch");if(e.witness.some(h)||(a.decompile(t)||[]).some(h))throw new TypeError("Witness contains uncompressed pubkey")}}return Object.assign(m,e)}t.p2wsh=p},99930:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Psbt=void 0;const o=r(95011),i=r(3493),a=r(96403),s=r(95488),c=r(9357),u=r(74378),l=r(84972),d=r(12227),f=r(73357),h=r(82737),p=r(23064),g=r(87929),m={network:u.bitcoin,maximumFeeRate:5e3};class y{static fromBase64(e,t={}){const r=n.from(e,"base64");return this.fromBuffer(r,t)}static fromHex(e,t={}){const r=n.from(e,"hex");return this.fromBuffer(r,t)}static fromBuffer(e,t={}){const r=o.Psbt.fromBuffer(e,v),n=new y(t,r);return P(n.__CACHE.__TX,n.__CACHE),n}constructor(e={},t=new o.Psbt(new w)){this.data=t,this.opts=Object.assign({},m,e),this.__CACHE={__NON_WITNESS_UTXO_TX_CACHE:[],__NON_WITNESS_UTXO_BUF_CACHE:[],__TX_IN_CACHE:{},__TX:this.data.globalMap.unsignedTx.tx,__UNSAFE_SIGN_NONSEGWIT:!1},0===this.data.inputs.length&&this.setVersion(2);const r=(e,t,r,n)=>Object.defineProperty(e,t,{enumerable:r,writable:n});r(this,"__CACHE",!1,!0),r(this,"opts",!1,!0)}get inputCount(){return this.data.inputs.length}get version(){return this.__CACHE.__TX.version}set version(e){this.setVersion(e)}get locktime(){return this.__CACHE.__TX.locktime}set locktime(e){this.setLocktime(e)}get txInputs(){return this.__CACHE.__TX.ins.map((e=>({hash:(0,c.cloneBuffer)(e.hash),index:e.index,sequence:e.sequence})))}get txOutputs(){return this.__CACHE.__TX.outs.map((e=>{let t;try{t=(0,s.fromOutputScript)(e.script,this.opts.network)}catch(r){}return{script:(0,c.cloneBuffer)(e.script),value:e.value,address:t}}))}combine(...e){return this.data.combine(...e.map((e=>e.data))),this}clone(){const e=y.fromBuffer(this.data.toBuffer());return e.opts=JSON.parse(JSON.stringify(this.opts)),e}setMaximumFeeRate(e){T(e),this.opts.maximumFeeRate=e}setVersion(e){T(e),x(this.data.inputs,"setVersion");const t=this.__CACHE;return t.__TX.version=e,t.__EXTRACTED_TX=void 0,this}setLocktime(e){T(e),x(this.data.inputs,"setLocktime");const t=this.__CACHE;return t.__TX.locktime=e,t.__EXTRACTED_TX=void 0,this}setInputSequence(e,t){T(t),x(this.data.inputs,"setInputSequence");const r=this.__CACHE;if(r.__TX.ins.length<=e)throw new Error("Input index too high");return r.__TX.ins[e].sequence=t,r.__EXTRACTED_TX=void 0,this}addInputs(e){return e.forEach((e=>this.addInput(e))),this}addInput(e){if(arguments.length>1||!e||void 0===e.hash||void 0===e.index)throw new Error("Invalid arguments for Psbt.addInput. Requires single object with at least [hash] and [index]");(0,p.checkTaprootInputFields)(e,e,"addInput"),x(this.data.inputs,"addInput"),e.witnessScript&&de(e.witnessScript);const t=this.__CACHE;this.data.addInput(e);const r=t.__TX.ins[t.__TX.ins.length-1];k(t,r);const n=this.data.inputs.length-1,o=this.data.inputs[n];return o.nonWitnessUtxo&&J(this.__CACHE,o,n),t.__FEE=void 0,t.__FEE_RATE=void 0,t.__EXTRACTED_TX=void 0,this}addOutputs(e){return e.forEach((e=>this.addOutput(e))),this}addOutput(e){if(arguments.length>1||!e||void 0===e.value||void 0===e.address&&void 0===e.script)throw new Error("Invalid arguments for Psbt.addOutput. Requires single object with at least [script or address] and [value]");x(this.data.inputs,"addOutput");const{address:t}=e;if("string"===typeof t){const{network:r}=this.opts,n=(0,s.toOutputScript)(t,r);e=Object.assign(e,{script:n})}(0,p.checkTaprootOutputFields)(e,e,"addOutput");const r=this.__CACHE;return this.data.addOutput(e),r.__FEE=void 0,r.__FEE_RATE=void 0,r.__EXTRACTED_TX=void 0,this}extractTransaction(e){if(!this.data.inputs.every(S))throw new Error("Not finalized");const t=this.__CACHE;if(e||C(this,t,this.opts),t.__EXTRACTED_TX)return t.__EXTRACTED_TX;const r=t.__TX.clone();return Q(this.data.inputs,r,t,!0),r}getFeeRate(){return L("__FEE_RATE","fee rate",this.data.inputs,this.__CACHE)}getFee(){return L("__FEE","fee",this.data.inputs,this.__CACHE)}finalizeAllInputs(){return(0,a.checkForInput)(this.data.inputs,0),he(this.data.inputs.length).forEach((e=>this.finalizeInput(e))),this}finalizeInput(e,t){const r=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(r)?this._finalizeTaprootInput(e,r,void 0,t):this._finalizeInput(e,r,t)}finalizeTaprootInput(e,t,r=p.tapScriptFinalizer){const n=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(n))return this._finalizeTaprootInput(e,n,t,r);throw new Error(`Cannot finalize input #${e}. Not Taproot.`)}_finalizeInput(e,t,r=D){const{script:n,isP2SH:o,isP2WSH:i,isSegwit:a}=W(e,t,this.__CACHE);if(!n)throw new Error(`No script found for input #${e}`);I(t);const{finalScriptSig:s,finalScriptWitness:c}=r(e,t,n,a,o,i);if(s&&this.data.updateInput(e,{finalScriptSig:s}),c&&this.data.updateInput(e,{finalScriptWitness:c}),!s&&!c)throw new Error(`Unknown error finalizing input #${e}`);return this.data.clearFinalizedInput(e),this}_finalizeTaprootInput(e,t,r,n=p.tapScriptFinalizer){if(!t.witnessUtxo)throw new Error(`Cannot finalize input #${e}. Missing withness utxo.`);if(t.tapKeySig){const r=l.p2tr({output:t.witnessUtxo.script,signature:t.tapKeySig}),n=(0,g.witnessStackToScriptWitness)(r.witness);this.data.updateInput(e,{finalScriptWitness:n})}else{const{finalScriptWitness:o}=n(e,t,r);this.data.updateInput(e,{finalScriptWitness:o})}return this.data.clearFinalizedInput(e),this}getInputType(e){const t=(0,a.checkForInput)(this.data.inputs,e),r=te(e,t,this.__CACHE),n=le(r,e,"input",t.redeemScript||ie(t.finalScriptSig),t.witnessScript||ae(t.finalScriptWitness)),o="raw"===n.type?"":n.type+"-",i=fe(n.meaningfulScript);return o+i}inputHasPubkey(e,t){const r=(0,a.checkForInput)(this.data.inputs,e);return ne(t,r,e,this.__CACHE)}inputHasHDKey(e,t){const r=(0,a.checkForInput)(this.data.inputs,e),n=A(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}outputHasPubkey(e,t){const r=(0,a.checkForOutput)(this.data.outputs,e);return oe(t,r,e,this.__CACHE)}outputHasHDKey(e,t){const r=(0,a.checkForOutput)(this.data.outputs,e),n=A(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}validateSignaturesOfAllInputs(e){(0,a.checkForInput)(this.data.inputs,0);const t=he(this.data.inputs.length).map((t=>this.validateSignaturesOfInput(t,e)));return t.reduce(((e,t)=>!0===t&&e),!0)}validateSignaturesOfInput(e,t,r){const n=this.data.inputs[e];return(0,p.isTaprootInput)(n)?this.validateSignaturesOfTaprootInput(e,t,r):this._validateSignaturesOfInput(e,t,r)}_validateSignaturesOfInput(e,t,r){const n=this.data.inputs[e],o=(n||{}).partialSig;if(!n||!o||o.length<1)throw new Error("No signatures to validate");if("function"!==typeof t)throw new Error("Need validator function to validate signatures");const i=r?o.filter((e=>e.pubkey.equals(r))):o;if(i.length<1)throw new Error("No signatures for this pubkey");const a=[];let s,c,u;for(const l of i){const r=f.signature.decode(l.signature),{hash:o,script:i}=u!==r.hashType?U(e,Object.assign({},n,{sighashType:r.hashType}),this.__CACHE,!0):{hash:s,script:c};u=r.hashType,s=o,c=i,O(l.pubkey,i,"verify"),a.push(t(l.pubkey,o,r.signature))}return a.every((e=>!0===e))}validateSignaturesOfTaprootInput(e,t,r){const n=this.data.inputs[e],o=(n||{}).tapKeySig,i=(n||{}).tapScriptSig;if(!n&&!o&&(!i||i.length))throw new Error("No signatures to validate");if("function"!==typeof t)throw new Error("Need validator function to validate signatures");r=r&&(0,p.toXOnly)(r);const a=r?H(e,n,this.data.inputs,r,this.__CACHE):j(e,n,this.data.inputs,this.__CACHE);if(!a.length)throw new Error("No signatures for this pubkey");const s=a.find((e=>!e.leafHash));let c=0;if(o&&s){const e=t(s.pubkey,s.hash,V(o));if(!e)return!1;c++}if(i)for(const u of i){const e=a.find((e=>u.pubkey.equals(e.pubkey)));if(e){const r=t(u.pubkey,e.hash,V(u.signature));if(!r)return!1;c++}}return c>0}signAllInputsHD(e,t=[h.Transaction.SIGHASH_ALL]){if(!e||!e.publicKey||!e.fingerprint)throw new Error("Need HDSigner to sign input");const r=[];for(const o of he(this.data.inputs.length))try{this.signInputHD(o,e,t),r.push(!0)}catch(n){r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsHDAsync(e,t=[h.Transaction.SIGHASH_ALL]){return new Promise(((r,n)=>{if(!e||!e.publicKey||!e.fingerprint)return n(new Error("Need HDSigner to sign input"));const o=[],i=[];for(const a of he(this.data.inputs.length))i.push(this.signInputHDAsync(a,e,t).then((()=>{o.push(!0)}),(()=>{o.push(!1)})));return Promise.all(i).then((()=>{if(o.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInputHD(e,t,r=[h.Transaction.SIGHASH_ALL]){if(!t||!t.publicKey||!t.fingerprint)throw new Error("Need HDSigner to sign input");const n=Z(e,this.data.inputs,t);return n.forEach((t=>this.signInput(e,t,r))),this}signInputHDAsync(e,t,r=[h.Transaction.SIGHASH_ALL]){return new Promise(((n,o)=>{if(!t||!t.publicKey||!t.fingerprint)return o(new Error("Need HDSigner to sign input"));const i=Z(e,this.data.inputs,t),a=i.map((t=>this.signInputAsync(e,t,r)));return Promise.all(a).then((()=>{n()})).catch(o)}))}signAllInputs(e,t){if(!e||!e.publicKey)throw new Error("Need Signer to sign input");const r=[];for(const o of he(this.data.inputs.length))try{this.signInput(o,e,t),r.push(!0)}catch(n){r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsAsync(e,t){return new Promise(((r,n)=>{if(!e||!e.publicKey)return n(new Error("Need Signer to sign input"));const o=[],i=[];for(const[a]of this.data.inputs.entries())i.push(this.signInputAsync(a,e,t).then((()=>{o.push(!0)}),(()=>{o.push(!1)})));return Promise.all(i).then((()=>{if(o.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInput(e,t,r){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const n=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(n)?this._signTaprootInput(e,n,t,void 0,r):this._signInput(e,t,r)}signTaprootInput(e,t,r,n){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const o=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(o))return this._signTaprootInput(e,o,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}_signInput(e,t,r=[h.Transaction.SIGHASH_ALL]){const{hash:n,sighashType:o}=$(this.data.inputs,e,t.publicKey,this.__CACHE,r),i=[{pubkey:t.publicKey,signature:f.signature.encode(t.sign(n),o)}];return this.data.updateInput(e,{partialSig:i}),this}_signTaprootInput(e,t,r,n,o=[h.Transaction.SIGHASH_DEFAULT]){const i=this.checkTaprootHashesForSig(e,t,r,n,o),a=i.filter((e=>!e.leafHash)).map((e=>(0,p.serializeTaprootSignature)(r.signSchnorr(e.hash),t.sighashType)))[0],s=i.filter((e=>!!e.leafHash)).map((e=>({pubkey:(0,p.toXOnly)(r.publicKey),signature:(0,p.serializeTaprootSignature)(r.signSchnorr(e.hash),t.sighashType),leafHash:e.leafHash})));return a&&this.data.updateInput(e,{tapKeySig:a}),s.length&&this.data.updateInput(e,{tapScriptSig:s}),this}signInputAsync(e,t,r){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const n=(0,a.checkForInput)(this.data.inputs,e);return(0,p.isTaprootInput)(n)?this._signTaprootInputAsync(e,n,t,void 0,r):this._signInputAsync(e,t,r)}))}signTaprootInputAsync(e,t,r,n){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const o=(0,a.checkForInput)(this.data.inputs,e);if((0,p.isTaprootInput)(o))return this._signTaprootInputAsync(e,o,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}))}_signInputAsync(e,t,r=[h.Transaction.SIGHASH_ALL]){const{hash:n,sighashType:o}=$(this.data.inputs,e,t.publicKey,this.__CACHE,r);return Promise.resolve(t.sign(n)).then((r=>{const n=[{pubkey:t.publicKey,signature:f.signature.encode(r,o)}];this.data.updateInput(e,{partialSig:n})}))}async _signTaprootInputAsync(e,t,r,n,o=[h.Transaction.SIGHASH_DEFAULT]){const i=this.checkTaprootHashesForSig(e,t,r,n,o),a=[],s=i.filter((e=>!e.leafHash))[0];if(s){const e=Promise.resolve(r.signSchnorr(s.hash)).then((e=>({tapKeySig:(0,p.serializeTaprootSignature)(e,t.sighashType)})));a.push(e)}const c=i.filter((e=>!!e.leafHash));if(c.length){const e=c.map((e=>Promise.resolve(r.signSchnorr(e.hash)).then((n=>{const o=[{pubkey:(0,p.toXOnly)(r.publicKey),signature:(0,p.serializeTaprootSignature)(n,t.sighashType),leafHash:e.leafHash}];return{tapScriptSig:o}}))));a.push(...e)}return Promise.all(a).then((t=>{t.forEach((t=>this.data.updateInput(e,t)))}))}checkTaprootHashesForSig(e,t,r,n,o){if("function"!==typeof r.signSchnorr)throw new Error(`Need Schnorr Signer to sign taproot input #${e}.`);const i=H(e,t,this.data.inputs,r.publicKey,this.__CACHE,n,o);if(!i||!i.length)throw new Error(`Can not sign for input #${e} with the key ${r.publicKey.toString("hex")}`);return i}toBuffer(){return _(this.__CACHE),this.data.toBuffer()}toHex(){return _(this.__CACHE),this.data.toHex()}toBase64(){return _(this.__CACHE),this.data.toBase64()}updateGlobal(e){return this.data.updateGlobal(e),this}updateInput(e,t){return t.witnessScript&&de(t.witnessScript),(0,p.checkTaprootInputFields)(this.data.inputs[e],t,"updateInput"),this.data.updateInput(e,t),t.nonWitnessUtxo&&J(this.__CACHE,this.data.inputs[e],e),this}updateOutput(e,t){const r=this.data.outputs[e];return(0,p.checkTaprootOutputFields)(r,t,"updateOutput"),this.data.updateOutput(e,t),this}addUnknownKeyValToGlobal(e){return this.data.addUnknownKeyValToGlobal(e),this}addUnknownKeyValToInput(e,t){return this.data.addUnknownKeyValToInput(e,t),this}addUnknownKeyValToOutput(e,t){return this.data.addUnknownKeyValToOutput(e,t),this}clearFinalizedInput(e){return this.data.clearFinalizedInput(e),this}}t.Psbt=y;const v=e=>new w(e);class w{constructor(e=n.from([2,0,0,0,0,0,0,0,0,0])){this.tx=h.Transaction.fromBuffer(e),N(this.tx),Object.defineProperty(this,"tx",{enumerable:!1,writable:!0})}getInputOutputCounts(){return{inputCount:this.tx.ins.length,outputCount:this.tx.outs.length}}addInput(e){if(void 0===e.hash||void 0===e.index||!n.isBuffer(e.hash)&&"string"!==typeof e.hash||"number"!==typeof e.index)throw new Error("Error adding input.");const t="string"===typeof e.hash?(0,c.reverseBuffer)(n.from(e.hash,"hex")):e.hash;this.tx.addInput(t,e.index,e.sequence)}addOutput(e){if(void 0===e.script||void 0===e.value||!n.isBuffer(e.script)||"number"!==typeof e.value)throw new Error("Error adding output.");this.tx.addOutput(e.script,e.value)}toBuffer(){return this.tx.toBuffer()}}function b(e,t,r){switch(r){case"pubkey":case"pubkeyhash":case"witnesspubkeyhash":return E(1,e.partialSig);case"multisig":const r=l.p2ms({output:t});return E(r.m,e.partialSig,r.pubkeys);default:return!1}}function _(e){if(!1!==e.__UNSAFE_SIGN_NONSEGWIT)throw new Error("Not BIP174 compliant, can not export")}function E(e,t,r){if(!t)return!1;let n;if(n=r?r.map((e=>{const r=se(e);return t.find((e=>e.pubkey.equals(r)))})).filter((e=>!!e)):t,n.length>e)throw new Error("Too many signatures");return n.length===e}function S(e){return!!e.finalScriptSig||!!e.finalScriptWitness}function A(e){return t=>!!t.masterFingerprint.equals(e.fingerprint)&&!!e.derivePath(t.path).publicKey.equals(t.pubkey)}function T(e){if("number"!==typeof e||e!==Math.floor(e)||e>4294967295||e<0)throw new Error("Invalid 32 bit integer")}function C(e,t,r){const n=t.__FEE_RATE||e.getFeeRate(),o=t.__EXTRACTED_TX.virtualSize(),i=n*o;if(n>=r.maximumFeeRate)throw new Error(`Warning: You are paying around ${(i/1e8).toFixed(8)} in fees, which is ${n} satoshi per byte for a transaction with a VSize of ${o} bytes (segwit counted as 0.25 byte per byte). Use setMaximumFeeRate method to raise your threshold, or pass true to the first arg of extractTransaction.`)}function x(e,t){e.forEach((e=>{const r=(0,p.isTaprootInput)(e)?(0,p.checkTaprootInputForSigs)(e,t):(0,g.checkInputForSig)(e,t);if(r)throw new Error("Can not modify transaction, signatures exist.")}))}function I(e){if(!e.sighashType||!e.partialSig)return;const{partialSig:t,sighashType:r}=e;t.forEach((e=>{const{hashType:t}=f.signature.decode(e.signature);if(r!==t)throw new Error("Signature sighash does not match input sighash type")}))}function O(e,t,r){if(!(0,g.pubkeyInScript)(e,t))throw new Error(`Can not ${r} for this input with the key ${e.toString("hex")}`)}function N(e){const t=e.ins.every((e=>e.script&&0===e.script.length&&e.witness&&0===e.witness.length));if(!t)throw new Error("Format Error: Transaction ScriptSigs are not empty")}function P(e,t){e.ins.forEach((e=>{k(t,e)}))}function k(e,t){const r=(0,c.reverseBuffer)(n.from(t.hash)).toString("hex")+":"+t.index;if(e.__TX_IN_CACHE[r])throw new Error("Duplicate input detected.");e.__TX_IN_CACHE[r]=1}function R(e,t){return(r,n,o,i)=>{const a=e({redeem:{output:o}}).output;if(!n.equals(a))throw new Error(`${t} for ${i} #${r} doesn't match the scriptPubKey in the prevout`)}}const M=R(l.p2sh,"Redeem script"),B=R(l.p2wsh,"Witness script");function L(e,t,r,n){if(!r.every(S))throw new Error(`PSBT must be finalized to calculate ${t}`);if("__FEE_RATE"===e&&n.__FEE_RATE)return n.__FEE_RATE;if("__FEE"===e&&n.__FEE)return n.__FEE;let o,i=!0;return n.__EXTRACTED_TX?(o=n.__EXTRACTED_TX,i=!1):o=n.__TX.clone(),Q(r,o,n,i),"__FEE_RATE"===e?n.__FEE_RATE:"__FEE"===e?n.__FEE:void 0}function D(e,t,r,n,o,i){const a=fe(r);if(!b(t,r,a))throw new Error(`Can not finalize input #${e}`);return F(r,a,t.partialSig,n,o,i)}function F(e,t,r,n,o,i){let a,s;const c=G(e,t,r),u=i?l.p2wsh({redeem:c}):null,d=o?l.p2sh({redeem:u||c}):null;return n?(s=u?(0,g.witnessStackToScriptWitness)(u.witness):(0,g.witnessStackToScriptWitness)(c.witness),d&&(a=d.input)):a=d?d.input:c.input,{finalScriptSig:a,finalScriptWitness:s}}function $(e,t,r,n,o){const i=(0,a.checkForInput)(e,t),{hash:s,sighashType:c,script:u}=U(t,i,n,!1,o);return O(r,u,"sign"),{hash:s,sighashType:c}}function U(e,t,r,n,o){const i=r.__TX,a=t.sighashType||h.Transaction.SIGHASH_ALL;let s,c;if(q(a,o),t.nonWitnessUtxo){const n=ee(r,t,e),o=i.ins[e].hash,a=n.getHash();if(!o.equals(a))throw new Error(`Non-witness UTXO hash for input #${e} doesn't match the hash specified in the prevout`);const s=i.ins[e].index;c=n.outs[s]}else{if(!t.witnessUtxo)throw new Error("Need a Utxo input item for signing");c=t.witnessUtxo}const{meaningfulScript:u,type:d}=le(c.script,e,"input",t.redeemScript,t.witnessScript);if(["p2sh-p2wsh","p2wsh"].indexOf(d)>=0)s=i.hashForWitnessV0(e,u,c.value,a);else if((0,g.isP2WPKH)(u)){const t=l.p2pkh({hash:u.slice(2)}).output;s=i.hashForWitnessV0(e,t,c.value,a)}else{if(void 0===t.nonWitnessUtxo&&!1===r.__UNSAFE_SIGN_NONSEGWIT)throw new Error(`Input #${e} has witnessUtxo but non-segwit script: ${u.toString("hex")}`);n||!1===r.__UNSAFE_SIGN_NONSEGWIT||console.warn("Warning: Signing non-segwit inputs without the full parent transaction means there is a chance that a miner could feed you incorrect information to trick you into paying large fees. This behavior is the same as Psbt's predecesor (TransactionBuilder - now removed) when signing non-segwit scripts. You are not able to export this Psbt with toBuffer|toBase64|toHex since it is not BIP174 compliant.\n*********************\nPROCEED WITH CAUTION!\n*********************"),s=i.hashForSignature(e,u,a)}return{script:u,sighashType:a,hash:s}}function j(e,t,r,n){const o=[];if(t.tapInternalKey){const r=z(e,t,n);r&&o.push(r)}if(t.tapScriptSig){const e=t.tapScriptSig.map((e=>e.pubkey));o.push(...e)}const i=o.map((o=>H(e,t,r,o,n)));return i.flat()}function z(e,t,r){const{script:n}=re(e,t,r);return(0,g.isP2TR)(n)?n.subarray(2,34):null}function V(e){return 64===e.length?e:e.subarray(0,64)}function H(e,t,r,o,i,a,s){const c=i.__TX,u=t.sighashType||h.Transaction.SIGHASH_DEFAULT;q(u,s);const l=r.map(((e,t)=>re(t,e,i))),f=l.map((e=>e.script)),m=l.map((e=>e.value)),y=[];if(t.tapInternalKey&&!a){const r=z(e,t,i)||n.from([]);if((0,p.toXOnly)(o).equals(r)){const t=c.hashForWitnessV1(e,f,m,u);y.push({pubkey:o,hash:t})}}const v=(t.tapLeafScript||[]).filter((e=>(0,g.pubkeyInScript)(o,e.script))).map((e=>{const t=(0,d.tapleafHash)({output:e.script,version:e.leafVersion});return Object.assign({hash:t},e)})).filter((e=>!a||a.equals(e.hash))).map((t=>{const r=c.hashForWitnessV1(e,f,m,h.Transaction.SIGHASH_DEFAULT,t.hash);return{pubkey:o,hash:r,leafHash:t.hash}}));return y.concat(v)}function q(e,t){if(t&&t.indexOf(e)<0){const t=X(e);throw new Error(`Sighash type is not allowed. Retry the sign method passing the sighashTypes array of whitelisted types. Sighash type: ${t}`)}}function G(e,t,r){let n;switch(t){case"multisig":const t=K(e,r);n=l.p2ms({output:e,signatures:t});break;case"pubkey":n=l.p2pk({output:e,signature:r[0].signature});break;case"pubkeyhash":n=l.p2pkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break;case"witnesspubkeyhash":n=l.p2wpkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break}return n}function W(e,t,r){const n=r.__TX,o={script:null,isSegwit:!1,isP2SH:!1,isP2WSH:!1};if(o.isP2SH=!!t.redeemScript,o.isP2WSH=!!t.witnessScript,t.witnessScript)o.script=t.witnessScript;else if(t.redeemScript)o.script=t.redeemScript;else if(t.nonWitnessUtxo){const i=ee(r,t,e),a=n.ins[e].index;o.script=i.outs[a].script}else t.witnessUtxo&&(o.script=t.witnessUtxo.script);return(t.witnessScript||(0,g.isP2WPKH)(o.script))&&(o.isSegwit=!0),o}function Z(e,t,r){const n=(0,a.checkForInput)(t,e);if(!n.bip32Derivation||0===n.bip32Derivation.length)throw new Error("Need bip32Derivation to sign with HD");const o=n.bip32Derivation.map((e=>e.masterFingerprint.equals(r.fingerprint)?e:void 0)).filter((e=>!!e));if(0===o.length)throw new Error("Need one bip32Derivation masterFingerprint to match the HDSigner fingerprint");const i=o.map((e=>{const t=r.derivePath(e.path);if(!e.pubkey.equals(t.publicKey))throw new Error("pubkey did not match bip32Derivation");return t}));return i}function K(e,t){const r=l.p2ms({output:e});return r.pubkeys.map((e=>(t.filter((t=>t.pubkey.equals(e)))[0]||{}).signature)).filter((e=>!!e))}function Y(e){let t=0;function r(r){return t+=r,e.slice(t-r,t)}function n(){const r=i.decode(e,t);return t+=i.decode.bytes,r}function o(){return r(n())}function a(){const e=n(),t=[];for(let r=0;r{if(n&&e.finalScriptSig&&(t.ins[i].script=e.finalScriptSig),n&&e.finalScriptWitness&&(t.ins[i].witness=Y(e.finalScriptWitness)),e.witnessUtxo)o+=e.witnessUtxo.value;else if(e.nonWitnessUtxo){const n=ee(r,e,i),a=t.ins[i].index,s=n.outs[a];o+=s.value}}));const i=t.outs.reduce(((e,t)=>e+t.value),0),a=o-i;if(a<0)throw new Error("Outputs are spending more than Inputs");const s=t.virtualSize();r.__FEE=a,r.__EXTRACTED_TX=t,r.__FEE_RATE=Math.floor(a/s)}function ee(e,t,r){const n=e.__NON_WITNESS_UTXO_TX_CACHE;return n[r]||J(e,t,r),n[r]}function te(e,t,r){const{script:n}=re(e,t,r);return n}function re(e,t,r){if(void 0!==t.witnessUtxo)return{script:t.witnessUtxo.script,value:t.witnessUtxo.value};if(void 0!==t.nonWitnessUtxo){const n=ee(r,t,e),o=n.outs[r.__TX.ins[e].index];return{script:o.script,value:o.value}}throw new Error("Can't find pubkey in input without Utxo data")}function ne(e,t,r,n){const o=te(r,t,n),{meaningfulScript:i}=le(o,r,"input",t.redeemScript,t.witnessScript);return(0,g.pubkeyInScript)(e,i)}function oe(e,t,r,n){const o=n.__TX.outs[r].script,{meaningfulScript:i}=le(o,r,"output",t.redeemScript,t.witnessScript);return(0,g.pubkeyInScript)(e,i)}function ie(e){if(!e)return;const t=f.decompile(e);if(!t)return;const r=t[t.length-1];if(!n.isBuffer(r)||ce(r)||ue(r))return;const o=f.decompile(r);return o?r:void 0}function ae(e){if(!e)return;const t=Y(e),r=t[t.length-1];if(ce(r))return;const n=f.decompile(r);return n?r:void 0}function se(e){if(65===e.length){const t=1&e[64],r=e.slice(0,33);return r[0]=2|t,r}return e.slice()}function ce(e){return 33===e.length&&f.isCanonicalPubKey(e)}function ue(e){return f.isCanonicalScriptSignature(e)}function le(e,t,r,n,o){const i=(0,g.isP2SHScript)(e),a=i&&n&&(0,g.isP2WSHScript)(n),s=(0,g.isP2WSHScript)(e);if(i&&void 0===n)throw new Error("scriptPubkey is P2SH but redeemScript missing");if((s||a)&&void 0===o)throw new Error("scriptPubkey or redeemScript is P2WSH but witnessScript missing");let c;return a?(c=o,M(t,e,n,r),B(t,n,o,r),de(c)):s?(c=o,B(t,e,o,r),de(c)):i?(c=n,M(t,e,n,r)):c=e,{meaningfulScript:c,type:a?"p2sh-p2wsh":i?"p2sh":s?"p2wsh":"raw"}}function de(e){if((0,g.isP2WPKH)(e)||(0,g.isP2SHScript)(e))throw new Error("P2WPKH or P2SH can not be contained within P2WSH")}function fe(e){return(0,g.isP2WPKH)(e)?"witnesspubkeyhash":(0,g.isP2PKH)(e)?"pubkeyhash":(0,g.isP2MS)(e)?"multisig":(0,g.isP2PK)(e)?"pubkey":"nonstandard"}function he(e){return[...Array(e).keys()]}},23064:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.checkTaprootInputForSigs=t.tapTreeFromList=t.tapTreeToList=t.tweakInternalPubKey=t.checkTaprootOutputFields=t.checkTaprootInputFields=t.isTaprootOutput=t.isTaprootInput=t.serializeTaprootSignature=t.tapScriptFinalizer=t.toXOnly=void 0;const o=r(41838),i=r(82737),a=r(87929),s=r(12227),c=r(84972),u=r(87929),l=e=>32===e.length?e:e.slice(1,33);function d(e,t,r){const n=B(t,e,r);try{const e=R(t,n),r=e.concat(n.script).concat(n.controlBlock);return{finalScriptWitness:(0,a.witnessStackToScriptWitness)(r)}}catch(o){throw new Error(`Can not finalize taproot input #${e}: ${o}`)}}function f(e,t){const r=t?n.from([t]):n.from([]);return n.concat([e,r])}function h(e){return e&&!!(e.tapInternalKey||e.tapMerkleRoot||e.tapLeafScript&&e.tapLeafScript.length||e.tapBip32Derivation&&e.tapBip32Derivation.length||e.witnessUtxo&&(0,a.isP2TR)(e.witnessUtxo.script))}function p(e,t){return e&&!!(e.tapInternalKey||e.tapTree||e.tapBip32Derivation&&e.tapBip32Derivation.length||t&&(0,a.isP2TR)(t))}function g(e,t,r){O(e,t,r),P(e,t,r)}function m(e,t,r){N(e,t,r),y(e,t)}function y(e,t){if(!t.tapTree&&!t.tapInternalKey)return;const r=t.tapInternalKey||e.tapInternalKey,n=t.tapTree||e.tapTree;if(r){const{script:t}=e,o=v(r,n);if(t&&!t.equals(o))throw new Error("Error adding output. Script or address missmatch.")}}function v(e,t){const r=t&&_(t.leaves),{output:n}=(0,c.p2tr)({internalPubkey:e,scriptTree:r});return n}function w(e,t){const r=t.tapInternalKey,n=r&&(0,s.tweakKey)(r,t.tapMerkleRoot);if(!n)throw new Error(`Cannot tweak tap internal key for input #${e}. Public key: ${r&&r.toString("hex")}`);return n.x}function b(e){if(!(0,o.isTaptree)(e))throw new Error("Cannot convert taptree to tapleaf list. Expecting a tapree structure.");return C(e)}function _(e=[]){return 1===e.length&&0===e[0].depth?{output:e[0].script,version:e[0].leafVersion}:x(e)}function E(e,t){const r=A(e);return r.some((e=>(0,u.signatureBlocksAction)(e,S,t)))}function S(e){return{signature:e.slice(0,64),hashType:e.slice(64)[0]||i.Transaction.SIGHASH_DEFAULT}}function A(e){const t=[];if(e.tapKeySig&&t.push(e.tapKeySig),e.tapScriptSig&&t.push(...e.tapScriptSig.map((e=>e.signature))),!t.length){const r=T(e.finalScriptWitness);r&&t.push(r)}return t}function T(e){if(!e)return;const t=e.slice(2);return 64===t.length||65===t.length?t:void 0}function C(e,t=[],r=0){if(r>s.MAX_TAPTREE_DEPTH)throw new Error("Max taptree depth exceeded.");return e?(0,o.isTapleaf)(e)?(t.push({depth:r,leafVersion:e.version||s.LEAF_VERSION_TAPSCRIPT,script:e.output}),t):(e[0]&&C(e[0],t,r+1),e[1]&&C(e[1],t,r+1),t):[]}function x(e){let t;for(const r of e)if(t=I(r,t),!t)throw new Error("No room left to insert tapleaf in tree");return t}function I(e,t,r=0){if(r>s.MAX_TAPTREE_DEPTH)throw new Error("Max taptree depth exceeded.");if(e.depth===r)return t?void 0:{output:e.script,version:e.leafVersion};if((0,o.isTapleaf)(t))return;const n=I(e,t&&t[0],r+1);if(n)return[n,t&&t[1]];const i=I(e,t&&t[1],r+1);return i?[t&&t[0],i]:void 0}function O(e,t,r){const n=h(e)&&D(t),o=D(e)&&h(t),i=e===t&&h(t)&&D(t);if(n||o||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function N(e,t,r){const n=p(e)&&D(t),o=D(e)&&p(t),i=e===t&&p(t)&&D(t);if(n||o||i)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function P(e,t,r){if(t.tapMerkleRoot){const n=(t.tapLeafScript||[]).every((e=>k(e,t.tapMerkleRoot))),o=(e.tapLeafScript||[]).every((e=>k(e,t.tapMerkleRoot)));if(!n||!o)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}else if(e.tapMerkleRoot){const n=(t.tapLeafScript||[]).every((t=>k(t,e.tapMerkleRoot)));if(!n)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}}function k(e,t){if(!t)return!0;const r=(0,s.tapleafHash)({output:e.script,version:e.leafVersion}),n=(0,s.rootHashFromPath)(e.controlBlock,r);return n.equals(t)}function R(e,t){const r=(0,s.tapleafHash)({output:t.script,version:t.leafVersion});return(e.tapScriptSig||[]).filter((e=>e.leafHash.equals(r))).map((e=>M(t.script,e))).sort(((e,t)=>t.positionInScript-e.positionInScript)).map((e=>e.signature))}function M(e,t){return Object.assign({positionInScript:(0,a.pubkeyPositionInScript)(t.pubkey,e)},t)}function B(e,t,r){if(!e.tapScriptSig||!e.tapScriptSig.length)throw new Error(`Can not finalize taproot input #${t}. No tapleaf script signature provided.`);const n=(e.tapLeafScript||[]).sort(((e,t)=>e.controlBlock.length-t.controlBlock.length)).find((t=>L(t,e.tapScriptSig,r)));if(!n)throw new Error(`Can not finalize taproot input #${t}. Signature for tapleaf script not found.`);return n}function L(e,t,r){const n=(0,s.tapleafHash)({output:e.script,version:e.leafVersion}),o=!r||r.equals(n);return o&&void 0!==t.find((e=>e.leafHash.equals(n)))}function D(e){return e&&!!(e.redeemScript||e.witnessScript||e.bip32Derivation&&e.bip32Derivation.length)}t.toXOnly=l,t.tapScriptFinalizer=d,t.serializeTaprootSignature=f,t.isTaprootInput=h,t.isTaprootOutput=p,t.checkTaprootInputFields=g,t.checkTaprootOutputFields=m,t.tweakInternalPubKey=w,t.tapTreeToList=b,t.tapTreeFromList=_,t.checkTaprootInputForSigs=E},87929:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.signatureBlocksAction=t.checkInputForSig=t.pubkeyInScript=t.pubkeyPositionInScript=t.witnessStackToScriptWitness=t.isP2TR=t.isP2SHScript=t.isP2WSHScript=t.isP2WPKH=t.isP2PKH=t.isP2PK=t.isP2MS=void 0;const o=r(3493),i=r(73357),a=r(82737),s=r(5525),c=r(84972);function u(e){return t=>{try{return e({output:t}),!0}catch(r){return!1}}}function l(e){let t=n.allocUnsafe(0);function r(e){t=n.concat([t,n.from(e)])}function i(e){const r=t.length,i=o.encodingLength(e);t=n.concat([t,n.allocUnsafe(i)]),o.encode(e,t,r)}function a(e){i(e.length),r(e)}function s(e){i(e.length),e.forEach(a)}return s(e),t}function d(e,t){const r=(0,s.hash160)(e),n=e.slice(1,33),o=i.decompile(t);if(null===o)throw new Error("Unknown script error");return o.findIndex((t=>"number"!==typeof t&&(t.equals(e)||t.equals(r)||t.equals(n))))}function f(e,t){return-1!==d(e,t)}function h(e,t){const r=g(e);return r.some((e=>p(e,i.signature.decode,t)))}function p(e,t,r){const{hashType:n}=t(e),o=[],i=n&a.Transaction.SIGHASH_ANYONECANPAY;i&&o.push("addInput");const s=31&n;switch(s){case a.Transaction.SIGHASH_ALL:break;case a.Transaction.SIGHASH_SINGLE:case a.Transaction.SIGHASH_NONE:o.push("addOutput"),o.push("setInputSequence");break}return-1===o.indexOf(r)}function g(e){let t=[];if(0===(e.partialSig||[]).length){if(!e.finalScriptSig&&!e.finalScriptWitness)return[];t=m(e)}else t=e.partialSig;return t.map((e=>e.signature))}function m(e){const t=e.finalScriptSig&&i.decompile(e.finalScriptSig)||[],r=e.finalScriptWitness&&i.decompile(e.finalScriptWitness)||[];return t.concat(r).filter((e=>n.isBuffer(e)&&i.isCanonicalScriptSignature(e))).map((e=>({signature:e})))}t.isP2MS=u(c.p2ms),t.isP2PK=u(c.p2pk),t.isP2PKH=u(c.p2pkh),t.isP2WPKH=u(c.p2wpkh),t.isP2WSHScript=u(c.p2wsh),t.isP2SHScript=u(c.p2sh),t.isP2TR=u(c.p2tr),t.witnessStackToScriptWitness=l,t.pubkeyPositionInScript=d,t.pubkeyInScript=f,t.checkInputForSig=h,t.signatureBlocksAction=p},79937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=t.encodingLength=void 0;const n=r(47334);function o(e){return ee.length)return null;o=e.readUInt8(t+1),i=2}else if(r===n.OPS.OP_PUSHDATA2){if(t+3>e.length)return null;o=e.readUInt16LE(t+1),i=3}else{if(t+5>e.length)return null;if(r!==n.OPS.OP_PUSHDATA4)throw new Error("Unexpected opcode");o=e.readUInt32LE(t+1),i=5}return{opcode:r,number:o,size:i}}t.encodingLength=o,t.encode=i,t.decode=a},73357:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.signature=t.number=t.isCanonicalScriptSignature=t.isDefinedHashType=t.isCanonicalPubKey=t.toStack=t.fromASM=t.toASM=t.decompile=t.compile=t.countNonPushOnlyOPs=t.isPushOnly=t.OPS=void 0;const o=r(77617),i=r(47334);Object.defineProperty(t,"OPS",{enumerable:!0,get:function(){return i.OPS}});const a=r(79937),s=r(45815),c=r(24362),u=r(41838),{typeforce:l}=u,d=i.OPS.OP_RESERVED;function f(e){return u.Number(e)&&(e===i.OPS.OP_0||e>=i.OPS.OP_1&&e<=i.OPS.OP_16||e===i.OPS.OP_1NEGATE)}function h(e){return u.Buffer(e)||f(e)}function p(e){return u.Array(e)&&e.every(h)}function g(e){return e.length-e.filter(h).length}function m(e){return 0===e.length?i.OPS.OP_0:1===e.length?e[0]>=1&&e[0]<=16?d+e[0]:129===e[0]?i.OPS.OP_1NEGATE:void 0:void 0}function y(e){return n.isBuffer(e)}function v(e){return u.Array(e)}function w(e){return n.isBuffer(e)}function b(e){if(y(e))return e;l(u.Array,e);const t=e.reduce(((e,t)=>w(t)?1===t.length&&void 0!==m(t)?e+1:e+a.encodingLength(t.length)+t.length:e+1),0),r=n.allocUnsafe(t);let o=0;if(e.forEach((e=>{if(w(e)){const t=m(e);if(void 0!==t)return r.writeUInt8(t,o),void(o+=1);o+=a.encode(r,e.length,o),e.copy(r,o),o+=e.length}else r.writeUInt8(e,o),o+=1})),o!==r.length)throw new Error("Could not decode chunks");return r}function _(e){if(v(e))return e;l(u.Buffer,e);const t=[];let r=0;while(ri.OPS.OP_0&&n<=i.OPS.OP_PUSHDATA4){const n=a.decode(e,r);if(null===n)return null;if(r+=n.size,r+n.number>e.length)return null;const o=e.slice(r,r+n.number);r+=n.number;const i=m(o);void 0!==i?t.push(i):t.push(o)}else t.push(n),r+=1}return t}function E(e){return y(e)&&(e=_(e)),e.map((e=>{if(w(e)){const t=m(e);if(void 0===t)return e.toString("hex");e=t}return i.REVERSE_OPS[e]})).join(" ")}function S(e){return l(u.String,e),b(e.split(" ").map((e=>void 0!==i.OPS[e]?i.OPS[e]:(l(u.Hex,e),n.from(e,"hex")))))}function A(e){return e=_(e),l(p,e),e.map((e=>w(e)?e:e===i.OPS.OP_0?n.allocUnsafe(0):s.encode(e-d)))}function T(e){return u.isPoint(e)}function C(e){const t=-129&e;return t>0&&t<4}function x(e){return!!n.isBuffer(e)&&(!!C(e[e.length-1])&&o.check(e.slice(0,-1)))}t.isPushOnly=p,t.countNonPushOnlyOPs=g,t.compile=b,t.decompile=_,t.toASM=E,t.fromASM=S,t.toStack=A,t.isCanonicalPubKey=T,t.isDefinedHashType=C,t.isCanonicalScriptSignature=x,t.number=s,t.signature=c},45815:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];function o(e,t,r){t=t||4,r=void 0===r||r;const n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0===(127&e[n-1])&&(n<=1||0===(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){const t=e.readUInt32LE(0),r=e.readUInt8(4);return 128&r?-(4294967296*(-129&r)+t):4294967296*r+t}let o=0;for(let i=0;i2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function a(e){let t=Math.abs(e);const r=i(t),o=n.allocUnsafe(r),a=e<0;for(let n=0;n>=8;return 128&o[r-1]?o.writeUInt8(a?128:0,r-1):a&&(o[r-1]|=128),o}Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=void 0,t.decode=o,t.encode=a},24362:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=void 0;const o=r(77617),i=r(41838),{typeforce:a}=i,s=n.alloc(1,0);function c(e){let t=0;while(0===e[t])++t;return t===e.length?s:(e=e.slice(t),128&e[0]?n.concat([s,e],1+e.length):e)}function u(e){0===e[0]&&(e=e.slice(1));const t=n.alloc(32,0),r=Math.max(0,32-e.length);return e.copy(t,r),t}function l(e){const t=e.readUInt8(e.length-1),r=-129&t;if(r<=0||r>=4)throw new Error("Invalid hashType "+t);const i=o.decode(e.slice(0,-1)),a=u(i.r),s=u(i.s),c=n.concat([a,s],64);return{signature:c,hashType:t}}function d(e,t){a({signature:i.BufferN(64),hashType:i.UInt8},{signature:e,hashType:t});const r=-129&t;if(r<=0||r>=4)throw new Error("Invalid hashType "+t);const s=n.allocUnsafe(1);s.writeUInt8(t,0);const u=c(e.slice(0,32)),l=c(e.slice(32,64));return n.concat([o.encode(u,l),s])}t.decode=l,t.encode=d},82737:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.Transaction=void 0;const o=r(9357),i=r(5525),a=r(73357),s=r(73357),c=r(41838),{typeforce:u}=c;function l(e){const t=e.length;return o.varuint.encodingLength(t)+t}function d(e){const t=e.length;return o.varuint.encodingLength(t)+e.reduce(((e,t)=>e+l(t)),0)}const f=n.allocUnsafe(0),h=[],p=n.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),g=n.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),m=n.from("ffffffffffffffff","hex"),y={script:f,valueBuffer:m};function v(e){return void 0!==e.value}class w{constructor(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}static fromBuffer(e,t){const r=new o.BufferReader(e),n=new w;n.version=r.readInt32();const i=r.readUInt8(),a=r.readUInt8();let s=!1;i===w.ADVANCED_TRANSACTION_MARKER&&a===w.ADVANCED_TRANSACTION_FLAG?s=!0:r.offset-=2;const c=r.readVarInt();for(let o=0;o0!==e.witness.length))}weight(){const e=this.byteLength(!1),t=this.byteLength(!0);return 3*e+t}virtualSize(){return Math.ceil(this.weight()/4)}byteLength(e=!0){const t=e&&this.hasWitnesses();return(t?10:8)+o.varuint.encodingLength(this.ins.length)+o.varuint.encodingLength(this.outs.length)+this.ins.reduce(((e,t)=>e+40+l(t.script)),0)+this.outs.reduce(((e,t)=>e+8+l(t.script)),0)+(t?this.ins.reduce(((e,t)=>e+d(t.witness)),0):0)}clone(){const e=new w;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map((e=>({hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}))),e.outs=this.outs.map((e=>({script:e.script,value:e.value}))),e}hashForSignature(e,t,r){if(u(c.tuple(c.UInt32,c.Buffer,c.Number),arguments),e>=this.ins.length)return g;const o=a.compile(a.decompile(t).filter((e=>e!==s.OPS.OP_CODESEPARATOR))),l=this.clone();if((31&r)===w.SIGHASH_NONE)l.outs=[],l.ins.forEach(((t,r)=>{r!==e&&(t.sequence=0)}));else if((31&r)===w.SIGHASH_SINGLE){if(e>=this.outs.length)return g;l.outs.length=e+1;for(let t=0;t{r!==e&&(t.sequence=0)}))}r&w.SIGHASH_ANYONECANPAY?(l.ins=[l.ins[e]],l.ins[0].script=o):(l.ins.forEach((e=>{e.script=f})),l.ins[e].script=o);const d=n.allocUnsafe(l.byteLength(!1)+4);return d.writeInt32LE(r,d.length-4),l.__toBuffer(d,0,!1),i.hash256(d)}hashForWitnessV1(e,t,r,a,s,d){if(u(c.tuple(c.UInt32,u.arrayOf(c.Buffer),u.arrayOf(c.Satoshi),c.UInt32),arguments),r.length!==this.ins.length||t.length!==this.ins.length)throw new Error("Must supply prevout script and value for all inputs");const h=a===w.SIGHASH_DEFAULT?w.SIGHASH_ALL:a&w.SIGHASH_OUTPUT_MASK,p=a&w.SIGHASH_INPUT_MASK,g=p===w.SIGHASH_ANYONECANPAY,m=h===w.SIGHASH_NONE,y=h===w.SIGHASH_SINGLE;let v=f,b=f,_=f,E=f,S=f;if(!g){let e=o.BufferWriter.withCapacity(36*this.ins.length);this.ins.forEach((t=>{e.writeSlice(t.hash),e.writeUInt32(t.index)})),v=i.sha256(e.end()),e=o.BufferWriter.withCapacity(8*this.ins.length),r.forEach((t=>e.writeUInt64(t))),b=i.sha256(e.end()),e=o.BufferWriter.withCapacity(t.map(l).reduce(((e,t)=>e+t))),t.forEach((t=>e.writeVarSlice(t))),_=i.sha256(e.end()),e=o.BufferWriter.withCapacity(4*this.ins.length),this.ins.forEach((t=>e.writeUInt32(t.sequence))),E=i.sha256(e.end())}if(m||y){if(y&&e8+l(e.script))).reduce(((e,t)=>e+t)),t=o.BufferWriter.withCapacity(e);this.outs.forEach((e=>{t.writeUInt64(e.value),t.writeVarSlice(e.script)})),S=i.sha256(t.end())}const A=(s?2:0)+(d?1:0),T=174-(g?49:0)-(m?32:0)+(d?32:0)+(s?37:0),C=o.BufferWriter.withCapacity(T);if(C.writeUInt8(a),C.writeInt32(this.version),C.writeUInt32(this.locktime),C.writeSlice(v),C.writeSlice(b),C.writeSlice(_),C.writeSlice(E),m||y||C.writeSlice(S),C.writeUInt8(A),g){const n=this.ins[e];C.writeSlice(n.hash),C.writeUInt32(n.index),C.writeUInt64(r[e]),C.writeVarSlice(t[e]),C.writeUInt32(n.sequence)}else C.writeUInt32(e);if(d){const e=o.BufferWriter.withCapacity(l(d));e.writeVarSlice(d),C.writeSlice(i.sha256(e.end()))}return y&&C.writeSlice(S),s&&(C.writeSlice(s),C.writeUInt8(0),C.writeUInt32(4294967295)),i.taggedHash("TapSighash",n.concat([n.from([0]),C.end()]))}hashForWitnessV0(e,t,r,a){u(c.tuple(c.UInt32,c.Buffer,c.Satoshi,c.UInt32),arguments);let s,d=n.from([]),f=p,h=p,g=p;if(a&w.SIGHASH_ANYONECANPAY||(d=n.allocUnsafe(36*this.ins.length),s=new o.BufferWriter(d,0),this.ins.forEach((e=>{s.writeSlice(e.hash),s.writeUInt32(e.index)})),h=i.hash256(d)),a&w.SIGHASH_ANYONECANPAY||(31&a)===w.SIGHASH_SINGLE||(31&a)===w.SIGHASH_NONE||(d=n.allocUnsafe(4*this.ins.length),s=new o.BufferWriter(d,0),this.ins.forEach((e=>{s.writeUInt32(e.sequence)})),g=i.hash256(d)),(31&a)!==w.SIGHASH_SINGLE&&(31&a)!==w.SIGHASH_NONE){const e=this.outs.reduce(((e,t)=>e+8+l(t.script)),0);d=n.allocUnsafe(e),s=new o.BufferWriter(d,0),this.outs.forEach((e=>{s.writeUInt64(e.value),s.writeVarSlice(e.script)})),f=i.hash256(d)}else if((31&a)===w.SIGHASH_SINGLE&&e{i.writeSlice(e.hash),i.writeUInt32(e.index),i.writeVarSlice(e.script),i.writeUInt32(e.sequence)})),i.writeVarInt(this.outs.length),this.outs.forEach((e=>{v(e)?i.writeUInt64(e.value):i.writeSlice(e.valueBuffer),i.writeVarSlice(e.script)})),a&&this.ins.forEach((e=>{i.writeVector(e.witness)})),i.writeUInt32(this.locktime),void 0!==t?e.slice(t,i.offset):e}}t.Transaction=w,w.DEFAULT_SEQUENCE=4294967295,w.SIGHASH_DEFAULT=0,w.SIGHASH_ALL=1,w.SIGHASH_NONE=2,w.SIGHASH_SINGLE=3,w.SIGHASH_ANYONECANPAY=128,w.SIGHASH_OUTPUT_MASK=3,w.SIGHASH_INPUT_MASK=128,w.ADVANCED_TRANSACTION_MARKER=0,w.ADVANCED_TRANSACTION_FLAG=1},41838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oneOf=t.Null=t.BufferN=t.Function=t.UInt32=t.UInt8=t.tuple=t.maybe=t.Hex=t.Buffer=t.String=t.Boolean=t.Array=t.Number=t.Hash256bit=t.Hash160bit=t.Buffer256bit=t.isTaptree=t.isTapleaf=t.TAPLEAF_VERSION_MASK=t.Network=t.ECPoint=t.Satoshi=t.Signer=t.BIP32Path=t.UInt31=t.isPoint=t.typeforce=void 0;const n=r(48764);t.typeforce=r(2401);const o=n.Buffer.alloc(32,0),i=n.Buffer.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex");function a(e){if(!n.Buffer.isBuffer(e))return!1;if(e.length<33)return!1;const t=e[0],r=e.slice(1,33);if(0===r.compare(o))return!1;if(r.compare(i)>=0)return!1;if((2===t||3===t)&&33===e.length)return!0;const a=e.slice(33);return 0!==a.compare(o)&&(!(a.compare(i)>=0)&&(4===t&&65===e.length))}t.isPoint=a;const s=Math.pow(2,31)-1;function c(e){return t.typeforce.UInt32(e)&&e<=s}function u(e){return t.typeforce.String(e)&&!!e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function l(e){return(t.typeforce.Buffer(e.publicKey)||"function"===typeof e.getPublicKey)&&"function"===typeof e.sign}t.UInt31=c,t.BIP32Path=u,u.toJSON=()=>"BIP32 derivation path",t.Signer=l;const d=21e14;function f(e){return t.typeforce.UInt53(e)&&e<=d}function h(e){return!(!e||!("output"in e))&&(!!n.Buffer.isBuffer(e.output)&&(void 0===e.version||(e.version&t.TAPLEAF_VERSION_MASK)===e.version))}function p(e){return(0,t.Array)(e)?2===e.length&&e.every((e=>p(e))):h(e)}t.Satoshi=f,t.ECPoint=t.typeforce.quacksLike("Point"),t.Network=t.typeforce.compile({messagePrefix:t.typeforce.oneOf(t.typeforce.Buffer,t.typeforce.String),bip32:{public:t.typeforce.UInt32,private:t.typeforce.UInt32},pubKeyHash:t.typeforce.UInt8,scriptHash:t.typeforce.UInt8,wif:t.typeforce.UInt8}),t.TAPLEAF_VERSION_MASK=254,t.isTapleaf=h,t.isTaptree=p,t.Buffer256bit=t.typeforce.BufferN(32),t.Hash160bit=t.typeforce.BufferN(20),t.Hash256bit=t.typeforce.BufferN(32),t.Number=t.typeforce.Number,t.Array=t.typeforce.Array,t.Boolean=t.typeforce.Boolean,t.String=t.typeforce.String,t.Buffer=t.typeforce.Buffer,t.Hex=t.typeforce.Hex,t.maybe=t.typeforce.maybe,t.tuple=t.typeforce.tuple,t.UInt8=t.typeforce.UInt8,t.UInt32=t.typeforce.UInt32,t.Function=t.typeforce.Function,t.BufferN=t.typeforce.BufferN,t.Null=t.typeforce.Null,t.oneOf=t.typeforce.oneOf},8442:(e,t,r)=>{const n=r(99488);function o(e,t,r){const n=e[t]+e[r];let o=e[t+1]+e[r+1];n>=4294967296&&o++,e[t]=n,e[t+1]=o}function i(e,t,r,n){let o=e[t]+r;r<0&&(o+=4294967296);let i=e[t+1]+n;o>=4294967296&&i++,e[t]=o,e[t+1]=i}function a(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function s(e,t,r,n,a,s){const c=f[a],u=f[a+1],l=f[s],h=f[s+1];o(d,e,t),i(d,e,c,u);let p=d[n]^d[e],g=d[n+1]^d[e+1];d[n]=g,d[n+1]=p,o(d,r,n),p=d[t]^d[r],g=d[t+1]^d[r+1],d[t]=p>>>24^g<<8,d[t+1]=g>>>24^p<<8,o(d,e,t),i(d,e,l,h),p=d[n]^d[e],g=d[n+1]^d[e+1],d[n]=p>>>16^g<<16,d[n+1]=g>>>16^p<<16,o(d,r,n),p=d[t]^d[r],g=d[t+1]^d[r+1],d[t]=g>>>31^p<<1,d[t+1]=p>>>31^g<<1}const c=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],l=new Uint8Array(u.map((function(e){return 2*e}))),d=new Uint32Array(32),f=new Uint32Array(32);function h(e,t){let r=0;for(r=0;r<16;r++)d[r]=e.h[r],d[r+16]=c[r];for(d[24]=d[24]^e.t,d[25]=d[25]^e.t/4294967296,t&&(d[28]=~d[28],d[29]=~d[29]),r=0;r<32;r++)f[r]=a(e.b,4*r);for(r=0;r<12;r++)s(0,8,16,24,l[16*r+0],l[16*r+1]),s(2,10,18,26,l[16*r+2],l[16*r+3]),s(4,12,20,28,l[16*r+4],l[16*r+5]),s(6,14,22,30,l[16*r+6],l[16*r+7]),s(0,10,20,30,l[16*r+8],l[16*r+9]),s(2,12,22,24,l[16*r+10],l[16*r+11]),s(4,14,16,26,l[16*r+12],l[16*r+13]),s(6,8,18,28,l[16*r+14],l[16*r+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^d[r]^d[r+16]}const p=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function g(e,t,r,n){if(0===e||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(r&&16!==r.length)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(n&&16!==n.length)throw new Error("Illegal personal, expected Uint8Array with length is 16");const o={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e};p.fill(0),p[0]=e,t&&(p[1]=t.length),p[2]=1,p[3]=1,r&&p.set(r,32),n&&p.set(n,48);for(let i=0;i<16;i++)o.h[i]=c[i]^a(p,4*i);return t&&(m(o,t),o.c=128),o}function m(e,t){for(let r=0;r>2]>>8*(3&r);return t}function v(e,t,r,o,i){r=r||64,e=n.normalizeInput(e),o&&(o=n.normalizeInput(o)),i&&(i=n.normalizeInput(i));const a=g(r,t,o,i);return m(a,e),y(a)}function w(e,t,r,o,i){const a=v(e,t,r,o,i);return n.toHex(a)}e.exports={blake2b:v,blake2bHex:w,blake2bInit:g,blake2bUpdate:m,blake2bFinal:y}},99488:e=>{const t="Input must be an string, Buffer or Uint8Array";function r(e){let r;if(e instanceof Uint8Array)r=e;else{if("string"!==typeof e)throw new Error(t);{const t=new TextEncoder;r=t.encode(e)}}return r}function n(e){return Array.prototype.map.call(e,(function(e){return(e<16?"0":"")+e.toString(16)})).join("")}function o(e){return(4294967296+e).toString(16).substring(1)}function i(e,t,r){let n="\n"+e+" = ";for(let i=0;i{const n=r(58162),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";e.exports=n(o)},53310:(e,t,r)=>{"use strict";var n=r(77191);e.exports=function(e){function t(t){var r=Uint8Array.from(t),o=e(r),i=r.length+4,a=new Uint8Array(i);return a.set(r,0),a.set(o.subarray(0,4),r.length),n.encode(a,i)}function r(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}function o(e){var t=n.decodeUnsafe(e);if(t)return r(t)}function i(t){var o=n.decode(t),i=r(o,e);if(!i)throw new Error("Invalid checksum");return i}return{encode:t,decode:i,decodeUnsafe:o}}},58334:(e,t,r)=>{"use strict";var{sha256:n}=r(23061),o=r(53310);function i(e){return n(n(e))}e.exports=o(i)},50706:(e,t,r)=>{var n=r(48764)["Buffer"];(function(){"use strict";function t(e){var t;return t=e instanceof n?e:n.from(e.toString(),"binary"),t.toString("base64")}e.exports=t})()},48764:(e,t,r)=>{"use strict"; -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */const n=r(79742),o=r(80645),i="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function c(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return l(e,t,r)}function l(e,t,r){if("string"===typeof e)return p(e,t);if(ArrayBuffer.isView(e))return m(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ae(e,ArrayBuffer)||e&&ae(e.buffer,ArrayBuffer))return y(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(ae(e,SharedArrayBuffer)||e&&ae(e.buffer,SharedArrayBuffer)))return y(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const o=v(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.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 d(e){if("number"!==typeof e)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 f(e,t,r){return d(e),e<=0?c(e):void 0!==t?"string"===typeof r?c(e).fill(t,r):c(e).fill(t):c(e)}function h(e){return d(e),c(e<0?0:0|w(e))}function p(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|_(e,t);let n=c(r);const o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function g(e){const t=e.length<0?0:0|w(e.length),r=c(t);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ae(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return oe(e).length;default:if(o)return n?-1:te(e).length;t=(""+t).toLowerCase(),o=!0}}function E(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return B(this,t,r);case"latin1":case"binary":return L(this,t,r);case"base64":return P(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function S(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function A(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,se(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("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:T(e,t,r,n,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,n,o){let i,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let n=-1;for(i=r;is&&(r=s-c),i=r;i>=0;i--){let r=!0;for(let n=0;no&&(n=o)):n=o;const i=t.length;let a;for(n>i/2&&(n=i/2),a=0;a239?4:t>223?3:t>191?2:1;if(o+a<=r){let r,n,s,c;switch(a){case 1:t<128&&(i=t);break;case 2:r=e[o+1],128===(192&r)&&(c=(31&t)<<6|63&r,c>127&&(i=c));break;case 3:r=e[o+1],n=e[o+2],128===(192&r)&&128===(192&n)&&(c=(15&t)<<12|(63&r)<<6|63&n,c>2047&&(c<55296||c>57343)&&(i=c));break;case 4:r=e[o+1],n=e[o+2],s=e[o+3],128===(192&r)&&128===(192&n)&&128===(192&s)&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,c>65535&&c<1114112&&(i=c))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return M(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=s(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return f(e,t,r)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(ae(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),ae(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,o)}o+=t.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(ae(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(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(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,a=r-t;const s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r);for(let u=0;u>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-t;if((void 0===r||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");let i=!1;for(;;)switch(n){case"hex":return C(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return I(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const R=4096;function M(e){const t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);let r="",n=0;while(nn)&&(r=n);let o="";for(let i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,r,n,o,i){if(!u.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 j(e,t,r,n,o){Y(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function z(e,t,r,n,o){Y(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function V(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 H(e,t,r,n,i){return t=+t,r>>>=0,i||V(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function q(e,t,r,n,i){return t=+t,r>>>=0,i||V(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t>>=0,t>>>=0,r||$(e,t,this.length);let n=this[e],o=1,i=0;while(++i>>=0,t>>>=0,r||$(e,t,this.length);let n=this[e+--t],o=1;while(t>0&&(o*=256))n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||$(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||$(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||$(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||$(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||$(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=ue((function(e){e>>>=0,X(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(o)<>>=0,X(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||$(e,t,this.length);let n=this[e],o=1,i=0;while(++i=o&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||$(e,t,this.length);let n=t,o=1,i=this[e+--n];while(n>0&&(o*=256))i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||$(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||$(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||$(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||$(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||$(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=ue((function(e){e>>>=0,X(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<>>=0,X(e,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||J(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<>>=0,t||$(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||$(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||$(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||$(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;U(this,e,t,r,n,0)}let o=1,i=0;this[t]=255&e;while(++i>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;U(this,e,t,r,n,0)}let o=r-1,i=1;this[t+o]=255&e;while(--o>=0&&(i*=256))this[t+o]=e/i&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeBigUInt64LE=ue((function(e,t=0){return j(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=ue((function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);U(this,e,t,r,n-1,-n)}let o=0,i=1,a=0;this[t]=255&e;while(++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);U(this,e,t,r,n-1,-n)}let o=r-1,i=1,a=0;this[t+o]=255&e;while(--o>=0&&(i*=256))e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||U(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||U(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},u.prototype.writeBigInt64LE=ue((function(e,t=0){return j(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=ue((function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,r){return H(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return H(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return q(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return q(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(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,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function K(e,t,r){X(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||J(t,e.length-(r+1))}function Y(e,t,r,n,o,i){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new G.ERR_OUT_OF_RANGE("value",o,e)}K(n,o,i)}function X(e,t){if("number"!==typeof e)throw new G.ERR_INVALID_ARG_TYPE(t,"number",e)}function J(e,t,r){if(Math.floor(e)!==e)throw X(e,r),new G.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new G.ERR_BUFFER_OUT_OF_BOUNDS;throw new G.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}W("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),W("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),W("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=Z(String(r)):"bigint"===typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Z(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n}),RangeError);const Q=/[^+/0-9A-Za-z-_]/g;function ee(e){if(e=e.split("=")[0],e=e.trim().replace(Q,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function te(e,t){let r;t=t||1/0;const n=e.length;let o=null;const i=[];for(let a=0;a55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+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 re(e){const t=[];for(let r=0;r>8,o=r%256,i.push(o),i.push(n)}return i}function oe(e){return n.toByteArray(ee(e))}function ie(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length)break;t[o+r]=e[o]}return o}function ae(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function se(e){return e!==e}const ce=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function ue(e){return"undefined"===typeof BigInt?le:e}function le(){throw new Error("BigInt not supported")}},21924:(e,t,r)=>{"use strict";var n=r(40210),o=r(55559),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&i(e,".prototype.")>-1?o(r):r}},55559:(e,t,r)=>{"use strict";var n=r(58612),o=r(40210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}e.exports=function(e){var t=s(n,a,arguments);if(c&&u){var r=c(t,"length");r.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(n,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},22429:(e,t,r)=>{var n=r(19637),o=r(86900);e.exports=function e(t){return t?t instanceof Date?t:Array.isArray(t)?t.map((function(t){return e(t)})):"object"===typeof t?o(t,(function(r,o){var i=n(r);if(r!==i&&i in t)throw new Error("Camelcased key `"+i+"` would overwrite existing key of the given JSON object");return[i,e(o)]})):t:t}},19637:e=>{"use strict";function t(e){for(var t=!1,r=0;r{var n=r(89509).Buffer,o=r(42830).Transform,i=r(32553).s,a=r(35717);function s(e){o.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(s,o),s.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(o){n=o}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},76489:(e,t)=>{"use strict"; -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */t.parse=i,t.serialize=a;var r=decodeURIComponent,n=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},i=e.split(";"),a=o.decode||r,c=0;c{"use strict";var n=r(70404);e.exports=n},81572:(e,t,r)=>{"use strict";var n=r(86789);e.exports=n},41602:(e,t,r)=>{"use strict";var n=r(16629);e.exports=n},9530:(e,t,r)=>{"use strict";var n=r(81709);e.exports=n},31666:(e,t,r)=>{"use strict";var n=r(65719);e.exports=n},13156:(e,t,r)=>{"use strict";var n=r(84598);e.exports=n},18011:(e,t,r)=>{"use strict";var n=r(32835);e.exports=n},56994:(e,t,r)=>{"use strict";var n=r(77981);e.exports=n},96668:(e,t,r)=>{"use strict";var n=r(31882);e.exports=n},48311:(e,t,r)=>{"use strict";var n=r(16534);e.exports=n},96360:(e,t,r)=>{"use strict";var n=r(75978);e.exports=n},9827:(e,t,r)=>{"use strict";var n=r(69251);e.exports=n},15125:(e,t,r)=>{"use strict";var n=r(16759);e.exports=n},20886:(e,t,r)=>{"use strict";var n=r(76196);e.exports=n},58453:(e,t,r)=>{"use strict";var n=r(88773);e.exports=n},80806:(e,t,r)=>{"use strict";var n=r(9482);e.exports=n},76276:(e,t,r)=>{"use strict";var n=r(12971);e.exports=n},8346:(e,t,r)=>{"use strict";var n=r(71150);r(5794),e.exports=n},23902:(e,t,r)=>{"use strict";var n=r(25914);r(54537),r(609),r(21568),r(95090),e.exports=n},18566:(e,t,r)=>{"use strict";var n=r(48970);e.exports=n},8647:(e,t,r)=>{"use strict";var n=r(7755);e.exports=n},4370:(e,t,r)=>{"use strict";r(78783),r(91038);var n=r(40857);e.exports=n.Array.from},11414:(e,t,r)=>{"use strict";r(79753);var n=r(40857);e.exports=n.Array.isArray},10523:(e,t,r)=>{"use strict";r(92222);var n=r(98770);e.exports=n("Array").concat},96414:(e,t,r)=>{"use strict";r(66992),r(41539);var n=r(98770);e.exports=n("Array").entries},34988:(e,t,r)=>{"use strict";r(57327);var n=r(98770);e.exports=n("Array").filter},90513:(e,t,r)=>{"use strict";r(69826);var n=r(98770);e.exports=n("Array").find},78526:(e,t,r)=>{"use strict";r(89554);var n=r(98770);e.exports=n("Array").forEach},63280:(e,t,r)=>{"use strict";r(26699);var n=r(98770);e.exports=n("Array").includes},43860:(e,t,r)=>{"use strict";r(82772);var n=r(98770);e.exports=n("Array").indexOf},53892:(e,t,r)=>{"use strict";r(21249);var n=r(98770);e.exports=n("Array").map},77298:(e,t,r)=>{"use strict";r(65069);var n=r(98770);e.exports=n("Array").reverse},76648:(e,t,r)=>{"use strict";r(47042);var n=r(98770);e.exports=n("Array").slice},73235:(e,t,r)=>{"use strict";r(40561);var n=r(98770);e.exports=n("Array").splice},87323:(e,t,r)=>{"use strict";r(66992),r(78783);var n=r(71246);e.exports=n},78687:(e,t,r)=>{"use strict";var n=r(47976),o=r(10523),i=Array.prototype;e.exports=function(e){var t=e.concat;return e===i||n(i,e)&&t===i.concat?o:t}},52696:(e,t,r)=>{"use strict";var n=r(47976),o=r(34988),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||n(i,e)&&t===i.filter?o:t}},86572:(e,t,r)=>{"use strict";var n=r(47976),o=r(90513),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||n(i,e)&&t===i.find?o:t}},58648:(e,t,r)=>{"use strict";var n=r(47976),o=r(63280),i=r(6654),a=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===a||n(a,e)&&t===a.includes?o:"string"==typeof e||e===s||n(s,e)&&t===s.includes?i:t}},36754:(e,t,r)=>{"use strict";var n=r(47976),o=r(43860),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?o:t}},77342:(e,t,r)=>{"use strict";var n=r(47976),o=r(53892),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||n(i,e)&&t===i.map?o:t}},23289:(e,t,r)=>{"use strict";var n=r(47976),o=r(77298),i=Array.prototype;e.exports=function(e){var t=e.reverse;return e===i||n(i,e)&&t===i.reverse?o:t}},15220:(e,t,r)=>{"use strict";var n=r(47976),o=r(76648),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||n(i,e)&&t===i.slice?o:t}},68491:(e,t,r)=>{"use strict";var n=r(47976),o=r(73235),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||n(i,e)&&t===i.splice?o:t}},99197:(e,t,r)=>{"use strict";var n=r(47976),o=r(46938),i=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===i||n(i,e)&&t===i.startsWith?o:t}},50604:(e,t,r)=>{"use strict";r(38862);var n=r(40857),o=r(22104);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return o(n.JSON.stringify,null,arguments)}},9116:(e,t,r)=>{"use strict";r(19601);var n=r(40857);e.exports=n.Object.assign},21200:(e,t,r)=>{"use strict";r(78011);var n=r(40857),o=n.Object;e.exports=function(e,t){return o.create(e,t)}},51505:(e,t,r)=>{"use strict";r(33321);var n=r(40857),o=n.Object,i=e.exports=function(e,t){return o.defineProperties(e,t)};o.defineProperties.sham&&(i.sham=!0)},24678:(e,t,r)=>{"use strict";r(69070);var n=r(40857),o=n.Object,i=e.exports=function(e,t,r){return o.defineProperty(e,t,r)};o.defineProperty.sham&&(i.sham=!0)},85302:(e,t,r)=>{"use strict";r(69720);var n=r(40857);e.exports=n.Object.entries},4172:(e,t,r)=>{"use strict";r(38880);var n=r(40857),o=n.Object,i=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(i.sham=!0)},40889:(e,t,r)=>{"use strict";r(49337);var n=r(40857);e.exports=n.Object.getOwnPropertyDescriptors},33608:(e,t,r)=>{"use strict";r(82526);var n=r(40857);e.exports=n.Object.getOwnPropertySymbols},65007:(e,t,r)=>{"use strict";r(30489);var n=r(40857);e.exports=n.Object.getPrototypeOf},61514:(e,t,r)=>{"use strict";r(47941);var n=r(40857);e.exports=n.Object.keys},26017:(e,t,r)=>{"use strict";r(68304);var n=r(40857);e.exports=n.Object.setPrototypeOf},47633:(e,t,r)=>{"use strict";r(9170),r(66992),r(41539),r(88674),r(17922),r(34668),r(17727),r(78783);var n=r(40857);e.exports=n.Promise},6654:(e,t,r)=>{"use strict";r(32023);var n=r(98770);e.exports=n("String").includes},46938:(e,t,r)=>{"use strict";r(23157);var n=r(98770);e.exports=n("String").startsWith},19266:(e,t,r)=>{"use strict";r(92222),r(41539),r(82526),r(72443),r(41817),r(92401),r(8722),r(32165),r(69007),r(16066),r(83510),r(41840),r(6982),r(32159),r(96649),r(39341),r(60543),r(73706),r(10408),r(81299);var n=r(40857);e.exports=n.Symbol},45834:(e,t,r)=>{"use strict";r(66992),r(41539),r(78783),r(32165);var n=r(6061);e.exports=n.f("iterator")},69051:(e,t,r)=>{"use strict";r(96078),r(96649);var n=r(6061);e.exports=n.f("toPrimitive")},39074:(e,t,r)=>{"use strict";r(66992),r(41539),r(4129);var n=r(40857);e.exports=n.WeakMap},68230:(e,t,r)=>{"use strict";e.exports=r(61615)},91451:(e,t,r)=>{"use strict";e.exports=r(20235)},82294:(e,t,r)=>{"use strict";e.exports=r(12486)},1366:(e,t,r)=>{"use strict";e.exports=r(14066)},35988:(e,t,r)=>{"use strict";e.exports=r(34798)},11455:(e,t,r)=>{"use strict";e.exports=r(32585)},15100:(e,t,r)=>{"use strict";e.exports=r(80416)},77193:(e,t,r)=>{"use strict";e.exports=r(93739)},47862:(e,t,r)=>{"use strict";e.exports=r(36263)},23847:(e,t,r)=>{"use strict";e.exports=r(20876)},18842:(e,t,r)=>{"use strict";e.exports=r(18140)},49834:(e,t,r)=>{"use strict";e.exports=r(10706)},99959:(e,t,r)=>{"use strict";e.exports=r(16929)},13714:(e,t,r)=>{"use strict";e.exports=r(9661)},1396:(e,t,r)=>{"use strict";e.exports=r(29902)},98625:(e,t,r)=>{"use strict";e.exports=r(64095)},84563:(e,t,r)=>{"use strict";e.exports=r(43851)},13867:(e,t,r)=>{"use strict";e.exports=r(76470)},5489:(e,t,r)=>{"use strict";e.exports=r(39181)},32433:(e,t,r)=>{"use strict";e.exports=r(88610)},8789:(e,t,r)=>{"use strict";e.exports=r(97714)},61615:(e,t,r)=>{"use strict";var n=r(52460);e.exports=n},20235:(e,t,r)=>{"use strict";var n=r(81572);e.exports=n},12486:(e,t,r)=>{"use strict";var n=r(41602);e.exports=n},14066:(e,t,r)=>{"use strict";var n=r(9530);e.exports=n},34798:(e,t,r)=>{"use strict";var n=r(31666);e.exports=n},32585:(e,t,r)=>{"use strict";var n=r(13156);e.exports=n},80416:(e,t,r)=>{"use strict";var n=r(18011);e.exports=n},93739:(e,t,r)=>{"use strict";var n=r(56994);e.exports=n},36263:(e,t,r)=>{"use strict";var n=r(96668);e.exports=n},20876:(e,t,r)=>{"use strict";var n=r(48311);e.exports=n},18140:(e,t,r)=>{"use strict";var n=r(96360);e.exports=n},10706:(e,t,r)=>{"use strict";var n=r(9827);e.exports=n},16929:(e,t,r)=>{"use strict";var n=r(15125);e.exports=n},9661:(e,t,r)=>{"use strict";var n=r(20886);e.exports=n},29902:(e,t,r)=>{"use strict";var n=r(58453);e.exports=n},64095:(e,t,r)=>{"use strict";var n=r(80806);e.exports=n},43851:(e,t,r)=>{"use strict";var n=r(76276);e.exports=n},76470:(e,t,r)=>{"use strict";var n=r(8346);r(8628),r(97314),r(77479),r(96290),e.exports=n},39181:(e,t,r)=>{"use strict";var n=r(23902);r(44177),r(53431),r(54534),r(48824),r(96431),r(40050),r(34744),r(44130),r(35954),e.exports=n},88610:(e,t,r)=>{"use strict";var n=r(18566);e.exports=n},97714:(e,t,r)=>{"use strict";var n=r(8647);e.exports=n},19662:(e,t,r)=>{"use strict";var n=r(60614),o=r(66330),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},39483:(e,t,r)=>{"use strict";var n=r(4411),o=r(66330),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},96077:(e,t,r)=>{"use strict";var n=r(60614),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},51223:(e,t,r)=>{"use strict";var n=r(5112),o=r(70030),i=r(3070).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,r)=>{"use strict";var n=r(28710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},25787:(e,t,r)=>{"use strict";var n=r(47976),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},19670:(e,t,r)=>{"use strict";var n=r(70111),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},23013:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:(e,t,r)=>{"use strict";var n=r(47293);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},90260:(e,t,r)=>{"use strict";var n,o,i,a=r(23013),s=r(19781),c=r(17854),u=r(60614),l=r(70111),d=r(92597),f=r(70648),h=r(66330),p=r(68880),g=r(98052),m=r(47045),y=r(47976),v=r(79518),w=r(27674),b=r(5112),_=r(69711),E=r(29909),S=E.enforce,A=E.get,T=c.Int8Array,C=T&&T.prototype,x=c.Uint8ClampedArray,I=x&&x.prototype,O=T&&v(T),N=C&&v(C),P=Object.prototype,k=c.TypeError,R=b("toStringTag"),M=_("TYPED_ARRAY_TAG"),B="TypedArrayConstructor",L=a&&!!w&&"Opera"!==f(c.opera),D=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!l(e))return!1;var t=f(e);return"DataView"===t||d(F,t)||d($,t)},j=function(e){var t=v(e);if(l(t)){var r=A(t);return r&&d(r,B)?r[B]:j(t)}},z=function(e){if(!l(e))return!1;var t=f(e);return d(F,t)||d($,t)},V=function(e){if(z(e))return e;throw new k("Target is not a typed array")},H=function(e){if(u(e)&&(!w||y(O,e)))return e;throw new k(h(e)+" is not a typed array constructor")},q=function(e,t,r,n){if(s){if(r)for(var o in F){var i=c[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(u){}}}N[e]&&!r||g(N,e,r?t:L&&C[e]||t,n)}},G=function(e,t,r){var n,o;if(s){if(w){if(r)for(n in F)if(o=c[n],o&&d(o,e))try{delete o[e]}catch(i){}if(O[e]&&!r)return;try{return g(O,e,r?t:L&&O[e]||t)}catch(i){}}for(n in F)o=c[n],!o||o[e]&&!r||g(o,e,t)}};for(n in F)o=c[n],i=o&&o.prototype,i?S(i)[B]=o:L=!1;for(n in $)o=c[n],i=o&&o.prototype,i&&(S(i)[B]=o);if((!L||!u(O)||O===Function.prototype)&&(O=function(){throw new k("Incorrect invocation")},L))for(n in F)c[n]&&w(c[n],O);if((!L||!N||N===P)&&(N=O.prototype,L))for(n in F)c[n]&&w(c[n].prototype,N);if(L&&v(I)!==N&&w(I,N),s&&!d(N,R))for(n in D=!0,m(N,R,{configurable:!0,get:function(){return l(this)?this[M]:void 0}}),F)c[n]&&p(c[n],M,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:D&&M,aTypedArray:V,aTypedArrayConstructor:H,exportTypedArrayMethod:q,exportTypedArrayStaticMethod:G,getTypedArrayConstructor:j,isView:U,isTypedArray:z,TypedArray:O,TypedArrayPrototype:N}},13331:(e,t,r)=>{"use strict";var n=r(17854),o=r(1702),i=r(19781),a=r(23013),s=r(76530),c=r(68880),u=r(47045),l=r(89190),d=r(47293),f=r(25787),h=r(19303),p=r(17466),g=r(57067),m=r(26130),y=r(11179),v=r(79518),w=r(27674),b=r(8006).f,_=r(21285),E=r(41589),S=r(58003),A=r(29909),T=s.PROPER,C=s.CONFIGURABLE,x="ArrayBuffer",I="DataView",O="prototype",N="Wrong length",P="Wrong index",k=A.getterFor(x),R=A.getterFor(I),M=A.set,B=n[x],L=B,D=L&&L[O],F=n[I],$=F&&F[O],U=Object.prototype,j=n.Array,z=n.RangeError,V=o(_),H=o([].reverse),q=y.pack,G=y.unpack,W=function(e){return[255&e]},Z=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return q(m(e),23,4)},J=function(e){return q(e,52,8)},Q=function(e,t,r){u(e[O],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var o=R(e),i=g(r),a=!!n;if(i+t>o.byteLength)throw new z(P);var s=o.bytes,c=i+o.byteOffset,u=E(s,c,c+t);return a?u:H(u)},te=function(e,t,r,n,o,i){var a=R(e),s=g(r),c=n(+o),u=!!i;if(s+t>a.byteLength)throw new z(P);for(var l=a.bytes,d=s+a.byteOffset,f=0;fie;)(ne=oe[ie++])in L||c(L,ne,B[ne]);D.constructor=L}w&&v($)!==U&&w($,U);var ae=new F(new L(2)),se=o($.setInt8);ae.setInt8(0,2147483648),ae.setInt8(1,2147483649),!ae.getInt8(0)&&ae.getInt8(1)||l($,{setInt8:function(e,t){se(this,e,t<<24>>24)},setUint8:function(e,t){se(this,e,t<<24>>24)}},{unsafe:!0})}else L=function(e){f(this,D);var t=g(e);M(this,{type:x,bytes:V(j(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},D=L[O],F=function(e,t,r){f(this,$),f(e,D);var n=k(e),o=n.byteLength,a=h(t);if(a<0||a>o)throw new z("Wrong offset");if(r=void 0===r?o-a:p(r),a+r>o)throw new z(N);M(this,{type:I,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},$=F[O],i&&(Q(L,"byteLength",k),Q(F,"buffer",R),Q(F,"byteLength",R),Q(F,"byteOffset",R)),l($,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return G(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return G(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,W,t)},setUint8:function(e,t){te(this,1,e,W,t)},setInt16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,J,t,arguments.length>2&&arguments[2])}});S(L,x),S(F,I),e.exports={ArrayBuffer:L,DataView:F}},1048:(e,t,r)=>{"use strict";var n=r(47908),o=r(51400),i=r(26244),a=r(85117),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),c=i(r),u=o(e,c),l=o(t,c),d=arguments.length>2?arguments[2]:void 0,f=s((void 0===d?c:o(d,c))-l,c-u),h=1;l0)l in r?r[u]=r[l]:a(r,u),u+=h,l+=h;return r}},21285:(e,t,r)=>{"use strict";var n=r(47908),o=r(51400),i=r(26244);e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,u=void 0===c?r:o(c,r);while(u>s)t[s++]=e;return t}},18533:(e,t,r)=>{"use strict";var n=r(42092).forEach,o=r(9341),i=o("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},97745:(e,t,r)=>{"use strict";var n=r(26244);e.exports=function(e,t){var r=0,o=n(t),i=new e(o);while(o>r)i[r]=t[r++];return i}},48457:(e,t,r)=>{"use strict";var n=r(49974),o=r(46916),i=r(47908),a=r(53411),s=r(97659),c=r(4411),u=r(26244),l=r(86135),d=r(18554),f=r(71246),h=Array;e.exports=function(e){var t=i(e),r=c(this),p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g;m&&(g=n(g,p>2?arguments[2]:void 0));var y,v,w,b,_,E,S=f(t),A=0;if(!S||this===h&&s(S))for(y=u(t),v=r?new this(y):h(y);y>A;A++)E=m?g(t[A],A):t[A],l(v,A,E);else for(b=d(t,S),_=b.next,v=r?new this:[];!(w=o(_,b)).done;A++)E=m?a(b,g,[w.value,A],!0):w.value,l(v,A,E);return v.length=A,v}},41318:(e,t,r)=>{"use strict";var n=r(45656),o=r(51400),i=r(26244),a=function(e){return function(t,r,a){var s,c=n(t),u=i(c),l=o(a,u);if(e&&r!==r){while(u>l)if(s=c[l++],s!==s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9671:(e,t,r)=>{"use strict";var n=r(49974),o=r(68361),i=r(47908),a=r(26244),s=function(e){var t=1===e;return function(r,s,c){var u,l,d=i(r),f=o(d),h=n(s,c),p=a(f);while(p-- >0)if(u=f[p],l=h(u,p,d),l)switch(e){case 0:return u;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},42092:(e,t,r)=>{"use strict";var n=r(49974),o=r(1702),i=r(68361),a=r(47908),s=r(26244),c=r(65417),u=o([].push),l=function(e){var t=1===e,r=2===e,o=3===e,l=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,g,m,y){for(var v,w,b=a(p),_=i(b),E=n(g,m),S=s(_),A=0,T=y||c,C=t?T(p,S):r||f?T(p,0):void 0;S>A;A++)if((h||A in _)&&(v=_[A],w=E(v,A,b),e))if(t)C[A]=w;else if(w)switch(e){case 3:return!0;case 5:return v;case 6:return A;case 2:u(C,v)}else switch(e){case 4:return!1;case 7:u(C,v)}return d?-1:o||l?l:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},86583:(e,t,r)=>{"use strict";var n=r(22104),o=r(45656),i=r(19303),a=r(26244),s=r(9341),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),f=l||!d;e.exports=f?function(e){if(l)return n(u,this,arguments)||0;var t=o(this),r=a(t),s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},81194:(e,t,r)=>{"use strict";var n=r(47293),o=r(5112),i=r(7392),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,r)=>{"use strict";var n=r(47293);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},53671:(e,t,r)=>{"use strict";var n=r(19662),o=r(47908),i=r(68361),a=r(26244),s=TypeError,c=function(e){return function(t,r,c,u){n(r);var l=o(t),d=i(l),f=a(l),h=e?f-1:0,p=e?-1:1;if(c<2)while(1){if(h in d){u=d[h],h+=p;break}if(h+=p,e?h<0:f<=h)throw new s("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=p)h in d&&(u=r(u,d[h],h,l));return u}};e.exports={left:c(!1),right:c(!0)}},83658:(e,t,r)=>{"use strict";var n=r(19781),o=r(43157),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},41589:(e,t,r)=>{"use strict";var n=r(51400),o=r(26244),i=r(86135),a=Array,s=Math.max;e.exports=function(e,t,r){for(var c=o(e),u=n(t,c),l=n(void 0===r?c:r,c),d=a(s(l-u,0)),f=0;u{"use strict";var n=r(1702);e.exports=n([].slice)},94362:(e,t,r)=>{"use strict";var n=r(41589),o=Math.floor,i=function(e,t){var r=e.length,c=o(r/2);return r<8?a(e,t):s(e,i(n(e,0,c),t),i(n(e,c),t),t)},a=function(e,t){var r,n,o=e.length,i=1;while(i0)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},s=function(e,t,r,n){var o=t.length,i=r.length,a=0,s=0;while(a{"use strict";var n=r(43157),o=r(4411),i=r(70111),a=r(5112),s=a("species"),c=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,o(t)&&(t===c||n(t.prototype))?t=void 0:i(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?c:t}},65417:(e,t,r)=>{"use strict";var n=r(77475);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},21843:(e,t,r)=>{"use strict";var n=r(26244);e.exports=function(e,t){for(var r=n(e),o=new t(r),i=0;i{"use strict";var n=r(26244),o=r(19303),i=RangeError;e.exports=function(e,t,r,a){var s=n(e),c=o(r),u=c<0?s+c:c;if(u>=s||u<0)throw new i("Incorrect index");for(var l=new t(s),d=0;d{"use strict";var n=r(19670),o=r(99212);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){o(e,"throw",a)}}},17072:(e,t,r)=>{"use strict";var n=r(5112),o=n("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(c){return!1}var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},84326:(e,t,r)=>{"use strict";var n=r(1702),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},70648:(e,t,r)=>{"use strict";var n=r(51694),o=r(60614),i=r(84326),a=r(5112),s=a("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=c(e),s))?r:u?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},95631:(e,t,r)=>{"use strict";var n=r(70030),o=r(47045),i=r(89190),a=r(49974),s=r(25787),c=r(68554),u=r(20408),l=r(51656),d=r(76178),f=r(96340),h=r(19781),p=r(62423).fastKey,g=r(29909),m=g.set,y=g.getterFor;e.exports={getConstructor:function(e,t,r,l){var d=e((function(e,o){s(e,f),m(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),h||(e.size=0),c(o)||u(o,e[l],{that:e,AS_ENTRIES:r})})),f=d.prototype,g=y(t),v=function(e,t,r){var n,o,i=g(e),a=w(e,t);return a?a.value=r:(i.last=a={index:o=p(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),h?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},w=function(e,t){var r,n=g(e),o=p(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(f,{clear:function(){var e=this,t=g(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,h?t.size=0:e.size=0},delete:function(e){var t=this,r=g(t),n=w(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),h?r.size--:t.size--}return!!n},forEach:function(e){var t,r=g(this),n=a(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!w(this,e)}}),i(f,r?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),h&&o(f,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(e,t,r){var n=t+" Iterator",o=y(t),i=y(n);l(e,t,(function(e,t){m(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?d("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,d(void 0,!0))}),r?"entries":"values",!r,!0),f(t)}}},29320:(e,t,r)=>{"use strict";var n=r(1702),o=r(89190),i=r(62423).getWeakData,a=r(25787),s=r(19670),c=r(68554),u=r(70111),l=r(20408),d=r(42092),f=r(92597),h=r(29909),p=h.set,g=h.getterFor,m=d.find,y=d.findIndex,v=n([].splice),w=0,b=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},E=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var r=E(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var d=e((function(e,o){a(e,h),p(e,{type:t,id:w++,frozen:void 0}),c(o)||l(o,e[n],{that:e,AS_ENTRIES:r})})),h=d.prototype,m=g(t),y=function(e,t,r){var n=m(e),o=i(s(t),!0);return!0===o?b(n).set(t,r):o[n.id]=r,e};return o(h,{delete:function(e){var t=m(this);if(!u(e))return!1;var r=i(e);return!0===r?b(t)["delete"](e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=m(this);if(!u(e))return!1;var r=i(e);return!0===r?b(t).has(e):r&&f(r,t.id)}}),o(h,r?{get:function(e){var t=m(this);if(u(e)){var r=i(e);return!0===r?b(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),d}}},77710:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(1702),a=r(54705),s=r(98052),c=r(62423),u=r(20408),l=r(25787),d=r(60614),f=r(68554),h=r(70111),p=r(47293),g=r(17072),m=r(58003),y=r(79587);e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),b=v?"set":"add",_=o[e],E=_&&_.prototype,S=_,A={},T=function(e){var t=i(E[e]);s(E,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(w&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return w&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(w&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},C=a(e,!d(_)||!(w||E.forEach&&!p((function(){(new _).entries().next()}))));if(C)S=r.getConstructor(t,e,v,b),c.enable();else if(a(e,!0)){var x=new S,I=x[b](w?{}:-0,1)!==x,O=p((function(){x.has(1)})),N=g((function(e){new _(e)})),P=!w&&p((function(){var e=new _,t=5;while(t--)e[b](t,t);return!e.has(-0)}));N||(S=t((function(e,t){l(e,E);var r=y(new _,e,S);return f(t)||u(t,r[b],{that:r,AS_ENTRIES:v}),r})),S.prototype=E,E.constructor=S),(O||P)&&(T("delete"),T("has"),v&&T("get")),(P||I)&&T(b),w&&E.clear&&delete E.clear}return A[e]=S,n({global:!0,constructor:!0,forced:S!==_},A),m(S,e),w||r.setStrong(S,e,v),S}},99920:(e,t,r)=>{"use strict";var n=r(92597),o=r(53887),i=r(31236),a=r(3070);e.exports=function(e,t,r){for(var s=o(t),c=a.f,u=i.f,l=0;l{"use strict";var n=r(5112),o=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(n){}}return!1}},49920:(e,t,r)=>{"use strict";var n=r(47293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:(e,t,r)=>{"use strict";var n=r(1702),o=r(84488),i=r(41340),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var c=i(o(e)),u="<"+t;return""!==r&&(u+=" "+r+'="'+s(i(n),a,""")+'"'),u+">"+c+""}},76178:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},68880:(e,t,r)=>{"use strict";var n=r(19781),o=r(3070),i=r(79114);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},79114:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,r)=>{"use strict";var n=r(34948),o=r(3070),i=r(79114);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},85573:(e,t,r)=>{"use strict";var n=r(1702),o=r(47293),i=r(76650).start,a=RangeError,s=isFinite,c=Math.abs,u=Date.prototype,l=u.toISOString,d=n(u.getTime),f=n(u.getUTCDate),h=n(u.getUTCFullYear),p=n(u.getUTCHours),g=n(u.getUTCMilliseconds),m=n(u.getUTCMinutes),y=n(u.getUTCMonth),v=n(u.getUTCSeconds);e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==l.call(new Date(-50000000000001))}))||!o((function(){l.call(new Date(NaN))}))?function(){if(!s(d(this)))throw new a("Invalid time value");var e=this,t=h(e),r=g(e),n=t<0?"-":t>9999?"+":"";return n+i(c(t),n?6:4,0)+"-"+i(y(e)+1,2,0)+"-"+i(f(e),2,0)+"T"+i(p(e),2,0)+":"+i(m(e),2,0)+":"+i(v(e),2,0)+"."+i(r,3,0)+"Z"}:l},38709:(e,t,r)=>{"use strict";var n=r(19670),o=r(92140),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},47045:(e,t,r)=>{"use strict";var n=r(56339),o=r(3070);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},98052:(e,t,r)=>{"use strict";var n=r(60614),o=r(3070),i=r(56339),a=r(13072);e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&i(r,u,s),s.global)c?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},89190:(e,t,r)=>{"use strict";var n=r(98052);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},13072:(e,t,r)=>{"use strict";var n=r(17854),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},85117:(e,t,r)=>{"use strict";var n=r(66330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},19781:(e,t,r)=>{"use strict";var n=r(47293);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{"use strict";var t="object"==typeof document&&document.all,r="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},80317:(e,t,r)=>{"use strict";var n=r(17854),o=r(70111),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:e=>{"use strict";var t=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw t("Maximum allowed index exceeded");return e}},48324:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,r)=>{"use strict";var n=r(80317),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},68886:(e,t,r)=>{"use strict";var n=r(88113),o=n.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},7871:(e,t,r)=>{"use strict";var n=r(83823),o=r(35268);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},89363:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:(e,t,r)=>{"use strict";var n=r(88113);e.exports=/MSIE|Trident/.test(n)},71528:(e,t,r)=>{"use strict";var n=r(88113);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:(e,t,r)=>{"use strict";var n=r(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},35268:(e,t,r)=>{"use strict";var n=r(17854),o=r(84326);e.exports="process"===o(n.process)},71036:(e,t,r)=>{"use strict";var n=r(88113);e.exports=/web0s(?!.*chrome)/i.test(n)},88113:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(e,t,r)=>{"use strict";var n,o,i=r(17854),a=r(88113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(n=l.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},98008:(e,t,r)=>{"use strict";var n=r(88113),o=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},98770:(e,t,r)=>{"use strict";var n=r(17854);e.exports=function(e){return n[e].prototype}},80748:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},11060:(e,t,r)=>{"use strict";var n=r(1702),o=Error,i=n("".replace),a=function(e){return String(new o(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=i(e,s,"");return e}},5392:(e,t,r)=>{"use strict";var n=r(68880),o=r(11060),i=r(22914),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},22914:(e,t,r)=>{"use strict";var n=r(47293),o=r(79114);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},7762:(e,t,r)=>{"use strict";var n=r(19781),o=r(47293),i=r(19670),a=r(70030),s=r(56277),c=Error.prototype.toString,u=o((function(){if(n){var e=a(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==c.call(e))return!0}return"2: 1"!==c.call({message:1,name:2})||"Error"!==c.call({})}));e.exports=u?function(){var e=i(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:c},82109:(e,t,r)=>{"use strict";var n=r(17854),o=r(31236).f,i=r(68880),a=r(98052),s=r(13072),c=r(99920),u=r(54705);e.exports=function(e,t){var r,l,d,f,h,p,g=e.target,m=e.global,y=e.stat;if(l=m?n:y?n[g]||s(g,{}):(n[g]||{}).prototype,l)for(d in t){if(h=t[d],e.dontCallGetSet?(p=o(l,d),f=p&&p.value):f=l[d],r=u(m?d:g+(y?".":"#")+d,e.forced),!r&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(l,d,h,e)}}},47293:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},27007:(e,t,r)=>{"use strict";r(74916);var n=r(21470),o=r(98052),i=r(22261),a=r(47293),s=r(5112),c=r(68880),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,d){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[u]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!h||!p||r){var g=n(/./[f]),m=t(f,""[e],(function(e,t,r,o,a){var s=n(e),c=t.exec;return c===i||c===l.exec?h&&!a?{done:!0,value:g(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(l,f,m[1])}d&&c(l[f],"sham",!0)}},6790:(e,t,r)=>{"use strict";var n=r(43157),o=r(26244),i=r(7207),a=r(49974),s=function(e,t,r,c,u,l,d,f){var h,p,g=u,m=0,y=!!d&&a(d,f);while(m0&&n(h)?(p=o(h),g=s(e,t,h,p,g,l-1)-1):(i(g+1),e[g]=h),g++),m++;return g};e.exports=s},76677:(e,t,r)=>{"use strict";var n=r(47293);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:(e,t,r)=>{"use strict";var n=r(34374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},49974:(e,t,r)=>{"use strict";var n=r(21470),o=r(19662),i=r(34374),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:(e,t,r)=>{"use strict";var n=r(47293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},27065:(e,t,r)=>{"use strict";var n=r(1702),o=r(19662),i=r(70111),a=r(92597),s=r(50206),c=r(34374),u=Function,l=n([].concat),d=n([].join),f={},h=function(e,t,r){if(!a(f,t)){for(var n=[],o=0;o{"use strict";var n=r(34374),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},76530:(e,t,r)=>{"use strict";var n=r(19781),o=r(92597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},75668:(e,t,r)=>{"use strict";var n=r(1702),o=r(19662);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(i){}}},21470:(e,t,r)=>{"use strict";var n=r(84326),o=r(1702);e.exports=function(e){if("Function"===n(e))return o(e)}},1702:(e,t,r)=>{"use strict";var n=r(34374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},35005:(e,t,r)=>{"use strict";var n=r(17854),o=r(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},71246:(e,t,r)=>{"use strict";var n=r(70648),o=r(58173),i=r(68554),a=r(97497),s=r(5112),c=s("iterator");e.exports=function(e){if(!i(e))return o(e,c)||o(e,"@@iterator")||a[n(e)]}},18554:(e,t,r)=>{"use strict";var n=r(46916),o=r(19662),i=r(19670),a=r(66330),s=r(71246),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},88044:(e,t,r)=>{"use strict";var n=r(1702),o=r(43157),i=r(60614),a=r(84326),s=r(41340),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n{"use strict";var n=r(19662),o=r(68554);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},10647:(e,t,r)=>{"use strict";var n=r(1702),o=r(47908),i=Math.floor,a=n("".charAt),s=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,f){var h=r+e.length,p=n.length,g=l;return void 0!==d&&(d=o(d),g=u),s(f,g,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,h);case"<":u=d[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>p){var f=i(l/10);return 0===f?o:f<=p?void 0===n[f-1]?a(s,1):n[f-1]+a(s,1):o}u=n[l-1]}return void 0===u?"":u}))}},17854:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},92597:(e,t,r)=>{"use strict";var n=r(1702),o=r(47908),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:e=>{"use strict";e.exports={}},842:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(r){}}},60490:(e,t,r)=>{"use strict";var n=r(35005);e.exports=n("document","documentElement")},64664:(e,t,r)=>{"use strict";var n=r(19781),o=r(47293),i=r(80317);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},11179:e=>{"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2,s=function(e,s,c){var u,l,d,f=t(c),h=8*c-s-1,p=(1<>1,m=23===s?n(2,-24)-n(2,-77):0,y=e<0||0===e&&1/e<0?1:0,v=0;e=r(e),e!==e||e===1/0?(l=e!==e?1:0,u=p):(u=o(i(e)/a),d=n(2,-u),e*d<1&&(u--,d*=2),e+=u+g>=1?m/d:m*n(2,1-g),e*d>=2&&(u++,d/=2),u+g>=p?(l=0,u=p):u+g>=1?(l=(e*d-1)*n(2,s),u+=g):(l=e*n(2,g-1)*n(2,s),u=0));while(s>=8)f[v++]=255&l,l/=256,s-=8;u=u<0)f[v++]=255&u,u/=256,h-=8;return f[--v]|=128*y,f},c=function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<>1,c=i-7,u=o-1,l=e[u--],d=127&l;l>>=7;while(c>0)d=256*d+e[u--],c-=8;r=d&(1<<-c)-1,d>>=-c,c+=t;while(c>0)r=256*r+e[u--],c-=8;if(0===d)d=1-s;else{if(d===a)return r?NaN:l?-1/0:1/0;r+=n(2,t),d-=s}return(l?-1:1)*r*n(2,d-t)};e.exports={pack:s,unpack:c}},68361:(e,t,r)=>{"use strict";var n=r(1702),o=r(47293),i=r(84326),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},79587:(e,t,r)=>{"use strict";var n=r(60614),o=r(70111),i=r(27674);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},42788:(e,t,r)=>{"use strict";var n=r(1702),o=r(60614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},58340:(e,t,r)=>{"use strict";var n=r(70111),o=r(68880);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},62423:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(3501),a=r(70111),s=r(92597),c=r(3070).f,u=r(8006),l=r(1156),d=r(52050),f=r(69711),h=r(76677),p=!1,g=f("meta"),m=0,y=function(e){c(e,g,{value:{objectID:"O"+m++,weakData:{}}})},v=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!d(e))return"F";if(!t)return"E";y(e)}return e[g].objectID},w=function(e,t){if(!s(e,g)){if(!d(e))return!0;if(!t)return!1;y(e)}return e[g].weakData},b=function(e){return h&&p&&d(e)&&!s(e,g)&&y(e),e},_=function(){E.enable=function(){},p=!0;var e=u.f,t=o([].splice),r={};r[g]=1,e(r).length&&(u.f=function(r){for(var n=e(r),o=0,i=n.length;o{"use strict";var n,o,i,a=r(94811),s=r(17854),c=r(70111),u=r(68880),l=r(92597),d=r(5465),f=r(6200),h=r(3501),p="Object already initialized",g=s.TypeError,m=s.WeakMap,y=function(e){return i(e)?o(e):n(e,{})},v=function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}};if(a||d.state){var w=d.state||(d.state=new m);w.get=w.get,w.has=w.has,w.set=w.set,n=function(e,t){if(w.has(e))throw new g(p);return t.facade=e,w.set(e,t),t},o=function(e){return w.get(e)||{}},i=function(e){return w.has(e)}}else{var b=f("state");h[b]=!0,n=function(e,t){if(l(e,b))throw new g(p);return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:n,get:o,has:i,enforce:y,getterFor:v}},97659:(e,t,r)=>{"use strict";var n=r(5112),o=r(97497),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:(e,t,r)=>{"use strict";var n=r(84326);e.exports=Array.isArray||function(e){return"Array"===n(e)}},44067:(e,t,r)=>{"use strict";var n=r(70648);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},60614:(e,t,r)=>{"use strict";var n=r(4154),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,r)=>{"use strict";var n=r(1702),o=r(47293),i=r(60614),a=r(70648),s=r(35005),c=r(42788),u=function(){},l=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),p=!f.test(u),g=function(e){if(!i(e))return!1;try{return d(u,l,e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,c(e))}catch(t){return!0}};m.sham=!0,e.exports=!d||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},45032:(e,t,r)=>{"use strict";var n=r(92597);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},54705:(e,t,r)=>{"use strict";var n=r(47293),o=r(60614),i=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r===l||r!==u&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},55988:(e,t,r)=>{"use strict";var n=r(70111),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},68554:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},70111:(e,t,r)=>{"use strict";var n=r(60614),o=r(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},31913:e=>{"use strict";e.exports=!1},47850:(e,t,r)=>{"use strict";var n=r(70111),o=r(84326),i=r(5112),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===o(e))}},52190:(e,t,r)=>{"use strict";var n=r(35005),o=r(60614),i=r(47976),a=r(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},20408:(e,t,r)=>{"use strict";var n=r(49974),o=r(46916),i=r(19670),a=r(66330),s=r(97659),c=r(26244),u=r(47976),l=r(18554),d=r(71246),f=r(99212),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var m,y,v,w,b,_,E,S=r&&r.that,A=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),I=n(t,S),O=function(e){return m&&f(m,"normal",e),new p(!0,e)},N=function(e){return A?(i(e),x?I(e[0],e[1],O):I(e[0],e[1])):x?I(e,O):I(e)};if(T)m=e.iterator;else if(C)m=e;else{if(y=d(e),!y)throw new h(a(e)+" is not iterable");if(s(y)){for(v=0,w=c(e);w>v;v++)if(b=N(e[v]),b&&u(g,b))return b;return new p(!1)}m=l(e,y)}_=T?e.next:m.next;while(!(E=o(_,m)).done){try{b=N(E.value)}catch(P){f(m,"throw",P)}if("object"==typeof b&&b&&u(g,b))return b}return new p(!1)}},99212:(e,t,r)=>{"use strict";var n=r(46916),o=r(19670),i=r(58173);e.exports=function(e,t,r){var a,s;o(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw r;if(s)throw a;return o(a),r}},63061:(e,t,r)=>{"use strict";var n=r(13383).IteratorPrototype,o=r(70030),i=r(79114),a=r(58003),s=r(97497),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!u,r)}),a(e,l,!1,!0),s[l]=c,e}},51656:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(31913),a=r(76530),s=r(60614),c=r(63061),u=r(79518),l=r(27674),d=r(58003),f=r(68880),h=r(98052),p=r(5112),g=r(97497),m=r(13383),y=a.PROPER,v=a.CONFIGURABLE,w=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=p("iterator"),E="keys",S="values",A="entries",T=function(){return this};e.exports=function(e,t,r,a,p,m,C){c(r,t,a);var x,I,O,N=function(e){if(e===p&&B)return B;if(!b&&e&&e in R)return R[e];switch(e){case E:return function(){return new r(this,e)};case S:return function(){return new r(this,e)};case A:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",k=!1,R=e.prototype,M=R[_]||R["@@iterator"]||p&&R[p],B=!b&&M||N(p),L="Array"===t&&R.entries||M;if(L&&(x=u(L.call(new e)),x!==Object.prototype&&x.next&&(i||u(x)===w||(l?l(x,w):s(x[_])||h(x,_,T)),d(x,P,!0,!0),i&&(g[P]=T))),y&&p===S&&M&&M.name!==S&&(!i&&v?f(R,"name",S):(k=!0,B=function(){return o(M,this)})),p)if(I={values:N(S),keys:m?B:N(E),entries:N(A)},C)for(O in I)(b||k||!(O in R))&&h(R,O,I[O]);else n({target:t,proto:!0,forced:b||k},I);return i&&!C||R[_]===B||h(R,_,B,{name:p}),g[t]=B,I}},13383:(e,t,r)=>{"use strict";var n,o,i,a=r(47293),s=r(60614),c=r(70111),u=r(70030),l=r(79518),d=r(98052),f=r(5112),h=r(31913),p=f("iterator"),g=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(n=o)):g=!0);var m=!c(n)||a((function(){var e={};return n[p].call(e)!==e}));m?n={}:h&&(n=u(n)),s(n[p])||d(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},97497:e=>{"use strict";e.exports={}},26244:(e,t,r)=>{"use strict";var n=r(17466);e.exports=function(e){return n(e.length)}},56339:(e,t,r)=>{"use strict";var n=r(1702),o=r(47293),i=r(60614),a=r(92597),s=r(19781),c=r(76530).CONFIGURABLE,u=r(42788),l=r(29909),d=l.enforce,f=l.get,h=String,p=Object.defineProperty,g=n("".slice),m=n("".replace),y=n([].join),v=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=d(e);return a(n,"source")||(n.source=y(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return i(this)&&f(this).source||u(this)}),"toString")},53731:(e,t,r)=>{"use strict";var n=r(64310),o=Math.abs,i=2220446049250313e-31,a=1/i,s=function(e){return e+a-a};e.exports=function(e,t,r,a){var c=+e,u=o(c),l=n(c);if(ur||f!==f?l*(1/0):l*f}},26130:(e,t,r)=>{"use strict";var n=r(53731),o=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;e.exports=Math.fround||function(e){return n(e,o,i,a)}},64310:e=>{"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!==t?t:t<0?-1:1}},74758:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},95948:(e,t,r)=>{"use strict";var n,o,i,a,s,c=r(17854),u=r(49974),l=r(31236).f,d=r(20261).set,f=r(18572),h=r(6833),p=r(71528),g=r(71036),m=r(35268),y=c.MutationObserver||c.WebKitMutationObserver,v=c.document,w=c.process,b=c.Promise,_=l(c,"queueMicrotask"),E=_&&_.value;if(!E){var S=new f,A=function(){var e,t;m&&(e=w.domain)&&e.exit();while(t=S.get())try{t()}catch(r){throw S.head&&n(),r}e&&e.enter()};h||m||g||!y||!v?!p&&b&&b.resolve?(a=b.resolve(void 0),a.constructor=b,s=u(a.then,a),n=function(){s(A)}):m?n=function(){w.nextTick(A)}:(d=u(d,c),n=function(){d(A)}):(o=!0,i=v.createTextNode(""),new y(A).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),E=function(e){S.head||n(),S.add(e)}}e.exports=E},78523:(e,t,r)=>{"use strict";var n=r(19662),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},56277:(e,t,r)=>{"use strict";var n=r(41340);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},3929:(e,t,r)=>{"use strict";var n=r(47850),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},2814:(e,t,r)=>{"use strict";var n=r(17854),o=r(47293),i=r(1702),a=r(41340),s=r(53111).trim,c=r(81361),u=i("".charAt),l=n.parseFloat,d=n.Symbol,f=d&&d.iterator,h=1/l(c+"-0")!==-1/0||f&&!o((function(){l(Object(f))}));e.exports=h?function(e){var t=s(a(e)),r=l(t);return 0===r&&"-"===u(t,0)?-0:r}:l},83009:(e,t,r)=>{"use strict";var n=r(17854),o=r(47293),i=r(1702),a=r(41340),s=r(53111).trim,c=r(81361),u=n.parseInt,l=n.Symbol,d=l&&l.iterator,f=/^[+-]?0x/i,h=i(f.exec),p=8!==u(c+"08")||22!==u(c+"0x16")||d&&!o((function(){u(Object(d))}));e.exports=p?function(e,t){var r=s(a(e));return u(r,t>>>0||(h(f,r)?16:10))}:u},21574:(e,t,r)=>{"use strict";var n=r(19781),o=r(1702),i=r(46916),a=r(47293),s=r(81956),c=r(25181),u=r(55296),l=r(47908),d=r(68361),f=Object.assign,h=Object.defineProperty,p=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||s(f({},t)).join("")!==o}))?function(e,t){var r=l(e),o=arguments.length,a=1,f=c.f,h=u.f;while(o>a){var g,m=d(arguments[a++]),y=f?p(s(m),f(m)):s(m),v=y.length,w=0;while(v>w)g=y[w++],n&&!i(h,m,g)||(r[g]=m[g])}return r}:f},70030:(e,t,r)=>{"use strict";var n,o=r(19670),i=r(36048),a=r(80748),s=r(3501),c=r(60490),u=r(80317),l=r(6200),d=">",f="<",h="prototype",p="script",g=l("IE_PROTO"),m=function(){},y=function(e){return f+p+d+e+f+"/"+p+d},v=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},w=function(){var e,t=u("iframe"),r="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},b=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}b="undefined"!=typeof document?document.domain&&n?v(n):w():v(n);var e=a.length;while(e--)delete b[h][a[e]];return b()};s[g]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[h]=o(e),r=new m,m[h]=null,r[g]=e):r=b(),void 0===t?r:i.f(r,t)}},36048:(e,t,r)=>{"use strict";var n=r(19781),o=r(3353),i=r(3070),a=r(19670),s=r(45656),c=r(81956);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=s(t),o=c(t),u=o.length,l=0;while(u>l)i.f(e,r=o[l++],n[r]);return e}},3070:(e,t,r)=>{"use strict";var n=r(19781),o=r(64664),i=r(3353),a=r(19670),s=r(34948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"===typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},31236:(e,t,r)=>{"use strict";var n=r(19781),o=r(46916),i=r(55296),a=r(79114),s=r(45656),c=r(34948),u=r(92597),l=r(64664),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(r){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},1156:(e,t,r)=>{"use strict";var n=r(84326),o=r(45656),i=r(8006).f,a=r(41589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return i(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"===n(e)?c(e):i(o(e))}},8006:(e,t,r)=>{"use strict";var n=r(16324),o=r(80748),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},25181:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},79518:(e,t,r)=>{"use strict";var n=r(92597),o=r(60614),i=r(47908),a=r(6200),s=r(49920),c=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},52050:(e,t,r)=>{"use strict";var n=r(47293),o=r(70111),i=r(84326),a=r(7556),s=Object.isExtensible,c=n((function(){s(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!s||s(e)))}:s},47976:(e,t,r)=>{"use strict";var n=r(1702);e.exports=n({}.isPrototypeOf)},16324:(e,t,r)=>{"use strict";var n=r(1702),o=r(92597),i=r(45656),a=r(41318).indexOf,s=r(3501),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);while(t.length>u)o(n,r=t[u++])&&(~a(l,r)||c(l,r));return l}},81956:(e,t,r)=>{"use strict";var n=r(16324),o=r(80748);e.exports=Object.keys||function(e){return n(e,o)}},55296:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},27674:(e,t,r)=>{"use strict";var n=r(75668),o=r(19670),i=r(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(a){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},44699:(e,t,r)=>{"use strict";var n=r(19781),o=r(47293),i=r(1702),a=r(79518),s=r(81956),c=r(45656),u=r(55296).f,l=i(u),d=i([].push),f=n&&o((function(){var e=Object.create(null);return e[2]=2,!l(e,2)})),h=function(e){return function(t){var r,o=c(t),i=s(o),u=f&&null===a(o),h=i.length,p=0,g=[];while(h>p)r=i[p++],n&&!(u?r in o:l(o,r))||d(g,e?[r,o[r]]:o[r]);return g}};e.exports={entries:h(!0),values:h(!1)}},90288:(e,t,r)=>{"use strict";var n=r(51694),o=r(70648);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},92140:(e,t,r)=>{"use strict";var n=r(46916),o=r(60614),i=r(70111),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},53887:(e,t,r)=>{"use strict";var n=r(35005),o=r(1702),i=r(8006),a=r(25181),s=r(19670),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?c(t,r(e)):t}},40857:(e,t,r)=>{"use strict";var n=r(17854);e.exports=n},12534:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},63702:(e,t,r)=>{"use strict";var n=r(17854),o=r(2492),i=r(60614),a=r(54705),s=r(42788),c=r(5112),u=r(7871),l=r(83823),d=r(31913),f=r(7392),h=o&&o.prototype,p=c("species"),g=!1,m=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(d&&(!h["catch"]||!h["finally"]))return!0;if(!f||f<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};if(i[p]=n,g=r.then((function(){}))instanceof n,!g)return!0}return!t&&(u||l)&&!m}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:m,SUBCLASSING:g}},2492:(e,t,r)=>{"use strict";var n=r(17854);e.exports=n.Promise},69478:(e,t,r)=>{"use strict";var n=r(19670),o=r(70111),i=r(78523);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},80612:(e,t,r)=>{"use strict";var n=r(2492),o=r(17072),i=r(63702).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},2626:(e,t,r)=>{"use strict";var n=r(3070).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},18572:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=t},97651:(e,t,r)=>{"use strict";var n=r(46916),o=r(19670),i=r(60614),a=r(84326),s=r(22261),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var u=n(r,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return n(s,e,t);throw new c("RegExp#exec called on incompatible receiver")}},22261:(e,t,r)=>{"use strict";var n=r(46916),o=r(1702),i=r(41340),a=r(67066),s=r(52999),c=r(72309),u=r(70030),l=r(29909).get,d=r(9441),f=r(38173),h=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,m=o("".charAt),y=o("".indexOf),v=o("".replace),w=o("".slice),b=function(){var e=/a/,t=/b*/g;return n(p,e,"a"),n(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),_=s.BROKEN_CARET,E=void 0!==/()??/.exec("")[1],S=b||E||_||d||f;S&&(g=function(e){var t,r,o,s,c,d,f,S=this,A=l(S),T=i(e),C=A.raw;if(C)return C.lastIndex=S.lastIndex,t=n(g,C,T),S.lastIndex=C.lastIndex,t;var x=A.groups,I=_&&S.sticky,O=n(a,S),N=S.source,P=0,k=T;if(I&&(O=v(O,"y",""),-1===y(O,"g")&&(O+="g"),k=w(T,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==m(T,S.lastIndex-1))&&(N="(?: "+N+")",k=" "+k,P++),r=new RegExp("^(?:"+N+")",O)),E&&(r=new RegExp("^"+N+"$(?!\\s)",O)),b&&(o=S.lastIndex),s=n(p,I?r:S,k),I?s?(s.input=w(s.input,P),s[0]=w(s[0],P),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:b&&s&&(S.lastIndex=S.global?s.index+s[0].length:o),E&&s&&s.length>1&&n(h,s[0],r,(function(){for(c=1;c{"use strict";var n=r(19670);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},34706:(e,t,r)=>{"use strict";var n=r(46916),o=r(92597),i=r(47976),a=r(67066),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},52999:(e,t,r)=>{"use strict";var n=r(47293),o=r(17854),i=o.RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=a||n((function(){return!i("a","y").sticky})),c=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:a}},9441:(e,t,r)=>{"use strict";var n=r(47293),o=r(17854),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},38173:(e,t,r)=>{"use strict";var n=r(47293),o=r(17854),i=o.RegExp;e.exports=n((function(){var e=i("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},84488:(e,t,r)=>{"use strict";var n=r(68554),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},17152:(e,t,r)=>{"use strict";var n=r(17854),o=r(22104),i=r(60614),a=r(89363),s=r(88113),c=r(50206),u=r(48053),l=n.Function,d=/MSIE .\./.test(s)||a&&function(){var e=n.Bun.version.split(".");return e.length<3||"0"===e[0]&&(e[1]<3||"3"===e[1]&&"0"===e[2])}();e.exports=function(e,t){var r=t?2:1;return d?function(n,a){var s=u(arguments.length,1)>r,d=i(n)?n:l(n),f=s?c(arguments,r):[],h=s?function(){o(d,this,f)}:d;return t?e(h,a):e(h)}:e}},96340:(e,t,r)=>{"use strict";var n=r(35005),o=r(47045),i=r(5112),a=r(19781),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},58003:(e,t,r)=>{"use strict";var n=r(3070).f,o=r(92597),i=r(5112),a=i("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},6200:(e,t,r)=>{"use strict";var n=r(72309),o=r(69711),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,r)=>{"use strict";var n=r(17854),o=r(13072),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},72309:(e,t,r)=>{"use strict";var n=r(31913),o=r(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:(e,t,r)=>{"use strict";var n=r(19670),o=r(39483),i=r(68554),a=r(5112),s=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||i(r=n(a)[s])?t:o(r)}},43429:(e,t,r)=>{"use strict";var n=r(47293);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},28710:(e,t,r)=>{"use strict";var n=r(1702),o=r(19303),i=r(41340),a=r(84488),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,d=i(a(t)),f=o(r),h=d.length;return f<0||f>=h?e?"":void 0:(n=c(d,f),n<55296||n>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?e?s(d,f):n:e?u(d,f,f+2):l-56320+(n-55296<<10)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}},76650:(e,t,r)=>{"use strict";var n=r(1702),o=r(17466),i=r(41340),a=r(38415),s=r(84488),c=n(a),u=n("".slice),l=Math.ceil,d=function(e){return function(t,r,n){var a,d,f=i(s(t)),h=o(r),p=f.length,g=void 0===n?" ":i(n);return h<=p||""===g?f:(a=h-p,d=c(g,l(a/g.length)),d.length>a&&(d=u(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},33197:(e,t,r)=>{"use strict";var n=r(1702),o=2147483647,i=36,a=1,s=26,c=38,u=700,l=72,d=128,f="-",h=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",m=i-a,y=RangeError,v=n(p.exec),w=Math.floor,b=String.fromCharCode,_=n("".charCodeAt),E=n([].join),S=n([].push),A=n("".replace),T=n("".split),C=n("".toLowerCase),x=function(e){var t=[],r=0,n=e.length;while(r=55296&&o<=56319&&r>1,e+=w(e/t);while(e>m*s>>1)e=w(e/m),n+=i;return w(n+(m+1)*e/(e+c))},N=function(e){var t=[];e=x(e);var r,n,c=e.length,u=d,h=0,p=l;for(r=0;r=u&&n<_&&(_=n);var A=v+1;if(_-u>w((o-h)/A))throw new y(g);for(h+=(_-u)*A,u=_,r=0;ro)throw new y(g);if(n===u){var T=h,C=i;while(1){var N=C<=p?a:C>=p+s?s:C-p;if(T{"use strict";var n=r(19303),o=r(41340),i=r(84488),a=RangeError;e.exports=function(e){var t=o(i(this)),r="",s=n(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},76091:(e,t,r)=>{"use strict";var n=r(76530).PROPER,o=r(47293),i=r(81361),a="​…᠎";e.exports=function(e){return o((function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e}))}},53111:(e,t,r)=>{"use strict";var n=r(1702),o=r(84488),i=r(41340),a=r(81361),s=n("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,u,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},36293:(e,t,r)=>{"use strict";var n=r(7392),o=r(47293),i=r(17854),a=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},56532:(e,t,r)=>{"use strict";var n=r(46916),o=r(35005),i=r(5112),a=r(98052);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},68238:(e,t,r)=>{"use strict";var n=r(35005),o=r(1702),i=n("Symbol"),a=i.keyFor,s=o(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==a(s(e))}catch(t){return!1}}},58741:(e,t,r)=>{"use strict";for(var n=r(72309),o=r(35005),i=r(1702),a=r(52190),s=r(5112),c=o("Symbol"),u=c.isWellKnownSymbol,l=o("Object","getOwnPropertyNames"),d=i(c.prototype.valueOf),f=n("wks"),h=0,p=l(c),g=p.length;h{"use strict";var n=r(36293);e.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},20261:(e,t,r)=>{"use strict";var n,o,i,a,s=r(17854),c=r(22104),u=r(49974),l=r(60614),d=r(92597),f=r(47293),h=r(60490),p=r(50206),g=r(80317),m=r(48053),y=r(6833),v=r(35268),w=s.setImmediate,b=s.clearImmediate,_=s.process,E=s.Dispatch,S=s.Function,A=s.MessageChannel,T=s.String,C=0,x={},I="onreadystatechange";f((function(){n=s.location}));var O=function(e){if(d(x,e)){var t=x[e];delete x[e],t()}},N=function(e){return function(){O(e)}},P=function(e){O(e.data)},k=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};w&&b||(w=function(e){m(arguments.length,1);var t=l(e)?e:S(e),r=p(arguments,1);return x[++C]=function(){c(t,void 0,r)},o(C),C},b=function(e){delete x[e]},v?o=function(e){_.nextTick(N(e))}:E&&E.now?o=function(e){E.now(N(e))}:A&&!y?(i=new A,a=i.port2,i.port1.onmessage=P,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(k)?(o=k,s.addEventListener("message",P,!1)):o=I in g("script")?function(e){h.appendChild(g("script"))[I]=function(){h.removeChild(this),O(e)}}:function(e){setTimeout(N(e),0)}),e.exports={set:w,clear:b}},50863:(e,t,r)=>{"use strict";var n=r(1702);e.exports=n(1..valueOf)},51400:(e,t,r)=>{"use strict";var n=r(19303),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},64599:(e,t,r)=>{"use strict";var n=r(57593),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57067:(e,t,r)=>{"use strict";var n=r(19303),o=r(17466),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},45656:(e,t,r)=>{"use strict";var n=r(68361),o=r(84488);e.exports=function(e){return n(o(e))}},19303:(e,t,r)=>{"use strict";var n=r(74758);e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},17466:(e,t,r)=>{"use strict";var n=r(19303),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},47908:(e,t,r)=>{"use strict";var n=r(84488),o=Object;e.exports=function(e){return o(n(e))}},84590:(e,t,r)=>{"use strict";var n=r(73002),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},73002:(e,t,r)=>{"use strict";var n=r(19303),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},57593:(e,t,r)=>{"use strict";var n=r(46916),o=r(70111),i=r(52190),a=r(58173),s=r(92140),c=r(5112),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},34948:(e,t,r)=>{"use strict";var n=r(57593),o=r(52190);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},51694:(e,t,r)=>{"use strict";var n=r(5112),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},41340:(e,t,r)=>{"use strict";var n=r(70648),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},67892:e=>{"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},66330:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},19843:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(46916),a=r(19781),s=r(63832),c=r(90260),u=r(13331),l=r(25787),d=r(79114),f=r(68880),h=r(55988),p=r(17466),g=r(57067),m=r(84590),y=r(67892),v=r(34948),w=r(92597),b=r(70648),_=r(70111),E=r(52190),S=r(70030),A=r(47976),T=r(27674),C=r(8006).f,x=r(97321),I=r(42092).forEach,O=r(96340),N=r(47045),P=r(3070),k=r(31236),R=r(29909),M=r(79587),B=R.get,L=R.set,D=R.enforce,F=P.f,$=k.f,U=o.RangeError,j=u.ArrayBuffer,z=j.prototype,V=u.DataView,H=c.NATIVE_ARRAY_BUFFER_VIEWS,q=c.TYPED_ARRAY_TAG,G=c.TypedArray,W=c.TypedArrayPrototype,Z=c.aTypedArrayConstructor,K=c.isTypedArray,Y="BYTES_PER_ELEMENT",X="Wrong length",J=function(e,t){Z(e);var r=0,n=t.length,o=new e(n);while(n>r)o[r]=t[r++];return o},Q=function(e,t){N(e,t,{configurable:!0,get:function(){return B(this)[t]}})},ee=function(e){var t;return A(z,e)||"ArrayBuffer"===(t=b(e))||"SharedArrayBuffer"===t},te=function(e,t){return K(e)&&!E(t)&&t in e&&h(+t)&&t>=0},re=function(e,t){return t=v(t),te(e,t)?d(2,e[t]):$(e,t)},ne=function(e,t,r){return t=v(t),!(te(e,t)&&_(r)&&w(r,"value"))||w(r,"get")||w(r,"set")||r.configurable||w(r,"writable")&&!r.writable||w(r,"enumerable")&&!r.enumerable?F(e,t,r):(e[t]=r.value,e)};a?(H||(k.f=re,P.f=ne,Q(W,"buffer"),Q(W,"byteOffset"),Q(W,"byteLength"),Q(W,"length")),n({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:re,defineProperty:ne}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",u="get"+e,d="set"+e,h=o[c],v=h,w=v&&v.prototype,b={},E=function(e,t){var r=B(e);return r.view[u](t*a+r.byteOffset,!0)},A=function(e,t,n){var o=B(e);o.view[d](t*a+o.byteOffset,r?y(n):n,!0)},N=function(e,t){F(e,t,{get:function(){return E(this,t)},set:function(e){return A(this,t,e)},enumerable:!0})};H?s&&(v=t((function(e,t,r,n){return l(e,w),M(function(){return _(t)?ee(t)?void 0!==n?new h(t,m(r,a),n):void 0!==r?new h(t,m(r,a)):new h(t):K(t)?J(v,t):i(x,v,t):new h(g(t))}(),e,v)})),T&&T(v,G),I(C(h),(function(e){e in v||f(v,e,h[e])})),v.prototype=w):(v=t((function(e,t,r,n){l(e,w);var o,s,c,u=0,d=0;if(_(t)){if(!ee(t))return K(t)?J(v,t):i(x,v,t);o=t,d=m(r,a);var f=t.byteLength;if(void 0===n){if(f%a)throw new U(X);if(s=f-d,s<0)throw new U(X)}else if(s=p(n)*a,s+d>f)throw new U(X);c=s/a}else c=g(t),s=c*a,o=new j(s);L(e,{buffer:o,byteOffset:d,byteLength:s,length:c,view:new V(o)});while(u{"use strict";var n=r(17854),o=r(47293),i=r(17072),a=r(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},43074:(e,t,r)=>{"use strict";var n=r(97745),o=r(66304);e.exports=function(e,t){return n(o(e),t)}},97321:(e,t,r)=>{"use strict";var n=r(49974),o=r(46916),i=r(39483),a=r(47908),s=r(26244),c=r(18554),u=r(71246),l=r(97659),d=r(44067),f=r(90260).aTypedArrayConstructor,h=r(64599);e.exports=function(e){var t,r,p,g,m,y,v,w,b=i(this),_=a(e),E=arguments.length,S=E>1?arguments[1]:void 0,A=void 0!==S,T=u(_);if(T&&!l(T)){v=c(_,T),w=v.next,_=[];while(!(y=o(w,v)).done)_.push(y.value)}for(A&&E>2&&(S=n(S,arguments[2])),r=s(_),p=new(f(b))(r),g=d(p),t=0;r>t;t++)m=A?S(_[t],t):_[t],p[t]=g?h(m):+m;return p}},66304:(e,t,r)=>{"use strict";var n=r(90260),o=r(36707),i=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},69711:(e,t,r)=>{"use strict";var n=r(1702),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},85143:(e,t,r)=>{"use strict";var n=r(47293),o=r(5112),i=r(19781),a=r(31913),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),r["delete"]("a",2),r["delete"]("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},43307:(e,t,r)=>{"use strict";var n=r(36293);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,r)=>{"use strict";var n=r(19781),o=r(47293);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e{"use strict";var n=r(17854),o=r(60614),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},26800:(e,t,r)=>{"use strict";var n=r(40857),o=r(92597),i=r(6061),a=r(3070).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},6061:(e,t,r)=>{"use strict";var n=r(5112);t.f=n},5112:(e,t,r)=>{"use strict";var n=r(17854),o=r(72309),i=r(92597),a=r(69711),s=r(36293),c=r(43307),u=n.Symbol,l=o("wks"),d=c?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:d("Symbol."+e)),l[e]}},81361:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},89191:(e,t,r)=>{"use strict";var n=r(35005),o=r(92597),i=r(68880),a=r(47976),s=r(27674),c=r(99920),u=r(2626),l=r(79587),d=r(56277),f=r(58340),h=r(5392),p=r(19781),g=r(31913);e.exports=function(e,t,r,m){var y="stackTraceLimit",v=m?2:1,w=e.split("."),b=w[w.length-1],_=n.apply(null,w);if(_){var E=_.prototype;if(!g&&o(E,"cause")&&delete E.cause,!r)return _;var S=n("Error"),A=t((function(e,t){var r=d(m?t:e,void 0),n=m?new _(e):new _;return void 0!==r&&i(n,"message",r),h(n,A,n.stack,2),this&&a(E,this)&&l(n,this,A),arguments.length>v&&f(n,arguments[v]),n}));if(A.prototype=E,"Error"!==b?s?s(A,S):c(A,S,{name:!0}):p&&y in _&&(u(A,_,y),u(A,_,"prepareStackTrace")),c(A,_),!g)try{E.name!==b&&i(E,"name",b),E.constructor=A}catch(T){}return A}}},56967:(e,t,r)=>{"use strict";var n=r(82109),o=r(47976),i=r(79518),a=r(27674),s=r(99920),c=r(70030),u=r(68880),l=r(79114),d=r(58340),f=r(5392),h=r(20408),p=r(56277),g=r(5112),m=g("toStringTag"),y=Error,v=[].push,w=function(e,t){var r,n=o(b,this);a?r=a(new y,n?i(this):b):(r=n?this:c(b),u(r,m,"Error")),void 0!==t&&u(r,"message",p(t)),f(r,w,r.stack,1),arguments.length>2&&d(r,arguments[2]);var s=[];return h(e,v,{that:s}),u(r,"errors",s),r};a?a(w,y):s(w,y,{name:!0});var b=w.prototype=c(y.prototype,{constructor:l(1,w),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:w})},9170:(e,t,r)=>{"use strict";r(56967)},39575:(e,t,r)=>{"use strict";var n=r(82109),o=r(21470),i=r(47293),a=r(13331),s=r(19670),c=r(51400),u=r(17466),l=r(36707),d=a.ArrayBuffer,f=a.DataView,h=f.prototype,p=o(d.prototype.slice),g=o(h.getUint8),m=o(h.setUint8),y=i((function(){return!new d(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(e,t){if(p&&void 0===t)return p(s(this),e);var r=s(this).byteLength,n=c(e,r),o=c(void 0===t?r:t,r),i=new(l(this,d))(u(o-n)),a=new f(this),h=new f(i),y=0;while(n{"use strict";var n=r(82109),o=r(47908),i=r(26244),a=r(19303),s=r(51223);n({target:"Array",proto:!0},{at:function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},92222:(e,t,r)=>{"use strict";var n=r(82109),o=r(47293),i=r(43157),a=r(70111),s=r(47908),c=r(26244),u=r(7207),l=r(86135),d=r(65417),f=r(81194),h=r(5112),p=r(7392),g=h("isConcatSpreadable"),m=p>=51||!o((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)},v=!m||!f("concat");n({target:"Array",proto:!0,arity:1,forced:v},{concat:function(e){var t,r,n,o,i,a=s(this),f=d(a,0),h=0;for(t=-1,n=arguments.length;t{"use strict";var n=r(82109),o=r(42092).every,i=r(9341),a=i("every");n({target:"Array",proto:!0,forced:!a},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},57327:(e,t,r)=>{"use strict";var n=r(82109),o=r(42092).filter,i=r(81194),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},34553:(e,t,r)=>{"use strict";var n=r(82109),o=r(42092).findIndex,i=r(51223),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},69826:(e,t,r)=>{"use strict";var n=r(82109),o=r(42092).find,i=r(51223),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},86535:(e,t,r)=>{"use strict";var n=r(82109),o=r(6790),i=r(19662),a=r(47908),s=r(26244),c=r(65417);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=a(this),n=s(r);return i(e),t=c(r,0),t.length=o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},84944:(e,t,r)=>{"use strict";var n=r(82109),o=r(6790),i=r(47908),a=r(26244),s=r(19303),c=r(65417);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),n=c(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:s(e)),n}})},89554:(e,t,r)=>{"use strict";var n=r(82109),o=r(18533);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},91038:(e,t,r)=>{"use strict";var n=r(82109),o=r(48457),i=r(17072),a=!i((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:o})},26699:(e,t,r)=>{"use strict";var n=r(82109),o=r(41318).includes,i=r(47293),a=r(51223),s=i((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},82772:(e,t,r)=>{"use strict";var n=r(82109),o=r(21470),i=r(41318).indexOf,a=r(9341),s=o([].indexOf),c=!!s&&1/s([1],1,-0)<0,u=c||!a("indexOf");n({target:"Array",proto:!0,forced:u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?s(this,e,t)||0:i(this,e,t)}})},79753:(e,t,r)=>{"use strict";var n=r(82109),o=r(43157);n({target:"Array",stat:!0},{isArray:o})},66992:(e,t,r)=>{"use strict";var n=r(45656),o=r(51223),i=r(97497),a=r(29909),s=r(3070).f,c=r(51656),u=r(76178),l=r(31913),d=r(19781),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=c(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(r){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(m){}},69600:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(68361),a=r(45656),s=r(9341),c=o([].join),u=i!==Object,l=u||!s("join",",");n({target:"Array",proto:!0,forced:l},{join:function(e){return c(a(this),void 0===e?",":e)}})},94986:(e,t,r)=>{"use strict";var n=r(82109),o=r(86583);n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},21249:(e,t,r)=>{"use strict";var n=r(82109),o=r(42092).map,i=r(81194),a=i("map");n({target:"Array",proto:!0,forced:!a},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},57658:(e,t,r)=>{"use strict";var n=r(82109),o=r(47908),i=r(26244),a=r(83658),s=r(7207),c=r(47293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!l();n({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var c=0;c{"use strict";var n=r(82109),o=r(53671).left,i=r(9341),a=r(7392),s=r(35268),c=!s&&a>79&&a<83,u=c||!i("reduce");n({target:"Array",proto:!0,forced:u},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},65069:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(43157),a=o([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},47042:(e,t,r)=>{"use strict";var n=r(82109),o=r(43157),i=r(4411),a=r(70111),s=r(51400),c=r(26244),u=r(45656),l=r(86135),d=r(5112),f=r(81194),h=r(50206),p=f("slice"),g=d("species"),m=Array,y=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,d,f=u(this),p=c(f),v=s(e,p),w=s(void 0===t?p:t,p);if(o(f)&&(r=f.constructor,i(r)&&(r===m||o(r.prototype))?r=void 0:a(r)&&(r=r[g],null===r&&(r=void 0)),r===m||void 0===r))return h(f,v,w);for(n=new(void 0===r?m:r)(y(w-v,0)),d=0;v{"use strict";var n=r(82109),o=r(42092).some,i=r(9341),a=i("some");n({target:"Array",proto:!0,forced:!a},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2707:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(19662),a=r(47908),s=r(26244),c=r(85117),u=r(41340),l=r(47293),d=r(94362),f=r(9341),h=r(68886),p=r(30256),g=r(7392),m=r(98008),y=[],v=o(y.sort),w=o(y.push),b=l((function(){y.sort(void 0)})),_=l((function(){y.sort(null)})),E=f("sort"),S=!l((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(m)return m<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)y.push({k:t+n,v:r})}for(y.sort((function(e,t){return t.v-e.v})),n=0;nu(r)?1:-1}};n({target:"Array",proto:!0,forced:A},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(S)return void 0===e?v(t):v(t,e);var r,n,o=[],u=s(t);for(n=0;n{"use strict";var n=r(82109),o=r(47908),i=r(51400),a=r(19303),s=r(26244),c=r(83658),u=r(7207),l=r(65417),d=r(86135),f=r(85117),h=r(81194),p=h("splice"),g=Math.max,m=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var r,n,h,p,y,v,w=o(this),b=s(w),_=i(e,b),E=arguments.length;for(0===E?r=n=0:1===E?(r=0,n=b-_):(r=E-2,n=m(g(a(t),0),b-_)),u(b+r-n),h=l(w,n),p=0;pb-n+r;p--)f(w,p-1)}else if(r>n)for(p=b-n;p>_;p--)y=p+n-1,v=p+r-1,y in w?w[v]=w[y]:f(w,v);for(p=0;p{"use strict";var n=r(51223);n("flatMap")},33792:(e,t,r)=>{"use strict";var n=r(51223);n("flat")},30541:(e,t,r)=>{"use strict";var n=r(82109),o=r(47908),i=r(26244),a=r(83658),s=r(85117),c=r(7207),u=1!==[].unshift(0),l=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=u||!l();n({target:"Array",proto:!0,arity:1,forced:d},{unshift:function(e){var t=o(this),r=i(t),n=arguments.length;if(n){c(r+n);var u=r;while(u--){var l=u+n;u in t?t[l]=t[u]:s(t,l)}for(var d=0;d{"use strict";var n=r(82109),o=r(1702),i=Date,a=o(i.prototype.getTime);n({target:"Date",stat:!0},{now:function(){return a(new i)}})},28733:(e,t,r)=>{"use strict";var n=r(82109),o=r(85573);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},5735:(e,t,r)=>{"use strict";var n=r(82109),o=r(47293),i=r(47908),a=r(57593),s=o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));n({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(e){var t=i(this),r=a(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},96078:(e,t,r)=>{"use strict";var n=r(92597),o=r(98052),i=r(38709),a=r(5112),s=a("toPrimitive"),c=Date.prototype;n(c,s)||o(c,s,i)},83710:(e,t,r)=>{"use strict";var n=r(1702),o=r(98052),i=Date.prototype,a="Invalid Date",s="toString",c=n(i[s]),u=n(i.getTime);String(new Date(NaN))!==a&&o(i,s,(function(){var e=u(this);return e===e?c(this):a}))},21703:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(22104),a=r(89191),s="WebAssembly",c=o[s],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=a(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},d=function(e,t){if(c&&c[e]){var r={};r[e]=a(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},96647:(e,t,r)=>{"use strict";var n=r(98052),o=r(7762),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},24812:(e,t,r)=>{"use strict";var n=r(82109),o=r(27065);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},68309:(e,t,r)=>{"use strict";var n=r(19781),o=r(76530).EXISTS,i=r(1702),a=r(47045),s=Function.prototype,c=i(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec),d="name";n&&!o&&a(s,d,{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(e){return""}}})},38862:(e,t,r)=>{"use strict";var n=r(82109),o=r(35005),i=r(22104),a=r(46916),s=r(1702),c=r(47293),u=r(60614),l=r(52190),d=r(50206),f=r(88044),h=r(36293),p=String,g=o("JSON","stringify"),m=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),w=s("".replace),b=s(1..toString),_=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,A=!h||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))})),T=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),C=function(e,t){var r=d(arguments),n=f(t);if(u(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(u(n)&&(t=a(n,this,p(e),t)),!l(t))return t},i(g,null,r)},x=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return m(E,e)&&!m(S,o)||m(S,e)&&!m(E,n)?"\\u"+b(v(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:A||T},{stringify:function(e,t,r){var n=d(arguments),o=i(A?C:g,null,n);return T&&"string"==typeof o?w(o,_,x):o}})},73706:(e,t,r)=>{"use strict";var n=r(17854),o=r(58003);o(n.JSON,"JSON",!0)},69098:(e,t,r)=>{"use strict";var n=r(77710),o=r(95631);n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},51532:(e,t,r)=>{"use strict";r(69098)},10408:(e,t,r)=>{"use strict";var n=r(58003);n(Math,"Math",!0)},9653:(e,t,r)=>{"use strict";var n=r(82109),o=r(31913),i=r(19781),a=r(17854),s=r(40857),c=r(1702),u=r(54705),l=r(92597),d=r(79587),f=r(47976),h=r(52190),p=r(57593),g=r(47293),m=r(8006).f,y=r(31236).f,v=r(3070).f,w=r(50863),b=r(53111).trim,_="Number",E=a[_],S=s[_],A=E.prototype,T=a.TypeError,C=c("".slice),x=c("".charCodeAt),I=function(e){var t=p(e,"number");return"bigint"==typeof t?t:O(t)},O=function(e){var t,r,n,o,i,a,s,c,u=p(e,"number");if(h(u))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=b(u),t=x(u,0),43===t||45===t){if(r=x(u,2),88===r||120===r)return NaN}else if(48===t){switch(x(u,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(i=C(u,2),a=i.length,s=0;so)return NaN;return parseInt(i,n)}return+u},N=u(_,!E(" 0o1")||!E("0b1")||E("+0x1")),P=function(e){return f(A,e)&&g((function(){w(e)}))},k=function(e){var t=arguments.length<1?0:E(I(e));return P(this)?d(Object(t),this,k):t};k.prototype=A,N&&!o&&(A.constructor=k),n({global:!0,constructor:!0,wrap:!0,forced:N},{Number:k});var R=function(e,t){for(var r,n=i?m(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)l(t,r=n[o])&&!l(e,r)&&v(e,r,y(t,r))};o&&S&&R(s[_],S),(N||o)&&R(s[_],E)},33161:(e,t,r)=>{"use strict";var n=r(82109),o=r(55988);n({target:"Number",stat:!0},{isInteger:o})},44048:(e,t,r)=>{"use strict";var n=r(82109);n({target:"Number",stat:!0},{isNaN:function(e){return e!==e}})},56977:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(19303),a=r(50863),s=r(38415),c=r(47293),u=RangeError,l=String,d=Math.floor,f=o(s),h=o("".slice),p=o(1..toFixed),g=function(e,t,r){return 0===t?r:t%2===1?g(e,t-1,r*e):g(e*e,t/2,r)},m=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},y=function(e,t,r){var n=-1,o=r;while(++n<6)o+=t*e[n],e[n]=o%1e7,o=d(o/1e7)},v=function(e,t){var r=6,n=0;while(--r>=0)n+=e[r],e[r]=d(n/t),n=n%t*1e7},w=function(e){var t=6,r="";while(--t>=0)if(""!==r||0===t||0!==e[t]){var n=l(e[t]);r=""===r?n:r+f("0",7-n.length)+n}return r},b=c((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!c((function(){p({})}));n({target:"Number",proto:!0,forced:b},{toFixed:function(e){var t,r,n,o,s=a(this),c=i(e),d=[0,0,0,0,0,0],p="",b="0";if(c<0||c>20)throw new u("Incorrect fraction digits");if(s!==s)return"NaN";if(s<=-1e21||s>=1e21)return l(s);if(s<0&&(p="-",s=-s),s>1e-21)if(t=m(s*g(2,69,1))-69,r=t<0?s*g(2,-t,1):s/g(2,t,1),r*=4503599627370496,t=52-t,t>0){y(d,0,r),n=c;while(n>=7)y(d,1e7,0),n-=7;y(d,g(10,n,1),0),n=t-1;while(n>=23)v(d,1<<23),n-=23;v(d,1<0?(o=b.length,b=p+(o<=c?"0."+f("0",c-o)+b:h(b,0,o-c)+"."+h(b,o-c))):b=p+b,b}})},19601:(e,t,r)=>{"use strict";var n=r(82109),o=r(21574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},78011:(e,t,r)=>{"use strict";var n=r(82109),o=r(19781),i=r(70030);n({target:"Object",stat:!0,sham:!o},{create:i})},33321:(e,t,r)=>{"use strict";var n=r(82109),o=r(19781),i=r(36048).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},69070:(e,t,r)=>{"use strict";var n=r(82109),o=r(19781),i=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},69720:(e,t,r)=>{"use strict";var n=r(82109),o=r(44699).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},38559:(e,t,r)=>{"use strict";var n=r(82109),o=r(20408),i=r(86135);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){i(t,e,r)}),{AS_ENTRIES:!0}),t}})},38880:(e,t,r)=>{"use strict";var n=r(82109),o=r(47293),i=r(45656),a=r(31236).f,s=r(19781),c=!s||o((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},49337:(e,t,r)=>{"use strict";var n=r(82109),o=r(19781),i=r(53887),a=r(45656),s=r(31236),c=r(86135);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=s.f,u=i(n),l={},d=0;while(u.length>d)r=o(n,t=u[d++]),void 0!==r&&c(l,t,r);return l}})},36210:(e,t,r)=>{"use strict";var n=r(82109),o=r(47293),i=r(1156).f,a=o((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:i})},29660:(e,t,r)=>{"use strict";var n=r(82109),o=r(36293),i=r(47293),a=r(25181),s=r(47908),c=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},30489:(e,t,r)=>{"use strict";var n=r(82109),o=r(47293),i=r(47908),a=r(79518),s=r(49920),c=o((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},47941:(e,t,r)=>{"use strict";var n=r(82109),o=r(47908),i=r(81956),a=r(47293),s=a((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},67987:(e,t,r)=>{"use strict";var n=r(19781),o=r(47045),i=r(70111),a=r(47908),s=r(84488),c=Object.getPrototypeOf,u=Object.setPrototypeOf,l=Object.prototype,d="__proto__";if(n&&c&&u&&!(d in l))try{o(l,d,{configurable:!0,get:function(){return c(a(this))},set:function(e){var t=s(this);(i(e)||null===e)&&i(t)&&u(t,e)}})}catch(f){}},68304:(e,t,r)=>{"use strict";var n=r(82109),o=r(27674);n({target:"Object",stat:!0},{setPrototypeOf:o})},41539:(e,t,r)=>{"use strict";var n=r(51694),o=r(98052),i=r(90288);n||o(Object.prototype,"toString",i,{unsafe:!0})},26833:(e,t,r)=>{"use strict";var n=r(82109),o=r(44699).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},54678:(e,t,r)=>{"use strict";var n=r(82109),o=r(2814);n({global:!0,forced:parseFloat!==o},{parseFloat:o})},91058:(e,t,r)=>{"use strict";var n=r(82109),o=r(83009);n({global:!0,forced:parseInt!==o},{parseInt:o})},17922:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408),u=r(80612);n({target:"Promise",stat:!0,forced:u},{allSettled:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,u=1;c(e,(function(e){var i=s++,c=!1;u++,o(r,t,e).then((function(e){c||(c=!0,a[i]={status:"fulfilled",value:e},--u||n(a))}),(function(e){c||(c=!0,a[i]={status:"rejected",reason:e},--u||n(a))}))})),--u||n(a)}));return l.error&&u(l.value),r.promise}})},70821:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408),u=r(80612);n({target:"Promise",stat:!0,forced:u},{all:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1;c(e,(function(e){var i=s++,c=!1;l++,o(r,t,e).then((function(e){c||(c=!0,a[i]=e,--l||n(a))}),u)})),--l||n(a)}));return l.error&&u(l.value),r.promise}})},34668:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(35005),s=r(78523),c=r(12534),u=r(20408),l=r(80612),d="No one promise resolved";n({target:"Promise",stat:!0,forced:l},{any:function(e){var t=this,r=a("AggregateError"),n=s.f(t),l=n.resolve,f=n.reject,h=c((function(){var n=i(t.resolve),a=[],s=0,c=1,h=!1;u(e,(function(e){var i=s++,u=!1;c++,o(n,t,e).then((function(e){u||h||(h=!0,l(e))}),(function(e){u||h||(u=!0,a[i]=e,--c||f(new r(a,d)))}))})),--c||f(new r(a,d))}));return h.error&&f(h.value),n.promise}})},94164:(e,t,r)=>{"use strict";var n=r(82109),o=r(31913),i=r(63702).CONSTRUCTOR,a=r(2492),s=r(35005),c=r(60614),u=r(98052),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&c(a)){var d=s("Promise").prototype["catch"];l["catch"]!==d&&u(l,"catch",d,{unsafe:!0})}},43401:(e,t,r)=>{"use strict";var n,o,i,a,s=r(82109),c=r(31913),u=r(35268),l=r(17854),d=r(46916),f=r(98052),h=r(27674),p=r(58003),g=r(96340),m=r(19662),y=r(60614),v=r(70111),w=r(25787),b=r(36707),_=r(20261).set,E=r(95948),S=r(842),A=r(12534),T=r(18572),C=r(29909),x=r(2492),I=r(63702),O=r(78523),N="Promise",P=I.CONSTRUCTOR,k=I.REJECTION_EVENT,R=I.SUBCLASSING,M=C.getterFor(N),B=C.set,L=x&&x.prototype,D=x,F=L,$=l.TypeError,U=l.document,j=l.process,z=O.f,V=z,H=!!(U&&U.createEvent&&l.dispatchEvent),q="unhandledrejection",G="rejectionhandled",W=0,Z=1,K=2,Y=1,X=2,J=function(e){var t;return!(!v(e)||!y(t=e.then))&&t},Q=function(e,t){var r,n,o,i=t.value,a=t.state===Z,s=a?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(a||(t.rejection===X&&oe(t),t.rejection=Y),!0===s?r=i:(l&&l.enter(),r=s(i),l&&(l.exit(),o=!0)),r===e.promise?u(new $("Promise-chain cycle")):(n=J(r))?d(n,r,c,u):c(r)):u(i)}catch(f){l&&!o&&l.exit(),u(f)}},ee=function(e,t){e.notified||(e.notified=!0,E((function(){var r,n=e.reactions;while(r=n.get())Q(r,e);e.notified=!1,t&&!e.rejection&&re(e)})))},te=function(e,t,r){var n,o;H?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!k&&(o=l["on"+e])?o(n):e===q&&S("Unhandled promise rejection",r)},re=function(e){d(_,l,(function(){var t,r=e.facade,n=e.value,o=ne(e);if(o&&(t=A((function(){u?j.emit("unhandledRejection",n,r):te(q,r,n)})),e.rejection=u||ne(e)?X:Y,t.error))throw t.value}))},ne=function(e){return e.rejection!==Y&&!e.parent},oe=function(e){d(_,l,(function(){var t=e.facade;u?j.emit("rejectionHandled",t):te(G,t,e.value)}))},ie=function(e,t,r){return function(n){e(t,n,r)}},ae=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=K,ee(e,!0))},se=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new $("Promise can't be resolved itself");var n=J(t);n?E((function(){var r={done:!1};try{d(n,t,ie(se,r,e),ie(ae,r,e))}catch(o){ae(r,o,e)}})):(e.value=t,e.state=Z,ee(e,!1))}catch(o){ae({done:!1},o,e)}}};if(P&&(D=function(e){w(this,F),m(e),d(n,this);var t=M(this);try{e(ie(se,t),ie(ae,t))}catch(r){ae(t,r)}},F=D.prototype,n=function(e){B(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:W,value:void 0})},n.prototype=f(F,"then",(function(e,t){var r=M(this),n=z(b(this,D));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=u?j.domain:void 0,r.state===W?r.reactions.add(n):E((function(){Q(n,r)})),n.promise})),o=function(){var e=new n,t=M(e);this.promise=e,this.resolve=ie(se,t),this.reject=ie(ae,t)},O.f=z=function(e){return e===D||e===i?new o(e):V(e)},!c&&y(x)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var r=this;return new D((function(e,t){d(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(ce){}h&&h(L,F)}s({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:D}),p(D,N,!1,!0),g(N)},17727:(e,t,r)=>{"use strict";var n=r(82109),o=r(31913),i=r(2492),a=r(47293),s=r(35005),c=r(60614),u=r(36707),l=r(69478),d=r(98052),f=i&&i.prototype,h=!!i&&a((function(){f["finally"].call({then:function(){}},(function(){}))}));if(n({target:"Promise",proto:!0,real:!0,forced:h},{finally:function(e){var t=u(this,s("Promise")),r=c(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!o&&c(i)){var p=s("Promise").prototype["finally"];f["finally"]!==p&&d(f,"finally",p,{unsafe:!0})}},88674:(e,t,r)=>{"use strict";r(43401),r(70821),r(94164),r(6027),r(60683),r(96294)},6027:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408),u=r(80612);n({target:"Promise",stat:!0,forced:u},{race:function(e){var t=this,r=a.f(t),n=r.reject,u=s((function(){var a=i(t.resolve);c(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},60683:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(78523),a=r(63702).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:a},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},96294:(e,t,r)=>{"use strict";var n=r(82109),o=r(35005),i=r(31913),a=r(2492),s=r(63702).CONSTRUCTOR,c=r(69478),u=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return c(l&&this===u?a:this,e)}})},12419:(e,t,r)=>{"use strict";var n=r(82109),o=r(35005),i=r(22104),a=r(27065),s=r(39483),c=r(19670),u=r(70111),l=r(70030),d=r(47293),f=o("Reflect","construct"),h=Object.prototype,p=[].push,g=d((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),m=!d((function(){f((function(){}))})),y=g||m;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),c(t);var r=arguments.length<3?e:s(arguments[2]);if(m&&!g)return f(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(p,n,t),new(i(a,e,n))}var o=r.prototype,d=l(u(o)?o:h),y=i(e,d,t);return u(y)?y:d}})},74819:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916),i=r(70111),a=r(19670),s=r(45032),c=r(31236),u=r(79518);function l(e,t){var r,n,d=arguments.length<3?e:arguments[2];return a(e)===d?e[t]:(r=c.f(e,t),r?s(r)?r.value:void 0===r.get?void 0:o(r.get,d):i(n=u(e))?l(n,t,d):void 0)}n({target:"Reflect",stat:!0},{get:l})},81299:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(58003);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},24603:(e,t,r)=>{"use strict";var n=r(19781),o=r(17854),i=r(1702),a=r(54705),s=r(79587),c=r(68880),u=r(8006).f,l=r(47976),d=r(47850),f=r(41340),h=r(34706),p=r(52999),g=r(2626),m=r(98052),y=r(47293),v=r(92597),w=r(29909).enforce,b=r(96340),_=r(5112),E=r(9441),S=r(38173),A=_("match"),T=o.RegExp,C=T.prototype,x=o.SyntaxError,I=i(C.exec),O=i("".charAt),N=i("".replace),P=i("".indexOf),k=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,B=/a/g,L=new T(M)!==M,D=p.MISSED_STICKY,F=p.UNSUPPORTED_Y,$=n&&(!L||D||E||S||y((function(){return B[A]=!1,T(M)!==M||T(B)===B||"/a/i"!==String(T(M,"i"))}))),U=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)t=O(e,n),"\\"!==t?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+O(e,++n);return o},j=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,c=!1,u=0,l="";n<=r;n++){if(t=O(e,n),"\\"===t)t+=O(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:I(R,k(e,n+1))&&(n+=2,c=!0),o+=t,u++;continue;case">"===t&&c:if(""===l||v(a,l))throw new x("Invalid capture group name");a[l]=!0,i[i.length]=[l,u],c=!1,l="";continue}c?l+=t:o+=t}return[o,i]};if(a("RegExp",$)){for(var z=function(e,t){var r,n,o,i,a,u,p=l(C,this),g=d(e),m=void 0===t,y=[],v=e;if(!p&&g&&m&&e.constructor===z)return e;if((g||l(C,e))&&(e=e.source,m&&(t=h(v))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),v=e,E&&"dotAll"in M&&(n=!!t&&P(t,"s")>-1,n&&(t=N(t,/s/g,""))),r=t,D&&"sticky"in M&&(o=!!t&&P(t,"y")>-1,o&&F&&(t=N(t,/y/g,""))),S&&(i=j(e),e=i[0],y=i[1]),a=s(T(e,t),p?this:C,z),(n||o||y.length)&&(u=w(a),n&&(u.dotAll=!0,u.raw=z(U(e),r)),o&&(u.sticky=!0),y.length&&(u.groups=y)),e!==v)try{c(a,"source",""===v?"(?:)":v)}catch(b){}return a},V=u(T),H=0;V.length>H;)g(z,T,V[H++]);C.constructor=z,z.prototype=C,m(o,"RegExp",z,{constructor:!0})}b("RegExp")},28450:(e,t,r)=>{"use strict";var n=r(19781),o=r(9441),i=r(84326),a=r(47045),s=r(29909).get,c=RegExp.prototype,u=TypeError;n&&o&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},74916:(e,t,r)=>{"use strict";var n=r(82109),o=r(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},88386:(e,t,r)=>{"use strict";var n=r(19781),o=r(52999).MISSED_STICKY,i=r(84326),a=r(47045),s=r(29909).get,c=RegExp.prototype,u=TypeError;n&&o&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).sticky;throw new u("Incompatible receiver, RegExp required")}}})},77601:(e,t,r)=>{"use strict";r(74916);var n=r(82109),o=r(46916),i=r(60614),a=r(19670),s=r(41340),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=/./.test;n({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=a(this),r=s(e),n=t.exec;if(!i(n))return o(u,t,r);var c=o(n,t,r);return null!==c&&(a(c),!0)}})},39714:(e,t,r)=>{"use strict";var n=r(76530).PROPER,o=r(98052),i=r(19670),a=r(41340),s=r(47293),c=r(34706),u="toString",l=RegExp.prototype,d=l[u],f=s((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),h=n&&d.name!==u;(f||h)&&o(RegExp.prototype,u,(function(){var e=i(this),t=a(e.source),r=a(c(e));return"/"+t+"/"+r}),{unsafe:!0})},37227:(e,t,r)=>{"use strict";var n=r(77710),o=r(95631);n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},70189:(e,t,r)=>{"use strict";r(37227)},24506:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(84488),a=r(19303),s=r(41340),c=r(47293),u=o("".charAt),l=c((function(){return"\ud842"!=="𠮷".at(-2)}));n({target:"String",proto:!0,forced:l},{at:function(e){var t=s(i(this)),r=t.length,n=a(e),o=n>=0?n:r+n;return o<0||o>=r?void 0:u(t,o)}})},27852:(e,t,r)=>{"use strict";var n=r(82109),o=r(21470),i=r(31236).f,a=r(17466),s=r(41340),c=r(3929),u=r(84488),l=r(84964),d=r(31913),f=o("".endsWith),h=o("".slice),p=Math.min,g=l("endsWith"),m=!d&&!g&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!m&&!g},{endsWith:function(e){var t=s(u(this));c(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,o=void 0===r?n:p(a(r),n),i=s(e);return f?f(t,i,o):h(t,o-i.length,o)===i}})},29253:(e,t,r)=>{"use strict";var n=r(82109),o=r(14230),i=r(43429);n({target:"String",proto:!0,forced:i("fixed")},{fixed:function(){return o(this,"tt","","")}})},32023:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(3929),a=r(84488),s=r(41340),c=r(84964),u=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},78783:(e,t,r)=>{"use strict";var n=r(28710).charAt,o=r(41340),i=r(29909),a=r(51656),s=r(76178),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},29254:(e,t,r)=>{"use strict";var n=r(82109),o=r(14230),i=r(43429);n({target:"String",proto:!0,forced:i("link")},{link:function(e){return o(this,"a","href",e)}})},4723:(e,t,r)=>{"use strict";var n=r(46916),o=r(27007),i=r(19670),a=r(68554),s=r(17466),c=r(41340),u=r(84488),l=r(58173),d=r(31530),f=r(97651);o("match",(function(e,t,r){return[function(t){var r=u(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return f(n,o);var u=n.unicode;n.lastIndex=0;var l,h=[],p=0;while(null!==(l=f(n,o))){var g=c(l[0]);h[p]=g,""===g&&(n.lastIndex=d(o,s(n.lastIndex),u)),p++}return 0===p?null:h}]}))},82481:(e,t,r)=>{"use strict";var n=r(82109),o=r(38415);n({target:"String",proto:!0},{repeat:o})},15306:(e,t,r)=>{"use strict";var n=r(22104),o=r(46916),i=r(1702),a=r(27007),s=r(47293),c=r(19670),u=r(60614),l=r(68554),d=r(19303),f=r(17466),h=r(41340),p=r(84488),g=r(31530),m=r(58173),y=r(10647),v=r(97651),w=r(5112),b=w("replace"),_=Math.max,E=Math.min,S=i([].concat),A=i([].push),T=i("".indexOf),C=i("".slice),x=function(e){return void 0===e?e:String(e)},I=function(){return"$0"==="a".replace(/./,"$0")}(),O=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),N=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));a("replace",(function(e,t,r){var i=O?"$":"$0";return[function(e,r){var n=p(this),i=l(e)?void 0:m(e,b);return i?o(i,e,n,r):o(t,h(n),e,r)},function(e,o){var a=c(this),s=h(e);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var p=u(o);p||(o=h(o));var m,w=a.global;w&&(m=a.unicode,a.lastIndex=0);var b,I=[];while(1){if(b=v(a,s),null===b)break;if(A(I,b),!w)break;var O=h(b[0]);""===O&&(a.lastIndex=g(s,f(a.lastIndex),m))}for(var N="",P=0,k=0;k=P&&(N+=C(s,P,B)+R,P=B+M.length)}return N+C(s,P)}]}),!N||!I||O)},37268:(e,t,r)=>{"use strict";var n=r(82109),o=r(14230),i=r(43429);n({target:"String",proto:!0,forced:i("small")},{small:function(){return o(this,"small","","")}})},23157:(e,t,r)=>{"use strict";var n=r(82109),o=r(21470),i=r(31236).f,a=r(17466),s=r(41340),c=r(3929),u=r(84488),l=r(84964),d=r(31913),f=o("".startsWith),h=o("".slice),p=Math.min,g=l("startsWith"),m=!d&&!g&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!m&&!g},{startsWith:function(e){var t=s(u(this));c(e);var r=a(p(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return f?f(t,n,r):h(t,r,r+n.length)===n}})},83650:(e,t,r)=>{"use strict";var n=r(82109),o=r(1702),i=r(84488),a=r(19303),s=r(41340),c=o("".slice),u=Math.max,l=Math.min,d=!"".substr||"b"!=="ab".substr(-1);n({target:"String",proto:!0,forced:d},{substr:function(e,t){var r,n,o=s(i(this)),d=o.length,f=a(e);return f===1/0&&(f=0),f<0&&(f=u(d+f,0)),r=void 0===t?d:a(t),r<=0||r===1/0?"":(n=l(f+r,d),f>=n?"":c(o,f,n))}})},73210:(e,t,r)=>{"use strict";var n=r(82109),o=r(53111).trim,i=r(76091);n({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},72443:(e,t,r)=>{"use strict";var n=r(26800);n("asyncIterator")},4032:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(46916),a=r(1702),s=r(31913),c=r(19781),u=r(36293),l=r(47293),d=r(92597),f=r(47976),h=r(19670),p=r(45656),g=r(34948),m=r(41340),y=r(79114),v=r(70030),w=r(81956),b=r(8006),_=r(1156),E=r(25181),S=r(31236),A=r(3070),T=r(36048),C=r(55296),x=r(98052),I=r(47045),O=r(72309),N=r(6200),P=r(3501),k=r(69711),R=r(5112),M=r(6061),B=r(26800),L=r(56532),D=r(58003),F=r(29909),$=r(42092).forEach,U=N("hidden"),j="Symbol",z="prototype",V=F.set,H=F.getterFor(j),q=Object[z],G=o.Symbol,W=G&&G[z],Z=o.RangeError,K=o.TypeError,Y=o.QObject,X=S.f,J=A.f,Q=_.f,ee=C.f,te=a([].push),re=O("symbols"),ne=O("op-symbols"),oe=O("wks"),ie=!Y||!Y[z]||!Y[z].findChild,ae=function(e,t,r){var n=X(q,t);n&&delete q[t],J(e,t,r),n&&e!==q&&J(q,t,n)},se=c&&l((function(){return 7!==v(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?ae:J,ce=function(e,t){var r=re[e]=v(W);return V(r,{type:j,tag:e,description:t}),c||(r.description=t),r},ue=function(e,t,r){e===q&&ue(ne,t,r),h(e);var n=g(t);return h(r),d(re,n)?(r.enumerable?(d(e,U)&&e[U][n]&&(e[U][n]=!1),r=v(r,{enumerable:y(0,!1)})):(d(e,U)||J(e,U,y(1,{})),e[U][n]=!0),se(e,n,r)):J(e,n,r)},le=function(e,t){h(e);var r=p(t),n=w(r).concat(ge(r));return $(n,(function(t){c&&!i(fe,r,t)||ue(e,t,r[t])})),e},de=function(e,t){return void 0===t?v(e):le(v(e),t)},fe=function(e){var t=g(e),r=i(ee,this,t);return!(this===q&&d(re,t)&&!d(ne,t))&&(!(r||!d(this,t)||!d(re,t)||d(this,U)&&this[U][t])||r)},he=function(e,t){var r=p(e),n=g(t);if(r!==q||!d(re,n)||d(ne,n)){var o=X(r,n);return!o||!d(re,n)||d(r,U)&&r[U][n]||(o.enumerable=!0),o}},pe=function(e){var t=Q(p(e)),r=[];return $(t,(function(e){d(re,e)||d(P,e)||te(r,e)})),r},ge=function(e){var t=e===q,r=Q(t?ne:p(e)),n=[];return $(r,(function(e){!d(re,e)||t&&!d(q,e)||te(n,re[e])})),n};u||(G=function(){if(f(W,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,t=k(e),r=function(e){this===q&&i(r,ne,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1);var n=y(1,e);try{se(this,t,n)}catch(o){if(!(o instanceof Z))throw o;ae(this,t,n)}};return c&&ie&&se(q,t,{configurable:!0,set:r}),ce(t,e)},W=G[z],x(W,"toString",(function(){return H(this).tag})),x(G,"withoutSetter",(function(e){return ce(k(e),e)})),C.f=fe,A.f=ue,T.f=le,S.f=he,b.f=_.f=pe,E.f=ge,M.f=function(e){return ce(R(e),e)},c&&(I(W,"description",{configurable:!0,get:function(){return H(this).description}}),s||x(q,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),$(w(oe),(function(e){B(e)})),n({target:j,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:de,defineProperty:ue,defineProperties:le,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),L(),D(G,j),P[U]=!0},41817:(e,t,r)=>{"use strict";var n=r(82109),o=r(19781),i=r(17854),a=r(1702),s=r(92597),c=r(60614),u=r(47976),l=r(41340),d=r(47045),f=r(99920),h=i.Symbol,p=h&&h.prototype;if(o&&c(h)&&(!("description"in p)||void 0!==h().description)){var g={},m=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(g[t]=!0),t};f(m,h),m.prototype=p,p.constructor=m;var y="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),w=a(p.toString),b=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),E=a("".slice);d(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(g,e))return"";var t=w(e),r=y?E(t,7,-1):_(t,b,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:m})}},40763:(e,t,r)=>{"use strict";var n=r(82109),o=r(35005),i=r(92597),a=r(41340),s=r(72309),c=r(2015),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(u,t))return u[t];var r=o("Symbol")(t);return u[t]=r,l[r]=t,r}})},92401:(e,t,r)=>{"use strict";var n=r(26800);n("hasInstance")},8722:(e,t,r)=>{"use strict";var n=r(26800);n("isConcatSpreadable")},32165:(e,t,r)=>{"use strict";var n=r(26800);n("iterator")},82526:(e,t,r)=>{"use strict";r(4032),r(40763),r(26620),r(38862),r(29660)},26620:(e,t,r)=>{"use strict";var n=r(82109),o=r(92597),i=r(52190),a=r(66330),s=r(72309),c=r(2015),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},16066:(e,t,r)=>{"use strict";var n=r(26800);n("matchAll")},69007:(e,t,r)=>{"use strict";var n=r(26800);n("match")},83510:(e,t,r)=>{"use strict";var n=r(26800);n("replace")},41840:(e,t,r)=>{"use strict";var n=r(26800);n("search")},6982:(e,t,r)=>{"use strict";var n=r(26800);n("species")},32159:(e,t,r)=>{"use strict";var n=r(26800);n("split")},96649:(e,t,r)=>{"use strict";var n=r(26800),o=r(56532);n("toPrimitive"),o()},39341:(e,t,r)=>{"use strict";var n=r(35005),o=r(26800),i=r(58003);o("toStringTag"),i(n("Symbol"),"Symbol")},60543:(e,t,r)=>{"use strict";var n=r(26800);n("unscopables")},48675:(e,t,r)=>{"use strict";var n=r(90260),o=r(26244),i=r(19303),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(e){var t=a(this),r=o(t),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},92990:(e,t,r)=>{"use strict";var n=r(1702),o=r(90260),i=r(1048),a=n(i),s=o.aTypedArray,c=o.exportTypedArrayMethod;c("copyWithin",(function(e,t){return a(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).every,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:(e,t,r)=>{"use strict";var n=r(90260),o=r(21285),i=r(64599),a=r(70648),s=r(46916),c=r(1702),u=r(47293),l=n.aTypedArray,d=n.exportTypedArrayMethod,f=c("".slice),h=u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}));d("fill",(function(e){var t=arguments.length;l(this);var r="Big"===f(a(this),0,3)?i(e):+e;return s(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),h)},35035:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).filter,i=r(43074),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).findIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},14590:(e,t,r)=>{"use strict";var n=r(90260),o=r(9671).findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},63408:(e,t,r)=>{"use strict";var n=r(90260),o=r(9671).findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).find,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},32846:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).forEach,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44731:(e,t,r)=>{"use strict";var n=r(90260),o=r(41318).includes,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:(e,t,r)=>{"use strict";var n=r(90260),o=r(41318).indexOf,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},96319:(e,t,r)=>{"use strict";var n=r(17854),o=r(47293),i=r(1702),a=r(90260),s=r(66992),c=r(5112),u=c("iterator"),l=n.Uint8Array,d=i(s.values),f=i(s.keys),h=i(s.entries),p=a.aTypedArray,g=a.exportTypedArrayMethod,m=l&&l.prototype,y=!o((function(){m[u].call([1])})),v=!!m&&m.values&&m[u]===m.values&&"values"===m.values.name,w=function(){return d(p(this))};g("entries",(function(){return h(p(this))}),y),g("keys",(function(){return f(p(this))}),y),g("values",w,y||!v,{name:"values"}),g(u,w,y||!v,{name:"values"})},58867:(e,t,r)=>{"use strict";var n=r(90260),o=r(1702),i=n.aTypedArray,a=n.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},37789:(e,t,r)=>{"use strict";var n=r(90260),o=r(22104),i=r(86583),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},33739:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).map,i=r(66304),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},14483:(e,t,r)=>{"use strict";var n=r(90260),o=r(53671).right,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},29368:(e,t,r)=>{"use strict";var n=r(90260),o=r(53671).left,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},12056:(e,t,r)=>{"use strict";var n=r(90260),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){var e,t=this,r=o(t).length,n=a(r/2),i=0;while(i{"use strict";var n=r(17854),o=r(46916),i=r(90260),a=r(26244),s=r(84590),c=r(47908),u=r(47293),l=n.RangeError,d=n.Int8Array,f=d&&d.prototype,h=f&&f.set,p=i.aTypedArray,g=i.exportTypedArrayMethod,m=!u((function(){var e=new Uint8ClampedArray(2);return o(h,e,{length:1,0:3},1),3!==e[1]})),y=m&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(m)return o(h,this,r,t);var n=this.length,i=a(r),u=0;if(i+t>n)throw new l("Wrong length");while(u{"use strict";var n=r(90260),o=r(66304),i=r(47293),a=r(50206),s=n.aTypedArray,c=n.exportTypedArrayMethod,u=i((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var r=a(s(this),e,t),n=o(this),i=0,c=r.length,u=new n(c);while(c>i)u[i]=r[i++];return u}),u)},27462:(e,t,r)=>{"use strict";var n=r(90260),o=r(42092).some,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:(e,t,r)=>{"use strict";var n=r(17854),o=r(21470),i=r(47293),a=r(19662),s=r(94362),c=r(90260),u=r(68886),l=r(30256),d=r(7392),f=r(98008),h=c.aTypedArray,p=c.exportTypedArrayMethod,g=n.Uint16Array,m=g&&o(g.prototype.sort),y=!!m&&!(i((function(){m(new g(2),null)}))&&i((function(){m(new g(2),{})}))),v=!!m&&!i((function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(m(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),w=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};p("sort",(function(e){return void 0!==e&&a(e),v?m(this,e):s(h(this),w(e))}),!v||y)},55021:(e,t,r)=>{"use strict";var n=r(90260),o=r(17466),i=r(51400),a=r(66304),s=n.aTypedArray,c=n.exportTypedArrayMethod;c("subarray",(function(e,t){var r=s(this),n=r.length,c=i(e,n),u=a(r);return new u(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-c))}))},11712:(e,t,r)=>{"use strict";var n=r(17854),o=r(22104),i=r(90260),a=r(47293),s=r(50206),c=n.Int8Array,u=i.aTypedArray,l=i.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&a((function(){d.call(new c(1))})),h=a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])}));l("toLocaleString",(function(){return o(d,f?s(u(this)):u(this),s(arguments))}),h)},1439:(e,t,r)=>{"use strict";var n=r(21843),o=r(90260),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return n(i(this),s(this))}))},87585:(e,t,r)=>{"use strict";var n=r(90260),o=r(1702),i=r(19662),a=r(97745),s=n.aTypedArray,c=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,l=o(n.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),r=a(c(t),t);return l(r,e)}))},15016:(e,t,r)=>{"use strict";var n=r(90260).exportTypedArrayMethod,o=r(47293),i=r(17854),a=r(1702),s=i.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=a([].join);o((function(){u.call({})}))&&(u=function(){return l(this)});var d=c.toString!==u;n("toString",u,d)},82472:(e,t,r)=>{"use strict";var n=r(19843);n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},55315:(e,t,r)=>{"use strict";var n=r(11572),o=r(90260),i=r(44067),a=r(19303),s=r(64599),c=o.aTypedArray,u=o.getTypedArrayConstructor,l=o.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();l("with",{with:function(e,t){var r=c(this),o=a(e),l=i(r)?s(t):+t;return n(r,u(r),o,l)}}["with"],!d)},41202:(e,t,r)=>{"use strict";var n,o=r(76677),i=r(17854),a=r(1702),s=r(89190),c=r(62423),u=r(77710),l=r(29320),d=r(70111),f=r(29909).enforce,h=r(47293),p=r(94811),g=Object,m=Array.isArray,y=g.isExtensible,v=g.isFrozen,w=g.isSealed,b=g.freeze,_=g.seal,E={},S={},A=!i.ActiveXObject&&"ActiveXObject"in i,T=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},C=u("WeakMap",T,l),x=C.prototype,I=a(x.set),O=function(){return o&&h((function(){var e=b([]);return I(new C,e,1),!v(e)}))};if(p)if(A){n=l.getConstructor(T,"WeakMap",!0),c.enable();var N=a(x["delete"]),P=a(x.has),k=a(x.get);s(x,{delete:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),N(this,e)||t.frozen["delete"](e)}return N(this,e)},has:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),P(this,e)||t.frozen.has(e)}return P(this,e)},get:function(e){if(d(e)&&!y(e)){var t=f(this);return t.frozen||(t.frozen=new n),P(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(d(e)&&!y(e)){var r=f(this);r.frozen||(r.frozen=new n),P(this,e)?I(this,e,t):r.frozen.set(e,t)}else I(this,e,t);return this}})}else O()&&s(x,{set:function(e,t){var r;return m(e)&&(v(e)?r=E:w(e)&&(r=S)),I(this,e,t),r===E&&b(e),r===S&&_(e),this}})},4129:(e,t,r)=>{"use strict";r(41202)},8628:(e,t,r)=>{"use strict";r(9170)},54537:(e,t,r)=>{"use strict";var n=r(5112),o=r(3070).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},97314:(e,t,r)=>{"use strict";r(17922)},96290:(e,t,r)=>{"use strict";r(34668)},77479:(e,t,r)=>{"use strict";var n=r(82109),o=r(78523),i=r(12534);n({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=o.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},5794:(e,t,r)=>{"use strict";var n=r(82109),o=r(78523);n({target:"Promise",stat:!0},{withResolvers:function(){var e=o.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},609:(e,t,r)=>{"use strict";var n=r(17854),o=r(26800),i=r(3070).f,a=r(31236).f,s=n.Symbol;if(o("asyncDispose"),s){var c=a(s,"asyncDispose");c.enumerable&&c.configurable&&c.writable&&i(s,"asyncDispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},21568:(e,t,r)=>{"use strict";var n=r(17854),o=r(26800),i=r(3070).f,a=r(31236).f,s=n.Symbol;if(o("dispose"),s){var c=a(s,"dispose");c.enumerable&&c.configurable&&c.writable&&i(s,"dispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},44177:(e,t,r)=>{"use strict";var n=r(82109),o=r(68238);n({target:"Symbol",stat:!0},{isRegisteredSymbol:o})},96431:(e,t,r)=>{"use strict";var n=r(82109),o=r(68238);n({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:o})},53431:(e,t,r)=>{"use strict";var n=r(82109),o=r(58741);n({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:o})},40050:(e,t,r)=>{"use strict";var n=r(82109),o=r(58741);n({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:o})},54534:(e,t,r)=>{"use strict";var n=r(26800);n("matcher")},34744:(e,t,r)=>{"use strict";var n=r(26800);n("metadataKey")},95090:(e,t,r)=>{"use strict";var n=r(26800);n("metadata")},48824:(e,t,r)=>{"use strict";var n=r(26800);n("observable")},44130:(e,t,r)=>{"use strict";var n=r(26800);n("patternMatch")},35954:(e,t,r)=>{"use strict";var n=r(26800);n("replaceAll")},54747:(e,t,r)=>{"use strict";var n=r(17854),o=r(48324),i=r(98509),a=r(18533),s=r(68880),c=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in o)o[u]&&c(n[u]&&n[u].prototype);c(i)},33948:(e,t,r)=>{"use strict";var n=r(17854),o=r(48324),i=r(98509),a=r(66992),s=r(68880),c=r(5112),u=c("iterator"),l=c("toStringTag"),d=a.values,f=function(e,t){if(e){if(e[u]!==d)try{s(e,u,d)}catch(n){e[u]=d}if(e[l]||s(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(n){e[r]=a[r]}}};for(var h in o)f(n[h]&&n[h].prototype,h);f(i,"DOMTokenList")},96815:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(17152),a=i(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==a},{setInterval:a})},88417:(e,t,r)=>{"use strict";var n=r(82109),o=r(17854),i=r(17152),a=i(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==a},{setTimeout:a})},32564:(e,t,r)=>{"use strict";r(96815),r(88417)},65556:(e,t,r)=>{"use strict";r(66992);var n=r(82109),o=r(17854),i=r(46916),a=r(1702),s=r(19781),c=r(85143),u=r(98052),l=r(47045),d=r(89190),f=r(58003),h=r(63061),p=r(29909),g=r(25787),m=r(60614),y=r(92597),v=r(49974),w=r(70648),b=r(19670),_=r(70111),E=r(41340),S=r(70030),A=r(79114),T=r(18554),C=r(71246),x=r(48053),I=r(5112),O=r(94362),N=I("iterator"),P="URLSearchParams",k=P+"Iterator",R=p.set,M=p.getterFor(P),B=p.getterFor(k),L=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return o[e];var t=L(o,e);return t&&t.value},F=D("fetch"),$=D("Request"),U=D("Headers"),j=$&&$.prototype,z=U&&U.prototype,V=o.RegExp,H=o.TypeError,q=o.decodeURIComponent,G=o.encodeURIComponent,W=a("".charAt),Z=a([].join),K=a([].push),Y=a("".replace),X=a([].shift),J=a([].splice),Q=a("".split),ee=a("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return q(e)}catch(t){return e}},ie=function(e){var t=Y(e,te," "),r=4;try{return q(t)}catch(n){while(r)t=Y(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return se[e]},ue=function(e){return Y(G(e),ae,ce)},le=h((function(e,t){R(this,{type:k,iterator:T(M(e).entries),kind:t})}),"Iterator",(function(){var e=B(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?ee(e,1):e:E(e)))};de.prototype={type:P,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,s,c,u=C(e);if(u){t=T(e,u),r=t.next;while(!(n=i(r,t)).done){if(o=T(b(n.value)),a=o.next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new H("Expected sequence with length 2");K(this.entries,{key:E(s.value),value:E(c.value)})}}else for(var l in e)y(e,l)&&K(this.entries,{key:l,value:E(e[l])})},parseQuery:function(e){if(e){var t,r,n=Q(e,"&"),o=0;while(o0?arguments[0]:void 0,t=R(this,new de(e));s||(this.size=t.entries.length)},he=fe.prototype;if(d(he,{append:function(e,t){var r=M(this);x(arguments.length,2),K(r.entries,{key:E(e),value:E(t)}),s||this.length++,r.updateURL()},delete:function(e){var t=M(this),r=x(arguments.length,1),n=t.entries,o=E(e),i=r<2?void 0:arguments[1],a=void 0===i?i:E(i),c=0;while(ct.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=M(this).entries,n=v(e,arguments.length>1?arguments[1]:void 0),o=0;while(o1?me(arguments[1]):{})}}),m($)){var ye=function(e){return g(this,j),new $(e,arguments.length>1?me(arguments[1]):{})};j.constructor=ye,ye.prototype=j,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:M}},46229:(e,t,r)=>{"use strict";var n=r(98052),o=r(1702),i=r(41340),a=r(48053),s=URLSearchParams,c=s.prototype,u=o(c.append),l=o(c["delete"]),d=o(c.forEach),f=o([].push),h=new s("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];d(this,(function(e,t){f(n,{key:t,value:e})})),a(t,1);var o,s=i(e),c=i(r),h=0,p=0,g=!1,m=n.length;while(h{"use strict";var n=r(98052),o=r(1702),i=r(41340),a=r(48053),s=URLSearchParams,c=s.prototype,u=o(c.getAll),l=o(c.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);a(t,1);var o=i(r),s=0;while(s{"use strict";r(65556)},62062:(e,t,r)=>{"use strict";var n=r(19781),o=r(1702),i=r(47045),a=URLSearchParams.prototype,s=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},68789:(e,t,r)=>{"use strict";r(78783);var n,o=r(82109),i=r(19781),a=r(85143),s=r(17854),c=r(49974),u=r(1702),l=r(98052),d=r(47045),f=r(25787),h=r(92597),p=r(21574),g=r(48457),m=r(41589),y=r(28710).codeAt,v=r(33197),w=r(41340),b=r(58003),_=r(48053),E=r(65556),S=r(29909),A=S.set,T=S.getterFor("URL"),C=E.URLSearchParams,x=E.getState,I=s.URL,O=s.TypeError,N=s.parseInt,P=Math.floor,k=Math.pow,R=u("".charAt),M=u(/./.exec),B=u([].join),L=u(1..toString),D=u([].pop),F=u([].push),$=u("".replace),U=u([].shift),j=u("".split),z=u("".slice),V=u("".toLowerCase),H=u([].unshift),q="Invalid authority",G="Invalid scheme",W="Invalid host",Z="Invalid port",K=/[a-z]/i,Y=/[\d+-.a-z]/i,X=/\d/,J=/^0x/i,Q=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,oe=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ae=/[\t\n\r]/g,se=function(e){var t,r,n,o,i,a,s,c=j(e,".");if(c.length&&""===c[c.length-1]&&c.length--,t=c.length,t>4)return e;for(r=[],n=0;n1&&"0"===R(o,0)&&(i=M(J,o)?16:8,o=z(o,8===i?1:2)),""===o)a=0;else{if(!M(10===i?ee:8===i?Q:te,o))return e;a=N(o,i)}F(r,a)}for(n=0;n=k(256,5-t))return null}else if(a>255)return null;for(s=D(r),n=0;n6)return;n=0;while(f()){if(o=null,n>0){if(!("."===f()&&n<4))return;d++}if(!M(X,f()))return;while(M(X,f())){if(i=N(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}c[u]=256*c[u]+o,n++,2!==n&&4!==n||u++}if(4!==n)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,u++,l=u}}if(null!==l){a=u-l,u=7;while(0!==u&&a>0)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s}else if(8!==u)return;return c},ue=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t},le=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=P(e/256);return B(t,".")}if("object"==typeof e){for(t="",n=ue(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=L(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},de={},fe=p({},de,{" ":1,'"':1,"<":1,">":1,"`":1}),he=p({},fe,{"#":1,"?":1,"{":1,"}":1}),pe=p({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ge=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e,t){var r;return 2===e.length&&M(K,R(e,0))&&(":"===(r=R(e,1))||!t&&"|"===r)},ve=function(e){var t;return e.length>1&&ye(z(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},we=function(e){return"."===e||"%2e"===V(e)},be=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},_e={},Ee={},Se={},Ae={},Te={},Ce={},xe={},Ie={},Oe={},Ne={},Pe={},ke={},Re={},Me={},Be={},Le={},De={},Fe={},$e={},Ue={},je={},ze=function(e,t,r){var n,o,i,a=w(e);if(t){if(o=this.parse(a),o)throw new O(o);this.searchParams=null}else{if(void 0!==r&&(n=new ze(r,!0)),o=this.parse(a,null,n),o)throw new O(o);i=x(new C),i.bindURL(this),this.searchParams=i}};ze.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,c=this,u=t||_e,l=0,d="",f=!1,p=!1,y=!1;e=w(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=$(e,oe,""),e=$(e,ie,"$1")),e=$(e,ae,""),o=g(e);while(l<=o.length){switch(i=o[l],u){case _e:if(!i||!M(K,i)){if(t)return G;u=Se;continue}d+=V(i),u=Ee;break;case Ee:if(i&&(M(Y,i)||"+"===i||"-"===i||"."===i))d+=V(i);else{if(":"!==i){if(t)return G;d="",u=Se,l=0;continue}if(t&&(c.isSpecial()!==h(me,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&me[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?u=Me:c.isSpecial()&&r&&r.scheme===c.scheme?u=Ae:c.isSpecial()?u=Ie:"/"===o[l+1]?(u=Te,l++):(c.cannotBeABaseURL=!0,F(c.path,""),u=$e)}break;case Se:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=m(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=je;break}u="file"===r.scheme?Me:Ce;continue;case Ae:if("/"!==i||"/"!==o[l+1]){u=Ce;continue}u=Oe,l++;break;case Te:if("/"===i){u=Ne;break}u=Fe;continue;case Ce:if(c.scheme=r.scheme,i===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=m(r.path),c.query=r.query;else if("/"===i||"\\"===i&&c.isSpecial())u=xe;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=m(r.path),c.query="",u=Ue;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=m(r.path),c.path.length--,u=Fe;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=m(r.path),c.query=r.query,c.fragment="",u=je}break;case xe:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Fe;continue}u=Ne}else u=Oe;break;case Ie:if(u=Oe,"/"!==i||"/"!==R(d,l+1))continue;l++;break;case Oe:if("/"!==i&&"\\"!==i){u=Ne;continue}break;case Ne:if("@"===i){f&&(d="%40"+d),f=!0,a=g(d);for(var v=0;v65535)return Z;c.port=c.isSpecial()&&E===me[c.scheme]?null:E,d=""}if(t)return;u=De;continue}return Z}d+=i;break;case Me:if(c.scheme="file","/"===i||"\\"===i)u=Be;else{if(!r||"file"!==r.scheme){u=Fe;continue}switch(i){case n:c.host=r.host,c.path=m(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=m(r.path),c.query="",u=Ue;break;case"#":c.host=r.host,c.path=m(r.path),c.query=r.query,c.fragment="",u=je;break;default:ve(B(m(o,l),""))||(c.host=r.host,c.path=m(r.path),c.shortenPath()),u=Fe;continue}}break;case Be:if("/"===i||"\\"===i){u=Le;break}r&&"file"===r.scheme&&!ve(B(m(o,l),""))&&(ye(r.path[0],!0)?F(c.path,r.path[0]):c.host=r.host),u=Fe;continue;case Le:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&ye(d))u=Fe;else if(""===d){if(c.host="",t)return;u=De}else{if(s=c.parseHost(d),s)return s;if("localhost"===c.host&&(c.host=""),t)return;d="",u=De}continue}d+=i;break;case De:if(c.isSpecial()){if(u=Fe,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(u=Fe,"/"!==i))continue}else c.fragment="",u=je;else c.query="",u=Ue;break;case Fe:if(i===n||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(be(d)?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||F(c.path,"")):we(d)?"/"===i||"\\"===i&&c.isSpecial()||F(c.path,""):("file"===c.scheme&&!c.path.length&&ye(d)&&(c.host&&(c.host=""),d=R(d,0)+":"),F(c.path,d)),d="","file"===c.scheme&&(i===n||"?"===i||"#"===i))while(c.path.length>1&&""===c.path[0])U(c.path);"?"===i?(c.query="",u=Ue):"#"===i&&(c.fragment="",u=je)}else d+=ge(i,he);break;case $e:"?"===i?(c.query="",u=Ue):"#"===i?(c.fragment="",u=je):i!==n&&(c.path[0]+=ge(i,de));break;case Ue:t||"#"!==i?i!==n&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":ge(i,de)):(c.fragment="",u=je);break;case je:i!==n&&(c.fragment+=ge(i,fe));break}l++}},parseHost:function(e){var t,r,n;if("["===R(e,0)){if("]"!==R(e,e.length-1))return W;if(t=ce(z(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=v(e),M(re,e))return W;if(t=se(e),null===t)return W;this.host=t}else{if(M(ne,e))return W;for(t="",r=g(e),n=0;n1?arguments[1]:void 0,n=A(t,new ze(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},He=Ve.prototype,qe=function(e,t){return{get:function(){return T(this)[e]()},set:t&&function(e){return T(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(d(He,"href",qe("serialize","setHref")),d(He,"origin",qe("getOrigin")),d(He,"protocol",qe("getProtocol","setProtocol")),d(He,"username",qe("getUsername","setUsername")),d(He,"password",qe("getPassword","setPassword")),d(He,"host",qe("getHost","setHost")),d(He,"hostname",qe("getHostname","setHostname")),d(He,"port",qe("getPort","setPort")),d(He,"pathname",qe("getPathname","setPathname")),d(He,"search",qe("getSearch","setSearch")),d(He,"searchParams",qe("getSearchParams")),d(He,"hash",qe("getHash","setHash"))),l(He,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),l(He,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),I){var Ge=I.createObjectURL,We=I.revokeObjectURL;Ge&&l(Ve,"createObjectURL",c(Ge,I)),We&&l(Ve,"revokeObjectURL",c(We,I))}b(Ve,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ve})},60285:(e,t,r)=>{"use strict";r(68789)},83753:(e,t,r)=>{"use strict";var n=r(82109),o=r(46916);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},70404:(e,t,r)=>{"use strict";var n=r(4370);e.exports=n},86789:(e,t,r)=>{"use strict";var n=r(11414);e.exports=n},21350:(e,t,r)=>{"use strict";var n=r(96414);e.exports=n},66612:(e,t,r)=>{"use strict";var n=r(78526);e.exports=n},16629:(e,t,r)=>{"use strict";var n=r(87323);r(33948),e.exports=n},47385:(e,t,r)=>{"use strict";var n=r(78687);e.exports=n},35657:(e,t,r)=>{"use strict";r(33948);var n=r(70648),o=r(92597),i=r(47976),a=r(21350),s=Array.prototype,c={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===s||i(s,e)&&t===s.entries||o(c,n(e))?a:t}},81709:(e,t,r)=>{"use strict";var n=r(52696);e.exports=n},82978:(e,t,r)=>{"use strict";var n=r(86572);e.exports=n},65719:(e,t,r)=>{"use strict";r(33948);var n=r(70648),o=r(92597),i=r(47976),a=r(66612),s=Array.prototype,c={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===s||i(s,e)&&t===s.forEach||o(c,n(e))?a:t}},43939:(e,t,r)=>{"use strict";var n=r(58648);e.exports=n},84598:(e,t,r)=>{"use strict";var n=r(36754);e.exports=n},48790:(e,t,r)=>{"use strict";var n=r(77342);e.exports=n},32835:(e,t,r)=>{"use strict";var n=r(23289);e.exports=n},77981:(e,t,r)=>{"use strict";var n=r(15220);e.exports=n},19861:(e,t,r)=>{"use strict";var n=r(68491);e.exports=n},22032:(e,t,r)=>{"use strict";var n=r(99197);e.exports=n},73037:(e,t,r)=>{"use strict";var n=r(50604);e.exports=n},4977:(e,t,r)=>{"use strict";var n=r(9116);e.exports=n},31882:(e,t,r)=>{"use strict";var n=r(21200);e.exports=n},16534:(e,t,r)=>{"use strict";var n=r(51505);e.exports=n},75978:(e,t,r)=>{"use strict";var n=r(24678);e.exports=n},82107:(e,t,r)=>{"use strict";var n=r(85302);e.exports=n},69251:(e,t,r)=>{"use strict";var n=r(4172);e.exports=n},16759:(e,t,r)=>{"use strict";var n=r(40889);e.exports=n},76196:(e,t,r)=>{"use strict";var n=r(33608);e.exports=n},88773:(e,t,r)=>{"use strict";var n=r(65007);e.exports=n},9482:(e,t,r)=>{"use strict";var n=r(61514);e.exports=n},12971:(e,t,r)=>{"use strict";var n=r(26017);e.exports=n},71150:(e,t,r)=>{"use strict";var n=r(47633);r(33948),e.exports=n},25914:(e,t,r)=>{"use strict";var n=r(19266);r(33948),e.exports=n},48970:(e,t,r)=>{"use strict";var n=r(45834);r(33948),e.exports=n},7755:(e,t,r)=>{"use strict";var n=r(69051);e.exports=n},8492:(e,t,r)=>{"use strict";var n=r(98504);r(33948),e.exports=n},70753:(e,t,r)=>{"use strict";var n=r(39074);r(33948),e.exports=n},98504:(e,t,r)=>{"use strict";r(41637),r(46229),r(17330),r(62062);var n=r(40857);e.exports=n.URLSearchParams},23482:(e,t,r)=>{"use strict";var n=r(35717),o=r(62318),i=r(79785),a=r(89072),s=r(71027);function c(e){s.call(this,"digest"),this._hash=e}n(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return e=e.toLowerCase(),"md5"===e?new o:"rmd160"===e||"ripemd160"===e?new i:new c(a(e))}},78028:(e,t,r)=>{var n=r(62318);e.exports=function(e){return(new n).update(e).digest()}},31905:function(){(function(e){(function(t){var r={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function n(e){return e&&DataView.prototype.isPrototypeOf(e)}if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function s(e){return"string"!==typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function u(e){this.map={},e instanceof u?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function f(e){var t=new FileReader,r=d(t);return t.readAsArrayBuffer(e),r}function h(e){var t=new FileReader,r=d(t);return t.readAsText(e),r}function p(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?t:e}function w(e,t){t=t||{};var r=t.body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=v(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function _(e){var t=new u,r=e.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];E.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(T){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function A(e,n){return new Promise((function(o,i){var a=new w(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:_(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;o(new E(t,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&r.blob&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}A.polyfill=!0,e.fetch||(e.fetch=A,e.Headers=u,e.Request=w,e.Response=E),t.Headers=u,t.Request=w,t.Response=E,t.fetch=A,Object.defineProperty(t,"__esModule",{value:!0})})({})})("undefined"!==typeof self?self:this)},27484:function(e){!function(t,r){e.exports=r()}(0,(function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",c="week",u="month",l="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!n&&o&&(w=o),o||!n&&w},A=function(e,t){if(E(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new C(r)},T=v;T.l=S,T.i=E,T.w=function(e,t){return A(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return T},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=A(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return A(e)0,m<=g.r||!g.r){m<=1&&p>0&&(g=f[p-1]);var y=d[g.l];s&&(m=s(""+m)),u="string"==typeof y?y.replace("%d",m):y(m,n,g.l,l);break}}if(n)return u;var v=l?d.future:d.past;return"function"==typeof v?v(u):v.replace("%s",u)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}))},43631:(e,t,r)=>{"use strict";r.d(t,{qY:()=>p});var n=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.ECPairFactory=t.networks=void 0;const o=r(14644);t.networks=o;const i=r(4844),a=r(61798),s=r(37174),c=r(25049),u=i.typeforce.maybe(i.typeforce.compile({compressed:i.maybe(i.Boolean),network:i.maybe(i.Network)})),l=e=>32===e.length?e:e.slice(1,33);function d(e){function t(t){return e.isPoint(t)}function r(t,r){if(i.typeforce(i.Buffer256bit,t),!e.isPrivate(t))throw new TypeError("Private key not in range [1, n)");return i.typeforce(u,r),new p(t,void 0,r)}function d(t,r){return i.typeforce(e.isPoint,t),i.typeforce(u,r),new p(void 0,t,r)}function f(e,t){const n=s.decode(e),a=n.version;if(i.Array(t)){if(t=t.filter((e=>a===e.wif)).pop(),!t)throw new Error("Unknown network version")}else if(t=t||o.bitcoin,a!==t.wif)throw new Error("Invalid network version");return r(n.privateKey,{compressed:n.compressed,network:t})}function h(t){i.typeforce(u,t),void 0===t&&(t={});const n=t.rng||a;let o;do{o=n(32),i.typeforce(i.Buffer256bit,o)}while(!e.isPrivate(o));return r(o,t)}(0,c.testEcc)(e);class p{__D;__Q;compressed;network;lowR;constructor(t,r,i){this.__D=t,this.__Q=r,this.lowR=!1,void 0===i&&(i={}),this.compressed=void 0===i.compressed||i.compressed,this.network=i.network||o.bitcoin,void 0!==r&&(this.__Q=n.from(e.pointCompress(r,this.compressed)))}get privateKey(){return this.__D}get publicKey(){if(!this.__Q){const t=e.pointFromScalar(this.__D,this.compressed);this.__Q=n.from(t)}return this.__Q}toWIF(){if(!this.__D)throw new Error("Missing private key");return s.encode(this.network.wif,this.__D,this.compressed)}tweak(e){return this.privateKey?this.tweakFromPrivateKey(e):this.tweakFromPublicKey(e)}sign(t,r){if(!this.__D)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return n.from(e.sign(t,this.__D));{let r=e.sign(t,this.__D);const o=n.alloc(32,0);let i=0;while(r[0]>127)i++,o.writeUIntLE(i,0,6),r=e.sign(t,this.__D,o);return n.from(r)}}signSchnorr(t){if(!this.privateKey)throw new Error("Missing private key");if(!e.signSchnorr)throw new Error("signSchnorr not supported by ecc library");return n.from(e.signSchnorr(t,this.privateKey))}verify(t,r){return e.verify(t,this.publicKey,r)}verifySchnorr(t,r){if(!e.verifySchnorr)throw new Error("verifySchnorr not supported by ecc library");return e.verifySchnorr(t,this.publicKey.subarray(1,33),r)}tweakFromPublicKey(t){const r=l(this.publicKey),o=e.xOnlyPointAddTweak(r,t);if(!o||null===o.xOnlyPubkey)throw new Error("Cannot tweak public key!");const i=n.from([0===o.parity?2:3]);return d(n.concat([i,o.xOnlyPubkey]),{network:this.network,compressed:this.compressed})}tweakFromPrivateKey(t){const o=3===this.publicKey[0]||4===this.publicKey[0]&&1===(1&this.publicKey[64]),i=o?e.privateNegate(this.privateKey):this.privateKey,a=e.privateAdd(i,t);if(!a)throw new Error("Invalid tweaked private key!");return r(n.from(a),{network:this.network,compressed:this.compressed})}}return{isPoint:t,fromPrivateKey:r,fromPublicKey:d,fromWIF:f,makeRandom:h}}t.ECPairFactory=d},45217:(e,t,r)=>{"use strict";t.ZP=void 0;var n=r(86428);Object.defineProperty(t,"ZP",{enumerable:!0,get:function(){return n.ECPairFactory}})},14644:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testnet=t.bitcoin=void 0,t.bitcoin={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},t.testnet={messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}},25049:(e,t,r)=>{"use strict";var n=r(48764)["Buffer"];Object.defineProperty(t,"__esModule",{value:!0}),t.testEcc=void 0;const o=e=>n.from(e,"hex");function i(e){a(e.isPoint(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(!e.isPoint(o("030000000000000000000000000000000000000000000000000000000000000005"))),a(e.isPrivate(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(!e.isPrivate(o("0000000000000000000000000000000000000000000000000000000000000000"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"))),a(!e.isPrivate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142"))),a(n.from(e.privateAdd(o("0000000000000000000000000000000000000000000000000000000000000001"),o("0000000000000000000000000000000000000000000000000000000000000000"))).equals(o("0000000000000000000000000000000000000000000000000000000000000001"))),a(null===e.privateAdd(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"),o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateAdd(o("e211078564db65c3ce7704f08262b1f38f1ef412ad15b5ac2d76657a63b2c500"),o("b51fbb69051255d1becbd683de5848242a89c229348dd72896a87ada94ae8665"))).equals(o("9730c2ee69edbb958d42db7460bafa18fef9d955325aec99044c81c8282b0a24"))),a(n.from(e.privateNegate(o("0000000000000000000000000000000000000000000000000000000000000001"))).equals(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))),a(n.from(e.privateNegate(o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e"))).equals(o("0000000000000000000000000000000000000000000000000000000000000003"))),a(n.from(e.privateNegate(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("4eede1bf775995d70a494f0a7bb6bc11e0b8cccd41cce8009ab1132c8b0a3792"))),a(n.from(e.pointCompress(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"),!0)).equals(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(n.from(e.pointCompress(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"),!1)).equals(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"))),a(n.from(e.pointCompress(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),!0)).equals(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"))),a(n.from(e.pointCompress(o("0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),!1)).equals(o("0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"))),a(n.from(e.pointFromScalar(o("b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af"))).equals(o("02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99"))),a(null===e.xOnlyPointAddTweak(o("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140")));let t=e.xOnlyPointAddTweak(o("1617d38ed8d8657da4d4761e8057bc396ea9e4b9d29776d4be096016dbd2509b"),o("a8397a935f0dfceba6ba9618f6451ef4d80637abf4e6af2669fbc9de6a8fd2ac"));a(n.from(t.xOnlyPubkey).equals(o("e478f99dab91052ab39a33ea35fd5e6e4933f4d28023cd597c9a1f6760346adf"))&&1===t.parity),t=e.xOnlyPointAddTweak(o("2c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991"),o("823c3cd2142744b075a87eade7e1b8678ba308d566226a0056ca2b7a76f86b47")),a(n.from(t.xOnlyPubkey).equals(o("9534f8dc8c6deda2dc007655981c78b49c5d96c778fbf363462a11ec9dfd948c"))&&0===t.parity),a(n.from(e.sign(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"))).equals(o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),a(e.verify(o("5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed"),o("0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),o("54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5"))),e.signSchnorr&&a(n.from(e.signSchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9"),o("c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906"))).equals(o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7"))),e.verifySchnorr&&a(e.verifySchnorr(o("7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c"),o("dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8"),o("5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7")))}function a(e){if(!e)throw new Error("ecc library invalid")}t.testEcc=i},4844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybe=t.Boolean=t.Array=t.Buffer256bit=t.Network=t.typeforce=void 0,t.typeforce=r(2401),t.Network=t.typeforce.compile({messagePrefix:t.typeforce.oneOf(t.typeforce.Buffer,t.typeforce.String),bip32:{public:t.typeforce.UInt32,private:t.typeforce.UInt32},pubKeyHash:t.typeforce.UInt8,scriptHash:t.typeforce.UInt8,wif:t.typeforce.UInt8}),t.Buffer256bit=t.typeforce.BufferN(32),t.Array=t.typeforce.Array,t.Boolean=t.typeforce.Boolean,t.maybe=t.typeforce.maybe},17187:e=>{"use strict";var t,r="object"===typeof Reflect?Reflect:null,n=r&&"function"===typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function o(e){console&&console.warn&&console.warn(e)}t=r&&"function"===typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function a(){a.init.call(this)}e.exports=a,e.exports.once=v,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,a,s;if(c(r),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"===typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=u(e),i>0&&s.length>i&&!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,o(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function h(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"===typeof o?r?[o.listener||o]:[o]:r?y(o):g(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)n(c,this,t);else{var u=c.length,l=g(c,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():m(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},17648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!==typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,s=r.call(arguments,1),c=function(){if(this instanceof a){var t=i.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(r.call(arguments)))},u=Math.max(0,i.length-s.length),l=[],d=0;d{"use strict";var n=r(17648);e.exports=Function.prototype.bind||n},40210:(e,t,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(P){c=null}var u=function(){throw new a},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(t){return u}}}():u,d=r(41405)(),f=r(28185)(),h=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),p={},g="undefined"!==typeof Uint8Array&&h?h(Uint8Array):n,m={"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d&&h?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&h?h(h([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d&&h?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d&&h?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&h?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(h)try{null.error}catch(P){var y=h(h(P));m["%Error.prototype%"]=y}var v=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&h&&(r=h(o.prototype))}return m[t]=r,r},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=r(58612),_=r(17642),E=b.call(Function.call,Array.prototype.concat),S=b.call(Function.apply,Array.prototype.splice),A=b.call(Function.call,String.prototype.replace),T=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e){var t=T(e,0,1),r=T(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,x,(function(e,t,r,o){n[n.length]=r?A(o,I,"$1"):t||e})),n},N=function(e,t){var r,n=e;if(_(w,n)&&(r=w[n],n="%"+r[0]+"%"),_(m,n)){var i=m[n];if(i===p&&(i=v(n)),"undefined"===typeof i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=O(e),n=r.length>0?r[0]:"",i=N("%"+n+"%",t),s=i.name,u=i.value,l=!1,d=i.alias;d&&(n=d[0],S(r,E([0,1],d)));for(var f=1,h=!0;f=r.length){var v=c(u,p);h=!!v,u=h&&"get"in v&&!("originalValue"in v.get)?v.get:u[p]}else h=_(u,p),u=u[p];h&&!l&&(m[s]=u)}}return u}},28185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},41405:(e,t,r)=>{"use strict";var n="undefined"!==typeof Symbol&&Symbol,o=r(55419);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},55419:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==n||!0!==i.enumerable)return!1}return!0}},17642:(e,t,r)=>{"use strict";var n=r(58612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},3349:(e,t,r)=>{"use strict";var n=r(89509).Buffer,o=r(88473).Transform,i=r(35717);function a(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}function s(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(s,o),s.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(o){n=o}r(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},s.prototype.update=function(e,t){if(a(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));var r=this._block,o=0;while(this._blockOffset+e.length-o>=this._blockSize){for(var i=this._blockOffset;i0;++s)this._length[s]+=c,c=this._length[s]/4294967296|0,c>0&&(this._length[s]-=4294967296*c);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},80645:(e,t)=>{ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,c=(1<>1,l=-7,d=r?o-1:0,f=r?-1:1,h=e[t+d];for(d+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+d],d+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=u}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+d>=1?f/c:f*Math.pow(2,1-d),t*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*c-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*g}},35717:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},5880:(e,t,r)=>{"use strict";r.r(t),r.d(t,{scopeCss:()=>Z}); -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * - * This file is a port of shadowCSS from webcomponents.js to TypeScript. - * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js - * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts - */ -const n=e=>{const t=[];let r=0;e=e.replace(/(\[[^\]]*\])/g,((e,n)=>{const o=`__ph-${r}__`;return t.push(n),r++,o}));const n=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,n,o)=>{const i=`__ph-${r}__`;return t.push(o),r++,n+i})),o={content:n,placeholders:t};return o},o=(e,t)=>t.replace(/__ph-(\d+)__/g,((t,r)=>e[+r])),i="-shadowcsshost",a="-shadowcssslotted",s="-shadowcsscontext",c=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",u=new RegExp("("+i+c,"gim"),l=new RegExp("("+s+c,"gim"),d=new RegExp("("+a+c,"gim"),f=i+"-no-combinator",h=/-shadowcsshost-no-combinator([^\s]*)/,p=[/::shadow/g,/::content/g],g="([>\\s~+[.,{:][\\s\\S]*)?$",m=/-shadowcsshost/gim,y=/:host/gim,v=/::slotted/gim,w=/:host-context/gim,b=/\/\*\s*[\s\S]*?\*\//g,_=e=>e.replace(b,""),E=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,S=e=>e.match(E)||[],A=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,T=/([{}])/g,C=/(^.*?[^\\])??((:+)(.*)|$)/,x="{",I="}",O="%BLOCK%",N=(e,t)=>{const r=P(e);let n=0;return r.escapedString.replace(A,((...e)=>{const o=e[2];let i="",a=e[4],s="";a&&a.startsWith("{"+O)&&(i=r.blocks[n++],a=a.substring(O.length+1),s="{");const c={selector:o,content:i},u=t(c);return`${e[1]}${u.selector}${e[3]}${s}${u.content}${a}`}))},P=e=>{const t=e.split(T),r=[],n=[];let o=0,i=[];for(let s=0;s0?i.push(e):(i.length>0&&(n.push(i.join("")),r.push(O),i=[]),r.push(e)),e===x&&o++}i.length>0&&(n.push(i.join("")),r.push(O));const a={escapedString:r.join(""),blocks:n};return a},k=e=>(e=e.replace(w,s).replace(y,i).replace(v,a),e),R=(e,t,r)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),n=[];for(let o=0;oe+t.replace(i,"")+r,B=e=>R(e,u,M),L=(e,t,r)=>t.indexOf(i)>-1?M(e,t,r):e+t+r+", "+t+" "+e+r,D=(e,t)=>{const r="."+t+" > ",n=[];return e=e.replace(d,((...e)=>{if(e[2]){const t=e[2].trim(),o=e[3],i=r+t+o;let a="";for(let r=e[4]-1;r>=0;r--){const t=e[5][r];if("}"===t||","===t)break;a=t+a}const s=a+i,c=`${a.trimRight()}${i.trim()}`;if(s.trim()!==c.trim()){const e=`${c}, ${s}`;n.push({orgSelector:s,updatedSelector:e})}return i}return f+e[3]})),{selectors:n,cssText:e}},F=e=>R(e,l,L),$=e=>p.reduce(((e,t)=>e.replace(t," ")),e),U=e=>{const t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+g,"m")},j=(e,t)=>{const r=U(t);return!r.test(e)},z=(e,t)=>e.replace(C,((e,r="",n,o="",i="")=>r+t+o+i)),V=(e,t,r)=>{if(m.lastIndex=0,m.test(e)){const t=`.${r}`;return e.replace(h,((e,r)=>z(r,t))).replace(m,t+" ")}return t+" "+e},H=(e,t,r)=>{const i=/\[is=([^\]]*)\]/g;t=t.replace(i,((e,...t)=>t[0]));const a="."+t,s=e=>{let n=e.trim();if(!n)return"";if(e.indexOf(f)>-1)n=V(e,t,r);else{const t=e.replace(m,"");t.length>0&&(n=z(t,a))}return n},c=n(e);e=c.content;let u,l="",d=0;const h=/( |>|\+|~(?!=))\s*/g,p=e.indexOf(f)>-1;let g=!p;while(null!==(u=h.exec(e))){const t=u[1],r=e.slice(d,u.index).trim();g=g||r.indexOf(f)>-1;const n=g?s(r):r;l+=`${n} ${t} `,d=h.lastIndex}const y=e.substring(d);return g=g||y.indexOf(f)>-1,l+=g?s(y):y,o(c.placeholders,l)},q=(e,t,r,n)=>e.split(",").map((e=>n&&e.indexOf("."+n)>-1?e.trim():j(e,t)?H(e,t,r).trim():e.trim())).join(", "),G=(e,t,r,n,o)=>N(e,(e=>{let o=e.selector,i=e.content;"@"!==e.selector[0]?o=q(e.selector,t,r,n):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=G(e.content,t,r,n));const a={selector:o.replace(/\s{2,}/g," ").trim(),content:i};return a})),W=(e,t,r,n,o)=>{e=k(e),e=B(e),e=F(e);const i=D(e,n);return e=i.cssText,e=$(e),t&&(e=G(e,t,r,n)),e=e.replace(/-shadowcsshost-no-combinator/g,`.${r}`),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors}},Z=(e,t,r)=>{const n=t+"-h",o=t+"-s",i=S(e);e=_(e);const a=[];if(r){const t=e=>{const t=`/*!@___${a.length}___*/`,r=`/*!@${e.selector}*/`;return a.push({placeholder:t,comment:r}),e.selector=t+e.selector,e};e=N(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=N(e.content,t),e):e))}const s=W(e,t,n,o);return e=[s.cssText,...i].join("\n"),r&&a.forEach((({placeholder:t,comment:r})=>{e=e.replace(t,r)})),s.slottedSelectors.forEach((t=>{e=e.replace(t.orgSelector,t.updatedSelector)})),e}},4400:(e,t,r)=>{var n=r(54123).stringify,o=r(26813);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},26813:(e,t,r)=>{var n=null;const o=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,i=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var a=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(void 0!==e&&null!==e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,"undefined"!==typeof e.constructorAction){if("error"!==e.constructorAction&&"ignore"!==e.constructorAction&&"preserve"!==e.constructorAction)throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);t.constructorAction=e.constructorAction}if("undefined"!==typeof e.protoAction){if("error"!==e.protoAction&&"ignore"!==e.protoAction&&"preserve"!==e.protoAction)throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`);t.protoAction=e.protoAction}}var a,s,c,u,l={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},d=function(e){throw{name:"SyntaxError",message:e,at:a,text:c}},f=function(e){return e&&e!==s&&d("Expected '"+e+"' instead of '"+s+"'"),s=c.charAt(a),a+=1,s},h=function(){var e,o="";"-"===s&&(o="-",f("-"));while(s>="0"&&s<="9")o+=s,f();if("."===s){o+=".";while(f()&&s>="0"&&s<="9")o+=s}if("e"===s||"E"===s){o+=s,f(),"-"!==s&&"+"!==s||(o+=s,f());while(s>="0"&&s<="9")o+=s,f()}if(e=+o,isFinite(e))return null==n&&(n=r(44431)),o.length>15?t.storeAsString?o:t.useNativeBigInt?BigInt(o):new n(o):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new n(e):e;d("Bad number")},p=function(){var e,t,r,n="";if('"'===s){var o=a;while(f()){if('"'===s)return a-1>o&&(n+=c.substring(o,a-1)),f(),n;if("\\"===s){if(a-1>o&&(n+=c.substring(o,a-1)),f(),"u"===s){for(r=0,t=0;t<4;t+=1){if(e=parseInt(f(),16),!isFinite(e))break;r=16*r+e}n+=String.fromCharCode(r)}else{if("string"!==typeof l[s])break;n+=l[s]}o=a}}}d("Bad string")},g=function(){while(s&&s<=" ")f()},m=function(){switch(s){case"t":return f("t"),f("r"),f("u"),f("e"),!0;case"f":return f("f"),f("a"),f("l"),f("s"),f("e"),!1;case"n":return f("n"),f("u"),f("l"),f("l"),null}d("Unexpected '"+s+"'")},y=function(){var e=[];if("["===s){if(f("["),g(),"]"===s)return f("]"),e;while(s){if(e.push(u()),g(),"]"===s)return f("]"),e;f(","),g()}}d("Bad array")},v=function(){var e,r=Object.create(null);if("{"===s){if(f("{"),g(),"}"===s)return f("}"),r;while(s){if(e=p(),g(),f(":"),!0===t.strict&&Object.hasOwnProperty.call(r,e)&&d('Duplicate key "'+e+'"'),!0===o.test(e)?"error"===t.protoAction?d("Object contains forbidden prototype property"):"ignore"===t.protoAction?u():r[e]=u():!0===i.test(e)?"error"===t.constructorAction?d("Object contains forbidden constructor property"):"ignore"===t.constructorAction?u():r[e]=u():r[e]=u(),g(),"}"===s)return f("}"),r;f(","),g()}}d("Bad object")};return u=function(){switch(g(),s){case"{":return v();case"[":return y();case'"':return p();case"-":return h();default:return s>="0"&&s<="9"?h():m()}},function(e,t){var r;return c=e+"",a=0,s=" ",r=u(),g(),s&&d("Syntax error"),"function"===typeof t?function e(r,n){var o,i=r[n];return i&&"object"===typeof i&&Object.keys(i).forEach((function(t){o=e(i,t),void 0!==o?i[t]=o:delete i[t]})),t.call(r,n,i)}({"":r},""):r}};e.exports=a},54123:(e,t,r)=>{var n=r(44431),o=e.exports;(function(){"use strict";var e,t,r,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function c(o,i){var a,u,l,d,f,h=e,p=i[o],g=null!=p&&(p instanceof n||n.isBigNumber(p));switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(o)),"function"===typeof r&&(p=r.call(i,o,p)),typeof p){case"string":return g?p:s(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":case"bigint":return String(p);case"object":if(!p)return"null";if(e+=t,f=[],"[object Array]"===Object.prototype.toString.apply(p)){for(d=p.length,a=0;a{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=0;o{"use strict";var n=r(35717),o=r(3349),i=r(89509).Buffer,a=new Array(16);function s(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,r,n,o,i,a){return c(e+(t&r|~t&n)+o+i|0,a)+t|0}function l(e,t,r,n,o,i,a){return c(e+(t&n|r&~n)+o+i|0,a)+t|0}function d(e,t,r,n,o,i,a){return c(e+(t^r^n)+o+i|0,a)+t|0}function f(e,t,r,n,o,i,a){return c(e+(r^(t|~n))+o+i|0,a)+t|0}n(s,o),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;r=u(r,n,o,i,e[0],3614090360,7),i=u(i,r,n,o,e[1],3905402710,12),o=u(o,i,r,n,e[2],606105819,17),n=u(n,o,i,r,e[3],3250441966,22),r=u(r,n,o,i,e[4],4118548399,7),i=u(i,r,n,o,e[5],1200080426,12),o=u(o,i,r,n,e[6],2821735955,17),n=u(n,o,i,r,e[7],4249261313,22),r=u(r,n,o,i,e[8],1770035416,7),i=u(i,r,n,o,e[9],2336552879,12),o=u(o,i,r,n,e[10],4294925233,17),n=u(n,o,i,r,e[11],2304563134,22),r=u(r,n,o,i,e[12],1804603682,7),i=u(i,r,n,o,e[13],4254626195,12),o=u(o,i,r,n,e[14],2792965006,17),n=u(n,o,i,r,e[15],1236535329,22),r=l(r,n,o,i,e[1],4129170786,5),i=l(i,r,n,o,e[6],3225465664,9),o=l(o,i,r,n,e[11],643717713,14),n=l(n,o,i,r,e[0],3921069994,20),r=l(r,n,o,i,e[5],3593408605,5),i=l(i,r,n,o,e[10],38016083,9),o=l(o,i,r,n,e[15],3634488961,14),n=l(n,o,i,r,e[4],3889429448,20),r=l(r,n,o,i,e[9],568446438,5),i=l(i,r,n,o,e[14],3275163606,9),o=l(o,i,r,n,e[3],4107603335,14),n=l(n,o,i,r,e[8],1163531501,20),r=l(r,n,o,i,e[13],2850285829,5),i=l(i,r,n,o,e[2],4243563512,9),o=l(o,i,r,n,e[7],1735328473,14),n=l(n,o,i,r,e[12],2368359562,20),r=d(r,n,o,i,e[5],4294588738,4),i=d(i,r,n,o,e[8],2272392833,11),o=d(o,i,r,n,e[11],1839030562,16),n=d(n,o,i,r,e[14],4259657740,23),r=d(r,n,o,i,e[1],2763975236,4),i=d(i,r,n,o,e[4],1272893353,11),o=d(o,i,r,n,e[7],4139469664,16),n=d(n,o,i,r,e[10],3200236656,23),r=d(r,n,o,i,e[13],681279174,4),i=d(i,r,n,o,e[0],3936430074,11),o=d(o,i,r,n,e[3],3572445317,16),n=d(n,o,i,r,e[6],76029189,23),r=d(r,n,o,i,e[9],3654602809,4),i=d(i,r,n,o,e[12],3873151461,11),o=d(o,i,r,n,e[15],530742520,16),n=d(n,o,i,r,e[2],3299628645,23),r=f(r,n,o,i,e[0],4096336452,6),i=f(i,r,n,o,e[7],1126891415,10),o=f(o,i,r,n,e[14],2878612391,15),n=f(n,o,i,r,e[5],4237533241,21),r=f(r,n,o,i,e[12],1700485571,6),i=f(i,r,n,o,e[3],2399980690,10),o=f(o,i,r,n,e[10],4293915773,15),n=f(n,o,i,r,e[1],2240044497,21),r=f(r,n,o,i,e[8],1873313359,6),i=f(i,r,n,o,e[15],4264355552,10),o=f(o,i,r,n,e[6],2734768916,15),n=f(n,o,i,r,e[13],1309151649,21),r=f(r,n,o,i,e[4],4149444226,6),i=f(i,r,n,o,e[11],3174756917,10),o=f(o,i,r,n,e[2],718787259,15),n=f(n,o,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},70631:(e,t,r)=>{var n="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"===typeof o.get?o.get:null,a=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"===typeof c.get?c.get:null,l=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype,f=d?WeakMap.prototype.has:null,h="function"===typeof WeakSet&&WeakSet.prototype,p=h?WeakSet.prototype.has:null,g="function"===typeof WeakRef&&WeakRef.prototype,m=g?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,v=Object.prototype.toString,w=Function.prototype.toString,b=String.prototype.match,_=String.prototype.slice,E=String.prototype.replace,S=String.prototype.toUpperCase,A=String.prototype.toLowerCase,T=RegExp.prototype.test,C=Array.prototype.concat,x=Array.prototype.join,I=Array.prototype.slice,O=Math.floor,N="function"===typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"===typeof Symbol&&"object"===typeof Symbol.iterator,M="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,L=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||T.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-O(-e):O(e);if(n!==e){var o=String(n),i=_.call(t,o.length+1);return E.call(o,r,"$&_")+"."+E.call(E.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(t,r,"$&_")}var F=r(24654),$=F.custom,U=Y($)?$:null;function j(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function z(e){return E.call(String(e),/"/g,""")}function V(e){return"[object Array]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function H(e){return"[object Date]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function q(e){return"[object RegExp]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function G(e){return"[object Error]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function W(e){return"[object String]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function Z(e){return"[object Number]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function K(e){return"[object Boolean]"===ee(e)&&(!M||!("object"===typeof e&&M in e))}function Y(e){if(R)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!k)return!1;try{return k.call(e),!0}catch(t){}return!1}function X(e){if(!e||"object"!==typeof e||!N)return!1;try{return N.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,n,o){var s=r||{};if(Q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Q(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!Q(s,"customInspect")||s.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Q(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Q(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return ue(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var f=String(t);return d?D(t,f):f}if("bigint"===typeof t){var h=String(t)+"n";return d?D(t,h):h}var p="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof n&&(n=0),n>=p&&p>0&&"object"===typeof t)return V(t)?"[Array]":"[Object]";var g=ge(s,n);if("undefined"===typeof o)o=[];else if(re(o,t)>=0)return"[Circular]";function m(t,r,i){if(r&&(o=I.call(o),o.push(r)),i){var a={depth:s.depth};return Q(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,n+1,o)}return e(t,s,n+1,o)}if("function"===typeof t&&!q(t)){var v=te(t),w=ye(t,m);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(w.length>0?" { "+x.call(w,", ")+" }":"")}if(Y(t)){var b=R?E.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(t);return"object"!==typeof t||R?b:de(b)}if(ce(t)){for(var S="<"+A.call(String(t.nodeName)),T=t.attributes||[],O=0;O",S}if(V(t)){if(0===t.length)return"[]";var P=ye(t,m);return g&&!pe(P)?"["+me(P,g)+"]":"[ "+x.call(P,", ")+" ]"}if(G(t)){var $=ye(t,m);return"cause"in Error.prototype||!("cause"in t)||B.call(t,"cause")?0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call($,", ")+" }":"{ ["+String(t)+"] "+x.call(C.call("[cause]: "+m(t.cause),$),", ")+" }"}if("object"===typeof t&&c){if(U&&"function"===typeof t[U]&&F)return F(t,{depth:p-n});if("symbol"!==c&&"function"===typeof t.inspect)return t.inspect()}if(ne(t)){var J=[];return a&&a.call(t,(function(e,r){J.push(m(r,t,!0)+" => "+m(e,t))})),he("Map",i.call(t),J,g)}if(ae(t)){var le=[];return l&&l.call(t,(function(e){le.push(m(e,t))})),he("Set",u.call(t),le,g)}if(oe(t))return fe("WeakMap");if(se(t))return fe("WeakSet");if(ie(t))return fe("WeakRef");if(Z(t))return de(m(Number(t)));if(X(t))return de(m(N.call(t)));if(K(t))return de(y.call(t));if(W(t))return de(m(String(t)));if(!H(t)&&!q(t)){var ve=ye(t,m),we=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,be=t instanceof Object?"":"null prototype",_e=!we&&M&&Object(t)===t&&M in t?_.call(ee(t),8,-1):be?"Object":"",Ee=we||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Se=Ee+(_e||be?"["+x.call(C.call([],_e||[],be||[]),": ")+"] ":"");return 0===ve.length?Se+"{}":g?Se+"{"+me(ve,g)+"}":Se+"{ "+x.call(ve,", ")+" }"}return String(t)};var J=Object.prototype.hasOwnProperty||function(e){return e in this};function Q(e,t){return J.call(e,t)}function ee(e){return v.call(e)}function te(e){if(e.name)return e.name;var t=b.call(w.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function re(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ue(_.call(e,0,t.maxStringLength),t)+n}var o=E.call(E.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,le);return j(o,"single",t)}function le(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+S.call(t.toString(16))}function de(e){return"Object("+e+")"}function fe(e){return e+" { ? }"}function he(e,t,r,n){var o=n?me(r,n):x.call(r,", ");return e+" ("+t+") {"+o+"}"}function pe(e){for(var t=0;t=0)return!1;return!0}function ge(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}function me(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function ye(e,t){var r=V(e),n=[];if(r){n.length=e.length;for(var o=0;o{r(88638),t.pbkdf2Sync=r(91257)},88638:(e,t,r)=>{var n,o,i=r(89509).Buffer,a=r(77357),s=r(12368),c=r(91257),u=r(57777),l=r.g.crypto&&r.g.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function h(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];n=n||i.alloc(8);var t=g(n,n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=t,t}function p(){return o||(o=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout,o)}function g(e,t,r,n,o){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}function m(e,t){e.then((function(e){p()((function(){t(null,e)}))}),(function(e){p()((function(){t(e)}))}))}e.exports=function(e,t,n,o,i,l){"function"===typeof i&&(l=i,i=void 0),i=i||"sha1";var f=d[i.toLowerCase()];if(f&&"function"===typeof r.g.Promise){if(a(n,o),e=u(e,s,"Password"),t=u(t,s,"Salt"),"function"!==typeof l)throw new Error("No callback provided to pbkdf2");m(h(f).then((function(r){return r?g(e,t,n,o,f):c(e,t,n,o,i)})),l)}else p()((function(){var r;try{r=c(e,t,n,o,i)}catch(a){return l(a)}l(null,r)}))}},12368:(e,t,r)=>{var n;if(r.g.process&&r.g.process.browser)n="utf-8";else if(r.g.process&&r.g.process.version){var o=parseInt(process.version.split(".")[0].slice(1),10);n=o>=6?"utf-8":"binary"}else n="utf-8";e.exports=n},77357:e=>{var t=Math.pow(2,30)-1;e.exports=function(e,r){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof r)throw new TypeError("Key length not a number");if(r<0||r>t||r!==r)throw new TypeError("Bad key length")}},91257:(e,t,r)=>{var n=r(78028),o=r(79785),i=r(89072),a=r(89509).Buffer,s=r(77357),c=r(12368),u=r(57777),l=a.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(e,t,r){var n=h(e),o="sha512"===e||"sha384"===e?128:64;t.length>o?t=n(t):t.length{var n=r(89509).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},91915:e=>{!function(t,r){e.exports=r()}(self,(function(){return(()=>{var e={192:(e,t)=>{var r,n,o=function(){var e=function(e,t){var r=e,n=a[t],o=null,i=0,c=null,m=[],y={},w=function(e,t){o=function(e){for(var t=new Array(e),r=0;r=7&&S(e),null==c&&(c=C(r,n,m)),T(c,t)},b=function(e,t){for(var r=-1;r<=7;r+=1)if(!(e+r<=-1||i<=e+r))for(var n=-1;n<=7;n+=1)t+n<=-1||i<=t+n||(o[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},_=function(){for(var e=8;e>n&1);o[Math.floor(n/3)][n%3+i-8-3]=a}for(n=0;n<18;n+=1)a=!e&&1==(t>>n&1),o[n%3+i-8-3][Math.floor(n/3)]=a},A=function(e,t){for(var r=n<<3|t,a=s.getBCHTypeInfo(r),c=0;c<15;c+=1){var u=!e&&1==(a>>c&1);c<6?o[c][8]=u:c<8?o[c+1][8]=u:o[i-15+c][8]=u}for(c=0;c<15;c+=1)u=!e&&1==(a>>c&1),c<8?o[8][i-c-1]=u:c<9?o[8][15-c-1+1]=u:o[8][15-c-1]=u;o[i-8][8]=!e},T=function(e,t){for(var r=-1,n=i-1,a=7,c=0,u=s.getMaskFunction(t),l=i-1;l>0;l-=2)for(6==l&&(l-=1);;){for(var d=0;d<2;d+=1)if(null==o[n][l-d]){var f=!1;c>>a&1)),u(n,l-d)&&(f=!f),o[n][l-d]=f,-1==(a-=1)&&(c+=1,a=7)}if((n+=r)<0||i<=n){n-=r,r=-r;break}}},C=function(e,t,r){for(var n=l.getRSBlocks(e,t),o=d(),i=0;i8*c)throw"code length overflow. ("+o.getLengthInBits()+">"+8*c+")";for(o.getLengthInBits()+4<=8*c&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*c||(o.put(236,8),o.getLengthInBits()>=8*c));)o.put(17,8);return function(e,t){for(var r=0,n=0,o=0,i=new Array(t.length),a=new Array(t.length),c=0;c=0?p.getAt(g):0}}var m=0;for(f=0;fn)&&(e=n,t=r)}return t}())},y.createTableTag=function(e,t){e=e||2;var r="";r+='',r+="";for(var n=0;n";for(var o=0;o';r+=""}return(r+="")+"
"},y.createSvgTag=function(e,t,r,n){var o={};"object"==typeof arguments[0]&&(e=(o=arguments[0]).cellSize,t=o.margin,r=o.alt,n=o.title),e=e||2,t=void 0===t?4*e:t,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var i,a,s,c,u=y.getModuleCount()*e+2*t,l="";for(c="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",l+=''+x(n.text)+"":"",l+=r.text?''+x(r.text)+"":"",l+='',l+='"},y.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var r=y.getModuleCount()*e+2*t,n=t,o=r-t;return v(r,r,(function(t,r){if(n<=t&&t"};var x=function(e){for(var t="",r=0;r":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=n}}return t};return y.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,r,n,o,i,a=1*y.getModuleCount()+2*e,s=e,c=a-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},l={"██":"▀","█ ":"▀"," █":" "," ":" "},d="";for(t=0;t=c?l[i]:u[i];d+="\n"}return a%2&&e>0?d.substring(0,d.length-a-1)+Array(a+1).join("▀"):d.substring(0,d.length-1)}(t);e-=1,t=void 0===t?2*e:t;var r,n,o,i,a=y.getModuleCount()*e+2*t,s=t,c=a-t,u=Array(e+1).join("██"),l=Array(e+1).join(" "),d="",f="";for(r=0;r>>8),t.push(255&a)):t.push(n)}}return t}};var t,r,n,o,i,a={L:1,M:0,Q:3,H:2},s=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],r=1335,n=7973,i=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(o={}).getBCHTypeInfo=function(e){for(var t=e<<10;i(t)-i(r)>=0;)t^=r<=0;)t^=n<5&&(r+=3+i-5)}for(n=0;n=256;)t-=255;return e[t]}}}();function u(e,t){if(void 0===e.length)throw e.length+"/"+t;var r=function(){for(var r=0;r>>7-t%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return t},putBit:function(r){var n=Math.floor(t/8);e.length<=n&&e.push(0),r&&(e[n]|=128>>>t%8),t+=1}};return r},f=function(e){var t=e,r={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var r=t,o=0;o+2>>8&255)+(255&o),e.put(o,13),r+=2}if(r>>8)},writeBytes:function(e,r,n){r=r||0,n=n||e.length;for(var o=0;o0&&(t+=","),t+=e[r];return t+"]"}};return t},y=function(e){var t=e,r=0,n=0,o=0,i={read:function(){for(;o<8;){if(r>=t.length){if(0==o)return-1;throw"unexpected end of file./"+o}var e=t.charAt(r);if(r+=1,"="==e)return o=0,-1;e.match(/^\s$/)||(n=n<<6|a(e.charCodeAt(0)),o+=6)}var i=n>>>o-8&255;return o-=8,i}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return i},v=function(e,t,r){for(var n=function(e,t){var r=e,n=t,o=new Array(e*t),i={setPixel:function(e,t,n){o[t*r+e]=n},write:function(e){e.writeString("GIF87a"),e.writeShort(r),e.writeShort(n),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(r),e.writeShort(n),e.writeByte(0);var t=a(2);e.writeByte(2);for(var o=0;t.length-o>255;)e.writeByte(255),e.writeBytes(t,o,255),o+=255;e.writeByte(t.length-o),e.writeBytes(t,o,t.length-o),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<>>t!=0)throw"length over";for(;u+t>=8;)c.writeByte(255&(e<>>=8-u,l=0,u=0;l|=e<0&&c.writeByte(l)}});f.write(t,n);var h=0,p=String.fromCharCode(o[h]);for(h+=1;h=6;)i(e>>>t-6),t-=6},o.flush=function(){if(t>0&&(i(e<<6-t),e=0,t=0),r%3!=0)for(var o=3-r%3,a=0;a>6,128|63&n):n<55296||n>=57344?t.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return t}(e)},void 0===(n="function"==typeof(r=function(){return o})?r.apply(t,[]):r)||(e.exports=n)},796:(e,t,r)=>{"use strict";r.d(t,{default:()=>X});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;rn||o&&o2||a&&s||c&&u)this._basicSquare({x:t,y:r,size:n,context:o,rotation:0});else{if(2===l){var d=0;return a&&c?d=Math.PI/2:c&&s?d=Math.PI:s&&u&&(d=-Math.PI/2),void this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:d})}if(1===l)return d=0,c?d=Math.PI/2:s?d=Math.PI:u&&(d=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,context:o,rotation:d})}else this._basicDot({x:t,y:r,size:n,context:o,rotation:0})},e.prototype._drawExtraRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0,l=a+s+c+u;if(0!==l)if(l>2||a&&s||c&&u)this._basicSquare({x:t,y:r,size:n,context:o,rotation:0});else{if(2===l){var d=0;return a&&c?d=Math.PI/2:c&&s?d=Math.PI:s&&u&&(d=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:d})}if(1===l)return d=0,c?d=Math.PI/2:s?d=Math.PI:u&&(d=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,context:o,rotation:d})}else this._basicDot({x:t,y:r,size:n,context:o,rotation:0})},e.prototype._drawClassy=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0;0!==a+s+c+u?a||c?s||u?this._basicSquare({x:t,y:r,size:n,context:o,rotation:0}):this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:r,size:n,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2})},e.prototype._drawClassyRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.context,i=e.getNeighbor,a=i?+i(-1,0):0,s=i?+i(1,0):0,c=i?+i(0,-1):0,u=i?+i(0,1):0;0!==a+s+c+u?a||c?s||u?this._basicSquare({x:t,y:r,size:n,context:o,rotation:0}):this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:r,size:n,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,context:o,rotation:Math.PI/2})},e}(),v="square",w="extra-rounded";var b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=(t-o.hideXDots)/2&&e<(t+o.hideXDots)/2&&r>=(t-o.hideYDots)/2&&r<(t+o.hideYDots)/2||(null===(n=C[e])||void 0===n?void 0:n[r])||(null===(i=C[e-t+7])||void 0===i?void 0:i[r])||(null===(a=C[e])||void 0===a?void 0:a[r-t+7])||(null===(s=x[e])||void 0===s?void 0:s[r])||(null===(c=x[e-t+7])||void 0===c?void 0:c[r])||(null===(u=x[e])||void 0===u?void 0:u[r-t+7]))})),this.drawCorners(),this._options.image&&this.drawImage({width:o.width,height:o.height,count:t,dotSize:n}),[2]}}))},new((n=void 0)||(n=Promise))((function(e,i){function a(e){try{c(o.next(e))}catch(e){i(e)}}function s(e){try{c(o.throw(e))}catch(e){i(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(a,s)}c((o=o.apply(t,r||[])).next())}));var t,r,n,o},e.prototype.drawBackground=function(){var e=this.context,t=this._options;if(e){if(t.backgroundOptions.gradient){var r=t.backgroundOptions.gradient,n=this._createGradient({context:e,options:r,additionalRotation:0,x:0,y:0,size:this._canvas.width>this._canvas.height?this._canvas.width:this._canvas.height});r.colorStops.forEach((function(e){var t=e.offset,r=e.color;n.addColorStop(t,r)})),e.fillStyle=n}else t.backgroundOptions.color&&(e.fillStyle=t.backgroundOptions.color);e.fillRect(0,0,this._canvas.width,this._canvas.height)}},e.prototype.drawDots=function(e){var t=this;if(!this._qr)throw"QR code is not defined";var r=this.context;if(!r)throw"QR code is not defined";var n=this._options,o=this._qr.getModuleCount();if(o>n.width||o>n.height)throw"The canvas is too small.";var i=Math.min(n.width,n.height)-2*n.margin,a=Math.floor(i/o),s=Math.floor((n.width-o*a)/2),c=Math.floor((n.height-o*a)/2),u=new y({context:r,type:n.dotsOptions.type});r.beginPath();for(var l=function(r){for(var n=function(n){return e&&!e(r,n)?"continue":d._qr.isDark(r,n)?void u.draw(c+n*a,s+r*a,a,(function(i,a){return!(r+i<0||n+a<0||r+i>=o||n+a>=o)&&!(e&&!e(r+i,n+a))&&!!t._qr&&t._qr.isDark(r+i,n+a)})):"continue"},i=0;i=0&&u<=.25*Math.PI||u>1.75*Math.PI&&u<=2*Math.PI?(l-=s/2,d-=s/2*Math.tan(c),f+=s/2,h+=s/2*Math.tan(c)):u>.25*Math.PI&&u<=.75*Math.PI?(d-=s/2,l-=s/2/Math.tan(c),h+=s/2,f+=s/2/Math.tan(c)):u>.75*Math.PI&&u<=1.25*Math.PI?(l+=s/2,d+=s/2*Math.tan(c),f-=s/2,h-=s/2*Math.tan(c)):u>1.25*Math.PI&&u<=1.75*Math.PI&&(d+=s/2,l+=s/2/Math.tan(c),h-=s/2,f-=s/2/Math.tan(c)),t=r.createLinearGradient(Math.round(l),Math.round(d),Math.round(f),Math.round(h))}return t},e}();var O=function(){return(O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r2||i&&a||s&&c)this._basicSquare({x:t,y:r,size:n,rotation:0});else{if(2===u){var l=0;return i&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&c&&(l=-Math.PI/2),void this._basicCornerRounded({x:t,y:r,size:n,rotation:l})}if(1===u)return l=0,s?l=Math.PI/2:a?l=Math.PI:c&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,rotation:l})}else this._basicDot({x:t,y:r,size:n,rotation:0})},e.prototype._drawExtraRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0,u=i+a+s+c;if(0!==u)if(u>2||i&&a||s&&c)this._basicSquare({x:t,y:r,size:n,rotation:0});else{if(2===u){var l=0;return i&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&c&&(l=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:l})}if(1===u)return l=0,s?l=Math.PI/2:a?l=Math.PI:c&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:r,size:n,rotation:l})}else this._basicDot({x:t,y:r,size:n,rotation:0})},e.prototype._drawClassy=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0;0!==i+a+s+c?i||s?a||c?this._basicSquare({x:t,y:r,size:n,rotation:0}):this._basicCornerRounded({x:t,y:r,size:n,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:r,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,rotation:Math.PI/2})},e.prototype._drawClassyRounded=function(e){var t=e.x,r=e.y,n=e.size,o=e.getNeighbor,i=o?+o(-1,0):0,a=o?+o(1,0):0,s=o?+o(0,-1):0,c=o?+o(0,1):0;0!==i+a+s+c?i||s?a||c?this._basicSquare({x:t,y:r,size:n,rotation:0}):this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:r,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:r,size:n,rotation:Math.PI/2})},e}();var P=function(){return(P=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=(t-o.hideXDots)/2&&e<(t+o.hideXDots)/2&&r>=(t-o.hideYDots)/2&&r<(t+o.hideYDots)/2||(null===(n=D[e])||void 0===n?void 0:n[r])||(null===(i=D[e-t+7])||void 0===i?void 0:i[r])||(null===(a=D[e])||void 0===a?void 0:a[r-t+7])||(null===(s=F[e])||void 0===s?void 0:s[r])||(null===(c=F[e-t+7])||void 0===c?void 0:c[r])||(null===(u=F[e])||void 0===u?void 0:u[r-t+7]))})),this.drawCorners(),this._options.image?[4,this.drawImage({width:o.width,height:o.height,count:t,dotSize:n})]:[3,4];case 3:h.sent(),h.label=4;case 4:return[2]}}))}))},e.prototype.drawBackground=function(){var e,t,r,n=this._element,o=this._options;if(n){var i=null===(e=o.backgroundOptions)||void 0===e?void 0:e.gradient,a=null===(t=o.backgroundOptions)||void 0===t?void 0:t.color;i?this._createColor({options:i,color:a,additionalRotation:0,x:0,y:0,height:o.height,width:o.width,name:"background-color"}):(null===(r=o.backgroundOptions)||void 0===r?void 0:r.color)&&this._createStyle({color:a,name:"background-color"})}},e.prototype.drawDots=function(e){var t,r,n,o=this;if(!this._qr)throw"QR code is not defined";var i=this._options,a=this._qr.getModuleCount();if(a>i.width||a>i.height)throw"The canvas is too small.";var s=Math.min(i.width,i.height)-2*i.margin,c=Math.floor(s/a),u=Math.floor((i.width-a*c)/2),l=Math.floor((i.height-a*c)/2),d=new N({svg:this._element,type:i.dotsOptions.type});(null===(t=i.dotsOptions)||void 0===t?void 0:t.gradient)?(this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(r=i.dotsOptions)||void 0===r?void 0:r.gradient,color:i.dotsOptions.color,additionalRotation:0,x:u,y:l,height:a*c,width:a*c,name:"dot-color"})):i.dotsOptions.color&&(this._dots=document.createElementNS("http://www.w3.org/2000/svg","g"),this._dots.setAttribute("class","dot-color"),this._element.appendChild(this._dots),this._createStyle({color:i.dotsOptions.color,name:"dot-color"}));for(var f=function(t){for(var r=function(r){return e&&!e(t,r)?"continue":(null===(n=h._qr)||void 0===n?void 0:n.isDark(t,r))?(d.draw(l+r*c,u+t*c,c,(function(n,i){return!(t+n<0||r+i<0||t+n>=a||r+i>=a)&&!(e&&!e(t+n,r+i))&&!!o._qr&&o._qr.isDark(t+n,r+i)})),void(d._element&&h._dotsClipPath?h._dotsClipPath.appendChild(d._element):d._element&&h._dots&&h._dots.appendChild(d._element))):"continue"},i=0;ia?s:a,l=document.createElementNS("http://www.w3.org/2000/svg","rect");if(l.setAttribute("x",String(o)),l.setAttribute("y",String(i)),l.setAttribute("height",String(a)),l.setAttribute("width",String(s)),l.setAttribute("clip-path","url('#clip-path-"+c+"')"),t){var d;if(t.type===T)(d=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",c),d.setAttribute("gradientUnits","userSpaceOnUse"),d.setAttribute("fx",String(o+s/2)),d.setAttribute("fy",String(i+a/2)),d.setAttribute("cx",String(o+s/2)),d.setAttribute("cy",String(i+a/2)),d.setAttribute("r",String(u/2));else{var f=((t.rotation||0)+n)%(2*Math.PI),h=(f+2*Math.PI)%(2*Math.PI),p=o+s/2,g=i+a/2,m=o+s/2,y=i+a/2;h>=0&&h<=.25*Math.PI||h>1.75*Math.PI&&h<=2*Math.PI?(p-=s/2,g-=a/2*Math.tan(f),m+=s/2,y+=a/2*Math.tan(f)):h>.25*Math.PI&&h<=.75*Math.PI?(g-=a/2,p-=s/2/Math.tan(f),y+=a/2,m+=s/2/Math.tan(f)):h>.75*Math.PI&&h<=1.25*Math.PI?(p+=s/2,g+=a/2*Math.tan(f),m-=s/2,y-=a/2*Math.tan(f)):h>1.25*Math.PI&&h<=1.75*Math.PI&&(g+=a/2,p+=s/2/Math.tan(f),y-=a/2,m-=s/2/Math.tan(f)),(d=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",c),d.setAttribute("gradientUnits","userSpaceOnUse"),d.setAttribute("x1",String(Math.round(p))),d.setAttribute("y1",String(Math.round(g))),d.setAttribute("x2",String(Math.round(m))),d.setAttribute("y2",String(Math.round(y)))}t.colorStops.forEach((function(e){var t=e.offset,r=e.color,n=document.createElementNS("http://www.w3.org/2000/svg","stop");n.setAttribute("offset",100*t+"%"),n.setAttribute("stop-color",r),d.appendChild(n)})),l.setAttribute("fill","url('#"+c+"')"),this._defs.appendChild(d)}else r&&l.setAttribute("fill",r);this._element.appendChild(l)},e.prototype._createStyle=function(e){var t=e.color,r=e.name;if(void 0!==t)if("#"!==t[0]||7!==t.length&&9!==t.length)console.error("unsupported color format. At the moment only Hex color codes are supported.");else{var n=1;9===t.length&&(n=parseInt(t.substring(7,9),16)/255),this._style.innerHTML+="."+r+"{ fill: "+t.substring(0,7)+"; fill-opacity: "+n+" }"}},e}(),U="canvas";for(var j={},z=0;z<=40;z++)j[z]=z;const V={type:U,width:512,height:512,data:"",margin:0,qrOptions:{typeNumber:j[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:"anonymous",margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#FFFFFF00"}};var H=function(){return(H=Object.assign||function(e){for(var t,r=1,n=arguments.length;rMath.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=H({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=q(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=H({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=q(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=H({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=q(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=H({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=q(t.backgroundOptions.gradient))),t}var W=r(192),Z=r.n(W),K=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Y=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]\r\n'+n],{type:"image/svg+xml"})]):[2,new Promise((function(r){return t.getCanvas().toBlob(r,"image/"+e,1)}))]}}))}))},e.prototype.download=function(e){return K(this,void 0,void 0,(function(){var t,r,n,o,i;return Y(this,(function(a){switch(a.label){case 0:if(!this._qr)throw"QR code is empty";return t="png",r="qr","string"==typeof e?(t=e,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof e&&null!==e&&(e.name&&(r=e.name),e.extension&&(t=e.extension)),[4,this._getQRStylingElement(t)];case 1:return n=a.sent(),"svg"===t.toLowerCase()?(o=new XMLSerializer,i='\r\n'+(i=o.serializeToString(n.getElement())),s("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(i),r+".svg")):s(n.getCanvas().toDataURL("image/"+t),r+"."+t),[2]}}))}))},e}()}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r(796)})().default}))},62587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,n,o){r=r||"&",n=n||"=";var i={};if("string"!==typeof e||0===e.length)return i;var a=/\+/g;e=e.split(r);var s=1e3;o&&"number"===typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u=0?(l=p.substr(0,g),d=p.substr(g+1)):(l=p,d=""),f=decodeURIComponent(l),h=decodeURIComponent(d),t(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i}},12361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,r,n,o){return r=r||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(t(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(t(e))})).join(r):i+encodeURIComponent(t(e[o]))})).join(r):o?encodeURIComponent(t(o))+n+encodeURIComponent(t(e)):""}},17673:(e,t,r)=>{"use strict";t.decode=t.parse=r(62587),t.encode=t.stringify=r(12361)},61798:(e,t,r)=>{"use strict";var n=65536,o=4294967295;function i(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=r(89509).Buffer,s=r.g.crypto||r.g.msCrypto;function c(e,t){if(e>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(e);if(e>0)if(e>n)for(var i=0;i{"use strict";function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var r={};function n(e,n,o){function i(e,t,r){return"string"===typeof n?n:n(e,t,r)}o||(o=Error);var a=function(e){function r(t,r,n){return e.call(this,i(t,r,n))||this}return t(r,e),r}(o);a.prototype.name=o.name,a.prototype.code=e,r[e]=a}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function i(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function a(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function s(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,c;if("string"===typeof t&&i(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",a(e," argument"))c="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=s(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return c+=". Received type ".concat(typeof r),c}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=r},56753:(e,t,r)=>{"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(79481),i=r(64229);r(35717)(u,o);for(var a=n(i.prototype),s=0;s{"use strict";e.exports=o;var n=r(74605);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}r(35717)(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},79481:(e,t,r)=>{"use strict";var n;e.exports=I,I.ReadableState=x;r(17187).EventEmitter;var o=function(e,t){return e.listeners(t).length},i=r(22503),a=r(48764).Buffer,s=r.g.Uint8Array||function(){};function c(e){return a.from(e)}function u(e){return a.isBuffer(e)||e instanceof s}var l,d=r(94616);l=d&&d.debuglog?d.debuglog("stream"):function(){};var f,h,p,g=r(77086),m=r(61195),y=r(82457),v=y.getHighWaterMark,w=r(94281).q,b=w.ERR_INVALID_ARG_TYPE,_=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(35717)(I,i);var A=m.errorOrDestroy,T=["error","close","destroy","pause","resume"];function C(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function x(e,t,o){n=n||r(56753),e=e||{},"boolean"!==typeof o&&(o=t instanceof n),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=v(this,e,"readableHighWaterMark",o),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(32553).s),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function I(e){if(n=n||r(56753),!(this instanceof I))return new I(e);var t=this instanceof n;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function O(e,t,r,n,o){l("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,B(e,s);else if(o||(i=P(s,t)),i)A(e,i);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=c(t)),n)s.endEmitted?A(e,new S):N(e,s,t,!0);else if(s.ended)A(e,new _);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?N(e,s,t,!1):F(e,s)):N(e,s,t,!1)}else n||(s.reading=!1,F(e,s));return!s.ended&&(s.length=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=R(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function B(e,t){if(l("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,D(e)))}}function L(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(D,e))}function D(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,q(e)}function F(e,t){t.readingMore||(t.readingMore=!0,process.nextTick($,e,t))}function $(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){l("readable nexttick read 0"),e.read(0)}function V(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(H,e,t))}function H(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),q(e),t.flowing&&!t.reading&&e.read(0)}function q(e){var t=e._readableState;l("flow",t.flowing);while(t.flowing&&null!==e.read());}function G(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function W(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Z,t,e))}function Z(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function K(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):L(this),null;if(e=M(e,t),0===e&&t.ended)return 0===t.length&&W(this),null;var n,o=t.needReadable;return l("need readable",o),(0===t.length||t.length-e0?G(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&W(this)),null!==n&&this.emit("data",n),n},I.prototype._read=function(e){A(this,new E("_read()"))},I.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,l("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr,a=i?c:y;function s(e,t){l("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function c(){l("onend"),e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",s);var u=U(r);e.on("drain",u);var d=!1;function f(){l("cleanup"),e.removeListener("close",g),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",y),r.removeListener("data",h),d=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||u()}function h(t){l("ondata");var o=e.write(t);l("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==K(n.pipes,e))&&!d&&(l("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(t){l("onerror",t),y(),e.removeListener("error",p),0===o(e,"error")&&A(e,t)}function g(){e.removeListener("finish",m),y()}function m(){l("onfinish"),e.removeListener("close",g),y()}function y(){l("unpipe"),r.unpipe(e)}return r.on("data",h),C(e,"error",p),e.once("close",g),e.once("finish",m),e.emit("pipe",r),n.flowing||(l("pipe resume"),r.resume()),e},I.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,l("on readable",n.length,n.reading),n.length?L(this):n.reading||process.nextTick(z,this))),r},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(j,this),r},I.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(j,this),t},I.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,V(this,e)),e.paused=!1,this},I.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){if(l("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!==o&&void 0!==o)&&(r.objectMode||o&&o.length)){var i=t.push(o);i||(n=!0,e.pause())}})),e)void 0===this[o]&&"function"===typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i{"use strict";e.exports=l;var n=r(94281).q,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(56753);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length{"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){H(t,e)}}var o;e.exports=x,x.WritableState=C;var i={deprecate:r(94927)},a=r(22503),s=r(48764).Buffer,c=r.g.Uint8Array||function(){};function u(e){return s.from(e)}function l(e){return s.isBuffer(e)||e instanceof c}var d,f=r(61195),h=r(82457),p=h.getHighWaterMark,g=r(94281).q,m=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,b=g.ERR_STREAM_DESTROYED,_=g.ERR_STREAM_NULL_VALUES,E=g.ERR_STREAM_WRITE_AFTER_END,S=g.ERR_UNKNOWN_ENCODING,A=f.errorOrDestroy;function T(){}function C(e,t,i){o=o||r(56753),e=e||{},"boolean"!==typeof i&&(i=t instanceof o),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){B(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function x(e){o=o||r(56753);var t=this instanceof o;if(!t&&!d.call(x,this))return new x(e);this._writableState=new C(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),a.call(this)}function I(e,t){var r=new E;A(e,r),process.nextTick(t,r)}function O(e,t,r,n){var o;return null===r?o=new _:"string"===typeof r||t.objectMode||(o=new m("chunk",["string","Buffer"],r)),!o||(A(e,o),process.nextTick(n,o),!1)}function N(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=s.from(t,r)),t}function P(e,t,r,n,o,i){if(!r){var a=N(t,n,o);n!==a&&(r=!0,o="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,r){r(new y("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,r){var n=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||V(this,n,r),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=f.destroy,x.prototype._undestroy=f.undestroy,x.prototype._destroy=function(e,t){t(e)}},45850:(e,t,r)=>{"use strict";var n;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=r(8610),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[f].read();null!==r&&(e[l]=null,e[a]=null,e[s]=null,t(h(r,!1)))}}function g(e){process.nextTick(p,e)}function m(e,t){return function(r,n){e.then((function(){t[u]?r(h(void 0,!0)):t[d](r,n)}),n)}}var y=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((n={get stream(){return this[f]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,r){process.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,n=this[l];if(n)r=new Promise(m(n,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[d])}return this[l]=r,r}},o(n,Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var e=this;return new Promise((function(t,r){e[f].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),n),y),w=function(e){var t,r=Object.create(v,(t={},o(t,f,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,u,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=r[f].read();n?(r[l]=null,r[a]=null,r[s]=null,e(h(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[l]=null,i(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[l]=null,r[a]=null,r[s]=null,t(e)),void(r[c]=e)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(h(void 0,!0))),r[u]=!0})),e.on("readable",g.bind(null,r)),r};e.exports=w},77086:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);var t=l.allocUnsafe(e>>>0),r=this.head,n=0;while(r)p(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),e-=i,0===e){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;r.data.copy(t),e-=r.data.length;while(r=r.next){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),e-=i,0===e){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:h,value:function(e,t){return f(this,o({},t,{depth:0,customInspect:!1}))}}]),e}()},61195:e=>{"use strict";function t(e,t){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(i,this,e)):process.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(r,o,e)):process.nextTick(r,o,e):t?(process.nextTick(n,o),t(e)):process.nextTick(n,o)})),this)}function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(e,t){e.emit("error",t)}function a(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:o,errorOrDestroy:a}},8610:(e,t,r)=>{"use strict";var n=r(94281).q.ERR_STREAM_PREMATURE_CLOSE;function o(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},59946:(e,t,r)=>{"use strict";var n;function o(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i=r(94281).q,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function u(e){return e.setHeader&&"function"===typeof e.abort}function l(e,t,i,a){a=o(a);var c=!1;e.on("close",(function(){c=!0})),void 0===n&&(n=r(8610)),n(e,{readable:t,writable:i},(function(e){if(e)return a(e);c=!0,a()}));var l=!1;return function(t){if(!c&&!l)return l=!0,u(e)?e.abort():"function"===typeof e.destroy?e.destroy():void a(t||new s("pipe"))}}function d(e){e()}function f(e,t){return e.pipe(t)}function h(e){return e.length?"function"!==typeof e[e.length-1]?c:e.pop():c}function p(){for(var e=arguments.length,t=new Array(e),r=0;r0;return l(e,a,s,(function(e){n||(n=e),e&&i.forEach(d),a||(i.forEach(d),o(n))}))}));return t.reduce(f)}e.exports=p},82457:(e,t,r)=>{"use strict";var n=r(94281).q.ERR_INVALID_OPT_VALUE;function o(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}function i(e,t,r,i){var a=o(t,i,r);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0){var s=i?r:"highWaterMark";throw new n(s,a)}return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:i}},22503:(e,t,r)=>{e.exports=r(17187).EventEmitter},88473:(e,t,r)=>{t=e.exports=r(79481),t.Stream=t,t.Readable=t,t.Writable=r(64229),t.Duplex=r(56753),t.Transform=r(74605),t.PassThrough=r(82725),t.finished=r(8610),t.pipeline=r(59946)},35666:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(R){u=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new N(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l;var f="suspendedStart",h="suspendedYield",p="executing",g="completed",m={};function y(){}function v(){}function w(){}var b={};u(b,a,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(P([])));E&&E!==r&&n.call(E,a)&&(b=E);var S=w.prototype=y.prototype=Object.create(b);function A(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=d(e[o],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"===typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;function a(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}o(this,"_invoke",{value:a})}function C(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===g){if("throw"===o)throw i;return k()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=d(e,t,r);if("normal"===c.type){if(n=r.done?g:h,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=g,r.method="throw",r.arg=c.arg)}}}function x(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function P(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){while(++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},79785:(e,t,r)=>{"use strict";var n=r(48764).Buffer,o=r(35717),i=r(3349),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function h(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function g(e,t,r,n,o,i,a,s){return p(e+(t^r^n)+i+a|0,s)+o|0}function m(e,t,r,n,o,i,a,s){return p(e+(t&r|~t&n)+i+a|0,s)+o|0}function y(e,t,r,n,o,i,a,s){return p(e+((t|~r)^n)+i+a|0,s)+o|0}function v(e,t,r,n,o,i,a,s){return p(e+(t&n|r&~n)+i+a|0,s)+o|0}function w(e,t,r,n,o,i,a,s){return p(e+(t^(r|~n))+i+a|0,s)+o|0}o(h,i),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,h=0|this._e,b=0|this._a,_=0|this._b,E=0|this._c,S=0|this._d,A=0|this._e,T=0;T<80;T+=1){var C,x;T<16?(C=g(r,n,o,i,h,e[s[T]],d[0],u[T]),x=w(b,_,E,S,A,e[c[T]],f[0],l[T])):T<32?(C=m(r,n,o,i,h,e[s[T]],d[1],u[T]),x=v(b,_,E,S,A,e[c[T]],f[1],l[T])):T<48?(C=y(r,n,o,i,h,e[s[T]],d[2],u[T]),x=y(b,_,E,S,A,e[c[T]],f[2],l[T])):T<64?(C=v(r,n,o,i,h,e[s[T]],d[3],u[T]),x=m(b,_,E,S,A,e[c[T]],f[3],l[T])):(C=w(r,n,o,i,h,e[s[T]],d[4],u[T]),x=g(b,_,E,S,A,e[c[T]],f[4],l[T])),r=h,h=i,i=p(o,10),o=n,n=C,b=A,A=S,S=p(E,10),E=_,_=x}var I=this._b+o+S|0;this._b=this._c+i+A|0,this._c=this._d+h+b|0,this._d=this._e+r+_|0,this._e=this._a+n+E|0,this._a=I},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},6636:(e,t)=>{"use strict";function r(e){if(Array.isArray(e)){const t=[];for(let o=0;oe.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return l(u(e))}function i(e,t){if(e<56)return Uint8Array.from([e+t]);const r=p(e),n=r.length/2,o=p(t+55+n);return Uint8Array.from(d(o+r))}function a(e,t=!1){if(!e||0===e.length)return Uint8Array.from([]);const r=v(e),n=s(r);if(t)return n;if(0!==n.remainder.length)throw new Error("invalid RLP: remainder must be zero");return n.data}function s(e){let t,r,i,a,c;const u=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(t=l-127,i=128===l?Uint8Array.from([]):n(e,1,t),2===t&&i[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:i,remainder:e.slice(t)}}if(l<=191){if(r=l-182,e.length-1e.length)throw new Error("invalid RLP: total length is larger than the data");a=n(e,r,i);while(a.length)c=s(a),u.push(c.data),a=c.remainder;return{data:u,remainder:e.slice(i)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.decode=t.encode=void 0,t.encode=r,t.decode=a;const c=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function u(e){let t="";for(let r=0;re+t.length),0),r=new Uint8Array(t);for(let n=0,o=0;n=2&&"0"===e[0]&&"x"===e[1]}function y(e){return"string"!==typeof e?e:m(e)?e.slice(2):e}function v(e){if(e instanceof Uint8Array)return e;if("string"===typeof e)return m(e)?d(g(y(e))):h(e);if("number"===typeof e||"bigint"===typeof e)return e?d(p(e)):Uint8Array.from([]);if(null===e||void 0===e)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}t.utils={bytesToHex:u,concatBytes:f,hexToBytes:d,utf8ToBytes:h};const w={encode:r,decode:a};t["default"]=w},89509:(e,t,r)=>{ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var n=r(48764),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},51993:(e,t,r)=>{var n=r(17588),o=1e8;function i(e){return Number(e)}Number.isInteger||(Number.isInteger=function(e){return"number"===typeof e&&e%1===0}),e.exports={toBitcoin:function(e){var t=typeof e;if("string"===t&&(e=i(e),t="number"),"number"!==t)throw new TypeError("toBitcoin must be called on a number or string, got "+t);if(!Number.isInteger(e))throw new TypeError("toBitcoin must be called on a whole number or string format whole number");var r=new n(e);return Number(r.div(o))},toSatoshi:function(e){var t=typeof e;if("string"===t&&(e=i(e),t="number"),"number"!==t)throw new TypeError("toSatoshi must be called on a number or string, got "+t);var r=new n(e);return Number(r.times(o))}}},17588:function(e,t,r){var n;(function(o){"use strict";var i,a=20,s=1,c=1e6,u=1e6,l=-7,d=21,f={},h=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function p(){function e(t){var r=this;if(!(r instanceof e))return void 0===t?p():new e(t);t instanceof e?(r.s=t.s,r.e=t.e,r.c=t.c.slice()):m(r,t),r.constructor=e}return e.prototype=f,e.DP=a,e.RM=s,e.E_NEG=l,e.E_POS=d,e}function g(e,t,r){var n=e.constructor,o=t-(e=new n(e)).e,i=e.c;for(i.length>++t&&y(e,o,n.RM),i[0]?r?o=t:(i=e.c,o=e.e+o+1):++o;i.length1?i[0]+"."+i.join("").slice(1):i[0])+(o<0?"e":"e+")+o:e.toString()}function m(e,t){var r,n,o;for(0===t&&1/t<0?t="-0":h.test(t+="")||v(NaN),e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),o=t.length,n=0;n0&&"0"==t.charAt(--o););for(e.e=r-n-1,e.c=[];n<=o;e.c.push(+t.charAt(n++)));}return e}function y(e,t,r,n){var o,i=e.c,a=e.e+t+1;if(1===r?n=i[a]>=5:2===r?n=i[a]>5||5==i[a]&&(n||a<0||i[a+1]!==o||1&i[a-1]):3===r?n=n||i[a]!==o||a<0:(n=!1,0!==r&&v("!Big.RM!")),a<1||!i[0])n?(e.e=-t,e.c=[1]):e.c=[e.e=0];else{if(i.length=a--,n)for(;++i[a]>9;)i[a]=0,a--||(++e.e,i.unshift(1));for(a=i.length;!i[--a];i.pop());}return e}function v(e){var t=new Error(e);throw t.name="BigError",t}f.abs=function(){var e=new this.constructor(this);return e.s=1,e},f.cmp=function(e){var t,r=this,n=r.c,o=(e=new r.constructor(e)).c,i=r.s,a=e.s,s=r.e,c=e.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-a:0;if(i!=a)return i;if(t=i<0,s!=c)return s>c^t?1:-1;for(i=-1,a=(s=n.length)<(c=o.length)?s:c;++io[i]^t?1:-1;return s==c?0:s>c^t?1:-1},f.div=function(e){var t=this,r=t.constructor,n=t.c,o=(e=new r(e)).c,i=t.s==e.s?1:-1,a=r.DP;if((a!==~~a||a<0||a>c)&&v("!Big.DP!"),!n[0]||!o[0])return n[0]==o[0]&&v(NaN),o[0]||v(i/0),new r(0*i);var s,u,l,d,f,h,p=o.slice(),g=s=o.length,m=n.length,w=n.slice(0,s),b=w.length,_=e,E=_.c=[],S=0,A=a+(_.e=t.e-e.e)+1;for(_.s=i,i=A<0?0:A,p.unshift(0);b++b?1:-1;else for(f=-1,d=0;++fw[f]?1:-1;break}if(!(d<0))break;for(u=b==s?o:p;b;){if(w[--b]A&&y(_,a,r.RM,w[0]!==h),_},f.eq=function(e){return!this.cmp(e)},f.gt=function(e){return this.cmp(e)>0},f.gte=function(e){return this.cmp(e)>-1},f.lt=function(e){return this.cmp(e)<0},f.lte=function(e){return this.cmp(e)<1},f.sub=f.minus=function(e){var t,r,n,o,i=this,a=i.constructor,s=i.s,c=(e=new a(e)).s;if(s!=c)return e.s=-c,i.plus(e);var u=i.c.slice(),l=i.e,d=e.c,f=e.e;if(!u[0]||!d[0])return d[0]?(e.s=-c,e):new a(u[0]?i:0);if(s=l-f){for((o=s<0)?(s=-s,n=u):(f=l,n=d),n.reverse(),c=s;c--;n.push(0));n.reverse()}else for(r=((o=u.length0)for(;c--;u[t++]=0);for(c=t;r>s;){if(u[--r]0?(c=a,t=u):(o=-o,t=s),t.reverse();o--;t.push(0));t.reverse()}for(s.length-u.length<0&&(t=u,u=s,s=t),o=u.length,i=0;o;)i=(s[--o]=s[o]+u[o]+i)/10|0,s[o]%=10;for(i&&(s.unshift(i),++c),o=s.length;0===s[--o];s.pop());return e.c=s,e.e=c,e},f.pow=function(e){var t=this,r=new t.constructor(1),n=r,o=e<0;for((e!==~~e||e<-u||e>u)&&v("!pow!"),e=o?-e:e;;){if(1&e&&(n=n.times(t)),e>>=1,!e)break;t=t.times(t)}return o?r.div(n):n},f.round=function(e,t){var r=this,n=r.constructor;return null==e?e=0:(e!==~~e||e<0||e>c)&&v("!round!"),y(r=new n(r),e,null==t?n.RM:t),r},f.sqrt=function(){var e,t,r,n=this,o=n.constructor,i=n.c,a=n.s,s=n.e,c=new o("0.5");if(!i[0])return new o(n);a<0&&v(NaN),a=Math.sqrt(n.toString()),0===a||a===1/0?(e=i.join(""),e.length+s&1||(e+="0"),t=new o(Math.sqrt(e).toString()),t.e=((s+1)/2|0)-(s<0||1&s)):t=new o(a.toString()),a=t.e+(o.DP+=4);do{r=t,t=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return y(t,o.DP-=4,o.RM),t},f.mul=f.times=function(e){var t,r=this,n=r.constructor,o=r.c,i=(e=new n(e)).c,a=o.length,s=i.length,c=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return new n(0*e.s);for(e.e=c+u,ac;)s=t[u]+i[c]*o[u-c-1]+s,t[u--]=s%10,s=s/10|0;t[u]=(t[u]+s)%10}for(s&&++e.e,t[0]||t.shift(),c=t.length;!t[--c];t.pop());return e.c=t,e},f.toString=f.valueOf=f.toJSON=function(){var e=this,t=e.constructor,r=e.e,n=e.c.join(""),o=n.length;if(r<=t.E_NEG||r>=t.E_POS)n=n.charAt(0)+(o>1?"."+n.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;n="0"+n);n="0."+n}else if(r>0)if(++r>o)for(r-=o;r--;n+="0");else r1&&(n=n.charAt(0)+"."+n.slice(1));return e.s<0&&e.c[0]?"-"+n:n},f.toExponential=function(e){return null==e?e=this.c.length-1:(e!==~~e||e<0||e>c)&&v("!toExp!"),g(this,e,1)},f.toFixed=function(e){var t,r=this,n=r.constructor,o=n.E_NEG,i=n.E_POS;return n.E_NEG=-(n.E_POS=1/0),null==e?t=r.toString():e===~~e&&e>=0&&e<=c&&(t=g(r,r.e+e),r.s<0&&r.c[0]&&t.indexOf("-")<0&&(t="-"+t)),n.E_NEG=o,n.E_POS=i,t||v("!toFix!"),t},f.toPrecision=function(e){return null==e?this.toString():((e!==~~e||e<1||e>c)&&v("!toPre!"),g(this,e-1,2))},i=p(),n=function(){return i}.call(t,r,t,e),void 0===n||(e.exports=n)})()},24189:(e,t,r)=>{var n=r(89509).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,o=this._blockSize,i=e.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},89072:(e,t,r)=>{var n=e.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=r(74448),n.sha1=r(18336),n.sha224=r(48432),n.sha256=r(67499),n.sha384=r(51686),n.sha512=r(87816)},74448:(e,t,r)=>{var n=r(35717),o=r(24189),i=r(89509).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=t[c-3]^t[c-8]^t[c-14]^t[c-16];for(var f=0;f<80;++f){var h=~~(f/20),p=u(r)+d(h,n,o,i)+s+t[f]+a[h]|0;s=i,i=o,o=l(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},18336:(e,t,r)=>{var n=r(35717),o=r(24189),i=r(89509).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e){return e<<1|e>>>31}function l(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=u(t[c-3]^t[c-8]^t[c-14]^t[c-16]);for(var h=0;h<80;++h){var p=~~(h/20),g=l(r)+f(p,n,o,i)+s+t[h]+a[p]|0;s=i,i=o,o=d(n),n=r,r=g}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},48432:(e,t,r)=>{var n=r(35717),o=r(67499),i=r(24189),a=r(89509).Buffer,s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},67499:(e,t,r)=>{var n=r(35717),o=r(24189),i=r(89509).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,c=0|this._f,g=0|this._g,m=0|this._h,y=0;y<16;++y)t[y]=e.readInt32BE(4*y);for(;y<64;++y)t[y]=p(t[y-2])+t[y-7]+h(t[y-15])+t[y-16]|0;for(var v=0;v<64;++v){var w=m+f(s)+u(s,c,g)+a[v]+t[v]|0,b=d(r)+l(r,n,o)|0;m=g,g=c,c=s,s=i+w|0,i=o,o=n,n=r,r=w+b|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0,this._f=c+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},51686:(e,t,r)=>{var n=r(35717),o=r(87816),i=r(24189),a=r(89509).Buffer,s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},87816:(e,t,r)=>{var n=r(35717),o=r(24189),i=r(89509).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,s=0|this._eh,c=0|this._fh,v=0|this._gh,w=0|this._hh,b=0|this._al,_=0|this._bl,E=0|this._cl,S=0|this._dl,A=0|this._el,T=0|this._fl,C=0|this._gl,x=0|this._hl,I=0;I<32;I+=2)t[I]=e.readInt32BE(4*I),t[I+1]=e.readInt32BE(4*I+4);for(;I<160;I+=2){var O=t[I-30],N=t[I-30+1],P=h(O,N),k=p(N,O);O=t[I-4],N=t[I-4+1];var R=g(O,N),M=m(N,O),B=t[I-14],L=t[I-14+1],D=t[I-32],F=t[I-32+1],$=k+L|0,U=P+B+y($,k)|0;$=$+M|0,U=U+R+y($,M)|0,$=$+F|0,U=U+D+y($,F)|0,t[I]=U,t[I+1]=$}for(var j=0;j<160;j+=2){U=t[j],$=t[j+1];var z=l(r,n,o),V=l(b,_,E),H=d(r,b),q=d(b,r),G=f(s,A),W=f(A,s),Z=a[j],K=a[j+1],Y=u(s,c,v),X=u(A,T,C),J=x+W|0,Q=w+G+y(J,x)|0;J=J+X|0,Q=Q+Y+y(J,X)|0,J=J+K|0,Q=Q+Z+y(J,K)|0,J=J+$|0,Q=Q+U+y(J,$)|0;var ee=q+V|0,te=H+z+y(ee,q)|0;w=v,x=C,v=c,C=T,c=s,T=A,A=S+J|0,s=i+Q+y(A,S)|0,i=o,S=E,o=n,E=_,n=r,_=b,b=J+ee|0,r=Q+te+y(b,J)|0}this._al=this._al+b|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+A|0,this._fl=this._fl+T|0,this._gl=this._gl+C|0,this._hl=this._hl+x|0,this._ah=this._ah+r+y(this._al,b)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,E)|0,this._dh=this._dh+i+y(this._dl,S)|0,this._eh=this._eh+s+y(this._el,A)|0,this._fh=this._fh+c+y(this._fl,T)|0,this._gh=this._gh+v+y(this._gl,C)|0,this._hh=this._hh+w+y(this._hl,x)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},37478:(e,t,r)=>{"use strict";var n=r(40210),o=r(21924),i=r(70631),a=n("%TypeError%"),s=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},m=function(e,t){var r=g(e,t);return r&&r.value},y=function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},v=function(e,t){return!!g(e,t)};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return u(e,n)}else if(c){if(t)return f(t,n)}else if(r)return m(r,n)},has:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return d(e,n)}else if(c){if(t)return p(t,n)}else if(r)return v(r,n);return!1},set:function(n,o){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),l(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),y(r,n,o))}};return n}},42830:(e,t,r)=>{e.exports=i;var n=r(17187).EventEmitter,o=r(35717);function i(){n.call(this)}o(i,n),i.Readable=r(79481),i.Writable=r(64229),i.Duplex=r(56753),i.Transform=r(74605),i.PassThrough=r(82725),i.finished=r(8610),i.pipeline=r(59946),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},32553:(e,t,r)=>{"use strict";var n=r(89509).Buffer,o=n.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 i(e){if(!e)return"utf8";var t;while(1)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 a(e){var t=i(e);if("string"!==typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=g,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=m,this.end=y,t=3;break;default:return this.write=v,void(this.end=w)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function c(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(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&&(2===o?o=0:e.lastNeed=o-3),o):0))}function l(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,r=l(this,e,t);return void 0!==r?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),void(this.lastNeed-=e.length))}function f(e,t){var r=u(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 h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(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 g(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 m(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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 y(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function w(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r{"use strict";r.d(t,{Z:()=>Ic});var n={};r.r(n),r.d(n,{JsonPatchError:()=>Si,_areEquals:()=>Ri,applyOperation:()=>Ii,applyPatch:()=>Oi,applyReducer:()=>Ni,deepClone:()=>Ai,getValueByPointer:()=>xi,validate:()=>ki,validator:()=>Pi});var o={};r.r(o),r.d(o,{compare:()=>Hi,generate:()=>zi,observe:()=>ji,unobserve:()=>Ui});var i={};r.r(i),r.d(i,{cookie:()=>ac,header:()=>ic,path:()=>rc,query:()=>nc});var a=r(62079),s=r(52020),c=r(73324),u=r(88546),l=r(65237),d=r(66775),f=r(2201),h=r(57445),p=r(44845);function g(e,t){var r=a(e);if(s){var n=s(e);t&&(n=c(n).call(n,(function(t){return u(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r["return"]||r["return"]()}finally{if(s)throw i}}}}var N=r(19623);function P(e){if(A(e))return e}function k(e,t){var r=null==e?null:"undefined"!=typeof E&&S(e)||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}}function R(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,t){return P(e)||k(e,t)||I(e,t)||R()}var B=r(35820);function L(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):B.resolve(c).then(n,o)}function D(e){return function(){var t=this,r=arguments;return new B((function(n,o){var i=e.apply(t,r);function a(e){L(i,n,o,a,s,"next",e)}function s(e){L(i,n,o,a,s,"throw",e)}a(void 0)}))}}var F=r(30222),$=r.n(F),U=r(58118),j=r.n(U),z=r(74386),V=r.n(z),H=r(25110),q=r.n(H),G=r(35627),W=r.n(G),Z=r(97606),K=r.n(Z),Y=r(28222),X=r.n(Y),J=r(39022),Q=r.n(J),ee=r(2018),te=r.n(ee),re=r(14418),ne=r.n(re),oe=(r(31905),r(92495)),ie=r.n(oe); -/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ -function ae(e){return"undefined"===typeof e||null===e}function se(e){return"object"===typeof e&&null!==e}function ce(e){return Array.isArray(e)?e:ae(e)?[]:[e]}function ue(e,t){var r,n,o,i;if(t)for(i=Object.keys(t),r=0,n=i.length;rs&&(i=" ... ",t=n-s+i.length),r-n>s&&(a=" ...",r=n+s-a.length),{str:i+e.slice(t,r).replace(/\t/g,"→")+a,pos:n-t+i.length}}function Se(e,t){return ve.repeat(" ",t-e.length)+e}function Ae(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!==typeof t.indent&&(t.indent=1),"number"!==typeof t.linesBefore&&(t.linesBefore=3),"number"!==typeof t.linesAfter&&(t.linesAfter=2);var r,n=/\r?\n|\r|\0/g,o=[0],i=[],a=-1;while(r=n.exec(e.buffer))i.push(r.index),o.push(r.index+r[0].length),e.position<=r.index&&a<0&&(a=o.length-2);a<0&&(a=o.length-1);var s,c,u="",l=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+l+3);for(s=1;s<=t.linesBefore;s++){if(a-s<0)break;c=Ee(e.buffer,o[a-s],i[a-s],e.position-(o[a]-o[a-s]),d),u=ve.repeat(" ",t.indent)+Se((e.line-s+1).toString(),l)+" | "+c.str+"\n"+u}for(c=Ee(e.buffer,o[a],i[a],e.position,d),u+=ve.repeat(" ",t.indent)+Se((e.line+1).toString(),l)+" | "+c.str+"\n",u+=ve.repeat("-",t.indent+l+3+c.pos)+"^\n",s=1;s<=t.linesAfter;s++){if(a+s>=i.length)break;c=Ee(e.buffer,o[a+s],i[a+s],e.position-(o[a]-o[a+s]),d),u+=ve.repeat(" ",t.indent)+Se((e.line+s+1).toString(),l)+" | "+c.str+"\n"}return u.replace(/\n$/,"")}var Te=Ae,Ce=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],xe=["scalar","sequence","mapping"];function Ie(e){var t={};return null!==e&&Object.keys(e).forEach((function(r){e[r].forEach((function(e){t[String(e)]=r}))})),t}function Oe(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Ce.indexOf(t))throw new _e('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t["kind"]||null,this.resolve=t["resolve"]||function(){return!0},this.construct=t["construct"]||function(e){return e},this.instanceOf=t["instanceOf"]||null,this.predicate=t["predicate"]||null,this.represent=t["represent"]||null,this.representName=t["representName"]||null,this.defaultStyle=t["defaultStyle"]||null,this.multi=t["multi"]||!1,this.styleAliases=Ie(t["styleAliases"]||null),-1===xe.indexOf(this.kind))throw new _e('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Ne=Oe;function Pe(e,t){var r=[];return e[t].forEach((function(e){var t=r.length;r.forEach((function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)})),r[t]=e})),r}function ke(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi["fallback"].push(e)):r[e.kind][e.tag]=r["fallback"][e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),et=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function tt(e){return null!==e&&!(!et.test(e)||"_"===e[e.length-1])}function rt(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r="-"===t[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:r*parseFloat(t,10)}var nt=/^[-+]?[0-9]+e/;function ot(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ve.isNegativeZero(e))return"-0.0";return r=e.toString(10),nt.test(r)?r.replace("e",".e"):r}function it(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||ve.isNegativeZero(e))}var at=new Ne("tag:yaml.org,2002:float",{kind:"scalar",resolve:tt,construct:rt,predicate:it,represent:ot,defaultStyle:"lowercase"}),st=Fe.extend({implicit:[ze,Ge,Qe,at]}),ct=st,ut=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),lt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function dt(e){return null!==e&&(null!==ut.exec(e)||null!==lt.exec(e))}function ft(e){var t,r,n,o,i,a,s,c,u,l,d=0,f=null;if(t=ut.exec(e),null===t&&(t=lt.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(i=+t[4],a=+t[5],s=+t[6],t[7]){d=t[7].slice(0,3);while(d.length<3)d+="0";d=+d}return t[9]&&(c=+t[10],u=+(t[11]||0),f=6e4*(60*c+u),"-"===t[9]&&(f=-f)),l=new Date(Date.UTC(r,n,o,i,a,s,d)),f&&l.setTime(l.getTime()-f),l}function ht(e){return e.toISOString()}var pt=new Ne("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:dt,construct:ft,instanceOf:Date,represent:ht});function gt(e){return"<<"===e||null===e}var mt=new Ne("tag:yaml.org,2002:merge",{kind:"scalar",resolve:gt}),yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function vt(e){if(null===e)return!1;var t,r,n=0,o=e.length,i=yt;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function wt(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,i=yt,a=0,s=[];for(t=0;t>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|i.indexOf(n.charAt(t));return r=o%4*6,0===r?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===r?(s.push(a>>10&255),s.push(a>>2&255)):12===r&&s.push(a>>4&255),new Uint8Array(s)}function bt(e){var t,r,n="",o=0,i=e.length,a=yt;for(t=0;t>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]),o=(o<<8)+e[t];return r=i%3,0===r?(n+=a[o>>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]):2===r?(n+=a[o>>10&63],n+=a[o>>4&63],n+=a[o<<2&63],n+=a[64]):1===r&&(n+=a[o>>2&63],n+=a[o<<4&63],n+=a[64],n+=a[64]),n}function _t(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}var Et=new Ne("tag:yaml.org,2002:binary",{kind:"scalar",resolve:vt,construct:wt,predicate:_t,represent:bt}),St=Object.prototype.hasOwnProperty,At=Object.prototype.toString;function Tt(e){if(null===e)return!0;var t,r,n,o,i,a=[],s=e;for(t=0,r=s.length;t>10),56320+(e-65536&1023))}for(var ar=new Array(256),sr=new Array(256),cr=0;cr<256;cr++)ar[cr]=or(cr)?1:0,sr[cr]=or(cr);function ur(e,t){this.input=e,this.filename=t["filename"]||null,this.schema=t["schema"]||Lt,this.onWarning=t["onWarning"]||null,this.legacy=t["legacy"]||!1,this.json=t["json"]||!1,this.listener=t["listener"]||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function lr(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Te(r),new _e(t,r)}function dr(e,t){throw lr(e,t)}function fr(e,t){e.onWarning&&e.onWarning.call(null,lr(e,t))}var hr={YAML:function(e,t,r){var n,o,i;null!==e.version&&dr(e,"duplication of %YAML directive"),1!==r.length&&dr(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),null===n&&dr(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&dr(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&fr(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&dr(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],Zt.test(n)||dr(e,"ill-formed tag handle (first argument) of the TAG directive"),Dt.call(e.tagMap,n)&&dr(e,'there is a previously declared suffix for "'+n+'" tag handle'),Kt.test(o)||dr(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(i){dr(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function pr(e,t,r,n){var o,i,a,s;if(t1&&(e.result+=ve.repeat("\n",t-1))}function _r(e,t,r){var n,o,i,a,s,c,u,l,d,f=e.kind,h=e.result;if(d=e.input.charCodeAt(e.position),Qt(d)||er(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d)return!1;if((63===d||45===d)&&(o=e.input.charCodeAt(e.position+1),Qt(o)||r&&er(o)))return!1;e.kind="scalar",e.result="",i=a=e.position,s=!1;while(0!==d){if(58===d){if(o=e.input.charCodeAt(e.position+1),Qt(o)||r&&er(o))break}else if(35===d){if(n=e.input.charCodeAt(e.position-1),Qt(n))break}else{if(e.position===e.lineStart&&wr(e)||r&&er(d))break;if(Xt(d)){if(c=e.line,u=e.lineStart,l=e.lineIndent,vr(e,!1,-1),e.lineIndent>=t){s=!0,d=e.input.charCodeAt(e.position);continue}e.position=a,e.line=c,e.lineStart=u,e.lineIndent=l;break}}s&&(pr(e,i,a,!1),br(e,e.line-c),i=a=e.position,s=!1),Jt(d)||(a=e.position+1),d=e.input.charCodeAt(++e.position)}return pr(e,i,a,!1),!!e.result||(e.kind=f,e.result=h,!1)}function Er(e,t){var r,n,o;if(r=e.input.charCodeAt(e.position),39!==r)return!1;e.kind="scalar",e.result="",e.position++,n=o=e.position;while(0!==(r=e.input.charCodeAt(e.position)))if(39===r){if(pr(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),39!==r)return!0;n=e.position,e.position++,o=e.position}else Xt(r)?(pr(e,n,o,!0),br(e,vr(e,!1,t)),n=o=e.position):e.position===e.lineStart&&wr(e)?dr(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);dr(e,"unexpected end of the stream within a single quoted scalar")}function Sr(e,t){var r,n,o,i,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;e.kind="scalar",e.result="",e.position++,r=n=e.position;while(0!==(s=e.input.charCodeAt(e.position))){if(34===s)return pr(e,r,e.position,!0),e.position++,!0;if(92===s){if(pr(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),Xt(s))vr(e,!1,t);else if(s<256&&ar[s])e.result+=sr[s],e.position++;else if((a=rr(s))>0){for(o=a,i=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=tr(s))>=0?i=(i<<4)+a:dr(e,"expected hexadecimal character");e.result+=ir(i),e.position++}else dr(e,"unknown escape sequence");r=n=e.position}else Xt(s)?(pr(e,r,n,!0),br(e,vr(e,!1,t)),r=n=e.position):e.position===e.lineStart&&wr(e)?dr(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}dr(e,"unexpected end of the stream within a double quoted scalar")}function Ar(e,t){var r,n,o,i,a,s,c,u,l,d,f,h,p,g=!0,m=e.tag,y=e.anchor,v=Object.create(null);if(p=e.input.charCodeAt(e.position),91===p)s=93,l=!1,i=[];else{if(123!==p)return!1;s=125,l=!0,i={}}null!==e.anchor&&(e.anchorMap[e.anchor]=i),p=e.input.charCodeAt(++e.position);while(0!==p){if(vr(e,!0,t),p=e.input.charCodeAt(e.position),p===s)return e.position++,e.tag=m,e.anchor=y,e.kind=l?"mapping":"sequence",e.result=i,!0;g?44===p&&dr(e,"expected the node content, but found ','"):dr(e,"missed comma between flow collection entries"),f=d=h=null,c=u=!1,63===p&&(a=e.input.charCodeAt(e.position+1),Qt(a)&&(c=u=!0,e.position++,vr(e,!0,t))),r=e.line,n=e.lineStart,o=e.position,Pr(e,t,Ft,!1,!0),f=e.tag,d=e.result,vr(e,!0,t),p=e.input.charCodeAt(e.position),!u&&e.line!==r||58!==p||(c=!0,p=e.input.charCodeAt(++e.position),vr(e,!0,t),Pr(e,t,Ft,!1,!0),h=e.result),l?mr(e,i,v,f,d,h,r,n,o):c?i.push(mr(e,null,v,f,d,h,r,n,o)):i.push(d),vr(e,!0,t),p=e.input.charCodeAt(e.position),44===p?(g=!0,p=e.input.charCodeAt(++e.position)):g=!1}dr(e,"unexpected end of the stream within a flow collection")}function Tr(e,t){var r,n,o,i,a=zt,s=!1,c=!1,u=t,l=0,d=!1;if(i=e.input.charCodeAt(e.position),124===i)n=!1;else{if(62!==i)return!1;n=!0}e.kind="scalar",e.result="";while(0!==i)if(i=e.input.charCodeAt(++e.position),43===i||45===i)zt===a?a=43===i?Ht:Vt:dr(e,"repeat of a chomping mode identifier");else{if(!((o=nr(i))>=0))break;0===o?dr(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?dr(e,"repeat of an indentation width identifier"):(u=t+o-1,c=!0)}if(Jt(i)){do{i=e.input.charCodeAt(++e.position)}while(Jt(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!Xt(i)&&0!==i)}while(0!==i){yr(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);while((!c||e.lineIndentu&&(u=e.lineIndent),Xt(i))l++;else{if(e.lineIndentt)&&0!==o)dr(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(y&&(a=e.line,s=e.lineStart,c=e.position),Pr(e,t,jt,!0,o)&&(y?g=e.result:m=e.result),y||(mr(e,f,h,p,g,m,a,s,c),p=g=m=null),vr(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==u)dr(e,"bad indentation of a mapping entry");else if(e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),c=0,u=e.implicitTypes.length;c"),null!==e.result&&d.kind!==e.kind&&dr(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):dr(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function kr(e){var t,r,n,o,i=e.position,a=!1;e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);while(0!==(o=e.input.charCodeAt(e.position))){if(vr(e,!0,-1),o=e.input.charCodeAt(e.position),e.lineIndent>0||37!==o)break;a=!0,o=e.input.charCodeAt(++e.position),t=e.position;while(0!==o&&!Qt(o))o=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),n=[],r.length<1&&dr(e,"directive name must not be less than one character in length");while(0!==o){while(Jt(o))o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!Xt(o));break}if(Xt(o))break;t=e.position;while(0!==o&&!Qt(o))o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&yr(e),Dt.call(hr,r)?hr[r](e,r,n):fr(e,'unknown document directive "'+r+'"')}vr(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,vr(e,!0,-1)):a&&dr(e,"directives end mark is expected"),Pr(e,e.lineIndent-1,jt,!1,!0),vr(e,!0,-1),e.checkLineBreaks&&Gt.test(e.input.slice(i,e.position))&&fr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&wr(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,vr(e,!0,-1)):e.position=55296&&n<=56319&&t+1=56320&&r<=57343)?1024*(n-55296)+r-56320+65536:n}function Pn(e){var t=/^\n* /;return t.test(e)}var kn=1,Rn=2,Mn=3,Bn=4,Ln=5;function Dn(e,t,r,n,o,i,a,s){var c,u=0,l=null,d=!1,f=!1,h=-1!==n,p=-1,g=In(Nn(e,0))&&On(Nn(e,e.length-1));if(t||a)for(c=0;c=65536?c+=2:c++){if(u=Nn(e,c),!Tn(u))return Ln;g=g&&xn(u,l,s),l=u}else{for(c=0;c=65536?c+=2:c++){if(u=Nn(e,c),u===Vr)d=!0,h&&(f=f||c-p-1>n&&" "!==e[p+1],p=c);else if(!Tn(u))return Ln;g=g&&xn(u,l,s),l=u}f=f||h&&c-p-1>n&&" "!==e[p+1]}return d||f?r>9&&Pn(e)?Ln:a?i===wn?Ln:Rn:f?Bn:Mn:!g||a||o(e)?i===wn?Ln:Rn:kn}function Fn(e,t,r,n,o){e.dump=function(){if(0===t.length)return e.quotingType===wn?'""':"''";if(!e.noCompatMode&&(-1!==pn.indexOf(t)||gn.test(t)))return e.quotingType===wn?'"'+t+'"':"'"+t+"'";var i=e.indent*Math.max(1,r),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=n||e.flowLevel>-1&&r>=e.flowLevel;function c(t){return Sn(e,t)}switch(Dn(t,s,e.indent,a,c,e.quotingType,e.forceQuotes&&!n,o)){case kn:return t;case Rn:return"'"+t.replace(/'/g,"''")+"'";case Mn:return"|"+$n(t,e.indent)+Un(_n(t,i));case Bn:return">"+$n(t,e.indent)+Un(_n(jn(t,a),i));case Ln:return'"'+Vn(t)+'"';default:throw new _e("impossible error: invalid scalar style")}}()}function $n(e,t){var r=Pn(e)?String(t):"",n="\n"===e[e.length-1],o=n&&("\n"===e[e.length-2]||"\n"===e),i=o?"+":n?"":"-";return r+i+"\n"}function Un(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function jn(e,t){var r,n,o=/(\n+)([^\n]*)/g,i=function(){var r=e.indexOf("\n");return r=-1!==r?r:e.length,o.lastIndex=r,zn(e.slice(0,r),t)}(),a="\n"===e[0]||" "===e[0];while(n=o.exec(e)){var s=n[1],c=n[2];r=" "===c[0],i+=s+(a||r||""===c?"":"\n")+zn(c,t),a=r}return i}function zn(e,t){if(""===e||" "===e[0])return e;var r,n,o=/ [^ ]/g,i=0,a=0,s=0,c="";while(r=o.exec(e))s=r.index,s-i>t&&(n=a>i?a:s,c+="\n"+e.slice(i,n),i=n+1),a=s;return c+="\n",e.length-i>t&&a>i?c+=e.slice(i,a)+"\n"+e.slice(a+1):c+=e.slice(i),c.slice(1)}function Vn(e){for(var t,r="",n=0,o=0;o=65536?o+=2:o++)n=Nn(e,o),t=hn[n],!t&&Tn(n)?(r+=e[o],n>=65536&&(r+=e[o+1])):r+=t||yn(n);return r}function Hn(e,t,r){var n,o,i,a="",s=e.tag;for(n=0,o=r.length;n1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Kn(e,t,a,!1,!1)&&(s+=e.dump,c+=s));e.tag=u,e.dump="{"+c+"}"}function Wn(e,t,r,n){var o,i,a,s,c,u,l="",d=e.tag,f=Object.keys(r);if(!0===e.sortKeys)f.sort();else if("function"===typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new _e("sortKeys must be a boolean or a function");for(o=0,i=f.length;o1024,c&&(e.dump&&Vr===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,c&&(u+=En(e,t)),Kn(e,t+1,s,!0,c)&&(e.dump&&Vr===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,l+=u));e.tag=d,e.dump=l||"{}"}function Zn(e,t,r){var n,o,i,a,s,c;for(o=r?e.explicitTypes:e.implicitTypes,i=0,a=o.length;i tag resolver accepts not "'+c+'" style');n=s.represent[c](t,c)}e.dump=n}return!0}return!1}function Kn(e,t,r,n,o,i,a){e.tag=null,e.dump=r,Zn(e,r,!1)||Zn(e,r,!0);var s,c=$r.call(e.dump),u=n;n&&(n=e.flowLevel<0||e.flowLevel>t);var l,d,f="[object Object]"===c||"[object Array]"===c;if(f&&(l=e.duplicates.indexOf(r),d=-1!==l),(null!==e.tag&&"?"!==e.tag||d||2!==e.indent&&t>0)&&(o=!1),d&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&d&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(Wn(e,t,e.dump,o),d&&(e.dump="&ref_"+l+e.dump)):(Gn(e,t,e.dump),d&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===c)n&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?qn(e,t-1,e.dump,o):qn(e,t,e.dump,o),d&&(e.dump="&ref_"+l+e.dump)):(Hn(e,t,e.dump),d&&(e.dump="&ref_"+l+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new _e("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&Fn(e,e.dump,t,i,u)}null!==e.tag&&"?"!==e.tag&&(s=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),s="!"===e.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",e.dump=s+" "+e.dump)}return!0}function Yn(e,t){var r,n,o=[],i=[];for(Xn(e,o,i),r=0,n=i.length;r-1},No=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function Po(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.escape,o=arguments.length>2?arguments[2]:void 0;return"number"===typeof e&&(e=e.toString()),"string"===typeof e&&e.length&&n?o?JSON.parse(e):K()(t=Co(e)).call(t,(function(e){var t,r;if(No(e))return e;if(Oo(e)&&"unsafe"===n)return e;var o=new TextEncoder,i=K()(t=K()(r=q()(o.encode(e))).call(r,(function(e){var t;return Io()(t="0".concat(e.toString(16).toUpperCase())).call(t,-2)}))).call(t,(function(e){return"%".concat(e)})).join("");return i})).join(""):e}function ko(e){var t=e.value;return Array.isArray(t)?Ro(e):"object"===(0,N.Z)(t)?Mo(e):Bo(e)}function Ro(e){var t=e.key,r=e.value,n=e.style,o=e.explode,i=e.escape,a=function(e){return Po(e,{escape:i})};if("simple"===n)return K()(r).call(r,(function(e){return a(e)})).join(",");if("label"===n)return".".concat(K()(r).call(r,(function(e){return a(e)})).join("."));if("matrix"===n)return K()(r).call(r,(function(e){return a(e)})).reduce((function(e,r){var n,i,a;return!e||o?Q()(i=Q()(a="".concat(e||"",";")).call(a,t,"=")).call(i,r):Q()(n="".concat(e,",")).call(n,r)}),"");if("form"===n){var s=o?"&".concat(t,"="):",";return K()(r).call(r,(function(e){return a(e)})).join(s)}if("spaceDelimited"===n){var c=o?"".concat(t,"="):"";return K()(r).call(r,(function(e){return a(e)})).join(" ".concat(c))}if("pipeDelimited"===n){var u=o?"".concat(t,"="):"";return K()(r).call(r,(function(e){return a(e)})).join("|".concat(u))}}function Mo(e){var t=e.key,r=e.value,n=e.style,o=e.explode,i=e.escape,a=function(e){return Po(e,{escape:i})},s=X()(r);return"simple"===n?s.reduce((function(e,t){var n,i,s,c=a(r[t]),u=o?"=":",",l=e?"".concat(e,","):"";return Q()(n=Q()(i=Q()(s="".concat(l)).call(s,t)).call(i,u)).call(n,c)}),""):"label"===n?s.reduce((function(e,t){var n,i,s,c=a(r[t]),u=o?"=":".",l=e?"".concat(e,"."):".";return Q()(n=Q()(i=Q()(s="".concat(l)).call(s,t)).call(i,u)).call(n,c)}),""):"matrix"===n&&o?s.reduce((function(e,t){var n,o,i=a(r[t]),s=e?"".concat(e,";"):";";return Q()(n=Q()(o="".concat(s)).call(o,t,"=")).call(n,i)}),""):"matrix"===n?s.reduce((function(e,n){var o,i,s=a(r[n]),c=e?"".concat(e,","):";".concat(t,"=");return Q()(o=Q()(i="".concat(c)).call(i,n,",")).call(o,s)}),""):"form"===n?s.reduce((function(e,t){var n,i,s,c,u=a(r[t]),l=e?Q()(n="".concat(e)).call(n,o?"&":","):"",d=o?"=":",";return Q()(i=Q()(s=Q()(c="".concat(l)).call(c,t)).call(s,d)).call(i,u)}),""):void 0}function Bo(e){var t,r=e.key,n=e.value,o=e.style,i=e.escape,a=function(e){return Po(e,{escape:i})};return"simple"===o?a(n):"label"===o?".".concat(a(n)):"matrix"===o?Q()(t=";".concat(r,"=")).call(t,a(n)):"form"===o?a(n):"deepObject"===o?a(n,{},!0):void 0}var Lo=function(e,t){t.body=e};const Do=Lo;var Fo={serializeRes:Vo,mergeInQueryOrForm:ei};function $o(e){return Uo.apply(this,arguments)}function Uo(){return Uo=D($().mark((function e(t){var r,n,o,i,a,s=arguments;return $().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=s.length>1&&void 0!==s[1]?s[1]:{},"object"===(0,N.Z)(t)&&(r=t,t=r.url),r.headers=r.headers||{},Fo.mergeInQueryOrForm(r),r.headers&&X()(r.headers).forEach((function(e){var t=r.headers[e];"string"===typeof t&&(r.headers[e]=t.replace(/\n+/g," "))})),!r.requestInterceptor){e.next=12;break}return e.next=8,r.requestInterceptor(r);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0=r;case 11:r=e.t0;case 12:return n=r.headers["content-type"]||r.headers["Content-Type"],/multipart\/form-data/i.test(n)&&r.body instanceof bo&&(delete r.headers["content-type"],delete r.headers["Content-Type"]),e.prev=14,e.next=17,(r.userFetch||fetch)(r.url,r);case 17:return o=e.sent,e.next=20,Fo.serializeRes(o,t,r);case 20:if(o=e.sent,!r.responseInterceptor){e.next=28;break}return e.next=24,r.responseInterceptor(o);case 24:if(e.t1=e.sent,e.t1){e.next=27;break}e.t1=o;case 27:o=e.t1;case 28:e.next=39;break;case 30:if(e.prev=30,e.t2=e["catch"](14),o){e.next=34;break}throw e.t2;case 34:throw i=new Error(o.statusText||"response status is ".concat(o.status)),i.status=o.status,i.statusCode=o.status,i.responseError=e.t2,i;case 39:if(o.ok){e.next=45;break}throw a=new Error(o.statusText||"response status is ".concat(o.status)),a.status=o.status,a.statusCode=o.status,a.response=o,a;case 45:return e.abrupt("return",o);case 46:case"end":return e.stop()}}),e,null,[[14,30]])}))),Uo.apply(this,arguments)}var jo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(e)};function zo(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):vo.load(e)}function Vo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,o=void 0!==n&&n,i={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:qo(e.headers)},a=i.headers["content-type"],s=o||jo(a),c=s?e.text:e.blob||e.buffer;return c.call(e).then((function(e){if(i.text=e,i.data=e,s)try{var t=zo(e,a);i.body=t,i.obj=t}catch(r){i.parseError=r}return i}))}function Ho(e){var t=j()(e).call(e,", ");return t?e.split(", "):e}function qo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!==typeof V()(e)?{}:q()(V()(e).call(e)).reduce((function(e,t){var r=M(t,2),n=r[0],o=r[1];return e[n]=Ho(o),e}),{})}function Go(e,t){return t||"undefined"===typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==(0,N.Z)(e)||"string"!==typeof e.uri):"undefined"!==typeof Eo&&e instanceof Eo||("undefined"!==typeof _o&&e instanceof _o||(!!ArrayBuffer.isView(e)||null!==e&&"object"===(0,N.Z)(e)&&"function"===typeof e.pipe))}function Wo(e,t){return Array.isArray(e)&&e.some((function(e){return Go(e,t)}))}var Zo={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Ko={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Yo(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.collectionFormat,o=t.allowEmptyValue,i=t.serializationOption,a=t.encoding,s="object"!==(0,N.Z)(t)||Array.isArray(t)?t:t.value,c=r?function(e){return e.toString()}:function(e){return encodeURIComponent(e)},u=c(e);if("undefined"===typeof s&&o)return[[u,""]];if(Go(s)||Wo(s))return[[u,s]];if(i)return Xo(e,s,r,i);if(a){if([(0,N.Z)(a.style),(0,N.Z)(a.explode),(0,N.Z)(a.allowReserved)].some((function(e){return"undefined"!==e}))){var l=a.style,d=a.explode,f=a.allowReserved;return Xo(e,s,r,{style:l,explode:d,allowReserved:f})}if(a.contentType){if("application/json"===a.contentType){var h="string"===typeof s?s:W()(s);return[[u,c(h)]]}return[[u,c(s.toString())]]}return"object"!==(0,N.Z)(s)?[[u,c(s)]]:Array.isArray(s)&&s.every((function(e){return"object"!==(0,N.Z)(e)}))?[[u,K()(s).call(s,c).join(",")]]:[[u,c(W()(s))]]}return"object"!==(0,N.Z)(s)?[[u,c(s)]]:Array.isArray(s)?"multi"===n?[[u,K()(s).call(s,c)]]:[[u,K()(s).call(s,c).join(Ko[n||"csv"])]]:[[u,""]]}function Xo(e,t,r,n){var o,i,a,s=n.style||"form",c="undefined"===typeof n.explode?"form"===s:n.explode,u=!r&&(n&&n.allowReserved?"unsafe":"reserved"),l=function(e){return Po(e,{escape:u})},d=r?function(e){return e}:function(e){return Po(e,{escape:u})};return"object"!==(0,N.Z)(t)?[[d(e),l(t)]]:Array.isArray(t)?c?[[d(e),K()(t).call(t,l)]]:[[d(e),K()(t).call(t,l).join(Zo[s])]]:"deepObject"===s?K()(i=X()(t)).call(i,(function(r){var n;return[d(Q()(n="".concat(e,"[")).call(n,r,"]")),l(t[r])]})):c?K()(a=X()(t)).call(a,(function(e){return[d(e),l(t[e])]})):[[d(e),K()(o=X()(t)).call(o,(function(e){var r;return[Q()(r="".concat(d(e),",")).call(r,l(t[e]))]})).join(",")]]}function Jo(e){return te()(e).reduce((function(e,t){var r,n=M(t,2),o=n[0],i=n[1],a=O(Yo(o,i,!0));try{for(a.s();!(r=a.n()).done;){var s=M(r.value,2),c=s[0],u=s[1];if(Array.isArray(u)){var l,d=O(u);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(ArrayBuffer.isView(f)){var h=new _o([f]);e.append(c,h)}else e.append(c,f)}}catch(g){d.e(g)}finally{d.f()}}else if(ArrayBuffer.isView(u)){var p=new _o([u]);e.append(c,p)}else e.append(c,u)}}catch(g){a.e(g)}finally{a.f()}return e}),new bo)}function Qo(e){var t=X()(e).reduce((function(t,r){var n,o=O(Yo(r,e[r]));try{for(o.s();!(n=o.n()).done;){var i=M(n.value,2),a=i[0],s=i[1];t[a]=s}}catch(c){o.e(c)}finally{o.f()}return t}),{});return ie().stringify(t,{encode:!1,indices:!1})||""}function ei(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r=void 0===t?"":t,n=e.query,o=e.form,i=function(){for(var e=arguments.length,t=new Array(e),r=0;r=48&&t<=57))return!1;r++}return!0}function vi(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function wi(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function bi(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,r=e.length;t0&&"constructor"==c[l-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&void 0===f&&(void 0===u[h]?f=c.slice(0,l).join("/"):l==d-1&&(f=t.path),void 0!==f&&p(t,0,e,f)),l++,Array.isArray(u)){if("-"===h)h=u.length;else{if(r&&!yi(h))throw new Si("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",i,t,e);yi(h)&&(h=~~h)}if(l>=d){if(r&&"add"===t.op&&h>u.length)throw new Si("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",i,t,e);a=Ci[t.op].call(t,u,h,e);if(!1===a.test)throw new Si("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return a}}else if(l>=d){a=Ti[t.op].call(t,u,h,e);if(!1===a.test)throw new Si("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return a}if(u=u[h],r&&l0)throw new Si('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if(("move"===e.op||"copy"===e.op)&&"string"!==typeof e.from)throw new Si("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Si("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&bi(e.value))throw new Si("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r)if("add"==e.op){var o=e.path.split("/").length,i=n.split("/").length;if(o!==i+1&&o!==i)throw new Si("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==n)throw new Si("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if("move"===e.op||"copy"===e.op){var a={op:"_get",path:e.from,value:void 0},s=ki([a],r);if(s&&"OPERATION_PATH_UNRESOLVABLE"===s.name)throw new Si("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function ki(e,t,r){try{if(!Array.isArray(e))throw new Si("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Oi(mi(t),mi(e),r||!0);else{r=r||Pi;for(var n=0;n0&&(e.patches=[],e.callback&&e.callback(n)),n}function Vi(e,t,r,n,o){if(t!==e){"function"===typeof t.toJSON&&(t=t.toJSON());for(var i=gi(t),a=gi(e),s=!1,c=a.length-1;c>=0;c--){var u=a[c],l=e[u];if(!pi(t,u)||void 0===t[u]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+vi(u),value:mi(l)}),r.push({op:"remove",path:n+"/"+vi(u)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}),!0);else{var d=t[u];"object"==typeof l&&null!=l&&"object"==typeof d&&null!=d&&Array.isArray(l)===Array.isArray(d)?Vi(l,d,r,n+"/"+vi(u),o):l!==d&&(!0,o&&r.push({op:"test",path:n+"/"+vi(u),value:mi(l)}),r.push({op:"replace",path:n+"/"+vi(u),value:mi(d)}))}}if(s||i.length!=a.length)for(c=0;c0){var o=t(e,r[r.length-1],r);o&&(n=Q()(n).call(n,o))}if(Array.isArray(e)){var i=K()(e).call(e,(function(e,n){return aa(e,t,Q()(r).call(r,n))}));i&&(n=Q()(n).call(n,i))}else if(ha(e)){var a,s=K()(a=X()(e)).call(a,(function(n){return aa(e[n],t,Q()(r).call(r,n))}));s&&(n=Q()(n).call(n,s))}return n=da(n),n}function sa(e,t){if(!Array.isArray(t))return!1;for(var r=0,n=t.length;r-1&&-1===ka.indexOf(r)||Ra.indexOf(n)>-1||Ma.some((function(e){return n.indexOf(e)>-1}))}function La(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.specmap,o=r.getBaseUrlForNodePath,i=void 0===o?function(e){var r;return n.getContext(Q()(r=[]).call(r,Co(t),Co(e))).baseDoc}:o,a=r.targetKeys,s=void 0===a?["$ref","$$ref"]:a,c=[];return Na()(e).forEach((function(){if(j()(s).call(s,this.key)&&"string"===typeof this.node){var e=this.path,r=Q()(t).call(t,this.path),o=Da(this.node,i(e));c.push(n.replace(r,o))}})),c}function Da(e,t){var r,n=e.split("#"),o=M(n,2),i=o[0],a=o[1],s=_.resolve(i||"",t||"");return a?Q()(r="".concat(s,"#")).call(r,a):s}var Fa="application/json, application/yaml",$a=/^([a-z]+:\/\/|\/\/)/i,Ua=Ia("JSONRefError",(function(e,t,r){this.originalError=r,v()(this,t||{})})),ja={},za=new(Ta()),Va=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],Ha=function(e){return Va.some((function(t){return t(e)}))},qa={key:"$ref",plugin:function(e,t,r,n){var o=n.getInstance(),i=Io()(r).call(r,0,-1);if(!Ba(i)&&!Ha(i)){var a=n.getContext(r),s=a.baseDoc;if("string"!==typeof e)return new Ua("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:s,fullPath:r});var c,u,l,d=Ya(e),f=d[0],h=d[1]||"";try{c=s||f?Za(f,s):null}catch(y){return Ka(y,{pointer:h,$ref:e,basePath:c,fullPath:r})}if(cs(h,c,i,n)&&!o.useCircularStructures){var p=Da(e,c);return e===p?null:Wi.replace(r,p)}if(null==c?(l=rs(h),u=n.get(l),"undefined"===typeof u&&(u=new Ua("Could not resolve reference: ".concat(e),{pointer:h,$ref:e,baseDoc:s,fullPath:r}))):(u=Xa(c,h),u=null!=u.__value?u.__value:u.catch((function(t){throw Ka(t,{pointer:h,$ref:e,baseDoc:s,fullPath:r})}))),u instanceof Error)return[Wi.remove(r),u];var g=Da(e,c),m=Wi.replace(i,u,{$$ref:g});if(c&&c!==s)return[m,Wi.context(i,{baseDoc:c})];try{if(!us(n.state,m)||o.useCircularStructures)return m}catch(y){return null}}}},Ga=v()(qa,{docCache:ja,absoluteify:Za,clearCache:Ja,JSONRefError:Ua,wrapError:Ka,getDoc:Qa,split:Ya,extractFromDoc:Xa,fetchJSON:es,extract:ts,jsonPointerToArray:rs,unescapeJsonPointerToken:ns});const Wa=Ga;function Za(e,t){if(!$a.test(e)){var r;if(!t)throw new Ua(Q()(r="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(r,t,"'"));return _.resolve(t,e)}return e}function Ka(e,t){var r,n;e&&e.response&&e.response.body?r=Q()(n="".concat(e.response.body.code," ")).call(n,e.response.body.message):r=e.message;return new Ua("Could not resolve reference: ".concat(r),t,e)}function Ya(e){return(e+"").split("#")}function Xa(e,t){var r=ja[e];if(r&&!Wi.isPromise(r))try{var n=ts(t,r);return v()(ui().resolve(n),{__value:n})}catch(o){return ui().reject(o)}return Qa(e).then((function(e){return ts(t,e)}))}function Ja(e){"undefined"!==typeof e?delete ja[e]:X()(ja).forEach((function(e){delete ja[e]}))}function Qa(e){var t=ja[e];return t?Wi.isPromise(t)?t:ui().resolve(t):(ja[e]=Ga.fetchJSON(e).then((function(t){return ja[e]=t,t})),ja[e])}function es(e){return fetch(e,{headers:{Accept:Fa},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return vo.load(e)}))}function ts(e,t){var r=rs(e);if(r.length<1)return t;var n=Wi.getIn(t,r);if("undefined"===typeof n)throw new Ua("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return n}function rs(e){var t;if("string"!==typeof e)throw new TypeError("Expected a string, got a ".concat((0,N.Z)(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:K()(t=e.split("/")).call(t,ns)}function ns(e){if("string"!==typeof e)return e;var t=new(xa())("=".concat(e.replace(/~1/g,"/").replace(/~0/g,"~")));return t.get("")}function os(e){var t,r=new(xa())([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]);return Io()(t=r.toString()).call(t,1)}function is(e){return 0===e.length?"":"/".concat(K()(e).call(e,os).join("/"))}var as=function(e){return!e||"/"===e||"#"===e};function ss(e,t){if(as(t))return!0;var r=e.charAt(t.length),n=Io()(t).call(t,-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}function cs(e,t,r,n){var o,i,a=za.get(n);a||(a={},za.set(n,a));var s=is(r),c=Q()(o="".concat(t||"","#")).call(o,e),u=s.replace(/allOf\/\d+\/?/g,""),l=n.contextTree.get([]).baseDoc;if(t===l&&ss(u,e))return!0;var d="",f=r.some((function(e){var t;return d=Q()(t="".concat(d,"/")).call(t,os(e)),a[d]&&a[d].some((function(e){return ss(e,c)||ss(c,e)}))}));if(f)return!0;a[u]=Q()(i=a[u]||[]).call(i,c)}function us(e,t){var r=[e];return t.path.reduce((function(e,t){return r.push(e[t]),e[t]}),e),n(t.value);function n(e){return Wi.isObject(e)&&(r.indexOf(e)>=0||X()(e).some((function(t){return n(e[t])})))}}const ls={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var i=Io()(r).call(r,0,-1);if(!Ba(i)){if(!Array.isArray(e)){var a=new TypeError("allOf must be an array");return a.fullPath=r,a}var s=!1,c=o.value;if(i.forEach((function(e){c&&(c=c[e])})),c=m({},c),0!==X()(c).length){delete c.allOf;var u,l,d=[];if(d.push(n.replace(i,{})),e.forEach((function(e,t){if(!n.isObject(e)){if(s)return null;s=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,d.push(o)}d.push(n.mergeDeep(i,e));var a=Io()(r).call(r,0,-1),c=La(e,a,{getBaseUrlForNodePath:function(e){var o;return n.getContext(Q()(o=[]).call(o,Co(r),[t],Co(e))).baseDoc},specmap:n});d.push.apply(d,Co(c))})),c.example)d.push(n.remove(Q()(u=[]).call(u,i,"example")));if(d.push(n.mergeDeep(i,c)),!c.$$ref)d.push(n.remove(Q()(l=[]).call(l,i,"$$ref")));return d}}}}},ds={key:"parameters",plugin:function(e,t,r,n){if(Array.isArray(e)&&e.length){var o=v()([],e),i=Io()(r).call(r,0,-1),a=m({},Wi.getIn(n.spec,i));return e.forEach((function(e,t){try{o[t].default=n.parameterMacro(a,e)}catch(s){var i=new Error(s);return i.fullPath=r,i}})),Wi.replace(r,o)}return Wi.replace(r,e)}},fs={key:"properties",plugin:function(e,t,r,n){var o=m({},e);for(var i in e)try{o[i].default=n.modelPropertyMacro(o[i])}catch(c){var a=new Error(c);return a.fullPath=r,a}var s=Wi.replace(r,o);return s}};var hs=function(){function e(t){ri(this,e),this.root=ps(t||{})}return ii(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(r){var n=e[e.length-1],o=r.children;o[n]?gs(o[n],t,r):o[n]=ps(t,r)}else gs(this.root,t,null)}},{key:"get",value:function(e){if(e=e||[],e.length<1)return this.root.value;for(var t,r,n=this.root,o=0;o1?r-1:0),o=1;o1?n-1:0),i=1;i0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return ui().race(K()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e),r=t&&t[t.length-1];return r||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!==typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}},{key:"updatePatches",value:function(e){var t=this;Wi.normalizeArray(e).forEach((function(e){if(e instanceof Error)t.errors.push(e);else try{if(!Wi.isObject(e))return void t.debug("updatePatches","Got a non-object patch",e);if(t.showDebug&&t.allPatches.push(e),Wi.isPromise(e.value))return t.promisedPatches.push(e),void t.promisedPatchThen(e);if(Wi.isContextPatch(e))return void t.setContext(e.path,e.value);if(Wi.isMutation(e))return void t.updateMutations(e)}catch(r){console.error(r),t.errors.push(r)}}))}},{key:"updateMutations",value:function(e){"object"===(0,N.Z)(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=m({},e.value));var t=Wi.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,r=this.promisedPatches.indexOf(e);r<0?this.debug("Tried to remove a promisedPatch that isn't there!"):di()(t=this.promisedPatches).call(t,r,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(r){var n=m(m({},e),{},{value:r});t.removePromisedPatch(e),t.updatePatches(n)})).catch((function(r){t.removePromisedPatch(e),t.updatePatches(r)})),e.value}},{key:"getMutations",value:function(e,t){var r;return e=e||0,"number"!==typeof t&&(t=this.mutations.length),Io()(r=this.mutations).call(r,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return Wi.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){var t=this.getPluginRunCount(this.getCurrentPlugin());return t>(e||0)}},{key:"dispatch",value:function(){var e,t=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var i={spec:this.state,errors:this.errors};return this.showDebug&&(i.patches=this.allPatches),ui().resolve(i)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>ms)return ui().resolve({spec:r.state,errors:Q()(e=r.errors).call(e,new Error("We've reached a hard limit of ".concat(ms," plugin runs")))});if(n!==this.currentPlugin&&this.promisedPatches.length){var a,s=K()(a=this.promisedPatches).call(a,(function(e){return e.value}));return ui().all(K()(s).call(s,(function(e){return e.then(ys,ys)}))).then((function(){return t.dispatch()}))}return c();function c(){r.currentPlugin=n;var e=r.getCurrentMutations(),t=r.mutations.length-1;try{if(n.isGenerator){var o,i=O(n(e,r.getLib()));try{for(i.s();!(o=i.n()).done;){var a=o.value;u(a)}}catch(c){i.e(c)}finally{i.f()}}else{var s=n(e,r.getLib());u(s)}}catch(l){console.error(l),u([v()(Object.create(l),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:t})}return r.dispatch()}function u(e){e&&(e=Wi.fullyNormalizeArray(e),r.updatePatches(e,n))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return ne()(e).call(e,t)}}]),e}();function ws(e){return new vs(e).dispatch()}var bs={refs:Wa,allOf:ls,parameters:ds,properties:fs},_s=function(e){return String.prototype.toLowerCase.call(e)},Es=function(e){return e.replace(/[^\w]/gi,"_")};function Ss(e){var t=e.openapi;return!!t&&b()(t).call(t,"3")}function As(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;if(!e||"object"!==(0,N.Z)(e))return null;var i=(e.operationId||"").replace(/\s/g,"");return i.length?Es(e.operationId):Ts(t,r,{v2OperationIdCompatibilityMode:o})}function Ts(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.v2OperationIdCompatibilityMode;if(o){var i,a,s=Q()(i="".concat(t.toLowerCase(),"_")).call(i,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return s=s||Q()(a="".concat(e.substring(1),"_")).call(a,t),s.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return Q()(r="".concat(_s(t))).call(r,Es(e))}function Cs(e,t){var r;return Q()(r="".concat(_s(t),"-")).call(r,e)}function xs(e,t){return e&&e.paths?Is(e,(function(e){var r=e.pathName,n=e.method,o=e.operation;if(!o||"object"!==(0,N.Z)(o))return!1;var i=o.operationId,a=As(o,r,n),s=Cs(r,n);return[a,s,i].some((function(e){return e&&e===t}))})):null}function Is(e,t){return Os(e,t,!0)||null}function Os(e,t,r){if(!e||"object"!==(0,N.Z)(e)||!e.paths||"object"!==(0,N.Z)(e.paths))return null;var n=e.paths;for(var o in n)for(var i in n[o])if("PARAMETERS"!==i.toUpperCase()){var a=n[o][i];if(a&&"object"===(0,N.Z)(a)){var s={spec:e,pathName:o,method:i.toUpperCase(),operation:a},c=t(s);if(r&&c)return s}}}function Ns(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var o in r){var i,a=r[o];if(null!=a&&j()(i=["object","function"]).call(i,(0,N.Z)(a))){var s=a.parameters,c=function(e){var r,i=a[e];if(null==i||!j()(r=["object","function"]).call(r,(0,N.Z)(i)))return"continue";var c=As(i,o,e);if(c){n[c]?n[c].push(i):n[c]=[i];var u=n[c];if(u.length>1)u.forEach((function(e,t){var r;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=Q()(r="".concat(c)).call(r,t+1)}));else if("undefined"!==typeof i.operationId){var l=u[0];l.__originalOperationId=l.__originalOperationId||i.operationId,l.operationId=c}}if("parameters"!==e){var d=[],f={};for(var h in t)"produces"!==h&&"consumes"!==h&&"security"!==h||(f[h]=t[h],d.push(f));if(s&&(f.parameters=s,d.push(f)),d.length){var p,g=O(d);try{for(g.s();!(p=g.n()).done;){var m=p.value;for(var y in m)if(i[y]){if("parameters"===y){var v,w=O(m[y]);try{var b=function(){var e=v.value,t=i[y].some((function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e}));t||i[y].push(e)};for(w.s();!(v=w.n()).done;)b()}catch(_){w.e(_)}finally{w.f()}}}else i[y]=m[y]}}catch(_){g.e(_)}finally{g.f()}}}};for(var u in a)c(u)}}return t.$$normalized=!0,e}function Ps(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:Fa},credentials:o}).then((function(e){return e.body}))}}function ks(){bs.refs.clearCache()}function Rs(e){var t=e.fetch,r=e.spec,n=e.url,o=e.mode,i=e.allowMetaPatches,a=void 0===i||i,s=e.pathDiscriminator,c=e.modelPropertyMacro,u=e.parameterMacro,l=e.requestInterceptor,d=e.responseInterceptor,f=e.skipNormalization,h=e.useCircularStructures,p=e.http,g=e.baseDoc;return g=g||n,p=t||p||$o,r?m(r):Ps(p,{requestInterceptor:l,responseInterceptor:d})(g).then(m);function m(e){g&&(bs.refs.docCache[g]=e),bs.refs.fetchJSON=Ps(p,{requestInterceptor:l,responseInterceptor:d});var t=[bs.refs];return"function"===typeof u&&t.push(bs.parameters),"function"===typeof c&&t.push(bs.properties),"strict"!==o&&t.push(bs.allOf),ws({spec:e,context:{baseDoc:g},plugins:t,allowMetaPatches:a,pathDiscriminator:s,parameterMacro:u,modelPropertyMacro:c,useCircularStructures:h}).then(f?function(){var e=D($().mark((function e(t){return $().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():Ns)}}var Ms=r(16423);function Bs(e,t){return Ls.apply(this,arguments)}function Ls(){return Ls=D($().mark((function e(t,r){var n,o,i,a,s,c,u,l,d,f,h,p,g=arguments;return $().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=g.length>2&&void 0!==g[2]?g[2]:{},o=n.returnEntireTree,i=n.baseDoc,a=n.requestInterceptor,s=n.responseInterceptor,c=n.parameterMacro,u=n.modelPropertyMacro,l=n.useCircularStructures,d={pathDiscriminator:r,baseDoc:i,requestInterceptor:a,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:u,useCircularStructures:l},f=Ns({spec:t}),h=f.spec,e.next=6,Rs(m(m({},d),{},{spec:h,allowMetaPatches:!0,skipNormalization:!0}));case 6:return p=e.sent,!o&&Array.isArray(r)&&r.length&&(p.spec=(0,Ms.Z)(p.spec,r)||null),e.abrupt("return",p);case 9:case"end":return e.stop()}}),e)}))),Ls.apply(this,arguments)}var Ds=function(){return null},Fs=function(e){return Array.isArray(e)?e:[e]},$s={mapTagOperations:zs,makeExecute:Us};function Us(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,o=t.operationId;return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.requestInterceptor,s=e.responseInterceptor,c=e.userFetch;return e.execute(m({spec:e.spec,requestInterceptor:a,responseInterceptor:s,userFetch:c,pathName:r,method:n,parameters:t,operationId:o},i))}}}function js(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=$s.makeExecute(e);return{apis:$s.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}}function zs(e){var t=e.spec,r=e.cb,n=void 0===r?Ds:r,o=e.defaultTag,i=void 0===o?"default":o,a=e.v2OperationIdCompatibilityMode,s={},c={};return Os(t,(function(e){var r=e.pathName,o=e.method,u=e.operation,l=u.tags?Fs(u.tags):[i];l.forEach((function(e){if("string"===typeof e){c[e]=c[e]||{};var i,l=c[e],d=As(u,r,o,{v2OperationIdCompatibilityMode:a}),f=n({spec:t,pathName:r,method:o,operation:u,operationId:d});if(s[d])s[d]+=1,l[Q()(i="".concat(d)).call(i,s[d])]=f;else if("undefined"!==typeof l[d]){var h,p,g=s[d]||1;s[d]=g+1,l[Q()(h="".concat(d)).call(h,s[d])]=f;var m=l[d];delete l[d],l[Q()(p="".concat(d)).call(p,g)]=m}else l[d]=f}}))})),c}var Vs=r(51791);function Hs(e,t){if(null==e)return{};var r,n,o={},i=a(e);for(n=0;n=0||(o[r]=e[r]);return o}function qs(e,t){if(null==e)return{};var r,n,o=Hs(e,t);if(s){var i=s(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Gs=r(76489); -/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ -function Ws(e){return"[object Object]"===Object.prototype.toString.call(e)}function Zs(e){var t,r;return!1!==Ws(e)&&(t=e.constructor,void 0===t||(r=t.prototype,!1!==Ws(r)&&!1!==r.hasOwnProperty("isPrototypeOf")))}const Ks={body:Ys,header:Js,query:ec,path:Qs,formData:Xs};function Ys(e){var t=e.req,r=e.value;t.body=r}function Xs(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function Js(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},"undefined"!==typeof n&&(t.headers[r.name]=n)}function Qs(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.split("{".concat(n.name,"}")).join(encodeURIComponent(r))}function ec(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&"boolean"===n.type&&(r="false"),0===r&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&void 0!==r){var o=n.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}}function tc(e,t){return j()(t).call(t,"application/json")?"string"===typeof e?e:W()(e):e.toString()}function rc(e){var t=e.req,r=e.value,n=e.parameter,o=n.name,i=n.style,a=n.explode,s=n.content;if(s){var c=X()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(Po(tc(r,c),{escape:!0}))}else{var u=ko({key:n.name,value:r,style:i||"simple",explode:a||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(u)}}function nc(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},n.content){var o=X()(n.content)[0];t.query[n.name]=tc(r,o)}else if(!1===r&&(r="false"),0===r&&(r="0"),r){var i=n.style,a=n.explode,s=n.allowReserved;t.query[n.name]={value:r,serializationOption:{style:i,explode:a,allowReserved:s}}}else if(n.allowEmptyValue&&void 0!==r){var c=n.name;t.query[c]=t.query[c]||{},t.query[c].allowEmptyValue=!0}}var oc=["accept","authorization","content-type"];function ic(e){var t=e.req,r=e.parameter,n=e.value;if(t.headers=t.headers||{},!(oc.indexOf(r.name.toLowerCase())>-1))if(r.content){var o=X()(r.content)[0];t.headers[r.name]=tc(n,o)}else"undefined"!==typeof n&&(t.headers[r.name]=ko({key:r.name,value:n,style:r.style||"simple",explode:"undefined"!==typeof r.explode&&r.explode,escape:!1}))}function ac(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var o=(0,N.Z)(n);if(r.content){var i,a=X()(r.content)[0];t.headers.Cookie=Q()(i="".concat(r.name,"=")).call(i,tc(n,a))}else if("undefined"!==o){var s="object"===o&&!Array.isArray(n)&&r.explode?"":"".concat(r.name,"=");t.headers.Cookie=s+ko({key:r.name,value:n,escape:!1,style:r.style||"form",explode:"undefined"!==typeof r.explode&&r.explode})}}var sc=r(50706),cc=r.n(sc);function uc(e,t){var r=e.operation,n=e.requestBody,o=e.securities,i=e.spec,a=e.attachContentTypeForEmptyPayload,s=e.requestContentType;t=lc({request:t,securities:o,operation:r,spec:i});var c=r.requestBody||{},u=X()(c.content||{}),l=s&&u.indexOf(s)>-1;if(n||a){if(s&&l)t.headers["Content-Type"]=s;else if(!s){var d=u[0];d&&(t.headers["Content-Type"]=d,s=d)}}else s&&l&&(t.headers["Content-Type"]=s);if(!e.responseContentType&&r.responses){var f,h=ne()(f=te()(r.responses)).call(f,(function(e){var t=M(e,2),r=t[0],n=t[1],o=parseInt(r,10);return o>=200&&o<300&&Zs(n.content)})).reduce((function(e,t){var r=M(t,2),n=r[1];return Q()(e).call(e,X()(n.content))}),[]);h.length>0&&(t.headers.accept=h.join(", "))}if(n)if(s){if(u.indexOf(s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"===(0,N.Z)(n)){var p=(c.content[s]||{}).encoding||{};t.form={},X()(n).forEach((function(e){t.form[e]={value:n[e],encoding:p[e]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t}function lc(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,i=void 0===o?{}:o,a=e.spec,s=m({},t),c=n.authorized,u=void 0===c?{}:c,l=i.security||a.security||[],d=u&&!!X()(u).length,f=(0,Ms.Z)(a,["components","securitySchemes"])||{};return s.headers=s.headers||{},s.query=s.query||{},X()(n).length&&d&&l&&(!Array.isArray(i.security)||i.security.length)?(l.forEach((function(e){X()(e).forEach((function(e){var t=u[e],r=f[e];if(t){var n=t.value||t,o=r.type;if(t)if("apiKey"===o)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n);else if("http"===o){if(/^basic$/i.test(r.scheme)){var i,a=n.username||"",c=n.password||"",l=cc()(Q()(i="".concat(a,":")).call(i,c));s.headers.Authorization="Basic ".concat(l)}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization="Bearer ".concat(n))}else if("oauth2"===o||"openIdConnect"===o){var d,h=t.token||{},p=r["x-tokenName"]||"access_token",g=h[p],m=h.token_type;m&&"bearer"!==m.toLowerCase()||(m="Bearer"),s.headers.Authorization=Q()(d="".concat(m," ")).call(d,g)}}}))})),s):t}function dc(e,t){var r,n,o=e.spec,i=e.operation,a=e.securities,s=e.requestContentType,c=e.responseContentType,u=e.attachContentTypeForEmptyPayload;if(t=fc({request:t,securities:a,operation:i,spec:o}),t.body||t.form||u)if(s)t.headers["Content-Type"]=s;else if(Array.isArray(i.consumes)){var l=M(i.consumes,1);t.headers["Content-Type"]=l[0]}else if(Array.isArray(o.consumes)){var d=M(o.consumes,1);t.headers["Content-Type"]=d[0]}else i.parameters&&ne()(r=i.parameters).call(r,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":i.parameters&&ne()(n=i.parameters).call(n,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){var f,h,p=i.parameters&&ne()(f=i.parameters).call(f,(function(e){return"body"===e.in})).length>0,g=i.parameters&&ne()(h=i.parameters).call(h,(function(e){return"formData"===e.in})).length>0;(p||g)&&(t.headers["Content-Type"]=s)}return!c&&Array.isArray(i.produces)&&i.produces.length>0&&(t.headers.accept=i.produces.join(", ")),t}function fc(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,i=void 0===o?{}:o,a=e.spec,s=m({},t),c=n.authorized,u=void 0===c?{}:c,l=n.specSecurity,d=void 0===l?[]:l,f=i.security||d,h=u&&!!X()(u).length,p=a.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},X()(n).length&&h&&f&&(!Array.isArray(i.security)||i.security.length)?(f.forEach((function(e){X()(e).forEach((function(e){var t=u[e];if(t){var r=t.token,n=t.value||t,o=p[e],i=o.type,a=o["x-tokenName"]||"access_token",c=r&&r[a],l=r&&r.token_type;if(t)if("apiKey"===i){var d="query"===o.in?"query":"headers";s[d]=s[d]||{},s[d][o.name]=n}else if("basic"===i)if(n.header)s.headers.authorization=n.header;else{var f,h=n.username||"",g=n.password||"";n.base64=cc()(Q()(f="".concat(h,":")).call(f,g)),s.headers.authorization="Basic ".concat(n.base64)}else if("oauth2"===i&&c){var m;l=l&&"bearer"!==l.toLowerCase()?l:"Bearer",s.headers.authorization=Q()(m="".concat(l," ")).call(m,c)}}}))})),s):t}var hc=["http","fetch","spec","operationId","pathName","method","parameters","securities"],pc=function(e){return Array.isArray(e)?e:[]},gc=Ia("OperationNotFoundError",(function(e,t,r){this.originalError=r,v()(this,t||{})})),mc=function(e,t){return ne()(t).call(t,(function(t){return t.name===e}))},yc=function(e){var t={};e.forEach((function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}));var r=[];return X()(t).forEach((function(e){X()(t[e]).forEach((function(n){r.push(t[e][n])}))})),r},vc={buildRequest:bc};function wc(e){var t=e.http,r=e.fetch,n=e.spec,o=e.operationId,i=e.pathName,a=e.method,s=e.parameters,c=e.securities,u=qs(e,hc),l=t||r||$o;i&&a&&!o&&(o=Cs(i,a));var d=vc.buildRequest(m({spec:n,operationId:o,parameters:s,securities:c,http:l},u));return d.body&&(Zs(d.body)||Array.isArray(d.body))&&(d.body=W()(d.body)),l(d)}function bc(e){var t,r,n=e.spec,o=e.operationId,a=e.responseContentType,s=e.scheme,c=e.requestInterceptor,u=e.responseInterceptor,l=e.contextUrl,d=e.userFetch,f=e.server,h=e.serverVariables,p=e.http,g=e.signal,y=e.parameters,v=e.parameterBuilders,w=Ss(n);v||(v=w?i:Ks);var b=p&&p.withCredentials?"include":"same-origin",_={url:"",credentials:b,headers:{},cookies:{}};g&&(_.signal=g),c&&(_.requestInterceptor=c),u&&(_.responseInterceptor=u),d&&(_.userFetch=d);var E=xs(n,o);if(!E)throw new gc("Operation ".concat(o," not found"));var S=E.operation,A=void 0===S?{}:S,T=E.method,C=E.pathName;if(_.url+=Ec({spec:n,scheme:s,contextUrl:l,server:f,serverVariables:h,pathName:C,method:T}),!o)return delete _.cookies,_;_.url+=C,_.method="".concat(T).toUpperCase(),y=y||{};var x=n.paths[C]||{};a&&(_.headers.accept=a);var I=yc(Q()(t=Q()(r=[]).call(r,pc(A.parameters))).call(t,pc(x.parameters)));I.forEach((function(e){var t,r,o=v[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=y),t=e&&e.name&&y[e.name],"undefined"===typeof t)t=e&&e.name&&y[Q()(r="".concat(e.in,".")).call(r,e.name)];else if(mc(e.name,I).length>1){var i;console.warn(Q()(i="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(i,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if("undefined"!==typeof e.default&&"undefined"===typeof t&&(t=e.default),"undefined"===typeof t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(w&&e.schema&&"object"===e.schema.type&&"string"===typeof t)try{t=JSON.parse(t)}catch(a){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:_,parameter:e,value:t,operation:A,spec:n})}}));var O=m(m({},e),{},{operation:A});if(_=w?uc(O,_):dc(O,_),_.cookies&&X()(_.cookies).length){var N=X()(_.cookies).reduce((function(e,t){var r=_.cookies[t],n=e?"&":"",o=Gs.serialize(t,r);return e+n+o}),"");_.headers.Cookie=N}return _.cookies&&delete _.cookies,ei(_),_}var _c=function(e){return e?e.replace(/\W/g,""):null};function Ec(e){var t=Ss(e.spec);return t?Sc(e):Cc(e)}function Sc(e){var t=e.spec,r=e.pathName,n=e.method,o=e.server,i=e.contextUrl,a=e.serverVariables,s=void 0===a?{}:a,c=(0,Ms.Z)(t,["paths",r,(n||"").toLowerCase(),"servers"])||(0,Ms.Z)(t,["paths",r,"servers"])||(0,Ms.Z)(t,["servers"]),u="",l=null;if(o&&c&&c.length){var d=K()(c).call(c,(function(e){return e.url}));d.indexOf(o)>-1&&(u=o,l=c[d.indexOf(o)])}if(!u&&c&&c.length){u=c[0].url;var f=M(c,1);l=f[0]}if(u.indexOf("{")>-1){var h=Tc(u);h.forEach((function(e){if(l.variables&&l.variables[e]){var t=l.variables[e],r=s[e]||t.default,n=new RegExp("{".concat(e,"}"),"g");u=u.replace(n,r)}}))}return Ac(u,i)}function Ac(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=r&&n?_.parse(_.resolve(n,r)):_.parse(r),i=_.parse(n),a=_c(o.protocol)||_c(i.protocol)||"",s=o.host||i.host,c=o.pathname||"";a&&s?e=Q()(t="".concat(a,"://")).call(t,s+c):e=c;return"/"===e[e.length-1]?Io()(e).call(e,0,-1):e}function Tc(e){var t,r=[],n=/{([^}]+)}/g;while(t=n.exec(e))r.push(t[1]);return r}function Cc(e){var t,r,n=e.spec,o=e.scheme,i=e.contextUrl,a=void 0===i?"":i,s=_.parse(a),c=Array.isArray(n.schemes)?n.schemes[0]:null,u=o||c||_c(s.protocol)||"http",l=n.host||s.host||"",d=n.basePath||"";u&&l?t=Q()(r="".concat(u,"://")).call(r,l+d):t=d;return"/"===t[t.length-1]?Io()(t).call(t,0,-1):t}function xc(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"===typeof e?r.url=e:r=e,!(this instanceof xc))return new xc(r);v()(this,r);var n=this.resolve().then((function(){return t.disableInterfaces||v()(t,xc.makeApisTagOperation(t)),t}));return n.client=this,n}xc.http=$o,xc.makeHttp=ti.bind(null,xc.http),xc.resolve=Rs,xc.resolveSubtree=Bs,xc.execute=wc,xc.serializeRes=Vo,xc.serializeHeaders=qo,xc.clearCache=ks,xc.makeApisTagOperation=js,xc.buildRequest=bc,xc.helpers={opId:As},xc.getBaseUrl=Ec,xc.prototype={http:$o,execute:function(e){return this.applyDefaults(),xc.execute(m({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"===typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return xc.resolve(m({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null,skipNormalization:this.skipNormalization||!1},t)).then((function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e}))}},xc.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&b()(t).call(t,"http")){var r=_.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};xc.helpers;const Ic=xc},83244:e=>{"use strict";var t=function(e){return r(e)&&!n(e)};function r(e){return!!e&&"object"===typeof e}function n(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||a(e)}var o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103;function a(e){return e.$$typeof===i}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(s(e),e,t):e}function u(e,t,r){return e.concat(t).map((function(e){return c(e,r)}))}function l(e,t){if(!t.customMerge)return m;var r=t.customMerge(e);return"function"===typeof r?r:m}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function f(e){return Object.keys(e).concat(d(e))}function h(e,t){try{return t in e}catch(r){return!1}}function p(e,t){return h(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function g(e,t,r){var n={};return r.isMergeableObject(e)&&f(e).forEach((function(t){n[t]=c(e[t],r)})),f(t).forEach((function(o){p(e,o)||(h(e,o)&&r.isMergeableObject(t[o])?n[o]=l(o,r)(e[o],t[o],r):n[o]=c(t[o],r))})),n}function m(e,r,n){n=n||{},n.arrayMerge=n.arrayMerge||u,n.isMergeableObject=n.isMergeableObject||t,n.cloneUnlessOtherwiseSpecified=c;var o=Array.isArray(r),i=Array.isArray(e),a=o===i;return a?o?n.arrayMerge(e,r,n):g(e,r,n):c(r,n)}m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return m(e,r,t)}),{})};var y=m;e.exports=y},24269:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},92495:(e,t,r)=>{"use strict";var n=r(57347),o=r(73777),i=r(24269);e.exports={formats:i,parse:o,stringify:n}},73777:(e,t,r)=>{"use strict";var n=r(58760),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",d=function(e,t){var r,d={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,h),g=-1,m=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(v=i(v)?[v]:v),o.call(d,y)?d[y]=n.combine(d[y],v):d[y]=v}return d},f=function(e,t,r,n){for(var o=n?t:c(t,r),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[],a[l]=o):"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},h=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=r.depth>0&&a.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}var d=0;while(r.depth>0&&null!==(c=s.exec(i))&&d{"use strict";var n=r(37478),o=r(58760),i=r(24269),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,d=function(e,t){l.apply(e,c(t)?t:[t])},f=Date.prototype.toISOString,h=i["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},g=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},y=function e(t,r,i,a,s,l,f,h,y,v,w,b,_,E,S){var A=t,T=S,C=0,x=!1;while(void 0!==(T=T.get(m))&&!x){var I=T.get(t);if(C+=1,"undefined"!==typeof I){if(I===C)throw new RangeError("Cyclic object value");x=!0}"undefined"===typeof T.get(m)&&(C=0)}if("function"===typeof f?A=f(r,A):A instanceof Date?A=v(A):"comma"===i&&c(A)&&(A=o.maybeMap(A,(function(e){return e instanceof Date?v(e):e}))),null===A){if(a)return l&&!_?l(r,p.encoder,E,"key",w):r;A=""}if(g(A)||o.isBuffer(A)){if(l){var O=_?r:l(r,p.encoder,E,"key",w);if("comma"===i&&_){for(var N=u.call(String(A),","),P="",k=0;k0?A.join(",")||null:void 0}];else if(c(f))R=f;else{var B=Object.keys(A);R=h?B.sort(h):B}for(var L=0;L0?w+m:""}},58760:(e,t,r)=>{"use strict";var n=r(24269),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===n.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{function n(e){if(Array.isArray(e))return e}r(79753),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},91774:(e,t,r)=>{function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(69070),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},99032:(e,t,r)=>{function n(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done);a=!0)if(i.push(n.value),t&&i.length===t)break}catch(c){s=!0,o=c}finally{try{a||null==r["return"]||r["return"]()}finally{if(s)throw o}}return i}}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(57658),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},36622:(e,t,r)=>{function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r(21703),r(96647),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},13930:(e,t,r)=>{r(47941),r(82526),r(57327),r(41539),r(38880),r(57658),r(89554),r(54747),r(49337),r(33321),r(69070);var n=r(91774);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t{var n=r(15025),o=r(99032),i=r(93133),a=r(36622);function s(e,t){return n(e)||o(e,t)||i(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},93133:(e,t,r)=>{r(47042),r(96647),r(83710),r(41539),r(39714),r(68309),r(91038),r(78783),r(74916),r(77601);var n=r(66742);function o(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},13692:e=>{var t=e.exports=function(e){return new r(e)};function r(e){this.value=e}function n(e,t,r){var n=[],a=[],s=!0;return function e(c){var u=r?o(c):c,l={},d=!0,f={node:u,node_:c,path:[].concat(n),parent:a[a.length-1],parents:a,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(e,t){f.isRoot||(f.parent.node[f.key]=e),f.node=e,t&&(d=!1)},delete:function(e){delete f.parent.node[f.key],e&&(d=!1)},remove:function(e){h(f.parent.node)?f.parent.node.splice(f.key,1):delete f.parent.node[f.key],e&&(d=!1)},keys:null,before:function(e){l.before=e},after:function(e){l.after=e},pre:function(e){l.pre=e},post:function(e){l.post=e},stop:function(){s=!1},block:function(){d=!1}};if(!s)return f;function m(){if("object"===typeof f.node&&null!==f.node){f.keys&&f.node_===f.node||(f.keys=i(f.node)),f.isLeaf=0==f.keys.length;for(var e=0;et&&(o=e.hash(o)),i=0;i{(function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function g(e,t,r,n,o){var i,a=0;for(i=0;i>>8)-1}function m(e,t,r,n){return g(e,t,r,n,16)}function y(e,t,r,n){return g(e,t,r,n,32)}function v(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,m=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,_=i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[9]=S>>>8&255,e[10]=S>>>16&255,e[11]=S>>>24&255,e[12]=A>>>0&255,e[13]=A>>>8&255,e[14]=A>>>16&255,e[15]=A>>>24&255,e[16]=T>>>0&255,e[17]=T>>>8&255,e[18]=T>>>16&255,e[19]=T>>>24&255,e[20]=C>>>0&255,e[21]=C>>>8&255,e[22]=C>>>16&255,e[23]=C>>>24&255,e[24]=x>>>0&255,e[25]=x>>>8&255,e[26]=x>>>16&255,e[27]=x>>>24&255,e[28]=I>>>0&255,e[29]=I>>>8&255,e[30]=I>>>16&255,e[31]=I>>>24&255,e[32]=O>>>0&255,e[33]=O>>>8&255,e[34]=O>>>16&255,e[35]=O>>>24&255,e[36]=N>>>0&255,e[37]=N>>>8&255,e[38]=N>>>16&255,e[39]=N>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=k>>>0&255,e[45]=k>>>8&255,e[46]=k>>>16&255,e[47]=k>>>24&255,e[48]=R>>>0&255,e[49]=R>>>8&255,e[50]=R>>>16&255,e[51]=R>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=B>>>0&255,e[57]=B>>>8&255,e[58]=B>>>16&255,e[59]=B>>>24&255,e[60]=L>>>0&255,e[61]=L>>>8&255,e[62]=L>>>16&255,e[63]=L>>>24&255}function w(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,m=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,y=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,v=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,_=i,E=a,S=s,A=c,T=u,C=l,x=d,I=f,O=h,N=p,P=g,k=m,R=y,M=v,B=w,L=b,D=0;D<20;D+=2)o=_+R|0,T^=o<<7|o>>>25,o=T+_|0,O^=o<<9|o>>>23,o=O+T|0,R^=o<<13|o>>>19,o=R+O|0,_^=o<<18|o>>>14,o=C+E|0,N^=o<<7|o>>>25,o=N+C|0,M^=o<<9|o>>>23,o=M+N|0,E^=o<<13|o>>>19,o=E+M|0,C^=o<<18|o>>>14,o=P+x|0,B^=o<<7|o>>>25,o=B+P|0,S^=o<<9|o>>>23,o=S+B|0,x^=o<<13|o>>>19,o=x+S|0,P^=o<<18|o>>>14,o=L+k|0,A^=o<<7|o>>>25,o=A+L|0,I^=o<<9|o>>>23,o=I+A|0,k^=o<<13|o>>>19,o=k+I|0,L^=o<<18|o>>>14,o=_+A|0,E^=o<<7|o>>>25,o=E+_|0,S^=o<<9|o>>>23,o=S+E|0,A^=o<<13|o>>>19,o=A+S|0,_^=o<<18|o>>>14,o=C+T|0,x^=o<<7|o>>>25,o=x+C|0,I^=o<<9|o>>>23,o=I+x|0,T^=o<<13|o>>>19,o=T+I|0,C^=o<<18|o>>>14,o=P+N|0,k^=o<<7|o>>>25,o=k+P|0,O^=o<<9|o>>>23,o=O+k|0,N^=o<<13|o>>>19,o=N+O|0,P^=o<<18|o>>>14,o=L+B|0,R^=o<<7|o>>>25,o=R+L|0,M^=o<<9|o>>>23,o=M+R|0,B^=o<<13|o>>>19,o=B+M|0,L^=o<<18|o>>>14;e[0]=_>>>0&255,e[1]=_>>>8&255,e[2]=_>>>16&255,e[3]=_>>>24&255,e[4]=C>>>0&255,e[5]=C>>>8&255,e[6]=C>>>16&255,e[7]=C>>>24&255,e[8]=P>>>0&255,e[9]=P>>>8&255,e[10]=P>>>16&255,e[11]=P>>>24&255,e[12]=L>>>0&255,e[13]=L>>>8&255,e[14]=L>>>16&255,e[15]=L>>>24&255,e[16]=x>>>0&255,e[17]=x>>>8&255,e[18]=x>>>16&255,e[19]=x>>>24&255,e[20]=I>>>0&255,e[21]=I>>>8&255,e[22]=I>>>16&255,e[23]=I>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=N>>>0&255,e[29]=N>>>8&255,e[30]=N>>>16&255,e[31]=N>>>24&255}function b(e,t,r,n){v(e,t,r,n)}function _(e,t,r,n){w(e,t,r,n)}var E=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function S(e,t,r,n,o,i,a){var s,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=i[c];while(o>=64){for(b(l,u,a,E),c=0;c<64;c++)e[t+c]=r[n+c]^l[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,t+=64,n+=64}if(o>0)for(b(l,u,a,E),c=0;c=64){for(b(c,s,o,E),a=0;a<64;a++)e[t+a]=c[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(b(c,s,o,E),a=0;a>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function I(e,t,r,n,o,i){var a=new x(i);return a.update(r,n,o),a.finish(e,t),0}function O(e,t,r,n,o,i){var a=new Uint8Array(16);return I(a,0,r,n,o,i),m(e,t,a,0)}function N(e,t,r,n,o){var i;if(r<32)return-1;for(C(e,0,t,0,r,n,o),I(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function P(e,t,r,n,o){var i,a=new Uint8Array(32);if(r<32)return-1;if(T(a,0,32,n,o),0!==O(t,16,t,32,r-32,a))return-1;for(C(e,0,t,0,r,n,o),i=0;i<32;i++)e[i]=0;return 0}function k(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function R(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function M(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function B(e,r){var n,o,i,a=t(),s=t();for(n=0;n<16;n++)s[n]=r[n];for(R(s),R(s),R(s),o=0;o<2;o++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,M(s,a,1-i)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function L(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return B(r,e),B(n,t),y(r,0,n,0)}function D(e){var t=new Uint8Array(32);return B(t,e),1&t[0]}function F(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function $(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function j(e,t,r){var n,o,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=r[0],D=r[1],F=r[2],$=r[3],U=r[4],j=r[5],z=r[6],V=r[7],H=r[8],q=r[9],G=r[10],W=r[11],Z=r[12],K=r[13],Y=r[14],X=r[15];n=t[0],i+=n*L,a+=n*D,s+=n*F,c+=n*$,u+=n*U,l+=n*j,d+=n*z,f+=n*V,h+=n*H,p+=n*q,g+=n*G,m+=n*W,y+=n*Z,v+=n*K,w+=n*Y,b+=n*X,n=t[1],a+=n*L,s+=n*D,c+=n*F,u+=n*$,l+=n*U,d+=n*j,f+=n*z,h+=n*V,p+=n*H,g+=n*q,m+=n*G,y+=n*W,v+=n*Z,w+=n*K,b+=n*Y,_+=n*X,n=t[2],s+=n*L,c+=n*D,u+=n*F,l+=n*$,d+=n*U,f+=n*j,h+=n*z,p+=n*V,g+=n*H,m+=n*q,y+=n*G,v+=n*W,w+=n*Z,b+=n*K,_+=n*Y,E+=n*X,n=t[3],c+=n*L,u+=n*D,l+=n*F,d+=n*$,f+=n*U,h+=n*j,p+=n*z,g+=n*V,m+=n*H,y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+=n*D,w+=n*F,b+=n*$,_+=n*U,E+=n*j,S+=n*z,A+=n*V,T+=n*H,C+=n*q,x+=n*G,I+=n*W,O+=n*Z,N+=n*K,P+=n*Y,k+=n*X,n=t[13],v+=n*L,w+=n*D,b+=n*F,_+=n*$,E+=n*U,S+=n*j,A+=n*z,T+=n*V,C+=n*H,x+=n*q,I+=n*G,O+=n*W,N+=n*Z,P+=n*K,k+=n*Y,R+=n*X,n=t[14],w+=n*L,b+=n*D,_+=n*F,E+=n*$,S+=n*U,A+=n*j,T+=n*z,C+=n*V,x+=n*H,I+=n*q,O+=n*G,N+=n*W,P+=n*Z,k+=n*K,R+=n*Y,M+=n*X,n=t[15],b+=n*L,_+=n*D,E+=n*F,S+=n*$,A+=n*U,T+=n*j,C+=n*z,x+=n*V,I+=n*H,O+=n*q,N+=n*G,P+=n*W,k+=n*Z,R+=n*K,M+=n*Y,B+=n*X,i+=38*_,a+=38*E,s+=38*S,c+=38*A,u+=38*T,l+=38*C,d+=38*x,f+=38*I,h+=38*O,p+=38*N,g+=38*P,m+=38*k,y+=38*R,v+=38*M,w+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-65536*o,n=a+o+65535,o=Math.floor(n/65536),a=n-65536*o,n=s+o+65535,o=Math.floor(n/65536),s=n-65536*o,n=c+o+65535,o=Math.floor(n/65536),c=n-65536*o,n=u+o+65535,o=Math.floor(n/65536),u=n-65536*o,n=l+o+65535,o=Math.floor(n/65536),l=n-65536*o,n=d+o+65535,o=Math.floor(n/65536),d=n-65536*o,n=f+o+65535,o=Math.floor(n/65536),f=n-65536*o,n=h+o+65535,o=Math.floor(n/65536),h=n-65536*o,n=p+o+65535,o=Math.floor(n/65536),p=n-65536*o,n=g+o+65535,o=Math.floor(n/65536),g=n-65536*o,n=m+o+65535,o=Math.floor(n/65536),m=n-65536*o,n=y+o+65535,o=Math.floor(n/65536),y=n-65536*o,n=v+o+65535,o=Math.floor(n/65536),v=n-65536*o,n=w+o+65535,o=Math.floor(n/65536),w=n-65536*o,n=b+o+65535,o=Math.floor(n/65536),b=n-65536*o,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-65536*o,n=a+o+65535,o=Math.floor(n/65536),a=n-65536*o,n=s+o+65535,o=Math.floor(n/65536),s=n-65536*o,n=c+o+65535,o=Math.floor(n/65536),c=n-65536*o,n=u+o+65535,o=Math.floor(n/65536),u=n-65536*o,n=l+o+65535,o=Math.floor(n/65536),l=n-65536*o,n=d+o+65535,o=Math.floor(n/65536),d=n-65536*o,n=f+o+65535,o=Math.floor(n/65536),f=n-65536*o,n=h+o+65535,o=Math.floor(n/65536),h=n-65536*o,n=p+o+65535,o=Math.floor(n/65536),p=n-65536*o,n=g+o+65535,o=Math.floor(n/65536),g=n-65536*o,n=m+o+65535,o=Math.floor(n/65536),m=n-65536*o,n=y+o+65535,o=Math.floor(n/65536),y=n-65536*o,n=v+o+65535,o=Math.floor(n/65536),v=n-65536*o,n=w+o+65535,o=Math.floor(n/65536),w=n-65536*o,n=b+o+65535,o=Math.floor(n/65536),b=n-65536*o,i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=l,e[6]=d,e[7]=f,e[8]=h,e[9]=p,e[10]=g,e[11]=m,e[12]=y,e[13]=v,e[14]=w,e[15]=b}function z(e,t){j(e,t,t)}function V(e,r){var n,o=t();for(n=0;n<16;n++)o[n]=r[n];for(n=253;n>=0;n--)z(o,o),2!==n&&4!==n&&j(o,o,r);for(n=0;n<16;n++)e[n]=o[n]}function H(e,r){var n,o=t();for(n=0;n<16;n++)o[n]=r[n];for(n=250;n>=0;n--)z(o,o),1!==n&&j(o,o,r);for(n=0;n<16;n++)e[n]=o[n]}function q(e,r,n){var o,i,a=new Uint8Array(32),s=new Float64Array(80),u=t(),l=t(),d=t(),f=t(),h=t(),p=t();for(i=0;i<31;i++)a[i]=r[i];for(a[31]=127&r[31]|64,a[0]&=248,F(s,n),i=0;i<16;i++)l[i]=s[i],f[i]=u[i]=d[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)o=a[i>>>3]>>>(7&i)&1,M(u,l,o),M(d,f,o),$(h,u,d),U(u,u,d),$(d,l,f),U(l,l,f),z(f,h),z(p,u),j(u,d,u),j(d,l,h),$(h,u,d),U(u,u,d),z(l,u),U(d,f,p),j(u,d,c),$(u,u,f),j(d,d,u),j(u,f,p),j(f,l,s),z(l,h),M(u,l,o),M(d,f,o);for(i=0;i<16;i++)s[i+16]=u[i],s[i+32]=d[i],s[i+48]=l[i],s[i+64]=f[i];var g=s.subarray(32),m=s.subarray(16);return V(g,g),j(m,m,g),B(e,m),0}function G(e,t){return q(e,t,i)}function W(e,t){return n(t,32),G(e,t)}function Z(e,t,r){var n=new Uint8Array(32);return q(n,r,t),_(e,o,n,E)}x.prototype.blocks=function(e,t,r){var n,o,i,a,s,c,u,l,d,f,h,p,g,m,y,v,w,b,_,E=this.fin?0:2048,S=this.h[0],A=this.h[1],T=this.h[2],C=this.h[3],x=this.h[4],I=this.h[5],O=this.h[6],N=this.h[7],P=this.h[8],k=this.h[9],R=this.r[0],M=this.r[1],B=this.r[2],L=this.r[3],D=this.r[4],F=this.r[5],$=this.r[6],U=this.r[7],j=this.r[8],z=this.r[9];while(r>=16)n=255&e[t+0]|(255&e[t+1])<<8,S+=8191&n,o=255&e[t+2]|(255&e[t+3])<<8,A+=8191&(n>>>13|o<<3),i=255&e[t+4]|(255&e[t+5])<<8,T+=8191&(o>>>10|i<<6),a=255&e[t+6]|(255&e[t+7])<<8,C+=8191&(i>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,x+=8191&(a>>>4|s<<12),I+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,O+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,N+=8191&(c>>>11|u<<5),l=255&e[t+14]|(255&e[t+15])<<8,P+=8191&(u>>>8|l<<8),k+=l>>>5|E,d=0,f=d,f+=S*R,f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,b+=k*(5*z),d+=b>>>13,b&=8191,_=d,_+=S*z,_+=A*j,_+=T*U,_+=C*$,_+=x*F,d=_>>>13,_&=8191,_+=I*D,_+=O*L,_+=N*B,_+=P*M,_+=k*R,d+=_>>>13,_&=8191,d=(d<<2)+d|0,d=d+f|0,f=8191&d,d>>>=13,h+=d,S=f,A=h,T=p,C=g,x=m,I=y,O=v,N=w,P=b,k=_,t+=16,r-=16;this.h[0]=S,this.h[1]=A,this.h[2]=T,this.h[3]=C,this.h[4]=x,this.h[5]=I,this.h[6]=O,this.h[7]=N,this.h[8]=P,this.h[9]=k},x.prototype.finish=function(e,t){var r,n,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+r,r=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,n=(1^r)-1,i=0;i<10;i++)a[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},x.prototype.update=function(e,t,r){var n,o;if(this.leftover){for(o=16-this.leftover,o>r&&(o=r),n=0;n=16&&(o=r-r%16,this.blocks(e,t,o),t+=o,r-=o),r){for(n=0;n=128){for(E=0;E<16;E++)S=8*E+Z,N[E]=r[S+0]<<24|r[S+1]<<16|r[S+2]<<8|r[S+3],P[E]=r[S+4]<<24|r[S+5]<<16|r[S+6]<<8|r[S+7];for(E=0;E<80;E++)if(o=k,i=R,a=M,s=B,c=L,u=D,l=F,d=$,f=U,h=j,p=z,g=V,m=H,y=q,v=G,w=W,A=$,T=W,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=(L>>>14|H<<18)^(L>>>18|H<<14)^(H>>>9|L<<23),T=(H>>>14|L<<18)^(H>>>18|L<<14)^(L>>>9|H<<23),C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,A=L&D^~L&F,T=H&q^~H&G,C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,A=Q[2*E],T=Q[2*E+1],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,A=N[E%16],T=P[E%16],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,b=65535&I|O<<16,_=65535&C|x<<16,A=b,T=_,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=(k>>>28|U<<4)^(U>>>2|k<<30)^(U>>>7|k<<25),T=(U>>>28|k<<4)^(k>>>2|U<<30)^(k>>>7|U<<25),C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,A=k&R^k&M^R&M,T=U&j^U&z^j&z,C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,d=65535&I|O<<16,w=65535&C|x<<16,A=s,T=g,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=b,T=_,C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,s=65535&I|O<<16,g=65535&C|x<<16,R=o,M=i,B=a,L=s,D=c,F=u,$=l,k=d,j=f,z=h,V=p,H=g,q=m,G=y,W=v,U=w,E%16===15)for(S=0;S<16;S++)A=N[S],T=P[S],C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=N[(S+9)%16],T=P[(S+9)%16],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,b=N[(S+1)%16],_=P[(S+1)%16],A=(b>>>1|_<<31)^(b>>>8|_<<24)^b>>>7,T=(_>>>1|b<<31)^(_>>>8|b<<24)^(_>>>7|b<<25),C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,b=N[(S+14)%16],_=P[(S+14)%16],A=(b>>>19|_<<13)^(_>>>29|b<<3)^b>>>6,T=(_>>>19|b<<13)^(b>>>29|_<<3)^(_>>>6|b<<26),C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,N[S]=65535&I|O<<16,P[S]=65535&C|x<<16;A=k,T=U,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[0],T=t[0],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[0]=k=65535&I|O<<16,t[0]=U=65535&C|x<<16,A=R,T=j,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[1],T=t[1],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[1]=R=65535&I|O<<16,t[1]=j=65535&C|x<<16,A=M,T=z,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[2],T=t[2],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[2]=M=65535&I|O<<16,t[2]=z=65535&C|x<<16,A=B,T=V,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[3],T=t[3],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[3]=B=65535&I|O<<16,t[3]=V=65535&C|x<<16,A=L,T=H,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[4],T=t[4],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[4]=L=65535&I|O<<16,t[4]=H=65535&C|x<<16,A=D,T=q,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[5],T=t[5],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[5]=D=65535&I|O<<16,t[5]=q=65535&C|x<<16,A=F,T=G,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[6],T=t[6],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[6]=F=65535&I|O<<16,t[6]=G=65535&C|x<<16,A=$,T=W,C=65535&T,x=T>>>16,I=65535&A,O=A>>>16,A=e[7],T=t[7],C+=65535&T,x+=T>>>16,I+=65535&A,O+=A>>>16,x+=C>>>16,I+=x>>>16,O+=I>>>16,e[7]=$=65535&I|O<<16,t[7]=W=65535&C|x<<16,Z+=128,n-=128}return n}function te(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,ee(o,i,t,r),r%=128,n=0;n=0;--o)n=r[o/8|0]>>(7&o)&1,ne(e,t,n),re(t,e),re(e,e),ne(e,t,n)}function ae(e,r){var n=[t(),t(),t(),t()];k(n[0],d),k(n[1],f),k(n[2],s),j(n[3],d,f),ie(e,n,r)}function se(e,r,o){var i,a=new Uint8Array(64),s=[t(),t(),t(),t()];for(o||n(r,32),te(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64,ae(s,a),oe(e,s),i=0;i<32;i++)r[i+32]=e[i];return 0}var ce=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ue(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>4)*ce[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*ce[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function le(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ue(e,r)}function de(e,r,n,o){var i,a,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),d=[t(),t(),t(),t()];te(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=n+64;for(i=0;i>7&&U(e[0],a,e[0]),j(e[3],e[0],e[1]),0)}function he(e,r,n,o){var i,a=new Uint8Array(32),s=new Uint8Array(64),c=[t(),t(),t(),t()],u=[t(),t(),t(),t()];if(n<64)return-1;if(fe(u,o))return-1;for(i=0;i=0},e.sign.keyPair=function(){var e=new Uint8Array(xe),t=new Uint8Array(Ie);return se(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(Re(e),e.length!==Ie)throw new Error("bad secret key size");for(var t=new Uint8Array(xe),r=0;r{var n=r(30247);function o(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":o(e.constructor)}function a(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}function s(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function c(e){return n.Function(e)?e.toJSON?e.toJSON():o(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function u(e,t,r){var n=a(t);return"Expected "+c(e)+", got"+(""!==r?" "+r:"")+(""!==n?" "+n:"")}function l(e,t,r){r=r||i(t),this.message=u(e,t,r),s(this,l),this.__type=e,this.__value=t,this.__valueTypeName=r}function d(e,t,r,n,o){var i='" of type ';return"key"===t&&(i='" with key type '),u('property "'+c(r)+i+c(e),n,o)}function f(e,t,r,n,o){e?(o=o||i(n),this.message=d(e,r,t,n,o)):this.message='Unexpected property "'+t+'"',s(this,l),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=o}function h(e,t){return new l(e,{},t)}function p(e,t,r){return e instanceof f?(t=t+"."+e.__property,e=new f(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof l&&(e=new f(e.__type,t,r,e.__value,e.__valueTypeName)),s(e),e}l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,f.prototype=Object.create(Error.prototype),f.prototype.constructor=l,e.exports={TfTypeError:l,TfPropertyTypeError:f,tfCustomError:h,tfSubError:p,tfJSON:c,getValueTypeName:i}},74307:(e,t,r)=>{var n=r(48764)["Buffer"],o=r(30247),i=r(4685);function a(e){return n.isBuffer(e)}function s(e){return"string"===typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function c(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw i.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var u=c.bind(null,o.Array),l=c.bind(null,a),d=c.bind(null,s),f=c.bind(null,o.String);function h(e,t,r){function n(n,o){return r(n,o)&&n>e&&n>24===e}function y(e){return e<<16>>16===e}function v(e){return(0|e)===e}function w(e){return"number"===typeof e&&e>=-p&&e<=p&&Math.floor(e)===e}function b(e){return(255&e)===e}function _(e){return(65535&e)===e}function E(e){return e>>>0===e}function S(e){return"number"===typeof e&&e>=0&&e<=p&&Math.floor(e)===e}var A={ArrayN:u,Buffer:a,BufferN:l,Finite:g,Hex:s,HexN:d,Int8:m,Int16:y,Int32:v,Int53:w,Range:h,StringN:f,UInt8:b,UInt16:_,UInt32:E,UInt53:S};for(var T in A)A[T].toJSON=function(e){return e}.bind(null,T);e.exports=A},2401:(e,t,r)=>{var n=r(4685),o=r(30247),i=n.tfJSON,a=n.TfTypeError,s=n.TfPropertyTypeError,c=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!o.Array(r)&&(!o.Nil(r)&&(!(void 0!==t.minLength&&r.lengtht.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every((function(t,r){try{return f(e,t,n)}catch(o){throw c(o,r)}}))))))}return e=d(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return o.Nil(r)||t(r,n,e)}return t=d(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!o.Object(r))return!1;if(o.Nil(r))return!1;for(var i in r){try{t&&f(t,i,n)}catch(s){throw c(s,i,"key")}try{var a=r[i];f(e,a,n)}catch(s){throw c(s,i)}}return!0}return e=d(e),t&&(t=d(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=d(e[r]);function n(e,r){if(!o.Object(e))return!1;if(o.Nil(e))return!1;var n;try{for(n in t){var i=t[n],a=e[n];f(i,a,r)}}catch(u){throw c(u,n)}if(r)for(n in e)if(!t[n])throw new s(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return e.some((function(e){try{return f(e,t,r)}catch(n){return!1}}))}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return e.every((function(e){try{return f(e,t,r)}catch(n){return!1}}))}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(d);function t(t,r){return!o.Nil(t)&&(!o.Nil(t.length)&&((!r||t.length===e.length)&&e.every((function(e,n){try{return f(e,t[n],r)}catch(o){throw c(o,n)}}))))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function d(e){if(o.String(e))return"?"===e[0]?l.maybe(e.slice(1)):o[e]||l.quacksLike(e);if(e&&o.Object(e)){if(o.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return o.Function(e)?e:l.value(e)}function f(e,t,r,n){if(o.Function(e)){if(e(t,r))return!0;throw new a(n||e,t)}return f(d(e),t,r)}for(var h in l.oneOf=l.anyOf,o)f[h]=o[h];for(h in l)f[h]=l[h];var p=r(74307);for(h in p)f[h]=p[h];f.compile=d,f.TfTypeError=a,f.TfPropertyTypeError=s,e.exports=f},30247:e=>{var t={Array:function(e){return null!==e&&void 0!==e&&e.constructor===Array},Boolean:function(e){return"boolean"===typeof e},Function:function(e){return"function"===typeof e},Nil:function(e){return void 0===e||null===e},Number:function(e){return"number"===typeof e},Object:function(e){return"object"===typeof e},String:function(e){return"string"===typeof e},"":function(){return!0}};for(var r in t.Null=t.Nil,t)t[r].toJSON=function(e){return e}.bind(null,r);e.exports=t},52511:function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,u=1,l=26,d=38,f=700,h=72,p=128,g="-",m=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=c-u,_=Math.floor,E=String.fromCharCode;function S(e){throw RangeError(w[e])}function A(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function T(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(v,".");var o=e.split("."),i=A(o,t).join(".");return n+i}function C(e){var t,r,n=[],o=0,i=e.length;while(o=55296&&t<=56319&&o65535&&(e-=65536,t+=E(e>>>10&1023|55296),e=56320|1023&e),t+=E(e),t})).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,r){var n=0;for(e=r?_(e/f):e>>1,e+=_(e/t);e>b*l>>1;n+=c)e=_(e/b);return _(n+(b+1)*e/(e+d))}function P(e){var t,r,n,o,i,a,d,f,m,y,v=[],w=e.length,b=0,E=p,A=h;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n=128&&S("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=w&&S("invalid-input"),f=I(e.charCodeAt(o++)),(f>=c||f>_((s-b)/a))&&S("overflow"),b+=f*a,m=d<=A?u:d>=A+l?l:d-A,f_(s/y)&&S("overflow"),a*=y}t=v.length+1,A=N(b-i,t,0==i),_(b/t)>s-E&&S("overflow"),E+=_(b/t),b%=t,v.splice(b++,0,E)}return x(v)}function k(e){var t,r,n,o,i,a,d,f,m,y,v,w,b,A,T,x=[];for(e=C(e),w=e.length,t=p,r=0,i=h,a=0;a=t&&v_((s-r)/b)&&S("overflow"),r+=(d-t)*b,t=d,a=0;as&&S("overflow"),v==t){for(f=r,m=c;;m+=c){if(y=m<=i?u:m>=i+l?l:m-i,f{"use strict";var n=r(52511),o=r(62502);function i(){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}t.parse=_,t.resolve=S,t.resolveObject=A,t.format=E,t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),d=["'"].concat(l),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=255,g=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(17673);function _(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}function E(e){return o.isString(e)&&(e=_(e)),e instanceof i?e.format():i.prototype.format.call(e)}function S(e,t){return _(e,!1,!0).resolve(t)}function A(e,t){return e?_(e,!1,!0).resolveObject(t):t}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i127?B+="x":B+=M[L];if(!B.match(g)){var F=k.slice(0,O),$=k.slice(O+1),U=M.match(m);U&&(F.push(U[1]),$.unshift(U[2])),$.length&&(_="/"+$.join(".")+_),this.hostname=F.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var j=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+j,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!y[A])for(O=0,R=d.length;O0)&&r.host.split("@");T&&(r.auth=T.shift(),r.host=r.hostname=T.shift())}return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=S.slice(-1)[0],x=(r.host||e.host||S.length>1)&&("."===C||".."===C)||""===C,I=0,O=S.length;O>=0;O--)C=S[O],"."===C?S.splice(O,1):".."===C?(S.splice(O,1),I++):I&&(S.splice(O,1),I--);if(!_&&!E)for(;I--;I)S.unshift("..");!_||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),x&&"/"!==S.join("/").substr(-1)&&S.push("");var N=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(A){r.hostname=r.host=N?"":S.length?S.shift():"";T=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");T&&(r.auth=T.shift(),r.host=r.hostname=T.shift())}return _=_||r.host&&S.length,_&&!N&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.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},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},62502:e=>{"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},94927:(e,t,r)=>{function n(e,t){if(o("noDeprecation"))return e;var r=!1;function n(){if(!r){if(o("throwDeprecation"))throw new Error(t);o("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function o(e){try{if(!r.g.localStorage)return!1}catch(n){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=n},25934:(e,t,r)=>{"use strict";var n;r.d(t,{Z:()=>p});var o=new Uint8Array(16);function i(){if(!n&&(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function s(e){return"string"===typeof e&&a.test(e)}const c=s;for(var u=[],l=0;l<256;++l)u.push((l+256).toString(16).substr(1));function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!c(r))throw TypeError("Stringified UUID is invalid");return r}const f=d;function h(e,t,r){e=e||{};var n=e.random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return f(n)}const p=h},48966:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=Ye(r(8469)),i=Ye(r(77536)),a=Ye(r(21359)),s=Ye(r(557)),c=Ye(r(2315)),u=Ye(r(89466)),l=Ye(r(30661)),d=Ye(r(83868)),f=Ye(r(66823)),h=Ye(r(28999)),p=Ye(r(61028)),g=Ye(r(27795)),m=Ye(r(10221)),y=Ye(r(82549)),v=Ye(r(3494)),w=Ye(r(99493)),b=Ye(r(67380)),_=Ke(r(19234)),E=Ke(r(94583)),S=Ye(r(24986)),A=Ye(r(51513)),T=Ye(r(24595)),C=Ye(r(43928)),x=Ye(r(57245)),I=Ye(r(15566)),O=Ye(r(64094)),N=Ye(r(77146)),P=Ye(r(82941)),k=Ye(r(49019)),R=Ye(r(13590)),M=Ye(r(86826)),B=Ye(r(72828)),L=Ye(r(20937)),D=Ke(r(79146)),F=Ye(r(85218)),$=Ye(r(77117)),U=Ye(r(66090)),j=Ye(r(58335)),z=Ye(r(96298)),V=Ye(r(6454)),H=Ye(r(16648)),q=Ye(r(34339)),G=Ke(r(88177)),W=Ye(r(42438)),Z=Ye(r(90368)),K=Ye(r(18874)),Y=Ye(r(74979)),X=Ye(r(81008)),J=Ye(r(54069)),Q=Ye(r(20661)),ee=Ye(r(93235)),te=Ye(r(57278)),re=Ye(r(19131)),ne=Ye(r(93315)),oe=Ye(r(51464)),ie=Ye(r(27228)),ae=Ye(r(31592)),se=Ye(r(682)),ce=Ye(r(49396)),ue=Ye(r(35807)),le=Ye(r(57148)),de=Ye(r(87612)),fe=Ye(r(29887)),he=Ye(r(53058)),pe=Ke(r(28355)),ge=Ye(r(82129)),me=Ye(r(90094)),ye=Ye(r(88021)),ve=r(45946),we=Ye(r(69211)),be=Ye(r(65061)),_e=Ye(r(94611)),Ee=Ye(r(21727)),Se=Ye(r(86776)),Ae=Ye(r(19963)),Te=Ye(r(2782)),Ce=Ye(r(65008)),xe=Ye(r(2689)),Ie=Ye(r(98983)),Oe=Ye(r(72776)),Ne=Ye(r(72966)),Pe=Ye(r(44554)),ke=Ye(r(90478)),Re=Ke(r(78140)),Me=Ye(r(14959)),Be=Ye(r(29778)),Le=Ye(r(24790)),De=Ye(r(5152)),Fe=Ye(r(94816)),$e=Ye(r(8035)),Ue=Ye(r(34714)),je=Ye(r(44928)),ze=Ye(r(88346)),Ve=Ye(r(2900)),He=Ye(r(68220)),qe=Ye(r(82786)),Ge=Ye(r(17633)),We=Ye(r(55977));function Ze(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ze=function(){return e},e}function Ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=Ze();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ye(e){return e&&e.__esModule?e:{default:e}}var Xe="13.11.0",Je={version:Xe,toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:s.default,equals:c.default,contains:u.default,matches:l.default,isEmail:d.default,isURL:f.default,isMACAddress:h.default,isIP:p.default,isIPRange:g.default,isFQDN:m.default,isBoolean:w.default,isIBAN:G.default,isBIC:W.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:E.default,isAlphanumericLocales:E.locales,isNumeric:S.default,isPassportNumber:A.default,isPort:T.default,isLowercase:C.default,isUppercase:x.default,isAscii:O.default,isFullWidth:N.default,isHalfWidth:P.default,isVariableWidth:k.default,isMultibyte:R.default,isSemVer:M.default,isSurrogatePair:B.default,isInt:L.default,isIMEI:I.default,isFloat:D.default,isFloatLocales:D.locales,isDecimal:F.default,isHexadecimal:$.default,isOctal:U.default,isDivisibleBy:j.default,isHexColor:z.default,isRgbColor:V.default,isHSL:H.default,isISRC:q.default,isMD5:Z.default,isHash:K.default,isJWT:Y.default,isJSON:X.default,isEmpty:J.default,isLength:Q.default,isLocale:b.default,isByteLength:ee.default,isUUID:te.default,isMongoId:re.default,isAfter:ne.default,isBefore:oe.default,isIn:ie.default,isLuhnNumber:ae.default,isCreditCard:se.default,isIdentityCard:ce.default,isEAN:ue.default,isISIN:le.default,isISBN:de.default,isISSN:fe.default,isMobilePhone:pe.default,isMobilePhoneLocales:pe.locales,isPostalCode:Re.default,isPostalCodeLocales:Re.locales,isEthereumAddress:ge.default,isCurrency:me.default,isBtcAddress:ye.default,isISO6346:ve.isISO6346,isFreightContainerID:ve.isFreightContainerID,isISO6391:we.default,isISO8601:be.default,isRFC3339:_e.default,isISO31661Alpha2:Ee.default,isISO31661Alpha3:Se.default,isISO4217:Ae.default,isBase32:Te.default,isBase58:Ce.default,isBase64:xe.default,isDataURI:Ie.default,isMagnetURI:Oe.default,isMailtoURI:Ne.default,isMimeType:Pe.default,isLatLong:ke.default,ltrim:Me.default,rtrim:Be.default,trim:Le.default,escape:De.default,unescape:Fe.default,stripLow:$e.default,whitelist:Ue.default,blacklist:je.default,isWhitelisted:ze.default,normalizeEmail:Ve.default,toString,isSlug:He.default,isStrongPassword:Ge.default,isTaxID:he.default,isDate:y.default,isTime:v.default,isLicensePlate:qe.default,isVAT:We.default,ibanLocales:G.locales},Qe=Je;t["default"]=Qe,e.exports=t.default,e.exports["default"]=t.default},60079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.bengaliLocales=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"kk-KZ":/^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")}e.exports=t.default,e.exports["default"]=t.default},89466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=a(r(65571)),o=a(r(95791)),i=a(r(84808));function a(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};function c(e,t,r){return(0,n.default)(e),r=(0,i.default)(r,s),r.ignoreCase?e.toLowerCase().split((0,o.default)(t).toLowerCase()).length>r.minOccurrences:e.split((0,o.default)(t)).length>r.minOccurrences}e.exports=t.default,e.exports["default"]=t.default},2315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e===t}e.exports=t.default,e.exports["default"]=t.default},5152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports["default"]=t.default},93315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(8469));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=(null===t||void 0===t?void 0:t.comparisonDate)||t||Date().toString(),o=(0,n.default)(r),i=(0,n.default)(e);return!!(i&&o&&i>o)}e.exports=t.default,e.exports["default"]=t.default},19234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(65571)),o=r(60079);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(e);var i=e,a=r.ignore;if(a)if(a instanceof RegExp)i=i.replace(a,"");else{if("string"!==typeof a)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alpha)return o.alpha[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(o.alpha);t.locales=s},94583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(65571)),o=r(60079);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(e);var i=e,a=r.ignore;if(a)if(a instanceof RegExp)i=i.replace(a,"");else{if("string"!==typeof a)throw new Error("ignore should be instance of a String or RegExp");i=i.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in o.alphanumeric)return o.alphanumeric[t].test(i);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(o.alphanumeric);t.locales=s},64094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[\x00-\x7F]+$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},42438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=r(21727);function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function s(e){(0,n.default)(e);var t=e.slice(4,6).toUpperCase();return!(!o.CountryCodes.has(t)&&"XK"!==t)&&a.test(e)}e.exports=t.default,e.exports["default"]=t.default},2782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,c={crockford:!1};function u(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),t.crockford)return s.test(e);var r=e.length;return!(r%8!==0||!a.test(e))}e.exports=t.default,e.exports["default"]=t.default},65008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-HJ-NP-Za-km-z1-9]*$/;function a(e){return(0,n.default)(e),!!i.test(e)}e.exports=t.default,e.exports["default"]=t.default},2689:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,c={urlSafe:!1};function u(e,t){(0,n.default)(e),t=(0,o.default)(t,c);var r=e.length;if(t.urlSafe)return s.test(e);if(r%4!==0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]}e.exports=t.default,e.exports["default"]=t.default},51464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(65571)),o=i(r(8469));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={loose:!1},a=["true","false","1","0"],s=[].concat(a,["yes","no"]);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return(0,n.default)(e),t.loose?s.includes(e.toLowerCase()):a.includes(e)}e.exports=t.default,e.exports["default"]=t.default},88021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function s(e){return(0,n.default)(e),i.test(e)||a.test(e)}e.exports=t.default,e.exports["default"]=t.default},93235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1],o=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&("undefined"===typeof o||a<=o)}e.exports=t.default,e.exports["default"]=t.default},682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(65571)),o=i(r(31592));function i(e){return e&&e.__esModule?e:{default:e}}var a={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},s=function(){var e=[];for(var t in a)a.hasOwnProperty(t)&&e.push(a[t]);return e}();function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.provider,i=e.replace(/[- ]+/g,"");if(r&&r.toLowerCase()in a){if(!a[r.toLowerCase()].test(i))return!1}else{if(r&&!(r.toLowerCase()in a))throw new Error("".concat(r," is not a valid credit card provider."));if(!s.some((function(e){return e.test(i)})))return!1}return(0,o.default)(e)}e.exports=t.default,e.exports["default"]=t.default},90094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(84808)),o=i(r(65571));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d*",i="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),a=["0",o,i],s="(".concat(a.join("|"),")?"),c="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=s+(e.allow_decimal||e.require_decimal?c:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u)),e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?"),e.symbol_after_digits?u+=r:u=r+u,e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u)),new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}var s={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function c(e,t){return(0,o.default)(e),t=(0,n.default)(t,s),a(t).test(e)}e.exports=t.default,e.exports["default"]=t.default},98983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function c(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),o=r.shift();if("data:"!==o.slice(0,5))return!1;var c=o.slice(5);if(""!==c&&!i.test(c))return!1;for(var u=0;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=g;var n=o(r(84808));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return c(e)||s(e,t)||l(e,t)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){o=!0,i=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(o)throw i}}return r}}function c(e){if(Array.isArray(e))return e}function u(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=s(r(84808)),o=s(r(65571)),i=s(r(18343)),a=r(60079);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"));return t}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];function d(e,t){if((0,o.default)(e),t=(0,n.default)(t,u),t.locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&c(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))}e.exports=t.default,e.exports["default"]=t.default},58335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(65571)),o=i(r(77536));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)===0}e.exports=t.default,e.exports["default"]=t.default},35807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=l;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=8,a=14,s=/^(\d{8}|\d{13}|\d{14})$/;function c(e,t){return e===i||e===a?t%2===0?3:1:t%2===0?1:3}function u(e){var t=e.slice(0,-1).split("").map((function(t,r){return Number(t)*c(e.length,r)})).reduce((function(e,t){return e+t}),0),r=10-t%10;return r<10?r:0}function l(e){(0,n.default)(e);var t=Number(e.slice(-1));return s.test(e)&&t===u(e)}e.exports=t.default,e.exports["default"]=t.default},83868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=c(r(65571)),o=c(r(93235)),i=c(r(10221)),a=c(r(61028)),s=c(r(84808));function c(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},l=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(t);if(r){if(t===e)return!1;var n=t.split('"').length===t.split('\\"').length;if(!n)return!1}return!0}function v(e,t){if((0,n.default)(e),t=(0,s.default)(t,u),t.require_display_name||t.allow_display_name){var r=e.match(l);if(r){var c=r[1];if(e=e.replace(c,"").replace(/(^<|>$)/g,""),c.endsWith(" ")&&(c=c.slice(0,-1)),!y(c))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>m)return!1;var v=e.split("@"),w=v.pop(),b=w.toLowerCase();if(t.host_blacklist.includes(b))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(b))return!1;var _=v.join("@");if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){_=_.toLowerCase();var E=_.split("+")[0];if(!(0,o.default)(E.replace(/\./g,""),{min:6,max:30}))return!1;for(var S=E.split("."),A=0;A{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};function s(e,t){return(0,n.default)(e),t=(0,o.default)(t,a),0===(t.ignore_whitespace?e.trim().length:e.length)}e.exports=t.default,e.exports["default"]=t.default},82129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x)[0-9a-f]{40}$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},10221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function s(e,t){(0,n.default)(e),t=(0,o.default)(t,a),t.allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(i))&&r.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))}e.exports=t.default,e.exports["default"]=t.default},79146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=i(r(65571)),o=r(60079);function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?o.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||","===e||"-"===e||"+"===e)return!1;var i=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||i>=t.min)&&(!t.hasOwnProperty("max")||i<=t.max)&&(!t.hasOwnProperty("lt")||it.gt)}var s=Object.keys(o.decimal);t.locales=s},77146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.fullWidth=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function a(e){return(0,n.default)(e),i.test(e)}t.fullWidth=i},16648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function s(e){(0,n.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return-1!==t.indexOf(",")?i.test(t):a.test(t)}e.exports=t.default,e.exports["default"]=t.default},82941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.halfWidth=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function a(e){return(0,n.default)(e),i.test(e)}t.halfWidth=i},18874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function a(e,t){(0,n.default)(e);var r=new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$"));return r.test(e)}e.exports=t.default,e.exports["default"]=t.default},96298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},77117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x|0h)?[0-9A-F]+$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},88177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u,t.locales=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]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PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function a(e){var t=e.filter((function(e){return!(e in i)}));return!(t.length>0)}function s(e,t){var r=e.replace(/[\s\-]+/gi,"").toUpperCase(),n=r.slice(0,2).toUpperCase(),o=n in i;if(t.whitelist){if(!a(t.whitelist))return!1;var s=t.whitelist.includes(n);if(!s)return!1}if(t.blacklist){var c=t.blacklist.includes(n);if(c)return!1}return o&&i[n].test(r)}function c(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),r=t.slice(4)+t.slice(0,4),n=r.replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})),o=n.match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"");return 1===o}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,n.default)(e),s(e,t)&&c(e)}var l=Object.keys(i);t.locales=l},15566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function s(e,t){(0,n.default)(e),t=t||{};var r=i;if(t.allow_hyphens&&(r=a),!r.test(e))return!1;e=e.replace(/-/g,"");for(var o=0,s=2,c=14,u=0;u=10?d%10+1:d,1===s?s+=1:s-=1}var f=(10-o%10)%10;return f===parseInt(e.substring(14,15),10)}e.exports=t.default,e.exports["default"]=t.default},61028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=l;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(a,"$")),c="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(c,":){7}(?:").concat(c,"|:)|")+"(?:".concat(c,":){6}(?:").concat(a,"|:").concat(c,"|:)|")+"(?:".concat(c,":){5}(?::").concat(a,"|(:").concat(c,"){1,2}|:)|")+"(?:".concat(c,":){4}(?:(:").concat(c,"){0,1}:").concat(a,"|(:").concat(c,"){1,3}|:)|")+"(?:".concat(c,":){3}(?:(:").concat(c,"){0,2}:").concat(a,"|(:").concat(c,"){1,4}|:)|")+"(?:".concat(c,":){2}(?:(:").concat(c,"){0,3}:").concat(a,"|(:").concat(c,"){1,5}|:)|")+"(?:".concat(c,":){1}(?:(:").concat(c,"){0,4}:").concat(a,"|(:").concat(c,"){1,6}|:)|")+"(?::((?::".concat(c,"){0,5}:").concat(a,"|(?::").concat(c,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,n.default)(e),t=String(t),t?"4"===t?s.test(e):"6"===t&&u.test(e):l(e,4)||l(e,6)}e.exports=t.default,e.exports["default"]=t.default},27795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=i(r(65571)),o=i(r(61028));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,3}$/,s=32,c=128;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,n.default)(e);var r=e.split("/");if(2!==r.length)return!1;if(!a.test(r[1]))return!1;if(r[1].length>1&&r[1].startsWith("0"))return!1;var i=(0,o.default)(r[0],t);if(!i)return!1;var u=null;switch(String(t)){case"4":u=s;break;case"6":u=c;break;default:u=(0,o.default)(r[0],"6")?c:s}return r[1]<=u&&r[1]>=0}e.exports=t.default,e.exports["default"]=t.default},87612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,s=[1,3];function c(e,t){(0,n.default)(e);var r=String((null===t||void 0===t?void 0:t.version)||t);if(!(null!==t&&void 0!==t&&t.version||t))return c(e,{version:10})||c(e,{version:13});var o=e.replace(/[\s-]+/g,""),u=0;if("10"===r){if(!i.test(o))return!1;for(var l=0;l{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function a(e){if((0,n.default)(e),!i.test(e))return!1;for(var t=!0,r=0,o=e.length-2;o>=0;o--)if(e[o]>="A"&&e[o]<="Z")for(var a=e[o].charCodeAt(0)-55,s=a%10,c=Math.trunc(a/10),u=0,l=[s,c];u=5?1+2*(d-5):2*d:d,t=!t}else{var f=e[o].charCodeAt(0)-"0".charCodeAt(0);r+=t?f>=5?1+2*(f-5):2*f:f,t=!t}var h=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]===h}e.exports=t.default,e.exports["default"]=t.default},21727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.CountryCodes=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}var s=i;t.CountryCodes=s},86776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}e.exports=t.default,e.exports["default"]=t.default},19963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.CurrencyCodes=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function a(e){return(0,n.default)(e),i.has(e.toUpperCase())}var s=i;t.CurrencyCodes=s},45946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isISO6346=s,t.isFreightContainerID=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,a=/^[0-9]$/;function s(e){if((0,n.default)(e),e=e.toUpperCase(),!i.test(e))return!1;if(11===e.length){for(var t=0,r=0;r=11&&s<=20?12+s%11:s>=21&&s<=30?23+s%21:34+s%31,t+=o*Math.pow(2,r)}var c=t%11;return Number(e[e.length-1])===c}return!0}var c=s;t.isFreightContainerID=c},69211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);function a(e){return(0,n.default)(e),i.has(e)}e.exports=t.default,e.exports["default"]=t.default},65061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4===0&&r%100!==0||r%400===0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],s=o[3],c=a?"0".concat(a).slice(-2):a,u=s?"0".concat(s).slice(-2):s,l=new Date("".concat(i,"-").concat(c||"01","-").concat(u||"01"));return!a||!s||l.getUTCFullYear()===i&&l.getUTCMonth()+1===a&&l.getUTCDate()===s};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?s(e):r}e.exports=t.default,e.exports["default"]=t.default},34339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},29887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i="^\\d{4}-?\\d{3}[\\dX]$";function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,r=t.case_sensitive?new RegExp(r):new RegExp(r,"i"),!r.test(e))return!1;for(var o=e.replace("-","").toUpperCase(),a=0,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=i(r(20937));function i(e){return e&&e.__esModule?e:{default:e}}var a={PL:function(e){(0,n.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,o.default)(e,{allow_leading_zeroes:!0})){var r=e.split("").slice(0,-1),i=r.reduce((function(e,r,n){return e+Number(r)*t[n+1]}),0),a=i%10,s=Number(e.charAt(e.length-1));if(0===a&&0===s||s===10-a)return!0}return!1},ES:function(e){(0,n.default)(e);var t=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,r={X:0,Y:1,Z:2},o=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],i=e.trim().toUpperCase();if(!t.test(i))return!1;var a=i.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return r[e]}));return i.endsWith(o[a%23])},FI:function(e){if((0,n.default)(e),11!==e.length)return!1;if(!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var t="0123456789ABCDEFHJKLMNPRSTUVWXY",r=1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10),o=r%31,i=t[o];return i===e.slice(10,11)},IN:function(e){var t=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,r=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],o=e.trim();if(!t.test(o))return!1;var i=0,a=o.replace(/\s/g,"").split("").map(Number).reverse();return a.forEach((function(e,t){i=r[i][n[t%8][e]]})),0===i},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).slice(e.length-6),0===parseInt(e.slice(3,9),10))return!1;for(var t=parseInt(e.slice(9,10),10),r=0,n=0;n<9;n++)r+=parseInt(e.slice(n,n+1),10)*(10-n);return r%=11,r<2&&t===r||r>=2&&t===11-r},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,r=0;r<12;r++)t+=parseInt(e[r],10)*(13-r);return e[12]===((11-t%11)%10).toString()},LK:function(e){var t=/^[1-9]\d{8}[vx]$/i,r=/^[1-9]\d{11}$/i;return!(10!==e.length||!t.test(e))||!(12!==e.length||!r.test(e))},"he-IL":function(e){var t=/^\d{9}$/,r=e.trim();if(!t.test(r))return!1;for(var n,o=r,i=0,a=0;a9?n-9:n;return i%10===0},"ar-LY":function(e){var t=/^(1|2)\d{11}$/,r=e.trim();return!!t.test(r)},"ar-TN":function(e){var t=/^\d{8}$/,r=e.trim();return!!t.test(r)},"zh-CN":function(e){var t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],n=["1","0","X","9","8","7","6","5","4","3","2"],o=function(e){return t.includes(e)},i=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},a=function(e){for(var t=e.substring(0,17),o=0,i=0;i<17;i++)o+=parseInt(t.charAt(i),10)*parseInt(r[i],10);var a=o%11;return n[a]},s=function(e){return a(e)===e.charAt(17).toUpperCase()},c=function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(t=o(r),!t)return!1;var n="19".concat(e.substring(6,12));return t=i(n),!!t},u=function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(t=o(r),!t)return!1;var n=e.substring(6,14);return t=i(n),!!t&&s(e)},l=function(e){var t=/^\d{15}|(\d{17}(\d|x|X))$/.test(e);return!!t&&(15===e.length?c(e):u(e))};return l(e)},"zh-HK":function(e){e=e.trim();var t=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,r=/^[0-9]$/;if(e=e.toUpperCase(),!t.test(e))return!1;e=e.replace(/\[|\]|\(|\)/g,""),8===e.length&&(e="3".concat(e));for(var n,o=0,i=0;i<=7;i++){var a=void 0;a=r.test(e[i])?e[i]:(e[i].charCodeAt(0)-55)%11,o+=a*(9-i)}return o%=11,n=0===o?"0":1===o?"A":String(11-o),n===e[e.length-1]},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10===0:e+Number(r)*(9-n)}),0)}};function s(e,t){if((0,n.default)(e),t in a)return a[t](e);if("any"===t){for(var r in a)if(a.hasOwnProperty(r)){var o=a[r];if(o(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}e.exports=t.default,e.exports["default"]=t.default},27228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=i(r(95791));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}return"object"===a(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports["default"]=t.default},20937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;function s(e,t){(0,n.default)(e),t=t||{};var r=t.hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,o=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,c=!t.hasOwnProperty("lt")||et.gt;return r.test(e)&&o&&s&&c&&u}e.exports=t.default,e.exports["default"]=t.default},81008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s={allow_primitives:!1};function c(e,t){(0,n.default)(e);try{t=(0,o.default)(t,s);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(c){}return!1}e.exports=t.default,e.exports["default"]=t.default},74979:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(65571)),o=i(r(2689));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){(0,n.default)(e);var t=e.split("."),r=t.length;return 3===r&&t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)}e.exports=t.default,e.exports["default"]=t.default},90478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=i(r(65571)),o=i(r(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,c=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,l={checkDMS:!1};function d(e,t){if((0,n.default)(e),t=(0,o.default)(t,l),!e.includes(","))return!1;var r=e.split(",");return!(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))&&(t.checkDMS?c.test(r[0])&&u.test(r[1]):a.test(r[0])&&s.test(r[1]))}e.exports=t.default,e.exports["default"]=t.default},20661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1]||0,o=arguments[2]);var a=e.match(/(\uFE0F|\uFE0E)/g)||[],s=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],c=e.length-a.length-s.length;return c>=r&&("undefined"===typeof o||c<=o)}e.exports=t.default,e.exports["default"]=t.default},82786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE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SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"en-IN":function(e){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())}};function a(e,t){if((0,n.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){var o=i[r];if(o(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}e.exports=t.default,e.exports["default"]=t.default},67380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=w;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",a="(([a-zA-Z]{2,3}(-".concat(i,")?)|([a-zA-Z]{5,8}))"),s="([A-Za-z]{4})",c="([A-Za-z]{2}|\\d{3})",u="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",l="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(l,"(-[A-Za-z0-9]{2,8})+)"),f="(x(-[A-Za-z0-9]{1,8})+)",h="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",p="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",g="(".concat(h,"|").concat(p,")"),m="(-|_)",y="".concat(a,"(").concat(m).concat(s,")?(").concat(m).concat(c,")?(").concat(m).concat(u,")*(").concat(m).concat(d,")*(").concat(m).concat(f,")?"),v=new RegExp("(^".concat(f,"$)|(^").concat(g,"$)|(^").concat(y,"$)"));function w(e){return(0,n.default)(e),v.test(e)}e.exports=t.default,e.exports["default"]=t.default},43928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e===e.toLowerCase()}e.exports=t.default,e.exports["default"]=t.default},31592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){(0,n.default)(e);for(var t,r,o,i=e.replace(/[- ]+/g,""),a=0,s=i.length-1;s>=0;s--)t=i.substring(s,s+1),r=parseInt(t,10),o?(r*=2,a+=r>=10?r%10+1:r):a+=r,o=!o;return!(a%10!==0||!i)}e.exports=t.default,e.exports["default"]=t.default},28999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,c=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,u=/^([0-9a-fA-F]){16}$/,l=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(e,t){return(0,n.default)(e),null!==t&&void 0!==t&&t.eui&&(t.eui=String(t.eui)),null!==t&&void 0!==t&&t.no_colons||null!==t&&void 0!==t&&t.no_separators?"48"===t.eui?a.test(e):"64"===t.eui?u.test(e):a.test(e)||u.test(e):"48"===(null===t||void 0===t?void 0:t.eui)?i.test(e)||s.test(e):"64"===(null===t||void 0===t?void 0:t.eui)?c.test(e)||l.test(e):d(e,{eui:"48"})||d(e,{eui:"64"})}e.exports=t.default,e.exports["default"]=t.default},90368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[a-f0-9]{32}$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},72776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;function a(e){return(0,n.default)(e),0===e.indexOf("magnet:?")&&i.test(e)}e.exports=t.default,e.exports["default"]=t.default},72966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=g;var n=a(r(24790)),o=a(r(83868)),i=a(r(65571));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return l(e)||u(e,t)||f(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){o=!0,i=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(o)throw i}}return r}}function l(e){if(Array.isArray(e))return e}function d(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=f(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r4)return!1;var i,a=d(o);try{for(a.s();!(i=a.n()).done;){var c=i.value,u=c.split("="),l=s(u,2),f=l[0],h=l[1];if(f&&!t.has(f)){n=!0;break}!h||"cc"!==f&&"bcc"!==f||(r[f]=h),f&&t.delete(f)}}catch(p){a.e(p)}finally{a.f()}return!n&&r}function g(e,t){if((0,i.default)(e),0!==e.indexOf("mailto:"))return!1;var r=e.replace("mailto:","").split("?"),a=s(r,2),c=a[0],u=void 0===c?"":c,l=a[1],d=void 0===l?"":l;if(!u&&!d)return!0;var f=p(d);return!!f&&"".concat(u,",").concat(f.cc,",").concat(f.bcc).split(",").every((function(e){return e=(0,n.default)(e," "),!e||(0,o.default)(e,t)}))}e.exports=t.default,e.exports["default"]=t.default},44554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=c;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function c(e){return(0,n.default)(e),i.test(e)||a.test(e)||s.test(e)}e.exports=t.default,e.exports["default"]=t.default},28355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a,t.locales=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};function a(e,t,r){if((0,n.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)){var r=i[t];if(r.test(e))return!0}return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"],i["fr-CH"]=i["de-CH"],i["it-CH"]=i["fr-CH"];var s=Object.keys(i);t.locales=s},19131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(65571)),o=i(r(77117));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length}e.exports=t.default,e.exports["default"]=t.default},13590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[^\x00-\x7F]/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},24986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=r(60079);function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[0-9]+$/;function s(e,t){return(0,n.default)(e),t&&t.no_symbols?a.test(e):new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?o.decimal[t.locale]:".","])?[0-9]+$")).test(e)}e.exports=t.default,e.exports["default"]=t.default},66090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^(0o)?[0-7]+$/i;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},51513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{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A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};function a(e,t){(0,n.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)}e.exports=t.default,e.exports["default"]=t.default},24595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(20937));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e,{min:0,max:65535})}e.exports=t.default,e.exports["default"]=t.default},78140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d,t.locales=void 0;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^\d{3}$/,a=/^\d{4}$/,s=/^\d{5}$/,c=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:a,DO:s,DZ:s,EE:s,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:s,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:i,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:s,MG:i,MX:s,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:s,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:c,RU:c,SA:s,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:c,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:s,TN:a,TW:/^\d{3}(\d{2})?$/,UA:s,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:s},l=Object.keys(u);function d(e,t){if((0,n.default)(e),t in u)return u[t].test(e);if("any"===t){for(var r in u)if(u.hasOwnProperty(r)){var o=u[r];if(o.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}t.locales=l},94611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[0-9]{4}/,a=/(0[1-9]|1[0-2])/,s=/([12]\d|0[1-9]|3[01])/,c=/([01][0-9]|2[0-3])/,u=/[0-5][0-9]/,l=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,f=new RegExp("[-+]".concat(c.source,":").concat(u.source)),h=new RegExp("([zZ]|".concat(f.source,")")),p=new RegExp("".concat(c.source,":").concat(u.source,":").concat(l.source).concat(d.source)),g=new RegExp("".concat(i.source,"-").concat(a.source,"-").concat(s.source)),m=new RegExp("".concat(p.source).concat(h.source)),y=new RegExp("^".concat(g.source,"[ tT]").concat(m.source,"$"));function v(e){return(0,n.default)(e),y.test(e)}e.exports=t.default,e.exports["default"]=t.default},6454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,c=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;function u(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,n.default)(e),t?i.test(e)||a.test(e)||s.test(e)||c.test(e):i.test(e)||a.test(e)}e.exports=t.default,e.exports["default"]=t.default},86826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=i(r(65571)),o=i(r(24731));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,o.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function s(e){return(0,n.default)(e),a.test(e)}e.exports=t.default,e.exports["default"]=t.default},68220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},17633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=p;var n=i(r(84808)),o=i(r(65571));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]$/,s=/^[a-z]$/,c=/^[0-9]$/,u=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,l={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(e){var t={};return Array.from(e).forEach((function(e){var r=t[e];r?t[e]+=1:t[e]=1})),t}function f(e){var t=d(e),r={length:e.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach((function(e){a.test(e)?r.uppercaseCount+=t[e]:s.test(e)?r.lowercaseCount+=t[e]:c.test(e)?r.numberCount+=t[e]:u.test(e)&&(r.symbolCount+=t[e])})),r}function h(e,t){var r=0;return r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(r+=t.pointsForContainingLower),e.uppercaseCount>0&&(r+=t.pointsForContainingUpper),e.numberCount>0&&(r+=t.pointsForContainingNumber),e.symbolCount>0&&(r+=t.pointsForContainingSymbol),r}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var r=f(e);return t=(0,n.default)(t||{},l),t.returnScore?h(r,t):r.length>=t.minLength&&r.lowercaseCount>=t.minLowercase&&r.uppercaseCount>=t.minUppercase&&r.numberCount>=t.minNumbers&&r.symbolCount>=t.minSymbols}e.exports=t.default,e.exports["default"]=t.default},72828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function a(e){return(0,n.default)(e),i.test(e)}e.exports=t.default,e.exports["default"]=t.default},53058:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=J;var o=u(r(65571)),i=c(r(83672)),a=u(r(82549));function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return p(e)||h(e)||f(e)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"===typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}function h(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function p(e){if(Array.isArray(e))return g(e)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r40?(r-=40,t="20".concat(t)):r>20?(r-=20,t="18".concat(t)):t="19".concat(t),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=[2,4,8,5,10,9,7,3,6],s=0,c=0;c50&&(r-=50),r>20){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!==0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0}function w(e){return i.luhnCheck(e)}function b(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[],n=0;n1})),2!==r.length&&3!==r.length)return!1;if(3===r[0].length){for(var a=r[0].split("").map((function(e){return parseInt(e,10)})),s=0,c=0;c58))return!1;t="18".concat(t)}break}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=4,c=0;c<9;c++)i+=o[c]*s,s-=1,1===s&&(s=7);return i%=11,1!==i&&(0===i?0===o[9]:o[9]===11-i)}function E(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),r=0,n=1;n4&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)}function S(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11%10===t[8]}function A(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),t%=23,0===t?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)}var T={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function C(){var e=[];for(var t in T)T.hasOwnProperty(t)&&e.push.apply(e,l(T[t]));return e}function x(e){return-1!==C().indexOf(e.slice(0,2))}function I(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2;break;default:}t.splice(0,1,r)}else while(t.length<9)t.unshift(0);var n=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];t=t.join("");var o=parseInt(t.slice(0,8),10)%23;return t[8]===n[o]}function O(e){var t=e.slice(1,3),r=e.slice(0,1);switch(r){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t);break}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=1,c=0;c<10;c++)i+=o[c]*s,s+=1,10===s&&(s=1);if(i%11===10){i=0,s=3;for(var u=0;u<10;u++)i+=o[u]*s,s+=1,10===s&&(s=1);if(i%11===10)return 0===o[10]}return i%11===o[10]}function N(e){var t=e.slice(4,6),r=e.slice(6,7);switch(r){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t);break}var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;var o=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;if(o<10)return o===parseInt(e.slice(10),10);o-=10;var i=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return i[o]===e.slice(10)}function P(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,a.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,n=parseInt(e.slice(9,11),10);return r===n||(r=97-parseInt("2".concat(e.slice(0,9)),10)%97,r===n)}function k(e){e=e.replace(/\s/g,"");var t=parseInt(e.slice(0,10),10)%511,r=parseInt(e.slice(10,13),10);return t===r}function R(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,a.default)(t,"YYYY/MM/DD")&&(!!i.luhnCheck(e.slice(0,12))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))}function M(e){return i.iso7064Check(e)}function B(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]}function L(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(n>0){if(t&&!r&&!/[AEIOU]/.test(e[n]))return!1;if(r&&!/X/.test(e[n]))return!1}return!0}function D(e){var t=e.toUpperCase().split("");if(!L(t.slice(0,3)))return!1;if(!L(t.slice(3,6)))return!1;for(var r=[6,7,9,10,12,13,14],n={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},o=0,i=r;o40&&(l-=40),l<10&&(l="0".concat(l));var d="".concat(t[6]).concat(t[7],"/").concat(u,"/").concat(l);if(!(0,a.default)(d,"YY/MM/DD"))return!1;for(var f=0,h=1;h4&&(y+=2)}f+=y}return String.fromCharCode(65+f%26)===t[15]}function F(e){e=e.replace(/\W/,"");var t=e.slice(0,2);if("32"!==t){var r=e.slice(2,4);if("00"!==r){var n=e.slice(4,6);switch(e[6]){case"0":n="18".concat(n);break;case"1":n="19".concat(n);break;default:n="20".concat(n);break}var o="".concat(n,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,a.default)(o,"YYYY/MM/DD"))return!1}for(var i=1101,s=[1,6,3,7,9,10,5,8,4,2],c=0;c32e3)return!1;var n=parseInt(t.join("").slice(5,7),10);if(r===n)return!1}}return!0}function U(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)}function j(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n80?(o="18".concat(o),i-=80):i>60?(o="22".concat(o),i-=60):i>40?(o="21".concat(o),i-=40):i>20?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i));var s="".concat(o,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,a.default)(s,"YYYY/MM/DD"))return!1;for(var c=0,u=1,l=0;l10?u=1:5===u&&(u+=2);return c=10-c%10,c===parseInt(e[10],10)}function z(e){if(11===e.length){var t,r;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var n=1;n<=9;n++)t+=parseInt(e.substring(n-1,n),10)*(11-n);if(r=10*t%11,10===r&&(r=0),r!==parseInt(e.substring(9,10),10))return!1;t=0;for(var o=1;o<=10;o++)t+=parseInt(e.substring(o-1,o),10)*(12-o);return r=10*t%11,10===r&&(r=0),r===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var i=e.length-2,a=e.substring(0,i),s=e.substring(i),c=0,u=i-7,l=i;l>=1;l--)c+=a.charAt(i-l)*u,u-=1,u<2&&(u=9);var d=c%11<2?0:11-c%11;if(d!==parseInt(s.charAt(0),10))return!1;i+=1,a=e.substring(0,i),c=0,u=i-7;for(var f=i;f>=1;f--)c+=a.charAt(i-f)*u,u-=1,u<2&&(u=9);return d=c%11<2?0:11-c%11,d===parseInt(s.charAt(1),10)}function V(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)}function H(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t);break;default:}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,a.default)(r,"YY/MM/DD"))return!1}else if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,s=0;s53)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);r>50&&(r-=50),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}return!0}function G(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)}function W(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var r="",n=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&o<60){var s=(new Date).getFullYear().toString(),c=parseInt(s.slice(0,2),10);if(s=parseInt(s,10),"-"===e[6])r=parseInt("".concat(c).concat(r),10)>s?"".concat(c-1).concat(r):"".concat(c).concat(r);else if(r="".concat(c-1).concat(r),s-parseInt(r,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var u="".concat(r,"/").concat(n,"/").concat(o);if(8===u.length){if(!(0,a.default)(u,"YY/MM/DD"))return!1}else if(!(0,a.default)(u,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))}var Z={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};Z["lb-LU"]=Z["fr-LU"],Z["lt-LT"]=Z["et-EE"],Z["nl-BE"]=Z["fr-BE"],Z["fr-CA"]=Z["en-CA"];var K={"bg-BG":m,"cs-CZ":v,"de-AT":w,"de-DE":b,"dk-DK":_,"el-CY":E,"el-GR":S,"en-CA":y,"en-IE":A,"en-US":x,"es-ES":I,"et-EE":O,"fi-FI":N,"fr-BE":P,"fr-FR":k,"fr-LU":R,"hr-HR":M,"hu-HU":B,"it-IT":D,"lv-LV":F,"mt-MT":$,"nl-NL":U,"pl-PL":j,"pt-BR":z,"pt-PT":V,"ro-RO":H,"sk-SK":q,"sl-SI":G,"sv-SE":W};K["lb-LU"]=K["fr-LU"],K["lt-LT"]=K["et-EE"],K["nl-BE"]=K["fr-BE"],K["fr-CA"]=K["en-CA"];var Y=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,X={"de-AT":Y,"de-DE":/[\/\\]/g,"fr-BE":Y};function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var r=e.slice(0);if(t in Z)return t in X&&(r=r.replace(X[t],"")),!!Z[t].test(r)&&(!(t in K)||K[t](r));throw new Error("Invalid locale '".concat(t,"'"))}X["nl-BE"]=X["fr-BE"],e.exports=t.default,e.exports["default"]=t.default},3494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=o(r(84808));function o(e){return e&&e.__esModule?e:{default:e}}var i={hourFormat:"hour24",mode:"default"},a={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};function s(e,t){return t=(0,n.default)(t,i),"string"===typeof e&&a[t.hourFormat][t.mode].test(e)}e.exports=t.default,e.exports["default"]=t.default},66823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=v;var n=s(r(65571)),o=s(r(10221)),i=s(r(61028)),a=s(r(84808));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return h(e)||f(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if(t=(0,a.default)(t,p),t.validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var r,s,u,l,d,f,h,m;if(h=e.split("#"),e=h.shift(),h=e.split("?"),e=h.shift(),h=e.split("://"),h.length>1){if(r=h.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;h[0]=e.slice(2)}}if(e=h.join("://"),""===e)return!1;if(h=e.split("/"),e=h.shift(),""===e&&!t.require_host)return!0;if(h=e.split("@"),h.length>1){if(t.disallow_auth)return!1;if(""===h[0])return!1;if(s=h.shift(),s.indexOf(":")>=0&&s.split(":").length>2)return!1;var v=s.split(":"),w=c(v,2),b=w[0],_=w[1];if(""===b&&""===_)return!1}l=h.join("@"),f=null,m=null;var E=l.match(g);if(E?(u="",m=E[1],f=E[2]||null):(h=l.split(":"),u=h.shift(),h.length&&(f=h.join(":"))),null!==f&&f.length>0){if(d=parseInt(f,10),!/^[0-9]+$/.test(f)||d<=0||d>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?y(u,t.host_whitelist):""===u&&!t.require_host||!!((0,i.default)(u)||(0,o.default)(u,t)||m&&(0,i.default)(m,6))&&(u=u||m,!t.host_blacklist||!y(u,t.host_blacklist))}e.exports=t.default,e.exports["default"]=t.default},57278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function a(e,t){(0,n.default)(e);var r=i[[void 0,null].includes(t)?"all":t];return!!r&&r.test(e)}e.exports=t.default,e.exports["default"]=t.default},57245:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e===e.toUpperCase()}e.exports=t.default,e.exports["default"]=t.default},55977:(e,t,r)=>{"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=f,t.vatMatchers=void 0;var o=c(r(65571)),i=s(r(83672));function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=function(e){var t=e.pop(),r=[5,4,3,2,7,6,5,4],n=(11-e.reduce((function(e,t,n){return e+t*r[n]}),0)%11)%11;return t===n};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(e)&&t(e.match(/\d/g).map((function(e){return+e})))},l=function(e){var t=e.match(/^(PT)?(\d{9})$/);if(!t)return!1;var r=t[2],n=11-i.reverseMultiplyAndSum(r.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return n>9?0===parseInt(r[8],10):n===parseInt(r[8],10)},d={AT:function(e){return/^(AT)?U\d{8}$/.test(e)},BE:function(e){return/^(BE)?\d{10}$/.test(e)},BG:function(e){return/^(BG)?\d{9,10}$/.test(e)},HR:function(e){return/^(HR)?\d{11}$/.test(e)},CY:function(e){return/^(CY)?\w{9}$/.test(e)},CZ:function(e){return/^(CZ)?\d{8,10}$/.test(e)},DK:function(e){return/^(DK)?\d{8}$/.test(e)},EE:function(e){return/^(EE)?\d{9}$/.test(e)},FI:function(e){return/^(FI)?\d{8}$/.test(e)},FR:function(e){return/^(FR)?\w{2}\d{9}$/.test(e)},DE:function(e){return/^(DE)?\d{9}$/.test(e)},EL:function(e){return/^(EL)?\d{9}$/.test(e)},HU:function(e){return/^(HU)?\d{8}$/.test(e)},IE:function(e){return/^(IE)?\d{7}\w{1}(W)?$/.test(e)},IT:function(e){return/^(IT)?\d{11}$/.test(e)},LV:function(e){return/^(LV)?\d{11}$/.test(e)},LT:function(e){return/^(LT)?\d{9,12}$/.test(e)},LU:function(e){return/^(LU)?\d{8}$/.test(e)},MT:function(e){return/^(MT)?\d{8}$/.test(e)},NL:function(e){return/^(NL)?\d{9}B\d{2}$/.test(e)},PL:function(e){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(e)},PT:l,RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){return/^(AU)?\d{11}$/.test(e)},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{9}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:u,TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}};function f(e,t){if((0,o.default)(e),(0,o.default)(t),t in d)return d[t](e);throw new Error("Invalid country code: '".concat(t,"'"))}t.vatMatchers=d},49019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=s;var n=a(r(65571)),o=r(77146),i=r(82941);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(0,n.default)(e),o.fullWidth.test(e)&&i.halfWidth.test(e)}e.exports=t.default,e.exports["default"]=t.default},88346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(0,n.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0}e.exports=t.default,e.exports["default"]=t.default},14959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(0,n.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")}e.exports=t.default,e.exports["default"]=t.default},30661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,r){return(0,n.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r)),!!e.match(t)}e.exports=t.default,e.exports["default"]=t.default},2900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=d;var n=o(r(84808));function o(e){return e&&e.__esModule?e:{default:e}}var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function l(e){return e.length>1?e:""}function d(e,t){t=(0,n.default)(t,i);var r=e.split("@"),o=r.pop(),d=r.join("@"),f=[d,o];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,l)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(a.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(c.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var h=f[0].split("-");f[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else u.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")}e.exports=t.default,e.exports["default"]=t.default},29778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if((0,n.default)(e),t){var r=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(r,"")}var o=e.length-1;while(/\s/.test(e.charAt(o)))o-=1;return e.slice(0,o+1)}e.exports=t.default,e.exports["default"]=t.default},8035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(65571)),o=i(r(44928));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,r)}e.exports=t.default,e.exports["default"]=t.default},557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e}e.exports=t.default,e.exports["default"]=t.default},8469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)}e.exports=t.default,e.exports["default"]=t.default},77536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(79146));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e)?parseFloat(e):NaN}e.exports=t.default,e.exports["default"]=t.default},21359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),parseInt(e,t||10)}e.exports=t.default,e.exports["default"]=t.default},24790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var n=i(r(29778)),o=i(r(14959));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(0,n.default)((0,o.default)(e,t),t)}e.exports=t.default,e.exports["default"]=t.default},94816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,n.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")}e.exports=t.default,e.exports["default"]=t.default},83672:(e,t)=>{"use strict";function r(e){for(var t=10,r=0;r=0;n--){if(r){var o=2*parseInt(e[n],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[n],10);r=!r}return t%10===0}function o(e,t){for(var r=0,n=0;n{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e){var t="string"===typeof e||e instanceof String;if(!t){var n=r(e);throw null===e?n="null":"object"===n&&(n=e.constructor.name),new TypeError("Expected a string but received a ".concat(n))}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},18343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=function(e,t){return e.some((function(e){return t===e}))},n=r;t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},84808:(e,t)=>{"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)"undefined"===typeof e[r]&&(e[r]=t[r]);return e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r,e.exports=t.default,e.exports["default"]=t.default},24731:(e,t)=>{"use strict";function r(e,t){var r=e.join("");return new RegExp(r,t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=r,e.exports=t.default,e.exports["default"]=t.default},95791:(e,t)=>{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e){return"object"===r(e)&&null!==e?e="function"===typeof e.toString?e.toString():"[object Object]":(null===e||"undefined"===typeof e||isNaN(e)&&!e.length)&&(e=""),String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n,e.exports=t.default,e.exports["default"]=t.default},34714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var n=o(r(65571));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(0,n.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")}e.exports=t.default,e.exports["default"]=t.default},57795:(e,t,r)=>{"use strict";var n=r(89509).Buffer,o=9007199254740991;function i(e){if(e<0||e>o||e%1!==0)throw new RangeError("value out of range")}function a(e,t,r){if(i(e),t||(t=n.allocUnsafe(c(e))),!n.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");return r||(r=0),e<253?(t.writeUInt8(e,r),a.bytes=1):e<=65535?(t.writeUInt8(253,r),t.writeUInt16LE(e,r+1),a.bytes=3):e<=4294967295?(t.writeUInt8(254,r),t.writeUInt32LE(e,r+1),a.bytes=5):(t.writeUInt8(255,r),t.writeUInt32LE(e>>>0,r+1),t.writeUInt32LE(e/4294967296|0,r+5),a.bytes=9),t}function s(e,t){if(!n.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");t||(t=0);var r=e.readUInt8(t);if(r<253)return s.bytes=1,r;if(253===r)return s.bytes=3,e.readUInt16LE(t+1);if(254===r)return s.bytes=5,e.readUInt32LE(t+1);s.bytes=9;var o=e.readUInt32LE(t+1),a=e.readUInt32LE(t+5),c=4294967296*a+o;return i(c),c}function c(e){return i(e),e<253?1:e<=65535?3:e<=4294967295?5:9}e.exports={encode:a,decode:s,encodingLength:c}},12954:(e,t,r)=>{"use strict";r.d(t,{VA:()=>Je,aH:()=>d,cI:()=>qe,gN:()=>ze,jQ:()=>fe,l0:()=>Ye,qk:()=>Qe});var n=r(66252),o=r(2262); -/** - * vee-validate v4.8.6 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function i(e){return"function"===typeof e}function a(e){return null===e||void 0===e}const s=e=>null!==e&&!!e&&"object"===typeof e&&!Array.isArray(e);function c(e){return Number(e)>=0}function u(e){const t=parseFloat(e);return isNaN(t)?e:t}const l={};function d(e,t){h(e,t),l[e]=t}function f(e){return l[e]}function h(e,t){if(!i(t))throw new Error(`Extension Error: The validator '${e}' must be a function.`)}const p=Symbol("vee-validate-form"),g=Symbol("vee-validate-field-instance"),m=Symbol("Default empty value"),y="undefined"!==typeof window;function v(e){return i(e)&&!!e.__locatorRef}function w(e){return!!e&&i(e.parse)&&"VVTypedSchema"===e.__type}function b(e){return!!e&&i(e.validate)}function _(e){return"checkbox"===e||"radio"===e}function E(e){return s(e)||Array.isArray(e)}function S(e){return Array.isArray(e)?0===e.length:s(e)&&0===Object.keys(e).length}function A(e){return/^\[.+\]$/i.test(e)}function T(e){return C(e)&&e.multiple}function C(e){return"SELECT"===e.tagName}function x(e,t){const r=![!1,null,void 0,0].includes(t.multiple)&&!Number.isNaN(t.multiple);return"select"===e&&"multiple"in t&&r}function I(e,t){return!x(e,t)&&"file"!==t.type&&!_(t.type)}function O(e){return N(e)&&e.target&&"submit"in e.target}function N(e){return!!e&&(!!("undefined"!==typeof Event&&i(Event)&&e instanceof Event)||!(!e||!e.srcElement))}function P(e,t){return t in e&&e[t]!==m}function k(e,t){if(e===t)return!0;if(e&&t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!==n--;)if(!k(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!k(n[1],t.get(n[0])))return!1;return!0}if(R(e)&&R(t))return e.size===t.size&&(e.name===t.name&&(e.lastModified===t.lastModified&&e.type===t.type));if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;0!==n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){var i=o[n];if(!k(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function R(e){return!!y&&e instanceof File}function M(e,t,r){"object"===typeof r.value&&(r.value=B(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==t?e[t]=r.value:Object.defineProperty(e,t,r)}function B(e){if("object"!==typeof e)return e;var t,r,n,o=0,i=Object.prototype.toString.call(e);if("[object Object]"===i?n=Object.create(e.__proto__||null):"[object Array]"===i?n=Array(e.length):"[object Set]"===i?(n=new Set,e.forEach((function(e){n.add(B(e))}))):"[object Map]"===i?(n=new Map,e.forEach((function(e,t){n.set(B(t),B(e))}))):"[object Date]"===i?n=new Date(+e):"[object RegExp]"===i?n=new RegExp(e.source,e.flags):"[object DataView]"===i?n=new e.constructor(B(e.buffer)):"[object ArrayBuffer]"===i?n=e.slice(0):"Array]"===i.slice(-6)&&(n=new e.constructor(e)),n){for(r=Object.getOwnPropertySymbols(e);oE(e)&&t in e?e[t]:r),e);return n}function F(e,t,r){if(A(t))return void(e[L(t)]=r);const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let i=0;iD(e,r.slice(0,n).join("."))));for(let i=o.length-1;i>=0;i--)S(o[i])&&(0!==i?$(o[i-1],r[i-1]):$(e,r[0]))}function j(e){return Object.keys(e)}function z(e,t=void 0){const r=(0,n.FN)();return(null===r||void 0===r?void 0:r.provides[e])||(0,n.f3)(e,t)}function V(e){(0,n.ZK)(`[vee-validate]: ${e}`)}function H(e,t,r){if(Array.isArray(e)){const r=[...e],n=r.findIndex((e=>k(e,t)));return n>=0?r.splice(n,1):r.push(t),r}return k(e,t)?r:t}function q(e,t){let r,n;return function(...o){const i=this;return r||(r=!0,setTimeout((()=>r=!1),t),n=e.apply(i,o)),n}}function G(e,t=0){let r=null,n=[];return function(...o){return r&&window.clearTimeout(r),r=window.setTimeout((()=>{const t=e(...o);n.forEach((e=>e(t))),n=[]}),t),new Promise((e=>n.push(e)))}}function W(e,t){return s(t)&&t.number?u(e):e}function Z(e,t){let r;return async function(...n){const o=e(...n);r=o;const i=await o;return o!==r||(r=void 0,t(i,n)),i}}function K({get:e,set:t}){const r=(0,o.iH)(B(e()));return(0,n.YP)(e,(e=>{k(e,r.value)||(r.value=B(e))}),{deep:!0}),(0,n.YP)(r,(r=>{k(r,e())||t(B(r))}),{deep:!0}),r}function Y(e){return i(e)?e():(0,o.SU)(e)}function X(e){return(0,n.Fl)((()=>Y(e)))}const J=(e,t,r)=>t.slots.default?"string"!==typeof e&&e?{default:()=>{var e,n;return null===(n=(e=t.slots).default)||void 0===n?void 0:n.call(e,r())}}:t.slots.default(r()):t.slots.default;function Q(e){if(ee(e))return e._value}function ee(e){return"_value"in e}function te(e){if(!N(e))return e;const t=e.target;if(_(t.type)&&ee(t))return Q(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(T(t))return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(Q);if(C(t)){const e=Array.from(t.options).find((e=>e.selected));return e?Q(e):t.value}return t.value}function re(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?s(e)&&e._$$isNormalized?e:s(e)?Object.keys(e).reduce(((t,r)=>{const n=ne(e[r]);return!1!==e[r]&&(t[r]=oe(n)),t}),t):"string"!==typeof e?t:e.split("|").reduce(((e,t)=>{const r=ie(t);return r.name?(e[r.name]=oe(r.params),e):e}),t):t}function ne(e){return!0===e?[]:Array.isArray(e)||s(e)?e:[e]}function oe(e){const t=e=>"string"===typeof e&&"@"===e[0]?ae(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n]),r)),{})}const ie=e=>{let t=[];const r=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:r,params:t}};function ae(e){const t=t=>{const r=D(t,e)||t[e];return r};return t.__locatorRef=e,t}function se(e){return Array.isArray(e)?e.filter(v):j(e).filter((t=>v(e[t]))).map((t=>e[t]))}const ce={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let ue=Object.assign({},ce);const le=()=>ue,de=e=>{ue=Object.assign(Object.assign({},ue),e)},fe=de;async function he(e,t,r={}){const n=null===r||void 0===r?void 0:r.bails,o={name:(null===r||void 0===r?void 0:r.name)||"{field}",rules:t,label:null===r||void 0===r?void 0:r.label,bails:null===n||void 0===n||n,formData:(null===r||void 0===r?void 0:r.values)||{}},i=await pe(o,e),a=i.errors;return{errors:a,valid:!a.length}}async function pe(e,t){if(w(e.rules)||b(e.rules))return ye(t,e.rules);if(i(e.rules)||Array.isArray(e.rules)){const r={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},n=Array.isArray(e.rules)?e.rules:[e.rules],o=n.length,i=[];for(let a=0;a{const r=t.path||"";return e[r]||(e[r]={errors:[],path:r}),e[r].errors.push(...t.errors),e}),{});return{errors:Object.values(e)}}}};return t}async function ye(e,t){const r=w(t)?t:me(t),n=await r.parse(e),o=[];for(const i of n.errors)i.errors.length&&o.push(...i.errors);return{errors:o}}async function ve(e,t,r){const n=f(r.name);if(!n)throw new Error(`No such validator '${r.name}' exists.`);const o=be(r.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},r),{params:o})},a=await n(t,o,i);return"string"===typeof a?{error:a}:{error:a?void 0:we(i)}}function we(e){const t=le().generateMessage;return t?t(e):"Field is invalid"}function be(e,t){const r=e=>v(e)?e(t):e;return Array.isArray(e)?e.map(r):Object.keys(e).reduce(((t,n)=>(t[n]=r(e[n]),t)),{})}async function _e(e,t){const r=w(e)?e:me(e),n=await r.parse(t),o={},i={};for(const a of n.errors){const e=a.errors,t=(a.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[t]={valid:!e.length,errors:e},e.length&&(i[t]=e[0])}return{valid:!n.errors.length,results:o,errors:i,values:n.value}}async function Ee(e,t,r){const n=j(e),o=n.map((async n=>{var o,i,a;const s=null===(o=null===r||void 0===r?void 0:r.names)||void 0===o?void 0:o[n],c=await he(D(t,n),e[n],{name:(null===s||void 0===s?void 0:s.name)||n,label:null===s||void 0===s?void 0:s.label,values:t,bails:null===(a=null===(i=null===r||void 0===r?void 0:r.bailsMap)||void 0===i?void 0:i[n])||void 0===a||a});return Object.assign(Object.assign({},c),{path:n})}));let i=!0;const a=await Promise.all(o),s={},c={};for(const u of a)s[u.path]={valid:u.valid,errors:u.errors},u.valid||(i=!1,c[u.path]=u.errors[0]);return{valid:i,results:s,errors:c}}let Se=0;function Ae(e,t){const{value:r,initialValue:n,setInitialValue:o}=Te(e,t.modelValue,t.form),{errorMessage:i,errors:a,setErrors:s}=Ie(e,t.form),c=xe(r,n,a),u=Se>=Number.MAX_SAFE_INTEGER?0:++Se;function l(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(c.touched=null!==(t=e.touched)&&void 0!==t?t:c.touched),"initialValue"in e&&o(e.initialValue)}return{id:u,path:e,value:r,initialValue:n,meta:c,errors:a,errorMessage:i,setState:l}}function Te(e,t,r){const i=(0,o.iH)((0,o.SU)(t));function a(){return r?D(r.meta.value.initialValues,(0,o.SU)(e),(0,o.SU)(i)):(0,o.SU)(i)}function s(t){r?r.stageInitialValue((0,o.SU)(e),t,!0):i.value=t}const c=(0,n.Fl)(a);if(!r){const e=(0,o.iH)(a());return{value:e,initialValue:c,setInitialValue:s}}const u=Ce(t,r,c,e);r.stageInitialValue((0,o.SU)(e),u,!0);const l=(0,n.Fl)({get(){return D(r.values,(0,o.SU)(e))},set(t){r.setFieldValue((0,o.SU)(e),t)}});return{value:l,initialValue:c,setInitialValue:s}}function Ce(e,t,r,n){return(0,o.dq)(e)?(0,o.SU)(e):void 0!==e?e:D(t.values,(0,o.SU)(n),(0,o.SU)(r))}function xe(e,t,r){const i=(0,o.qj)({touched:!1,pending:!1,valid:!0,validated:!!(0,o.SU)(r).length,initialValue:(0,n.Fl)((()=>(0,o.SU)(t))),dirty:(0,n.Fl)((()=>!k((0,o.SU)(e),(0,o.SU)(t))))});return(0,n.YP)(r,(e=>{i.valid=!e.length}),{immediate:!0,flush:"sync"}),i}function Ie(e,t){function r(e){return e?Array.isArray(e)?e:[e]:[]}if(!t){const e=(0,o.iH)([]);return{errors:e,errorMessage:(0,n.Fl)((()=>e.value[0])),setErrors:t=>{e.value=r(t)}}}const i=(0,n.Fl)((()=>t.errorBag.value[(0,o.SU)(e)]||[]));return{errors:i,errorMessage:(0,n.Fl)((()=>i.value[0])),setErrors:n=>{t.setFieldErrorBag((0,o.SU)(e),r(n))}}}let Oe;q((()=>{setTimeout((async()=>{await(0,n.Y3)(),null===Oe||void 0===Oe||Oe.sendInspectorState(Ne),null===Oe||void 0===Oe||Oe.sendInspectorTree(Ne)}),100)}),100);const Ne="vee-validate-inspector";function Pe(e,t,r){return _(null===r||void 0===r?void 0:r.type)?Be(e,t,r):ke(e,t,r)}function ke(e,t,r){const{initialValue:a,validateOnMount:s,bails:c,type:u,checkedValue:l,label:d,validateOnValueUpdate:f,uncheckedValue:h,controlled:m,keepValueOnUnmount:y,modelPropName:v,syncVModel:_,form:E}=Re(r),S=m?z(p):void 0,A=E||S,T=X(e);let C=!1;const{id:x,value:I,initialValue:O,meta:N,setState:P,errors:R,errorMessage:M}=Ae(T,{modelValue:a,form:A});_&&Le({value:I,prop:v,handleChange:H});const L=()=>{N.touched=!0},F=(0,n.Fl)((()=>{let e=(0,o.SU)(t);const r=(0,o.SU)(null===A||void 0===A?void 0:A.schema);return!r||b(r)||w(r)||(e=Me(r,(0,o.SU)(T))||e),b(e)||w(e)||i(e)||Array.isArray(e)?e:re(e)}));async function $(e){var t,r;return(null===A||void 0===A?void 0:A.validateSchema)?null!==(t=(await A.validateSchema(e)).results[(0,o.SU)(T)])&&void 0!==t?t:{valid:!0,errors:[]}:he(I.value,F.value,{name:(0,o.SU)(T),label:(0,o.SU)(d),values:null!==(r=null===A||void 0===A?void 0:A.values)&&void 0!==r?r:{},bails:c})}const U=Z((async()=>(N.pending=!0,N.validated=!0,$("validated-only"))),(e=>(C&&(e.valid=!0,e.errors=[]),P({errors:e.errors}),N.pending=!1,e))),j=Z((async()=>$("silent")),(e=>(C&&(e.valid=!0),N.valid=e.valid,e)));function V(e){return"silent"===(null===e||void 0===e?void 0:e.mode)?j():U()}function H(e,t=!0){const r=te(e);I.value=r,!f&&t&&U()}function q(e){N.touched=e}let G;(0,n.bv)((()=>{if(s)return U();A&&A.validateSchema||j()}));let W=B(I.value);function K(){G=(0,n.YP)(I,((e,t)=>{if(k(e,t)&&k(e,W))return;const r=f?U:j;r(),W=B(e)}),{deep:!0})}function Y(e){var t;null===G||void 0===G||G();const r=e&&"value"in e?e.value:O.value;P({value:B(r),initialValue:B(r),touched:null!==(t=null===e||void 0===e?void 0:e.touched)&&void 0!==t&&t,errors:(null===e||void 0===e?void 0:e.errors)||[]}),N.pending=!1,N.validated=!1,j(),(0,n.Y3)((()=>{K()}))}function J(e){I.value=e}function Q(e){P({errors:Array.isArray(e)?e:[e]})}K();const ee={id:x,name:T,label:d,value:I,meta:N,errors:R,errorMessage:M,type:u,checkedValue:l,uncheckedValue:h,bails:c,keepValueOnUnmount:y,resetField:Y,handleReset:()=>Y(),validate:V,handleChange:H,handleBlur:L,setState:P,setTouched:q,setErrors:Q,setValue:J};if((0,n.JJ)(g,ee),(0,o.dq)(t)&&"function"!==typeof(0,o.SU)(t)&&(0,n.YP)(t,((e,t)=>{k(e,t)||(N.validated?U():j())}),{deep:!0}),!A)return ee;A.register(ee),(0,n.Jd)((()=>{C=!0,A.unregister(ee)}));const ne=(0,n.Fl)((()=>{const e=F.value;return!e||i(e)||b(e)||w(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,r)=>{const n=se(e[r]).map((e=>e.__locatorRef)).reduce(((e,t)=>{const r=D(A.values,t)||A.values[t];return void 0!==r&&(e[t]=r),e}),{});return Object.assign(t,n),t}),{})}));return(0,n.YP)(ne,((e,t)=>{if(!Object.keys(e).length)return;const r=!k(e,t);r&&(N.validated?U():j())})),ee}function Re(e){var t;const r=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,modelPropName:"modelValue",syncVModel:!0,controlled:!0}),o=null===(t=null===e||void 0===e?void 0:e.syncVModel)||void 0===t||t,i=o&&!("initialValue"in(e||{}))?De((0,n.FN)(),(null===e||void 0===e?void 0:e.modelPropName)||"modelValue"):null===e||void 0===e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},r()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,s="standalone"in e?!e.standalone:e.controlled;return Object.assign(Object.assign(Object.assign({},r()),e||{}),{initialValue:i,controlled:null===s||void 0===s||s,checkedValue:a})}function Me(e,t){if(e)return e[t]}function Be(e,t,r){const i=(null===r||void 0===r?void 0:r.standalone)?void 0:z(p),a=null===r||void 0===r?void 0:r.checkedValue,s=null===r||void 0===r?void 0:r.uncheckedValue;function c(e){const t=e.handleChange,r=(0,n.Fl)((()=>{const t=(0,o.SU)(e.value),r=(0,o.SU)(a);return Array.isArray(t)?t.findIndex((e=>k(e,r)))>=0:k(r,t)}));function c(n,c=!0){var u;if(r.value===(null===(u=null===n||void 0===n?void 0:n.target)||void 0===u?void 0:u.checked))return void(c&&e.validate());let l=te(n);i||(l=H((0,o.SU)(e.value),(0,o.SU)(a),(0,o.SU)(s))),t(l,c)}return Object.assign(Object.assign({},e),{checked:r,checkedValue:a,uncheckedValue:s,handleChange:c})}return c(ke(e,t,r))}function Le({prop:e,value:t,handleChange:r}){const o=(0,n.FN)();if(!o)return void 0;const i=e||"modelValue",a=`update:${i}`;i in o.props&&((0,n.YP)(t,(e=>{k(e,De(o,i))||o.emit(a,e)})),(0,n.YP)((()=>De(o,i)),(e=>{if(e===m&&void 0===t.value)return;const n=e===m?void 0:e;k(n,W(t.value,o.props.modelModifiers))||r(n)})))}function De(e,t){if(e)return e.props[t]}const Fe=(0,n.aZ)({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>le().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:m},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const r=(0,o.Vh)(e,"rules"),i=(0,o.Vh)(e,"name"),a=(0,o.Vh)(e,"label"),s=(0,o.Vh)(e,"uncheckedValue"),c=(0,o.Vh)(e,"keepValue"),{errors:u,value:l,errorMessage:d,validate:f,handleChange:h,handleBlur:p,setTouched:g,resetField:m,handleReset:y,meta:v,checked:w,setErrors:b}=Pe(i,r,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:je(e,t),checkedValue:t.attrs.value,uncheckedValue:s,label:a,validateOnValueUpdate:!1,keepValueOnUnmount:c}),E=function(e,r=!0){h(e,r),t.emit("update:modelValue",l.value)},S=e=>{_(t.attrs.type)||(l.value=te(e))},A=function(e){S(e),t.emit("update:modelValue",l.value)},T=(0,n.Fl)((()=>{const{validateOnInput:r,validateOnChange:n,validateOnBlur:o,validateOnModelUpdate:i}=Ue(e),a=[p,t.attrs.onBlur,o?f:void 0].filter(Boolean),s=[e=>E(e,r),t.attrs.onInput].filter(Boolean),c=[e=>E(e,n),t.attrs.onChange].filter(Boolean),u={name:e.name,onBlur:a,onInput:s,onChange:c,"onUpdate:modelValue":e=>E(e,i)};_(t.attrs.type)&&w&&(u.checked=w.value);const d=$e(e,t);return I(d,t.attrs)&&(u.value=l.value),u}));function C(){return{field:T.value,value:l.value,meta:v,errors:u.value,errorMessage:d.value,validate:f,resetField:m,handleChange:E,handleInput:A,handleReset:y,handleBlur:p,setTouched:g,setErrors:b}}return t.expose({setErrors:b,setTouched:g,reset:m,validate:f,handleChange:h}),()=>{const r=(0,n.LL)($e(e,t)),o=J(r,t,C);return r?(0,n.h)(r,Object.assign(Object.assign({},t.attrs),T.value),o):o}}});function $e(e,t){let r=e.as||"";return e.as||t.slots.default||(r="input"),r}function Ue(e){var t,r,n,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:s,validateOnModelUpdate:c}=le();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(r=e.validateOnChange)&&void 0!==r?r:a,validateOnBlur:null!==(n=e.validateOnBlur)&&void 0!==n?n:s,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:c}}function je(e,t){return _(t.attrs.type)?P(e,"modelValue")?e.modelValue:void 0:P(e,"modelValue")?e.modelValue:t.attrs.value}const ze=Fe;let Ve=0;function He(e){const t=(0,o.SU)(null===e||void 0===e?void 0:e.initialValues)||{},r=(0,o.SU)(null===e||void 0===e?void 0:e.validationSchema);return r&&w(r)&&i(r.cast)?B(r.cast(t)||{}):B(t)}function qe(e){var t;const r=Ve++,i=new Set;let a=!1;const s=(0,o.iH)({}),c=(0,o.iH)(!1),u=(0,o.iH)(0),l=[],d=(0,o.qj)(He(e)),{errorBag:f,setErrorBag:h,setFieldErrorBag:g}=Ze(null===e||void 0===e?void 0:e.initialErrors),m=(0,n.Fl)((()=>j(f.value).reduce(((e,t)=>{const r=f.value[t];return r&&r.length&&(e[t]=r[0]),e}),{})));function y(e){const t=s.value[e];return Array.isArray(t)?t[0]:t}function v(e){return!!s.value[e]}const _=(0,n.Fl)((()=>j(s.value).reduce(((e,t)=>{const r=y(t);return r&&(e[t]={name:(0,o.SU)(r.name)||"",label:(0,o.SU)(r.label)||""}),e}),{}))),E=(0,n.Fl)((()=>j(s.value).reduce(((e,t)=>{var r;const n=y(t);return n&&(e[t]=null===(r=n.bails)||void 0===r||r),e}),{}))),A=Object.assign({},(null===e||void 0===e?void 0:e.initialErrors)||{}),T=null!==(t=null===e||void 0===e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:C,originalInitialValues:x,setInitialValues:I}=We(s,d,e),N=Ge(s,d,x,m),P=(0,n.Fl)((()=>[...i,...j(s.value)].reduce(((e,t)=>{const r=D(d,t);return F(e,t,r),e}),{}))),R=null===e||void 0===e?void 0:e.validationSchema,M=G(ye,5),L=G(ye,5),$=Z((async e=>"silent"===await e?M():L()),((e,[t])=>{const r=W.fieldsByPath.value||{},n=j(W.errorBag.value),o=[...new Set([...j(e.results),...j(r),...n])];return o.reduce(((n,o)=>{const i=r[o],a=(e.results[o]||{errors:[]}).errors,s={errors:a,valid:!a.length};if(n.results[o]=s,s.valid||(n.errors[o]=s.errors[0]),!i)return J(o,a),n;if(Y(i,(e=>e.meta.valid=s.valid)),"silent"===t)return n;const c=Array.isArray(i)?i.some((e=>e.meta.validated)):i.meta.validated;return"validated-only"!==t||c?(Y(i,(e=>e.setState({errors:s.errors}))),n):n}),{valid:e.valid,results:{},errors:{}})}));function z(e){return function(t,r){return function(n){return n instanceof Event&&(n.preventDefault(),n.stopPropagation()),ie(j(s.value).reduce(((e,t)=>(e[t]=!0,e)),{})),c.value=!0,u.value++,fe().then((o=>{const i=B(d);if(o.valid&&"function"===typeof t){const r=B(P.value);let a=e?r:i;return o.values&&(a=o.values),t(a,{evt:n,controlledValues:r,setErrors:Q,setFieldError:J,setTouched:ie,setFieldTouched:oe,setValues:te,setFieldValue:ee,resetForm:se,resetField:ae})}o.valid||"function"!==typeof r||r({values:i,evt:n,errors:o.errors,results:o.results})})).then((e=>(c.value=!1,e)),(e=>{throw c.value=!1,e}))}}}const V=z(!1),q=V;q.withControlled=z(!0);const W={formId:r,fieldsByPath:s,values:d,controlledValues:P,errorBag:f,errors:m,schema:R,submitCount:u,meta:N,isSubmitting:c,fieldArrays:l,keepValuesOnUnmount:T,validateSchema:(0,o.SU)(R)?$:void 0,validate:fe,register:le,unregister:de,setFieldErrorBag:g,validateField:he,setFieldValue:ee,setValues:te,setErrors:Q,setFieldError:J,setFieldTouched:oe,setTouched:ie,resetForm:se,resetField:ae,handleSubmit:q,stageInitialValue:ge,unsetInitialValue:pe,setFieldInitialValue:me,useFieldModel:ne};function K(e){return Array.isArray(e)}function Y(e,t){return Array.isArray(e)?e.forEach(t):t(e)}function X(e){Object.values(s.value).forEach((t=>{t&&Y(t,e)}))}function J(e,t){g(e,t)}function Q(e){h(e)}function ee(e,t,{force:r}={force:!1}){var n;const i=s.value[e],c=B(t);if(!i)return void F(d,e,c);if(K(i)&&"checkbox"===(null===(n=i[0])||void 0===n?void 0:n.type)&&!Array.isArray(t)){const r=B(H(D(d,e)||[],t,void 0));return void F(d,e,r)}let u=c;K(i)||"checkbox"!==i.type||r||a||(u=B(H(D(d,e),t,(0,o.SU)(i.uncheckedValue)))),F(d,e,u)}function te(e){j(d).forEach((e=>{delete d[e]})),j(e).forEach((t=>{ee(t,e[t])})),l.forEach((e=>e&&e.reset()))}function re(e){const{value:t}=Te(e,void 0,W);return(0,n.YP)(t,(()=>{v((0,o.SU)(e))||fe({mode:"validated-only"})}),{deep:!0}),i.add((0,o.SU)(e)),t}function ne(e){return Array.isArray(e)?e.map(re):re(e)}function oe(e,t){const r=s.value[e];r&&Y(r,(e=>e.setTouched(t)))}function ie(e){j(e).forEach((t=>{oe(t,!!e[t])}))}function ae(e,t){const r=s.value[e];r&&Y(r,(e=>e.resetField(t)))}function se(e){a=!0,X((e=>e.resetField()));const t=(null===e||void 0===e?void 0:e.values)?e.values:x.value;I(t),te(t),(null===e||void 0===e?void 0:e.touched)&&ie(e.touched),Q((null===e||void 0===e?void 0:e.errors)||{}),u.value=(null===e||void 0===e?void 0:e.submitCount)||0,(0,n.Y3)((()=>{a=!1}))}function ce(e,t){const r=(0,o.Xl)(e),n=t;if(!s.value[n])return void(s.value[n]=r);const i=s.value[n];i&&!Array.isArray(i)&&(s.value[n]=[i]),s.value[n]=[...s.value[n],r]}function ue(e,t){const r=t,n=s.value[r];if(n)if(K(n)||e.id!==n.id){if(K(n)){const t=n.findIndex((t=>t.id===e.id));if(-1===t)return;n.splice(t,1),n.length||delete s.value[r]}}else delete s.value[r]}function le(e){const t=(0,o.SU)(e.name);ce(e,t),(0,o.dq)(e.name)&&(0,n.YP)(e.name,(async(t,r)=>{await(0,n.Y3)(),ue(e,r),ce(e,t),(m.value[r]||m.value[t])&&(J(r,void 0),he(t)),await(0,n.Y3)(),v(r)||U(d,r)}));const r=(0,o.SU)(e.errorMessage);r&&(null===A||void 0===A?void 0:A[t])!==r&&he(t),delete A[t]}function de(e){const t=(0,o.SU)(e.name),r=s.value[t],i=!!r&&K(r);ue(e,t),(0,n.Y3)((()=>{var n;const a=null!==(n=(0,o.SU)(e.keepValueOnUnmount))&&void 0!==n?n:(0,o.SU)(T),c=D(d,t),u=i&&(r===s.value[t]||!s.value[t]);if(u&&!a)if(Array.isArray(c)){const r=c.findIndex((t=>k(t,(0,o.SU)(e.checkedValue))));if(r>-1){const e=[...c];e.splice(r,1),ee(t,e,{force:!0})}}else c===(0,o.SU)(e.checkedValue)&&U(d,t);if(!v(t)){if(J(t,void 0),a)return;if(i&&Array.isArray(c)&&!S(c))return;U(d,t)}}))}async function fe(e){const t=(null===e||void 0===e?void 0:e.mode)||"force";if("force"===t&&X((e=>e.meta.validated=!0)),W.validateSchema)return W.validateSchema(t);const r=await Promise.all(Object.values(s.value).map((t=>{const r=Array.isArray(t)?t[0]:t;return r?r.validate(e).then((e=>({key:(0,o.SU)(r.name),valid:e.valid,errors:e.errors}))):Promise.resolve({key:"",valid:!0,errors:[]})}))),n={},i={};for(const o of r)n[o.key]={valid:o.valid,errors:o.errors},o.errors.length&&(i[o.key]=o.errors[0]);return{valid:r.every((e=>e.valid)),results:n,errors:i}}async function he(e){const t=s.value[e];return t?Array.isArray(t)?t.map((e=>e.validate()))[0]:t.validate():((0,n.ZK)(`field with name ${e} was not found`),Promise.resolve({errors:[],valid:!0}))}function pe(e){U(C.value,e)}function ge(t,r,n=!1){F(d,t,r),me(t,r),n&&!(null===e||void 0===e?void 0:e.initialValues)&&F(x.value,t,B(r))}function me(e,t){F(C.value,e,B(t))}async function ye(){const e=(0,o.SU)(R);if(!e)return{valid:!0,results:{},errors:{}};const t=b(e)||w(e)?await _e(e,d):await Ee(e,d,{names:_.value,bailsMap:E.value});return t}const ve=q(((e,{evt:t})=>{O(t)&&t.target.submit()}));return(0,n.bv)((()=>{(null===e||void 0===e?void 0:e.initialErrors)&&Q(e.initialErrors),(null===e||void 0===e?void 0:e.initialTouched)&&ie(e.initialTouched),(null===e||void 0===e?void 0:e.validateOnMount)?fe():W.validateSchema&&W.validateSchema("silent")})),(0,o.dq)(R)&&(0,n.YP)(R,(()=>{var e;null===(e=W.validateSchema)||void 0===e||e.call(W,"validated-only")})),(0,n.JJ)(p,W),Object.assign(Object.assign({},W),{handleReset:()=>se(),submitForm:ve})}function Ge(e,t,r,i){const a={touched:"some",pending:"some",valid:"every"},s=(0,n.Fl)((()=>!k(t,(0,o.SU)(r))));function c(){const t=Object.values(e.value).flat(1).filter(Boolean);return j(a).reduce(((e,r)=>{const n=a[r];return e[r]=t[n]((e=>e.meta[r])),e}),{})}const u=(0,o.qj)(c());return(0,n.m0)((()=>{const e=c();u.touched=e.touched,u.valid=e.valid,u.pending=e.pending})),(0,n.Fl)((()=>Object.assign(Object.assign({initialValues:(0,o.SU)(r)},u),{valid:u.valid&&!j(i.value).length,dirty:s.value})))}function We(e,t,r){const i=He(r),a=null===r||void 0===r?void 0:r.initialValues,s=(0,o.iH)(i),c=(0,o.iH)(B(i));function u(r,n=!1){s.value=B(r),c.value=B(r),n&&j(e.value).forEach((r=>{const n=e.value[r],o=Array.isArray(n)?n.some((e=>e.meta.touched)):null===n||void 0===n?void 0:n.meta.touched;if(!n||o)return;const i=D(s.value,r);F(t,r,B(i))}))}return(0,o.dq)(a)&&(0,n.YP)(a,(e=>{u(e,!0)}),{deep:!0}),{initialValues:s,originalInitialValues:c,setInitialValues:u}}function Ze(e){const t=(0,o.iH)({});function r(e){return Array.isArray(e)?e:e?[e]:[]}function n(e,n){n?t.value[e]=r(n):delete t.value[e]}function i(e){t.value=j(e).reduce(((t,n)=>{const o=e[n];return o&&(t[n]=r(o)),t}),{})}return e&&i(e),{errorBag:t,setErrorBag:i,setFieldErrorBag:n}}const Ke=(0,n.aZ)({name:"Form",inheritAttrs:!1,props:{as:{type:String,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const r=(0,o.Vh)(e,"initialValues"),i=(0,o.Vh)(e,"validationSchema"),a=(0,o.Vh)(e,"keepValues"),{errors:s,errorBag:c,values:u,meta:l,isSubmitting:d,submitCount:f,controlledValues:h,validate:p,validateField:g,handleReset:m,resetForm:y,handleSubmit:v,setErrors:w,setFieldError:b,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetField:T}=qe({validationSchema:i.value?i:void 0,initialValues:r,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:a}),C=v(((e,{evt:t})=>{O(t)&&t.target.submit()}),e.onInvalidSubmit),x=e.onSubmit?v(e.onSubmit,e.onInvalidSubmit):C;function I(e){N(e)&&e.preventDefault(),m(),"function"===typeof t.attrs.onReset&&t.attrs.onReset()}function P(t,r){const n="function"!==typeof t||r?r:t;return v(n,e.onInvalidSubmit)(t)}function k(){return B(u)}function R(){return B(l.value)}function M(){return B(s.value)}function L(){return{meta:l.value,errors:s.value,errorBag:c.value,values:u,isSubmitting:d.value,submitCount:f.value,controlledValues:h.value,validate:p,validateField:g,handleSubmit:P,handleReset:m,submitForm:C,setErrors:w,setFieldError:b,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetForm:y,resetField:T,getValues:k,getMeta:R,getErrors:M}}return t.expose({setFieldError:b,setErrors:w,setFieldValue:_,setValues:E,setFieldTouched:S,setTouched:A,resetForm:y,validate:p,validateField:g,resetField:T,getValues:k,getMeta:R,getErrors:M}),function(){const r="form"===e.as?e.as:(0,n.LL)(e.as),o=J(r,t,L);if(!e.as)return o;const i="form"===e.as?{novalidate:!0}:{};return(0,n.h)(r,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:x,onReset:I}),o)}}}),Ye=Ke;function Xe(e){const t=z(p,void 0),r=(0,o.iH)([]),i=()=>{},s={fields:r,remove:i,push:i,swap:i,insert:i,update:i,replace:i,prepend:i,move:i};if(!t)return V("FieldArray requires being a child of `
` or `useForm` being called before it. Array fields may not work correctly"),s;if(!(0,o.SU)(e))return V("FieldArray requires a field path to be provided, did you forget to pass the `name` prop?"),s;const c=t.fieldArrays.find((t=>(0,o.SU)(t.path)===(0,o.SU)(e)));if(c)return c;let u=0;function l(){return D(null===t||void 0===t?void 0:t.values,(0,o.SU)(e),[])||[]}function d(){const e=l();r.value=e.map(h),f()}function f(){const e=r.value.length;for(let t=0;te.key===i));return-1===s?n:a[s]},set(e){const t=r.value.findIndex((e=>e.key===i));-1!==t?_(t,e):V("Attempting to update a non-existent array item")}}),isFirst:!1,isLast:!1};return a}function g(){f(),null===t||void 0===t||t.validate({mode:"silent"})}function m(n){const i=(0,o.SU)(e),a=D(null===t||void 0===t?void 0:t.values,i);if(!a||!Array.isArray(a))return;const s=[...a];s.splice(n,1),null===t||void 0===t||t.unsetInitialValue(i+`[${n}]`),null===t||void 0===t||t.setFieldValue(i,s),r.value.splice(n,1),g()}function y(n){const i=(0,o.SU)(e),s=D(null===t||void 0===t?void 0:t.values,i),c=a(s)?[]:s;if(!Array.isArray(c))return;const u=[...c];u.push(n),null===t||void 0===t||t.stageInitialValue(i+`[${u.length-1}]`,n),null===t||void 0===t||t.setFieldValue(i,u),r.value.push(h(n)),g()}function v(n,i){const a=(0,o.SU)(e),s=D(null===t||void 0===t?void 0:t.values,a);if(!Array.isArray(s)||!(n in s)||!(i in s))return;const c=[...s],u=[...r.value],l=c[n];c[n]=c[i],c[i]=l;const d=u[n];u[n]=u[i],u[i]=d,null===t||void 0===t||t.setFieldValue(a,c),r.value=u,f()}function w(n,i){const a=(0,o.SU)(e),s=D(null===t||void 0===t?void 0:t.values,a);if(!Array.isArray(s)||s.length{const r=t.fieldArrays.findIndex((t=>(0,o.SU)(t.path)===(0,o.SU)(e)));r>=0&&t.fieldArrays.splice(r,1)})),(0,n.YP)(l,(e=>{const t=r.value.map((e=>e.value));k(e,t)||d()})),A}(0,n.aZ)({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,t){const{push:r,remove:n,swap:i,insert:a,replace:s,update:c,prepend:u,move:l,fields:d}=Xe((0,o.Vh)(e,"name"));function f(){return{fields:d.value,push:r,remove:n,swap:i,insert:a,update:c,replace:s,prepend:u,move:l}}return t.expose({push:r,remove:n,swap:i,insert:a,update:c,replace:s,prepend:u,move:l}),()=>{const e=J(void 0,t,f);return e}}}),(0,n.aZ)({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,t){const r=(0,n.f3)(p,void 0),o=(0,n.Fl)((()=>null===r||void 0===r?void 0:r.errors.value[e.name]));function i(){return{message:o.value}}return()=>{if(!o.value)return;const r=e.as?(0,n.LL)(e.as):e.as,a=J(r,t,i),s=Object.assign({role:"alert"},t.attrs);return r||!Array.isArray(a)&&a||!(null===a||void 0===a?void 0:a.length)?!Array.isArray(a)&&a||(null===a||void 0===a?void 0:a.length)?(0,n.h)(r,s,a):(0,n.h)(r||"span",s,o.value):a}}});function Je(){const e=z(p);return e||V("No vee-validate
or `useForm` was detected in the component tree"),(0,n.Fl)((()=>(null===e||void 0===e?void 0:e.errors.value)||{}))}function Qe(e){const t=z(p),r=e?void 0:(0,n.f3)(g);return(0,n.Fl)((()=>e?null===t||void 0===t?void 0:t.errors.value[(0,o.SU)(e)]:null===r||void 0===r?void 0:r.errorMessage.value))}},79150:(e,t,r)=>{"use strict";r.d(t,{o:()=>cr,QT:()=>ur}); -/*! - * shared v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */ -const n="undefined"!==typeof window;const o="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,i=e=>o?Symbol(e):e,a=(e,t,r)=>s({l:e,k:t,s:r}),s=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),c=e=>"number"===typeof e&&isFinite(e),u=e=>"[object Date]"===S(e),l=e=>"[object RegExp]"===S(e),d=e=>A(e)&&0===Object.keys(e).length;function f(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const h=Object.assign;function p(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const g=Object.prototype.hasOwnProperty;function m(e,t){return g.call(e,t)}const y=Array.isArray,v=e=>"function"===typeof e,w=e=>"string"===typeof e,b=e=>"boolean"===typeof e,_=e=>null!==e&&"object"===typeof e,E=Object.prototype.toString,S=e=>E.call(e),A=e=>"[object Object]"===S(e),T=e=>null==e?"":y(e)||A(e)&&e.toString===E?JSON.stringify(e,null,2):String(e); -/*! - * message-compiler v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */ -const C={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};C.EXPECTED_TOKEN,C.INVALID_TOKEN_IN_PLACEHOLDER,C.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,C.UNKNOWN_ESCAPE_SEQUENCE,C.INVALID_UNICODE_ESCAPE_SEQUENCE,C.UNBALANCED_CLOSING_BRACE,C.UNTERMINATED_CLOSING_BRACE,C.EMPTY_PLACEHOLDER,C.NOT_ALLOW_NEST_PLACEHOLDER,C.INVALID_LINKED_FORMAT,C.MUST_HAVE_MESSAGES_IN_PLURAL,C.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.UNEXPECTED_EMPTY_LINKED_KEY,C.UNEXPECTED_LEXICAL_ANALYSIS;function x(e,t,r={}){const{domain:n,messages:o,args:i}=r,a=e,s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=n,s}function I(e){throw e}function O(e,t,r){return{line:e,column:t,offset:r}}function N(e,t,r){const n={start:e,end:t};return null!=r&&(n.source=r),n}const P=" ",k="\r",R="\n",M=String.fromCharCode(8232),B=String.fromCharCode(8233);function L(e){const t=e;let r=0,n=1,o=1,i=0;const a=e=>t[e]===k&&t[e+1]===R,s=e=>t[e]===R,c=e=>t[e]===B,u=e=>t[e]===M,l=e=>a(e)||s(e)||c(e)||u(e),d=()=>r,f=()=>n,h=()=>o,p=()=>i,g=e=>a(e)||c(e)||u(e)?R:t[e],m=()=>g(r),y=()=>g(r+i);function v(){return i=0,l(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function w(){return a(r+i)&&i++,i++,t[r+i]}function b(){r=0,n=1,o=1,i=0}function _(e=0){i=e}function E(){const e=r+i;while(e!==r)v();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:g,currentChar:m,currentPeek:y,next:v,peek:w,reset:b,resetPeek:_,skipToPeek:E}}const D=void 0,F="'",$="tokenizer";function U(e,t={}){const r=!1!==t.location,n=L(e),o=()=>n.index(),i=()=>O(n.line(),n.column(),n.index()),a=i(),s=o(),c={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function d(e,t,r,...n){const o=u();if(t.column+=r,t.offset+=r,l){const r=N(o.startLoc,t),i=x(e,r,{domain:$,args:n});l(i)}}function f(e,t,n){e.endLoc=i(),e.currentType=t;const o={type:t};return r&&(o.loc=N(e.startLoc,e.endLoc)),null!=n&&(o.value=n),o}const h=e=>f(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(C.EXPECTED_TOKEN,i(),0,t),"")}function g(e){let t="";while(e.currentPeek()===P||e.currentPeek()===R)t+=e.currentPeek(),e.peek();return t}function m(e){const t=g(e);return e.skipToPeek(),t}function y(e){if(e===D)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e){if(e===D)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function w(e,t){const{currentType:r}=t;if(2!==r)return!1;g(e);const n=y(e.currentPeek());return e.resetPeek(),n}function b(e,t){const{currentType:r}=t;if(2!==r)return!1;g(e);const n="-"===e.currentPeek()?e.peek():e.currentPeek(),o=v(n);return e.resetPeek(),o}function _(e,t){const{currentType:r}=t;if(2!==r)return!1;g(e);const n=e.currentPeek()===F;return e.resetPeek(),n}function E(e,t){const{currentType:r}=t;if(8!==r)return!1;g(e);const n="."===e.currentPeek();return e.resetPeek(),n}function S(e,t){const{currentType:r}=t;if(9!==r)return!1;g(e);const n=y(e.currentPeek());return e.resetPeek(),n}function A(e,t){const{currentType:r}=t;if(8!==r&&12!==r)return!1;g(e);const n=":"===e.currentPeek();return e.resetPeek(),n}function T(e,t){const{currentType:r}=t;if(10!==r)return!1;const n=()=>{const t=e.currentPeek();return"{"===t?y(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===P||!t)&&(t===R?(e.peek(),n()):y(t))},o=n();return e.resetPeek(),o}function I(e){g(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function k(e){const t=g(e),r="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:r,hasSpace:t.length>0}}function M(e,t=!0){const r=(t=!1,n="",o=!1)=>{const i=e.currentPeek();return"{"===i?"%"!==n&&t:"@"!==i&&i?"%"===i?(e.peek(),r(t,"%",!0)):"|"===i?!("%"!==n&&!o)||!(n===P||n===R):i===P?(e.peek(),r(!0,P,o)):i!==R||(e.peek(),r(!0,R,o)):"%"===n||t},n=r();return t&&e.resetPeek(),n}function B(e,t){const r=e.currentChar();return r===D?D:t(r)?(e.next(),r):null}function U(e){const t=e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t};return B(e,t)}function j(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57};return B(e,t)}function z(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};return B(e,t)}function V(e){let t="",r="";while(t=j(e))r+=t;return r}function H(e){m(e);const t=e.currentChar();return"%"!==t&&d(C.EXPECTED_TOKEN,i(),0,t),e.next(),"%"}function q(e){let t="";while(1){const r=e.currentChar();if("{"===r||"}"===r||"@"===r||"|"===r||!r)break;if("%"===r){if(!M(e))break;t+=r,e.next()}else if(r===P||r===R)if(M(e))t+=r,e.next();else{if(I(e))break;t+=r,e.next()}else t+=r,e.next()}return t}function G(e){m(e);let t="",r="";while(t=U(e))r+=t;return e.currentChar()===D&&d(C.UNTERMINATED_CLOSING_BRACE,i(),0),r}function W(e){m(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${V(e)}`):t+=V(e),e.currentChar()===D&&d(C.UNTERMINATED_CLOSING_BRACE,i(),0),t}function Z(e){m(e),p(e,"'");let t="",r="";const n=e=>e!==F&&e!==R;while(t=B(e,n))r+="\\"===t?K(e):t;const o=e.currentChar();return o===R||o===D?(d(C.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),o===R&&(e.next(),p(e,"'")),r):(p(e,"'"),r)}function K(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return Y(e,t,4);case"U":return Y(e,t,6);default:return d(C.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function Y(e,t,r){p(e,t);let n="";for(let o=0;o"{"!==e&&"}"!==e&&e!==P&&e!==R;while(t=B(e,n))r+=t;return r}function J(e){let t="",r="";while(t=U(e))r+=t;return r}function Q(e){const t=(r=!1,n)=>{const o=e.currentChar();return"{"!==o&&"%"!==o&&"@"!==o&&"|"!==o&&o?o===P?n:o===R?(n+=o,e.next(),t(r,n)):(n+=o,e.next(),t(!0,n)):n};return t(!1,"")}function ee(e){m(e);const t=p(e,"|");return m(e),t}function te(e,t){let r=null;const n=e.currentChar();switch(n){case"{":return t.braceNest>=1&&d(C.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),r=f(t,2,"{"),m(e),t.braceNest++,r;case"}":return t.braceNest>0&&2===t.currentType&&d(C.EMPTY_PLACEHOLDER,i(),0),e.next(),r=f(t,3,"}"),t.braceNest--,t.braceNest>0&&m(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),r;case"@":return t.braceNest>0&&d(C.UNTERMINATED_CLOSING_BRACE,i(),0),r=re(e,t)||h(t),t.braceNest=0,r;default:let n=!0,o=!0,a=!0;if(I(e))return t.braceNest>0&&d(C.UNTERMINATED_CLOSING_BRACE,i(),0),r=f(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,r;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(C.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,ne(e,t);if(n=w(e,t))return r=f(t,5,G(e)),m(e),r;if(o=b(e,t))return r=f(t,6,W(e)),m(e),r;if(a=_(e,t))return r=f(t,7,Z(e)),m(e),r;if(!n&&!o&&!a)return r=f(t,13,X(e)),d(C.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,r.value),m(e),r;break}return r}function re(e,t){const{currentType:r}=t;let n=null;const o=e.currentChar();switch(8!==r&&9!==r&&12!==r&&10!==r||o!==R&&o!==P||d(C.INVALID_LINKED_FORMAT,i(),0),o){case"@":return e.next(),n=f(t,8,"@"),t.inLinked=!0,n;case".":return m(e),e.next(),f(t,9,".");case":":return m(e),e.next(),f(t,10,":");default:return I(e)?(n=f(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,n):E(e,t)||A(e,t)?(m(e),re(e,t)):S(e,t)?(m(e),f(t,12,J(e))):T(e,t)?(m(e),"{"===o?te(e,t)||n:f(t,11,Q(e))):(8===r&&d(C.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,ne(e,t))}}function ne(e,t){let r={type:14};if(t.braceNest>0)return te(e,t)||h(t);if(t.inLinked)return re(e,t)||h(t);const n=e.currentChar();switch(n){case"{":return te(e,t)||h(t);case"}":return d(C.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return re(e,t)||h(t);default:if(I(e))return r=f(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,r;const{isModulo:n,hasSpace:o}=k(e);if(n)return o?f(t,0,q(e)):f(t,4,H(e));if(M(e))return f(t,0,q(e));break}return r}function oe(){const{currentType:e,offset:t,startLoc:r,endLoc:a}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=r,c.lastEndLoc=a,c.offset=o(),c.startLoc=i(),n.currentChar()===D?f(c,14):ne(n,c)}return{nextToken:oe,currentOffset:o,currentPosition:i,context:u}}const j="parser",z=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function V(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||r,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function H(e={}){const t=!1!==e.location,{onError:r}=e;function n(e,t,n,o,...i){const a=e.currentPosition();if(a.offset+=o,a.column+=o,r){const e=N(n,a),o=x(t,e,{domain:j,args:i});r(o)}}function o(e,r,n){const o={type:e,start:r,end:r};return t&&(o.loc={start:n,end:n}),o}function i(e,r,n,o){e.end=r,o&&(e.type=o),t&&e.loc&&(e.loc.end=n)}function a(e,t){const r=e.context(),n=o(3,r.offset,r.startLoc);return n.value=t,i(n,e.currentOffset(),e.currentPosition()),n}function s(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(5,n,a);return s.index=parseInt(t,10),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(4,n,a);return s.key=t,e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function u(e,t){const r=e.context(),{lastOffset:n,lastStartLoc:a}=r,s=o(9,n,a);return s.value=t.replace(z,V),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function l(e){const t=e.nextToken(),r=e.context(),{lastOffset:a,lastStartLoc:s}=r,c=o(8,a,s);return 12!==t.type?(n(e,C.UNEXPECTED_EMPTY_LINKED_MODIFIER,r.lastStartLoc,0),c.value="",i(c,a,s),{nextConsumeToken:t,node:c}):(null==t.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,r.lastStartLoc,0,q(t)),c.value=t.value||"",i(c,e.currentOffset(),e.currentPosition()),{node:c})}function d(e,t){const r=e.context(),n=o(7,r.offset,r.startLoc);return n.value=t,i(n,e.currentOffset(),e.currentPosition()),n}function f(e){const t=e.context(),r=o(6,t.offset,t.startLoc);let a=e.nextToken();if(9===a.type){const t=l(e);r.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(10!==a.type&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 11:null==a.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(a)),r.key=d(e,a.value||"");break;case 5:null==a.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(a)),r.key=c(e,a.value||"");break;case 6:null==a.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(a)),r.key=s(e,a.value||"");break;case 7:null==a.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(a)),r.key=u(e,a.value||"");break;default:n(e,C.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const l=e.context(),f=o(7,l.offset,l.startLoc);return f.value="",i(f,l.offset,l.startLoc),r.key=f,i(r,l.offset,l.startLoc),{nextConsumeToken:a,node:r}}return i(r,e.currentOffset(),e.currentPosition()),{node:r}}function p(e){const t=e.context(),r=1===t.currentType?e.currentOffset():t.offset,l=1===t.currentType?t.endLoc:t.startLoc,d=o(2,r,l);d.items=[];let h=null;do{const r=h||e.nextToken();switch(h=null,r.type){case 0:null==r.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(r)),d.items.push(a(e,r.value||""));break;case 6:null==r.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(r)),d.items.push(s(e,r.value||""));break;case 5:null==r.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(r)),d.items.push(c(e,r.value||""));break;case 7:null==r.value&&n(e,C.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,q(r)),d.items.push(u(e,r.value||""));break;case 8:const o=f(e);d.items.push(o.node),h=o.nextConsumeToken||null;break}}while(14!==t.currentType&&1!==t.currentType);const p=1===t.currentType?t.lastOffset:e.currentOffset(),g=1===t.currentType?t.lastEndLoc:e.currentPosition();return i(d,p,g),d}function g(e,t,r,a){const s=e.context();let c=0===a.items.length;const u=o(1,t,r);u.cases=[],u.cases.push(a);do{const t=p(e);c||(c=0===t.items.length),u.cases.push(t)}while(14!==s.currentType);return c&&n(e,C.MUST_HAVE_MESSAGES_IN_PLURAL,r,0),i(u,e.currentOffset(),e.currentPosition()),u}function m(e){const t=e.context(),{offset:r,startLoc:n}=t,o=p(e);return 14===t.currentType?o:g(e,r,n,o)}function y(r){const a=U(r,h({},e)),s=a.context(),c=o(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=r),c.body=m(a),14!==s.currentType&&n(a,C.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,r[s.offset]||""),i(c,a.currentOffset(),a.currentPosition()),c}return{parse:y}}function q(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function G(e,t={}){const r={ast:e,helpers:new Set},n=()=>r,o=e=>(r.helpers.add(e),e);return{context:n,helper:o}}function W(e,t){for(let r=0;ra;function c(e,t){a.code+=e}function u(e,t=!0){const r=t?o:"";c(i?r+" ".repeat(e):r)}function l(e=!0){const t=++a.indentLevel;e&&u(t)}function d(e=!0){const t=--a.indentLevel;e&&u(t)}function f(){u(a.indentLevel)}const h=e=>`_${e}`,p=()=>a.needIndent;return{context:s,push:c,indent:l,deindent:d,newline:f,helper:h,needIndent:p}}function X(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),te(e,t.key),t.modifier?(e.push(", "),te(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function J(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let i=0;i1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let r=0;r{const r=w(t.mode)?t.mode:"normal",n=w(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===r?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==r,s=e.helpers||[],c=Y(e,{mode:r,filename:n,sourceMap:o,breakLineCode:i,needIndent:a});c.push("normal"===r?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),s.length>0&&(c.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),c.newline()),c.push("return "),te(c,e),c.deindent(a),c.push("}");const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function ne(e,t={}){const r=h({},t),n=H(r),o=n.parse(e);return K(o,r),re(o,r)} -/*! - * devtools-if v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */ -const oe={I18nInit:"i18n:init",FunctionTranslate:"function:translate"},ie=[];ie[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},ie[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},ie[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},ie[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},ie[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},ie[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},ie[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const ae=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function se(e){return ae.test(e)}function ce(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t!==r||34!==t&&39!==t?e:e.slice(1,-1)}function ue(e){if(void 0===e||null===e)return"o";const t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function le(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(se(t)?ce(t):"*"+t)}function de(e){const t=[];let r,n,o,i,a,s,c,u=-1,l=0,d=0;const f=[];function h(){const t=e[u+1];if(5===l&&"'"===t||6===l&&'"'===t)return u++,o="\\"+t,f[0](),!0}f[0]=()=>{void 0===n?n=o:n+=o},f[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,l=4,f[0]();else{if(d=0,void 0===n)return!1;if(n=le(n),!1===n)return!1;f[1]()}};while(null!==l)if(u++,r=e[u],"\\"!==r||!h()){if(i=ue(r),c=ie[l],a=c[i]||c["l"]||8,8===a)return;if(l=a[0],void 0!==a[1]&&(s=f[a[1]],s&&(o=r,!1===s())))return;if(7===l)return t}}const fe=new Map;function he(e,t){return _(e)?e[t]:null}function pe(e,t){if(!_(e))return null;let r=fe.get(t);if(r||(r=de(t),r&&fe.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;while(ie,me=e=>"",ye="text",ve=e=>0===e.length?"":e.join(""),we=T;function be(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function _e(e){const t=c(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(c(e.named.count)||c(e.named.n))?c(e.named.count)?e.named.count:c(e.named.n)?e.named.n:t:t}function Ee(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Se(e={}){const t=e.locale,r=_e(e),n=_(e.pluralRules)&&w(t)&&v(e.pluralRules[t])?e.pluralRules[t]:be,o=_(e.pluralRules)&&w(t)&&v(e.pluralRules[t])?be:void 0,i=e=>e[n(r,e.length,o)],a=e.list||[],s=e=>a[e],u=e.named||{};c(e.pluralIndex)&&Ee(r,u);const l=e=>u[e];function d(t){const r=v(e.messages)?e.messages(t):!!_(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):me)}const f=t=>e.modifiers?e.modifiers[t]:ge,h=A(e.processor)&&v(e.processor.normalize)?e.processor.normalize:ve,p=A(e.processor)&&v(e.processor.interpolate)?e.processor.interpolate:we,g=A(e.processor)&&w(e.processor.type)?e.processor.type:ye,m=(e,...t)=>{const[r,n]=t;let o="text",i="";1===t.length?_(r)?(i=r.modifier||i,o=r.type||o):w(r)&&(i=r||i):2===t.length&&(w(r)&&(i=r||i),w(n)&&(o=n||o));let a=d(e)(b);return"vnode"===o&&y(a)&&i&&(a=a[0]),i?f(i)(a,o):a},b={["list"]:s,["named"]:l,["plural"]:i,["linked"]:m,["message"]:d,["type"]:g,["interpolate"]:p,["normalize"]:h};return b}let Ae=null;oe.FunctionTranslate;function Te(e){return t=>Ae&&Ae.emit(e,t)}const Ce={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};Ce.NOT_FOUND_KEY,Ce.FALLBACK_TO_TRANSLATE,Ce.CANNOT_FORMAT_NUMBER,Ce.FALLBACK_TO_NUMBER_FORMAT,Ce.CANNOT_FORMAT_DATE,Ce.FALLBACK_TO_DATE_FORMAT;function xe(e,t,r){return[...new Set([r,...y(t)?t:_(t)?Object.keys(t):w(t)?[t]:[r]])]}function Ie(e,t,r){const n=w(r)?r:Me,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let e=[r];while(y(e))e=Oe(i,e,t);const a=y(t)||!A(t)?t:t["default"]?t["default"]:null;e=w(a)?[a]:a,y(e)&&Oe(i,e,!1),o.__localeChainCache.set(n,i)}return i}function Oe(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function De(){return{upper:(e,t)=>"text"===t&&w(e)?e.toUpperCase():"vnode"===t&&_(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&w(e)?e.toLowerCase():"vnode"===t&&_(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&w(e)?Le(e):"vnode"===t&&_(e)&&"__v_isVNode"in e?Le(e.children):e}}let Fe,$e,Ue;function je(e){Fe=e}function ze(e){$e=e}function Ve(e){Ue=e}let He=null;const qe=e=>{He=e};let Ge=0;function We(e={}){const t=w(e.version)?e.version:ke,r=w(e.locale)?e.locale:Me,n=y(e.fallbackLocale)||A(e.fallbackLocale)||w(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,o=A(e.messages)?e.messages:{[r]:{}},i=A(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},a=A(e.numberFormats)?e.numberFormats:{[r]:{}},s=h({},e.modifiers||{},De()),c=e.pluralRules||{},u=v(e.missing)?e.missing:null,d=!b(e.missingWarn)&&!l(e.missingWarn)||e.missingWarn,p=!b(e.fallbackWarn)&&!l(e.fallbackWarn)||e.fallbackWarn,g=!!e.fallbackFormat,m=!!e.unresolving,E=v(e.postTranslation)?e.postTranslation:null,S=A(e.processor)?e.processor:null,T=!b(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,x=v(e.messageCompiler)?e.messageCompiler:Fe,I=v(e.messageResolver)?e.messageResolver:$e||he,O=v(e.localeFallbacker)?e.localeFallbacker:Ue||xe,N=_(e.fallbackContext)?e.fallbackContext:void 0,P=v(e.onWarn)?e.onWarn:f,k=e,R=_(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,M=_(k.__numberFormatters)?k.__numberFormatters:new Map,B=_(k.__meta)?k.__meta:{};Ge++;const L={version:t,cid:Ge,locale:r,fallbackLocale:n,messages:o,modifiers:s,pluralRules:c,missing:u,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:m,postTranslation:E,processor:S,warnHtmlMessage:T,escapeParameter:C,messageCompiler:x,messageResolver:I,localeFallbacker:O,fallbackContext:N,onWarn:P,__meta:B};return L.datetimeFormats=i,L.numberFormats=a,L.__datetimeFormatters=R,L.__numberFormatters=M,L}function Ze(e,t,r,n,o){const{missing:i,onWarn:a}=e;if(null!==i){const n=i(e,r,t,o);return w(n)?n:t}return t}function Ke(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}const Ye=e=>e;let Xe=Object.create(null);function Je(e,t={}){{const r=t.onCacheKey||Ye,n=r(e),o=Xe[n];if(o)return o;let i=!1;const a=t.onError||I;t.onError=e=>{i=!0,a(e)};const{code:s}=ne(e,t),c=new Function(`return ${s}`)();return i?c:Xe[n]=c}}let Qe=C.__EXTEND_POINT__;const et=()=>++Qe,tt={INVALID_ARGUMENT:Qe,INVALID_DATE_ARGUMENT:et(),INVALID_ISO_DATE_ARGUMENT:et(),__EXTEND_POINT__:et()};function rt(e){return x(e,null,void 0)}tt.INVALID_ARGUMENT,tt.INVALID_DATE_ARGUMENT,tt.INVALID_ISO_DATE_ARGUMENT;const nt=()=>"",ot=e=>v(e);function it(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:s}=e,[c,u]=lt(...t),l=b(u.missingWarn)?u.missingWarn:e.missingWarn,d=b(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=b(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,p=w(u.default)||b(u.default)?b(u.default)?i?c:()=>c:u.default:r?i?c:()=>c:"",g=r||""!==p,m=w(u.locale)?u.locale:e.locale;f&&at(u);let[y,v,_]=h?[c,m,s[m]||{}]:st(e,c,m,a,d,l),E=y,S=c;if(h||w(E)||ot(E)||g&&(E=p,S=E),!h&&(!w(E)&&!ot(E)||!w(v)))return o?Re:c;let A=!1;const T=()=>{A=!0},C=ot(E)?E:ct(e,c,v,E,S,T);if(A)return E;const x=ft(e,v,_,u),I=Se(x),O=ut(e,C,I),N=n?n(O,c):O;return N}function at(e){y(e.list)?e.list=e.list.map((e=>w(e)?p(e):e)):_(e.named)&&Object.keys(e.named).forEach((t=>{w(e.named[t])&&(e.named[t]=p(e.named[t]))}))}function st(e,t,r,n,o,i){const{messages:a,onWarn:s,messageResolver:c,localeFallbacker:u}=e,l=u(e,n,r);let d,f={},h=null,p=r,g=null;const m="translate";for(let y=0;yn;return e.locale=r,e.key=t,e}const c=a(n,dt(e,r,o,n,s,i));return c.locale=r,c.key=t,c.source=n,c}function ut(e,t,r){const n=t(r);return n}function lt(...e){const[t,r,n]=e,o={};if(!w(t)&&!c(t)&&!ot(t))throw rt(tt.INVALID_ARGUMENT);const i=c(t)?String(t):(ot(t),t);return c(r)?o.plural=r:w(r)?o.default=r:A(r)&&!d(r)?o.named=r:y(r)&&(o.list=r),c(n)?o.plural=n:w(n)?o.default=n:A(n)&&h(o,n),[i,o]}function dt(e,t,r,n,o,i){return{warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>a(t,r,e)}}function ft(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:u,missingWarn:l,fallbackContext:d}=e,f=n=>{let o=a(r,n);if(null==o&&d){const[,,e]=st(d,n,t,s,u,l);o=a(e,n)}if(w(o)){let r=!1;const i=()=>{r=!0},a=ct(e,n,t,o,n,i);return r?nt:a}return ot(o)?o:nt},h={locale:t,modifiers:o,pluralRules:i,messages:f};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),c(n.plural)&&(h.pluralIndex=n.plural),h}const ht="undefined"!==typeof Intl;ht&&Intl.DateTimeFormat,ht&&Intl.NumberFormat;function pt(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e;const[c,u,l,f]=mt(...t),p=b(l.missingWarn)?l.missingWarn:e.missingWarn,g=(b(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,!!l.part),m=w(l.locale)?l.locale:e.locale,y=a(e,o,m);if(!w(c)||""===c)return new Intl.DateTimeFormat(m,f).format(u);let v,_={},E=null,S=m,T=null;const C="datetime format";for(let d=0;d{gt.includes(e)?s[e]=r[e]:i[e]=r[e]})),w(n)?i.locale=n:A(n)&&(s=n),A(o)&&(s=o),[i.key||"",a,i,s]}function yt(e,t,r){const n=e;for(const o in r){const e=`${t}__${o}`;n.__datetimeFormatters.has(e)&&n.__datetimeFormatters.delete(e)}}function vt(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e;const[c,u,l,f]=bt(...t),p=b(l.missingWarn)?l.missingWarn:e.missingWarn,g=(b(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,!!l.part),m=w(l.locale)?l.locale:e.locale,y=a(e,o,m);if(!w(c)||""===c)return new Intl.NumberFormat(m,f).format(u);let v,_={},E=null,S=m,T=null;const C="number format";for(let d=0;d{wt.includes(e)?a[e]=r[e]:i[e]=r[e]})),w(n)?i.locale=n:A(n)&&(a=n),A(o)&&(a=o),[i.key||"",s,i,a]}function _t(e,t,r){const n=e;for(const o in r){const e=`${t}__${o}`;n.__numberFormatters.has(e)&&n.__numberFormatters.delete(e)}}var Et=r(66252),St=r(2262); -/*! - * vue-i18n v9.2.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */ -const At="9.2.2";function Tt(){}let Ct=Ce.__EXTEND_POINT__;const xt=()=>++Ct,It={FALLBACK_TO_ROOT:Ct,NOT_SUPPORTED_PRESERVE:xt(),NOT_SUPPORTED_FORMATTER:xt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:xt(),NOT_SUPPORTED_GET_CHOICE_INDEX:xt(),COMPONENT_NAME_LEGACY_COMPATIBLE:xt(),NOT_FOUND_PARENT_SCOPE:xt()};It.FALLBACK_TO_ROOT,It.NOT_SUPPORTED_PRESERVE,It.NOT_SUPPORTED_FORMATTER,It.NOT_SUPPORTED_PRESERVE_DIRECTIVE,It.NOT_SUPPORTED_GET_CHOICE_INDEX,It.COMPONENT_NAME_LEGACY_COMPATIBLE,It.NOT_FOUND_PARENT_SCOPE;let Ot=C.__EXTEND_POINT__;const Nt=()=>++Ot,Pt={UNEXPECTED_RETURN_TYPE:Ot,INVALID_ARGUMENT:Nt(),MUST_BE_CALL_SETUP_TOP:Nt(),NOT_INSLALLED:Nt(),NOT_AVAILABLE_IN_LEGACY_MODE:Nt(),REQUIRED_VALUE:Nt(),INVALID_VALUE:Nt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Nt(),NOT_INSLALLED_WITH_PROVIDE:Nt(),UNEXPECTED_ERROR:Nt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Nt(),BRIDGE_SUPPORT_VUE_2_ONLY:Nt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Nt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Nt(),__EXTEND_POINT__:Nt()};function kt(e,...t){return x(e,null,void 0)}Pt.UNEXPECTED_RETURN_TYPE,Pt.INVALID_ARGUMENT,Pt.MUST_BE_CALL_SETUP_TOP,Pt.NOT_INSLALLED,Pt.UNEXPECTED_ERROR,Pt.NOT_AVAILABLE_IN_LEGACY_MODE,Pt.REQUIRED_VALUE,Pt.INVALID_VALUE,Pt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Pt.NOT_INSLALLED_WITH_PROVIDE,Pt.NOT_COMPATIBLE_LEGACY_VUE_I18N,Pt.BRIDGE_SUPPORT_VUE_2_ONLY,Pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,Pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const Rt=i("__transrateVNode"),Mt=i("__datetimeParts"),Bt=i("__numberParts"),Lt=i("__setPluralRules");i("__intlifyMeta");const Dt=i("__injectWithOption");function Ft(e){if(!_(e))return e;for(const t in e)if(m(e,t))if(t.includes(".")){const r=t.split("."),n=r.length-1;let o=e;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:r}=e;t?(a[t]=a[t]||{},jt(r,a[t])):jt(r,a)}else w(e)&&jt(JSON.parse(e),a)})),null==o&&i)for(const s in a)m(a,s)&&Ft(a[s]);return a}const Ut=e=>!_(e)||y(e);function jt(e,t){if(Ut(e)||Ut(t))throw kt(Pt.INVALID_VALUE);for(const r in e)m(e,r)&&(Ut(e[r])||Ut(t[r])?t[r]=e[r]:jt(e[r],t[r]))}function zt(e){return e.type}function Vt(e,t,r){let n=_(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=$t(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),_(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach((r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])}))}if(_(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach((r=>{e.mergeNumberFormat(r,t.numberFormats[r])}))}}function Ht(e){return(0,Et.Wm)(Et.xv,null,e,0)}let qt=0;function Gt(e){return(t,r,n,o)=>e(r,n,(0,Et.FN)()||void 0,o)}function Wt(e={},t){const{__root:r}=e,o=void 0===r;let i=!b(e.inheritLocale)||e.inheritLocale;const a=(0,St.iH)(r&&i?r.locale.value:w(e.locale)?e.locale:Me),s=(0,St.iH)(r&&i?r.fallbackLocale.value:w(e.fallbackLocale)||y(e.fallbackLocale)||A(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a.value),u=(0,St.iH)($t(a.value,e)),d=(0,St.iH)(A(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=(0,St.iH)(A(e.numberFormats)?e.numberFormats:{[a.value]:{}});let p=r?r.missingWarn:!b(e.missingWarn)&&!l(e.missingWarn)||e.missingWarn,g=r?r.fallbackWarn:!b(e.fallbackWarn)&&!l(e.fallbackWarn)||e.fallbackWarn,m=r?r.fallbackRoot:!b(e.fallbackRoot)||e.fallbackRoot,E=!!e.fallbackFormat,S=v(e.missing)?e.missing:null,T=v(e.missing)?Gt(e.missing):null,C=v(e.postTranslation)?e.postTranslation:null,x=r?r.warnHtmlMessage:!b(e.warnHtmlMessage)||e.warnHtmlMessage,I=!!e.escapeParameter;const O=r?r.modifiers:A(e.modifiers)?e.modifiers:{};let N,P=e.pluralRules||r&&r.pluralRules;const k=()=>{o&&qe(null);const t={version:At,locale:a.value,fallbackLocale:s.value,messages:u.value,modifiers:O,pluralRules:P,missing:null===T?void 0:T,missingWarn:p,fallbackWarn:g,fallbackFormat:E,unresolving:!0,postTranslation:null===C?void 0:C,warnHtmlMessage:x,escapeParameter:I,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=d.value,t.numberFormats=f.value,t.__datetimeFormatters=A(N)?N.__datetimeFormatters:void 0,t.__numberFormatters=A(N)?N.__numberFormatters:void 0;const r=We(t);return o&&qe(r),r};function R(){return[a.value,s.value,u.value,d.value,f.value]}N=k(),Ke(N,a.value,s.value);const M=(0,Et.Fl)({get:()=>a.value,set:e=>{a.value=e,N.locale=a.value}}),B=(0,Et.Fl)({get:()=>s.value,set:e=>{s.value=e,N.fallbackLocale=s.value,Ke(N,a.value,e)}}),L=(0,Et.Fl)((()=>u.value)),D=(0,Et.Fl)((()=>d.value)),F=(0,Et.Fl)((()=>f.value));function $(){return v(C)?C:null}function U(e){C=e,N.postTranslation=e}function j(){return S}function z(e){null!==e&&(T=Gt(e)),S=e,N.missing=T}const V=(e,t,n,o,i,a)=>{let s;if(R(),s=e(N),c(s)&&s===Re){const[e,n]=t();return r&&m?o(r):i(e)}if(a(s))return s;throw kt(Pt.UNEXPECTED_RETURN_TYPE)};function H(...e){return V((t=>Reflect.apply(it,null,[t,...e])),(()=>lt(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>w(e)))}function q(...e){const[t,r,n]=e;if(n&&!_(n))throw kt(Pt.INVALID_ARGUMENT);return H(t,r,h({resolvedMessage:!0},n||{}))}function G(...e){return V((t=>Reflect.apply(pt,null,[t,...e])),(()=>mt(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Be),(e=>w(e)))}function W(...e){return V((t=>Reflect.apply(vt,null,[t,...e])),(()=>bt(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Be),(e=>w(e)))}function Z(e){return e.map((e=>w(e)||c(e)||b(e)?Ht(String(e)):e))}const K=e=>e,Y={normalize:Z,interpolate:K,type:"vnode"};function X(...e){return V((t=>{let r;const n=t;try{n.processor=Y,r=Reflect.apply(it,null,[n,...e])}finally{n.processor=null}return r}),(()=>lt(...e)),"translate",(t=>t[Rt](...e)),(e=>[Ht(e)]),(e=>y(e)))}function J(...e){return V((t=>Reflect.apply(vt,null,[t,...e])),(()=>bt(...e)),"number format",(t=>t[Bt](...e)),(()=>[]),(e=>w(e)||y(e)))}function Q(...e){return V((t=>Reflect.apply(pt,null,[t,...e])),(()=>mt(...e)),"datetime format",(t=>t[Mt](...e)),(()=>[]),(e=>w(e)||y(e)))}function ee(e){P=e,N.pluralRules=P}function te(e,t){const r=w(t)?t:a.value,n=oe(r);return null!==N.messageResolver(n,e)}function re(e){let t=null;const r=Ie(N,s.value,a.value);for(let n=0;n{i&&(a.value=e,N.locale=e,Ke(N,a.value,s.value))})),(0,Et.YP)(r.fallbackLocale,(e=>{i&&(s.value=e,N.fallbackLocale=e,Ke(N,a.value,s.value))})));const he={id:qt,locale:M,fallbackLocale:B,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&r&&(a.value=r.locale.value,s.value=r.fallbackLocale.value,Ke(N,a.value,s.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:L,get modifiers(){return O},get pluralRules(){return P||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(e){p=e,N.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(e){g=e,N.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return E},set fallbackFormat(e){E=e,N.fallbackFormat=E},get warnHtmlMessage(){return x},set warnHtmlMessage(e){x=e,N.warnHtmlMessage=e},get escapeParameter(){return I},set escapeParameter(e){I=e,N.escapeParameter=e},t:H,getLocaleMessage:oe,setLocaleMessage:ie,mergeLocaleMessage:ae,getPostTranslationHandler:$,setPostTranslationHandler:U,getMissingHandler:j,setMissingHandler:z,[Lt]:ee};return he.datetimeFormats=D,he.numberFormats=F,he.rt=q,he.te=te,he.tm=ne,he.d=G,he.n=W,he.getDateTimeFormat=se,he.setDateTimeFormat=ce,he.mergeDateTimeFormat=ue,he.getNumberFormat=le,he.setNumberFormat=de,he.mergeNumberFormat=fe,he[Dt]=e.__injectWithOption,he[Rt]=X,he[Mt]=Q,he[Bt]=J,he}const Zt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Kt({slots:e},t){if(1===t.length&&"default"===t[0]){const t=e.default?e.default():[];return t.reduce(((e,t)=>[...e,...y(t.children)?t.children:[t]]),[])}return t.reduce(((t,r)=>{const n=e[r];return n&&(t[r]=n()),t}),{})}function Yt(e){return Et.HY}const Xt={name:"i18n-t",props:h({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>c(e)||!isNaN(e)}},Zt),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||ur({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(r).filter((e=>"_"!==e)),a={};e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=w(e.plural)?+e.plural:e.plural);const s=Kt(t,i),c=o[Rt](e.keypath,s,a),u=h({},n),l=w(e.tag)||_(e.tag)?e.tag:Yt();return(0,Et.h)(l,u,c)}}};function Jt(e){return y(e)&&!w(e[0])}function Qt(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let a={};e.locale&&(t.locale=e.locale),w(e.format)?t.key=e.format:_(e.format)&&(w(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?h({},t,{[n]:e.format[n]}):t),{}));const s=n(e.value,t,a);let c=[t.key];y(s)?c=s.map(((e,t)=>{const r=o[e.type],n=r?r({[e.type]:e.value,index:t,parts:s}):[e.value];return Jt(n)&&(n[0].key=`${e.type}-${t}`),n})):w(s)&&(c=[s]);const u=h({},i),l=w(e.tag)||_(e.tag)?e.tag:Yt();return(0,Et.h)(l,u,c)}}const er={name:"i18n-n",props:h({value:{type:Number,required:!0},format:{type:[String,Object]}},Zt),setup(e,t){const r=e.i18n||ur({useScope:"parent",__useComponent:!0});return Qt(e,t,wt,((...e)=>r[Bt](...e)))}},tr={name:"i18n-d",props:h({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Zt),setup(e,t){const r=e.i18n||ur({useScope:"parent",__useComponent:!0});return Qt(e,t,gt,((...e)=>r[Mt](...e)))}};function rr(e,t){const r=e;if("composition"===e.mode)return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}function nr(e){const t=t=>{const{instance:r,modifiers:n,value:o}=t;if(!r||!r.$)throw kt(Pt.UNEXPECTED_ERROR);const i=rr(e,r.$);const a=or(o);return[Reflect.apply(i.t,i,[...ir(a)]),i]},r=(r,o)=>{const[i,a]=t(o);n&&e.global===a&&(r.__i18nWatcher=(0,Et.YP)(a.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),r.__composer=a,r.textContent=i},o=e=>{n&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},i=(e,{value:t})=>{if(e.__composer){const r=e.__composer,n=or(t);e.textContent=Reflect.apply(r.t,r,[...ir(n)])}},a=e=>{const[r]=t(e);return{textContent:r}};return{created:r,unmounted:o,beforeUpdate:i,getSSRProps:a}}function or(e){if(w(e))return{path:e};if(A(e)){if(!("path"in e))throw kt(Pt.REQUIRED_VALUE,"path");return e}throw kt(Pt.INVALID_VALUE)}function ir(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},s=n||{};return w(r)&&(a.locale=r),c(o)&&(a.plural=o),c(i)&&(a.plural=i),[t,s,a]}function ar(e,t,...r){const n=A(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=!b(n.globalInstall)||n.globalInstall;i&&(e.component(o?"i18n":Xt.name,Xt),e.component(er.name,er),e.component(tr.name,tr)),e.directive("t",nr(t))}const sr=i("global-vue-i18n");function cr(e={},t){const r=!1,n=!b(e.globalInjection)||e.globalInjection,o=!0,a=new Map,[s,c]=lr(e,r),u=i("");function l(e){return a.get(e)||null}function d(e,t){a.set(e,t)}function f(e){a.delete(e)}{const e={get mode(){return"composition"},get allowComposition(){return o},async install(t,...o){t.__VUE_I18N_SYMBOL__=u,t.provide(t.__VUE_I18N_SYMBOL__,e),!r&&n&&vr(t,e.global),ar(t,e,...o);const i=t.unmount;t.unmount=()=>{e.dispose(),i()}},get global(){return c},dispose(){s.stop()},__instances:a,__getInstance:l,__setInstance:d,__deleteInstance:f};return e}}function ur(e={}){const t=(0,Et.FN)();if(null==t)throw kt(Pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw kt(Pt.NOT_INSLALLED);const r=dr(t),n=hr(r),o=zt(t),i=fr(e,o);if("global"===i)return Vt(n,e,o),n;if("parent"===i){let o=pr(r,t,e.__useComponent);return null==o&&(o=n),o}const a=r;let s=a.__getInstance(t);if(null==s){const r=h({},e);"__i18n"in o&&(r.__i18n=o.__i18n),n&&(r.__root=n),s=Wt(r),gr(a,t,s),a.__setInstance(t,s)}return s}function lr(e,t,r){const n=(0,St.B)();{const t=n.run((()=>Wt(e)));if(null==t)throw kt(Pt.UNEXPECTED_ERROR);return[n,t]}}function dr(e){{const t=(0,Et.f3)(e.isCE?sr:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw kt(e.isCE?Pt.NOT_INSLALLED_WITH_PROVIDE:Pt.UNEXPECTED_ERROR);return t}}function fr(e,t){return d(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function hr(e){return"composition"===e.mode?e.global:e.global.__composer}function pr(e,t,r=!1){let n=null;const o=t.root;let i=t.parent;while(null!=i){const t=e;if("composition"===e.mode&&(n=t.__getInstance(i)),null!=n)break;if(o===i)break;i=i.parent}return n}function gr(e,t,r){(0,Et.bv)((()=>{0}),t),(0,Et.Ah)((()=>{e.__deleteInstance(t)}),t)}const mr=["locale","fallbackLocale","availableLocales"],yr=["t","rt","d","n","tm"];function vr(e,t){const r=Object.create(null);mr.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw kt(Pt.UNEXPECTED_ERROR);const o=(0,St.dq)(n.value)?{get(){return n.value.value},set(e){n.value.value=e}}:{get(){return n.get&&n.get()}};Object.defineProperty(r,e,o)})),e.config.globalProperties.$i18n=r,yr.forEach((r=>{const n=Object.getOwnPropertyDescriptor(t,r);if(!n||!n.value)throw kt(Pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,n)}))}je(Je),ze(pe),Ve(Ie),Tt()},83744:(e,t)=>{"use strict";t.Z=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}},33907:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>Ee,Se:()=>ce,OI:()=>se,rn:()=>ae,oR:()=>y});var n=r(66252),o=r(2262);function i(){return a().__VUE_DEVTOOLS_GLOBAL_HOOK__}function a(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:{}}const s="function"===typeof Proxy,c="devtools-plugin:setup",u="plugin:settings:set";let l,d;function f(){var e;return void 0!==l||("undefined"!==typeof window&&window.performance?(l=!0,d=window.performance):"undefined"!==typeof r.g&&(null===(e=r.g.perf_hooks)||void 0===e?void 0:e.performance)?(l=!0,d=r.g.perf_hooks.performance):l=!1),l}function h(){return f()?d.now():Date.now()}class p{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const r={};if(e.settings)for(const a in e.settings){const t=e.settings[a];r[a]=t.defaultValue}const n=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},r);try{const e=localStorage.getItem(n),t=JSON.parse(e);Object.assign(o,t)}catch(i){}this.fallbacks={getSettings(){return o},setSettings(e){try{localStorage.setItem(n,JSON.stringify(e))}catch(i){}o=e},now(){return h()}},t&&t.on(u,((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((r=>{this.targetQueue.push({method:t,args:e,resolve:r})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function g(e,t){const r=e,n=a(),o=i(),u=s&&r.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&u){const e=u?new p(r,o):null,i=n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[];i.push({pluginDescriptor:r,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else o.emit(c,e,t)} -/*! - * vuex v4.1.0 - * (c) 2022 Evan You - * @license MIT - */ -var m="store";function y(e){return void 0===e&&(e=null),(0,n.f3)(null!==e?e:m)}function v(e,t){return e.filter(t)[0]}function w(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var r=v(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=w(e[r],t)})),n}function b(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function _(e){return null!==e&&"object"===typeof e}function E(e){return e&&"function"===typeof e.then}function S(e,t){return function(){return e(t)}}function A(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function T(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;x(e,r,[],e._modules.root,!0),C(e,r,t)}function C(e,t,r){var i=e._state,a=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,c={},u={},l=(0,o.B)(!0);l.run((function(){b(s,(function(t,r){c[r]=S(t,e),u[r]=(0,n.Fl)((function(){return c[r]()})),Object.defineProperty(e.getters,r,{get:function(){return u[r].value},enumerable:!0})}))})),e._state=(0,o.qj)({data:t}),e._scope=l,e.strict&&R(e),i&&r&&e._withCommit((function(){i.data=null})),a&&a.stop()}function x(e,t,r,n,o){var i=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!i&&!o){var s=M(t,r.slice(0,-1)),c=r[r.length-1];e._withCommit((function(){s[c]=n.state}))}var u=n.context=I(e,a,r);n.forEachMutation((function(t,r){var n=a+r;N(e,n,t,u)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,o=t.handler||t;P(e,n,o,u)})),n.forEachGetter((function(t,r){var n=a+r;k(e,n,t,u)})),n.forEachChild((function(n,i){x(e,t,r.concat(i),n,o)}))}function I(e,t,r){var n=""===t,o={dispatch:n?e.dispatch:function(r,n,o){var i=B(r,n,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:n?e.commit:function(r,n,o){var i=B(r,n,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:n?function(){return e.getters}:function(){return O(e,t)}},state:{get:function(){return M(e.state,r)}}}),o}function O(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,n)===t){var i=o.slice(n);Object.defineProperty(r,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function N(e,t,r,n){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){r.call(e,n.state,t)}))}function P(e,t,r,n){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return E(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function k(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}function R(e){(0,n.YP)((function(){return e._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function M(e,t){return t.reduce((function(e,t){return e[t]}),e)}function B(e,t,r){return _(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}var L="vuex bindings",D="vuex:mutations",F="vuex:actions",$="vuex",U=0;function j(e,t){g({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[L]},(function(r){r.addTimelineLayer({id:D,label:"Vuex Mutations",color:z}),r.addTimelineLayer({id:F,label:"Vuex Actions",color:z}),r.addInspector({id:$,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree((function(r){if(r.app===e&&r.inspectorId===$)if(r.filter){var n=[];Z(n,t._modules.root,r.filter,""),r.rootNodes=n}else r.rootNodes=[W(t._modules.root,"")]})),r.on.getInspectorState((function(r){if(r.app===e&&r.inspectorId===$){var n=r.nodeId;O(t,n),r.state=K(X(t._modules,n),"root"===n?t.getters:t._makeLocalGettersCache,n)}})),r.on.editInspectorState((function(r){if(r.app===e&&r.inspectorId===$){var n=r.nodeId,o=r.path;"root"!==n&&(o=n.split("/").filter(Boolean).concat(o)),t._withCommit((function(){r.set(t._state.data,o,r.state.value)}))}})),t.subscribe((function(e,t){var n={};e.payload&&(n.payload=e.payload),n.state=t,r.notifyComponentUpdate(),r.sendInspectorTree($),r.sendInspectorState($),r.addTimelineEvent({layerId:D,event:{time:Date.now(),title:e.type,data:n}})})),t.subscribeAction({before:function(e,t){var n={};e.payload&&(n.payload=e.payload),e._id=U++,e._time=Date.now(),n.state=t,r.addTimelineEvent({layerId:F,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:n}})},after:function(e,t){var n={},o=Date.now()-e._time;n.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},e.payload&&(n.payload=e.payload),n.state=t,r.addTimelineEvent({layerId:F,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:n}})}})}))}var z=8702998,V=6710886,H=16777215,q={label:"namespaced",textColor:H,backgroundColor:V};function G(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function W(e,t){return{id:t||"root",label:G(t),tags:e.namespaced?[q]:[],children:Object.keys(e._children).map((function(r){return W(e._children[r],t+r+"/")}))}}function Z(e,t,r,n){n.includes(r)&&e.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:t.namespaced?[q]:[]}),Object.keys(t._children).forEach((function(o){Z(e,t._children[o],r,n+o+"/")}))}function K(e,t,r){t="root"===r?t:t[r];var n=Object.keys(t),o={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(n.length){var i=Y(t);o.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?G(e):e,editable:!1,value:J((function(){return i[e]}))}}))}return o}function Y(e){var t={};return Object.keys(e).forEach((function(r){var n=r.split("/");if(n.length>1){var o=t,i=n.pop();n.forEach((function(e){o[e]||(o[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),o=o[e]._custom.value})),o[i]=J((function(){return e[r]}))}else t[r]=J((function(){return e[r]}))})),t}function X(e,t){var r=t.split("/").filter((function(e){return e}));return r.reduce((function(e,n,o){var i=e[n];if(!i)throw new Error('Missing module "'+n+'" for path "'+t+'".');return o===r.length-1?i:i._children}),"root"===t?e:e.root._children)}function J(e){try{return e()}catch(t){return t}}var Q=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"===typeof r?r():r)||{}},ee={namespaced:{configurable:!0}};ee.namespaced.get=function(){return!!this._rawModule.namespaced},Q.prototype.addChild=function(e,t){this._children[e]=t},Q.prototype.removeChild=function(e){delete this._children[e]},Q.prototype.getChild=function(e){return this._children[e]},Q.prototype.hasChild=function(e){return e in this._children},Q.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Q.prototype.forEachChild=function(e){b(this._children,e)},Q.prototype.forEachGetter=function(e){this._rawModule.getters&&b(this._rawModule.getters,e)},Q.prototype.forEachAction=function(e){this._rawModule.actions&&b(this._rawModule.actions,e)},Q.prototype.forEachMutation=function(e){this._rawModule.mutations&&b(this._rawModule.mutations,e)},Object.defineProperties(Q.prototype,ee);var te=function(e){this.register([],e,!1)};function re(e,t,r){if(t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return void 0;re(e.concat(n),t.getChild(n),r.modules[n])}}te.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},te.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return t=t.getChild(r),e+(t.namespaced?r+"/":"")}),"")},te.prototype.update=function(e){re([],this.root,e)},te.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var o=new Q(t,r);if(0===e.length)this.root=o;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],o)}t.modules&&b(t.modules,(function(t,o){n.register(e.concat(o),t,r)}))},te.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n&&n.runtime&&t.removeChild(r)},te.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return!!t&&t.hasChild(r)};function ne(e){return new oe(e)}var oe=function(e){var t=this;void 0===e&&(e={});var r=e.plugins;void 0===r&&(r=[]);var n=e.strict;void 0===n&&(n=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new te(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,r){return c.call(i,e,t,r)},this.strict=n;var u=this._modules.root.state;x(this,u,[],this._modules.root),C(this,u),r.forEach((function(e){return e(t)}))},ie={state:{configurable:!0}};oe.prototype.install=function(e,t){e.provide(t||m,this),e.config.globalProperties.$store=this;var r=void 0!==this._devtools&&this._devtools;r&&j(e,this)},ie.state.get=function(){return this._state.data},ie.state.set=function(e){0},oe.prototype.commit=function(e,t,r){var n=this,o=B(e,t,r),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},oe.prototype.dispatch=function(e,t){var r=this,n=B(e,t),o=n.type,i=n.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){c.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(u){0}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,r.state,e)}))}catch(u){0}t(e)}))}))}},oe.prototype.subscribe=function(e,t){return A(e,this._subscribers,t)},oe.prototype.subscribeAction=function(e,t){var r="function"===typeof e?{before:e}:e;return A(r,this._actionSubscribers,t)},oe.prototype.watch=function(e,t,r){var o=this;return(0,n.YP)((function(){return e(o.state,o.getters)}),t,Object.assign({},r))},oe.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},oe.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),r.preserveState),C(this,this.state)},oe.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=M(t.state,e.slice(0,-1));delete r[e[e.length-1]]})),T(this)},oe.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},oe.prototype.hotUpdate=function(e){this._modules.update(e),T(this,!0)},oe.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(oe.prototype,ie);var ae=he((function(e,t){var r={};return de(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=pe(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"===typeof o?o.call(this,t,r):t[o]},r[n].vuex=!0})),r})),se=he((function(e,t){var r={};return de(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.commit;if(e){var i=pe(this.$store,"mapMutations",e);if(!i)return;n=i.context.commit}return"function"===typeof o?o.apply(this,[n].concat(t)):n.apply(this.$store,[o].concat(t))}})),r})),ce=he((function(e,t){var r={};return de(t).forEach((function(t){var n=t.key,o=t.val;o=e+o,r[n]=function(){if(!e||pe(this.$store,"mapGetters",e))return this.$store.getters[o]},r[n].vuex=!0})),r})),ue=he((function(e,t){var r={};return de(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var i=pe(this.$store,"mapActions",e);if(!i)return;n=i.context.dispatch}return"function"===typeof o?o.apply(this,[n].concat(t)):n.apply(this.$store,[o].concat(t))}})),r})),le=function(e){return{mapState:ae.bind(null,e),mapGetters:ce.bind(null,e),mapMutations:se.bind(null,e),mapActions:ue.bind(null,e)}};function de(e){return fe(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function fe(e){return Array.isArray(e)||_(e)}function he(e){return function(t,r){return"string"!==typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function pe(e,t,r){var n=e._modulesNamespaceMap[r];return n}function ge(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var l=w(e.state);"undefined"!==typeof u&&(s&&e.subscribe((function(e,i){var a=w(i);if(r(e,l,a)){var s=ve(),c=o(e),d="mutation "+e.type+s;me(u,d,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",n(l)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),ye(u)}l=a})),c&&e.subscribeAction((function(e,r){if(i(e,r)){var n=ve(),o=a(e),s="action "+e.type+n;me(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",o),ye(u)}})))}}function me(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(o){e.log(t)}}function ye(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function ve(){var e=new Date;return" @ "+be(e.getHours(),2)+":"+be(e.getMinutes(),2)+":"+be(e.getSeconds(),2)+"."+be(e.getMilliseconds(),3)}function we(e,t){return new Array(t+1).join(e)}function be(e,t){return we("0",t-e.toString().length)+e}var _e={version:"4.1.0",Store:oe,storeKey:m,createStore:ne,useStore:y,mapState:ae,mapMutations:se,mapGetters:ce,mapActions:ue,createNamespacedHelpers:le,createLogger:ge};const Ee=_e},37174:(e,t,r)=>{var n=r(48764)["Buffer"],o=r(82255);function i(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function a(e,t,r){var o=new n(r?34:33);return o.writeUInt8(e,0),t.copy(o,1),r&&(o[33]=1),o}function s(e,t){return i(o.decode(e),t)}function c(e,t,r){return"number"===typeof e?o.encode(a(e,t,r)):o.encode(a(e.version,e.privateKey,e.compressed))}e.exports={decode:s,decodeRaw:i,encode:c,encodeRaw:a}},84405:(e,t,r)=>{"use strict";var n=r(89509).Buffer;function o(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,d=new Uint8Array(u);while(i!==a){for(var f=t[i],h=0,p=u-1;(0!==f||h>>0,d[p]=f%s>>>0,f=f/s>>>0;if(0!==f)throw new Error("Non-zero carry");o=h,i++}var g=u-o;while(g!==u&&0===d[g])g++;for(var m=c.repeat(r);g>>0,l=new Uint8Array(a);while(e[r]){var d=t[e.charCodeAt(r)];if(255===d)return;for(var f=0,h=a-1;(0!==d||f>>0,l[h]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");i=f,r++}var p=a-i;while(p!==a&&0===l[p])p++;var g=n.allocUnsafe(o+(a-p));g.fill(0,0,o);var m=o;while(p!==a)g[m++]=l[p++];return g}function h(e){var t=f(e);if(t)return t;throw new Error("Non-base"+s+" character")}return{encode:d,decodeUnsafe:f,decode:h}}e.exports=o},36626:(e,t,r)=>{var n=r(84405),o="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";e.exports=n(o)},8589:(e,t,r)=>{"use strict";var n=r(36626),o=r(89509).Buffer;e.exports=function(e){function t(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))}function r(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}function i(e){var t=n.decodeUnsafe(e);if(t)return r(t)}function a(t){var o=n.decode(t),i=r(o,e);if(!i)throw new Error("Invalid checksum");return i}return{encode:t,decode:a,decodeUnsafe:i}}},82255:(e,t,r)=>{"use strict";var n=r(23482),o=r(8589);function i(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()}e.exports=o(i)},25110:(e,t,r)=>{e.exports=r(70404)},39022:(e,t,r)=>{e.exports=r(47385)},74386:(e,t,r)=>{e.exports=r(35657)},14418:(e,t,r)=>{e.exports=r(81709)},51679:(e,t,r)=>{e.exports=r(82978)},58118:(e,t,r)=>{e.exports=r(43939)},97606:(e,t,r)=>{e.exports=r(48790)},24278:(e,t,r)=>{e.exports=r(77981)},39940:(e,t,r)=>{e.exports=r(19861)},27043:(e,t,r)=>{e.exports=r(22032)},35627:(e,t,r)=>{e.exports=r(73037)},76986:(e,t,r)=>{e.exports=r(4977)},2018:(e,t,r)=>{e.exports=r(82107)},28222:(e,t,r)=>{e.exports=r(9482)},6226:(e,t,r)=>{e.exports=r(71150)},37659:(e,t,r)=>{e.exports=r(8492)},28886:(e,t,r)=>{e.exports=r(70753)},10349:(e,t,r)=>{e.exports=r(68230)},98235:(e,t,r)=>{e.exports=r(91451)},19389:(e,t,r)=>{e.exports=r(82294)},73324:(e,t,r)=>{e.exports=r(1366)},65237:(e,t,r)=>{e.exports=r(35988)},51791:(e,t,r)=>{e.exports=r(11455)},86526:(e,t,r)=>{e.exports=r(15100)},35704:(e,t,r)=>{e.exports=r(77193)},3841:(e,t,r)=>{e.exports=r(47862)},2201:(e,t,r)=>{e.exports=r(23847)},57445:(e,t,r)=>{e.exports=r(18842)},88546:(e,t,r)=>{e.exports=r(49834)},66775:(e,t,r)=>{e.exports=r(99959)},52020:(e,t,r)=>{e.exports=r(13714)},39272:(e,t,r)=>{e.exports=r(1396)},62079:(e,t,r)=>{e.exports=r(98625)},92984:(e,t,r)=>{e.exports=r(84563)},35820:(e,t,r)=>{e.exports=r(13867)},52472:(e,t,r)=>{e.exports=r(5489)},48994:(e,t,r)=>{e.exports=r(32433)},40024:(e,t,r)=>{e.exports=r(8789)},5177:(e,t,r)=>{var n=r(20474)["default"],o=r(57445),i=r(52472),a=r(3841),s=r(39272),c=r(65237),u=r(92984),l=r(35820),d=r(86526),f=r(35704);function h(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=h=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},r=Object.prototype,p=r.hasOwnProperty,g=o||function(e,t,r){e[t]=r.value},m="function"==typeof i?i:{},y=m.iterator||"@@iterator",v=m.asyncIterator||"@@asyncIterator",w=m.toStringTag||"@@toStringTag";function b(e,t,r){return o(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{b({},"")}catch(U){b=function(e,t,r){return e[t]=r}}function _(e,t,r,n){var o=t&&t.prototype instanceof A?t:A,i=a(o.prototype),s=new D(n||[]);return g(i,"_invoke",{value:R(e,r,s)}),i}function E(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(U){return{type:"throw",arg:U}}}t.wrap=_;var S={};function A(){}function T(){}function C(){}var x={};b(x,y,(function(){return this}));var I=s,O=I&&I(I(F([])));O&&O!==r&&p.call(O,y)&&(x=O);var N=C.prototype=A.prototype=a(x);function P(e){var t;c(t=["next","throw","return"]).call(t,(function(t){b(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(o,i,a,s){var c=E(e[o],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==n(l)&&p.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var o;g(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function R(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return $()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=M(a,r);if(s){if(s===S)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=E(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===S)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function M(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator["return"]&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),S;var o=E(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,S;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,S):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],c(e).call(e,B,this),this.reset(!0)}function F(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=p.call(o,"catchLoc"),s=p.call(o,"finallyLoc");if(a&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&p.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:F(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),S}},t}e.exports=h,e.exports.__esModule=!0,e.exports["default"]=e.exports},20474:(e,t,r)=>{var n=r(52472),o=r(48994);function i(t){return e.exports=i="function"==typeof n&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},30222:(e,t,r)=>{var n=r(5177)();e.exports=n;try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},56999:(e,t,r)=>{"use strict";r.d(t,{Z:()=>J});var n={};r.r(n),r.d(n,{aensBid:()=>b,aensClaim:()=>v,aensPreclaim:()=>w,aensQuery:()=>y,aensRevoke:()=>p,aensTransfer:()=>m,aensUpdate:()=>g});var o={};r.r(o),r.d(o,{payForTransaction:()=>A,spend:()=>E,transferFunds:()=>S});var i={};r.r(i),r.d(i,{extendOracleTtl:()=>R,getOracleObject:()=>B,getQueryObject:()=>P,pollForQueries:()=>O,pollForQueryResponse:()=>N,postQueryToOracle:()=>k,registerOracle:()=>L,respondToQuery:()=>M});var a={};r.r(a),r.d(a,{buildAuthTxHash:()=>V,buildAuthTxHashByGaMetaTx:()=>H,createGeneralizedAccount:()=>z});var s=r(44845),c=r(34674),u=r(36878),l=r(34502),d=r(12442),f=r(65986),h=r(1471);async function p(e,t){const r=await(0,h.i2)({...t,tag:f.Vp.NameRevokeTx,nameId:e,accountId:t.onAccount.address});return(0,u.sendTransaction)(r,t)}async function g(e,t,r){let{extendPointers:n,...o}=r;const i={...!0===n&&Object.fromEntries((await(0,u.getName)(e,o)).pointers.map((e=>{let{key:t,id:r}=e;return[t,r]}))),...t},a=await(0,h.i2)({clientTtl:f.C6,nameTtl:f.AB,...o,tag:f.Vp.NameUpdateTx,nameId:e,accountId:o.onAccount.address,pointers:Object.entries(i).map((e=>{let[t,r]=e;return{key:t,id:r}}))});return(0,u.sendTransaction)(a,o)}async function m(e,t,r){const n=await(0,h.i2)({...r,tag:f.Vp.NameTransferTx,nameId:e,accountId:r.onAccount.address,recipientId:t});return(0,u.sendTransaction)(n,r)}async function y(e,t){const r=await(0,u.getName)(e,t);return Object.freeze({...r,id:r.id,owner:r.owner,async update(r,n){return{...await g(e,r,{...t,...n}),...await y(e,{...t,...n})}},async transfer(r,n){return{...await m(e,r,{...t,...n}),...await y(e,{...t,...n})}},async revoke(r){return p(e,{...t,...r})},async extendTtl(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.AB,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r>f.AB||r<=0)throw new c.ir("nameTtl",`a number between 1 and ${f.AB} blocks`,r);return{...await g(e,{},{...t,...n,nameTtl:r,extendPointers:!0}),...await y(e,{...t,...n})}}})}async function v(e,t,r){const n=await(0,h.i2)({...r,tag:f.Vp.NameClaimTx,accountId:r.onAccount.address,nameSalt:t,name:e}),o=await(0,u.sendTransaction)(n,r);if(!(0,d.Nw)(e)){const t=null!=o.blockHeight&&o.blockHeight>0?await y(e,r):{};return Object.assign(o,t)}return o}async function w(e,t){const r=(0,l.Dx)(),n=(0,d.B4)(e,r),o=await(0,h.i2)({...t,tag:f.Vp.NamePreclaimTx,accountId:t.onAccount.address,commitmentId:n});return Object.freeze({...await(0,u.sendTransaction)(o,t),salt:r,commitmentId:n,async claim(n){const{version:o,...i}=t;return v(e,r,{...i,...n})}})}async function b(e,t,r){return v(e,0,{...r,nameFee:t})}var _=r(70794);async function E(e,t,r){return(0,u.sendTransaction)(await(0,h.i2)({...r,tag:f.Vp.SpendTx,senderId:r.onAccount.address,recipientId:await(0,u.resolveName)(t,"account_pubkey",r),amount:e}),r)}async function S(e,t,r){if(e<0||e>1)throw new c.ir("fraction","a number between 0 and 1",e);const n=await(0,u.resolveName)(t,"account_pubkey",r),o=r.onAccount.address,i=new _.Z(await u.getBalance.bind(r.onAccount)(o,r)),a=i.times(e).integerValue(_.Z.ROUND_HALF_UP),{fee:s}=(0,h.vq)(await(0,h.i2)({...r,tag:f.Vp.SpendTx,senderId:o,recipientId:n,amount:a}),f.Vp.SpendTx),l=a.plus(s).gt(i)?i.minus(s):a;return(0,u.sendTransaction)(await(0,h.i2)({...r,tag:f.Vp.SpendTx,senderId:o,recipientId:n,amount:l}),r)}async function A(e,t){return(0,u.sendTransaction)(await(0,h.i2)({...t,tag:f.Vp.PayingForTx,payerId:t.onAccount.address,tx:e}),t)}var T=r(35196),C=r(82580),x=r(70732),I=r(27469);function O(e,t,r){var n;let{interval:o,onNode:i,...a}=r;null!==(n=o)&&void 0!==n||(o=(0,u._getPollInterval)("microblock",a));const s=new Set,c=async()=>{var r;const n=(null!==(r=(await i.getOracleQueriesByPubkey(e)).oracleQueries)&&void 0!==r?r:[]).filter((e=>{let{id:t}=e;return!s.has(t)}));n.forEach((e=>{s.add(e.id),t(e)}))};let l=!1;return(async()=>{while(!l)await c().catch(console.error),await(0,T.wO)(o)})(),()=>{l=!0}}async function N(e,t,r){var n;let o,i,a,{interval:s,onNode:l,...d}=r;null!==(n=s)&&void 0!==n||(s=(0,u._getPollInterval)("microblock",d));do{({response:a,ttl:i}=await l.getOracleQueryByPubkeyAndQueryId(e,t));const r=(0,x.Jx)(a);if(r.length>0)return r.toString();await(0,T.wO)(s),o=await(0,u.getHeight)({onNode:l})}while(i>=o);throw new c.ZB(o)}async function P(e,t,r){const n=await r.onNode.getOracleQueryByPubkeyAndQueryId(e,t);return{...n,decodedQuery:(0,x.Jx)(n.query).toString(),decodedResponse:(0,x.Jx)(n.response).toString(),respond:async(e,n)=>M(t,e,{...r,...n}),pollForResponse:async n=>N(e,t,{...r,...n})}}async function k(e,t,r){var n;null!==(n=r.queryFee)&&void 0!==n||(r.queryFee=(await r.onNode.getOracleByPubkey(e)).queryFee.toString());const o=r.onAccount.address,i=await(0,h.i2)({queryTtlType:C.RQ.type,queryTtlValue:C.RQ.value,responseTtlType:C.Bm.type,responseTtlValue:C.Bm.value,...r,tag:f.Vp.OracleQueryTx,oracleId:e,senderId:o,query:t}),{nonce:a}=(0,h.vq)(i,f.Vp.OracleQueryTx),s=(0,d.ku)(o,a,e);return{...await(0,u.sendTransaction)(i,r),...await P(e,s,r)}}async function R(e){const t=(0,x.cv)((0,x.Jx)(e.onAccount.address),I.e.OracleAddress),r=await(0,h.i2)({oracleTtlType:C.oZ.type,oracleTtlValue:C.oZ.value,...e,tag:f.Vp.OracleExtendTx,oracleId:t});return{...await(0,u.sendTransaction)(r,e),...await B(t,e)}}async function M(e,t,r){const n=(0,x.cv)((0,x.Jx)(r.onAccount.address),I.e.OracleAddress),o=await(0,h.i2)({responseTtlType:C.Bm.type,responseTtlValue:C.Bm.value,...r,tag:f.Vp.OracleResponseTx,oracleId:n,queryId:e,response:t});return{...await(0,u.sendTransaction)(o,r),...await B(n,r)}}async function B(e,t){return{...await t.onNode.getOracleByPubkey(e),queries:(await t.onNode.getOracleQueriesByPubkey(e)).oracleQueries,...(0,T.Xc)({pollQueries:O,postQuery:k,respondToQuery:M,extendOracle:R,getQuery:P},(r=>{let[n,o]=r;return[n,function(){for(var r=arguments.length,i=new Array(r),a=0;a(0,d.Pz)(e)?(0,d.W)(e):e)).map((e=>(0,x.Jx)(e))),(0,x.Jx)(e)]),r)}const{Buffer:j}=F;async function z(e,t,r){var n;let{onAccount:o,onCompiler:i,onNode:a,bytecode:s,aci:d,sourceCodePath:p,sourceCode:g,fileSystem:m,...y}=r;const v=o.address;if("generalized"===(await(0,u.getAccount)(v,{onNode:a})).kind)throw new c.mG(`Account ${v} is already GA`);const w=await D.Z.initialize({onAccount:o,onCompiler:i,onNode:a,bytecode:s,aci:d,sourceCodePath:p,sourceCode:g,fileSystem:m}),b=await(0,h.i2)({...y,tag:f.Vp.GaAttachTx,onNode:a,code:await w.$compile(),gasLimit:null!==(n=y.gasLimit)&&void 0!==n?n:await w._estimateGas("init",t,y),ownerId:v,callData:w._calldata.encode(w._name,"init",t),authFun:(0,l.vp)(e)}),_=(0,h.K9)(b),{hash:E,rawTx:S}=await(0,u.sendTransaction)(b,{onNode:a,onAccount:o,onCompiler:i,...y});return Object.freeze({owner:v,transaction:E,rawTx:S,gaContractId:_})}async function V(e,t){let{fee:r,gasPrice:n,onNode:o}=t;const{nodeNetworkId:i,consensusProtocolVersion:a}=await o.getNodeInfo();let s=(0,l.vp)((0,T.Kb)([j.from(i),(0,x.Jx)(e)]));if(a===f.dI.Ceres){if(null==r)throw new c.ir("fee","provided (in Ceres)",r);if(null==n)throw new c.ir("gasPrice","provided (in Ceres)",n);s=(0,l.vp)((0,x.Jx)((0,h.lE)({tag:f.Vp.GaMetaTxAuthData,fee:r,gasPrice:n,txHash:(0,x.cv)(s,I.e.TxHash)})))}return s}async function H(e,t){let{onNode:r}=t;const n=(0,h.vq)(e,f.Vp.SignedTx);if(n.encodedTx.tag!==f.Vp.GaMetaTx)throw new c.ir("transaction","to include GaMetaTx",f.Vp[n.encodedTx.tag]);return V((0,h.lE)(n.encodedTx.tx.encodedTx),{fee:n.encodedTx.fee,gasPrice:n.encodedTx.gasPrice,onNode:r})}function q(e){return new Proxy({},{...Object.fromEntries(["apply","construct","defineProperty","deleteProperty","getOwnPropertyDescriptor","getPrototypeOf","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"].map((e=>[e,()=>{throw new c.nj(`${e} proxy request`)}]))),get(t,r,n){const o=e(),i=Reflect.get(o,r,n);return"function"===typeof i?i.bind(o):i},has(t,r){return Reflect.has(e(),r)}})}const{InvalidTxError:G,...W}=u,Z={...W,...n,...o,...i,createDelegationSignature:U,...a};class K{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,"_options",{}),Object.assign(this._options,e)}_resolveAccount(e){if("string"===typeof e)throw new c.nj("Address in AccountResolver");if("object"===typeof e)return e;throw new c.R3(`Account should be an address (ak-prefixed string), or instance of AccountBase, got ${String(e)} instead`)}_getOptions(){return{...this._options,onAccount:q((()=>this._resolveAccount()))}}async buildTx(e){return(0,h.i2)({...this._getOptions(),...e})}async initializeContract(e){const{onNode:t,onCompiler:r,...n}=this._getOptions();if(null==r||null==t)throw new c.ir("onCompiler, onNode","provided",null);return D.Z.initialize({...n,onNode:t,onCompiler:r,...e})}}Object.assign(K.prototype,(0,T.Xc)(Z,(e=>{let[t,r]=e;return[t,function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};super(t),(0,s.Z)(this,"pool",new Map),e.forEach(((e,t)=>{let{name:r,instance:n}=e;return this.addNode(r,n,0===t)}))}get compilerApi(){if(null==this._options.onCompiler)throw new c.mX("You can't use Compiler API. Compiler is not ready!");return this._options.onCompiler}get api(){return this.ensureNodeConnected(),this.pool.get(this.selectedNodeName)}addNode(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.pool.has(e))throw new c.mn(e);this.pool.set(e,t),(r||null==this.selectedNodeName)&&this.selectNode(e)}selectNode(e){if(!this.pool.has(e))throw new c.PM(`Node with name ${e} not in pool`);this.selectedNodeName=e}isNodeConnected(){return null!=this.selectedNodeName}ensureNodeConnected(){if(!this.isNodeConnected())throw new c.PM("You can't use Node API. Node is not connected or not defined!")}async getNodeInfo(){return this.ensureNodeConnected(),{name:this.selectedNodeName,...await this.api.getNodeInfo()}}async getNodesInPool(){return Promise.all(Array.from(this.pool.entries()).map((async e=>{let[t,r]=e;return{name:t,...await r.getNodeInfo()}})))}addresses(){return[]}get address(){return this._resolveAccount().address}async sign(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._resolveAccount(t).sign(e,r)}async signTransaction(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=null!==this.selectedNodeName?await this.api.getNetworkId():void 0;return this._resolveAccount(t).signTransaction(e,{networkId:n,...r})}async signMessage(e){let{onAccount:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._resolveAccount(t).signMessage(e,r)}_getOptions(){return{...super._getOptions(),onNode:q((()=>this.api)),onCompiler:q((()=>this.compilerApi))}}}class J extends X{constructor(){let{accounts:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(t),(0,s.Z)(this,"accounts",{}),null===e||void 0===e||e.forEach(((e,t)=>this.addAccount(e,{select:0===t})))}_resolveAccount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectedAddress;if("string"===typeof e){const t=e;if((0,x.Jx)(t),null==this.accounts[t])throw new c.ne(e);e=this.accounts[t]}return super._resolveAccount(e)}addresses(){return Object.keys(this.accounts)}addAccount(e){let{select:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{address:r}=e;this.accounts[r]=e,!0===t&&this.selectAccount(r)}removeAccount(e){if(null==this.accounts[e])throw new c.ne(e);delete this.accounts[e],this.selectedAddress===e&&delete this.selectedAddress}selectAccount(e){if((0,x.Jx)(e),null==this.accounts[e])throw new c.ne(e);this.selectedAddress=e}}},70063:(e,t,r)=>{"use strict";r.d(t,{Z:()=>q});var n=r(48764),o=r(44845),i="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const a={randomUUID:i};var s,c=new Uint8Array(16);function u(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}function h(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();e=e||{};var n=e.random||(e.rng||u)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return f(n)}const p=h;var g=r(56999),m=r(70256),y=r(87338),v=r(18961),w=r(40995),b=r(34674);function _(e,t){S(e,t),t.add(e)}function E(e,t,r){S(e,t),t.set(e,r)}function S(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function A(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}var T=new WeakMap,C=new WeakMap,x=new WeakMap,I=new WeakSet,O=new WeakSet,N=new WeakSet,P=new WeakSet;class k{constructor(e,t,r){_(this,P),_(this,N),_(this,O),_(this,I),E(this,T,{writable:!0,value:new Map}),E(this,C,{writable:!0,value:0}),E(this,x,{writable:!0,value:void 0}),this.connection=e,(0,v.Z)(this,x,r),e.connect(A(this,I,R).bind(this),t)}async request(e,t){return A(this,O,M).call(this,(0,v.Z)(this,C,(0,y.Z)(this,C)+1),e,t),new Promise(((e,t)=>{(0,y.Z)(this,T).set((0,y.Z)(this,C),{resolve:e,reject:t})}))}notify(e,t){A(this,O,M).call(this,void 0,e,t)}}async function R(e,t){if("2.0"!==(null===e||void 0===e?void 0:e.jsonrpc))throw new b.mO(JSON.stringify(e));if("result"in e||"error"in e)return void A(this,P,L).call(this,e);const r=e;let n,o;try{if(!(r.method in(0,y.Z)(this,x)))throw new w.nq;const e=r.method;n=await(0,y.Z)(this,x)[e](r.params,t)}catch(i){o=i instanceof w.lt?i:new w.CZ}null!=r.id&&A(this,N,B).call(this,r.id,r.method,n,o)}function M(e,t,r){this.connection.sendMessage({jsonrpc:"2.0",...null!=e?{id:e}:{},method:t,...null!=r?{params:r}:{}})}function B(e,t,r,n){this.connection.sendMessage({jsonrpc:"2.0",id:e,method:t,...null!=n?{error:n.toJSON()}:{result:r}})}function L(e){let{id:t,error:r,result:n}=e;const o=(0,y.Z)(this,T).get(t);if(null==o)throw new b.is(t);null!=r?o.reject(w.lt.deserialize(r)):o.resolve(n),(0,y.Z)(this,T).delete(t)}const D=1;var F=r(4400),$=r(70794),U=r(35196);const j=F({storeAsString:!0}),z=e=>{if("object"===typeof e&&null!==e&&e.constructor===Object)return(0,U.Xc)(e,(e=>{let[t,r]=e;return[t,z(r)]}));if(Array.isArray(e))return e.map((e=>z(e)));if("string"===typeof e&&new $.Z(e).toString(10)===e){const t=new $.Z(e);return t.toJSON=()=>t.toString(10),t}return e},V={stringify:function(){for(var e=arguments.length,t=new Array(e),r=0;rthis._isRpcClientSubscribed(e))).map((e=>this._getClient(e).rpc)).forEach((e=>e.notify(w.Is.updateAddress,this.getAccounts())))}selectAccount(e){super.selectAccount(e),this._pushAccountsToApps()}addAccount(e,t){super.addAccount(e,t),this._pushAccountsToApps()}_getNode(){return this.ensureNodeConnected(),{node:{url:this.api.$host,name:this.selectedNodeName}}}async selectNode(e){super.selectNode(e);const t=await this.api.getNetworkId();Array.from(this._clients.keys()).filter((e=>this._isRpcClientConnected(e))).map((e=>this._getClient(e))).forEach((e=>{e.rpc.notify(w.Is.updateNetwork,{networkId:t,...e.connectNode&&this._getNode()})}))}_getClient(e){const t=this._clients.get(e);if(null==t)throw new b.x$(e);return t}_isRpcClientSubscribed(e){return this._isRpcClientConnected(e)&&0!==this._getClient(e).addressSubscription.size}_isRpcClientConnected(e){return w.m9.CONNECTED===this._getClient(e).status&&this._getClient(e).rpc.connection.isConnected()}_disconnectRpcClient(e){const t=this._getClient(e);t.rpc.connection.disconnect(),t.status=w.m9.DISCONNECTED,t.addressSubscription=new Set}removeRpcClient(e){this._disconnectRpcClient(e),this._clients.delete(e)}addRpcClient(e){const t=p();let r;const n={id:t,status:w.m9.WAITING_FOR_CONNECTION_REQUEST,addressSubscription:new Set,connectNode:!1,rpc:new k(e,(()=>{this._clients.delete(t),this.onDisconnect(t,r)}),{[w.Is.closeConnection]:e=>{r=e,this._disconnectRpcClient(t)},[w.Is.connect]:async(e,r)=>{let{name:o,version:i,icons:a,connectNode:s}=e;if(i!==D)throw new w.K1;return await this.onConnection(t,{name:o,icons:a,connectNode:s},r),n.status=w.m9.CONNECTED,n.connectNode=s,{...await this.getWalletInfo(),...s&&this._getNode()}},[w.Is.subscribeAddress]:async(e,r)=>{let{type:o,value:i}=e;if(!this._isRpcClientConnected(t))throw new w.yp;switch(await this.onSubscription(t,{type:o,value:i},r),o){case w.ww.subscribe:n.addressSubscription.add(i);break;case w.ww.unsubscribe:n.addressSubscription.delete(i);break;default:throw new b.AQ(`Unknown subscription type: ${o}`)}return{subscription:Array.from(n.addressSubscription),address:this.getAccounts()}},[w.Is.address]:async(e,r)=>{if(!this._isRpcClientSubscribed(t))throw new w.yp;return await this.onAskAccounts(t,e,r),this.addresses()},[w.Is.sign]:async(e,r)=>{let{tx:n,onAccount:o=this.address,returnSigned:i}=e;if(!this._isRpcClientConnected(t))throw new w.yp;if(!this.addresses().includes(o))throw new w.OC(o);const a={onAccount:o,aeppOrigin:r,aeppRpcClientId:t};if(i)return{signedTransaction:await this.signTransaction(n,a)};try{return V.parse(V.stringify({transactionHash:await this.sendTransaction(n,{...a,verify:!1})}))}catch(s){const e=await(0,m.Z)(n,this.api);if(e.length>0)throw new w._8(e);throw new w.DL(s.message)}},[w.Is.signMessage]:async(e,r)=>{let{message:n,onAccount:o=this.address}=e;if(!this._isRpcClientConnected(t))throw new w.yp;if(!this.addresses().includes(o))throw new w.OC(o);const i={onAccount:o,aeppOrigin:r,aeppRpcClientId:t};return{signature:H.from(await this.signMessage(n,i)).toString("hex")}}})};return this._clients.set(t,n),t}async shareWalletInfo(e){this._getClient(e).rpc.notify(w.Is.readyToConnect,await this.getWalletInfo())}async getWalletInfo(){return{id:this.id,name:this.name,networkId:await this.api.getNetworkId(),origin:window.location.origin,type:this._type}}getAccounts(){return{current:null!=this.selectedAddress?{[this.selectedAddress]:{}}:{},connected:this.addresses().filter((e=>e!==this.selectedAddress)).reduce(((e,t)=>({...e,[t]:{}})),{})}}}},14656:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ji});var n={};r.r(n),r.d(n,{Account:()=>dn,ByteCode:()=>xn,Channel:()=>Rn,ChannelCloseMutualTx:()=>eo,ChannelCloseSoloTx:()=>to,ChannelCreateTx:()=>Yn,ChannelDepositTx:()=>Xn,ChannelForceProgressTx:()=>Qn,ChannelSetDelegatesTx:()=>io,ChannelSettleTx:()=>no,ChannelSlashTx:()=>ro,ChannelSnapshotSoloTx:()=>oo,ChannelWithdrawTx:()=>Jn,CheckTxInPoolResponse:()=>bo,CommitmentId:()=>Zn,ContractCallObject:()=>bn,ContractCallTx:()=>po,ContractCreateTx:()=>ho,ContractObject:()=>Cn,CountResponse:()=>un,CreateContractUnsignedTx:()=>Co,Delegates:()=>nn,DryRunAccount:()=>pn,DryRunCallContext:()=>yn,DryRunCallReq:()=>mn,DryRunInput:()=>hn,DryRunInputItem:()=>gn,DryRunResult:()=>wn,DryRunResults:()=>vn,EncodedTx:()=>An,ErrorModel:()=>Kr,Event:()=>_n,GAAttachTx:()=>yo,GAMetaTx:()=>vo,GAObject:()=>Sn,Generation:()=>ln,HashResponse:()=>Xr,Header:()=>Zr,HeightResponse:()=>Jr,KeyBlock:()=>Yr,MicroBlockHeader:()=>Qr,NameClaimTx:()=>Hn,NameEntry:()=>kn,NameHash:()=>Kn,NamePointer:()=>cn,NamePreclaimTx:()=>Vn,NameRevokeTx:()=>Wn,NameTransferTx:()=>Gn,NameUpdateTx:()=>qn,NextNonceResponse:()=>fn,OffChainCallContract:()=>To,OffChainDeposit:()=>So,OffChainNewContract:()=>Ao,OffChainTransfer:()=>_o,OffChainUpdate:()=>on,OffChainWithdrawal:()=>Eo,OracleExtendTx:()=>Un,OracleQueries:()=>Nn,OracleQuery:()=>Pn,OracleQueryTx:()=>jn,OracleRegisterTx:()=>$n,OracleRespondTx:()=>zn,PayingForTx:()=>wo,PeerConnections:()=>Dn,PeerCount:()=>uo,PeerCountAvailable:()=>fo,PeerCountConnected:()=>lo,PeerDetails:()=>so,PeerPubKey:()=>Mn,Peers:()=>co,PoI:()=>In,PostTxResponse:()=>Tn,Protocol:()=>Ln,PubKey:()=>ao,RegisteredOracle:()=>On,RelativeTTL:()=>an,SignedTx:()=>tn,SignedTxs:()=>en,SpendTx:()=>Fn,Status:()=>Bn,TokenSupply:()=>mo,Ttl:()=>sn,Tx:()=>rn,TxInfoObject:()=>En,UnsignedTx:()=>go,discriminators:()=>xo});var o=r(87338),i=r(18961),a=r(70794),s=r(24115);function c(e){return e.toLowerCase()}function*u(e){for(const t of e.values())yield[t.name,t.value]}class l{constructor(e){if(this._headersMap=new Map,e)for(const t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(c(e),{name:e,value:String(t)})}get(e){var t;return null===(t=this._headersMap.get(c(e)))||void 0===t?void 0:t.value}has(e){return this._headersMap.has(c(e))}delete(e){this._headersMap.delete(c(e))}toJSON(e={}){const t={};if(e.preserveCase)for(const r of this._headersMap.values())t[r.name]=r.value;else for(const[r,n]of this._headersMap)t[r]=n.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return u(this._headersMap)}}function d(e){return new l(e)}var f=r(25934);function h(){return(0,f.Z)()}class p{constructor(e){var t,r,n,o,i,a,s;this.url=e.url,this.body=e.body,this.headers=null!==(t=e.headers)&&void 0!==t?t:d(),this.method=null!==(r=e.method)&&void 0!==r?r:"GET",this.timeout=null!==(n=e.timeout)&&void 0!==n?n:0,this.formData=e.formData,this.disableKeepAlive=null!==(o=e.disableKeepAlive)&&void 0!==o&&o,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=null!==(i=e.withCredentials)&&void 0!==i&&i,this.abortSignal=e.abortSignal,this.tracingOptions=e.tracingOptions,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||h(),this.allowInsecureConnection=null!==(a=e.allowInsecureConnection)&&void 0!==a&&a,this.enableBrowserStreams=null!==(s=e.enableBrowserStreams)&&void 0!==s&&s}}function g(e){return new p(e)}const m="$",y="_";var v=r(35289);function w(e){let t="";for(let r=0;r""===c[e].serializedName));if("Sequence"===s||u){const t=null!==(r=e.parsedBody)&&void 0!==r?r:[];for(const r of Object.keys(c))c[r].serializedName&&(t[r]=null===(n=e.parsedBody)||void 0===n?void 0:n[r]);if(o)for(const e of Object.keys(o))t[e]=o[e];return!a||e.parsedBody||o||0!==Object.getOwnPropertyNames(c).length?t:null}return C({body:e.parsedBody,headers:o,hasNullableType:a,shouldWrapBody:_(e.parsedBody,s)})}class I{constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){const n=(e,n)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&void 0!==t&&null!==t){const{ExclusiveMaximum:r,ExclusiveMinimum:o,InclusiveMaximum:i,InclusiveMinimum:a,MaxItems:s,MaxLength:c,MinItems:u,MinLength:l,MultipleOf:d,Pattern:f,UniqueItems:h}=e.constraints;if(void 0!==r&&t>=r&&n("ExclusiveMaximum",r),void 0!==o&&t<=o&&n("ExclusiveMinimum",o),void 0!==i&&t>i&&n("InclusiveMaximum",i),void 0!==a&&ts&&n("MaxItems",s),void 0!==c&&t.length>c&&n("MaxLength",c),void 0!==u&&t.lengthr.indexOf(e)!==t))&&n("UniqueItems",h)}}serialize(e,t,r,n={xml:{}}){var o,i,a;const s={xml:{rootName:null!==(o=n.xml.rootName)&&void 0!==o?o:"",includeRoot:null!==(i=n.xml.includeRoot)&&void 0!==i&&i,xmlCharKey:null!==(a=n.xml.xmlCharKey)&&void 0!==a?a:y}};let c={};const u=e.type.name;r||(r=e.serializedName),null!==u.match(/^Sequence$/i)&&(c=[]),e.isConstant&&(t=e.defaultValue);const{required:l,nullable:d}=e;if(l&&d&&void 0===t)throw new Error(`${r} cannot be undefined.`);if(l&&!d&&(void 0===t||null===t))throw new Error(`${r} cannot be null or undefined.`);if(!l&&!1===d&&null===t)throw new Error(`${r} cannot be null.`);if(void 0===t||null===t)c=t;else if(this.validateConstraints(e,t,r),null!==u.match(/^any$/i))c=t;else if(null!==u.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i))c=L(u,r,t);else if(null!==u.match(/^Enum$/i)){const n=e;c=D(r,n.type.allowedValues,t)}else null!==u.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?c=U(u,t,r):null!==u.match(/^ByteArray$/i)?c=F(r,t):null!==u.match(/^Base64Url$/i)?c=$(r,t):null!==u.match(/^Sequence$/i)?c=j(this,e,t,r,Boolean(this.isXML),s):null!==u.match(/^Dictionary$/i)?c=z(this,e,t,r,Boolean(this.isXML),s):null!==u.match(/^Composite$/i)&&(c=G(this,e,t,r,Boolean(this.isXML),s));return c}deserialize(e,t,r,n={xml:{}}){var o,i,a;const s={xml:{rootName:null!==(o=n.xml.rootName)&&void 0!==o?o:"",includeRoot:null!==(i=n.xml.includeRoot)&&void 0!==i&&i,xmlCharKey:null!==(a=n.xml.xmlCharKey)&&void 0!==a?a:y}};if(void 0===t||null===t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let c;const u=e.type.name;if(r||(r=e.serializedName),null!==u.match(/^Composite$/i))c=K(this,e,t,r,s);else{if(this.isXML){const e=s.xml.xmlCharKey;void 0!==t[m]&&void 0!==t[e]&&(t=t[e])}null!==u.match(/^Number$/i)?(c=parseFloat(t),isNaN(c)&&(c=t)):null!==u.match(/^Boolean$/i)?c="true"===t||"false"!==t&&t:null!==u.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?c=t:null!==u.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?c=new Date(t):null!==u.match(/^UnixTime$/i)?c=B(t):null!==u.match(/^ByteArray$/i)?c=b(t):null!==u.match(/^Base64Url$/i)?c=k(t):null!==u.match(/^Sequence$/i)?c=X(this,e,t,r,s):null!==u.match(/^Dictionary$/i)&&(c=Y(this,e,t,r,s))}return e.isConstant&&(c=e.defaultValue),c}}function O(e={},t=!1){return new I(e,t)}function N(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t)--r;return e.substr(0,r)}function P(e){if(!e)return;if(!(e instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");const t=w(e);return N(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function k(e){if(e){if(e&&"string"!==typeof e.valueOf())throw new Error("Please provide an input of type string for converting to Uint8Array");return e=e.replace(/-/g,"+").replace(/_/g,"/"),b(e)}}function R(e){const t=[];let r="";if(e){const n=e.split(".");for(const e of n)"\\"===e.charAt(e.length-1)?r+=e.substr(0,e.length-1)+".":(r+=e,t.push(r),r="")}return t}function M(e){if(e)return"string"===typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}function B(e){if(e)return new Date(1e3*e)}function L(e,t,r){if(null!==r&&void 0!==r)if(null!==e.match(/^Number$/i)){if("number"!==typeof r)throw new Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!==typeof r.valueOf())throw new Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if("string"!==typeof r.valueOf()||!T(r))throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!==typeof r)throw new Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){const e=typeof r;if("string"!==e&&"function"!==typeof r.pipe&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&("function"!==typeof Blob&&"object"!==typeof Blob||!(r instanceof Blob)))throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, or NodeJS.ReadableStream.`)}return r}function D(e,t,r){if(!t)throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);const n=t.some((e=>"string"===typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r));if(!n)throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}function F(e,t){if(void 0!==t&&null!==t){if(!(t instanceof Uint8Array))throw new Error(`${e} must be of type Uint8Array.`);t=w(t)}return t}function $(e,t){if(void 0!==t&&null!==t){if(!(t instanceof Uint8Array))throw new Error(`${e} must be of type Uint8Array.`);t=P(t)}return t}function U(e,t,r){if(void 0!==t&&null!==t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"===typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=M(t)}else if(null!==e.match(/^TimeSpan$/i)&&!S(t))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`);return t}function j(e,t,r,n,o,i){var a;if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let s=t.type.element;if(!s||"object"!==typeof s)throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);"Composite"===s.type.name&&s.type.className&&(s=null!==(a=e.modelMappers[s.type.className])&&void 0!==a?a:s);const c=[];for(let u=0;ue!==o));s&&(a[o]=e.serialize(c,r[o],n+'["'+o+'"]',i))}}return a}return r}function W(e,t,r,n){if(!r||!e.xmlNamespace)return t;const o=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",i={[o]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[m])return t;{const e=Object.assign({},t);return e[m]=i,e}}const a={};return a[n.xml.xmlCharKey]=t,a[m]=i,a}function Z(e,t){return[m,t.xml.xmlCharKey].includes(e)}function K(e,t,r,n,o){var i;Q(e,t)&&(t=J(e,t,r,"serializedName"));const a=q(e,t,n);let s={};const c=[];for(const l of Object.keys(a)){const u=a[l],d=R(a[l].serializedName);c.push(d[0]);const{serializedName:f,xmlName:h,xmlElementName:p}=u;let g=n;""!==f&&void 0!==f&&(g=n+"."+f);const y=u.headerCollectionPrefix;if(y){const t={};for(const n of Object.keys(r))n.startsWith(y)&&(t[n.substring(y.length)]=e.deserialize(u.type.value,r[n],g,o)),c.push(n);s[l]=t}else if(e.isXML)if(u.xmlIsAttribute&&r[m])s[l]=e.deserialize(u,r[m][h],g,o);else{const t=p||h||f;if(u.xmlIsWrapped){const t=r[h],n=null!==(i=null===t||void 0===t?void 0:t[p])&&void 0!==i?i:[];s[l]=e.deserialize(u,n,g,o)}else{const n=r[t];s[l]=e.deserialize(u,n,g,o)}}else{let n,i=r;for(const e of d){if(!i)break;i=i[e]}n=i;const c=t.type.polymorphicDiscriminator;let f;if(!c||l!==c.clientName||void 0!==n&&null!==n||(n=t.serializedName),Array.isArray(r[l])&&""===a[l].serializedName){n=r[l];const t=e.deserialize(u,n,g,o);for(const[e,r]of Object.entries(s))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);s=t}else void 0===n&&void 0===u.defaultValue||(f=e.deserialize(u,n,g,o),s[l]=f)}}const u=t.type.additionalProperties;if(u){const t=e=>{for(const t in a){const r=R(a[t].serializedName);if(r[0]===e)return!1}return!0};for(const i in r)t(i)&&(s[i]=e.deserialize(u,r[i],n+'["'+i+'"]',o))}else if(r)for(const l of Object.keys(r))void 0!==s[l]||c.includes(l)||Z(l,o)||(s[l]=r[l]);return s}function Y(e,t,r,n,o){const i=t.type.value;if(!i||"object"!==typeof i)throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){const t={};for(const a of Object.keys(r))t[a]=e.deserialize(i,r[a],n,o);return t}return r}function X(e,t,r,n,o){var i;let a=t.type.element;if(!a||"object"!==typeof a)throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===a.type.name&&a.type.className&&(a=null!==(i=e.modelMappers[a.type.className])&&void 0!==i?i:a);const t=[];for(let i=0;i0)if(o.isConstant)i=o.defaultValue;else{let t=ne(e,n);!t.propertyFound&&r&&(t=ne(r,n));let a=!1;t.propertyFound||(a=o.required||"options"===n[0]&&2===n.length),i=a?o.defaultValue:t.propertyValue}}else{o.required&&(i={});for(const t in n){const a=o.type.modelProperties[t],s=n[t],c=re(e,{parameterPath:s,mapper:a},r);void 0!==c&&(i||(i={}),i[t]=c)}}return i}function ne(e,t){const r={propertyFound:!1};let n=0;for(;n=200&&r.status<300);c.headersMapper&&(i.parsedHeaders=s.serializer.deserialize(c.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders"))}return i}function he(e){const t=Object.keys(e.responses);return 0===t.length||1===t.length&&"default"===t[0]}function pe(e,t,r){var n;const o=200<=e.status&&e.status<300,i=he(t)?o:!!r;if(i){if(!r)return{error:null,shouldReturnResponse:!1};if(!r.isError)return{error:null,shouldReturnResponse:!1}}const a=null!==r&&void 0!==r?r:t.responses.default,s=(null===(n=e.request.streamResponseStatusCodes)||void 0===n?void 0:n.has(e.status))?`Unexpected status code: ${e.status}`:e.bodyAsText,c=new v.o(s,{statusCode:e.status,request:e.request,response:e});if(!a)throw c;const u=a.bodyMapper,l=a.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let n;if(u){let e=r;if(t.isXML&&u.type.name===te.Sequence){e=[];const t=u.xmlElementName;"object"===typeof r&&t&&(e=r[t])}n=t.serializer.deserialize(u,e,"error.response.parsedBody")}const o=r.error||n||r;c.code=o.code,o.message&&(c.message=o.message),u&&(c.response.parsedBody=n)}e.headers&&l&&(c.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){c.message=`Error "${d.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:!1}}async function ge(e,t,r,n,o){var i;if(!(null===(i=r.request.streamResponseStatusCodes)||void 0===i?void 0:i.has(r.status))&&r.bodyAsText){const i=r.bodyAsText,s=r.headers.get("Content-Type")||"",c=s?s.split(";").map((e=>e.toLowerCase())):[];try{if(0===c.length||c.some((t=>-1!==e.indexOf(t))))return r.parsedBody=JSON.parse(i),r;if(c.some((e=>-1!==t.indexOf(e)))){if(!o)throw new Error("Parsing XML not supported.");const e=await o(i,n.xml);return r.parsedBody=e,r}}catch(a){const e=`Error "${a}" occurred while parsing the response body - ${r.bodyAsText}.`,t=a.code||v.o.PARSE_ERROR,n=new v.o(e,{code:t,statusCode:r.status,request:r.request,response:r});throw n}}return r}function me(...e){if(e.length>0){const t=String(e[0]);t.includes(":error")?console.error(...e):t.includes(":warning")?console.warn(...e):t.includes(":info")?console.info(...e):(t.includes(":verbose"),console.debug(...e))}}const ye="undefined"!==typeof process&&process.env&&process.env.DEBUG||void 0;let ve,we=[],be=[];const _e=[];ye&&Se(ye);const Ee=Object.assign((e=>Ce(e)),{enable:Se,enabled:Ae,disable:Te,log:me});function Se(e){ve=e,we=[],be=[];const t=/\*/g,r=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const n of r)n.startsWith("-")?be.push(new RegExp(`^${n.substr(1)}$`)):we.push(new RegExp(`^${n}$`));for(const n of _e)n.enabled=Ae(n.namespace)}function Ae(e){if(e.endsWith("*"))return!0;for(const t of be)if(t.test(e))return!1;for(const t of we)if(t.test(e))return!0;return!1}function Te(){const e=ve||"";return Se(""),e}function Ce(e){const t=Object.assign(r,{enabled:Ae(e),destroy:xe,log:Ee.log,namespace:e,extend:Ie});function r(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))}return _e.push(t),t}function xe(){const e=_e.indexOf(this);return e>=0&&(_e.splice(e,1),!0)}function Ie(e){const t=Ce(`${this.namespace}:${e}`);return t.log=this.log,t}const Oe=Ee,Ne=new Set,Pe="undefined"!==typeof process&&process.env&&process.env.AZURE_LOG_LEVEL||void 0;let ke;const Re=Oe("azure");Re.log=(...e)=>{Oe.log(...e)};const Me=["verbose","info","warning","error"];function Be(e){if(e&&!je(e))throw new Error(`Unknown log level '${e}'. Acceptable values: ${Me.join(",")}`);ke=e;const t=[];for(const r of Ne)Ue(r)&&t.push(r.namespace);Oe.enable(t.join(","))}Pe&&(je(Pe)?Be(Pe):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Pe}'; logging is not enabled. Acceptable values: ${Me.join(", ")}.`));const Le={verbose:400,info:300,warning:200,error:100};function De(e){const t=Re.extend(e);return Fe(Re,t),{error:$e(t,"error"),warning:$e(t,"warning"),info:$e(t,"info"),verbose:$e(t,"verbose")}}function Fe(e,t){t.log=(...t)=>{e.log(...t)}}function $e(e,t){const r=Object.assign(e.extend(t),{level:t});if(Fe(e,r),Ue(r)){const e=Oe.disable();Oe.enable(e+","+r.namespace)}return Ne.add(r),r}function Ue(e){return!!(ke&&Le[e.level]<=Le[ke])}function je(e){return Me.includes(e)}const ze=De("core-rest-pipeline");var Ve=r(17440);const He="logPolicy";function qe(e={}){var t;const r=null!==(t=e.logger)&&void 0!==t?t:ze.info,n=new Ve.T({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:He,async sendRequest(e,t){if(!r.enabled)return t(e);r(`Request: ${n.sanitize(e)}`);const o=await t(e);return r(`Response status code: ${o.status}`),r(`Headers: ${n.sanitize(o.headers)}`),o}}}const Ge=new Set(["Deserialize","Serialize","Retry","Sign"]);class We{constructor(e){var t;this._policies=[],this._policies=null!==(t=null===e||void 0===e?void 0:e.slice(0))&&void 0!==t?t:[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!Ge.has(t.phase))throw new Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!Ge.has(t.afterPhase))throw new Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){const t=[];return this._policies=this._policies.filter((r=>!(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase)||(t.push(r.policy),!1))),this._orderedPolicies=void 0,t}sendRequest(e,t){const r=this.getOrderedPolicies(),n=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return n(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new We(this._policies)}static create(){return new We}orderPolicies(){const e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}const n=r("Serialize"),o=r("None"),i=r("Deserialize"),a=r("Retry"),s=r("Sign"),c=[n,o,i,a,s];function u(e){return"Retry"===e?a:"Serialize"===e?n:"Deserialize"===e?i:"Sign"===e?s:o}for(const h of this._policies){const e=h.policy,r=h.options,n=e.name;if(t.has(n))throw new Error("Duplicate policy names not allowed in pipeline");const o={policy:e,dependsOn:new Set,dependants:new Set};r.afterPhase&&(o.afterPhase=u(r.afterPhase),o.afterPhase.hasAfterPolicies=!0),t.set(n,o);const i=u(r.phase);i.policies.add(o)}for(const h of this._policies){const{policy:e,options:r}=h,n=e.name,o=t.get(n);if(!o)throw new Error(`Missing node for policy ${n}`);if(r.afterPolicies)for(const i of r.afterPolicies){const e=t.get(i);e&&(o.dependsOn.add(e),e.dependants.add(o))}if(r.beforePolicies)for(const i of r.beforePolicies){const e=t.get(i);e&&(e.dependsOn.add(o),o.dependants.add(e))}}function l(r){r.hasRun=!0;for(const n of r.policies)if((!n.afterPhase||n.afterPhase.hasRun&&!n.afterPhase.policies.size)&&0===n.dependsOn.size){e.push(n.policy);for(const e of n.dependants)e.dependsOn.delete(n);t.delete(n.policy.name),r.policies.delete(n)}}function d(){for(const e of c){if(l(e),e.policies.size>0&&e!==o)return void(o.hasRun||l(o));e.hasAfterPolicies&&l(o)}}let f=0;while(t.size>0){f++;const t=e.length;if(d(),e.length<=t&&f>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function Ze(){return We.create()}const Ke="redirectPolicy",Ye=["GET","HEAD"];function Xe(e={}){const{maxRetries:t=20}=e;return{name:Ke,async sendRequest(e,r){const n=await r(e);return Je(r,n,t)}}}async function Je(e,t,r,n=0){const{request:o,status:i,headers:a}=t,s=a.get("location");if(s&&(300===i||301===i&&Ye.includes(o.method)||302===i&&Ye.includes(o.method)||303===i&&"POST"===o.method||307===i)&&n{let i,a;const s=()=>o(new ft((null===r||void 0===r?void 0:r.abortErrorMsg)?null===r||void 0===r?void 0:r.abortErrorMsg:ht)),c=()=>{(null===r||void 0===r?void 0:r.abortSignal)&&a&&r.abortSignal.removeEventListener("abort",a)};if(a=()=>(i&&clearTimeout(i),c(),s()),(null===r||void 0===r?void 0:r.abortSignal)&&r.abortSignal.aborted)return s();i=setTimeout((()=>{c(),n(t)}),e),(null===r||void 0===r?void 0:r.abortSignal)&&r.abortSignal.addEventListener("abort",a)}))}function gt(e,t){const r=e.headers.get(t);if(!r)return;const n=Number(r);return Number.isNaN(n)?void 0:n}const mt="Retry-After",yt=["retry-after-ms","x-ms-retry-after-ms",mt];function vt(e){if(e&&[429,503].includes(e.status))try{for(const o of yt){const t=gt(e,o);if(0===t||t){const e=o===mt?1e3:1;return t*e}}const t=e.headers.get(mt);if(!t)return;const r=Date.parse(t),n=r-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch(t){return}}function wt(e){return Number.isFinite(vt(e))}function bt(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=vt(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}}}const _t=1e3,Et=64e3;function St(e={}){var t,r;const n=null!==(t=e.retryDelayInMs)&&void 0!==t?t:_t,o=null!==(r=e.maxRetryDelayInMs)&&void 0!==r?r:Et;let i=n;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:r,responseError:n}){const a=Tt(n),s=a&&e.ignoreSystemErrors,c=At(r),u=c&&e.ignoreHttpStatusCodes,l=r&&(wt(r)||!c);if(l||u||s)return{skipStrategy:!0};if(n&&!a&&!c)return{errorToThrow:n};const d=i*Math.pow(2,t),f=Math.min(o,d);return i=f/2+dt(0,f/2),{retryAfterInMs:i}}}}function At(e){return Boolean(e&&void 0!==e.status&&(e.status>=500||408===e.status)&&501!==e.status&&505!==e.status)}function Tt(e){return!!e&&("ETIMEDOUT"===e.code||"ESOCKETTIMEDOUT"===e.code||"ECONNREFUSED"===e.code||"ECONNRESET"===e.code||"ENOENT"===e.code)}const Ct=De("core-rest-pipeline retryPolicy"),xt="retryPolicy";function It(e,t={maxRetries:rt}){const r=t.logger||Ct;return{name:xt,async sendRequest(n,o){var i,a;let s,c,u=-1;e:while(1){u+=1,s=void 0,c=void 0;try{r.info(`Retry ${u}: Attempting to send request`,n.requestId),s=await o(n),r.info(`Retry ${u}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${u}: Received an error from request`,n.requestId),c=l,!l||"RestError"!==c.name)throw l;s=c.response}if(null===(i=n.abortSignal)||void 0===i?void 0:i.aborted){r.error(`Retry ${u}: Request aborted.`);const e=new ft;throw e}if(u>=(null!==(a=t.maxRetries)&&void 0!==a?a:rt)){if(r.info(`Retry ${u}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),c)throw c;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${u}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||Ct;e.info(`Retry ${u}: Processing retry strategy ${t.name}.`);const r=t.retry({retryCount:u,response:s,responseError:c});if(r.skipStrategy){e.info(`Retry ${u}: Skipped.`);continue t}const{errorToThrow:o,retryAfterInMs:i,redirectTo:a}=r;if(o)throw e.error(`Retry ${u}: Retry strategy ${t.name} throws error:`,o),o;if(i||0===i){e.info(`Retry ${u}: Retry strategy ${t.name} retries after ${i}`),await pt(i,void 0,{abortSignal:n.abortSignal});continue e}if(a){e.info(`Retry ${u}: Retry strategy ${t.name} redirects to ${a}`),n.url=a;continue e}}if(c)throw r.info("None of the retry strategies could work with the received error. Throwing it."),c;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}const Ot="defaultRetryPolicy";function Nt(e={}){var t;return{name:Ot,sendRequest:It([bt(),St(e)],{maxRetries:null!==(t=e.maxRetries)&&void 0!==t?t:rt}).sendRequest}}const Pt="formDataPolicy";function kt(){return{name:Pt,async sendRequest(e,t){if(e.formData){const t=e.formData,r=new FormData;for(const e of Object.keys(t)){const n=t[e];if(Array.isArray(n))for(const t of n)r.append(e,t);else r.append(e,n)}e.body=r,e.formData=void 0;const n=e.headers.get("Content-Type");n&&-1!==n.indexOf("application/x-www-form-urlencoded")?e.body=new URLSearchParams(r).toString():n&&-1!==n.indexOf("multipart/form-data")&&e.headers.delete("Content-Type")}return t(e)}}}const Rt=!1,Mt=new Error("proxyPolicy is not supported in browser environment");function Bt(){throw Mt}const Lt="setClientRequestIdPolicy";function Dt(e="x-ms-client-request-id"){return{name:Lt,async sendRequest(t,r){return t.headers.has(e)||t.headers.set(e,t.requestId),r(t)}}}const Ft="tlsPolicy";function $t(e){return{name:Ft,sendRequest:async(t,r)=>(t.tlsSettings||(t.tlsSettings=e),r(t))}}const Ut={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function jt(e={}){let t=new zt(e.parentContext);return e.span&&(t=t.setValue(Ut.span,e.span)),e.namespace&&(t=t.setValue(Ut.namespace,e.namespace)),t}class zt{constructor(e){this._contextMap=e instanceof zt?new Map(e._contextMap):new Map}setValue(e,t){const r=new zt(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new zt(this);return t._contextMap.delete(e),t}}function Vt(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{}}}function Ht(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:Vt(),tracingContext:jt({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}let qt;function Gt(){return qt||(qt=Ht()),qt}function Wt(e){const{namespace:t,packageName:r,packageVersion:n}=e;function o(e,o,i){var a;const s=Gt().startSpan(e,Object.assign(Object.assign({},i),{packageName:r,packageVersion:n,tracingContext:null===(a=null===o||void 0===o?void 0:o.tracingOptions)||void 0===a?void 0:a.tracingContext}));let c=s.tracingContext;const u=s.span;c.getValue(Ut.namespace)||(c=c.setValue(Ut.namespace,t)),u.setAttribute("az.namespace",c.getValue(Ut.namespace));const l=Object.assign({},o,{tracingOptions:Object.assign(Object.assign({},null===o||void 0===o?void 0:o.tracingOptions),{tracingContext:c})});return{span:u,updatedOptions:l}}async function i(e,t,r,n){const{span:i,updatedOptions:s}=o(e,t,n);try{const e=await a(s.tracingOptions.tracingContext,(()=>Promise.resolve(r(s,i))));return i.setStatus({status:"success"}),e}catch(c){throw i.setStatus({status:"error",error:c}),c}finally{i.end()}}function a(e,t,...r){return Gt().withContext(e,t,...r)}function s(e){return Gt().parseTraceparentHeader(e)}function c(e){return Gt().createRequestHeaders(e)}return{startSpan:o,withSpan:i,withContext:a,parseTraceparentHeader:s,createRequestHeaders:c}}var Zt=r(55742);const Kt="tracingPolicy";function Yt(e={}){const t=it(e.userAgentPrefix),r=Xt();return{name:Kt,async sendRequest(e,n){var o,i;if(!r||!(null===(o=e.tracingOptions)||void 0===o?void 0:o.tracingContext))return n(e);const{span:a,tracingContext:s}=null!==(i=Jt(r,e,t))&&void 0!==i?i:{};if(!a||!s)return n(e);try{const t=await r.withContext(s,n,e);return er(a,t),t}catch(c){throw Qt(a,c),c}}}}function Xt(){try{return Wt({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:tt})}catch(e){return void ze.warning(`Error when creating the TracingClient: ${(0,Zt.e)(e)}`)}}function Jt(e,t,r){try{const{span:n,updatedOptions:o}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:{"http.method":t.method,"http.url":t.url,requestId:t.requestId}});if(!n.isRecording())return void n.end();r&&n.setAttribute("http.user_agent",r);const i=e.createRequestHeaders(o.tracingOptions.tracingContext);for(const[e,r]of Object.entries(i))t.headers.set(e,r);return{span:n,tracingContext:o.tracingOptions.tracingContext}}catch(n){return void ze.warning(`Skipping creating a tracing span due to an error: ${(0,Zt.e)(n)}`)}}function Qt(e,t){try{e.setStatus({status:"error",error:(0,Zt.V)(t)?t:void 0}),(0,v.h)(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(r){ze.warning(`Skipping tracing span processing due to an error: ${(0,Zt.e)(r)}`)}}function er(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),e.setStatus({status:"success"}),e.end()}catch(r){ze.warning(`Skipping tracing span processing due to an error: ${(0,Zt.e)(r)}`)}}function tr(e){const t=Ze();return Rt&&(e.tlsOptions&&t.addPolicy($t(e.tlsOptions)),t.addPolicy(Bt(e.proxyOptions)),t.addPolicy(lt())),t.addPolicy(kt()),t.addPolicy(ct(e.userAgentOptions)),t.addPolicy(Dt()),t.addPolicy(Nt(e.retryOptions),{phase:"Retry"}),t.addPolicy(Yt(e.userAgentOptions),{afterPhase:"Retry"}),Rt&&t.addPolicy(Xe(e.redirectOptions),{afterPhase:"Retry"}),t.addPolicy(qe(e.loggingOptions),{afterPhase:"Sign"}),t}const rr={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function nr(e,t,r){async function n(){if(!(Date.now()e.getToken(t,s);n=nr(a,i.retryIntervalInMs,null!==(c=null===o||void 0===o?void 0:o.expiresOnTimestamp)&&void 0!==c?c:Date.now()).then((e=>(n=null,o=e,r=s.tenantId,o))).catch((e=>{throw n=null,o=null,r=void 0,e}))}return n}return async(e,t)=>{const n=r!==t.tenantId||Boolean(t.claims)||a.mustRefresh;return n?s(e,t):(a.shouldRefresh&&s(e,t),o)}}const ir="bearerTokenAuthenticationPolicy";async function ar(e){const{scopes:t,getAccessToken:r,request:n}=e,o={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions},i=await r(t,o);i&&e.request.headers.set("Authorization",`Bearer ${i.token}`)}function sr(e){const t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}function cr(e){var t;const{credential:r,scopes:n,challengeCallbacks:o}=e,i=e.logger||ze,a=Object.assign({authorizeRequest:null!==(t=null===o||void 0===o?void 0:o.authorizeRequest)&&void 0!==t?t:ar,authorizeRequestOnChallenge:null===o||void 0===o?void 0:o.authorizeRequestOnChallenge},o),s=r?or(r):()=>Promise.resolve(null);return{name:ir,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");let r,o;await a.authorizeRequest({scopes:Array.isArray(n)?n:[n],request:e,getAccessToken:s,logger:i});try{r=await t(e)}catch(c){o=c,r=c.response}if(a.authorizeRequestOnChallenge&&401===(null===r||void 0===r?void 0:r.status)&&sr(r)){const o=await a.authorizeRequestOnChallenge({scopes:Array.isArray(n)?n:[n],request:e,response:r,getAccessToken:s,logger:i});if(o)return t(e)}if(o)throw o;return r}}}function ur(e){const t=new Set;for(const r in e.responses){const n=e.responses[r];n.bodyMapper&&n.bodyMapper.type.name===te.Stream&&t.add(Number(r))}return t}function lr(e){const{parameterPath:t,mapper:r}=e;let n;return n="string"===typeof t?t:Array.isArray(t)?t.join("."):r.serializedName,n}const dr="serializationPolicy";function fr(e={}){const t=e.stringifyXML;return{name:dr,async sendRequest(e,r){const n=ie(e),o=null===n||void 0===n?void 0:n.operationSpec,i=null===n||void 0===n?void 0:n.operationArguments;return o&&i&&(hr(e,i,o),pr(e,i,o,t)),r(e)}}}function hr(e,t,r){var n,o;if(r.headerParameters)for(const a of r.headerParameters){let n=re(t,a);if(null!==n&&void 0!==n||a.mapper.required){n=r.serializer.serialize(a.mapper,n,lr(a));const t=a.mapper.headerCollectionPrefix;if(t)for(const r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(a.mapper.serializedName||lr(a),n)}}const i=null===(o=null===(n=t.options)||void 0===n?void 0:n.requestOptions)||void 0===o?void 0:o.customHeaders;if(i)for(const a of Object.keys(i))e.headers.set(a,i[a])}function pr(e,t,r,n=function(){throw new Error("XML serialization unsupported!")}){var o,i,a,s,c;const u=null===(o=t.options)||void 0===o?void 0:o.serializerOptions,l={xml:{rootName:null!==(i=null===u||void 0===u?void 0:u.xml.rootName)&&void 0!==i?i:"",includeRoot:null!==(a=null===u||void 0===u?void 0:u.xml.includeRoot)&&void 0!==a&&a,xmlCharKey:null!==(s=null===u||void 0===u?void 0:u.xml.xmlCharKey)&&void 0!==s?s:y}},d=l.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=re(t,r.requestBody);const o=r.requestBody.mapper,{required:i,serializedName:a,xmlName:s,xmlElementName:u,xmlNamespace:h,xmlNamespacePrefix:p,nullable:g}=o,m=o.type.name;try{if(void 0!==e.body&&null!==e.body||g&&null===e.body||i){const t=lr(r.requestBody);e.body=r.serializer.serialize(o,e.body,t,l);const i=m===te.Stream;if(r.isXML){const t=p?`xmlns:${p}`:"xmlns",r=gr(h,t,m,e.body,l);m===te.Sequence?e.body=n(mr(r,u||s||a,t,h),{rootName:s||a,xmlCharKey:d}):i||(e.body=n(r,{rootName:s||a,xmlCharKey:d}))}else{if(m===te.String&&((null===(c=r.contentType)||void 0===c?void 0:c.match("text/plain"))||"text"===r.mediaType))return;i||(e.body=JSON.stringify(e.body))}}}catch(f){throw new Error(`Error "${f.message}" occurred in serializing the payload - ${JSON.stringify(a,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const n of r.formDataParameters){const o=re(t,n);if(void 0!==o&&null!==o){const t=n.mapper.serializedName||lr(n);e.formData[t]=r.serializer.serialize(n.mapper,o,lr(n),l)}}}}function gr(e,t,r,n,o){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};return r[o.xml.xmlCharKey]=n,r[m]={[t]:e},r}return n}function mr(e,t,r,n){if(Array.isArray(e)||(e=[e]),!r||!n)return{[t]:e};const o={[t]:e};return o[m]={[r]:n},o}function yr(e={}){const t=tr(null!==e&&void 0!==e?e:{});return e.credentialOptions&&t.addPolicy(cr({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),t.addPolicy(fr(e.serializationOptions),{phase:"Serialize"}),t.addPolicy(ue(e.deserializationOptions),{phase:"Deserialize"}),t}function vr(e){return e&&"function"===typeof e.pipe}function wr(e){return Boolean(e&&"function"===typeof e.getReader&&"function"===typeof e.tee)}function br(e){return("function"===typeof Blob||"object"===typeof Blob)&&e instanceof Blob}class _r{async sendRequest(e){const t=new URL(e.url),r="https:"!==t.protocol;if(r&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);if(e.proxySettings)throw new Error("HTTP proxy is not supported in browser environment");try{return await Er(e)}catch(n){throw Tr(n,e)}}}async function Er(e){const{abortController:t,abortControllerCleanup:r}=Ar(e);try{const r=Cr(e.headers),n=Ir(e),o=await fetch(e.url,{body:n,method:e.method,headers:r,signal:t.signal,credentials:e.withCredentials?"include":"same-origin",cache:"no-store"});return br(e.body)&&e.onUploadProgress&&e.onUploadProgress({loadedBytes:e.body.size}),Sr(o,e)}finally{r&&r()}}async function Sr(e,t){var r,n;const o=xr(e),i={request:t,headers:o,status:e.status},a=wr(e.body)?Or(e.body,t.onDownloadProgress):e.body;if((null===(r=t.streamResponseStatusCodes)||void 0===r?void 0:r.has(Number.POSITIVE_INFINITY))||(null===(n=t.streamResponseStatusCodes)||void 0===n?void 0:n.has(i.status)))if(t.enableBrowserStreams)i.browserStreamBody=null!==a&&void 0!==a?a:void 0;else{const e=new Response(a);i.blobBody=e.blob()}else{const e=new Response(a);i.bodyAsText=await e.text()}return i}function Ar(e){const t=new AbortController;let r,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new ft("The operation was aborted.");n=e=>{"abort"===e.type&&t.abort()},e.abortSignal.addEventListener("abort",n),r=()=>{var t;n&&(null===(t=e.abortSignal)||void 0===t||t.removeEventListener("abort",n))}}return e.timeout>0&&setTimeout((()=>{t.abort()}),e.timeout),{abortController:t,abortControllerCleanup:r}}function Tr(e,t){var r;return e&&"AbortError"===(null===e||void 0===e?void 0:e.name)?e:new v.o(`Error sending request: ${e.message}`,{code:null!==(r=null===e||void 0===e?void 0:e.code)&&void 0!==r?r:v.o.REQUEST_SEND_ERROR,request:t})}function Cr(e){const t=new Headers;for(const[r,n]of e)t.append(r,n);return t}function xr(e){const t=d();for(const[r,n]of e.headers)t.set(r,n);return t}function Ir(e){const t="function"===typeof e.body?e.body():e.body;if(vr(t))throw new Error("Node streams are not supported in browser environment.");return wr(t)?Or(t,e.onUploadProgress):t}function Or(e,t){let r=0;if(Pr(e))return e.pipeThrough(new TransformStream({transform(e,n){null!==e?(n.enqueue(e),r+=e.length,t&&t({loadedBytes:r})):n.terminate()}}));{const n=e.getReader();return new ReadableStream({async pull(e){var o;const{done:i,value:a}=await n.read();if(i||!a)return e.close(),void n.releaseLock();r+=null!==(o=null===a||void 0===a?void 0:a.length)&&void 0!==o?o:0,e.enqueue(a),t&&t({loadedBytes:r})}})}}function Nr(){return new _r}function Pr(e){return void 0!==e.pipeThrough&&void 0!==self.TransformStream}function kr(){return Nr()}let Rr;function Mr(){return Rr||(Rr=kr()),Rr}const Br={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function Lr(e,t,r,n){const o=Fr(t,r,n);let i=!1,a=Dr(e,o);if(t.path){let e=Dr(t.path,o);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),$r(e)?(a=e,i=!0):a=Ur(a,e)}const{queryParams:s,sequenceParams:c}=jr(t,r,n);return a=Vr(a,s,c,i),a}function Dr(e,t){let r=e;for(const[n,o]of t)r=r.split(n).join(o);return r}function Fr(e,t,r){var n;const o=new Map;if(null===(n=e.urlParameters)||void 0===n?void 0:n.length)for(const i of e.urlParameters){let n=re(t,i,r);const a=lr(i);n=e.serializer.serialize(i.mapper,n,a),i.skipEncoding||(n=encodeURIComponent(n)),o.set(`{${i.mapper.serializedName||a}}`,n)}return o}function $r(e){return e.includes("://")}function Ur(e,t){if(!t)return e;const r=new URL(e);let n=r.pathname;n.endsWith("/")||(n=`${n}/`),t.startsWith("/")&&(t=t.substring(1));const o=t.indexOf("?");if(-1!==o){const e=t.substring(0,o),i=t.substring(o+1);n+=e,i&&(r.search=r.search?`${r.search}&${i}`:i)}else n+=t;return r.pathname=n,r.toString()}function jr(e,t,r){var n;const o=new Map,i=new Set;if(null===(n=e.queryParameters)||void 0===n?void 0:n.length)for(const a of e.queryParameters){"Sequence"===a.mapper.type.name&&a.mapper.serializedName&&i.add(a.mapper.serializedName);let n=re(t,a,r);if(void 0!==n&&null!==n||a.mapper.required){n=e.serializer.serialize(a.mapper,n,lr(a));const t=a.collectionFormat?Br[a.collectionFormat]:"";if(Array.isArray(n)&&(n=n.map((e=>null===e||void 0===e?"":e))),"Multi"===a.collectionFormat&&0===n.length)continue;!Array.isArray(n)||"SSV"!==a.collectionFormat&&"TSV"!==a.collectionFormat||(n=n.join(t)),a.skipEncoding||(n=Array.isArray(n)?n.map((e=>encodeURIComponent(e))):encodeURIComponent(n)),!Array.isArray(n)||"CSV"!==a.collectionFormat&&"Pipes"!==a.collectionFormat||(n=n.join(t)),o.set(a.mapper.serializedName||lr(a),n)}}return{queryParams:o,sequenceParams:i}}function zr(e){const t=new Map;if(!e||"?"!==e[0])return t;e=e.slice(1);const r=e.split("&");for(const n of r){const[e,r]=n.split("=",2),o=t.get(e);o?Array.isArray(o)?o.push(r):t.set(e,[o,r]):t.set(e,r)}return t}function Vr(e,t,r,n=!1){if(0===t.size)return e;const o=new URL(e),i=zr(o.search);for(const[s,c]of t){const e=i.get(s);if(Array.isArray(e))if(Array.isArray(c)){e.push(...c);const t=new Set(e);i.set(s,Array.from(t))}else e.push(c);else e?(Array.isArray(c)?c.unshift(e):r.has(s)&&i.set(s,[e,c]),n||i.set(s,c)):i.set(s,c)}const a=[];for(const[s,c]of i)if("string"===typeof c)a.push(`${s}=${c}`);else if(Array.isArray(c))for(const e of c)a.push(`${s}=${e}`);else a.push(`${s}=${c}`);return o.search=a.length?`?${a.join("&")}`:"",o.toString()}const Hr=De("core-client");class qr{constructor(e={}){var t,r;if(this._requestContentType=e.requestContentType,this._endpoint=null!==(t=e.endpoint)&&void 0!==t?t:e.baseUri,e.baseUri&&Hr.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||Mr(),this.pipeline=e.pipeline||Gr(e),null===(r=e.additionalPolicies)||void 0===r?void 0:r.length)for(const{policy:n,position:o}of e.additionalPolicies){const e="perRetry"===o?"Sign":void 0;this.pipeline.addPolicy(n,{afterPhase:e})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");const n=Lr(r,t,e,this),o=g({url:n});o.method=t.httpMethod;const i=ie(o);i.operationSpec=t,i.operationArguments=e;const a=t.contentType||this._requestContentType;a&&t.requestBody&&o.headers.set("Content-Type",a);const s=e.options;if(s){const e=s.requestOptions;e&&(e.timeout&&(o.timeout=e.timeout),e.onUploadProgress&&(o.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(o.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(o.allowInsecureConnection=!0)),s.abortSignal&&(o.abortSignal=s.abortSignal),s.tracingOptions&&(o.tracingOptions=s.tracingOptions)}this._allowInsecureConnection&&(o.allowInsecureConnection=!0),void 0===o.streamResponseStatusCodes&&(o.streamResponseStatusCodes=ur(t));try{const e=await this.sendRequest(o),r=x(e,t.responses[e.status]);return(null===s||void 0===s?void 0:s.onResponse)&&s.onResponse(e,r),r}catch(c){if("object"===typeof c&&(null===c||void 0===c?void 0:c.response)){const e=c.response,r=x(e,t.responses[c.statusCode]||t.responses["default"]);c.details=r,(null===s||void 0===s?void 0:s.onResponse)&&s.onResponse(e,r,c)}throw c}}}function Gr(e){const t=Wr(e),r=e.credential&&t?{credentialScopes:t,credential:e.credential}:void 0;return yr(Object.assign(Object.assign({},e),{credentialOptions:r}))}function Wr(e){if(e.credentialScopes){const t=e.credentialScopes;return Array.isArray(t)?t.map((e=>new URL(e).toString())):new URL(t).toString()}if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential&&!e.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}const Zr={type:{name:"Composite",className:"Header",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},miner:{serializedName:"miner",type:{name:"String"}},beneficiary:{serializedName:"beneficiary",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},pow:{constraints:{MinItems:42,MaxItems:42},serializedName:"pow",type:{name:"Sequence",element:{type:{name:"String"}}}},nonce:{serializedName:"nonce",type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},info:{serializedName:"info",type:{name:"String"}},pofHash:{serializedName:"pof_hash",type:{name:"String"}},txsHash:{serializedName:"txs_hash",type:{name:"String"}},signature:{serializedName:"signature",type:{name:"String"}}}}},Kr={type:{name:"Composite",className:"ErrorModel",modelProperties:{reason:{serializedName:"reason",required:!0,type:{name:"String"}}}}},Yr={type:{name:"Composite",className:"KeyBlock",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},miner:{serializedName:"miner",required:!0,type:{name:"String"}},beneficiary:{serializedName:"beneficiary",required:!0,type:{name:"String"}},target:{serializedName:"target",required:!0,type:{name:"String"}},pow:{constraints:{MinItems:42,MaxItems:42},serializedName:"pow",type:{name:"Sequence",element:{type:{name:"String"}}}},nonce:{serializedName:"nonce",type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},info:{serializedName:"info",required:!0,type:{name:"String"}}}}},Xr={type:{name:"Composite",className:"HashResponse",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}}}}},Jr={type:{name:"Composite",className:"HeightResponse",modelProperties:{height:{serializedName:"height",required:!0,type:{name:"String"}}}}},Qr={type:{name:"Composite",className:"MicroBlockHeader",modelProperties:{hash:{serializedName:"hash",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},pofHash:{serializedName:"pof_hash",required:!0,type:{name:"String"}},prevHash:{serializedName:"prev_hash",required:!0,type:{name:"String"}},prevKeyHash:{serializedName:"prev_key_hash",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},txsHash:{serializedName:"txs_hash",required:!0,type:{name:"String"}},signature:{serializedName:"signature",required:!0,type:{name:"String"}},time:{serializedName:"time",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}}}}},en={type:{name:"Composite",className:"SignedTxs",modelProperties:{transactions:{serializedName:"transactions",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedTx"}}}}}}},tn={type:{name:"Composite",className:"SignedTx",modelProperties:{tx:{serializedName:"tx",type:{name:"Composite",className:"Tx"}},blockHeight:{serializedName:"block_height",required:!0,type:{name:"String"}},blockHash:{serializedName:"block_hash",required:!0,type:{name:"String"}},hash:{serializedName:"hash",required:!0,type:{name:"String"}},signatures:{serializedName:"signatures",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},rn={serializedName:"Tx",type:{name:"Composite",className:"Tx",uberParent:"Tx",polymorphicDiscriminator:{serializedName:"type",clientName:"type"},modelProperties:{recipientId:{serializedName:"recipient_id",type:{name:"String"}},amount:{serializedName:"amount",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},payload:{serializedName:"payload",type:{name:"String"}},initiatorId:{serializedName:"initiator_id",type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",type:{name:"String"}},responderId:{serializedName:"responder_id",type:{name:"String"}},responderAmount:{serializedName:"responder_amount",type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",type:{name:"String"}},lockPeriod:{serializedName:"lock_period",type:{name:"String"}},stateHash:{serializedName:"state_hash",type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}},channelId:{serializedName:"channel_id",type:{name:"String"}},fromId:{serializedName:"from_id",type:{name:"String"}},round:{serializedName:"round",type:{name:"String"}},toId:{serializedName:"to_id",type:{name:"String"}},update:{serializedName:"update",type:{name:"Composite",className:"OffChainUpdate"}},offchainTrees:{serializedName:"offchain_trees",type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",type:{name:"String"}},poi:{serializedName:"poi",type:{name:"String"}},initiatorDelegateIds:{serializedName:"initiator_delegate_ids",type:{name:"Sequence",element:{type:{name:"String"}}}},responderDelegateIds:{serializedName:"responder_delegate_ids",type:{name:"Sequence",element:{type:{name:"String"}}}},queryFormat:{serializedName:"query_format",type:{name:"String"}},responseFormat:{serializedName:"response_format",type:{name:"String"}},queryFee:{serializedName:"query_fee",type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"RelativeTTL"}},accountId:{serializedName:"account_id",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}},oracleId:{serializedName:"oracle_id",type:{name:"String"}},query:{serializedName:"query",type:{name:"String"}},queryTtl:{serializedName:"query_ttl",type:{name:"Composite",className:"Ttl"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},queryId:{serializedName:"query_id",type:{name:"String"}},response:{serializedName:"response",type:{name:"String"}},commitmentId:{serializedName:"commitment_id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},nameSalt:{serializedName:"name_salt",type:{name:"String"}},nameFee:{serializedName:"name_fee",type:{name:"String"}},nameId:{serializedName:"name_id",type:{name:"String"}},nameTtl:{serializedName:"name_ttl",type:{name:"String"}},pointers:{serializedName:"pointers",type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}},clientTtl:{serializedName:"client_ttl",type:{name:"String"}},ownerId:{serializedName:"owner_id",type:{name:"String"}},code:{serializedName:"code",type:{name:"String"}},vmVersion:{serializedName:"vm_version",type:{name:"String"}},deposit:{serializedName:"deposit",type:{name:"String"}},gas:{serializedName:"gas",type:{name:"String"}},gasPrice:{serializedName:"gas_price",type:{name:"String"}},callData:{serializedName:"call_data",type:{name:"String"}},callerId:{serializedName:"caller_id",type:{name:"String"}},contractId:{serializedName:"contract_id",type:{name:"String"}},authFun:{constraints:{Pattern:new RegExp("^(0x|0X)?[a-fA-F0-9]+$")},serializedName:"auth_fun",type:{name:"String"}},gaId:{serializedName:"ga_id",type:{name:"String"}},authData:{serializedName:"auth_data",type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}},payerId:{serializedName:"payer_id",type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}},type:{serializedName:"type",required:!0,type:{name:"Enum",allowedValues:["SpendTx","ChannelCreateTx","ChannelDepositTx","ChannelWithdrawTx","ChannelForceProgressTx","ChannelCloseMutualTx","ChannelCloseSoloTx","ChannelSlashTx","ChannelSettleTx","ChannelSnapshotSoloTx","ChannelSetDelegatesTx","OracleRegisterTx","OracleExtendTx","OracleQueryTx","OracleRespondTx","NamePreclaimTx","NameClaimTx","NameUpdateTx","NameTransferTx","NameRevokeTx","ContractCreateTx","ContractCallTx","GAAttachTx","GAMetaTx","PayingForTx"]}}}}},nn={type:{name:"Composite",className:"Delegates",modelProperties:{initiator:{serializedName:"initiator",type:{name:"Sequence",element:{type:{name:"String"}}}},responder:{serializedName:"responder",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},on={type:{name:"Composite",className:"OffChainUpdate",uberParent:"OffChainUpdate",polymorphicDiscriminator:{serializedName:"op",clientName:"op"},modelProperties:{op:{serializedName:"op",required:!0,type:{name:"String"}}}}},an={type:{name:"Composite",className:"RelativeTTL",modelProperties:{type:{defaultValue:"delta",isConstant:!0,serializedName:"type",type:{name:"String"}},value:{serializedName:"value",required:!0,type:{name:"String"}}}}},sn={type:{name:"Composite",className:"Ttl",modelProperties:{type:{serializedName:"type",required:!0,type:{name:"Enum",allowedValues:["delta","block"]}},value:{serializedName:"value",required:!0,type:{name:"String"}}}}},cn={type:{name:"Composite",className:"NamePointer",modelProperties:{key:{serializedName:"key",required:!0,type:{name:"String"}},id:{serializedName:"id",required:!0,type:{name:"String"}}}}},un={type:{name:"Composite",className:"CountResponse",modelProperties:{count:{serializedName:"count",required:!0,type:{name:"String"}}}}},ln={type:{name:"Composite",className:"Generation",modelProperties:{keyBlock:{serializedName:"key_block",type:{name:"Composite",className:"KeyBlock"}},microBlocks:{serializedName:"micro_blocks",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},dn={type:{name:"Composite",className:"Account",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},balance:{serializedName:"balance",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},payable:{serializedName:"payable",type:{name:"Boolean"}},kind:{serializedName:"kind",type:{name:"Enum",allowedValues:["basic","generalized"]}},contractId:{serializedName:"contract_id",type:{name:"String"}},authFun:{serializedName:"auth_fun",type:{name:"String"}}}}},fn={type:{name:"Composite",className:"NextNonceResponse",modelProperties:{nextNonce:{serializedName:"next_nonce",required:!0,type:{name:"String"}}}}},hn={type:{name:"Composite",className:"DryRunInput",modelProperties:{top:{serializedName:"top",type:{name:"String"}},accounts:{serializedName:"accounts",type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunAccount"}}}},txs:{serializedName:"txs",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunInputItem"}}}},txEvents:{defaultValue:!1,serializedName:"tx_events",type:{name:"Boolean"}}}}},pn={type:{name:"Composite",className:"DryRunAccount",modelProperties:{pubKey:{serializedName:"pub_key",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},gn={type:{name:"Composite",className:"DryRunInputItem",modelProperties:{tx:{serializedName:"tx",type:{name:"String"}},callReq:{serializedName:"call_req",type:{name:"Composite",className:"DryRunCallReq"}}}}},mn={type:{name:"Composite",className:"DryRunCallReq",modelProperties:{calldata:{serializedName:"calldata",required:!0,type:{name:"String"}},contract:{serializedName:"contract",required:!0,type:{name:"String"}},amount:{serializedName:"amount",type:{name:"String"}},gas:{serializedName:"gas",type:{name:"String"}},caller:{serializedName:"caller",type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}},context:{serializedName:"context",type:{name:"Composite",className:"DryRunCallContext"}}}}},yn={type:{name:"Composite",className:"DryRunCallContext",modelProperties:{tx:{serializedName:"tx",type:{name:"String"}},txHash:{serializedName:"tx_hash",type:{name:"String"}},stateful:{serializedName:"stateful",type:{name:"Boolean"}}}}},vn={type:{name:"Composite",className:"DryRunResults",modelProperties:{results:{serializedName:"results",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DryRunResult"}}}},txEvents:{serializedName:"tx_events",type:{name:"Sequence",element:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}}}}},wn={type:{name:"Composite",className:"DryRunResult",modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},result:{serializedName:"result",required:!0,type:{name:"String"}},reason:{serializedName:"reason",type:{name:"String"}},callObj:{serializedName:"call_obj",type:{name:"Composite",className:"ContractCallObject"}}}}},bn={type:{name:"Composite",className:"ContractCallObject",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},callerNonce:{serializedName:"caller_nonce",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},gasUsed:{serializedName:"gas_used",required:!0,type:{name:"String"}},log:{serializedName:"log",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Event"}}}},returnValue:{serializedName:"return_value",required:!0,type:{name:"String"}},returnType:{serializedName:"return_type",required:!0,type:{name:"Enum",allowedValues:["ok","error","revert"]}}}}},_n={type:{name:"Composite",className:"Event",modelProperties:{address:{serializedName:"address",required:!0,type:{name:"String"}},topics:{serializedName:"topics",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},data:{serializedName:"data",required:!0,type:{name:"String"}}}}},En={type:{name:"Composite",className:"TxInfoObject",modelProperties:{callInfo:{serializedName:"call_info",type:{name:"Composite",className:"ContractCallObject"}},gaInfo:{serializedName:"ga_info",type:{name:"Composite",className:"GAObject"}},txInfo:{serializedName:"tx_info",type:{name:"String"}}}}},Sn={type:{name:"Composite",className:"GAObject",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},height:{serializedName:"height",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},gasUsed:{serializedName:"gas_used",required:!0,type:{name:"String"}},returnValue:{serializedName:"return_value",required:!0,type:{name:"String"}},returnType:{serializedName:"return_type",required:!0,type:{name:"Enum",allowedValues:["ok","error"]}},innerObject:{serializedName:"inner_object",type:{name:"Composite",className:"TxInfoObject"}}}}},An={type:{name:"Composite",className:"EncodedTx",modelProperties:{tx:{serializedName:"tx",required:!0,type:{name:"String"}}}}},Tn={type:{name:"Composite",className:"PostTxResponse",modelProperties:{txHash:{serializedName:"tx_hash",required:!0,type:{name:"String"}}}}},Cn={type:{name:"Composite",className:"ContractObject",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},active:{serializedName:"active",required:!0,type:{name:"Boolean"}},referrerIds:{serializedName:"referrer_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}}}}},xn={type:{name:"Composite",className:"ByteCode",modelProperties:{bytecode:{serializedName:"bytecode",required:!0,type:{name:"String"}}}}},In={type:{name:"Composite",className:"PoI",modelProperties:{poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},On={type:{name:"Composite",className:"RegisteredOracle",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},queryFormat:{serializedName:"query_format",required:!0,type:{name:"String"}},responseFormat:{serializedName:"response_format",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}}}}},Nn={type:{name:"Composite",className:"OracleQueries",modelProperties:{oracleQueries:{serializedName:"oracle_queries",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OracleQuery"}}}}}}},Pn={type:{name:"Composite",className:"OracleQuery",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},senderNonce:{serializedName:"sender_nonce",required:!0,type:{name:"String"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},query:{serializedName:"query",required:!0,type:{name:"String"}},response:{serializedName:"response",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"Ttl"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}}}}},kn={type:{name:"Composite",className:"NameEntry",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},owner:{serializedName:"owner",type:{name:"String"}},ttl:{serializedName:"ttl",required:!0,type:{name:"String"}},pointers:{serializedName:"pointers",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}}}}},Rn={type:{name:"Composite",className:"Channel",modelProperties:{id:{serializedName:"id",required:!0,type:{name:"String"}},initiatorId:{serializedName:"initiator_id",required:!0,type:{name:"String"}},responderId:{serializedName:"responder_id",required:!0,type:{name:"String"}},channelAmount:{serializedName:"channel_amount",required:!0,type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",required:!0,type:{name:"String"}},responderAmount:{serializedName:"responder_amount",required:!0,type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",required:!0,type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},soloRound:{serializedName:"solo_round",required:!0,type:{name:"String"}},lockPeriod:{serializedName:"lock_period",required:!0,type:{name:"String"}},lockedUntil:{serializedName:"locked_until",required:!0,type:{name:"String"}}}}},Mn={type:{name:"Composite",className:"PeerPubKey",modelProperties:{pubkey:{serializedName:"pubkey",required:!0,type:{name:"String"}}}}},Bn={type:{name:"Composite",className:"Status",modelProperties:{genesisKeyBlockHash:{serializedName:"genesis_key_block_hash",required:!0,type:{name:"String"}},solutions:{serializedName:"solutions",required:!0,type:{name:"String"}},difficulty:{serializedName:"difficulty",required:!0,type:{name:"String"}},syncing:{serializedName:"syncing",required:!0,type:{name:"Boolean"}},syncProgress:{constraints:{InclusiveMaximum:100,InclusiveMinimum:0},serializedName:"sync_progress",type:{name:"Number"}},listening:{serializedName:"listening",required:!0,type:{name:"Boolean"}},protocols:{serializedName:"protocols",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Protocol"}}}},nodeVersion:{serializedName:"node_version",required:!0,type:{name:"String"}},nodeRevision:{serializedName:"node_revision",required:!0,type:{name:"String"}},peerCount:{serializedName:"peer_count",required:!0,type:{name:"String"}},peerConnections:{serializedName:"peer_connections",type:{name:"Composite",className:"PeerConnections"}},pendingTransactionsCount:{serializedName:"pending_transactions_count",required:!0,type:{name:"String"}},networkId:{serializedName:"network_id",required:!0,type:{name:"String"}},peerPubkey:{serializedName:"peer_pubkey",required:!0,type:{name:"String"}},topKeyBlockHash:{serializedName:"top_key_block_hash",required:!0,type:{name:"String"}},topBlockHeight:{serializedName:"top_block_height",required:!0,type:{name:"String"}}}}},Ln={type:{name:"Composite",className:"Protocol",modelProperties:{version:{serializedName:"version",required:!0,type:{name:"String"}},effectiveAtHeight:{serializedName:"effective_at_height",required:!0,type:{name:"String"}}}}},Dn={type:{name:"Composite",className:"PeerConnections",modelProperties:{inbound:{serializedName:"inbound",required:!0,type:{name:"String"}},outbound:{serializedName:"outbound",required:!0,type:{name:"String"}}}}},Fn={type:{name:"Composite",className:"SpendTx",modelProperties:{recipientId:{serializedName:"recipient_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}}}}},$n={type:{name:"Composite",className:"OracleRegisterTx",modelProperties:{queryFormat:{serializedName:"query_format",required:!0,type:{name:"String"}},responseFormat:{serializedName:"response_format",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"Ttl"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},abiVersion:{serializedName:"abi_version",type:{name:"String"}}}}},Un={type:{name:"Composite",className:"OracleExtendTx",modelProperties:{fee:{serializedName:"fee",required:!0,type:{name:"String"}},oracleTtl:{serializedName:"oracle_ttl",type:{name:"Composite",className:"RelativeTTL"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}}}}},jn={type:{name:"Composite",className:"OracleQueryTx",modelProperties:{oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},query:{serializedName:"query",required:!0,type:{name:"String"}},queryFee:{serializedName:"query_fee",required:!0,type:{name:"String"}},queryTtl:{serializedName:"query_ttl",type:{name:"Composite",className:"Ttl"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},senderId:{serializedName:"sender_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},zn={type:{name:"Composite",className:"OracleRespondTx",modelProperties:{queryId:{serializedName:"query_id",required:!0,type:{name:"String"}},response:{serializedName:"response",required:!0,type:{name:"String"}},responseTtl:{serializedName:"response_ttl",type:{name:"Composite",className:"RelativeTTL"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},oracleId:{serializedName:"oracle_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Vn={type:{name:"Composite",className:"NamePreclaimTx",modelProperties:{commitmentId:{serializedName:"commitment_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Hn={type:{name:"Composite",className:"NameClaimTx",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},nameSalt:{serializedName:"name_salt",required:!0,type:{name:"String"}},nameFee:{serializedName:"name_fee",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},qn={type:{name:"Composite",className:"NameUpdateTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},nameTtl:{serializedName:"name_ttl",required:!0,type:{name:"String"}},pointers:{serializedName:"pointers",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NamePointer"}}}},clientTtl:{serializedName:"client_ttl",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Gn={type:{name:"Composite",className:"NameTransferTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},recipientId:{serializedName:"recipient_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Wn={type:{name:"Composite",className:"NameRevokeTx",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},accountId:{serializedName:"account_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},Zn={type:{name:"Composite",className:"CommitmentId",modelProperties:{commitmentId:{serializedName:"commitment_id",required:!0,type:{name:"String"}}}}},Kn={type:{name:"Composite",className:"NameHash",modelProperties:{nameId:{serializedName:"name_id",required:!0,type:{name:"String"}}}}},Yn={type:{name:"Composite",className:"ChannelCreateTx",modelProperties:{initiatorId:{serializedName:"initiator_id",required:!0,type:{name:"String"}},initiatorAmount:{serializedName:"initiator_amount",required:!0,type:{name:"String"}},responderId:{serializedName:"responder_id",required:!0,type:{name:"String"}},responderAmount:{serializedName:"responder_amount",required:!0,type:{name:"String"}},channelReserve:{serializedName:"channel_reserve",required:!0,type:{name:"String"}},lockPeriod:{serializedName:"lock_period",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},delegateIds:{serializedName:"delegate_ids",type:{name:"Composite",className:"Delegates"}}}}},Xn={type:{name:"Composite",className:"ChannelDepositTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}}}}},Jn={type:{name:"Composite",className:"ChannelWithdrawTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},toId:{serializedName:"to_id",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}}}}},Qn={type:{name:"Composite",className:"ChannelForceProgressTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},update:{serializedName:"update",type:{name:"Composite",className:"OffChainUpdate"}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},offchainTrees:{serializedName:"offchain_trees",type:{name:"String"}}}}},eo={type:{name:"Composite",className:"ChannelCloseMutualTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",required:!0,type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}}}}},to={type:{name:"Composite",className:"ChannelCloseSoloTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},ro={type:{name:"Composite",className:"ChannelSlashTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},poi:{serializedName:"poi",required:!0,type:{name:"String"}}}}},no={type:{name:"Composite",className:"ChannelSettleTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorAmountFinal:{serializedName:"initiator_amount_final",required:!0,type:{name:"String"}},responderAmountFinal:{serializedName:"responder_amount_final",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",required:!0,type:{name:"String"}}}}},oo={type:{name:"Composite",className:"ChannelSnapshotSoloTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},io={type:{name:"Composite",className:"ChannelSetDelegatesTx",modelProperties:{channelId:{serializedName:"channel_id",required:!0,type:{name:"String"}},fromId:{serializedName:"from_id",required:!0,type:{name:"String"}},initiatorDelegateIds:{serializedName:"initiator_delegate_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},responderDelegateIds:{serializedName:"responder_delegate_ids",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},stateHash:{serializedName:"state_hash",required:!0,type:{name:"String"}},round:{serializedName:"round",required:!0,type:{name:"String"}},payload:{serializedName:"payload",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}}}}},ao={type:{name:"Composite",className:"PubKey",modelProperties:{pubKey:{serializedName:"pub_key",required:!0,type:{name:"String"}}}}},so={type:{name:"Composite",className:"PeerDetails",modelProperties:{host:{serializedName:"host",required:!0,type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"String"}},firstSeen:{serializedName:"first_seen",required:!0,type:{name:"String"}},lastSeen:{serializedName:"last_seen",required:!0,type:{name:"String"}},genesisHash:{serializedName:"genesis_hash",required:!0,type:{name:"String"}},topHash:{serializedName:"top_hash",required:!0,type:{name:"String"}},topDifficulty:{serializedName:"top_difficulty",required:!0,type:{name:"String"}},networkId:{serializedName:"network_id",type:{name:"String"}},nodeVersion:{serializedName:"node_version",type:{name:"String"}},nodeRevision:{serializedName:"node_revision",type:{name:"String"}},nodeVendor:{serializedName:"node_vendor",type:{name:"String"}},nodeOs:{serializedName:"node_os",type:{name:"String"}}}}},co={type:{name:"Composite",className:"Peers",modelProperties:{peers:{serializedName:"peers",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},blocked:{serializedName:"blocked",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},uo={type:{name:"Composite",className:"PeerCount",modelProperties:{connected:{serializedName:"connected",type:{name:"Composite",className:"PeerCountConnected"}},available:{serializedName:"available",type:{name:"Composite",className:"PeerCountAvailable"}},blocked:{serializedName:"blocked",required:!0,type:{name:"String"}}}}},lo={type:{name:"Composite",className:"PeerCountConnected",modelProperties:{inbound:{serializedName:"inbound",type:{name:"String"}},outbound:{serializedName:"outbound",type:{name:"String"}}}}},fo={type:{name:"Composite",className:"PeerCountAvailable",modelProperties:{verified:{serializedName:"verified",type:{name:"String"}},unverified:{serializedName:"unverified",type:{name:"String"}}}}},ho={type:{name:"Composite",className:"ContractCreateTx",modelProperties:{ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},code:{serializedName:"code",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},po={type:{name:"Composite",className:"ContractCallTx",modelProperties:{callerId:{serializedName:"caller_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},go={type:{name:"Composite",className:"UnsignedTx",modelProperties:{tx:{serializedName:"tx",required:!0,type:{name:"String"}}}}},mo={type:{name:"Composite",className:"TokenSupply",modelProperties:{accounts:{serializedName:"accounts",type:{name:"String"}},contracts:{serializedName:"contracts",type:{name:"String"}},contractOracles:{serializedName:"contract_oracles",type:{name:"String"}},locked:{serializedName:"locked",type:{name:"String"}},oracles:{serializedName:"oracles",type:{name:"String"}},oracleQueries:{serializedName:"oracle_queries",type:{name:"String"}},pendingRewards:{serializedName:"pending_rewards",type:{name:"String"}},total:{serializedName:"total",type:{name:"String"}}}}},yo={type:{name:"Composite",className:"GAAttachTx",modelProperties:{ownerId:{serializedName:"owner_id",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},code:{serializedName:"code",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}},authFun:{constraints:{Pattern:new RegExp("^(0x|0X)?[a-fA-F0-9]+$")},serializedName:"auth_fun",required:!0,type:{name:"String"}}}}},vo={type:{name:"Composite",className:"GAMetaTx",modelProperties:{gaId:{serializedName:"ga_id",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"String"}},authData:{serializedName:"auth_data",required:!0,type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}}}}},wo={type:{name:"Composite",className:"PayingForTx",modelProperties:{payerId:{serializedName:"payer_id",required:!0,type:{name:"String"}},fee:{serializedName:"fee",required:!0,type:{name:"String"}},nonce:{serializedName:"nonce",type:{name:"String"}},tx:{serializedName:"tx",type:{name:"Composite",className:"SignedTx"}}}}},bo={type:{name:"Composite",className:"CheckTxInPoolResponse",modelProperties:{status:{serializedName:"status",required:!0,type:{name:"String"}}}}},_o={serializedName:"OffChainTransfer",type:{name:"Composite",className:"OffChainTransfer",uberParent:"OffChainUpdate",polymorphicDiscriminator:on.type.polymorphicDiscriminator,modelProperties:{...on.type.modelProperties,from:{serializedName:"from",required:!0,type:{name:"String"}},to:{serializedName:"to",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},Eo={serializedName:"OffChainWithdrawal",type:{name:"Composite",className:"OffChainWithdrawal",uberParent:"OffChainUpdate",polymorphicDiscriminator:on.type.polymorphicDiscriminator,modelProperties:{...on.type.modelProperties,to:{serializedName:"to",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},So={serializedName:"OffChainDeposit",type:{name:"Composite",className:"OffChainDeposit",uberParent:"OffChainUpdate",polymorphicDiscriminator:on.type.polymorphicDiscriminator,modelProperties:{...on.type.modelProperties,from:{serializedName:"from",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}}}}},Ao={serializedName:"OffChainNewContract",type:{name:"Composite",className:"OffChainNewContract",uberParent:"OffChainUpdate",polymorphicDiscriminator:on.type.polymorphicDiscriminator,modelProperties:{...on.type.modelProperties,owner:{serializedName:"owner",required:!0,type:{name:"String"}},vmVersion:{serializedName:"vm_version",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},code:{serializedName:"code",type:{name:"Composite",className:"ByteCode"}},deposit:{serializedName:"deposit",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},To={serializedName:"OffChainCallContract",type:{name:"Composite",className:"OffChainCallContract",uberParent:"OffChainUpdate",polymorphicDiscriminator:on.type.polymorphicDiscriminator,modelProperties:{...on.type.modelProperties,caller:{serializedName:"caller",required:!0,type:{name:"String"}},contract:{serializedName:"contract",required:!0,type:{name:"String"}},abiVersion:{serializedName:"abi_version",required:!0,type:{name:"String"}},amount:{serializedName:"amount",required:!0,type:{name:"String"}},gas:{serializedName:"gas",required:!0,type:{name:"String"}},gasPrice:{serializedName:"gas_price",required:!0,type:{name:"String"}},callData:{serializedName:"call_data",required:!0,type:{name:"String"}}}}},Co={type:{name:"Composite",className:"CreateContractUnsignedTx",modelProperties:{...go.type.modelProperties,contractId:{serializedName:"contract_id",required:!0,type:{name:"String"}}}}};let xo={"Tx.Tx":rn,OffChainUpdate:on,"OffChainUpdate.OffChainTransfer":_o,"OffChainUpdate.OffChainWithdrawal":Eo,"OffChainUpdate.OffChainDeposit":So,"OffChainUpdate.OffChainNewContract":Ao,"OffChainUpdate.OffChainCallContract":To};const Io={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Oo={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},No={parameterPath:"intAsString",mapper:{defaultValue:!1,serializedName:"int-as-string",type:{name:"Boolean"}}},Po={parameterPath:"hash",mapper:{serializedName:"hash",required:!0,type:{name:"String"}}},ko={parameterPath:"height",mapper:{constraints:{InclusiveMaximum:0x10000000000000000,InclusiveMinimum:0},serializedName:"height",required:!0,type:{name:"Number"}}},Ro={parameterPath:"index",mapper:{constraints:{InclusiveMinimum:1},serializedName:"index",required:!0,type:{name:"Number"}}},Mo={parameterPath:"pubkey",mapper:{serializedName:"pubkey",required:!0,type:{name:"String"}}},Bo={parameterPath:["options","strategy"],mapper:{defaultValue:"max",serializedName:"strategy",type:{name:"Enum",allowedValues:["max","continuity"]}}},Lo={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Do={parameterPath:"body",mapper:hn},Fo={parameterPath:"body",mapper:An},$o={parameterPath:["options","from"],mapper:{serializedName:"from",type:{name:"String"}}},Uo={parameterPath:["options","limit"],mapper:{defaultValue:20,constraints:{InclusiveMaximum:1e3,InclusiveMinimum:1},serializedName:"limit",type:{name:"Number"}}},jo={parameterPath:["options","type"],mapper:{defaultValue:"all",serializedName:"type",type:{name:"Enum",allowedValues:["open","closed","all"]}}},zo={parameterPath:"queryId",mapper:{serializedName:"query-id",required:!0,type:{name:"String"}}},Vo={parameterPath:"name",mapper:{serializedName:"name",required:!0,type:{name:"String"}}};class Ho extends qr{constructor(e,t){var r,n;if(void 0===e)throw new Error("'$host' cannot be null");t||(t={});const o={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-node/1.0.0-beta.1",a=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,s={...o,...t,userAgentOptions:{userAgentPrefix:a},endpoint:null!==(r=null!==(n=t.endpoint)&&void 0!==n?n:t.baseUri)&&void 0!==r?r:"{$host}"};super(s),this.$host=e}getTopHeader(e){return this.sendOperationRequest({options:e},Go)}getCurrentKeyBlock(e){return this.sendOperationRequest({options:e},Wo)}getCurrentKeyBlockHash(e){return this.sendOperationRequest({options:e},Zo)}getCurrentKeyBlockHeight(e){return this.sendOperationRequest({options:e},Ko)}getPendingKeyBlock(e){return this.sendOperationRequest({options:e},Yo)}getKeyBlockByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Xo)}getKeyBlockByHeight(e,t){return this.sendOperationRequest({height:e,options:t},Jo)}getMicroBlockHeaderByHash(e,t){return this.sendOperationRequest({hash:e,options:t},Qo)}getMicroBlockTransactionsByHash(e,t){return this.sendOperationRequest({hash:e,options:t},ei)}getMicroBlockTransactionByHashAndIndex(e,t,r){return this.sendOperationRequest({hash:e,index:t,options:r},ti)}getMicroBlockTransactionsCountByHash(e,t){return this.sendOperationRequest({hash:e,options:t},ri)}getCurrentGeneration(e){return this.sendOperationRequest({options:e},ni)}getGenerationByHash(e,t){return this.sendOperationRequest({hash:e,options:t},oi)}getGenerationByHeight(e,t){return this.sendOperationRequest({height:e,options:t},ii)}getAccountByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},ai)}getAccountByPubkeyAndHeight(e,t,r){return this.sendOperationRequest({pubkey:e,height:t,options:r},si)}getAccountByPubkeyAndHash(e,t,r){return this.sendOperationRequest({pubkey:e,hash:t,options:r},ci)}getPendingAccountTransactionsByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},ui)}getAccountNextNonce(e,t){return this.sendOperationRequest({pubkey:e,options:t},li)}protectedDryRunTxs(e,t){return this.sendOperationRequest({body:e,options:t},di)}getTransactionByHash(e,t){return this.sendOperationRequest({hash:e,options:t},fi)}getTransactionInfoByHash(e,t){return this.sendOperationRequest({hash:e,options:t},hi)}postTransaction(e,t){return this.sendOperationRequest({body:e,options:t},pi)}getContract(e,t){return this.sendOperationRequest({pubkey:e,options:t},gi)}getContractCode(e,t){return this.sendOperationRequest({pubkey:e,options:t},mi)}getContractPoI(e,t){return this.sendOperationRequest({pubkey:e,options:t},yi)}getOracleByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},vi)}getOracleQueriesByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},wi)}getOracleQueryByPubkeyAndQueryId(e,t,r){return this.sendOperationRequest({pubkey:e,queryId:t,options:r},bi)}getNameEntryByName(e,t){return this.sendOperationRequest({name:e,options:t},_i)}getChannelByPubkey(e,t){return this.sendOperationRequest({pubkey:e,options:t},Ei)}getPeerPubkey(e){return this.sendOperationRequest({options:e},Si)}getStatus(e){return this.sendOperationRequest({options:e},Ai)}getChainEnds(e){return this.sendOperationRequest({options:e},Ti)}}const qo=O(n,!1),Go={path:"/v3/headers/top",httpMethod:"GET",responses:{200:{bodyMapper:Zr},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Wo={path:"/v3/key-blocks/current",httpMethod:"GET",responses:{200:{bodyMapper:Yr},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Zo={path:"/v3/key-blocks/current/hash",httpMethod:"GET",responses:{200:{bodyMapper:Xr},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Ko={path:"/v3/key-blocks/current/height",httpMethod:"GET",responses:{200:{bodyMapper:Jr},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Yo={path:"/v3/key-blocks/pending",httpMethod:"GET",responses:{200:{bodyMapper:Yr},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Xo={path:"/v3/key-blocks/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:Yr},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},Jo={path:"/v3/key-blocks/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:Yr},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,ko],headerParameters:[Io],serializer:qo},Qo={path:"/v3/micro-blocks/hash/{hash}/header",httpMethod:"GET",responses:{200:{bodyMapper:Qr},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},ei={path:"/v3/micro-blocks/hash/{hash}/transactions",httpMethod:"GET",responses:{200:{bodyMapper:en},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},ti={path:"/v3/micro-blocks/hash/{hash}/transactions/index/{index}",httpMethod:"GET",responses:{200:{bodyMapper:tn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po,Ro],headerParameters:[Io],serializer:qo},ri={path:"/v3/micro-blocks/hash/{hash}/transactions/count",httpMethod:"GET",responses:{200:{bodyMapper:un},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},ni={path:"/v3/generations/current",httpMethod:"GET",responses:{200:{bodyMapper:ln},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},oi={path:"/v3/generations/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:ln},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},ii={path:"/v3/generations/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:ln},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,ko],headerParameters:[Io],serializer:qo},ai={path:"/v3/accounts/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:dn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},si={path:"/v3/accounts/{pubkey}/height/{height}",httpMethod:"GET",responses:{200:{bodyMapper:dn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,ko,Mo],headerParameters:[Io],serializer:qo},ci={path:"/v3/accounts/{pubkey}/hash/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:dn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po,Mo],headerParameters:[Io],serializer:qo},ui={path:"/v3/accounts/{pubkey}/transactions/pending",httpMethod:"GET",responses:{200:{bodyMapper:en},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},li={path:"/v3/accounts/{pubkey}/next-nonce",httpMethod:"GET",responses:{200:{bodyMapper:fn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No,Bo],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},di={path:"/v3/dry-run",httpMethod:"POST",responses:{200:{bodyMapper:vn},403:{bodyMapper:Kr,isError:!0}},requestBody:Do,queryParameters:[No],urlParameters:[Oo],headerParameters:[Io,Lo],mediaType:"json",serializer:qo},fi={path:"/v3/transactions/{hash}",httpMethod:"GET",responses:{200:{bodyMapper:tn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},hi={path:"/v3/transactions/{hash}/info",httpMethod:"GET",responses:{200:{bodyMapper:En},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Po],headerParameters:[Io],serializer:qo},pi={path:"/v3/transactions",httpMethod:"POST",responses:{200:{bodyMapper:Tn},400:{bodyMapper:Kr,isError:!0}},requestBody:Fo,queryParameters:[No],urlParameters:[Oo],headerParameters:[Io,Lo],mediaType:"json",serializer:qo},gi={path:"/v3/contracts/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:Cn},400:{bodyMapper:Kr,isError:!0},404:{isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},mi={path:"/v3/contracts/{pubkey}/code",httpMethod:"GET",responses:{200:{bodyMapper:xn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},yi={path:"/v3/contracts/{pubkey}/poi",httpMethod:"GET",responses:{200:{bodyMapper:In},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},vi={path:"/v3/oracles/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:On},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},wi={path:"/v3/oracles/{pubkey}/queries",httpMethod:"GET",responses:{200:{bodyMapper:Nn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No,$o,Uo,jo],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},bi={path:"/v3/oracles/{pubkey}/queries/{query-id}",httpMethod:"GET",responses:{200:{bodyMapper:Pn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo,zo],headerParameters:[Io],serializer:qo},_i={path:"/v3/names/{name}",httpMethod:"GET",responses:{200:{bodyMapper:kn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Vo],headerParameters:[Io],serializer:qo},Ei={path:"/v3/channels/{pubkey}",httpMethod:"GET",responses:{200:{bodyMapper:Rn},400:{bodyMapper:Kr,isError:!0},404:{bodyMapper:Kr,isError:!0}},queryParameters:[No],urlParameters:[Oo,Mo],headerParameters:[Io],serializer:qo},Si={path:"/v3/peers/pubkey",httpMethod:"GET",responses:{200:{bodyMapper:Mn}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Ai={path:"/v3/status",httpMethod:"GET",responses:{200:{bodyMapper:Bn}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo},Ti={path:"/v3/status/chain-ends",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"String"}}}}}},queryParameters:[No],urlParameters:[Oo],headerParameters:[Io],serializer:qo};var Ci=r(35196);function xi(e,t,r){Oi(e,t),t.set(e,r)}function Ii(e,t){Oi(e,t),t.add(e)}function Oi(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ni(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}const Pi=["balance","queryFee","fee","amount","nameFee","channelAmount","initiatorAmount","responderAmount","channelReserve","initiatorAmountFinal","responderAmountFinal","gasPrice","deposit"],ki=["time","gas","gasUsed","nameSalt","nonce","nextNonce","height","blockHeight","topBlockHeight","ttl","nameTtl","clientTtl","inbound","outbound","peerCount","pendingTransactionsCount","effectiveAtHeight","version","solutions","round"];var Ri=new WeakSet,Mi=new WeakSet,Bi=new WeakSet;class Li extends Ho{constructor(){super(...arguments),Ii(this,Bi),Ii(this,Mi),Ii(this,Ri)}async sendOperationRequest(e,t){const r=(0,Ci.Xc)(e,(e=>{let[t,r]=e;return[t,Ni(this,Mi,Fi).call(this,r)]}));return Ni(this,Bi,$i).call(this,await super.sendOperationRequest(r,t))}}function Di(e,t){return Array.isArray(e)?e.map((e=>Ni(this,Ri,Di).call(this,e,t))):null!=e&&"object"===typeof e?(0,Ci.Xc)(e,(e=>{let[r,n]=e;return null==n?[r,n]:Pi.some((e=>e===r))?[r,t.bigInt(n)]:ki.some((e=>e===r))?[r,t.number(n)]:[r,Ni(this,Ri,Di).call(this,n,t)]})):e}function Fi(e){return Ni(this,Ri,Di).call(this,e,{bigInt:e=>e instanceof a.Z?e.toFixed():e.toString(),number:e=>e.toString()})}function $i(e){return Ni(this,Ri,Di).call(this,e,{bigInt:e=>BigInt(e),number:e=>+e})}var Ui=new WeakMap;class ji extends Li{constructor(e){let{ignoreVersion:t=!1,retryCount:r=3,retryOverallDelay:n=800,...o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(super(e,{allowInsecureConnection:!0,additionalPolicies:[(0,s.A5)(),(0,s.xW)(),(0,s.mS)(r,n),(0,s.Tw)((e=>` ${e.reason}`))],...o}),xi(this,Ui,{writable:!0,value:void 0}),!t){const e=this.getStatus(),t=e.then((e=>{let{nodeVersion:t}=e;return t}),(e=>e));(0,i.Z)(this,Ui,e.then((e=>{let{networkId:t}=e;return t}),(e=>e))),this.pipeline.addPolicy((0,s._F)("node","/v3/status",t,"6.2.0","7.0.0"))}this.intAsString=!0}async getNetworkId(){var e;null!==(e=(0,o.Z)(this,Ui))&&void 0!==e||(0,i.Z)(this,Ui,this.getStatus().then((e=>{let{networkId:t}=e;return t})));const t=await(0,o.Z)(this,Ui);if(t instanceof Error)throw t;return t}async getNodeInfo(){const{nodeVersion:e,networkId:t,protocols:r,topBlockHeight:n}=await this.getStatus(),o=r.filter((e=>{let{effectiveAtHeight:t}=e;return n>=t})).reduce(((e,t)=>t.effectiveAtHeight>e.effectiveAtHeight?t:e),{effectiveAtHeight:-1,version:0}).version;return{url:this.$host,nodeNetworkId:t,version:e,consensusProtocolVersion:o}}}},68530:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});class n{}},55020:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(18961),o=r(87338),i=r(68530),a=r(34674),s=r(70732),c=r(36878),u=r(2770),l=r(1471),d=r(65986);function f(e,t,r){h(e,t),t.set(e,r)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}var p=new WeakMap;class g extends i.Z{constructor(e){super(),f(this,p,{writable:!0,value:void 0}),(0,s.Jx)(e),this.address=e}async sign(){throw new a.nj("Can't sign using generalized account")}async signMessage(){throw new a.nj("Can't sign using generalized account")}async signTransaction(e,t){let{authData:r,onCompiler:i,onNode:f}=t;if(null==r||null==i||null==f)throw new a.ir("authData, onCompiler, onNode","provided",null);const{callData:h,sourceCode:g,args:m,fee:y,gasLimit:v,gasPrice:w}="function"===typeof r?await r(e):r,b=null!==h&&void 0!==h?h:await(async()=>{if(null==(0,o.Z)(this,p)){const e=await(0,c.getAccount)(this.address,{onNode:f});if("generalized"!==e.kind)throw new a.ir("account kind","generalized",e.kind);(0,n.Z)(this,p,e.authFun)}if(null==(0,o.Z)(this,p))throw new a.AQ("Account in generalised, but authFun not provided");if(null==g||null==m)throw new a.n7("Auth data must contain sourceCode and args or callData.");const e=await u.Z.initialize({onCompiler:i,onNode:f,sourceCode:g});return e._calldata.encode(e._name,(0,o.Z)(this,p),m)})(),_=await(0,l.i2)({tag:d.Vp.GaMetaTx,tx:{tag:d.Vp.SignedTx,encodedTx:(0,s.Jx)(e),signatures:[]},gaId:this.address,authData:b,fee:y,gasLimit:v,gasPrice:w,onNode:f});return(0,l.lE)({tag:d.Vp.SignedTx,encodedTx:(0,s.Jx)(_),signatures:[]})}}},82428:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g,y:()=>p});var n=r(48764),o=r(68530),i=r(34502),a=r(34674),s=r(70732),c=r(27469),u=r(35196),l=r(1471),d=r(65986);const{Buffer:f}=n,h=new WeakMap;function p(e,t,r){const n=[t];r&&n.push("inner_tx");const o=(0,s.Jx)(e);return(0,u.Kb)([f.from(n.join("-")),(0,i.vp)(o)])}class g extends o.Z{constructor(e){if(super(),e="string"===typeof e?f.from(e,"hex"):e,64!==e.length)throw new a.ir("secretKey","64 bytes",e.length);h.set(this,e),this.address=(0,s.cv)((0,i.uz)(h.get(this)).publicKey,c.e.AccountAddress)}static generate(){return new g((0,i.Au)().secretKey)}async sign(e,t){return(0,i.Xx)(e,h.get(this))}async signTransaction(e){let{innerTx:t,networkId:r,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==r)throw new a.ir("networkId","provided",r);const o=(0,s.Jx)(e),i=p(e,r,!0===t),c=[await this.sign(i,n)];return(0,l.lE)({tag:d.Vp.SignedTx,encodedTx:o,signatures:c})}async signMessage(e,t){return this.sign((0,i.BE)(e),t)}}},6244:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(87338),o=r(18961),i=r(34674);class a{constructor(e){let{debug:t=!1}=e;this.debug=t}connect(e,t){if(this.isConnected())throw new i.EH("You already connected")}disconnect(){if(!this.isConnected())throw new i.v6("You dont have connection. Please connect before")}receiveMessage(e){this.debug&&console.log("Receive message:",e)}sendMessage(e){this.debug&&console.log("Send message:",e)}}var s=r(40995);function c(e,t,r){u(e,t),t.set(e,r)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}var l=new WeakMap,d=new WeakMap,f=new WeakMap;class h extends a{constructor(){let{target:e,self:t=window,origin:r,sendDirection:n,receiveDirection:i=s.Wo.to_aepp,...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(a),c(this,l,{writable:!0,value:void 0}),c(this,d,{writable:!0,value:void 0}),c(this,f,{writable:!0,value:void 0}),(0,o.Z)(this,d,e),(0,o.Z)(this,f,t),this.origin=r,this.sendDirection=n,this.receiveDirection=i}isConnected(){return null!=this.listener}connect(e,t){super.connect(e,t),this.listener=t=>{var r,o;if("object"!==typeof t.data||"2.0"!==(null!==(r=t.data.jsonrpc)&&void 0!==r?r:null===(o=t.data.data)||void 0===o?void 0:o.jsonrpc))return;if(null!=this.origin&&this.origin!==t.origin)return;if(null!=(0,n.Z)(this,d)&&(0,n.Z)(this,d)!==t.source)return;this.receiveMessage(t);let{data:i}=t;if(null!=i.type){if(t.data.type!==this.receiveDirection)return;i=i.data}e(i,t.origin,t.source)},(0,n.Z)(this,f).addEventListener("message",this.listener),(0,o.Z)(this,l,t)}disconnect(){if(super.disconnect(),null==this.listener||null==(0,n.Z)(this,l))throw new i.AQ("Expected to not happen, required for TS");(0,n.Z)(this,f).removeEventListener("message",this.listener),delete this.listener,(0,n.Z)(this,l).call(this),(0,o.Z)(this,l,void 0)}sendMessage(e){var t;if(null==(0,n.Z)(this,d))throw new i.rx("Can't send messages without target");const r=null!=this.sendDirection?{type:this.sendDirection,data:e}:e;super.sendMessage(r),(0,n.Z)(this,d).postMessage(r,null!==(t=this.origin)&&void 0!==t?t:"*")}}},40995:(e,t,r)=>{"use strict";r.d(t,{CZ:()=>w,DL:()=>h,Is:()=>c,JM:()=>p,K1:()=>g,OC:()=>v,Pi:()=>a,Wo:()=>i,_8:()=>f,lt:()=>d,m9:()=>u,nq:()=>b,ww:()=>s,yp:()=>y});var n=r(44845),o=r(34674);let i,a,s,c,u;(function(e){e["to_waellet"]="to_waellet",e["to_aepp"]="to_aepp"})(i||(i={})),function(e){e["window"]="window",e["extension"]="extension"}(a||(a={})),function(e){e["subscribe"]="subscribe",e["unsubscribe"]="unsubscribe"}(s||(s={})),function(e){e["readyToConnect"]="connection.announcePresence",e["updateAddress"]="address.update",e["address"]="address.get",e["connect"]="connection.open",e["sign"]="transaction.sign",e["signMessage"]="message.sign",e["subscribeAddress"]="address.subscribe",e["updateNetwork"]="networkId.update",e["closeConnection"]="connection.close"}(c||(c={})),function(e){e["CONNECTED"]="CONNECTED",e["DISCONNECTED"]="DISCONNECTED",e["WAITING_FOR_CONNECTION_REQUEST"]="WAITING_FOR_CONNECTION_REQUEST"}(u||(u={}));const l=[];class d extends o.GU{toJSON(){return{code:this.code,message:this.message,data:this.data}}static deserialize(e){const t=l.find((t=>t.code===e.code));if(null==t)throw new o.AQ(`Can't find RpcError with code: ${e.code}`);return new t(e.data)}}class f extends d{constructor(e){super("Invalid transaction"),(0,n.Z)(this,"code",2),this.data=e,this.name="RpcInvalidTransactionError"}}(0,n.Z)(f,"code",2),l.push(f);class h extends d{constructor(e){super("Broadcast failed"),(0,n.Z)(this,"code",3),this.data=e,this.name="RpcBroadcastError"}}(0,n.Z)(h,"code",3),l.push(h);class p extends d{constructor(e){super("Operation rejected by user"),(0,n.Z)(this,"code",4),this.data=e,this.name="RpcRejectedByUserError"}}(0,n.Z)(p,"code",4),l.push(p);class g extends d{constructor(){super("Unsupported Protocol Version"),(0,n.Z)(this,"code",5),this.name="RpcUnsupportedProtocolError"}}(0,n.Z)(g,"code",5),l.push(g);class m extends d{constructor(e){super("Wallet deny your connection request"),(0,n.Z)(this,"code",9),this.data=e,this.name="RpcConnectionDenyError"}}(0,n.Z)(m,"code",9),l.push(m);class y extends d{constructor(){super("You are not connected to the wallet"),(0,n.Z)(this,"code",10),this.name="RpcNotAuthorizeError"}}(0,n.Z)(y,"code",10),l.push(y);class v extends d{constructor(e){super(`You are not subscribed for account ${e}`),(0,n.Z)(this,"code",11),this.data=e,this.name="RpcPermissionDenyError"}}(0,n.Z)(v,"code",11),l.push(v);class w extends d{constructor(){super("The peer failed to execute your request due to unknown error"),(0,n.Z)(this,"code",12),this.name="RpcInternalError"}}(0,n.Z)(w,"code",12),l.push(w);class b extends d{constructor(){super("Method not found"),(0,n.Z)(this,"code",-32601),this.name="RpcMethodNotFoundError"}}(0,n.Z)(b,"code",-32601),l.push(b)},36878:(e,t,r)=>{"use strict";r.r(t),r.d(t,{InvalidTxError:()=>h,_getPollInterval:()=>f,awaitHeight:()=>m,getAccount:()=>w,getBalance:()=>b,getContract:()=>N,getContractByteCode:()=>O,getCurrentGeneration:()=>_,getGeneration:()=>E,getHeight:()=>p,getKeyBlock:()=>A,getMicroBlockHeader:()=>T,getMicroBlockTransactions:()=>S,getName:()=>P,poll:()=>g,resolveName:()=>k,sendTransaction:()=>v,txDryRun:()=>I,waitForTxConfirm:()=>y});var n=r(61080),o=r(70256),i=r(35196),a=r(12442),s=r(82580),c=r(34674),u=r(70732),l=r(27469),d=r(1471);function f(e,t){let{_expectedMineRate:r=18e4,_microBlockCycle:n=3e3,_maxPollInterval:o=5e3}=t;const i={block:r,microblock:n}[e];return Math.min(i/3,o)}class h extends c.qw{constructor(e,t,r){super(e),this.name="InvalidTxError",this.validation=t,this.transaction=r}}async function p(e){let{onNode:t}=e;return(await t.getCurrentKeyBlockHeight()).height}async function g(e,t){var r;let{blocks:n=5,interval:o,onNode:a,...s}=t;null!==(r=o)&&void 0!==r||(o=f("microblock",s));const u=await p({onNode:a})+n;do{const t=await a.getTransactionByHash(e);if(-1!==t.blockHeight)return t;await(0,i.wO)(o)}while(await p({onNode:a})0){const t=`Transaction verification errors: ${e.map((e=>e.message)).join(", ")}`;throw new h(t,e,l)}}try{let e;try{e=null!=n?`tx-${n.address}`:null}catch(f){e=null}const{txHash:t}=await r.postTransaction({tx:l},null!=e?{requestOptions:{customHeaders:{__queue:e}}}:{});if(a){const e=await g(t,{onNode:r,...u}),n={...e,hash:e.hash,rawTx:l};if(null!=s&&(!0===s||s>0)){const e="boolean"===typeof s?void 0:s;return{...n,confirmationHeight:await y(t,{onNode:r,confirm:e,...u})}}return n}return{hash:t,rawTx:l}}catch(f){throw Object.assign(f,{rawTx:l,verifyTx:async()=>(0,o.Z)(l,r)})}}async function w(e,t){let{height:r,hash:n,onNode:o}=t;return null!=r?o.getAccountByPubkeyAndHeight(e,r):null!=n?o.getAccountByPubkeyAndHash(e,n):o.getAccountByPubkey(e)}async function b(e,t){let{format:r=n.fM.AETTOS,...o}=t;const a=e.startsWith("ok_")?(0,u.cv)((0,u.Jx)(e),l.e.AccountAddress):e,{balance:s}=await w(a,o).catch((e=>{if(!(0,i.PD)(e))throw e;return{balance:0n}}));return(0,n.dN)(s,{targetDenomination:r})}async function _(e){let{onNode:t}=e;return t.getCurrentGeneration()}async function E(e,t){let{onNode:r}=t;return"number"===typeof e?r.getGenerationByHeight(e):r.getGenerationByHash(e)}async function S(e,t){let{onNode:r}=t;return(await r.getMicroBlockTransactionsByHash(e)).transactions}async function A(e,t){let{onNode:r}=t;return"number"===typeof e?r.getKeyBlockByHeight(e):r.getKeyBlockByHash(e)}async function T(e,t){let{onNode:r}=t;return r.getMicroBlockHeaderByHash(e)}const C=new Map;async function x(e,t){const r=C.get(e);if(C.delete(e),null==r)throw new c.AQ("Can't get dry-run request");let n;try{const e="number"===typeof r[0].top?(await A(r[0].top,{onNode:t})).hash:r[0].top;n=await t.protectedDryRunTxs({top:e,txEvents:r[0].txEvents,txs:r.map((e=>({tx:e.tx}))),accounts:Array.from(new Set(r.map((e=>e.accountAddress)))).map((e=>({pubKey:e,amount:s.vT.amount})))})}catch(a){return void r.forEach((e=>{let{reject:t}=e;return t(a)}))}const{results:o,txEvents:i}=n;o.forEach(((e,t)=>{let{result:n,reason:o,...a}=e;const{resolve:s,reject:u,tx:l,accountAddress:d}=r[t];"ok"===n?s({...a,txEvents:i}):u(Object.assign(new c.ty(o),{tx:l,accountAddress:d}))}))}async function I(e,t,r){var n;let{top:o,txEvents:i,combine:a,onNode:s}=r;const c=!0===a?[o,i].join():"immediate",u=null!==(n=C.get(c))&&void 0!==n?n:[];return C.set(c,u),new Promise(((r,n)=>{var l;u.push({tx:e,accountAddress:t,top:o,txEvents:i,resolve:r,reject:n}),!0===a?null!==(l=u.timeout)&&void 0!==l||(u.timeout=setTimeout((()=>{x(c,s)}))):x(c,s)}))}async function O(e,t){let{onNode:r}=t;return r.getContractCode(e)}async function N(e,t){let{onNode:r}=t;return r.getContract(e)}async function P(e,t){let{onNode:r}=t;return r.getNameEntryByName(e)}async function k(e,t,r){let{verify:n=!0,resolveByNode:o=!1,onNode:i}=r;if((0,a.Pz)(e)){if(n||o){const r=await i.getNameEntryByName(e),n=r.pointers.find((e=>e.key===t));if(null==n)throw new c.yW(e,t);if(o)return n.id}return(0,a.W)(e)}try{return(0,u.Jx)(e),e}catch(s){throw new c.s2(`Invalid name or address: ${e}`)}}},2770:(e,t,r)=>{"use strict";r.d(t,{Z:()=>O});var n=r(18961),o=r(87338),i=r(23023),a=r(82580),s=r(65986),c=r(1471),u=r(70732),l=r(34674),d=r(34502),f=r(36878);function h(e,t,r){g(e,t),t.set(e,r)}function p(e,t){g(e,t),t.add(e)}function g(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}const{Encoder:y}=i;var v=new WeakSet,w=new WeakSet,b=new WeakSet,_=new WeakSet,E=new WeakMap;class S{async $compile(){if(null!=this.$options.bytecode)return this.$options.bytecode;if(null==this.$options.onCompiler)throw new l.mG("Can't compile without compiler");if(null!=this.$options.sourceCode){const{bytecode:e}=await this.$options.onCompiler.compileBySourceCode(this.$options.sourceCode,this.$options.fileSystem);this.$options.bytecode=e}if(null!=this.$options.sourceCodePath){const{bytecode:e}=await this.$options.onCompiler.compile(this.$options.sourceCodePath);this.$options.bytecode=e}if(null==this.$options.bytecode)throw new l.mG("Can't compile without sourceCode and sourceCodePath");return this.$options.bytecode}async $getCallResultByTxHash(e,t,r){const{callInfo:n}=await this.$options.onNode.getTransactionInfoByHash(e);if(null==n)throw new l.MO(`callInfo is not available for transaction ${e}`);const o=n;return{...m(this,v,A).call(this,o,t,void 0,r),result:o}}async _estimateGas(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{result:n}=await this.$call(e,t,{...r,callStatic:!0});if(null==n)throw new l.eG;const{gasUsed:o}=n;return Math.floor(1.25*o)}async $deploy(e,t){var r,n;const{callStatic:o,...i}={...this.$options,...t};if(null==this.$options.bytecode&&await this.$compile(),!0===o)return this.$call("init",e,{...i,callStatic:o});if(null!=this.$options.address)throw new l.Ki;if(null==i.onAccount)throw new l.mG("Can't deploy without account");const a=i.onAccount.address;if(null==this.$options.bytecode)throw new l.mG("Can't deploy without bytecode");const u=await(0,c.i2)({...i,tag:s.Vp.ContractCreateTx,gasLimit:null!==(r=i.gasLimit)&&void 0!==r?r:await this._estimateGas("init",e,i),callData:this._calldata.encode(this._name,"init",e),code:this.$options.bytecode,ownerId:a});this.$options.address=(0,c.K9)(u);const{hash:d,...f}=await m(this,w,T).call(this,u,"init",{...i,onAccount:i.onAccount});return{...f,...null!=(null===(n=f.result)||void 0===n?void 0:n.log)&&{decodedEvents:this.$decodeEvents(f.result.log,i)},owner:a,transaction:d,address:this.$options.address}}async $call(e,t){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{callStatic:o,top:i,...u}={...this.$options,...n},d=m(this,b,C).call(this,e),h=this.$options.address,{onNode:p}=u;if(null==e)throw new l.j2;if("init"===e&&!0!==o)throw new l.pf('"init" can be called only via dryRun');if("init"!==e&&null!=u.amount&&u.amount>0&&!d.payable)throw new l.iI(u.amount,e);let g;try{if(null==u.onAccount)throw new l.AQ("Use fallback account");g=u.onAccount.address}catch(E){const e=!0===o&&(E instanceof l.R3&&"Account should be an address (ak-prefixed string), or instance of AccountBase, got undefined instead"===E.message||E instanceof l.v6);if(!e)throw E;g=a.vT.pub}const y=this._calldata.encode(this._name,e,t);if(!0===o){if(null==u.nonce&&null!=i){const e="number"===typeof i?"height":"hash";u.nonce=(await(0,f.getAccount)(g,{[e]:i,onNode:p})).nonce+1}const t={...u,onNode:p,callData:y};let r;if("init"===e){if(null==this.$options.bytecode)throw new l.mG('Can\'t dry-run "init" without bytecode');r=await(0,c.i2)({...t,tag:s.Vp.ContractCreateTx,code:this.$options.bytecode,ownerId:g})}else{if(null==h)throw new l.sx("Can't dry-run contract without address");r=await(0,c.i2)({...t,tag:s.Vp.ContractCallTx,callerId:g,contractId:h})}const{callObj:n,...o}=await(0,f.txDryRun)(r,g,{...u,top:i});if(null==n)throw new l.AQ(`callObj is not available for transaction ${r}`);const a=n;return{...o,...m(this,v,A).call(this,a,e,r,u),tx:(0,c.vq)(r),result:a,rawTx:r,hash:(0,c.M9)(r),txData:void 0}}if(null!=i)throw new l.mG("Can't handle `top` option in on-chain contract call");if(null==h)throw new l.sx("Can't call contract without address");const _=await(0,c.i2)({...u,tag:s.Vp.ContractCallTx,gasLimit:null!==(r=u.gasLimit)&&void 0!==r?r:await this._estimateGas(e,t,u),callerId:g,contractId:h,callData:y});if(null==u.onAccount)throw new l.mG("Can't call contract on chain without account");return m(this,w,T).call(this,_,e,{...u,onAccount:u.onAccount})}$decodeEvents(e){let{omitUnknown:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.map((e=>{const n=e.topics.map((e=>BigInt(e)));let o;try{o=m(this,_,x).call(this,e.address,n[0],r)}catch(c){if(null!==t&&void 0!==t&&t&&c instanceof l.tG)return null;throw c}const i=this._calldata.decodeEvent(o,e.data,n),[a,s]=Object.entries(i)[0];return{name:a,args:s,contract:{name:o,address:e.address}}})).filter((e=>null!=e))}static async initialize(e){let{onCompiler:t,onNode:r,bytecode:n,aci:o,address:i,sourceCodePath:a,sourceCode:s,fileSystem:c,validateBytecode:u,...d}=e;if(null==o&&null!=t){let e;var h;if(null!=a&&(e=await t.compile(a)),null!=s&&(e=await t.compileBySourceCode(s,c)),null!=e)o=e.aci,null!==(h=n)&&void 0!==h||(n=e.bytecode)}if(null==o)throw new l.ml;if(null!=i&&(i=await(0,f.resolveName)(i,"contract_pubkey",{resolveByNode:!0,onNode:r})),null==i&&null==s&&null==a&&null==n)throw new l.sx("Can't create instance by ACI without address");if(null!=i){const e=await(0,f.getContract)(i,{onNode:r});if(null==e.active)throw new l.fj(i)}if(!0===u){if(null==i)throw new l.sx("Can't validate bytecode without contract address");const e=(await(0,f.getContractByteCode)(i,{onNode:r})).bytecode;let o=!1;if(null!=n)o=n===e;else if(null!=s){if(null==t)throw new l.mG("Can't validate bytecode without compiler");o=await t.validateBySourceCode(e,s,c)}else if(null!=a){if(null==t)throw new l.mG("Can't validate bytecode without compiler");o=await t.validate(e,a)}if(!o)throw new l.QT(null!=(null!==s&&void 0!==s?s:a)?"source code":"bytecode")}return new I({onCompiler:t,onNode:r,sourceCode:s,sourceCodePath:a,bytecode:n,aci:o,address:i,fileSystem:c,...d})}constructor(e){var t=this;let{aci:r,...i}=e;p(this,_),p(this,b),p(this,w),p(this,v),h(this,E,{writable:!0,value:void 0}),this._aci=r;const a=r[r.length-1];if(null==a.contract)throw new l.mG(`The last 'aci' item should have 'contract' key, got ${Object.keys(a)} keys instead`);(0,n.Z)(this,E,a.contract),this._name=(0,o.Z)(this,E).name,this._calldata=new y(r),this.$options=i,Object.assign(this,Object.fromEntries((0,o.Z)(this,E).functions.map((e=>{let{name:r,arguments:n,stateful:o}=e;const i="init"!==r&&!o;return[r,async function(){for(var e=arguments.length,o=new Array(e),a=0;at.name===e));if(null!=t)return t;if("init"===e)return{arguments:[],name:"init",payable:!1,returns:"unit",stateful:!0};throw new l.gY(`Function ${e} doesn't exist in contract`)}function x(e,t,r){let{contractAddressToName:n}=r;const o={...this.$options.contractAddressToName,...n};if(null!=o[e])return o[e];const i=(e,t)=>JSON.stringify(e)===JSON.stringify(t),a=this._aci.map((e=>{let{contract:t}=e;return t})).filter((e=>null===e||void 0===e?void 0:e.event)),s=a.map((e=>[e.name,e.event.variant])).map((e=>{let[t,r]=e;return r.map((e=>[t,Object.keys(e)[0],Object.values(e)[0]]))})).flat().filter((e=>{let[,r]=e;return BigInt(`0x${(0,d.vp)(r).toString("hex")}`)===t})).filter(((e,t,r)=>{let[,,n]=e;return!r.slice(0,t).some((e=>i(e[2],n)))}));switch(s.length){case 0:throw new l.tG(t.toString(),e);case 1:return s[0][0];default:throw new l.Pi(e,s)}}const I=S,O=I},65986:(e,t,r)=>{"use strict";r.d(t,{AB:()=>a,C6:()=>c,H:()=>i,IZ:()=>u,Ne:()=>f,VQ:()=>g,Vp:()=>m,dI:()=>h,kN:()=>p,ku:()=>d});var n=r(70794),o=r(35196);const i=5e4,a=18e4,s=84600,c=s,u=1e9,l=1e14,d=31,f=(0,o.Xc)({31:3,30:5,29:8,28:13,27:21,26:34,25:55,24:89,23:144,22:233,21:377,20:610,19:987,18:1597,17:2584,16:4181,15:6765,14:10946,13:17711,12:28657,11:46368,10:75025,9:121393,8:196418,7:317811,6:514229,5:832040,4:1346269,3:2178309,2:3524578,1:5702887},(e=>{let[t,r]=e;return[t,new n.Z(r).times(l)]}));let h,p,g,m;(function(e){e[e["Iris"]=5]="Iris",e[e["Ceres"]=6]="Ceres"})(h||(h={})),function(e){e[e["NoVm"]=0]="NoVm",e[e["Sophia"]=1]="Sophia",e[e["SophiaImprovementsMinerva"]=3]="SophiaImprovementsMinerva",e[e["SophiaImprovementsFortuna"]=4]="SophiaImprovementsFortuna",e[e["Fate"]=5]="Fate",e[e["SophiaImprovementsLima"]=6]="SophiaImprovementsLima",e[e["Fate2"]=7]="Fate2"}(p||(p={})),function(e){e[e["NoAbi"]=0]="NoAbi",e[e["Sophia"]=1]="Sophia",e[e["Fate"]=3]="Fate"}(g||(g={})),function(e){e[e["Account"]=10]="Account",e[e["SignedTx"]=11]="SignedTx",e[e["SpendTx"]=12]="SpendTx",e[e["Oracle"]=20]="Oracle",e[e["OracleRegisterTx"]=22]="OracleRegisterTx",e[e["OracleQueryTx"]=23]="OracleQueryTx",e[e["OracleResponseTx"]=24]="OracleResponseTx",e[e["OracleExtendTx"]=25]="OracleExtendTx",e[e["Name"]=30]="Name",e[e["NameClaimTx"]=32]="NameClaimTx",e[e["NamePreclaimTx"]=33]="NamePreclaimTx",e[e["NameUpdateTx"]=34]="NameUpdateTx",e[e["NameRevokeTx"]=35]="NameRevokeTx",e[e["NameTransferTx"]=36]="NameTransferTx",e[e["Contract"]=40]="Contract",e[e["ContractCall"]=41]="ContractCall",e[e["ContractCreateTx"]=42]="ContractCreateTx",e[e["ContractCallTx"]=43]="ContractCallTx",e[e["ChannelCreateTx"]=50]="ChannelCreateTx",e[e["ChannelDepositTx"]=51]="ChannelDepositTx",e[e["ChannelWithdrawTx"]=52]="ChannelWithdrawTx",e[e["ChannelForceProgressTx"]=521]="ChannelForceProgressTx",e[e["ChannelCloseMutualTx"]=53]="ChannelCloseMutualTx",e[e["ChannelCloseSoloTx"]=54]="ChannelCloseSoloTx",e[e["ChannelSlashTx"]=55]="ChannelSlashTx",e[e["ChannelSettleTx"]=56]="ChannelSettleTx",e[e["ChannelOffChainTx"]=57]="ChannelOffChainTx",e[e["ChannelOffChainUpdateTransfer"]=570]="ChannelOffChainUpdateTransfer",e[e["ChannelOffChainUpdateDeposit"]=571]="ChannelOffChainUpdateDeposit",e[e["ChannelOffChainUpdateWithdraw"]=572]="ChannelOffChainUpdateWithdraw",e[e["ChannelOffChainUpdateCreateContract"]=573]="ChannelOffChainUpdateCreateContract",e[e["ChannelOffChainUpdateCallContract"]=574]="ChannelOffChainUpdateCallContract",e[e["ChannelClientReconnectTx"]=575]="ChannelClientReconnectTx",e[e["Channel"]=58]="Channel",e[e["ChannelSnapshotSoloTx"]=59]="ChannelSnapshotSoloTx",e[e["TreesPoi"]=60]="TreesPoi",e[e["StateTrees"]=62]="StateTrees",e[e["Mtree"]=63]="Mtree",e[e["MtreeValue"]=64]="MtreeValue",e[e["ContractsMtree"]=621]="ContractsMtree",e[e["CallsMtree"]=622]="CallsMtree",e[e["ChannelsMtree"]=623]="ChannelsMtree",e[e["NameserviceMtree"]=624]="NameserviceMtree",e[e["OraclesMtree"]=625]="OraclesMtree",e[e["AccountsMtree"]=626]="AccountsMtree",e[e["GaAttachTx"]=80]="GaAttachTx",e[e["GaMetaTx"]=81]="GaMetaTx",e[e["PayingForTx"]=82]="PayingForTx",e[e["GaMetaTxAuthData"]=810]="GaMetaTxAuthData"}(m||(m={}))},25398:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>c,tU:()=>s,xx:()=>a});var n=r(48764),o=r(65986);const{Buffer:i}=n,a={[o.dI.Iris]:{"contract-create":{vmVersion:[o.kN.Fate2],abiVersion:[o.VQ.Fate]},"contract-call":{vmVersion:[],abiVersion:[o.VQ.Fate,o.VQ.Sophia]},"oracle-call":{vmVersion:[],abiVersion:[o.VQ.NoAbi,o.VQ.Fate]}},[o.dI.Ceres]:{"contract-create":{vmVersion:[o.kN.Fate2],abiVersion:[o.VQ.Fate]},"contract-call":{vmVersion:[],abiVersion:[o.VQ.Fate]},"oracle-call":{vmVersion:[],abiVersion:[o.VQ.NoAbi,o.VQ.Fate]}}};function s(e,t){var r;const n=a[e][t];return{vmVersion:null!==(r=n.vmVersion[0])&&void 0!==r?r:o.kN.Fate2,abiVersion:n.abiVersion[0]}}const c={serialize(e,t,r){var n;let{consensusProtocolVersion:a=o.dI.Iris}=r;return null!==(n=e)&&void 0!==n||(e=s(a,"contract-create")),i.from([e.vmVersion,0,e.abiVersion])},async prepare(e,t,r){return null!=e?e:null==r.consensusProtocolVersion&&2!==Object.keys(o.dI).length&&null!=r.onNode?s((await r.onNode.getNodeInfo()).consensusProtocolVersion,"contract-create"):void 0},deserialize(e){const[t,,r]=e;return{vmVersion:+t,abiVersion:+r}}}},12442:(e,t,r)=>{"use strict";r.d(t,{B4:()=>g,N1:()=>m,Nw:()=>b,Pz:()=>v,W:()=>p,ku:()=>h,vq:()=>f,yL:()=>w});var n=r(48764),o=r(70794),i=r(34502),a=r(70732),s=r(27469),c=r(66079),u=r(35196),l=r(65986);const{Buffer:d}=n;function f(e,t){const r=d.from([...(0,a.Jx)(e),...(0,c.O)(t)]),n=(0,i.vp)(r);return(0,a.cv)(n,s.e.ContractAddress)}function h(e,t,r){function n(e){const t=(0,c.O)(e,!0);return(0,u.Kb)([d.alloc(32-t.length),t])}const o=(0,i.vp)(d.from([...(0,a.Jx)(e),...n(t),...(0,a.Jx)(r)]));return(0,a.cv)(o,s.e.OracleQueryId)}function p(e){return(0,a.cv)((0,i.vp)(e.toLowerCase()),s.e.Name)}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.Dx)();return(0,a.cv)((0,i.vp)((0,u.Kb)([d.from(e.toLowerCase()),d.from(t.toString(16).padStart(64,"0"),"hex")])),s.e.Commitment)}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.from([]);return new o.Z(d.from(e).toString("hex"),16).toString(10)}const y=".chain";function v(e){return e.endsWith(y)}s.e.AccountAddress,s.e.OracleAddress,s.e.ContractAddress,s.e.Channel;function w(e){const t=e.length-y.length;return l.Ne[Math.min(t,l.ku)]}function b(e){return e.length<13+y.length}},1471:(e,t,r)=>{"use strict";r.d(t,{J1:()=>h,K9:()=>v,M9:()=>y,i2:()=>g,lE:()=>p,vq:()=>m});var n=r(6636),o=r(70732),i=r(27469),a=r(34502),s=r(82580),c=r(65986),u=r(12442),l=r(34674);const{decode:d,encode:f}=n;function h(e,t){var r;const n=s.YW.filter((t=>t.tag.constValue===e));if(0===n.length)throw new l.lp(`${c.Vp[e]} (${e})`,0);null!==(r=t)&&void 0!==r||(t=Math.max(...n.map((e=>e.version.constValue))));const o=n.find((e=>e.version.constValue===t));if(null==o)throw new l.lp(`${c.Vp[e]} (${e})`,t);return Object.entries(o)}function p(e){let{prefix:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=h(e.tag,e.version),n=r.map((t=>{let[r,n]=t;return n.serialize(e[r],{...e,unpackTx:m,buildTx:p,rebuildTx:t=>p({...e,...t})},e)}));return(0,o.cv)(f(n),null!==t&&void 0!==t?t:i.e.Transaction)}async function g(e){return await Promise.all(h(e.tag,e.version).map((async t=>{let[r,n]=t;null!=n.prepare&&(e[r]=await n.prepare(e[r],e,e))}))),p(e)}function m(e,t){const r=d((0,o.Jx)(e)),n=+(0,u.N1)(r[0]),i=+(0,u.N1)(r[1]),a=h(n,i);if(null!=t&&t!==n)throw new l._9(`Expected transaction to have ${c.Vp[t]} tag, got ${c.Vp[n]} instead`);if(r.length!==a.length)throw new l.ir("Transaction RLP length",a.length,r.length);return a.reduce(((e,t,n)=>{let[o,i]=t;const a=i.deserialize(r[n],{unpackTx:m});return{...e,[o]:a}}),{})}function y(e){const t="string"===typeof e&&e.startsWith("tx_")?(0,o.Jx)(e):e;return(0,o.cv)((0,a.vp)(t),i.e.TxHash)}function v(e){const t=m(e);if(c.Vp.ContractCreateTx!==t.tag&&c.Vp.GaAttachTx!==t.tag)throw new l.ir("contractTx","a contractCreateTx or gaAttach",t.tag);return(0,u.vq)(t.ownerId,t.nonce)}},82580:(e,t,r)=>{"use strict";r.d(t,{vT:()=>lt,oZ:()=>st,RQ:()=>ct,Bm:()=>ut,YW:()=>Et});var n=r(65986),o=r(48764),i=r(25398);const{Buffer:a}=o,s={_getProtocolDetails(e,t){const r=n.Vp.ContractCallTx===t||n.Vp.GaMetaTx===t?"contract-call":"oracle-call";return(0,i.tU)(e,r).abiVersion},serialize(e,t,r){let{tag:o}=t,{consensusProtocolVersion:i=n.dI.Iris}=r;const s=null!==e&&void 0!==e?e:this._getProtocolDetails(i,o);return a.from([s])},async prepare(e,t,r){let{tag:o}=t;return null!=e?e:null==r.consensusProtocolVersion&&2!==Object.keys(n.dI).length&&null!=r.onNode?this._getProtocolDetails((await r.onNode.getNodeInfo()).consensusProtocolVersion,o):void 0},deserialize(e){return e[0]}};var c=r(34674),u=r(66079),l=r(27469),d=r(70732),f=r(35196);const{Buffer:h}=o,p=[l.e.AccountAddress,l.e.Name,l.e.Commitment,l.e.OracleAddress,l.e.ContractAddress,l.e.Channel];function g(){for(var e=arguments.length,t=new Array(e),r=0;re.serialize(t,r)))},deserialize(t,r){return t.map((t=>e.deserialize(t,r)))}}}const{Buffer:y}=o,v={serialize(e){return y.from([e?1:0])},deserialize(e){return 1===e[0]}};var w=r(12442);const b={serialize(e){if(e<0)throw new c.ir("value","greater or equal to 0",e);return(0,u.O)(e,!0)},deserialize(e){return(0,w.N1)(e)}};var _=r(61080);const E={...b,serializeAettos(e){return null!==e&&void 0!==e?e:"0"},serialize(e,t,r){let{denomination:n=_.fM.AETTOS}=r;return b.serialize(this.serializeAettos(null!=e?(0,_.dN)(e,{denomination:n}):e,t))}},S={...E,serialize(e,t,r){var n;if(null!==(n=e)&&void 0!==n||(e=0),0!==+e)throw new c.mG(`Contract deposit is not refundable, so it should be equal 0, got ${e.toString()} instead`);return E.serialize(e,t,r)}},{Buffer:A}=o;function T(e,t){return{serialize(e){if(null==e){if(!0===t)return A.from([]);throw new c.ir("Encoded data","provided",e)}return(0,d.Jx)(e)},deserialize(t){return(0,d.cv)(t,e)}}}const{Buffer:C}=o;function x(e){return{serialize(t,r){let{buildTx:n}=r;return ArrayBuffer.isView(t)?C.from(t):"string"===typeof t&&t.startsWith("tx_")?(0,d.Jx)(t):(0,d.Jx)(n({...t,...null!=e&&{tag:e}}))},deserialize(t,r){let{unpackTx:n}=r;const o=n((0,d.cv)(t,l.e.Transaction));if(null!=e&&o.tag!==e)throw new c.ir("Tag",e,o.tag);return o}}}const{Buffer:I}=o;function O(e){const t=Object.values(e).filter((e=>"number"===typeof e));return{serialize(e){if("number"!==typeof e)throw new c.ir("value","to be a number",e);if(e>255)throw new c.ir("value","to be less than 256",e);if(!(0,f.xo)(e,t))throw new c.ir("value","to be a value of Enum",e);return I.from([e])},deserialize(e){if(1!==e.length)throw new c.ir("buffer","to have single element",e.length);const r=e[0];if(!(0,f.xo)(r,t))throw new c.ir("value","to be a value of Enum",r);return r}}}var N=r(70794);const P=15e3,k=20,R=3,M=e=>{var t;const r={[n.Vp.ChannelForceProgressTx]:30,[n.Vp.ChannelOffChainTx]:0,[n.Vp.ChannelOffChainUpdateCallContract]:0,[n.Vp.ChannelOffChainUpdateCreateContract]:0,[n.Vp.ChannelOffChainUpdateDeposit]:0,[n.Vp.ChannelOffChainUpdateWithdraw]:0,[n.Vp.ChannelOffChainUpdateTransfer]:0,[n.Vp.ContractCreateTx]:5,[n.Vp.ContractCallTx]:12,[n.Vp.GaAttachTx]:5,[n.Vp.GaMetaTx]:5,[n.Vp.PayingForTx]:.2},o=null!==(t=r[e])&&void 0!==t?t:1;return new N.Z(o*P)},B=(e,t,r)=>{let{relativeTtl:o,innerTxSize:i}=r;switch(e){case n.Vp.OracleRegisterTx:case n.Vp.OracleExtendTx:case n.Vp.OracleQueryTx:case n.Vp.OracleResponseTx:return new N.Z(t).times(k).plus(Math.ceil(32e3*o/Math.floor(525600/R)));case n.Vp.GaMetaTx:case n.Vp.PayingForTx:return new N.Z(t).minus(i).times(k);default:return new N.Z(t).times(k)}};function L(e){const t={[n.Vp.OracleRegisterTx]:"oracleTtlValue",[n.Vp.OracleExtendTx]:"oracleTtlValue",[n.Vp.OracleQueryTx]:"queryTtlValue",[n.Vp.OracleResponseTx]:"responseTtlValue"},{tag:r}=e;return(0,f.EI)(r,t)?e[t[r]]:1}function D(e,t,r){const{length:o}=(0,d.Jx)(e),i=t(e);let a=0;return i.tag!==n.Vp.GaMetaTx&&i.tag!==n.Vp.PayingForTx||(a=(0,d.Jx)(r(i.tx.encodedTx)).length),M(i.tag).plus(B(i.tag,o,{relativeTtl:L(i),innerTxSize:a})).times(n.IZ)}function F(e,t,r){let n,o=new N.Z(0);do{n=o,o=D(e(o),t,r)}while(!o.eq(n));return o}const $={...E,serializeAettos(e,t){let{rebuildTx:r,unpackTx:n,buildTx:o,_computingMinFee:i,_pickBiggerFee:a}=t;if(null!=i)return i.toFixed();const s=F((e=>r({_computingMinFee:e})),n,o),u=new N.Z(null!==e&&void 0!==e?e:s);if(s.gt(u)){if(!0===a)return s.toFixed();throw new c.mG(`Fee ${u.toString()} must be bigger then ${s}`)}return u.toFixed()}},U={serialize(e){return b.serialize(e)},deserialize(e){return+b.deserialize(e)}};function j(e,t,r,o){return e-+D(t(e),r,o).dividedBy(n.IZ)}const z={...U,serialize(e,t,r){let{tag:o,rebuildTx:i,unpackTx:a,buildTx:s,_computingGasLimit:u}=t,{gasMax:l=6e6}=r;if(null!=u)return U.serialize(u);const d=o===n.Vp.GaMetaTx?n.H:j(l,(e=>i({_computingGasLimit:e,_pickBiggerFee:!0})),a,s),f=null!==e&&void 0!==e?e:d;if(f>d)throw new c.mG(`Gas limit ${f} must be less or equal to ${d}`);return U.serialize(f)}},V={...E,serializeAettos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.IZ.toString();if(+e{let[r,i]=e;return{tag:n.Vp.MtreeValue,key:(0,d.Jx)(r),value:(0,d.Jx)(o({...i,tag:t}))}}))}))},deserialize(r,o){let{unpackTx:i}=o;const{values:a}=i((0,d.cv)(r,l.e.Transaction),n.Vp.Mtree);return Object.fromEntries(a.filter((t=>{let{key:r}=t;return e!==l.e.ContractAddress||32===r.length})).map((r=>{let{key:n,value:o}=r;return[(0,d.cv)(n,e),i((0,d.cv)(o,l.e.Transaction),t)]})))},recursiveType:!0}}var q=r(18961),G=r(87338),W=r(6636),Z=r(34502);const{Buffer:K}=o;function Y(e,t){J(e,t),t.add(e)}function X(e,t,r){J(e,t),t.set(e,r)}function J(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Q(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function ee(e,t,r){return te(e,t),r}function te(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}const{encode:re}=W;var ne;(function(e){e[e["Branch"]=0]="Branch",e[e["Extension"]=1]="Extension",e[e["Leaf"]=2]="Leaf"})(ne||(ne={}));var oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,se=new WeakMap,ce=new WeakMap,ue=new WeakMap,le=new WeakSet,de=new WeakSet;class fe{get isComplete(){return(0,G.Z)(this,ie)}constructor(e,t,r,n){if(Y(this,de),Y(this,le),X(this,oe,{writable:!0,value:void 0}),X(this,ie,{writable:!0,value:!0}),X(this,ae,{writable:!0,value:void 0}),X(this,se,{writable:!0,value:void 0}),X(this,ce,{writable:!0,value:void 0}),X(this,ue,{writable:!0,value:void 0}),(0,q.Z)(this,se,t),(0,q.Z)(this,ce,r),(0,q.Z)(this,ue,n),(0,q.Z)(this,oe,e[0].toString("hex")),(0,q.Z)(this,ae,Object.fromEntries(e[1].map((e=>[e[0].toString("hex"),e[1]])))),null!=(0,G.Z)(this,ae)[(0,G.Z)(this,oe)])Object.entries((0,G.Z)(this,ae)).forEach((e=>{let[t,r]=e;if(ee(fe,fe,he).call(fe,r)!==t)throw new c.Cb;const{type:n}=ee(fe,fe,pe).call(fe,r);switch(n){case ne.Branch:r.slice(0,16).filter((e=>e.length)).forEach((e=>{null==(0,G.Z)(this,ae)[e.toString("hex")]&&(0,q.Z)(this,ie,!1)}));break;case ne.Extension:if(null==(0,G.Z)(this,ae)[r[1].toString("hex")])throw new c.bn("Can't find a node by hash in extension node");break;case ne.Leaf:break;default:throw new c.AQ(`Unknown MPTree node type: ${n}`)}}));else{if(0!==Object.keys((0,G.Z)(this,ae)).length)throw new c.bn("Can't find a node by root hash");(0,q.Z)(this,ie,!1)}}isEqual(e){return(0,G.Z)(this,oe)===(0,G.Z)(e,oe)}serialize(){return[K.from((0,G.Z)(this,oe),"hex"),Object.entries((0,G.Z)(this,ae)).map((e=>{let[t,r]=e;return[K.from(t,"hex"),r]}))]}get(e){const t=Q(this,le,ge).call(this,(0,d.Jx)(e).toString("hex"));return null==t?t:(0,G.Z)(this,ue).call(this,(0,d.cv)(t,l.e.Transaction),(0,G.Z)(this,ce))}toObject(){return Object.fromEntries(Q(this,de,me).call(this).filter((e=>{let[t]=e;return(0,G.Z)(this,se)!==l.e.ContractAddress||66!==t.length})).map((e=>{let[t,r]=e;return[(0,d.cv)(K.from(t,"hex"),(0,G.Z)(this,se)),(0,G.Z)(this,ue).call(this,(0,d.cv)(r,l.e.Transaction),(0,G.Z)(this,ce))]})))}}function he(e){return K.from((0,Z.vp)(re(e))).toString("hex")}function pe(e){switch(e.length){case 17:return{type:ne.Branch,...0!==e[16].length&&{value:e[16]}};case 2:{const t=e[0][0]>>4;if(t>3)throw new c.CJ(t);const r=t<=1?ne.Extension:ne.Leaf,n=[0,2].includes(t)?2:1;return{type:r,...r===ne.Leaf&&{value:e[1]},path:e[0].toString("hex").slice(n)}}default:throw new c.Y3(e.length)}}function ge(e){let t=(0,G.Z)(this,oe),r=e;while(1){const e=(0,G.Z)(this,ae)[t];if(null==e){if(!this.isComplete)return;throw new c.AQ("Can't find node in complete tree")}const{type:n,value:o,path:i}=ee(fe,fe,pe).call(fe,e);switch(n){case ne.Branch:if(0===r.length)return o;t=e[+`0x${r[0]}`].toString("hex"),r=r.substring(1);break;case ne.Extension:if(r.substring(0,null===i||void 0===i?void 0:i.length)!==i)return;t=e[1].toString("hex"),r=r.substring(i.length);break;case ne.Leaf:if(i!==r)return;return o;default:throw new c.AQ(`Unknown MPTree node type: ${n}`)}}}function me(){const e=[],t=(r,n)=>{const o=(0,G.Z)(this,ae)[r];if(null==o){if(!this.isComplete)return;throw new c.AQ("Can't find node in complete tree")}const{type:i,value:a,path:s}=ee(fe,fe,pe).call(fe,o);switch(i){case ne.Branch:o.slice(0,16).map(((e,t)=>[e,t])).filter((e=>{let[t]=e;return t.length})).forEach((e=>{let[r,o]=e;return t(r.toString("hex"),n+o.toString(16))})),null!=a&&e.push([n,a]);break;case ne.Extension:t(o[1].toString("hex"),n+s);break;case ne.Leaf:if(null==a)throw new c.eG;e.push([n+s,a]);break;default:throw new c.AQ(`Unknown MPTree node type: ${i}`)}};return t((0,G.Z)(this,oe),""),e}function ye(e,t){return{serialize(e){return e.serialize()},deserialize(r,n){let{unpackTx:o}=n;return new fe(r,e,t,o)}}}const{Buffer:ve}=o,we={serialize(e){return ve.from(e)},deserialize(e){return e.toString()}},be={serialize(e){return we.serialize(e)},deserialize(e){return we.deserialize(e)}},_e={...E,serializeAettos(e,t){const r=(0,w.yL)(t.name),n=new N.Z(null!==e&&void 0!==e?e:r);if(r.gt(n))throw new c.hM(n,r);return n.toFixed()},serialize(e,t,r){return E.serialize.call(this,e,t,r)}},Ee=g(l.e.Name),Se={...Ee,serialize(e){return Ee.serialize((0,w.Pz)(e)?(0,w.W)(e):e)}};function Ae(e){return{...U,async prepare(t,r,n){if(null!=t)return t;const{onNode:o,strategy:i}=n,a=n[e],s="provided (or provide `nonce` instead)";if(null==o)throw new c.ir("onNode",s,o);if(null==a)throw new c.ir("senderId",s,a);return(await o.getAccountNextNonce(a.replace(/^ok_/,"ak_"),{strategy:i}).catch((e=>{if(!(0,f.PD)(e))throw e;return{nextNonce:1}}))).nextNonce},senderKey:e}}const Te=g(...p),Ce={serialize(e){if(e.length>32)throw new c.mG(`Expected 32 pointers or less, got ${e.length} instead`);return e.map((e=>[(0,u.O)(e.key),Te.serialize(e.id)]))},deserialize(e){return e.map((e=>{let[t,r]=e;return{key:t.toString(),id:Te.deserialize(r)}}))}},{Buffer:xe}=o,Ie={serialize(e){return xe.from(e)},deserialize(e){return e}};function Oe(e,t){return{serialize(r){if((!0!==t||null!=r)&&r!==e)throw new c.ir("ShortUIntConst",e,r);return U.serialize(e)},deserialize(t){const r=U.deserialize(t);if(r!==e)throw new c.ir("ShortUIntConst",e,r);return e},constValue:e,constValueOptional:!0===t}}const Ne={serialize(e){return(0,u.O)(e)},deserialize(e){return e.toString()}},Pe={...U,serialize(e){return U.serialize(null!==e&&void 0!==e?e:0)},async prepare(e,t,r){let{onNode:n,absoluteTtl:o}=r;if(!0!==o&&0!==e&&null!=e){if(null==n)throw new c.ir("onNode","provided",n);e+=(await n.getCurrentKeyBlock()).height}return e}};function ke(e){return{serialize(t,r){let{buildTx:n}=r;return(0,d.Jx)(n({tag:e,payload:t}))},deserialize(t,r){let{unpackTx:n}=r;return n((0,d.cv)(t,l.e.Transaction),e).payload},recursiveType:!0}}const Re=s,Me=g,Be=m,Le=v,De=E,Fe=i.ZP,$e=S,Ue=T,je=x,ze=O,Ve=$,He=z,qe=V,Ge=H,We=ye,Ze=be,Ke=_e,Ye=Se,Xe=Ae,Je=Ce,Qe=Ie,et=U,tt=Oe,rt=Ne,nt=Pe,ot=b,it=ke;let at;(function(e){e[e["delta"]=0]="delta",e[e["block"]=1]="block"})(at||(at={}));const st={type:at.delta,value:500},ct={type:at.delta,value:10},ut={type:at.delta,value:10},lt={pub:"ak_11111111111111111111111111111111273Yts",amount:100000000000000000000000000000000000n};let dt;(function(e){e[e["Ok"]=0]="Ok",e[e["Error"]=1]="Error",e[e["Revert"]=2]="Revert"})(dt||(dt={}));const ft=je(),ht=je(n.Vp.SignedTx),pt=Be(je(n.Vp.MtreeValue)),gt=je(n.Vp.TreesPoi),mt=Ge(l.e.ContractAddress,n.Vp.Contract),yt=Ge(l.e.AccountAddress,n.Vp.Account),vt=Ge(l.e.Bytearray,n.Vp.ContractCall),wt=Ge(l.e.Channel,n.Vp.Channel),bt=Ge(l.e.Name,n.Vp.Name),_t=Ge(l.e.OracleAddress,n.Vp.Oracle),Et=[{tag:tt(n.Vp.Account),version:tt(1),nonce:et,balance:ot},{tag:tt(n.Vp.Account),version:tt(2,!0),flags:ot,nonce:et,balance:ot,gaContract:Me(l.e.ContractAddress,l.e.Name),gaAuthFun:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.SignedTx),version:tt(1,!0),signatures:Be(Qe),encodedTx:ft},{tag:tt(n.Vp.SpendTx),version:tt(1,!0),senderId:Me(l.e.AccountAddress),recipientId:Me(l.e.AccountAddress,l.e.Name),amount:De,fee:Ve,ttl:nt,nonce:Xe("senderId"),payload:Ue(l.e.Bytearray,!0)},{tag:tt(n.Vp.Name),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nameTtl:et,status:Qe,clientTtl:et,pointers:Je},{tag:tt(n.Vp.NamePreclaimTx),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),commitmentId:Me(l.e.Commitment),fee:Ve,ttl:nt},{tag:tt(n.Vp.NameClaimTx),version:tt(2,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),name:Ze,nameSalt:ot,nameFee:Ke,fee:Ve,ttl:nt},{tag:tt(n.Vp.NameUpdateTx),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),nameId:Ye,nameTtl:et,pointers:Je,clientTtl:et,fee:Ve,ttl:nt},{tag:tt(n.Vp.NameTransferTx),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),nameId:Ye,recipientId:Me(l.e.AccountAddress,l.e.Name),fee:Ve,ttl:nt},{tag:tt(n.Vp.NameRevokeTx),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),nameId:Ye,fee:Ve,ttl:nt},{tag:tt(n.Vp.Contract),version:tt(1,!0),owner:Me(l.e.AccountAddress),ctVersion:Fe,code:Ue(l.e.ContractBytearray),log:Ue(l.e.ContractBytearray),active:Le,referers:Be(Me(l.e.AccountAddress)),deposit:$e},{tag:tt(n.Vp.ContractCreateTx),version:tt(1,!0),ownerId:Me(l.e.AccountAddress),nonce:Xe("ownerId"),code:Ue(l.e.ContractBytearray),ctVersion:Fe,fee:Ve,ttl:nt,deposit:$e,amount:De,gasLimit:He,gasPrice:qe,callData:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.ContractCallTx),version:tt(1,!0),callerId:Me(l.e.AccountAddress),nonce:Xe("callerId"),contractId:Me(l.e.ContractAddress,l.e.Name),abiVersion:Re,fee:Ve,ttl:nt,amount:De,gasLimit:He,gasPrice:qe,callData:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.ContractCall),version:tt(2,!0),callerId:Me(l.e.AccountAddress),callerNonce:et,height:et,contractId:Me(l.e.ContractAddress),gasPrice:ot,gasUsed:et,returnValue:Ue(l.e.ContractBytearray),returnType:ze(dt),log:Be(Qe)},{tag:tt(n.Vp.Oracle),version:tt(1,!0),accountId:Me(l.e.AccountAddress),queryFormat:rt,responseFormat:rt,queryFee:De,oracleTtlValue:et,abiVersion:Re},{tag:tt(n.Vp.OracleRegisterTx),version:tt(1,!0),accountId:Me(l.e.AccountAddress),nonce:Xe("accountId"),queryFormat:rt,responseFormat:rt,queryFee:De,oracleTtlType:ze(at),oracleTtlValue:et,fee:Ve,ttl:nt,abiVersion:Re},{tag:tt(n.Vp.OracleExtendTx),version:tt(1,!0),oracleId:Me(l.e.OracleAddress,l.e.Name),nonce:Xe("oracleId"),oracleTtlType:ze(at),oracleTtlValue:et,fee:Ve,ttl:nt},{tag:tt(n.Vp.OracleQueryTx),version:tt(1,!0),senderId:Me(l.e.AccountAddress),nonce:Xe("senderId"),oracleId:Me(l.e.OracleAddress,l.e.Name),query:rt,queryFee:De,queryTtlType:ze(at),queryTtlValue:et,responseTtlType:ze(at),responseTtlValue:et,fee:Ve,ttl:nt},{tag:tt(n.Vp.OracleResponseTx),version:tt(1,!0),oracleId:Me(l.e.OracleAddress),nonce:Xe("oracleId"),queryId:Ue(l.e.OracleQueryId),response:rt,responseTtlType:ze(at),responseTtlValue:et,fee:Ve,ttl:nt},{tag:tt(n.Vp.ChannelCreateTx),version:tt(2,!0),initiator:Me(l.e.AccountAddress),initiatorAmount:ot,responder:Me(l.e.AccountAddress),responderAmount:ot,channelReserve:ot,lockPeriod:ot,ttl:nt,fee:Ve,initiatorDelegateIds:Be(Me(...p)),responderDelegateIds:Be(Me(...p)),stateHash:Ue(l.e.State),nonce:Xe("initiator")},{tag:tt(n.Vp.ChannelCloseMutualTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),initiatorAmountFinal:ot,responderAmountFinal:ot,ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelCloseSoloTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),payload:Ue(l.e.Transaction),poi:gt,ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelSlashTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),payload:Ue(l.e.Transaction),poi:gt,ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelDepositTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),amount:ot,ttl:nt,fee:Ve,stateHash:Ue(l.e.State),round:et,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelWithdrawTx),version:tt(1,!0),channelId:Me(l.e.Channel),toId:Me(l.e.AccountAddress),amount:ot,ttl:nt,fee:Ve,stateHash:Ue(l.e.State),round:et,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelSettleTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),initiatorAmountFinal:ot,responderAmountFinal:ot,ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelForceProgressTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),payload:Ue(l.e.Transaction),round:et,update:Ue(l.e.ContractBytearray),stateHash:Ue(l.e.State),offChainTrees:Ue(l.e.StateTrees),ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelOffChainTx),version:tt(2,!0),channelId:Me(l.e.Channel),round:et,stateHash:Ue(l.e.State)},{tag:tt(n.Vp.Channel),version:tt(3,!0),initiator:Me(l.e.AccountAddress),responder:Me(l.e.AccountAddress),channelAmount:ot,initiatorAmount:ot,responderAmount:ot,channelReserve:ot,initiatorDelegateIds:Be(Me(...p)),responderDelegateIds:Be(Me(...p)),stateHash:Ue(l.e.State),round:et,soloRound:ot,lockPeriod:ot,lockedUntil:ot,initiatorAuth:Ue(l.e.ContractBytearray),responderAuth:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.ChannelSnapshotSoloTx),version:tt(1,!0),channelId:Me(l.e.Channel),fromId:Me(l.e.AccountAddress),payload:Ue(l.e.Transaction),ttl:nt,fee:Ve,nonce:Xe("fromId")},{tag:tt(n.Vp.ChannelOffChainUpdateTransfer),version:tt(1,!0),from:Me(l.e.AccountAddress),to:Me(l.e.AccountAddress),amount:ot},{tag:tt(n.Vp.ChannelOffChainUpdateDeposit),version:tt(1,!0),from:Me(l.e.AccountAddress),amount:ot},{tag:tt(n.Vp.ChannelOffChainUpdateWithdraw),version:tt(1,!0),from:Me(l.e.AccountAddress),amount:ot},{tag:tt(n.Vp.ChannelOffChainUpdateCreateContract),version:tt(1,!0),owner:Me(l.e.AccountAddress),ctVersion:Fe,code:Ue(l.e.ContractBytearray),deposit:ot,callData:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.ChannelOffChainUpdateCallContract),version:tt(1,!0),caller:Me(l.e.AccountAddress),contract:Me(l.e.ContractAddress),abiVersion:Re,amount:ot,callData:Ue(l.e.ContractBytearray),callStack:Qe,gasPrice:qe,gasLimit:He},{tag:tt(n.Vp.ChannelClientReconnectTx),version:tt(1,!0),channelId:Me(l.e.Channel),round:et,role:rt,pubkey:Me(l.e.AccountAddress)},{tag:tt(n.Vp.TreesPoi),version:tt(1,!0),accounts:Be(We(l.e.AccountAddress,n.Vp.Account)),calls:Be(We(l.e.Bytearray,n.Vp.ContractCall)),channels:Be(We(l.e.Channel,n.Vp.Channel)),contracts:Be(We(l.e.ContractAddress,n.Vp.Contract)),ns:Be(We(l.e.Name,n.Vp.Name)),oracles:Be(We(l.e.OracleAddress,n.Vp.Oracle))},{tag:tt(n.Vp.StateTrees),version:tt(0,!0),contracts:it(n.Vp.ContractsMtree),calls:it(n.Vp.CallsMtree),channels:it(n.Vp.ChannelsMtree),ns:it(n.Vp.NameserviceMtree),oracles:it(n.Vp.OraclesMtree),accounts:it(n.Vp.AccountsMtree)},{tag:tt(n.Vp.Mtree),version:tt(1,!0),values:pt},{tag:tt(n.Vp.MtreeValue),version:tt(1,!0),key:Qe,value:Qe},{tag:tt(n.Vp.ContractsMtree),version:tt(1,!0),payload:mt},{tag:tt(n.Vp.CallsMtree),version:tt(1,!0),payload:vt},{tag:tt(n.Vp.ChannelsMtree),version:tt(1,!0),payload:wt},{tag:tt(n.Vp.NameserviceMtree),version:tt(1,!0),payload:bt},{tag:tt(n.Vp.OraclesMtree),version:tt(1,!0),payload:_t},{tag:tt(n.Vp.AccountsMtree),version:tt(1,!0),payload:yt},{tag:tt(n.Vp.GaAttachTx),version:tt(1,!0),ownerId:Me(l.e.AccountAddress),nonce:Xe("ownerId"),code:Ue(l.e.ContractBytearray),authFun:Qe,ctVersion:Fe,fee:Ve,ttl:nt,gasLimit:He,gasPrice:qe,callData:Ue(l.e.ContractBytearray)},{tag:tt(n.Vp.GaMetaTx),version:tt(2,!0),gaId:Me(l.e.AccountAddress),authData:Ue(l.e.ContractBytearray),abiVersion:Re,fee:Ve,gasLimit:He,gasPrice:qe,tx:ht},{tag:tt(n.Vp.PayingForTx),version:tt(1,!0),payerId:Me(l.e.AccountAddress),nonce:Xe("payerId"),fee:Ve,tx:ht},{tag:tt(n.Vp.GaMetaTxAuthData),version:tt(1,!0),fee:De,gasPrice:qe,txHash:Ue(l.e.TxHash)}]},2311:(e,t,r)=>{"use strict";r.d(t,{Pq:()=>u,bV:()=>d});var n=r(1471),o=r(65986),i=r(34502),a=r(82428),s=r(34674),c=r(36888);function u(e){let{innerTx:t,gasUsed:r,queryFee:i,isInitiator:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const c=(0,n.vq)(e);if(c.tag===o.Vp.SignedTx)throw new s.mG("Transaction shouldn't be a SignedTx, use `getExecutionCostBySignedTx` instead");let l=0n;return"fee"in c&&"freeloader"!==t&&(l+=BigInt(c.fee)),c.tag===o.Vp.NameClaimTx&&(l+=BigInt(c.nameFee)),c.tag===o.Vp.OracleQueryTx&&(l+=BigInt(c.queryFee)),c.tag===o.Vp.OracleResponseTx&&(l-=BigInt(null!==i&&void 0!==i?i:0)),c.tag===o.Vp.ChannelSettleTx&&(!0===a&&(l-=BigInt(c.initiatorAmountFinal)),!1===a&&(l-=BigInt(c.responderAmountFinal))),(c.tag===o.Vp.SpendTx&&c.senderId!==c.recipientId||c.tag===o.Vp.ContractCreateTx||c.tag===o.Vp.ContractCallTx||c.tag===o.Vp.ChannelDepositTx)&&"fee-payer"!==t&&(l+=BigInt(c.amount)),c.tag===o.Vp.ContractCreateTx&&(l+=BigInt(c.deposit)),c.tag!==o.Vp.ContractCreateTx&&c.tag!==o.Vp.ContractCallTx&&c.tag!==o.Vp.GaAttachTx&&c.tag!==o.Vp.GaMetaTx||"freeloader"===t||(l+=BigInt(c.gasPrice)*BigInt(null!==r&&void 0!==r?r:c.gasLimit)),c.tag!==o.Vp.GaMetaTx&&c.tag!==o.Vp.PayingForTx||(l+=u((0,n.lE)(c.tx.encodedTx),c.tag===o.Vp.PayingForTx?{innerTx:"fee-payer"}:{})),l}function l(e,t,r){const l=(0,n.vq)(e,o.Vp.SignedTx);if(l.encodedTx.tag===o.Vp.GaMetaTx)return u((0,n.lE)(l.encodedTx),r);const d=(0,n.lE)(l.encodedTx),f=(0,c.Z)(d),[h,p]=[!0,!1].map((e=>(0,i.T)((0,a.y)(d,t,e),l.signatures[0],f)));if(!h&&!p)throw new s.qw("Can't verify signature");return u((0,n.lE)(l.encodedTx),{...h&&{innerTx:"freeloader"},...r})}async function d(e,t){let{isMined:r,...i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,n.vq)(e);const c=a.tag===o.Vp.SignedTx,d=c&&!0===r&&(0,n.M9)(e);if(a.tag===o.Vp.SignedTx&&(a=a.encodedTx),null==i.gasUsed&&!1!==d&&[o.Vp.ContractCreateTx,o.Vp.ContractCallTx,o.Vp.GaAttachTx,o.Vp.GaMetaTx].includes(a.tag)){const{callInfo:e,gaInfo:r}=await t.getTransactionInfoByHash(d),n=null!==e&&void 0!==e?e:r;if(null==n)throw new s.AQ(`callInfo and gaInfo is not available for transaction ${d}`);i.gasUsed=n.gasUsed}if(null==i.queryFee&&o.Vp.OracleResponseTx===a.tag&&(i.queryFee=(await t.getOracleByPubkey(a.oracleId)).queryFee.toString()),null==i.isInitiator&&o.Vp.ChannelSettleTx===a.tag&&!0!==r){const{initiatorId:e}=await t.getChannelByPubkey(a.channelId);i.isInitiator=a.fromId===e}return c?l(e,await t.getNetworkId(),i):u(e,i)}},36888:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(1471),o=r(65986),i=r(34674);function a(e){var t;const r=(0,n.vq)(e);switch(r.tag){case o.Vp.SignedTx:return a((0,n.lE)(r.encodedTx));case o.Vp.GaMetaTx:return r.gaId;default:}const s=null===(t=(0,n.J1)(r.tag,r.version).find((e=>{let[t]=e;return"nonce"===t})))||void 0===t?void 0:t[1];if(null==s)throw new i.qw(`Transaction doesn't have nonce: ${o.Vp[r.tag]}`);if(!("senderKey"in s))throw new i.eG;const c=r[s.senderKey];return c.replace(/^ok_/,"ak_")}},70256:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(48764),o=r(34502),i=r(25398),a=r(65986),s=r(1471),c=r(35196),u=r(70732),l=r(14656),d=r(24115),f=r(34674),h=r(36888),p=r(2311);const{Buffer:g}=n,m=[];async function y(e,t,r){const n=(0,h.Z)((0,s.lE)(e)),[o,{height:i},{consensusProtocolVersion:a,nodeNetworkId:u}]=await Promise.all([t.getAccountByPubkey(n).catch((e=>{if(!(0,c.PD)(e))throw e;return{id:n,balance:0n,nonce:0}})).then((e=>({...e,id:e.id}))),t.getCurrentKeyBlockHeight(),t.getNodeInfo()]);return(await Promise.all(m.map((async n=>n(e,{node:t,account:o,height:i,consensusProtocolVersion:a,nodeNetworkId:u,parentTxTypes:r}))))).flat()}async function v(e,t){const r=new l.Z(t.$host,{ignoreVersion:!0,pipeline:t.pipeline.clone(),additionalPolicies:[(0,d.xX)()]});return y((0,s.vq)(e),r,[])}m.push(((e,t)=>{let{account:r,nodeNetworkId:n,parentTxTypes:i}=t;if(e.tag!==a.Vp.SignedTx)return[];const{encodedTx:l,signatures:d}=e;if(null==(null!==l&&void 0!==l?l:d))return[];if(1!==d.length)return[];const f=g.from([n,...i.includes(a.Vp.PayingForTx)?["inner_tx"]:[]].join("-")),h=(0,u.Jx)((0,s.lE)(l)),p=(0,c.Kb)([f,h]),m=(0,c.Kb)([f,(0,o.vp)(h)]);return(0,o.T)(p,d[0],r.id)||(0,o.T)(m,d[0],r.id)?[]:[{message:"Signature cannot be verified, please ensure that you transaction have the correct prefix and the correct private key for the sender address",key:"InvalidSignature",checkedKeys:["encodedTx","signatures"]}]}),(async(e,t)=>{let r,{node:n,parentTxTypes:o}=t;return"encodedTx"in e&&(r=e.encodedTx),"tx"in e&&(r=e.tx),null==r?[]:y(r,n,[...o,e.tag])}),((e,t)=>{let{height:r}=t;return"ttl"in e?0===e.ttl||e.ttl>=r?[]:[{message:`TTL ${e.ttl} is already expired, current height is ${r}`,key:"ExpiredTTL",checkedKeys:["ttl"]}]:[]}),(async(e,t)=>{let{account:r,parentTxTypes:n,node:o}=t;if(0!==n.length)return[];const i=await(0,p.bV)((0,s.lE)(e),o).catch((()=>0n));return i<=r.balance?[]:[{message:`Account balance ${r.balance} is not enough to execute the transaction that costs ${i}`,key:"InsufficientBalance",checkedKeys:["amount","fee","nameFee","gasLimit","gasPrice"]}]}),((e,t)=>{let r,{account:n}=t;return e.tag===a.Vp.SignedTx&&"generalized"===n.kind&&0!==e.signatures.length&&(r="Generalized account can't be used to generate SignedTx with signatures"),e.tag===a.Vp.GaMetaTx&&"basic"===n.kind&&(r="Basic account can't be used to generate GaMetaTx"),null==r?[]:[{message:r,key:"InvalidAccountType",checkedKeys:["tag"]}]}),((e,t)=>{var r,n;let{consensusProtocolVersion:o}=t;const s=a.Vp.Oracle===e.tag||a.Vp.OracleRegisterTx===e.tag,c=a.Vp.ContractCreateTx===e.tag||a.Vp.GaAttachTx===e.tag,u=a.Vp.ContractCallTx===e.tag||a.Vp.GaMetaTx===e.tag,l=null!==(r=null!==(n=s?"oracle-call":null)&&void 0!==n?n:c?"contract-create":null)&&void 0!==r?r:u?"contract-call":null;if(null==l)return[];const d=i.xx[o][l];let h;if("abiVersion"in e&&(h={abiVersion:e.abiVersion}),"ctVersion"in e&&(h=e.ctVersion),null==h)throw new f.eG;return!d.abiVersion.includes(h.abiVersion)||c&&!d.vmVersion.includes(h.vmVersion)?[{message:`ABI/VM version ${JSON.stringify(h)} is wrong, supported is: ${JSON.stringify(d)}`,key:"VmAndAbiVersionMismatch",checkedKeys:["ctVersion","abiVersion"]}]:[]}),(async(e,t)=>{let{node:r}=t;if(a.Vp.ContractCallTx!==e.tag)return[];try{const{active:t}=await r.getContract(e.contractId);return t?[]:[{message:`Contract ${e.contractId} is not active`,key:"ContractNotActive",checkedKeys:["contractId"]}]}catch(i){var n,o;if(null==(null===(n=i.response)||void 0===n||null===(o=n.parsedBody)||void 0===o?void 0:o.reason))throw i;return[{message:i.response.parsedBody.reason,key:"ContractNotFound",checkedKeys:["contractId"]}]}}))},61080:(e,t,r)=>{"use strict";r.d(t,{fM:()=>a,dN:()=>c});var n=r(70794);const o=e=>"bigint"===typeof e||["number","object","string"].includes(typeof e)&&(!isNaN(e)||Number.isInteger(e)||n.Z.isBigNumber(e));var i=r(34674);let a;(function(e){e["AE"]="ae",e["MILI_AE"]="miliAE",e["MICRO_AE"]="microAE",e["NANO_AE"]="nanoAE",e["PICO_AE"]="picoAE",e["FEMTO_AE"]="femtoAE",e["AETTOS"]="aettos"})(a||(a={}));const s={[a.AE]:0,[a.MILI_AE]:-3,[a.MICRO_AE]:-6,[a.NANO_AE]:-9,[a.PICO_AE]:-12,[a.FEMTO_AE]:-15,[a.AETTOS]:-18},c=(e,t)=>{let{denomination:r=a.AETTOS,targetDenomination:c=a.AETTOS}=t;if(!o(e))throw new i.ir("value","a number",e);return new n.Z("bigint"===typeof e?e.toString():e).shiftedBy(s[r]-s[c]).toFixed()}},24115:(e,t,r)=>{"use strict";r.d(t,{xX:()=>u,xW:()=>c,Tw:()=>l,A5:()=>s,mS:()=>f,_F:()=>d});var n=r(35289),o=r(35196);function i(e,t,r){const n=e=>e.split(/[-+]/)[0].split(".").map((e=>+e)),o=n(e),i=n(t),a=n(r),s=Math.max(...o,...i,...a)+1,c=e=>e.reverse().reduce(((e,t,r)=>e+t*s**r),0),u=c(o),l=c(i),d=c(a);return u>=l&&u{const e=new Map;return{policy:{name:"request-queues",async sendRequest(t,r){var n;const i=t.headers.get("__queue");t.headers.delete("__queue");const a=async()=>r(t);if(null==i)return a();const s=(null!==(n=e.get(i))&&void 0!==n?n:Promise.resolve()).then(a,a);return e.set(i,s.then((async()=>(0,o.wO)(750)))),s}},position:"perCall"}},c=()=>{const e=new Map;return{policy:{name:"combine-get-requests",async sendRequest(t,r){var n;if("GET"!==t.method)return r(t);const o=JSON.stringify([t.url,t.body]),i=null!==(n=e.get(o))&&void 0!==n?n:r(t);e.set(o,i);try{return await i}finally{e.delete(o)}}},position:"perCall"}},u=()=>{const e=new Map;return{policy:{name:"aggressive-cache-get-responses",async sendRequest(t,r){var n;if("GET"!==t.method)return r(t);const o=JSON.stringify([t.url,t.body]),i=null!==(n=e.get(o))&&void 0!==n?n:r(t);return e.set(o,i),i}},position:"perCall"}},l=e=>({policy:{name:"error-formatter",async sendRequest(t,r){try{return await r(t)}catch(i){var o;if(!(i instanceof n.o)||null==i.request)throw i;if(null==(null===(o=i.response)||void 0===o?void 0:o.bodyAsText))throw i;let t;try{t=JSON.parse(i.response.bodyAsText)}catch(a){throw i}i.message=`${new URL(i.request.url).pathname.slice(1)} error`;const r=e(t);throw""!==r&&(i.message+=`:${r}`),i}}},position:"perCall"}),d=(e,t,r,n,o)=>({name:"version-check",async sendRequest(s,c){if(new URL(s.url).pathname===t)return c(s);const u=await r;if(u instanceof Error)throw u;const l=[u,n,o];if(!i(...l))throw new a.wD(e,...l);return c(s)}}),f=(e,t)=>({policy:{name:"retry-on-failure",async sendRequest(r,i){const s=[200,400,403],c=new Array(e).fill(0).map(((t,r)=>((r+1)/e)**2)),u=c.reduce(((e,t)=>e+t)),l=c.map((e=>e/u*t));let d;for(let t=0;t<=e;t+=1){if(null!=d){var f,h;if(!(d instanceof n.o)||s.includes(null!==(f=null===(h=d.response)||void 0===h?void 0:h.status)&&void 0!==f?f:0))throw d;await(0,o.wO)(l[t-1])}try{return await i(r)}catch(p){d=p}}if(null==d)throw new a.eG;throw d}},position:"perCall"})},66079:(e,t,r)=>{"use strict";r.d(t,{O:()=>s});var n=r(48764),o=r(70794),i=r(34674);const{Buffer:a}=n;function s(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e)return a.from([]);if(Number.isInteger(e)||o.Z.isBigNumber(e)||t){if(o.Z.isBigNumber(e)||(e=new o.Z(e)),!e.isInteger())throw new i.R3(`Unexpected not integer value: ${e.toFixed()}`);let t=e.toString(16);return t.length%2===1&&(t=`0${t}`),a.from(t,"hex")}if("string"===typeof e)return a.from(e);throw new i.Oy}},34502:(e,t,r)=>{"use strict";r.d(t,{Au:()=>y,BE:()=>b,Dx:()=>p,NX:()=>h,T:()=>w,Xx:()=>v,uz:()=>m,vp:()=>g});var n=r(48764),o=r(50780),i=r(8442),a=r(57795),s=r(35196),c=r(27469),u=r(70732);const{Buffer:l}=n,{blake2b:d}=i,{encode:f}=a;function h(e){arguments.length>1&&void 0!==arguments[1]||c.e.AccountAddress;try{return(0,u.Jx)(e),!0}catch(t){return!1}}function p(){const[e]=new BigUint64Array(o.randomBytes(8).buffer);return Number(e%BigInt(Number.MAX_SAFE_INTEGER))}function g(e){return l.from(d(e,void 0,32))}function m(e){return o.sign.keyPair.fromSecretKey(e)}function y(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=o.sign.keyPair(),r=l.from(t.publicKey),n=l.from(t.secretKey);return e?{publicKey:r,secretKey:n}:{publicKey:(0,u.cv)(r,c.e.AccountAddress),secretKey:n.toString("hex")}}function v(e,t){return o.sign.detached(l.from(e),l.from(t))}function w(e,t,r){return o.sign.detached.verify(e,t,(0,u.Jx)(r))}function b(e){const t=l.from("aeternity Signed Message:\n","utf8"),r=l.from(e,"utf8");return g((0,s.Kb)([f(t.length),t,f(r.length),r]))}},27469:(e,t,r)=>{"use strict";let n;r.d(t,{e:()=>n}),function(e){e["KeyBlockHash"]="kh",e["MicroBlockHash"]="mh",e["BlockPofHash"]="bf",e["BlockTxHash"]="bx",e["BlockStateHash"]="bs",e["Channel"]="ch",e["ContractAddress"]="ct",e["ContractBytearray"]="cb",e["ContractStoreKey"]="ck",e["ContractStoreValue"]="cv",e["Transaction"]="tx",e["TxHash"]="th",e["OracleAddress"]="ok",e["OracleQuery"]="ov",e["OracleQueryId"]="oq",e["OracleResponse"]="or",e["AccountAddress"]="ak",e["Signature"]="sg",e["Commitment"]="cm",e["PeerPubkey"]="pp",e["Name"]="nm",e["State"]="st",e["Poi"]="pi",e["StateTrees"]="ss",e["CallStateTree"]="cs",e["Bytearray"]="ba"}(n||(n={}))},70732:(e,t,r)=>{"use strict";r.d(t,{Jx:()=>S,cv:()=>A});var n=r(48764),o=r(77191),i=r(67499),a=r(34674),s=r(35196),c=r(27469);const{Buffer:u}=n,{encode:l,decode:d}=o;function f(e){return(new i).update(e).digest()}const h=[c.e.ContractBytearray,c.e.ContractStoreKey,c.e.ContractStoreValue,c.e.Transaction,c.e.OracleQuery,c.e.OracleResponse,c.e.State,c.e.Poi,c.e.StateTrees,c.e.CallStateTree,c.e.Bytearray],p=[c.e.KeyBlockHash,c.e.MicroBlockHash,c.e.BlockPofHash,c.e.BlockTxHash,c.e.BlockStateHash,c.e.Channel,c.e.ContractAddress,c.e.TxHash,c.e.OracleAddress,c.e.OracleQueryId,c.e.AccountAddress,c.e.Signature,c.e.Commitment,c.e.PeerPubkey,c.e.Name],g={[c.e.KeyBlockHash]:32,[c.e.MicroBlockHash]:32,[c.e.BlockPofHash]:32,[c.e.BlockTxHash]:32,[c.e.BlockStateHash]:32,[c.e.Channel]:32,[c.e.ContractAddress]:32,[c.e.TxHash]:32,[c.e.OracleAddress]:32,[c.e.OracleQueryId]:32,[c.e.AccountAddress]:32,[c.e.Signature]:64,[c.e.Commitment]:32,[c.e.PeerPubkey]:32,[c.e.State]:32};function m(e,t){if(!(0,s.EI)(t,g))return;const r=g[t];if(null!=r&&e.length!==r)throw new a.RS(`Payload should be ${r} bytes, got ${e.length} instead`)}const y=e=>f(f(e)).slice(0,4),v=e=>(0,s.Kb)([e,y(e)]);function w(e){const t=e.slice(0,-4);if(!y(t).equals(e.slice(-4)))throw new a.M5;return t}const b={encode:e=>v(e).toString("base64"),decode:e=>w(u.from(e,"base64"))},_={encode:e=>l(v(e)),decode:e=>w(u.from(d(e)))},E=e=>{const t=h.find((t=>t===e));if(null!=t)return[t,b];const r=p.find((t=>t===e));if(null!=r)return[r,_];throw new a.ir("prefix",`one of ${[...p,...h].join(", ")}`,e)};function S(e){const[t,r,n]=e.split("_");if(null==r)throw new a._9(`Encoded string missing payload: ${e}`);if(null!=n)throw new a._9(`Encoded string have extra parts: ${e}`);const[o,i]=E(t),s=i.decode(r);return m(s,o),s}function A(e,t){const[,r]=E(t);return m(e,t),`${t}_${r.encode(e)}`}},34674:(e,t,r)=>{"use strict";r.d(t,{AQ:()=>_,CJ:()=>W,Cb:()=>H,EH:()=>ne,GU:()=>n,Ki:()=>k,Lw:()=>u,M5:()=>V,MO:()=>c,Oc:()=>y,Oy:()=>g,PM:()=>K,Pi:()=>z,QT:()=>P,Qq:()=>Q,R3:()=>v,RS:()=>X,Y3:()=>G,ZB:()=>m,_9:()=>Y,bn:()=>q,eG:()=>E,eM:()=>re,fj:()=>R,gY:()=>$,hM:()=>T,iI:()=>U,ir:()=>h,is:()=>I,j2:()=>D,kv:()=>te,lp:()=>ee,mG:()=>p,mO:()=>x,mX:()=>s,ml:()=>L,mn:()=>Z,n7:()=>N,ne:()=>S,nj:()=>w,pf:()=>M,qw:()=>d,rx:()=>ie,s2:()=>C,sx:()=>B,tG:()=>j,tr:()=>F,ty:()=>J,v6:()=>oe,wD:()=>b,x$:()=>O,yW:()=>A});class n extends Error{constructor(e){super(e),this.name="BaseError"}}class o extends n{constructor(e){super(e),this.name="AccountError"}}class i extends n{constructor(e){super(e),this.name="AensError"}}class a extends n{constructor(e){super(e),this.name="AeppError"}}class s extends n{constructor(e){super(e),this.name="CompilerError"}}class c extends n{constructor(e){super(e),this.name="ContractError"}}class u extends n{constructor(e){super(e),this.name="CryptographyError"}}class l extends n{constructor(e){super(e),this.name="NodeError"}}class d extends n{constructor(e){super(e),this.name="TransactionError"}}class f extends n{constructor(e){super(e),this.name="WalletError"}}class h extends n{constructor(e,t,r){super(`${e} should be ${t}, got ${r} instead`),this.name="ArgumentError"}}class p extends u{constructor(e){super(e),this.name="IllegalArgumentError"}}class g extends n{constructor(){super("Byte serialization not supported"),this.name="NoSerializerFoundError"}}class m extends n{constructor(e){super(`Giving up at height ${e}`),this.name="RequestTimedOutError"}}class y extends n{constructor(e,t){super([`Giving up after ${e} blocks mined`,`transaction hash: ${t}`].join(", ")),this.name="TxTimedOutError"}}class v extends n{constructor(e){super(e),this.name="TypeError"}}class w extends n{constructor(e){super(e),this.name="NotImplementedError"}}class b extends n{constructor(e,t,r,n){super(`Unsupported ${e} version ${t}. Supported: >= ${r} < ${n}`),this.name="UnsupportedVersionError"}}class _ extends n{constructor(e){super(e),this.name="InternalError"}}class E extends _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Expected to not happen, required for TS";super(e),this.name="UnexpectedTsError"}}class S extends o{constructor(e){super(`Account for ${e} not available`),this.name="UnavailableAccountError"}}class A extends i{constructor(e,t){super(`Name ${e} don't have pointers for ${t}`),this.name="AensPointerContextError"}}class T extends i{constructor(e,t){super(`the provided fee ${e.toString()} is not enough to execute the claim, required: ${t.toString()}`),this.name="InsufficientNameFeeError"}}class C extends i{constructor(e){super(e),this.name="InvalidAensNameError"}}class x extends a{constructor(e){super(`Received invalid message: ${e}`),this.name="InvalidRpcMessageError"}}class I extends a{constructor(e){super(`Can't find callback for this messageId ${e}`),this.name="MissingCallbackError"}}class O extends a{constructor(e){super(`RpcClient with id ${e} do not exist`),this.name="UnknownRpcClientError"}}class N extends s{constructor(e){super(e),this.name="InvalidAuthDataError"}}class P extends c{constructor(e){super(`Contract ${e} do not correspond to the bytecode deployed on the chain`),this.name="BytecodeMismatchError"}}class k extends c{constructor(){super("Contract already deployed"),this.name="DuplicateContractError"}}class R extends c{constructor(e){super(`Contract with address ${e} not active`),this.name="InactiveContractError"}}class M extends c{constructor(e){super(e),this.name="InvalidMethodInvocationError"}}class B extends c{constructor(e){super(e),this.name="MissingContractAddressError"}}class L extends c{constructor(){super("Either ACI or sourceCode or sourceCodePath is required"),this.name="MissingContractDefError"}}class D extends c{constructor(){super("Function name is required"),this.name="MissingFunctionNameError"}}class F extends c{constructor(e,t){super("Invocation failed"+(null==e?"":`: "${e}"`)),this.name="NodeInvocationError",this.transaction=t}}class $ extends c{constructor(e){super(`Function ${e} doesn't exist in contract`),this.name="NoSuchContractFunctionError"}}class U extends c{constructor(e,t){super(`You try to pay "${e}" to function "${t}" which is not payable. Only payable function can accept coins`),this.name="NotPayableFunctionError"}}class j extends c{constructor(e,t){super(`Can't find definition of ${e} event emitted by ${t} (use omitUnknown option to ignore events like this)`),this.name="MissingEventDefinitionError"}}class z extends c{constructor(e,t){super(`Found multiple definitions of "${t[0][1]}" event with different types emitted by ${e} in ${t.map((e=>{let[t]=e;return`"${t}"`})).join(", ")} contracts (use contractAddressToName option to specify contract name corresponding to address)`),this.name="AmbiguousEventDefinitionError"}}class V extends u{constructor(){super("Invalid checksum"),this.name="InvalidChecksumError"}}class H extends u{constructor(){super("Node hash is not equal to provided one"),this.name="MerkleTreeHashMismatchError"}}class q extends u{constructor(e){super(e),this.name="MissingNodeInTreeError"}}class G extends u{constructor(e){super(`Unknown node length: ${e}`),this.name="UnknownNodeLengthError"}}class W extends u{constructor(e){super(`Unknown path nibble: ${e}`),this.name="UnknownPathNibbleError"}}class Z extends l{constructor(e){super(`Node with name ${e} already exist`),this.name="DuplicateNodeError"}}class K extends l{constructor(e){super(e),this.name="NodeNotFoundError"}}class Y extends d{constructor(e){super(e),this.name="DecodeError"}}class X extends d{constructor(e){super(e),this.name="PayloadLengthError"}}class J extends d{constructor(e){super(e),this.name="DryRunError"}}class Q extends d{constructor(e){super(`Prefix for id-tag ${e} not found.`),this.name="PrefixNotFoundError"}}class ee extends d{constructor(e,t){super(`Transaction schema not implemented for tag ${e} version ${t}`),this.name="SchemaNotFoundError"}}class te extends d{constructor(e){super(`Id tag for prefix ${e} not found.`),this.name="DecodeError"}}class re extends d{constructor(e){super(`Transaction ${e} is removed from chain`),this.name="TxNotInChainError"}}class ne extends f{constructor(e){super(e),this.name="AlreadyConnectedError"}}class oe extends f{constructor(e){super(e),this.name="NoWalletConnectedError"}}class ie extends f{constructor(e){super(e),this.name="RpcConnectionError"}}},17708:(e,t,r)=>{"use strict";r.d(t,{sO:()=>A});var n=r(48764),o=r(50780),i=r(82182),a=r(30246),s=r(78826),c=r(70732),u=r(27469),l=r(34674),d=r(35196);const{Buffer:f}=n,{full:h}=i,{fromString:p}=a;s.ModeOfOperation.ecb;class g extends l.Lw{constructor(e){super(e),this.name="DerivationError"}}const m=f.from("ed25519 seed"),y=2147483648;function v(e,t){let{secretKey:r,chainCode:n}=e;if(t{if(ev(e,t)),t)}function b(e){const t=h(e,m),r=t.slice(0,32),n=t.slice(32);return{secretKey:r,chainCode:n}}function _(e,t){if(!["m","m/"].includes(e.slice(0,2)))throw new g("Root element is required");const r=b(t);return w(e.slice(2),r)}function E(e){const{secretKey:t,publicKey:r}=e;return{secretKey:f.from(t).toString("hex"),publicKey:(0,c.cv)(r,u.e.AccountAddress)}}function S(e){return o.sign.keyPair.fromSeed(e)}const A=(e,t)=>{const r=_("m/44h/457h",e),n=w(`${t}h/0h/0h`,r),o=S(n.secretKey);return{...E(o),idx:t}}},35196:(e,t,r)=>{"use strict";r.d(t,{EI:()=>l,Kb:()=>u,PD:()=>f,Xc:()=>s,wO:()=>a,xo:()=>d});var n=r(48764),o=r(35289);const{Buffer:i}=n,a=async e=>new Promise((t=>{setTimeout(t,e)})),s=(e,t)=>Object.fromEntries(Object.entries(e).map(t)),c=(()=>{try{return i.concat([Uint8Array.from([])]),!1}catch(e){return!0}})(),u=c?(e,t)=>i.concat(e.map((e=>i.from(e))),t):i.concat;function l(e,t){return e in t}function d(e,t){return t.includes(e)}function f(e){return e instanceof o.o&&404===e.statusCode&&e.message.includes("Account not found")}},61699:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>n})},87338:(e,t,r)=>{"use strict";function n(e,t){return t.get?t.get.call(e):t.value}r.d(t,{Z:()=>i});var o=r(61699);function i(e,t){var r=(0,o.Z)(e,t,"get");return n(e,r)}},18961:(e,t,r)=>{"use strict";function n(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}r.d(t,{Z:()=>i});var o=r(61699);function i(e,t,r){var i=(0,o.Z)(e,t,"set");return n(e,i,r),r}},44845:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(57445),o=r(4237);function i(e,t,r){return t=(0,o.Z)(t),t in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},4237:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(19623),o=r(40024);function i(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[o];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=i(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},19623:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(52472),o=r(48994);function i(e){return i="function"==typeof n&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},i(e)}},70155:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__initializeContext:()=>dt,isPoint:()=>ft,isPointCompressed:()=>ht,isPrivate:()=>gt,isXOnlyPoint:()=>pt,pointAdd:()=>mt,pointAddScalar:()=>yt,pointCompress:()=>vt,pointFromScalar:()=>wt,pointMultiply:()=>Et,privateAdd:()=>St,privateNegate:()=>Tt,privateSub:()=>At,recover:()=>kt,sign:()=>It,signRecoverable:()=>Ot,signSchnorr:()=>Nt,verify:()=>Pt,verifySchnorr:()=>Rt,xOnlyPointAddTweak:()=>Ct,xOnlyPointAddTweakCheck:()=>xt,xOnlyPointFromPoint:()=>_t,xOnlyPointFromScalar:()=>bt});var n={};r.r(n),r.d(n,{ERROR_BAD_EXTRA_DATA:()=>h,ERROR_BAD_HASH:()=>d,ERROR_BAD_PARITY:()=>p,ERROR_BAD_POINT:()=>u,ERROR_BAD_PRIVATE:()=>c,ERROR_BAD_RECOVERY_ID:()=>g,ERROR_BAD_SIGNATURE:()=>f,ERROR_BAD_TWEAK:()=>l,throwError:()=>y});var o={};r.r(o),r.d(o,{generateInt32:()=>ee});var i={};r.r(i),r.d(i,{EXTRA_DATA_INPUT:()=>ke,HASH_INPUT:()=>Pe,PRIVATE_INPUT:()=>Se,PUBLIC_KEY_INPUT:()=>fe,PUBLIC_KEY_INPUT2:()=>pe,SIGNATURE_INPUT:()=>Re,TWEAK_INPUT:()=>me,X_ONLY_PUBLIC_KEY_INPUT:()=>ve,X_ONLY_PUBLIC_KEY_INPUT2:()=>be,__data_end:()=>je,__heap_base:()=>ze,initializeContext:()=>le,isPoint:()=>de,memory:()=>ue,pointAdd:()=>he,pointAddScalar:()=>ge,pointCompress:()=>_e,pointFromScalar:()=>Ee,pointMultiply:()=>Ce,privateAdd:()=>xe,privateNegate:()=>Oe,privateSub:()=>Ie,recover:()=>De,rustsecp256k1_v0_8_1_default_error_callback_fn:()=>$e,rustsecp256k1_v0_8_1_default_illegal_callback_fn:()=>Ue,sign:()=>Ne,signRecoverable:()=>Me,signSchnorr:()=>Be,verify:()=>Le,verifySchnorr:()=>Fe,xOnlyPointAddTweak:()=>ye,xOnlyPointAddTweakCheck:()=>we,xOnlyPointFromPoint:()=>Te,xOnlyPointFromScalar:()=>Ae});const a="0123456789abcdefABCDEF";a.split("").map((e=>e.codePointAt(0))),Array(256).fill(!0).map(((e,t)=>{const r=String.fromCodePoint(t),n=a.indexOf(r);return n<0?void 0:n<16?n:n-6})),new TextEncoder,new TextDecoder("ascii");function s(e,t){const r=Math.min(e.length,t.length);for(let n=0;nt.length?1:-1}const c=0,u=1,l=2,d=3,f=4,h=5,p=6,g=7,m={[c.toString()]:"Expected Private",[u.toString()]:"Expected Point",[l.toString()]:"Expected Tweak",[d.toString()]:"Expected Hash",[f.toString()]:"Expected Signature",[h.toString()]:"Expected Extra Data (32 bytes)",[p.toString()]:"Expected Parity (1 | 0)",[g.toString()]:"Bad Recovery Id"};function y(e){const t=m[e.toString()]||`Unknow error code: ${e}`;throw new TypeError(t)}const v=32,w=33,b=65,_=32,E=32,S=32,A=32,T=64,C=new Uint8Array(32),x=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65]),I=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,69,81,35,25,80,183,95,196,64,45,161,114,47,201,186,238]);function O(e){return e instanceof Uint8Array}function N(e,t){for(let r=0;r<32;++r)if(e[r]!==t[r])return e[r]0&&N(e,x)<0}function R(e){return O(e)&&(e.length===w||e.length===b||e.length===_)}function M(e){return O(e)&&e.length===_}function B(e){return O(e)&&(e.length===w||e.length===b)}function L(e){return O(e)&&e.length===w}function D(e){return O(e)&&e.length===E&&N(e,x)<0}function F(e){return O(e)&&e.length===S}function $(e){return void 0===e||O(e)&&e.length===A}function U(e){return O(e)&&64===e.length&&N(e.subarray(0,32),x)<0&&N(e.subarray(32,64),x)<0}function j(e){return O(e)&&64===e.length&&N(e.subarray(0,32),I)<0}function z(e){0!==e&&1!==e&&y(p)}function V(e){k(e)||y(c)}function H(e){R(e)||y(u)}function q(e){M(e)||y(u)}function G(e){D(e)||y(l)}function W(e){F(e)||y(d)}function Z(e){$(e)||y(h)}function K(e){U(e)||y(f)}function Y(e){e()||y(f)}function X(e){P(e.subarray(0,32))&&y(f),P(e.subarray(32,64))&&y(f)}function J(e){j(e)||y(g)}function Q(){const e=new Uint8Array(4);if("undefined"===typeof crypto)throw new Error("The crypto object is unavailable. This may occur if your environment does not support the Web Cryptography API.");return crypto.getRandomValues(e),e}function ee(){const e=Q();return(e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3]}for(var te,re=new Uint8Array(123),ne=25;ne>=0;--ne)re[48+ne]=52+ne,re[65+ne]=ne,re[97+ne]=26+ne;function oe(e,t,r){for(var n,o,i=0,a=t,s=r.length,c=t+(3*s>>2)-("="==r[s-2])-("="==r[s-1]);i>4,a>2),a>2];e:{t:{r:{n:{if(n=o[t+24>>2],!(16&n)){if(32&n)break n;e=o[e>>2],n=(0|e)>=0,e=x(n?e:0-e|0,n?0:0-((e>>31)+(0!=(0|e))|0)|0,n,t);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:87),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break t;e=I(t,1,2,128+(n+a|0)|0,0-n|0);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:55),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break e;e=I(t,1,2,128+(n+a|0)|0,0-n|0)}return h=a+128|0,0|e}ae()}ae()}function x(e,t,n,o){var a=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0;if(g=h-48|0,h=g,d=39,!(!t&e>>>0<1e4))while(1){if(v=(g+9|0)+d|0,w=v-4|0,u=e,p=0,m=0,t){if(l=51-c(t)|0,a=0-l|0,f=63&l,e=31&f,f>>>0>=32?f=t>>>e|0:(p=t>>>e|0,f=((1<>>e),a&=63,e=31&a,a>>>0>=32?(a=u<>>32-e|t<>>31,y=f<<1|a>>>31,_=0-(b+(y>>>0>9999)|0)>>31,p=1e4&_,f=y-p|0,p=b-(p>>>0>y>>>0)|0,a=a<<1|e>>>31,e=e<<1|m,m=1&_,l=l-1|0,!l)break;T=a<<1|e>>>31,e=e<<1|m}else e=(u>>>0)/1e4|0,T=0;if(f=T,a=We(e,f,55536,0)+u|0,p=((65535&a)>>>0)/100|0,l=655718+(p<<1)|0,l=i[0|l]|i[l+1|0]<<8,r[0|w]=l,r[w+1|0]=l>>>8,l=v-2|0,a=655718+((s(p,-100)+a&65535)<<1)|0,a=i[0|a]|i[a+1|0]<<8,r[0|l]=a,r[l+1|0]=a>>>8,d=d-4|0,u=!t&u>>>0>99999999|0!=(0|t),t=f,!u)break}return e>>>0>99&&(d=d-2|0,t=d+(g+9|0)|0,f=e,e=((65535&e)>>>0)/100|0,u=655718+((f+s(e,-100)&65535)<<1)|0,u=i[0|u]|i[u+1|0]<<8,r[0|t]=u,r[t+1|0]=u>>>8),e>>>0>=10?(d=d-2|0,t=d+(g+9|0)|0,e=655718+(e<<1)|0,e=i[0|e]|i[e+1|0]<<8,r[0|t]=e,r[t+1|0]=e>>>8):(d=d-1|0,r[d+(g+9|0)|0]=e+48),e=I(o,n,0,(g+9|0)+d|0,39-d|0),h=g+48|0,e}function I(e,t,n,a,s){var c=0,u=0,l=0,d=0,f=0,h=0,p=0,g=0;if(f=655716,t?(c=o[e+24>>2],t=1&c,h=t?43:1114112,u=t+s|0):(c=o[e+24>>2],h=45,u=s+1|0),4&c){if(n&&(l=3&n,l)){t=655716;while(1)if(d=d+(r[0|t]>-65)|0,t=t+1|0,l=l-1|0,!l)break}u=u+d|0}else f=0;e:{t:{if(!o[e+8>>2]){if(t=1,u=o[e>>2],e=o[e+4>>2],Q(u,e,h,f,n))break t;break e}r:{n:{o:{i:{if(l=o[e+12>>2],l>>>0>u>>>0){if(8&c)break r;switch(c=l-u|0,u=c,t=i[e+32|0],t=3==(0|t)?1:t,t-1|0){case 1:break o;case 0:break i;default:break n}}if(t=1,u=o[e>>2],e=o[e+4>>2],Q(u,e,h,f,n))break t;break e}u=0,t=c;break n}t=c>>>1|0,u=c+1>>>1|0}t=t+1|0,c=o[e+4>>2],d=o[e+28>>2],l=o[e>>2];n:{while(1){if(t=t-1|0,!t)break n;if(0|Ke[o[c+16>>2]](l,d))break}return 1}if(t=1,1114112==(0|d))break t;if(Q(l,c,h,f,n))break t;if(0|Ke[o[c+12>>2]](l,a,s))break t;t=0;n:{while(1){if(e=u,(0|e)==(0|t))break n;if(t=t+1|0,0|Ke[o[c+16>>2]](l,d))break}e=t-1|0}t=e>>>0
>>0;break t}if(p=o[e+28>>2],o[e+28>>2]=48,g=i[e+32|0],t=1,r[e+32|0]=1,c=o[e>>2],d=o[e+4>>2],!Q(c,d,h,f,n)){t=1+(l-u|0)|0;r:{while(1){if(t=t-1|0,!t)break r;if(0|Ke[o[d+16>>2]](c,48))break}return 1}if(t=1,!(0|Ke[o[d+12>>2]](c,a,s)))return r[e+32|0]=g,o[e+28>>2]=p,0}}return t}return 0|Ke[o[e+12>>2]](u,a,s)}function O(e,t){e|=0,t|=0;var n=0,i=0,a=0;a=h-128|0,h=a,e=o[e>>2];e:{t:{r:{n:{if(n=o[t+24>>2],!(16&n)){if(32&n)break n;e=x(o[e>>2],0,1,t);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:87),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break t;e=I(t,1,2,128+(n+a|0)|0,0-n|0);break r}e=o[e>>2],n=0;while(1)if(i=15&e,r[127+(n+a|0)|0]=i+(i>>>0<10?48:55),n=n-1|0,i=e>>>0>15,e=e>>>4|0,!i)break;if(n+128>>>0>=129)break e;e=I(t,1,2,128+(n+a|0)|0,0-n|0)}return h=a+128|0,0|e}ae()}ae()}function N(e){0}function P(e){var t=0,r=0,n=0,i=0,a=0;n=h-32|0,h=n,t=e+16|0,i=o[t+4>>2],r=n+8|0,a=r+16|0,o[a>>2]=o[t>>2],o[a+4>>2]=i,t=e+8|0,i=o[t+4>>2],r=r+8|0,o[r>>2]=o[t>>2],o[r+4>>2]=i,t=o[e+4>>2],o[n+8>>2]=o[e>>2],o[n+12>>2]=t,ae()}function k(){var e=0,t=0,n=0,a=0,s=0,c=0,u=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0,W=0,Z=0,K=0,Y=0,X=0,J=0,Q=0,te=0,oe=0;if(F=h-32|0,h=F,i[690756])J=o[172762];else{o[F>>2]=192,o[F+4>>2]=192,e=h-144|0,h=e,o[e+104>>2]=0,o[e+108>>2]=0,o[e+32>>2]=528734635,o[e+36>>2]=1541459225,o[e+24>>2]=1359893119,o[e+28>>2]=-1694144372,o[e+16>>2]=1013904242,o[e+20>>2]=-1521486534,o[e+8>>2]=1779033703,o[e+12>>2]=-1150833019,t=e+8|0,re(t,689435,63),ne(t,e+112|0);while(1)if(s=i[(e+112|0)+a|0]-i[a+690288|0]|0,s||(t=31!=(0|a),a=a+1|0,!t))break;s&&ee(689418,0),o[163880]=0,o[163881]=0,o[163878]=1,o[163879]=0,t=o[172349],o[163892]=o[172348],o[163893]=t,t=o[172559],o[163890]=o[172558],o[163891]=t,t=o[172595],o[163858]=o[172594],o[163859]=t,t=o[172597],o[163860]=o[172596],o[163861]=t,t=o[172599],o[163862]=o[172598],o[163863]=t,t=o[172601],o[163864]=o[172600],o[163865]=t,t=o[172603],o[163866]=o[172602],o[163867]=t,o[163882]=0,o[163883]=0,o[163884]=0,o[163885]=0,o[163886]=0,o[163887]=0,o[163888]=0,o[163876]=629725529,o[163877]=243653,o[163874]=632307772,o[163875]=3389866,o[163872]=1459808328,o[163873]=3272439,o[163870]=-1430362568,o[163871]=3896727,o[163868]=82779140,o[163869]=3682156,o[163856]=0,o[163857]=0,o[163850]=1,o[163851]=0,o[163854]=0,o[163855]=0,o[163852]=0,o[163853]=0,o[163894]=0,o[163848]=1,h=e+144|0,J=655392,te=690756,oe=0|l(),o[te>>2]=oe,te=690760,oe=0|l(),o[te>>2]=oe,te=690764,oe=0|l(),o[te>>2]=oe,te=690768,oe=0|l(),o[te>>2]=oe,te=690772,oe=0|l(),o[te>>2]=oe,te=690776,oe=0|l(),o[te>>2]=oe,te=690780,oe=0|l(),o[te>>2]=oe,te=690784,oe=0|l(),o[te>>2]=oe,w=h-720|0,h=w,o[163848]&&(e=i[690760]|i[690761]<<8|i[690762]<<16|i[690763]<<24,y=w+336|0,v=y+32|0,o[v>>2]=i[690756]|i[690757]<<8|i[690758]<<16|i[690759]<<24,o[v+4>>2]=e,e=i[690768]|i[690769]<<8|i[690770]<<16|i[690771]<<24,g=y+40|0,o[g>>2]=i[690764]|i[690765]<<8|i[690766]<<16|i[690767]<<24,o[g+4>>2]=e,e=i[690776]|i[690777]<<8|i[690778]<<16|i[690779]<<24,d=w+384|0,o[d>>2]=i[690772]|i[690773]<<8|i[690774]<<16|i[690775]<<24,o[d+4>>2]=e,e=i[690784]|i[690785]<<8|i[690786]<<16|i[690787]<<24,f=w+392|0,o[f>>2]=i[690780]|i[690781]<<8|i[690782]<<16|i[690783]<<24,o[f+4>>2]=e,s=o[163850],c=s<<8&16711680|s<<24,n=s>>>8|0,t=o[163851],a=65280&(n|t<<24),s=s>>>24|0,c=c|a|255&(s|t<<8),e=t,a=-16777216&(n|(255&e)<<24),a|=16711680&(s|(16777215&e)<<8),p=y+24|0,o[p>>2]=e>>>8&65280|e>>>24|a,o[p+4>>2]=c,s=o[163852],c=s<<8&16711680|s<<24,t=o[163853],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),m=y+16|0,o[m>>2]=e>>>8&65280|e>>>24|a,o[m+4>>2]=c,s=o[163856],c=s<<8&16711680|s<<24,t=o[163857],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),n=w,o[n+336>>2]=e>>>8&65280|e>>>24|a,o[n+340>>2]=c,s=o[163854],c=s<<8&16711680|s<<24,t=o[163855],a=65280&(t<<24|s>>>8),c=c|a|255&(t<<8|s>>>24),e=t,a=-16777216&((255&e)<<24|s>>>8),a|=16711680&((16777215&e)<<8|s>>>24),o[n+344>>2]=e>>>8&65280|e>>>24|a,o[n+348>>2]=c,H=n+408|0,be(H,y,64),o[f>>2]=0,o[f+4>>2]=0,o[d>>2]=0,o[d+4>>2]=0,o[g>>2]=0,o[g+4>>2]=0,o[v>>2]=0,o[v+4>>2]=0,o[p>>2]=0,o[p+4>>2]=0,o[m>>2]=0,o[m+4>>2]=0,o[n+344>>2]=0,o[n+348>>2]=0,o[n+336>>2]=0,o[n+340>>2]=0,$=n+480|0,_e(H,$),t=i[n+497|0],e=t>>>24|0,a=i[n+498|0]|t<<8,t=e,Y=$+16|0,s=i[0|Y],e=s>>>16|0,a|=s<<16,s=e|t,t=i[n+495|0],e=t>>>8|0,a|=t<<24,m=i[n+492|0],s=i[n+494|0]|e|s|i[n+493|0]<<8|(15&m)<<16,t=i[n+484|0],e=t>>>24|0,u=i[n+485|0]|t<<8,t=e,c=i[n+483|0],e=c>>>16|0,u|=c<<16,c=e|t,t=i[n+482|0],e=t>>>8|0,y=t<<24|u,v=i[n+481|0]|e|c|i[n+480|0]<<8,t=i[n+491|0],e=t>>>28|0,u=t<<4|m>>>4,t=e,c=i[n+490|0],e=c>>>20|0,u|=c<<12,c=e|t,t=i[n+489|0],e=t>>>12|0,u|=t<<20,c|=e,t=i[n+488|0],e=t>>>4|0,g=t<<28|u,d=e|c|i[n+487|0]<<4|i[n+486|0]<<12,X=$+24|0,t=i[0|X],e=t>>>28|0,f=i[n+505|0],u=t<<4|f>>>4,t=e,c=i[n+503|0],e=c>>>20|0,u|=c<<12,c=e|t,t=i[n+502|0],e=t>>>12|0,u|=t<<20,c|=e,t=i[n+501|0],e=t>>>4|0,p=t<<28|u,T=e|c|i[n+500|0]<<4|i[n+499|0]<<12,m=T,t=i[n+510|0],e=t>>>24|0,u=i[n+511|0]|t<<8,t=e,c=i[n+509|0],e=c>>>16|0,u|=c<<16,c=e|t,t=i[n+508|0],e=t>>>8|0,M=n+520|0,q=M+32|0,t=u|t<<24,f=i[n+507|0]|e|c|i[n+506|0]<<8|(15&f)<<16,e=!(y|g|a|t|p|v|d|s|f|m)|-1==(a&p&g)&1048575==(s&m&d)&-1==(0|y)&65535==(0|v)&(1048574==(0|f)&t>>>0>4294966318|f>>>0>1048574),c=e-1|0,m=c&y,o[q>>2]=m,u=v,v=0-!e|0,u&=v,o[q+4>>2]=u,G=M+24|0,I=c&g,o[G>>2]=I,O=d&v,o[G+4>>2]=O,W=M+16|0,S=a&c,o[W>>2]=S,b=s&v,o[W+4>>2]=b,Z=M+8|0,C=c&p,o[Z>>2]=C,_=v&T,o[Z+4>>2]=_,c=t&c|e,o[n+520>>2]=c,e=f&v,T=e,o[n+524>>2]=e,y=n+128|0,B=c<<1,N=e<<1|c>>>31,He(y,B,N,0,0,I,O,0,0),v=n+192|0,s=C<<1,a=_<<1|C>>>31,He(v,s,a,0,0,S,b,0,0),d=n+320|0,He(d,m,u,0,0,m,u,0,0),f=n+304|0,He(f,o[n+320>>2],o[n+324>>2],0,0,15632,16,0,0),t=m,e=u<<1|t>>>31,U=n+80|0,K=t<<1,P=e,He(U,K,e,0,0,c,T,0,0),j=n+176|0,He(j,s,a,0,0,I,O,0,0),z=n+240|0,He(z,S,b,0,0,S,b,0,0),g=n+288|0,e=d+8|0,He(g,o[e>>2],o[e+4>>2],0,0,64028672,65536,0,0),He(n,c,T,0,0,c,T,0,0),Q=n+160|0,He(Q,K,P,0,0,C,_,0,0),L=n+208|0,He(L,S<<1,b<<1|S>>>31,0,0,I,O,0,0),d=o[n+132>>2],e=d+o[n+196>>2]|0,c=o[n+128>>2],s=o[n+192>>2],t=c+s|0,a=o[n+304>>2],T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>2],e=a>>>0>c>>>0?e+1|0:e,s=s>>>20|0,a=s,s=c+s|0,e=a>>>0>s>>>0?e+1|0:e,a=s,s=s+p|0,e=a>>>0>s>>>0?e+1|0:e,t=s<<12|t>>>20,a=t+m|0,e=f+(e<<12|s>>>20)|0,o[w+592>>2]=a,o[w+596>>2]=t>>>0>a>>>0?e+1|0:e,S=w+560|0,ue(655432,655432,S),ue(655472,655472,S),ue(655472,655472,M),ue(655512,655512,M),o[Z>>2]=0,o[Z+4>>2]=0,o[W>>2]=0,o[W+4>>2]=0,o[G>>2]=0,o[G+4>>2]=0,o[q>>2]=0,o[q+4>>2]=0,o[w+520>>2]=0,o[w+524>>2]=0,_e(H,$),E=w+688|0,he(E,$,0),t=E+24|0,d=o[t>>2],s=E+16|0,g=o[s>>2],a=E+8|0,y=o[a>>2],v=o[w+688>>2],f=d|g|y|v,u=o[t+4>>2],m=o[s+4>>2],p=o[a+4>>2],n=o[w+692>>2],c=u|m|p|n,e=f|c?-1:0,A=e&d,o[t>>2]=A,_=e&u,o[t+4>>2]=_,b=e&g,o[s>>2]=b,T=e&m,o[s+4>>2]=T,y&=e,o[a>>2]=y,g=e&p,o[a+4>>2]=g,c=!(c|f)|e&v,o[w+688>>2]=c,u=e&n,o[w+692>>2]=u,Ve(H,68),o[X>>2]=0,o[X+4>>2]=0,o[Y>>2]=0,o[Y+4>>2]=0,o[w+488>>2]=0,o[w+492>>2]=0,o[w+480>>2]=0,o[w+484>>2]=0,Se(655392,S,E),e=y|b|A|c|g|T|_|u?-1:0,d=-1^c,n=d-801750718|0,c=e,m=-1^u,u=m-((d>>>0<801750718)+1076732275|0)|0,e&=u,f=e,p=n&c,o[163850]=p,o[163851]=e,g^=-1,e=g,v=-1^y,y=v+((0|u)==(0|m)&n>>>0>>0|u>>>0>>0)|0,n=y-1354194885|0,m=n&c,o[a>>2]=m,e=y>>>0>>0?e+1|0:e,d=e-((y>>>0<1354194885)+1162945305|0)|0,u=d&c,o[a+4>>2]=u,o[163852]=m,o[163853]=u,u=(0|e)==(0|d)&n>>>0>>0|e>>>0>d>>>0,m=u+((0|e)==(0|g)&y>>>0>>0|e>>>0>>0)|0,v=-1^b,y=v+m|0,g=-1^T,e=g+(u>>>0>m>>>0)|0,n=y-2|0,m=n&c,o[s>>2]=m,e=y>>>0>>0?e+1|0:e,d=e-(y>>>0<2)|0,u=d&c,o[s+4>>2]=u,o[163854]=m,o[163855]=u,u=(0|e)==(0|d)&n>>>0>>0|e>>>0>d>>>0,n=u+((0|e)==(0|g)&y>>>0>>0|e>>>0>>0)|0,e=n>>>0>>0,m=n-A|0,u=m-2&c,o[t>>2]=u,e=(e-((n>>>0>>0)+_|0)|0)-(m>>>0<2)&c,o[t+4>>2]=e,o[163856]=u,o[163857]=e,o[w+688>>2]=p,o[w+692>>2]=f,qe(655432,S,128),o[t>>2]=0,o[t+4>>2]=0,o[s>>2]=0,o[s+4>>2]=0,o[a>>2]=0,o[a+4>>2]=0,o[w+688>>2]=0,o[w+692>>2]=0,Ve(S,124)),h=w+720|0,r[690757]=0,r[690758]=0,r[690759]=0,r[690760]=0,r[690761]=0,r[690762]=0,r[690763]=0,r[690764]=0,r[690756]=1,r[690765]=0,r[690766]=0,r[690767]=0,r[690768]=0,r[690769]=0,r[690770]=0,r[690771]=0,r[690772]=0,r[690773]=0,r[690774]=0,r[690775]=0,r[690776]=0,r[690777]=0,r[690778]=0,r[690779]=0,r[690780]=0,r[690780]=0,r[690781]=0,r[690782]=0,r[690783]=0,r[690784]=0,r[690785]=0,r[690786]=0,r[690787]=0,o[F+4>>2]=1,o[172762]=655392}return h=F+32|0,J}function R(){k()}function M(e){e|=0;var t=0,r=0;return t=h+-64|0,h=t,32==(0|e)?(e=t+56|0,o[e>>2]=0,o[e+4>>2]=0,e=t+48|0,o[e>>2]=0,o[e+4>>2]=0,e=t+40|0,o[e>>2]=0,o[e+4>>2]=0,e=t+32|0,o[e>>2]=0,o[e+4>>2]=0,e=t+24|0,o[e>>2]=0,o[e+4>>2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r}if(o[p+88>>2]=0,t=i[u+60|0]|i[u+61|0]<<8|i[u+62|0]<<16|i[u+63|0]<<24,v=t>>>16|0,e=p,c=i[u+56|0]|i[u+57|0]<<8|i[u+58|0]<<16|i[u+59|0]<<24,o[e+80>>2]=(65535&t)<<16|c>>>16,o[e+84>>2]=v,d=i[u+36|0]|i[u+37|0]<<8|i[u+38|0]<<16|i[u+39|0]<<24,o[e+48>>2]=i[u+32|0]|i[u+33|0]<<8|i[u+34|0]<<16|i[u+35|0]<<24,o[e+52>>2]=1048575&d,v=c<<4&1048560,t=i[u+52|0]|i[u+53|0]<<8|i[u+54|0]<<16|i[u+55|0]<<24,g=t>>>28|0,c=i[u+48|0]|i[u+49|0]<<8|i[u+50|0]<<16|i[u+51|0]<<24,o[e+72>>2]=(268435455&t)<<4|c>>>28,o[e+76>>2]=g|v,v=t<<24|c>>>8,b=c<<24&-16777216,c=i[u+40|0]|i[u+41|0]<<8|i[u+42|0]<<16|i[u+43|0]<<24,t=i[u+44|0]|i[u+45|0]<<8|i[u+46|0]<<16|i[u+47|0]<<24,o[e+64>>2]=t>>>8|b,o[e+68>>2]=1048575&v,T=t<<12|c>>>20,o[e+56>>2]=c<<12&-4096|d>>>20,o[e+60>>2]=1048575&T,c=i[u+12|0]|i[u+13|0]<<8|i[u+14|0]<<16|i[u+15|0]<<24,y=c,t=i[u+8|0]|i[u+9|0]<<8|i[u+10|0]<<16|i[u+11|0]<<24,T=c<<12|t>>>20,w=t<<12&-4096,_=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,t=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,c=t,O=c>>>20|w,o[e+16>>2]=O,N=1048575&T,o[e+20>>2]=N,o[e+8>>2]=_,k=1048575&c,o[e+12>>2]=k,t=i[u+24|0]|i[u+25|0]<<8|i[u+26|0]<<16|i[u+27|0]<<24,b=t,c=i[u+28|0]|i[u+29|0]<<8|i[u+30|0]<<16|i[u+31|0]<<24,d=(65535&c)<<16|t>>>16,o[e+40>>2]=d,w=c>>>16|0,o[e+44>>2]=w,t=i[u+16|0]|i[u+17|0]<<8|i[u+18|0]<<16|i[u+19|0]<<24,c=i[u+20|0]|i[u+21|0]<<8|i[u+22|0]<<16|i[u+23|0]<<24,g=c<<24|t>>>8,u=t<<24&-16777216|y>>>8,o[e+24>>2]=u,y=1048575&g,o[e+28>>2]=y,v=b<<4&1048560,t=(268435455&c)<<4|t>>>28,o[e+32>>2]=t,e=c>>>28|v,o[p+36>>2]=e,_|O|d|u|t|N|k|w|y|e||Ke[o[S+168>>2]](690116,o[R>>2]),A=A+4|0,e=p+96|0,Ie(e,e,p+8|0),C=C-1|0,!C)break}e=0,o[p+216>>2]||(e=p+8|0,Ae(e,p+96|0),le(m,e),e=1)}else Ke[o[S+168>>2]](689682,o[S+172>>2]),e=0;else Ke[o[S+168>>2]](689778,o[S+172>>2]),e=0;if(h=p+224|0,!e)break e;if(o[l+264>>2]=s,e=de(o[172688],l+264|0,l+200|0,33==(0|s)?258:2),o[l+268>>2]=e,1!=(0|e))break t;E=1;break e}f(1);break e}f(1);break e}o[l+136>>2]=0,P(l+128|0),ae()}return h=l+272|0,0|E}function L(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0;d=h-208|0,h=d,s=d+136|0,c=s+56|0,o[c>>2]=0,o[c+4>>2]=0,c=s+48|0,o[c>>2]=0,o[c+4>>2]=0,c=s+40|0,o[c>>2]=0,o[c+4>>2]=0,c=s+32|0,o[c>>2]=0,o[c+4>>2]=0,c=s+24|0,o[c>>2]=0,o[c+4>>2]=0,c=s+16|0,o[c>>2]=0,o[c+4>>2]=0,c=s+8|0,o[c>>2]=0,o[c+4>>2]=0,o[d+136>>2]=0,o[d+140>>2]=0;e:{if(1==(0|oe(o[172688],s,690820,e))){if(m=d+136|0,s=m+15|0,e=i[s+4|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<<8|i[u+62|0]<<16|i[u+63|0]<<24,v=e>>>16|0,p=l+72|0,c=i[u+56|0]|i[u+57|0]<<8|i[u+58|0]<<16|i[u+59|0]<<24,o[p>>2]=(65535&e)<<16|c>>>16,o[p+4>>2]=v,p=c<<4&1048560,e=i[u+52|0]|i[u+53|0]<<8|i[u+54|0]<<16|i[u+55|0]<<24,g=e>>>28|0,y=l- -64|0,c=i[u+48|0]|i[u+49|0]<<8|i[u+50|0]<<16|i[u+51|0]<<24,o[y>>2]=(268435455&e)<<4|c>>>28,o[y+4>>2]=p|g,v=e<<24|c>>>8,y=c<<24&-16777216,c=i[u+40|0]|i[u+41|0]<<8|i[u+42|0]<<16|i[u+43|0]<<24,w=l+56|0,e=i[u+44|0]|i[u+45|0]<<8|i[u+46|0]<<16|i[u+47|0]<<24,o[w>>2]=e>>>8|y,o[w+4>>2]=1048575&v,v=e<<12|c>>>20,y=c<<12&-4096,s=i[u+32|0]|i[u+33|0]<<8|i[u+34|0]<<16|i[u+35|0]<<24,e=i[u+36|0]|i[u+37|0]<<8|i[u+38|0]<<16|i[u+39|0]<<24,w=l+48|0,o[w>>2]=e>>>20|y,o[w+4>>2]=1048575&v,o[l+80>>2]=0,o[l+40>>2]=s,o[l+44>>2]=1048575&e,s=i[u+12|0]|i[u+13|0]<<8|i[u+14|0]<<16|i[u+15|0]<<24,m=s,c=i[u+8|0]|i[u+9|0]<<8|i[u+10|0]<<16|i[u+11|0]<<24,v=s<<12|c>>>20,y=c<<12&-4096,b=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,c=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,s=c,e=l,E=s>>>20|y,o[e+8>>2]=E,S=1048575&v,o[e+12>>2]=S,o[e>>2]=b,A=1048575&s,o[e+4>>2]=A,c=i[u+24|0]|i[u+25|0]<<8|i[u+26|0]<<16|i[u+27|0]<<24,v=c,s=i[u+28|0]|i[u+29|0]<<8|i[u+30|0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e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,o[l+92>>2]=0,he(l+96|0,690949,l+92|0),o[l+92>>2]||(s=l+8|0,c=o[s+4>>2],p=l+160|0,e=p+8|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+16|0,c=o[s+4>>2],e=p+16|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+24|0,c=o[s+4>>2],e=p+24|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+32|0,c=o[s+4>>2],e=p+32|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+48|0,c=o[s+4>>2],e=p+48|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+56|0,c=o[s+4>>2],e=p+56|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l- -64|0,c=o[s+4>>2],e=p- -64|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,s=l+72|0,c=o[s+4>>2],e=p+72|0,o[e>>2]=o[s>>2],o[e+4>>2]=c,o[l+280>>2]=0,e=o[l+4>>2],o[l+160>>2]=o[l>>2],o[l+164>>2]=e,e=o[l+44>>2],o[l+200>>2]=o[l+40>>2],o[l+204>>2]=e,e=l+248|0,o[e>>2]=0,o[e+4>>2]=0,e=l+256|0,o[e>>2]=0,o[e+4>>2]=0,e=l+264|0,o[e>>2]=0,o[e+4>>2]=0,e=l+272|0,o[e>>2]=0,o[e+4>>2]=0,c=l+128|0,e=c+16|0,o[e>>2]=0,o[e+4>>2]=0,e=c+24|0,o[e>>2]=0,o[e+4>>2]=0,o[l+240>>2]=1,o[l+244>>2]=0,o[l+136>>2]=0,o[l+140>>2]=0,o[l+128>>2]=1,o[l+132>>2]=0,ye(p,p,c,l+96|0),o[l+280>>2]||(Ae(l,l+160|0),le(u,l),C=1))):(Ke[o[_+168>>2]](690116,o[_+172>>2]),e=u+56|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]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,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,c?(e=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,y=e>>>16|0,u=l+72|0,s=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,o[u>>2]=(65535&e)<<16|s>>>16,o[u+4>>2]=y,u=s<<4&1048560,e=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,E=e>>>28|0,m=l- -64|0,s=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,o[m>>2]=(268435455&e)<<4|s>>>28,o[m+4>>2]=u|E,y=e<<24|s>>>8,m=s<<24&-16777216,s=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,v=l+56|0,e=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,o[v>>2]=e>>>8|m,o[v+4>>2]=1048575&y,y=e<<12|s>>>20,m=s<<12&-4096,t=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,e=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,v=l+48|0,o[v>>2]=e>>>20|m,o[v+4>>2]=1048575&y,o[l+80>>2]=0,o[l+40>>2]=t,o[l+44>>2]=1048575&e,t=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,_=t,s=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,y=t<<12|s>>>20,m=s<<12&-4096,C=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,s=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,t=s,e=l,p=t>>>20|m,o[e+8>>2]=p,S=1048575&y,o[e+12>>2]=S,o[e>>2]=C,A=1048575&t,o[e+4>>2]=A,s=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,y=s,t=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,u=(65535&t)<<16|s>>>16,o[e+32>>2]=u,m=t>>>16|0,o[e+36>>2]=m,s=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,t=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,E=t<<24|s>>>8,T=s<<24&-16777216|_>>>8,o[e+16>>2]=T,_=1048575&E,o[e+20>>2]=_,v=y<<4&1048560,s=(268435455&t)<<4|s>>>28,o[e+24>>2]=s,e=t>>>28|v,o[l+28>>2]=e,p|C|u|T|s|S|A|m|_|e?(o[l+92>>2]=0,he(l+96|0,690949,l+92|0),o[l+92>>2]||(t=l+8|0,s=o[t+4>>2],u=l+160|0,e=u+8|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+16|0,s=o[t+4>>2],e=u+16|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+24|0,s=o[t+4>>2],e=u+24|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+32|0,s=o[t+4>>2],e=u+32|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+48|0,s=o[t+4>>2],e=u+48|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+56|0,s=o[t+4>>2],e=u+56|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l- -64|0,s=o[t+4>>2],e=u- -64|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,t=l+72|0,s=o[t+4>>2],e=u+72|0,o[e>>2]=o[t>>2],o[e+4>>2]=s,o[l+280>>2]=0,e=o[l+4>>2],o[l+160>>2]=o[l>>2],o[l+164>>2]=e,e=o[l+44>>2],o[l+200>>2]=o[l+40>>2],o[l+204>>2]=e,e=l+248|0,o[e>>2]=0,o[e+4>>2]=0,e=l+256|0,o[e>>2]=0,o[e+4>>2]=0,e=l+264|0,o[e>>2]=0,o[e+4>>2]=0,e=l+272|0,o[e>>2]=0,o[e+4>>2]=0,s=l+128|0,e=s+16|0,o[e>>2]=0,o[e+4>>2]=0,e=s+24|0,o[e>>2]=0,o[e+4>>2]=0,o[l+240>>2]=1,o[l+244>>2]=0,o[l+136>>2]=0,o[l+140>>2]=0,o[l+128>>2]=1,o[l+132>>2]=0,ye(u,u,s,l+96|0),o[l+280>>2]||(Ae(l,l+160|0),le(g,l),b=1))):Ke[o[w+168>>2]](690116,o[w+172>>2])):Ke[o[w+168>>2]](689629,o[w+172>>2])):Ke[o[w+168>>2]](689607,o[w+172>>2]),h=l+288|0,b){if(o[d+132>>2]=0,e=Me(k(),d+8|0,d+132|0,d+136|0),o[d+204>>2]=e,1!=(0|e))break e;if(e=Re(o[172688],d+8|0),o[d+204>>2]=e,1!=(0|e))break e;e=o[d+132>>2];break t}e=-1}return h=d+208|0,0|e}o[d+80>>2]=0,P(d+72|0),ae()}function F(e){e|=0;var t=0,s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,R=0,M=0,B=0;c=h-192|0,h=c,s=c+128|0,m=s+56|0,o[m>>2]=0,o[m+4>>2]=0,y=s+48|0,o[y>>2]=0,o[y+4>>2]=0,p=s+40|0,o[p>>2]=0,o[p+4>>2]=0,b=s+32|0,o[b>>2]=0,o[b+4>>2]=0,C=s+24|0,o[C>>2]=0,o[C+4>>2]=0,x=s+16|0,o[x>>2]=0,o[x+4>>2]=0,A=s+8|0,o[A>>2]=0,o[A+4>>2]=0,o[c+128>>2]=0,o[c+132>>2]=0;e:if(1!=(0|ke(o[172688],s,690885)))f(1);else{if(s=c+128|0,t=s+15|0,u=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=c- -64|0,v=l+8|0,o[v>>2]=i[0|t]|i[t+1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4>>2]=0,o[A>>2]=0,o[A+4>>2]=0,o[c+128>>2]=0,o[c+132>>2]=0,1==(0|ke(o[172688],s,690917))){A=k(),d=h-288|0,h=d,c?(l=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,s=l>>>16|0,u=d+72|0,t=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,o[u>>2]=(65535&l)<<16|t>>>16,o[u+4>>2]=s,m=t<<4&1048560,l=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,s=l>>>28|0,u=d- -64|0,t=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,o[u>>2]=(268435455&l)<<4|t>>>28,o[u+4>>2]=s|m,s=l<<24|t>>>8,m=t<<24&-16777216,t=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,u=d+56|0,l=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,o[u>>2]=l>>>8|m,o[u+4>>2]=1048575&s,l=1048575&(l<<12|t>>>20),m=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,u=d+48|0,y=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,o[u>>2]=t<<12&-4096|y>>>20,o[u+4>>2]=l,o[d+40>>2]=m,o[d+44>>2]=1048575&y,s=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,u=s,l=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,s=s<<12|l>>>20,m=l<<12&-4096,l=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,t=d,p=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,v=p>>>20|m,o[t+8>>2]=v,_=1048575&s,o[t+12>>2]=_,m=l,o[t>>2]=l,w=1048575&p,o[t+4>>2]=w,l=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,s=l>>>16|0,y=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,C=(65535&l)<<16|y>>>16,o[t+32>>2]=C,b=s,o[t+36>>2]=s,s=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,l=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,S=1048575&(s<<24|l>>>8),u=l<<24&-16777216|u>>>8,o[t+16>>2]=u,E=S,o[t+20>>2]=E,y=y<<4&1048560,t=s,s=t>>>28|0,t=(268435455&t)<<4|l>>>28,o[d+24>>2]=t,s|=y,o[d+28>>2]=s,m|v|C|u|t|_|w|b|E|s?(o[d+92>>2]=0,he(d+96|0,690949,d+92|0),o[d+92>>2]||(t=d+8|0,l=o[t+4>>2],s=d+160|0,u=s+8|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+16|0,l=o[t+4>>2],u=s+16|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+24|0,l=o[t+4>>2],u=s+24|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+32|0,l=o[t+4>>2],u=s+32|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+48|0,l=o[t+4>>2],u=s+48|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+56|0,l=o[t+4>>2],u=s+56|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d- -64|0,l=o[t+4>>2],u=s- -64|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,t=d+72|0,l=o[t+4>>2],u=s+72|0,o[u>>2]=o[t>>2],o[u+4>>2]=l,o[d+280>>2]=0,t=o[d+4>>2],o[d+160>>2]=o[d>>2],o[d+164>>2]=t,t=o[d+44>>2],o[d+200>>2]=o[d+40>>2],o[d+204>>2]=t,t=d+248|0,o[t>>2]=0,o[t+4>>2]=0,t=d+256|0,o[t>>2]=0,o[t+4>>2]=0,t=d+264|0,o[t>>2]=0,o[t+4>>2]=0,t=d+272|0,o[t>>2]=0,o[t+4>>2]=0,t=d+128|0,l=t+16|0,o[l>>2]=0,o[l+4>>2]=0,l=t+24|0,o[l>>2]=0,o[l+4>>2]=0,o[d+240>>2]=1,o[d+244>>2]=0,o[d+136>>2]=0,o[d+140>>2]=0,o[d+128>>2]=1,o[d+132>>2]=0,ye(s,s,t,d+96|0),o[d+280>>2]||(Ae(d,d+160|0),l=o[d+8>>2],u=o[d+12>>2],m=o[d+4>>2],p=o[d+32>>2],y=o[d+36>>2],C=y,s=o[d>>2],t=We(y>>>16|0,0,977,1),E=s+t|0,s=m+T|0,b=t>>>0>E>>>0?s+1|0:s,s=u,t=b>>>20|0,u=t,t=t+l|0,u=u>>>0>t>>>0?s+1|0:s,A=1048575&u,x=o[d+24>>2],v=o[d+28>>2],s=o[d+20>>2],l=u>>>20|0,y=l+o[d+16>>2]|0,m=l>>>0>y>>>0?s+1|0:s,s=v,l=m>>>20|0,g=l,l=l+x|0,s=g>>>0>l>>>0?s+1|0:s,v=1048575&s,m&=1048575,x=-1==(t&y&l)&1048575==(u&m&s),u=s,s=65535&C,u=u>>>20|0,w=u+p|0,s=u>>>0>w>>>0?s+1|0:s,u=s,_=1048575&b,x&-1==(0|w)&65535==(0|s)&(1048574==(0|_)&E>>>0>4294966318|_>>>0>1048574)|s>>>16&&(s=_+1|0,E=E+977|0,s=E>>>0<977?s+1|0:s,_=1048575&s,p=s,s=A,p=p>>>20|0,t=t+p|0,s=p>>>0>t>>>0?s+1|0:s,A=1048575&s,p=s,s=m,p=p>>>20|0,y=p+y|0,s=p>>>0>y>>>0?s+1|0:s,m=1048575&s,p=s,s=v,p=p>>>20|0,l=l+p|0,s=p>>>0>l>>>0?s+1|0:s,v=1048575&s,p=s,s=u,u=w,w=(p>>>20|0)+w|0,u=65535&(u>>>0>w>>>0?s+1|0:s)),o[d+32>>2]=w,o[d+36>>2]=u,o[d+24>>2]=l,o[d+28>>2]=v,o[d+16>>2]=y,o[d+20>>2]=m,o[d+8>>2]=t,o[d+12>>2]=A,o[d>>2]=E,o[d+4>>2]=_,C=o[d+48>>2],x=o[d+52>>2],g=o[d+44>>2],p=o[d+72>>2],S=o[d+76>>2],P=S,s=o[d+40>>2],b=We(S>>>16|0,0,977,1),S=s+b|0,s=g+T|0,O=b>>>0>S>>>0?s+1|0:s,s=x,b=O>>>20|0,C=b+C|0,g=b>>>0>C>>>0?s+1|0:s,R=1048575&g,N=p,M=65535&P,b=o[d+64>>2],I=o[d+68>>2],s=o[d+60>>2],p=g>>>20|0,x=p+o[d+56>>2]|0,P=p>>>0>x>>>0?s+1|0:s,s=I,p=P>>>20|0,I=p,p=p+b|0,b=I>>>0>p>>>0?s+1|0:s,s=M,I=b>>>20|0,M=I,I=N+I|0,s=M>>>0>I>>>0?s+1|0:s,N=1048575&P,O&=1048575,-1==(x&C&p)&1048575==(g&N&b)&-1==(0|I)&65535==(0|s)&(1048574==(0|O)&S>>>0>4294966318|O>>>0>1048574)|s>>>16&&(s=O+1|0,S=S+977|0,s=S>>>0<977?s+1|0:s,O=1048575&s,g=s,s=R,g=g>>>20|0,C=g+C|0,s=g>>>0>C>>>0?s+1|0:s,R=1048575&s,g=s,s=N,g=g>>>20|0,x=g+x|0,s=g>>>0>x>>>0?s+1|0:s,N=1048575&s,g=s,s=b,g=g>>>20|0,p=p+g|0,b=g>>>0>p>>>0?s+1|0:s),o[d+56>>2]=x,o[d+60>>2]=N,o[d+48>>2]=C,o[d+52>>2]=R,o[d+40>>2]=S,o[d+44>>2]=O,o[d+64>>2]=p,o[d+68>>2]=1048575&b,i[690917]==(u>>>8&255)&&i[690918]==(255&u)&&i[690919]==(255&((16777215&u)<<8|w>>>24))&&i[690920]==(255&((65535&u)<<16|w>>>16))&&i[690921]==(255&((255&u)<<24|w>>>8))&&i[690922]==(255&w)&&i[690923]==(v>>>12|0)&&i[690924]==(v>>>4&255)&&i[690925]==(255&((268435455&v)<<4|l>>>28))&&i[690926]==(255&((1048575&v)<<12|l>>>20))&&i[690927]==(255&((4095&v)<<20|l>>>12))&&i[690928]==(255&((15&v)<<28|l>>>4))&&i[690929]==(255&(l<<4|m>>>16))&&(s=m,i[690930]==(s>>>8&255)&&i[690931]==(255&s)&&i[690932]==(255&((16777215&m)<<8|y>>>24))&&i[690933]==(255&((65535&m)<<16|y>>>16))&&i[690934]==(255&((255&m)<<24|y>>>8))&&i[690935]==(255&y)&&i[690936]==(A>>>12|0)&&i[690937]==(A>>>4&255)&&i[690938]==(255&((268435455&A)<<4|t>>>28))&&i[690939]==(255&((1048575&A)<<12|t>>>20))&&i[690940]==(255&((4095&A)<<20|t>>>12))&&i[690941]==(255&((15&A)<<28|t>>>4))&&i[690942]==(255&(t<<4|_>>>16))&&(s=_,i[690943]==(s>>>8&255)&&i[690944]==(255&s)&&i[690945]==(255&((16777215&_)<<8|E>>>24))&&i[690946]==(255&((65535&_)<<16|E>>>16))&&i[690947]==(255&((255&_)<<24|E>>>8))&&i[690948]==(255&E)&&(B=(1&S)==(0|e))))))):Ke[o[A+168>>2]](690116,o[A+172>>2])):Ke[o[A+168>>2]](689629,o[A+172>>2]),h=d+288|0;break e}f(1)}return h=c+192|0,0|B}function $(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0;c=h-208|0,h=c,s=c+136|0,l=s+56|0,o[l>>2]=0,o[l+4>>2]=0,l=s+48|0,o[l>>2]=0,o[l+4>>2]=0,l=s+40|0,o[l>>2]=0,o[l+4>>2]=0,l=s+32|0,o[l>>2]=0,o[l+4>>2]=0,l=s+24|0,o[l>>2]=0,o[l+4>>2]=0,l=s+16|0,o[l>>2]=0,o[l+4>>2]=0,l=s+8|0,o[l>>2]=0,o[l+4>>2]=0,o[c+136>>2]=0,o[c+140>>2]=0;e:{if(1==(0|oe(o[172688],s,690820,e))){if(s=c+136|0,e=s+15|0,u=i[e+4|0]|i[e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n+28|0]&t,r[n+29|0]=i[n+29|0]&t,r[n+30|0]=i[n+30|0]&t,r[n+31|0]=i[n+31|0]&t,r[n+32|0]=i[n+32|0]&t,r[n+33|0]=i[n+33|0]&t,r[n+34|0]=i[n+34|0]&t,r[n+35|0]=i[n+35|0]&t,r[n+36|0]=i[n+36|0]&t,r[n+37|0]=i[n+37|0]&t,r[n+38|0]=i[n+38|0]&t,r[n+39|0]=i[n+39|0]&t,r[n+40|0]=i[n+40|0]&t,r[n+41|0]=i[n+41|0]&t,r[n+42|0]=i[n+42|0]&t,r[n+43|0]=i[n+43|0]&t,r[n+44|0]=i[n+44|0]&t,r[n+45|0]=i[n+45|0]&t,r[n+46|0]=i[n+46|0]&t,r[n+47|0]=i[n+47|0]&t,r[n+48|0]=i[n+48|0]&t,r[n+49|0]=i[n+49|0]&t,r[n+50|0]=i[n+50|0]&t,r[n+51|0]=i[n+51|0]&t,r[n+52|0]=i[n+52|0]&t,r[n+53|0]=i[n+53|0]&t,r[n+54|0]=i[n+54|0]&t,r[n+55|0]=i[n+55|0]&t,r[n+56|0]=i[n+56|0]&t,r[n+57|0]=i[n+57|0]&t,r[n+58|0]=i[n+58|0]&t,r[n+59|0]=i[n+59|0]&t,r[n+60|0]=i[n+60|0]&t,r[n+61|0]=i[n+61|0]&t,r[n+62|0]=i[n+62|0]&t,r[n+63|0]=i[n+63|0]&t,t=!l):(Ke[o[s+168>>2]](690045,o[s+172>>2]),t=0)):(Ke[o[s+168>>2]](689638,o[s+172>>2]),t=0),h=a+256|0;e:{if(t){if(o[n+64>>2]=e,e=de(o[172688],n- -64|0,n,33==(0|e)?258:2),o[n+68>>2]=e,1!=(0|e))break e;b=1}return h=n+96|0,0|b}o[n+80>>2]=0,P(n+72|0),ae()}function j(){var e=0,t=0,s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,R=0,M=0,B=0,L=0;c=h-304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+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=l+16|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=l+8|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,t?(v=i[t+92|0]|i[t+93|0]<<8|i[t+94|0]<<16|i[t+95|0]<<24,e=v>>>16|0,d=s+80|0,p=i[t+88|0]|i[t+89|0]<<8|i[t+90|0]<<16|i[t+91|0]<<24,v=(65535&v)<<16|p>>>16,o[d>>2]=v,R=e,o[d+4>>2]=e,m=p<<4&1048560,u=i[t+84|0]|i[t+85|0]<<8|i[t+86|0]<<16|i[t+87|0]<<24,e=u>>>28|0,d=s+72|0,p=i[t+80|0]|i[t+81|0]<<8|i[t+82|0]<<16|i[t+83|0]<<24,w=(268435455&u)<<4|p>>>28,o[d>>2]=w,S=e|m,o[d+4>>2]=S,e=u<<24|p>>>8,g=p<<24&-16777216,p=i[t+72|0]|i[t+73|0]<<8|i[t+74|0]<<16|i[t+75|0]<<24,m=s+8|0,d=m+56|0,u=i[t+76|0]|i[t+77|0]<<8|i[t+78|0]<<16|i[t+79|0]<<24,b=u>>>8|g,o[d>>2]=b,A=1048575&e,o[d+4>>2]=A,e=p,u=u<<12|e>>>20,p=i[t+64|0]|i[t+65|0]<<8|i[t+66|0]<<16|i[t+67|0]<<24,d=m+48|0,g=i[t+68|0]|i[t+69|0]<<8|i[t+70|0]<<16|i[t+71|0]<<24,_=e<<12&-4096|g>>>20,o[d>>2]=_,T=1048575&u,o[d+4>>2]=T,o[s+88>>2]=0,o[s+48>>2]=p,C=1048575&g,o[s+52>>2]=C,e=i[t+44|0]|i[t+45|0]<<8|i[t+46|0]<<16|i[t+47|0]<<24,d=e,u=i[t+40|0]|i[t+41|0]<<8|i[t+42|0]<<16|i[t+43|0]<<24,g=1048575&(e<<12|u>>>20),e=i[t+32|0]|i[t+33|0]<<8|i[t+34|0]<<16|i[t+35|0]<<24,m=u<<12&-4096,u=i[t+36|0]|i[t+37|0]<<8|i[t+38|0]<<16|i[t+39|0]<<24,x=m|u>>>20,o[s+16>>2]=x,M=g,o[s+20>>2]=g,m=e,o[s+8>>2]=e,I=1048575&u,o[s+12>>2]=I,u=i[t+60|0]|i[t+61|0]<<8|i[t+62|0]<<16|i[t+63|0]<<24,e=u>>>16|0,g=i[t+56|0]|i[t+57|0]<<8|i[t+58|0]<<16|i[t+59|0]<<24,O=(65535&u)<<16|g>>>16,o[s+40>>2]=O,B=e,o[s+44>>2]=e,u=i[t+48|0]|i[t+49|0]<<8|i[t+50|0]<<16|i[t+51|0]<<24,e=i[t+52|0]|i[t+53|0]<<8|i[t+54|0]<<16|i[t+55|0]<<24,t=e,N=1048575&(e<<24|u>>>8),d=u<<24&-16777216|d>>>8,o[s+24>>2]=d,o[s+28>>2]=N,g=g<<4&1048560,e=e>>>28|0,u=(268435455&t)<<4|u>>>28,o[s+32>>2]=u,e|=g,o[s+36>>2]=e,m|x|O|d|u|M|I|B|N|e?(1&p&&(o[s+80>>2]=-4-v,o[s+84>>2]=262143-((v>>>0>4294967292)+R|0),o[s+72>>2]=-4-w,o[s+76>>2]=4194303-((w>>>0>4294967292)+S|0),o[s+64>>2]=-4-b,o[s+68>>2]=4194303-((b>>>0>4294967292)+A|0),o[s+56>>2]=-4-_,o[s+60>>2]=4194303-((_>>>0>4294967292)+T|0),o[s+48>>2]=-3908-p,o[s+52>>2]=4194299-((p>>>0>4294963388)+C|0),L=1),E&&(o[E>>2]=L),le(l,s+8|0),e=1):(Ke[o[y+168>>2]](690116,o[y+172>>2]),e=0)):(Ke[o[y+168>>2]](689700,o[y+172>>2]),e=0)):(Ke[o[y+168>>2]](689638,o[y+172>>2]),e=0),h=s+96|0,o[c+300>>2]=e,1==(0|e))break r;break e}f(0);break t}if(s=Re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,l=t+8|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=e+16|0,s=o[u+4>>2],l=t+16|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=e+24|0,s=o[u+4>>2],l=t+24|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=e+32|0,s=o[u+4>>2],l=t+32|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=e+40|0,s=o[u+4>>2],l=t+40|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=e+48|0,s=o[u+4>>2],l=t+48|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,e=e+56|0,u=o[e+4>>2],t=t+56|0,o[t>>2]=o[e>>2],o[t+4>>2]=u}if(e=o[c+12>>2],o[c+208>>2]=o[c+8>>2],o[c+212>>2]=e,t=c+208|0,u=t+56|0,s=o[u+4>>2],e=c+80|0,l=e+56|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=t+48|0,s=o[u+4>>2],l=e+48|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=t+40|0,s=o[u+4>>2],l=e+40|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=t+32|0,s=o[u+4>>2],l=e+32|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=t+24|0,s=o[u+4>>2],l=e+24|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,u=t+16|0,s=o[u+4>>2],l=e+16|0,o[l>>2]=o[u>>2],o[l+4>>2]=s,t=t+8|0,u=o[t+4>>2],s=e+8|0,o[s>>2]=o[t>>2],o[s+4>>2]=u,t=o[c+212>>2],o[c+80>>2]=o[c+208>>2],o[c+84>>2]=t,e=Re(o[172688],e),o[c+8>>2]=e,1==(0|e))return h=c+272|0,1}o[c+216>>2]=0,P(c+208|0),ae()}function V(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0;l=h-208|0,h=l,s=l+136|0,u=s+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,r[e+6|0]=0,r[e+7|0]=0):(e=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,g=e>>>16|0,v=d+112|0,u=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,o[v>>2]=(65535&e)<<16|u>>>16,o[v+4>>2]=g,v=u<<4&1048560,e=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,g=e>>>28|0,p=d+104|0,u=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,o[p>>2]=(268435455&e)<<4|u>>>28,o[p+4>>2]=g|v,g=e<<24|u>>>8,p=u<<24&-16777216,u=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,m=d+40|0,w=m+56|0,e=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,o[w>>2]=e>>>8|p,o[w+4>>2]=1048575&g,w=e<<12|u>>>20,p=u<<12&-4096,s=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,e=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,m=m+48|0,o[m>>2]=e>>>20|p,o[m+4>>2]=1048575&w,o[d+120>>2]=0,o[d+80>>2]=s,o[d+84>>2]=1048575&e,s=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,y=s,u=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,g=s<<12|u>>>20,p=u<<12&-4096,b=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,u=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,s=u,e=d,E=s>>>20|p,o[e+48>>2]=E,S=1048575&g,o[e+52>>2]=S,o[e+40>>2]=b,A=1048575&s,o[e+44>>2]=A,u=i[c+24|0]|i[c+25|0]<<8|i[c+26|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]](690116,o[_+172>>2]),e=c+56|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+48|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+40|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+32|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+24|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+16|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,e=c+8|0,r[0|e]=0,r[e+1|0]=0,r[e+2|0]=0,r[e+3|0]=0,r[e+4|0]=0,r[e+5|0]=0,r[e+6|0]=0,r[e+7|0]=0,r[0|c]=0,r[c+1|0]=0,r[c+2|0]=0,r[c+3|0]=0,r[c+4|0]=0,r[c+5|0]=0,r[c+6|0]=0,r[c+7|0]=0))):Ke[o[_+168>>2]](689638,o[_+172>>2]),h=d+288|0,!C)break e;if(o[l+204>>2]=t,e=de(o[172688],l+204|0,l+8|0,33==(0|t)?258:2),o[l+72>>2]=e,x=1,1==(0|e))break e;o[l+144>>2]=0,P(l+136|0),ae()}f(1)}return h=l+208|0,0|x}function H(){return 1==(0|xe())|0}function q(){var e=0,t=0;if(e=h-32|0,h=e,t=Ce(o[172688],690949),o[e+4>>2]=t,1==(0|t))return t=xe(),h=e+32|0,1==(0|t)|0;o[e+16>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0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=c,t=a+40|0,c=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=e+8|0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=c,t=a+48|0,c=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=e+16|0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=c,t=a+56|0,c=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=e+24|0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=c,t=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,o[e+32>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[e+36>>2]=t,t=i[a+36|0]|i[a+37|0]<<8|i[a+38|0]<<16|i[a+39|0]<<24,o[e>>2]=i[a+32|0]|i[a+33|0]<<8|i[a+34|0]<<16|i[a+35|0]<<24,o[e+4>>2]=t,pe(690981,n),pe(691013,e),t=1):(Ke[o[t+168>>2]](689748,o[t+172>>2]),t=0),h=e- -64|0,o[a+68>>2]=t,1==(0|t))break t;break e}break e}return void(h=a+96|0)}o[a+80>>2]=0,P(a+72|0),ae()}function Z(e){e|=0;var t=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0;if(d=h-112|0,h=d,c=d+16|0,Ve(c,65),t=k(),a=o[172560],e=e?655681:0,n=h-80|0,h=n,o[t>>2]?c?(s=n+48|0,l=n+16|0,e=Ee(t,s,l,n+12|0,a,e),t=o[n+52>>2],a=o[n+48>>2],r[0|c]=a,r[c+1|0]=a>>>8,r[c+2|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|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,v=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,o[a>>2]=i[e+64|0],e=c+8|0,o[e>>2]=p,o[e+4>>2]=n,e=c+16|0,o[e>>2]=u,o[e+4>>2]=f,e=c+24|0,o[e>>2]=s,o[e+4>>2]=l,o[c+32>>2]=y,o[c+36>>2]=v,o[c>>2]=g,o[c+4>>2]=m,pe(690981,t),pe(691013,c)):Ke[o[n+168>>2]](689795,o[n+172>>2]):Ke[o[n+168>>2]](689748,o[n+172>>2]),h=c- -64|0,h=d+112|0,o[d+12>>2];o[d+96>>2]=0,P(d+88|0),ae()}function K(e){e|=0;var t=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,R=0;n=h-128|0,h=n,l=Ve(n,96),n=Be(k(),l),o[l+100>>2]=n;e:{t:{if(1==(0|n)){if(w=k(),R=e?655681:0,t=h-640|0,h=t,e=t+88|0,o[e>>2]=0,o[e+4>>2]=0,e=t+80|0,o[e>>2]=0,o[e+4>>2]=0,o[t+72>>2]=0,o[t+76>>2]=0,o[t+64>>2]=0,o[t+68>>2]=0,o[w>>2])if(l){_=t+472|0,I=h-16|0,h=I,E=i[l+40|0]|i[l+41|0]<<8|i[l+42|0]<<16|i[l+43|0]<<24,u=i[l+44|0]|i[l+45|0]<<8|i[l+46|0]<<16|i[l+47|0]<<24,p=i[l+48|0]|i[l+49|0]<<8|i[l+50|0]<<16|i[l+51|0]<<24,c=i[l+52|0]|i[l+53|0]<<8|i[l+54|0]<<16|i[l+55|0]<<24,S=i[l+72|0]|i[l+73|0]<<8|i[l+74|0]<<16|i[l+75|0]<<24,m=i[l+76|0]|i[l+77|0]<<8|i[l+78|0]<<16|i[l+79|0]<<24,d=i[l+80|0]|i[l+81|0]<<8|i[l+82|0]<<16|i[l+83|0]<<24,a=i[l+84|0]|i[l+85|0]<<8|i[l+86|0]<<16|i[l+87|0]<<24,b=i[l+32|0]|i[l+33|0]<<8|i[l+34|0]<<16|i[l+35|0]<<24,y=i[l+36|0]|i[l+37|0]<<8|i[l+38|0]<<16|i[l+39|0]<<24,g=i[l+56|0]|i[l+57|0]<<8|i[l+58|0]<<16|i[l+59|0]<<24,s=i[l+60|0]|i[l+61|0]<<8|i[l+62|0]<<16|i[l+63|0]<<24,x=i[l+64|0]|i[l+65|0]<<8|i[l+66|0]<<16|i[l+67|0]<<24,v=i[l+68|0]|i[l+69|0]<<8|i[l+70|0]<<16|i[l+71|0]<<24,f=i[l+88|0]|i[l+89|0]<<8|i[l+90|0]<<16|i[l+91|0]<<24,A=i[l+92|0]|i[l+93|0]<<8|i[l+94|0]<<16|i[l+95|0]<<24,n=t+192|0,o[n+80>>2]=0,C=n+72|0,o[C>>2]=(65535&A)<<16|f>>>16,o[C+4>>2]=A>>>16,o[n+40>>2]=x,o[n+44>>2]=1048575&v,C=(65535&s)<<16|g>>>16,o[n+32>>2]=C,x=s>>>16|0,o[n+36>>2]=x,o[n>>2]=b,A=1048575&y,o[n+4>>2]=A,O=n- -64|0,o[O>>2]=(268435455&a)<<4|d>>>28,o[O+4>>2]=f<<4&1048560|a>>>28,e=a<<24|d>>>8,f=n+56|0,a=m,o[f>>2]=d<<24&-16777216|a>>>8,o[f+4>>2]=1048575&e,e=a<<12,a=S,d=1048575&(e|a>>>20),m=n+48|0,o[m>>2]=a<<12&-4096|v>>>20,o[m+4>>2]=d,a=g<<4&1048560,s=c,e=s>>>28|0,c=(268435455&s)<<4|p>>>28,o[n+24>>2]=c,a|=e,o[n+28>>2]=a,e=s<<24|p>>>8,s=u,u=p<<24&-16777216|s>>>8,o[n+16>>2]=u,p=1048575&e,o[n+20>>2]=p,e=s<<12,s=E,m=1048575&(e|s>>>20),s=s<<12&-4096|y>>>20,o[n+8>>2]=s,e=m,o[n+12>>2]=e;r:{n:{if(!(s|b|C|u|c|e|A|x|p|a)){if(Ke[o[w+168>>2]](690116,o[w+172>>2]),qe(n,690376,88),_)break n;break r}if(N=1,!_)break r;if(he(_,l,I+12|0),!(o[I+12>>2]|!(o[_+24>>2]|o[_+16>>2]|o[_+8>>2]|o[_>>2]|o[_+28>>2]|o[_+20>>2]|o[_+12>>2]|o[_+4>>2])))break r;Ke[o[w+168>>2]](689400,o[w+172>>2]),qe(n,690376,88)}N=0,e=o[172569],n=_+24|0,o[n>>2]=o[172568],o[n+4>>2]=e,e=o[172567],n=_+16|0,o[n>>2]=o[172566],o[n+4>>2]=e,e=o[172565],n=_+8|0,o[n>>2]=o[172564],o[n+4>>2]=e,e=o[172563],o[_>>2]=o[172562],o[_+4>>2]=e}h=I+16|0,1&r[t+232|0]?(y=o[t+496>>2],v=o[t+488>>2],a=o[t+480>>2],e=o[t+472>>2],b=o[t+500>>2],S=o[t+492>>2],c=o[t+484>>2],n=o[t+476>>2],u=y|v|a|e|b|S|c|n?-1:0,e^=-1,p=e-801750718|0,E=u&p,o[t+472>>2]=E,n^=-1,s=n-((e>>>0<801750718)+1076732275|0)|0,m=s&u,o[t+476>>2]=m,e=(0|n)==(0|s)&e>>>0>p>>>0|n>>>0>s>>>0,p=-1^a,a=e+p|0,c^=-1,e=c,f=a-1354194885|0,d=f&u,o[t+480>>2]=d,e=a>>>0

>>0?e+1|0:e,g=e-((a>>>0<1354194885)+1162945305|0)|0,n=g&u,o[t+484>>2]=n,s=(0|e)==(0|c)&a>>>0

>>0|e>>>0>>0,p=(0|e)==(0|g)&a>>>0>f>>>0|e>>>0>g>>>0,a=s+p|0,e=a>>>0

>>0,g=-1^v,p=g+a|0,v=-1^S,e=v+e|0,f=p-2|0,a=f&u,o[t+488>>2]=a,e=p>>>0>>0?e+1|0:e,S=e-(p>>>0<2)|0,c=S&u,o[t+492>>2]=c,s=(0|e)==(0|v)&p>>>0>>0|e>>>0>>0,p=(0|e)==(0|S)&f>>>0

>>0|e>>>0>S>>>0,s=s+p|0,e=s>>>0

>>0,p=s-y|0,S=p-2&u,o[t+496>>2]=S,p=(e-((s>>>0>>0)+b|0)|0)-(p>>>0<2)&u,o[t+500>>2]=p):(E=o[t+472>>2],m=o[t+476>>2],d=o[t+480>>2],n=o[t+484>>2],a=o[t+488>>2],c=o[t+492>>2],S=o[t+496>>2],p=o[t+500>>2]),r[t+31|0]=E,r[t+30|0]=(255&m)<<24|E>>>8,r[t+29|0]=(65535&m)<<16|E>>>16,r[t+28|0]=(16777215&m)<<8|E>>>24,r[t+27|0]=m,r[t+26|0]=m>>>8,r[t+25|0]=m>>>16,r[t+24|0]=m>>>24,r[t+23|0]=d,r[t+22|0]=(255&n)<<24|d>>>8,r[t+21|0]=(65535&n)<<16|d>>>16,r[t+20|0]=(16777215&n)<<8|d>>>24,r[t+19|0]=n,r[t+18|0]=n>>>8,r[t+17|0]=n>>>16,r[t+16|0]=n>>>24,r[t+15|0]=a,r[t+14|0]=(255&c)<<24|a>>>8,r[t+13|0]=(65535&c)<<16|a>>>16,r[t+12|0]=(16777215&c)<<8|a>>>24,r[t+11|0]=c,r[t+10|0]=c>>>8,r[t+9|0]=c>>>16,r[t+8|0]=c>>>24,r[t+7|0]=S,r[t+6|0]=(255&p)<<24|S>>>8,r[t+5|0]=(65535&p)<<16|S>>>16,r[t+4|0]=(16777215&p)<<8|S>>>24,r[t+3|0]=p,r[t+2|0]=p>>>8,r[t+1|0]=p>>>16,r[0|t]=p>>>24,n=o[t+228>>2],s=o[t+224>>2],r[t+37|0]=s,e=o[t+212>>2],a=o[t+208>>2],r[t+50|0]=a,r[t+36|0]=(255&n)<<24|s>>>8,r[t+35|0]=(65535&n)<<16|s>>>16,r[t+34|0]=(16777215&n)<<8|s>>>24,r[t+33|0]=n,r[t+32|0]=n>>>8,n=o[t+220>>2],s=o[t+216>>2],r[t+43|0]=(15&n)<<28|s>>>4,r[t+42|0]=(4095&n)<<20|s>>>12,r[t+41|0]=(1048575&n)<<12|s>>>20,r[t+40|0]=(268435455&n)<<4|s>>>28,r[t+39|0]=n>>>4,r[t+38|0]=n>>>12,r[t+49|0]=(255&e)<<24|a>>>8,r[t+48|0]=(65535&e)<<16|a>>>16,r[t+47|0]=(16777215&e)<<8|a>>>24,r[t+46|0]=e,r[t+45|0]=e>>>8,r[t+44|0]=e>>>16&15|s<<4,e=o[t+196>>2],a=o[t+192>>2],r[t+63|0]=a,n=o[t+204>>2],s=o[t+200>>2],r[t+56|0]=(15&n)<<28|s>>>4,r[t+55|0]=(4095&n)<<20|s>>>12,r[t+54|0]=(1048575&n)<<12|s>>>20,r[t+53|0]=(268435455&n)<<4|s>>>28,r[t+52|0]=n>>>4,r[t+51|0]=n>>>12,r[t+62|0]=(255&e)<<24|a>>>8,r[t+61|0]=(65535&e)<<16|a>>>16,r[t+60|0]=(16777215&e)<<8|a>>>24,r[t+59|0]=e,r[t+58|0]=e>>>8,r[t+57|0]=e>>>16&15|s<<4,e=t- -64|0,n=Le(e,655649,32,t,t+32|0,690736,13,R),s=t+408|0,he(s,e,0),e=N&0!=(0|n),n=o[t+432>>2],c=o[t+424>>2],a=o[t+416>>2],u=o[t+408>>2],p=o[t+436>>2],y=o[t+428>>2],m=o[t+420>>2],d=o[t+412>>2],O=e&0!=(n|c|a|u|p|y|m|d),I=!O,e=I-1|0,S=e&n,o[t+432>>2]=S,n=0-!I|0,p&=n,o[t+436>>2]=p,A=e&c,o[t+424>>2]=A,x=n&y,o[t+428>>2]=x,C=e&a,o[t+416>>2]=C,_=n&m,o[t+420>>2]=_,E=e&u|I,o[t+408>>2]=E,m=n&d,o[t+412>>2]=m,e=t+280|0,Se(w,e,s),Ae(t+104|0,e),e=t+152|0,s=o[e>>2],u=o[e+4>>2],c=o[t+148>>2],e=t+176|0,d=o[e>>2],a=o[e+4>>2],v=a,e=o[t+144>>2],n=We(a>>>16|0,0,977,1),a=e+n|0,e=c+T|0,f=n>>>0>a>>>0?e+1|0:e,e=u,n=f>>>20|0,c=n,n=n+s|0,c=c>>>0>n>>>0?e+1|0:e,y=1048575&c,e=t+168|0,b=o[e>>2],w=o[e+4>>2],e=t+160|0,u=o[e>>2],e=o[e+4>>2],s=c>>>20|0,g=s,s=s+u|0,g=g>>>0>s>>>0?e+1|0:e,e=w,u=g>>>20|0,w=u,u=u+b|0,e=w>>>0>u>>>0?e+1|0:e,b=1048575&e,g&=1048575,w=-1==(n&s&u)&1048575==(c&g&e),c=e,e=65535&v,c=c>>>20|0,v=c+d|0,e=c>>>0>v>>>0?e+1|0:e,d=e,c=1048575&f,w&-1==(0|v)&65535==(0|e)&(1048574==(0|c)&a>>>0>4294966318|c>>>0>1048574)|e>>>16&&(e=c+1|0,a=a+977|0,e=a>>>0<977?e+1|0:e,c=1048575&e,f=e,e=y,f=f>>>20|0,n=n+f|0,e=f>>>0>n>>>0?e+1|0:e,y=1048575&e,f=e,e=g,f=f>>>20|0,s=s+f|0,e=f>>>0>s>>>0?e+1|0:e,g=1048575&e,f=e,e=b,f=f>>>20|0,u=u+f|0,e=f>>>0>u>>>0?e+1|0:e,b=1048575&e,f=e,e=d,d=v,v=(f>>>20|0)+v|0,d=65535&(d>>>0>v>>>0?e+1|0:e)),o[t+176>>2]=v,o[t+180>>2]=d,o[t+168>>2]=u,o[t+172>>2]=b,o[t+160>>2]=s,o[t+164>>2]=g,o[t+152>>2]=n,o[t+156>>2]=y,o[t+144>>2]=a,o[t+148>>2]=c,1&a&&(s=E|C|A|S|m|_|x|p?-1:0,e=-1^E,u=e-801750718|0,E=s&u,o[t+408>>2]=E,n=-1^m,a=n-((e>>>0<801750718)+1076732275|0)|0,m=a&s,o[t+412>>2]=m,e=(0|n)==(0|a)&e>>>0>u>>>0|n>>>0>a>>>0,u=-1^C,a=e+u|0,c=-1^_,e=c,y=a-1354194885|0,C=y&s,o[t+416>>2]=C,e=a>>>0>>0?e+1|0:e,d=e-((a>>>0<1354194885)+1162945305|0)|0,_=d&s,o[t+420>>2]=_,n=(0|e)==(0|c)&a>>>0>>0|e>>>0>>0,u=(0|e)==(0|d)&a>>>0>y>>>0|e>>>0>d>>>0,a=n+u|0,c=-1^x,e=c+(a>>>0>>0)|0,u=-1^A,a=u+a|0,y=a-2|0,A=y&s,o[t+424>>2]=A,e=a>>>0>>0?e+1|0:e,d=e-(a>>>0<2)|0,x=d&s,o[t+428>>2]=x,n=(0|e)==(0|c)&a>>>0>>0|e>>>0>>0,a=(0|e)==(0|d)&a>>>0>y>>>0|e>>>0>d>>>0,n=n+a|0,e=n>>>0>>0,a=n-S|0,u=a-2|0,p=(e-((n>>>0>>0)+p|0)|0)-(a>>>0<2)&s,S=s&u,o[t+432>>2]=S,o[t+436>>2]=p),s=o[t+112>>2],a=o[t+116>>2],c=o[t+108>>2],v=o[t+136>>2],u=o[t+140>>2],f=u,e=o[t+104>>2],n=We(u>>>16|0,0,977,1),u=e+n|0,e=c+T|0,b=n>>>0>u>>>0?e+1|0:e,e=a,n=b>>>20|0,a=n+s|0,d=n>>>0>a>>>0?e+1|0:e,c=1048575&d,y=o[t+128>>2],w=o[t+132>>2],e=o[t+124>>2],n=d>>>20|0,s=n+o[t+120>>2]|0,g=n>>>0>s>>>0?e+1|0:e,e=w,n=g>>>20|0,w=n,n=n+y|0,e=w>>>0>n>>>0?e+1|0:e,y=1048575&e,g&=1048575,w=-1==(a&s&n)&1048575==(d&g&e),d=e,e=65535&f,d=d>>>20|0,v=d+v|0,e=d>>>0>v>>>0?e+1|0:e,d=e,b&=1048575,w&-1==(0|v)&65535==(0|e)&(1048574==(0|b)&u>>>0>4294966318|b>>>0>1048574)|e>>>16&&(e=b+1|0,u=u+977|0,e=u>>>0<977?e+1|0:e,b=1048575&e,f=e,e=c,f=f>>>20|0,a=a+f|0,e=f>>>0>a>>>0?e+1|0:e,c=1048575&e,f=e,e=g,f=f>>>20|0,s=s+f|0,e=f>>>0>s>>>0?e+1|0:e,g=1048575&e,f=e,e=y,f=f>>>20|0,n=n+f|0,e=f>>>0>n>>>0?e+1|0:e,y=1048575&e,f=e,e=d,d=v,v=(f>>>20|0)+v|0,d=65535&(d>>>0>v>>>0?e+1|0:e)),o[t+136>>2]=v,o[t+140>>2]=d,o[t+128>>2]=n,o[t+132>>2]=y,o[t+120>>2]=s,o[t+124>>2]=g,o[t+112>>2]=a,o[t+116>>2]=c,o[t+104>>2]=u,o[t+108>>2]=b,fe(690981,t+104|0),o[t+600>>2]=64,o[t+604>>2]=0,o[t+528>>2]=-1862921884,o[t+532>>2]=870954602,o[t+520>>2]=-1748470448,o[t+524>>2]=3983205,o[t+512>>2]=292000018,o[t+516>>2]=-782074353,o[t+504>>2]=-1662207471,o[t+508>>2]=596792193,e=t+504|0,re(e,690981,32),re(e,t+32|0,32),re(e,655649,32),n=e,e=t+608|0,ne(n,e),f=t+440|0,he(f,e,0),w=t+472|0,me(f,f,w),n=o[t+440>>2],d=n+E|0,e=m+o[t+444>>2]|0,c=n>>>0>d>>>0?e+1|0:e,a=(0|m)==(0|c)&d>>>0>>0|c>>>0>>0,n=o[t+448>>2],s=a+n|0,e=o[t+452>>2],n=n>>>0>s>>>0?e+1|0:e,e=n+_|0,a=!n&a>>>0>s>>>0,m=s+C|0,u=m>>>0>>0?e+1|0:e,s=(0|n)==(0|u)&s>>>0>m>>>0|n>>>0>u>>>0,n=a+s|0,e=n>>>0>>0,g=n,n=o[t+456>>2],s=g+n|0,a=e,e=e+o[t+460>>2]|0,n=n>>>0>s>>>0?e+1|0:e,e=n+x|0,y=s,v=s+A|0,e=v>>>0>>0?e+1|0:e,E=p,g=(0|n)==(0|a)&s>>>0>>0|n>>>0>>0,s=e,p=v,a=(0|n)==(0|e)&p>>>0>>0|e>>>0>>0,n=g+a|0,e=n>>>0>>0,b=n,a=o[t+464>>2],n=n+a|0,y=e,e=e+o[t+468>>2]|0,a=n>>>0>>0?e+1|0:e,e=a+E|0,g=n,n=n+S|0,E=g>>>0>n>>>0?e+1|0:e,v=n,b=((0|a)==(0|E)&g>>>0>n>>>0|a>>>0>E>>>0)+((0|a)==(0|y)&g>>>0>>0|a>>>0>>0)|0,a=-1==(0|s),y=a&p>>>0<4294967294|-1!=(0|s)|-1!=(n&E),e=-1162945306==(0|u),g=-1^(y|e&m>>>0<2940772411|u>>>0<3132021990),y=b+(g&(-1076732276==(0|c)&d>>>0>3493216576|c>>>0>3218235020)|g&(e&m>>>0>2940772411|u>>>0>3132021990)|-1==(0|p)&a&(-1^y))|0,a=We(y,0,801750719,1076732275),g=a+d|0,e=c+T|0,o[t+440>>2]=g,e=a>>>0>g>>>0?e+1|0:e,o[t+444>>2]=e,d=(0|e)==(0|c)&d>>>0>g>>>0|e>>>0>>0,c=We(y,0,1354194884,1162945305),n=c+m|0,e=u+T|0,e=n>>>0>>0?e+1|0:e,c=n,n=e,d=c+d|0,e=d>>>0>>0?e+1|0:e,o[t+448>>2]=d,o[t+452>>2]=e,a=(0|n)==(0|u)&c>>>0>>0|n>>>0>>0,u=(0|e)==(0|n)&c>>>0>d>>>0|e>>>0>>0,n=a+u|0,c=n,u=n>>>0>>0,e=s,m=p+y|0,n=m>>>0>>0?e+1|0:e,e=n+u|0,u=m,c=c+u|0,e=u>>>0>c>>>0?e+1|0:e,o[t+456>>2]=c,o[t+460>>2]=e,a=(0|n)==(0|s)&u>>>0

>>0|n>>>0>>0,s=(0|e)==(0|n)&c>>>0>>0|e>>>0>>0,n=a+s|0,e=E+(n>>>0>>0)|0,n=n+v|0,e=n>>>0>>0?e+1|0:e,o[t+464>>2]=n,o[t+468>>2]=e,pe(691013,f),o[t+504>>2]=I,e=o[t+504>>2]-1|0,r[690981]=e&i[690981],r[690982]=i[690982]&e,r[690983]=i[690983]&e,r[690984]=i[690984]&e,r[690985]=i[690985]&e,r[690986]=i[690986]&e,r[690987]=i[690987]&e,r[690988]=i[690988]&e,r[690989]=i[690989]&e,r[690990]=i[690990]&e,r[690991]=i[690991]&e,r[690992]=i[690992]&e,r[690993]=i[690993]&e,r[690994]=i[690994]&e,r[690995]=i[690995]&e,r[690996]=i[690996]&e,r[690997]=i[690997]&e,r[690998]=i[690998]&e,r[690999]=i[690999]&e,r[691e3]=i[691e3]&e,r[691001]=i[691001]&e,r[691002]=i[691002]&e,r[691003]=i[691003]&e,r[691004]=i[691004]&e,r[691005]=i[691005]&e,r[691006]=i[691006]&e,r[691007]=i[691007]&e,r[691008]=i[691008]&e,r[691009]=i[691009]&e,r[691010]=i[691010]&e,r[691011]=i[691011]&e,r[691012]=i[691012]&e,r[691013]=i[691013]&e,r[691014]=i[691014]&e,r[691015]=i[691015]&e,r[691016]=i[691016]&e,r[691017]=i[691017]&e,r[691018]=i[691018]&e,r[691019]=i[691019]&e,r[691020]=i[691020]&e,r[691021]=i[691021]&e,r[691022]=i[691022]&e,r[691023]=i[691023]&e,r[691024]=i[691024]&e,r[691025]=i[691025]&e,r[691026]=i[691026]&e,r[691027]=i[691027]&e,r[691028]=i[691028]&e,r[691029]=i[691029]&e,r[691030]=i[691030]&e,r[691031]=i[691031]&e,r[691032]=i[691032]&e,r[691033]=i[691033]&e,r[691034]=i[691034]&e,r[691035]=i[691035]&e,r[691036]=i[691036]&e,r[691037]=i[691037]&e,r[691038]=i[691038]&e,r[691039]=i[691039]&e,r[691040]=i[691040]&e,r[691041]=i[691041]&e,r[691042]=i[691042]&e,r[691043]=i[691043]&e,r[691044]=i[691044]&e,e=t+408|0,n=e+24|0,o[n>>2]=0,o[n+4>>2]=0,n=e+16|0,o[n>>2]=0,o[n+4>>2]=0,e=e+8|0,o[e>>2]=0,o[e+4>>2]=0,o[t+408>>2]=0,o[t+412>>2]=0,e=w+24|0,o[e>>2]=0,o[e+4>>2]=0,e=w+16|0,o[e>>2]=0,o[e+4>>2]=0,e=w+8|0,o[e>>2]=0,o[e+4>>2]=0,o[t+472>>2]=0,o[t+476>>2]=0,e=t+24|0,o[e>>2]=0,o[e+4>>2]=0,e=t+16|0,o[e>>2]=0,o[e+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t>>2]=0,o[t+4>>2]=0}else Ke[o[w+168>>2]](689700,o[w+172>>2]);else Ke[o[w+168>>2]](690045,o[w+172>>2]);if(h=t+640|0,o[l+100>>2]=O,O)break t;break e}break e}return void(h=l+128|0)}o[l+112>>2]=0,P(l+104|0),ae()}function Y(e,t){e|=0,t|=0;var s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,P=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0;l=h-192|0,h=l,u=l+128|0,d=u+56|0,o[d>>2]=0,o[d+4>>2]=0,p=u+48|0,o[p>>2]=0,o[p+4>>2]=0,g=u+40|0,o[g>>2]=0,o[g+4>>2]=0,w=u+32|0,o[w>>2]=0,o[w+4>>2]=0,m=u+24|0,o[m>>2]=0,o[m+4>>2]=0,v=u+16|0,o[v>>2]=0,o[v+4>>2]=0,A=u+8|0,o[A>>2]=0,o[A+4>>2]=0,o[l+128>>2]=0,o[l+132>>2]=0;e:if(1!=(0|oe(o[172688],u,690820,e)))f(1);else{if(u=l+128|0,e=u+15|0,s=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,c=l- -64|0,y=c+8|0,o[y>>2]=i[0|e]|i[e+1|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,o[y+4>>2]=s,e=u+23|0,s=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,_=c+16|0,o[_>>2]=i[0|e]|i[e+1|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,o[_+4>>2]=s,e=u+31|0,s=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,S=c+24|0,o[S>>2]=i[0|e]|i[e+1|0]<<8|i[e+2|0]<<16|i[e+3|0]<<24,o[S+4>>2]=s,e=u+39|0,s=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|i[e+7|0]<<24,E=c+32|0,o[E>>2]=i[0|e]|i[e+1|0]<<8|i[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i[s+59|0]<<24,c=-1^(c&(u&v>>>0<1470386205|m>>>0<1566010995)|c&-1!=(y&_)|2147483647==(0|w)&-1!=(0|e)|w>>>0<2147483647),A=i[s+36|0]|i[s+37|0]<<8|i[s+38|0]<<16|i[s+39|0]<<24,S=i[s+32|0]|i[s+33|0]<<8|i[s+34|0]<<16|i[s+35|0]<<24,t|=c&(-538366138==(0|A)&S>>>0>1746608288|A>>>0>3756601158)|c&(u&v>>>0>1470386205|m>>>0>1566010995),s&&(t&&(t=-1^S,u=t-801750718|0,b=u,c=-1^A,p=c-((t>>>0<801750718)+1076732275|0)|0,u=(0|c)==(0|p)&t>>>0>u>>>0|c>>>0>p>>>0,E=-1^v,t=u+E|0,c=-1^m,d=t>>>0>>0?c+1|0:c,u=t-1354194885|0,T=u,C=-1^y,c=(0|c)==(0|d)&t>>>0>>0|c>>>0>d>>>0,E=d-((t>>>0<1354194885)+1162945305|0)|0,u=(0|E)==(0|d)&t>>>0>u>>>0|d>>>0>E>>>0,t=c+u|0,g=-1^_,c=g+(t>>>0>>0)|0,u=t+C|0,c=u>>>0>>0?c+1|0:c,d=u-2|0,x=d,t=v|S|y|e|m|A|_|w?-1:0,_=(0|c)==(0|g)&u>>>0>>0|c>>>0>>0,g=c-(u>>>0<2)|0,c=(0|g)==(0|c)&u>>>0>d>>>0|c>>>0>g>>>0,u=_+c|0,d=c>>>0>u>>>0,c=e,m=u-c|0,e=m-2&t,w=t&(d-((c>>>0>u>>>0)+w|0)|0)-(m>>>0<2),c=t,y=c&x,_=c&g,S=c&b,A=c&p,v=c&T,m=c&E),d=s+8|0,E=i[0|d]|i[d+1|0]<<8|i[d+2|0]<<16|i[d+3|0]<<24,c=i[d+4|0]|i[d+5|0]<<8|i[d+6|0]<<16|i[d+7|0]<<24,p=s+16|0,b=i[0|p]|i[p+1|0]<<8|i[p+2|0]<<16|i[p+3|0]<<24,t=i[p+4|0]|i[p+5|0]<<8|i[p+6|0]<<16|i[p+7|0]<<24,T=i[0|s]|i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,r[s+37|0]=A>>>8,r[s+38|0]=A>>>16,r[s+39|0]=A>>>24)):Ke[o[e+168>>2]](689716,o[e+172>>2])),b=k(),e=0,t=h-464|0,h=t,c=l+128|0;t:if(c)if(l){if(he(t+8|0,655649,0),u=c+24|0,d=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,s=t+40|0,p=s+24|0,o[p>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[p+4>>2]=d,u=c+16|0,d=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,p=s+16|0,o[p>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[p+4>>2]=d,u=c+8|0,d=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,s=s+8|0,o[s>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[s+4>>2]=d,u=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,o[t+40>>2]=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,o[t+44>>2]=u,d=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,I=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,u=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,g=u>>>31|0,y=-1^g,s=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,v=1566010995==(0|s),p=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,A=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,m=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,w=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,c=-1^(y&(v&p>>>0<1470386205|s>>>0<1566010995)|y&-1!=(A&m)|2147483647==(0|u)&-1!=(0|w)|u>>>0<2147483647),!((-538366138==(0|d)&I>>>0>1746608288|d>>>0>3756601158)&c|c&(v&p>>>0>1470386205|s>>>0>1566010995)|g))if(c=i[l+12|0]|i[l+13|0]<<8|i[l+14|0]<<16|i[l+15|0]<<24,v=c,g=i[l+8|0]|i[l+9|0]<<8|i[l+10|0]<<16|i[l+11|0]<<24,y=1048575&(c<<12|g>>>20),_=i[l+4|0]|i[l+5|0]<<8|i[l+6|0]<<16|i[l+7|0]<<24,T=_,O=g<<12&-4096|_>>>20,N=y,g=i[l+16|0]|i[l+17|0]<<8|i[l+18|0]<<16|i[l+19|0]<<24,C=g,c=i[l+20|0]|i[l+21|0]<<8|i[l+22|0]<<16|i[l+23|0]<<24,E=c,y=1048575&(c<<24|g>>>8),P=g<<24&-16777216|v>>>8,R=y,v=i[l+28|0]|i[l+29|0]<<8|i[l+30|0]<<16|i[l+31|0]<<24,c=v>>>16|0,g=i[l+24|0]|i[l+25|0]<<8|i[l+26|0]<<16|i[l+27|0]<<24,y=(65535&v)<<16|g>>>16,_=c,v=g<<4&1048560,g=E,c=g>>>28|0,M=(268435455&g)<<4|C>>>28,B=i[0|l]|i[l+1|0]<<8|i[l+2|0]<<16|i[l+3|0]<<24,L=c|v,D=1048575&T,M|P|y|O|B|L|R|_|N|D){if(v=o[t+64>>2],S=o[t+56>>2],F=o[t+48>>2],$=o[t+40>>2],g=o[t+68>>2],T=o[t+60>>2],E=o[t+52>>2],b=o[t+44>>2],v|S|F|$|g|T|E|b&&p|I|A|w|s|d|m|u&&(C=i[l+48|0]|i[l+49|0]<<8|i[l+50|0]<<16|i[l+51|0]<<24,x=i[l+52|0]|i[l+53|0]<<8|i[l+54|0]<<16|i[l+55|0]<<24,U=i[l+56|0]|i[l+57|0]<<8|i[l+58|0]<<16|i[l+59|0]<<24,z=i[l+60|0]|i[l+61|0]<<8|i[l+62|0]<<16|i[l+63|0]<<24,V=i[l+40|0]|i[l+41|0]<<8|i[l+42|0]<<16|i[l+43|0]<<24,H=i[l+44|0]|i[l+45|0]<<8|i[l+46|0]<<16|i[l+47|0]<<24,q=i[l+32|0]|i[l+33|0]<<8|i[l+34|0]<<16|i[l+35|0]<<24,j=i[l+36|0]|i[l+37|0]<<8|i[l+38|0]<<16|i[l+39|0]<<24,o[t+232>>2]=u>>>24,o[t+236>>2]=0,o[t+200>>2]=I,o[t+204>>2]=1073741823&d,c=u<<6|w>>>26,u=m,o[t+224>>2]=w<<6|u>>>26,o[t+228>>2]=1073741823&c,c=u<<4|A>>>28,o[t+216>>2]=A<<4|s>>>28,o[t+220>>2]=1073741823&c,s=s<<2|p>>>30,o[t+208>>2]=p<<2|d>>>30,o[t+212>>2]=1073741823&s,w=t+200|0,ge(w,690320),s=o[t+232>>2]<<24,p=o[t+228>>2],c=p>>>6|0,d=o[t+224>>2],o[t+456>>2]=(63&p)<<26|d>>>6,o[t+460>>2]=s|c,s=d<<26,p=o[t+220>>2],c=p>>>4|0,d=o[t+216>>2],o[t+448>>2]=(15&p)<<28|d>>>4,o[t+452>>2]=s|c,s=d<<28,p=o[t+212>>2],c=p>>>2|0,d=o[t+208>>2],o[t+440>>2]=(3&p)<<30|d>>>2,o[t+444>>2]=s|c,s=o[t+204>>2],c=d<<30,o[t+432>>2]=o[t+200>>2],o[t+436>>2]=s|c,d=t+400|0,c=t+432|0,me(d,c,t+8|0),p=t+368|0,me(p,c,t+40|0),c=t+288|0,o[c>>2]=0,o[c+4>>2]=0,u=z,c=u>>>16|0,s=t+272|0,o[s>>2]=(65535&u)<<16|U>>>16,o[s+4>>2]=c,m=U<<4&1048560,u=x,c=u>>>28|0,s=t+264|0,o[s>>2]=(268435455&u)<<4|C>>>28,o[s+4>>2]=c|m,c=u<<24|C>>>8,s=t+256|0,u=H,o[s>>2]=C<<24&-16777216|u>>>8,o[s+4>>2]=1048575&c,c=u<<12,u=V,m=1048575&(c|u>>>20),s=t+248|0,o[s>>2]=u<<12&-4096|j>>>20,o[s+4>>2]=m,c=t+296|0,o[c>>2]=0,o[c+4>>2]=0,c=t+304|0,o[c>>2]=0,o[c+4>>2]=0,c=t+312|0,o[c>>2]=0,o[c+4>>2]=0,o[t+280>>2]=1,o[t+284>>2]=0,o[t+240>>2]=q,o[t+244>>2]=1048575&j,o[t+232>>2]=y,o[t+236>>2]=_,o[t+224>>2]=M,o[t+228>>2]=L,o[t+216>>2]=P,o[t+220>>2]=R,o[t+208>>2]=O,o[t+212>>2]=N,o[t+200>>2]=B,o[t+204>>2]=D,o[t+320>>2]=0,ye(t+72|0,w,p,d),!o[t+192>>2]&&(e=g,c=e>>>16|0,o[t+360>>2]=(65535&e)<<16|v>>>16,o[t+364>>2]=c,u=$,o[t+328>>2]=u,g=1048575&b,o[t+332>>2]=g,s=e,e=T,c=v<<4&1048560|e>>>28,A=c,y=(268435455&e)<<4|S>>>28,o[t+352>>2]=y,o[t+356>>2]=c,c=e<<24|S>>>8,e=E,w=S<<24&-16777216|e>>>8,o[t+344>>2]=w,d=1048575&c,o[t+348>>2]=d,c=e<<12,e=F,p=1048575&(c|e>>>20),m=e<<12&-4096|b>>>20,o[t+336>>2]=m,o[t+340>>2]=p,e=1,!ve(t+328|0,t+72|0))))if(s|!s&v>>>0>65535)e=0;else if(y|A)e=0;else if(d|!d&w>>>0>21319971)e=0;else{if(!(d|21319971!=(0|w))){if(103691==(0|p)&m>>>0>1979466754|p>>>0>103691){e=0;break t}if(!(1979466754!=(0|m)|103691!=(0|p))&&(e=0,893298==(0|g)&u>>>0>801749741|g>>>0>893298))break t}o[t+360>>2]=-1,o[t+364>>2]=65535,o[t+352>>2]=-1,o[t+356>>2]=1048575,c=d+1048575|0,e=w-21319972|0,c=e>>>0<4273647324?c+1|0:c,o[t+344>>2]=e,o[t+348>>2]=c,c=p+944884|0,s=m-1979466755|0,c=s>>>0<2315500541?c+1|0:c,o[t+336>>2]=s,o[t+340>>2]=c,d=g+155276|0,e=u-801750719|0,d=e>>>0<3493216577?d+1|0:d,o[t+328>>2]=e,o[t+332>>2]=d,e=0!=(0|ve(t+328|0,t+72|0))}}else Ke[o[b+168>>2]](690116,o[b+172>>2])}else Ke[o[b+168>>2]](689638,o[b+172>>2]);else Ke[o[b+168>>2]](689748,o[b+172>>2]);h=t+464|0,c=e}return h=l+192|0,0|c}function X(e,t){e|=0,t|=0;var n=0,a=0,s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0;g=h-176|0,h=g,l=g+8|0,Ve(l,65),n=o[172688],c=h-80|0,h=c,o[c+12>>2]=0,l?t>>>0>=4?Ke[o[n+168>>2]](689986,o[n+172>>2]):(n=c+12|0,he(c+48|0,690981,n),a=o[c+12>>2],he(c+16|0,691013,n),a|o[c+12>>2]?(a=0,Ve(l,65)):(n=o[c+52>>2],a=o[c+48>>2],r[0|l]=a,r[l+1|0]=a>>>8,r[l+2|0]=a>>>16,r[l+3|0]=a>>>24,r[l+4|0]=n,r[l+5|0]=n>>>8,r[l+6|0]=n>>>16,r[l+7|0]=n>>>24,n=o[c+20>>2],a=o[c+16>>2],r[l+32|0]=a,r[l+33|0]=a>>>8,r[l+34|0]=a>>>16,r[l+35|0]=a>>>24,r[l+36|0]=n,r[l+37|0]=n>>>8,r[l+38|0]=n>>>16,r[l+39|0]=n>>>24,r[l+64|0]=t,a=c+48|0,t=a+24|0,n=o[t+4>>2],s=l+24|0,t=o[t>>2],r[0|s]=t,r[s+1|0]=t>>>8,r[s+2|0]=t>>>16,r[s+3|0]=t>>>24,r[s+4|0]=n,r[s+5|0]=n>>>8,r[s+6|0]=n>>>16,r[s+7|0]=n>>>24,t=a+16|0,n=o[t+4>>2],s=l+16|0,t=o[t>>2],r[0|s]=t,r[s+1|0]=t>>>8,r[s+2|0]=t>>>16,r[s+3|0]=t>>>24,r[s+4|0]=n,r[s+5|0]=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i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,o[n+4>>2]=s,c=t+48|0,s=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,n=a+56|0,o[n>>2]=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,o[n+4>>2]=s,c=t+56|0,s=i[c+4|0]|i[c+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,n=a- -64|0,o[n>>2]=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,o[n+4>>2]=s,n=i[t+36|0]|i[t+37|0]<<8|i[t+38|0]<<16|i[t+39|0]<<24,o[a+40>>2]=i[t+32|0]|i[t+33|0]<<8|i[t+34|0]<<16|i[t+35|0]<<24,o[a+44>>2]=n,E=i[t+64|0],m=i[t+24|0]|i[t+25|0]<<8|i[t+26|0]<<16|i[t+27|0]<<24,n=i[t+28|0]|i[t+29|0]<<8|i[t+30|0]<<16|i[t+31|0]<<24,w=i[t+16|0]|i[t+17|0]<<8|i[t+18|0]<<16|i[t+19|0]<<24,l=i[t+20|0]|i[t+21|0]<<8|i[t+22|0]<<16|i[t+23|0]<<24,S=i[t+8|0]|i[t+9|0]<<8|i[t+10|0]<<16|i[t+11|0]<<24,c=i[t+12|0]|i[t+13|0]<<8|i[t+14|0]<<16|i[t+15|0]<<24,A=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,s=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,he(a+8|0,655649,0);r:if(m|w|S|A|n|l|s|c&&o[a+64>>2]|o[a+56>>2]|o[a+48>>2]|o[a+40>>2]|o[a+68>>2]|o[a+60>>2]|o[a+52>>2]|o[a+44>>2]){if(t=a,o[t+632>>2]=(65535&n)<<16|m>>>16,o[t+636>>2]=n>>>16,o[t+600>>2]=A,I=1048575&s,o[t+604>>2]=I,b=m<<4,p=1044480&b,u=p|4080&b|l>>>28,O=u,C=(268435455&l)<<4|w>>>28,o[t+624>>2]=C,o[t+628>>2]=u,b=l<<24|w>>>8,T=983040&b,_=65280&b,v=w<<24&-16777216|c>>>8,o[t+616>>2]=v,x=T|_|255&b,o[t+620>>2]=x,u=c<<12|S>>>20,T=1044480&u,_=4080&u,t=S<<12,b=-268435456&t,p=15&u,d=267386880&t,d=b|d|1044480&t|s>>>20,o[a+608>>2]=d,p=T|p|_,o[a+612>>2]=p,2&E){if(n|!n&m>>>0>65535)break r;if(O|C)break r;if(x|!x&v>>>0>21319971)break r;if(!(x|21319971!=(0|v))){if(103691==(0|p)&d>>>0>1979466754|p>>>0>103691)break r;if(!(1979466754!=(0|d)|103691!=(0|p))&&893298==(0|I)&A>>>0>801749741|I>>>0>893298)break r}o[a+632>>2]=-1,o[a+636>>2]=65535,o[a+624>>2]=-1,o[a+628>>2]=1048575,u=x+1048575|0,t=v-21319972|0,u=t>>>0<4273647324?u+1|0:u,o[a+616>>2]=t,o[a+620>>2]=u,t=p+944884|0,d=d-1979466755|0,t=d>>>0<2315500541?t+1|0:t,o[a+608>>2]=d,o[a+612>>2]=t,u=I+155276|0,t=A-801750719|0,u=t>>>0<3493216577?u+1|0:u,o[a+600>>2]=t,o[a+604>>2]=u}if(ce(a+512|0,a+600|0,1&E)&&(p=a+512|0,d=p+8|0,u=o[d+4>>2],v=a+384|0,t=v+8|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+16|0,u=o[d+4>>2],t=v+16|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+24|0,u=o[d+4>>2],t=v+24|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+32|0,u=o[d+4>>2],t=v+32|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+48|0,u=o[d+4>>2],t=v+48|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+56|0,u=o[d+4>>2],t=v+56|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p- -64|0,u=o[d+4>>2],t=v- -64|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,d=p+72|0,u=o[d+4>>2],t=v+72|0,o[t>>2]=o[d>>2],o[t+4>>2]=u,o[a+504>>2]=o[a+592>>2],t=o[a+516>>2],o[a+384>>2]=o[a+512>>2],o[a+388>>2]=t,t=o[a+556>>2],o[a+424>>2]=o[a+552>>2],o[a+428>>2]=t,t=a+472|0,o[t>>2]=0,o[t+4>>2]=0,t=a+480|0,o[t>>2]=0,o[t+4>>2]=0,t=a+488|0,o[t>>2]=0,o[t+4>>2]=0,t=a+496|0,o[t>>2]=0,o[t+4>>2]=0,o[a+464>>2]=1,o[a+468>>2]=0,o[a+104>>2]=n>>>24,o[a+108>>2]=0,n=n<<6|m>>>26,t=l,o[a+96>>2]=m<<6|t>>>26,o[a+100>>2]=1073741823&n,l=t<<4|w>>>28,n=a,t=c,o[n+88>>2]=w<<4|t>>>28,o[n+92>>2]=1073741823&l,o[n+80>>2]=S<<2|s>>>30,o[n+84>>2]=1073741823&(t<<2|S>>>30),o[n+72>>2]=A,o[n+76>>2]=1073741823&s,b=n+72|0,ge(b,690320),l=o[n+104>>2]<<24,s=o[n+100>>2],t=s>>>6|0,c=o[n+96>>2],o[n+376>>2]=(63&s)<<26|c>>>6,o[n+380>>2]=t|l,c<<=26,t=o[n+92>>2],u=t>>>4|0,s=o[n+88>>2],o[n+368>>2]=(15&t)<<28|s>>>4,o[n+372>>2]=u|c,l=s<<28,s=o[n+84>>2],t=s>>>2|0,c=o[n+80>>2],o[n+360>>2]=(3&s)<<30|c>>>2,o[n+364>>2]=t|l,l=o[n+76>>2],u=c<<30,o[n+352>>2]=o[n+72>>2],o[n+356>>2]=u|l,p=n+320|0,d=n+352|0,me(p,d,n+8|0),C=o[n+344>>2],A=o[n+336>>2],m=o[n+328>>2],s=o[n+320>>2],S=o[n+348>>2],w=o[n+340>>2],u=o[n+332>>2],l=o[n+324>>2],t=C|A|m|s|S|w|u|l?-1:0,_=-1^s,c=_-801750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r[t+1|0]=0,r[t+2|0]=0,r[t+3|0]=0,r[t+4|0]=0,r[t+5|0]=0,r[t+6|0]=0,r[t+7|0]=0,t=y+24|0,r[0|t]=0,r[t+1|0]=0,r[t+2|0]=0,r[t+3|0]=0,r[t+4|0]=0,r[t+5|0]=0,r[t+6|0]=0,r[t+7|0]=0,t=y+16|0,r[0|t]=0,r[t+1|0]=0,r[t+2|0]=0,r[t+3|0]=0,r[t+4|0]=0,r[t+5|0]=0,r[t+6|0]=0,r[t+7|0]=0,t=y+8|0,r[0|t]=0,r[t+1|0]=0,r[t+2|0]=0,r[t+3|0]=0,r[t+4|0]=0,r[t+5|0]=0,r[t+6|0]=0,r[t+7|0]=0}else Ke[o[n+168>>2]](689638,o[n+172>>2]);else Ke[o[n+168>>2]](689760,o[n+172>>2]);t=0}if(h=a+640|0,t){if(o[g+144>>2]=e,e=de(o[172688],g+144|0,g+80|0,33==(0|e)?258:2),o[g+148>>2]=e,1!=(0|e))break e;N=1}}else f(4);return h=g+176|0,0|N}o[g+160>>2]=0,P(g+152|0),ae()}function J(){var e=0,t=0,s=0,c=0,u=0,l=0,d=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0;return c=h-192|0,h=c,e=c+128|0,s=e+56|0,o[s>>2]=0,o[s+4>>2]=0,s=e+48|0,o[s>>2]=0,o[s+4>>2]=0,s=e+40|0,o[s>>2]=0,o[s+4>>2]=0,s=e+32|0,o[s>>2]=0,o[s+4>>2]=0,s=e+24|0,o[s>>2]=0,o[s+4>>2]=0,s=e+16|0,o[s>>2]=0,o[s+4>>2]=0,s=e+8|0,o[s>>2]=0,o[s+4>>2]=0,o[c+128>>2]=0,o[c+132>>2]=0,1!=(0|ke(o[172688],e,690885))?f(1):(s=c+128|0,e=s+15|0,d=i[e+4|0]|i[e+5|0]<<8|i[e+6|0]<<16|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+5|0]<<8|i[c+6|0]<<16|i[c+7|0]<<24,d=s,y=s>>>20|0,l=y,e=i[c+12|0]|i[c+13|0]<<8|i[c+14|0]<<16|i[c+15|0]<<24,w=e,N=i[c+8|0]|i[c+9|0]<<8|i[c+10|0]<<16|i[c+11|0]<<24,s=N,e=e<<12|s>>>20,A=s<<12,P=l|-4096&A,v=e,R=1048575&e,M=w>>>8|0,m=M,e=i[c+20|0]|i[c+21|0]<<8|i[c+22|0]<<16|i[c+23|0]<<24,p=e,I=i[c+16|0]|i[c+17|0]<<8|i[c+18|0]<<16|i[c+19|0]<<24,s=I,e=e<<24|s>>>8,B=m|s<<24&-16777216,s=e,L=1048575&e,l=i[c+28|0]|i[c+29|0]<<8|i[c+30|0]<<16|i[c+31|0]<<24,m=l,_=i[c+24|0]|i[c+25|0]<<8|i[c+26|0]<<16|i[c+27|0]<<24,C=(65535&l)<<16|_>>>16,E=l>>>16|0,l=p>>>28|0,g=(268435455&p)<<4|I>>>28,x=i[0|c]|i[c+1|0]<<8|i[c+2|0]<<16|i[c+3|0]<<24,u=_,e=u<<4,D=l|1048560&e,b=1048575&d,g|B|C|x|P|D|L|E|b|R?(_=i[c+56|0]|i[c+57|0]<<8|i[c+58|0]<<16|i[c+59|0]<<24,S=i[c+60|0]|i[c+61|0]<<8|i[c+62|0]<<16|i[c+63|0]<<24,O=i[c+48|0]|i[c+49|0]<<8|i[c+50|0]<<16|i[c+51|0]<<24,$=i[c+52|0]|i[c+53|0]<<8|i[c+54|0]<<16|i[c+55|0]<<24,U=i[c+40|0]|i[c+41|0]<<8|i[c+42|0]<<16|i[c+43|0]<<24,j=i[c+44|0]|i[c+45|0]<<8|i[c+46|0]<<16|i[c+47|0]<<24,z=i[c+32|0]|i[c+33|0]<<8|i[c+34|0]<<16|i[c+35|0]<<24,F=i[c+36|0]|i[c+37|0]<<8|i[c+38|0]<<16|i[c+39|0]<<24,r[t+34|0]=M,r[t+21|0]=C,r[t+38|0]=(1048575&v)<<12|A>>>20,r[t+37|0]=(268435455&v)<<4|A>>>28,r[t+36|0]=v>>>4,r[t+35|0]=v>>>12,r[t+30|0]=s,r[t+29|0]=s>>>8,r[t+22|0]=e>>>12,r[t+47|0]=x,r[t+46|0]=(255&d)<<24|x>>>8,r[t+45|0]=(65535&d)<<16|x>>>16,r[t+44|0]=(16777215&d)<<8|x>>>24,r[t+43|0]=d,r[t+42|0]=d>>>8,r[t+41|0]=y<<4|b>>>16,r[t+40|0]=d>>>24,r[t+39|0]=N,r[t+33|0]=w>>>16,r[t+32|0]=w>>>24,r[t+31|0]=I,e=p,r[t+27|0]=e,r[t+26|0]=e>>>8,r[t+25|0]=e>>>16,r[t+24|0]=e>>>24,r[t+23|0]=u,e=m,r[t+20|0]=(16777215&e)<<8|u>>>24,r[t+19|0]=e,r[t+18|0]=e>>>8,r[t+17|0]=e>>>16,r[t+16|0]=e>>>24,r[t+28|0]=s>>>16&15|g<<4,o[t+400>>2]=64,o[t+404>>2]=0,o[t+328>>2]=-1862921884,o[t+332>>2]=870954602,o[t+320>>2]=-1748470448,o[t+324>>2]=3983205,o[t+312>>2]=292000018,o[t+316>>2]=-782074353,o[t+304>>2]=-1662207471,o[t+308>>2]=596792193,d=t+304|0,re(d,690981,32),re(d,t+16|0,32),re(d,655649,32),p=t+48|0,ne(d,p),A=t+432|0,he(A,p,0),s=S,e=s>>>16|0,m=t+176|0,u=m+72|0,o[u>>2]=(65535&s)<<16|_>>>16,o[u+4>>2]=e,l=_<<4&1048560,s=$,e=s>>>28|0,u=m- -64|0,o[u>>2]=(268435455&s)<<4|O>>>28,o[u+4>>2]=e|l,e=s<<24|O>>>8,u=m+56|0,s=j,o[u>>2]=O<<24&-16777216|s>>>8,o[u+4>>2]=1048575&e,e=s<<12,s=U,l=1048575&(e|s>>>20),u=m+48|0,o[u>>2]=s<<12&-4096|F>>>20,o[u+4>>2]=l,o[t+296>>2]=0,o[t+256>>2]=1,o[t+260>>2]=0,o[t+216>>2]=z,o[t+220>>2]=1048575&F,o[t+208>>2]=C,o[t+212>>2]=E,o[t+200>>2]=g,o[t+204>>2]=D,o[t+192>>2]=B,o[t+196>>2]=L,o[t+184>>2]=P,o[t+188>>2]=R,o[t+176>>2]=x,o[t+180>>2]=b,v=o[t+456>>2],b=o[t+448>>2],w=o[t+440>>2],e=o[t+432>>2],C=o[t+460>>2],_=o[t+452>>2],g=o[t+444>>2],s=o[t+436>>2],u=v|b|w|e|C|_|g|s?-1:0,e^=-1,E=e-801750718|0,o[t+432>>2]=u&E,l=-1^s,y=l-((e>>>0<801750718)+1076732275|0)|0,o[t+436>>2]=y&u,e=(0|l)==(0|y)&e>>>0>E>>>0|l>>>0>y>>>0,y=-1^w,l=e+y|0,w=-1^g,e=w,E=l-1354194885|0,o[t+440>>2]=E&u,e=l>>>0>>0?e+1|0:e,g=e-((l>>>0<1354194885)+1162945305|0)|0,o[t+444>>2]=g&u,S=-1^b,s=(0|e)==(0|w)&l>>>0>>0|e>>>0>>0,y=(0|e)==(0|g)&l>>>0>E>>>0|e>>>0>g>>>0,l=s+y|0,b=-1^_,e=b+(l>>>0>>0)|0,s=l,l=l+S|0,e=s>>>0>l>>>0?e+1|0:e,w=l-2|0,o[t+448>>2]=w&u,y=e-(l>>>0<2)|0,o[t+452>>2]=y&u,s=(0|e)==(0|b)&l>>>0>>0|e>>>0>>0,l=(0|e)==(0|y)&l>>>0>w>>>0|e>>>0>y>>>0,s=s+l|0,e=s>>>0>>0,l=s-v|0,o[t+456>>2]=l-2&u,o[t+460>>2]=(e-((s>>>0>>0)+C|0)|0)-(l>>>0<2)&u,e=t+288|0,o[e>>2]=0,o[e+4>>2]=0,e=t+280|0,o[e>>2]=0,o[e+4>>2]=0,e=t+272|0,o[e>>2]=0,o[e+4>>2]=0,e=t+264|0,o[e>>2]=0,o[e+4>>2]=0,ye(d,m,A,t+464|0),Pe(p,d),o[t+128>>2]||(l=o[t+92>>2],u=t+48|0,e=u+72|0,g=o[e>>2],d=o[e+4>>2],b=d,e=o[t+88>>2],s=We(d>>>16|0,0,977,1),m=e+s|0,e=l+T|0,p=s>>>0>m>>>0?e+1|0:e,e=u+48|0,l=o[e>>2],e=o[e+4>>2],s=p>>>20|0,d=s,s=s+l|0,d=d>>>0>s>>>0?e+1|0:e,v=1048575&d,e=u- -64|0,y=o[e>>2],_=o[e+4>>2],e=u+56|0,l=o[e>>2],e=o[e+4>>2],u=d>>>20|0,l=u+l|0,w=u>>>0>l>>>0?e+1|0:e,e=_,u=w>>>20|0,_=u,u=u+y|0,e=_>>>0>u>>>0?e+1|0:e,y=1048575&e,w&=1048575,_=-1==(s&l&u)&1048575==(d&w&e),d=e,e=65535&b,d=d>>>20|0,g=d+g|0,d=d>>>0>g>>>0?e+1|0:e,e=1048575&p,b=e,p=g,_&-1==(0|p)&65535==(0|d)&(1048574==(0|e)&m>>>0>4294966318|e>>>0>1048574)|d>>>16&&(e=b+1|0,m=m+977|0,e=m>>>0<977?e+1|0:e,b=1048575&e,g=e,e=v,g=g>>>20|0,s=s+g|0,e=g>>>0>s>>>0?e+1|0:e,v=1048575&e,g=e,e=w,g=g>>>20|0,l=l+g|0,e=g>>>0>l>>>0?e+1|0:e,w=1048575&e,g=e,e=y,g=g>>>20|0,u=u+g|0,e=g>>>0>u>>>0?e+1|0:e,y=1048575&e,g=e,e=d,d=p,p=(g>>>20|0)+p|0,d=65535&(d>>>0>p>>>0?e+1|0:e)),o[t+120>>2]=p,o[t+124>>2]=d,o[t+112>>2]=u,o[t+116>>2]=y,o[t+104>>2]=l,o[t+108>>2]=w,o[t+96>>2]=s,o[t+100>>2]=v,o[t+88>>2]=m,o[t+92>>2]=b,1&m||(e=o[t+48>>2],s=o[t+136>>2],u=e-s|0,d=o[t+52>>2]-(o[t+140>>2]+(e>>>0>>0)|0)|0,e=o[t+80>>2],l=o[t+168>>2],s=(e-l|0)-4|0,e=262143+(o[t+84>>2]-(o[t+172>>2]+(e>>>0>>0)|0)|0)|0,l=s>>>0<4294967292?e+1|0:e,m=We(l>>>16|0,0,977,1),u=m+u|0,e=d+T|0,e=(u>>>0>>0?e+1|0:e)+4194299|0,u=u-3908|0,e=u>>>0<4294963388?e+1|0:e,d=1048575&e,b=d,w=976^u,_=1^d,(-1!=(0|w)|1048575!=(0|_))&0!=(u|d)||(y=s,C=65535&l,s=o[t+72>>2],l=o[t+160>>2],v=s-l|0,g=o[t+76>>2]-(o[t+164>>2]+(s>>>0>>0)|0)|0,s=o[t+64>>2],l=o[t+152>>2],m=s-l|0,p=o[t+68>>2]-(o[t+156>>2]+(s>>>0>>0)|0)|0,s=e>>>20|0,A=o[t+144>>2],E=s-A|0,l=E+o[t+56>>2]|0,e=o[t+60>>2]-(o[t+148>>2]+(s>>>0>>0)|0)|0,e=(l>>>0>>0?e+1|0:e)+4194303|0,s=l-4|0,l=s>>>0<4294967292?e+1|0:e,e=p,d=l>>>20|0,p=d,d=d+m|0,e=(p>>>0>d>>>0?e+1|0:e)+4194303|0,d=d-4|0,m=d>>>0<4294967292?e+1|0:e,e=g,p=m>>>20|0,g=p,p=p+v|0,e=(g>>>0>p>>>0?e+1|0:e)+4194303|0,p=p-4|0,v=p>>>0<4294967292?e+1|0:e,e=C,g=v>>>20|0,y=g+y|0,e=g>>>0>y>>>0?e+1|0:e,g=-1==(s&w&d&p&y)?1048575==(l&_&m&v&(983040^e)):0,g?(s=0,e=0):(s=p|d|s|u|y,e|=1048575&v|1048575&m|1048575&l|b),V=!(e|s))))):Ke[o[S+168>>2]](690116,o[S+172>>2]))):Ke[o[S+168>>2]](689638,o[S+172>>2]),h=t+496|0),h=c+192|0,0|V}function Q(e,t,r,n,i){var a=0;e:{if(!(1114112!=(0|r)&&(a=1,0|Ke[o[t+16>>2]](e,r)))){if(n)break e;a=0}return a}return 0|Ke[o[t+12>>2]](e,n,i)}function ee(e,t){e|=0,t|=0;var r=0;if(i[0|e]){t=e+1|0,e=0;while(1)if(r=e+t|0,e=e+1|0,!i[0|r])break}ae()}function re(e,t,r){var n=0,a=0,s=0,c=0,u=0,l=0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,s=l+((I<<13|u>>>19)^n>>>10^(I<<15|u>>>17))|0,te=(A<<25|E>>>7)^(E<<14|T>>>18)^E>>>3,A=i[e+55|0],T=i[e+53|0]<<16|i[e+52|0]<<24,b=A|T|i[e+54|0]<<8,B=i[e+83|0],N=i[e+81|0]<<16|i[e+80|0]<<24,G=B|N|i[e+82|0]<<8,l=(c<<25|m>>>7)^(m<<14|w>>>18)^m>>>3,x=i[e+47|0],w=i[e+45|0]<<16|i[e+44|0]<<24,re=x|w|i[e+46|0]<<8,L=i[e+75|0],D=i[e+73|0]<<16|i[e+72|0]<<24,W=L|D|i[e+74|0]<<8,F=i[e+95|0],d=i[e+93|0]<<16|i[e+92|0]<<24,n=d|i[e+94|0]<<8,O=F|n,c=(W+(((p<<25|g>>>7)^(g<<14|f>>>18)^g>>>3)+h|0)|0)+((O<<13|d>>>19)^n>>>10^(O<<15|d>>>17))|0,f=(G+(l+re|0)|0)+(Ze(c,15)^Ze(c,13)^c>>>10)|0,p=((te+b|0)+I|0)+(Ze(f,15)^Ze(f,13)^f>>>10)|0,n=((se+S|0)+s|0)+(Ze(p,15)^Ze(p,13)^p>>>10)|0,ye=(((_<<25|q>>>7)^(q<<14|v>>>18)^q>>>3)+U|0)+c|0,se=(((y<<25|S>>>7)^(S<<14|a>>>18)^S>>>3)+E|0)+O|0,te=((A<<25|b>>>7)^(b<<14|T>>>18)^b>>>3)+m|0,A=i[e+87|0],T=i[e+85|0]<<16|i[e+84|0]<<24,ce=A|T|i[e+86|0]<<8,l=((x<<25|re>>>7)^(re<<14|w>>>18)^re>>>3)+g|0,$=i[e+79|0],w=i[e+77|0]<<16|i[e+76|0]<<24,Z=$|w|i[e+78|0]<<8,y=(l+Z|0)+(Ze(s,15)^Ze(s,13)^s>>>10)|0,v=(te+ce|0)+(Ze(y,15)^Ze(y,13)^y>>>10)|0,_=se+(Ze(v,15)^Ze(v,13)^v>>>10)|0,a=ye+(Ze(_,15)^Ze(_,13)^_>>>10)|0,P=a+((Ze(s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<24|n>>>8&65280|n>>>24,r[0|t]=n,r[t+1|0]=n>>>8,r[t+2|0]=n>>>16,r[t+3|0]=n>>>24,o[e>>2]=0,n=o[e+4>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+4|0]=n,r[t+5|0]=n>>>8,r[t+6|0]=n>>>16,r[t+7|0]=n>>>24,o[e+4>>2]=0,n=o[e+8>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+8|0]=n,r[t+9|0]=n>>>8,r[t+10|0]=n>>>16,r[t+11|0]=n>>>24,o[e+8>>2]=0,n=o[e+12>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+12|0]=n,r[t+13|0]=n>>>8,r[t+14|0]=n>>>16,r[t+15|0]=n>>>24,o[e+12>>2]=0,n=o[e+16>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+16|0]=n,r[t+17|0]=n>>>8,r[t+18|0]=n>>>16,r[t+19|0]=n>>>24,o[e+16>>2]=0,n=o[e+20>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+20|0]=n,r[t+21|0]=n>>>8,r[t+22|0]=n>>>16,r[t+23|0]=n>>>24,o[e+20>>2]=0,n=o[e+24>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+24|0]=n,r[t+25|0]=n>>>8,r[t+26|0]=n>>>16,r[t+27|0]=n>>>24,o[e+24>>2]=0,n=o[e+28>>2],n=n<<8&16711680|n<<24|n>>>8&65280|n>>>24,r[t+28|0]=n,r[t+29|0]=n>>>8,r[t+30|0]=n>>>16,r[t+31|0]=n>>>24,o[e+28>>2]=0,h=i+16|0}function oe(e,t,n,a){var s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0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=d+32|0,o[a>>2]=o[c>>2],o[a+4>>2]=s,c=u+760|0,s=c+8|0,a=o[s+4>>2],S=u+720|0,o[S>>2]=o[s>>2],o[S+4>>2]=a,s=c+16|0,a=o[s+4>>2],v=u+728|0,o[v>>2]=o[s>>2],o[v+4>>2]=a,s=c+24|0,a=o[s+4>>2],l=u+736|0,o[l>>2]=o[s>>2],o[l+4>>2]=a,s=c+32|0,a=o[s+4>>2],I=u+744|0,o[I>>2]=o[s>>2],o[I+4>>2]=a,o[u+752>>2]=0,a=o[u+804>>2],o[u+672>>2]=o[u+800>>2],o[u+676>>2]=a,a=o[u+764>>2],o[u+712>>2]=o[u+760>>2],o[u+716>>2]=a,n=i[0|n],6==(254&n)&&(a=0,(1&r[u+760|0])==(7!=(0|n)|0))||(n=o[u+716>>2],R=n,f=o[u+712>>2],a=f,n=n<<1|a>>>31,w=u+96|0,p=o[l>>2],g=o[l+4>>2],O=a<<1,B=n,He(w,p,g,0,0,O,n,0,0),n=o[S+4>>2],N=n,P=o[S>>2],s=P,n=n<<1|s>>>31,m=u+160|0,y=o[v>>2],v=o[v+4>>2],s<<=1,c=n,He(m,y,v,0,0,s,n,0,0),S=u+288|0,a=o[I>>2],n=o[I+4>>2],He(S,a,n,0,0,a,n,0,0),l=u+272|0,He(l,o[u+288>>2],o[u+292>>2],0,0,15632,16,0,0),n=n<<1|a>>>31,F=u+128|0,_=a<<1,I=n,He(F,_,n,0,0,f,R,0,0),$=u+144|0,He($,p,g,0,0,s,c,0,0),U=u+224|0,He(U,y,v,0,0,y,v,0,0),b=u+256|0,n=S+8|0,He(b,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),Z=u+112|0,He(Z,f,R,0,0,f,R,0,0),L=u+192|0,He(L,_,I,0,0,P,N,0,0),V=u+240|0,He(V,p,g,0,0,y<<1,v<<1|y>>>31,0,0),R=o[u+100>>2],n=R+o[u+164>>2]|0,d=o[u+96>>2],a=o[u+160>>2],c=d+a|0,s=o[u+272>>2],H=c+s|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+8|0,a=o[d>>2],n=A+8|0,p=a+o[n>>2]|0,n=o[n+4>>2]+o[d+4>>2]|0,n=a>>>0>p>>>0?n+1|0:n,d=l+p|0,n=d>>>0

>>0?n+1|0:n,s=s>>>20|0,a=s+d|0,n=s>>>0>a>>>0?n+1|0:n,s=a,a=a+v|0,n=s>>>0>a>>>0?n+1|0:n,d=a<<12|c>>>20,c=o[u+304>>2],v=d+c|0,s=n,a=n<<12|a>>>20,n=a+o[u+308>>2]|0,n=c>>>0>v>>>0?n+1|0:n,He(g,v,n,0,0,15632,16,0,0),ee=u+48|0,l=ee,d=(0|n)==(0|a)&d>>>0>v>>>0|n>>>0>>0,n=f+8|0,c=o[n>>2],n=o[n+4>>2],s=s>>>20|0,a=s+c|0,n=s>>>0>a>>>0?n+1|0:n,c=a,a=a+d|0,n=c>>>0>a>>>0?n+1|0:n,He(l,a,n,0,0,64028672,65536,0,0),n=o[u+676>>2],y=n,g=o[u+672>>2],a=g,n=n<<1|a>>>31,f=u+432|0,b=o[u+696>>2],w=o[u+700>>2],k=a<<1,M=n,He(f,b,w,0,0,k,n,0,0),n=o[u+684>>2],W=n,G=o[u+680>>2],s=G,n=n<<1|s>>>31,p=u+496|0,E=o[u+688>>2],_=o[u+692>>2],s<<=1,c=n,He(p,E,_,0,0,s,n,0,0),v=u+624|0,a=o[u+704>>2],n=o[u+708>>2],He(v,a,n,0,0,a,n,0,0),l=u+608|0,He(l,o[u+624>>2],o[u+628>>2],0,0,15632,16,0,0),n=n<<1|a>>>31,P=u+464|0,V=a<<1,x=n,He(P,V,n,0,0,g,y,0,0),D=u+480|0,He(D,b,w,0,0,s,c,0,0),F=u+560|0,He(F,E,_,0,0,E,_,0,0),m=u+592|0,n=v+8|0,He(m,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),te=u+448|0,He(te,g,y,0,0,g,y,0,0),j=u+528|0,He(j,V,x,0,0,G,W,0,0),z=u+576|0,He(z,b,w,0,0,E<<1,_<<1|E>>>31,0,0),y=o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|0,M=c,c=c+C|0,n=M>>>0>c>>>0?n+1|0:n,O=c,c=n,k=w-x|0,x=(1048575&l)-((1048575&y)+(w>>>0>>0)|0)|0,H&=65535,w=65535&R,y=(0|a)==(0|d)&b>>>0>q>>>0|a>>>0>d>>>0,a=(0|a)==(0|P)&b>>>0>>0|a>>>0

>>0,l=a+V|0,n=I,n=a>>>0>l>>>0?n+1|0:n,s=s>>>20|0,a=s+l|0,n=s>>>0>a>>>0?n+1|0:n,s=a,a=a+y|0,n=s>>>0>a>>>0?n+1|0:n,s=a<<12|d>>>20,l=s+S|0,n=w+(n<<12|a>>>20)|0,n=s>>>0>l>>>0?n+1|0:n,s=v-l|0,n=H-((l>>>0>v>>>0)+n|0)|0,l=c>>>20|0,a=s+l|0,n=(l>>>0>a>>>0?n+1|0:n)+262143|0,a=a-4|0,v=a>>>0<4294967292?n+1|0:n,s=We(v>>>16|0,0,977,1),l=s+k|0,n=x+T|0,n=(s>>>0>l>>>0?n+1|0:n)+4194299|0,s=l-3908|0,n=s>>>0<4294963388?n+1|0:n,R=976^s,l=1048575&n,b=1^l,(-1!=(0|R)|1048575!=(0|b))&0!=(s|l)?a=0:(w=O-q|0,I=(1048575&c)-((1048575&d)+(O>>>0>>0)|0)|0,y=B-A|0,S=(1048575&g)-((1048575&f)+(A>>>0>B>>>0)|0)|0,s=n,n=(1048575&p)-((1048575&m)+(_>>>0>>0)|0)|0,s=s>>>20|0,c=s,s=s+(_-E|0)|0,n=(c>>>0>s>>>0?n+1|0:n)+4194303|0,l=s-4|0,d=l>>>0<4294967292?n+1|0:n,n=S,s=d>>>20|0,c=s,s=s+y|0,n=(c>>>0>s>>>0?n+1|0:n)+4194303|0,c=s-4|0,s=c>>>0<4294967292?n+1|0:n,n=I,S=s>>>20|0,f=S,S=w+S|0,n=(f>>>0>S>>>0?n+1|0:n)+4194303|0,S=S-4|0,n=S>>>0<4294967292?n+1|0:n,l=S&l&R&c,d=n&d&b&s,s=a,a=n,n=65535&v,a=a>>>20|0,c=a,a=a+s|0,n=c>>>0>a>>>0?n+1|0:n,a=-1==(a&l)&1048575==(d&(983040^n)))))}else{if(33!=(0|a))break e;if(2!=(254&i[0|n]))break e;if(!se(u+840|0,n+1|0)){a=0;break t}a=0!=(0|ce(u+672|0,u+840|0,3==i[0|n]))}a&&(le(t,u+672|0),e=1)}else Ke[o[e+168>>2]](689668,o[e+172>>2]),e=0;else Ke[o[e+168>>2]](689638,o[e+172>>2]),e=0;return h=u+880|0,e}function se(e,t){var r=0,n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,g=0;return a=e,r=i[t+30|0],e=r>>>24|0,n=i[t+31|0]|r<<8,r=e,s=i[t+29|0],e=s>>>16|0,s=s<<16|n,n=e|r,r=i[t+28|0],e=r>>>8|0,r=r<<24|s,e=i[t+27|0]|e|n|i[t+26|0]<<8|(15&i[t+25|0])<<16,s=e,g=r,o[a>>2]=r,o[a+4>>2]=e,r=i[t+24|0],e=r>>>28|0,c=r<<4|i[t+25|0]>>>4,r=e,n=i[t+23|0],e=n>>>20|0,n=n<<12|c,c=e|r,r=i[t+22|0],e=r>>>12|0,n|=r<<20,c|=e,r=i[t+21|0],e=r>>>4|0,r=r<<28|n,n=e|c|i[t+20|0]<<4,e=i[t+19|0]<<12,c=r,o[a+8>>2]=r,f=e|n,o[a+12>>2]=f,r=i[t+17|0],e=r>>>24|0,l=i[t+18|0]|r<<8,r=e,n=i[t+16|0],e=n>>>16|0,n=n<<16|l,l=e|r,r=i[t+15|0],e=r>>>8|0,r=r<<24|n,n=i[t+14|0]|e|l|i[t+13|0]<<8,e=(15&i[t+12|0])<<16,l=r,o[a+16>>2]=r,h=e|n,o[a+20>>2]=h,r=i[t+11|0],e=r>>>28|0,u=r<<4|i[t+12|0]>>>4,r=e,n=i[t+10|0],e=n>>>20|0,n=n<<12|u,u=e|r,r=i[t+9|0],e=r>>>12|0,n|=r<<20,u|=e,r=i[t+8|0],e=r>>>4|0,r=r<<28|n,n=e|u|i[t+7|0]<<4,e=i[t+6|0]<<12,u=r,o[a+24>>2]=r,p=e|n,o[a+28>>2]=p,r=i[t+4|0],e=r>>>24|0,d=i[t+5|0]|r<<8,r=e,n=i[t+3|0],e=n>>>16|0,n=n<<16|d,d=e|r,r=i[t+2|0],e=r>>>8|0,r=r<<24|n,n=i[t+1|0]|e|d,e=i[0|t]<<8,o[a+32>>2]=r,e|=n,o[a+36>>2]=e,-1!=(c&l&u)|1048575!=(f&h&p)|-1!=(0|r)|65535!=(0|e)|1048574==(0|s)&g>>>0<4294966319|s>>>0<1048574}function ce(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0,W=0;s=h-7616|0,h=s,a=t+32|0,i=o[a+4>>2],n=e+32|0,o[n>>2]=o[a>>2],o[n+4>>2]=i,a=t+24|0,i=o[a+4>>2],n=e+24|0,o[n>>2]=o[a>>2],o[n+4>>2]=i,a=t+16|0,i=o[a+4>>2],n=e+16|0,o[n>>2]=o[a>>2],o[n+4>>2]=i,a=t+8|0,i=o[a+4>>2],n=e+8|0,o[n>>2]=o[a>>2],o[n+4>>2]=i,n=o[t+4>>2],o[e>>2]=o[t>>2],o[e+4>>2]=n,n=s+7096|0,Oe(n,t),H=s+7056|0,ue(H,t,n),o[e+80>>2]=0,n=o[s+7060>>2],i=o[s+7056>>2]+7|0,t=i>>>0<7?n+1|0:n,n=i,o[s+7056>>2]=n,o[s+7060>>2]=t,g=s+6848|0,S=o[s+7080>>2],w=o[s+7084>>2],P=n<<1,c=n,A=t<<1|n>>>31,He(g,S,w,0,0,P,A,0,0),n=o[s+7068>>2],V=n,L=o[s+7064>>2],a=L,n=n<<1|a>>>31,p=s+6880|0,x=o[s+7072>>2],b=o[s+7076>>2],a<<=1,u=n,He(p,x,b,0,0,a,n,0,0),l=s+7008|0,i=o[s+7088>>2],n=o[s+7092>>2],He(l,i,n,0,0,i,n,0,0),d=s+6992|0,He(d,o[s+7008>>2],o[s+7012>>2],0,0,15632,16,0,0),n=n<<1|i>>>31,M=s+6800|0,C=i<<1,E=n,He(M,C,n,0,0,c,t,0,0),U=s+6864|0,He(U,S,w,0,0,a,u,0,0),R=s+6944|0,He(R,x,b,0,0,x,b,0,0),m=s+6976|0,n=l+8|0,He(m,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),z=s+6720|0,He(z,c,t,0,0,c,t,0,0),j=s+6912|0,He(j,C,E,0,0,L,V,0,0),F=s+6960|0,He(F,S,w,0,0,x<<1,b<<1|x>>>31,0,0),v=o[s+6852>>2],n=v+o[s+6884>>2]|0,u=o[s+6848>>2],i=o[s+6880>>2],t=u+i|0,a=o[s+6992>>2],y=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+6996>>2]|0,a=a>>>0>y>>>0?n+1|0:n,l=(0|i)==(0|a)&t>>>0>y>>>0|i>>>0>a>>>0,n=d+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|v)&t>>>0>>0|i>>>0>>0,n=p+8|0,i=o[n>>2],t=g+8|0,d=i+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=i>>>0>d>>>0?n+1|0:n,t=u+d|0,n=(t>>>0>>0?n+1|0:n)+c|0,i=t,t=t+f|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+l|0,n=i>>>0>t>>>0?n+1|0:n,v=a,f=t<<12|a>>>20,i=n,u=n<<12|t>>>20,B=o[s+6864>>2],t=o[s+6944>>2],l=B+t|0,D=o[s+6868>>2],n=D+o[s+6948>>2]|0,n=t>>>0>l>>>0?n+1|0:n,t=o[s+6800>>2],c=t+l|0,p=n,n=n+o[s+6804>>2]|0,n=t>>>0>c>>>0?n+1|0:n,t=o[s+6976>>2],a=t+c|0,d=n,n=n+o[s+6980>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+p|0,t=t>>>0>l>>>0?n+1|0:n,n=t+w|0,l=p>>>0>>0?n+1|0:n,w=1048575&l,n=1048575&g,B=n,g=c,n=n<<1|c>>>31,O=c<<1,x=n,He(P,p,w,0,0,O,n,0,0),n=1048575&m,L=n,C=s+5968|0,b=1048575&d,c=u<<1,P=u,d=n<<1|u>>>31,He(C,a,b,0,0,c,d,0,0),_=s+5872|0,E=_,S=65535&v,v=(0|t)==(0|l)&p>>>0>>0|t>>>0>l>>>0,m=(0|t)==(0|k)&y>>>0>>0|t>>>0>>0,t=N+8|0,u=m+o[t>>2]|0,n=o[t+4>>2],n=u>>>0>>0?n+1|0:n,i=i>>>20|0,t=i+u|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+v|0,n=i>>>0>t>>>0?n+1|0:n,u=t<<12|l>>>20,i=u+f|0,n=S+(n<<12|t>>>20)|0,n=i>>>0>>0?n+1|0:n,He(E,i,n,0,0,i,n,0,0),f=s+5856|0,He(f,o[s+5872>>2],o[s+5876>>2],0,0,15632,16,0,0),t=i,n=n<<1|t>>>31,z=s+5824|0,E=t<<1,S=n,He(z,E,n,0,0,g,B,0,0),j=s+5920|0,He(j,p,w,0,0,c,d,0,0),F=s+5984|0,He(F,a,b,0,0,a,b,0,0),A=s+5840|0,t=_+8|0,He(A,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+6112|0,He($,g,B,0,0,g,B,0,0),M=s+5808|0,He(M,E,n,0,0,P,L,0,0),U=s+5888|0,d=w,l=b,w=a,He(U,p,d,0,0,a<<1,l<<1|a>>>31,0,0),u=o[s+5936>>2],i=o[s+5968>>2],t=u+i|0,g=o[s+5940>>2],n=g+o[s+5972>>2]|0,n=t>>>0>>0?n+1|0:n,i=o[s+5856>>2],b=i+t|0,a=n,n=n+o[s+5860>>2]|0,i=i>>>0>b>>>0?n+1|0:n,m=(0|a)==(0|i)&t>>>0>b>>>0|i>>>0>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|a)==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,g,l,0,0,i,n,0,0),m=s+5200|0,u=o[b>>2],t=o[b+4>>2],He(m,u,t,0,0,u,t,0,0),f=s+5184|0,He(f,o[s+5200>>2],o[s+5204>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,z=s+5152|0,x=u<<1,w=n,He(z,x,n,0,0,c,A,0,0),j=s+5232|0,He(j,p,d,0,0,i,a,0,0),F=s+5296|0,He(F,g,l,0,0,g,l,0,0),P=s+5168|0,t=m+8|0,He(P,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+5360|0,He($,c,A,0,0,c,A,0,0),M=s+5136|0,He(M,x,n,0,0,L,H,0,0),U=s+5248|0,He(U,p,d,0,0,g<<1,l<<1|g>>>31,0,0),E=o[s+5220>>2],n=E+o[s+5316>>2]|0,u=o[s+5216>>2],i=o[s+5312>>2],t=u+i|0,a=o[s+5184>>2],b=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+5188>>2]|0,a=a>>>0>b>>>0?n+1|0:n,m=(0|i)==(0|a)&t>>>0>b>>>0|i>>>0>a>>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|E)&t>>>0>>0|i>>>0>>0,n=v+8|0,i=o[n>>2],t=y+8|0,v=i+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=i>>>0>v>>>0?n+1|0:n,t=u+v|0,n=(t>>>0>>0?n+1|0:n)+c|0,i=t,t=t+f|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+m|0,n=i>>>0>t>>>0?n+1|0:n,y=a,f=t<<12|a>>>20,i=n,u=n<<12|t>>>20,R=o[s+5232>>2],t=o[s+5296>>2],m=R+t|0,D=o[s+5236>>2],n=D+o[s+5300>>2]|0,n=t>>>0>m>>>0?n+1|0:n,t=o[s+5152>>2],c=t+m|0,E=n,n=n+o[s+5156>>2]|0,n=t>>>0>c>>>0?n+1|0:n,t=o[s+5168>>2],a=t+c|0,v=n,n=n+o[s+5172>>2]|0,t=t>>>0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+S|0,p=t,t=t+O|0,n=p>>>0>t>>>0?n+1|0:n,d=t+x|0,n=d>>>0>>0?n+1|0:n,i=i>>>20|0,t=i+d|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+E|0,n=i>>>0>t>>>0?n+1|0:n,d=l,p=t<<12|l>>>20,i=n,w=n<<12|t>>>20,k=o[s+4948>>2],n=k+(1048575&y)|0,A=o[s+4944>>2],t=-2&b,l=A+t|0,y=l,p=l+p|0,t=t>>>0>l>>>0?n+1|0:n,n=t+w|0,l=p>>>0>>0?n+1|0:n,w=1048575&l,n=1048575&g,B=n,g=c,n=n<<1|c>>>31,O=c<<1,x=n,He(P,p,w,0,0,O,n,0,0),n=1048575&m,L=n,C=s+4960|0,b=1048575&d,c=u<<1,P=u,d=n<<1|u>>>31,He(C,a,b,0,0,c,d,0,0),_=s+4864|0,E=_,S=65535&v,v=(0|t)==(0|l)&p>>>0>>0|t>>>0>l>>>0,m=(0|t)==(0|k)&y>>>0>>0|t>>>0>>0,t=N+8|0,u=m+o[t>>2]|0,n=o[t+4>>2],n=u>>>0>>0?n+1|0:n,i=i>>>20|0,t=i+u|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+v|0,n=i>>>0>t>>>0?n+1|0:n,u=t<<12|l>>>20,i=u+f|0,n=S+(n<<12|t>>>20)|0,n=i>>>0>>0?n+1|0:n,He(E,i,n,0,0,i,n,0,0),f=s+4848|0,He(f,o[s+4864>>2],o[s+4868>>2],0,0,15632,16,0,0),t=i,n=n<<1|t>>>31,z=s+4816|0,E=t<<1,S=n,He(z,E,n,0,0,g,B,0,0),j=s+4912|0,He(j,p,w,0,0,c,d,0,0),F=s+4976|0,He(F,a,b,0,0,a,b,0,0),A=s+4832|0,t=_+8|0,He(A,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+5104|0,He($,g,B,0,0,g,B,0,0),M=s+4800|0,He(M,E,n,0,0,P,L,0,0),U=s+4880|0,d=w,l=b,w=a,He(U,p,d,0,0,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,b,0,0,S,n,0,0),n=1048575&m,L=n,C=s+4576|0,b=1048575&d,c=u<<1,P=u,d=n<<1|u>>>31,He(C,a,b,0,0,c,d,0,0),_=s+4528|0,w=65535&v,v=(0|t)==(0|l)&p>>>0>>0|t>>>0>l>>>0,m=(0|t)==(0|k)&y>>>0>>0|t>>>0>>0,t=N+8|0,u=m+o[t>>2]|0,n=o[t+4>>2],n=u>>>0>>0?n+1|0:n,i=i>>>20|0,t=i+u|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+v|0,n=i>>>0>t>>>0?n+1|0:n,u=t<<12|l>>>20,i=u+f|0,n=w+(n<<12|t>>>20)|0,n=i>>>0>>0?n+1|0:n,He(_,i,n,0,0,i,n,0,0),f=s+4512|0,He(f,o[s+4528>>2],o[s+4532>>2],0,0,15632,16,0,0),t=i,n=n<<1|t>>>31,z=s+4480|0,x=t<<1,w=n,He(z,x,n,0,0,g,B,0,0),j=s+4560|0,He(j,p,E,0,0,c,d,0,0),F=s+4672|0,He(F,a,b,0,0,a,b,0,0),A=s+4496|0,t=_+8|0,He(A,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+4640|0,He($,g,B,0,0,g,B,0,0),M=s+4464|0,He(M,x,n,0,0,P,L,0,0),U=s+4544|0,v=p,g=E,l=b,b=a,He(U,p,g,0,0,a<<1,l<<1|a>>>31,0,0),u=o[s+4624>>2],i=o[s+4576>>2],t=u+i|0,p=o[s+4628>>2],n=p+o[s+4580>>2]|0,n=t>>>0>>0?n+1|0:n,i=o[s+4512>>2],m=i+t|0,a=n,n=n+o[s+4516>>2]|0,i=i>>>0>m>>>0?n+1|0:n,d=(0|a)==(0|i)&t>>>0>m>>>0|i>>>0>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|a)==(0|p)&t>>>0>>0|a>>>0

>>0,n=C+8|0,a=o[n>>2],t=I+8|0,p=a+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=a>>>0>p>>>0?n+1|0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1|0:n,o[s+7456>>2]=l,o[s+7460>>2]=1048575&f,ue(R,R,q),t=o[s+7460>>2],A=t,E=o[s+7456>>2],c=E,n=t<<1|c>>>31,y=s+4208|0,p=o[P>>2],d=o[P+4>>2],S=c<<1,O=n,He(y,p,d,0,0,S,n,0,0),t=o[N+4>>2],H=t,L=o[N>>2],i=L,n=t<<1|i>>>31,v=s+4304|0,g=o[I>>2],l=o[I+4>>2],i<<=1,a=n,He(v,g,l,0,0,i,n,0,0),m=s+4192|0,u=o[b>>2],t=o[b+4>>2],He(m,u,t,0,0,u,t,0,0),f=s+4176|0,He(f,o[s+4192>>2],o[s+4196>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,z=s+4144|0,x=u<<1,w=n,He(z,x,n,0,0,c,A,0,0),j=s+4224|0,He(j,p,d,0,0,i,a,0,0),F=s+4288|0,He(F,g,l,0,0,g,l,0,0),P=s+4160|0,t=m+8|0,He(P,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+4352|0,He($,c,A,0,0,c,A,0,0),M=s+4128|0,He(M,x,n,0,0,L,H,0,0),U=s+4240|0,He(U,p,d,0,0,g<<1,l<<1|g>>>31,0,0),E=o[s+4212>>2],n=E+o[s+4308>>2]|0,u=o[s+4208>>2],i=o[s+4304>>2],t=u+i|0,a=o[s+4176>>2],b=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+4180>>2]|0,a=a>>>0>b>>>0?n+1|0:n,m=(0|i)==(0|a)&t>>>0>b>>>0|i>>>0>a>>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|E)&t>>>0>>0|i>>>0>>0,n=v+8|0,i=o[n>>2],t=y+8|0,v=i+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=i>>>0>v>>>0?n+1|0:n,t=u+v|0,n=(t>>>0>>0?n+1|0:n)+c|0,i=t,t=t+f|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+m|0,n=i>>>0>t>>>0?n+1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,i,l,0,0),b=s+3504|0,He(b,o[s+3520>>2],o[s+3524>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+3472|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+3632|0,He(D,f,d,0,0,a,u,0,0),z=s+3568|0,He(z,c,g,0,0,c,g,0,0),C=s+3488|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+3680|0,He(j,y,p,0,0,y,p,0,0),F=s+3456|0,He(F,A,O,0,0,x,m,0,0),$=s+3536|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+3668>>2],n=y+o[s+3588>>2]|0,c=o[s+3664>>2],a=o[s+3584>>2],i=c+a|0,u=o[s+3504>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+3508>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m=(0|a)==(0|u)&i>>>0>w>>>0|a>>>0>u>>>0,n=b+8|0,l=o[n>>2],f=o[n+4>>2],c=(0|a)==(0|y)&i>>>0>>0|a>>>0>>0,a=_+8|0,i=o[a>>2],n=I+8|0,y=i+o[n>>2]|0,n=o[n+4>>2]+o[a+4>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=c+y|0,n=(i>>>0>>0?n+1|0:n)+f|0,a=i,i=i+l|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+m|0,n=a>>>0>i>>>0?n+1|0:n,m=u,l=i<<12|u>>>20,a=n,c=n<<12|i>>>20,M=o[s+3632>>2],i=o[s+3568>>2],y=M+i|0,V=o[s+3636>>2],n=V+o[s+3572>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=o[s+3472>>2],f=i+y|0,_=n,n=n+o[s+3476>>2]|0,n=i>>>0>f>>>0?n+1|0:n,i=o[s+3488>>2],u=i+f|0,b=n,n=n+o[s+3492>>2]|0,i=i>>>0>u>>>0?n+1|0:n,n=i+c|0,U=s+3440|0,l=u+l|0,c=l>>>0>>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,0,E,n,0,0),_=s+3248|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+3184|0,He(w,i,l,0,0,i,l,0,0),b=s+3168|0,He(b,o[s+3184>>2],o[s+3188>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+3136|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+3296|0,He(D,f,d,0,0,a,u,0,0),z=s+3232|0,He(z,c,g,0,0,c,g,0,0),C=s+3152|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+3344|0,He(j,y,p,0,0,y,p,0,0),F=s+3120|0,He(F,A,O,0,0,x,m,0,0),$=s+3200|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+3332>>2],n=y+o[s+3252>>2]|0,c=o[s+3328>>2],a=o[s+3248>>2],i=c+a|0,u=o[s+3168>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+3172>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m=(0|a)==(0|u)&i>>>0>w>>>0|a>>>0>u>>>0,n=b+8|0,l=o[n>>2],f=o[n+4>>2],c=(0|a)==(0|y)&i>>>0>>0|a>>>0>>0,a=_+8|0,i=o[a>>2],n=I+8|0,y=i+o[n>>2]|0,n=o[n+4>>2]+o[a+4>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=c+y|0,n=(i>>>0>>0?n+1|0:n)+f|0,a=i,i=i+l|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+m|0,n=a>>>0>i>>>0?n+1|0:n,m=u,f=i<<12|u>>>20,a=n,c=n<<12|i>>>20,M=o[s+3296>>2],i=o[s+3232>>2],y=M+i|0,V=o[s+3300>>2],n=V+o[s+3236>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=o[s+3136>>2],l=i+y|0,_=n,n=n+o[s+3140>>2]|0,n=i>>>0>l>>>0?n+1|0:n,i=o[s+3152>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>>2],a=o[s+7336>>2],o[s+7296>>2]=a,o[s+7300>>2]=p,t=44;while(1)if(y=a,n=p<<1|a>>>31,I=s+2992|0,E=a<<1,P=n,He(I,f,d,0,0,E,n,0,0),_=s+2912|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+2848|0,He(w,i,l,0,0,i,l,0,0),b=s+2832|0,He(b,o[s+2848>>2],o[s+2852>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+2800|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+2960|0,He(D,f,d,0,0,a,u,0,0),z=s+2896|0,He(z,c,g,0,0,c,g,0,0),C=s+2816|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+3008|0,He(j,y,p,0,0,y,p,0,0),F=s+2784|0,He(F,A,O,0,0,x,m,0,0),$=s+2864|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+2996>>2],n=y+o[s+2916>>2]|0,c=o[s+2992>>2],a=o[s+2912>>2],i=c+a|0,u=o[s+2832>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+2836>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m=(0|a)==(0|u)&i>>>0>w>>>0|a>>>0>u>>>0,n=b+8|0,l=o[n>>2],f=o[n+4>>2],c=(0|a)==(0|y)&i>>>0>>0|a>>>0>>0,a=_+8|0,i=o[a>>2],n=I+8|0,y=i+o[n>>2]|0,n=o[n+4>>2]+o[a+4>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=c+y|0,n=(i>>>0>>0?n+1|0:n)+f|0,a=i,i=i+l|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+m|0,n=a>>>0>i>>>0?n+1|0:n,m=u,l=i<<12|u>>>20,a=n,c=n<<12|i>>>20,M=o[s+2960>>2],i=o[s+2896>>2],y=M+i|0,V=o[s+2964>>2],n=V+o[s+2900>>2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=o[y>>2],o[t>>2]=c,o[t+4>>2]=g,m=o[v+4>>2],t=n+8|0,u=o[v>>2],o[t>>2]=u,o[t+4>>2]=m,p=o[s+7300>>2],a=o[s+7296>>2],o[s+7256>>2]=a,o[s+7260>>2]=p,t=88;while(1)if(y=a,n=p<<1|a>>>31,I=s+2656|0,E=a<<1,P=n,He(I,f,d,0,0,E,n,0,0),_=s+2576|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+2512|0,He(w,i,l,0,0,i,l,0,0),b=s+2496|0,He(b,o[s+2512>>2],o[s+2516>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+2464|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+2624|0,He(D,f,d,0,0,a,u,0,0),z=s+2560|0,He(z,c,g,0,0,c,g,0,0),C=s+2480|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+2672|0,He(j,y,p,0,0,y,p,0,0),F=s+2448|0,He(F,A,O,0,0,x,m,0,0),$=s+2528|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+2660>>2],n=y+o[s+2580>>2]|0,c=o[s+2656>>2],a=o[s+2576>>2],i=c+a|0,u=o[s+2496>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+2500>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m=(0|a)==(0|u)&i>>>0>w>>>0|a>>>0>u>>>0,n=b+8|0,l=o[n>>2],f=o[n+4>>2],c=(0|a)==(0|y)&i>>>0>>0|a>>>0>>0,a=_+8|0,i=o[a>>2],n=I+8|0,y=i+o[n>>2]|0,n=o[n+4>>2]+o[a+4>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=c+y|0,n=(i>>>0>>0?n+1|0:n)+f|0,a=i,i=i+l|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+m|0,n=a>>>0>i>>>0?n+1|0:n,m=u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[w>>2],o[t>>2]=i,o[t+4>>2]=l,d=o[b+4>>2],t=n+24|0,f=o[b>>2],o[t>>2]=f,o[t+4>>2]=d,g=o[y+4>>2],t=n+16|0,c=o[y>>2],o[t>>2]=c,o[t+4>>2]=g,m=o[v+4>>2],t=n+8|0,u=o[v>>2],o[t>>2]=u,o[t+4>>2]=m,p=o[s+7260>>2],a=o[s+7256>>2],o[s+7216>>2]=a,o[s+7220>>2]=p,t=44;while(1)if(y=a,n=p<<1|a>>>31,I=s+2320|0,E=a<<1,P=n,He(I,f,d,0,0,E,n,0,0),_=s+2240|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+2176|0,He(w,i,l,0,0,i,l,0,0),b=s+2160|0,He(b,o[s+2176>>2],o[s+2180>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+2128|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+2288|0,He(D,f,d,0,0,a,u,0,0),z=s+2224|0,He(z,c,g,0,0,c,g,0,0),C=s+2144|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+2336|0,He(j,y,p,0,0,y,p,0,0),F=s+2112|0,He(F,A,O,0,0,x,m,0,0),$=s+2192|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+2324>>2],n=y+o[s+2244>>2]|0,c=o[s+2320>>2],a=o[s+2240>>2],i=c+a|0,u=o[s+2160>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+2164>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m=(0|a)==(0|u)&i>>>0>w>>>0|a>>>0>u>>>0,n=b+8|0,l=o[n>>2],f=o[n+4>>2],c=(0|a)==(0|y)&i>>>0>>0|a>>>0>>0,a=_+8|0,i=o[a>>2],n=I+8|0,y=i+o[n>>2]|0,n=o[n+4>>2]+o[a+4>>2]|0,n=i>>>0>y>>>0?n+1|0:n,i=c+y|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2]=u,o[w+4>>2]=m,o[s+7216>>2]=a,o[s+7220>>2]=p,ue(n,n,s+7336|0),p=o[t>>2],a=p,d=o[t+4>>2],i=d,t=o[s+7220>>2],E=t,b=o[s+7216>>2],c=b,n=t<<1|c>>>31,y=s+1856|0,S=c<<1,O=n,He(y,a,i,0,0,S,n,0,0),t=o[w+4>>2],V=t,L=o[w>>2],i=L,n=t<<1|i>>>31,v=s+1952|0,g=o[l>>2],l=o[l+4>>2],i<<=1,a=n,He(v,g,l,0,0,i,n,0,0),m=s+1840|0,u=o[x>>2],t=o[x+4>>2],He(m,u,t,0,0,u,t,0,0),f=s+1824|0,He(f,o[s+1840>>2],o[s+1844>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,z=s+1792|0,x=u<<1,w=n,He(z,x,n,0,0,c,E,0,0),j=s+1872|0,He(j,p,d,0,0,i,a,0,0),F=s+1936|0,He(F,g,l,0,0,g,l,0,0),P=s+1808|0,t=m+8|0,He(P,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+2e3|0,He($,c,E,0,0,c,E,0,0),M=s+1776|0,He(M,x,n,0,0,L,V,0,0),U=s+1888|0,He(U,p,d,0,0,g<<1,l<<1|g>>>31,0,0),E=o[s+1860>>2],n=E+o[s+1956>>2]|0,u=o[s+1856>>2],i=o[s+1952>>2],t=u+i|0,a=o[s+1824>>2],b=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+1828>>2]|0,a=a>>>0>b>>>0?n+1|0:n,m=(0|i)==(0|a)&t>>>0>b>>>0|i>>>0>a>>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|E)&t>>>0>>0|i>>>0>>0,n=v+8|0,i=o[n>>2],t=y+8|0,v=i+o[t>>2]|0,n=o[t+4>>2]+o[n+4>>2]|0,n=i>>>0>v>>>0?n+1|0:n,t=u+v|0,n=(t>>>0>>0?n+1|0:n)+c|0,i=t,t=t+f|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+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+1|0:n,i=t,t=t+E|0,n=i>>>0>t>>>0?n+1|0:n,d=l,p=t<<12|l>>>20,i=n,w=n<<12|t>>>20,k=o[s+1364>>2],n=k+(1048575&y)|0,A=o[s+1360>>2],t=-2&b,l=A+t|0,y=l,p=l+p|0,t=t>>>0>l>>>0?n+1|0:n,n=t+w|0,l=p>>>0>>0?n+1|0:n,E=1048575&l,b=E,n=1048575&g,B=n,g=c,n=n<<1|c>>>31,S=c<<1,O=n,He(I,p,b,0,0,S,n,0,0),n=1048575&m,L=n,C=s+1216|0,b=1048575&d,c=u<<1,P=u,d=n<<1|u>>>31,He(C,a,b,0,0,c,d,0,0),_=s+1168|0,w=65535&v,v=(0|t)==(0|l)&p>>>0>>0|t>>>0>l>>>0,m=(0|t)==(0|k)&y>>>0>>0|t>>>0>>0,t=N+8|0,u=m+o[t>>2]|0,n=o[t+4>>2],n=u>>>0>>0?n+1|0:n,i=i>>>20|0,t=i+u|0,n=i>>>0>t>>>0?n+1|0:n,i=t,t=t+v|0,n=i>>>0>t>>>0?n+1|0:n,u=t<<12|l>>>20,i=u+f|0,n=w+(n<<12|t>>>20)|0,n=i>>>0>>0?n+1|0:n,He(_,i,n,0,0,i,n,0,0),f=s+1152|0,He(f,o[s+1168>>2],o[s+1172>>2],0,0,15632,16,0,0),t=i,n=n<<1|t>>>31,z=s+1120|0,x=t<<1,w=n,He(z,x,n,0,0,g,B,0,0),j=s+1200|0,He(j,p,E,0,0,c,d,0,0),F=s+1312|0,He(F,a,b,0,0,a,b,0,0),A=s+1136|0,t=_+8|0,He(A,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),$=s+1280|0,He($,g,B,0,0,g,B,0,0),M=s+1104|0,He(M,x,n,0,0,P,L,0,0),U=s+1184|0,v=p,g=E,l=b,b=a,He(U,p,g,0,0,a<<1,l<<1|a>>>31,0,0),u=o[s+1264>>2],i=o[s+1216>>2],t=u+i|0,p=o[s+1268>>2],n=p+o[s+1220>>2]|0,n=t>>>0>>0?n+1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>>0>>0,a=(0|m)==(0|b)&p>>>0>>0|m>>>0>>0,n=E+8|0,u=a+o[n>>2]|0,n=o[n+4>>2],n=a>>>0>u>>>0?n+1|0:n,i=i>>>20|0,a=i,i=i+u|0,n=a>>>0>i>>>0?n+1|0:n,a=i,i=i+d|0,n=a>>>0>i>>>0?n+1|0:n,t=i<<12|t>>>20,a=t+c|0,n=g+(n<<12|i>>>20)|0,o[y>>2]=a,o[y+4>>2]=t>>>0>a>>>0?n+1|0:n,o[s+7176>>2]=l,o[s+7180>>2]=1048575&f,ue(R,R,s+7536|0),l=o[y+4>>2],n=s+7136|0,t=n+32|0,i=o[y>>2],o[t>>2]=i,o[t+4>>2]=l,d=o[P+4>>2],t=n+24|0,f=o[P>>2],o[t>>2]=f,o[t+4>>2]=d,g=o[I+4>>2],t=n+16|0,c=o[I>>2],o[t>>2]=c,o[t+4>>2]=g,m=o[N+4>>2],t=n+8|0,u=o[N>>2],o[t>>2]=u,o[t+4>>2]=m,p=o[s+7180>>2],a=o[s+7176>>2],o[s+7136>>2]=a,o[s+7140>>2]=p,t=23;while(1)if(y=a,n=p<<1|a>>>31,I=s+976|0,E=a<<1,P=n,He(I,f,d,0,0,E,n,0,0),_=s+896|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+832|0,He(w,i,l,0,0,i,l,0,0),b=s+816|0,He(b,o[s+832>>2],o[s+836>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+784|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+944|0,He(D,f,d,0,0,a,u,0,0),z=s+880|0,He(z,c,g,0,0,c,g,0,0),C=s+800|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+992|0,He(j,y,p,0,0,y,p,0,0),F=s+768|0,He(F,A,O,0,0,x,m,0,0),$=s+848|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+980>>2],n=y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>>>0?n+1|0:n,a=i,i=i+b|0,n=a>>>0>i>>>0?n+1|0:n,a=l,d=i<<12|a>>>20,l=d+m|0,n=S+(n<<12|i>>>20)|0,i=l,l=i>>>0>>0?n+1|0:n,d=1048575&a,g&=1048575,m=1048575&v,a=p,p=1048575&y,t=t-1|0,!t)break;o[s+7168>>2]=i,o[s+7172>>2]=l,o[s+7160>>2]=f,o[s+7164>>2]=d,o[s+7152>>2]=c,o[s+7156>>2]=g,o[s+7144>>2]=u,o[s+7148>>2]=m,o[s+7136>>2]=a,o[s+7140>>2]=p,t=s+7136|0,ue(t,t,s+7376|0),t=6,i=o[s+7168>>2],l=o[s+7172>>2],f=o[s+7160>>2],d=o[s+7164>>2],c=o[s+7152>>2],g=o[s+7156>>2],u=o[s+7144>>2],m=o[s+7148>>2],a=o[s+7136>>2],p=o[s+7140>>2];while(1)if(y=a,n=p<<1|a>>>31,I=s+640|0,E=a<<1,P=n,He(I,f,d,0,0,E,n,0,0),_=s+560|0,a=u<<1,v=m,x=u,u=m<<1|u>>>31,He(_,c,g,0,0,a,u,0,0),w=s+496|0,He(w,i,l,0,0,i,l,0,0),b=s+480|0,He(b,o[s+496>>2],o[s+500>>2],0,0,15632,16,0,0),n=l<<1|i>>>31,L=s+448|0,A=i<<1,O=n,He(L,A,n,0,0,y,p,0,0),D=s+608|0,He(D,f,d,0,0,a,u,0,0),z=s+544|0,He(z,c,g,0,0,c,g,0,0),C=s+464|0,n=w+8|0,He(C,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),j=s+656|0,He(j,y,p,0,0,y,p,0,0),F=s+432|0,He(F,A,O,0,0,x,m,0,0),$=s+512|0,p=f,S=c,He($,f,d,0,0,c<<1,g<<1|c>>>31,0,0),y=o[s+644>>2],n=y+o[s+564>>2]|0,c=o[s+640>>2],a=o[s+560>>2],i=c+a|0,u=o[s+480>>2],w=i+u|0,a=i>>>0>>0?n+1|0:n,n=a+o[s+484>>2]|0,u=u>>>0>w>>>0?n+1|0:n,m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a,g&=1048575,m=1048575&v,a=p,p=1048575&y,t=t-1|0,!t)break;return o[s+7168>>2]=i,o[s+7172>>2]=l,o[s+7160>>2]=f,o[s+7164>>2]=d,o[s+7152>>2]=c,o[s+7156>>2]=g,o[s+7144>>2]=u,o[s+7148>>2]=m,o[s+7136>>2]=a,o[s+7140>>2]=p,z=s+7136|0,ue(z,z,s+7576|0),t=o[s+7140>>2],v=t,m=o[s+7136>>2],c=m,n=t<<1|c>>>31,p=s- -64|0,S=o[s+7160>>2],w=o[s+7164>>2],P=c<<1,A=n,He(p,S,w,0,0,P,n,0,0),t=o[s+7148>>2],L=t,D=o[s+7144>>2],i=D,n=t<<1|i>>>31,d=s+272|0,x=o[s+7152>>2],b=o[s+7156>>2],i<<=1,a=n,He(d,x,b,0,0,i,n,0,0),l=s+224|0,u=o[s+7168>>2],t=o[s+7172>>2],He(l,u,t,0,0,u,t,0,0),f=s+208|0,He(f,o[s+224>>2],o[s+228>>2],0,0,15632,16,0,0),n=t<<1|u>>>31,U=s+176|0,C=u<<1,E=n,He(U,C,n,0,0,c,v,0,0),R=s+80|0,He(R,S,w,0,0,i,a,0,0),B=s+256|0,He(B,x,b,0,0,x,b,0,0),g=s+192|0,t=l+8|0,He(g,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),j=s+320|0,He(j,c,v,0,0,c,v,0,0),F=s+160|0,He(F,C,n,0,0,D,L,0,0),$=s+96|0,He($,S,w,0,0,x<<1,b<<1|x>>>31,0,0),m=o[s+68>>2],n=m+o[s+276>>2]|0,u=o[s+64>>2],i=o[s+272>>2],t=u+i|0,a=o[s+208>>2],y=t+a|0,i=t>>>0>>0?n+1|0:n,n=i+o[s+212>>2]|0,a=a>>>0>y>>>0?n+1|0:n,l=(0|i)==(0|a)&t>>>0>y>>>0|i>>>0>a>>>0,n=f+8|0,f=o[n>>2],c=o[n+4>>2],u=(0|i)==(0|m)&t>>>0>>0|i>>>0>>0,n=d+8|0,i=o[n>>2],t=p+8|0,d=i+o[t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|0:n,t=e+40|0,Oe(t,z),Oe(z,t),n=o[v+7080>>2],t=o[v+7160>>2],b=n-t|0,y=o[v+7084>>2]-(o[v+7164>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7072>>2],t=o[v+7152>>2],s=n-t|0,g=o[v+7076>>2]-(o[v+7156>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7064>>2],t=o[v+7144>>2],l=n-t|0,f=o[v+7068>>2]-(o[v+7148>>2]+(t>>>0>n>>>0)|0)|0,n=o[v+7056>>2],t=o[v+7136>>2],c=n-t|0,a=o[v+7060>>2]-(o[v+7140>>2]+(t>>>0>n>>>0)|0)|0,i=o[v+7088>>2],n=o[v+7168>>2],t=(i-n|0)-4|0,n=262143+(o[v+7092>>2]-(o[v+7172>>2]+(n>>>0>i>>>0)|0)|0)|0,u=t>>>0<4294967292?n+1|0:n,i=We(u>>>16|0,0,977,1),c=i+c|0,n=a+T|0,n=(i>>>0>c>>>0?n+1|0:n)+4194299|0,i=c-3908|0,n=i>>>0<4294963388?n+1|0:n,m=i,p=n,n=f,i=p>>>20|0,a=i,i=i+l|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,i=i-4|0,n=i>>>0<4294967292?n+1|0:n,d=i,l=n,n=g,i=l>>>20|0,a=i,i=i+s|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,i=i-4|0,n=i>>>0<4294967292?n+1|0:n,f=i,c=n,n=y,i=c>>>20|0,a=i,i=i+b|0,n=(a>>>0>i>>>0?n+1|0:n)+4194303|0,a=i-4|0,i=a>>>0<4294967292?n+1|0:n,g=65535&u,u=a,n=g,a=i>>>20|0,y=a,a=t+a|0,n=y>>>0>a>>>0?n+1|0:n,a|u|d|m|f|n|1048575&(l|p|c|i)&&(t=0,n=-1!=(d&(976^m)&f&u&a)?1:1048575!=(l&(1^p)&c&i&(983040^n)),n)||(t=e+48|0,f=o[t>>2],u=o[t+4>>2],i=o[e+44>>2],t=e+72|0,d=o[t>>2],t=o[t+4>>2],y=t,n=o[e+40>>2],t=We(t>>>16|0,0,977,1),c=n+t|0,n=i+T|0,g=t>>>0>c>>>0?n+1|0:n,n=u,t=g>>>20|0,u=t+f|0,t=t>>>0>u>>>0?n+1|0:n,m=1048575&t,n=e- -64|0,p=o[n>>2],l=o[n+4>>2],n=e+56|0,a=o[n>>2],n=o[n+4>>2],f=t>>>20|0,i=a+f|0,f=f>>>0>i>>>0?n+1|0:n,n=l,a=f>>>20|0,l=a,a=a+p|0,n=l>>>0>a>>>0?n+1|0:n,p=1048575&n,l=1048575&f,s=-1==(i&u&a)&1048575==(t&l&n),t=n,n=65535&y,t=t>>>20|0,f=t+d|0,n=t>>>0>f>>>0?n+1|0:n,d=n,g&=1048575,s&-1==(0|f)&65535==(0|n)&(1048574==(0|g)&c>>>0>4294966318|g>>>0>1048574)|n>>>16&&(n=g+1|0,c=c+977|0,n=c>>>0<977?n+1|0:n,g=1048575&n,t=n,n=m,t=t>>>20|0,u=t+u|0,n=t>>>0>u>>>0?n+1|0:n,m=1048575&n,t=n,n=l,t=t>>>20|0,i=t+i|0,n=t>>>0>i>>>0?n+1|0:n,l=1048575&n,t=n,n=p,t=t>>>20|0,a=t+a|0,n=t>>>0>a>>>0?n+1|0:n,p=1048575&n,t=n,n=d,y=f,f=(t>>>20|0)+f|0,d=65535&(y>>>0>f>>>0?n+1|0:n)),o[e+72>>2]=f,o[e+76>>2]=d,o[e+64>>2]=a,o[e+68>>2]=p,o[e+56>>2]=i,o[e+60>>2]=l,o[e+48>>2]=u,o[e+52>>2]=m,o[e+40>>2]=c,o[e+44>>2]=g,t=1,(1&c)!=(0|r)&&(o[e+72>>2]=-4-f,o[e+76>>2]=262143-((f>>>0>4294967292)+d|0),o[e+64>>2]=-4-a,o[e+68>>2]=4194303-((a>>>0>4294967292)+p|0),o[e+56>>2]=-4-i,o[e+60>>2]=4194303-((i>>>0>4294967292)+l|0),o[e+48>>2]=-4-u,o[e+52>>2]=4194303-((u>>>0>4294967292)+m|0),o[e+40>>2]=-3908-c,o[e+44>>2]=4194299-((c>>>0>4294963388)+g|0))),h=v+7616|0,t}function ue(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0,W=0,Z=0,K=0,Y=0,X=0,J=0,Q=0,ee=0,te=0,re=0,ne=0,oe=0,ie=0,ae=0,se=0,ce=0,ue=0,le=0,de=0,fe=0;n=h-496|0,h=n,_=n- -64|0,R=o[r+24>>2],M=o[r+28>>2],B=o[t>>2],L=o[t+4>>2],He(_,R,M,0,0,B,L,0,0),S=n+208|0,D=o[r+16>>2],F=o[r+20>>2],$=o[t+8>>2],U=o[t+12>>2],He(S,D,F,0,0,$,U,0,0),v=n+320|0,j=o[r+8>>2],z=o[r+12>>2],V=o[t+16>>2],H=o[t+20>>2],He(v,j,z,0,0,V,H,0,0),d=n+400|0,q=o[r>>2],G=o[r+4>>2],W=o[t+24>>2],Z=o[t+28>>2],He(d,q,G,0,0,W,Z,0,0),i=n+480|0,K=o[r+32>>2],Y=o[r+36>>2],X=o[t+32>>2],C=o[t+36>>2],He(i,K,Y,0,0,X,C,0,0),l=n+464|0,He(l,o[n+480>>2],o[n+484>>2],0,0,15632,16,0,0),E=n+80|0,He(E,K,Y,0,0,B,L,0,0),J=n+144|0,He(J,R,M,0,0,$,U,0,0),Q=n+272|0,He(Q,D,F,0,0,V,H,0,0),ee=n+368|0,He(ee,j,z,0,0,W,Z,0,0),I=n+432|0,He(I,q,G,0,0,X,C,0,0),y=n+448|0,t=i+8|0,He(y,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),te=n+96|0,He(te,q,G,0,0,B,L,0,0),re=n+224|0,He(re,K,Y,0,0,$,U,0,0),ne=n+160|0,He(ne,R,M,0,0,V,H,0,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a>>>0?t+1|0:t,o[i+28>>2]=1048575&e,s=i,d=65535&O,l=(0|e)==(0|c)&a>>>0>>0|e>>>0>>0,i=(0|c)==(0|f)&u>>>0>>0|c>>>0>>0,t=v+8|0,a=i+o[t>>2]|0,t=o[t+4>>2],t=i>>>0>a>>>0?t+1|0:t,r=r>>>20|0,i=r,r=r+a|0,t=i>>>0>r>>>0?t+1|0:t,i=r,r=r+l|0,t=i>>>0>r>>>0?t+1|0:t,e=r<<12|e>>>20,i=e+b|0,t=d+(t<<12|r>>>20)|0,o[s+32>>2]=i,o[s+36>>2]=e>>>0>i>>>0?t+1|0:t,h=n+496|0}function le(e,t){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0;i=t- -64|0,h=o[i>>2],l=o[i+4>>2],i=t+56|0,c=o[i>>2],w=o[i+4>>2],i=t+48|0,b=o[i>>2],p=o[i+4>>2],i=t+72|0,m=o[i>>2],s=o[i+4>>2],E=o[t+40>>2],A=o[t+44>>2],_=o[t+24>>2],g=o[t+28>>2],u=o[t+16>>2],v=o[t+20>>2],n=o[t+8>>2],d=o[t+12>>2],f=o[t+4>>2],S=o[t+32>>2],a=o[t+36>>2],x=a,t=o[t>>2],i=We(a>>>16|0,0,977,1),a=t+i|0,t=f+T|0,f=i>>>0>a>>>0?t+1|0:t,t=d,i=f>>>20|0,d=i,i=n+i|0,d=d>>>0>i>>>0?t+1|0:t,t=v,n=d>>>20|0,y=n,n=n+u|0,v=y>>>0>n>>>0?t+1|0:t,t=g,u=v>>>20|0,g=u,u=u+_|0,_=g>>>0>u>>>0?t+1|0:t,I=1048575&d,t=1048575&f,y=t,g=i,f=n,C=1048575&v,n=-1==(i&n&u)&1048575==(C&d&_),t=65535&x,i=_>>>20|0,d=i,i=i+S|0,t=d>>>0>i>>>0?t+1|0:t,S=i,d=t,i=We(n&-1==(0|i)&65535==(0|t)&(1048574==(0|y)&a>>>0>4294966318|y>>>0>1048574)|t>>>16,0,977,1),a=i+a|0,t=y+T|0,n=i>>>0>a>>>0?t+1|0:t,t=I,i=n>>>20|0,v=i+g|0,i=i>>>0>v>>>0?t+1|0:t,r[0|e]=a,r[e+1|0]=a>>>8,r[e+2|0]=a>>>16,r[e+3|0]=a>>>24,t=1048575&n|v<<20,r[e+4|0]=t,r[e+5|0]=t>>>8,r[e+6|0]=t>>>16,r[e+7|0]=t>>>24,g=m,y=65535&s,m=h,h=c,n=We(s>>>16|0,0,977,1),a=n+E|0,t=A+T|0,E=n>>>0>a>>>0?t+1|0:t,t=p,n=E>>>20|0,s=n,n=n+b|0,c=s>>>0>n>>>0?t+1|0:t,t=w,s=c>>>20|0,h=s+h|0,p=s>>>0>h>>>0?t+1|0:t,t=l,s=p>>>20|0,l=s,s=s+m|0,w=l>>>0>s>>>0?t+1|0:t,t=y,l=w>>>20|0,m=l,l=l+g|0,t=m>>>0>l>>>0?t+1|0:t,b=l,l=t,A=1048575&c,t=1048575&E,y=a,m=n,g=1048575&p,a=We(-1==(h&n&s)&1048575==(g&c&w)&-1==(0|b)&65535==(0|l)&(1048574==(0|t)&a>>>0>4294966318|t>>>0>1048574)|l>>>16,0,977,1),n=y+a|0,t=t+T|0,c=n>>>0>>0?t+1|0:t,t=A,a=c>>>20|0,p=a+m|0,a=a>>>0>p>>>0?t+1|0:t,r[e+32|0]=n,r[e+33|0]=n>>>8,r[e+34|0]=n>>>16,r[e+35|0]=n>>>24,t=1048575&c|p<<20,r[e+36|0]=t,r[e+37|0]=t>>>8,r[e+38|0]=t>>>16,r[e+39|0]=t>>>24,c=(4095&i)<<20|v>>>12,m=i>>>12&255,t=C,n=(i>>>20|0)+f|0,i=n>>>0>>0?t+1|0:t,f=n,t=n<<8,n=e,r[n+8|0]=c,r[n+9|0]=c>>>8,r[n+10|0]=c>>>16,r[n+11|0]=c>>>24,t|=m,r[n+12|0]=t,r[n+13|0]=t>>>8,r[n+14|0]=t>>>16,r[n+15|0]=t>>>24,c=(4095&a)<<20|p>>>12,p=a>>>12&255,t=g,n=(a>>>20|0)+h|0,a=n>>>0>>0?t+1|0:t,h=n,t=n<<8,n=e,r[n+40|0]=c,r[n+41|0]=c>>>8,r[n+42|0]=c>>>16,r[n+43|0]=c>>>24,t|=p,r[n+44|0]=t,r[n+45|0]=t>>>8,r[n+46|0]=t>>>16,r[n+47|0]=t>>>24,f=268435455&((16777215&i)<<8|f>>>24),t=1048575&_,i=i>>>20|0,n=i+u|0,i=i>>>0>n>>>0?t+1|0:t,t=i<<28|n>>>4,u=n<<28,n=e,u|=f,r[n+16|0]=u,r[n+17|0]=u>>>8,r[n+18|0]=u>>>16,r[n+19|0]=u>>>24,r[n+20|0]=t,r[n+21|0]=t>>>8,r[n+22|0]=t>>>16,r[n+23|0]=t>>>24,u=268435455&((16777215&a)<<8|h>>>24),t=1048575&w,a=a>>>20|0,n=a+s|0,a=a>>>0>n>>>0?t+1|0:t,t=a<<28|n>>>4,s=n<<28,n=e,s|=u,r[n+48|0]=s,r[n+49|0]=s>>>8,r[n+50|0]=s>>>16,r[n+51|0]=s>>>24,r[n+52|0]=t,r[n+53|0]=t>>>8,r[n+54|0]=t>>>16,r[n+55|0]=t>>>24,n=i>>>4&65535,t=d,i=(i>>>20|0)+S|0,t=(i>>>0>>0?t+1|0:t)<<16|i>>>16,s=i<<16,i=e,n|=s,r[i+24|0]=n,r[i+25|0]=n>>>8,r[i+26|0]=n>>>16,r[i+27|0]=n>>>24,r[i+28|0]=t,r[i+29|0]=t>>>8,r[i+30|0]=t>>>16,r[i+31|0]=t>>>24,n=a>>>4&65535,t=l,i=(a>>>20|0)+b|0,t=(i>>>0>>0?t+1|0:t)<<16|i>>>16,i=i<<16|n,r[e+56|0]=i,r[e+57|0]=i>>>8,r[e+58|0]=i>>>16,r[e+59|0]=i>>>24,r[e+60|0]=t,r[e+61|0]=t>>>8,r[e+62|0]=t>>>16,r[e+63|0]=t>>>24}function de(e,t,n,a){var s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0;return d=h-96|0,h=d,t?(c=o[t>>2],N=256&a,c>>>0<(N?33:65)>>>0?Ke[o[e+168>>2]](690157,o[e+172>>2]):(o[t>>2]=0,C=Ve(690820,c),n?2==(255&a)?(o[d+88>>2]=0,a=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,u=a,c=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,l=1048575&(a<<12|c>>>20),f=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,s=f,c=c<<12&-4096|s>>>20,A=l,l=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,g=l,a=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,f=a,m=1048575&(a<<24|l>>>8),b=l<<24&-16777216|u>>>8,x=m,p=m,l=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,a=l>>>16|0,u=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,l=(65535&l)<<16|u>>>16,_=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,w=b|l|_|c,I=a,E=1048575&s,s=p|a|E|A,p=u<<4&1048560,u=f,a=u>>>28|0,m=(268435455&u)<<4|g>>>28,f=w|m,w=a|p,f|s|w?(u=i[n+52|0]|i[n+53|0]<<8|i[n+54|0]<<16|i[n+55|0]<<24,a=u>>>28|0,e=i[n+48|0]|i[n+49|0]<<8|i[n+50|0]<<16|i[n+51|0]<<24,f=(268435455&u)<<4|e>>>28,g=a,a=i[n+56|0]|i[n+57|0]<<8|i[n+58|0]<<16|i[n+59|0]<<24,P=a,y=i[n+60|0]|i[n+61|0]<<8|i[n+62|0]<<16|i[n+63|0]<<24,k=a<<4&1048560,s=i[n+40|0]|i[n+41|0]<<8|i[n+42|0]<<16|i[n+43|0]<<24,p=i[n+44|0]|i[n+45|0]<<8|i[n+46|0]<<16|i[n+47|0]<<24,S=p>>>8|0,a=u<<24|e>>>8,R=e<<24&-16777216,M=1048575&a,u=i[n+32|0]|i[n+33|0]<<8|i[n+34|0]<<16|i[n+35|0]<<24,e=i[n+36|0]|i[n+37|0]<<8|i[n+38|0]<<16|i[n+39|0]<<24,v=e,n=e>>>20|0,e=s,a=p<<12|e>>>20,p=e<<12&-4096,O=1048575&a,T=1048575&v,1048574==(0|E)&_>>>0<4294966319|E>>>0<1048574||-1!=(c&b&m)|1048575!=(A&x&w)||-1!=(0|l)|65535!=(0|I)||(e=E+1|0,_=_+977|0,e=_>>>0<977?e+1|0:e,E=1048575&e,s=e>>>20|0,e=A,c=s+c|0,e=c>>>0>>0?e+1|0:e,A=1048575&e,a=x,e=e>>>20|0,b=e+b|0,a=e>>>0>b>>>0?a+1|0:a,x=1048575&a,s=a>>>20|0,e=w,m=s+m|0,e=m>>>0>>0?e+1|0:e,w=1048575&e,s=e>>>20|0,e=I,a=l,l=s+l|0,I=65535&(a>>>0>l>>>0?e+1|0:e)),s=f,v=g|k,g=S|R,S=M,p|=n,e=y,a=e>>>16|0,f=(65535&e)<<16|P>>>16,y=a,n=d,o[n+40>>2]=l,o[n+44>>2]=I,o[n+32>>2]=m,o[n+36>>2]=w,o[n+24>>2]=b,o[n+28>>2]=x,o[n+16>>2]=c,o[n+20>>2]=A,o[n+8>>2]=_,o[n+12>>2]=E,1048574==(0|T)&u>>>0<4294966319|T>>>0<1048574||-1!=(p&g&s)|1048575!=(O&S&v)||-1!=(0|f)|65535!=(0|y)||(a=T+1|0,u=u+977|0,a=u>>>0<977?a+1|0:a,T=1048575&a,e=O,a=a>>>20|0,p=a+p|0,e=a>>>0>p>>>0?e+1|0:e,O=1048575&e,c=e>>>20|0,a=S,g=c+g|0,a=g>>>0>>0?a+1|0:a,S=1048575&a,c=a>>>20|0,a=v,s=s+c|0,a=s>>>0>>0?a+1|0:a,v=1048575&a,e=y,y=f,f=(a>>>20|0)+f|0,y=65535&(y>>>0>f>>>0?e+1|0:e)),o[n+80>>2]=f,o[d+84>>2]=y,o[d+72>>2]=s,o[d+76>>2]=v,o[d+64>>2]=g,o[d+68>>2]=S,o[d+56>>2]=p,o[d+60>>2]=O,o[d+48>>2]=u,o[d+52>>2]=T,fe(C+1|0,d+8|0),N?(r[0|C]=1&u?3:2,e=33):(r[0|C]=4,fe(C+33|0,d+48|0),e=65),o[t>>2]=e,v=1):Ke[o[e+168>>2]](690116,o[e+172>>2])):Ke[o[e+168>>2]](689499,o[e+172>>2]):Ke[o[e+168>>2]](689638,o[e+172>>2]))):Ke[o[e+168>>2]](689730,o[e+172>>2]),h=d+96|0,v}function fe(e,t){r[0|e]=o[t+36>>2]>>>8,r[e+1|0]=o[t+36>>2],r[e+2|0]=(16777215&o[t+36>>2])<<8|o[t+32>>2]>>>24,r[e+3|0]=(65535&o[t+36>>2])<<16|o[t+32>>2]>>>16,r[e+4|0]=(255&o[t+36>>2])<<24|o[t+32>>2]>>>8,r[e+5|0]=o[t+32>>2],r[e+6|0]=o[t+28>>2]>>>12,r[e+7|0]=o[t+28>>2]>>>4,r[e+8|0]=(268435455&o[t+28>>2])<<4|o[t+24>>2]>>>28,r[e+9|0]=(1048575&o[t+28>>2])<<12|o[t+24>>2]>>>20,r[e+10|0]=(4095&o[t+28>>2])<<20|o[t+24>>2]>>>12,r[e+11|0]=(15&o[t+28>>2])<<28|o[t+24>>2]>>>4,r[e+12|0]=15&a[t+22>>1]|o[t+24>>2]<<4,r[e+13|0]=o[t+20>>2]>>>8,r[e+14|0]=o[t+20>>2],r[e+15|0]=(16777215&o[t+20>>2])<<8|o[t+16>>2]>>>24,r[e+16|0]=(65535&o[t+20>>2])<<16|o[t+16>>2]>>>16,r[e+17|0]=(255&o[t+20>>2])<<24|o[t+16>>2]>>>8,r[e+18|0]=o[t+16>>2],r[e+19|0]=o[t+12>>2]>>>12,r[e+20|0]=o[t+12>>2]>>>4,r[e+21|0]=(268435455&o[t+12>>2])<<4|o[t+8>>2]>>>28,r[e+22|0]=(1048575&o[t+12>>2])<<12|o[t+8>>2]>>>20,r[e+23|0]=(4095&o[t+12>>2])<<20|o[t+8>>2]>>>12,r[e+24|0]=(15&o[t+12>>2])<<28|o[t+8>>2]>>>4,r[e+25|0]=15&a[t+6>>1]|o[t+8>>2]<<4,r[e+26|0]=o[t+4>>2]>>>8,r[e+27|0]=o[t+4>>2],r[e+28|0]=(16777215&o[t+4>>2])<<8|o[t>>2]>>>24,r[e+29|0]=(65535&o[t+4>>2])<<16|o[t>>2]>>>16,r[e+30|0]=(255&o[t+4>>2])<<24|o[t>>2]>>>8,r[e+31|0]=o[t>>2]}function he(e,t,r){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0,p=0,g=0,m=0,y=0;c=e,n=t,t=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,s=t<<8&16711680,p=t<<24|s,a=t>>>8|0,e=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,s=65280&(a|e<<24),t=t>>>24|0,s=p|s|255&(t|e<<8),a=16711680&(t|(16777215&e)<<8)|-16777216&(a|(255&e)<<24),l=e>>>8&65280|e>>>24|a,o[c>>2]=l,o[c+4>>2]=s,t=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,u=t<<8&16711680|t<<24,e=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,a=65280&(e<<24|t>>>8),p=u|a|255&(e<<8|t>>>24),a=-16777216&((255&e)<<24|t>>>8),u=a|16711680&((16777215&e)<<8|t>>>24),y=e>>>8&65280|e>>>24|u,o[c+8>>2]=y,d=p,o[c+12>>2]=d,t=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,u=t<<8&16711680,g=t<<24|u,e=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,u=65280&(e<<24|t>>>8),u=g|u|255&(e<<8|t>>>24),a=-16777216&((255&e)<<24|t>>>8),a|=16711680&((16777215&e)<<8|t>>>24),m=e>>>8&65280|e>>>24|a,o[c+16>>2]=m,g=u,o[c+20>>2]=u,e=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,t=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,u=t<<8&16711680|t<<24,p=u|255&(e<<8|t>>>24)|65280&(e<<24|t>>>8),n=-16777216&((255&e)<<24|t>>>8),f=n|16711680&((16777215&e)<<8|t>>>24),u=e>>>8&65280,t=e>>>24|0,e=p,n=-1==(0|g),u=t|u|f,t=n&m>>>0<4294967294|-1!=(0|g)|-1!=(e&u),a=-1162945306==(0|d),e=-1^(t|a&y>>>0<2940772411|d>>>0<3132021990),f=e&(-1076732276==(0|s)&l>>>0>3493216576|s>>>0>3218235020)|e&(a&y>>>0>2940772411|d>>>0>3132021990)|-1==(0|m)&n&(-1^t),h=We(f,0,801750719,1076732275),a=T,n=a+s|0,e=l+h|0,n=e>>>0>>0?n+1|0:n,o[c>>2]=e,o[c+4>>2]=n,t=c,n=(0|n)==(0|a)&e>>>0>>0|n>>>0>>0,h=We(f,0,1354194884,1162945305),s=T,l=s+d|0,c=h+y|0,e=c>>>0>>0?l+1|0:l,n=n+c|0,a=n>>>0>>0?e+1|0:e,o[t+8>>2]=n,o[t+12>>2]=a,d=(0|e)==(0|s)&c>>>0>>0|e>>>0>>0,e=(0|e)==(0|a)&n>>>0>>0|e>>>0>a>>>0,s=d+e|0,a=g,n=e>>>0>s>>>0,c=f+m|0,e=c>>>0>>0?a+1|0:a,l=n+e|0,a=c,s=a+s|0,l=a>>>0>s>>>0?l+1|0:l,o[t+16>>2]=s,o[t+20>>2]=l,n=t,c=u,t=!e&a>>>0>>0,e=(0|e)==(0|l)&a>>>0>s>>>0|e>>>0>l>>>0,s=t+e|0,t=(e>>>0>s>>>0)+p|0,e=s+c|0,t=e>>>0>>0?t+1|0:t,o[n+24>>2]=e,o[n+28>>2]=t,r&&(o[r>>2]=f)}function pe(e,t){r[0|e]=i[t+31|0],r[e+1|0]=a[t+30>>1],r[e+2|0]=o[t+28>>2]>>>8,r[e+3|0]=o[t+28>>2],r[e+4|0]=(16777215&o[t+28>>2])<<8|o[t+24>>2]>>>24,r[e+5|0]=(65535&o[t+28>>2])<<16|o[t+24>>2]>>>16,r[e+6|0]=(255&o[t+28>>2])<<24|o[t+24>>2]>>>8,r[e+7|0]=o[t+24>>2],r[e+8|0]=i[t+23|0],r[e+9|0]=a[t+22>>1],r[e+10|0]=o[t+20>>2]>>>8,r[e+11|0]=o[t+20>>2],r[e+12|0]=(16777215&o[t+20>>2])<<8|o[t+16>>2]>>>24,r[e+13|0]=(65535&o[t+20>>2])<<16|o[t+16>>2]>>>16,r[e+14|0]=(255&o[t+20>>2])<<24|o[t+16>>2]>>>8,r[e+15|0]=o[t+16>>2],r[e+16|0]=i[t+15|0],r[e+17|0]=a[t+14>>1],r[e+18|0]=o[t+12>>2]>>>8,r[e+19|0]=o[t+12>>2],r[e+20|0]=(16777215&o[t+12>>2])<<8|o[t+8>>2]>>>24,r[e+21|0]=(65535&o[t+12>>2])<<16|o[t+8>>2]>>>16,r[e+22|0]=(255&o[t+12>>2])<<24|o[t+8>>2]>>>8,r[e+23|0]=o[t+8>>2],r[e+24|0]=i[t+7|0],r[e+25|0]=a[t+6>>1],r[e+26|0]=o[t+4>>2]>>>8,r[e+27|0]=o[t+4>>2],r[e+28|0]=(16777215&o[t+4>>2])<<8|o[t>>2]>>>24,r[e+29|0]=(65535&o[t+4>>2])<<16|o[t>>2]>>>16,r[e+30|0]=(255&o[t+4>>2])<<24|o[t>>2]>>>8,r[e+31|0]=o[t>>2]}function ge(e,t){var r=0,n=0,i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>30,l=f,f=g,p=b,N=N-1|0,!N)break}u=x-1|0,r=u<<3,a=r+(s+160|0)|0,o[a>>2]=d,o[a+4>>2]=l,r=(s+200|0)+r|0,o[r>>2]=i,o[r+4>>2]=n;e:{if(!(o[s+164>>2]|o[s+160>>2])){if(j)break e;if(f=3&u,x-2>>>0<3)c=0,a=0,r=1;else{r=-4&u,N=0,c=0,a=0,p=R;while(1)if(m=p-8|0,g=p-16|0,S=p-24|0,c=o[p>>2]|o[m>>2]|o[g>>2]|o[S>>2]|c,a=o[p+4>>2]|o[m+4>>2]|o[g+4>>2]|o[S+4>>2]|a,p=p+32|0,N=N+4|0,(0|r)==(0|N))break;r=N+1|0}if(f){p=(s+160|0)+(r<<3)|0;while(1)if(c=o[p>>2]|c,a=o[p+4>>2]|a,p=p+8|0,f=f-1|0,!f)break}if(!(a|c))break e}if(r=l>>31,a=r^d,c=r^l,r=(x>>31)-(x>>>0<2)>>31,a|=r,c|=r,r=n>>31,a|r^i|c|r^n)continue;c=(x<<3)-16|0,r=c+(s+200|0)|0,m=o[r+4>>2],o[r>>2]=o[r>>2],o[r+4>>2]=i<<30|m,r=(s+160|0)+c|0,a=o[r+4>>2],o[r>>2]=o[r>>2],o[r+4>>2]=d<<30|a,x=u;continue}break}r=n>>31,n=r,f=s+280|0,r=f+32|0,u=o[r>>2],r=o[r+4>>2],m=r,r>>=31,i=r,l=o[t>>2],g=r&l,a=g+o[s+280>>2]|0,d=o[t+4>>2],r=o[s+284>>2]+(d&r)|0,r=a>>>0>>0?r+1|0:r,a^=n,I=a-n|0,a=(r^n)-((n>>>0>a>>>0)+n|0)|0,c=e,p=l,S=d,e=o[t+32>>2],v=e,l=e&i,e=l+u|0,E=o[t+36>>2],r=m+(E&i)|0,r=e>>>0>>0?r+1|0:r,e^=n,g=e-n|0,A=(r^n)-((e>>>0>>0)+n|0)|0,e=o[t+24>>2],P=e,d=e&i,l=f+24|0,e=d+o[l>>2]|0,O=o[t+28>>2],r=o[l+4>>2]+(O&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>=30,u=e,e=e+i|0,r=u>>>0>e>>>0?r+1|0:r,i=e,o[l>>2]=i,e=r,r&=1073741823,o[l+4>>2]=r,a=c+24|0,o[a>>2]=i,o[a+4>>2]=r,a=c+32|0,r=(n&E)+A|0,n=(n&v)+g|0,r=(e>>31)+(n>>>0>>0?r+1|0:r)|0,e>>=30,i=e,e=e+n|0,r=i>>>0>e>>>0?r+1|0:r,o[a>>2]=e,o[a+4>>2]=r,o[s+280>>2]=t,o[s+284>>2]=p,h=s+320|0}function me(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0;a=h-288|0,h=a,je(a+224|0,t,r),n=a+208|0,A=o[a+256>>2],w=o[a+260>>2],He(n,A,w,0,0,801750719,1076732275,0,0),b=a+176|0,k=o[a+264>>2],x=o[a+268>>2],He(b,k,x,0,0,801750719,1076732275,0,0),f=a+192|0,He(f,A,w,0,0,1354194884,1162945305,0,0),S=a+144|0,R=o[a+272>>2],O=o[a+276>>2],He(S,R,O,0,0,801750719,1076732275,0,0),v=a+160|0,He(v,k,x,0,0,1354194884,1162945305,0,0),N=a+112|0,C=o[a+280>>2],P=o[a+284>>2],He(N,C,P,0,0,801750719,1076732275,0,0),I=a+128|0,He(I,R,O,0,0,1354194884,1162945305,0,0),M=a+96|0,He(M,C,P,0,0,1354194884,1162945305,0,0),i=o[a+224>>2],r=o[a+208>>2],g=i+r|0,u=o[a+228>>2],t=u+o[a+212>>2]|0,_=r>>>0>g>>>0?t+1|0:t,i=(0|u)==(0|_)&i>>>0>g>>>0|u>>>0>_>>>0,d=o[a+232>>2],t=n+8|0,r=o[t>>2],n=d+r|0,p=o[a+236>>2],t=p+o[t+4>>2]|0,t=r>>>0>n>>>0?t+1|0:t,r=n+i|0,i=r>>>0>>0?t+1|0:t,t=i+o[a+180>>2]|0,u=r,r=o[a+176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f=b&d>>>0<4294967294|-1!=(0|n)|-1!=(t&l),m=-1162945306==(0|p),t=-1^(f|m&g>>>0<2940772411|p>>>0<3132021990),f=(t&(-1076732276==(0|u)&i>>>0>3493216576|u>>>0>3218235020)|t&(m&g>>>0>2940772411|p>>>0>3132021990)|-1==(0|d)&b&(-1^f))+((0|s)==(0|c)&r>>>0>l>>>0|s>>>0>c>>>0)|0,r=We(f,0,801750719,1076732275),s=r+i|0,t=u+T|0,o[e>>2]=s,t=r>>>0>s>>>0?t+1|0:t,o[e+4>>2]=t,r=e,u=(0|t)==(0|u)&i>>>0>s>>>0|t>>>0>>0,e=We(f,0,1354194884,1162945305),i=e+g|0,t=p+T|0,t=e>>>0>i>>>0?t+1|0:t,e=t,u=i+u|0,t=u>>>0>>0?t+1|0:t,o[r+8>>2]=u,o[r+12>>2]=t,v=(0|e)==(0|p)&i>>>0>>0|e>>>0

>>0,e=(0|e)==(0|t)&i>>>0>u>>>0|e>>>0>t>>>0,s=v+e|0,u=e>>>0>s>>>0,t=n,i=d+f|0,e=i>>>0>>0?t+1|0:t,t=e+u|0,u=i+s|0,t=u>>>0>>0?t+1|0:t,o[r+16>>2]=u,o[r+20>>2]=t,n=(0|e)==(0|n)&i>>>0>>0|e>>>0>>0,e=(0|e)==(0|t)&i>>>0>u>>>0|e>>>0>t>>>0,i=n+e|0,t=c+(e>>>0>i>>>0)|0,e=i+l|0,t=e>>>0>>0?t+1|0:t,o[r+24>>2]=e,o[r+28>>2]=t,h=a+288|0}function ye(e,t,r,n){var i=0,a=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0,W=0,Z=0,K=0,Y=0,X=0,J=0,Q=0,ee=0,te=0,re=0,ne=0,oe=0,ie=0,ae=0,se=0,ce=0,le=0,de=0,fe=0,he=0,pe=0,ge=0;if(f=h-3808|0,h=f,i=f+3696|0,o[i>>2]=0,o[i+4>>2]=0,i=f+3704|0,o[i>>2]=0,o[i+4>>2]=0,i=f+3712|0,o[i>>2]=0,o[i+4>>2]=0,o[f+3688>>2]=0,o[f+3692>>2]=0,o[f+3680>>2]=1,o[f+3684>>2]=0,!o[t+120>>2]&&o[r+24>>2]|o[r+16>>2]|o[r+8>>2]|o[r>>2]|o[r+28>>2]|o[r+20>>2]|o[r+12>>2]|o[r+4>>2]){a=h-128|0,h=a,u=a- -64|0,je(u,r,690640),o[a+56>>2]=0,o[a+60>>2]=0,l=1&((o[a+108>>2]>>>31|0)-1>>>8^-1),c=o[a+112>>2],m=l+c|0,i=o[a+116>>2],o[a+32>>2]=m,i=c>>>0>m>>>0?i+1|0:i,o[a+36>>2]=i,l=!i&l>>>0>m>>>0,c=o[a+120>>2],m=l+c|0,i=o[a+124>>2],o[a+40>>2]=m,i=c>>>0>m>>>0?i+1|0:i,o[a+44>>2]=i,o[a+48>>2]=!i&l>>>0>m>>>0,o[a+52>>2]=0,je(u,r,690672),o[a+24>>2]=0,o[a+28>>2]=0,l=1&((o[a+108>>2]>>>31|0)-1>>>8^-1),c=o[a+112>>2],u=l+c|0,i=o[a+116>>2],o[a>>2]=u,i=c>>>0>u>>>0?i+1|0:i,o[a+4>>2]=i,c=!i&u>>>0>>0,_=a,a=o[a+120>>2],l=c+a|0,i=o[_+124>>2],o[_+8>>2]=l,i=a>>>0>l>>>0?i+1|0:i,o[_+12>>2]=i,o[_+16>>2]=!i&c>>>0>l>>>0,o[_+20>>2]=0,i=_+32|0,me(i,i,690576),me(_,_,690608),l=o[_>>2],c=o[_+32>>2],a=l+c|0,u=o[_+4>>2],i=u+o[_+36>>2]|0,E=a>>>0>>0?i+1|0:i,g=a,m=(0|u)==(0|E)&a>>>0>>0|u>>>0>E>>>0,a=o[_+40>>2],l=m+a|0,i=o[_+44>>2],u=o[_+8>>2],c=u+l|0,a=a>>>0>l>>>0?i+1|0:i,i=a+o[_+12>>2]|0,d=!a&l>>>0>>0,b=c>>>0>>0?i+1|0:i,w=c,a=(0|a)==(0|b)&l>>>0>c>>>0|a>>>0>b>>>0,c=d+a|0,d=a>>>0>c>>>0,i=d+o[_+52>>2]|0,a=o[_+48>>2],m=a+c|0,u=o[_+16>>2],l=m+u|0,a=a>>>0>m>>>0?i+1|0:i,i=a+o[_+20>>2]|0,c=(0|a)==(0|d)&c>>>0>m>>>0|a>>>0>>0,u=u>>>0>l>>>0?i+1|0:i,S=l,a=(0|a)==(0|u)&m>>>0>l>>>0|a>>>0>u>>>0,c=c+a|0,m=a>>>0>c>>>0,i=m+o[_+60>>2]|0,a=o[_+56>>2],l=a+c|0,d=o[_+24>>2],y=l+d|0,a=a>>>0>l>>>0?i+1|0:i,i=a+o[_+28>>2]|0,v=d>>>0>y>>>0?i+1|0:i,d=((0|a)==(0|m)&c>>>0>l>>>0|a>>>0>>0)+((0|a)==(0|v)&l>>>0>y>>>0|a>>>0>v>>>0)|0,c=-1==(0|u),a=c&S>>>0<4294967294|-1!=(0|u)|-1!=(y&v),l=-1162945306==(0|b),i=-1^(a|l&w>>>0<2940772411|b>>>0<3132021990),x=d+(i&(-1076732276==(0|E)&g>>>0>3493216576|E>>>0>3218235020)|i&(l&w>>>0>2940772411|b>>>0>3132021990)|-1==(0|S)&c&(-1^a))|0,c=We(x,0,801750719,1076732275),a=c+g|0,i=E+T|0,d=f+3720|0,o[d>>2]=a,m=a>>>0>>0?i+1|0:i,o[d+4>>2]=m,l=d,c=We(x,0,1354194884,1162945305),p=c+w|0,i=b+T|0,a=(0|m)==(0|E)&a>>>0>>0|m>>>0>>0,d=p+a|0,i=c>>>0>p>>>0?i+1|0:i,c=i,o[l+8>>2]=d,g=a>>>0>d>>>0?i+1|0:i,o[l+12>>2]=g,i=u,m=S+x|0,a=m>>>0>>0?i+1|0:i,i=(0|c)==(0|b)&p>>>0>>0|c>>>0>>0,c=(0|c)==(0|g)&d>>>0

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>>0?i+1|0:i,v=a,o[l>>2]=a,S=i,o[l+4>>2]=i,i=c,g=(0|m)==(0|S)&a>>>0>>0|m>>>0>S>>>0,a=g+b|0,c=a>>>0>>0?i+1|0:i,i=c+o[r+12>>2]|0,u=a,m=o[r+8>>2],a=a+m|0,y=a,o[l+8>>2]=a,b=a>>>0>>0?i+1|0:i,o[l+12>>2]=b,O=o[r+16>>2],d=O+d|0,I=o[r+20>>2],i=I+E|0,a=d>>>0>>0?i+1|0:i,i=!c&u>>>0>>0,c=(0|c)==(0|b)&u>>>0>y>>>0|c>>>0>b>>>0,u=i+c|0,i=(c>>>0>u>>>0)+a|0,c=u+d|0,i=c>>>0>>0?i+1|0:i,E=c,o[l+16>>2]=c,u=i,o[l+20>>2]=i,c=o[r+24>>2],g=c,x=o[r+28>>2],i=x+p|0,c=c+M|0,r=c>>>0>>0?i+1|0:i,m=c,i=(0|a)==(0|I)&d>>>0>>0|a>>>0>>0,a=(0|a)==(0|u)&d>>>0>E>>>0|a>>>0>u>>>0,d=i+a|0,i=(a>>>0>d>>>0)+r|0,p=c+d|0,i=p>>>0>>0?i+1|0:i,c=l,d=i,m=((0|r)==(0|x)&g>>>0>m>>>0|r>>>0>>0)+((0|r)==(0|i)&p>>>0>>0|r>>>0>i>>>0)|0,a=-1==(0|u),i=a&E>>>0<4294967294|-1!=(0|u)|-1!=(i&p),l=-1162945306==(0|b),r=-1^(i|l&y>>>0<2940772411|b>>>0<3132021990),x=m+(r&(-1076732276==(0|S)&v>>>0>3493216576|S>>>0>3218235020)|r&(l&y>>>0>2940772411|b>>>0>3132021990)|-1==(0|E)&a&(-1^i))|0,a=We(x,0,801750719,1076732275),r=a+v|0,i=S+T|0,o[c>>2]=r,l=r>>>0>>0?i+1|0:i,o[c+4>>2]=l,a=We(x,0,1354194884,1162945305),g=a+y|0,i=b+T|0,r=(0|l)==(0|S)&r>>>0>>0|l>>>0>>0,m=g+r|0,i=a>>>0>g>>>0?i+1|0:i,a=i,o[c+8>>2]=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|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L- -64|0,i=o[a+4>>2],t=K- -64|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+72|0,i=o[a+4>>2],t=K+72|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,o[b+416>>2]=0,t=o[b+556>>2],o[b+336>>2]=o[b+552>>2],o[b+340>>2]=t,t=o[b+596>>2],o[b+376>>2]=o[b+592>>2],o[b+380>>2]=t,R=b+304|0,B=g<<1,$=v<<1|g>>>31,He(R,l,c,0,0,B,$,0,0),k=b+224|0,a=C,t=A,m=P<<1,d=N<<1|P>>>31,He(k,a,t,0,0,m,d,0,0),y=b+160|0,i=u,He(y,p,i,0,0,p,i,0,0),S=b+144|0,He(S,o[b+160>>2],o[b+164>>2],0,0,15632,16,0,0),u=p,i=i<<1|u>>>31,G=b+112|0,W=u<<1,M=i,He(G,W,i,0,0,g,v,0,0),Z=b+272|0,He(Z,l,c,0,0,m,d,0,0),U=b+208|0,He(U,a,t,0,0,a,t,0,0),x=b+128|0,i=y+8|0,He(x,o[i>>2],o[i+4>>2],0,0,64028672,65536,0,0),ee=b+320|0,He(ee,g,v,0,0,g,v,0,0),X=b+96|0,He(X,W,M,0,0,P,N,0,0),E=t,O=a,i=t<<1|a>>>31,J=b+176|0,C=l,A=c,He(J,l,c,0,0,a<<1,i,0,0),d=o[b+304>>2],a=o[b+224>>2],t=d+a|0,D=o[b+308>>2],i=D+o[b+228>>2]|0,i=t>>>0>>0?i+1|0:i,a=o[b+144>>2],I=a+t|0,c=i,i=i+o[b+148>>2]|0,m=a>>>0>I>>>0?i+1|0:i,H=o[b+272>>2],a=o[b+208>>2],y=H+a|0,q=o[b+276>>2],i=q+o[b+212>>2]|0,i=a>>>0>y>>>0?i+1|0:i,a=o[b+112>>2],w=a+y|0,u=i,i=i+o[b+116>>2]|0,i=a>>>0>w>>>0?i+1|0:i,a=o[b+128>>2],g=a+w|0,l=i,i=i+o[b+132>>2]|0,a=a>>>0>g>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[t+4>>2]=i,o[u+504>>2]=l,o[u+508>>2]=c;Ue(E,E,K,Y+40|0),o[r+168>>2]=0,t=o[u+428>>2],o[r+88>>2]=o[u+424>>2],o[r+92>>2]=t,i=o[S+4>>2],t=r+96|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+104|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+112|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+120|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+128|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+136|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+144|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+152|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+160|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,K,Y+80|0),o[r+256>>2]=0,t=o[u+428>>2],o[r+176>>2]=o[u+424>>2],o[r+180>>2]=t,i=o[S+4>>2],t=r+184|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+192|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+200|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+208|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+216|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+224|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+232|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+240|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+248|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,K,Y+120|0),o[r+344>>2]=0,t=o[u+428>>2],o[r+264>>2]=o[u+424>>2],o[r+268>>2]=t,i=o[S+4>>2],t=r+272|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+280|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+288|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+296|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+304|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+312|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+320|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+328|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+336|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,K,Y+160|0),o[r+432>>2]=0,t=o[u+428>>2],o[r+352>>2]=o[u+424>>2],o[r+356>>2]=t,i=o[S+4>>2],t=r+360|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+368|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+376|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+384|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+392|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+400|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+408|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+416|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+424|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,Ue(E,E,K,Y+200|0),o[r+520>>2]=0,t=o[u+428>>2],o[r+440>>2]=o[u+424>>2],o[r+444>>2]=t,i=o[S+4>>2],t=r+448|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+456|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+464|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+472|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+480|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+488|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+496|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+504|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+512|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,x=Y+240|0,Ue(E,E,K,x),o[r+608>>2]=0,t=o[u+428>>2],o[r+528>>2]=o[u+424>>2],o[r+532>>2]=t,i=o[S+4>>2],t=r+536|0,o[t>>2]=o[S>>2],o[t+4>>2]=i,i=o[_+4>>2],t=r+544|0,o[t>>2]=o[_>>2],o[t+4>>2]=i,i=o[y+4>>2],t=r+552|0,o[t>>2]=o[y>>2],o[t+4>>2]=i,i=o[w+4>>2],t=r+560|0,o[t>>2]=o[w>>2],o[t+4>>2]=i,i=o[u+468>>2],t=r+568|0,o[t>>2]=o[u+464>>2],o[t+4>>2]=i,i=o[p+4>>2],t=r+576|0,o[t>>2]=o[p>>2],o[t+4>>2]=i,i=o[g+4>>2],t=r+584|0,o[t>>2]=o[g>>2],o[t+4>>2]=i,i=o[v+4>>2],t=r+592|0,o[t>>2]=o[v>>2],o[t+4>>2]=i,i=o[d+4>>2],t=r+600|0,o[t>>2]=o[d>>2],o[t+4>>2]=i,c=Y+280|0,Ue(E,E,K,c),o[r+696>>2]=0,t=o[u+428>>2],o[r+616>>2]=o[u+424>>2],o[r+620>>2]=t,i=o[S+4>>2],t=r+624|0,o[t>>2]=o[S>>2],o[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t=q+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=c+24|0,i=o[a+4>>2],t=q+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=c+32|0,i=o[a+4>>2],t=q+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,t=o[c+4>>2],o[p+808>>2]=o[c>>2],o[p+812>>2]=t,te=6,F=r+528|0,a=F+8|0,i=o[a+4>>2],z=p+680|0,t=z+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+16|0,i=o[a+4>>2],t=z+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+24|0,i=o[a+4>>2],t=z+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+32|0,i=o[a+4>>2],t=z+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+48|0,i=o[a+4>>2],t=z+48|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+56|0,i=o[a+4>>2],t=z+56|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F- -64|0,i=o[a+4>>2],t=z- -64|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=F+72|0,i=o[a+4>>2],t=z+72|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,t=o[F+4>>2],o[p+680>>2]=o[F>>2],o[p+684>>2]=t,t=o[F+44>>2],o[p+720>>2]=o[F+40>>2],o[p+724>>2]=t,w=o[p+840>>2],u=o[p+844>>2],a=o[p+824>>2],m=o[p+828>>2],B=o[p+816>>2],b=o[p+820>>2],l=o[p+832>>2],c=o[p+836>>2],g=o[p+808>>2],v=o[p+812>>2],o[p+800>>2]=0,O=p+440|0,$=g<<1,W=v<<1|g>>>31,He(O,l,c,0,0,$,W,0,0),I=p+504|0,t=m,m=B<<1,d=b<<1|B>>>31,He(I,a,t,0,0,m,d,0,0),S=p+632|0,i=u,He(S,w,i,0,0,w,i,0,0),_=p+616|0,He(_,o[p+632>>2],o[p+636>>2],0,0,15632,16,0,0),u=w,i=i<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L- -64|0,i=o[a+4>>2],t=V+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=L+72|0,i=o[a+4>>2],t=V+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,t=o[L+4>>2],o[p+680>>2]=o[L>>2],o[p+684>>2]=t,o[p+800>>2]=0,t=o[p+812>>2],_=t,y=o[p+808>>2],u=y,i=t<<1|u>>>31,g=p+72|0,N=o[p+832>>2],C=o[p+836>>2],O=u<<1,M=i,He(g,N,C,0,0,O,i,0,0),t=o[p+820>>2],z=t,q=o[p+816>>2],a=q,i=t<<1|a>>>31,v=p+280|0,x=o[p+824>>2],A=o[p+828>>2],a<<=1,c=i,He(v,x,A,0,0,a,i,0,0),d=p+232|0,l=o[p+840>>2],t=o[p+844>>2],He(d,l,t,0,0,l,t,0,0),m=p+216|0,He(m,o[p+232>>2],o[p+236>>2],0,0,15632,16,0,0),i=t<<1|l>>>31,U=p+184|0,B=l<<1,I=i,He(U,B,i,0,0,u,_,0,0),H=p+88|0,He(H,N,C,0,0,a,c,0,0),D=p+264|0,He(D,x,A,0,0,x,A,0,0),w=p+200|0,t=d+8|0,He(w,o[t>>2],o[t+4>>2],0,0,64028672,65536,0,0),Q=p+328|0,He(Q,u,_,0,0,u,_,0,0),j=p+168|0,He(j,B,i,0,0,q,z,0,0),G=p+104|0,He(G,N,C,0,0,x<<1,A<<1|x>>>31,0,0),l=o[p+72>>2],a=o[p+280>>2],t=l+a|0,y=o[p+76>>2],i=y+o[p+284>>2]|0,i=t>>>0>>0?i+1|0:i,a=o[p+216>>2],E=a+t|0,c=i,i=i+o[p+220>>2]|0,a=a>>>0>E>>>0?i+1|0:i,d=(0|c)==(0|a)&t>>>0>E>>>0|a>>>0>>0,i=m+8|0,m=o[i>>2],u=o[i+4>>2],l=(0|c)==(0|y)&t>>>0>>0|c>>>0>>0,i=v+8|0,c=o[i>>2],t=g+8|0,v=c+o[t>>2]|0,i=o[t+4>>2]+o[i+4>>2]|0,i=c>>>0>v>>>0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,L=L-88|0,$=$-40|0,te=te-1|0,!te)break;h=p+928|0,t=0,L=(0|re)>0?re:0;while(1)if(H=f- -64|0,ne=o[r>>2],oe=o[r+4>>2],He(H,ne,oe,0,0,-431719958,28934,0,0),D=f+416|0,i=r+8|0,ie=o[i>>2],ae=o[i+4>>2],He(D,ie,ae,0,0,-375590839,799796,0,0),R=f+336|0,i=r+16|0,se=o[i>>2],ce=o[i+4>>2],He(R,se,ce,0,0,1486445587,479535,0,0),N=f+256|0,i=r+24|0,le=o[i>>2],de=o[i+4>>2],He(N,le,de,0,0,1905590766,617512,0,0),a=f+176|0,i=r+32|0,fe=o[i>>2],K=o[i+4>>2],He(a,fe,K,0,0,1781228924,31465,0,0),E=f+160|0,He(E,-4&o[f+176>>2],o[f+180>>2],0,0,15632,16,0,0),F=f+80|0,He(F,ne,oe,0,0,1781228924,31465,0,0),te=f+432|0,He(te,ie,ae,0,0,-431719958,28934,0,0),ee=f+352|0,He(ee,se,ce,0,0,-375590839,799796,0,0),X=f+272|0,He(X,le,de,0,0,1486445587,479535,0,0),J=f+192|0,He(J,fe,K,0,0,1905590766,617512,0,0),k=f+144|0,i=a+8|0,He(k,o[i>>2],o[i+4>>2],0,0,64028672,65536,0,0),z=f+96|0,He(z,ne,oe,0,0,1905590766,617512,0,0),q=f+448|0,He(q,ie,ae,0,0,1781228924,31465,0,0),Q=f+368|0,He(Q,se,ce,0,0,-431719958,28934,0,0),j=f+288|0,He(j,le,de,0,0,-375590839,799796,0,0),G=f+208|0,He(G,fe,K,0,0,1486445587,479535,0,0),Z=o[f+432>>2],a=o[f+80>>2],x=Z+a|0,re=o[f+436>>2],i=re+o[f+84>>2]|0,i=a>>>0>x>>>0?i+1|0:i,a=o[f+352>>2],C=a+x|0,I=i,i=i+o[f+356>>2]|0,i=a>>>0>C>>>0?i+1|0:i,a=o[f+272>>2],A=a+C|0,g=i,i=i+o[f+276>>2]|0,i=a>>>0>A>>>0?i+1|0:i,a=o[f+192>>2],S=a+A|0,v=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,i=g<<4|d>>>28,v=d<<4&-16,d=16777215&i,S=c,He(f,v|c>>>16&15,d,0,0,977,1,0,0),D=o[f+4>>2],i=D+o[f+100>>2]|0,Y=(f+2240|0)+t|0,d=Y,R=o[f>>2],c=o[f+96>>2],_=R+c|0,o[d>>2]=_,v=c>>>0>_>>>0?i+1|0:i,o[d+4>>2]=1048575&v,te=f+112|0,He(te,ne,oe,0,0,1486445587,479535,0,0),ee=f+464|0,He(ee,ie,ae,0,0,1905590766,617512,0,0),X=f+384|0,He(X,se,ce,0,0,1781228924,31465,0,0),k=f+304|0,He(k,le,de,0,0,-431719958,28934,0,0),W=f+224|0,He(W,fe,K,0,0,-375590839,799796,0,0),J=f+48|0,B=J,$=o[f+304>>2],c=o[f+384>>2],C=$+c|0,re=o[f+308>>2],i=re+o[f+388>>2]|0,i=c>>>0>C>>>0?i+1|0:i,c=o[f+224>>2],A=c+C|0,d=i,i=i+o[f+228>>2]|0,c=c>>>0>A>>>0?i+1|0:i,P=(0|a)==(0|g)&y>>>0>w>>>0|a>>>0>g>>>0,O=(0|a)==(0|u)&y>>>0>>0|a>>>0>>0,i=G+8|0,I=o[i>>2],x=o[i+4>>2],N=(0|u)==(0|m)&b>>>0>N>>>0|u>>>0>>0,i=j+8|0,y=o[i>>2],w=o[i+4>>2],m=(0|m)==(0|V)&b>>>0>>0|m>>>0>>0,u=q+8|0,a=o[u>>2],i=Q+8|0,b=a+o[i>>2]|0,i=o[i+4>>2]+o[u+4>>2]|0,i=a>>>0>b>>>0?i+1|0:i,a=m+b|0,i=(a>>>0>>0?i+1|0:i)+w|0,u=a,a=a+y|0,i=u>>>0>a>>>0?i+1|0:i,u=a,a=a+N|0,i=(u>>>0>a>>>0?i+1|0:i)+x|0,u=a,a=a+I|0,i=u>>>0>a>>>0?i+1|0:i,u=a+O|0,i=u>>>0>>0?i+1|0:i,l=l>>>20|0,a=u+l|0,i=l>>>0>a>>>0?i+1|0:i,u=a,a=a+P|0,i=u>>>0>a>>>0?i+1|0:i,l=a<<12|g>>>20,y=l+A|0,m=i,i=c+(i<<12|a>>>20)|0,w=l>>>0>y>>>0?i+1|0:i,He(B,y,1048575&w,0,0,15632,16,0,0),b=Y+8|0,Q=o[f+464>>2],a=o[f+112>>2],O=Q+a|0,F=o[f+468>>2],i=F+o[f+116>>2]|0,i=a>>>0>O>>>0?i+1|0:i,a=o[f+48>>2],I=a+O|0,P=i,i=i+o[f+52>>2]|0,l=a>>>0>I>>>0?i+1|0:i,g=(0|v)==(0|D)&_>>>0>>0|v>>>0>>0,u=z+8|0,a=o[u>>2],i=f+8|0,_=a+o[i>>2]|0,i=o[i+4>>2]+o[u+4>>2]|0,i=a>>>0>_>>>0?i+1|0:i,a=g+_|0,i=a>>>0<_>>>0?i+1|0:i,v=a<<12|v>>>20,_=v+I|0,u=i,i=l+(i<<12|a>>>20)|0,o[b>>2]=_,g=v>>>0>_>>>0?i+1|0:i,o[b+4>>2]=1048575&g,j=f+128|0,He(j,ne,oe,0,0,-375590839,799796,0,0),G=f+480|0,He(G,ie,ae,0,0,1486445587,479535,0,0),Z=f+400|0,He(Z,se,ce,0,0,1905590766,617512,0,0),U=f+320|0,He(U,le,de,0,0,1781228924,31465,0,0),H=f+240|0,He(H,fe,K,0,0,-431719958,28934,0,0),D=f+32|0,B=D,R=o[f+240>>2],a=o[f+320>>2],x=R+a|0,z=o[f+244>>2],i=z+o[f+324>>2]|0,a=a>>>0>x>>>0?i+1|0:i,b=(0|c)==(0|w)&y>>>0>>0|c>>>0>w>>>0,N=(0|c)==(0|d)&A>>>0>>0|c>>>0>>0,i=W+8|0,A=o[i>>2],y=o[i+4>>2],v=(0|d)==(0|re)&C>>>0<$>>>0|d>>>0>>0,d=X+8|0,c=o[d>>2],i=k+8|0,C=c+o[i>>2]|0,i=o[i+4>>2]+o[d+4>>2]|0,i=c>>>0>C>>>0?i+1|0:i,c=v+C|0,i=(c>>>0>>0?i+1|0:i)+y|0,d=c,c=c+A|0,i=d>>>0>c>>>0?i+1|0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>0?i+1|0:i,c=a<<12|c>>>20,l=c+p|0,i=d+(i<<12|a>>>20)|0,o[g>>2]=l,o[g+4>>2]=c>>>0>l>>>0?i+1|0:i,r=r+88|0,t=t+40|0,320==(0|t))break;r=(0|L)<(0|he)?he:L,t=1}else r=0,t=0;if(n?(c=f+3648|0,i=c+24|0,o[i>>2]=0,o[i+4>>2]=0,a=f+3616|0,i=a+24|0,o[i>>2]=0,o[i+4>>2]=0,o[f+3664>>2]=0,o[f+3668>>2]=0,o[f+3632>>2]=0,o[f+3636>>2]=0,i=o[n+4>>2],o[f+3648>>2]=o[n>>2],o[f+3652>>2]=i,i=o[n+12>>2],o[f+3656>>2]=o[n+8>>2],o[f+3660>>2]=i,i=o[n+20>>2],o[f+3616>>2]=o[n+16>>2],o[f+3620>>2]=i,i=o[n+28>>2],o[f+3624>>2]=o[n+24>>2],o[f+3628>>2]=i,g=De(f+3088|0,c,4),m=De(f+2560|0,a,4),r=(0|r)<(0|g)?g:r,r=(0|r)<(0|m)?m:r):(g=0,m=0),o[e+120>>2]=1,y=Ve(e,120),!((0|r)<=0)){e=r-1|0;e:{if(!t){e<<=2,n=e+(f+3088|0)|0,e=(f+2560|0)+e|0,p=1;while(1){if(p?(o[y+120>>2]=1,Ve(y,120)):Ne(y,y),(0|r)>(0|g)||(i=o[n>>2],i&&(t=f+3720|0,Fe(t,655920,i),$e(y,y,t,f+3680|0))),t=r-1|0,(0|r)>(0|m)||(i=o[e>>2],i&&(r=f+3720|0,Fe(r,656176,i),$e(y,y,r,f+3680|0))),(0|t)<=0)break e;n=n-4|0,e=e-4|0,p=o[y+120>>2],r=t}}w=f+3760|0,n=1008+((r<<2)+f|0)|0,t=e<<2,e=t+(f+3088|0)|0,p=(f+2560|0)+t|0,u=o[f+1532>>2],l=o[f+1528>>2],i=1;while(1){if(i?(o[y+120>>2]=1,Ve(y,120)):Ne(y,y),(0|r)>(0|l)||(t=o[n-516>>2],t&&((0|t)<=0?(qe(f+3720|0,(f+1536|0)+s((-1^t)/2|0,88)|0,88),t=o[f+3760>>2],i=-3908-t|0,t=4194299-(o[f+3764>>2]+(t>>>0>4294963388)|0)|0,o[f+3760>>2]=i,o[f+3764>>2]=t,t=o[f+3768>>2],i=-4-t|0,t=4194303-(o[f+3772>>2]+(t>>>0>4294967292)|0)|0,o[f+3768>>2]=i,o[f+3772>>2]=t,t=o[f+3776>>2],i=-4-t|0,t=4194303-(o[f+3780>>2]+(t>>>0>4294967292)|0)|0,o[f+3776>>2]=i,o[f+3780>>2]=t,t=o[f+3784>>2],i=-4-t|0,t=4194303-(o[f+3788>>2]+(t>>>0>4294967292)|0)|0,o[f+3784>>2]=i,o[f+3788>>2]=t,t=o[f+3792>>2],i=-4-t|0,t=262143-(o[f+3796>>2]+(t>>>0>4294967292)|0)|0,o[f+3792>>2]=i,o[f+3796>>2]=t):qe(f+3720|0,(f+1536|0)+s(t-1>>>1|0,88)|0,88),Ue(y,y,f+3720|0,0))),(0|r)>(0|u)||(t=o[n>>2],t&&((0|t)<=0?(c=(-1^t)/2|0,d=(f+1536|0)+s(c,88)|0,t=o[d+44>>2],o[w>>2]=o[d+40>>2],o[w+4>>2]=t,a=d+48|0,i=o[a+4>>2],t=w+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+56|0,i=o[a+4>>2],t=w+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d- -64|0,i=o[a+4>>2],t=w+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+72|0,i=o[a+4>>2],t=w+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,d=(f+2240|0)+s(c,40)|0,a=d+8|0,i=o[a+4>>2],c=f+3720|0,t=c+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+16|0,i=o[a+4>>2],t=c+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+24|0,i=o[a+4>>2],t=c+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+32|0,i=o[a+4>>2],t=c+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,o[f+3800>>2]=0,t=o[d+4>>2],o[f+3720>>2]=o[d>>2],o[f+3724>>2]=t,t=o[f+3760>>2],i=-3908-t|0,t=4194299-(o[f+3764>>2]+(t>>>0>4294963388)|0)|0,o[f+3760>>2]=i,o[f+3764>>2]=t,t=o[f+3768>>2],i=-4-t|0,t=4194303-(o[f+3772>>2]+(t>>>0>4294967292)|0)|0,o[f+3768>>2]=i,o[f+3772>>2]=t,t=o[f+3776>>2],i=-4-t|0,t=4194303-(o[f+3780>>2]+(t>>>0>4294967292)|0)|0,o[f+3776>>2]=i,o[f+3780>>2]=t,t=o[f+3784>>2],i=-4-t|0,t=4194303-(o[f+3788>>2]+(t>>>0>4294967292)|0)|0,o[f+3784>>2]=i,o[f+3788>>2]=t,t=o[f+3792>>2],i=-4-t|0,t=262143-(o[f+3796>>2]+(t>>>0>4294967292)|0)|0,o[f+3792>>2]=i,o[f+3796>>2]=t):(i=t-1>>>1|0,v=(f+1536|0)+s(i,88)|0,t=o[v+44>>2],o[w>>2]=o[v+40>>2],o[w+4>>2]=t,d=(f+2240|0)+s(i,40)|0,a=d+8|0,i=o[a+4>>2],c=f+3720|0,t=c+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+16|0,i=o[a+4>>2],t=c+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+24|0,i=o[a+4>>2],t=c+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=d+32|0,i=o[a+4>>2],t=c+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+48|0,i=o[a+4>>2],t=w+8|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+56|0,i=o[a+4>>2],t=w+16|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v- -64|0,i=o[a+4>>2],t=w+24|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,a=v+72|0,i=o[a+4>>2],t=w+32|0,o[t>>2]=o[a>>2],o[t+4>>2]=i,o[f+3800>>2]=0,t=o[d+4>>2],o[f+3720>>2]=o[d>>2],o[f+3724>>2]=t),Ue(y,y,f+3720|0,0))),(0|r)>(0|g)||(i=o[e>>2],i&&(t=f+3720|0,Fe(t,655920,i),$e(y,y,t,f+3680|0))),t=r-1|0,(0|r)>(0|m)||(i=o[p>>2],i&&(r=f+3720|0,Fe(r,656176,i),$e(y,y,r,f+3680|0))),(0|t)<=0)break e;e=e-4|0,p=p-4|0,n=n-4|0,i=o[y+120>>2],r=t}}o[y+120>>2]||(e=y+80|0,ue(e,e,f+3680|0))}h=f+3808|0}function ve(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0;return u=h-48|0,h=u,n=u+8|0,Oe(n,t+80|0),ue(n,n,e),a=o[t+24>>2],i=o[t+28>>2],l=o[t+16>>2],s=o[t+20>>2],n=o[t+8>>2],f=o[t+12>>2],r=o[t>>2],c=o[t+4>>2],p=o[t+32>>2],t=o[t+36>>2],g=t,e=r,r=We(t>>>16|0,0,977,1),t=e+r|0,e=c+T|0,e=t>>>0>>0?e+1|0:e,r=t,c=e,e=f,t=c>>>20|0,d=t,t=t+n|0,f=d>>>0>t>>>0?e+1|0:e,e=s,n=f>>>20|0,l=n+l|0,s=n>>>0>l>>>0?e+1|0:e,e=i,n=s>>>20|0,a=n+a|0,n=n>>>0>a>>>0?e+1|0:e,e=o[u+8>>2],i=r-e|0,m=(1048575&c)-(o[u+12>>2]+(e>>>0>r>>>0)|0)|0,e=o[u+40>>2],c=p-e|0,e=(65535&g)-(o[u+44>>2]+(e>>>0>p>>>0)|0)|0,r=n>>>20|0,d=r,r=r+c|0,e=(d>>>0>r>>>0?e+1|0:e)+262143|0,d=i,r=r-4|0,p=r>>>0<4294967292?e+1|0:e,i=We(p>>>16|0,0,977,1),c=d+i|0,e=m+T|0,e=(c>>>0>>0?e+1|0:e)+4194299|0,c=c-3908|0,e=c>>>0<4294963388?e+1|0:e,i=1048575&e,y=i,g=976^c,m=1^i,h=u+48|0,c|i&&(i=0,-1!=(0|g)|1048575!=(0|m))||(i=r,p&=65535,r=o[u+32>>2],v=a-r|0,d=(1048575&n)-(o[u+36>>2]+(r>>>0>a>>>0)|0)|0,n=o[u+24>>2],a=l-n|0,l=(1048575&s)-(o[u+28>>2]+(n>>>0>l>>>0)|0)|0,n=e,e=1048575&f,n=n>>>20|0,r=n,n=t+n|0,e=r>>>0>n>>>0?e+1|0:e,r=o[u+16>>2],t=(n-r|0)-4|0,e=4194303+(e-(o[u+20>>2]+(n>>>0>>0)|0)|0)|0,n=t>>>0<4294967292?e+1|0:e,e=l,r=n>>>20|0,s=r,r=r+a|0,e=(s>>>0>r>>>0?e+1|0:e)+4194303|0,r=r-4|0,l=r>>>0<4294967292?e+1|0:e,e=d,a=l>>>20|0,s=a,a=a+v|0,e=(s>>>0>a>>>0?e+1|0:e)+4194303|0,a=a-4|0,f=a>>>0<4294967292?e+1|0:e,e=p,s=f>>>20|0,d=s,s=i+s|0,e=d>>>0>s>>>0?e+1|0:e,i=-1==(t&g&r&a&s)?1048575==(n&m&l&f&(983040^e)):0,i?(t=0,e=0):(t=a|r|t|c|s,e|=1048575&f|1048575&l|1048575&n|y),i=!(e|t)),i}function we(e,t,n,a,s,c){e|=0,t|=0,n|=0,a|=0,s|=0,c|=0;var u=0,l=0,d=0,f=0,p=0,g=0,m=0;u=h-224|0,h=u,he(u+8|0,t,0),t=n+16|0,l=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,d=u+112|0,f=d+16|0,o[f>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[f+4>>2]=l,t=n+24|0,l=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,d=d+24|0,o[d>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[d+4>>2]=l,t=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[u+112>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+116>>2]=t,t=n+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,o[u+120>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[u+124>>2]=n,t=o[u+12>>2],f=o[u+8>>2],r[u+175|0]=f,n=o[u+20>>2],p=o[u+16>>2],r[u+167|0]=p,l=o[u+28>>2],g=o[u+24>>2],r[u+159|0]=g,d=o[u+36>>2],m=o[u+32>>2],r[u+151|0]=m,r[u+174|0]=(255&t)<<24|f>>>8,r[u+173|0]=(65535&t)<<16|f>>>16,r[u+172|0]=(16777215&t)<<8|f>>>24,r[u+171|0]=t,r[u+170|0]=t>>>8,r[u+169|0]=t>>>16,r[u+168|0]=t>>>24,r[u+166|0]=(255&n)<<24|p>>>8,r[u+165|0]=(65535&n)<<16|p>>>16,r[u+164|0]=(16777215&n)<<8|p>>>24,r[u+163|0]=n,r[u+162|0]=n>>>8,r[u+161|0]=n>>>16,r[u+160|0]=n>>>24,r[u+158|0]=(255&l)<<24|g>>>8,r[u+157|0]=(65535&l)<<16|g>>>16,r[u+156|0]=(16777215&l)<<8|g>>>24,r[u+155|0]=l,r[u+154|0]=l>>>8,r[u+153|0]=l>>>16,r[u+152|0]=l>>>24,r[u+150|0]=(255&d)<<24|m>>>8,r[u+149|0]=(65535&d)<<16|m>>>16,r[u+148|0]=(16777215&d)<<8|m>>>24,r[u+147|0]=d,r[u+146|0]=d>>>8,r[u+145|0]=d>>>16,r[u+144|0]=d>>>24,s?(t=s+24|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+200|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=s+16|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+192|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=s+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,l=u+184|0,o[l>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[l+4>>2]=n,t=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[u+176>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[u+180>>2]=t,n=96):n=64,a&&(s=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,t=(u+112|0)+n|0,l=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,r[0|t]=l,r[t+1|0]=l>>>8,r[t+2|0]=l>>>16,r[t+3|0]=l>>>24,r[t+4|0]=s,r[t+5|0]=s>>>8,r[t+6|0]=s>>>16,r[t+7|0]=s>>>24,a=a+8|0,s=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,t=t+8|0,a=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,r[0|t]=a,r[t+1|0]=a>>>8,r[t+2|0]=a>>>16,r[t+3|0]=a>>>24,r[t+4|0]=s,r[t+5|0]=s>>>8,r[t+6|0]=s>>>16,r[t+7|0]=s>>>24,n|=16),t=u+112|0,be(u+40|0,t,n),n=0,Ve(t,112);while(1)if(_e(u+40|0,e),n=n+1|0,!(c>>>0>=n>>>0))break;return h=u+224|0,1}function be(e,t,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0;a=h-272|0,h=a,o[e>>2]=16843009,o[e+4>>2]=16843009,o[e+32>>2]=0,o[e+36>>2]=0,u=e+24|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+16|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+8|0,o[u>>2]=16843009,o[u+4>>2]=16843009,u=e+40|0,o[u>>2]=0,o[u+4>>2]=0,u=e+48|0,o[u>>2]=0,o[u+4>>2]=0,u=e+56|0,o[u>>2]=0,o[u+4>>2]=0,u=a+128|0,o[u>>2]=528734635,o[u+4>>2]=1541459225,u=a+120|0,o[u>>2]=1359893119,o[u+4>>2]=-1694144372,u=a+112|0,o[u>>2]=1013904242,o[u+4>>2]=-1521486534,u=a+200|0,o[u>>2]=0,o[u+4>>2]=0,u=a+208|0,s=u+56|0,o[s>>2]=0,o[s+4>>2]=0,s=u+48|0,o[s>>2]=0,o[s+4>>2]=0,s=u+40|0,o[s>>2]=0,o[s+4>>2]=0,s=u+32|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,o[s>>2]=0,o[s+4>>2]=0,u=u+16|0,o[u>>2]=0,o[u+4>>2]=0,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+216>>2]=0,o[a+220>>2]=0,o[a+208>>2]=0,o[a+212>>2]=0,u=e+32|0,d=a+104|0,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;c=a+208|0,re(a,c,64),re(a,e,32),re(a,690368,1),re(a,t,n),ne(a,c),re(d,c,32),ne(d,u),s=a+248|0,o[s>>2]=0,o[s+4>>2]=0,s=a+256|0,o[s>>2]=0,o[s+4>>2]=0,s=a+264|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,f=c+24|0,o[f>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[f+4>>2]=l,s=u+16|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,c=c+16|0,o[c>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[c+4>>2]=l,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,s=u+8|0,c=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[a+216>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[a+220>>2]=c,s=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=s,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;c=a+208|0,re(a,c,64),re(a,e,32),ne(a,c),re(d,c,32),ne(d,e),s=a+248|0,o[s>>2]=0,o[s+4>>2]=0,s=a+256|0,o[s>>2]=0,o[s+4>>2]=0,s=a+264|0,o[s>>2]=0,o[s+4>>2]=0,s=u+24|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,f=c+24|0,o[f>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[f+4>>2]=l,s=u+16|0,l=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,c=c+16|0,o[c>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[c+4>>2]=l,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,s=u+8|0,c=i[s+4|0]|i[s+5|0]<<8|i[s+6|0]<<16|i[s+7|0]<<24,o[a+216>>2]=i[0|s]|i[s+1|0]<<8|i[s+2|0]<<16|i[s+3|0]<<24,o[a+220>>2]=c,s=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=s,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(c=(a+208|0)+s|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],s=s+4|0,64==(0|s))break;s=a+208|0,re(a,s,64),re(a,e,32),re(a,690369,1),re(a,t,n),ne(a,s),re(d,s,32),ne(d,u),t=a+248|0,o[t>>2]=0,o[t+4>>2]=0,t=a+256|0,o[t>>2]=0,o[t+4>>2]=0,t=a+264|0,o[t>>2]=0,o[t+4>>2]=0,t=u+24|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,c=s+24|0,o[c>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[c+4>>2]=n,t=u+16|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,s=s+16|0,o[s>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[s+4>>2]=n,o[a+200>>2]=0,o[a+204>>2]=0,o[a+128>>2]=528734635,o[a+132>>2]=1541459225,o[a+120>>2]=1359893119,o[a+124>>2]=-1694144372,o[a+112>>2]=1013904242,o[a+116>>2]=-1521486534,o[a+104>>2]=1779033703,o[a+108>>2]=-1150833019,o[a+240>>2]=0,o[a+244>>2]=0,t=u+8|0,n=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,o[a+216>>2]=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,o[a+220>>2]=n,t=i[u+4|0]|i[u+5|0]<<8|i[u+6|0]<<16|i[u+7|0]<<24,o[a+208>>2]=i[0|u]|i[u+1|0]<<8|i[u+2|0]<<16|i[u+3|0]<<24,o[a+212>>2]=t,s=0;while(1)if(t=(a+208|0)+s|0,r[0|t]=92^i[0|t],n=t+1|0,r[0|n]=92^i[0|n],n=t+2|0,r[0|n]=92^i[0|n],t=t+3|0,r[0|t]=92^i[0|t],s=s+4|0,64==(0|s))break;re(d,a+208|0,64),o[a+96>>2]=0,o[a+100>>2]=0,o[a+24>>2]=528734635,o[a+28>>2]=1541459225,o[a+16>>2]=1359893119,o[a+20>>2]=-1694144372,o[a+8>>2]=1013904242,o[a+12>>2]=-1521486534,o[a>>2]=1779033703,o[a+4>>2]=-1150833019,s=0;while(1)if(t=(a+208|0)+s|0,r[0|t]=106^i[0|t],n=t+1|0,r[0|n]=106^i[0|n],n=t+2|0,r[0|n]=106^i[0|n],t=t+3|0,r[0|t]=106^i[0|t],s=s+4|0,64==(0|s))break;t=a+208|0,re(a,t,64),re(a,e,32),ne(a,t),re(d,t,32),ne(d,e),o[e+64>>2]=0,h=a+272|0}function _e(e,t){var n=0,a=0,s=0,c=0,u=0,l=0,d=0;if(s=h-272|0,h=s,o[e+64>>2]){n=s+208|0,a=n+40|0,o[a>>2]=0,o[a+4>>2]=0,a=n+48|0,o[a>>2]=0,o[a+4>>2]=0,n=n+56|0,o[n>>2]=0,o[n+4>>2]=0,n=s+200|0,o[n>>2]=0,o[n+4>>2]=0,n=s+128|0,o[n>>2]=528734635,o[n+4>>2]=1541459225,n=s+120|0,o[n>>2]=1359893119,o[n+4>>2]=-1694144372,n=s+112|0,o[n>>2]=1013904242,o[n+4>>2]=-1521486534,n=e+56|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+232|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,n=e+48|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+224|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,n=e+40|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+216>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+220>>2]=a,n=i[e+36|0]|i[e+37|0]<<8|i[e+38|0]<<16|i[e+39|0]<<24,o[s+208>>2]=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,o[s+212>>2]=n,n=e+32|0,u=s+104|0,a=0;while(1)if(c=(s+208|0)+a|0,r[0|c]=92^i[0|c],l=c+1|0,r[0|l]=92^i[0|l],l=c+2|0,r[0|l]=92^i[0|l],c=c+3|0,r[0|c]=92^i[0|c],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s+8>>2]=1013904242,o[s+12>>2]=-1521486534,o[s>>2]=1779033703,o[s+4>>2]=-1150833019,a=0;while(1)if(c=(s+208|0)+a|0,r[0|c]=106^i[0|c],l=c+1|0,r[0|l]=106^i[0|l],l=c+2|0,r[0|l]=106^i[0|l],c=c+3|0,r[0|c]=106^i[0|c],a=a+4|0,64==(0|a))break;c=s+208|0,re(s,c,64),re(s,e,32),re(s,690370,1),ne(s,c),re(u,c,32),ne(u,n),a=s+248|0,o[a>>2]=0,o[a+4>>2]=0,a=s+256|0,o[a>>2]=0,o[a+4>>2]=0,a=s+264|0,o[a>>2]=0,o[a+4>>2]=0,a=n+24|0,l=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,d=c+24|0,o[d>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[d+4>>2]=l,a=n+16|0,l=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,c=c+16|0,o[c>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[c+4>>2]=l,o[s+200>>2]=0,o[s+204>>2]=0,o[s+128>>2]=528734635,o[s+132>>2]=1541459225,o[s+120>>2]=1359893119,o[s+124>>2]=-1694144372,o[s+112>>2]=1013904242,o[s+116>>2]=-1521486534,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,a=n+8|0,c=i[a+4|0]|i[a+5|0]<<8|i[a+6|0]<<16|i[a+7|0]<<24,o[s+216>>2]=i[0|a]|i[a+1|0]<<8|i[a+2|0]<<16|i[a+3|0]<<24,o[s+220>>2]=c,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+208>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+212>>2]=a,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=92^i[0|n],c=n+1|0,r[0|c]=92^i[0|c],c=n+2|0,r[0|c]=92^i[0|c],n=n+3|0,r[0|n]=92^i[0|n],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s+8>>2]=1013904242,o[s+12>>2]=-1521486534,o[s>>2]=1779033703,o[s+4>>2]=-1150833019,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=106^i[0|n],c=n+1|0,r[0|c]=106^i[0|c],c=n+2|0,r[0|c]=106^i[0|c],n=n+3|0,r[0|n]=106^i[0|n],a=a+4|0,64==(0|a))break;n=s+208|0,re(s,n,64),re(s,e,32),ne(s,n),re(u,n,32),ne(u,e)}n=s+208|0,a=n+40|0,o[a>>2]=0,o[a+4>>2]=0,a=n+48|0,o[a>>2]=0,o[a+4>>2]=0,n=n+56|0,o[n>>2]=0,o[n+4>>2]=0,n=s+200|0,o[n>>2]=0,o[n+4>>2]=0,n=s+128|0,o[n>>2]=528734635,o[n+4>>2]=1541459225,n=s+120|0,o[n>>2]=1359893119,o[n+4>>2]=-1694144372,n=s+112|0,o[n>>2]=1013904242,o[n+4>>2]=-1521486534,n=e+56|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+232|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,n=e+48|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,u=s+224|0,o[u>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[u+4>>2]=a,o[s+104>>2]=1779033703,o[s+108>>2]=-1150833019,o[s+240>>2]=0,o[s+244>>2]=0,n=e+40|0,a=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,o[s+216>>2]=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,o[s+220>>2]=a,n=i[e+36|0]|i[e+37|0]<<8|i[e+38|0]<<16|i[e+39|0]<<24,o[s+208>>2]=i[e+32|0]|i[e+33|0]<<8|i[e+34|0]<<16|i[e+35|0]<<24,o[s+212>>2]=n,u=s+104|0,a=0;while(1)if(n=(s+208|0)+a|0,r[0|n]=92^i[0|n],c=n+1|0,r[0|c]=92^i[0|c],c=n+2|0,r[0|c]=92^i[0|c],n=n+3|0,r[0|n]=92^i[0|n],a=a+4|0,64==(0|a))break;re(u,s+208|0,64),o[s+96>>2]=0,o[s+100>>2]=0,o[s+24>>2]=528734635,o[s+28>>2]=1541459225,o[s+16>>2]=1359893119,o[s+20>>2]=-1694144372,o[s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>>24,r[t+4|0]=n,r[t+5|0]=n>>>8,r[t+6|0]=n>>>16,r[t+7|0]=n>>>24,o[e+64>>2]=1,h=s+272|0}function Ee(e,t,n,i,a,s){var c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0;p=h-464|0,h=p,c=t+24|0,o[c>>2]=0,o[c+4>>2]=0,c=t+16|0,o[c>>2]=0,o[c+4>>2]=0,c=t+8|0,o[c>>2]=0,o[c+4>>2]=0,o[t>>2]=0,o[t+4>>2]=0,c=n+24|0,o[c>>2]=0,o[c+4>>2]=0,c=n+16|0,o[c>>2]=0,o[c+4>>2]=0,c=n+8|0,o[c>>2]=0,o[c+4>>2]=0,o[n>>2]=0,o[n+4>>2]=0,i&&(o[i>>2]=0),he(p+96|0,690788,p+256|0),y=o[p+120>>2],m=o[p+112>>2],f=o[p+104>>2],g=o[p+96>>2],_=o[p+124>>2],w=o[p+116>>2],l=o[p+108>>2],v=o[p+100>>2],u=o[p+256>>2]|!(y|m|f|g|_|w|l|v),c=u?0:-1,o[p+120>>2]=c&y,o[p+124>>2]=c&_,o[p+112>>2]=c&m,o[p+116>>2]=c&w,o[p+104>>2]=c&f,o[p+108>>2]=c&l,o[p+96>>2]=c&g|0!=(0|u),o[p+100>>2]=c&v,he(p+32|0,655649,0),B=!u,k=a||4;e:if(0|Ke[0|k](p,655649,690788,0,s,0)){a=1;while(1){if(R=a,he(p- -64|0,p,p+256|0),!(o[p+256>>2]|!(o[p+88>>2]|o[p+80>>2]|o[p+72>>2]|o[p+64>>2]|o[p+92>>2]|o[p+84>>2]|o[p+76>>2]|o[p+68>>2]))&&(o[p+132>>2]=0,a=p+256|0,Se(e,a,p- -64|0),Ae(p+168|0,a),c=p,w=o[c+232>>2],_=o[c+236>>2],y=o[c+224>>2],v=o[c+228>>2],f=o[c+216>>2],l=o[c+220>>2],d=o[c+212>>2],g=o[c+240>>2],m=o[c+244>>2],S=m,a=o[c+208>>2],m=We(m>>>16|0,0,977,1),u=a+m|0,a=d+T|0,m=u>>>0>>0?a+1|0:a,a=l,d=m>>>20|0,b=d,d=f+d|0,l=b>>>0>d>>>0?a+1|0:a,a=v,f=l>>>20|0,v=f,f=f+y|0,y=v>>>0>f>>>0?a+1|0:a,a=_,v=y>>>20|0,b=v,v=w+v|0,a=b>>>0>v>>>0?a+1|0:a,A=f,w=a,M=1048575&y,y=-1==(v&f&d)&1048575==(a&M&l),a=65535&S,f=w>>>20|0,b=f,f=f+g|0,_=b>>>0>f>>>0?a+1|0:a,a=1048575&m,C=f,f=We(y&-1==(0|f)&65535==(0|_)&(1048574==(0|a)&u>>>0>4294966318|a>>>0>1048574)|_>>>16,0,977,1)+u|0,a=T+a|0,P=f,o[c+208>>2]=f,y=u>>>0>f>>>0?a+1|0:a,o[c+212>>2]=1048575&y,S=o[c+192>>2],b=o[c+196>>2],m=o[c+184>>2],x=o[c+188>>2],g=o[c+176>>2],E=o[c+180>>2],O=o[c+172>>2],N=o[c+200>>2],f=o[c+204>>2],L=f,a=o[c+168>>2],u=We(f>>>16|0,0,977,1),f=a+u|0,a=O+T|0,O=u>>>0>f>>>0?a+1|0:a,a=E,u=O>>>20|0,E=u,u=u+g|0,E=E>>>0>u>>>0?a+1|0:a,a=x,g=E>>>20|0,x=g,g=g+m|0,I=x>>>0>g>>>0?a+1|0:a,a=b,m=I>>>20|0,S=m+S|0,a=m>>>0>S>>>0?a+1|0:a,m=1048575&E,x=g,b=a,I&=1048575,g=-1==(u&g&S)&1048575==(a&E&I),a=65535&L,c=b>>>20|0,E=c,c=c+N|0,E=E>>>0>c>>>0?a+1|0:a,a=1048575&O,N=c,c=We(g&-1==(0|c)&65535==(0|E)&(1048574==(0|a)&f>>>0>4294966318|a>>>0>1048574)|E>>>16,0,977,1)+f|0,a=T+a|0,a=c>>>0>>0?a+1|0:a,f=c,c=a,a=m,g=c>>>20|0,m=g,g=u+g|0,a=m>>>0>g>>>0?a+1|0:a,o[p+176>>2]=g,u=a,o[p+180>>2]=1048575&a,a=1048575&l,y=y>>>20|0,d=d+y|0,a=y>>>0>d>>>0?a+1|0:a,o[p+216>>2]=d,o[p+220>>2]=1048575&a,d=a,a=M,d=(d>>>20|0)+A|0,a=d>>>0>>0?a+1|0:a,o[p+224>>2]=d,A=a,o[p+228>>2]=1048575&a,l=p,d=S,b&=1048575,a=I,S=u,m=(u>>>20|0)+x|0,u=m>>>0>>0?a+1|0:a,a=b,y=u>>>20|0,b=y,y=d+y|0,a=b>>>0>y>>>0?a+1|0:a,o[l+192>>2]=y,d=a,o[l+196>>2]=1048575&a,a=1048575&w,w=A>>>20|0,v=w+v|0,a=w>>>0>v>>>0?a+1|0:a,o[l+232>>2]=v,v=a,o[l+236>>2]=1048575&a,a=E,w=d,b=(d>>>20|0)+N|0,a=b>>>0>>0?a+1|0:a,o[l+200>>2]=b,d=a,o[l+204>>2]=65535&a,a=_,v=(v>>>20|0)+C|0,a=v>>>0>>0?a+1|0:a,o[l+240>>2]=v,o[l+244>>2]=65535&a,v=m,o[l+184>>2]=m,a=1048575&u,o[l+188>>2]=a,o[l+168>>2]=f,m=1048575&c,o[l+172>>2]=m,r[l+415|0]=f,r[l+414|0]=(255&c)<<24|f>>>8,r[l+413|0]=(65535&c)<<16|f>>>16,r[l+412|0]=(16777215&c)<<8|f>>>24,r[l+411|0]=c,r[l+410|0]=c>>>8,c=g>>>28|0,r[l+409|0]=g<<4|m>>>16,r[l+408|0]=(15&S)<<28|g>>>4,r[l+407|0]=(4095&S)<<20|g>>>12,r[l+406|0]=(1048575&S)<<12|g>>>20,r[l+405|0]=c|(268435455&S)<<4,r[l+404|0]=S>>>4,r[l+403|0]=S>>>12,r[l+402|0]=v,r[l+401|0]=(255&u)<<24|v>>>8,r[l+400|0]=(65535&u)<<16|v>>>16,r[l+399|0]=(16777215&u)<<8|v>>>24,r[l+398|0]=u,r[l+397|0]=u>>>8,c=y>>>28|0,r[l+396|0]=y<<4|a>>>16,r[l+395|0]=(15&w)<<28|y>>>4,r[l+394|0]=(4095&w)<<20|y>>>12,r[l+393|0]=(1048575&w)<<12|y>>>20,r[l+392|0]=c|(268435455&w)<<4,r[l+391|0]=w>>>4,r[l+390|0]=w>>>12,r[l+389|0]=b,r[l+388|0]=(255&d)<<24|b>>>8,r[l+387|0]=(65535&d)<<16|b>>>16,r[l+386|0]=(16777215&d)<<8|b>>>24,r[l+385|0]=d,r[l+384|0]=d>>>8,he(t,l+384|0,l+132|0),i&&(o[i>>2]=1&P|o[l+132>>2]<<1),A=l+136|0,me(A,t,l+96|0),u=o[l+32>>2],d=o[l+136>>2],v=u+d|0,c=o[l+36>>2],a=c+o[l+140>>2]|0,f=d>>>0>v>>>0?a+1|0:a,_=(0|c)==(0|f)&u>>>0>v>>>0|c>>>0>f>>>0,u=o[l+144>>2],c=_+u|0,a=o[l+148>>2],a=c>>>0>>0?a+1|0:a,d=c,c=o[l+40>>2],m=d+c|0,u=a,a=a+o[l+44>>2]|0,g=c>>>0>m>>>0?a+1|0:a,E=o[l+48>>2],c=o[l+152>>2],y=E+c|0,S=o[l+52>>2],a=S+o[l+156>>2]|0,c=c>>>0>y>>>0?a+1|0:a,w=y,a=!u&d>>>0<_>>>0,d=(0|u)==(0|g)&d>>>0>m>>>0|u>>>0>g>>>0,u=a+d|0,a=(u>>>0>>0)+c|0,y=u+y|0,d=y>>>0>>0?a+1|0:a,C=o[l+56>>2],u=o[l+160>>2],_=C+u|0,b=o[l+60>>2],a=b+o[l+164>>2]|0,u=u>>>0>_>>>0?a+1|0:a,a=(0|c)==(0|S)&w>>>0>>0|c>>>0>>0,w=(0|c)==(0|d)&y>>>0>>0|c>>>0>d>>>0,c=a+w|0,a=(c>>>0>>0)+u|0,w=c,c=c+_|0,a=w>>>0>c>>>0?a+1|0:a,w=c,c=l,S=a,b=((0|u)==(0|b)&_>>>0>>0|u>>>0>>0)+((0|u)==(0|a)&w>>>0<_>>>0|a>>>0>>0)|0,u=-1==(0|d),l=u&y>>>0<4294967294|-1!=(0|d)|-1!=(w&a),a=-1162945306==(0|g),_=-1^(l|a&m>>>0<2940772411|g>>>0<3132021990),E=b+(_&(-1076732276==(0|f)&v>>>0>3493216576|f>>>0>3218235020)|_&(a&m>>>0>2940772411|g>>>0>3132021990)|-1==(0|y)&u&(-1^l))|0,l=We(E,0,801750719,1076732275),u=l+v|0,a=f+T|0,b=u,o[c+136>>2]=u,l=u>>>0>>0?a+1|0:a,o[c+140>>2]=l,u=c,c=We(E,0,1354194884,1162945305),_=c+m|0,a=g+T|0,l=(0|l)==(0|f)&v>>>0>b>>>0|l>>>0>>0,f=_+l|0,a=c>>>0>_>>>0?a+1|0:a,c=a,b=f,o[u+144>>2]=f,l=l>>>0>f>>>0?a+1|0:a,o[u+148>>2]=l,f=u,a=d,v=y+E|0,u=v>>>0>>0?a+1|0:a,a=(0|c)==(0|g)&m>>>0>_>>>0|c>>>0>>0,g=(0|c)==(0|l)&_>>>0>b>>>0|c>>>0>l>>>0,c=a+g|0,a=(c>>>0>>0)+u|0,b=c,c=c+v|0,a=b>>>0>c>>>0?a+1|0:a,o[f+152>>2]=c,o[f+156>>2]=a,d=(0|u)==(0|d)&y>>>0>v>>>0|u>>>0>>0,u=(0|a)==(0|u)&c>>>0>>0|a>>>0>>0,c=d+u|0,a=S+(c>>>0>>0)|0,c=c+w|0,a=c>>>0>>0?a+1|0:a,o[f+160>>2]=c,o[f+164>>2]=a,c=o[f+88>>2],u=o[f+92>>2],o[f+456>>2]=u>>>24,o[f+460>>2]=0,u=u<<6|c>>>26,d=o[f+80>>2],g=o[f+84>>2],o[f+448>>2]=c<<6|g>>>26,o[f+452>>2]=1073741823&u,c=d,u=g<<4|c>>>28,d=o[f+72>>2],g=o[f+76>>2],o[f+440>>2]=c<<4|g>>>28,o[f+444>>2]=1073741823&u,c=d,u=g<<2|c>>>30,d=o[p+64>>2],f=o[p+68>>2],o[p+432>>2]=c<<2|f>>>30,o[p+436>>2]=1073741823&u,o[p+424>>2]=d,o[p+428>>2]=1073741823&f,Te(p+424|0,690320),u=o[p+456>>2]<<24,f=o[p+452>>2],a=f>>>6|0,d=o[p+448>>2],o[n+24>>2]=(63&f)<<26|d>>>6,o[n+28>>2]=a|u,u=d<<26,f=o[p+444>>2],a=f>>>4|0,d=o[p+440>>2],o[n+16>>2]=(15&f)<<28|d>>>4,o[n+20>>2]=a|u,u=d<<28,f=o[p+436>>2],a=f>>>2|0,d=o[p+432>>2],o[n+8>>2]=(3&f)<<30|d>>>2,o[n+12>>2]=a|u,u=o[p+428>>2],a=d<<30,o[n>>2]=o[p+424>>2],o[n+4>>2]=a|u,me(n,n,A),a=o[n+28>>2],_=a,a=a>>>31|0,c=-1^a,l=o[n+12>>2],d=1566010995==(0|l),m=o[n+8>>2],b=o[n+16>>2],E=o[n+20>>2],S=o[n+24>>2],c=-1^(c&(d&m>>>0<1470386205|l>>>0<1566010995)|-1!=(b&E)&c|2147483647==(0|_)&-1!=(0|S)|_>>>0<2147483647),u=o[n+4>>2],g=o[n>>2],w=c&(-538366138==(0|u)&g>>>0>1746608288|u>>>0>3756601158)|c&(d&m>>>0>1470386205|l>>>0>1566010995)|a,v=w?-801750718:0,f=w?-1:0,d=f^g,c=v+d|0,A=w?-1076732276:0,a=A+(u^f)|0,g=b|S|m|g|_|E|l|u?-1:0,x=c&g,o[n>>2]=x,d=c>>>0>>0?a+1|0:a,N=g&d,o[n+4>>2]=N,u=n,C=w?-1162945306:0,a=C+(l^f)|0,y=(0|d)==(0|A)&c>>>0>>0|d>>>0>>0,P=w?-1354194885:0,c=f^m,m=P+c|0,d=y+m|0,a=c>>>0>m>>>0?a+1|0:a,c=a,v=d,A=d&g,o[u+8>>2]=A,y=d>>>0>>0?a+1|0:a,O=g&y,o[u+12>>2]=O,d=u,I=w?-2:0,u=f^b,l=I+u|0,b=w?-1:0,a=b+(f^E)|0,u=u>>>0>l>>>0?a+1|0:a,a=(0|c)==(0|C)&m>>>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w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0;a=h-128|0,h=a,O=qe(t,e+40|0,128),s=o[e+8>>2],l=o[r>>2],E=s+l|0,t=o[e+12>>2],n=t+o[r+4>>2]|0,c=l>>>0>E>>>0?n+1|0:n,u=(0|t)==(0|c)&s>>>0>E>>>0|t>>>0>c>>>0,s=o[r+8>>2],n=u+s|0,t=o[r+12>>2],t=n>>>0>>0?t+1|0:t,s=n,n=e+16|0,l=o[n>>2],_=s+l|0,n=t+o[n+4>>2]|0,u=!t&s>>>0>>0,l=l>>>0>_>>>0?n+1|0:n,s=(0|t)==(0|l)&s>>>0>_>>>0|t>>>0>l>>>0,n=u+s|0,t=n>>>0>>0,g=n,n=o[r+16>>2],u=g+n|0,s=t,t=t+o[r+20>>2]|0,n=n>>>0>u>>>0?t+1|0:t,t=e+24|0,w=o[t>>2],f=w+u|0,t=n+o[t+4>>2]|0,g=(0|n)==(0|s)&u>>>0>>0|n>>>0>>0,s=f>>>0>>0?t+1|0:t,t=u,u=f,f=(0|n)==(0|s)&t>>>0>u>>>0|n>>>0>s>>>0,n=g+f|0,t=n>>>0>>0,w=n,g=o[r+24>>2],f=n+g|0,n=t,t=t+o[r+28>>2]|0,t=f>>>0>>0?t+1|0:t,e=e+32|0,g=o[e>>2],r=g+f|0,e=t+o[e+4>>2]|0,S=r>>>0>>0?e+1|0:e,g=r,w=((0|t)==(0|n)&f>>>0>>0|t>>>0>>0)+((0|t)==(0|S)&r>>>0>>0|t>>>0>S>>>0)|0,t=-1==(0|s),r=t&u>>>0<4294967294|-1!=(0|s)|-1!=(r&S),e=-1162945306==(0|l),n=-1^(r|e&_>>>0<2940772411|l>>>0<3132021990),f=w+(n&(-1076732276==(0|c)&E>>>0>3493216576|c>>>0>3218235020)|n&(e&_>>>0>2940772411|l>>>0>3132021990)|-1==(0|u)&t&(-1^r))|0,e=We(f,0,801750719,1076732275),r=e+E|0,t=c+T|0,o[a+8>>2]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+84>>2]=1048575&l,e=i+216|0,t=i+152|0,n=i+88|0,d=i+24|0,c=v?o[e>>2]:y?o[t>>2]:m?o[n>>2]:p?c:o[d>>2],e=v?o[e+4>>2]:y?o[t+4>>2]:m?o[n+4>>2]:p?w:o[d+4>>2],w=e,n=e>>>16|0,o[a+72>>2]=(65535&e)<<16|c>>>16,o[a+76>>2]=n,e=i+192|0,t=i+128|0,n=i- -64|0,R=v?o[e>>2]:y?o[t>>2]:m?o[n>>2]:p?R:o[i>>2],C=v?o[e+4>>2]:y?o[t+4>>2]:m?o[n+4>>2]:p?C:o[i+4>>2],o[a+40>>2]=R,o[a+44>>2]=1048575&C,n=r<<4&1048560,e=i+240|0,t=i+176|0,d=i+112|0,b=i+48|0,s=v?o[e>>2]:y?o[t>>2]:m?o[d>>2]:p?s:o[b>>2],t=v?o[e+4>>2]:y?o[t+4>>2]:m?o[d+4>>2]:p?E:o[b+4>>2],E=t,e=t>>>28|0,o[a+104>>2]=(268435455&t)<<4|s>>>28,o[a+108>>2]=e|n,n=i+232|0,d=i+168|0,b=i+104|0,e=i+40|0,f=v?o[n>>2]:y?o[d>>2]:m?o[b>>2]:p?f:o[e>>2],g=v?o[n+4>>2]:y?o[d+4>>2]:m?o[b+4>>2]:p?g:o[e+4>>2],o[a+96>>2]=s<<24&-16777216|g>>>8,o[a+100>>2]=1048575&(t<<24|s>>>8),o[a+88>>2]=f<<12&-4096|l>>>20,o[a+92>>2]=1048575&(g<<12|f>>>20),e=i+208|0,t=i+144|0,d=i+80|0,b=i+16|0,u=v?o[e>>2]:y?o[t>>2]:m?o[d>>2]:p?u:o[b>>2],e=v?o[e+4>>2]:y?o[t+4>>2]:m?o[d+4>>2]:p?S:o[b+4>>2],S=e,t=e>>>28|0,o[a+64>>2]=(268435455&e)<<4|u>>>28,o[a+68>>2]=t|c<<4&1048560,t=u<<24&-16777216,e=i+200|0,d=i+136|0,b=i+72|0,i=i+8|0,x=v?o[e>>2]:y?o[d>>2]:m?o[b>>2]:p?x:o[i>>2],I=v?o[e+4>>2]:y?o[d+4>>2]:m?o[b+4>>2]:p?I:o[i+4>>2],o[a+56>>2]=I>>>8|t,o[a+60>>2]=1048575&(S<<24|u>>>8),o[a+48>>2]=x<<12&-4096|C>>>20,o[a+52>>2]=1048575&(I<<12|x>>>20),Ie(O,O,a+40|0),P=P+2|0,N=N+1|0,A=A+256|0,32768==(0|A))break;h=a+128|0}function Ae(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0;s=h-80|0,h=s,o[e+80>>2]=o[t+120>>2],g=t+104|0,f=o[g>>2],p=o[g+4>>2],m=t+96|0,c=o[m>>2],d=o[m+4>>2],y=t+88|0,a=o[y>>2],u=o[y+4>>2],l=o[t+84>>2],v=t+112|0,w=o[v>>2],i=o[v+4>>2],S=i,r=o[t+80>>2],n=We(i>>>16|0,0,977,1),i=r+n|0,r=l+T|0,l=n>>>0>i>>>0?r+1|0:r,r=u,n=l>>>20|0,u=n,n=n+a|0,u=u>>>0>n>>>0?r+1|0:r,r=d,a=u>>>20|0,d=a,a=a+c|0,d=d>>>0>a>>>0?r+1|0:r,r=p,c=d>>>20|0,p=c,c=c+f|0,f=p>>>0>c>>>0?r+1|0:r,A=1048575&u,r=1048575&l,_=i,b=r,p=n,l=a,E=1048575&d,a=-1==(n&a&c)&1048575==(E&u&f),r=65535&S,n=f>>>20|0,i=n,n=n+w|0,r=i>>>0>n>>>0?r+1|0:r,u=n,i=r,a=We(a&-1==(0|n)&65535==(0|r)&(1048574==(0|b)&_>>>0>4294966318|b>>>0>1048574)|r>>>16,0,977,1),n=a+_|0,r=b+T|0,r=n>>>0>>0?r+1|0:r,a=n,w=r,r=A,n=w>>>20|0,d=n+p|0,n=n>>>0>d>>>0?r+1|0:r,o[s+40>>2]=a,o[s+44>>2]=d<<20&1072693248|1048575&w,r=E,p=l,a=n,l=(n>>>20|0)+l|0,n=p>>>0>l>>>0?r+1|0:r,w=l<<10&1073740800,r=a>>>10|0,o[s+48>>2]=(1023&a)<<22|d>>>10,o[s+52>>2]=w|1023&r,r=1048575&f,a=n,n=n>>>20|0,c=n+c|0,n=n>>>0>c>>>0?r+1|0:r,o[s+56>>2]=(1048575&a)<<12|l>>>20,o[s+60>>2]=1073741823&c,r=i,i=(n>>>20|0)+u|0,r=i>>>0>>0?r+1|0:r,o[s+72>>2]=r>>>8&255,o[s+76>>2]=0,r=r<<22|i>>>10,o[s+64>>2]=4194303&((1073741823&n)<<2|c>>>30)|i<<22&-4194304,o[s+68>>2]=1073741823&r,u=s+40|0,Te(u,690464),n=o[s+44>>2],i=n,o[t+80>>2]=o[s+40>>2],o[t+84>>2]=1048575&n,a=o[s+72>>2]<<8,f=o[s+68>>2],r=f>>>22|0,c=o[s+64>>2],o[v>>2]=(4194303&f)<<10|c>>>22,o[v+4>>2]=r|a,n=c,r=f<<30|n>>>2,c=n<<30&-1073741824,n=o[s+56>>2],a=o[s+60>>2],o[g>>2]=a|c,o[g+4>>2]=1048575&r,r=a<<20|n>>>12,c=n<<20&-1048576,n=o[s+48>>2],a=o[s+52>>2],o[m>>2]=a>>>10|c,o[m+4>>2]=1048575&r,a=1048575&(a<<10|n>>>22),o[y>>2]=n<<10&-1024|i>>>20,o[y+4>>2]=a,r=t+80|0,Oe(u,r),ue(s,r,u),ue(t,t,u),r=t+40|0,ue(r,r,s),o[v>>2]=0,o[v+4>>2]=0,o[g>>2]=0,o[g+4>>2]=0,o[m>>2]=0,o[m+4>>2]=0,o[y>>2]=0,o[y+4>>2]=0,o[t+80>>2]=1,o[t+84>>2]=0,r=o[t+4>>2],o[e>>2]=o[t>>2],o[e+4>>2]=r,r=t+8|0,n=o[r+4>>2],i=e+8|0,o[i>>2]=o[r>>2],o[i+4>>2]=n,r=t+16|0,n=o[r+4>>2],i=e+16|0,o[i>>2]=o[r>>2],o[i+4>>2]=n,r=t+24|0,n=o[r+4>>2],i=e+24|0,o[i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>2],n=o[i+8>>2],f=o[i+36>>2],l=o[i+28>>2],a=o[i+20>>2],s=o[i+12>>2],y=o[i+44>>2]|!(u|r|c|n|f|l|a|s),e=y?0:-1,u&=e,p=e&r,d=e&c,n&=e,f&=e,v=e&l,g=e&a,r=e&s,c=u|p|d|n|f|v|g|r?-1:0,n^=-1,s=n-801750718|0,o[i+8>>2]=c&s,r^=-1,a=r-((n>>>0<801750718)+1076732275|0)|0,o[i+12>>2]=a&c,e=(0|r)==(0|a)&n>>>0>s>>>0|r>>>0>a>>>0,a=-1^d,n=e+a|0,s=-1^g,r=s,g=n-1354194885|0,o[i+16>>2]=g&c,r=n>>>0>>0?r+1|0:r,l=r-((n>>>0<1354194885)+1162945305|0)|0,o[i+20>>2]=l&c,p^=-1,e=(0|r)==(0|s)&n>>>0>>0|r>>>0>>0,a=(0|r)==(0|l)&n>>>0>g>>>0|r>>>0>l>>>0,r=e+a|0,d=-1^v,n=d+(r>>>0>>0)|0,e=r,r=r+p|0,n=e>>>0>r>>>0?n+1|0:n,s=r-2|0,o[i+24>>2]=s&c,a=n-(r>>>0<2)|0,o[i+28>>2]=a&c,e=(0|n)==(0|d)&r>>>0

>>0|n>>>0>>0,r=(0|n)==(0|a)&r>>>0>s>>>0|n>>>0>a>>>0,e=e+r|0,n=e>>>0>>0,r=e-u|0,o[i+32>>2]=r-2&c,o[i+36>>2]=(n-((e>>>0>>0)+f|0)|0)-(r>>>0<2)&c,pe(t,m),e=!y):(Ke[o[e+168>>2]](689571,o[e+172>>2]),e=0),h=i+48|0,e}function xe(){var e=0,t=0,r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0;return i=h-80|0,h=i,x=i+8|0,e=i+48|0,he(x,690788,e),k=o[i+48>>2],E=o[i+32>>2],I=o[i+36>>2],S=o[i+24>>2],O=o[i+28>>2],A=o[i+8>>2],N=o[i+12>>2],C=o[i+16>>2],P=o[i+20>>2],o[i+44>>2]=0,he(e,690949,i+44|0),n=o[i+52>>2],e=n+N|0,r=o[i+48>>2],b=r+A|0,y=b>>>0>>0?e+1|0:e,a=o[i+60>>2],e=a+P|0,l=e+1|0,d=e,e=o[i+56>>2],t=e+C|0,s=t>>>0>>0?l:d,a=(0|s)==(0|a)&e>>>0>t>>>0|s>>>0>>0,e=(0|n)==(0|y)&r>>>0>b>>>0|n>>>0>y>>>0,w=e+t|0,g=w>>>0>>0?s+1|0:s,r=(0|g)==(0|s)&t>>>0>w>>>0|s>>>0>g>>>0,a=a+r|0,t=o[i+68>>2],e=t+O|0,l=e+1|0,d=e,e=o[i+64>>2],s=e+S|0,c=s>>>0>>0?l:d,r=c+(r>>>0>a>>>0)|0,v=s+a|0,a=v>>>0>>0?r+1|0:r,n=(0|a)==(0|c)&s>>>0>v>>>0|a>>>0>>0,u=n+((0|t)==(0|c)&e>>>0>s>>>0|t>>>0>c>>>0)|0,e=a,s=-1==(0|e),m=o[i+76>>2],r=m+I|0,t=o[i+72>>2],p=t+E|0,f=p>>>0>>0?r+1|0:r,r=f+(n>>>0>u>>>0)|0,l=r+1|0,d=r,r=u+p|0,_=r>>>0>>0?l:d,n=s&v>>>0<4294967294|-1!=(0|e)|-1!=(_&r),c=-1162945306==(0|g),u=-1^(n|c&w>>>0<2940772411|g>>>0<3132021990),n=(((0|f)==(0|m)&t>>>0>p>>>0|f>>>0>>0)+((0|f)==(0|_)&r>>>0

>>0|f>>>0>_>>>0)|0)+(u&(-1076732276==(0|y)&b>>>0>3493216576|y>>>0>3218235020)|u&(c&w>>>0>2940772411|g>>>0>3132021990)|-1==(0|v)&s&(-1^n))|0,p=n+v|0,p>>>0>>0&&(e=e+1|0),c=We(n,0,1354194884,1162945305),s=g+T|0,t=We(n,0,801750719,1076732275),l=t+b|0,m=c+w|0,n=y+T|0,u=t>>>0>l>>>0?n+1|0:n,n=(0|u)==(0|y)&b>>>0>l>>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o[g+4>>2]|0,de=he+32|0,N=de,U=o[a+1656>>2],_=o[g>>2],E=U+_|0,o[N>>2]=E,g=_>>>0>E>>>0?n+1|0:n,o[N+4>>2]=g,ee=o[a+1628>>2],n=ee+o[a+1668>>2]|0,R=o[a+1624>>2],_=o[a+1664>>2],N=R+_|0,o[a+1544>>2]=N,_=_>>>0>N>>>0?n+1|0:n,o[a+1548>>2]=_,ie=a+1232|0,p=N<<1,d=_<<1|N>>>31,He(ie,s,c,0,0,p,d,0,0),V=a+1312|0,C=l<<1,w=y,m=l,y=y<<1|l>>>31,He(V,f,i,0,0,C,y,0,0),b=a+1168|0,n=g,He(b,E,n,0,0,E,n,0,0),te=a+1152|0,He(te,o[a+1168>>2],o[a+1172>>2],0,0,15632,16,0,0),G=a+1120|0,l=E<<1,g=n<<1|E>>>31,He(G,l,g,0,0,N,_,0,0),K=a+1216|0,He(K,s,c,0,0,C,y,0,0),re=a+1328|0,He(re,f,i,0,0,f,i,0,0),J=a+1136|0,n=b+8|0,He(J,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),le=a+1248|0,He(le,N,_,0,0,N,_,0,0),Q=a+1104|0,He(Q,l,g,0,0,m,w,0,0),H=i,N=f,n=i<<1|f>>>31,oe=a+1200|0,C=s,b=c,He(oe,s,c,0,0,f<<1,n,0,0),y=o[a+1232>>2],i=o[a+1312>>2],f=y+i|0,s=o[a+1236>>2],n=s+o[a+1316>>2]|0,i=i>>>0>f>>>0?n+1|0:n,n=i+o[a+1156>>2]|0,c=f,E=o[a+1152>>2],f=c+E|0,k=f,f=f>>>0>>0?n+1|0:n,E=(0|i)==(0|f)&c>>>0>k>>>0|i>>>0>f>>>0,n=te+8|0,_=o[n>>2],u=o[n+4>>2],s=(0|i)==(0|s)&c>>>0>>0|i>>>0>>0,n=V+8|0,y=o[n>>2],i=ie+8|0,c=y+o[i>>2]|0,i=o[i+4>>2]+o[n+4>>2]|0,n=c>>>0>>0?i+1|0:i,i=s+c|0,n=(i>>>0>>0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20,E=o[a+1040>>2],f=y+E|0,c=s,n=s+o[a+1044>>2]|0,n=f>>>0>>0?n+1|0:n,He(l,f,n,0,0,15632,16,0,0),m=a+1008|0,s=m,f=(0|n)==(0|c)&f>>>0>>0|n>>>0>>0,n=N+8|0,c=o[n>>2],n=o[n+4>>2],i=i>>>20|0,l=i,i=i+c|0,n=l>>>0>i>>>0?n+1|0:n,c=i,i=i+f|0,n=c>>>0>i>>>0?n+1|0:n,He(s,i,n,0,0,64028672,65536,0,0),J=o[a+1608>>2],re=o[a+1612>>2],Q=o[a+1600>>2],be=o[a+1604>>2],fe=o[a+1584>>2],Te=o[a+1588>>2],N=o[a+1616>>2],_=o[a+1620>>2],oe=o[a+1592>>2],Ce=o[a+1596>>2],o[a+1416>>2]=-4-U,o[a+1420>>2]=262143-((U>>>0>4294967292)+X|0),o[a+1408>>2]=-4-z,o[a+1412>>2]=4194303-((z>>>0>4294967292)+B|0),o[a+1400>>2]=-4-ce,o[a+1404>>2]=4194303-((ce>>>0>4294967292)+M|0),o[a+1392>>2]=-4-se,o[a+1396>>2]=4194303-((se>>>0>4294967292)+D|0),o[a+1384>>2]=-3908-R,o[a+1388>>2]=4194299-((R>>>0>4294963388)+ee|0),n=le+8|0,w=o[n>>2],C=o[n+4>>2],n=ve+8|0,c=o[n>>2],z=o[n+4>>2],f=o[a+1248>>2],n=o[a+1252>>2],s=o[a+1088>>2],i=o[a+1092>>2],y=G+8|0,U=o[y>>2],R=o[y+4>>2],y=pe+8|0,l=o[y>>2],D=o[y+4>>2],E=o[a+1280>>2],M=o[a+1284>>2],g=o[a+1056>>2],y=o[a+1060>>2],d=d+8|0,le=o[d>>2],ve=o[d+4>>2],u=u+8|0,ee=o[u>>2],pe=o[u+4>>2],u=o[a+1296>>2],xe=o[a+1300>>2],G=o[a+1264>>2],B=o[a+1268>>2],d=p+8|0,H=o[d>>2],se=o[d+4>>2],d=o[a+1024>>2],p=o[a+1028>>2],K=o[a+1008>>2],X=o[a+1012>>2],m=m+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,n=o[a+1420>>2]+ae|0,i=o[a+1416>>2]+Z|0,n=i>>>0>>0?n+1|0:n,u=k?i:Y,o[a+1416>>2]=u,d=k?n:ie,o[a+1420>>2]=d,n=o[a+1412>>2]+Se|0,i=o[a+1408>>2]+P|0,n=i>>>0

>>0?n+1|0:n,H=k?i:te,o[a+1408>>2]=H,V=k?n:y,o[a+1412>>2]=V,n=o[a+1404>>2]+Ee|0,i=o[a+1400>>2]+I|0,n=i>>>0>>0?n+1|0:n,c=k?i:se,o[a+1400>>2]=c,s=k?n:E,o[a+1404>>2]=s,n=o[a+1396>>2]+_e|0,i=o[a+1392>>2]+x|0,n=i>>>0>>0?n+1|0:n,i=k?i:ce,o[a+1392>>2]=i,l=k?n:N,o[a+1396>>2]=l,n=o[a+1388>>2]+Ae|0,g=o[a+1384>>2]+ne|0,n=g>>>0>>0?n+1|0:n,g=k?g:_,o[a+1384>>2]=g,n=k?n:f,p=n,o[a+1388>>2]=n,m=a+896|0,I=g<<1,x=n<<1|g>>>31,He(m,I,x,0,0,H,V,0,0),L=l,P=i,i=l<<1|i>>>31,w=a+944|0,l=P<<1,He(w,l,i,0,0,c,s,0,0),A=a+832|0,He(A,u,d,0,0,u,d,0,0),C=a+816|0,He(C,o[a+832>>2],o[a+836>>2],0,0,15632,16,0,0),b=a+784|0,v=u<<1,Z=d<<1|u>>>31,He(b,v,Z,0,0,g,n,0,0),S=a+880|0,He(S,l,i,0,0,H,V,0,0),$=a+928|0,He($,c,s,0,0,c,s,0,0),O=a+800|0,n=A+8|0,He(O,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),z=a+992|0,He(z,g,p,0,0,g,p,0,0),F=a+768|0,He(F,v,Z,0,0,P,L,0,0),j=s,ne=c,i=s<<1|c>>>31,U=a+864|0,He(U,c<<1,i,0,0,H,V,0,0),g=o[a+896>>2],c=o[a+944>>2],i=g+c|0,l=o[a+900>>2],n=l+o[a+948>>2]|0,c=i>>>0>>0?n+1|0:n,n=c+o[a+820>>2]|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8|0,n=v+o[i>>2]|0,i=o[i+4>>2],i=n>>>0>>0?i+1|0:i,v=n,n=i,s=s>>>20|0,i=s+v|0,n=s>>>0>i>>>0?n+1|0:n,s=i,i=i+I|0,n=x+((s>>>0>i>>>0?n+1|0:n)<<12|i>>>20)|0,i=i<<12|l>>>20,s=i+g|0,o[a+1496>>2]=s,i=i>>>0>s>>>0?n+1|0:n,o[a+1500>>2]=i,n=o[a+1544>>2],l=-5862-n|0,n=6291449-(o[a+1548>>2]+(n>>>0>4294961434)|0)|0,o[a+1424>>2]=l,o[a+1428>>2]=n,n=o[ge>>2],l=-6-n|0,n=6291455-(o[ge+4>>2]+(n>>>0>4294967290)|0)|0,o[a+1432>>2]=l,o[a+1436>>2]=n,n=o[me>>2],l=-6-n|0,n=6291455-(o[me+4>>2]+(n>>>0>4294967290)|0)|0,o[a+1440>>2]=l,o[a+1444>>2]=n,n=o[ye>>2],l=-6-n|0,n=6291455-(o[ye+4>>2]+(n>>>0>4294967290)|0)|0,o[a+1448>>2]=l,o[a+1452>>2]=n,n=o[de>>2],l=-6-n|0,n=393215-(o[de+4>>2]+(n>>>0>4294967290)|0)|0,o[a+1456>>2]=l,o[a+1460>>2]=n,v=C,n=v<<1|A>>>31,ne=a+528|0,l=p,C=A<<1,p=n,He(ne,c,l,0,0,C,n,0,0),L=a+592|0,g=u,u=d,x=m<<1,S=w,b=w<<1|m>>>31,He(L,g,u,0,0,x,b,0,0),I=a+496|0,He(I,s,i,0,0,s,i,0,0),j=a+480|0,He(j,o[a+496>>2],o[a+500>>2],0,0,15632,16,0,0),q=a+448|0,d=s<<1,w=i<<1|s>>>31,He(q,d,w,0,0,A,v,0,0),W=a+544|0,He(W,c,l,0,0,x,b,0,0),$=a+608|0,He($,g,u,0,0,g,u,0,0),O=a+464|0,n=I+8|0,He(O,o[n>>2],o[n+4>>2],0,0,64028672,65536,0,0),H=a+736|0,He(H,A,v,0,0,A,v,0,0),V=a+432|0,He(V,d,w,0,0,m,S,0,0),F=a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0,He(V,A,P,0,0,C,p,0,0),F=a+688|0,He(F,m,S,0,0,m,S,0,0),p=a+368|0,He(p,d,w,0,0,x,I,0,0),X=a+352|0,d=X,u=(0|n)==(0|i)&u>>>0>>0|n>>>0>i>>>0,g=(0|n)==(0|v)&g>>>0>>0|n>>>0>>0,n=W+8|0,m=o[n>>2],w=q+8|0,i=m+o[w>>2]|0,n=o[w+4>>2]+o[n+4>>2]|0,n=i>>>0>>0?n+1|0:n,m=i,i=i+g|0,n=m>>>0>i>>>0?n+1|0:n,g=i,s=s>>>20|0,i=s,s=s+g|0,n=i>>>0>s>>>0?n+1|0:n,i=s+u|0,s=i>>>0>>0?n+1|0:n,n=s<<12|i>>>20,g=i<<12|c>>>20,u=o[a+368>>2],c=g+u|0,i=n,n=n+o[a+372>>2]|0,n=c>>>0>>0?n+1|0:n,He(d,c,n,0,0,15632,16,0,0),Q=a+336|0,u=Q,g=(0|n)==(0|i)&c>>>0>>0|n>>>0>>0,n=p+8|0,d=o[n>>2],n=o[n+4>>2],c=s>>>20|0,i=c+d|0,n=c>>>0>i>>>0?n+1|0:n,s=i,i=i+g|0,n=s>>>0>i>>>0?n+1|0:n,He(u,i,n,0,0,64028672,65536,0,0),n=a+1424|0,ue(n,n,a+1464|0),n=o[a+1348>>2],v=n,b=o[a+1344>>2],s=b,n=n<<1|s>>>31,S=a- -64|0,i=o[a+1368>>2],c=o[a+1372>>2],w=s<<1,m=n,He(S,i,c,0,0,w,n,0,0),n=o[a+1356>>2],W=n,$=o[a+1352>>2],u=$,n=n<<1|u>>>31,q=a+272|0,s=o[a+1360>>2],g=o[a+1364>>2],C=u<<1,d=n,He(q,s,g,0,0,C,n,0,0),x=a+224|0,n=o[a+1376>>2],u=o[a+1380>>2],He(x,n,u,0,0,n,u,0,0),O=a+208|0,He(O,o[a+224>>2],o[a+228>>2],0,0,15632,16,0,0),p=u<<1,u=n,n=p|n>>>31,R=a+176|0,p=u<<1,A=n,He(R,p,n,0,0,b,v,0,0),D=a+80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<12|g>>>20,i=g<<12|e>>>20,e=i+x|0,n=n+b|0,n=(e>>>0>>0?n+1|0:n)+C|0,i=e,e=e+A|0,n=i>>>0>e>>>0?n+1|0:n,o[I>>2]=e,o[I+4>>2]=n,n=(n<<1|e>>>31)+C|0,e<<=1,i=e,e=e+A|0,n=i>>>0>e>>>0?n+1|0:n,o[de>>2]=e,o[de+4>>2]=n,g=a,n=(u<<1|s>>>31)+S|0,e=s<<1,i=e,e=e+v|0,n=i>>>0>e>>>0?n+1|0:n,o[a+1544>>2]=e,o[a+1548>>2]=n,e=H+8|0,p=o[e>>2],fe=o[e+4>>2],e=z+8|0,_e=o[e>>2],Ee=o[e+4>>2],e=o[a+736>>2],n=o[a+740>>2],m=o[a+416>>2],s=o[a+420>>2],i=U+8|0,Se=o[i>>2],Ae=o[i+4>>2],i=ae+8|0,w=o[i>>2],le=o[i+4>>2],O=o[a+672>>2],ve=o[a+676>>2],H=o[a+384>>2],a=o[a+388>>2],i=F+8|0,pe=o[i>>2],be=o[i+4>>2],i=V+8|0,ee=o[i>>2],Te=o[i+4>>2],G=o[g+688>>2],Ce=o[g+692>>2],K=o[g+624>>2],ae=o[g+628>>2],i=X+8|0,A=o[i>>2],C=o[i+4>>2],re=o[g+352>>2],xe=o[g+356>>2],J=o[g+336>>2],X=o[g+340>>2],i=Q+8|0,Ie=o[i>>2],v=o[i+4>>2],V=c+104|0,b=o[V>>2],S=o[V+4>>2],F=c+96|0,x=o[F>>2],I=o[F+4>>2],z=c+88|0,P=o[z>>2],j=o[z+4>>2],U=c+112|0,q=o[U>>2],u=o[U+4>>2],W=o[c+80>>2],$=o[c+84>>2],ue(he,he,g+1344|0),d=o[g+1544>>2],Q=o[g+1548>>2],n=n+s|0,i=e+m|0,e=i>>>0>>0?n+1|0:n,oe=d,n=i,d=k?_:n,_=oe+d|0,i=Q+(k?f:1048575&e)|0,he=8388599-((_>>>0>4294959480)+(d>>>0>_>>>0?i+1|0:i)|0)|0,Q=-7816-_|0,i=1&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967292)+g|0),S=o[i+404>>2],b=o[i+400>>2],o[i+360>>2]=-4-b,o[i+364>>2]=4194303-((b>>>0>4294967292)+S|0),d=o[i+412>>2],c=o[i+408>>2],o[i+368>>2]=-4-c,o[i+372>>2]=4194303-((c>>>0>4294967292)+d|0),s=We(o[i+456>>2],o[i+460>>2],3,0),a=T,E=We(o[i+424>>2],o[i+428>>2],3,0),l=T,r=1&E,n=0-r|0,p=n,f=0-r|0,r=(f>>>16|0)+a|0,n=(65535&f)<<16|n>>>16,a=n+s|0,r=n>>>0>a>>>0?r+1|0:r,o[i+456>>2]=(1&r)<<31|a>>>1,o[i+460>>2]=r>>>1,u=a<<19&524288,s=f>>>12|0,p=(4095&f)<<20|p>>>12,n=We(o[i+448>>2],o[i+452>>2],3,0),a=p+n|0,r=s+T|0,n=n>>>0>a>>>0?r+1|0:r,r=(n>>>1|0)+u|0,f=(1&n)<<31|a>>>1,r=f>>>0>f>>>0?r+1|0:r,o[i+448>>2]=f,o[i+452>>2]=r,f=a<<19&524288,a=We(o[i+440>>2],o[i+444>>2],3,0)+p|0,n=T+s|0,n=a>>>0

>>0?n+1|0:n,r=(n>>>1|0)+f|0,u=(1&n)<<31|a>>>1,r=u>>>0>u>>>0?r+1|0:r,o[i+440>>2]=u,o[i+444>>2]=r,u=a<<19&524288,n=We(o[i+432>>2],o[i+436>>2],3,0),f=n+p|0,r=s+T|0,a=n>>>0>f>>>0?r+1|0:r,r=(a>>>1|0)+u|0,A=(1&a)<<31|f>>>1,n=A,r=n>>>0>n>>>0?r+1|0:r,o[i+432>>2]=n,o[i+436>>2]=r,f=f<<19&524288,r=(1048574&s)+l|0,a=(-977&p)+E|0,r=a>>>0>>0?r+1|0:r,a=(1&r)<<31|a>>>1,r=(r>>>1|0)+f|0,n=a,r=n>>>0>>0?r+1|0:r,o[i+424>>2]=n,o[i+428>>2]=r,l=o[i+420>>2],u=o[i+416>>2],o[i+376>>2]=-4-u,o[i+380>>2]=262143-((u>>>0>4294967292)+l|0),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+1|0:r,e=t<<12|e>>>20,a=e+f|0,n=p+(r<<12|t>>>20)|0,r=(e>>>0>a>>>0?n+1|0:n)+c|0,e=a+y|0,r=e>>>0>>0?r+1|0:r,o[v>>2]=-6-e,o[v+4>>2]=393215-((e>>>0>4294967290)+r|0),h=u+464|0}function Pe(e,t){var r=0,n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0;c=h-80|0,h=c,o[t+120>>2]?(o[e+80>>2]=1,Ve(e,80)):(f=t+88|0,i=o[f>>2],s=o[f+4>>2],a=o[t+84>>2],n=t+112|0,m=o[n>>2],u=o[n+4>>2],y=u,n=o[t+80>>2],r=We(u>>>16|0,0,977,1),d=n+r|0,a=a+T|0,n=s,l=r>>>0>d>>>0?a+1|0:a,r=l>>>20|0,s=r,r=r+i|0,s=s>>>0>r>>>0?n+1|0:n,v=1048575&s,a=t+104|0,g=o[a>>2],w=o[a+4>>2],a=t+96|0,u=o[a>>2],i=o[a+4>>2],a=s>>>20|0,u=a+u|0,i=a>>>0>u>>>0?i+1|0:i,n=w,p=i,i=i>>>20|0,a=i+g|0,n=i>>>0>a>>>0?n+1|0:n,g=1048575&n,w=t+80|0,i=u,p&=1048575,b=-1==(r&i&a)&1048575==(s&p&n),s=n>>>20|0,n=65535&y,u=s+m|0,s=u>>>0>>0?n+1|0:n,n=1048575&l,m=n,b&-1==(0|u)&65535==(0|s)&(1048574==(0|n)&d>>>0>4294966318|n>>>0>1048574)|s>>>16&&(n=m+1|0,d=d+977|0,n=d>>>0<977?n+1|0:n,m=1048575&n,l=n,n=v,l=l>>>20|0,r=r+l|0,n=l>>>0>r>>>0?n+1|0:n,v=1048575&n,l=i,y=n>>>20|0,i=p,n=l+y|0,i=n>>>0>>0?i+1|0:i,p=1048575&i,l=i,i=n,n=g,l=l>>>20|0,a=a+l|0,n=l>>>0>a>>>0?n+1|0:n,g=1048575&n,l=n,n=s,s=u,u=(l>>>20|0)+u|0,s=65535&(s>>>0>u>>>0?n+1|0:n)),o[c+72>>2]=s>>>8,o[c+76>>2]=0,n=s<<22|u>>>10,o[c+64>>2]=u<<22&-4194304|(1073741823&g)<<2|a>>>30,o[c+68>>2]=1073741823&n|g>>>30,o[c+56>>2]=(1048575&p)<<12|i>>>20,o[c+60>>2]=1073741823&a|p>>>20,i=i<<10&1073740800,o[c+48>>2]=(1023&v)<<22|r>>>10,o[c+52>>2]=v>>>10|i,o[c+40>>2]=d,o[c+44>>2]=m|r<<20&1072693248,d=c+40|0,ge(d,690464),a=o[c+44>>2],i=a,o[t+80>>2]=o[c+40>>2],o[t+84>>2]=1048575&i,a=o[c+72>>2]<<8,u=o[c+68>>2],n=u>>>22|0,s=o[c+64>>2],o[t+112>>2]=(4194303&u)<<10|s>>>22,o[t+116>>2]=n|a,r=s,n=u<<30|r>>>2,s=r<<30&-1073741824,r=o[c+56>>2],a=o[c+60>>2],o[t+104>>2]=a|s,o[t+108>>2]=1048575&n,a=a<<20|r>>>12,s=r<<20&-1048576,u=1048575&a,r=o[c+48>>2],a=o[c+52>>2],o[t+96>>2]=a>>>10|s,o[t+100>>2]=u,n=a<<10|r>>>22,o[t+88>>2]=r<<10&-1024|i>>>20,o[t+92>>2]=1048575&n,Oe(d,w),ue(c,w,d),ue(t,t,d),r=t+40|0,ue(r,r,c),o[f>>2]=0,o[f+4>>2]=0,r=f+8|0,o[r>>2]=0,o[r+4>>2]=0,r=f+16|0,o[r>>2]=0,o[r+4>>2]=0,r=f+24|0,o[r>>2]=0,o[r+4>>2]=0,o[e+80>>2]=0,o[t+80>>2]=1,o[t+84>>2]=0,r=o[t+4>>2],o[e>>2]=o[t>>2],o[e+4>>2]=r,r=t+8|0,a=o[r+4>>2],i=e+8|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+16|0,a=o[r+4>>2],i=e+16|0,o[i>>2]=o[r>>2],o[i+4>>2]=a,r=t+24|0,a=o[r+4>>2],i=e+24|0,o[i>>2]=o[r>>2],o[i+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[0|i]=0,r[i+1|0]=0,r[i+2|0]=0,r[i+3|0]=0,r[i+4|0]=0,r[i+5|0]=0,r[i+6|0]=0,r[i+7|0]=0,n?(e=0,se(a,n)&&(e=0,ce(a+40|0,a,0)&&(le(t,a+40|0),e=1))):(Ke[o[e+168>>2]](689936,o[e+172>>2]),e=0)):(Ke[o[e+168>>2]](689638,o[e+172>>2]),e=0),h=a+128|0,e}function Re(e,t){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0;return a=h-96|0,h=a,r[690885]=0,r[690886]=0,r[690887]=0,r[690888]=0,r[690889]=0,r[690890]=0,r[690891]=0,r[690892]=0,r[690909]=0,r[690910]=0,r[690911]=0,r[690912]=0,r[690913]=0,r[690914]=0,r[690915]=0,r[690916]=0,r[690901]=0,r[690902]=0,r[690903]=0,r[690904]=0,r[690905]=0,r[690906]=0,r[690907]=0,r[690908]=0,r[690893]=0,r[690894]=0,r[690895]=0,r[690896]=0,r[690897]=0,r[690898]=0,r[690899]=0,r[690900]=0,t?(c=i[t+60|0]|i[t+61|0]<<8|i[t+62|0]<<16|i[t+63|0]<<24,d=c>>>16|0,s=a+80|0,n=i[t+56|0]|i[t+57|0]<<8|i[t+58|0]<<16|i[t+59|0]<<24,o[s>>2]=(65535&c)<<16|n>>>16,o[s+4>>2]=d,l=n<<4&1048560,s=i[t+52|0]|i[t+53|0]<<8|i[t+54|0]<<16|i[t+55|0]<<24,n=s>>>28|0,u=a+72|0,c=i[t+48|0]|i[t+49|0]<<8|i[t+50|0]<<16|i[t+51|0]<<24,o[u>>2]=(268435455&s)<<4|c>>>28,o[u+4>>2]=n|l,n=c,d=s<<24|n>>>8,c=i[t+40|0]|i[t+41|0]<<8|i[t+42|0]<<16|i[t+43|0]<<24,l=a- -64|0,s=i[t+44|0]|i[t+45|0]<<8|i[t+46|0]<<16|i[t+47|0]<<24,o[l>>2]=n<<24&-16777216|s>>>8,o[l+4>>2]=1048575&d,n=c,s=1048575&(s<<12|n>>>20),l=i[t+32|0]|i[t+33|0]<<8|i[t+34|0]<<16|i[t+35|0]<<24,u=a+56|0,f=i[t+36|0]|i[t+37|0]<<8|i[t+38|0]<<16|i[t+39|0]<<24,o[u>>2]=n<<12&-4096|f>>>20,o[u+4>>2]=s,o[a+88>>2]=0,o[a+48>>2]=l,o[a+52>>2]=1048575&f,c=i[t+12|0]|i[t+13|0]<<8|i[t+14|0]<<16|i[t+15|0]<<24,n=i[t+8|0]|i[t+9|0]<<8|i[t+10|0]<<16|i[t+11|0]<<24,d=c<<12|n>>>20,s=n<<12&-4096,n=i[0|t]|i[t+1|0]<<8|i[t+2|0]<<16|i[t+3|0]<<24,f=i[t+4|0]|i[t+5|0]<<8|i[t+6|0]<<16|i[t+7|0]<<24,p=f>>>20|s,o[a+16>>2]=p,g=1048575&d,o[a+20>>2]=g,s=n,o[a+8>>2]=n,m=1048575&f,o[a+12>>2]=m,u=i[t+28|0]|i[t+29|0]<<8|i[t+30|0]<<16|i[t+31|0]<<24,n=u>>>16|0,l=i[t+24|0]|i[t+25|0]<<8|i[t+26|0]<<16|i[t+27|0]<<24,f=(65535&u)<<16|l>>>16,o[a+40>>2]=f,u=n,o[a+44>>2]=n,n=i[t+16|0]|i[t+17|0]<<8|i[t+18|0]<<16|i[t+19|0]<<24,v=n,y=i[t+20|0]|i[t+21|0]<<8|i[t+22|0]<<16|i[t+23|0]<<24,t=n,n=y<<24|t>>>8,c=t<<24&-16777216|c>>>8,o[a+24>>2]=c,d=1048575&n,o[a+28>>2]=d,t=y,n=t>>>28|0,t=(268435455&t)<<4|v>>>28,o[a+32>>2]=t,n|=l<<4&1048560,o[a+36>>2]=n,s|p|f|c|t|g|m|u|d|n?(fe(690885,a+8|0),w=1):Ke[o[e+168>>2]](690116,o[e+172>>2])):Ke[o[e+168>>2]](689638,o[e+172>>2]),h=a+96|0,w}function Me(e,t,r,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0;return a=h-96|0,h=a,t?n?(p=i[n+60|0]|i[n+61|0]<<8|i[n+62|0]<<16|i[n+63|0]<<24,s=p>>>16|0,c=a+80|0,u=i[n+56|0]|i[n+57|0]<<8|i[n+58|0]<<16|i[n+59|0]<<24,p=(65535&p)<<16|u>>>16,o[c>>2]=p,x=s,o[c+4>>2]=s,f=u<<4&1048560,l=i[n+52|0]|i[n+53|0]<<8|i[n+54|0]<<16|i[n+55|0]<<24,s=l>>>28|0,c=a+72|0,u=i[n+48|0]|i[n+49|0]<<8|i[n+50|0]<<16|i[n+51|0]<<24,m=(268435455&l)<<4|u>>>28,o[c>>2]=m,w=s|f,o[c+4>>2]=w,s=l<<24|u>>>8,f=u<<24&-16777216,u=i[n+40|0]|i[n+41|0]<<8|i[n+42|0]<<16|i[n+43|0]<<24,c=a- -64|0,l=i[n+44|0]|i[n+45|0]<<8|i[n+46|0]<<16|i[n+47|0]<<24,y=l>>>8|f,o[c>>2]=y,b=1048575&s,o[c+4>>2]=b,s=u,f=l<<12|s>>>20,u=i[n+32|0]|i[n+33|0]<<8|i[n+34|0]<<16|i[n+35|0]<<24,c=a+56|0,d=i[n+36|0]|i[n+37|0]<<8|i[n+38|0]<<16|i[n+39|0]<<24,v=s<<12&-4096|d>>>20,o[c>>2]=v,_=1048575&f,o[c+4>>2]=_,o[a+88>>2]=0,o[a+48>>2]=u,E=1048575&d,o[a+52>>2]=E,s=i[n+12|0]|i[n+13|0]<<8|i[n+14|0]<<16|i[n+15|0]<<24,c=s,l=i[n+8|0]|i[n+9|0]<<8|i[n+10|0]<<16|i[n+11|0]<<24,d=1048575&(s<<12|l>>>20),s=i[0|n]|i[n+1|0]<<8|i[n+2|0]<<16|i[n+3|0]<<24,g=i[n+4|0]|i[n+5|0]<<8|i[n+6|0]<<16|i[n+7|0]<<24,S=l<<12&-4096|g>>>20,o[a+16>>2]=S,I=d,o[a+20>>2]=d,l=s,o[a+8>>2]=s,A=1048575&g,o[a+12>>2]=A,d=i[n+28|0]|i[n+29|0]<<8|i[n+30|0]<<16|i[n+31|0]<<24,s=d>>>16|0,f=i[n+24|0]|i[n+25|0]<<8|i[n+26|0]<<16|i[n+27|0]<<24,g=(65535&d)<<16|f>>>16,o[a+40>>2]=g,d=s,o[a+44>>2]=s,s=i[n+16|0]|i[n+17|0]<<8|i[n+18|0]<<16|i[n+19|0]<<24,O=s,T=i[n+20|0]|i[n+21|0]<<8|i[n+22|0]<<16|i[n+23|0]<<24,n=s,C=1048575&(T<<24|n>>>8),c=n<<24&-16777216|c>>>8,o[a+24>>2]=c,o[a+28>>2]=C,n=T,s=n>>>28|0,n=(268435455&n)<<4|O>>>28,o[a+32>>2]=n,s|=f<<4&1048560,o[a+36>>2]=s,l|S|g|c|n|I|A|d|C|s?(1&u&&(o[a+80>>2]=-4-p,o[a+84>>2]=262143-((p>>>0>4294967292)+x|0),o[a+72>>2]=-4-m,o[a+76>>2]=4194303-((m>>>0>4294967292)+w|0),o[a+64>>2]=-4-y,o[a+68>>2]=4194303-((y>>>0>4294967292)+b|0),o[a+56>>2]=-4-v,o[a+60>>2]=4194303-((v>>>0>4294967292)+_|0),o[a+48>>2]=-3908-u,o[a+52>>2]=4194299-((u>>>0>4294963388)+E|0),N=1),r&&(o[r>>2]=N),le(t,a+8|0),e=1):(Ke[o[e+168>>2]](690116,o[e+172>>2]),e=0)):(Ke[o[e+168>>2]](689638,o[e+172>>2]),e=0):(Ke[o[e+168>>2]](689586,o[e+172>>2]),e=0),h=a+96|0,e}function Be(e,t){var n=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0;if(n=h-256|0,h=n,t)if(u=Ve(t,96),o[e>>2]){a=n+96|0,l=n+128|0,he(a,690788,l),f=o[n+120>>2],p=o[n+112>>2],s=o[n+104>>2],g=o[n+96>>2],m=o[n+124>>2],y=o[n+116>>2],v=o[n+108>>2],w=o[n+100>>2],d=o[n+128>>2]|!(f|p|s|g|m|y|v|w),t=d?0:-1,o[n+120>>2]=t&f,o[n+124>>2]=t&m,o[n+112>>2]=t&p,o[n+116>>2]=t&y,o[n+104>>2]=t&s,o[n+108>>2]=t&v,s=0!=(0|d),o[n+96>>2]=s|t&g,o[n+100>>2]=t&w,Se(e,l,a),e=n+8|0,Ae(e,l),pe(u,a),le(u+32|0,e),o[n+128>>2]=s,e=o[n+128>>2]-1|0;while(1)if(t=c+u|0,r[0|t]=i[0|t]&e,a=t+1|0,r[0|a]=i[0|a]&e,a=t+2|0,r[0|a]=i[0|a]&e,a=t+3|0,r[0|a]=i[0|a]&e,a=t+4|0,r[0|a]=i[0|a]&e,t=t+5|0,r[0|t]=i[0|t]&e,c=c+6|0,96==(0|c))break;c=!d}else Ke[o[e+168>>2]](690045,o[e+172>>2]);else Ke[o[e+168>>2]](689700,o[e+172>>2]);return h=n+256|0,c}function Le(e,t,n,a,s,c,u,l){e|=0,t|=0,n|=0,a|=0,s|=0,c|=0,u|=0,l|=0;var d=0,f=0;if(d=h-176|0,h=d,c){l?(o[d+136>>2]=64,o[d+140>>2]=0,o[d+64>>2]=1252796217,o[d+68>>2]=614368522,o[d+56>>2]=989586609,o[d+60>>2]=1279582103,o[d+48>>2]=-904942663,o[d+52>>2]=262346349,o[d+40>>2]=618476057,o[d+44>>2]=1320844912,f=d+40|0,re(f,l,32),ne(f,d),r[0|d]=i[0|d]^i[0|a],r[d+1|0]=i[d+1|0]^i[a+1|0],r[d+2|0]=i[d+2|0]^i[a+2|0],r[d+3|0]=i[d+3|0]^i[a+3|0],r[d+4|0]=i[d+4|0]^i[a+4|0],r[d+5|0]=i[d+5|0]^i[a+5|0],r[d+6|0]=i[d+6|0]^i[a+6|0],r[d+7|0]=i[d+7|0]^i[a+7|0],r[d+8|0]=i[d+8|0]^i[a+8|0],r[d+9|0]=i[d+9|0]^i[a+9|0],r[d+10|0]=i[d+10|0]^i[a+10|0],r[d+11|0]=i[d+11|0]^i[a+11|0],r[d+12|0]=i[d+12|0]^i[a+12|0],r[d+13|0]=i[d+13|0]^i[a+13|0],r[d+14|0]=i[d+14|0]^i[a+14|0],r[d+15|0]=i[d+15|0]^i[a+15|0],r[d+16|0]=i[d+16|0]^i[a+16|0],r[d+17|0]=i[d+17|0]^i[a+17|0],r[d+18|0]=i[d+18|0]^i[a+18|0],r[d+19|0]=i[d+19|0]^i[a+19|0],r[d+20|0]=i[d+20|0]^i[a+20|0],r[d+21|0]=i[d+21|0]^i[a+21|0],r[d+22|0]=i[d+22|0]^i[a+22|0],r[d+23|0]=i[d+23|0]^i[a+23|0],r[d+24|0]=i[d+24|0]^i[a+24|0],r[d+25|0]=i[d+25|0]^i[a+25|0],r[d+26|0]=i[d+26|0]^i[a+26|0],r[d+27|0]=i[d+27|0]^i[a+27|0],r[d+28|0]=i[d+28|0]^i[a+28|0],r[d+29|0]=i[d+29|0]^i[a+29|0],r[d+30|0]=i[d+30|0]^i[a+30|0],r[d+31|0]=i[d+31|0]^i[a+31|0]):(r[0|d]=84^i[0|a],r[d+1|0]=241^i[a+1|0],r[d+2|0]=105^i[a+2|0],r[d+3|0]=207^i[a+3|0],r[d+4|0]=201^i[a+4|0],r[d+5|0]=226^i[a+5|0],r[d+6|0]=229^i[a+6|0],r[d+7|0]=114^i[a+7|0],r[d+8|0]=116^i[a+8|0],r[d+9|0]=128^i[a+9|0],r[d+10|0]=68^i[a+10|0],r[d+11|0]=31^i[a+11|0],r[d+12|0]=144^i[a+12|0],r[d+13|0]=186^i[a+13|0],r[d+14|0]=37^i[a+14|0],r[d+15|0]=196^i[a+15|0],r[d+16|0]=136^i[a+16|0],r[d+17|0]=244^i[a+17|0],r[d+18|0]=97^i[a+18|0],r[d+19|0]=199^i[a+19|0],r[d+20|0]=11^i[a+20|0],r[d+21|0]=94^i[a+21|0],r[d+22|0]=165^i[a+22|0],r[d+23|0]=220^i[a+23|0],r[d+24|0]=170^i[a+24|0],r[d+25|0]=247^i[a+25|0],r[d+26|0]=175^i[a+26|0],r[d+27|0]=105^i[a+27|0],r[d+28|0]=39^i[a+28|0],r[d+29|0]=10^i[a+29|0],r[d+30|0]=165^i[a+30|0],r[d+31|0]=20^i[a+31|0]);e:if(13!=(0|u))o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,a=d+40|0,re(a,c,u),c=d+144|0,ne(a,c),o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,re(a,c,32),re(a,c,32);else{if(66==i[0|c]&&73==i[c+1|0]&&80==i[c+2|0]&&48==i[c+3|0]&&51==i[c+4|0]&&52==i[c+5|0]&&48==i[c+6|0]&&47==i[c+7|0]&&110==i[c+8|0]&&111==i[c+9|0]&&110==i[c+10|0]&&99==i[c+11|0]&&101==i[c+12|0]){o[d+136>>2]=64,o[d+140>>2]=0,o[d+64>>2]=564305492,o[d+68>>2]=1756396364,o[d+56>>2]=1612804480,o[d+60>>2]=1463125601,o[d+48>>2]=-1618098575,o[d+52>>2]=-2090698061,o[d+40>>2]=1180785461,o[d+44>>2]=-188760073;break e}o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,a=d+40|0,re(a,c,13),c=d+144|0,ne(a,c),o[d+136>>2]=0,o[d+140>>2]=0,o[d+64>>2]=528734635,o[d+68>>2]=1541459225,o[d+56>>2]=1359893119,o[d+60>>2]=-1694144372,o[d+48>>2]=1013904242,o[d+52>>2]=-1521486534,o[d+40>>2]=1779033703,o[d+44>>2]=-1150833019,re(a,c,32),re(a,c,32)}a=d+40|0,re(a,d,32),re(a,s,32),re(a,t,n),ne(a,e),e=1}else e=0;return h=d+176|0,0|e}function De(e,t,r){var n=0,i=0,a=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0;u=h-32|0,h=u,m=Ve(e,516),e=t+24|0,f=o[e>>2],e=o[e+4>>2],i=u+24|0,o[i>>2]=f,o[i+4>>2]=e,i=t+16|0,n=o[i+4>>2],a=u+16|0,o[a>>2]=o[i>>2],o[a+4>>2]=n,i=t+8|0,n=o[i+4>>2],a=u+8|0,o[a>>2]=o[i>>2],o[a+4>>2]=n,i=o[t+4>>2],o[u>>2]=o[t>>2],o[u+4>>2]=i,l=1,i=e,(0|e)<0&&(n=-1^o[u>>2],a=n-801750718|0,c=-1^o[u+4>>2],t=c-((n>>>0<801750718)+1076732275|0)|0,o[u>>2]=a,o[u+4>>2]=t,t=(0|t)==(0|c)&n>>>0>a>>>0|t>>>0>>0,e=u,a=-1^o[e+8>>2],t=t+a|0,c=-1^o[e+12>>2],n=c,d=t-1354194885|0,o[e+8>>2]=d,n=t>>>0>>0?n+1|0:n,l=n-((t>>>0<1354194885)+1162945305|0)|0,o[e+12>>2]=l,c=(0|n)==(0|c)&t>>>0>>0|n>>>0>>0,a=(0|n)==(0|l)&t>>>0>d>>>0|n>>>0>l>>>0,t=c+a|0,c=-1^o[e+20>>2],n=c+(t>>>0>>0)|0,a=-1^o[e+16>>2],t=a+t|0,d=t-2|0,o[e+16>>2]=d,n=t>>>0>>0?n+1|0:n,l=n-(t>>>0<2)|0,o[e+20>>2]=l,e=(0|n)==(0|c)&t>>>0>>0|n>>>0>>0,n=(0|n)==(0|l)&t>>>0>d>>>0|n>>>0>l>>>0,e=e+n|0,t=e>>>0>>0,n=e-f|0,o[u+24>>2]=n-2,o[u+28>>2]=(t-((e>>>0>>0)+i|0)|0)-(n>>>0<2),l=-1),y=r-1|0,f=-1,t=0;while(1)if(n=t>>>6|0,g=n<<3,i=g+u|0,e=o[i>>2],a=o[i+4>>2],c=63&t,i=31&c,i=c>>>0>=32?a>>>i|0:((1<>>i,(0|p)!=(1&i)?(e=129-t|0,d=(0|e)<(0|r)?e:r,e=d+t|0,(0|n)!=(e-1>>>6|0)&&(n=8+(u+g|0)|0,f=o[n>>2],n=64-c|0,c=31&n,i|=(63&n)>>>0<32?f<>>0<32?-1<>>y&1,o[m+(t<<2)>>2]=s(i-(p<0?(n=t+((r<<5)-32&-64)|0,t=o[n>>2],r=1048575&o[n+4>>2],o[e>>2]=t,o[e+4>>2]=r,t=o[n+8>>2],r=o[n+12>>2]<<12|t>>>20,o[e+8>>2]=t<<12&-4096|o[n+4>>2]>>>20,o[e+12>>2]=1048575&r,t=o[n+16>>2],r=o[n+20>>2]<<24|t>>>8,o[e+16>>2]=t<<24&-16777216|o[n+12>>2]>>>8,o[e+20>>2]=1048575&r,i=o[n+24>>2]<<4&1048560,r=o[n+20>>2],t=r>>>28|0,o[e+24>>2]=(268435455&r)<<4|o[n+16>>2]>>>28,o[e+28>>2]=t|i,t=o[n+28>>2],r=t>>>16|0,o[e+32>>2]=(65535&t)<<16|o[n+24>>2]>>>16,o[e+36>>2]=r,t=1048575&o[n+36>>2],o[e+40>>2]=o[n+32>>2],o[e+44>>2]=t,i=n+40|0,t=o[i>>2],r=o[i+4>>2]<<12|t>>>20,a=e+48|0,o[a>>2]=t<<12&-4096|o[n+36>>2]>>>20,o[a+4>>2]=1048575&r,a=n+48|0,t=o[a>>2],r=o[a+4>>2]<<24|t>>>8,s=e+56|0,o[s>>2]=t<<24&-16777216|o[i+4>>2]>>>8,o[s+4>>2]=1048575&r,n=n+56|0,t=o[n>>2],s=t<<4&1048560,r=o[a+4>>2],t=r>>>28|0,i=e- -64|0,o[i>>2]=(268435455&r)<<4|o[a>>2]>>>28,o[i+4>>2]=t|s,t=e+72|0,i=o[n+4>>2],o[t>>2]=(65535&i)<<16|o[n>>2]>>>16,o[t+4>>2]=i>>>16):(n=t+((-1^r)/2<<6)|0,t=o[n>>2],r=1048575&o[n+4>>2],o[e>>2]=t,o[e+4>>2]=r,t=o[n+8>>2],r=o[n+12>>2]<<12|t>>>20,o[e+8>>2]=t<<12&-4096|o[n+4>>2]>>>20,o[e+12>>2]=1048575&r,t=o[n+16>>2],r=o[n+20>>2]<<24|t>>>8,o[e+16>>2]=t<<24&-16777216|o[n+12>>2]>>>8,o[e+20>>2]=1048575&r,i=o[n+24>>2]<<4&1048560,r=o[n+20>>2],t=r>>>28|0,o[e+24>>2]=(268435455&r)<<4|o[n+16>>2]>>>28,o[e+28>>2]=t|i,t=o[n+28>>2],r=t>>>16|0,o[e+32>>2]=(65535&t)<<16|o[n+24>>2]>>>16,o[e+36>>2]=r,s=1048575&o[n+36>>2],l=o[n+32>>2],o[e+40>>2]=l,o[e+44>>2]=s,i=n+40|0,t=o[i>>2],r=o[i+4>>2]<<12|t>>>20,d=e+48|0,a=d,f=t<<12&-4096|o[n+36>>2]>>>20,o[a>>2]=f,p=1048575&r,o[a+4>>2]=p,a=n+48|0,t=o[a>>2],r=o[a+4>>2]<<24|t>>>8,c=e+56|0,i=t<<24&-16777216|o[i+4>>2]>>>8,o[c>>2]=i,g=1048575&r,o[c+4>>2]=g,n=n+56|0,t=o[n>>2],h=t<<4&1048560,r=o[a+4>>2],t=r>>>28|0,u=e- -64|0,r=(268435455&r)<<4|o[a>>2]>>>28,o[u>>2]=r,a=t|h,o[u+4>>2]=a,h=o[n>>2],t=o[n+4>>2],o[u>>2]=-4-r,o[u+4>>2]=4194303-((r>>>0>4294967292)+a|0),o[c>>2]=-4-i,o[c+4>>2]=4194303-((i>>>0>4294967292)+g|0),o[d>>2]=-4-f,o[d+4>>2]=4194303-((f>>>0>4294967292)+p|0),o[e+40>>2]=-3908-l,o[e+44>>2]=4194299-((l>>>0>4294963388)+s|0),n=t>>>16|0,r=e+72|0,t=(65535&t)<<16|h>>>16,o[r>>2]=-4-t,o[r+4>>2]=262143-((t>>>0>4294967292)+n|0)),o[e+80>>2]=0}function $e(e,t,r,n){var i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0,j=0,z=0,V=0,H=0,q=0,G=0,W=0,Z=0,K=0;s=h-1120|0,h=s;e:if(o[t+120>>2])o[e+120>>2]=o[r+80>>2],i=s+1080|0,Oe(i,n),t=s+1040|0,ue(t,i,n),ue(e,r,i),ue(e+40|0,r+40|0,t),t=e+88|0,o[t>>2]=0,o[t+4>>2]=0,o[e+80>>2]=1,o[e+84>>2]=0,t=e+96|0,o[t>>2]=0,o[t+4>>2]=0,t=e+104|0,o[t>>2]=0,o[t+4>>2]=0,e=e+112|0,o[e>>2]=0,o[e+4>>2]=0;else if(o[r+80>>2])qe(e,t,128);else if(W=s+1080|0,Z=t+80|0,ue(W,Z,n),n=o[s+1084>>2],y=n,p=o[s+1080>>2],i=p,n=n<<1|i>>>31,g=s+408|0,S=o[s+1104>>2],_=o[s+1108>>2],A=i<<1,N=n,He(g,S,_,0,0,A,n,0,0),n=o[s+1092>>2],q=n,H=o[s+1088>>2],a=H,n=n<<1|a>>>31,l=s+616|0,b=o[s+1096>>2],w=o[s+1100>>2],a<<=1,u=n,He(l,b,w,0,0,a,n,0,0),m=s+568|0,i=o[s+1112>>2],n=o[s+1116>>2],He(m,i,n,0,0,i,n,0,0),d=s+552|0,He(d,o[s+568>>2],o[s+572>>2],0,0,15632,16,0,0),n=n<<1|i>>>31,U=s+520|0,P=i<<1,E=n,He(U,P,n,0,0,p,y,0,0),B=s+424|0,He(B,S,_,0,0,a,u,0,0),R=s+600|0,He(R,b,w,0,0,b,w,0,0),f=s+536|0,n=m+8|0,He(f,o[n>>2],o[n+4>>2],0,0,64028672,65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&n,o[m+4>>2]=M,m=O,a=n,n=65535&f,a=a>>>20|0,u=a,a=a+c|0,n=u>>>0>a>>>0?n+1|0:n,S=a,o[m>>2]=a,L=n,o[m+4>>2]=n,m=i,o[s+1e3>>2]=i,O=1048575&d,o[s+1004>>2]=O,P=s+1040|0,ue(s+960|0,r,P),w=s+920|0,I=w+8|0,n=t+48|0,f=o[n>>2],p=o[n+4>>2],d=o[t+44>>2],n=t+72|0,c=o[n>>2],i=o[n+4>>2],v=i,n=o[t+40>>2],a=We(i>>>16|0,0,977,1),i=n+a|0,n=d+T|0,d=i>>>0>>0?n+1|0:n,n=p,a=d>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,E=a,o[I>>2]=a,C=1048575&n,o[I+4>>2]=C,I=w+16|0,a=t+56|0,f=o[a>>2],p=o[a+4>>2],a=n,n=p,a=a>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,b=a,o[I>>2]=a,x=1048575&n,o[I+4>>2]=x,I=w+24|0,a=t- -64|0,f=o[a>>2],p=o[a+4>>2],a=n,n=p,a=a>>>20|0,u=a,a=a+f|0,n=u>>>0>a>>>0?n+1|0:n,_=a,o[I>>2]=a,N=1048575&n,o[I+4>>2]=N,f=w+32|0,a=n,n=65535&v,a=a>>>20|0,c=a+c|0,n=a>>>0>c>>>0?n+1|0:n,w=c,o[f>>2]=c,a=n,o[f+4>>2]=n,I=i,o[s+920>>2]=i,A=1048575&d,o[s+924>>2]=A,n=s+880|0,ue(n,r+40|0,P),ue(n,n,W),i=s,r=o[i+960>>2],p=(r-m|0)-3908|0,n=4194299+(o[i+964>>2]-((r>>>0>>0)+O|0)|0)|0,o[i+840>>2]=p,d=p>>>0<4294963388?n+1|0:n,o[i+844>>2]=d,r=o[i+968>>2],f=(r-y|0)-4|0,n=4194303+(o[i+972>>2]-((r>>>0>>0)+R|0)|0)|0,o[i+848>>2]=f,m=f>>>0<4294967292?n+1|0:n,o[i+852>>2]=m,r=o[i+976>>2],v=(r-g|0)-4|0,n=4194303+(o[i+980>>2]-((r>>>0>>0)+k|0)|0)|0,o[i+856>>2]=v,g=v>>>0<4294967292?n+1|0:n,o[i+860>>2]=g,r=o[i+984>>2],y=(r-l|0)-4|0,n=4194303+(o[i+988>>2]-((r>>>0>>0)+M|0)|0)|0,o[i+864>>2]=y,l=y>>>0<4294967292?n+1|0:n,o[i+868>>2]=l,n=o[i+992>>2],r=(n-S|0)-4|0,n=262143+(o[i+996>>2]-((n>>>0>>0)+L|0)|0)|0,o[i+872>>2]=r,c=r>>>0<4294967292?n+1|0:n,o[i+876>>2]=c,n=o[i+912>>2],L=(w-n|0)-4|0,n=262143+(a-(o[i+916>>2]+(n>>>0>w>>>0)|0)|0)|0,a=L,o[i+832>>2]=a,u=a>>>0<4294967292?n+1|0:n,o[i+836>>2]=u,n=o[i+904>>2],k=(_-n|0)-4|0,n=4194303+(N-(o[i+908>>2]+(n>>>0>_>>>0)|0)|0)|0,o[i+824>>2]=k,S=k>>>0<4294967292?n+1|0:n,o[i+828>>2]=S,n=o[i+896>>2],M=(b-n|0)-4|0,n=4194303+(x-(o[i+900>>2]+(n>>>0>b>>>0)|0)|0)|0,o[i+816>>2]=M,_=M>>>0<4294967292?n+1|0:n,o[i+820>>2]=_,n=o[i+888>>2],O=(E-n|0)-4|0,n=4194303+(C-(o[i+892>>2]+(n>>>0>E>>>0)|0)|0)|0,o[i+808>>2]=O,w=O>>>0<4294967292?n+1|0:n,o[i+812>>2]=w,n=o[i+880>>2],P=(I-n|0)-3908|0,n=4194299+(A-(o[i+884>>2]+(n>>>0>I>>>0)|0)|0)|0,o[i+800>>2]=P,I=P>>>0<4294963388?n+1|0:n,o[i+804>>2]=I,i=We(c>>>16|0,0,977,1)+p|0,n=T+d|0,n=i>>>0

>>0?n+1|0:n,b=1048575&n,F=b,L=i,D=976^i,B=1^b,(-1!=(0|D)|1048575!=(0|B))&0!=(i|b)||(R=65535&c,i=n,n=m,i=(i>>>20|0)+f|0,n=i>>>0>>0?n+1|0:n,C=i,x=n,n=g,i=(x>>>20|0)+v|0,n=i>>>0>>0?n+1|0:n,N=i,A=n,n=l,i=(A>>>20|0)+y|0,n=i>>>0>>0?n+1|0:n,E=i,b=n,n=R,i=b>>>20|0,R=i,i=r+i|0,n=R>>>0>i>>>0?n+1|0:n,i|E|N|C|L|n|1048575&b|1048575&A|1048575&x|F&&(n=-1!=(C&D&N&E&i)?1:1048575!=(x&B&A&b&(983040^n)),n)))o[e+120>>2]=0,$=s+840|0,ue(e+80|0,Z,$),N=s+312|0,u=y,a=l,_=p<<1,l=d,S=l<<1|p>>>31,He(N,u,a,0,0,_,S,0,0),E=s+232|0,i=v,t=g,d=f<<1,y=m,w=f,m=m<<1|f>>>31,He(E,i,t,0,0,d,m,0,0),f=s+168|0,He(f,r,c,0,0,r,c,0,0),v=s+152|0,He(v,o[s+168>>2],o[s+172>>2],0,0,15632,16,0,0),n=c<<1|r>>>31,U=s+120|0,b=r<<1,I=n,He(U,b,n,0,0,p,l,0,0),j=s+280|0,He(j,u,a,0,0,d,m,0,0),F=s+216|0,He(F,i,t,0,0,i,t,0,0),A=s+136|0,r=f+8|0,He(A,o[r>>2],o[r+4>>2],0,0,64028672,65536,0,0),D=s+328|0,He(D,p,l,0,0,p,l,0,0),B=s+104|0,He(B,b,n,0,0,w,y,0,0),l=t,L=i,n=t<<1|i>>>31,R=s+184|0,f=u,g=a,He(R,u,a,0,0,i<<1,n,0,0),m=o[s+316>>2],n=m+o[s+236>>2]|0,a=o[s+312>>2],r=o[s+232>>2],t=a+r|0,i=o[s+152>>2],p=t+i|0,r=t>>>0>>0?n+1|0:n,n=r+o[s+156>>2]|0,i=i>>>0>p>>>0?n+1|0:n,d=(0|r)==(0|i)&t>>>0>p>>>0|r>>>0>i>>>0,n=v+8|0,c=o[n>>2],u=o[n+4>>2],a=(0|r)==(0|m)&t>>>0>>0|r>>>0>>0,n=E+8|0,r=o[n>>2],t=N+8|0,m=r+o[t>>2]|0,n=o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,n=w,r=(r>>>20|0)+O|0,n=r>>>0>>0?n+1|0:n,l=r,p=n,n=_,r=(p>>>20|0)+M|0,n=r>>>0>>0?n+1|0:n,m=r,d=n,n=S,r=(d>>>20|0)+k|0,n=r>>>0>>0?n+1|0:n,c=r,u=n,n=g,r=u>>>20|0,g=r,r=r+a|0,n=g>>>0>r>>>0?n+1|0:n,!(r|c|m|i|l|n|1048575&u|1048575&d|1048575&p|v&&(r=-1!=(l&y&m&c&r)?1:1048575!=(p&f&d&u&(983040^n)),r)))){if(o[t+120>>2]){o[e+120>>2]=1,Ve(e,120);break e}Ne(e,t);break e}o[e+120>>2]=1,Ve(e,120)}h=s+1120|0}function Ue(e,t,r,n){var i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,C=0,x=0,I=0,O=0,N=0,P=0,k=0,R=0,M=0,B=0,L=0,D=0,F=0,$=0,U=0;u=h-736|0,h=u,i=o[r+80>>2];e:if(o[t+120>>2])o[e+120>>2]=i,t=o[r+4>>2],o[e>>2]=o[r>>2],o[e+4>>2]=t,t=r+8|0,n=o[t+4>>2],i=e+8|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r+16|0,n=o[t+4>>2],i=e+16|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r+24|0,n=o[t+4>>2],i=e+24|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r+32|0,n=o[t+4>>2],i=e+32|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=o[r+44>>2],o[e+40>>2]=o[r+40>>2],o[e+44>>2]=t,t=r+48|0,n=o[t+4>>2],i=e+48|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r+56|0,n=o[t+4>>2],i=e+56|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r- -64|0,n=o[t+4>>2],i=e- -64|0,o[i>>2]=o[t>>2],o[i+4>>2]=n,t=r+72|0,r=o[t+4>>2],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i>>2],g=o[i+4>>2],C=g,i=o[t+40>>2],g=We(g>>>16|0,0,977,1),a=i+g|0,i=m+T|0,m=a>>>0>>0?i+1|0:i,i=A,g=m>>>20|0,A=g+v|0,i=g>>>0>A>>>0?i+1|0:i,o[p>>2]=A,M=1048575&i,o[p+4>>2]=M,g=y+16|0,p=t+56|0,v=o[p>>2],I=o[p+4>>2],p=i,i=I,p=p>>>20|0,I=p+v|0,i=p>>>0>I>>>0?i+1|0:i,o[g>>2]=I,N=1048575&i,o[g+4>>2]=N,g=y+24|0,p=t- -64|0,v=o[p>>2],O=o[p+4>>2],p=i,i=O,p=p>>>20|0,O=p+v|0,i=p>>>0>O>>>0?i+1|0:i,o[g>>2]=O,k=1048575&i,o[g+4>>2]=k,y=y+32|0,p=i,i=65535&C,p=p>>>20|0,g=l+p|0,i=p>>>0>g>>>0?i+1|0:i,o[y>>2]=g,v=i,o[y+4>>2]=i,C=a,o[u+576>>2]=a,B=1048575&m,o[u+580>>2]=B,i=u+536|0,ue(i,r+40|0,b),ue(i,i,R),r=o[u+616>>2],l=(r-f|0)-3908|0,i=4194299+(o[u+620>>2]-((r>>>0>>0)+E|0)|0)|0,o[u+496>>2]=l,p=l>>>0<4294963388?i+1|0:i,o[u+500>>2]=p,r=u,i=o[r+624>>2],f=(i-s|0)-4|0,i=4194303+(o[r+628>>2]-((i>>>0>>0)+_|0)|0)|0,o[r+504>>2]=f,m=f>>>0<4294967292?i+1|0:i,o[r+508>>2]=m,i=o[r+632>>2],a=(i-d|0)-4|0,i=4194303+(o[r+636>>2]-((i>>>0>>0)+P|0)|0)|0,o[r+512>>2]=a,d=a>>>0<4294967292?i+1|0:i,o[r+516>>2]=d,i=o[r+640>>2],s=(i-c|0)-4|0,i=4194303+(o[r+644>>2]-((i>>>0>>0)+x|0)|0)|0,o[r+520>>2]=s,c=s>>>0<4294967292?i+1|0:i,o[r+524>>2]=c,i=o[r+648>>2],r=(i-w|0)-4|0,i=262143+(o[u+652>>2]-((i>>>0>>0)+S|0)|0)|0,o[u+528>>2]=r,w=r>>>0<4294967292?i+1|0:i,o[u+532>>2]=w,i=o[u+568>>2],S=(g-i|0)-4|0,i=262143+(v-(o[u+572>>2]+(i>>>0>g>>>0)|0)|0)|0,o[u+488>>2]=S,g=S>>>0<4294967292?i+1|0:i,o[u+492>>2]=g,i=o[u+560>>2],v=(O-i|0)-4|0,i=4194303+(k-(o[u+564>>2]+(i>>>0>O>>>0)|0)|0)|0,O=v,o[u+480>>2]=v,k=v>>>0<4294967292?i+1|0:i,o[u+484>>2]=k,i=o[u+552>>2],v=(I-i|0)-4|0,i=4194303+(N-(o[u+556>>2]+(i>>>0>I>>>0)|0)|0)|0,I=v,o[u+472>>2]=v,N=v>>>0<4294967292?i+1|0:i,o[u+476>>2]=N,i=o[u+544>>2],v=(A-i|0)-4|0,i=4194303+(M-(o[u+548>>2]+(i>>>0>A>>>0)|0)|0)|0,o[u+464>>2]=v,M=v>>>0<4294967292?i+1|0:i,o[u+468>>2]=M,i=o[u+536>>2],y=(C-i|0)-3908|0,i=4194299+(B-(o[u+540>>2]+(i>>>0>C>>>0)|0)|0)|0,A=y,o[u+456>>2]=y,B=y>>>0<4294963388?i+1|0:i,o[u+460>>2]=B,y=We(w>>>16|0,0,977,1)+l|0,i=T+p|0,i=l>>>0>y>>>0?i+1|0:i,C=1048575&i,L=C,D=y,F=976^y,$=1^C,(-1!=(0|F)|1048575!=(0|$))&0!=(y|C)||(E=65535&w,y=i,i=m,y=(y>>>20|0)+f|0,C=y>>>0>>0?i+1|0:i,i=d,b=(C>>>20|0)+a|0,_=b>>>0>>0?i+1|0:i,i=c,P=(_>>>20|0)+s|0,x=P>>>0>>0?i+1|0:i,i=E,E=x>>>20|0,U=E,E=r+E|0,i=U>>>0>E>>>0?i+1|0:i,E|P|b|y|D|i|1048575&x|1048575&_|1048575&C|L&&(i=-1!=(y&F&b&P&E)?1:1048575!=(C&$&_&x&(983040^i)),i)))o[e+120>>2]=0,n&&(t=o[u+500>>2],o[n>>2]=o[u+496>>2],o[n+4>>2]=t,t=u+496|0,i=t+32|0,y=o[i+4>>2],g=n+32|0,o[g>>2]=o[i>>2],o[g+4>>2]=y,i=t+24|0,y=o[i+4>>2],g=n+24|0,o[g>>2]=o[i>>2],o[g+4>>2]=y,i=t+16|0,y=o[i+4>>2],g=n+16|0,o[g>>2]=o[i>>2],o[g+4>>2]=y,t=t+8|0,i=o[t+4>>2],n=n+8|0,o[n>>2]=o[t>>2],o[n+4>>2]=i),P=u+496|0,ue(e+80|0,R,P),C=u+304|0,y=l<<1,t=p,p=t<<1|l>>>31,He(C,s,c,0,0,y,p,0,0),b=u+224|0,n=f<<1,S=m,m=f,g=S<<1|f>>>31,He(b,a,d,0,0,n,g,0,0),v=u+160|0,He(v,r,w,0,0,r,w,0,0),_=u+144|0,He(_,o[u+160>>2],o[u+164>>2],0,0,15632,16,0,0),x=u+112|0,f=r<<1,w=w<<1|r>>>31,He(x,f,w,0,0,l,t,0,0),E=u+272|0,He(E,s,c,0,0,n,g,0,0),k=u+208|0,He(k,a,d,0,0,a,d,0,0),N=u+128|0,r=v+8|0,He(N,o[r>>2],o[r+4>>2],0,0,64028672,65536,0,0),M=u+320|0,He(M,l,t,0,0,l,t,0,0),B=u+96|0,He(B,f,w,0,0,m,S,0,0),D=u+176|0,v=s,A=c,I=d,d=a,He(D,s,c,0,0,a<<1,I<<1|a>>>31,0,0),s=o[u+304>>2],r=o[u+224>>2],t=s+r|0,a=o[u+308>>2],i=a+o[u+228>>2]|0,r=t>>>0>>0?i+1|0:i,i=r+o[u+148>>2]|0,n=t,c=o[u+144>>2],t=t+c|0,O=t,t=t>>>0>>0?i+1|0:i,c=(0|r)==(0|t)&n>>>0>O>>>0|t>>>0>>0,i=_+8|0,l=o[i>>2],g=o[i+4>>2],n=(0|r)==(0|a)&n>>>0>>0|r>>>0>>0,i=b+8|0,a=o[i>>2],s=C+8|0,r=a+o[s>>2]|0,i=o[s+4>>2]+o[i+4>>2]|0,i=r>>>0>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|0,a=r<<12|s>>>20,r=a+c|0,o[t+448>>2]=-4-r,o[t+452>>2]=262143-((r>>>0>4294967292)+(r>>>0>>0?i+1|0:i)|0),y=t+376|0,r=t+416|0,ue(y,r,P),v=t+336|0,ue(v,t+656|0,r),A=t+456|0,Oe(e,A),n=o[t+408>>2],r=n+o[e+32>>2]|0,i=o[e+36>>2]+o[t+412>>2]|0,n=r>>>0>>0?i+1|0:i,i=o[t+372>>2],I=i,g=o[t+368>>2],a=g,i=(i<<1|a>>>31)+n|0,a<<=1,r=r+a|0,i=a>>>0>r>>>0?i+1|0:i,s=r,o[e+32>>2]=r,f=i,o[e+36>>2]=i,n=o[t+400>>2],r=n+o[e+24>>2]|0,i=o[e+28>>2]+o[t+404>>2]|0,i=r>>>0>>0?i+1|0:i,n=r,a=i,r=o[t+360>>2],O=r,i=o[t+364>>2],C=i,i=(i<<1|r>>>31)+a|0,r<<=1,a=r,r=r+n|0,i=a>>>0>r>>>0?i+1|0:i,o[e+24>>2]=r,d=i,o[e+28>>2]=i,a=o[t+392>>2],n=a+o[e+16>>2]|0,i=o[e+20>>2]+o[t+396>>2]|0,i=n>>>0>>0?i+1|0:i,a=n,c=i,n=o[t+352>>2],b=n,i=o[t+356>>2],_=i,i=(i<<1|n>>>31)+c|0,n<<=1,c=n,n=n+a|0,i=c>>>0>n>>>0?i+1|0:i,o[e+16>>2]=n,c=i,o[e+20>>2]=i,l=o[t+384>>2],a=l+o[e+8>>2]|0,i=o[e+12>>2]+o[t+388>>2]|0,l=a>>>0>>0?i+1|0:i,i=o[t+348>>2],P=i,S=o[t+344>>2],m=S,i=(i<<1|m>>>31)+l|0,m<<=1,a=a+m|0,i=m>>>0>a>>>0?i+1|0:i,l=a,o[e+8>>2]=a,m=i,o[e+12>>2]=i,p=o[t+376>>2],a=p+o[e>>2]|0,i=o[e+4>>2]+o[t+380>>2]|0,i=a>>>0

>>0?i+1|0:i,p=a,w=i,a=o[t+336>>2],x=a,i=o[t+340>>2],E=i,i=(i<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,n=65535&r,r=i,i=n,r=r>>>20|0,n=r,r=r+c|0,i=n>>>0>r>>>0?i+1|0:i,o[l>>2]=r,o[l+4>>2]=i),Ne(e,t);break e}n&&(o[n>>2]=0,o[n+4>>2]=0,t=n+32|0,o[t>>2]=0,o[t+4>>2]=0,t=n+24|0,o[t>>2]=0,o[t+4>>2]=0,t=n+16|0,o[t>>2]=0,o[t+4>>2]=0,t=n+8|0,o[t>>2]=0,o[t+4>>2]=0),o[e+120>>2]=1,Ve(e,120)}h=u+736|0}function je(e,t,r){var n=0,i=0,a=0,s=0,c=0,u=0,l=0,d=0,f=0,p=0,g=0,m=0,y=0,v=0,w=0,b=0,_=0,E=0,S=0,A=0,T=0,C=0,x=0,I=0,O=0,N=0;s=h-256|0,h=s,u=s+240|0,He(u,o[r>>2],o[r+4>>2],0,0,o[t>>2],o[t+4>>2],0,0),n=o[s+244>>2],o[e>>2]=o[s+240>>2],o[e+4>>2]=n,d=s+208|0,He(d,o[r+8>>2],o[r+12>>2],0,0,o[t>>2],o[t+4>>2],0,0),c=s+224|0,He(c,o[r>>2],o[r+4>>2],0,0,o[t+8>>2],o[t+12>>2],0,0),m=e,i=o[s+208>>2],e=u+8|0,n=o[e>>2],g=i+n|0,f=o[s+212>>2],e=f+o[e+4>>2]|0,l=n>>>0>g>>>0?e+1|0:e,e=l+o[s+228>>2]|0,n=o[s+224>>2],u=n+g|0,o[m+8>>2]=u,a=n>>>0>u>>>0?e+1|0:e,o[m+12>>2]=a,w=s+160|0,He(w,o[r+16>>2],o[r+20>>2],0,0,o[t>>2],o[t+4>>2],0,0),E=s+176|0,He(E,o[r+8>>2],o[r+12>>2],0,0,o[t+8>>2],o[t+12>>2],0,0),b=s+192|0,He(b,o[r>>2],o[r+4>>2],0,0,o[t+16>>2],o[t+20>>2],0,0),i=(0|l)==(0|f)&i>>>0>g>>>0|l>>>0>>0,e=d+8|0,n=i+o[e>>2]|0,e=o[e+4>>2],i=n>>>0>>0?e+1|0:e,u=(0|a)==(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Q=0;c=h-480|0,h=c,i=o[r+4>>2],R=i,d=i>>31,i=o[e+4>>2],p=i,i>>=31,F=c+352|0,P=o[r>>2],s=o[e>>2],a=i,He(F,P,R,d,d,s,p,i,i),i=o[r+12>>2],M=i,g=i>>31,i=o[t+4>>2],f=i,i>>=31,j=c+384|0,v=o[r+8>>2],y=o[t>>2],l=i,He(j,v,M,g,g,y,f,i,i),i=o[r+20>>2],w=i,i>>=31,$=c+368|0,B=o[r+16>>2],C=i,He($,B,w,i,i,s,p,a,a),U=o[r+24>>2],r=o[r+28>>2],b=r,r>>=31,L=c+400|0,N=r,He(L,U,b,r,r,y,f,l,l),G=o[t+32>>2],r=o[t+36>>2],Q=r,r>>=31,l=r,a=r&v,W=o[e+32>>2],r=o[e+36>>2],Z=r,r>>=31,i=a,p=r,a=r&P,r=i+a|0,i=(p&R)+(l&M)|0,a=r>>>0>>0?i+1|0:i,i=o[n+40>>2],u=i,S=o[c+388>>2],i=S+o[c+356>>2]|0,x=o[n+44>>2],A=o[c+384>>2],s=o[c+352>>2],f=A+s|0,s=s>>>0>f>>>0?i+1|0:i,I=We(u,x,f,s),y=I+r|0,i=a+T|0,k=r-y|0,r=a-((1073741823&(y>>>0>>0?i+1|0:i))+(r>>>0>>0)|0)|0,I=r,m=r>>31,r=o[n+4>>2],_=r,r>>=31,z=c+320|0,E=o[n>>2],y=r,He(z,k,I,m,m,E,_,r,r),a=p&B,r=a+(l&U)|0,i=(l&b)+(p&w)|0,a=r>>>0>>0?i+1|0:i,O=o[c+404>>2],i=O+o[c+372>>2]|0,V=o[c+400>>2],l=o[c+368>>2],p=V+l|0,l=l>>>0>p>>>0?i+1|0:i,x=We(p,l,u,x),u=x+r|0,i=a+T|0,D=r-u|0,r=a-((1073741823&(u>>>0>>0?i+1|0:i))+(r>>>0>>0)|0)|0,x=r,r>>=31,H=c+336|0,q=r,He(H,D,x,r,r,E,_,y,y),r=o[e+12>>2],u=r,r>>=31,K=c+416|0,y=o[e+8>>2],a=r,He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,t,r,n,i,a,s,c,u){var l=0,d=0,f=0,h=0,p=0,g=0,m=0;l=We(a,0,t,0),h=e,d=T,m=t,t=We(t,0,s,0),f=T,p=We(a,0,r,0),g=T,e=f+g|0,f=t+p|0,t=f>>>0

>>0?e+1|0:e,e=d+f|0,e=0>l>>>0?e+1|0:e,o[h>>2]=l,o[h+4>>2]=e,d=(0|e)==(0|d)&l>>>0>>0|e>>>0>>0,e=(0|t)==(0|g)&f>>>0

>>0|t>>>0>>0,l=t,t=t+We(r,0,s,0)|0,e=T+e|0,e=t>>>0>>0?e+1|0:e,l=t,t=t+d|0,l=l>>>0>t>>>0?e+1|0:e,e=We(m,r,c,u),c=T,n=We(n,i,a,s),r=n+e|0,e=c+T|0,e=(r>>>0>>0?e+1|0:e)+l|0,t=t+r|0,e=t>>>0>>0?e+1|0:e,o[h+8>>2]=t,o[h+12>>2]=e}function qe(e,t,n){var a=0,s=0,c=0,u=0,l=0,d=0,f=0,h=0;if(u=n,n>>>0<=15)n=e;else{if(c=0-e&3,s=c+e|0,c){n=e,a=t;while(1)if(r[0|n]=i[0|a],a=a+1|0,n=n+1|0,!(s>>>0>n>>>0))break}u=u-c|0,l=-4&u,n=l+s|0,c=t+c|0,a=3&c;e:if(a){if((0|l)<=0)break e;d=-4&c,t=d+4|0,f=a<<3,h=0-f&24,a=o[d>>2];while(1)if(d=a>>>f|0,a=o[t>>2],o[s>>2]=d|a<>>0>>0))break}else if(!((0|l)<=0)){t=c;while(1)if(o[s>>2]=o[t>>2],t=t+4|0,s=s+4|0,!(s>>>0>>0))break}u&=3,t=c+l|0}if(u){a=n+u|0;while(1)if(r[0|n]=i[0|t],t=t+1|0,n=n+1|0,!(a>>>0>n>>>0))break}return e}function Ge(e,t){var r=0,n=0;return e|t?(r=t-1|0,n=e-1|0,r=-1!=(0|n)?r+1|0:r,n^=e,e=c(t^r),32==(0|e)&&(e=c(n)+32|0),T=0-(e>>>0>63)|0,63-e|0):(T=0,64)}function We(e,t,r,n){var o=0,i=0,a=0,c=0,u=0,l=0;return o=65535&r,i=65535&e,a=s(o,i),c=r>>>16|0,l=s(i,c),u=e>>>16|0,i=s(o,u)+(a>>>16|0)|0,o=l+(65535&i)|0,T=(s(t,r)+s(c,u)|0)+s(e,n)+(i>>>16)+(o>>>16)|0,65535&a|o<<16}function Ze(e,t){var r=0,n=0;return r=31&t,n=(-1>>>r&e)<>>e}te=i,ie(e);var Ke=[null,N,C,O,we,Le,ee];function Ye(){return t.byteLength/65536|0}function Xe(e){e|=0;var c=0|Ye(),u=c+e|0;if(cpt(t.subarray(0,32))));const o=ut(n);try{return at.set(e),ct.set(t),1===Ve.recover(o,r)?tt.slice(0,o):null}finally{at.fill(0),ct.fill(0),tt.fill(0)}}function Rt(e,t,r){W(e),q(t),K(r);try{return at.set(e),nt.set(t),ct.set(r),1===Ve.verifySchnorr()}finally{at.fill(0),nt.fill(0),ct.fill(0)}}},70794:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,o=Math.ceil,i=Math.floor,a="[BigNumber Error] ",s=a+"Number primitive has more than 15 significant digits: ",c=1e14,u=14,l=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],f=1e7,h=1e9;function p(e){var t,r,E,S=D.prototype={constructor:D,toString:null,valueOf:null},A=new D(1),T=20,C=4,x=-7,I=21,O=-1e7,N=1e7,P=!1,k=1,R=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz",L=!0;function D(e,t){var o,a,c,d,f,h,p,g,m=this;if(!(m instanceof D))return new D(e,t);if(null==t){if(e&&!0===e._isBigNumber)return m.s=e.s,void(!e.c||e.e>N?m.c=m.e=null:e.e=10;f/=10,d++);return void(d>N?m.c=m.e=null:(m.e=d,m.c=[e]))}g=String(e)}else{if(!n.test(g=String(e)))return E(m,g,h);m.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(d=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(d<0&&(d=f),d+=+g.slice(f+1),g=g.substring(0,f)):d<0&&(d=g.length)}else{if(v(t,2,B.length,"Base"),10==t&&L)return m=new D(e),j(m,T+m.e+1,C);if(g=String(e),h="number"==typeof e){if(0*e!=0)return E(m,g,h,t);if(m.s=1/e<0?(g=g.slice(1),-1):1,D.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(s+e)}else m.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(o=B.slice(0,t),d=f=0,p=g.length;fd){d=p;continue}}else if(!c&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){c=!0,f=-1,d=0;continue}return E(m,String(e),h,t)}h=!1,g=r(g,t,10,m.s),(d=g.indexOf("."))>-1?g=g.replace(".",""):d=g.length}for(f=0;48===g.charCodeAt(f);f++);for(p=g.length;48===g.charCodeAt(--p););if(g=g.slice(f,++p)){if(p-=f,h&&D.DEBUG&&p>15&&(e>l||e!==i(e)))throw Error(s+m.s*e);if((d=d-f-1)>N)m.c=m.e=null;else if(d=I)?b(c,a):_(c,a,"0");else if(e=j(new D(e),t,r),i=e.e,c=m(e.c),s=c.length,1==n||2==n&&(t<=i||i<=x)){for(;ss){if(--t>0)for(c+=".";t--;c+="0");}else if(t+=i-s,t>0)for(i+1==s&&(c+=".");t--;c+="0");return e.s<0&&o?"-"+c:c}function $(e,t){for(var r,n=1,o=new D(e[0]);n=10;o/=10,n++);return(r=n+r*u-1)>N?e.c=e.e=null:r=10;f/=10,a++);if(s=t-a,s<0)s+=u,l=t,h=m[p=0],g=h/y[a-l-1]%10|0;else if(p=o((s+1)/u),p>=m.length){if(!n)break e;for(;m.length<=p;m.push(0));h=g=0,a=1,s%=u,l=s-u+1}else{for(h=f=m[p],a=1;f>=10;f/=10,a++);s%=u,l=s-u+a,g=l<0?0:h/y[a-l-1]%10|0}if(n=n||t<0||null!=m[p+1]||(l<0?h:h%y[a-l-1]),n=r<4?(g||n)&&(0==r||r==(e.s<0?3:2)):g>5||5==g&&(4==r||n||6==r&&(s>0?l>0?h/y[a-l]:0:m[p-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,n?(t-=e.e+1,m[0]=y[(u-t%u)%u],e.e=-t||0):m[0]=e.e=0,e;if(0==s?(m.length=p,f=1,p--):(m.length=p+1,f=y[u-s],m[p]=l>0?i(h/y[a-l]%y[l])*f:0),n)for(;;){if(0==p){for(s=1,l=m[0];l>=10;l/=10,s++);for(l=m[0]+=f,f=1;l>=10;l/=10,f++);s!=f&&(e.e++,m[0]==c&&(m[0]=1));break}if(m[p]+=f,m[p]!=c)break;m[p--]=0,f=1}for(s=m.length;0===m[--s];m.pop());}e.e>N?e.c=e.e=null:e.e=I?b(t,r):_(t,r,"0"),e.s<0?"-"+t:t)}return D.clone=p,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(a+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],v(r,0,h,t),T=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],v(r,0,8,t),C=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(v(r[0],-h,0,t),v(r[1],0,h,t),x=r[0],I=r[1]):(v(r,-h,h,t),x=-(I=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)v(r[0],-h,-1,t),v(r[1],1,h,t),O=r[0],N=r[1];else{if(v(r,-h,h,t),!r)throw Error(a+t+" cannot be zero: "+r);O=-(N=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(a+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw P=!r,Error(a+"crypto unavailable");P=r}else P=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],v(r,0,9,t),k=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],v(r,0,h,t),R=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(a+t+" not an object: "+r);M=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(a+t+" invalid: "+r);L="0123456789"==r.slice(0,10),B=r}}return{DECIMAL_PLACES:T,ROUNDING_MODE:C,EXPONENTIAL_AT:[x,I],RANGE:[O,N],CRYPTO:P,MODULO_MODE:k,POW_PRECISION:R,FORMAT:M,ALPHABET:B}},D.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!D.DEBUG)return!0;var t,r,n=e.c,o=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===s||-1===s)&&o>=-h&&o<=h&&o===i(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if(t=(o+1)%u,t<1&&(t+=u),String(n[0]).length==t){for(t=0;t=c||r!==i(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},D.maximum=D.max=function(){return $(arguments,S.lt)},D.minimum=D.min=function(){return $(arguments,S.gt)},D.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return i(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,n,s,c,l,f=0,p=[],g=new D(A);if(null==e?e=T:v(e,0,h),c=o(e/u),P)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(c*=2));f>>11),l>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[f]=n[0],r[f+1]=n[1]):(p.push(l%1e14),f+=2);f=c/2}else{if(!crypto.randomBytes)throw P=!1,Error(a+"crypto unavailable");for(r=crypto.randomBytes(c*=7);f=9e15?crypto.randomBytes(7).copy(r,f):(p.push(l%1e14),f+=7);f=c/7}if(!P)for(;f=10;l/=10,f++);fr-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var c,u,l,d,f,h,p,g,y=n.indexOf("."),v=T,w=C;for(y>=0&&(d=R,R=0,n=n.replace(".",""),g=new D(o),h=g.pow(n.length-y),R=d,g.c=r(_(m(h.c),h.e,"0"),10,i,e),g.e=g.c.length),p=r(n,o,i,s?(c=B,e):(c=e,B)),l=d=p.length;0==p[--d];p.pop());if(!p[0])return c.charAt(0);if(y<0?--l:(h.c=p,h.e=l,h.s=a,h=t(h,g,v,w,i),p=h.c,f=h.r,l=h.e),u=l+v+1,y=p[u],d=i/2,f=f||u<0||null!=p[u+1],f=w<4?(null!=y||f)&&(0==w||w==(h.s<0?3:2)):y>d||y==d&&(4==w||f||6==w&&1&p[u-1]||w==(h.s<0?8:7)),u<1||!p[0])n=f?_(c.charAt(1),-v,c.charAt(0)):c.charAt(0);else{if(p.length=u,f)for(--i;++p[--u]>i;)p[u]=0,u||(++l,p=[1].concat(p));for(d=p.length;!p[--d];);for(y=0,n="";y<=d;n+=c.charAt(p[y++]));n=_(n,l,c.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,o,i,a,s=0,c=e.length,u=t%f,l=t/f|0;for(e=e.slice();c--;)i=e[c]%f,a=e[c]/f|0,n=l*i+a*u,o=u*i+n%f*f+s,s=(o/r|0)+(n/f|0)+l*a,e[c]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]1;e.splice(0,1));}return function(n,o,a,s,l){var d,f,h,p,m,y,v,w,b,_,E,S,A,T,C,x,I,O=n.s==o.s?1:-1,N=n.c,P=o.c;if(!N||!N[0]||!P||!P[0])return new D(n.s&&o.s&&(N?!P||N[0]!=P[0]:P)?N&&0==N[0]||!P?0*O:O/0:NaN);for(w=new D(O),b=w.c=[],f=n.e-o.e,O=a+f+1,l||(l=c,f=g(n.e/u)-g(o.e/u),O=O/u|0),h=0;P[h]==(N[h]||0);h++);if(P[h]>(N[h]||0)&&f--,O<0)b.push(1),p=!0;else{for(T=N.length,x=P.length,h=0,O+=2,m=i(l/(P[0]+1)),m>1&&(P=e(P,m,l),N=e(N,m,l),x=P.length,T=N.length),A=x,_=N.slice(0,x),E=_.length;E=l/2&&C++;do{if(m=0,d=t(P,_,x,E),d<0){if(S=_[0],x!=E&&(S=S*l+(_[1]||0)),m=i(S/C),m>1){m>=l&&(m=l-1),y=e(P,m,l),v=y.length,E=_.length;while(1==t(y,_,v,E))m--,r(y,x=10;O/=10,h++);j(w,a+(w.e=h+f*u-1)+1,s,p)}else w.e=f,w.r=+p;return w}}(),E=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,s,c,u){var l,d=c?s:s.replace(o,"");if(n.test(d))i.s=isNaN(d)?null:d<0?-1:1;else{if(!c&&(d=d.replace(e,(function(e,t,r){return l="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=l?e:t})),u&&(l=u,d=d.replace(t,"$1").replace(r,"0.$1")),s!=d))return new D(d,l);if(D.DEBUG)throw Error(a+"Not a"+(u?" base "+u:"")+" number: "+s);i.s=null}i.c=i.e=null}}(),S.absoluteValue=S.abs=function(){var e=new D(this);return e.s<0&&(e.s=1),e},S.comparedTo=function(e,t){return y(this,new D(e,t))},S.decimalPlaces=S.dp=function(e,t){var r,n,o,i=this;if(null!=e)return v(e,0,h),null==t?t=C:v(t,0,8),j(new D(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-g(this.e/u))*u,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},S.dividedBy=S.div=function(e,r){return t(this,new D(e,r),T,C)},S.dividedToIntegerBy=S.idiv=function(e,r){return t(this,new D(e,r),0,1)},S.exponentiatedBy=S.pow=function(e,t){var r,n,s,c,l,d,f,h,p,g=this;if(e=new D(e),e.c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+z(e));if(null!=t&&(t=new D(t)),d=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return p=new D(Math.pow(+z(g),d?e.s*(2-w(e)):+z(e))),t?p.mod(t):p;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new D(NaN);n=!f&&g.isInteger()&&t.isInteger(),n&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||d&&g.c[1]>=24e7:g.c[0]<8e13||d&&g.c[0]<=9999975e7)))return c=g.s<0&&w(e)?-0:0,g.e>-1&&(c=1/c),new D(f?1/c:c);R&&(c=o(R/u+2))}for(d?(r=new D(.5),f&&(e.s=1),h=w(e)):(s=Math.abs(+z(e)),h=s%2),p=new D(A);;){if(h){if(p=p.times(g),!p.c)break;c?p.c.length>c&&(p.c.length=c):n&&(p=p.mod(t))}if(s){if(s=i(s/2),0===s)break;h=s%2}else if(e=e.times(r),j(e,e.e+1,1),e.e>14)h=w(e);else{if(s=+z(e),0===s)break;h=s%2}g=g.times(g),c?g.c&&g.c.length>c&&(g.c.length=c):n&&(g=g.mod(t))}return n?p:(f&&(p=A.div(p)),t?p.mod(t):c?j(p,R,C,l):p)},S.integerValue=function(e){var t=new D(this);return null==e?e=C:v(e,0,8),j(t,t.e+1,e)},S.isEqualTo=S.eq=function(e,t){return 0===y(this,new D(e,t))},S.isFinite=function(){return!!this.c},S.isGreaterThan=S.gt=function(e,t){return y(this,new D(e,t))>0},S.isGreaterThanOrEqualTo=S.gte=function(e,t){return 1===(t=y(this,new D(e,t)))||0===t},S.isInteger=function(){return!!this.c&&g(this.e/u)>this.c.length-2},S.isLessThan=S.lt=function(e,t){return y(this,new D(e,t))<0},S.isLessThanOrEqualTo=S.lte=function(e,t){return-1===(t=y(this,new D(e,t)))||0===t},S.isNaN=function(){return!this.s},S.isNegative=function(){return this.s<0},S.isPositive=function(){return this.s>0},S.isZero=function(){return!!this.c&&0==this.c[0]},S.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(e=new D(e,t),t=e.s,!s||!t)return new D(NaN);if(s!=t)return e.s=-t,a.plus(e);var l=a.e/u,d=e.e/u,f=a.c,h=e.c;if(!l||!d){if(!f||!h)return f?(e.s=-t,e):new D(h?a:NaN);if(!f[0]||!h[0])return h[0]?(e.s=-t,e):new D(f[0]?a:3==C?-0:0)}if(l=g(l),d=g(d),f=f.slice(),s=l-d){for((i=s<0)?(s=-s,o=f):(d=l,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=f.length)<(t=h.length))?s:t,s=t=0;t0)for(;t--;f[r++]=0);for(t=c-1;n>s;){if(f[--n]=0;){for(r=0,m=S[o]%b,y=S[o]/b|0,a=l,i=o+a;i>o;)d=E[--a]%b,h=E[a]/b|0,s=y*d+h*m,d=m*d+s%b*b+v[i]+r,r=(d/w|0)+(s/b|0)+y*h,v[i--]=d%w;v[i]=r}return r?++n:v.splice(0,1),U(e,v,n)},S.negated=function(){var e=new D(this);return e.s=-e.s||null,e},S.plus=function(e,t){var r,n=this,o=n.s;if(e=new D(e,t),t=e.s,!o||!t)return new D(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/u,a=e.e/u,s=n.c,l=e.c;if(!i||!a){if(!s||!l)return new D(o/0);if(!s[0]||!l[0])return l[0]?e:new D(s[0]?n:0*o)}if(i=g(i),a=g(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=l):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for(o=s.length,t=l.length,o-t<0&&(r=l,l=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+l[t]+o)/c|0,s[t]=c===s[t]?0:s[t]%c;return o&&(s=[o].concat(s),++a),U(e,s,a)},S.precision=S.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return v(e,1,h),null==t?t=C:v(t,0,8),j(new D(i),e,t);if(!(r=i.c))return null;if(o=r.length-1,n=o*u+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},S.shiftedBy=function(e){return v(e,-l,l),this.times("1e"+e)},S.squareRoot=S.sqrt=function(){var e,r,n,o,i,a=this,s=a.c,c=a.s,u=a.e,l=T+4,d=new D("0.5");if(1!==c||!s||!s[0])return new D(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);if(c=Math.sqrt(+z(a)),0==c||c==1/0?(r=m(s),(r.length+u)%2==0&&(r+="0"),c=Math.sqrt(+r),u=g((u+1)/2)-(u<0||u%2),c==1/0?r="5e"+u:(r=c.toExponential(),r=r.slice(0,r.indexOf("e")+1)+u),n=new D(r)):n=new D(c+""),n.c[0])for(u=n.e,c=u+l,c<3&&(c=0);;)if(i=n,n=d.times(i.plus(t(a,i,l,1))),m(i.c).slice(0,c)===(r=m(n.c)).slice(0,c)){if(n.e0&&g>0){for(i=g%c||c,d=p.substr(0,i);i0&&(d+=l+p.slice(i)),h&&(d="-"+d)}n=f?d+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?f.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):d}return(r.prefix||"")+n+(r.suffix||"")},S.toFraction=function(e){var r,n,o,i,s,c,l,f,h,p,g,y,v=this,w=v.c;if(null!=e&&(l=new D(e),!l.isInteger()&&(l.c||1!==l.s)||l.lt(A)))throw Error(a+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+z(l));if(!w)return new D(v);for(r=new D(A),h=n=new D(A),o=f=new D(A),y=m(w),s=r.e=y.length-v.e-1,r.c[0]=d[(c=s%u)<0?u+c:c],e=!e||l.comparedTo(r)>0?s>0?r:h:l,c=N,N=1/0,l=new D(y),f.c[0]=0;;){if(p=t(l,r,0,1),i=n.plus(p.times(o)),1==i.comparedTo(e))break;n=o,o=i,h=f.plus(p.times(i=h)),f=i,r=l.minus(p.times(i=r)),l=i}return i=t(e.minus(n),o,0,1),f=f.plus(i.times(h)),n=n.plus(i.times(o)),f.s=h.s=v.s,s*=2,g=t(h,o,s,C).minus(v).abs().comparedTo(t(f,n,s,C).minus(v).abs())<1?[h,o]:[f,n],N=c,g},S.toNumber=function(){return+z(this)},S.toPrecision=function(e,t){return null!=e&&v(e,1,h),F(this,e,t,2)},S.toString=function(e){var t,n=this,o=n.s,i=n.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=x||i>=I?b(m(n.c),i):_(m(n.c),i,"0"):10===e&&L?(n=j(new D(n),T+i+1,C),t=_(m(n.c),n.e,"0")):(v(e,2,B.length,"Base"),t=r(_(m(n.c),i,"0"),10,e,o,!0)),o<0&&n.c[0]&&(t="-"+t)),t},S.valueOf=S.toJSON=function(){return z(this)},S._isBigNumber=!0,S[Symbol.toStringTag]="BigNumber",S[Symbol.for("nodejs.util.inspect.custom")]=S.valueOf,null!=e&&D.set(e),D}function g(e){var t=0|e;return e>0||e===t?t:t-1}function m(e){for(var t,r,n=1,o=e.length,i=e[0]+"";nu^r?1:-1;for(s=(c=o.length)<(u=i.length)?c:u,a=0;ai[a]^r?1:-1;return c==u?0:c>u^r?1:-1}function v(e,t,r,n){if(er||e!==i(e))throw Error(a+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function w(e){var t=e.c.length-1;return g(e.e/u)==t&&e.c[t]%2!=0}function b(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function _(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t{"use strict";function n(){this.__data__=[],this.size=0}r.d(t,{Z:()=>w});const o=n;var i=r(79651);function a(e,t){var r=e.length;while(r--)if((0,i.Z)(e[r][0],t))return r;return-1}const s=a;var c=Array.prototype,u=c.splice;function l(e){var t=this.__data__,r=s(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():u.call(t,r,1),--this.size,!0}const d=l;function f(e){var t=this.__data__,r=s(t,e);return r<0?void 0:t[r][1]}const h=f;function p(e){return s(this.__data__,e)>-1}const g=p;function m(e,t){var r=this.__data__,n=s(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}const y=m;function v(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t{"use strict";r.d(t,{Z:()=>a});var n=r(62508),o=r(66092),i=(0,n.Z)(o.Z,"Map");const a=i},37834:(e,t,r)=>{"use strict";r.d(t,{Z:()=>j});var n=r(62508),o=(0,n.Z)(Object,"create");const i=o;function a(){this.__data__=i?i(null):{},this.size=0}const s=a;function c(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}const u=c;var l="__lodash_hash_undefined__",d=Object.prototype,f=d.hasOwnProperty;function h(e){var t=this.__data__;if(i){var r=t[e];return r===l?void 0:r}return f.call(t,e)?t[e]:void 0}const p=h;var g=Object.prototype,m=g.hasOwnProperty;function y(e){var t=this.__data__;return i?void 0!==t[e]:m.call(t,e)}const v=y;var w="__lodash_hash_undefined__";function b(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=i&&void 0===t?w:t,this}const _=b;function E(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t{"use strict";r.d(t,{Z:()=>a});var n=r(62508),o=r(66092),i=(0,n.Z)(o.Z,"Set");const a=i},63001:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(37834),o="__lodash_hash_undefined__";function i(e){return this.__data__.set(e,o),this}const a=i;function s(e){return this.__data__.has(e)}const c=s;function u(e){var t=-1,r=null==e?0:e.length;this.__data__=new n.Z;while(++t{"use strict";r.d(t,{Z:()=>v});var n=r(67308);function o(){this.__data__=new n.Z,this.size=0}const i=o;function a(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}const s=a;function c(e){return this.__data__.get(e)}const u=c;function l(e){return this.__data__.has(e)}const d=l;var f=r(86183),h=r(37834),p=200;function g(e,t){var r=this.__data__;if(r instanceof n.Z){var o=r.__data__;if(!f.Z||o.length{"use strict";r.d(t,{Z:()=>i});var n=r(66092),o=n.Z.Symbol;const i=o},84073:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(66092),o=n.Z.Uint8Array;const i=o},35415:(e,t,r)=>{"use strict";function n(e,t,r,n){var o=e.length,i=r+(n?1:-1);while(n?i--:++if});const o=n;function i(e){return e!==e}const a=i;function s(e,t,r){var n=r-1,o=e.length;while(++n-1}const f=d},22783:(e,t,r)=>{"use strict";function n(e,t,r){var n=-1,o=null==e?0:e.length;while(++no});const o=n},63771:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(52889),o=r(29169),i=r(27771),a=r(77008),s=r(56009),c=r(18843),u=Object.prototype,l=u.hasOwnProperty;function d(e,t){var r=(0,i.Z)(e),u=!r&&(0,o.Z)(e),d=!r&&!u&&(0,a.Z)(e),f=!r&&!u&&!d&&(0,c.Z)(e),h=r||u||d||f,p=h?(0,n.Z)(e.length,String):[],g=p.length;for(var m in e)!t&&!l.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.Z)(m,g))||p.push(m);return p}const f=d},74073:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=null==e?0:e.length,o=Array(n);while(++ro});const o=n},58694:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=t.length,o=e.length;while(++ro});const o=n},76537:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(74752),o=r(79651),i=Object.prototype,a=i.hasOwnProperty;function s(e,t,r){var i=e[t];a.call(e,t)&&(0,o.Z)(i,r)&&(void 0!==r||t in e)||(0,n.Z)(e,t,r)}const c=s},74752:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(77904);function o(e,t,r){"__proto__"==t&&n.Z?(0,n.Z)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}const i=o},10626:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(58694),o=r(17685),i=r(29169),a=r(27771),s=o.Z?o.Z.isConcatSpreadable:void 0;function c(e){return(0,a.Z)(e)||(0,i.Z)(e)||!!(s&&e&&e[s])}const u=c;function l(e,t,r,o,i){var a=-1,s=e.length;r||(r=u),i||(i=[]);while(++a0&&r(c)?t>1?l(c,t-1,r,o,i):(0,n.Z)(i,c):o||(i[i.length]=c)}return i}const d=l},69830:(e,t,r)=>{"use strict";function n(e){return function(t,r,n){var o=-1,i=Object(t),a=n(t),s=a.length;while(s--){var c=a[e?s:++o];if(!1===r(i[c],c,i))break}return t}}r.d(t,{Z:()=>u});const o=n;var i=o();const a=i;var s=r(17179);function c(e,t){return e&&a(e,t,s.Z)}const u=c},13317:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(10134),o=r(62281);function i(e,t){t=(0,n.Z)(t,e);var r=0,i=t.length;while(null!=e&&r{"use strict";r.d(t,{Z:()=>a});var n=r(58694),o=r(27771);function i(e,t,r){var i=t(e);return(0,o.Z)(e)?i:(0,n.Z)(i,r(e))}const a=i},93589:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(17685),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n.Z?n.Z.toStringTag:void 0;function c(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(c){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}const u=c;var l=Object.prototype,d=l.toString;function f(e){return d.call(e)}const h=f;var p="[object Null]",g="[object Undefined]",m=n.Z?n.Z.toStringTag:void 0;function y(e){return null==e?void 0===e?g:p:m&&m in Object(e)?u(e):h(e)}const v=y},2674:(e,t,r)=>{"use strict";r.d(t,{Z:()=>te});var n=r(31667),o=r(63001);function i(e,t){var r=-1,n=null==e?0:e.length;while(++rf))return!1;var p=l.get(e),g=l.get(t);if(p&&g)return p==t&&g==e;var m=-1,y=!0,v=r&u?new o.Z:void 0;l.set(e,t),l.set(t,e);while(++m{"use strict";r.d(t,{Z:()=>D});var n=r(31667),o=r(2674),i=1,a=2;function s(e,t,r,s){var c=r.length,u=c,l=!s;if(null==e)return!u;e=Object(e);while(c--){var d=r[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}while(++c{"use strict";r.d(t,{Z:()=>l});var n=r(72764),o=r(1851),i=(0,o.Z)(Object.keys,Object);const a=i;var s=Object.prototype,c=s.hasOwnProperty;function u(e){if(!(0,n.Z)(e))return a(e);var t=[];for(var r in Object(e))c.call(e,r)&&"constructor"!=r&&t.push(r);return t}const l=u},69581:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(69203),o=r(81211),i=r(64594);function a(e,t){return(0,i.Z)((0,o.Z)(e,t,n.Z),e+"")}const s=a},52889:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=Array(e);while(++ro});const o=n},21162:(e,t,r)=>{"use strict";function n(e){return function(t){return e(t)}}r.d(t,{Z:()=>o});const o=n},51918:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(63001),o=r(35415),i=r(22783),a=r(59548),s=r(93203);function c(){}const u=c;var l=r(6545),d=1/0,f=s.Z&&1/(0,l.Z)(new s.Z([,-0]))[1]==d?function(e){return new s.Z(e)}:u;const h=f;var p=200;function g(e,t,r){var s=-1,c=o.Z,u=e.length,d=!0,f=[],g=f;if(r)d=!1,c=i.Z;else if(u>=p){var m=t?null:h(e);if(m)return(0,l.Z)(m);d=!1,c=a.Z,g=new n.Z}else g=t?[]:f;e:while(++s{"use strict";function n(e,t){return e.has(t)}r.d(t,{Z:()=>o});const o=n},10134:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(27771),o=r(99365),i=r(37834),a="Expected a function";function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(s.Cache||i.Z),r}s.Cache=i.Z;const c=s;var u=500;function l(e){var t=c(e,(function(e){return r.size===u&&r.clear(),e})),r=t.cache;return t}const d=l;var f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,p=d((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(f,(function(e,r,n,o){t.push(n?o.replace(h,"$1"):r||e)})),t}));const g=p;var m=r(50751);function y(e,t){return(0,n.Z)(e)?e:(0,o.Z)(e,t)?[e]:g((0,m.Z)(e))}const v=y},87215:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++ro});const o=n},77904:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(62508),o=function(){try{var e=(0,n.Z)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const i=o},13413:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n="object"==typeof global&&global&&global.Object===Object&&global;const o=n},1808:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(63327),o=r(41574),i=r(17179);function a(e){return(0,n.Z)(e,i.Z,o.Z)}const s=a},62508:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(73234),o=r(66092),i=o.Z["__core-js_shared__"];const a=i;var s=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function c(e){return!!s&&s in e}const u=c;var l=r(77226),d=r(90019),f=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,p=Function.prototype,g=Object.prototype,m=p.toString,y=g.hasOwnProperty,v=RegExp("^"+m.call(y).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function w(e){if(!(0,l.Z)(e)||u(e))return!1;var t=(0,n.Z)(e)?v:h;return t.test((0,d.Z)(e))}const b=w;function _(e,t){return null==e?void 0:e[t]}const E=_;function S(e,t){var r=E(e,t);return b(r)?r:void 0}const A=S},41574:(e,t,r)=>{"use strict";function n(e,t){var r=-1,n=null==e?0:e.length,o=0,i=[];while(++rl});const o=n;var i=r(60532),a=Object.prototype,s=a.propertyIsEnumerable,c=Object.getOwnPropertySymbols,u=c?function(e){return null==e?[]:(e=Object(e),o(c(e),(function(t){return s.call(e,t)})))}:i.Z;const l=u},83970:(e,t,r)=>{"use strict";r.d(t,{Z:()=>x});var n=r(62508),o=r(66092),i=(0,n.Z)(o.Z,"DataView");const a=i;var s=r(86183),c=(0,n.Z)(o.Z,"Promise");const u=c;var l=r(93203),d=(0,n.Z)(o.Z,"WeakMap");const f=d;var h=r(93589),p=r(90019),g="[object Map]",m="[object Object]",y="[object Promise]",v="[object Set]",w="[object WeakMap]",b="[object DataView]",_=(0,p.Z)(a),E=(0,p.Z)(s.Z),S=(0,p.Z)(u),A=(0,p.Z)(l.Z),T=(0,p.Z)(f),C=h.Z;(a&&C(new a(new ArrayBuffer(1)))!=b||s.Z&&C(new s.Z)!=g||u&&C(u.resolve())!=y||l.Z&&C(new l.Z)!=v||f&&C(new f)!=w)&&(C=function(e){var t=(0,h.Z)(e),r=t==m?e.constructor:void 0,n=r?(0,p.Z)(r):"";if(n)switch(n){case _:return b;case E:return g;case S:return y;case A:return v;case T:return w}return t});const x=C},56009:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;function i(e,t){var r=typeof e;return t=null==t?n:t,!!t&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e{"use strict";r.d(t,{Z:()=>c});var n=r(27771),o=r(72714),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if((0,n.Z)(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!(0,o.Z)(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}const c=s},72764:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=Object.prototype;function o(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}const i=o},98351:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(13413),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o,s=a&&n.Z.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();const u=c},1851:(e,t,r)=>{"use strict";function n(e,t){return function(r){return e(t(r))}}r.d(t,{Z:()=>o});const o=n},81211:(e,t,r)=>{"use strict";function n(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}r.d(t,{Z:()=>s});const o=n;var i=Math.max;function a(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){var n=arguments,a=-1,s=i(n.length-t,0),c=Array(s);while(++a{"use strict";r.d(t,{Z:()=>a});var n=r(13413),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.Z||o||Function("return this")();const a=i},6545:(e,t,r)=>{"use strict";function n(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}r.d(t,{Z:()=>o});const o=n},64594:(e,t,r)=>{"use strict";function n(e){return function(){return e}}r.d(t,{Z:()=>g});const o=n;var i=r(77904),a=r(69203),s=i.Z?function(e,t){return(0,i.Z)(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a.Z;const c=s;var u=800,l=16,d=Date.now;function f(e){var t=0,r=0;return function(){var n=d(),o=l-(n-r);if(r=n,o>0){if(++t>=u)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}const h=f;var p=h(c);const g=p},62281:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(72714),o=1/0;function i(e){if("string"==typeof e||(0,n.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}const a=i},90019:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=Function.prototype,o=n.toString;function i(e){if(null!=e){try{return o.call(e)}catch(t){}try{return e+""}catch(t){}}return""}const a=i},43767:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ht});var n=r(50751);function o(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var i=Array(o);while(++n=n?e:i(e,t,r)}const s=a;var c="\\ud800-\\udfff",u="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",d="\\u20d0-\\u20ff",f=u+l+d,h="\\ufe0e\\ufe0f",p="\\u200d",g=RegExp("["+p+c+f+h+"]");function m(e){return g.test(e)}const y=m;function v(e){return e.split("")}const w=v;var b="\\ud800-\\udfff",_="\\u0300-\\u036f",E="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",A=_+E+S,T="\\ufe0e\\ufe0f",C="["+b+"]",x="["+A+"]",I="\\ud83c[\\udffb-\\udfff]",O="(?:"+x+"|"+I+")",N="[^"+b+"]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",R="\\u200d",M=O+"?",B="["+T+"]?",L="(?:"+R+"(?:"+[N,P,k].join("|")+")"+B+M+")*",D=B+M+L,F="(?:"+[N+x+"?",x,P,k,C].join("|")+")",$=RegExp(I+"(?="+I+")|"+F+D,"g");function U(e){return e.match($)||[]}const j=U;function z(e){return y(e)?j(e):w(e)}const V=z;function H(e){return function(t){t=(0,n.Z)(t);var r=y(t)?V(t):void 0,o=r?r[0]:t.charAt(0),i=r?s(r,1).join(""):t.slice(1);return o[e]()+i}}const q=H;var G=q("toUpperCase");const W=G;function Z(e){return W((0,n.Z)(e).toLowerCase())}const K=Z;function Y(e,t,r,n){var o=-1,i=null==e?0:e.length;n&&i&&(r=e[++o]);while(++o{"use strict";r.d(t,{Z:()=>Vt});var n=r(31667);function o(e,t){var r=-1,n=null==e?0:e.length;while(++r{"use strict";r.d(t,{Z:()=>f});var n=r(77226),o=r(66092),i=function(){return o.Z.Date.now()};const a=i;var s=r(21357),c="Expected a function",u=Math.max,l=Math.min;function d(e,t,r){var o,i,d,f,h,p,g=0,m=!1,y=!1,v=!0;if("function"!=typeof e)throw new TypeError(c);function w(t){var r=o,n=i;return o=i=void 0,g=t,f=e.apply(n,r),f}function b(e){return g=e,h=setTimeout(S,t),m?w(e):f}function _(e){var r=e-p,n=e-g,o=t-r;return y?l(o,d-n):o}function E(e){var r=e-p,n=e-g;return void 0===p||r>=t||r<0||y&&n>=d}function S(){var e=a();if(E(e))return A(e);h=setTimeout(S,_(e))}function A(e){return h=void 0,v&&o?w(e):(o=i=void 0,f)}function T(){void 0!==h&&clearTimeout(h),g=0,o=p=i=h=void 0}function C(){return void 0===h?f:A(a())}function x(){var e=a(),r=E(e);if(o=arguments,i=this,p=e,r){if(void 0===h)return b(p);if(y)return clearTimeout(h),h=setTimeout(S,t),w(p)}return void 0===h&&(h=setTimeout(S,t)),f}return t=(0,s.Z)(t)||0,(0,n.Z)(r)&&(m=!!r.leading,y="maxWait"in r,d=y?u((0,s.Z)(r.maxWait)||0,t):d,v="trailing"in r?!!r.trailing:v),x.cancel=T,x.flush=C,x}const f=d},48001:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n="Expected a function";function o(e,t,r){if("function"!=typeof e)throw new TypeError(n);return setTimeout((function(){e.apply(void 0,r)}),t)}const i=o;var a=r(69581),s=(0,a.Z)((function(e,t){return i(e,1,t)}));const c=s},17818:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(63001),o=r(35415),i=r(22783),a=r(74073),s=r(21162),c=r(59548),u=200;function l(e,t,r,l){var d=-1,f=o.Z,h=!0,p=e.length,g=[],m=t.length;if(!p)return g;r&&(t=(0,a.Z)(t,(0,s.Z)(r))),l?(f=i.Z,h=!1):t.length>=u&&(f=c.Z,h=!1,t=new n.Z(t));e:while(++d{"use strict";function n(e,t){return e===t||e!==e&&t!==t}r.d(t,{Z:()=>o});const o=n},16423:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(13317);function o(e,t,r){var o=null==e?void 0:(0,n.Z)(e,t);return void 0===o?r:o}const i=o},75993:(e,t,r)=>{"use strict";function n(e,t){return null!=e&&t in Object(e)}r.d(t,{Z:()=>p});const o=n;var i=r(10134),a=r(29169),s=r(27771),c=r(56009),u=r(1656),l=r(62281);function d(e,t,r){t=(0,i.Z)(t,e);var n=-1,o=t.length,d=!1;while(++n{"use strict";function n(e){return e}r.d(t,{Z:()=>o});const o=n},29169:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(93589),o=r(54060),i="[object Arguments]";function a(e){return(0,o.Z)(e)&&(0,n.Z)(e)==i}const s=a;var c=Object.prototype,u=c.hasOwnProperty,l=c.propertyIsEnumerable,d=s(function(){return arguments}())?s:function(e){return(0,o.Z)(e)&&u.call(e,"callee")&&!l.call(e,"callee")};const f=d},27771:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=Array.isArray;const o=n},50585:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(73234),o=r(1656);function i(e){return null!=e&&(0,o.Z)(e.length)&&!(0,n.Z)(e)}const a=i},77008:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(66092);function o(){return!1}const i=o;var a="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=a&&"object"==typeof module&&module&&!module.nodeType&&module,c=s&&s.exports===a,u=c?n.Z.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||i;const f=d},79697:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(39473),o=r(83970),i=r(29169),a=r(27771),s=r(50585),c=r(77008),u=r(72764),l=r(18843),d="[object Map]",f="[object Set]",h=Object.prototype,p=h.hasOwnProperty;function g(e){if(null==e)return!0;if((0,s.Z)(e)&&((0,a.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,c.Z)(e)||(0,l.Z)(e)||(0,i.Z)(e)))return!e.length;var t=(0,o.Z)(e);if(t==d||t==f)return!e.size;if((0,u.Z)(e))return!(0,n.Z)(e).length;for(var r in e)if(p.call(e,r))return!1;return!0}const m=g},50576:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(2674);function o(e,t){return(0,n.Z)(e,t)}const i=o},73234:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(93589),o=r(77226),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function u(e){if(!(0,o.Z)(e))return!1;var t=(0,n.Z)(e);return t==a||t==s||t==i||t==c}const l=u},1656:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=9007199254740991;function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}const i=o},77226:(e,t,r)=>{"use strict";function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}r.d(t,{Z:()=>o});const o=n},54060:(e,t,r)=>{"use strict";function n(e){return null!=e&&"object"==typeof e}r.d(t,{Z:()=>o});const o=n},72714:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(93589),o=r(54060),i="[object Symbol]";function a(e){return"symbol"==typeof e||(0,o.Z)(e)&&(0,n.Z)(e)==i}const s=a},18843:(e,t,r)=>{"use strict";r.d(t,{Z:()=>D});var n=r(93589),o=r(1656),i=r(54060),a="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",g="[object RegExp]",m="[object Set]",y="[object String]",v="[object WeakMap]",w="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",A="[object Int16Array]",T="[object Int32Array]",C="[object Uint8Array]",x="[object Uint8ClampedArray]",I="[object Uint16Array]",O="[object Uint32Array]",N={};function P(e){return(0,i.Z)(e)&&(0,o.Z)(e.length)&&!!N[(0,n.Z)(e)]}N[_]=N[E]=N[S]=N[A]=N[T]=N[C]=N[x]=N[I]=N[O]=!0,N[a]=N[s]=N[w]=N[c]=N[b]=N[u]=N[l]=N[d]=N[f]=N[h]=N[p]=N[g]=N[m]=N[y]=N[v]=!1;const k=P;var R=r(21162),M=r(98351),B=M.Z&&M.Z.isTypedArray,L=B?(0,R.Z)(B):k;const D=L},17179:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(63771),o=r(39473),i=r(50585);function a(e){return(0,i.Z)(e)?(0,n.Z)(e):(0,o.Z)(e)}const s=a},48392:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(74752),o=r(69830),i=r(86441);function a(e,t){var r={};return t=(0,i.Z)(t,3),(0,o.Z)(e,(function(e,o,i){(0,n.Z)(r,o,t(e,o,i))})),r}const s=a},43351:(e,t,r)=>{"use strict";r.d(t,{Z:()=>x});var n=r(74073),o=r(13317),i=r(86441),a=r(69830),s=r(50585);function c(e,t){return function(r,n){if(null==r)return r;if(!(0,s.Z)(r))return e(r,n);var o=r.length,i=t?o:-1,a=Object(r);while(t?i--:++it||i&&a&&c&&!s&&!u||n&&a&&c||!r&&c||!o)return 1;if(!n&&!i&&!u&&e=s)return c;var u=r[n];return c*("desc"==u?-1:1)}}return e.index-t.index}const _=b;var E=r(69203),S=r(27771);function A(e,t,r){t=t.length?(0,n.Z)(t,(function(e){return(0,S.Z)(e)?function(t){return(0,o.Z)(t,1===e.length?e[0]:e)}:e})):[E.Z];var a=-1;t=(0,n.Z)(t,(0,m.Z)(i.Z));var s=h(e,(function(e,r,o){var i=(0,n.Z)(t,(function(t){return t(e)}));return{criteria:i,index:++a,value:e}}));return g(s,(function(e,t){return _(e,t,r)}))}const T=A;function C(e,t,r,n){return null==e?[]:((0,S.Z)(t)||(t=null==t?[]:[t]),r=n?void 0:r,(0,S.Z)(r)||(r=null==r?[]:[r]),T(e,t,r))}const x=C},70289:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(13317),o=r(76537),i=r(10134),a=r(56009),s=r(77226),c=r(62281);function u(e,t,r,n){if(!(0,s.Z)(e))return e;t=(0,i.Z)(t,e);var u=-1,l=t.length,d=l-1,f=e;while(null!=f&&++u{"use strict";r.d(t,{Z:()=>E});var n=r(87215),o=Math.floor,i=Math.random;function a(e,t){return e+o(i()*(t-e+1))}const s=a;function c(e,t){var r=-1,n=e.length,o=n-1;t=void 0===t?n:t;while(++r{"use strict";function n(){return[]}r.d(t,{Z:()=>o});const o=n},111:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(36409),o=r(77226),i="Expected a function";function a(e,t,r){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return(0,o.Z)(r)&&(a="leading"in r?!!r.leading:a,s="trailing"in r?!!r.trailing:s),(0,n.Z)(e,t,{leading:a,maxWait:t,trailing:s})}const s=a},91391:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(52889),o=r(69203);function i(e){return"function"==typeof e?e:o.Z}const a=i;var s=r(21357),c=1/0,u=17976931348623157e292;function l(e){if(!e)return 0===e?e:0;if(e=(0,s.Z)(e),e===c||e===-c){var t=e<0?-1:1;return t*u}return e===e?e:0}const d=l;function f(e){var t=d(e),r=t%1;return t===t?r?t-r:t:0}const h=f;var p=9007199254740991,g=4294967295,m=Math.min;function y(e,t){if(e=h(e),e<1||e>p)return[];var r=g,o=m(e,g);t=a(t),e-=g;var i=(0,n.Z)(o,t);while(++r{"use strict";r.d(t,{Z:()=>y});var n=/\s/;function o(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}const i=o;var a=/^\s+/;function s(e){return e?e.slice(0,i(e)+1).replace(a,""):e}const c=s;var u=r(77226),l=r(72714),d=NaN,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,g=parseInt;function m(e){if("number"==typeof e)return e;if((0,l.Z)(e))return d;if((0,u.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,u.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=c(e);var r=h.test(e);return r||p.test(e)?g(e.slice(2),r?2:8):f.test(e)?d:+e}const y=m},50751:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(17685),o=r(74073),i=r(27771),a=r(72714),s=1/0,c=n.Z?n.Z.prototype:void 0,u=c?c.toString:void 0;function l(e){if("string"==typeof e)return e;if((0,i.Z)(e))return(0,o.Z)(e,l)+"";if((0,a.Z)(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}const d=l;function f(e){return null==e?"":d(e)}const h=f},94207:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(51918);function o(e){return e&&e.length?(0,n.Z)(e):[]}const i=o},87783:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(86441),o=r(51918);function i(e,t){return e&&e.length?(0,o.Z)(e,(0,n.Z)(t,2)):[]}const a=i},27860:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(51918);function o(e,t){return t="function"==typeof t?t:void 0,e&&e.length?(0,n.Z)(e,void 0,t):[]}const i=o},98918:(e,t,r)=>{"use strict";r.d(t,{oM:()=>i});var n=r(13433),o=r(7185);function i(e){let t,{swiper:r,extendParams:i,on:a,emit:s}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const c=(0,n.g)();r.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const u=c.createElement("div");function l(e,t){const n=r.params.virtual;if(n.cache&&r.virtual.cache[t])return r.virtual.cache[t];let i;return n.renderSlide?(i=n.renderSlide.call(r,e,t),"string"===typeof i&&(u.innerHTML=i,i=u.children[0])):i=r.isElement?(0,o.c)("swiper-slide"):(0,o.c)("div",r.params.slideClass),i.setAttribute("data-swiper-slide-index",t),n.renderSlide||(i.innerHTML=e),n.cache&&(r.virtual.cache[t]=i),i}function d(e){const{slidesPerView:t,slidesPerGroup:n,centeredSlides:i,loop:a}=r.params,{addSlidesBefore:c,addSlidesAfter:u}=r.params.virtual,{from:d,to:f,slides:h,slidesGrid:p,offset:g}=r.virtual;r.params.cssMode||r.updateActiveIndex();const m=r.activeIndex||0;let y,v,w;y=r.rtlTranslate?"right":r.isHorizontal()?"left":"top",i?(v=Math.floor(t/2)+n+u,w=Math.floor(t/2)+n+c):(v=t+(n-1)+u,w=(a?t:n)+c);let b=m-w,_=m+v;a||(b=Math.max(b,0),_=Math.min(_,h.length-1));let E=(r.slidesGrid[b]||0)-(r.slidesGrid[0]||0);function S(){r.updateSlides(),r.updateProgress(),r.updateSlidesClasses(),s("virtualUpdate")}if(a&&m>=w?(b-=w,i||(E+=r.slidesGrid[0])):a&&m{e.style[y]=E-Math.abs(r.cssOverflowAdjustment())+"px"})),r.updateProgress(),void s("virtualUpdate");if(r.params.virtual.renderExternal)return r.params.virtual.renderExternal.call(r,{offset:E,from:b,to:_,slides:function(){const e=[];for(let t=b;t<=_;t+=1)e.push(h[t]);return e}()}),void(r.params.virtual.renderExternalUpdate?S():s("virtualUpdate"));const A=[],T=[],C=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)r.slidesEl.querySelectorAll(`.${r.params.slideClass}, swiper-slide`).forEach((e=>{e.remove()}));else for(let o=d;o<=f;o+=1)if(o_){const e=C(o);r.slidesEl.querySelectorAll(`.${r.params.slideClass}[data-swiper-slide-index="${e}"], swiper-slide[data-swiper-slide-index="${e}"]`).forEach((e=>{e.remove()}))}const x=a?-h.length:0,I=a?2*h.length:h.length;for(let r=x;r=b&&r<=_){const t=C(r);"undefined"===typeof f||e?T.push(t):(r>f&&T.push(t),r{r.slidesEl.append(l(h[e],e))})),a)for(let o=A.length-1;o>=0;o-=1){const e=A[o];r.slidesEl.prepend(l(h[e],e))}else A.sort(((e,t)=>t-e)),A.forEach((e=>{r.slidesEl.prepend(l(h[e],e))}));(0,o.e)(r.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[y]=E-Math.abs(r.cssOverflowAdjustment())+"px"})),S()}function f(e){if("object"===typeof e&&"length"in e)for(let t=0;t{const n=e[r],i=n.getAttribute("data-swiper-slide-index");i&&n.setAttribute("data-swiper-slide-index",parseInt(i,10)+o),t[parseInt(r,10)+o]=n})),r.virtual.cache=t}d(!0),r.slideTo(n,0)}function p(e){if("undefined"===typeof e||null===e)return;let t=r.activeIndex;if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)r.virtual.slides.splice(e[n],1),r.params.virtual.cache&&delete r.virtual.cache[e[n]],e[n]{if(!r.params.virtual.enabled)return;let e;if("undefined"===typeof r.passedParams.virtual.slides){const t=[...r.slidesEl.children].filter((e=>e.matches(`.${r.params.slideClass}, swiper-slide`)));t&&t.length&&(r.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),r.virtual.cache[t]=e,e.remove()})))}e||(r.virtual.slides=r.params.virtual.slides),r.classNames.push(`${r.params.containerModifierClass}virtual`),r.params.watchSlidesProgress=!0,r.originalParams.watchSlidesProgress=!0,r.params.initialSlide||d()})),a("setTranslate",(()=>{r.params.virtual.enabled&&(r.params.cssMode&&!r._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{d()}),100)):d())})),a("init update resize",(()=>{r.params.virtual.enabled&&r.params.cssMode&&(0,o.s)(r.wrapperEl,"--swiper-virtual-size",`${r.virtualSize}px`)})),Object.assign(r.virtual,{appendSlide:f,prependSlide:h,removeSlide:p,removeAllSlides:g,update:d})}},13433:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&o(e[r],t[r])}))}r.d(t,{a:()=>c,g:()=>a});const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!==typeof document?document:{};return o(e,i),e}const s={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function c(){const e="undefined"!==typeof window?window:{};return o(e,s),e}},96236:(e,t,r)=>{"use strict";r.d(t,{S:()=>Pe});var n=r(13433),o=r(7185);let i,a,s;function c(){const e=(0,n.a)(),t=(0,n.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function u(){return i||(i=c()),i}function l(e){let{userAgent:t}=void 0===e?{}:e;const r=u(),o=(0,n.a)(),i=o.navigator.platform,a=t||o.navigator.userAgent,s={ios:!1,android:!1},c=o.screen.width,l=o.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/);let f=a.match(/(iPad).*OS\s([\d_]+)/);const h=a.match(/(iPod)(.*OS\s([\d_]+))?/),p=!f&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g="Win32"===i;let m="MacIntel"===i;const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&m&&r.touch&&y.indexOf(`${c}x${l}`)>=0&&(f=a.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),m=!1),d&&!g&&(s.os="android",s.android=!0),(f||p||h)&&(s.os="ios",s.ios=!0),s}function d(e){return void 0===e&&(e={}),a||(a=l(e)),a}function f(){const e=(0,n.a)();let t=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const r=String(e.navigator.userAgent);if(r.includes("Version/")){const[e,n]=r.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&n<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function h(){return s||(s=f()),s}function p(e){let{swiper:t,on:r,emit:o}=e;const i=(0,n.a)();let a=null,s=null;const c=()=>{t&&!t.destroyed&&t.initialized&&(o("beforeResize"),o("resize"))},u=()=>{t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{s=i.requestAnimationFrame((()=>{const{width:r,height:n}=t;let o=r,i=n;e.forEach((e=>{let{contentBoxSize:r,contentRect:n,target:a}=e;a&&a!==t.el||(o=n?n.width:(r[0]||r).inlineSize,i=n?n.height:(r[0]||r).blockSize)})),o===r&&i===n||c()}))})),a.observe(t.el))},l=()=>{s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},d=()=>{t&&!t.destroyed&&t.initialized&&o("orientationchange")};r("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?u():(i.addEventListener("resize",c),i.addEventListener("orientationchange",d))})),r("destroy",(()=>{l(),i.removeEventListener("resize",c),i.removeEventListener("orientationchange",d)}))}function g(e){let{swiper:t,extendParams:r,on:i,emit:a}=e;const s=[],c=(0,n.a)(),u=function(e,r){void 0===r&&(r={});const n=c.MutationObserver||c.WebkitMutationObserver,o=new n((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const r=function(){a("observerUpdate",e[0])};c.requestAnimationFrame?c.requestAnimationFrame(r):c.setTimeout(r,0)}));o.observe(e,{attributes:"undefined"===typeof r.attributes||r.attributes,childList:"undefined"===typeof r.childList||r.childList,characterData:"undefined"===typeof r.characterData||r.characterData}),s.push(o)},l=()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,o.a)(t.el);for(let t=0;t{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",d)}var m={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;const o=r?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][o](t)})),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;function o(){n.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var r=arguments.length,i=new Array(r),a=0;a=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((n,o)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(o,1)}))})),r):r},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,r,n;for(var o=arguments.length,i=new Array(o),a=0;a{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...r])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,r)}))})),e}};function y(){const e=this;let t,r;const n=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,r="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt((0,o.l)(n,"padding-left")||0,10)-parseInt((0,o.l)(n,"padding-right")||0,10),r=r-parseInt((0,o.l)(n,"padding-top")||0,10)-parseInt((0,o.l)(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))}function v(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function r(e,r){return parseFloat(e.getPropertyValue(t(r))||0)}const n=e.params,{wrapperEl:i,slidesEl:a,size:s,rtlTranslate:c,wrongRTL:u}=e,l=e.virtual&&n.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,f=(0,o.e)(a,`.${e.params.slideClass}, swiper-slide`),h=l?e.virtual.slides.length:f.length;let p=[];const g=[],m=[];let y=n.slidesOffsetBefore;"function"===typeof y&&(y=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"===typeof v&&(v=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let _=n.spaceBetween,E=-y,S=0,A=0;if("undefined"===typeof s)return;"string"===typeof _&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*s:"string"===typeof _&&(_=parseFloat(_)),e.virtualSize=-_,f.forEach((e=>{c?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&((0,o.s)(i,"--swiper-centered-offset-before",""),(0,o.s)(i,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;let C;T&&e.grid.initSlides(h);const x="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>"undefined"!==typeof n.breakpoints[e].slidesPerView)).length>0;for(let I=0;I1&&p.push(e.virtualSize-s)}if(l&&n.loop){const t=m[0]+_;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),o=t*n.slidesPerGroup;for(let e=0;e!(n.cssMode&&!n.loop)||t!==f.length-1)).forEach((e=>{e.style[r]=`${_}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(_||0)})),e-=_;const t=e-s;p=p.map((e=>e<=0?-y:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(_||0)})),e-=_,e{p[r]=e-t})),g.forEach(((e,r)=>{g[r]=e+t}))}}if(Object.assign(e,{slides:f,snapGrid:p,slidesGrid:g,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,o.s)(i,"--swiper-centered-offset-before",-p[0]+"px"),(0,o.s)(i,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(h!==d&&e.emit("slidesLengthChange"),p.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);h<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}}function w(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let o,i=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{r.push(e)}));else for(o=0;ot.slides.length&&!n)break;r.push(a(e))}else r.push(a(t.activeIndex));for(o=0;oi?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)}function b(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n{e.classList.remove(r.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=r.spaceBetween;"string"===typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"===typeof s&&(s=parseFloat(s));for(let c=0;c=0&&f1&&h<=t.size||f<=0&&h>=t.size;p&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(c),n[c].classList.add(r.slideVisibleClass)),e.progress=o?-l:l,e.originalProgress=o?-d:d}}function E(e){const t=this;if("undefined"===typeof e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:a,progressLoop:s}=t;const c=i,u=a;if(0===n)o=0,i=!0,a=!0;else{o=(e-t.minTranslate())/n;const r=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;i=r||o<=0,a=s||o>=1,r&&(o=0),s&&(o=1)}if(r.loop){const r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[r],i=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],c=Math.abs(e);s=c>=o?(c-o)/a:(c+a-i)/a,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:i,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),i&&!c&&t.emit("reachBeginning toEdge"),a&&!u&&t.emit("reachEnd toEdge"),(c&&!i||u&&!a)&&t.emit("fromEdge"),t.emit("progress",o)}function S(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,a=e.virtual&&r.virtual.enabled,s=e=>(0,o.e)(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let c;if(t.forEach((e=>{e.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)})),a)if(r.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),c=s(`[data-swiper-slide-index="${t}"]`)}else c=s(`[data-swiper-slide-index="${i}"]`);else c=t[i];if(c){c.classList.add(r.slideActiveClass);let e=(0,o.m)(c,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!e&&(e=t[0]),e&&e.classList.add(r.slideNextClass);let n=(0,o.o)(c,`.${r.slideClass}, swiper-slide`)[0];r.loop&&0===!n&&(n=t[t.length-1]),n&&n.classList.add(r.slidePrevClass)}e.emitSlidesClasses()}const A=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){const t=n.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}},T=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},C=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const r=o,i=[r-t];return i.push(...Array.from({length:t}).map(((e,t)=>r+n+t))),void e.slides.forEach(((t,r)=>{i.includes(t.column)&&T(e,r)}))}const i=o+n-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=i+t;a+=1){const t=(a%r+r)%r;(ti)&&T(e,t)}else for(let a=Math.max(o-t,0);a<=Math.min(i+t,r-1);a+=1)a!==o&&(a>i||a=t[i]&&n=t[i]&&n=t[i]&&(o=i);return r.normalizeSlideIndex&&(o<0||"undefined"===typeof o)&&(o=0),o}function I(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:o,activeIndex:i,realIndex:a,snapIndex:s}=t;let c,u=e;const l=e=>{let r=e-t.virtual.slidesBefore;return r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),r};if("undefined"===typeof u&&(u=x(t)),n.indexOf(r)>=0)c=n.indexOf(r);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),u===i)return c!==s&&(t.snapIndex=c,t.emit("snapIndexChange")),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=l(u)));let d;d=t.virtual&&o.virtual.enabled&&o.loop?l(u):t.slides[u]?parseInt(t.slides[u].getAttribute("data-swiper-slide-index")||u,10):u,Object.assign(t,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:d,previousIndex:i,activeIndex:u}),t.initialized&&C(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function O(e){const t=this,r=t.params,n=e.closest(`.${r.slideClass}, swiper-slide`);let o,i=!1;if(n)for(let a=0;au?u:n&&ea?"next":i=u.length&&(y=u.length-1);const v=-u[y];if(c.normalizeSlideIndex)for(let o=0;o=t&&e=t&&e=t&&(s=o)}if(a.initialized&&s!==f){if(!a.allowSlideNext&&(h?v>a.translate&&v>a.minTranslate():va.translate&&v>a.maxTranslate()&&(f||0)!==s)return!1}let w;if(s!==(d||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(v),w=s>f?"next":s0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[e?"scrollLeft":"scrollTop"]=r}))):p[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,o.p)({swiper:a,targetPosition:r,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,w),0===t?a.transitionEnd(r,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,w))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function V(e,t,r,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"===typeof e){const t=parseInt(e,10);e=t}const o=this;let i=e;return o.params.loop&&(o.virtual&&o.params.virtual.enabled?i+=o.virtual.slidesBefore:i=o.getSlideIndexByData(i)),o.slideTo(i,t,r,n)}function H(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{enabled:o,params:i,animating:a}=n;if(!o)return n;let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const c=n.activeIndexf(e)));let g=i[p.indexOf(h)-1];if("undefined"===typeof g&&o.cssMode){let e;i.forEach(((t,r)=>{h>=t&&(e=r)})),"undefined"!==typeof e&&(g=i[e>0?e-1:e])}let m=0;if("undefined"!==typeof g&&(m=a.indexOf(g),m<0&&(m=n.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),o.rewind&&n.isBeginning){const o=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(o,e,t,r)}return n.slideTo(m,e,t,r)}function G(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;return n.slideTo(n.activeIndex,e,t,r)}function W(e,t,r,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);const o=this;let i=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),c=o.rtlTranslate?o.translate:-o.translate;if(c>=o.snapGrid[s]){const e=o.snapGrid[s],t=o.snapGrid[s+1];c-e>(t-e)*n&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[s-1],t=o.snapGrid[s];c-e<=(t-e)*n&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,r)}function Z(){const e=this,{params:t,slidesEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,a=e.clickedIndex;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=e.getSlideIndex((0,o.e)(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=e.getSlideIndex((0,o.e)(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}var K={slideTo:z,slideToLoop:V,slideNext:H,slidePrev:q,slideReset:G,slideToClosest:W,slideToClickedSlide:Z};function Y(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=(0,o.e)(n,`.${r.slideClass}, swiper-slide`);i.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"})}function X(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:o,activeSlideIndex:i,byController:a,byMousewheel:s}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:u,allowSlidePrev:l,allowSlideNext:d,slidesEl:f,params:h}=c;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&h.virtual.enabled)return r&&(h.centeredSlides||0!==c.snapIndex?h.centeredSlides&&c.snapIndexe.classList.contains(h.slideActiveClass)))[0]):v=i;const w="next"===n||!n,b="prev"===n||!n;let _=0,E=0;if(ic.slides.length-2*g){E=Math.max(i-(c.slides.length-2*g),h.slidesPerGroup);for(let e=0;e{c.slides[e].swiperLoopMoveDOM=!0,f.prepend(c.slides[e]),c.slides[e].swiperLoopMoveDOM=!1})),w&&y.forEach((e=>{c.slides[e].swiperLoopMoveDOM=!0,f.append(c.slides[e]),c.slides[e].swiperLoopMoveDOM=!1})),c.recalcSlides(),"auto"===h.slidesPerView&&c.updateSlides(),h.watchSlidesProgress&&c.updateSlidesOffset(),r)if(m.length>0&&b)if("undefined"===typeof t){const e=c.slidesGrid[v],t=c.slidesGrid[v+_],r=t-e;s?c.setTranslate(c.translate-r):(c.slideTo(v+_,0,!1,!0),o&&(c.touches[c.isHorizontal()?"startX":"startY"]+=r))}else o&&c.slideToLoop(t,0,!1,!0);else if(y.length>0&&w)if("undefined"===typeof t){const e=c.slidesGrid[v],t=c.slidesGrid[v-E],r=t-e;s?c.setTranslate(c.translate-r):(c.slideTo(v-E,0,!1,!0),o&&(c.touches[c.isHorizontal()?"startX":"startY"]+=r))}else c.slideToLoop(t,0,!1,!0);if(c.allowSlidePrev=l,c.allowSlideNext=d,c.controller&&c.controller.control&&!a){const e={slideRealIndex:t,slideTo:!1,direction:n,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix(e)})):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix(e)}c.emit("loopFix")}function J(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Q={loopCreate:Y,loopFix:X,loopDestroy:J};function ee(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))}function te(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}var re={setGrabCursor:ee,unsetGrabCursor:te};function ne(e,t){function r(t){if(!t||t===(0,n.g)()||t===(0,n.a)())return null;t.assignedSlot&&(t=t.assignedSlot);const o=t.closest(e);return o||t.getRootNode?o||r(t.getRootNode().host):null}return void 0===t&&(t=this),r(t)}function oe(e){const t=this,r=(0,n.g)(),i=(0,n.a)(),a=t.touchEventsData;a.evCache.push(e);const{params:s,touches:c,enabled:u}=t;if(!u)return;if(!s.simulateTouch&&"mouse"===e.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let d=l.target;if("wrapper"===s.touchEventsTarget&&!t.wrapperEl.contains(d))return;if("which"in l&&3===l.which)return;if("button"in l&&l.button>0)return;if(a.isTouched&&a.isMoved)return;const f=!!s.noSwipingClass&&""!==s.noSwipingClass,h=e.composedPath?e.composedPath():e.path;f&&l.target&&l.target.shadowRoot&&h&&(d=h[0]);const p=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,g=!(!l.target||!l.target.shadowRoot);if(s.noSwiping&&(g?ne(p,d):d.closest(p)))return void(t.allowClick=!0);if(s.swipeHandler&&!d.closest(s.swipeHandler))return;c.currentX=l.pageX,c.currentY=l.pageY;const m=c.currentX,y=c.currentY,v=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,w=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(v&&(m<=w||m>=i.innerWidth-w)){if("prevent"!==v)return;e.preventDefault()}Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=m,c.startY=y,a.touchStartTime=(0,o.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1);let b=!0;d.matches(a.focusableElements)&&(b=!1,"SELECT"===d.nodeName&&(a.isTouched=!1)),r.activeElement&&r.activeElement.matches(a.focusableElements)&&r.activeElement!==d&&r.activeElement.blur();const _=b&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!_||d.isContentEditable||l.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function ie(e){const t=(0,n.g)(),r=this,i=r.touchEventsData,{params:a,touches:s,rtlTranslate:c,enabled:u}=r;if(!u)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&r.emit("touchMoveOpposite",l));const d=i.evCache.findIndex((e=>e.pointerId===l.pointerId));d>=0&&(i.evCache[d]=l);const f=i.evCache.length>1?i.evCache[0]:l,h=f.pageX,p=f.pageY;if(l.preventedByNestedSwiper)return s.startX=h,void(s.startY=p);if(!r.allowTouchMove)return l.target.matches(i.focusableElements)||(r.allowClick=!1),void(i.isTouched&&(Object.assign(s,{startX:h,startY:p,prevX:r.touches.currentX,prevY:r.touches.currentY,currentX:h,currentY:p}),i.touchStartTime=(0,o.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(ps.startY&&r.translate>=r.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(hs.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&l.target===t.activeElement&&l.target.matches(i.focusableElements))return i.isMoved=!0,void(r.allowClick=!1);if(i.allowTouchCallbacks&&r.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=h,s.currentY=p;const g=s.currentX-s.startX,m=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(g**2+m**2)=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(g))/Math.PI,i.isScrolling=r.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&r.emit("touchMoveOpposite",l),"undefined"===typeof i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling||r.zoom&&r.params.zoom&&r.params.zoom.enabled&&i.evCache.length>1)return void(i.isTouched=!1);if(!i.startMoving)return;r.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation();let y=r.isHorizontal()?g:m,v=r.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(y=Math.abs(y)*(c?1:-1),v=Math.abs(v)*(c?1:-1)),s.diff=y,y*=a.touchRatio,c&&(y=-y,v=-v);const w=r.touchesDirection;r.swipeDirection=y>0?"prev":"next",r.touchesDirection=v>0?"prev":"next";const b=r.params.loop&&!a.cssMode;if(!i.isMoved){if(b&&r.loopFix({direction:r.swipeDirection}),i.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}let _;i.isMoved&&w!==r.touchesDirection&&b&&Math.abs(y)>=1&&(r.loopFix({direction:r.swipeDirection,setTranslate:!0}),_=!0),r.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=y+i.startTranslate;let E=!0,S=a.resistanceRatio;if(a.touchReleaseOnEdges&&(S=0),y>0?(b&&!_&&i.currentTranslate>(a.centeredSlides?r.minTranslate()-r.size/2:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>r.minTranslate()&&(E=!1,a.resistance&&(i.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+i.startTranslate+y)**S))):y<0&&(b&&!_&&i.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.size/2:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),r.allowSlidePrev||r.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(y)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=r.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(i.currentTranslate),r.setTranslate(i.currentTranslate))}function ae(e){const t=this,r=t.touchEventsData,n=r.evCache.findIndex((t=>t.pointerId===e.pointerId));if(n>=0&&r.evCache.splice(n,1),["pointercancel","pointerout","pointerleave"].includes(e.type)){const r="pointercancel"===e.type&&(t.browser.isSafari||t.browser.isWebView);if(!r)return}const{params:i,touches:a,rtlTranslate:s,slidesGrid:c,enabled:u}=t;if(!u)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",l),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&i.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);i.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,o.d)(),f=d-r.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),f<300&&d-r.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(r.lastClickTime=(0,o.d)(),(0,o.n)((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===a.diff||r.currentTranslate===r.startTranslate)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let h;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,h=i.followFinger?s?t.translate:-t.translate:-r.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let p=0,g=t.slidesSizesGrid[0];for(let o=0;o=c[o]&&h=c[o]&&(p=o,g=c[c.length-1]-c[c.length-2])}let m=null,y=null;i.rewind&&(t.isBeginning?y=i.virtual&&i.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const v=(h-c[p])/g,w=pi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?m:p+w):t.slideTo(p)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(p+w):null!==y&&v<0&&Math.abs(v)>i.longSwipesRatio?t.slideTo(y):t.slideTo(p))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl);e?l.target===t.navigation.nextEl?t.slideTo(p+w):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==m?m:p+w),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:p))}}function se(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=o,e.allowSlideNext=n,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function ce(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function ue(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();o=0===i?0:(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function le(e){const t=this;A(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}let de=!1;function fe(){}const he=(e,t)=>{const r=(0,n.g)(),{params:o,el:i,wrapperEl:a,device:s}=e,c=!!o.nested,u="on"===t?"addEventListener":"removeEventListener",l=t;i[u]("pointerdown",e.onTouchStart,{passive:!1}),r[u]("pointermove",e.onTouchMove,{passive:!1,capture:c}),r[u]("pointerup",e.onTouchEnd,{passive:!0}),r[u]("pointercancel",e.onTouchEnd,{passive:!0}),r[u]("pointerout",e.onTouchEnd,{passive:!0}),r[u]("pointerleave",e.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&i[u]("click",e.onClick,!0),o.cssMode&&a[u]("scroll",e.onScroll),o.updateOnWindowResize?e[l](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",se,!0):e[l]("observerUpdate",se,!0),i[u]("load",e.onLoad,{capture:!0})};function pe(){const e=this,t=(0,n.g)(),{params:r}=e;e.onTouchStart=oe.bind(e),e.onTouchMove=ie.bind(e),e.onTouchEnd=ae.bind(e),r.cssMode&&(e.onScroll=ue.bind(e)),e.onClick=ce.bind(e),e.onLoad=le.bind(e),de||(t.addEventListener("touchstart",fe),de=!0),he(e,"on")}function ge(){const e=this;he(e,"off")}var me={attachEvents:pe,detachEvents:ge};const ye=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function ve(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const c=s in a?a[s]:void 0,u=c||e.originalParams,l=ye(e,n),d=ye(e,u),f=n.enabled;l&&!d?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&d&&(i.classList.add(`${n.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof u[t])return;const r=n[t]&&n[t].enabled,o=u[t]&&u[t].enabled;r&&!o&&e[t].disable(),!r&&o&&e[t].enable()}));const h=u.direction&&u.direction!==n.direction,p=n.loop&&(u.slidesPerView!==n.slidesPerView||h);h&&r&&e.changeDirection(),(0,o.q)(e.params,u);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!g?e.disable():!f&&g&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",u),p&&r&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",u)}function we(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let o=!1;const i=(0,n.a)(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1)),r=a*t;return{value:r,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let n=0;n{"object"===typeof e?Object.keys(e).forEach((n=>{e[n]&&r.push(t+n)})):"string"===typeof e&&r.push(t+e)})),r}function Ee(){const e=this,{classNames:t,params:r,rtl:n,el:o,device:i}=e,a=_e(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()}function Se(){const e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}var Ae={addClasses:Ee,removeClasses:Se};function Te(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Ce={checkOverflow:Te},xe={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ie(e,t){return function(r){void 0===r&&(r={});const n=Object.keys(r)[0],i=r[n];"object"===typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in i?(!0===e[n]&&(e[n]={enabled:!0}),"object"!==typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,o.q)(t,r)):(0,o.q)(t,r)):(0,o.q)(t,r)}}const Oe={eventsEmitter:m,update:N,translate:L,transition:j,slide:K,loop:Q,grabCursor:re,events:me,breakpoints:be,checkOverflow:Ce,classes:Ae},Ne={};class Pe{constructor(){let e,t;for(var r=arguments.length,i=new Array(r),a=0;a1){const e=[];return s.querySelectorAll(t.el).forEach((r=>{const n=(0,o.q)({},t,{el:r});e.push(new Pe(n))})),e}const c=this;c.__swiper__=!0,c.support=u(),c.device=d({userAgent:t.userAgent}),c.browser=h(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],t.modules&&Array.isArray(t.modules)&&c.modules.push(...t.modules);const l={};c.modules.forEach((e=>{e({params:t,swiper:c,extendParams:Ie(t,l),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})}));const f=(0,o.q)({},xe,l);return c.params=(0,o.q)({},f,Ne,t),c.originalParams=(0,o.q)({},c.params),c.passedParams=(0,o.q)({},t),c.params&&c.params.on&&Object.keys(c.params.on).forEach((e=>{c.on(e,c.params.on[e])})),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===c.params.direction},isVertical(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getSlideIndex(e){const{slidesEl:t,params:r}=this,n=(0,o.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,o.g)(n[0]);return(0,o.g)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=(0,o.e)(t,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),o=r.maxTranslate(),i=(o-n)*e+n;r.translateTo(i,"undefined"===typeof t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((r=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const r=this,{params:n,slides:o,slidesGrid:i,slidesSizesGrid:a,size:s,activeIndex:c}=r;let u=1;if(n.centeredSlides){let e,t=o[c]?o[c].swiperSlideSize:0;for(let r=c+1;rs&&(e=!0));for(let r=c-1;r>=0;r-=1)o[r]&&!e&&(t+=o[r].swiperSlideSize,u+=1,t>s&&(e=!0))}else if("current"===e)for(let l=c+1;l=0;l-=1){const e=i[c]-i[l]{t.complete&&A(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)n(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const t=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||n()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"===typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=()=>{if(r&&r.shadowRoot&&r.shadowRoot.querySelector){const e=r.shadowRoot.querySelector(n());return e}return(0,o.e)(r,n())[0]};let a=i();return!a&&t.params.createElements&&(a=(0,o.c)("div",t.params.wrapperClass),r.append(a),(0,o.e)(r,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:r,wrapperEl:a,slidesEl:t.isElement?r.parentNode.host:a,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,o.l)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,o.l)(r,"direction")),wrongRTL:"-webkit-box"===(0,o.l)(a,"display")}),!0}init(e){const t=this;if(t.initialized)return t;const r=t.mount(e);return!1===r||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach((e=>{e.complete?A(t,e):e.addEventListener("load",(e=>{A(t,e.target)}))})),C(t),t.initialized=!0,C(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const r=this,{params:n,el:i,wrapperEl:a,slides:s}=r;return"undefined"===typeof r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.el.swiper=null,(0,o.r)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,o.q)(Ne,e)}static get extendedDefaults(){return Ne}static get defaults(){return xe}static installModule(e){Pe.prototype.__modules__||(Pe.prototype.__modules__=[]);const t=Pe.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Pe.installModule(e))),Pe):(Pe.installModule(e),Pe)}}Object.keys(Oe).forEach((e=>{Object.keys(Oe[e]).forEach((t=>{Pe.prototype[t]=Oe[e][t]}))})),Pe.use([p,g])},7185:(e,t,r)=>{"use strict";r.d(t,{a:()=>b,c:()=>g,d:()=>a,e:()=>p,f:()=>_,g:()=>w,h:()=>c,l:()=>v,m:()=>y,n:()=>i,o:()=>m,p:()=>h,q:()=>d,r:()=>o,s:()=>f});var n=r(13433);function o(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(r){}try{delete t[e]}catch(r){}}))}function i(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function s(e){const t=(0,n.a)();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function c(e,t){void 0===t&&(t="x");const r=(0,n.a)();let o,i,a;const c=s(e);return r.WebKitCSSMatrix?(i=c.transform||c.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new r.WebKitCSSMatrix("none"===i?"":i)):(a=c.MozTransform||c.OTransform||c.MsTransform||c.msTransform||c.transform||c.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),o=a.toString().split(",")),"x"===t&&(i=r.WebKitCSSMatrix?a.m41:16===o.length?parseFloat(o[12]):parseFloat(o[4])),"y"===t&&(i=r.WebKitCSSMatrix?a.m42:16===o.length?parseFloat(o[13]):parseFloat(o[5])),i||0}function u(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function l(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;rt.indexOf(e)<0));for(let t=0,o=r.length;ta?"next":"prev",d=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,f=()=>{s=(new Date).getTime(),null===c&&(c=s);const e=Math.max(Math.min((s-c)/u,1),0),n=.5-Math.cos(e*Math.PI)/2;let l=a+n*(r-a);if(d(l,r)&&(l=r),t.wrapperEl.scrollTo({[o]:l}),d(l,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[o]:l})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(f)};f()}function p(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function g(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:[t]),r}function m(e,t){const r=[];while(e.previousElementSibling){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function y(e,t){const r=[];while(e.nextElementSibling){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function v(e,t){const r=(0,n.a)();return r.getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,r=e;if(r){t=0;while(null!==(r=r.previousSibling))1===r.nodeType&&(t+=1);return t}}function b(e,t){const r=[];let n=e.parentElement;while(n)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function _(e,t,r){const o=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(o.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(o.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},78424:(e,t,r)=>{"use strict";r.d(t,{tq:()=>_,o5:()=>E});var n=r(66252),o=r(2262),i=r(96236);const a=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function s(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>r.indexOf(e)<0)).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:s(t[r])&&s(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:c(e[r],t[r]):e[r]=t[r]}))}function u(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function l(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function d(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function f(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),r=[];return t.forEach((e=>{r.indexOf(e)<0&&r.push(e)})),r.join(" ")}function h(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function p(e){let{swiper:t,slides:r,passedParams:n,changedParams:o,nextEl:i,prevEl:a,scrollbarEl:u,paginationEl:l}=e;const d=o.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:f,pagination:h,navigation:p,scrollbar:g,virtual:m,thumbs:y}=t;let v,w,b,_,E,S,A,T;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&f.thumbs&&!f.thumbs.swiper&&(v=!0),o.includes("controller")&&n.controller&&n.controller.control&&f.controller&&!f.controller.control&&(w=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(f.pagination||!1===f.pagination)&&h&&!h.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||u)&&(f.scrollbar||!1===f.scrollbar)&&g&&!g.el&&(_=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||i)&&(f.navigation||!1===f.navigation)&&p&&!p.prevEl&&!p.nextEl&&(E=!0);const C=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),f[e].prevEl=void 0,f[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),f[e].el=void 0,t[e].el=void 0))};if(o.includes("loop")&&t.isElement&&(f.loop&&!n.loop?S=!0:!f.loop&&n.loop?A=!0:T=!0),d.forEach((e=>{if(s(f[e])&&s(n[e]))c(f[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||C(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?f[e]=n[e]:!1===t&&C(e)}})),d.includes("controller")&&!w&&t.controller&&t.controller.control&&f.controller&&f.controller.control&&(t.controller.control=f.controller.control),o.includes("children")&&r&&m&&f.virtual.enabled&&(m.slides=r,m.update(!0)),o.includes("children")&&r&&f.loop&&(T=!0),v){const e=y.init();e&&y.update(!0)}w&&(t.controller.control=f.controller.control),b&&(!t.isElement||l&&"string"!==typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),t.el.appendChild(l)),l&&(f.pagination.el=l),h.init(),h.render(),h.update()),_&&(!t.isElement||u&&"string"!==typeof u||(u=document.createElement("div"),u.classList.add("swiper-scrollbar"),t.el.appendChild(u)),u&&(f.scrollbar.el=u),g.init(),g.updateSize(),g.setTranslate()),E&&(t.isElement&&(i&&"string"!==typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-next"),i.innerHTML=t.hostEl.nextButtonSvg,t.el.appendChild(i)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),i.innerHTML=t.hostEl.prevButtonSvg,t.el.appendChild(a))),i&&(f.navigation.nextEl=i),a&&(f.navigation.prevEl=a),p.init(),p.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&t.changeDirection(n.direction,!1),(S||T)&&t.loopDestroy(),(A||T)&&t.loopCreate(),t.update()}function g(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const r={on:{}},n={},o={};c(r,i.S.defaults),c(r,i.S.extendedDefaults),r._emitClasses=!0,r.init=!1;const u={},l=a.map((e=>e.replace(/_/,""))),d=Object.assign({},e);return Object.keys(d).forEach((i=>{"undefined"!==typeof e[i]&&(l.indexOf(i)>=0?s(e[i])?(r[i]={},o[i]={},c(r[i],e[i]),c(o[i],e[i])):(r[i]=e[i],o[i]=e[i]):0===i.search(/on[A-Z]/)&&"function"===typeof e[i]?t?n[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:r.on[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:u[i]=e[i])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]})),{params:r,passedParams:o,rest:u,events:n}}function m(e,t){let{el:r,nextEl:n,prevEl:o,paginationEl:i,scrollbarEl:a,swiper:s}=e;u(t)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),l(t)&&i&&(s.params.pagination.el=i,s.originalParams.pagination.el=i),d(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(r)}function y(e,t,r,n,o){const i=[];if(!t)return i;const c=e=>{i.indexOf(e)<0&&i.push(e)};if(r&&n){const e=n.map(o),t=r.map(o);e.join("")!==t.join("")&&c("children"),n.length!==r.length&&c("children")}const u=a.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,"")));return u.forEach((r=>{if(r in e&&r in t)if(s(e[r])&&s(t[r])){const n=Object.keys(e[r]),o=Object.keys(t[r]);n.length!==o.length?c(r):(n.forEach((n=>{e[r][n]!==t[r][n]&&c(r)})),o.forEach((n=>{e[r][n]!==t[r][n]&&c(r)})))}else e[r]!==t[r]&&c(r)})),i}const v=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function w(e,t,r){void 0===e&&(e={});const n=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},i=(e,t)=>{Array.isArray(e)&&e.forEach((e=>{const r="symbol"===typeof e.type;"default"===t&&(t="container-end"),r&&e.children?i(e.children,t):!e.type||"SwiperSlide"!==e.type.name&&"AsyncComponentWrapper"!==e.type.name?o[t]&&o[t].push(e):n.push(e)}))};return Object.keys(e).forEach((t=>{if("function"!==typeof e[t])return;const r=e[t]();i(r,t)})),r.value=t.value,t.value=n,{slides:n,slots:o}}function b(e,t,r){if(!r)return null;const o=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:s}=r,c=e.value.params.loop?-t.length:0,u=e.value.params.loop?2*t.length:t.length,l=[];for(let n=c;n=a&&n<=s&&l.push(t[o(n)]);return l.map((t=>(t.props||(t.props={}),t.props.style||(t.props.style={}),t.props.swiperRef=e,t.props.style=i,(0,n.h)(t.type,{...t.props},t.children))))}const _={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,t){let{slots:r,emit:a}=t;const{tag:s,wrapperTag:_}=e,E=(0,o.iH)("swiper"),S=(0,o.iH)(null),A=(0,o.iH)(!1),T=(0,o.iH)(!1),C=(0,o.iH)(null),x=(0,o.iH)(null),I=(0,o.iH)(null),O={value:[]},N={value:[]},P=(0,o.iH)(null),k=(0,o.iH)(null),R=(0,o.iH)(null),M=(0,o.iH)(null),{params:B,passedParams:L}=g(e,!1);w(r,O,N),I.value=L,N.value=O.value;const D=()=>{w(r,O,N),A.value=!0};B.onAny=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{S.value=e},renderExternalUpdate:!1};c(x.value.params.virtual,e),c(x.value.originalParams.virtual,e)}function $(e){return B.virtual?b(x,e,S.value):(e.forEach(((e,t)=>{e.props||(e.props={}),e.props.swiperRef=x,e.props.swiperSlideIndex=t})),e)}return(0,n.ic)((()=>{!T.value&&x.value&&(x.value.emitSlidesClasses(),T.value=!0);const{passedParams:t}=g(e,!1),r=y(t,I.value,O.value,N.value,(e=>e.props&&e.props.key));I.value=t,(r.length||A.value)&&x.value&&!x.value.destroyed&&p({swiper:x.value,slides:O.value,passedParams:t,changedParams:r,nextEl:P.value,prevEl:k.value,scrollbarEl:M.value,paginationEl:R.value}),A.value=!1})),(0,n.JJ)("swiper",x),(0,n.YP)(S,(()=>{(0,n.Y3)((()=>{v(x.value)}))})),(0,n.bv)((()=>{C.value&&(m({el:C.value,nextEl:P.value,prevEl:k.value,paginationEl:R.value,scrollbarEl:M.value,swiper:x.value},B),a("swiper",x.value))})),(0,n.Jd)((()=>{x.value&&!x.value.destroyed&&x.value.destroy(!0,!1)})),()=>{const{slides:t,slots:o}=w(r,O,N);return(0,n.h)(s,{ref:C,class:f(E.value)},[o["container-start"],(0,n.h)(_,{class:h(B.wrapperClass)},[o["wrapper-start"],$(t),o["wrapper-end"]]),u(e)&&[(0,n.h)("div",{ref:k,class:"swiper-button-prev"}),(0,n.h)("div",{ref:P,class:"swiper-button-next"})],d(e)&&(0,n.h)("div",{ref:M,class:"swiper-scrollbar"}),l(e)&&(0,n.h)("div",{ref:R,class:"swiper-pagination"}),o["container-end"]])}}},E={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:r}=t,i=!1;const{swiperRef:a}=e,s=(0,o.iH)(null),c=(0,o.iH)("swiper-slide"),u=(0,o.iH)(!1);function l(e,t,r){t===s.value&&(c.value=r)}(0,n.bv)((()=>{a&&a.value&&(a.value.on("_slideClass",l),i=!0)})),(0,n.Xn)((()=>{!i&&a&&a.value&&(a.value.on("_slideClass",l),i=!0)})),(0,n.ic)((()=>{s.value&&a&&a.value&&("undefined"!==typeof e.swiperSlideIndex&&(s.value.swiperSlideIndex=e.swiperSlideIndex),a.value.destroyed&&"swiper-slide"!==c.value&&(c.value="swiper-slide"))})),(0,n.Jd)((()=>{a&&a.value&&a.value.off("_slideClass",l)}));const d=(0,n.Fl)((()=>({isActive:c.value.indexOf("swiper-slide-active")>=0,isVisible:c.value.indexOf("swiper-slide-visible")>=0,isPrev:c.value.indexOf("swiper-slide-prev")>=0,isNext:c.value.indexOf("swiper-slide-next")>=0})));(0,n.JJ)("swiperSlide",d);const h=()=>{u.value=!0};return()=>(0,n.h)(e.tag,{class:f(`${c.value}`),ref:s,"data-swiper-slide-index":"undefined"===typeof e.virtualIndex&&a&&a.value&&a.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:h},e.zoom?(0,n.h)("div",{class:"swiper-zoom-container","data-swiper-zoom":"number"===typeof e.zoom?e.zoom:void 0},[r.default&&r.default(d.value),e.lazy&&!u.value&&(0,n.h)("div",{class:"swiper-lazy-preloader"})]):[r.default&&r.default(d.value),e.lazy&&!u.value&&(0,n.h)("div",{class:"swiper-lazy-preloader"})])}}},78592:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n.S});var n=r(96236)},9899:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rn})},42010:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});r(41539);function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}},79112:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(21703),r(96647);function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},55665:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});r(69070);function n(e,t){for(var r=0;r{"use strict";r.d(t,{Z:()=>o});r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(79753),r(21703),r(96647);var n=r(61240);function o(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=(0,n.Z)(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==r["return"]||r["return"]()}finally{if(c)throw a}}}}},90777:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});r(12419),r(41539),r(81299);var n=r(2025),o=r(86078),i=(r(21703),r(96647),r(2714));function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){if(t&&("object"===(0,i.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function c(e){var t=(0,o.Z)();return function(){var r,o=(0,n.Z)(e);if(t){var i=(0,n.Z)(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return s(this,r)}}},62118:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(69070);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},70136:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});r(41539),r(81299),r(74819),r(38880);var n=r(2025);function o(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=(0,n.Z)(e),null===e)break;return e}function i(){return i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=o(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},i.apply(this,arguments)}},2025:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(68304),r(30489),r(67987);function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}},3383:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});r(21703),r(96647),r(78011),r(69070);var n=r(9294);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.Z)(e,t)}},86078:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(41539),r(81299),r(12419);function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}},97144:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(21703),r(96647);function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},11538:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});r(47941),r(82526),r(57327),r(41539),r(38880),r(57658),r(89554),r(54747),r(49337),r(33321),r(69070);var n=r(62118);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>o});r(82526),r(82772),r(47941);function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}function o(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},9294:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(68304),r(67987);function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}},25706:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});r(79753);function n(e){if(Array.isArray(e))return e}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(57658);function o(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done);a=!0)if(i.push(n.value),t&&i.length===t)break}catch(c){s=!0,o=c}finally{try{a||null==r["return"]||r["return"]()}finally{if(s)throw o}}return i}}var i=r(61240);r(21703),r(96647);function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){return n(e)||o(e,t)||(0,i.Z)(e,t)||a()}},95822:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});r(79753);var n=r(9899);function o(e){if(Array.isArray(e))return(0,n.Z)(e)}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(91038);function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var a=r(61240);r(21703),r(96647);function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e){return o(e)||i(e)||(0,a.Z)(e)||s()}},2714:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(82526),r(41817),r(41539),r(32165),r(78783),r(33948);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}},61240:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});r(47042),r(96647),r(83710),r(41539),r(39714),r(68309),r(91038),r(78783),r(74916),r(77601);var n=r(9899);function o(e,t){if(e){if("string"===typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}},84317:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});r(51532),r(41539),r(78783),r(33948),r(21703),r(96647),r(78011);var n=r(2025),o=r(9294);r(82772),r(83710),r(39714);function i(e){return-1!==Function.toString.call(e).indexOf("[native code]")}r(12419),r(81299),r(57658),r(24812);var a=r(86078);function s(e,t,r){return s=(0,a.Z)()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),a=new i;return r&&(0,o.Z)(a,r.prototype),a},s.apply(null,arguments)}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!i(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,(0,n.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,o.Z)(r,e)},c(e)}},22201:(e,t,r)=>{"use strict";r.d(t,{PO:()=>$,XS:()=>De,ZD:()=>Ue,mB:()=>Me,p7:()=>rt,r5:()=>U,tv:()=>ot,yj:()=>it});var n=r(66252),o=r(2262); -/*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */ -const i="undefined"!==typeof window;function a(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const s=Object.assign;function c(e,t){const r={};for(const n in t){const o=t[n];r[n]=l(o)?o.map(e):e(o)}return r}const u=()=>{},l=Array.isArray;const d=/\/$/,f=e=>e.replace(d,"");function h(e,t,r="/"){let n,o={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s=0&&(c=-1),c>-1&&(n=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),o=e(i)),s>-1&&(n=n||t.slice(0,s),a=t.slice(s,t.length)),n=_(null!=n?n:t,r),{fullPath:n+(i&&"?")+i+a,path:n,query:o,hash:a}}function p(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function g(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function m(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&y(t.matched[n],r.matched[o])&&v(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function y(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function v(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!w(e[r],t[r]))return!1;return!0}function w(e,t){return l(e)?b(e,t):l(t)?b(t,e):e===t}function b(e,t){return l(t)?e.length===t.length&&e.every(((e,r)=>e===t[r])):1===e.length&&e[0]===t}function _(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];".."!==o&&"."!==o||n.push("");let i,a,s=r.length-1;for(i=0;i1&&s--}return r.slice(0,s).join("/")+"/"+n.slice(i-(i===n.length?1:0)).join("/")}var E,S;(function(e){e["pop"]="pop",e["push"]="push"})(E||(E={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(S||(S={}));function A(e){if(!e)if(i){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),f(e)}const T=/^[^#]+#/;function C(e,t){return e.replace(T,"#")+t}function x(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const I=()=>({left:window.pageXOffset,top:window.pageYOffset});function O(e){let t;if("el"in e){const r=e.el,n="string"===typeof r&&r.startsWith("#");0;const o="string"===typeof r?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=x(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function N(e,t){const r=history.state?history.state.position-t:-1;return r+e}const P=new Map;function k(e,t){P.set(e,t)}function R(e){const t=P.get(e);return P.delete(e),t}let M=()=>location.protocol+"//"+location.host;function B(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,r=o.slice(t);return"/"!==r[0]&&(r="/"+r),g(r,"")}const a=g(r,e);return a+n+o}function L(e,t,r,n){let o=[],i=[],a=null;const c=({state:i})=>{const s=B(e,location),c=r.value,u=t.value;let l=0;if(i){if(r.value=s,t.value=i,a&&a===c)return void(a=null);l=u?i.position-u.position:0}else n(s);o.forEach((e=>{e(r.value,c,{delta:l,type:E.pop,direction:l?l>0?S.forward:S.back:S.unknown})}))};function u(){a=r.value}function l(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t}function d(){const{history:e}=window;e.state&&e.replaceState(s({},e.state,{scroll:I()}),"")}function f(){for(const e of i)e();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:l,destroy:f}}function D(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?I():null}}function F(e){const{history:t,location:r}=window,n={value:B(e,r)},o={value:t.state};function i(n,i,a){const s=e.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?e:e.slice(s))+n:M()+e+n;try{t[a?"replaceState":"pushState"](i,"",c),o.value=i}catch(u){console.error(u),r[a?"replace":"assign"](c)}}function a(e,r){const a=s({},t.state,D(o.value.back,e,o.value.forward,!0),r,{position:o.value.position});i(e,a,!0),n.value=e}function c(e,r){const a=s({},o.value,t.state,{forward:e,scroll:I()});i(a.current,a,!0);const c=s({},D(n.value,e,null),{position:a.position+1},r);i(e,c,!1),n.value=e}return o.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:n,state:o,push:c,replace:a}}function $(e){e=A(e);const t=F(e),r=L(e,t.state,t.location,t.replace);function n(e,t=!0){t||r.pauseListeners(),history.go(e)}const o=s({location:"",base:e,go:n,createHref:C.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function U(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$(e)}function j(e){return"string"===typeof e||e&&"object"===typeof e}function z(e){return"string"===typeof e||"symbol"===typeof e}const V={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},H=Symbol("");var q;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(q||(q={}));function G(e,t){return s(new Error,{type:e,[H]:!0},t)}function W(e,t){return e instanceof Error&&H in e&&(null==t||!!(e.type&t))}const Z="[^/]+?",K={sensitive:!1,strict:!1,start:!0,end:!0},Y=/[.+*?^${}()[\]/\\]/g;function X(e,t){const r=s({},K,t),n=[];let o=r.start?"^":"";const i=[];for(const s of e){const e=s.length?[]:[90];r.strict&&!s.length&&(o+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function Q(e,t){let r=0;const n=e.score,o=t.score;while(r0&&t[t.length-1]<0}const te={type:0,value:""},re=/[a-zA-Z0-9_]/;function ne(e){if(!e)return[[]];if("/"===e)return[[te]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${r})/"${u}": ${e}`)}let r=0,n=r;const o=[];let i;function a(){i&&o.push(i),i=[]}let s,c=0,u="",l="";function d(){u&&(0===r?i.push({type:0,value:u}):1===r||2===r||3===r?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}while(c{a(p)}:u}function a(e){if(z(e)){const t=n.get(e);t&&(n.delete(e),r.splice(r.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=r.indexOf(e);t>-1&&(r.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function c(){return r}function l(e){let t=0;while(t=0&&(e.record.path!==r[t].record.path||!fe(e,r[t])))t++;r.splice(t,0,e),e.record.name&&!ue(e)&&n.set(e.record.name,e)}function d(e,t){let o,i,a,c={};if("name"in e&&e.name){if(o=n.get(e.name),!o)throw G(1,{location:e});0,a=o.record.name,c=s(ae(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&ae(e.params,o.keys.map((e=>e.name)))),i=o.stringify(c)}else if("path"in e)i=e.path,o=r.find((e=>e.re.test(i))),o&&(c=o.parse(i),a=o.record.name);else{if(o=t.name?n.get(t.name):r.find((e=>e.re.test(t.path))),!o)throw G(1,{location:e,currentLocation:t});a=o.record.name,c=s({},t.params,e.params),i=o.stringify(c)}const u=[];let l=o;while(l)u.unshift(l.record),l=l.parent;return{name:a,path:i,params:c,matched:u,meta:le(u)}}return t=de({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:d,removeRoute:a,getRoutes:c,getRecordMatcher:o}}function ae(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function se(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ce(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ce(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]="object"===typeof r?r[n]:r;return t}function ue(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function le(e){return e.reduce(((e,t)=>s(e,t.meta)),{})}function de(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function fe(e,t){return t.children.some((t=>t===e||fe(e,t)))}const he=/#/g,pe=/&/g,ge=/\//g,me=/=/g,ye=/\?/g,ve=/\+/g,we=/%5B/g,be=/%5D/g,_e=/%5E/g,Ee=/%60/g,Se=/%7B/g,Ae=/%7C/g,Te=/%7D/g,Ce=/%20/g;function xe(e){return encodeURI(""+e).replace(Ae,"|").replace(we,"[").replace(be,"]")}function Ie(e){return xe(e).replace(Se,"{").replace(Te,"}").replace(_e,"^")}function Oe(e){return xe(e).replace(ve,"%2B").replace(Ce,"+").replace(he,"%23").replace(pe,"%26").replace(Ee,"`").replace(Se,"{").replace(Te,"}").replace(_e,"^")}function Ne(e){return Oe(e).replace(me,"%3D")}function Pe(e){return xe(e).replace(he,"%23").replace(ye,"%3F")}function ke(e){return null==e?"":Pe(e).replace(ge,"%2F")}function Re(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Me(e){const t={};if(""===e||"?"===e)return t;const r="?"===e[0],n=(r?e.slice(1):e).split("&");for(let o=0;oe&&Oe(e))):[n&&Oe(n)];o.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+r,null!=e&&(t+="="+e))}))}return t}function Le(e){const t={};for(const r in e){const n=e[r];void 0!==n&&(t[r]=l(n)?n.map((e=>null==e?null:""+e)):null==n?n:""+n)}return t}const De=Symbol(""),Fe=Symbol(""),$e=Symbol(""),Ue=Symbol(""),je=Symbol("");function ze(){let e=[];function t(t){return e.push(t),()=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function Ve(e,t,r,n,o){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise(((a,s)=>{const c=e=>{!1===e?s(G(4,{from:r,to:t})):e instanceof Error?s(e):j(e)?s(G(2,{from:t,to:e})):(i&&n.enterCallbacks[o]===i&&"function"===typeof e&&i.push(e),a())},u=e.call(n&&n.instances[o],t,r,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch((e=>s(e)))}))}function He(e,t,r,n){const o=[];for(const i of e){0;for(const e in i.components){let s=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(qe(s)){const a=s.__vccOpts||s,c=a[t];c&&o.push(Ve(c,r,n,i,e))}else{let c=s();0,o.push((()=>c.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const s=a(o)?o.default:o;i.components[e]=s;const c=s.__vccOpts||s,u=c[t];return u&&Ve(u,r,n,i,e)()}))))}}}return o}function qe(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function Ge(e){const t=(0,n.f3)($e),r=(0,n.f3)(Ue),i=(0,n.Fl)((()=>t.resolve((0,o.SU)(e.to)))),a=(0,n.Fl)((()=>{const{matched:e}=i.value,{length:t}=e,n=e[t-1],o=r.matched;if(!n||!o.length)return-1;const a=o.findIndex(y.bind(null,n));if(a>-1)return a;const s=Xe(e[t-2]);return t>1&&Xe(n)===s&&o[o.length-1].path!==s?o.findIndex(y.bind(null,e[t-2])):a})),s=(0,n.Fl)((()=>a.value>-1&&Ye(r.params,i.value.params))),c=(0,n.Fl)((()=>a.value>-1&&a.value===r.matched.length-1&&v(r.params,i.value.params)));function l(r={}){return Ke(r)?t[(0,o.SU)(e.replace)?"replace":"push"]((0,o.SU)(e.to)).catch(u):Promise.resolve()}return{route:i,href:(0,n.Fl)((()=>i.value.href)),isActive:s,isExactActive:c,navigate:l}}const We=(0,n.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ge,setup(e,{slots:t}){const r=(0,o.qj)(Ge(e)),{options:i}=(0,n.f3)($e),a=(0,n.Fl)((()=>({[Je(e.activeClass,i.linkActiveClass,"router-link-active")]:r.isActive,[Je(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const o=t.default&&t.default(r);return e.custom?o:(0,n.h)("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},o)}}}),Ze=We;function Ke(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ye(e,t){for(const r in t){const n=t[r],o=e[r];if("string"===typeof n){if(n!==o)return!1}else if(!l(o)||o.length!==n.length||n.some(((e,t)=>e!==o[t])))return!1}return!0}function Xe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Je=(e,t,r)=>null!=e?e:null!=t?t:r,Qe=(0,n.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const i=(0,n.f3)(je),a=(0,n.Fl)((()=>e.route||i.value)),c=(0,n.f3)(Fe,0),u=(0,n.Fl)((()=>{let e=(0,o.SU)(c);const{matched:t}=a.value;let r;while((r=t[e])&&!r.components)e++;return e})),l=(0,n.Fl)((()=>a.value.matched[u.value]));(0,n.JJ)(Fe,(0,n.Fl)((()=>u.value+1))),(0,n.JJ)(De,l),(0,n.JJ)(je,a);const d=(0,o.iH)();return(0,n.YP)((()=>[d.value,l.value,e.name]),(([e,t,r],[n,o,i])=>{t&&(t.instances[r]=e,o&&o!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&y(t,o)&&n||(t.enterCallbacks[r]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=a.value,i=e.name,c=l.value,u=c&&c.components[i];if(!u)return et(r.default,{Component:u,route:o});const f=c.props[i],h=f?!0===f?o.params:"function"===typeof f?f(o):f:null,p=e=>{e.component.isUnmounted&&(c.instances[i]=null)},g=(0,n.h)(u,s({},h,t,{onVnodeUnmounted:p,ref:d}));return et(r.default,{Component:g,route:o})||g}}});function et(e,t){if(!e)return null;const r=e(t);return 1===r.length?r[0]:r}const tt=Qe;function rt(e){const t=ie(e.routes,e),r=e.parseQuery||Me,a=e.stringifyQuery||Be,d=e.history;const f=ze(),g=ze(),y=ze(),v=(0,o.XI)(V);let w=V;i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=c.bind(null,(e=>""+e)),_=c.bind(null,ke),S=c.bind(null,Re);function A(e,r){let n,o;return z(e)?(n=t.getRecordMatcher(e),o=r):o=e,t.addRoute(o,n)}function T(e){const r=t.getRecordMatcher(e);r&&t.removeRoute(r)}function C(){return t.getRoutes().map((e=>e.record))}function x(e){return!!t.getRecordMatcher(e)}function P(e,n){if(n=s({},n||v.value),"string"===typeof e){const o=h(r,e,n.path),i=t.resolve({path:o.path},n),a=d.createHref(o.fullPath);return s(o,i,{params:S(i.params),hash:Re(o.hash),redirectedFrom:void 0,href:a})}let o;if("path"in e)o=s({},e,{path:h(r,e.path,n.path).path});else{const t=s({},e.params);for(const e in t)null==t[e]&&delete t[e];o=s({},e,{params:_(t)}),n.params=_(n.params)}const i=t.resolve(o,n),c=e.hash||"";i.params=b(S(i.params));const u=p(a,s({},e,{hash:Ie(c),path:i.path})),l=d.createHref(u);return s({fullPath:u,hash:c,query:a===Be?Le(e.query):e.query||{}},i,{redirectedFrom:void 0,href:l})}function M(e){return"string"===typeof e?h(r,e,v.value.path):s({},e)}function B(e,t){if(w!==e)return G(8,{from:t,to:e})}function L(e){return $(e)}function D(e){return L(s(M(e),{replace:!0}))}function F(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:r}=t;let n="function"===typeof r?r(e):r;return"string"===typeof n&&(n=n.includes("?")||n.includes("#")?n=M(n):{path:n},n.params={}),s({query:e.query,hash:e.hash,params:"path"in n?{}:e.params},n)}}function $(e,t){const r=w=P(e),n=v.value,o=e.state,i=e.force,c=!0===e.replace,u=F(r);if(u)return $(s(M(u),{state:"object"===typeof u?s({},o,u.state):o,force:i,replace:c}),t||r);const l=r;let d;return l.redirectedFrom=t,!i&&m(a,n,r)&&(d=G(16,{to:l,from:n}),ne(n,n,!0,!1)),(d?Promise.resolve(d):H(l,n)).catch((e=>W(e)?W(e,2)?e:re(e):ee(e,l,n))).then((e=>{if(e){if(W(e,2))return $(s({replace:c},M(e.to),{state:"object"===typeof e.to?s({},o,e.to.state):o,force:i}),t||l)}else e=Z(l,n,!0,c,o);return q(l,n,e),e}))}function U(e,t){const r=B(e,t);return r?Promise.reject(r):Promise.resolve()}function j(e){const t=se.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function H(e,t){let r;const[n,o,i]=nt(e,t);r=He(n.reverse(),"beforeRouteLeave",e,t);for(const s of n)s.leaveGuards.forEach((n=>{r.push(Ve(n,e,t))}));const a=U.bind(null,e,t);return r.push(a),ue(r).then((()=>{r=[];for(const n of f.list())r.push(Ve(n,e,t));return r.push(a),ue(r)})).then((()=>{r=He(o,"beforeRouteUpdate",e,t);for(const n of o)n.updateGuards.forEach((n=>{r.push(Ve(n,e,t))}));return r.push(a),ue(r)})).then((()=>{r=[];for(const n of i)if(n.beforeEnter)if(l(n.beforeEnter))for(const o of n.beforeEnter)r.push(Ve(o,e,t));else r.push(Ve(n.beforeEnter,e,t));return r.push(a),ue(r)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),r=He(i,"beforeRouteEnter",e,t),r.push(a),ue(r)))).then((()=>{r=[];for(const n of g.list())r.push(Ve(n,e,t));return r.push(a),ue(r)})).catch((e=>W(e,8)?e:Promise.reject(e)))}function q(e,t,r){y.list().forEach((n=>j((()=>n(e,t,r)))))}function Z(e,t,r,n,o){const a=B(e,t);if(a)return a;const c=t===V,u=i?history.state:{};r&&(n||c?d.replace(e.fullPath,s({scroll:c&&u&&u.scroll},o)):d.push(e.fullPath,o)),v.value=e,ne(e,t,r,c),re()}let K;function Y(){K||(K=d.listen(((e,t,r)=>{if(!ce.listening)return;const n=P(e),o=F(n);if(o)return void $(s(o,{replace:!0}),n).catch(u);w=n;const a=v.value;i&&k(N(a.fullPath,r.delta),I()),H(n,a).catch((e=>W(e,12)?e:W(e,2)?($(e.to,n).then((e=>{W(e,20)&&!r.delta&&r.type===E.pop&&d.go(-1,!1)})).catch(u),Promise.reject()):(r.delta&&d.go(-r.delta,!1),ee(e,n,a)))).then((e=>{e=e||Z(n,a,!1),e&&(r.delta&&!W(e,8)?d.go(-r.delta,!1):r.type===E.pop&&W(e,20)&&d.go(-1,!1)),q(n,a,e)})).catch(u)})))}let X,J=ze(),Q=ze();function ee(e,t,r){re(e);const n=Q.list();return n.length?n.forEach((n=>n(e,t,r))):console.error(e),Promise.reject(e)}function te(){return X&&v.value!==V?Promise.resolve():new Promise(((e,t)=>{J.add([e,t])}))}function re(e){return X||(X=!e,Y(),J.list().forEach((([t,r])=>e?r(e):t())),J.reset()),e}function ne(t,r,o,a){const{scrollBehavior:s}=e;if(!i||!s)return Promise.resolve();const c=!o&&R(N(t.fullPath,0))||(a||!o)&&history.state&&history.state.scroll||null;return(0,n.Y3)().then((()=>s(t,r,c))).then((e=>e&&O(e))).catch((e=>ee(e,t,r)))}const oe=e=>d.go(e);let ae;const se=new Set,ce={currentRoute:v,listening:!0,addRoute:A,removeRoute:T,hasRoute:x,getRoutes:C,resolve:P,options:e,push:L,replace:D,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:f.add,beforeResolve:g.add,afterEach:y.add,onError:Q.add,isReady:te,install(e){const t=this;e.component("RouterLink",Ze),e.component("RouterView",tt),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(v)}),i&&!ae&&v.value===V&&(ae=!0,L(d.location).catch((e=>{0})));const r={};for(const o in V)Object.defineProperty(r,o,{get:()=>v.value[o],enumerable:!0});e.provide($e,t),e.provide(Ue,(0,o.Um)(r)),e.provide(je,v);const n=e.unmount;se.add(e),e.unmount=function(){se.delete(e),se.size<1&&(w=V,K&&K(),K=null,v.value=V,ae=!1,X=!1),n()}}};function ue(e){return e.reduce(((e,t)=>e.then((()=>j(t)))),Promise.resolve())}return ce}function nt(e,t){const r=[],n=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;ay(e,i)))?n.push(i):r.push(i));const s=e.matched[a];s&&(t.matched.find((e=>y(e,s)))||o.push(s))}return[r,n,o]}function ot(){return(0,n.f3)($e)}function it(){return(0,n.f3)(Ue)}},20326:e=>{"use strict";e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')}}]); \ No newline at end of file diff --git a/js/eth-account-details-tokens.f3a3f584.js b/js/eth-account-details-tokens.f3a3f584.js new file mode 100644 index 000000000..a2aa77964 --- /dev/null +++ b/js/eth-account-details-tokens.f3a3f584.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[986],{26409:(e,n,s)=>{s.r(n),s.d(n,{default:()=>g});var t=s(20641),o={ref:"innerScrollElem",class:"account-details-tokens"};function a(e,n,s,a,l,r){var c=(0,t.g2)("AssetList"),i=(0,t.g2)("MessageOffline"),u=(0,t.g2)("BackToTop"),f=(0,t.g2)("IonContent"),h=(0,t.g2)("IonPage");return(0,t.uX)(),(0,t.Wv)(h,null,{default:(0,t.k6)((function(){return[(0,t.bF)(f,{class:"ion-padding ion-content-bg--lighter"},{default:(0,t.k6)((function(){return[(0,t.Lk)("div",o,[e.isOnline?((0,t.uX)(),(0,t.Wv)(c,{key:0,"search-term":e.searchPhrase,protocol:e.PROTOCOLS.ethereum,class:"tokens-list","owned-only":""},null,8,["search-term","protocol"])):((0,t.uX)(),(0,t.Wv)(i,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.assetsNotAvailable")},null,8,["text"]))],512),e.isOnline?((0,t.uX)(),(0,t.Wv)(u,{key:0})):(0,t.Q3)("",!0)]})),_:1})]})),_:1})}var l=s(62759),r=s(65563),c=s(84754),i=s(50118),u=s(17831),f=s(89460);const h=(0,t.pM)({components:{AssetList:i.A,MessageOffline:u.A,IonPage:l.AO,IonContent:l.W9,BackToTop:f.A},props:{showFilters:Boolean},setup:function(){var e=(0,c.w5)(),n=e.isOnline,s=(0,c.QR)(),t=s.searchPhrase;return{PROTOCOLS:r.yv,isOnline:n,searchPhrase:t}}});var p=s(66262);const k=(0,p.A)(h,[["render",a]]),g=k}}]); \ No newline at end of file diff --git a/js/eth-account-details.c185f8db.js b/js/eth-account-details.c185f8db.js new file mode 100644 index 000000000..f963cde3e --- /dev/null +++ b/js/eth-account-details.c185f8db.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[395],{45344:(n,e,t)=>{t.r(e),t.d(e,{default:()=>T});var a=t(20641);function o(n,e,t,o,u,c){var r=(0,a.g2)("AccountDetailsNavigation"),s=(0,a.g2)("AccountDetailsBase"),l=(0,a.g2)("IonContent"),i=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(i,null,{default:(0,a.k6)((function(){return[(0,a.bF)(l,{class:"account-ion-content"},{default:(0,a.k6)((function(){return[n.pageDidEnter?((0,a.uX)(),(0,a.Wv)(s,{key:0,class:"account-details"},{navigation:(0,a.k6)((function(){return[(0,a.bF)(r,{"route-names":[n.ROUTE_ACCOUNT_DETAILS,n.ROUTE_ACCOUNT_DETAILS_ASSETS]},null,8,["route-names"])]})),_:1})):(0,a.Q3)("",!0)]})),_:1})]})),_:1})}var u=t(62759),c=t(65563),r=t(90973),s=t(58071),l=t(94449);const i=(0,a.pM)({name:c.AK,components:{AccountDetailsBase:s.A,IonPage:u.AO,IonContent:u.W9,AccountDetailsNavigation:l.A},props:{pageDidEnter:Boolean},setup:function(){return{ROUTE_ACCOUNT_DETAILS:r.no,ROUTE_ACCOUNT_DETAILS_ASSETS:r.r9}}});var A=t(66262);const _=(0,A.A)(i,[["render",o],["__scopeId","data-v-9443b70c"]]),T=_}}]); \ No newline at end of file diff --git a/js/eth-transaction-details.000e6b28.js b/js/eth-transaction-details.000e6b28.js new file mode 100644 index 000000000..d8bc26afc --- /dev/null +++ b/js/eth-transaction-details.000e6b28.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[618],{51447:(t,n,a)=>{a.r(n),a.d(n,{default:()=>O});var e=a(20641),o={class:"transaction-details"};function r(t,n,a,r,s,i){var u=(0,e.g2)("TransactionAssetRows"),c=(0,e.g2)("TokenAmount"),l=(0,e.g2)("DetailsItem"),d=(0,e.g2)("TransactionDetailsBase"),v=(0,e.g2)("IonContent"),h=(0,e.g2)("IonPage");return(0,e.uX)(),(0,e.Wv)(h,null,{default:(0,e.k6)((function(){return[(0,e.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,e.k6)((function(){return[(0,e.Lk)("div",o,[t.transaction?((0,e.uX)(),(0,e.Wv)(d,{key:0,transaction:t.transaction,amount:t.amount,"amount-total":t.amountTotal,fee:t.fee,hash:t.hash,"non-ae-assets":t.transactionAssets,protocol:t.PROTOCOLS.ethereum,"hide-amount-total":!t.isTransactionCoin,"hide-fiat":!t.isTransactionCoin,"show-header":""},{tokens:(0,e.k6)((function(){return[(0,e.bF)(u,{assets:t.transactionAssets,protocol:t.PROTOCOLS.ethereum,"icon-size":"rg","multiple-rows":""},null,8,["assets","protocol"])]})),gas:(0,e.k6)((function(){return[t.transaction.tx.gasPrice?((0,e.uX)(),(0,e.Wv)(l,{key:0,label:t.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,e.k6)((function(){return[(0,e.bF)(c,{amount:t.transaction.tx.gasPrice,symbol:t.ETH_COIN_SYMBOL,protocol:t.PROTOCOLS.ethereum,"hide-fiat":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,e.Q3)("",!0),t.transaction.tx.gasUsed?((0,e.uX)(),(0,e.Wv)(l,{key:1,value:t.transaction.tx.gasUsed,label:t.$t("pages.transactionDetails.gasUsed"),"data-cy":"gas"},null,8,["value","label"])):(0,e.Q3)("",!0)]})),_:1},8,["transaction","amount","amount-total","fee","hash","non-ae-assets","protocol","hide-amount-total","hide-fiat"])):(0,e.Q3)("",!0)])]})),_:1})]})),_:1})}var s=a(2327),i=(a(50113),a(44114),a(26099),a(50953)),u=a(75220),c=a(62759),l=a(65563),d=a(84754),v=a(32118),h=a(90973),f=a(7595),p=a(75518),m=a(3260),g=a(74494),A=a(39953),T=function(t,n,a,e){function o(t){return t instanceof a?t:new a((function(n){n(t)}))}return new(a||(a=Promise))((function(a,r){function s(t){try{u(e.next(t))}catch(n){r(n)}}function i(t){try{u(e["throw"](t))}catch(n){r(n)}}function u(t){t.done?a(t.value):o(t.value).then(s,i)}u((e=e.apply(t,n||[])).next())}))};const b=(0,e.pM)({components:{TransactionDetailsBase:p.A,TransactionAssetRows:m.A,DetailsItem:g.A,TokenAmount:A.A,IonContent:c.W9,IonPage:c.AO},setup:function(){var t=this,n=(0,u.rd)(),a=(0,u.lq)(),o=a.params.hash,r=a.params.transactionOwner,c=v.C.getAdapter(l.yv.ethereum),p=(0,d.mv)(),m=p.setLoaderVisible,g=(0,d.oV)(),A=g.activeAccount,b=(0,d.Y7)(),k=b.getTxAmountTotal,w=(0,d.rb)(),O=w.accountsTransactionsPending,x=(0,d.my)(),y=x.direction,C=x.transactionAssets,P=x.isTransactionCoin,_=x.setActiveTransaction,L=(0,d._8)({accountAddress:r||A.value.address,protocol:l.yv.ethereum}),I=L.transactionsLoaded,W=(0,i.KR)(),R=(0,e.EW)((function(){var t,n;return(null===(n=null===(t=W.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.fee)||0})),B=(0,e.EW)((function(){var t,n;return(null===(n=null===(t=W.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.amount)||0})),D=(0,e.EW)((function(){return W.value?k(W.value,y.value):0}));return(0,e.wB)(W,(function(t){m(!t)}),{immediate:!0}),(0,e.sV)((function(){return T(t,void 0,void 0,(0,s.A)().mark((function t(){var a,e=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,function(){return T(e,void 0,void 0,(0,s.A)().mark((function t(){var a,e;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=I.value.find((function(t){return t.hash===o})),!a){t.next=3;break}return t.abrupt("return",a);case 3:if(e=(O.value[r]||[]).find((function(t){return t.hash===o})),!e){t.next=6;break}return t.abrupt("return",e);case 6:return t.prev=6,t.abrupt("return",c.fetchTransactionByHash(o,r));case 10:t.prev=10,t.t0=t["catch"](6),m(!1),n.push({name:h.hN});case 14:return t.abrupt("return",null);case 15:case"end":return t.stop()}}),t,null,[[6,10]])})))}();case 2:a=t.sent,a&&(W.value=a,_(a));case 4:case"end":return t.stop()}}),t)})))})),{ETH_COIN_SYMBOL:f.xU,PROTOCOLS:l.yv,amount:B,amountTotal:D,isTransactionCoin:P,direction:y,hash:o,fee:R,transaction:W,transactionAssets:C,transactionOwner:r}}});var k=a(66262);const w=(0,k.A)(b,[["render",r]]),O=w}}]); \ No newline at end of file diff --git a/js/eth-transfer-receive-modal.c1104d81.js b/js/eth-transfer-receive-modal.c1104d81.js new file mode 100644 index 000000000..49ed91dce --- /dev/null +++ b/js/eth-transfer-receive-modal.c1104d81.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[732],{91578:(e,o,r)=>{r.r(o),r.d(o,{default:()=>d});var t=r(20641);function a(e,o,r,a,c,n){var s=(0,t.g2)("TransferReceiveBase");return(0,t.uX)(),(0,t.Wv)(s,{heading:e.$t("modals.receive.title",{name:e.protocolName}),"account-address":e.activeAccount.address,protocol:e.protocol},null,8,["heading","account-address","protocol"])}var c=r(65563),n=r(84754),s=r(32118),u=r(14023);const l=(0,t.pM)({name:c.LX,components:{TransferReceiveBase:u.A},setup:function(){var e=(0,n.oV)(),o=e.activeAccount;return{protocol:c.yv.ethereum,activeAccount:o,protocolName:s.C.getAdapter(c.yv.ethereum).protocolName}}});var p=r(66262);const v=(0,p.A)(l,[["render",a]]),d=v}}]); \ No newline at end of file diff --git a/js/eth-transfer-send-modal.25bbd180.js b/js/eth-transfer-send-modal.25bbd180.js new file mode 100644 index 000000000..a0f1865a1 --- /dev/null +++ b/js/eth-transfer-send-modal.25bbd180.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[551],{27702:(e,t,n)=>{n.r(t),n.d(t,{default:()=>U});var r=n(20641);function a(e,t,n,a,o,u){var s=(0,r.g2)("TransferSendBase");return(0,r.uX)(),(0,r.Wv)(s,{"current-step":e.currentStep,"sending-disabled":e.error||!e.transferData.address||!e.transferData.amount,onClose:e.resolve,onStepNext:e.proceedToNextStep,onStepPrev:e.editTransfer},{content:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","onSuccess"]))]})),_:1},8,["current-step","sending-disabled","onClose","onStepNext","onStepPrev"])}var o=n(1287),u=n(50953),s=n(65563),l=n(84754),i=n(42346);function c(e,t,n,a,o,u){var s=(0,r.g2)("TokenAmount"),l=(0,r.g2)("DetailsItem"),i=(0,r.g2)("TransferReviewBase");return(0,r.uX)(),(0,r.Wv)(i,{"base-token-symbol":e.ETH_COIN_SYMBOL,"transfer-data":e.transferData,loading:e.loading,protocol:e.PROTOCOLS.ethereum,"show-fiat":e.isSelectedAssetEthCoin,class:"transfer-review"},{total:(0,r.k6)((function(){return[e.isSelectedAssetEthCoin?((0,r.uX)(),(0,r.Wv)(l,{key:0,label:e.$t("common.total"),class:"details-item"},{value:(0,r.k6)((function(){return[(0,r.bF)(s,{amount:+e.transferData.total,symbol:e.ETH_COIN_SYMBOL,protocol:e.PROTOCOLS.ethereum,"data-cy":"review-total","high-precision":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,r.Q3)("",!0)]})),_:1},8,["base-token-symbol","transfer-data","loading","protocol","show-fiat"])}var d=n(2327),f=(n(44114),n(2892),n(26099),n(75220)),v=n(46992),m=n(32118),p=n(7595),x=n(60831),h=n(74494),S=n(39953),A=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(u,s)}l((r=r.apply(e,t||[])).next())}))};const P=(0,r.pM)({name:"EthTransferReview",components:{TokenAmount:S.A,DetailsItem:h.A,TransferReviewBase:x.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(e,t){var n=t.emit,a=(0,v.s9)(),o=a.t,i=(0,f.rd)(),c=(0,l.mv)(),x=c.homeRouteName,h=(0,l.U8)(),S=h.openDefaultModal,P=(0,l.oV)(),b=P.getLastActiveProtocolAccount,y=(0,l.rb)(),T=y.addAccountPendingTransaction,O=(0,u.KR)(!1),g=m.C.getAdapter(s.yv.ethereum),w=(0,r.EW)((function(){var t,n;return(null===(n=null===(t=e.transferData)||void 0===t?void 0:t.selectedAsset)||void 0===n?void 0:n.contractId)===g.coinContractId}));function C(e){S({title:o("modals.transaction-failed.msg"),icon:"critical",msg:e})}function k(){var t;return A(this,void 0,void 0,(0,d.A)().mark((function r(){var a,o,u,l,c,f,v;return(0,d.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=e.transferData,o=a.amount,u=a.address,l=a.selectedAsset,o&&u&&l){r.next=3;break}return r.abrupt("return");case 3:if(O.value=!0,f=b(s.yv.ethereum),r.prev=5,w.value){r.next=12;break}return r.next=9,null===(t=g.transferToken)||void 0===t?void 0:t.call(g,Number(o),u,l.contractId,{fromAccount:null===f||void 0===f?void 0:f.address,maxPriorityFeePerGas:e.transferData.maxPriorityFeePerGas,maxFeePerGas:e.transferData.maxFeePerGas});case 9:c=r.sent,r.next=15;break;case 12:return r.next=14,g.spend(Number(o),u,{fromAccount:null===f||void 0===f?void 0:f.address,maxPriorityFeePerGas:e.transferData.maxPriorityFeePerGas,maxFeePerGas:e.transferData.maxFeePerGas});case 14:c=r.sent;case 15:c&&(v={hash:c.hash,pending:!0,transactionOwner:null===f||void 0===f?void 0:f.address,protocol:s.yv.ethereum,tx:{amount:Number(o),callerId:null===f||void 0===f?void 0:f.address,contractId:l.contractId,senderId:null===f||void 0===f?void 0:f.address,type:w.value?"SpendTx":"ContractCallTx",function:"transfer",recipientId:u,arguments:[],fee:0}},T(null===f||void 0===f?void 0:f.address,v)),r.next=22;break;case 18:throw r.prev=18,r.t0=r["catch"](5),C(r.t0.message),r.t0;case 22:return r.prev=22,O.value=!1,r.finish(22);case 25:i.push({name:x.value}),n("success");case 27:case"end":return r.stop()}}),r,null,[[5,18,22,25]])})))}return{PROTOCOLS:s.yv,ETH_COIN_SYMBOL:p.xU,loading:O,isSelectedAssetEthCoin:w,submit:k}}});var b=n(66262);const y=(0,b.A)(P,[["render",c],["__scopeId","data-v-038e842f"]]),T=y;n(76918),n(23288),n(38781);var O=n(53751);function g(e,t,n,a,o,u){var s=(0,r.g2)("TransferSendRecipient"),l=(0,r.g2)("BtnMaxAmount"),i=(0,r.g2)("TransferSendAmount"),c=(0,r.g2)("TransactionSpeedPicker"),d=(0,r.g2)("DetailsItem"),f=(0,r.g2)("TransferSendFormBase");return(0,r.uX)(),(0,r.Wv)(f,(0,r.v6)(e.$attrs,{"transfer-data":e.transferData,fee:e.numericFee,"fee-symbol":e.ETH_COIN_SYMBOL,protocol:e.PROTOCOLS.ethereum,"custom-title":e.$t("modals.send.sendAsset",{name:e.ETH_COIN_NAME}),class:"transfer-send-form"}),{recipient:(0,r.k6)((function(){return[(0,r.bF)(s,{modelValue:e.formModel.address,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},placeholder:e.recipientPlaceholderText,errors:e.errors,protocol:e.PROTOCOLS.ethereum,"validation-rules":{account_address:[e.PROTOCOLS.ethereum]},onOpenQrModal:e.openScanQrModal},null,8,["modelValue","placeholder","errors","protocol","validation-rules","onOpenQrModal"])]})),amount:(0,r.k6)((function(){return[(0,r.bF)(i,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),errors:e.errors,"selected-asset":e.formModel.selectedAsset,protocol:e.PROTOCOLS.ethereum,"validation-rules":Object.assign(Object.assign({},+e.balance.minus(e.fee)>0?{max_value:e.max}:{}),{enough_coin:[e.fee.toString(),e.ETH_COIN_SYMBOL]}),onAssetSelected:e.handleAssetChange},{"label-after":(0,r.k6)((function(){var t,n;return[(0,r.bF)(l,{"is-max":(null===(n=null===(t=e.formModel)||void 0===t?void 0:t.amount)||void 0===n?void 0:n.toString())===e.max,onClick:e.setMaxAmount},null,8,["is-max","onClick"])]})),_:1},8,["modelValue","errors","selected-asset","protocol","validation-rules","onAssetSelected"])]})),extra:(0,r.k6)((function(){return[(0,r.bo)((0,r.bF)(d,{label:e.$t("modals.send.transactionSpeed")},{value:(0,r.k6)((function(){return[(0,r.bF)(c,{modelValue:e.feeSelectedIndex,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.feeSelectedIndex=t}),"fee-list":e.feeList},null,8,["modelValue","fee-list"])]})),_:1},8,["label"]),[[O.aG,e.activeNetwork.type!==e.NETWORK_TYPE_TESTNET]])]})),_:1},16,["transfer-data","fee","fee-symbol","protocol","custom-title"])}n(28706),n(50113),n(9868);var w=n(37061),C=n(38653),k=n(60346),E=n(28388),F=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(u,s)}l((r=r.apply(e,t||[])).next())}))},I={slow:1,medium:1.5,fast:2};function D(){var e=(0,E.G)(),t=e.ethActiveNetworkSettings,n=(0,v.s9)(),a=n.t,o=(0,u.KR)(0),s=(0,u.KR)(new k.A(0)),l=(0,u.KR)(new k.A(0)),i=(0,u.KR)(new k.A(0)),c=(0,r.EW)((function(){return l.value.multipliedBy(I.slow)})),f=(0,r.EW)((function(){return l.value.multipliedBy(I.medium)})),m=(0,r.EW)((function(){return l.value.multipliedBy(I.fast)})),x=(0,r.EW)((function(){return[{fee:s.value.plus(c.value).multipliedBy(p.un),time:300,label:a("common.transferSpeed.slow"),maxPriorityFee:c.value,maxFeePerGas:i.value.plus(c.value)},{fee:s.value.plus(f.value).multipliedBy(p.un),time:180,label:a("common.transferSpeed.medium"),maxPriorityFee:f.value,maxFeePerGas:i.value.plus(f.value)},{fee:s.value.plus(m.value).multipliedBy(p.un),time:30,label:a("common.transferSpeed.fast"),maxPriorityFee:m.value,maxFeePerGas:i.value.plus(m.value)}]})),h=(0,r.EW)((function(){return x.value[o.value].fee})),S=(0,r.EW)((function(){return x.value[o.value].maxFeePerGas})),A=(0,r.EW)((function(){return x.value[o.value].maxPriorityFee}));function P(){return F(this,void 0,void 0,(0,d.A)().mark((function e(){var n,r,a;return(0,d.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.value.nodeUrl,r=new w.PT(n),e.next=4,r.calculateFeeData();case 4:a=e.sent,s.value=new k.A((0,C.kX)(a.baseFeePerGas,"ether")),i.value=new k.A((0,C.kX)(a.maxFeePerGas,"ether")),l.value=new k.A((0,C.kX)(a.maxPriorityFeePerGas,"ether"));case 8:case"end":return e.stop()}}),e)})))}return{fee:h,feeList:x,feeSelectedIndex:o,maxFeePerGas:S,maxPriorityFeePerGas:A,updateFeeList:P}}var _=n(92350),M=n(31189);function N(e){var t=e.formModel,n=e.fee,a=(0,l.ty)(),o=a.balance,u=(0,r.EW)((function(){var e,n,r=m.C.getAdapter(s.yv.ethereum);return(null===(n=null===(e=t.value)||void 0===e?void 0:e.selectedAsset)||void 0===n?void 0:n.contractId)===r.coinContractId})),i=(0,r.EW)((function(){var e,n;return new k.A((0,M.Y9)(null===(e=t.value.selectedAsset)||void 0===e?void 0:e.amount,-((null===(n=t.value.selectedAsset)||void 0===n?void 0:n.decimals)||-0))||0)})),c=(0,r.EW)((function(){if(o.value&&u.value){var e=o.value.minus(n.value);return(e.isPositive()?e:0).toString()}return i.value.toString()}));return{max:c}}var R=n(6162),B=n(43863),G=n(40477),W=n(14117),L=n(70654),j=function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(u,s)}l((r=r.apply(e,t||[])).next())}))};const V=(0,r.pM)({name:"EthTransferSendForm",components:{BtnMaxAmount:L.A,TransactionSpeedPicker:W.A,DetailsItem:h.A,TransferSendAmount:G.A,TransferSendRecipient:B.A,TransferSendFormBase:R.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},emits:["update:transferData","success","error"],setup:function(e,t){var n=t.emit,a=(0,f.lq)(),o=(0,v.s9)(),u=o.t,i=(0,l.fI)(),c=i.activeNetwork,x=(0,l.ZN)(),h=x.marketData,S=(0,l.ty)(),A=S.balance,P=D(),b=P.fee,y=P.feeList,T=P.feeSelectedIndex,O=P.maxFeePerGas,g=P.maxPriorityFeePerGas,w=P.updateFeeList,C=(0,l.Sr)(),k=C.accountAssets;function E(e,t){return e?k.value.find((function(t){var n=t.contractId;return n===e})):t?void 0:m.C.getAdapter(s.yv.ethereum).getDefaultCoin(h.value,+A.value)}var F=(0,_.x)({transferData:e.transferData,getSelectedAssetValue:E}),I=F.formModel,R=F.errors,B=F.hasError,G=F.invoiceId,W=F.invoiceContract,L=F.openScanQrModal,V=F.handleAssetChange,K=F.updateFormModelValues,Y=(0,r.EW)((function(){return O.value.multipliedBy(p.un)})),X=N({formModel:I,fee:Y}),H=X.max,U=(0,r.EW)((function(){return+b.value.toFixed()})),Q="".concat(u("modals.send.recipientPlaceholderProtocol",{name:s.yv.ethereum})," ").concat(u("modals.send.recipientPlaceholderENS"));function $(){var e,t,a,o=Object.assign(Object.assign({},I.value),{fee:b.value,maxFeePerGas:null===(e=O.value)||void 0===e?void 0:e.toFormat(p.hj),maxPriorityFeePerGas:null===(t=g.value)||void 0===t?void 0:t.toFormat(p.hj),total:U.value+ +((null===(a=I.value)||void 0===a?void 0:a.amount)||0),invoiceId:G.value,invoiceContract:W.value});return n("update:transferData",o),(0,r.dY)()}function q(){return j(this,void 0,void 0,(0,d.A)().mark((function e(){return(0,d.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(B.value){e.next=4;break}return e.next=3,$();case 3:n("success");case 4:case"end":return e.stop()}}),e)})))}function Z(){I.value.amount=H.value}var z=null;return(0,r.sV)((function(){var t;z=(0,M.mX)((function(){w()}),5e3);var n=a.query;K(Object.assign(Object.assign({},n),{token:n.token||(null===(t=e.transferData.selectedAsset)||void 0===t?void 0:t.contractId)}))})),(0,r.hi)((function(){z&&clearInterval(z)})),(0,r.wB)(B,(function(e){return n("error",e)}),{deep:!0}),(0,r.wB)(I,(function(){$()}),{deep:!0}),{ETH_COIN_NAME:p.Sf,ETH_COIN_SYMBOL:p.xU,PROTOCOLS:s.yv,NETWORK_TYPE_TESTNET:s.Oj,formModel:I,activeNetwork:c,fee:b,feeList:y,recipientPlaceholderText:Q,feeSelectedIndex:T,numericFee:U,errors:R,balance:A,max:H,openScanQrModal:L,handleAssetChange:V,submit:q,setMaxAmount:Z}}}),K=(0,b.A)(V,[["render",g]]),Y=K,X=(0,r.pM)({name:s.iP,components:{TransferSendBase:i.A},props:Object.assign(Object.assign({},i.g),{tokenContractId:{type:String,default:null}}),setup:function(e){var t=(0,l.Y7)(),n=t.getProtocolAvailableTokens,a=(0,r.EW)((function(){return n(s.yv.ethereum)})),i=(0,u.KR)(),c=(0,u.KR)(s.x0.form),d=(0,u.KR)(!1),f=(0,u.KR)({address:e.address,amount:e.amount,payload:e.payload,selectedAsset:e.tokenContractId?a.value[e.tokenContractId]:void 0});function v(){i.value.submit()}function m(){c.value=s.x0.review}function p(){d.value=!1,c.value=s.x0.form}var x=(0,o.A)((0,o.A)({},s.x0.form,{component:Y,onSuccess:m}),s.x0.review,{component:T,onSuccess:e.resolve}),h=(0,r.EW)((function(){return x[c.value]}));return{TRANSFER_SEND_STEPS:s.x0,currentRenderedComponent:i,steps:x,currentStep:c,error:d,transferData:f,currentStepConfig:h,proceedToNextStep:v,editTransfer:p}}}),H=(0,b.A)(X,[["render",a]]),U=H}}]); \ No newline at end of file diff --git a/js/locale-cn.2f3367b5.js b/js/locale-cn.2f3367b5.js new file mode 100644 index 000000000..e17aa3b05 --- /dev/null +++ b/js/locale-cn.2f3367b5.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[625],{1659:e=>{e.exports=JSON.parse('{"common":{"address":"地址","ae":"AE","all":"全部","amount":"数量","callData":"呼叫数据","cancel":"取消","confirm":"确认","contractId":"合约Id","copy":"复制","days":"{n} 天 | {n} 天 | {n} 天","edit":"编辑","hours":"{n} 小时 | {n} 小时 | {n} 小时","minutes":"{n} 分钟 | {n} 分钟 | {n} 分钟","next":"下一步","ok":"好的","pending":"等待","receive":"接收","send":"发送","total":"总共"},"connectionStatus":{"node":{"error":"无法连接到所选节点","connecting":"连接节点中...","connected":"已连接"}},"badges":{"verified":"已验证","notVerified":"未验证"},"modals":{"payloadForm":{"doneBtn":"完成"},"transaction-failed":{"msg":"我们执行不了这笔交易,请稍候再次尝试。"},"required":{"msg":"请填写所有栏目。"},"only-chars":{"msg":"只允许字母和数字。"},"name-exist":{"msg":"这个名称已注册。"},"name-length":{"msg":"超级英雄里的名称至少要有13个字符。"},"incorrect-address":{"msg":"请确认你输入的是一个有效的公开地址。"},"incorrect-amount":{"msg":"请确认你输入的是一个有效的金额。"},"insufficient-balance":{"msg":"你没有足够的账户余额来完成这笔交易。"},"removeAccount":{"title":"你确定要移除这个账户?","msg":"这一操作将会从你的钱包移除你的账户并删除相关的存储。操作之前请确定已经备份了你的助记词。 这一操作不能撤销!"},"verified":{"title":"什么是一个 \\"验证过的\\" URL?","msg":"如果一个URL 被标记为已验证,它的意思是这个URL的所有者已经是超级英雄的一员——这非常棒!在页面上可以看到AE地址并且可以很简单地领取小费。"},"not-verified":{"title":"当一个URL \\"没有被验证\\"时是什么意思?","msg":"这意味着URL的主人还没有创建 超级英雄钱包。一旦他们创建了超级英雄钱包并把钱包地址添加到相应的网站就可以领取小费了。 "},"blacklisted":{"title":"什么是 \\"难以接近的\\" URL?","msg":"超级英雄钱包可以打赏任何公开URL。当前,需要登陆才能查看信息的网页还不能被打赏。我们依然在寻找解决方案。"},"not-secure":{"title":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only.","msg":"The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"出错了","sub-title":"成为超级英雄!","content":"请提供关于你遇到的错误的更多信息,这样可以提升我们的超能力。没有私人数据会被删除。","create-report":"创建报告"},"donate-errors":{"title":"你的错误报告已发送","msg":"感谢你这样助人为乐的超级英雄!"},"donate-errors-error":{"title":"你的错误报告未被发送","msg":"发送你的错误报告时发生了某个问题。"},"confirmTransactionSign":{"recipientId":"接收者Id","commitmentId":"承诺Id","nameFee":"名称费","nameId":"名称Id","pointers":"指向者","data-sign":"数字签名"}},"transaction":{"fee":"交易费","type":{"spendTx":"花费","contractCreateTx":"创建合约","contractCallTx":"呼叫合约","namePreclaimTx":"名称预申明","nameClaimTx":"申明名称","nameUpdateTx":"更新名称","nameTransferTx":"转移名称","nameRevokeTx":"撤销名称","oracleRegisterTx":"注册预言机","oracleExtendTx":"扩展预言机","oraclePostQueryTx":"查询预言机","oracleRespondTx":"响应预言机","channelCloseSoloTx":"单向关闭通道","channelSlashTx":"断开通道","channelSettleTx":"结算通道","channelSnapshotSoloTx":"单方面快照通道"}},"pages":{"intro":{"heading":"介绍","skip":"跳过","generateWallet":"生成钱包","receive":"接收小费","step1text":"为创造和策划伟大的内容,参与有意义的讨论,推动人类的事业,成为一个不错的人","step2text":"给伟大的网络内容创造者、人道主义事业以及其他令人敬畏的人——不管出于什么原因。","step3text-1":"这个钱包不会——并永远不会从你的发送和接收中收取佣金","step3text-2":"超级英雄是特地创造的,除了你自己没有人可以控制你的资金。","createdWallet":"你的钱包已创建!","step4text-0":"欢迎来到自由之网。","step4text-1":"去信任:没有第三方干预。转帐完全是P2P模式。","step4text-2":"去审查:没有管理人员指定什么可以货币化什么不可以货币化。","step4text-3":"用区块链永久记录信息:评论和消息会在区块链上永久的标记时间并记录。","step4text-4":"即时的,无国界的,交易费几乎为零。","step4text-iframe-1":"但这并不是全部","step4text-iframe-2":"Superhero wallet is also available as browser extension and mobile app so you can use it on your preferred platforms and devices.","toHome":"进入钱包","ever":"任何时候","welcome":"欢迎登陆!","understand":"我知道这是一个加密钱包并且我有责任备份我的钱包助记词。","extension":"浏览器拓展","mobileApp":"移动app"},"titles":{"settings":"钱包设置","language":"语言","security":"安全","about":"关于","sendTips":"打赏","scanQr":"扫描二维码","terms":"使用条款","privacy":"隐私政策","importAccount":"检索现有帐户","activity":"历史活跃度","topUp":"充值","notifications":"通知","names":"名称","bidding":"出价","commentNew":"添加注释","home":"超级英雄之家","donateError":"捐赠数据","networks":"网络","address":"发送地址","allowances":"津贴","signMessage":"签名信息","invite":"邀请","saveErrorsLog":"保存错误日志"},"about":{"heading":"关于","systemName":"超级英雄","terms":"使用条款","privacyPolicy":"隐私政策","reportBug":"报告bug"},"account":{"heading":"帐户","activity":"活跃度","accountName":"帐户名称","claim":"领赏","latestTransactions":"最新转帐","noTransactionsFound":"未发现转帐!","balance":"余额","copied":"已复制!","backup":"备份","updateExtension":"有新版本!请更新扩展","claim-name":"申明你的.chain名称"},"claim":{"claim":"领取小费","noZeroClaim":"这个URL没有可以被领取的小费。","noAddress":"没有发现地址","errorClaim":"错误。","ae":"AE代币","claimed":" 领取申请已发送! ","url":"URL","tipsOnUrl":"这个URL下的小费","urlNotExisting":"当前这个URL下没有小费。","moreOracles":"没有足够多活跃预言机验证你的领取申请。请稍候尝试。","oracleFailed":"预言机检测领取失败。请稍候尝试。","unknownError":"领取期间发生错误。请稍候尝试。","noMobileClaim":"当前领取只能在桌面上进行。"},"claimTips":{"title":"领赏","urlToClaim":"为这个URL领取小费:"},"notFound":{"notFound":"找不到请求的页面","initialPage":"打开初始页面"},"recentTransactions":{"recentActivity":"近期活跃情况","noTransactionsFound":"未发现交易!"},"advancedSettings":{"heading":"高级","backToSettings":"设置","exportKeypair":"导出keypair","exportKeystore":"到处keystore"},"airGapSetup":{"heading":"AirGap设置","step1heading":"在手机是安装AirGap","step1info":"在商店搜索AirGapor或扫描这个二维码","step1buttonNext":"下一步","setupSteps1heading":"在第二个设备上打开AirGap","setupSteps2heading":"创建秘钥","setupSteps3heading":"以正确的顺序写下来","setupSteps4heading":"添加一个aeternity钱包","setupSteps5heading":"连接你的aeternity钱包","setupSteps1":"为了安全起见,在打开AirGap前请断开网络连接","setupSteps2":"没有网络连接对于秘钥来说是最高的安全性","setupSteps3":"在恢复的时候你需要用到它","setupSteps4":"点击钱包,添加钱包,并选择aeternity","setupSteps5":"将你的保险库连接到aeternity地址以结束","linkVault":"连接Vault"},"auctionBid":{"backToAuctions":"返回拍卖","bidding":"出价","bidOn":"出价给","requiredField":"此处必填","current-highest-bid":"当前最高出价","remaining-time":"剩余时间"},"connectConfirm":{"websiteRequestConnect":"想要连接到你的帐户","websiteRequest":"网站请求查看你的当前地址。请确认当前网站可信。 ","cancelButton":"拒绝","confirmButton":"接受","addressLabel":"地址","transactionLabel":"交易","addressRequest":"aepp请求查看你的当前地址","transactionRequest":"aepp 可能会准备交易,您有责任进行确认。","websiteRequestAccounts":"想要获取帐户地址","addressesLabel":"地址","addressesRequest":"aepp请求查看你的帐户地址"},"token-details":{"token":"代币"},"names":{"default":"默认","balance-error":"你的帐户余额不足以支付这笔交易。","pointer-added":"名称{type} 成功!","auto-extend":"Auto-extend","list":{"no-names":"未发现名称","button":"你的名称"},"details":{"name":"名称","name-id":"名称ID","owner":"所有者","created-height":"创建高度","expires-height":"过期高度","pointer":"指向#{id}","set-default":"设置为默认名称","extend":"扩展","set-pointer":"设置名称指向","address-placeholder":"输入 ak_, ct_, ok_ or .chain名称"},"claim":{"name-placeholder":"输入.chain名称","button":"申明"},"auctions":{"button":"拍卖","soonest":"最快的","length":"名称长度","bid":"出价","expires":"生成","no-auctions":"没有拍卖","not-found":"未发现","current-bid":"当前出价","previous-bids":"先前出价","bidding":"去出价","bid-on":"出价","current-heighest-bid":"当前最高出价","remaining-time":"剩余时间","add-amount":"输入数量","min-bid":"出价必须高于{minBid} AE","bid-added":"加价成功"}},"languageSettings":{"backToSettings":"返回设置","heading":"语言","switchLanguage":"语言","currentLanguage":"当前语言"},"index":{"term1":"我同意超级英雄","term2":"适用条款","term3":"隐私政策","termsAndConditions":"适用条款","heading":"没有隐藏议程的社交平台。","webVersion":"或者使用网页版","mobileVersion":"不仅仅是在 aeternity 区块链上接收、存储和发送硬币的方式","securingAccount":"保护你的帐户","generateWallet":"生成新钱包","importWallet":"检索现有帐户","passwordError":"密码至少需要4个符号。","loginButton":"登录","seedPhrase":"助记词","enterSeedPhrase":"输入你的助记词。 ","continueButton":"继续","continue":"继续","importAccount":"导入帐户","accountNotFound":"未发现帐户。","checkSeed":"请检查你的助记词。"},"ledgerSetup":{"ledgerConnectSetup":"怎么从Ledger连接","ledgerAccount":"添加Ledger帐户","ledgerSteps":"步骤","ledgerUsb":"通过USB连接你的Ledger并解锁它","ledgerLedger":"在Ledger上打开aeternity app","ledgerAccountCreate":"点击下方按钮创建第一个帐户"},"privacyPolicy":{"backButton":"返回","heading":"隐私政策","content":"您的隐私对我们很重要。关于我们可能从我们的网站和我们拥有和运营的其他网站收集您的任何信息,超级英雄的政策是尊重您的隐私。我们不会为了向您提供服务而要求您提供个人信息。我们不会为提供您所要求的服务而收集和保留任何信息。我们不会公开或与第三方分享任何个人身份信息。我们的网站和浏览器可能链接到非我们操作的外部网站。请注意,我们无法控制这些网站的内容和做法,也不能为其各自的隐私政策承担责任。您继续使用我们的网站将被视为接受我们在隐私和个人信息方面的做法。如果您对我们如何处理用户数据和个人信息有任何疑问,请随时与我们联系。本政策自2020年1月31日起生效。"},"qrCodeReader":{"heading":"二维码扫描"},"receive":{"heading":"接收代币需要提供这个地址或扫描下方的二维码。","home":"主页","transferExchange":"加密资产换取AE代代币","purchase":"购买AE代币"},"seed-phrase-settings":{"backToSettings":"返回在设置","heading":"安全和隐私","privacyDataHeading":"隐私数据","privacyDataSmall":"清除所有隐私数据,所有网站需要发送请求才能再次查看帐户信息。","privacyDataClearBtn":"清除所有隐私数据","privateKeyHeading":"查看私钥","privateKeySmall":"在输入密码之后可以查看私钥","privateKeyRevealBtn":"查看私钥","privateKeyWarning":"不要向任何人展示你的私钥,私钥可以用于从你所有的帐户里盗窃","privateKey":"你的私钥","showPrivateKey":"显示私钥","incorrectPassword":"密码错误","decryptingPrivateKey":"解密私钥","seedRecoveryHeading":"显示助记词","seedRecoverySmall":"你的助记词(也被称为私钥)是访问你的帐户的钥匙或密码。请不要向任何人展示。并请确定你已在没有其他人可以看到同时你自己永远不会丢失的纸上备份了助记词。丢失了钥匙意味着不能再访问你的钱包和小费","seedRecoveryBtn":"显示助记词","seedPhrase":"你的助记词","copy":"复制到剪贴板"},"seedPhrase":{"securingAccount":"保护你的帐户","attentionMsg":"请确保你的助记词的安全! 超级英雄不会储存,也不能帮你恢复你的助记词。 保证它的安全是你的责任。 如果你失去了助记词,你将失去你的钱包和所有的资金。","tips":"保护资金的小贴士","tip1":"在多个地方保存助记词的备份","tip2":"牢记钱包的密码","tip3":"不要向任何人展示你的助记词","keepCarefully":"保证助记词的安全!写下这12个单词并把它们保存在安全的地方。将来你它们来恢复你的帐户。 ","confirmSeedPhrase":"确认你的助记词。点击下面的单词,以正确的顺序组成你的助记词","recoveryPhrase":"你的助记词","first":"第一","second":"第二","third":"第三","backupText":"在一张只有你可以看到的纸或文件上备份你的助记词。多做几个备份。","dontLose":"千万不要丢失助记词!","nextScreen":"请确认助记词正确,你将会在下一个页面被要求重写助记词。","verifySeed":"验证助记词","doneThis":"我已完成验证","verify":"验证","seedConfirmed":"助记词已确认。","toDashboard":"返回导航"},"send":{"heading":"新的转账","txFee":"最少转账手续费","maxSpendableValue":"最大可转账价值","success":"成功","seeTransactionExplorer":"在浏览器中查看转账。","scan":"扫描二维码","review":"接收","reviewtx":"接收转账","checkalert":"清仔细核对转账信息。","sender":"发送地址","recipient":"接收地址","successalert":"您已成功发送 ","to":"到","hash":"转账Hash","home":"主页"},"signTransaction":{"unknownAccount":"未知","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","reject":"拒绝","contractCall":"调用合约","contractCalling":"正在调用合约方法。请不要关闭窗口","insufficientBalance":"余额不足","incorrectAddress":"地址错误","compiledCode":"编译后的代码","callData":"调用数据","payload":"附言","newContract":"新合约","aens":"AENS","balanceError":"你的帐户余额不足以执行这笔交易。","from":"从"},"termsOfService":{"backButton":"返回","terms-of-use":"使用条款","terms-with-quotes":"(„条款“)","terms":"条款","sub-heading":"当前 @:termsOfService.terms-of-use 创建于2020年4月3日。","section0Content":"@:termsOfService.superhero-com 根据 @:termsOfService.company 的政策和实践,保留更改 @:termsOfService.terms-of-use 的权力。当在 @:termsOfService.our-superhero-wallet 宣布时新版本的@:termsOfService.terms-of-use将正式生效,除非另有规定。","superhero-com":"Superhero.com LVC","company":"公司","our-superhero-wallet":"我们的超级英雄钱包","section01Content":"这个软件由SUPERHERO.COM LVC提供,没有任何形式的保证,明示或暗示,包括但不限于对适销性、特定用途的适用性和非侵权的保证。在任何情况下,作者都不对任何索赔、损害或其他责任负责,无论是在合同、侵权或其他行为中,还是由软件,软件的使用或其他交易引起的事情中。","section02Content":"这些@:termsOfService.terms-of-use 条款带引号 仅适用于超级英雄钱包(以下简称“ @:termsOfService.wallet ”或“ @:termsOfService.application ”)和 @:termsOfService.website-extension 上的所有可用内容。请确保您在使用 @:termsOfService.application 之前仔细阅读了 @:termsOfService.terms 。否则,您使用了它,我们就认为这些动作暗示了同意@:termsOfService.terms-of-use。这些使用术语代表您、您所代表的法律实体、您注册的法律实体(统称为„您“)以及Superhero.com LVC或您对超级英雄钱包的使用 @:termsOfService.website-extension 的使用达成约束性协议。","superHero-wallet":"超级英雄钱","wallet":"钱包","application":"应用程序","website-extension":"网站扩展","you":"you","superhero-we-us-with-quotes":"(“超级英雄”, “我们”, “我们”","our-with-quotes":"“我们的”)","section1Title":"1. 定义","section1Content":"1.1.Superhero.com(Superhero.com ”, “我们”, “我们”,“我们的”或“公司”)成立的是家公司,超级英雄钱包相关问题的邮箱联系地址是: superherowallet{\'@\'}protonmail.com。超级英雄钱包由Superhero.com公司创造。 \\n 1.2. ​„使用者“或者„你“ 代表下载并使用超级英雄钱包网站扩展的自然人或法人。\\n 1.3. „​区块链“代表记录清单,也称为区块,区块间以密码学方法相连。​这个技术允许大量的人对数据进行获取并达成共识,之后数据会被永久地记录下来了,没有中央权威的存在。用户可以在aeternity区块链上获取,创造,保存信息。分散式、分布式和公共的数字账本用于在验证器的帮助下以信息块的形式记录交易,这些信息是不能被逆向更改的。\\n 1.4。“超级英雄钱包”(“钱包”或“应用程序”)是一个网站扩展,它允许支持者向内容创建者、事业、慈善机构、团体或普通个人发送价值,作为对贡献准确信息、相关见解和高质量内容的奖励。网站扩展是一个软件,作为一个附添加到网络浏览器Firefox并为浏览器提供附加功能。该应用程序可以在https://addons.mozilla.org/en-us/firefox/addon/superhero-wallet-extension/获取。捐款和评论的结果发布在https://superhero.com/网站上。\\n 1.5。“验证者”是独立的自然人或实体,他们在任何方面都不属于Superhero.com的一部分。它们在系统中的功能包括模块的组成和在aeternal网络中传播这些模块。1.6 \\n。“帐户地址”是用户公钥的散列版本,用于在应用程序中识别用户。1.7 \\n。“密钥”表示唯一相关的用于加密和解密信息的随机数私钥和公钥。它们在系统中的功能包括区块的组成和在aeternity网络中对区块的广播。","section2Title":"2.总则","section2Content":"Superhero.com将这款应用程序设计并创建成一种加密货币钱包,用户可以通过它存储和发送Superhero.com代币,来向创建者、慈善机构、团体或普通个人进行捐赠,作为对贡献准确信息、相关见解和高质量内容的奖励。用户可以通过应用程序向不同的网站捐款。该应用程序会自动搜寻该网站的公开密码匙,以供捐款之用。捐款可以按照以下两种方式进行——用户可以给整个网站的所有者打赏,或者用户可以选择网站上写了新闻的特定创建者和作者给他们打赏代币。\\n此后,https://superhero.com/网站反映了用户的捐赠和评论,并给予其他用户对本网站新闻供应中可获取的新闻进行积极捐赠和评论的可能性。\\n用户可以浏览他们的转帐记录。钱包会显示用户的代币。用户负责资金的安全保管、收发。\\n应用程序是为小额转帐而构建的。应用程序可以进行大容量的交易或存储,风险由用户自行承担。","section3Title":"3. 用户识别","section3Content":"应用程序使用帐户地址来识别用户。\\n如果用户要发送Superhero.com代币,他们应该只共享他们的帐户地址。应用程序不会共享或收集任何其他信息。一旦用户下载了应用程序,钱包就会自动生成账户地址。有关帐户地址处理的详细资料,请参阅应用程序的私隐政策。","section4Title":"​4. 用户责任","section4Content":"作为用户,您同意以下适用于Superhero.com的规则:\\n●您应遵守当前条款内设置的规则,并按照适用法律诚心诚意地地在应用程序中执行任何行动;\\n●您是成年人,您不是司法残疾人士(您已取得完全法律行为能力);\\n●您不应试图从其他用户处获取或获得访问任何个人或可识别信息的权限,包括但不限于助记词,也不应披露您自己相应信息;\\n●您不得以任何方式破坏或利用该应用程序,或将该应用程序用于任何非法活动或超出其创建目的;\\n●您的行为不应以任何方式误导您被认为您是另一个人或公司;你不得故意使用他人的助记词、帐号地址等,以表示自己是其他人。如果公司怀疑用户存在身份盗窃和欺诈行为,Superhero.com将采取任何可能的行动来处理这些情况;\\n●您使用的设备不包含或安装任何病毒、蠕虫、恶意软件、木马或其他有害或破坏性内容;\\n任何违反本条款之行为,均由使用者负责。","section5Title":"5. 保证及免责声明","section6Title":"6. 税收和费用","section6Content":"钱包不收取任何使用该应用程序的费用或税收-它是免费的。但是,Superhero.com区块链上的交易需要支付税费,包括但不限于矿工费、gas税、交易费。税费的数额是单方面固定的。\\n此外,根据领土访问地点的不同,通过应用程序转移和接收资金可能需要向不同国家的公共当局缴纳税款和费用,具体视法律法规而定。用户有义务告知自己这些要求,并对他们的捐赠全权负责。","section7Title":"7. 第三方平台","section7Content":"为了捐赠,用户应该在“发送提示到”处复制粘贴他们想捐赠的网站的URL。请记住,创建应用程序是为了促进来自世界各地的全面、透明、有用和准确的信息的共享。因此,用户应对任何违反钱包目的和本条款使用钱包的行为负全部责任。Superhero.com并不控制捐赠的网站,Superhero.com对网站上的内容不承担任何责任。","section8Title":"8. 许可证","section8Content":"该应用程序由Superhero.com创建、开发和运营。应用程序上的每个组件,包括但不限于在应用程序上显示的图标、商标和其他知识产权,均被视为Superhero.com的财产,受适用的知识产权法律保护。未经超级英雄明确同意,不得使用超级英雄的任何知识产权。\\n未经Superhero.com事先明确书面同意,任何上述元素不得编辑、下载、复制、用于商业目的,不得以任何方式和/或任何媒介部分或全部发布和传播上述内容。\\n超级英雄保留对侵犯知识产权的行为采取任何必要法律行动的权利。","section9Title":"9. 知识产权","section9Content":"用户理解并接受应用程序可以定期进行修改、更新、维护或技术支持,这可能在一定程度上影响钱包的使用、应用程序的可视化呈现或可能导致故障。在后一种情况下,如果您作为用户注意到资金、设置、帐户或应用程序上的任何其他信息的变化,请联系superherowallet{\'@\'}protonmail.com寻求帮助。","section10Title":"10. 修改","section10Content":"列支敦士登的立法和管辖权适用于本条款以外的问题。条款中一个或多个条款的无效并不会导致整个条款的无效。\\n本隐私政策是本条款不可分割的一部分,应被视为具有强制性的补充文件。除非隐私政策中另有明确规定,本条款中的所有规则将保持有效。","section11Title":"11. 最后条款"},"tipPage":{"claimingExplanation":"如果您已经将您的钱包地址添加到您的URL,通过点击下面的领取按钮您可以立即领取小费","url":"发送小费到","minAmountError":"小费的代币价值必须超过0.01美元才能发送。"},"transactionDetails":{"heading":"交易细节","date":"日期","type":"类型","txFrom":"从","txTo":"到","txHash":"Tx hash","transactions":"交易","backToTransactions":"返回交易","explorer":"在浏览器中查看","txName":"名称","txAccount":"数量","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","advancedMode":"高级模式","blockHeight":"区块高度","signatures":"签名","nonce":"Nonce","callData":"呼叫数据","gas":"Gas","gasPrice":"Gas价格","code":"代码","abiV":"Abi版本","vmV":"Vm版本","payload":"附言","commitment":"承诺id","clientTtl":"客户TTL","nameTtl":"名称TTL","pointerId":"指向Id","pointerKey":"指向秘钥","moreInfo":"更多信息","sent":"发送","received":"已接收","withdrawals":"提币","topups":"充值"},"transactions":{"heading":"转帐记录","filters":"筛选","loadMore":"显示更多","allLoaded":"显示所有转帐。","newTransactions":"新近转帐","noTransactions":"未发现转帐","type":"类型","incoming":"收入","outgoing":"支出","spendType":"花费类型","spexdTx":"花费tx","namePreclaim":"名称预申明tx","nameClaim":"名称申明tx","nameUpdate":"名称更新tx","createTx":"创建tx","clear":"清除筛选","apply":"申请筛选","sent":"发送","received":"接收"},"aeAddressInput":{"label":"Aeternity地址","identicon":"你的 identicon","error":"无效AE地址"},"popupMessageSign":{"title":"签名消息","heading":"想要签名消息","message":"消息"},"network":{"url":"URL:","delete":"删除","middleware":"中间件:","allNetworks":"你的网络","networkNamePlaceholder":"输入网络名称","networkNameLabel":"网络名称","networkUrlPlaceholder":"输入网络url","networkUrlLabel":"网络 Url","networkMiddlewarePlaceholder":"输入网络中间件url","networkMiddlewareLabel":"网络中间件","save":"连接"},"donate-error":{"error-report":"错误报告:","error-placeholder":"描述错误发生前您的操作(可选)。","data-collected":"数据已收集","browser":"浏览器版本","details":"技术细节:","donate":"捐献数据"},"invite":{"generate-link":"生成邀请链接","generate":"生成","created-links":"邀请连接已生成","top-up":"充值","close":"关闭","claim":"拿回来","insufficient-balance":"余额不足"},"resetWallet":{"title":"重置钱包"}}}')}}]); \ No newline at end of file diff --git a/js/locale-cn.f116874e.js b/js/locale-cn.f116874e.js deleted file mode 100644 index 35d2c71cd..000000000 --- a/js/locale-cn.f116874e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[76],{44655:e=>{e.exports=JSON.parse('{"common":{"address":"地址","ae":"AE","all":"全部","amount":"数量","callData":"呼叫数据","cancel":"取消","confirm":"确认","contractId":"合约Id","copy":"复制","days":"{n} 天 | {n} 天 | {n} 天","edit":"编辑","hours":"{n} 小时 | {n} 小时 | {n} 小时","minutes":"{n} 分钟 | {n} 分钟 | {n} 分钟","next":"下一步","ok":"好的","pending":"等待","receive":"接收","send":"发送","total":"总共"},"connectionStatus":{"node":{"error":"无法连接到所选节点","connecting":"连接节点中...","connected":"已连接"}},"badges":{"verified":"已验证","notVerified":"未验证"},"modals":{"payloadForm":{"doneBtn":"完成"},"transaction-failed":{"msg":"我们执行不了这笔交易,请稍候再次尝试。"},"required":{"msg":"请填写所有栏目。"},"only-chars":{"msg":"只允许字母和数字。"},"name-exist":{"msg":"这个名称已注册。"},"name-length":{"msg":"超级英雄里的名称至少要有13个字符。"},"incorrect-address":{"msg":"请确认你输入的是一个有效的公开地址。"},"incorrect-amount":{"msg":"请确认你输入的是一个有效的金额。"},"insufficient-balance":{"msg":"你没有足够的账户余额来完成这笔交易。"},"removeAccount":{"title":"你确定要移除这个账户?","msg":"这一操作将会从你的钱包移除你的账户并删除相关的存储。操作之前请确定已经备份了你的助记词。 这一操作不能撤销!"},"verified":{"title":"什么是一个 \\"验证过的\\" URL?","msg":"如果一个URL 被标记为已验证,它的意思是这个URL的所有者已经是超级英雄的一员——这非常棒!在页面上可以看到AE地址并且可以很简单地领取小费。"},"not-verified":{"title":"当一个URL \\"没有被验证\\"时是什么意思?","msg":"这意味着URL的主人还没有创建 超级英雄钱包。一旦他们创建了超级英雄钱包并把钱包地址添加到相应的网站就可以领取小费了。 "},"blacklisted":{"title":"什么是 \\"难以接近的\\" URL?","msg":"超级英雄钱包可以打赏任何公开URL。当前,需要登陆才能查看信息的网页还不能被打赏。我们依然在寻找解决方案。"},"not-secure":{"title":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only.","msg":"The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"出错了","sub-title":"成为超级英雄!","content":"请提供关于你遇到的错误的更多信息,这样可以提升我们的超能力。没有私人数据会被删除。","create-report":"创建报告"},"donate-errors":{"title":"你的错误报告已发送","msg":"感谢你这样助人为乐的超级英雄!"},"donate-errors-error":{"title":"你的错误报告未被发送","msg":"发送你的错误报告时发生了某个问题。"},"confirmTransactionSign":{"recipientId":"接收者Id","commitmentId":"承诺Id","nameFee":"名称费","nameId":"名称Id","pointers":"指向者","data-sign":"数字签名"}},"transaction":{"fee":"交易费","type":{"spendTx":"花费","contractCreateTx":"创建合约","contractCallTx":"呼叫合约","namePreclaimTx":"名称预申明","nameClaimTx":"申明名称","nameUpdateTx":"更新名称","nameTransferTx":"转移名称","nameRevokeTx":"撤销名称","oracleRegisterTx":"注册预言机","oracleExtendTx":"扩展预言机","oraclePostQueryTx":"查询预言机","oracleRespondTx":"响应预言机","channelCloseSoloTx":"单向关闭通道","channelSlashTx":"断开通道","channelSettleTx":"结算通道","channelSnapshotSoloTx":"单方面快照通道"}},"pages":{"intro":{"heading":"介绍","skip":"跳过","generateWallet":"生成钱包","receive":"接收小费","step1text":"为创造和策划伟大的内容,参与有意义的讨论,推动人类的事业,成为一个不错的人","step2text":"给伟大的网络内容创造者、人道主义事业以及其他令人敬畏的人——不管出于什么原因。","step3text-1":"这个钱包不会——并永远不会从你的发送和接收中收取佣金","step3text-2":"超级英雄是特地创造的,除了你自己没有人可以控制你的资金。","createdWallet":"你的钱包已创建!","step4text-0":"欢迎来到自由之网。","step4text-1":"去信任:没有第三方干预。转帐完全是P2P模式。","step4text-2":"去审查:没有管理人员指定什么可以货币化什么不可以货币化。","step4text-3":"用区块链永久记录信息:评论和消息会在区块链上永久的标记时间并记录。","step4text-4":"即时的,无国界的,交易费几乎为零。","step4text-iframe-1":"但这并不是全部","step4text-iframe-2":"Superhero wallet is also available as browser extension and mobile app so you can use it on your preferred platforms and devices.","toHome":"进入钱包","ever":"任何时候","welcome":"欢迎登陆!","understand":"我知道这是一个加密钱包并且我有责任备份我的钱包助记词。","extension":"浏览器拓展","mobileApp":"移动app"},"titles":{"settings":"钱包设置","language":"语言","security":"安全","about":"关于","sendTips":"打赏","scanQr":"扫描二维码","terms":"使用条款","privacy":"隐私政策","importAccount":"检索现有帐户","activity":"历史活跃度","topUp":"充值","notifications":"通知","names":"名称","bidding":"出价","commentNew":"添加注释","home":"超级英雄之家","donateError":"捐赠数据","networks":"网络","address":"发送地址","allowances":"津贴","signMessage":"签名信息","invite":"邀请","saveErrorsLog":"保存错误日志"},"about":{"heading":"关于","systemName":"超级英雄","terms":"使用条款","privacyPolicy":"隐私政策","reportBug":"报告bug"},"account":{"heading":"帐户","activity":"活跃度","accountName":"帐户名称","claim":"领赏","latestTransactions":"最新转帐","noTransactionsFound":"未发现转帐!","balance":"余额","copied":"已复制!","backup":"备份","updateExtension":"有新版本!请更新扩展","claim-name":"申明你的.chain名称"},"claim":{"claim":"领取小费","noZeroClaim":"这个URL没有可以被领取的小费。","noAddress":"没有发现地址","errorClaim":"错误。","ae":"AE代币","claimed":" 领取申请已发送! ","url":"URL","tipsOnUrl":"这个URL下的小费","urlNotExisting":"当前这个URL下没有小费。","moreOracles":"没有足够多活跃预言机验证你的领取申请。请稍候尝试。","oracleFailed":"预言机检测领取失败。请稍候尝试。","unknownError":"领取期间发生错误。请稍候尝试。","noMobileClaim":"当前领取只能在桌面上进行。"},"claimTips":{"title":"领赏","urlToClaim":"为这个URL领取小费:"},"notFound":{"notFound":"找不到请求的页面","initialPage":"打开初始页面"},"recentTransactions":{"recentActivity":"近期活跃情况","noTransactionsFound":"未发现交易!"},"advancedSettings":{"heading":"高级","backToSettings":"设置","exportKeypair":"导出keypair","exportKeystore":"到处keystore"},"airGapSetup":{"heading":"AirGap设置","step1heading":"在手机是安装AirGap","step1info":"在商店搜索AirGapor或扫描这个二维码","step1buttonNext":"下一步","setupSteps1heading":"在第二个设备上打开AirGap","setupSteps2heading":"创建秘钥","setupSteps3heading":"以正确的顺序写下来","setupSteps4heading":"添加一个aeternity钱包","setupSteps5heading":"连接你的aeternity钱包","setupSteps1":"为了安全起见,在打开AirGap前请断开网络连接","setupSteps2":"没有网络连接对于秘钥来说是最高的安全性","setupSteps3":"在恢复的时候你需要用到它","setupSteps4":"点击钱包,添加钱包,并选择aeternity","setupSteps5":"将你的保险库连接到aeternity地址以结束","linkVault":"连接Vault"},"auctionBid":{"backToAuctions":"返回拍卖","bidding":"出价","bidOn":"出价给","requiredField":"此处必填","current-highest-bid":"当前最高出价","remaining-time":"剩余时间"},"connectConfirm":{"websiteRequestConnect":"想要连接到你的帐户","websiteRequest":"网站请求查看你的当前地址。请确认当前网站可信。 ","cancelButton":"拒绝","confirmButton":"接受","addressLabel":"地址","transactionLabel":"交易","addressRequest":"aepp请求查看你的当前地址","transactionRequest":"aepp 可能会准备交易,您有责任进行确认。","websiteRequestAccounts":"想要获取帐户地址","addressesLabel":"地址","addressesRequest":"aepp请求查看你的帐户地址"},"token-details":{"token":"代币"},"fungible-tokens":{"add":"添加可替换代币","add-info":"这允许您从给定地已部署的可替换代币合约中添加代币","deploy":"部署代币","deploy-info":"这允许你部署你自己的可替换代币合约","allowances":"津贴","allowances-info":"给出或获取津贴","mint":"铸造/销毁代币","mint-info":"这允许你铸造或销毁代币数量"},"names":{"default":"默认","balance-error":"你的帐户余额不足以支付这笔交易。","pointer-added":"名称{type} 成功!","auto-extend":"Auto-extend","list":{"no-names":"未发现名称","button":"你的名称"},"details":{"name":"名称","name-id":"名称ID","owner":"所有者","created-height":"创建高度","expires-height":"过期高度","pointer":"指向#{id}","set-default":"设置为默认名称","extend":"扩展","set-pointer":"设置名称指向","address-placeholder":"输入 ak_, ct_, ok_ or .chain名称"},"claim":{"name-placeholder":"输入.chain名称","button":"申明"},"auctions":{"button":"拍卖","soonest":"最快的","length":"名称长度","bid":"出价","expires":"生成","no-auctions":"没有拍卖","not-found":"未发现","current-bid":"当前出价","previous-bids":"先前出价","bidding":"去出价","bid-on":"出价","current-heighest-bid":"当前最高出价","remaining-time":"剩余时间","add-amount":"输入数量","min-bid":"出价必须高于{minBid} AE","bid-added":"加价成功"}},"languageSettings":{"backToSettings":"返回设置","heading":"语言","switchLanguage":"语言","currentLanguage":"当前语言"},"index":{"term1":"我同意超级英雄","term2":"适用条款","term3":"隐私政策","termsAndConditions":"适用条款","heading":"没有隐藏议程的社交平台。","webVersion":"或者使用网页版","mobileVersion":"不仅仅是在 aeternity 区块链上接收、存储和发送硬币的方式","securingAccount":"保护你的帐户","generateWallet":"生成新钱包","importWallet":"检索现有帐户","passwordError":"密码至少需要4个符号。","loginButton":"登录","seedPhrase":"助记词","enterSeedPhrase":"输入你的助记词。 ","continueButton":"继续","continue":"继续","importAccount":"导入帐户","accountNotFound":"未发现帐户。","checkSeed":"请检查你的助记词。"},"ledgerSetup":{"ledgerConnectSetup":"怎么从Ledger连接","ledgerAccount":"添加Ledger帐户","ledgerSteps":"步骤","ledgerUsb":"通过USB连接你的Ledger并解锁它","ledgerLedger":"在Ledger上打开aeternity app","ledgerAccountCreate":"点击下方按钮创建第一个帐户"},"privacyPolicy":{"backButton":"返回","heading":"隐私政策","content":"您的隐私对我们很重要。关于我们可能从我们的网站和我们拥有和运营的其他网站收集您的任何信息,超级英雄的政策是尊重您的隐私。我们不会为了向您提供服务而要求您提供个人信息。我们不会为提供您所要求的服务而收集和保留任何信息。我们不会公开或与第三方分享任何个人身份信息。我们的网站和浏览器可能链接到非我们操作的外部网站。请注意,我们无法控制这些网站的内容和做法,也不能为其各自的隐私政策承担责任。您继续使用我们的网站将被视为接受我们在隐私和个人信息方面的做法。如果您对我们如何处理用户数据和个人信息有任何疑问,请随时与我们联系。本政策自2020年1月31日起生效。"},"qrCodeReader":{"heading":"二维码扫描"},"receive":{"heading":"接收代币需要提供这个地址或扫描下方的二维码。","home":"主页","transferExchange":"加密资产换取AE代代币","purchase":"购买AE代币"},"seed-phrase-settings":{"backToSettings":"返回在设置","heading":"安全和隐私","privacyDataHeading":"隐私数据","privacyDataSmall":"清除所有隐私数据,所有网站需要发送请求才能再次查看帐户信息。","privacyDataClearBtn":"清除所有隐私数据","privateKeyHeading":"查看私钥","privateKeySmall":"在输入密码之后可以查看私钥","privateKeyRevealBtn":"查看私钥","privateKeyWarning":"不要向任何人展示你的私钥,私钥可以用于从你所有的帐户里盗窃","privateKey":"你的私钥","showPrivateKey":"显示私钥","incorrectPassword":"密码错误","decryptingPrivateKey":"解密私钥","seedRecoveryHeading":"显示助记词","seedRecoverySmall":"你的助记词(也被称为私钥)是访问你的帐户的钥匙或密码。请不要向任何人展示。并请确定你已在没有其他人可以看到同时你自己永远不会丢失的纸上备份了助记词。丢失了钥匙意味着不能再访问你的钱包和小费","seedRecoveryBtn":"显示助记词","seedPhrase":"你的助记词","copy":"复制到剪贴板"},"seedPhrase":{"securingAccount":"保护你的帐户","attentionMsg":"请确保你的助记词的安全! 超级英雄不会储存,也不能帮你恢复你的助记词。 保证它的安全是你的责任。 如果你失去了助记词,你将失去你的钱包和所有的资金。","tips":"保护资金的小贴士","tip1":"在多个地方保存助记词的备份","tip2":"牢记钱包的密码","tip3":"不要向任何人展示你的助记词","keepCarefully":"保证助记词的安全!写下这12个单词并把它们保存在安全的地方。将来你它们来恢复你的帐户。 ","confirmSeedPhrase":"确认你的助记词。点击下面的单词,以正确的顺序组成你的助记词","recoveryPhrase":"你的助记词","first":"第一","second":"第二","third":"第三","backupText":"在一张只有你可以看到的纸或文件上备份你的助记词。多做几个备份。","dontLose":"千万不要丢失助记词!","nextScreen":"请确认助记词正确,你将会在下一个页面被要求重写助记词。","verifySeed":"验证助记词","doneThis":"我已完成验证","verify":"验证","seedConfirmed":"助记词已确认。","toDashboard":"返回导航"},"send":{"heading":"新的转账","txFee":"最少转账手续费","maxSpendableValue":"最大可转账价值","success":"成功","seeTransactionExplorer":"在浏览器中查看转账。","scan":"扫描二维码","review":"接收","reviewtx":"接收转账","checkalert":"清仔细核对转账信息。","sender":"发送地址","recipient":"接收地址","successalert":"您已成功发送 ","to":"到","hash":"转账Hash","home":"主页"},"signTransaction":{"unknownAccount":"未知","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","reject":"拒绝","contractCall":"调用合约","contractCalling":"正在调用合约方法。请不要关闭窗口","insufficientBalance":"余额不足","incorrectAddress":"地址错误","compiledCode":"编译后的代码","callData":"调用数据","payload":"附言","newContract":"新合约","aens":"AENS","balanceError":"你的帐户余额不足以执行这笔交易。","from":"从"},"termsOfService":{"backButton":"返回","terms-of-use":"使用条款","terms-with-quotes":"(„条款“)","terms":"条款","sub-heading":"当前 @:termsOfService.terms-of-use 创建于2020年4月3日。","section0Content":"@:termsOfService.superhero-com 根据 @:termsOfService.company 的政策和实践,保留更改 @:termsOfService.terms-of-use 的权力。当在 @:termsOfService.our-superhero-wallet 宣布时新版本的@:termsOfService.terms-of-use将正式生效,除非另有规定。","superhero-com":"Superhero.com LVC","company":"公司","our-superhero-wallet":"我们的超级英雄钱包","section01Content":"这个软件由SUPERHERO.COM LVC提供,没有任何形式的保证,明示或暗示,包括但不限于对适销性、特定用途的适用性和非侵权的保证。在任何情况下,作者都不对任何索赔、损害或其他责任负责,无论是在合同、侵权或其他行为中,还是由软件,软件的使用或其他交易引起的事情中。","section02Content":"这些@:termsOfService.terms-of-use 条款带引号 仅适用于超级英雄钱包(以下简称“ @:termsOfService.wallet ”或“ @:termsOfService.application ”)和 @:termsOfService.website-extension 上的所有可用内容。请确保您在使用 @:termsOfService.application 之前仔细阅读了 @:termsOfService.terms 。否则,您使用了它,我们就认为这些动作暗示了同意@:termsOfService.terms-of-use。这些使用术语代表您、您所代表的法律实体、您注册的法律实体(统称为„您“)以及Superhero.com LVC或您对超级英雄钱包的使用 @:termsOfService.website-extension 的使用达成约束性协议。","superHero-wallet":"超级英雄钱","wallet":"钱包","application":"应用程序","website-extension":"网站扩展","you":"you","superhero-we-us-with-quotes":"(“超级英雄”, “我们”, “我们”","our-with-quotes":"“我们的”)","section1Title":"1. 定义","section1Content":"1.1.Superhero.com(Superhero.com ”, “我们”, “我们”,“我们的”或“公司”)成立的是家公司,超级英雄钱包相关问题的邮箱联系地址是: superherowallet{\'@\'}protonmail.com。超级英雄钱包由Superhero.com公司创造。 \\n 1.2. ​„使用者“或者„你“ 代表下载并使用超级英雄钱包网站扩展的自然人或法人。\\n 1.3. „​区块链“代表记录清单,也称为区块,区块间以密码学方法相连。​这个技术允许大量的人对数据进行获取并达成共识,之后数据会被永久地记录下来了,没有中央权威的存在。用户可以在aeternity区块链上获取,创造,保存信息。分散式、分布式和公共的数字账本用于在验证器的帮助下以信息块的形式记录交易,这些信息是不能被逆向更改的。\\n 1.4。“超级英雄钱包”(“钱包”或“应用程序”)是一个网站扩展,它允许支持者向内容创建者、事业、慈善机构、团体或普通个人发送价值,作为对贡献准确信息、相关见解和高质量内容的奖励。网站扩展是一个软件,作为一个附添加到网络浏览器Firefox并为浏览器提供附加功能。该应用程序可以在https://addons.mozilla.org/en-us/firefox/addon/superhero-wallet-extension/获取。捐款和评论的结果发布在https://superhero.com/网站上。\\n 1.5。“验证者”是独立的自然人或实体,他们在任何方面都不属于Superhero.com的一部分。它们在系统中的功能包括模块的组成和在aeternal网络中传播这些模块。1.6 \\n。“帐户地址”是用户公钥的散列版本,用于在应用程序中识别用户。1.7 \\n。“密钥”表示唯一相关的用于加密和解密信息的随机数私钥和公钥。它们在系统中的功能包括区块的组成和在aeternity网络中对区块的广播。","section2Title":"2.总则","section2Content":"Superhero.com将这款应用程序设计并创建成一种加密货币钱包,用户可以通过它存储和发送Superhero.com代币,来向创建者、慈善机构、团体或普通个人进行捐赠,作为对贡献准确信息、相关见解和高质量内容的奖励。用户可以通过应用程序向不同的网站捐款。该应用程序会自动搜寻该网站的公开密码匙,以供捐款之用。捐款可以按照以下两种方式进行——用户可以给整个网站的所有者打赏,或者用户可以选择网站上写了新闻的特定创建者和作者给他们打赏代币。\\n此后,https://superhero.com/网站反映了用户的捐赠和评论,并给予其他用户对本网站新闻供应中可获取的新闻进行积极捐赠和评论的可能性。\\n用户可以浏览他们的转帐记录。钱包会显示用户的代币。用户负责资金的安全保管、收发。\\n应用程序是为小额转帐而构建的。应用程序可以进行大容量的交易或存储,风险由用户自行承担。","section3Title":"3. 用户识别","section3Content":"应用程序使用帐户地址来识别用户。\\n如果用户要发送Superhero.com代币,他们应该只共享他们的帐户地址。应用程序不会共享或收集任何其他信息。一旦用户下载了应用程序,钱包就会自动生成账户地址。有关帐户地址处理的详细资料,请参阅应用程序的私隐政策。","section4Title":"​4. 用户责任","section4Content":"作为用户,您同意以下适用于Superhero.com的规则:\\n●您应遵守当前条款内设置的规则,并按照适用法律诚心诚意地地在应用程序中执行任何行动;\\n●您是成年人,您不是司法残疾人士(您已取得完全法律行为能力);\\n●您不应试图从其他用户处获取或获得访问任何个人或可识别信息的权限,包括但不限于助记词,也不应披露您自己相应信息;\\n●您不得以任何方式破坏或利用该应用程序,或将该应用程序用于任何非法活动或超出其创建目的;\\n●您的行为不应以任何方式误导您被认为您是另一个人或公司;你不得故意使用他人的助记词、帐号地址等,以表示自己是其他人。如果公司怀疑用户存在身份盗窃和欺诈行为,Superhero.com将采取任何可能的行动来处理这些情况;\\n●您使用的设备不包含或安装任何病毒、蠕虫、恶意软件、木马或其他有害或破坏性内容;\\n任何违反本条款之行为,均由使用者负责。","section5Title":"5. 保证及免责声明","section6Title":"6. 税收和费用","section6Content":"钱包不收取任何使用该应用程序的费用或税收-它是免费的。但是,Superhero.com区块链上的交易需要支付税费,包括但不限于矿工费、gas税、交易费。税费的数额是单方面固定的。\\n此外,根据领土访问地点的不同,通过应用程序转移和接收资金可能需要向不同国家的公共当局缴纳税款和费用,具体视法律法规而定。用户有义务告知自己这些要求,并对他们的捐赠全权负责。","section7Title":"7. 第三方平台","section7Content":"为了捐赠,用户应该在“发送提示到”处复制粘贴他们想捐赠的网站的URL。请记住,创建应用程序是为了促进来自世界各地的全面、透明、有用和准确的信息的共享。因此,用户应对任何违反钱包目的和本条款使用钱包的行为负全部责任。Superhero.com并不控制捐赠的网站,Superhero.com对网站上的内容不承担任何责任。","section8Title":"8. 许可证","section8Content":"该应用程序由Superhero.com创建、开发和运营。应用程序上的每个组件,包括但不限于在应用程序上显示的图标、商标和其他知识产权,均被视为Superhero.com的财产,受适用的知识产权法律保护。未经超级英雄明确同意,不得使用超级英雄的任何知识产权。\\n未经Superhero.com事先明确书面同意,任何上述元素不得编辑、下载、复制、用于商业目的,不得以任何方式和/或任何媒介部分或全部发布和传播上述内容。\\n超级英雄保留对侵犯知识产权的行为采取任何必要法律行动的权利。","section9Title":"9. 知识产权","section9Content":"用户理解并接受应用程序可以定期进行修改、更新、维护或技术支持,这可能在一定程度上影响钱包的使用、应用程序的可视化呈现或可能导致故障。在后一种情况下,如果您作为用户注意到资金、设置、帐户或应用程序上的任何其他信息的变化,请联系superherowallet{\'@\'}protonmail.com寻求帮助。","section10Title":"10. 修改","section10Content":"列支敦士登的立法和管辖权适用于本条款以外的问题。条款中一个或多个条款的无效并不会导致整个条款的无效。\\n本隐私政策是本条款不可分割的一部分,应被视为具有强制性的补充文件。除非隐私政策中另有明确规定,本条款中的所有规则将保持有效。","section11Title":"11. 最后条款"},"tipPage":{"claimingExplanation":"如果您已经将您的钱包地址添加到您的URL,通过点击下面的领取按钮您可以立即领取小费","url":"发送小费到","minAmountError":"小费的代币价值必须超过0.01美元才能发送。"},"transactionDetails":{"heading":"交易细节","date":"日期","type":"类型","txFrom":"从","txTo":"到","txHash":"Tx hash","transactions":"交易","backToTransactions":"返回交易","explorer":"在浏览器中查看","txName":"名称","txAccount":"数量","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","advancedMode":"高级模式","blockHeight":"区块高度","signatures":"签名","nonce":"Nonce","callData":"呼叫数据","gas":"Gas","gasPrice":"Gas价格","code":"代码","abiV":"Abi版本","vmV":"Vm版本","payload":"附言","commitment":"承诺id","clientTtl":"客户TTL","nameTtl":"名称TTL","pointerId":"指向Id","pointerKey":"指向秘钥","moreInfo":"更多信息","sent":"发送","received":"已接收","withdrawals":"提币","topups":"充值"},"transactions":{"heading":"转帐记录","filters":"筛选","loadMore":"显示更多","allLoaded":"显示所有转帐。","newTransactions":"新近转帐","noTransactions":"未发现转帐","type":"类型","incoming":"收入","outgoing":"支出","spendType":"花费类型","spexdTx":"花费tx","namePreclaim":"名称预申明tx","nameClaim":"名称申明tx","nameUpdate":"名称更新tx","createTx":"创建tx","clear":"清除筛选","apply":"申请筛选","sent":"发送","received":"接收"},"aeAddressInput":{"label":"Aeternity地址","identicon":"你的 identicon","error":"无效AE地址"},"popupMessageSign":{"title":"签名消息","heading":"想要签名消息","message":"消息"},"network":{"url":"URL:","delete":"删除","middleware":"中间件:","allNetworks":"你的网络","networkNamePlaceholder":"输入网络名称","networkNameLabel":"网络名称","networkUrlPlaceholder":"输入网络url","networkUrlLabel":"网络 Url","networkMiddlewarePlaceholder":"输入网络中间件url","networkMiddlewareLabel":"网络中间件","save":"连接"},"donate-error":{"error-report":"错误报告:","error-placeholder":"描述错误发生前您的操作(可选)。","data-collected":"数据已收集","browser":"浏览器版本","details":"技术细节:","donate":"捐献数据"},"invite":{"generate-link":"生成邀请链接","generate":"生成","created-links":"邀请连接已生成","top-up":"充值","close":"关闭","claim":"拿回来","insufficient-balance":"余额不足"},"resetWallet":{"title":"重置钱包"}}}')}}]); \ No newline at end of file diff --git a/js/popup.8654f7fd.js b/js/popup.8654f7fd.js deleted file mode 100644 index b07925247..000000000 --- a/js/popup.8654f7fd.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={41993:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=41993,e.exports=t},11875:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=11875,e.exports=t},87071:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 34 24'%3e%3cpath fill='%2300FF9D' fill-rule='evenodd' d='M0 8.092 9.003 0h15.994L34 8.092 17.048 24 0 8.092Zm10.008-5.61h4.885l10.44 10.254L17 20.552 3.735 8.138l6.274-5.655Z' clip-rule='evenodd'/%3e%3c/svg%3e"},94300:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath stroke='currentColor' stroke-width='1.4' d='m12.43 17.086-.414-.303-.413.303-4.794 3.51-.002.002c-.293.217-.482.147-.523.12-.023-.015-.049-.041-.065-.1-.016-.064-.026-.193.045-.398l.002-.006 1.89-5.626.165-.49-.42-.302-4.929-3.533-.002-.002c-.162-.115-.228-.22-.252-.283-.024-.06-.02-.101-.01-.127.012-.038.096-.187.419-.187H9.71l.158-.484 1.823-5.603.002-.008c.086-.274.244-.319.322-.319.079 0 .237.045.322.319l.002.005 1.8 5.604.156.486h6.587c.32 0 .398.146.41.182a.195.195 0 0 1-.011.135c-.026.066-.091.17-.247.284h-.001l-4.904 3.532-.417.3.162.489 1.868 5.626.003.008c.07.205.061.334.044.399-.015.06-.041.086-.063.1-.038.026-.217.094-.495-.116l-.009-.006-4.793-3.511Z'/%3e%3c/svg%3e"},99514:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M17.135 16.33a7.406 7.406 0 0 1-5.992 3.065 7.368 7.368 0 0 1-7.402-7.402A7.366 7.366 0 0 1 11.143 4.6c3.484 0 6.376 2.35 7.176 5.567h-1.124c-.337 0-.591.118-.695.348-.101.223-.032.5.147.759l1.982 2.823c.157.22.366.35.593.352.226.001.438-.126.6-.352l1.974-2.814c.187-.263.26-.541.158-.767-.104-.232-.361-.349-.698-.349h-1.159c-.854-4.148-4.576-7.317-8.954-7.317C6.15 2.85 2 6.99 2 11.993c0 4.994 4.15 9.144 9.143 9.144 3.023 0 5.702-1.534 7.394-3.826.34-.44.236-1.008-.182-1.269l-.002-.001c-.432-.257-.922-.116-1.218.289Z' clip-rule='evenodd'/%3e%3c/svg%3e"},50063:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='m21.46 12.962-7.384 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.201 1.201 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944ZM3.558 18.365c.165 0 .243-.134.274-.196l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.426.426 0 0 0 .29-.131l6.376-6.022.004-.004a.58.58 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007-6.374-6.084a.43.43 0 0 0-.3-.132.342.342 0 0 0-.244.097.342.342 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1Zm17.904-5.403-7.385 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.201 1.201 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944Zm-9.81-4.897V4.642c0-.674.49-1.202 1.174-1.202.455 0 .784.183 1.32.681l7.384 6.88c.343.327.471.692.471 1.017 0 .316-.128.69-.471 1.016l-7.385 6.928c-.482.455-.86.634-1.337.634-.67 0-1.156-.485-1.156-1.156V16h-.336c-1.711 0-3.1.25-4.249.85-1.15.601-2.05 1.549-2.789 2.924-.175.327-.367.52-.568.634a1.3 1.3 0 0 1-.656.15c-.29 0-.548-.134-.738-.41-.192-.28-.315-.707-.315-1.286 0-3.372.743-6.07 2.273-7.923 1.526-1.85 3.848-2.874 7.042-2.874h.336Zm2.052-2.448a.43.43 0 0 0-.3-.132.342.342 0 0 0-.244.097.342.342 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1.165 0 .243-.133.274-.195l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.426.426 0 0 0 .29-.131l6.376-6.022.004-.004a.58.58 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007-6.374-6.084Zm6.302 6.153-6.372-6.083a.331.331 0 0 0-.23-.103.242.242 0 0 0-.174.068.242.242 0 0 0-.069.175V9.35c0 .074-.012.119-.03.146l-.011.017-.018.011c-.027.018-.071.03-.145.03h-1.194c-3.027 0-5.089 1.001-6.41 2.575-1.318 1.57-1.888 3.698-1.964 5.934v.006c0 .045.01.094.04.133a.16.16 0 0 0 .129.063c.101 0 .155-.08.185-.14v-.003c1.095-2.278 3.767-3.624 8.02-3.624h1.194c.074 0 .118.012.145.03l.018.012.01.017c.019.027.031.071.031.146v3.44c0 .068.021.132.067.18.047.05.11.072.176.072a.328.328 0 0 0 .22-.102l.002-.002L20 12.272l.003-.004a.482.482 0 0 0 .094-.122.277.277 0 0 0 .03-.128c0-.097-.053-.17-.119-.245l-.003-.003Z' clip-rule='evenodd'/%3e%3c/svg%3e"},37764:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none'%3e%3cpath fill='%2363F' d='M47.817 41.059h-4.194v-4.774h4.194v4.774Z'/%3e%3cpath fill='%2309F' d='M47.817 36.285h-4.194v-4.8h4.194v4.8Z'/%3e%3cpath fill='%233F0' d='M47.817 31.485h-4.194v-4.773h4.194v4.773Z'/%3e%3cpath fill='%23FF0' d='M43.623 21.919h4.194v4.793h-4.194v-4.793Z'/%3e%3cpath fill='%23F90' d='M47.817 17.122h-4.194v4.797h4.194v-4.797Z'/%3e%3cpath fill='red' d='M47.817 17.122h-4.194v-4.77h4.194v4.77Z'/%3e%3cpath fill='%2363F' d='M43.623 42.971h-4.194v-4.773h4.194v4.773Z'/%3e%3cpath fill='%2309F' d='M43.623 38.199h-4.194v-4.784h4.194V38.2Z'/%3e%3cpath fill='%233F0' d='M43.623 33.415h-4.194v-4.79h4.194v4.79Z'/%3e%3cpath fill='%23FF0' d='M39.428 23.818h4.195v4.806h-4.194v-4.806Z'/%3e%3cpath fill='%23F90' d='M43.623 19.035h-4.194v4.797h4.194v-4.797Z'/%3e%3cpath fill='red' d='M43.623 19.035h-4.194V14.27h4.194v4.766Z'/%3e%3cpath fill='%2363F' d='M39.428 41.06h-4.194v-4.8h4.194v4.8Z'/%3e%3cpath fill='%2309F' d='M39.428 36.26h-4.194v-4.772h4.194v4.773Z'/%3e%3cpath fill='%233F0' d='M39.428 31.488h-4.194v-4.774h4.194v4.774Z'/%3e%3cpath fill='%23FF0' d='M35.235 21.9h4.194v4.814h-4.194V21.9Z'/%3e%3cpath fill='%23F90' d='M39.428 17.127h-4.194V21.9h4.194v-4.773Z'/%3e%3cpath fill='red' d='M39.428 17.127h-4.194v-4.773h4.194v4.773Z'/%3e%3cpath fill='%2363F' d='M35.234 39.159h-4.207v-4.826h4.207v4.826Z'/%3e%3cpath fill='%2309F' d='M35.234 34.333h-4.207V29.54h4.207v4.793Z'/%3e%3cpath fill='%233F0' d='M35.234 29.54h-4.207V24.8h4.207v4.741Z'/%3e%3cpath fill='%23FF0' d='M31.027 19.988h4.207V24.8h-4.207v-4.81Z'/%3e%3cpath fill='%23F90' d='M35.235 15.213h-4.207v4.775h4.207v-4.775Z'/%3e%3cpath fill='red' d='M35.234 15.213h-4.207v-4.774h4.207v4.774Z'/%3e%3cpath fill='%2363F' d='M31.027 37.178h-4.181v-4.78h4.181v4.78Z'/%3e%3cpath fill='%2309F' d='M31.027 32.398h-4.181v-4.753h4.181v4.753Z'/%3e%3cpath fill='%233F0' d='M31.027 27.644h-4.181v-4.76h4.181v4.76Z'/%3e%3cpath fill='%23FF0' d='M26.846 18.085h4.181v4.8h-4.181v-4.8Z'/%3e%3cpath fill='%23F90' d='M31.027 13.275h-4.181v4.81h4.181v-4.81Z'/%3e%3cpath fill='red' d='M31.027 13.275h-4.181v-4.75h4.181v4.75Z'/%3e%3cpath fill='%2363F' d='M26.846 39.151H22.65V34.38h4.195v4.772Z'/%3e%3cpath fill='%2309F' d='M26.846 34.379H22.65v-4.8h4.195v4.8Z'/%3e%3cpath fill='%233F0' d='M26.846 29.579H22.65v-4.78h4.195v4.78Z'/%3e%3cpath fill='%23FF0' d='M22.652 20.012h4.194V24.8h-4.194v-4.787Z'/%3e%3cpath fill='%23F90' d='M26.846 15.219H22.65v4.794h4.195v-4.795Z'/%3e%3cpath fill='red' d='M26.846 15.219H22.65v-4.781h4.195v4.78Z'/%3e%3cpath fill='%2363F' d='M22.652 41.059h-4.207v-4.774h4.207v4.774Z'/%3e%3cpath fill='%2309F' d='M22.652 36.285h-4.207v-4.8h4.207v4.8Z'/%3e%3cpath fill='%233F0' d='M22.652 31.485h-4.207v-4.773h4.207v4.773Z'/%3e%3cpath fill='%23FF0' d='M18.445 21.933h4.207v4.779h-4.207v-4.78Z'/%3e%3cpath fill='%23F90' d='M22.652 17.122h-4.207v4.81h4.207v-4.81Z'/%3e%3cpath fill='red' d='M22.652 17.122h-4.207v-4.77h4.207v4.77Z'/%3e%3cpath fill='%2363F' d='M18.451 42.987h-3.77v-4.774h3.77v4.774Z'/%3e%3cpath fill='%2309F' d='M18.445 38.213h-3.764v-4.8h3.764v4.8Z'/%3e%3cpath fill='%233F0' d='M18.445 33.413h-3.764V28.64h3.764v4.773Z'/%3e%3cpath fill='%23FF0' d='M14.68 23.833h3.765v4.807H14.68v-4.807Z'/%3e%3cpath fill='%23F90' d='M18.45 19.07h-3.77v4.776h3.77v-4.777Z'/%3e%3cpath fill='red' d='M18.445 19.07h-3.764v-4.803h3.764v4.802Z'/%3e%3cpath fill='%23FDFDFD' d='M15.925 46.4H.019V48h15.906v-1.6ZM7.962 5.29a1.31 1.31 0 0 1-1.317-1.318 1.31 1.31 0 0 1 1.317-1.318A1.31 1.31 0 0 1 9.28 3.972a1.31 1.31 0 0 1-1.318 1.317ZM0 11.105h15.906v-1.6H8.753V7.962h3.181V0H3.972v7.962h3.18v1.544H0v1.6Zm14.099 22.89h-6.08v-6.08h6.08v6.08Zm-6.193-6.194h-6.08v-6.08h6.08v6.08ZM15.925 12.8H.019v31.793h15.906V12.8Z'/%3e%3c/svg%3e"},45560:(e,t,n)=>{e.exports=n.p+"img/sendAndReceive.fe360be1.svg"},31058:(e,t,n)=>{e.exports=n.p+"img/app-store-mobile.0df2ccfc.svg"},59047:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.5' x2='.5' y2='1' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2317c9fb'/%3e%3cstop offset='1' stop-color='%231a74e8'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M8.76 0h22.48A8.76 8.76 0 0 1 40 8.76v22.48A8.76 8.76 0 0 1 31.24 40H8.76A8.76 8.76 0 0 1 0 31.24V8.76A8.76 8.76 0 0 1 8.76 0Z'/%3e%3cpath fill='%23fff' d='m12.819 29.033-1.363 2.37a1.808 1.808 0 1 1-3.131-1.808l1.007-1.745.1-.168a1.492 1.492 0 0 1 1.451-.6s2.006.218 2.151 1.26a1.22 1.22 0 0 1-.211.686Zm19.4-6.05h-4.267a.629.629 0 0 1-.467-.18l-4.565-7.907h-.006l-.274-.393c-.449-.686-1.161 1.069-1.161 1.069-.851 1.956.121 4.179.459 4.851l6.338 10.98a1.808 1.808 0 1 0 3.131-1.808l-1.585-2.746c-.031-.067-.084-.247.241-.248h2.154a1.808 1.808 0 0 0 0-3.616Zm-8.283 2.458s.225 1.162-.651 1.162H7.515a1.808 1.808 0 1 1 0-3.616h4.053c.654-.038.81-.416.81-.416l5.294-9.168a.4.4 0 0 0 0-.371l-1.747-3.029a1.808 1.808 0 0 1 3.131-1.8l.81 1.4.809-1.4a1.808 1.808 0 1 1 3.131 1.808l-7.362 12.751c-.032.078-.042.2.2.221h4.4v.043a2.956 2.956 0 0 1 2.889 2.414Z'/%3e%3c/svg%3e"},95036:(e,t,n)=>{e.exports=n.p+"img/chrome.a54dd150.svg"},2438:(e,t,n)=>{e.exports=n.p+"img/firefox.f8ceaa04.svg"},69538:(e,t,n)=>{e.exports=n.p+"img/google-play-mobile.5825eca2.svg"},11006:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36.501 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.915' x2='-.383' y1='.05' y2='.719' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1.076' x2='-1.305' y1='.5' y2='.5' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='.862' x2='-.501' y1='.178' y2='1.948' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='-.188' x2='.421' y1='-.542' y2='.249' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.068' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M.732 1.156A3.085 3.085 0 0 0 0 3.34v34.387a3.076 3.076 0 0 0 .732 2.184l.118.112 19.581-19.261v-.454L.849 1.043l-.118.113Z' data-name='Path 1203' transform='translate(.006 -.538)'/%3e%3cpath fill='url(%23b)' d='m35.635 32.643-6.525-6.424v-.454l6.527-6.422.149.081 7.733 4.322c2.209 1.234 2.209 3.253 0 4.49l-7.733 4.321Z' data-name='Path 1204' transform='translate(-8.674 -5.994)'/%3e%3cpath fill='url(%23c)' d='m27.416 35.384-6.676-6.567L1.043 48.2c.728.759 1.932.852 3.284.1l23.089-12.916' data-name='Path 1205' transform='translate(-.305 -8.82)'/%3e%3cpath fill='url(%23d)' d='M27.416 13.754 4.327.845C2.975.089 1.771.183 1.043.941L20.74 20.32l6.676-6.568Z' data-name='Path 1206' transform='translate(-.305 -.323)'/%3e%3cg data-name='Group 971'%3e%3cpath d='M26.963 26.421 4.023 39.243c-1.285.719-2.43.671-3.166.017l-.118.116.118.111a2.667 2.667 0 0 0 3.166-.015l23.089-12.908-.148-.143Z' data-name='Path 1207' opacity='.2'/%3e%3cpath d='M.738 39.148a3.085 3.085 0 0 1-.732-2.184v.227a3.076 3.076 0 0 0 .732 2.18l.118-.116-.118-.112Z' data-name='Path 1208' opacity='.12'/%3e%3c/g%3e%3cpath d='m34.845 22.016-7.882 4.406.149.145 7.733-4.321A2.732 2.732 0 0 0 36.502 20a2.906 2.906 0 0 1-1.657 2.017Z' data-name='Path 1209' opacity='.12'/%3e%3cpath fill='%23fff' d='m4.022.75 30.821 17.227a2.9 2.9 0 0 1 1.657 2.018 2.732 2.732 0 0 0-1.657-2.246L4.022.524C1.815-.711.006.315.006 2.803v.227C.006.541 1.813-.484 4.022.75Z' data-name='Path 1210' opacity='.25'/%3e%3c/svg%3e"},69646:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 28 29'%3e%3cg clip-path='url(%23a)'%3e%3ccircle cx='14' cy='14.25' r='14' fill='%23F72A6E'/%3e%3cpath fill='%23fff' d='M19.708 19.155c-2.617 0-4.236-1.864-6.095-4.618-1.86-2.754-3.189-4.478-5.32-4.478a4.04 4.04 0 0 0-2.84 1.14 3.927 3.927 0 0 0-1.192 2.784 3.927 3.927 0 0 0 1.193 2.784 4.04 4.04 0 0 0 2.838 1.14c1.745 0 2.99-1.243 4.163-2.824l.753 1.1c-1.28 1.645-2.76 2.972-4.916 2.972a5.32 5.32 0 0 1-3.738-1.504 5.172 5.172 0 0 1-1.568-3.668 5.172 5.172 0 0 1 1.568-3.667 5.32 5.32 0 0 1 3.738-1.504c2.617 0 4.304 1.947 6.09 4.613 1.787 2.666 3.194 4.482 5.326 4.482a4.083 4.083 0 0 0 2.055-.55 4.01 4.01 0 0 0 1.486-1.503h1.404a5.254 5.254 0 0 1-1.954 2.398 5.366 5.366 0 0 1-2.983.903h-.008Zm-.995-4.548V13.36h4.974a3.951 3.951 0 0 0-1.375-2.37 4.054 4.054 0 0 0-2.604-.93c-1.745 0-2.991 1.243-4.164 2.825l-.757-1.092c1.28-1.65 2.761-2.981 4.92-2.981a5.32 5.32 0 0 1 3.738 1.504 5.172 5.172 0 0 1 1.57 3.667c-.001.209-.014.417-.04.624h-6.262Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='%23fff' d='M0 14.25c0-7.732 6.268-14 14-14s14 6.268 14 14-6.268 14-14 14-14-6.268-14-14Z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},80640:(e,t,n)=>{"use strict";n.d(t,{x:()=>w});var a=n(25706),r=n(95822),o=n(62118),i=(n(35666),n(41539),n(85827),n(92222),n(21249),n(47941),n(68309),n(69826),n(26699),n(32023),n(89554),n(54747),n(69720),n(2262)),s=n(66252),u=n(94207),l=n(79323),c=n(48854),d=n(28243),p=n(34601),m=n(49329),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},v=!1,g=(0,i.iH)(l.UM.reduce((function(e,t){var n;return Object.assign(Object.assign({},e),(n={},(0,o.Z)(n,t,0),(0,o.Z)(n,l.DJ,1),n))}),{})),h=(0,m.D)({},"protocol-last-active-account-idx");function w(e){var t=this,n=e.store,i=(0,s.Fl)((function(){var e;return(null===(e=n.state.accounts)||void 0===e?void 0:e.activeIdx)||0})),m=(0,s.Fl)((function(){var e;return(null===(e=n.state.accounts)||void 0===e?void 0:e.list)||[]})),w=(0,s.Fl)((function(){return n.getters.accounts||[]})),y=(0,s.Fl)((function(){return w.value.reduce((function(e,t){return Object.assign(Object.assign({},e),(0,o.Z)({},t.protocol,[].concat((0,r.Z)((null===e||void 0===e?void 0:e[t.protocol])||[]),[t])))}),{})})),k=(0,s.Fl)((function(){return y.value[l.DJ]||[]})),b=(0,s.Fl)((function(){return w.value.map((function(e){return e.address}))})),C=(0,s.Fl)((function(){return w.value[i.value]||{}})),A=(0,s.Fl)((function(){return C.value.protocol===l.DJ})),x=(0,s.Fl)((function(){return C.value&&Object.keys(C.value).length>0})),_=(0,s.Fl)((function(){return g.value[l.DJ]||0}));function D(e){return e.map((function(e){return{text:(0,c.U5)(e),value:e.address,address:e.address,name:e.name,idx:e.idx,protocol:e.protocol||l.DJ,globalIdx:e.globalIdx}}))}var T=(0,s.Fl)((function(){return D(w.value)})),S=(0,s.Fl)((function(){return D(k.value)})),I=(0,s.Fl)((function(){return(0,p.N8)(C.value.address)})),F=(0,s.Fl)((function(){return"".concat(d.mI,"?address=").concat(C.value.address)})),E=(0,s.Fl)((function(){return(0,u.Z)(w.value.map((function(e){return e.protocol})))}));function R(e){return w.value.find((function(t){return t.address===e}))}function B(e){return w.value.find((function(t){return t.globalIdx===e}))}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=B(e);n.commit("accounts/setActiveIdx",(null===t||void 0===t?void 0:t.globalIdx)||0),t&&(h.value[t.protocol]=t.globalIdx)}function U(e){var t;e&&Z(null===(t=R(e))||void 0===t?void 0:t.globalIdx)}function P(e){return b.value.includes(e)}function M(e){void 0===g.value[e]?g.value[e]=0:g.value[e]+=1}function L(e,t){g.value[t]=e}function O(e){if(C.value.protocol===e)return C.value;var t=h.value[e];return t?B(t):w.value.find((function(t){return t.protocol===e}))}return function(){f(t,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(v){e.next=6;break}return e.next=3,(0,c.mu)((function(){return n.state.isRestored}));case 3:Object.entries(y.value).forEach((function(e){var t=(0,a.Z)(e,2),n=t[0],r=t[1];L((null===r||void 0===r?void 0:r.length)||0,n)})),v=!0,h.value[C.value.protocol]=C.value.globalIdx;case 6:case"end":return e.stop()}}),e)})))}(),{accounts:w,aeAccounts:k,accountsAddressList:b,accountsSelectOptions:T,aeAccountsSelectOptions:S,accountsRaw:m,aeNextAccountIdx:_,activeAccount:C,activeAccountSimplexLink:I,activeAccountFaucetUrl:F,activeIdx:i,isLoggedIn:x,protocolsInUse:E,protocolNextAccountIdx:g,isActiveAccountAe:A,incrementProtocolNextAccountIdx:M,prepareAccountSelectOptions:D,isLocalAccountAddress:P,getAccountByAddress:R,getAccountByGlobalIdx:B,getLastActiveProtocolAccount:O,setActiveAccountByAddress:U,setActiveAccountByGlobalIdx:Z}}},78995:(e,t,n)=>{"use strict";n.d(t,{c:()=>J});n(33948),n(60285),n(41637),n(35666),n(41539),n(78783),n(46229),n(17330),n(62062),n(96647),n(83710),n(39714),n(68309);var a,r,o,i,s=n(2262),u=n(66252),l=n(14656),c=n(40995),d=n(56999),p=n(62118),m=n(79112),f=n(55665),v=n(70136),g=n(2025),h=n(3383),w=n(90777),y=(n(21249),n(70063)),k=n(79323),b=n(34502),C=n(1471),A=n(68530),x=n(80640),_=n(40223),D=n(2714),T=(n(89554),n(54747),n(92222),n(25934)),S=n(34601),I=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},F={},E=function(e){return new URL(e.connection.port.sender.url)},R=function(e,t,n){return I(void 0,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i,s,u,l,c,d,p,m,f,v;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,T.Z)(),o="object"===(0,D.Z)(e)?E(e):new URL(e),i=o.href,s=o.protocol,u=o.host,a.next=4,browser.tabs.query({active:!0});case 4:return l=a.sent,l.forEach((function(e){var t=e.url,n=e.id,a=new URL(t);a.searchParams.get("type")===k.Zh&&decodeURIComponent(a.searchParams.get("url")||"")===i&&browser.tabs.remove(n)})),c=browser.runtime.getURL("./index.html"),d=t===k.TS&&!(0,S.V8)(n.tx),p=d?k.NL:t,m="".concat(c,"?id=").concat(r,"&type=").concat(p,"&url=").concat(encodeURIComponent(i)),f=k.FH&&window.browser.runtime.getPlatformInfo().then((function(e){var t=e.os;return"mac"===t})),a.t0=browser.windows,a.t1=m,a.next=15,f;case 15:if(!a.sent){a.next=19;break}a.t2=360,a.next=20;break;case 19:a.t2=375;case 20:return a.t3=a.t2,a.t4={url:a.t1,type:"popup",height:630,width:a.t3},a.next=24,a.t0.create.call(a.t0,a.t4);case 24:return v=a.sent,a.abrupt("return",new Promise((function(t,a){v||a(),F[r]={actions:{resolve:t,reject:a},props:Object.assign(Object.assign(Object.assign({app:{url:i,icons:(null===e||void 0===e?void 0:e.icons)||[],name:(null===e||void 0===e?void 0:e.name)||u,protocol:s,host:u}},(null===n||void 0===n?void 0:n.message)&&{message:n.message}),(null===n||void 0===n?void 0:n.txObject)&&!d&&{tx:n.txObject,txBase64:n.tx}),d&&{data:n.tx})}})));case 26:case"end":return a.stop()}}),a)})))},B=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Z=function(e){(0,h.Z)(n,e);var t=(0,w.Z)(n);function n(e){var a;(0,m.Z)(this,n),a=t.call(this),a.store=e;var r=(0,x.x)({store:e}),o=r.getLastActiveProtocolAccount;return a.address=o(k.DJ).address,a}return(0,f.Z)(n,[{key:"signTransaction",value:function(e,t){return k.Ag&&t.aeppOrigin?this.fgPermissionCheckAndSign(k.TS,e,t,t.aeppOrigin):k.un?this.bgPermissionCheckAndSign(k.v1,e,Object.assign(Object.assign({},t),{origin:t.aeppOrigin})):this.store.dispatch("accounts/signTransaction",{txBase64:e,options:Object.assign({fromAccount:this.address},t)})}},{key:"signMessage",value:function(e,t){return B(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!k.Ag&&!k.KA||!t.aeppOrigin){n.next=2;break}return n.abrupt("return",this.fgPermissionCheckAndSign("message.sign",e,t,t.aeppOrigin));case 2:if(!k.un){n.next=4;break}return n.abrupt("return",this.bgPermissionCheckAndSign(c.Is.signMessage,e,Object.assign(Object.assign({},t),{origin:t.aeppOrigin})));case 4:return n.abrupt("return",this.sign((0,b.BE)(e),Object.assign({fromAccount:this.address},t)));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"sign",value:function(e,t){var n=(0,x.x)({store:this.store}),a=n.getLastActiveProtocolAccount;return k.un?(0,b.Xx)(e,a(k.DJ).secretKey):this.store.dispatch("accounts/sign",{data:e,options:Object.assign({fromAccount:this.address},t)})}},{key:"fgPermissionCheckAndSign",value:function(e,t,n,a){return B(this,void 0,void 0,regeneratorRuntime.mark((function r(){var o,i,s,u;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.prev=0,o=a?new URL(a):null,r.t0=!a&&k.Ag,r.t0){r.next=7;break}return r.next=6,this.store.dispatch("permissions/checkPermissions",{host:o?o.host:null,method:e,params:t});case 6:r.t0=r.sent;case 7:if(i=r.t0,"message.sign"!==e){r.next=14;break}if(i){r.next=13;break}return s=(0,_.o)(),u=s.openModal,r.next=13,u(k.$E,{message:t,app:{name:null===o||void 0===o?void 0:o.hostname,icons:[],protocol:null===o||void 0===o?void 0:o.protocol,host:null===o||void 0===o?void 0:o.host,url:null===o||void 0===o?void 0:o.href}});case 13:return r.abrupt("return",this.sign((0,b.BE)(t),Object.assign({fromAccount:this.address},n)));case 14:return r.abrupt("return",this.store.dispatch("accounts/signTransaction",{txBase64:t,options:Object.assign(Object.assign({fromAccunt:this.address},n),{modal:!i,app:o})}));case 17:throw r.prev=17,r.t1=r["catch"](0),new c.JM(r.t1.message);case 20:case"end":return r.stop()}}),r,this,[[0,17]])})))}},{key:"bgPermissionCheckAndSign",value:function(e,t,n){return B(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=e===k.v1,a.next=3,this.store.dispatch("permissions/checkPermissions",{host:new URL(n.origin).host,method:e,params:n});case 3:if(a.t0=a.sent,a.t0){a.next=8;break}return a.next=7,R(n.origin,r?k.TS:k.id,Object.assign(Object.assign({},n),r?{tx:t,txObject:(0,C.vq)(t)}:{message:t})).then((function(){return!0}),(function(){return!1}));case 7:a.t0=a.sent;case 8:if(!a.t0){a.next=12;break}if(e!==c.Is.signMessage){a.next=11;break}return a.abrupt("return",this.store.dispatch("accounts/sign",{data:(0,b.BE)(t),options:{fromAccount:this.address}}));case 11:return a.abrupt("return",this.store.dispatch("accounts/signTransaction",{txBase64:t,options:Object.assign(Object.assign({fromAccount:this.address},n),{modal:!1,host:n.origin})}));case 12:throw new c.JM("Rejected by user");case 13:case"end":return a.stop()}}),a,this)})))}}]),n}(A.Z),U=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},P=function(e){(0,h.Z)(n,e);var t=(0,w.Z)(n);function n(e,a){var r;return(0,m.Z)(this,n),r=t.call(this,a),r.store=e,r}return(0,f.Z)(n,[{key:"_resolveAccount",value:function(){return new Z(this.store)}},{key:"getAccounts",value:function(){var e=(0,x.x)({store:this.store}),t=e.getLastActiveProtocolAccount,n=t(k.DJ);return{current:(0,p.Z)({},n.address,{}),connected:{}}}},{key:"addresses",value:function(){var e=(0,x.x)({store:this.store}),t=e.aeAccounts;return t.value.map((function(e){var t=e.address;return t}))}},{key:"spendWithCustomOptions",value:function(e,t,a){return(0,v.Z)((0,g.Z)(n.prototype),"spend",this).call(this,e,t,a)}},{key:"getWalletInfo",value:function(){return U(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=this.id,e.t1=this.name,e.next=4,this.api.getNetworkId();case 4:return e.t2=e.sent,e.t3=void 0,e.t4=this._type,e.abrupt("return",{id:e.t0,name:e.t1,networkId:e.t2,origin:e.t3,type:e.t4});case 8:case"end":return e.stop()}}),e,this)})))}}]),n}(y.Z),M=n(87404),L=n(85755),O=n(48854),N=n(28243),W=n(14838),H=n(48764)["Buffer"],V=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},j=!1,q=(0,s.iH)(),z=(0,s.iH)(!1),Y=(0,s.iH)(!1),$=(0,s.iH)(!1),G=(0,s.iH)(!1),K={};function J(e){var t=e.store,n=(0,W.C)(),s=n.aeActiveNetworkSettings,p=n.activeNetworkName,m=(0,x.x)({store:t}),f=m.accountsAddressList,v=m.isLoggedIn,g=m.getLastActiveProtocolAccount,h=(0,_.o)(),w=h.openModal,y=(0,u.Fl)((function(){return q.value===N.wt})),b=(0,u.Fl)((function(){return q.value===N.d9})),C=(0,u.Fl)((function(){return!y.value&&!b.value})),A=(0,u.Fl)((function(){return k.Hp||!C.value})),D=(0,u.Fl)((function(){return q.value?N.du[q.value]:void 0}));function T(e){return V(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return Y.value=!1,G.value=!1,$.value=!0,t.prev=3,n=new l.Z(e),t.next=7,n.getStatus();case 7:q.value=t.sent.networkId,Y.value=!0,t.next=16;break;case 11:return t.prev=11,t.t0=t["catch"](3),q.value=void 0,G.value=!0,t.abrupt("return",null);case 16:return $.value=!1,t.abrupt("return",n);case 18:case"end":return t.stop()}}),t,null,[[3,11]])})))}function S(){return V(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return j=!0,z.value=!1,e.next=4,Promise.all([(0,O.mu)((function(){return t.state.isRestored})),(0,O.mu)(v)]);case 4:return r=p.value,e.next=7,T(s.value.nodeUrl);case 7:n=e.sent,a=new P(t,{name:"Superhero",nodes:[{name:p.value,instance:n}],id:"Superhero Wallet",type:k.FH?c.Pi.extension:c.Pi.window,onConnection:function(e,t,n){K[e]=Object.assign(Object.assign({},t),{origin:n})},onDisconnect:function(e){delete K[e]},onSubscription:function(e,n,a){return V(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=K[e],o=k.un?new URL(r.origin):new URL(a),i=new L.g(o),n.next=5,t.dispatch("permissions/requestAddressForHost",{host:i.host.host,name:i.host.hostname,address:g(k.DJ).address,connectionPopupCb:function(){return k.un?R(i.host.href,k.Zh):w(k.kL,{app:{name:i.host.hostname,icons:[],protocol:i.host.protocol,host:i.host.host,url:i.host.href}})}});case 5:if(n.sent){n.next=7;break}return n.abrupt("return",Promise.reject(new c.JM("Rejected by user")));case 7:return n.abrupt("return",g(k.DJ).address);case 8:case"end":return n.stop()}}),n)})))},onAskAccounts:function(e,n,a){return V(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=K[e],o=k.un?new URL(r.origin):new URL(a),i=new L.g(o),n.next=5,t.dispatch("permissions/requestAllAddressesForHost",{host:i.host.host,name:i.host.hostname,address:g(k.DJ).address,connectionPopupCb:function(){return k.un?R(i.host.href,k.SW):w(k.Tz,{app:{name:i.host.hostname,icons:[],protocol:i.host.protocol,host:i.host.host,url:i.host.href}})}});case 5:if(n.sent){n.next=7;break}return n.abrupt("return",Promise.reject(new c.JM("Rejected by user")));case 7:return n.abrupt("return",f.value);case 8:case"end":return n.stop()}}),n)})))}}),k.KA&&!M.Q.initialized&&M.Q.init(a),j=!1,z.value=!0;case 12:case"end":return e.stop()}}),e)})))}function I(){return V(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!j){e.next=5;break}return e.next=3,(0,O.mu)(z);case 3:e.next=8;break;case 5:if(a){e.next=8;break}return e.next=8,S();case 8:return e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))}function F(){return V(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=7;break}return t=new l.Z(s.value.nodeUrl,{ignoreVersion:!0}),o=new d.Z({nodes:[{name:p.value,instance:t}]}),e.next=5,t.getNetworkId();case 5:return i=e.sent,e.abrupt("return",o);case 7:return e.next=9,o.api.getNetworkId();case 9:return n=e.sent,i!==n&&(o.pool["delete"](r),a=new l.Z(s.value.nodeUrl,{ignoreVersion:!0}),o.addNode(p.value,a,!0),i=n),e.abrupt("return",o);case 12:case"end":return e.stop()}}),e)})))}function E(e){return V(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,I();case 2:return n=t.sent,t.t0=H,t.next=6,n.signMessage(e.challenge);case 6:return t.t1=t.sent,a=t.t0.from.call(t.t0,t.t1).toString("hex"),t.abrupt("return",{challenge:e.challenge,signature:a});case 9:case"end":return t.stop()}}),t)})))}function B(e,t){return V(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a.pool["delete"](e.name),n.t0=a,n.t1=t.name,n.next=5,T(t.protocols.aeternity.nodeUrl);case 5:n.t2=n.sent,n.t0.addNode.call(n.t0,n.t1,n.t2,!0);case 7:case"end":return n.stop()}}),n)})))}return{isAeNodeReady:Y,isAeNodeConnecting:$,isAeNodeError:G,isNodeMainnet:y,isNodeTestnet:b,isAeSdkReady:z,nodeNetworkId:q,isTippingSupported:A,dexContracts:D,getAeSdk:I,getDryAeSdk:F,resetNode:B,fetchRespondChallenge:E,createNodeInstance:T}}},49329:(e,t,n)=>{"use strict";n.d(t,{P:()=>h,D:()=>g});n(35666),n(41539),n(32564),n(79753);var a=n(2262),r=n(66252),o=n(50576),i=n(62118),s=(n(38862),n(47941),n(79323)),u=n(48854),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(){var e=this,t=browser.storage.local;return{set:function(e,n){return t.set((0,i.Z)({},(0,u.Ds)(e),JSON.stringify(n)))},get:function(n){return l(e,void 0,void 0,regeneratorRuntime.mark((function e(){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=(0,u.Ds)(n),e.next=3,t.get(a);case 3:return e.t0=a,r=e.sent[e.t0],e.abrupt("return",r?JSON.parse(r):null);case 6:case"end":return e.stop()}}),e)})))},remove:function(e){return t.remove(e)},watch:function(e,t){var n,a;null===(a=null===(n=null===browser||void 0===browser?void 0:browser.storage)||void 0===n?void 0:n.onChanged)||void 0===a||a.addListener((function(n){var a=n[(0,u.Ds)(e)];a&&!(0,o.Z)(a.newValue,a.oldValue)&&t(JSON.parse(a.newValue))}))}}}function d(){return{set:function(e,t){return new Promise((function(n){return n(localStorage.setItem((0,u.Ds)(e),JSON.stringify(t)))}))},get:function(e){return new Promise((function(t){var n=localStorage.getItem((0,u.Ds)(e));t(n?JSON.parse(n):null)}))},remove:function(e){return new Promise((function(t){return t(localStorage.removeItem((0,u.Ds)(e)))}))}}}var p=(s.FH||s.Hp)&&browser?c():d(),m=n(8460),f=n(56846),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function g(e,t){var n,i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=s.serializer,l=s.backgroundSync,c=void 0!==l&&l,d=!1,m=!1,f=(0,a.iH)(e);function g(e){e&&(m=!0,f.value=(null===u||void 0===u?void 0:u.read)?u.read(e):e,setTimeout((function(){m=!1}),0))}return(0,r.YP)(f,(function(n,a){m||!Array.isArray(e)&&(0,o.Z)(n,a)||p.set(t,(null===u||void 0===u?void 0:u.write)?u.write(n):n)}),{deep:!0}),c&&(null===(n=p.watch)||void 0===n||n.call(p,t,(function(e){return g(e)}))),d||function(){v(i,void 0,void 0,regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.get(t);case 2:n=e.sent,g(n),d=!0;case 5:case"end":return e.stop()}}),e)})))}(),f}function h(e){var t=(0,m.R)(),n=t.isOnline,a=(0,f.b)(),o=a.isAppActive,i=!1,s=null,u=0;return function(t){function a(){n.value&&o.value&&(i=!0,t())}(0,r.FN)()&&((0,r.bv)((function(){u+=1,u>0&&!s&&(i||a(),s=setInterval((function(){return a()}),e))})),(0,r.Jd)((function(){u-=1,0===u&&s&&(clearInterval(s),s=null)})))}}},8460:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var a=n(2262),r=n(66252),o=n(32605),i=n(79323),s=!1,u=(0,a.iH)(window.navigator.onLine);function l(){function e(){s||(s=!0,i.Ag?o.Z.addListener("networkStatusChange",(function(e){u.value=e.connected})):(window.addEventListener("online",(function(){u.value=!0})),window.addEventListener("offline",(function(){u.value=!1}))))}return i.Ag&&!s&&o.Z.getStatus().then((function(e){u.value=e.connected})),{isOnline:(0,r.Fl)((function(){return u.value})),watchConnectionStatus:e}}},9697:(e,t,n)=>{"use strict";n.d(t,{xe:()=>a.x,cn:()=>re.c,ln:()=>N,Rc:()=>q.R,FU:()=>j,jg:()=>E,TW:()=>Q,i9:()=>Xe,Wp:()=>it,dp:()=>Oe,ol:()=>K.o,uN:()=>Ut,Bo:()=>Dt,RS:()=>Yt,e9:()=>R.e,zn:()=>$t.z,cX:()=>Jt,M1:()=>mn.M,_b:()=>hn,YA:()=>de,Ld:()=>vn,sY:()=>Qt,i6:()=>Vt,R0:()=>cn,DQ:()=>$e,Jp:()=>nn,Wj:()=>pe,bl:()=>dn.b,Sj:()=>pn.S});var a=n(80640),r=n(62118),o=(n(33948),n(35666),n(41539),n(56977),n(85827),n(21249),n(78783),n(66252)),i=n(48392),s=n(70794),u=n(48854),l=n(71584),c=(n(69826),n(69600),n(2262)),d=n(79697),p=n(17818),m=n(79323),f=n(79112),v=n(55665),g=(n(41637),n(96647),n(83710),n(39714),n(46229),n(17330),n(62062),n(92222),n(22429)),h=n.n(g),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},y="https://api.coingecko.com/api/v3",k=function(){function e(){(0,f.Z)(this,e)}return(0,v.Z)(e,null,[{key:"fetchFromApi",value:function(e,t){var n=new URLSearchParams(t).toString();return(0,u.rd)("".concat(y).concat(e,"?").concat(n))}},{key:"fetchCoinMarketData",value:function(t,n){return w(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.fetchFromApi("/coins/markets",{ids:t,vs_currency:n});case 3:if(a.t0=a.sent,a.t0){a.next=6;break}a.t0=[];case 6:return r=a.t0,a.abrupt("return",r?h()(r):null);case 10:return a.prev=10,a.t1=a["catch"](0),a.abrupt("return",null);case 13:case"end":return a.stop()}}),a,null,[[0,10]])})))}},{key:"fetchCoinCurrencyRates",value:function(t){return w(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.fetchFromApi("/simple/price",{ids:t,vs_currencies:m.Mf.map((function(e){var t=e.code;return t})).join(",")});case 3:return n.abrupt("return",n.sent);case 6:return n.prev=6,n.t0=n["catch"](0),n.abrupt("return",null);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))}}]),e}(),b=n(49329),C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},A=36e5,x="currency",_="usd",D=(0,c.iH)(null),T=(0,c.iH)({}),S=(0,c.iH)(!1),I=(0,c.iH)((0,u.le)([x])||_),F=(0,b.P)(A);function E(e){var t=e.withoutPolling,n=void 0!==t&&t,i=e.store,s=(0,a.x)({store:i}),c=s.protocolsInUse,f=s.isLoggedIn,v=(0,o.Fl)((function(){return m.Mf.find((function(e){var t=e.code;return t===I.value}))}));function g(e){var t,n;return(null===(n=null===(t=T.value)||void 0===t?void 0:t[e])||void 0===n?void 0:n[I.value])||0}function h(){return c.value.map((function(e){return l.l.getAdapter(e).getCoinGeckoCoinId()})).join(",")}function w(){return C(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.mu)(f);case 3:return e.next=5,k.fetchCoinMarketData(h(),I.value);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=[];case 8:t=e.t0,n=t.reduce((function(e,t){var n=t.id;return Object.assign(Object.assign({},e),(0,r.Z)({},n,t))}),{}),D.value=(0,d.Z)(n)?null:n,e.next=17;break;case 13:e.prev=13,e.t1=e["catch"](0),(0,u.ac)(e.t1),D.value=null;case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))}function y(e){I.value=e,w(),(0,u.D$)([x],e)}function b(){return C(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return S.value=!0,e.next=3,k.fetchCoinCurrencyRates(h());case 3:t=e.sent,t&&(T.value=t),S.value=!1;case 6:case"end":return e.stop()}}),e)})))}function A(e){return new Intl.NumberFormat(m.ZW,{style:"currency",currencyDisplay:"narrowSymbol",currency:I.value}).format(e)}function _(e,t){return+(g(t)*e).toFixed(2)}function E(e,t){return A(_(e,t))}function R(e,t){if(!g(t)||0===e)return A(0);var n=_(e,t);return n<.01?"<".concat(A(.01)):A(n)}return n||F((function(){return b()})),(0,o.YP)((function(){return c.value}),(function(e,t){(0,p.Z)(e,t).length&&!S.value&&b()})),{CURRENCIES:m.Mf,marketData:D,currencyRates:T,currentCurrencyCode:I,currentCurrencyInfo:v,getCurrentCurrencyRate:g,loadCoinsData:w,loadCurrencyRates:b,setCurrentCurrency:y,formatCurrency:A,getFiat:_,getFormattedFiat:E,getFormattedAndRoundedFiat:R}}var R=n(94277),B=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Z=5e3,U="balances",P=(0,b.P)(Z),M=(0,R.V)(),L=M.onNetworkChange,O=(0,b.D)({},U,{serializer:{read:function(e){return(0,i.Z)(e,(function(e){return new s.Z(e)}))},write:function(e){return(0,i.Z)(e,(function(e){return e.toFixed()}))}}});function N(e){var t=e.store,n=(0,a.x)({store:t}),i=n.activeAccount,c=n.accounts,d=E({store:t}),p=d.getCurrentCurrencyRate,m=(0,o.Fl)((function(){return O.value[i.value.address]||new s.Z(0)})),f=(0,o.Fl)((function(){var e=c.value.reduce((function(e,t){var n,a=null===(n=O.value)||void 0===n?void 0:n[t.address];return a?e+p(t.protocol)*a.toNumber():e}),0);return e.toFixed(2)}));function v(e){return O.value[e]||new s.Z(0)}function g(){return B(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=c.value.map((function(e){var t=e.address,n=e.protocol;return B(a,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",l.l.getAdapter(n).fetchBalance(t)["catch"]((function(e){return(0,u.XD)(e)||(0,u.ac)(e),0})));case 1:case"end":return e.stop()}}),e)})))})),e.next=3,Promise.all(t);case 3:n=e.sent,O.value=n.reduce((function(e,t,n){return Object.assign(Object.assign({},e),(0,r.Z)({},c.value[n].address,(0,s.Z)(t)))}),{});case 5:case"end":return e.stop()}}),e)})))}return L((function(){g()})),P((function(){return g()})),{balances:O,accountsTotalBalance:f,balance:m,getAccountBalance:v,updateBalances:g}}n(74916),n(4723),n(32564);var W=n(39807),H=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function V(e){var t=document.createElement("textarea");if(t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable="true",t.readOnly=!0;var n=document.createRange();n.selectNodeContents(t);var a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n)),t.setSelectionRange(0,999999)}else t.select();document.execCommand("copy"),document.body.removeChild(t)}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timeout,n=void 0===t?1e3:t,a=(0,c.iH)(!1);function r(e){return H(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e){t.next=19;break}if(t.prev=1,!W.T){t.next=6;break}W.T.write({string:e}),t.next=12;break;case 6:if(!navigator.clipboard){t.next=11;break}return t.next=9,navigator.clipboard.writeText(e);case 9:t.next=12;break;case 11:V(e);case 12:a.value=!0,setTimeout((function(){a.value=!1}),n),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](1),(0,u.ac)(t.t0);case 19:case"end":return t.stop()}}),t,null,[[1,16]])})))}return{copied:a,copy:r}}var q=n(8460),z=n(25706),Y=(n(60285),n(15306),n(47042),n(69720),n(24603),n(28450),n(88386),n(22201)),$=n(51268),G=n(94308),K=n(40223),J=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function Q(){var e=(0,$.cj)(),t=(0,Y.yj)(),n=(0,c.iH)(t.query["x-success"]?new URL(decodeURIComponent(t.query["x-success"])):null);function a(e){return J(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.path.slice(1)===G.I&&(0,u.bO)(e.query)&&(n=(0,K.o)(),a=n.openModal,a(m.O));case 1:case"end":return t.stop()}}),t)})))}function r(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.query[n?"x-success":"x-cancel"];if(r){var o=Object.entries(a).reduce((function(e,t){var n=(0,z.Z)(t,2),a=n[0],r=n[1];return e.replace(new RegExp("{".concat(a,"}"),"g"),encodeURIComponent(r))}),decodeURIComponent(String(t.query[n?"x-success":"x-cancel"])));e.replace({name:G.I}),m.Ag&&!m.cj?window.open(o,"_system"):window.open(o,"_self")}else e.replace({name:G.I})}return{checkIfOpenTransferSendModal:a,callbackOrigin:n,openCallbackOrGoHome:r}}var X=n(95822),ee=(n(99244),n(86535),n(50576)),te=n(28243),ne=(n(26833),n(26699),n(32023),n(65986)),ae=n(34601),re=n(78995);n(21703);const oe=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"caller","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","int","Tipping.url"]},{"ReTipReceived":["address","int","Tipping.url"]},{"TipWithdrawn":["address","int","Tipping.url"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"},{"name":"owner","type":"address"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"change_oracle_service","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"new_contract","type":"address"}],"name":"migrate_balance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"unclaimed_for_url","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int"]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"owner","type":"address"},{"name":"oracle_service","type":"OracleService"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"tip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"timestamp","type":"int"},{"name":"url_id","type":"Tipping.url_id"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]'),ie=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"TokenContract","payable":false,"typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"account","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","Tipping.amount","Tipping.url"]},{"ReTipReceived":["address","Tipping.amount","Tipping.url"]},{"TipWithdrawn":["address","Tipping.amount","Tipping.url"]},{"TipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"ReTipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"TipDirectReceived":["address","Tipping.amount","Tipping.receiver_str"]},{"TipDirectTokenReceived":["address","Tipping.amount","Tipping.receiver_str","TokenContract"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"}],"name":"tip_direct","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token_direct","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"retip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"unclaimed_for_url","payable":false,"returns":{"tuple":["int",{"map":["TokenContract","int"]}]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int",{"map":["TokenContract","int"]}]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"oracle_service","type":"OracleService"},{"name":"version","type":"string"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"amount","typedef":"int","vars":[]},{"name":"receiver","typedef":"address","vars":[]},{"name":"receiver_str","typedef":"string","vars":[]},{"name":"tip","typedef":{"variant":[{"AeTip":["Tipping.tip_meta","Tipping.url_id","Tipping.amount","Tipping.claim_gen"]},{"TokenTip":["Tipping.tip_meta","Tipping.url_id","Tipping.tip_token_data","Tipping.claim_gen"]},{"DirectAeTip":["Tipping.tip_meta","Tipping.receiver","Tipping.amount"]},{"DirectTokenTip":["Tipping.tip_meta","Tipping.receiver","Tipping.tip_token_data"]}]},"vars":[]},{"name":"tip_token_data","typedef":{"record":[{"name":"token","type":"TokenContract"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"tip_meta","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"timestamp","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"token_amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"token","type":{"option":["TokenContract"]}},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]');var se,ue,le=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},ce=(0,c.iH)(!1);function de(e){var t=e.store,n=(0,R.e)(),a=n.activeNetwork,r=(0,re.c)({store:t}),i=r.getAeSdk,s=r.isTippingSupported,l=(0,o.Fl)((function(){switch(a.value.type){case m.sI:return te.Io;case m.Rn:return te.yn;default:return{}}}));function c(){return le(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s.value&&l.value){e.next=2;break}return e.abrupt("return");case 2:return ce.value=!0,e.next=5,i();case 5:return t=e.sent,e.next=8,Promise.all([t.initializeContract({aci:oe,address:l.value.tippingV1}),l.value.tippingV2?t.initializeContract({aci:ie,address:l.value.tippingV2}):void 0]);case 8:n=e.sent,a=(0,z.Z)(n,2),se=a[0],ue=a[1],ce.value=!1;case 13:case"end":return e.stop()}}),e)})))}function d(){var e;return le(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(se&&se.$options.address===(null===(e=l.value)||void 0===e?void 0:e.tippingV1)){t.next=5;break}return t.next=3,c();case 3:t.next=8;break;case 5:if(!ce.value){t.next=8;break}return t.next=8,(0,u.mu)((function(){return!ce.value}));case 8:if(se){t.next=10;break}throw Error("failed to initialize tipping contract");case 10:return t.abrupt("return",{tippingV1:se,tippingV2:ue});case 11:case"end":return t.stop()}}),t)})))}return{tippingContractAddresses:l,getTippingContracts:d}}function pe(e){var t=e.store,n=e.tx,r=e.externalAddress,i=(0,re.c)({store:t}),s=i.dexContracts,l=(0,a.x)({store:t}),d=l.accounts,p=l.activeAccount,f=de({store:t}),v=f.tippingContractAddresses,g=(0,c.iH)(n),h=(0,c.iH)(n?(0,ae.wG)(n):void 0),w=(0,c.iH)(r),y=(0,o.Fl)((function(){return t.state.fungibleTokens.availableTokens})),k=(0,o.Fl)((function(){return t.getters["names/getPreferred"]})),b=(0,o.Fl)((function(){return g.value&&(0,ae.Mk)(g.value)})),C=(0,o.Fl)((function(){return h.value?(0,ae.I7)(h.value):null})),A=(0,o.Fl)((function(){return n?(0,ae.I7)(n):null})),x=(0,o.Fl)((function(){return A.value?ne.Vp[A.value]:null})),_=(0,o.Fl)((function(){return x.value?(0,u.pX)(x.value):""})),D=(0,o.Fl)((function(){var e=x.value?(0,u.oE)(x.value):"";return null!==e&&void 0!==e?e:_.value})),T=(0,o.Fl)((function(){var e;return(null===(e=g.value)||void 0===e?void 0:e["function"])?(0,u.DM)(g.value["function"]):""})),S=(0,o.Fl)((function(){return(0,ae.I5)(h.value,s.value)})),I=(0,o.Fl)((function(){var e;return!!h.value&&(0,ae.a8)(null===(e=h.value)||void 0===e?void 0:e["function"])&&!!y.value[h.value.contractId]})),F=(0,o.Fl)((function(){var e;return(0,ae.eN)(null===(e=h.value)||void 0===e?void 0:e["function"])})),E=(0,o.Fl)((function(){var e;return(0,ae.mA)(null===(e=h.value)||void 0===e?void 0:e["function"])})),R=(0,o.Fl)((function(){var e;return(0,ae.N9)(null===(e=h.value)||void 0===e?void 0:e["function"])})),B=(0,o.Fl)((function(){var e;return!!(null===(e=g.value)||void 0===e?void 0:e["function"])&&((0,u.q9)(Object.values(te.$L),g.value["function"])||!!g.value.payerId)})),Z=(0,o.Fl)((function(){var e,t;return!!((null===(e=h.value)||void 0===e?void 0:e.contractId)&&(null===(t=h.value)||void 0===t?void 0:t["function"])&&(0,u.q9)([v.value.tippingV1,v.value.tippingV2],h.value.contractId)&&(0,u.q9)([te.ls.tip,te.ls.retip,te.ls.claim],h.value["function"]))})),U=(0,o.Fl)((function(){var e=g.value||{},t=e.returnType;return!(!t||t===te.QN)})),P=(0,o.Fl)((function(){return(0,ae.pf)(h.value)})),M=(0,o.Fl)((function(){return(0,ae.g6)(p.value,d.value,h.value)})),L=(0,o.Fl)((function(){var e,t;return(null===(e=h.value)||void 0===e?void 0:e["function"])===te.ls.claim?m.Dl.received:(0,ae.Py)((null===(t=g.value)||void 0===t?void 0:t.payerId)?g.value:h.value,r||M.value!==te.Yj.current&&P.value||p.value.address)}));function O(e){g.value=e,h.value=(0,ae.wG)(e)}function N(e){w.value=e}function W(e){switch(M.value){case te.Yj.current:return p.value;case te.Yj.subAccount:var t=h.value||{},n=t.accountId,a=t.callerId;return d.value.find((function(e){var t=e.address;return[n,a].includes(t)}));default:var r=e||P.value;return{name:k.value(r)||"",address:r}}}return{hasNestedTx:b,outerTxTag:A,innerTxTag:C,innerTx:h,txTypeLabel:_,txTypeListLabel:D,txFunctionLabel:T,isErrorTransaction:U,isDex:S,isDexAddLiquidity:F,isDexAllowance:I,isDexPool:R,isDexRemoveLiquidity:E,isMultisig:B,isTip:Z,direction:L,getOwnershipAccount:W,setTransactionTx:O,setExternalAddress:N}}n(82772),n(82526),n(34553),n(57658),n(57327),n(23157),n(65069),n(89554),n(54747),n(5212),n(3843);var me=n(87783),fe=n(43351),ve=n(48244),ge=n(14838),he=n(43767),we=n(82998),ye=n(11538),ke=n(42010),be=n(2714),Ce=(n(38559),n(79753),n(24812),n(38862),n(84944),n(33792),n(68309),n(47941),n(3316)),Ae=["__requestBody","__queue"],xe=!1;function _e(e){return e.replace(/_./g,(function(e){return e[1].toUpperCase()}))}function De(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}var Te=function(e,t){return Object.fromEntries(Object.entries(e).map(t))},Se=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))},Ie=function e(t,n){return"object"!==(0,be.Z)(n)||null===n?n:Array.isArray(n)?n.map((function(n){return e(t,n)})):Te(n,(function(n){var a=(0,z.Z)(n,2),r=a[0],o=a[1];return[t(r),e(t,o)]}))},Fe=Ie.bind(null,De),Ee=Ie.bind(null,_e);function Re(e){return Be.apply(this,arguments)}function Be(){return Be=(0,ke.Z)(regeneratorRuntime.mark((function e(t){var n,a,o,i,s,u,l,c,d,p,m,f,v,g,h,w=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=w.length>1&&void 0!==w[1]?w[1]:{},a=n.spec,o=n.internalUrl,i=n.disableBigNumbers,s=n.disableCaseConversion,u=n.responseInterceptor,l=i?JSON:ve.Z,e.next=4,Promise.all([t,o].map((function(e){if(!e)return null;var t={};return(0,Ce.Z)({url:e,spec:a,requestInterceptor:function(e){if("GET"===e.method)return(0,ye.Z)((0,ye.Z)({},e),{},{userFetch:function(){var e=(0,ke.Z)(regeneratorRuntime.mark((function e(n,a){var r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=JSON.stringify((0,ye.Z)((0,ye.Z)({},a),{},{_url:n})),null!==(r=t[o])&&void 0!==r||(t[o]=fetch(n,a)),e.prev=2,e.next=5,t[o];case 5:return e.abrupt("return",e.sent.clone());case 6:return e.prev=6,delete t[o],e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[2,,6,9]])})));function n(t,n){return e.apply(this,arguments)}return n}()})},responseInterceptor:function(e){var t;if(""===e.text||0===(null===(t=e.text)||void 0===t?void 0:t.size))return e;var n=l.parse(e.text);return Object.assign(e,{body:s?n:Ee(n)}),u&&u(e)||e}})})));case 4:return c=e.sent,d=(0,z.Z)(c,2),p=d[0],m=d[1],f=Object.assign.apply(Object,[{}].concat((0,X.Z)(p.apis.external?[p.apis.external]:Object.values(p.apis)),[Te((null===m||void 0===m?void 0:m.apis.internal)||{},(function(e){var t=(0,z.Z)(e,2),n=t[0],a=t[1];return[n,function(){return xe||(console.warn('SDK\'s wrapper of aeternity node internal API is deprecated, please use external equivalent (for example, "aeSdk.api.protectedDryRunTxs" instead of "aeSdk.api.dryRunTxs") or create a wrapper of internal API by yourself (using "genSwaggerClient")'),xe=!0),a.apply(void 0,arguments)}]}))])),v=Object.values(a.paths).map((function(e){return Object.values(e)})).flat().reduce((function(e,t){return(0,ye.Z)((0,ye.Z)({},e),{},(0,r.Z)({},t.operationId,t))}),{}),g={},h=Te(f,(function(e){var t=(0,z.Z)(e,2),n=t[0],a=t[1],o=n.slice(0,1).toLowerCase()+_e(n.slice(1));return[o,(0,ke.Z)(regeneratorRuntime.mark((function e(){var t,i,u,c,d,p,m,f,h,w,y,k,b,C,A=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(i=A.length,u=new Array(i),c=0;c=0?He.value[e].loaded[r]=t:(qe(e),He.value[e].loaded.push(t))}var Ye=function(e,t){He.value[e].nextPageUrl=t};function $e(e){var t=e.store,n=(0,ge.C)(),r=n.aeActiveNetworkSettings,i=(0,re.c)({store:t}),s=i.nodeNetworkId,l=i.getAeSdk,c=(0,a.x)({store:t}),d=c.isLoggedIn,p=c.accounts,f=Oe(),v=f.fetchFromMiddlewareCamelCased,g=f.getMiddleware;function h(e){if(!d)return[];var t=je(e),n=t.pending,a=t.loaded;return[].concat((0,X.Z)(a),(0,X.Z)(n[s.value]||[]))}function w(e,t){return p.value.flatMap((function(e){return h(e.address)})).find((function(e){return e.hash===t}))}function y(e,t){var n,a=null===(n=He.value[e].pending[s.value])||void 0===n?void 0:n.findIndex((function(e){return e.hash===t}));void 0!==a&&-1!==a&&(He.value[e].pending[s.value][a][m.Dl.sent]=!0)}function k(e,t){var n,a,r=(null===(a=null===(n=He.value[e])||void 0===n?void 0:n.pending)||void 0===a?void 0:a[s.value])||[];r.length&&(He.value[e].pending[s.value]=r.filter((function(e){return e.hash!==t})))}function b(e,t){return Ne(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!t){n.next=13;break}return n.prev=1,n.next=4,l();case 4:return a=n.sent,n.next=7,a.poll(t);case 7:y(e,t),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](1),k(e,t);case 13:case"end":return n.stop()}}),n,null,[[1,10]])})))}function C(e,t){qe(e),He.value[e].pending[s.value]=[t],b(e,t.hash)}function A(e,t,n,a){return Ne(this,void 0,void 0,regeneratorRuntime.mark((function r(){var o,i,s,u;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=n||""===e.nextPageUrl?"/v2/accounts/".concat(t,"/activities?limit=").concat(a):e.nextPageUrl,r.prev=1,r.next=4,v(o);case 4:return i=r.sent,s=i.data,u=i.next,n||Ye(t,u),r.abrupt("return",s||[]);case 11:return r.prev=11,r.t0=r["catch"](1),r.abrupt("return",[]);case 14:case"end":return r.stop()}}),r,null,[[1,11]])})))}function x(e){return Ne(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l();case 2:return n=t.sent,t.prev=3,t.next=6,n.api.getPendingAccountTransactionsByPubkey(e);case 6:return a=t.sent,r=je(e),t.abrupt("return",ve.Z.parse(ve.Z.stringify((null===a||void 0===a?void 0:a.transactions)||[])).filter((function(e){var t;return!(null===(t=r.pending[s.value])||void 0===t?void 0:t.find((function(t){return(null===t||void 0===t?void 0:t.hash)===(null===e||void 0===e?void 0:e.hash)})))})).map((function(e){return Object.assign(Object.assign({},e),{pending:!0})})));case 11:return t.prev=11,t.t0=t["catch"](3),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})))}function _(e,t){return Ne(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,l();case 3:return n.next=5,(0,u.rd)("".concat(r.value.backendUrl,"/cache/events/?address=").concat(e,"&event=TipWithdrawn").concat(t?"&limit=5":""));case 5:if(a=n.sent,!a.message){n.next=8;break}return n.abrupt("return",[]);case 8:return o=a.map((function(t){var n=t.amount,a=t.contract,r=t.height,o=t.data.tx,i=We(t,["amount","contract","height","data"]);return Object.assign(Object.assign({tx:Object.assign(Object.assign({},o),{address:e,amount:n,contractId:a,type:ne.Vp[ne.Vp.ContractCallTx]})},i),{microTime:new Date(i.createdAt).getTime(),blockHeight:r,claim:!0})})),n.abrupt("return",o);case 12:return n.prev=12,n.t0=n["catch"](0),n.abrupt("return",[]);case 15:case"end":return n.stop()}}),n,null,[[0,12]])})))}function D(e,t,n){var a,r,o;return Ne(this,void 0,void 0,regeneratorRuntime.mark((function i(){var u,c,d,p,m,f,v,h,w,y,b;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,l();case 2:if(qe(n),u=He.value[n],null!==u.nextPageUrl||t){i.next=6;break}return i.abrupt("return",[]);case 6:return i.next=8,Promise.all([A(u,n,t,e),x(n),_(n,t)]);case 8:if(c=i.sent,d=(0,z.Z)(c,3),p=d[0],m=d[1],f=d[2],v=null===p||void 0===p?void 0:p[p.length-1],(null===v||void 0===v?void 0:v.type)!==te.XB){i.next=21;break}return i.next=17,g();case 17:return h=i.sent,i.next=20,h.getTx(v.payload.txHash);case 20:p[p.length-1]=i.sent;case 21:return w=[].concat((0,X.Z)(m),(0,X.Z)(p)).filter((function(e){var t=e.type;return!(null===t||void 0===t?void 0:t.startsWith("Internal"))})).map((function(e){return Object.assign(Object.assign(Object.assign({},e.payload||e),{transactionOwner:n}),e.type===te.XB?{tx:Object.assign(Object.assign({},e.payload),{callerId:e.payload.senderId,type:"ContractCallTx"}),hash:e.payload.txHash,incomplete:!0}:{})})),w=(0,me.Z)(w.reverse(),"hash").reverse(),y=Math.min.apply(null,w.map((function(e){return e.microTime}))),f.forEach((function(e){e.microTime&&(ye.microTime)&&w.push(Object.assign(Object.assign({},e),{transactionOwner:n}))})),w=(0,fe.Z)(w,["microTime"],["desc"]),b=(null===(a=He.value[n])||void 0===a?void 0:a.pending[s.value])||[],b.forEach((function(e){var t=e.hash;w.some((function(e){return e.hash===t&&!e.pending}))&&k(n,t)})),((null===(o=null===(r=He.value[n])||void 0===r?void 0:r.loaded)||void 0===o?void 0:o.filter((function(e){var t=e.pending;return t})))||[]).forEach((function(e){var t=w.find((function(t){return t.hash===e.hash&&!t.pending}));t&&ze(n,t)})),w=t?w.slice(0,e):w,He.value[n].loaded=(0,me.Z)([].concat((0,X.Z)(He.value[n].loaded),(0,X.Z)(w)),"hash"),i.abrupt("return",w);case 32:case"end":return i.stop()}}),i)})))}function T(){return Ne(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(p.value.map((function(e){return D(0,!1,e.address)})));case 2:case"end":return e.stop()}}),e)})))}return(0,o.YP)(s,(function(e,t){e&&((0,u.D$)([m.pn,t],He.value),He.value=(0,u.le)([m.pn,e])||{},Object.entries(He.value).forEach((function(e){var t,n=(0,z.Z)(e,2),a=n[0],r=n[1];null===(t=r.pending[s.value])||void 0===t||t.filter((function(e){var t=e.sent,n=void 0!==t&&t;return!n})).forEach((function(e){Date.now()-(e.microTime||0)>6e5?k(a,e.hash):b(a,e.hash)}))})))})),(0,o.YP)(He,(function(e){(0,u.D$)([m.pn,s.value],e)}),{deep:!0,immediate:!0}),{getAccountAllTransactions:h,transactions:He,getTransactionByHash:w,getAccountTransactionsState:je,fetchTransactions:D,upsertCustomPendingTransactionForAccount:C,updateAccountTransaction:ze,fetchPendingTransactions:x,fetchAllPendingTransactions:T}}var Ge=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ke=(0,c.iH)(!1),Je=(0,R.V)(),Qe=Je.onNetworkChange;function Xe(e){var t=e.store,n=(0,a.x)({store:t}),r=n.accounts,i=N({store:t}),s=i.accountsTotalBalance,d=(0,re.c)({store:t}),p=d.nodeNetworkId,f=$e({store:t}),v=f.transactions,g=f.fetchTransactions,h=(0,c.iH)([]),w=(0,o.Fl)((function(){return t.state.fungibleTokens.tokens})),y=(0,o.Fl)((function(){var e=Object.entries(v.value).map((function(e){var n=(0,z.Z)(e,2),a=n[0],r=n[1],o=r.loaded,i=r.pending;return[].concat((0,X.Z)(i[p.value]||[]),(0,X.Z)(o||[])).map((function(e){var n=pe({store:t,tx:e.tx,externalAddress:a}),r=n.direction;return Object.assign(Object.assign({},e),{direction:r.value})}))})).flatMap((function(e){return e})),n=[].concat((0,X.Z)(e),(0,X.Z)(h.value));return(0,u.zG)([u.R0,u.EC])(n).slice(0,m.CE)}));function k(){return Ge(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!Ke.value){e.next=2;break}return e.abrupt("return");case 2:return Ke.value=!0,t=l.l.getAdapter(m.ou),e.next=6,Promise.all(r.value.map((function(e){var a=e.address,r=e.protocol;return Ge(n,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=r,e.next=e.t0===m.DJ?3:e.t0===m.ou?12:22;break;case 3:return e.prev=3,e.next=6,g(m.CE,!0,a);case 6:e.next=11;break;case 8:e.prev=8,e.t1=e["catch"](3),(0,u.ac)(e.t1);case 11:return e.abrupt("break",22);case 12:return e.prev=12,e.next=15,t.fetchTransactions(a);case 15:h.value=e.sent,e.next=21;break;case 18:e.prev=18,e.t2=e["catch"](12),(0,u.ac)(e.t2);case 21:return e.abrupt("break",22);case 22:return e.abrupt("return",!0);case 23:case"end":return e.stop()}}),e,null,[[3,8],[12,18]])})))})));case 6:Ke.value=!1;case 7:case"end":return e.stop()}}),e)})))}return(0,o.YP)(s,(function(e,t){e!==t&&setTimeout((function(){return k()}),te.tE)}),{immediate:!0}),(0,o.YP)(w,(function(e,t){(0,ee.Z)(e,t)||k()}),{deep:!0}),Qe((function(){k()})),{isTransactionListLoading:Ke,latestTransactions:y}}var et=n(1471),tt=n(70732),nt=n(27469),at=n(29012),rt=n(65656),ot=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function it(e){var t,n,r,i=this,l=e.store,d=e.formModel,p=(0,re.c)({store:l}),f=p.getAeSdk,v=N({store:l}),g=v.balance,h=(0,a.x)({store:l}),w=h.getLastActiveProtocolAccount,y=(0,c.iH)(new s.Z(0)),k=(0,c.iH)(new s.Z(0)),b=(0,c.iH)(0),C=(0,c.iH)(0),A=(0,o.Fl)((function(){var e,t;if(g.value&&(null===(t=null===(e=d.value)||void 0===e?void 0:e.selectedAsset)||void 0===t?void 0:t.contractId)===te.ik){var n=g.value.minus(y.value);return(n.isPositive()?n:0).toString()}return k.value.toString()}));function x(){return w(m.DJ)}return(0,o.YP)((function(){return d.value}),(function(e){return ot(i,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,o,i,l,c,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.selectedAsset){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,f();case 4:if(n=t.sent,a=e.selectedAsset.contractId===te.ik,o=x(),a){t.next=13;break}if(r&&r.$options.address===e.selectedAsset.contractId){t.next=12;break}return t.next=11,n.initializeContract({aci:at,address:e.selectedAsset.contractId});case 11:r=t.sent;case 12:C.value=e.selectedAsset.decimals;case 13:if(i=e.amount&&+e.amount>0?e.amount:0,l=new s.Z(i).shiftedBy(te.T3),a&&(!e.address||(0,ae.qi)(e.address)||!(0,u.pM)(e.address))){t.next=20;break}return c=rt.U,r&&(c=r._calldata.encode(r._name,"transfer",[o.address,l.toFixed()])),y.value=(0,s.Z)((0,et.vq)((0,et.lE)({tag:ne.Vp.ContractCallTx,callerId:o.address,contractId:a?rt.mk:e.selectedAsset.contractId,amount:0,callData:c,nonce:b.value}),ne.Vp.ContractCallTx).fee).shiftedBy(-te.T3),t.abrupt("return");case 20:a&&r&&(r=null),d=(0,s.Z)((0,et.vq)((0,et.lE)({tag:ne.Vp.SpendTx,senderId:o.address,recipientId:o.address,amount:l,payload:(0,tt.cv)((new TextEncoder).encode(e.payload),nt.e.Bytearray),nonce:b.value}),ne.Vp.SpendTx).fee).shiftedBy(-te.T3),d.isEqualTo(y.value)||(y.value=d);case 23:case"end":return t.stop()}}),t)})))}),{deep:!0,immediate:!0}),(0,o.bv)((function(){t=(0,u.ID)((function(){return ot(i,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,f();case 4:return e.t0=s.Z,e.next=7,r.balance(x().address);case 7:if(e.t2=t=e.sent.decodedResult,e.t1=null!==e.t2,!e.t1){e.next=11;break}e.t1=void 0!==t;case 11:if(!e.t1){e.next=15;break}e.t3=t,e.next=16;break;case 15:e.t3=0;case 16:e.t4=e.t3,k.value=new e.t0(e.t4).shiftedBy(-C.value);case 18:case"end":return e.stop()}}),e)})))}),1e3),n=(0,u.ID)((function(){return ot(i,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:return n=e.sent,e.prev=3,e.next=6,n.api.getAccountByPubkey(x().address);case 6:if(e.t1=t=e.sent,e.t0=null===e.t1,e.t0){e.next=10;break}e.t0=void 0===t;case 10:if(!e.t0){e.next=14;break}e.t2=void 0,e.next=15;break;case 14:e.t2=t.nonce;case 15:b.value=e.t2,e.next=21;break;case 18:e.prev=18,e.t3=e["catch"](3),e.t3.message.includes("Account not found")||(0,u.ac)(e.t3);case 21:case"end":return e.stop()}}),e,null,[[3,18]])})))}),5e3)})),(0,o.Jd)((function(){clearInterval(t),clearInterval(n)})),{max:A,fee:y}}n(2707),n(9653);var st=n(34674);const ut=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"Pair","typedefs":[]}},{"namespace":{"name":"Set","typedefs":[{"name":"set","typedef":{"record":[{"name":"to_map","type":{"map":["\'a","unit"]}}]},"vars":[{"name":"\'a"}]}]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"TxProposed":["hash","address","int"]},{"TxConfirmed":["hash","address"]},{"TxRefused":["hash","address"]},{"TxConsensusReached":["hash"]},{"TxConsensusLost":["hash"]},{"TxRevoked":["hash","address"]},{"TxAuthorized":["hash"]},{"FeeProtectionDisabled":["address"]}]},"functions":[{"arguments":[{"name":"confirmations_required","type":"int"},{"name":"signers","type":{"Set.set":["address"]}}],"name":"init","payable":false,"returns":"SimpleGAMultiSig.state","stateful":true},{"arguments":[{"name":"nonce","type":"int"}],"name":"authorize","payable":false,"returns":"bool","stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"},{"name":"ttl","type":"Chain.ttl"}],"name":"propose","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"confirm","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"refuse","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"revoke","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"fee_protection","type":"SimpleGAMultiSig.fee_protection"}],"name":"update_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"disable_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_version","payable":false,"returns":"string","stateful":false},{"arguments":[],"name":"is_fee_protection_enabled","payable":false,"returns":"bool","stateful":false},{"arguments":[],"name":"get_fee_protection","payable":false,"returns":{"option":["SimpleGAMultiSig.fee_protection"]},"stateful":false},{"arguments":[],"name":"get_nonce","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_signers","payable":false,"returns":{"list":["address"]},"stateful":false},{"arguments":[],"name":"get_consensus_info","payable":false,"returns":"SimpleGAMultiSig.consensus_info","stateful":false}],"kind":"contract_main","name":"SimpleGAMultiSig","payable":false,"state":{"record":[{"name":"signers","type":{"Set.set":["address"]}},{"name":"confirmations_required","type":"int"},{"name":"current_tx","type":{"option":["SimpleGAMultiSig.transaction"]}},{"name":"fee_protection","type":{"option":["SimpleGAMultiSig.fee_protection"]}},{"name":"fee_protection_enabled","type":"bool"},{"name":"nonce","type":"int"},{"name":"version","type":"string"}]},"typedefs":[{"name":"transaction","typedef":{"record":[{"name":"tx_hash","type":"hash"},{"name":"expires_at","type":"int"},{"name":"proposed_by","type":"address"},{"name":"confirmed_by","type":{"Set.set":["address"]}},{"name":"refused_by","type":{"Set.set":["address"]}}]},"vars":[]},{"name":"consensus_info","typedef":{"record":[{"name":"tx_hash","type":{"option":["hash"]}},{"name":"confirmations_required","type":"int"},{"name":"confirmed_by","type":{"list":["address"]}},{"name":"refused_by","type":{"list":["address"]}},{"name":"has_consensus","type":"bool"},{"name":"expiration_height","type":"int"},{"name":"expired","type":"bool"},{"name":"proposed_by","type":{"option":["address"]}}]},"vars":[]},{"name":"fee_protection","typedef":{"record":[{"name":"max_fee","type":"int"},{"name":"max_gasprice","type":"int"}]},"vars":[]}]}}]');var lt=n(74906),ct=n(48764)["Buffer"],dt=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},pt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r2&&void 0!==arguments[2]&&arguments[2];return(0,u.D$)([n?vt:ft,t],e)}function ht(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,u.le)([t?vt:ft,e])||[]}var wt=(0,c.iH)([]),yt=(0,c.iH)([]),kt=(0,c.iH)(),bt=(0,c.iH)(""),Ct=(0,c.iH)(!1),At=(0,b.P)(mt),xt=(0,R.V)(),_t=xt.onNetworkChange;function Dt(e){var t=this,n=e.store,r=e.pollOnce,i=void 0!==r&&r,l=e.pollingDisabled,c=void 0!==l&&l,d=(0,ge.C)(),p=d.aeActiveNetworkPredefinedSettings,m=(0,re.c)({store:n}),f=m.nodeNetworkId,v=m.getAeSdk,g=(0,a.x)({store:n}),w=g.aeAccounts,y=(0,o.Fl)((function(){return[].concat((0,X.Z)(wt.value),(0,X.Z)(yt.value))})),k=(0,o.Fl)((function(){return y.value.find((function(e){return e.gaAccountId===kt.value}))})),b=(0,o.Fl)((function(){return k.value?new lt.T(p.value.explorerUrl).prepareUrlByHash(k.value.contractId):null}));function C(e){e&&y.value.some((function(t){return t.gaAccountId===e}))&&(kt.value=e,bt.value=f.value,(0,u.D$)([ft,"active",f.value],e))}function A(e){yt.value.push(e),gt(yt.value,f.value,!0)}function x(e,t,n){yt.value=yt.value.map((function(a){return a.gaAccountId===t?Object.assign(Object.assign({},a),{txHash:e,hasPendingTransaction:!0,proposedBy:n}):a})),gt(yt.value,f.value,!0)}function _(){var e;if(null===(e=yt.value)||void 0===e?void 0:e.length){var t=yt.value.filter((function(e){return!wt.value.find((function(t){return t.gaAccountId===e.gaAccountId}))}));yt.value=t,gt(t,f.value,!0)}}function D(){var e;return dt(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=function(e){return e.hasPendingTransaction&&e.signers.some((function(t){return w.value.map((function(e){var t=e.address;return t})).includes(t)&&!e.confirmedBy.includes(t)}))},t.next=3,v();case 3:return n=t.sent,a=[],t.prev=5,t.next=8,Promise.all(w.value.map((function(e){var t=e.address;return dt(i,void 0,void 0,regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=(n=a).push,e.t1=n,e.t2=X.Z,e.next=5,(0,u.rd)("".concat(p.value.multisigBackendUrl,"/").concat(t));case 5:return e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.abrupt("return",e.t0.apply.call(e.t0,e.t1,e.t4));case 8:case"end":return e.stop()}}),e)})))})));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](5),console.log("failed to fetch multisigAccounts");case 13:return a=(0,me.Z)(a,"contractId"),t.next=16,Promise.all(a.filter((function(e){var t=e.version;return t===te.fE})).map((function(e){return dt(i,void 0,void 0,regeneratorRuntime.mark((function t(){var a,r,o,i,s,l,c,d,p,m,f,v,g,w,y;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.contractId,r=e.gaAccountId,o=pt(e,["contractId","gaAccountId"]),t.prev=1,t.next=4,n.initializeContract({aci:ut,address:a});case 4:return i=t.sent,s=wt.value.find((function(e){return e.contractId===a})),t.next=8,Promise.all([Ct.value&&r===kt.value||null==(null===s||void 0===s?void 0:s.nonce)?i.get_nonce():{decodedResult:s.nonce},(null===s||void 0===s?void 0:s.signers)?{decodedResult:s.signers}:i.get_signers(),i.get_consensus_info(),r?n.getBalance(r):0]);case 8:return l=t.sent,c=(0,z.Z)(l,4),d=c[0],p=c[1],m=c[2],f=c[3],v=m.decodedResult,g=v.tx_hash,w=h()(v),w.expirationHeight=Number(w.expirationHeight),w.confirmationsRequired=Number(w.confirmationsRequired),y=!!g&&!w.expired,t.abrupt("return",Object.assign(Object.assign(Object.assign({},w),o),{contractId:a,gaAccountId:r,nonce:Number(d.decodedResult),signers:p.decodedResult,balance:(0,u.Yt)(f,-te.T3),hasPendingTransaction:y,txHash:g?ct.from(g).toString("hex"):void 0}));case 23:return t.prev=23,t.t0=t["catch"](1),t.t0 instanceof st.ty||(0,u.ac)(t.t0),t.abrupt("return",wt.value.find((function(e){return e.contractId===a})));case 27:case"end":return t.stop()}}),t,null,[[1,23]])})))})));case 16:o=t.sent.filter(Boolean).sort((function(e,t){var n;return e.hasPendingTransaction&&!t.hasPendingTransaction?-1:!e.hasPendingTransaction&&t.hasPendingTransaction?1:r(e)&&!r(t)?-1:!r(e)&&r(t)?1:t.confirmedBy.length&&e.confirmedBy.length&&t.confirmedBy.length!==e.confirmedBy.length?t.confirmedBy.length-e.confirmedBy.length:s.Z.isBigNumber(e.balance)&&s.Z.isBigNumber(t.balance)&&!(null===(n=t.balance)||void 0===n?void 0:n.minus(e.balance).isZero())?t.balance.minus(e.balance).toNumber():new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()})),wt.value=o,kt.value&&bt.value===f.value||C(null===(e=o[0])||void 0===e?void 0:e.gaAccountId),gt(o,f.value),_();case 21:case"end":return t.stop()}}),t,null,[[5,10]])})))}function T(){Ct.value=!0,D()}function S(){Ct.value=!1}function I(e){return y.value.find((function(t){return t.contractId===e}))}return function(){dt(t,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:wt.value.length&&bt.value===f.value||(wt.value=ht(f.value),yt.value=ht(f.value,!0)),kt.value&&bt.value===f.value||(kt.value=(0,u.le)([ft,"active",f.value])||void 0,bt.value=f.value);case 4:case"end":return e.stop()}}),e)})))}(),c||(i&&!ht(f.value).length?D():i||At((function(){return D()}))),_t((function(){return D()})),{multisigAccounts:y,pendingMultisigAccounts:yt,isAdditionalInfoNeeded:Ct,activeMultisigAccountId:kt,activeMultisigAccount:k,activeMultisigAccountExplorerUrl:b,addTransactionToPendingMultisigAccount:x,fetchAdditionalInfo:T,setActiveMultisigAccountId:C,stopFetchingAdditionalInfo:S,updateMultisigAccounts:D,getMultisigAccountByContractId:I,addPendingMultisigAccount:A}}n(28733);var Tt=n(34502),St=n(82428),It=n(27484),Ft=n.n(It),Et=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Rt=(0,c.iH)({}),Bt=(0,c.iH)(null),Zt=(0,c.iH)(!1);function Ut(e){var t=e.store,n=(0,re.c)({store:t}),a=n.getDryAeSdk,r=n.getAeSdk,i=Dt({store:t,pollOnce:!0}),u=i.getMultisigAccountByContractId,l=i.addPendingMultisigAccount,d=N({store:t}),p=d.balances,f=(0,c.iH)(null),v=(0,c.iH)(0),g=(0,o.Fl)((function(){return f.value&&Bt.value===te.OM.accessible})),h=(0,o.Fl)((function(){return f.value&&Bt.value===te.OM.created}));function w(){return Et(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:return t=e.sent,e.abrupt("return",t.initializeContract({aci:ut,bytecode:te.S1}));case 4:case"end":return e.stop()}}),e)})))}function y(e,t,n,a){return Et(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.t0=e,r.t0){r.next=5;break}return r.next=4,w();case 4:r.t0=r.sent;case 5:return r.abrupt("return",r.t0._estimateGas("init",[t,n],{senderId:a}));case 6:case"end":return r.stop()}}),r)})))}function k(e,t){return Et(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o,i,s,u;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(e>t.length)){n.next=2;break}throw Error("Number of confirmations exceed amount of signers");case 2:return r=[e,t],n.next=5,a();case 5:return o=n.sent,i=(0,Tt.Au)(),Rt.value[i.publicKey]={},n.next=10,w();case 10:return s=n.sent,Rt.value[i.publicKey].multisigAccountCreationEncodedCallData=s._calldata.encode(s._name,"init",r),n.t0=o,n.t1=i.publicKey,n.t2=s.$options.bytecode,n.t3=Rt.value[i.publicKey].multisigAccountCreationEncodedCallData,n.t4=(0,Tt.vp)("authorize"),n.t5=ne.Vp.GaAttachTx,n.next=20,y(s,e,t,i.publicKey);case 20:return n.t6=n.sent,n.t7={ownerId:n.t1,code:n.t2,callData:n.t3,authFun:n.t4,tag:n.t5,gasLimit:n.t6,nonce:1},n.next=24,n.t0.buildTx.call(n.t0,n.t7);case 24:return u=n.sent,n.next=27,o.signTransaction(u,{innerTx:!0,onAccount:new St.Z(i.secretKey)});case 27:return Rt.value[i.publicKey].signedAttachTx=n.sent,Bt.value=te.OM.prepared,n.abrupt("return",i.publicKey);case 30:case"end":return n.stop()}}),n)})))}function b(e,t){var n;return Et(this,void 0,void 0,regeneratorRuntime.mark((function a(){var o,i,u,l,c,d,m;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(o=Rt.value[t].signedAttachTx,o){a.next=3;break}throw Error("GA Attach Tx not found for account ".concat(t,", Prepare attach transaction first"));case 3:return a.next=5,r();case 5:return i=a.sent,a.t0=i,a.next=9,i.buildTx({tag:ne.Vp.PayingForTx,payerId:e,tx:o});case 9:return a.t1=a.sent,a.t2={modal:!1,fromAccount:e},a.next=13,a.t0.signTransaction.call(a.t0,a.t1,a.t2);case 13:if(u=a.sent,Rt.value[t].rawTx=u,l=(0,et.vq)(u,ne.Vp.SignedTx),l.encodedTx.tag===ne.Vp.PayingForTx&&l.encodedTx.tx.encodedTx.tag===ne.Vp.GaAttachTx){a.next=18;break}throw Error("Transaction build failed");case 18:c=l.encodedTx.fee,d=l.encodedTx.tx.encodedTx.fee,m=new s.Z(c).plus(d).toFixed(),v.value=+(0,ae.mW)(m),Bt.value=te.OM.signed,Zt.value=null===(n=p.value[e])||void 0===n?void 0:n.isLessThan(v.value);case 24:case"end":return a.stop()}}),a)})))}function C(e,t,n){return Et(this,void 0,void 0,regeneratorRuntime.mark((function a(){var o,i,c,d,p,v,g;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(o=Rt.value[e].rawTx,o){a.next=3;break}throw Error("Raw PayForTransaction not found for account ".concat(e,", Prepare PayForTransaction first"));case 3:return a.next=5,r();case 5:return i=a.sent,a.next=8,i.api.postTransaction({tx:o});case 8:return c=a.sent,d=c.txHash,a.next=12,i.poll(d,{blocks:m.Hn});case 12:if(p=a.sent,!p||-1===p.blockHeight){a.next=24;break}return Bt.value=te.OM.deployed,a.next=17,i.getAccount(e);case 17:v=a.sent,Bt.value=te.OM.created,g=Ft()().toISOString(),f.value={contractId:v.contractId,balance:new s.Z(v.balance.toString()),gaAccountId:e,signers:n,confirmationsRequired:t,nonce:1,createdAt:g,updatedAt:g,hasPendingTransaction:!1,confirmedBy:[],expired:!1,id:0,proposedBy:"",refusedBy:[],txHash:void 0,version:te.fE,expirationHeight:0,signerId:n[0],height:-1,pending:!0},delete Rt.value[e],a.next=25;break;case 24:throw Error("Vault creation transaction is not mined within the expected time");case 25:return l(f.value),a.next=28,new Promise((function(e){var t=setInterval((function(){var n;(null===(n=f.value)||void 0===n?void 0:n.contractId)&&u(f.value.contractId)&&(Bt.value=te.OM.accessible,e(!0),clearInterval(t))}),1e3)}));case 28:case"end":return a.stop()}}),a)})))}return{multisigAccount:f,multisigAccountCreationPhase:Bt,pendingMultisigCreationTxs:Rt,multisigAccountCreationFee:v,isMultisigAccountAccessible:g,isMultisigAccountCreated:h,prepareVaultCreationAttachTx:k,prepareVaultCreationRawTx:b,deployMultisigAccount:C,notEnoughBalanceToCreateMultisig:Zt}}n(82472),n(33105),n(3462),n(33824),n(39575),n(48675),n(92990),n(18927),n(35035),n(74345),n(7174),n(63408),n(14590),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(30678),n(27462),n(55021),n(11712),n(1439),n(87585),n(15016),n(55315);var Pt=n(55020),Mt=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Lt=3e4,Ot=(0,b.P)(Lt),Nt=(0,c.iH)(),Wt=(0,R.V)(),Ht=Wt.onNetworkChange;function Vt(e){var t=e.store,n=(0,re.c)({store:t}),a=n.getAeSdk,r=(0,o.Fl)((function(){var e;return(null===(e=Nt.value)||void 0===e?void 0:e.height)||0}));function i(){return Mt(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:return t=e.sent,e.next=5,t.api.getTopHeader();case 5:Nt.value=e.sent;case 6:case"end":return e.stop()}}),e)})))}function s(){return Mt(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i();case 2:return e.abrupt("return",r.value);case 3:case"end":return e.stop()}}),e)})))}return Ht((function(){return i()})),Ot((function(){return i()})),{topHeaderData:Nt,topBlockHeight:r,updateTopHeaderData:i,fetchCurrentTopBlockHeight:s}}var jt=n(48764)["Buffer"],qt=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},zt=480;function Yt(e){var t=e.store,n=(0,ge.C)(),a=n.aeActiveNetworkPredefinedSettings,r=(0,re.c)({store:t}),o=r.nodeNetworkId,i=r.getDryAeSdk,s=r.getAeSdk,l=Vt({store:t}),c=l.fetchCurrentTopBlockHeight;function d(e,t,n,a){return qt(this,void 0,void 0,regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,s();case 2:return o=r.sent,r.abrupt("return",o.buildTx({tag:ne.Vp.SpendTx,senderId:e,recipientId:t,amount:n,payload:(0,tt.cv)((new TextEncoder).encode(a),nt.e.Bytearray)}));case 4:case"end":return r.stop()}}),r)})))}function p(e){return qt(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.rd)("".concat(a.value.multisigBackendUrl,"/tx/").concat(e)).then((function(e){return e}))["catch"](u.ac));case 1:case"end":return t.stop()}}),t)})))}function m(){var e,n,a;return qt(this,void 0,void 0,regeneratorRuntime.mark((function r(){var o,i,s,u;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o=Dt({store:t}),i=o.activeMultisigAccount,s=null===(e=i.value)||void 0===e?void 0:e.txHash,!s||!(null===(n=i.value)||void 0===n?void 0:n.hasPendingTransaction)&&!(null===(a=i.value)||void 0===a?void 0:a.pending)){r.next=7;break}return r.next=5,p(s);case 5:return u=r.sent,r.abrupt("return",Object.assign(Object.assign({},i.value),{totalConfirmations:i.value.confirmedBy.length,hash:s,tx:u?(0,et.vq)(u.tx):void 0,isMultisigTransaction:!0,microTime:u?Date.now():void 0}));case 7:return r.abrupt("return",null);case 8:case"end":return r.stop()}}),r)})))}function f(e,t){return qt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,u.uz)("".concat(a.value.multisigBackendUrl,"/tx"),{body:{hash:t,tx:e}}));case 1:case"end":return n.stop()}}),n)})))}function v(e,t){return qt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,r,i,u,l,d,p;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([s(),c()]);case 2:return a=n.sent,r=(0,z.Z)(a,2),i=r[0],u=r[1],l=u+zt,d=new Uint8Array((0,Tt.vp)(jt.concat([jt.from(o.value),(0,tt.Jx)(e)]))),n.next=10,i.initializeContract({aci:ut,address:t});case 10:return p=n.sent,n.next=13,p.propose(d,{FixedTTL:[l]});case 13:return n.abrupt("return",jt.from(d).toString("hex"));case 14:case"end":return n.stop()}}),n)})))}function g(e,t,n){return qt(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i,u,l,d,p;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Promise.all([s(),c()]);case 2:return r=a.sent,o=(0,z.Z)(r,2),i=o[0],u=o[1],l=u+zt,a.next=9,i.initializeContract({aci:ut,address:t});case 9:return d=a.sent,a.next=12,d[e](n,{FixedTTL:[l]});case 12:return p=a.sent,a.abrupt("return",p);case 14:case"end":return a.stop()}}),a)})))}function h(e,t,n){return qt(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,i();case 2:return r=a.sent,a.next=5,r.initializeContract({aci:ut,bytecode:te.S1});case 5:return o=a.sent,a.abrupt("return",r.sendTransaction(t,{authData:{callData:o._calldata.encode(o._name,"authorize",[n])},onAccount:new Pt.Z(e)}));case 7:case"end":return a.stop()}}),a)})))}return{buildSpendTx:d,postSpendTx:f,proposeTx:v,fetchTransactionByHash:p,sendTx:h,fetchActiveMultisigTx:m,callContractMethod:g}}var $t=n(66974),Gt=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Kt=(0,c.iH)();function Jt(e){var t=e.store,n=Oe(),r=n.getMiddleware,i=Dt({store:t}),s=i.activeMultisigAccount,l=Yt({store:t}),d=l.fetchActiveMultisigTx,p=Vt({store:t}),m=p.topBlockHeight,f=(0,a.x)({store:t}),v=f.aeAccounts,g=(0,c.iH)(null);function h(){return Gt(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:Kt.value=e.sent;case 3:case"end":return e.stop()}}),e)})))}var w=(0,o.Fl)((function(){var e,t;return null!==(t=null===(e=s.value)||void 0===e?void 0:e.confirmationsRequired)&&void 0!==t?t:te.rD})),y=(0,o.Fl)((function(){var e,t;return null!==(t=null===(e=s.value)||void 0===e?void 0:e.signers)&&void 0!==t?t:[]})),k=(0,o.Fl)((function(){var e,t;return null!==(t=null===(e=s.value)||void 0===e?void 0:e.confirmedBy)&&void 0!==t?t:[]})),b=(0,o.Fl)((function(){return w.value-k.value.length})),C=(0,o.Fl)((function(){var e,t;return null!==(t=null===(e=s.value)||void 0===e?void 0:e.refusedBy)&&void 0!==t?t:[]})),A=(0,o.Fl)((function(){return(0,X.Z)(y.value).sort((function(e){var t;return(null===(t=s.value)||void 0===t?void 0:t.confirmedBy.includes(e))?-1:1}))})),x=(0,o.Fl)((function(){return k.value.length>=w.value})),_=(0,o.Fl)((function(){return y.value.length-C.value.length=s.value.expirationHeight})),S=(0,o.Fl)((function(){return s.value?s.value.expirationHeight-m.value:0})),I=(0,o.Fl)((function(){return!T.value&&x.value})),F=(0,o.Fl)((function(){return v.value.filter((function(e){return y.value.includes(e.address)}))})),E=(0,o.Fl)((function(){return F.value.filter((function(e){var t,n;return null===(n=null===(t=s.value)||void 0===t?void 0:t.confirmedBy)||void 0===n?void 0:n.includes(e.address)})).length===F.value.length})),R=(0,o.Fl)((function(){var e;return!(null===(e=s.value)||void 0===e?void 0:e.txHash)})),B=(0,o.Fl)((function(){var e,t;return!(null===(e=s.value)||void 0===e?void 0:e.txHash)&&(null===(t=g.value)||void 0===t?void 0:t.tx["function"])===te.$L.revoke})),Z=(0,o.Fl)((function(){var e,t;return!(null===(e=s.value)||void 0===e?void 0:e.txHash)&&(null===(t=g.value)||void 0===t?void 0:t.tx["function"])===te.$L.confirm}));function U(){var e;return Gt(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,o,i,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=null===(e=s.value)||void 0===e?void 0:e.contractId,t.next=4,r();case 4:return a=t.sent,t.next=7,a.getTxs({direction:"backward",limit:1,contract:n});case 7:o=t.sent,i=(0,z.Z)(o.data,1),l=i[0],g.value=l,t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](0),(0,u.ac)(t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})))}return(0,o.YP)((function(){return s.value}),(function(e,t){var n;(0,ee.Z)(e,t)||(h(),(null===(n=s.value)||void 0===n?void 0:n.txHash)||g.value||U())}),{immediate:!0}),{pendingMultisigTransaction:Kt,pendingMultisigTxSigners:y,pendingMultisigTxConfirmedBy:k,pendingMultisigTxRefusedBy:C,pendingMultisigTxSortedSigners:A,pendingMultisigTxConfirmed:x,pendingMultisigTxRevoked:_,pendingMultisigTxProposingAccountRevoked:D,pendingMultisigTxRequiredConfirmations:w,pendingMultisigTxPendingConfirmationsCount:b,pendingMultisigTxExpired:T,pendingMultisigTxExpiresAt:S,pendingMultisigTxCanBeSent:I,pendingMultisigTxLocalSigners:F,pendingMultisigTxConfirmedByLocalSigners:E,isPendingMultisigTxCompleted:R,isPendingMultisigTxCompletedAndRevoked:B,isPendingMultisigTxCompletedAndConfirmed:Z}}n(73210);function Qt(e){var t=e.store,n=e.ownedOnly,a=void 0!==n&&n,r=e.withBalanceOnly,i=void 0!==r&&r,u=e.searchTerm,c=e.isMultisig,d=E({store:t}),p=d.marketData,f=N({store:t}),v=f.balance,g=Dt({store:t}),h=g.activeMultisigAccount,w=(0,o.Fl)((function(){return c?[]:t.state.fungibleTokens.availableTokens})),y=(0,o.Fl)((function(){return t.getters["fungibleTokens/tokenBalances"]})),k=(0,o.Fl)((function(){var e;return c?new s.Z((null===(e=h.value)||void 0===e?void 0:e.balance)||0):v.value||new s.Z(0)})),b=(0,o.Fl)((function(){return l.l.getAdapter(m.DJ).getDefaultCoin(p.value,+k.value)})),C=(0,o.Fl)((function(){var e=Object.entries(w.value).map((function(e){var t=(0,z.Z)(e,2),n=t[0],a=t[1];return Object.assign(Object.assign({},a),{contractId:n})}));return y.value.forEach((function(t){var n=e.findIndex((function(e){return e.contractId===(null===t||void 0===t?void 0:t.contractId)}));-1!==n&&(e[n]=t)})),[].concat((0,X.Z)(b.value?[b.value]:[]),(0,X.Z)(e))})),A=(0,o.Fl)((function(){var e=((null===u||void 0===u?void 0:u.value)||"").trim().toLowerCase();return C.value.filter((function(e){return!a||e.contractId===te.ik||y.value.includes(e)})).filter((function(e){return!i||e.contractId===te.ik||e.convertedBalance&&+e.convertedBalance})).filter((function(t){var n=t.symbol,a=t.name,r=t.contractId;return!e||(null===n||void 0===n?void 0:n.toLowerCase().includes(e))||(null===a||void 0===a?void 0:a.toLowerCase().includes(e))||e.startsWith("ct_")&&(null===r||void 0===r?void 0:r.toLowerCase().includes(e))}))}));return{aeToken:b,allTokens:C,filteredTokens:A,aeTokenBalance:k}}var Xt=n(3437),en=n(49097),tn=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{"use strict";n.d(t,{o:()=>g});n(33948),n(17727),n(82772),n(82526),n(51532),n(41539),n(78783),n(21703),n(96647),n(21249),n(57327),n(68309),n(34553),n(40561),n(57658),n(92222);var a=n(2262),r=n(66252),o=n(79323),i=n(48854),s=n(94308),u=n(3612),l=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{},a=c.get(e);if(!a)return Promise.reject(new Error('Modal with name "'.concat(e,'" not registered')));var r=o.KA&&o.Pl&&!!a.showInPopupIfWebFrame,i=p+1;p+=1;var l=new Promise((function(t,o){if(d.value.push({name:e,key:i,inPopup:r,props:Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0})}),a.showInPopupIfWebFrame&&!r){var l=(0,u.M)(),c=l.setPopupProps;c(Object.assign(Object.assign({},n),{resolve:t,reject:o}))}r&&(m&&m.focus(),f["catch"]((function(){}))["finally"]((function(){m=window.open("/".concat(s.WN,"/").concat(e),"popup-".concat(i),"height=600,width=375"),m?m.popupProps=Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0}):o(new Error("Can't show popup window"))})))}))["finally"]((function(){return t(i)}));return r&&(f=l),l}function a(e){return n(o.ZS,e)}function g(e){return n(o.ok,e)}function h(e){return n(o.xt,{entry:e})["catch"](i.ac)}return{modalsOpen:e,registerModal:v,openModal:n,openDefaultModal:a,openConfirmModal:g,openErrorModal:h,closeModalByKey:t}}},94277:(e,t,n)=>{"use strict";n.d(t,{V:()=>k,e:()=>y});var a=n(62118),r=n(95822),o=(n(35666),n(41539),n(85827),n(92222),n(68309),n(89554),n(54747),n(57658),n(21703),n(96647),n(34553),n(40561),n(66252)),i=n(79323),s=n(71584),u=n(57940),l=n(49329),c=n(40223),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=[],m=(0,l.D)([],"custom-networks",{backgroundSync:!0}),f=(0,l.D)(i.ZF,"active-network-name",{backgroundSync:!0}),v=(0,o.Fl)((function(){return[].concat(p,(0,r.Z)(m.value)).reduce((function(e,t){return Object.assign(Object.assign({},e),(0,a.Z)({},t.name,t))}),{})})),g=(0,o.Fl)((function(){return v.value[f.value]})),h=!1;function w(){if(0===p.length){var e=[i.sI,i.Rn];e.forEach((function(e){p.push({name:e===i.sI?i.ZF:i.HA,protocols:i.UM.reduce((function(t,n){return t[n]=s.l.getAdapter(n).getNetworkTypeDefaultValues(e),t}),{}),type:e})}))}}function y(){var e=(0,c.o)(),t=e.openConfirmModal;function n(e){if(!v.value[e])throw Error('Could not switch to "'.concat(e,'" network as it does not exist'));f.value=e}function a(e){m.value.push(e)}function r(e,t){return!!m.value[e]&&(m.value[e]=t,!0)}function o(e){return d(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t({msg:(0,u.tg)("pages.network.confirmDelete")});case 3:if(r=m.value.findIndex((function(t){return t.name===e})),!(r>-1)){a.next=8;break}return e===g.value.name&&n(i.ZF),m.value.splice(r,1),a.abrupt("return",!0);case 8:return a.abrupt("return",!1);case 11:return a.prev=11,a.t0=a["catch"](0),a.abrupt("return",!1);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})))}return h||(w(),g.value||n(i.ZF),h=!0),{networks:v,customNetworks:m,defaultNetworks:p,activeNetwork:g,activeNetworkName:f,switchNetwork:n,addCustomNetwork:a,updateCustomNetwork:r,deleteCustomNetwork:o}}function k(){var e;return w(),{onNetworkChange:function(t){e?e!==g.value.name&&(t(g.value,v.value[e]),e=g.value.name):e=g.value.name}}}},66974:(e,t,n)=>{"use strict";n.d(t,{z:()=>k});var a=n(25706),r=n(95822),o=(n(35666),n(33948),n(60285),n(41637),n(41539),n(82772),n(82526),n(21249),n(57327),n(92222),n(2707),n(26699),n(32023),n(83710),n(47042),n(78783),n(46229),n(17330),n(62062),n(89554),n(54747),n(69720),n(96647),n(39714),n(57658),n(28733),n(69826),n(2262)),i=n(66252),s=n(48854),u=n(79323),l=n(14838),c=n(80640),d=n(49329),p=n(78995),m=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{"use strict";n.d(t,{M:()=>i});n(68309);var a=n(2262),r=n(66252),o=(0,a.iH)(null);function i(){function e(e){o.value=e}var t=(0,r.Fl)((function(){var e,t,n,a,r,i;return{name:null===(t=null===(e=o.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.name,address:null===(a=null===(n=o.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.host,url:null===(i=null===(r=o.value)||void 0===r?void 0:r.app)||void 0===i?void 0:i.url}}));return{sender:t,popupProps:o,setPopupProps:e}}},75664:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});n(32564);var a=n(22201),r=n(79323),o=n(9697),i=n(48854);function s(){var e=(0,a.yj)(),t=e.meta,n=(0,o.ol)(),s=n.openModal;function u(e){(0,i.D$)([r.q6],e)}function l(){var e=(0,i.le)([r.q6]);r.FH&&e&&setTimeout((function(){var n,a;s(r.O,Object.assign({isMultisig:null===(n=t.value)||void 0===n?void 0:n.isMultisig,tokenContractId:null===(a=null===e||void 0===e?void 0:e.selectedAsset)||void 0===a?void 0:a.contractId},e)),(0,i.e8)([r.q6])}),100)}return{restore:l,save:u}}},56846:(e,t,n)=>{"use strict";n.d(t,{b:()=>d});var a=n(2262),r=n(66252),o=n(94308),i=(0,a.iH)(o.I),s=(0,a.iH)(!1),u=(0,a.iH)(!1),l=(0,a.iH)({name:o.I}),c=(0,a.iH)(!1);function d(){function e(e,t){i.value!==e&&(i.value=e,t&&t())}function t(e){u.value=e}function n(e){l.value=e}function a(e){c.value=e}function o(){s.value=!document.hidden}function d(){o(),(0,r.bv)((function(){document.addEventListener("visibilitychange",o)})),(0,r.Jd)((function(){document.removeEventListener("visibilitychange",o)}))}return{homeRouteName:i,isAppActive:s,loginTargetLocation:l,qrScannerOpen:c,isLoaderVisible:u,initVisibilityListeners:d,setHomeRouteName:e,setLoginTargetLocation:n,setQrScanner:a,setLoaderVisible:t}}},7303:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var a=n(36409),r=n(2262),o=n(66252),i=(0,r.iH)(),s=function(){var e=(0,a.Z)((function(e){if(i.value){var t=i.value,n=t.scrollHeight,a=t.scrollTop,r=t.clientHeight,o=n-a<=r+100;e({isOutsideOfViewport:o})}}),50);function t(e){i.value=e}function n(t){i.value&&i.value.addEventListener("scroll",(function(){return e(t)})),window.addEventListener("scroll",(function(){return e(t)})),(0,o.Jd)((function(){i.value&&i.value.removeEventListener("scroll",(function(){return e(t)})),window.removeEventListener("scroll",(function(){return e(t)}))}))}return{viewportElement:i,onViewportScroll:n,initViewport:t}}},32720:(e,t,n)=>{"use strict";n.d(t,{I0:()=>s,X_:()=>o,eJ:()=>i});var a=n(66252),r=n(81485),o=function(e){return(0,a.Fl)((function(){return r.Z.getters[e]}))},i=function(e,t){return(0,a.Fl)((function(){return t?r.Z.state[e][t]:r.Z.state[e]}))},s=function(e){return function(t){return r.Z.dispatch(e,t)}}},51332:(e,t,n)=>{"use strict";n.d(t,{$A:()=>Be,$E:()=>ke,$L:()=>A,$m:()=>ee,AA:()=>q,BN:()=>le,BQ:()=>H,Bd:()=>Re,Bi:()=>je,Bk:()=>G,CD:()=>Se,CE:()=>z,DJ:()=>i,Dl:()=>b,F:()=>We,GE:()=>T,GS:()=>O,HA:()=>I,Hn:()=>E,I7:()=>Ce,IE:()=>te,KP:()=>Je,L1:()=>xe,MG:()=>ze,M_:()=>V,Me:()=>de,Mf:()=>$,NL:()=>Le,Ng:()=>U,Nj:()=>v,Nz:()=>Ge,O:()=>Fe,OO:()=>ne,P0:()=>g,PH:()=>ie,PV:()=>P,Pq:()=>Ee,RF:()=>K,Rh:()=>B,Rn:()=>D,Rs:()=>Ie,SW:()=>Ue,TS:()=>Pe,Tz:()=>fe,U0:()=>_e,UM:()=>u,Ug:()=>h,Un:()=>l,WV:()=>Qe,WW:()=>Te,Wy:()=>se,ZC:()=>L,ZF:()=>S,ZS:()=>ge,ZW:()=>Ke,Zh:()=>Ze,Zl:()=>N,__:()=>Y,_e:()=>R,_p:()=>W,a5:()=>oe,aP:()=>w,b:()=>M,b6:()=>m,bR:()=>Z,be:()=>ae,bj:()=>ue,dA:()=>re,dO:()=>X,dp:()=>k,dx:()=>Ve,eR:()=>pe,eb:()=>d,ek:()=>Ae,gI:()=>J,gt:()=>De,hS:()=>Q,h_:()=>we,hk:()=>o,id:()=>Me,kL:()=>me,kx:()=>ye,mI:()=>be,ok:()=>ce,ou:()=>s,pJ:()=>c,pn:()=>Ye,q6:()=>$e,sI:()=>_,t1:()=>C,t3:()=>F,td:()=>j,uz:()=>qe,v1:()=>Oe,wC:()=>f,x0:()=>y,xt:()=>he,yB:()=>He,yF:()=>x,yh:()=>p,zc:()=>Ne,zo:()=>ve});var a=n(40995),r=n(57940),o="sh-wallet",i="aeternity",s="bitcoin",u=[i,s],l="AccountDetails",c="AccountDetailsTransactions",d="AccountDetailsTokens",p="AccountDetailsNames",m="TransactionDetails",f="TransferReceiveModal",v="TransferSendModal",g=[l,c,m,d,p,f,v],h=5,w=12,y=9,k=2,b={sent:"sent",received:"received"},C={POPUP:"POPUP",OTHER:"OTHER"},A=/^[1-9A-HJ-NP-Za-km-z]{48,50}$/,x="hd-wallet",_="mainnet",D="testnet",T="custom",S="Mainnet",I="Testnet",F=15,E=15,R=30,B=30,Z=17e3,U="CREATED",P="READ",M="wallet",L="COMMENT_ON_TIP",O="COMMENT_ON_COMMENT",N="TIP_ON_COMMENT",W="CLAIM_OF_TIP",H="CLAIM_OF_RETIP",V="RETIP_ON_TIP",j="AENS",q="DEX",z=3,Y=[{text:(0,r.tg)("pages.notification-settings.wallet"),checked:!0,type:M},{text:(0,r.tg)("pages.notification-settings.commentOnTip"),checked:!0,type:L},{text:(0,r.tg)("pages.notification-settings.commentOnComment"),checked:!1,type:O},{text:(0,r.tg)("pages.notification-settings.retipOnTip"),checked:!0,type:V},{text:(0,r.tg)("pages.notification-settings.tipOnComment"),checked:!0,type:N},{text:(0,r.tg)("pages.notification-settings.claimOfTip"),checked:!0,type:W},{text:(0,r.tg)("pages.notification-settings.claimOfRetip"),checked:!0,type:H}],$=[{name:"United States Dollar",code:"usd",symbol:"$"},{name:"Euro",code:"eur",symbol:"€"},{name:"Australia Dollar",code:"aud",symbol:"AU$"},{name:"Brasil Real",code:"brl",symbol:"R$"},{name:"Canada Dollar",code:"cad",symbol:"CA$"},{name:"Swiss Franc",code:"chf",symbol:"CHF"},{name:"China Yuan Renminbi",code:"cny",symbol:"¥"},{name:"Czech Republic Koruna",code:"czk",symbol:"Kč"},{name:"Denmark Krone",code:"dkk",symbol:"Kr"},{name:"United Kingdom Pound",code:"gbp",symbol:"£"},{name:"Hong Kong Dollar",code:"hkd",symbol:"HK$"},{name:"Hungary Forint",code:"huf",symbol:"Ft"},{name:"Indonesia Rupiah",code:"idr",symbol:"Rp"},{name:"Israel Shekel",code:"ils",symbol:"₪"},{name:"India Rupee",code:"inr",symbol:"₹"},{name:"Japan Yen",code:"jpy",symbol:"¥"},{name:"South Korea Won",code:"krw",symbol:"₩"},{name:"Mexico Peso",code:"mxn",symbol:"MX$"},{name:"Malaysia Ringgit",code:"myr",symbol:"MR"},{name:"Norway Krone",code:"nok",symbol:"Kr"},{name:"New Zealand Dollar",code:"nzd",symbol:"NZ$"},{name:"Philippines Peso",code:"php",symbol:"₱"},{name:"Poland Zloty",code:"pln",symbol:"zł"},{name:"Russia Ruble",code:"rub",symbol:"₽"},{name:"Sweden Krona",code:"sek",symbol:"Kr"},{name:"Singapore Dollar",code:"sgd",symbol:"SG$"},{name:"Thailand Baht",code:"thb",symbol:"฿"},{name:"Turkey Lira",code:"try",symbol:"₺"},{name:"South Africa Rand",code:"zar",symbol:"R"},{name:"Gold Ounce",code:"xau",symbol:"XAU"}],G="https://wallet.superhero.com",K="https://chrome.google.com/webstore/detail/superhero/mnhmmkepfddpifjkamaligfeemcbhdne",J="https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet",Q="https://play.google.com/store/apps/details?id=com.superhero.cordova",X="https://apps.apple.com/us/app/superhero-wallet/id1502786641",ee="https://spgrrc00ymg.typeform.com/to/Kk3Zyjdr",te="https://superhero.com/",ne=["https://chat.superhero.com","https://chat.superhero.chat","https://matrix.superhero.chat"],ae="superherowallet@protonmail.com",re="account-create",oe="account-ae-create",ie="import-account",se="account-select-options",ue="asset-selector",le="claim-success",ce="confirm",de="confirm-transaction-sign",pe="confirm-raw-sign",me="confirm-connect",fe="confirm-account-list",ve="consensus-info",ge="default",he="error-log",we="form-select-options",ye="help",ke="confirm-message-sign",be="multisig-proposal-confirm-action",Ce="multisig-vault-create",Ae="network-switcher",xe="payload-form",_e="read-qr-code",De="recipient-helper",Te="recipient-info",Se="reset-wallet",Ie="transfer-receive",Fe="transfer-send",Ee="browser-actions",Re="warning-dapp-browser",Be="claim-gift-card",Ze="connectConfirm",Ue="account-list",Pe="sign",Me="messageSign",Le="rawSign",Oe=a.Is.sign,Ne="address",We="transactions",He={host:"",name:"",address:!1,addressList:!1,messageSign:!1,dailySpendLimit:!1,transactionSignLimit:0,transactionSignLimitLeft:0,transactionSignFirstAskedOn:null},Ve="TIP",je={success:"success",warning:"warning",error:"error"},qe={buyAe:"buyAe",claimName:"claimName",faucet:"faucet",daeppBrowser:null},ze=["alert","critical","help","info","not-secure","success","warning"],Ye="transactions",$e="transfer-send-data",Ge={form:"form",review:"review",reviewTip:"tip"},Ke="en-US",Je={refresh:"refresh",share:"share",favourite:"favourite"},Qe=150},79323:(e,t,n)=>{"use strict";n.d(t,{yF:()=>a.yF,Ug:()=>a.Ug,td:()=>a.td,IE:()=>a.IE,MG:()=>a.MG,hS:()=>a.hS,RF:()=>a.RF,gI:()=>a.gI,dO:()=>a.dO,Bk:()=>a.Bk,bR:()=>a.bR,KP:()=>a.KP,$m:()=>a.$m,t1:()=>a.t1,be:()=>a.be,Mf:()=>a.Mf,uz:()=>a.uz,CE:()=>a.CE,x0:()=>a.x0,dp:()=>a.dp,ZW:()=>a.ZW,Hn:()=>a.Hn,AA:()=>a.AA,P0:()=>a.P0,_e:()=>a._e,$L:()=>a.$L,Bi:()=>a.Bi,KA:()=>p,AR:()=>c,p7:()=>y,FH:()=>v,un:()=>g,D1:()=>k,cj:()=>h,Ag:()=>f,ry:()=>w,Mw:()=>b,Pl:()=>m,hk:()=>a.hk,dA:()=>a.dA,PH:()=>a.PH,Wy:()=>a.Wy,a5:()=>a.a5,bj:()=>a.bj,$A:()=>a.$A,BN:()=>a.BN,ok:()=>a.ok,Tz:()=>a.Tz,kL:()=>a.kL,eR:()=>a.eR,Me:()=>a.Me,zo:()=>a.zo,Pq:()=>a.Pq,ZS:()=>a.ZS,xt:()=>a.xt,h_:()=>a.h_,kx:()=>a.kx,$E:()=>a.$E,mI:()=>a.mI,I7:()=>a.I7,ek:()=>a.ek,L1:()=>a.L1,U0:()=>a.U0,gt:()=>a.gt,WW:()=>a.WW,CD:()=>a.CD,Rs:()=>a.Rs,O:()=>a.O,Bd:()=>a.Bd,ZF:()=>a.ZF,t3:()=>a.t3,HA:()=>a.HA,GE:()=>a.GE,sI:()=>a.sI,Rn:()=>a.Rn,__:()=>a.__,dx:()=>a.dx,Ng:()=>a.Ng,PV:()=>a.PV,BQ:()=>a.BQ,_p:()=>a._p,GS:()=>a.GS,ZC:()=>a.ZC,M_:()=>a.M_,Zl:()=>a.Zl,b:()=>a.b,WV:()=>a.WV,yB:()=>a.yB,iw:()=>s,zc:()=>a.zc,F:()=>a.F,Af:()=>d,SW:()=>a.SW,Zh:()=>a.Zh,id:()=>a.id,NL:()=>a.NL,TS:()=>a.TS,v1:()=>a.v1,UM:()=>a.UM,DJ:()=>a.DJ,ou:()=>a.ou,Un:()=>a.Un,eb:()=>a.eb,yh:()=>a.yh,pJ:()=>a.pJ,b6:()=>a.b6,wC:()=>a.wC,Nj:()=>a.Nj,KZ:()=>l,Hp:()=>u,aP:()=>a.aP,OO:()=>a.OO,pn:()=>a.pn,q6:()=>a.q6,Nz:()=>a.Nz,Rh:()=>a.Rh,Dl:()=>a.Dl,_0:()=>C});var a=n(51332),r=(n(41539),n(78783),n(33948),n(60285),n(41637),n(46229),n(17330),n(62062),n(26699),n(32023),n(23157),n(68309),n(27852),n(45241)),o=navigator.userAgent.toLowerCase(),i=new URL(window.location.href),s="web",u=!1,l=!(!i.searchParams.get("id")||!window.location.pathname.includes("index.html")&&!u),c=!!window.opener&&window.name.startsWith("popup-"),d=i.searchParams.get("type")||null,p=window.parent!==window,m="web"===s,f="ionic"===s,v="extension"===s&&!u,g=v&&window.location.href.endsWith("_generated_background_page.html"),h=(0,r.a)("ios"),w=((0,r.a)("android"),(0,r.a)("mobile")),y=o.includes("chrome"),k=o.includes("firefox"),b=!0,C=!1},65656:(e,t,n)=>{"use strict";n.d(t,{Fy:()=>b,U:()=>m,VO:()=>f,VW:()=>d,mk:()=>p,o1:()=>x});var a,r,o=n(62118),i=(n(83710),n(65986)),s=n(61080),u=n(70794),l=n(28243),c=n(51332),d="ak_enAPooFqpTQKkhJmU47J16QZu9HbPQQPwWBVeGnzDbDnv9dxp",p="ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6",m="cb_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDJfUrsdAtW6IZtMvhp0+eVDUiQivrquyBwXrl/ujPLcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUEMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJvjRF",f=1e4,v="ct_T6MWNrowGVC9dyTDksCBrCCSaeK3hzBMMY5hhMKwvwr8wJvM8",g="ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",h="ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu",w={mnemonic:"media view gym mystery all fault truck target envelope kit drop fade",address:"ak_2fxchiLvnj9VADMAXHBiKPsaCEsTFehAspcmWJ3ZzF3pFK1hB5",protocol:c.DJ},y="ak_2ELPCWzcTdiyYuumjaV4D7kE843d1Ts27zH1Y2LBMKDbNtfq1Q",k="ct_ym8eXWR2YfQZcMaXA8GFid9aarfCozGkeMcRHYVCVoBdVMzio",b=(l.Jt,a={},(0,o.Z)(a,c.Zh,{type:c.Zh,app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}}),(0,o.Z)(a,c.SW,{type:c.SW,app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}}),(0,o.Z)(a,c.id,{type:c.id,app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"},message:"test"}),(0,o.Z)(a,c.NL,{type:c.NL,app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"},data:"test"}),(0,o.Z)(a,c.TS,{type:c.TS,app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"},tx:{type:i.Vp[i.Vp.SpendTx],VSN:"1",senderId:w.address,recipientId:y,amount:1e15,fee:1682e10,nonce:190,payload:"ba_Xfbg4g=="}}),(0,o.Z)(a,"base",{type:"sign",action:{params:{returnSigned:!1},method:"transaction.sign"},app:{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}}),a),C=new u.Z(2).exponentiatedBy(256).minus(1).toNumber(),A={amount:1e17,ttl:C,nonce:C,fee:1e16,gas:1579e3,gasPrice:1e9,waitMined:!0,denomination:s.fM.AETTOS,clientTtl:84600,nameTtl:5e4,nameFee:0,deposit:0,options:"",dryRunAccount:{pub:"ak_11111111111111111111111111111111273Yts",amount:1e35},queryFee:3e4,oracleTtl:{type:"delta",value:500},queryTtl:{type:"delta",value:10},responseTtl:{type:"delta",value:10},ctVersion:{abiVersion:i.VQ.Sophia,vmVersion:i.kN.Sophia},abiVersion:i.VQ.Sophia,callData:m},x=(r={},(0,o.Z)(r,i.Vp[i.Vp.ContractCreateTx],Object.assign({ownerId:w.address,code:"cb_+LBGA6DK15BWhAK4E5OWH1kkfhQIx/qEDTVv8hrfY/bk13cN88C4g7hT/iiALJYANwGXQDcAGgaCAAEDP/5E1kQfADcANwAaDoKfAYEKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqgEDP/6LoCthADcAl0ABAoKqLwMRKIAsliVzZXRfYnl0ZXMRRNZEHxFpbml0EYugK2ElZ2V0X2J5dGVzgi8AhTQuMi4wABHX/Rk="},A)),(0,o.Z)(r,i.Vp[i.Vp.ContractCallTx],Object.assign({contractId:k,callerId:w.address},A)),(0,o.Z)(r,i.Vp[i.Vp.SpendTx],Object.assign({senderId:w.address,recipientId:y},A)),r);w.address,w.address,w.address,(new Date).getTime(),w.address,(new Date).getTime(),w.address,(new Date).getTime(),l.ik,(new Date).getTime(),(new Date).getTime(),(new Date).getTime()},87404:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var a=n(95822),r=(n(41539),n(70189),n(78783),n(33948),n(92222),n(89554),n(54747),n(57327),n(26699),n(32023),n(91391)),o=n(6244),i=n(48854),s=3e3,u=function(){var e,t=new Set,n=!1;function u(){return[window.parent].concat((0,a.Z)((0,r.Z)(window.parent.frames.length,(function(e){return window.parent.frames[e]}))))}function l(a){n=!0,clearInterval(e);try{e=(0,i.ID)((function(){return u().filter((function(e){return e!==window})).forEach((function(e){if(!t.has(e)){t.add(e);var n,r=new o.Z({target:e}),s=r.connect;r.connect=function(t){s.call(this,(function(a,r,o){o===e&&(clearInterval(n),t(a,r,o))}),(function(){}))};var l=a.addRpcClient(r);n=(0,i.ID)((function(){u().includes(e)?a.shareWalletInfo(l):clearInterval(n)}),3e3)}}))}),s)}catch(r){(0,i.ac)(r)}}return{initialized:n,init:l}}()},71584:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});n(21703),n(96647);var a=function(){var e={},t={};function n(t,n){e[t]=n}function a(n){if(!e[n])throw new Error("Protocol ".concat(n," is not registered"));return t[n]||(t[n]=new e[n]),t[n]}return{registerAdapter:n,getAdapter:a}}()},84186:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var a=n(62118),r=(n(33948),n(41637),n(69600),n(96647),n(83710),n(41539),n(39714),n(78783),n(46229),n(17330),n(62062),n(57658),n(9697)),o=n(79323),i=n(94308),s="op",u=function(){function e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return[o.Bk,e,"?",new URLSearchParams(Object.assign((0,a.Z)({},s,t),n)).toString()].join("")}var t={transferSend:function(){var e=(0,r.ol)(),t=e.openModal;return t(o.O),!0},addNetwork:function(e,t){return e.push({name:i.Z$,query:t}),!1}};function n(e){var n=e.beforeResolve((function(a,r,o){var i=a.query,u=null===i||void 0===i?void 0:i[s];if(u&&"string"===typeof u&&t[u]){var l=Object.assign({},i);delete l[s];var c=t[u](e,l);c&&o(),n()}else o()}))}return{createUrl:e,init:n}}()},7243:(e,t,n)=>{"use strict";n.d(t,{d:()=>l,x:()=>u});var a=n(55665),r=n(79112),o=n(3383),i=n(90777),s=n(84317),u=(n(68309),n(21703),n(96647),function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.call(this,"Rejected by user"),e.name=e.constructor.name,e}return(0,a.Z)(n)}((0,s.Z)(Error))),l=function(e){(0,o.Z)(n,e);var t=(0,i.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.call(this,"No UserMedia permission"),e.name=e.constructor.name,e}return(0,a.Z)(n)}((0,s.Z)(Error))},36605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(95822),r=n(79112),o=n(55665),i=(n(35666),n(41539),n(82772),n(82526),n(96647),n(83710),n(39714),n(68309),n(26699),n(32023),n(92222),n(36210),n(3843),n(70289)),s=n(43631),u=n(79323),l=n(70780),c=n(9697),d=n(7243),p=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},a=n.background,r=void 0!==a&&a,o=n.app;e.background=r,!r&&o&&(o.config.errorHandler=function(t,n,a){console.error(t,a),t&&t instanceof d.x&&e.write({message:t.toString(),info:a,type:"vue-error"})},o.config.warnHandler=function(e,t,n){console.warn(e,n)}),window.addEventListener("unhandledrejection",(function(n){return p(t,void 0,void 0,regeneratorRuntime.mark((function t(){var a,r,o,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=n.reason||{},r=a.stack,o=a.message,i=a.name,!("string"===typeof a&&a.includes("CompileError: WebAssembly.instantiate()")||"NavigationDuplicated"===i||a&&a instanceof d.x)){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,e.write({message:"string"===typeof a?a:o,stack:r,type:"unhandledrejection"});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](4),console.error("Logger:",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))})),window.onerror=function(t,n,a,r,o){e.write({message:t,stack:"".concat(n," ").concat(a,":").concat(r),type:"window-error",info:o})}}},{key:"write",value:function(t){var n=t.modal,r=void 0===n?!u.Mw:n,o=m(t,["modal"]);return p(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,u,d,p,m,f;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,l.y)();case 2:if(n=t.sent,u=n.saveErrorLog,u){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,e.get();case 8:d=t.sent,p={error:Object.assign({},(0,i.Z)(o,["name"].concat((0,a.Z)(Object.getOwnPropertyNames(o))))),appVersion:"2.1.6",browser:(0,s.qY)(),platform:"web",time:Date.now()},browser.storage.local.set({errorLog:[].concat((0,a.Z)(d),[p])}),!e.background&&r&&o.message&&(m=(0,c.ol)(),f=m.openErrorModal,f(p));case 12:case"end":return t.stop()}}),t)})))}},{key:"get",value:function(){return p(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,browser.storage.local.get("errorLog");case 2:return t=e.sent,n=t.errorLog,a=void 0===n?[]:n,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})))}},{key:"sendLog",value:function(){return p(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.get();case 2:t.sent;case 4:case"end":return t.stop()}}),t)})))}}]),e}()},82475:(e,t,n)=>{"use strict";n.d(t,{qy:()=>u,t8:()=>o,gk:()=>i});var a=n(79323),r=n(35980),o=function(e,t){var n=(0,r.c)().addElement(t.enteringEl).fromTo("opacity",0,1).fromTo("transform","translateY(70%)","translateY(0px)").duration(a.WV),o=(0,r.c)().addElement(t.leavingEl).addElement(document.querySelector("#header")).fromTo("opacity",1,0).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(a.WV),i=(0,r.c)().addAnimation(n).addAnimation(o);return i},i=function(e,t){var n=(0,r.c)().addElement(t.enteringEl).addElement(document.querySelector("#header")).fromTo("opacity",0,1).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(a.WV),o=(0,r.c)().addElement(t.leavingEl).fromTo("opacity",1,0).fromTo("transform","translateY(0)","translateY(70%)").duration(a.WV),i=(0,r.c)().addAnimation(n).addAnimation(o);return i},s=100,u=function(e,t){var n=(0,r.c)().addElement(t.enteringEl).fromTo("opacity",0,1).duration(s),a=(0,r.c)().addElement(t.leavingEl).fromTo("opacity",1,0),o=(0,r.c)().addAnimation(n).addAnimation(a);return o}},39564:(e,t,n)=>{"use strict";n(66992),n(88674),n(19601),n(17727),n(92133);var a=n(79323),r=n(71584),o=n(79112),i=n(55665),s=n(3383),u=n(90777),l=(n(35666),n(41539),n(27469)),c=n(17708),d=n(70732),p=n(33907),m=n(78995),f=(0,i.Z)((function e(){(0,o.Z)(this,e)})),v=n(57940),g=n(48854),h=n(28243),w=n(74906),y=n(14838),k=n(34601),b=n(48764)["Buffer"],C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},A=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.protocolName=h.bh,e.networkSettings=[{key:"nodeUrl",testId:"ae-node-url",required:!0,defaultValue:h.yt.nodeUrl,getPlaceholder:function(){return(0,v.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,v.tg)("pages.network.networkUrlLabel")}},{key:"middlewareUrl",testId:"ae-middleware-url",required:!0,defaultValue:h.yt.middlewareUrl,getPlaceholder:function(){return(0,v.tg)("pages.network.networkMiddlewarePlaceholder")},getLabel:function(){return(0,v.tg)("pages.network.networkMiddlewareLabel")}},{key:"backendUrl",required:!0,defaultValue:h.yt.backendUrl,getPlaceholder:function(){return(0,v.tg)("pages.network.backendUrlPlaceholder")},getLabel:function(){return(0,v.tg)("pages.network.backendUrlLabel")}}],e}return(0,i.Z)(n,[{key:"getAccountPrefix",value:function(){return"".concat(l.e.AccountAddress,"_")}},{key:"getExplorer",value:function(){var e=(0,y.C)(),t=e.aeActiveNetworkPredefinedSettings;return new w.T(t.value.explorerUrl)}},{key:"getAmountPrecision",value:function(e){var t=e.highPrecision,n=e.amount;return t||n&&n<.01?9:2}},{key:"getCoinSymbol",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?h.e:h.WJ}},{key:"getCoinGeckoCoinId",value:function(){return h.Jt}},{key:"getDefaultAssetContractId",value:function(){return h.ik}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[a.DJ])||{}),{contractId:h.ik,decimals:h.T3,name:h.Jx,symbol:h.WJ,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return h.Pz[e]}},{key:"fetchBalance",value:function(e){return C(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,p.oR)(),a=(0,m.c)({store:n}),r=a.getAeSdk,t.next=4,r();case 4:return o=t.sent,t.next=7,o.getBalance(e);case 7:return i=t.sent,t.abrupt("return",(0,k.mW)(i));case 9:case"end":return t.stop()}}),t)})))}},{key:"isAccountUsed",value:function(e){return C(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,p.oR)(),a=(0,m.c)({store:n}),r=a.getAeSdk,t.next=4,r();case 4:return o=t.sent,t.abrupt("return",o.api.getAccountByPubkey(e).then((function(){return!0}),(function(){return!1})));case 6:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,c.sO)(e,t);return Object.assign(Object.assign({},n),{address:n.publicKey})}},{key:"discoverAccounts",value:function(e){return C(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,g.cG)(this.isAccountUsed,this.getHdWalletAccountFromMnemonicSeed,e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"constructAndSignTx",value:function(){return C(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))}},{key:"getTransactionByHash",value:function(){return C(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))}},{key:"fetchTransactions",value:function(){return C(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))}},{key:"spend",value:function(e,t,n){return C(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,p.oR)(),o=(0,m.c)({store:r}),i=o.getAeSdk,a.next=4,i();case 4:return s=a.sent,a.abrupt("return",s.spendWithCustomOptions(e,t,{payload:(0,d.cv)(b.from(n.payload),l.e.Bytearray),modal:!1}));case 6:case"end":return a.stop()}}),a)})))}}]),n}(f),x=n(51873),_=(n(33948),n(92222),n(96647),n(83710),n(39714),n(9653),n(24812),n(21249),n(78783),n(21703),n(52262),n(24506),n(70155)),D=n(37786),T=n(17656),S=n(51993),I=n(94277),F=n(3437),E=n(49097),R=function(){function e(t){(0,o.Z)(this,e),this.explorerUrl=t}return(0,i.Z)(e,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),e}(),B=n(66252);function Z(){var e=(0,I.e)(),t=e.activeNetwork,n=e.activeNetworkName,r=(0,B.Fl)((function(){return t.value.protocols[a.ou]})),o=(0,B.Fl)((function(){var e=t.value.type===a.GE?a.Rn:t.value.type;return F.zM[e]||{}}));return{activeNetworkName:n,btcActiveNetworkSettings:r,btcActiveNetworkPredefinedSettings:o}}var U=n(45217),P=function(){function e(t,n){(0,o.Z)(this,e),this.publicKey=n,this.secretKey=t}return(0,i.Z)(e,[{key:"sign",value:function(e){var t=(0,U.ZP)(_);return t.fromPrivateKey(this.secretKey).sign(e)}}]),e}(),M=n(48764)["Buffer"],L=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},O=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.protocolName="Bitcoin",e.bip32=(0,D.GA)(_),e.networkSettings=[{key:"nodeUrl",testId:"url",getPlaceholder:function(){return(0,v.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,v.tg)("pages.network.networkUrlLabel")}}],e}return(0,i.Z)(n,[{key:"getAccountPrefix",value:function(){var e=(0,I.e)(),t=e.activeNetwork;return t.value.type===a.Rn?"tb1q":"bc1q"}},{key:"getExplorer",value:function(){var e=Z(),t=e.btcActiveNetworkPredefinedSettings;return new R(t.value.explorerUrl)}},{key:"getAmountPrecision",value:function(){return F.Uz}},{key:"getCoinSymbol",value:function(){return F.ir}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return F.lT[e]}},{key:"getCoinGeckoCoinId",value:function(){return F.Ah}},{key:"getDefaultAssetContractId",value:function(){return F.Nd}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[a.ou])||{}),{contractId:F.Nd,symbol:F.ir,decimals:F.Uz,name:F.uZ,convertedBalance:t})}},{key:"fetchBalance",value:function(e){return L(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i,s,u,l,c,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.e)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,g.rd)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats,s=i.funded_txo_sum,u=i.spent_txo_sum,l=o.mempool_stats,c=l.funded_txo_sum,d=l.spent_txo_sum,t.abrupt("return",(0,S.toBitcoin)(Number(s)-Number(u)+Number(c)-Number(d)).toString());case 12:case"end":return t.stop()}}),t)})))}},{key:"isAccountUsed",value:function(e){return L(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.e)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,g.rd)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats.funded_txo_sum,t.abrupt("return",!!i);case 7:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,I.e)(),r=n.activeNetwork,o=T.QW[r.value.type]||T.QW.bitcoin,i=r.value.type===a.Rn?1:0,s=this.bip32.fromSeed(M.from(e)),u="m/84'/".concat(i,"'/").concat(t,"'/0/0"),l=s.derivePath(u),c=T.PP.p2wpkh({pubkey:l.publicKey,network:o}),d=c.address;return{secretKey:l.privateKey,publicKey:l.publicKey,address:d}}},{key:"discoverAccounts",value:function(e){return L(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,g.cG)(this.isAccountUsed,this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchTransactions",value:function(e,t){return L(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,r,o,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=(0,I.e)(),r=a.activeNetwork,o=r.value.protocols.bitcoin.nodeUrl,n.next=4,(0,g.rd)(t?"".concat(o,"/address/").concat(e,"/txs/chain/").concat(t):"".concat(o,"/address/").concat(e,"/txs"));case 4:return i=n.sent,n.abrupt("return",i.map((function(t){return(0,E.CG)(t,e)})));case 6:case"end":return n.stop()}}),n)})))}},{key:"getTransactionByHash",value:function(e){return L(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.e)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,g.rd)("".concat(r,"/tx/").concat(e));case 4:return o=t.sent,t.abrupt("return",(0,E.CG)(o));case 6:case"end":return t.stop()}}),t)})))}},{key:"constructAndSignTx",value:function(e,t,n){return L(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i,s,u,l,c,d,p,m,f,v,h,w,y,k,b,C,A,_,D,F,E=this;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,I.e)(),o=r.activeNetwork,i=T.QW[o.value.type]||T.QW.bitcoin,s=o.value.protocols.bitcoin.nodeUrl,u=new T._B({network:i}),a.next=6,(0,g.rd)("".concat(s,"/address/").concat(n.address,"/utxo"));case 6:return l=a.sent,c=l.map((function(e){var t=e.txid,n=e.vout,a=e.value;return L(E,void 0,void 0,regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(s,"/tx/").concat(t,"/hex"));case 2:return r=e.sent,e.t0=t,e.t1=n,e.t2=a,e.next=8,r.text();case 8:return e.t3=e.sent,e.abrupt("return",{txid:e.t0,vout:e.t1,value:e.t2,transactionInHex:e.t3});case 10:case"end":return e.stop()}}),e)})))})),a.next=10,Promise.all(c);case 10:d=a.sent,p=(0,S.toSatoshi)(e),m=(0,S.toSatoshi)(n.fee),f=0,v=!1,h=(0,x.Z)(d),a.prev=16,h.s();case 18:if((w=h.n()).done){a.next=30;break}if(y=w.value,k=y.txid,b=y.vout,C=y.value,A=y.transactionInHex,!v){a.next=22;break}return a.abrupt("break",30);case 22:_=T.YW.fromHex(A),D=_.outs.at(b),F=_.hasWitnesses(),F?u.addInput({hash:k,index:b,witnessUtxo:{script:D.script,value:C}}):u.addInput({hash:k,index:b,nonWitnessUtxo:M.from(A,"hex")}),f+=C,f>=p+m&&(v=!0);case 28:a.next=18;break;case 30:a.next=35;break;case 32:a.prev=32,a.t0=a["catch"](16),h.e(a.t0);case 35:return a.prev=35,h.f(),a.finish(35);case 38:if(v){a.next=40;break}throw new Error("Insufficient balance");case 40:return u.addOutput({address:t,value:p}),f-p-m>0&&u.addOutput({address:n.address,value:f-p-m}),a.next=44,u.signAllInputs(new P(n.secretKey,n.publicKey));case 44:return a.next=46,u.finalizeAllInputs();case 46:return a.abrupt("return",u.extractTransaction());case 47:case"end":return a.stop()}}),a,null,[[16,32,35,38]])})))}},{key:"spend",value:function(e,t,n){return L(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i,s,u,l,c=this;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,I.e)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,a.next=4,this.constructAndSignTx(e,t,n);case 4:return s=a.sent.toHex(),u={method:"POST",headers:new Headers({"Content-Type":"text/plain"}),body:s,redirect:"follow"},a.next=8,fetch("".concat(i,"/tx"),u).then((function(e){return L(c,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(200===e.status){t.next=6;break}return t.t0=Error,t.next=4,e.text();case 4:throw t.t1=t.sent,new t.t0(t.t1);case 6:return t.abrupt("return",e.text());case 7:case"end":return t.stop()}}),t)})))}));case 8:return l=a.sent,a.abrupt("return",{hash:l});case 10:case"end":return a.stop()}}),a,this)})))}}]),n}(f);r.l.registerAdapter(a.DJ,A),r.l.registerAdapter(a.ou,O);var N=n(49963),W=n(51268),H=n(81485),V=n(62118),j=(n(60285),n(41637),n(68309),n(47941),n(32564),n(46229),n(17330),n(62062),n(69826),n(57658),n(38559),n(35137)),q=n(44297),z=n(25934),Y=n(65986),$=n(1471),G=n(65656),K=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function J(e){var t=Object.assign(Object.assign({},G.o1[e]),{tag:Y.Vp[e]});return(0,$.lE)(t)}var Q=function(){var e,t={};return function(n){var r=n.type,o=n.payload;return K(void 0,void 0,void 0,regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a.FH&&browser){n.next=2;break}throw new Error("Supported only in browser extension");case 2:if(e){n.next=7;break}return n.next=5,browser.runtime.connect({name:a.t1.POPUP});case 5:e=n.sent,e.onMessage.addListener((function(e){var n=e.uuid,a=e.res;if(!t[n])throw new Error("Can't find request with id: ".concat(n));t[n].resolve(a),delete t[n]}));case 7:return i=(0,z.Z)(),e.postMessage({type:r,payload:o,uuid:i}),n.abrupt("return",new Promise((function(e,n){t[i]={resolve:e,reject:n}})));case 10:case"end":return n.stop()}}),n)})))}}(),X=function(e){var t=e.type;return K(void 0,void 0,void 0,regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=t,e.next="getProps"===e.t0?3:"resolve"===e.t0||"reject"===e.t0?12:14;break;case 3:return e.next=5,browser.storage.local.get("txType");case 5:if(n=e.sent,r=n.txType,!r){e.next=11;break}return o=G.Fy.base,o.tx=(0,$.vq)(J(r)),e.abrupt("return",o);case 11:return e.abrupt("return",a.Af?G.Fy[a.Af]:{});case 12:return window[t]="send",e.abrupt("break",15);case 14:throw new Error("Unknown type: ".concat(t));case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))};function ee(){return K(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,r,o,i,s,u,l=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.Hp?X:Q,n=!1,r=function(){return K(l,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:"resolve"}));case 1:case"end":return e.stop()}}),e)})))},o=function(){return K(l,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:"reject"}));case 1:case"end":return e.stop()}}),e)})))},i=function(){n||o()},window.addEventListener("beforeunload",i,!0),s=function(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r=a._e)})),(0,B.YP)(k,(function(){Z()})),(0,B.YP)(A,(function(e){return Wt(t,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,Z();case 3:case"end":return t.stop()}}),t)})))})),(0,W.KA)((function(){o(!1),_.value&&I.value&&I.value.addEventListener("scroll",U()),R(),e=setInterval((function(){l.value&&E(!0)}),1e4)})),(0,W.l3)(P),(0,B.Ah)(P),{isOnline:s,loading:A,loadedTransactionList:F,loadMore:R,innerScrollElem:_}}}),Vt=(0,qe.Z)(Ht,[["render",Mt],["__scopeId","data-v-5160cbf9"]]),jt=Vt;function qt(e,t,n,a,r,o){var i=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(i)}var zt=n(7243),Yt=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const $t=(0,B.aZ)({name:"Address",components:{IonPage:W._i},setup:function(){var e=this,t=(0,p.oR)(),n=(0,oe.cn)({store:t}),r=n.nodeNetworkId,o=(0,oe.TW)(),i=o.openCallbackOrGoHome,s=o.callbackOrigin,u=(0,oe.xe)({store:t}),l=u.activeAccount,c=(0,oe.ol)(),d=c.openModal,m=(0,B.Fl)((function(){return s.value?{name:s.value.hostname,url:s.value.origin,host:s.value.host}:{}}));(0,B.bv)((function(){return Yt(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(a.kL,{access:[a.zc],app:m.value});case 3:i(!0,{address:l.value.address,networkId:r.value}),e.next=10;break;case 6:e.prev=6,e.t0=e["catch"](0),i(!1),e.t0 instanceof zt.x&&(0,g.ac)(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))}))}}),Gt=(0,qe.Z)($t,[["render",qt]]),Kt=Gt;function Jt(e,t,n,a,r,o){var i=(0,B.up)("DashboardHeader"),s=(0,B.up)("OpenTransferReceiveModalButton"),u=(0,B.up)("OpenTransferSendModalButton"),l=(0,B.up)("LatestTransactionsCard"),c=(0,B.up)("DashboardCard"),d=(0,B.up)("DashboardWrapper"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(p,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B.Wm)(d,{class:"dashboard"},{header:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),buttons:(0,B.w5)((function(){return[(0,B.Wm)(s,{"is-big":""}),(0,B.Wm)(u,{"is-big":""})]})),cards:(0,B.w5)((function(){return[(0,B.Wm)(l),e.IS_MOBILE_APP||e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(c,{key:0,title:e.$t("dashboard.daeppBrowserCard.title"),description:e.$t("dashboard.daeppBrowserCard.description"),"btn-text":e.$t("dashboard.daeppBrowserCard.button"),background:e.daeppBrowserBackground,icon:e.GlobeIcon,to:{name:e.ROUTE_APPS_BROWSER},"card-id":e.DASHBOARD_CARD_ID.daeppBrowser},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,B.kq)("",!0),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(c,{key:1,title:e.$t("dashboard.buyCard.title"),description:e.$t("dashboard.buyCard.description"),"btn-text":e.$t("dashboard.buyCard.button"),background:e.buyBackground,icon:e.CardIcon,href:e.activeAccountSimplexLink,"card-id":e.DASHBOARD_CARD_ID.buyAe},null,8,["title","description","btn-text","background","icon","href","card-id"])):(0,B.kq)("",!0),(e.isNodeMainnet||e.isNodeTestnet)&&e.activeAccount.protocol===e.PROTOCOL_AETERNITY?((0,B.wg)(),(0,B.j4)(c,{key:2,title:e.$t("dashboard.nameCard.title"),description:e.$t("dashboard.nameCard.description"),"btn-text":e.$t("dashboard.nameCard.button"),background:e.chainNameBackground,icon:e.MenuCardIcon,to:{name:e.ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM},"card-id":e.DASHBOARD_CARD_ID.claimName,variant:"purple"},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,B.kq)("",!0)]})),_:1})]})),_:1})]})),_:1})}var Qt=n(22201);n(82526),n(41817);function Xt(e,t,n,a,r,o){var i=(0,B.up)("BtnMain"),s=(0,B.up)("Card");return(0,B.wg)(),(0,B.j4)(s,{class:"dashboard-card",text:e.title,description:e.description,background:e.background,icon:e.icon,"card-id":e.cardId},{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{class:"card-button",text:e.btnText,href:e.href,to:e.to,variant:e.variant,inline:""},null,8,["text","href","to","variant"])]})),_:1},8,["text","description","background","icon","card-id"])}var en={class:"text"},tn={class:"description"},nn={key:1,class:"card-close"};function an(e,t,n,a,r,o){var i=(0,B.up)("IconWrapper"),s=(0,B.up)("BtnIcon");return(0,B.wg)(),(0,B.j4)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[a.isVisible?((0,B.wg)(),(0,B.iD)("div",{key:0,class:(0,me.C_)(["card",{dense:n.dense,disabled:n.disabled}]),style:(0,me.j5)(a.styleComponent)},[n.icon?((0,B.wg)(),(0,B.j4)(i,{key:0,icon:n.icon,class:"card-icon","is-boxed":""},null,8,["icon"])):(0,B.kq)("",!0),(0,B._)("div",null,[(0,B._)("div",en,(0,me.zw)(n.text),1),(0,B._)("div",tn,(0,me.zw)(n.description),1),(0,B.WI)(e.$slots,"default",{},void 0,!0)]),n.cardId?((0,B.wg)(),(0,B.iD)("div",nn,[(0,B.Wm)(s,{"icon-variant":"light",icon:a.CloseIcon,onClick:t[0]||(t[0]=function(t){return e.$store.commit("hideCard",n.cardId)})},null,8,["icon"])])):(0,B.kq)("",!0)],6)):(0,B.kq)("",!0)]})),_:3})}n(26699),n(32023);var rn=n(32720),on=n(56378),sn={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},un=(0,B._)("path",{fill:"currentColor",opacity:"0.44",d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z"},null,-1),ln=(0,B._)("path",{fill:"currentColor",d:"M27.7783 29.1924C27.5907 29.3799 27.3364 29.4853 27.0712 29.4853C26.806 29.4853 26.5516 29.3799 26.3641 29.1924L20.0001 22.8284L13.6361 29.1924C13.4486 29.3799 13.1943 29.4853 12.929 29.4853C12.6638 29.4853 12.4095 29.3799 12.2219 29.1924L10.8077 27.7782C10.6202 27.5906 10.5148 27.3363 10.5148 27.0711C10.5148 26.8059 10.6202 26.5515 10.8077 26.364L17.1717 20L10.8077 13.636C10.6202 13.4485 10.5148 13.1941 10.5148 12.9289C10.5148 12.6637 10.6202 12.4094 10.8077 12.2218L12.2219 10.8076C12.4095 10.6201 12.6638 10.5147 12.929 10.5147C13.1943 10.5147 13.4486 10.6201 13.6361 10.8076L20.0001 17.1716L26.3641 10.8076C26.5516 10.6201 26.806 10.5147 27.0712 10.5147C27.3364 10.5147 27.5907 10.6201 27.7783 10.8076L29.1925 12.2218C29.38 12.4094 29.4854 12.6637 29.4854 12.9289C29.4854 13.1941 29.38 13.4485 29.1925 13.636L22.8285 20L29.1925 26.364C29.38 26.5515 29.4854 26.8059 29.4854 27.0711C29.4854 27.3363 29.38 27.5906 29.1925 27.7782L27.7783 29.1924Z"},null,-1),cn=[un,ln];function dn(e,t){return(0,B.wg)(),(0,B.iD)("svg",sn,cn)}const pn={},mn=(0,qe.Z)(pn,[["render",dn]]),fn=mn;var vn=n(32412);const gn={name:"Card",components:{BtnIcon:on.Z,IconWrapper:vn.ZP},props:{text:{type:String,required:!0},description:{type:String,required:!0},background:{type:String,default:null},dense:Boolean,disabled:Boolean,cardId:{type:String,default:null},icon:{type:Object,default:null}},setup:function(e){var t=(0,rn.eJ)("hiddenCards"),n=(0,B.Fl)((function(){return{backgroundImage:e.background?'url("'.concat(e.background,'")'):null}})),a=(0,B.Fl)((function(){return!(e.cardId&&t.value.includes(e.cardId))}));return{CloseIcon:fn,styleComponent:n,isVisible:a}}},hn=(0,qe.Z)(gn,[["render",an],["__scopeId","data-v-4304b92e"]]),wn=hn;var yn=n(59882);const kn=(0,B.aZ)({components:{BtnMain:yn.Z,Card:wn},props:{title:{type:String,required:!0},description:{type:String,required:!0},btnText:{type:String,required:!0},background:{type:String,default:null},variant:{type:String,default:"secondary"},href:{type:String,default:null},cardId:{type:String,default:null},to:{type:Object,default:null},icon:{type:Object,default:null}}}),bn=(0,qe.Z)(kn,[["render",Xt],["__scopeId","data-v-6f99b291"]]),Cn=bn;var An={class:"dashboard"},xn={class:"dashboard-cards"},_n={key:0,class:"buttons-row"};function Dn(e,t,n,a,r,o){var i=(0,B.up)("DashboardCard");return(0,B.wg)(),(0,B.iD)("div",An,[(0,B.WI)(e.$slots,"header",{},void 0,!0),(0,B._)("div",xn,[e.$slots.buttons?((0,B.wg)(),(0,B.iD)("div",_n,[(0,B.WI)(e.$slots,"buttons",{},void 0,!0)])):(0,B.kq)("",!0),(0,B.WI)(e.$slots,"widgets",{},void 0,!0),e.backedUpSeed?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(i,{key:1,title:e.$t("dashboard.backUpCard.title"),description:e.$t("dashboard.backUpCard.description"),"btn-text":e.$t("dashboard.backUpCard.button"),icon:e.WarningTriangleIcon,to:{name:"settings-seed-phrase"},"data-cy":"backup-seed-phrase",variant:"danger"},null,8,["title","description","btn-text","icon"])),(0,B.WI)(e.$slots,"cards",{},void 0,!0)])])}var Tn={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Sn=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5414 21.1299C21.0235 21.1299 22 20.0574 22 18.7081C22 18.3102 21.8954 17.895 21.6687 17.5145L14.1011 4.10805C13.6303 3.27775 12.8282 2.87988 12.0087 2.87988C11.1718 2.87988 10.3348 3.29503 9.88141 4.10805L2.33128 17.5145C2.10465 17.895 2 18.3102 2 18.7081C2 20.0574 2.95903 21.1299 4.44117 21.1299H19.5414ZM11.2578 7.89673C11.0889 8.06079 10.9913 8.29675 11.0006 8.58588V8.58643L11.147 13.7902C11.1567 14.0792 11.2426 14.2845 11.3796 14.418C11.5164 14.5513 11.7217 14.6299 12.0053 14.6299C12.2781 14.6299 12.475 14.554 12.6063 14.423C12.7383 14.2913 12.8224 14.0858 12.8322 13.7903L12.9995 8.59631C13.0176 8.03479 12.597 7.62988 11.9948 7.62988C11.6793 7.62988 11.4275 7.73199 11.2578 7.89673ZM13 16.8799C13 17.4322 12.5523 17.8799 12 17.8799C11.4477 17.8799 11 17.4322 11 16.8799C11 16.3276 11.4477 15.8799 12 15.8799C12.5523 15.8799 13 16.3276 13 16.8799Z",fill:"currentColor"},null,-1),In=[Sn];function Fn(e,t){return(0,B.wg)(),(0,B.iD)("svg",Tn,In)}const En={},Rn=(0,qe.Z)(En,[["render",Fn]]),Bn=Rn,Zn=(0,B.aZ)({name:"DashboardWrapper",components:{DashboardCard:Cn},setup:function(){var e=(0,rn.eJ)("backedUpSeed");return{backedUpSeed:e,WarningTriangleIcon:Bn}}}),Un=(0,qe.Z)(Zn,[["render",Dn],["__scopeId","data-v-fda567da"]]),Pn=Un;var Mn={class:"dashboard-header"};function Ln(e,t,n,a,r,o){var i=(0,B.up)("TotalWalletAmount"),s=(0,B.up)("AccountCard"),u=(0,B.up)("AccountSwiper");return(0,B.wg)(),(0,B.iD)("div",Mn,[e.accounts.length>1?((0,B.wg)(),(0,B.j4)(i,{key:0,"total-balance":e.accountsTotalBalance},null,8,["total-balance"])):(0,B.kq)("",!0),(0,B.Wm)(u,{"active-idx":e.activeIdx,"address-list":e.accountsAddressList,to:{name:e.ROUTE_ACCOUNT_DETAILS},onSelectAccount:t[0]||(t[0]=function(t){return e.setActiveAccountByGlobalIdx(t)})},{slide:(0,B.w5)((function(t){var n=t.index;return[(0,B.Wm)(s,{account:e.accounts[n],selected:n===e.activeIdx},null,8,["account","selected"])]})),_:1},8,["active-idx","address-list","to"])])}function On(e,t,n,a,r,o){var i=(0,B.up)("AccountInfo"),s=(0,B.up)("BalanceInfo"),u=(0,B.up)("AccountCardTotalTokens"),l=(0,B.up)("AccountCardBase");return(0,B.wg)(),(0,B.j4)(l,{class:"account-card",selected:e.selected},{top:(0,B.w5)((function(){return[(0,B.Wm)(i,{address:e.account.address,name:e.account.name,idx:e.account.idx,protocol:e.account.protocol,"avatar-borderless":"","with-protocol-icon":""},null,8,["address","name","idx","protocol"])]})),middle:(0,B.w5)((function(){return[(0,B.Wm)(s,{balance:e.numericBalance,protocol:e.account.protocol},null,8,["balance","protocol"])]})),bottom:(0,B.w5)((function(){return[e.account.protocol===e.PROTOCOL_AETERNITY?((0,B.wg)(),(0,B.j4)(u,{key:0,"current-account":e.account},null,8,["current-account"])):(0,B.kq)("",!0)]})),_:1},8,["selected"])}var Nn={key:0,class:"account-card-total-tokens"},Wn={class:"total-tokens"},Hn={class:"digit"},Vn={class:"wording"};function jn(e,t,n,a,r,o){return e.isOnline?((0,B.wg)(),(0,B.iD)("div",Nn,[(0,B._)("div",Wn,[(0,B._)("span",Hn,(0,me.zw)(e.totalTokens),1),(0,B._)("span",Vn,(0,me.zw)(e.$t("pages.fungible-tokens.tokens")),1)])])):(0,B.kq)("",!0)}const qn=(0,B.aZ)({props:{currentAccount:{type:Object,required:!0}},setup:function(e){var t=(0,oe.Rc)(),n=t.isOnline,a=(0,rn.X_)("fungibleTokens/getTokenBalance"),r=(0,B.Fl)((function(){return a.value(e.currentAccount.address).length}));return{isOnline:n,totalTokens:r}}}),zn=(0,qe.Z)(qn,[["render",jn],["__scopeId","data-v-69d54f08"]]),Yn=zn;var $n={class:"top"},Gn={class:"middle"},Kn={class:"bottom"};function Jn(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("div",{class:(0,me.C_)(["account-card-base",{selected:e.selected}]),"data-cy":"account-card-base"},[(0,B._)("div",$n,[(0,B.WI)(e.$slots,"top",{},void 0,!0)]),(0,B._)("div",Gn,[(0,B.WI)(e.$slots,"middle",{},void 0,!0)]),(0,B._)("div",Kn,[(0,B.WI)(e.$slots,"bottom",{},void 0,!0)])],2)}const Qn=(0,B.aZ)({props:{selected:Boolean}}),Xn=(0,qe.Z)(Qn,[["render",Jn],["__scopeId","data-v-59d429d0"]]),ea=Xn,ta=(0,B.aZ)({components:{AccountCardBase:ea,AccountCardTotalTokens:Yn,AccountInfo:bt.Z,BalanceInfo:Ct.Z},props:{account:{type:Object,required:!0},selected:Boolean},setup:function(){var e=(0,p.oR)(),t=(0,oe.ln)({store:e}),n=t.balance,r=(0,B.Fl)((function(){return n.value.toNumber()}));return{PROTOCOL_AETERNITY:a.DJ,numericBalance:r}}}),na=(0,qe.Z)(ta,[["render",On]]),aa=na;var ra={class:"total-amount"},oa={class:"label"};function ia(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("div",ra,[(0,B._)("span",null,(0,me.zw)(e.totalAmount),1),(0,B._)("span",oa,(0,me.zw)(e.isMultisig?e.$t("common.totalMultisig"):e.$t("common.total")),1)])}const sa=(0,B.aZ)({props:{totalBalance:{type:String,default:"0"},isMultisig:Boolean},setup:function(e){var t=(0,p.oR)(),n=(0,oe.jg)({store:t}),a=n.formatCurrency,r=(0,B.Fl)((function(){return a(+e.totalBalance)}));return{totalAmount:r}}}),ua=(0,qe.Z)(sa,[["render",ia],["__scopeId","data-v-309719d4"]]),la=ua;var ca={class:"account-swiper"},da={class:"account-swiper-bottom"};function pa(e,t,n,a,r,o){var i=(0,B.up)("AccountSwiperSlide"),s=(0,B.up)("SwiperSlide"),u=(0,B.up)("AccountCardAdd"),l=(0,B.up)("Swiper"),c=(0,B.up)("BulletSwitcher"),d=(0,B.up)("ToggleMultisigButton");return(0,B.wg)(),(0,B.iD)("div",ca,[(0,B.Wm)(l,{ref:"customSwiper",class:"swiper","slides-per-view":1.1,"space-between":8,"centered-slides":!0,virtual:"",onSlideChange:e.onSlideChange},{default:(0,B.w5)((function(){return[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.addressList,(function(n,a){return(0,B.wg)(),(0,B.j4)(s,{key:n,"swiper-ref":e.customSwiper,"virtual-index":a,class:"account-swiper-slide"},{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{idx:a,active:a===e.activeIdx,to:e.to,address:n,onSlide:t[0]||(t[0]=function(t){return e.setCurrentSlide(t)})},{default:(0,B.w5)((function(){return[(0,B.WI)(e.$slots,"slide",{index:a},void 0,!0)]})),_:2},1032,["idx","active","to","address"])]})),_:2},1032,["swiper-ref","virtual-index"])})),128)),(0,B.Wm)(s,{class:"account-swiper-slide","virtual-index":e.addressList.length,"swiper-ref":e.customSwiper},{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{"hide-next":"",idx:e.addressList.length,onSlide:t[1]||(t[1]=function(t){return e.setCurrentSlide(t)})},{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{"is-multisig":e.isMultisig},null,8,["is-multisig"])]})),_:1},8,["idx"])]})),_:1},8,["virtual-index","swiper-ref"])]})),_:3},8,["onSlideChange"]),(0,B._)("div",da,[e.addressList?((0,B.wg)(),(0,B.j4)(c,{key:0,"active-color":e.getAccountColor(e.currentIdx),"current-idx":e.currentIdx,"options-size":e.addressList.length,onChange:e.setCurrentSlide},null,8,["active-color","current-idx","options-size","onChange"])):(0,B.kq)("",!0),(0,B.Wm)(d,{"is-multisig":e.isMultisig},null,8,["is-multisig"])])])}var ma=n(78424),fa=n(78592),va=n(98918),ga={class:"wrapper"},ha={class:"title"},wa={class:"description"};function ya(e,t,n,a,r,o){var i=(0,B.up)("PlusCircle"),s=(0,B.up)("BtnBase");return(0,B.wg)(),(0,B.j4)(s,{class:"account-card-add",onClick:t[0]||(t[0]=function(t){return e.openCreateAccountModal()})},{default:(0,B.w5)((function(){return[(0,B._)("div",ga,[(0,B._)("span",ha,[(0,B.Wm)(i),(0,B.Uk)(" "+(0,me.zw)(e.isMultisig?e.$t("pages.vaults.addVault"):e.$t("pages.accounts.addAccount")),1)]),(0,B._)("span",wa,(0,me.zw)(e.isMultisig?e.$t("pages.vaults.addVaultDescription"):e.$t("pages.accounts.addAccountDescription")),1)])]})),_:1})}var ka=n(43625);const ba=(0,B.aZ)({components:{BtnBase:Ke.ZP,PlusCircle:ka.Z},props:{isMultisig:Boolean},setup:function(e){var t=(0,oe.ol)(),n=t.openModal;function r(){e.isMultisig?n(a.a5,{isMultisig:e.isMultisig}):n(a.dA)}return{openCreateAccountModal:r}}}),Ca=(0,qe.Z)(ba,[["render",ya],["__scopeId","data-v-5760049e"]]),Aa=Ca;function xa(e,t,n,a,r,o){var i=(0,B.up)("ChevronIcon"),s=(0,B.up)("BtnPlain");return(0,B.wg)(),(0,B.j4)((0,B.LL)(e.to?"BtnBase":"div"),{to:e.to,disabled:!e.active,"bg-color":e.color,class:"account-swiper-slide-card"},{default:(0,B.w5)((function(){return[(0,B.WI)(e.$slots,"default",{},void 0,!0),e.IS_MOBILE_APP?(0,B.kq)("",!0):((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[0!==e.idx?((0,B.wg)(),(0,B.j4)(s,{key:0,class:"swiper-button prev",onClick:t[0]||(t[0]=(0,N.iM)((function(t){return e.$emit("slide",e.idx-1)}),["prevent"]))},{default:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),_:1})):(0,B.kq)("",!0),e.hideNext?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(s,{key:1,class:"swiper-button next",onClick:t[1]||(t[1]=(0,N.iM)((function(t){return e.$emit("slide",e.idx+1)}),["prevent"]))},{default:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),_:1}))],64))]})),_:3},8,["to","disabled","bg-color"])}var _a=n(85721),Da={viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Ta=(0,B._)("path",{d:"M2 20L9.40945 11.6644C9.74624 11.2855 9.74624 10.7145 9.40945 10.3356L2 2",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},null,-1),Sa=[Ta];function Ia(e,t){return(0,B.wg)(),(0,B.iD)("svg",Da,Sa)}const Fa={},Ea=(0,qe.Z)(Fa,[["render",Ia]]),Ra=Ea,Ba=(0,B.aZ)({components:{BtnBase:Ke.ZP,BtnPlain:_a.Z,ChevronIcon:Ra},props:{idx:{type:Number,default:-1},address:{type:String,default:""},to:{type:Object,default:null},active:Boolean,hideNext:Boolean},emits:["slide"],setup:function(e){var t=(0,B.Fl)((function(){return(0,g.BR)(e.address)}));return{color:t,IS_MOBILE_APP:a.Ag}}}),Za=(0,qe.Z)(Ba,[["render",xa],["__scopeId","data-v-f8a55348"]]),Ua=Za;var Pa=function(e){return(0,B.dD)("data-v-319569fc"),e=e(),(0,B.Cn)(),e},Ma={class:"bullet-switcher-container"},La=["onClick"],Oa=Pa((function(){return(0,B._)("span",{class:"bullet"},null,-1)})),Na=[Oa];function Wa(e,t,n,a,r,o){var i=(0,B.up)("PlusCircleIcon");return(0,B.wg)(),(0,B.iD)("div",{class:"bullet-switcher",style:(0,me.j5)({"--active-color":e.activeColor,"--bullet-size":"".concat(e.BULLET_SIZE,"px")})},[(0,B._)("div",Ma,[(0,B._)("div",{class:"bullet-switcher-track",style:(0,me.j5)({"--translate-x-value":"".concat(e.translateXValue,"px")})},[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.optionsSize,(function(t,n){return(0,B.wg)(),(0,B.iD)("a",{key:n,class:(0,me.C_)([{medium:e.isMedium(n),small:e.isSmall(n),active:n===e.currentIdx},"bullet-link"]),onClick:function(t){return e.$emit("change",n)}},Na,10,La)})),128))],4)]),(0,B.Wm)(i,{class:(0,me.C_)(["add-icon",{active:e.currentIdx===e.optionsSize}]),onClick:t[0]||(t[0]=function(t){return e.$emit("change",e.optionsSize)})},null,8,["class"])],4)}var Ha=16,Va=3,ja=5;const qa=(0,B.aZ)({components:{PlusCircleIcon:ka.Z},props:{activeColor:{type:String,required:!0},currentIdx:{type:Number,required:!0},optionsSize:{type:Number,required:!0}},setup:function(e){var t=(0,B.Fl)((function(){return e.optionsSize>ja})),n=(0,B.Fl)((function(){var n;return n=e.currentIdx=e.optionsSize-1?e.optionsSize-5:e.currentIdx-Va,-n*Ha}));function a(t){return Math.abs(e.currentIdx-t)-(0===e.currentIdx?1:0)}function r(e){return!!t.value&&2===a(e)}function o(e){return!!t.value&&a(e)>2}return{BULLET_SIZE:Ha,translateXValue:n,isMedium:r,isSmall:o}}}),za=(0,qe.Z)(qa,[["render",Wa],["__scopeId","data-v-319569fc"]]),Ya=za;var $a={class:"text"},Ga={key:0,class:"has-pending"},Ka={class:"text"};function Ja(e,t,n,a,r,o){var i=(0,B.up)("ArrowBackIcon"),s=(0,B.up)("PendingIcon"),u=(0,B.up)("BtnPlain");return e.multisigAccounts.length?((0,B.wg)(),(0,B.j4)(u,{key:0,class:"multisig-button",onClick:t[0]||(t[0]=function(t){return e.toggleMultisigDashboard(!e.isMultisig)})},{default:(0,B.w5)((function(){return[e.isMultisig?((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Wm)(i,{class:"icon-back"}),(0,B._)("span",$a,(0,me.zw)(e.$t("multisig.backToMainAccounts")),1)],64)):((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[e.hasPendingMultisigTransaction?((0,B.wg)(),(0,B.iD)("div",Ga,[(0,B.Wm)(s,{class:"icon-pending"}),(0,B._)("span",null,(0,me.zw)(e.$t("common.tx")),1)])):(0,B.kq)("",!0),(0,B._)("span",Ka,(0,me.zw)(e.$t("multisig.showMultisigVaults")),1)],64))]})),_:1})):(0,B.kq)("",!0)}n(5212);var Qa=n(14201),Xa={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},er=(0,B._)("path",{d:"M3.44995 12.0045C3.44995 12.2753 3.56729 12.5461 3.7749 12.7447L9.73235 18.6931C9.94898 18.9007 10.1837 19 10.4454 19C11.0141 19 11.4293 18.5938 11.4293 18.0432C11.4293 17.7544 11.321 17.5106 11.1314 17.3301L9.1005 15.2721L6.48283 12.8801L8.58599 13.0064H19.526C20.1218 13.0064 20.537 12.5912 20.537 12.0045C20.537 11.4088 20.1218 10.9936 19.526 10.9936H8.58599L6.49186 11.1199L9.1005 8.72792L11.1314 6.66989C11.321 6.48936 11.4293 6.24565 11.4293 5.9568C11.4293 5.40619 11.0141 5 10.4454 5C10.1837 5 9.93996 5.09929 9.70527 5.32495L3.7749 11.2553C3.56729 11.4539 3.44995 11.7247 3.44995 12.0045Z"},null,-1),tr=[er];function nr(e,t){return(0,B.wg)(),(0,B.iD)("svg",Xa,tr)}const ar={},rr=(0,qe.Z)(ar,[["render",nr]]),or=rr,ir=(0,B.aZ)({components:{BtnPlain:_a.Z,PendingIcon:Qa.Z,ArrowBackIcon:or},props:{isMultisig:Boolean},setup:function(){var e=(0,p.oR)(),t=(0,Qt.tv)(),n=(0,oe.Bo)({store:e}),a=n.multisigAccounts,r=(0,B.Fl)((function(){return a.value.some((function(e){return e.hasPendingTransaction}))}));function o(e){t.push({name:e?pe.sn:pe.I})}return{multisigAccounts:a,hasPendingMultisigTransaction:r,toggleMultisigDashboard:o}}}),sr=(0,qe.Z)(ir,[["render",Ja],["__scopeId","data-v-46e4c892"]]),ur=sr;var lr=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};fa.Z.use([va.oM]);const cr=(0,B.aZ)({components:{ToggleMultisigButton:ur,BulletSwitcher:Ya,AccountSwiperSlide:Ua,Swiper:ma.tq,SwiperSlide:ma.o5,AccountCardAdd:Aa},props:{activeIdx:{type:Number,required:!0},to:{type:Object,required:!0},addressList:{type:Array,required:!0},isMultisig:Boolean},setup:function(e,t){var n=t.emit,r=(0,Ze.iH)(),o=(0,Ze.iH)(0),i=(0,B.Fl)((function(){var e;return null===(e=r.value)||void 0===e?void 0:e.$el.swiper}));function s(e,t){return lr(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(e>-1&&o.value!==e)){n.next=4;break}return n.next=3,(0,B.Y3)();case 3:i.value.slideTo(e,t);case 4:case"end":return n.stop()}}),n)})))}function u(){var t=i.value.activeIndex;t=0&&n("selectAccount",t),o.value!==t&&(o.value=t)}function l(t){return(0,g.BR)(e.addressList[t])}return(0,B.bv)((function(){e.activeIdx&&s(e.activeIdx,0),(0,B.YP)((function(){return e.activeIdx}),(function(e){s(e,0)}))})),{IS_MOBILE_APP:a.Ag,PROTOCOL_AETERNITY:a.DJ,currentIdx:o,customSwiper:r,getAccountColor:l,onSlideChange:u,setCurrentSlide:s}}}),dr=(0,qe.Z)(cr,[["render",pa],["__scopeId","data-v-7b471baa"]]),pr=dr,mr=(0,B.aZ)({components:{AccountSwiper:pr,TotalWalletAmount:la,AccountCard:aa},setup:function(){var e=(0,p.oR)(),t=(0,oe.xe)({store:e}),n=t.accounts,a=t.accountsAddressList,r=t.activeIdx,o=t.setActiveAccountByGlobalIdx,i=(0,oe.ln)({store:e}),s=i.accountsTotalBalance;return{ROUTE_ACCOUNT_DETAILS:pe.ID,accounts:n,accountsAddressList:a,activeIdx:r,accountsTotalBalance:s,setActiveAccountByGlobalIdx:o}}}),fr=(0,qe.Z)(mr,[["render",Ln]]),vr=fr;var gr={key:0,ref:"latestTransactionCard",class:"latest-transaction-card"},hr={class:"title"},wr={key:1};function yr(e,t,n,a,r,o){var i=(0,B.up)("AnimatedSpinner"),s=(0,B.up)("TransactionListItem");return e.showWidget?((0,B.wg)(),(0,B.iD)("div",gr,[(0,B._)("div",hr,(0,me.zw)(e.$t("dashboard.latestTransactionCard.title")),1),(0,B.Wm)(N.uT,{name:"page-transition"},{default:(0,B.w5)((function(){return[e.isLoading?((0,B.wg)(),(0,B.j4)(i,{key:0,class:"spinner"})):((0,B.wg)(),(0,B.iD)("div",wr,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.latestTransactions,(function(e){return(0,B.wg)(),(0,B.j4)(s,{key:"".concat(e.transactionOwner,"-").concat(e.hash),class:"transaction-item",transaction:e,"show-transaction-owner":""},null,8,["transaction"])})),128))]))]})),_:1})],512)):(0,B.kq)("",!0)}var kr=n(13338),br=n(3464);const Cr=(0,B.aZ)({name:"LatestTransactionsCard",components:{TransactionListItem:kr.Z,AnimatedSpinner:br.Z},setup:function(){var e=(0,p.oR)(),t=(0,Qt.yj)(),n=(0,Ze.iH)(null),a=(0,oe.Rc)(),r=a.isOnline,o=(0,oe.Sj)(),i=o.viewportElement,s=(0,oe.i9)({store:e}),u=s.isTransactionListLoading,l=s.latestTransactions,c=(0,B.Fl)((function(){return t.query})),d=(0,B.Fl)((function(){return u.value&&!l.value.length})),m=(0,B.Fl)((function(){return r.value&&(u.value||l.value.length)}));function f(e){e&&i.value&&n.value&&i.value.scrollTo({top:n.value.getBoundingClientRect().x+50})}return(0,B.YP)(c,(function(e){f(e.latestTxHash)})),(0,B.bv)((function(){f(c.value.latestTxHash)})),{latestTransactionCard:n,latestTransactions:l,showWidget:m,isLoading:d}}}),Ar=(0,qe.Z)(Cr,[["render",yr],["__scopeId","data-v-40f750de"]]),xr=Ar;var _r=n(40633),Dr=n(6299),Tr={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",class:"icon"},Sr=(0,B._)("path",{d:"M5.23248,1.12932L12.7184,2.45348c.7945.14124,1.4566.36193,2.0039.66208l-.0088-.58263c-.0354-1.915617-1.3683-2.8337-3.5488-2.44528L5.23248,1.12932ZM2.54886,18.2286l9.73694,1.7126c1.845.3266,2.9838-.7239,2.9838-2.7366v-10.65506c0-1.84499-.9004-2.56004-2.7719-2.88666L3.06086,1.99444c-1.38595-.23835-2.330513.54731-2.330513,1.92444v12.19992c0,1.1829.626763,1.8979,1.818513,2.1098ZM4.30557,7.26458c-.34428-.05296-.53849-.31779-.53849-.6709c0-.42373.33545-.70622.80332-.62677l6.7885,1.19174c.362.07062.5562.28249.5562.67091c0,.42373-.309.71504-.7769.64442L4.30557,7.26458Zm0,3.61932c-.33545-.0617-.53849-.3177-.53849-.6709c0-.41486.33545-.69735.80332-.6179l6.7885,1.1917c.362.0707.5562.2825.5562.6533c0,.4414-.309.7327-.7769.6621L4.30557,10.8839Z",transform:"translate(2 0)",fill:"currentColor"},null,-1),Ir=[Sr];function Fr(e,t){return(0,B.wg)(),(0,B.iD)("svg",Tr,Ir)}const Er={},Rr=(0,qe.Z)(Er,[["render",Fr]]),Br=Rr,Zr=n.p+"img/buy-ae.491af327.jpg",Ur=n.p+"img/chain-name.e356e1bc.jpg",Pr=n.p+"img/aepp-browser.7a171f36.jpg";var Mr=n(92350);const Lr=(0,B.aZ)({name:"Dashboard",components:{DashboardCard:Cn,LatestTransactionsCard:xr,OpenTransferReceiveModalButton:xt.Z,OpenTransferSendModalButton:_t.Z,DashboardHeader:vr,DashboardWrapper:Pn,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,Qt.yj)(),n=(0,oe.xe)({store:e}),r=n.activeAccount,o=n.activeAccountSimplexLink,i=(0,oe.TW)(),s=i.checkIfOpenTransferSendModal,u=(0,oe.cn)({store:e}),l=u.isNodeMainnet,c=u.isNodeTestnet;return(0,B.YP)((function(){return t.query}),(function(){return s(t)}),{deep:!0,immediate:!0}),{PROTOCOL_AETERNITY:a.DJ,DASHBOARD_CARD_ID:a.uz,UNFINISHED_FEATURES:a._0,ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM:pe.eW,ROUTE_APPS_BROWSER:pe.gs,ArrowSendIcon:Dr.Z,ArrowReceiveIcon:_r.Z,CardIcon:Dt.Z,MenuCardIcon:Br,activeAccount:r,GlobeIcon:Mr.Z,activeAccountSimplexLink:o,buyBackground:Zr,chainNameBackground:Ur,daeppBrowserBackground:Pr,IS_MOBILE_APP:a.Ag,isNodeMainnet:l,isNodeTestnet:c}}}),Or=(0,qe.Z)(Lr,[["render",Jt]]),Nr=Or;function Wr(e,t,n,a,r,o){var i=(0,B.up)("DashboardHeaderMultisig"),s=(0,B.up)("OpenTransferReceiveModalButton"),u=(0,B.up)("OpenTransferSendModalButton"),l=(0,B.up)("PendingMultisigTransactionCard"),c=(0,B.up)("DashboardWrapper"),d=(0,B.up)("IonContent"),p=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(p,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(d,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B.Wm)(c,null,{header:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),buttons:(0,B.w5)((function(){return[(0,B.Wm)(s,{"is-multisig":"","is-big":""}),(0,B.Wm)(u,{"is-multisig":"","is-big":""})]})),widgets:(0,B.w5)((function(){return[(0,B.Wm)(l)]})),_:1})]})),_:1})]})),_:1})}var Hr={key:0,class:"pending-multisig-transaction-card"},Vr={class:"title"};function jr(e,t,n,a,r,o){var i=(0,B.up)("TransactionListItem");return e.pendingMultisigTransaction&&e.pendingMultisigTransaction.tx?((0,B.wg)(),(0,B.iD)("div",Hr,[(0,B._)("div",Vr,(0,me.zw)(e.$t("dashboard.pendingMultisigCard.title")),1),(0,B.Wm)(i,{"multisig-transaction":e.pendingMultisigTransaction},null,8,["multisig-transaction"])])):(0,B.kq)("",!0)}const qr=(0,B.aZ)({components:{TransactionListItem:kr.Z},setup:function(){var e=(0,p.oR)(),t=(0,oe.cX)({store:e}),n=t.pendingMultisigTransaction;return{pendingMultisigTransaction:n}}}),zr=(0,qe.Z)(qr,[["render",jr],["__scopeId","data-v-10692ff9"]]),Yr=zr;var $r={class:"dashboard-header-multisig"};function Gr(e,t,n,a,r,o){var i=(0,B.up)("TotalWalletAmount"),s=(0,B.up)("AccountCardMultisig"),u=(0,B.up)("AccountSwiper");return(0,B.wg)(),(0,B.iD)("div",$r,[e.addressList.length>1?((0,B.wg)(),(0,B.j4)(i,{key:0,"total-balance":e.multisigBalancesTotal,"is-multisig":""},null,8,["total-balance"])):(0,B.kq)("",!0),(0,B.Wm)(u,{"active-idx":e.multisigAccountIdx,"address-list":e.addressList,to:{name:e.ROUTE_MULTISIG_DETAILS},"is-multisig":"",onSelectAccount:t[0]||(t[0]=function(t){return e.selectAccount(t)})},{slide:(0,B.w5)((function(t){var n=t.index;return[(0,B.Wm)(s,{account:e.multisigAccounts[n],selected:n===e.multisigAccountIdx},null,8,["account","selected"])]})),_:1},8,["active-idx","address-list","to"])])}n(34553),n(56977),n(85827);var Kr=n(70794);function Jr(e,t,n,a,r,o){var i=(0,B.up)("AccountInfo"),s=(0,B.up)("BalanceInfo"),u=(0,B.up)("AccountCardSyncing"),l=(0,B.up)("AccountCardConsensus"),c=(0,B.up)("AccountCardBase");return(0,B.wg)(),(0,B.j4)(c,{selected:e.selected},{top:(0,B.w5)((function(){return[(0,B.Wm)(i,{address:e.account.gaAccountId,protocol:e.PROTOCOL_AETERNITY,"is-multisig":"","avatar-borderless":"","with-protocol-icon":""},null,8,["address","protocol"])]})),middle:(0,B.w5)((function(){return[(0,B.Wm)(s,{balance:+e.account.balance,protocol:e.PROTOCOL_AETERNITY},null,8,["balance","protocol"])]})),bottom:(0,B.w5)((function(){return[e.isPendingAccount?((0,B.wg)(),(0,B.j4)(u,{key:0})):((0,B.wg)(),(0,B.j4)(l,{key:1,"multisig-account":e.account},null,8,["multisig-account"]))]})),_:1},8,["selected"])}var Qr={key:0,class:"account-card-consensus"},Xr={class:"consensus-row"},eo={key:0,class:"consensus-row"};function to(e,t,n,a,r,o){var i=(0,B.up)("PendingIcon"),s=(0,B.up)("ConsensusLabel"),u=(0,B.up)("CheckCircleFillIcon");return e.isOnline&&e.multisigAccount.hasPendingTransaction?((0,B.wg)(),(0,B.iD)("div",Qr,[(0,B._)("div",Xr,[(0,B.Wm)(i,{class:"icon pending"}),(0,B.Uk)(" "+(0,me.zw)(e.$t("multisig.consensus"))+" ",1),(0,B.Wm)(s,{"confirmations-required":e.multisigAccount.confirmationsRequired,"has-pending-transaction":e.multisigAccount.hasPendingTransaction,"confirmed-by":e.multisigAccount.confirmedBy,signers:e.multisigAccount.signers,class:"highlighted"},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]),e.transactionMessage?((0,B.wg)(),(0,B.iD)("div",eo,[(0,B.Wm)(u,{class:"icon check-circle"}),(0,B.Uk)(" "+(0,me.zw)(e.transactionMessage),1)])):(0,B.kq)("",!0)])):(0,B.kq)("",!0)}n(57327),n(26541);var no=n(79150),ao=n(83477),ro={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},oo=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),io=[oo];function so(e,t){return(0,B.wg)(),(0,B.iD)("svg",ro,io)}const uo={},lo=(0,qe.Z)(uo,[["render",so]]),co=lo,po=(0,B.aZ)({components:{ConsensusLabel:ao.Z,PendingIcon:Qa.Z,CheckCircleFillIcon:co},props:{multisigAccount:{type:Object,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,no.QT)(),a=n.t,r=(0,oe.Rc)(),o=r.isOnline,i=(0,oe.xe)({store:t}),s=i.isLocalAccountAddress,u=(0,B.Fl)((function(){var t=e.multisigAccount.signers.filter((function(e){return s(e)}));return t.every((function(t){return e.multisigAccount.confirmedBy.includes(t)}))})),l=(0,B.Fl)((function(){var t=e.multisigAccount,n=t.confirmedBy,r=t.confirmationsRequired,o=t.signers;return n.length===r?a("multisig.transactionReady"):u.value?a("multisig.transactionSigned"):o.some((function(e){return s(e)}))?a("multisig.signatureRequested"):null}));return{isOnline:o,transactionMessage:l}}}),mo=(0,qe.Z)(po,[["render",to],["__scopeId","data-v-8e7ff3aa"]]),fo=mo;var vo={class:"account-card-syncing"},go={class:"message"};function ho(e,t,n,a,r,o){var i=(0,B.up)("PendingIcon");return(0,B.wg)(),(0,B.iD)("div",vo,[(0,B.Wm)(i,{class:"pending-icon"}),(0,B._)("span",go,(0,me.zw)(e.$t("modals.creatingMultisigAccount.syncing")),1)])}const wo=(0,B.aZ)({components:{PendingIcon:Qa.Z}}),yo=(0,qe.Z)(wo,[["render",ho],["__scopeId","data-v-3538cf80"]]),ko=yo,bo=(0,B.aZ)({components:{AccountCardSyncing:ko,AccountCardBase:ea,AccountCardConsensus:fo,AccountInfo:bt.Z,BalanceInfo:Ct.Z},props:{account:{type:Object,required:!0},selected:Boolean},setup:function(e){var t=(0,p.oR)(),n=(0,oe.Bo)({store:t}),r=n.pendingMultisigAccounts,o=(0,B.Fl)((function(){return!!r.value.find((function(t){var n=t.gaAccountId;return n===e.account.gaAccountId}))}));return{PROTOCOL_AETERNITY:a.DJ,isPendingAccount:o}}}),Co=(0,qe.Z)(bo,[["render",Jr]]),Ao=Co,xo=(0,B.aZ)({components:{AccountCardMultisig:Ao,AccountSwiper:pr,TotalWalletAmount:la},setup:function(){var e=(0,p.oR)(),t=(0,oe.Bo)({store:e}),n=t.multisigAccounts,r=t.activeMultisigAccountId,o=t.setActiveMultisigAccountId,i=(0,oe.jg)({store:e}),s=i.getFiat,u=(0,B.Fl)((function(){return n.value.map((function(e){return e.gaAccountId}))})),l=(0,B.Fl)((function(){return n.value.findIndex((function(e){return e.gaAccountId===r.value}))})),c=(0,B.Fl)((function(){var e=n.value.map((function(e){return e.balance})).reduce((function(e,t){return e.plus(t)}),new Kr.Z(0)).toFixed();return s(+e,a.DJ)}));function d(e){var t=n.value[e];t.gaAccountId&&o(t.gaAccountId)}return{ROUTE_MULTISIG_DETAILS:pe.MZ,multisigAccounts:n,multisigAccountIdx:l,multisigBalancesTotal:c,addressList:u,selectAccount:d}}}),_o=(0,qe.Z)(xo,[["render",Gr]]),Do=_o,To=(0,B.aZ)({name:"DashboardMultisig",components:{OpenTransferSendModalButton:_t.Z,OpenTransferReceiveModalButton:xt.Z,DashboardHeaderMultisig:Do,DashboardWrapper:Pn,PendingMultisigTransactionCard:Yr,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,oe.ol)(),t=e.openModal;function n(){t(a.O,{isMultisig:!0})}return{ArrowSendIcon:Dr.Z,openTransferSendModal:n}}}),So=(0,qe.Z)(To,[["render",Wr]]),Io=So;var Fo={class:"comment-new"},Eo={class:"comment-text"};function Ro(e,t,n,a,r,o){var i=(0,B.up)("AccountSelector"),s=(0,B.up)("BtnMain"),u=(0,B.up)("FixedScreenFooter"),l=(0,B.up)("IonContent"),c=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(c,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(l,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Fo,[(0,B.Wm)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions,onSelect:e.setActiveAccountByAddress},null,8,["modelValue","options","onSelect"]),(0,B._)("div",Eo,(0,me.zw)(e.text),1),(0,B.Wm)(u,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{variant:"muted","extra-padded":"",class:"cancel-button",onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.cancel")),1)]})),_:1}),(0,B.Wm)(s,{disabled:!e.isTippingSupported,onClick:e.sendComment},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"])]})),_:1})])]})),_:1})]})),_:1})}var Bo={class:"account-selector"},Zo={key:0};function Uo(e,t,n,a,r,o){var i=(0,B.up)("Avatar"),s=(0,B.up)("Truncate"),u=(0,B.up)("FormSelect"),l=(0,B.up)("BtnPill"),c=(0,B.up)("AddressTruncated");return(0,B.wg)(),(0,B.iD)("div",Bo,[e.avatarOnly?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(i,{key:0,address:e.modelValue.toString(),size:"lg"},null,8,["address"])),(0,B._)("div",null,[(0,B.Wm)(l,{class:(0,me.C_)(["account-select",{"avatar-only":e.avatarOnly}]),avatar:e.avatarOnly,dense:""},{default:(0,B.w5)((function(){return[(0,B.Wm)(u,(0,B.dG)(e.$attrs,{avatar:e.avatarOnly,"model-value":e.modelValue,options:e.options||e.accountsSelectOptions,unstyled:"","hide-arrow":e.avatarOnly,"default-text":e.$t("modals.createMultisigAccount.selectAccount"),"account-select":"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)})}),{"current-text":(0,B.w5)((function(t){var n=t.text;return[e.avatarOnly?(0,B.kq)("",!0):((0,B.wg)(),(0,B.iD)("div",Zo,[(0,B.Wm)(s,{class:"account-select-text",str:n},null,8,["str"])])),e.avatarOnly?((0,B.wg)(),(0,B.j4)(i,{key:1,address:e.modelValue.toString(),size:"sm"},null,8,["address"])):(0,B.kq)("",!0)]})),_:1},16,["avatar","model-value","options","hide-arrow","default-text"])]})),_:1},8,["class","avatar"]),e.avatarOnly?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(c,(0,B.dG)({key:0},e.$attrs,{"show-explorer-link":"","show-protocol-icon":"",address:e.modelValue.toString(),class:"address-truncated"}),null,16,["address"]))])])}var Po=n(46010),Mo=n(27344),Lo=n(21244),Oo=n(82825),No=n(27338);const Wo=(0,B.aZ)({components:{Avatar:Po.Z,AddressTruncated:Mo.Z,BtnPill:Lo.Z,FormSelect:Oo.Z,Truncate:No.Z},model:{event:"select"},props:{modelValue:{type:[String,Number],default:null},options:{type:Array,default:function(){return null}},avatarOnly:Boolean},emits:["update:modelValue"],setup:function(){var e=(0,p.oR)(),t=(0,oe.xe)({store:e}),n=t.accountsSelectOptions;return{accountsSelectOptions:n}}}),Ho=(0,qe.Z)(Wo,[["render",Uo],["__scopeId","data-v-65cefd72"]]),Vo=Ho;var jo=n(77743),qo=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const zo=(0,B.aZ)({name:"CommentNew",components:{AccountSelector:Vo,BtnMain:yn.Z,FixedScreenFooter:jo.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.tv)(),r=(0,Qt.yj)(),o=(0,no.QT)(),i=o.t,s=(0,oe.bl)(),u=s.setLoaderVisible,l=(0,y.C)(),c=l.aeActiveNetworkSettings,d=(0,oe.cn)({store:t}),m=d.getAeSdk,f=d.fetchRespondChallenge,v=d.isTippingSupported,h=(0,oe.ol)(),w=h.openDefaultModal,k=(0,oe.TW)(),b=k.openCallbackOrGoHome,C=(0,oe.xe)({store:t}),A=C.aeAccountsSelectOptions,x=C.getLastActiveProtocolAccount,_=C.setActiveAccountByAddress,D=(0,Ze.iH)(x(a.DJ).address),T=(0,Ze.iH)(""),S=(0,Ze.iH)(void 0),I=(0,Ze.iH)("");function F(){return qo(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,t=function(e){return qo(r,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,g.uz)("".concat(c.value.backendUrl,"/comment/api/"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},e.next=5,t({tipId:T.value,text:I.value,author:D.value,parentId:S.value});case 5:return n=e.sent,e.next=8,f(n);case 8:a=e.sent,t(a),b(!0),e.next=18;break;case 13:throw e.prev=13,e.t0=e["catch"](1),w({title:i("modals.transaction-failed.msg"),icon:"critical"}),e.t0.payload={id:T,parentId:S,text:I},e.t0;case 18:return e.prev=18,u(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[1,13,18,21]])})))}return(0,B.YP)((function(){return r}),(function(e){var t,a,r=e.query;if(T.value=null!==(t=r.id)&&void 0!==t?t:"",S.value=r.parentId?+r.parentId:void 0,I.value=null!==(a=r.text)&&void 0!==a?a:"",!T.value||!I.value)throw n.push({name:pe.I}),new Error("CommentNew: Invalid arguments")}),{immediate:!0}),function(){qo(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.next=3,m();case 3:u(!1);case 4:case"end":return e.stop()}}),e)})))}(),{creatorAddress:D,aeAccountsSelectOptions:A,id:T,parentId:S,text:I,isTippingSupported:v,sendComment:F,openCallbackOrGoHome:b,setActiveAccountByAddress:_}}}),Yo=(0,qe.Z)(zo,[["render",Ro],["__scopeId","data-v-0a4805ca"]]),$o=Yo;var Go={class:"app-name"},Ko={class:"details"};function Jo(e,t,n,a,r,o){var i=(0,B.up)("AnimatedSpinner"),s=(0,B.up)("TransactionOverview"),u=(0,B.up)("DetailsItem"),l=(0,B.up)("TransactionDetailsPoolTokenRow"),c=(0,B.up)("TokenAmount"),d=(0,B.up)("BtnMain"),p=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(p,{show:"","full-screen":"",class:"confirm-transaction-sign","data-cy":"popup-aex2"},{footer:(0,B.w5)((function(){return[(0,B.Wm)(d,{variant:"muted","data-cy":"deny",third:"","extra-padded":"",text:e.$t("pages.signTransaction.reject"),onClick:t[0]||(t[0]=function(t){return e.cancel()})},null,8,["text"]),(0,B.Wm)(d,{class:"button-action-primary","data-cy":"accept",third:"",disabled:!!e.error||e.verifying,icon:e.verifying?e.AnimatedSpinner:null,text:e.verifying?e.$t("common.verifying"):e.$t("common.confirm"),onClick:t[1]||(t[1]=function(t){var n;return null===(n=e.popupProps)||void 0===n?void 0:n.resolve()})},null,8,["disabled","icon","text"])]})),default:(0,B.w5)((function(){var t;return[e.loading?((0,B.wg)(),(0,B.j4)(i,{key:0,class:"loader"})):((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B.Wm)(s,{transaction:e.completeTransaction,"additional-tag":e.isAeppChatSuperhero?e.$t("modals.confirmTransactionSign.superheroChat"):null},null,8,["transaction","additional-tag"]),e.isAeppChatSuperhero||e.error?((0,B.wg)(),(0,B.iD)("div",{key:0,class:(0,me.C_)(["subtitle",{warning:!!e.error}])},[e.error?((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Uk)((0,me.zw)(e.$t("modals.confirmTransactionSign.unableToExecute")),1)],64)):((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B._)("span",Go,(0,me.zw)(e.$t("modals.confirmTransactionSign.superheroChat")),1),(0,B.Uk)(" "+(0,me.zw)(e.$t("modals.confirmTransactionSign.confirmSigning")),1)],64))],2)):(0,B.kq)("",!0),e.error?((0,B.wg)(),(0,B.j4)(u,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.error,class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,B.kq)("",!0),(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,B.wg)(),(0,B.j4)(u,{key:2,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,B.kq)("",!0),(e.isDex||e.isDexAllowance)&&e.tokenList.length?((0,B.wg)(!0),(0,B.iD)(B.HY,{key:3},(0,B.Ko)(e.tokenList,(function(t,n){return(0,B.wg)(),(0,B.j4)(l,{key:t.contractId,token:t,tokens:t.tokens,label:e.getLabels(t,n),"hide-amount":e.isSwap},null,8,["token","tokens","label","hide-amount"])})),128)):(0,B.kq)("",!0),e.nameAeFee?((0,B.wg)(),(0,B.j4)(u,{key:4,label:e.$t("modals.confirmTransactionSign.nameFee"),class:"name-fee"},{value:(0,B.w5)((function(){return[(0,B.Wm)(c,{amount:e.nameAeFee,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),(0,B._)("div",Ko,[e.isSwap?((0,B.wg)(),(0,B.j4)(u,{key:0,label:e.swapDirectionTranslation},{default:(0,B.w5)((function(){return[(0,B.Wm)(c,{amount:e.tokenAmount,symbol:e.tokenSymbol,aex9:e.isTransactionAex9(e.transactionWrapped),"hide-fiat":!e.swapTokenAmountData.isAe,protocol:e.PROTOCOL_AETERNITY,"data-cy":"total"},null,8,["amount","symbol","aex9","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),(0,B.Wm)(u,{label:e.$t("transaction.fee")},{default:(0,B.w5)((function(){return[(0,B.Wm)(c,{amount:e.txAeFee,protocol:e.PROTOCOL_AETERNITY,"data-cy":"fee"},null,8,["amount","protocol"])]})),_:1},8,["label"]),"total"===e.swapDirection?((0,B.wg)(),(0,B.j4)(u,{key:1,label:e.$t("common.total")},{default:(0,B.w5)((function(){var t;return[(0,B.Wm)(c,{amount:e.executionCost||e.totalAmount,symbol:e.getTxSymbol(null===(t=e.popupProps)||void 0===t?void 0:t.tx),aex9:e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOL_AETERNITY,"data-cy":"total"},null,8,["amount","symbol","aex9","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0)]),(0,B.Wm)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,B.w5)((function(){var t;return[(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,B.wg)(),(0,B.j4)(u,{key:0,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,B.kq)("",!0),e.transactionArguments?((0,B.wg)(),(0,B.j4)(u,{key:1,label:e.$t("modals.confirmTransactionSign.arguments"),value:e.transactionArguments},null,8,["label","value"])):(0,B.kq)("",!0),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.filteredTxFields,(function(t){var n,a;return(0,B.wg)(),(0,B.j4)(u,{key:t,label:e.getTxKeyLabel(t),value:t===e.PAYLOAD_FIELD?e.decodedPayload:null===(a=null===(n=e.popupProps)||void 0===n?void 0:n.tx)||void 0===a?void 0:a[t],class:(0,me.C_)({"hash-field":e.isHash(t)})},null,8,["label","value","class"])})),128))]})),_:1},8,["label"])],64))]})),_:1})}n(65069),n(79753);var Qo=n(43767),Xo=n(2311),ei=n(23023),ti=n(48244),ni=n(89815),ai=n(1839),ri=n(11362),oi=n(26906),ii=n(74761),si=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},ui="payload",li={callData:function(){return(0,v.tg)("common.callData")},code:function(){return(0,v.tg)("pages.transactionDetails.code")},contractId:function(){return(0,v.tg)("common.contractId")},commitmentId:function(){return(0,v.tg)("modals.confirmTransactionSign.commitmentId")},name:function(){return(0,v.tg)("pages.transactionDetails.name")},nameFee:function(){return(0,v.tg)("modals.confirmTransactionSign.nameFee")},nameSalt:function(){return(0,v.tg)("pages.transactionDetails.nameSalt")},nameId:function(){return(0,v.tg)("pages.transactionDetails.nameId")},nonce:function(){return(0,v.tg)("pages.transactionDetails.nonce")},payload:function(){return(0,v.tg)("pages.transactionDetails.payload")},pointers:function(){return(0,v.tg)("modals.confirmTransactionSign.pointers")},recipientId:function(){return(0,v.tg)("modals.confirmTransactionSign.recipientId")}};const ci=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z,TransactionOverview:ai.Z,DetailsItem:ri.Z,TokenAmount:oi.Z,TransactionDetailsPoolTokenRow:ii.Z,AnimatedSpinner:br.Z},setup:function(){var e,t=this,n=(0,p.oR)(),r=(0,no.QT)(),o=r.t,i=(0,y.C)(),s=i.aeActiveNetworkSettings,u=(0,oe.cn)({store:n}),l=u.getAeSdk,c=(0,oe.xe)({store:n}),m=c.getLastActiveProtocolAccount,f=(0,oe.TW)(),v=f.callbackOrigin,w=m(a.DJ),b=(0,oe.M1)(),C=b.popupProps,A=b.setPopupProps,x=(0,oe.Wj)({store:n,tx:null===(e=C.value)||void 0===e?void 0:e.tx}),_=x.direction,D=x.isDexAllowance,T=x.isDex,S=x.setTransactionTx,I=(0,Ze.iH)(!1),F=(0,Ze.iH)([]),E=(0,Ze.iH)(),R=(0,Ze.iH)(0),Z=(0,Ze.iH)(!1),U=(0,Ze.iH)(""),P=(0,Ze.iH)(!1),M=(0,Ze.iH)(),L=(0,rn.eJ)("fungibleTokens","availableTokens"),O=(0,rn.X_)("getTxSymbol"),N=(0,rn.X_)("getTxAmountTotal"),W=(0,B.Fl)((function(){var e;return(null===(e=v.value)||void 0===e?void 0:e.origin)&&a.OO.includes(v.value.origin)})),H=(0,B.Fl)((function(){var e;return{tx:null===(e=C.value)||void 0===e?void 0:e.tx}})),V=(0,B.Fl)((function(){return(0,k.gJ)(E.value)})),j=(0,B.Fl)((function(){return(0,k.N9)(E.value)})),q=(0,B.Fl)((function(){return(0,k.EQ)(E.value)})),z=(0,B.Fl)((function(){return(0,k.$V)(E.value)})),Y=(0,B.Fl)((function(){var e,t;return(0,k.FH)(null===(t=null===(e=C.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.fee)})),$=(0,B.Fl)((function(){var e,t;return(0,k.FH)(null===(t=null===(e=C.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.nameFee)})),G=(0,B.Fl)((function(){return q.value?"maxSpent":z.value?"minReceived":"total"})),K=(0,B.Fl)((function(){switch(G.value){case"maxSpent":return o("pages.signTransaction.maxSpent");case"minReceived":return o("pages.signTransaction.minReceived");default:return o("common.total")}})),J=(0,B.Fl)((function(){return N.value(H.value,_.value)})),Q=(0,B.Fl)((function(){var e;return{isReceived:_.value===a.Dl.received,amount:J.value,symbol:O.value(null===(e=C.value)||void 0===e?void 0:e.tx)}})),X=(0,B.Fl)((function(){var e,t,n,a;return(null===(t=null===(e=C.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payload)?(0,d.Jx)(null===(a=null===(n=C.value)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.payload).toString():void 0})),ee=(0,B.Fl)((function(){return Object.keys(li).filter((function(e){var t,n;return e===ui?!!X.value:!!(null===(n=null===(t=C.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n[e])}))})),ne=(0,B.Fl)((function(){var e="maxSpent"===G.value?F.value[0]:F.value[1];return e||{}})),ae=(0,B.Fl)((function(){return+(0,g.Yt)(ne.value.amount||0,-(ne.value.decimals||0))})),re=(0,B.Fl)((function(){return ne.value.isAe?h.WJ:ne.value.symbol})),ie=(0,B.Fl)((function(){var e;return{tx:Object.assign(Object.assign({},null===(e=C.value)||void 0===e?void 0:e.tx),{function:E.value})}})),se=(0,B.Fl)((function(){return E.value&&h.Lx[E.value]===h.Y0})),ue=(0,B.Fl)((function(){var e,t;return(null===(t=null===(e=M.value)||void 0===e?void 0:e.args)||void 0===t?void 0:t.length)?ti.Z.stringify(M.value.args):void 0}));function le(e){var t,n;if(!T.value&&!D.value)return[Q.value];var a=(0,Qo.Z)(e["function"]),r=(0,k.U5)(a);if(!r)return[];var o=null===(n=r({tx:Object.assign(Object.assign({},e),null===(t=C.value)||void 0===t?void 0:t.tx)},L.value))||void 0===n?void 0:n.tokens;return j.value?se.value?o.filter((function(e){return!e.isPool})):o.reverse():o}function ce(e){var t=["callData","contractId"];return t.includes(e)}function de(e,t){return D.value?o("pages.signTransaction.approveUseOfToken"):V.value?o(t?"pages.signTransaction.to":"pages.signTransaction.from"):j.value&&se.value?e.isPool?"":o("pages.signTransaction.maximumDeposited"):j.value&&E.value&&h.Lx[E.value]===h.co?e.isPool?o("pages.signTransaction.poolTokenSpent"):o("pages.signTransaction.minimumWithdrawn"):""}function pe(){var e;null===(e=C.value)||void 0===e||e.reject(new zt.x)}function me(){var e,t;return si(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,r,i,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(e=C.value)||void 0===e?void 0:e.txBase64)){n.next=27;break}return n.prev=1,P.value=!0,n.next=5,l();case 5:return a=n.sent,n.next=8,a.getBalance(w.address)["catch"]((function(e){return(0,g.XD)(e)||(0,g.ac)(e),0}));case 8:if(r=n.sent,i=(0,Xo.Pq)(C.value.txBase64).toString(),R.value=(0,k.FH)(i),!new Kr.Z(r).isLessThan(i)){n.next=14;break}return U.value=o("validation.enoughCoin"),n.abrupt("return");case 14:if(!(null===(t=C.value.tx)||void 0===t?void 0:t.contractId)){n.next=19;break}return n.next=17,a.txDryRun(C.value.txBase64,C.value.tx.callerId||C.value.tx.senderId);case 17:s=n.sent,s.callObj&&"ok"!==s.callObj.returnType&&(U.value=(new ei.ContractByteArrayEncoder).decode(s.callObj.returnValue));case 19:n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](1),U.value=n.t0.message;case 24:return n.prev=24,P.value=!1,n.finish(24);case 27:case"end":return n.stop()}}),n,null,[[1,21,24,27]])})))}function fe(){var e,t;return si(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,r,o,i,u,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(t=null===(e=C.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.contractId)||!C.value.tx.callData){n.next=27;break}return n.prev=1,Z.value=!0,setTimeout((function(){Z.value=!1}),2e4),n.next=6,Promise.all([(0,g.rd)("".concat(s.value.nodeUrl,"/v3/contracts/").concat(C.value.tx.contractId,"/code")),l()]);case 6:if(a=n.sent,r=(0,te.Z)(a,1),o=r[0].bytecode,i=new ei.BytecodeContractCallEncoder(o),M.value=i.decodeCall(C.value.tx.callData),M.value){n.next=13;break}return n.abrupt("return");case 13:u={function:M.value.functionName,arguments:M.value.args.map((function(e){return{type:Array.isArray(e)?"list":"any",value:Array.isArray(e)?e.map((function(e){return{value:e}})):e}}))},E.value=u["function"],S(Object.assign(Object.assign({},u),C.value.tx)),c=le(Object.assign(Object.assign({},u),C.value.tx)),F.value=c.map((function(e){return Object.assign(Object.assign({},e),{tokens:e.isPool&&!se.value?c.filter((function(e){return!e.isPool})).reverse():[e]})})),n.next=24;break;case 20:n.prev=20,n.t0=n["catch"](1),F.value=[],E.value=void 0;case 24:return n.prev=24,Z.value=!1,n.finish(24);case 27:case"end":return n.stop()}}),n,null,[[1,20,24,27]])})))}function ve(e){var t=li[e];return t?t():""}return(0,B.bv)((function(){return si(t,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!C.value){e.next=5;break}return e.next=3,Promise.all([me(),fe()]);case 3:e.next=6;break;case 5:U.value=o("modals.transaction-failed.msg");case 6:case"end":return e.stop()}}),e)})))})),(0,B.Ah)((function(){A(null)})),{AE_SYMBOL:h.WJ,AnimatedSpinner:br.Z,PAYLOAD_FIELD:ui,PROTOCOL_AETERNITY:a.DJ,TX_FIELDS_TO_DISPLAY:li,cancel:pe,completeTransaction:ie,decodedCallData:M,decodedPayload:X,error:U,executionCost:R,filteredTxFields:ee,getLabels:de,getTxKeyLabel:ve,getTxSymbol:O,isAeppChatSuperhero:W,isDex:T,isDexAllowance:D,isHash:ce,isSwap:V,isTransactionAex9:k.cU,loading:Z,nameAeFee:$,popupProps:C,showAdvanced:I,swapDirection:G,swapDirectionTranslation:K,swapTokenAmountData:ne,tokenAmount:ae,tokenList:F,tokenSymbol:re,totalAmount:J,transactionArguments:ue,transactionWrapped:H,txAeFee:Y,verifying:P}}}),di=(0,qe.Z)(ci,[["render",Jo],["__scopeId","data-v-3283ef0c"]]),pi=di;var mi=function(e){return(0,B.dD)("data-v-337e8cc6"),e=e(),(0,B.Cn)(),e},fi={class:"warning","data-cy":"warning"},vi={class:"title"},gi=mi((function(){return(0,B._)("br",null,null,-1)}));function hi(e,t,n,a,r,o){var i=(0,B.up)("TransactionInfo"),s=(0,B.up)("Warning"),u=(0,B.up)("i18n-t"),l=(0,B.up)("CopyText"),c=(0,B.up)("DetailsItem"),d=(0,B.up)("BtnMain"),p=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(p,{show:"","full-screen":"",class:"confirm-raw-sign","data-cy":"popup-aex2"},{footer:(0,B.w5)((function(){return[(0,B.Wm)(d,{variant:"muted",third:"","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,B.Wm)(d,{third:"",text:e.$t("common.confirm"),onClick:e.confirm},null,8,["text","onClick"])]})),default:(0,B.w5)((function(){return[(0,B.Wm)(i,{"custom-title":e.$t("modals.confirm-raw-sign.title"),sender:e.sender,recipient:e.activeAccount},null,8,["custom-title","sender","recipient"]),(0,B._)("div",fi,[(0,B._)("span",vi,[(0,B.Wm)(s,{class:"icon"}),(0,B.Uk)(" "+(0,me.zw)(e.$t("modals.confirm-raw-sign.warning.title")),1)]),(0,B.Wm)(u,{keypath:"modals.confirm-raw-sign.warning.content",tag:"span",class:"content",scope:"global"},{default:(0,B.w5)((function(){return[gi]})),_:1})]),(0,B.Wm)(c,{label:e.$t("modals.confirmTransactionSign.data-sign"),"data-cy":"data"},{value:(0,B.w5)((function(){return[(0,B.Wm)(l,{value:e.dataAsString},null,8,["value"])]})),_:1},8,["label"])]})),_:1})}var wi=n(61501),yi=n(92387),ki=n(91802),bi=n(48764)["Buffer"];const Ci=(0,B.aZ)({components:{Modal:ni.Z,TransactionInfo:wi.Z,BtnMain:yn.Z,DetailsItem:ri.Z,Warning:yi.Z,CopyText:ki.Z},setup:function(){var e=(0,oe.M1)(),t=e.popupProps,n=e.sender,r=e.setPopupProps,o=(0,p.oR)(),i=(0,oe.xe)({store:o}),s=i.getLastActiveProtocolAccount,u=s(a.DJ),l=(0,B.Fl)((function(){var e,n,a;return"string"===typeof(null===(e=t.value)||void 0===e?void 0:e.data)?null===(n=t.value)||void 0===n?void 0:n.data:bi.from(null===(a=t.value)||void 0===a?void 0:a.data).toString("hex")}));function c(){var e;null===(e=t.value)||void 0===e||e.resolve()}function d(){var e;null===(e=t.value)||void 0===e||e.reject(new zt.x)}return(0,B.Ah)((function(){r(null)})),{confirm:c,cancel:d,activeAccount:u,dataAsString:l,sender:n}}}),Ai=(0,qe.Z)(Ci,[["render",hi],["__scopeId","data-v-337e8cc6"]]),xi=Ai;var _i={class:"donate-error"},Di={class:"error-info-title"},Ti={class:"error-info-content"},Si={class:"error-info-title"},Ii={class:"error-info-content"},Fi={class:"error-info-content"};function Ei(e,t,n,a,r,o){var i=(0,B.up)("FormTextarea"),s=(0,B.up)("BtnMain");return(0,B.wg)(),(0,B.iD)("div",_i,[(0,B._)("h1",null,(0,me.zw)(e.$t("pages.donate-error.error-report")),1),(0,B.Wm)(i,{modelValue:e.description,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.description=t}),placeholder:e.$t("pages.donate-error.error-placeholder"),size:"md"},null,8,["modelValue","placeholder"]),(0,B._)("h1",null,(0,me.zw)(e.$t("pages.donate-error.data-collected")),1),(0,B._)("h2",Di,(0,me.zw)(e.$t("pages.donate-error.browser")),1),(0,B._)("p",Ti,(0,me.zw)(o.browser),1),(0,B._)("h2",Si,(0,me.zw)(e.$t("pages.donate-error.details")),1),(0,B._)("p",Ii,(0,me.zw)(o.error.message),1),(0,B._)("p",Fi,(0,me.zw)(o.error.stack),1),(0,B.Wm)(s,{variant:"muted",inline:"","extra-padded":"",to:"/"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.cancel")),1)]})),_:1}),(0,B.Wm)(s,{inline:"",onClick:o.donate},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.donate-error.donate")),1)]})),_:1},8,["onClick"])])}var Ri=n(11538),Bi=n(48358);const Zi={components:{FormTextarea:Bi.Z,BtnMain:yn.Z},props:{entry:{type:Object,default:function(){return{}}}},data:function(){return{description:null}},computed:{browser:function(){var e=this.entry.browser||{},t=e.name,n=e.os,a=e.version;return"".concat(t,", Version ").concat(a," (").concat(n,")")},error:function(){return this.entry.error}},methods:{donate:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,oe.ol)(),a=n.openDefaultModal,r=(0,y.H)(),o=r.donateError,t.prev=2,t.next=5,o((0,Ri.Z)((0,Ri.Z)({},e.entry),{},{description:e.description}));case 5:return t.next=7,a({title:e.$t("modals.donate-errors.title"),msg:e.$t("modals.donate-errors.msg")});case 7:t.next=13;break;case 9:return t.prev=9,t.t0=t["catch"](2),t.next=13,a({title:e.$t("modals.donate-errors-error.title"),msg:e.$t("modals.donate-errors-error.msg")});case 13:return t.prev=13,e.$router.push("/account"),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,9,13,16]])})))()}}},Ui=(0,qe.Z)(Zi,[["render",Ei],["__scopeId","data-v-de37d780"]]),Pi=Ui;var Mi={class:"token-container"},Li={class:"token-content"},Oi={class:"top"},Ni={class:"token-actions"},Wi={ref:"stickyTabsWrapperEl",class:"sticky-tabs-wrapper"};function Hi(e,t,n,a,r,o){var i=(0,B.up)("Tokens"),s=(0,B.up)("TokenAmount"),u=(0,B.up)("OpenTransferReceiveModalButton"),l=(0,B.up)("OpenTransferSendModalButton"),c=(0,B.up)("BtnBox"),d=(0,B.up)("Tab"),p=(0,B.up)("Tabs"),m=(0,B.up)("TransactionAndTokenFilter"),f=(0,B.up)("IonRouterOutlet"),v=(0,B.up)("IonContent"),g=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(g,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(v,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Mi,[(0,B._)("div",Li,[(0,B._)("div",Oi,[(0,B.Wm)(i,{tokens:e.tokens,"symbol-length":22,vertical:""},null,8,["tokens"]),(0,B.Wm)(s,{class:"token-amount","no-symbol":"","fiat-below":"",large:"",protocol:e.PROTOCOL_AETERNITY,amount:e.convertedBalance,aex9:!e.isAe},null,8,["protocol","amount","aex9"])]),(0,B._)("div",Ni,[(0,B.Wm)(u,{"is-multisig":e.isMultisig,"token-contract-id":e.fungibleToken?e.fungibleToken.contractId:null},null,8,["is-multisig","token-contract-id"]),(0,B.Wm)(l,{"is-multisig":e.isMultisig,"token-contract-id":e.fungibleToken?e.fungibleToken.contractId:null},null,8,["is-multisig","token-contract-id"]),e.isAe&&e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(c,{key:0,text:e.$t("common.buy"),icon:e.BuyIcon,href:e.activeAccountSimplexLink},null,8,["text","icon","href"])):e.isAe&&e.isNodeTestnet?((0,B.wg)(),(0,B.j4)(c,{key:1,text:e.$t("common.faucet"),icon:e.FaucetIcon,href:e.activeAccountFaucetUrl},null,8,["text","icon","href"])):e.IS_IOS||!e.isNodeMainnet&&!e.isNodeTestnet?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(c,{key:2,text:e.$t("common.swap"),icon:e.SwapIcon,href:e.AE_DEX_URL},null,8,["text","icon","href"]))]),(0,B._)("div",Wi,[(0,B.Wm)(p,null,{default:(0,B.w5)((function(){return[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.tabs,(function(t){return(0,B.wg)(),(0,B.j4)(d,{key:t.routeName,"exact-path":t.exact,to:{name:t.routeName,params:e.route.params},text:t.text},null,8,["exact-path","to","text"])})),128))]})),_:1}),((0,B.wg)(),(0,B.j4)(m,{key:e.routeName,"show-filters":e.showFilterBar},null,8,["show-filters"]))],512)]),(0,B.Wm)(f,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation,class:"token-router",style:(0,me.j5)({height:e.routerHeight||"350px"})},null,8,["animated","animation","style"])])]})),_:1})]})),_:1})}var Vi=n(82475),ji=n(1009),qi=n(32833),zi=n(36333),Yi=n(60298),$i=n(64327),Gi=n(67962),Ki=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Ji=(0,B.aZ)({name:"TokenContainer",components:{TransactionAndTokenFilter:Yi.Z,TokenAmount:oi.Z,BtnBox:yt.Z,Tokens:ji.Z,Tabs:qi.Z,Tab:zi.Z,OpenTransferReceiveModalButton:xt.Z,OpenTransferSendModalButton:_t.Z,IonPage:W._i,IonContent:W.W2,IonRouterOutlet:W.jP},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.yj)(),o=(0,no.QT)(),i=o.t,s=(0,oe.Ld)(),u=s.setTokenProps,l=(0,oe.bl)(),c=l.setLoaderVisible,d=(0,B.Fl)((function(){var e;return!!(null===(e=null===n||void 0===n?void 0:n.meta)||void 0===e?void 0:e.isMultisig)})),m=(0,oe.cn)({store:t}),f=m.isNodeMainnet,v=m.isNodeTestnet,g=m.getAeSdk,w=(0,oe.xe)({store:t}),y=w.activeAccountSimplexLink,b=w.activeAccountFaucetUrl,C=(0,oe.sY)({store:t,isMultisig:d.value}),A=C.aeTokenBalance,x=(0,oe.jg)({store:t}),_=x.marketData,D=!!n.matched.find((function(e){var t=e.name;return t&&[pe.DU,pe.uj].includes(t.toString())})),T=n.params.id,S=T===h.ik,I=D?pe.uj:pe.rW,F=D?pe.DU:pe.C0,E=[{text:i("pages.transactionDetails.transactions"),routeName:d.value?pe.Zr:F,exact:!0},{text:i(D?"pages.token-details.coin-details":"pages.token-details.token-details"),routeName:d.value?pe.x5:I,exact:!0}],R=(0,Ze.iH)(),Z=(0,Ze.iH)({token0:null,token1:null}),U=(0,Ze.iH)(),P=(0,rn.X_)("fungibleTokens/tokenBalances"),M=(0,rn.eJ)("fungibleTokens","availableTokens"),L=(0,B.Fl)((function(){return M.value[T]})),O=(0,B.Fl)((function(){return n.name})),N=(0,B.Fl)((function(){var e;return!!(null===(e=null===n||void 0===n?void 0:n.meta)||void 0===e?void 0:e.showFilterBar)})),H=(0,B.Fl)((function(){return S?r.l.getAdapter(a.DJ).getDefaultCoin(_.value,A.value.toNumber()):P.value.find((function(e){return e.contractId===T}))||Object.assign(Object.assign({},L.value),{contractId:T})})),V=(0,B.Fl)((function(){var e=[Z.value.token0,Z.value.token1],t=e[0],n=e[1];return t&&n?[t,n,H.value]:[H.value]})),j=(0,B.Fl)((function(){return+H.value.convertedBalance||0}));function q(){(0,B.Y3)((function(){var e,t,n,a=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,r=null===(n=U.value)||void 0===n?void 0:n.getBoundingClientRect().bottom;R.value="".concat(a-r,"px")}))}function z(){var e=new ResizeObserver((function(){q()}));e.observe(U.value)}return(0,B.bv)((function(){return Ki(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(0,k.Tz)(T)||S){e.next=8;break}return c(!0),e.next=4,g();case 4:return e.next=6,t.dispatch("fungibleTokens/getContractTokenPairs",T);case 6:Z.value=e.sent,c(!1);case 8:setTimeout((function(){z(),q()}),250);case 9:case"end":return e.stop()}}),e)})))})),(0,W.Yr)((function(){u({contractId:T,tokenPairs:Z.value,tokenData:H.value,tokens:V.value,isMultisig:d.value})})),(0,W.RD)((function(){u(null)})),{PROTOCOL_AETERNITY:a.DJ,UNFINISHED_FEATURES:a._0,IS_IOS:a.cj,AE_DEX_URL:h.GF,stickyTabsWrapperEl:U,BuyIcon:Dt.Z,SwapIcon:$i.Z,FaucetIcon:Gi.Z,fungibleToken:L,contractId:T,isAe:S,isNodeMainnet:f,isNodeTestnet:v,activeAccountSimplexLink:y,activeAccountFaucetUrl:b,tabs:E,tokenData:H,tokenPairs:Z,tokens:V,showFilterBar:N,convertedBalance:j,routeName:O,isMultisig:d,route:n,routerHeight:R,IS_FIREFOX:a.D1,fadeAnimation:Vi.qy}}}),Qi=(0,qe.Z)(Ji,[["render",Hi],["__scopeId","data-v-b6eef74a"]]),Xi=Qi;function es(e,t,n,a,r,o){var i=(0,B.up)("TransactionList"),s=(0,B.up)("IonContent"),u=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(u,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){var n;return[(0,B.Wm)(i,{transactions:e.filteredTransactions,"is-multisig":null===(n=e.tokenProps)||void 0===n?void 0:n.isMultisig,loading:e.loading,onLoadMore:t[0]||(t[0]=function(t){return e.loadMore()})},null,8,["transactions","is-multisig","loading"])]})),_:1})]})),_:1})}var ts=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ns=(0,B.aZ)({name:"TokenTransactions",components:{TransactionList:Nt.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.Ld)(),n=t.tokenProps,r=(0,oe.xe)({store:e}),o=r.activeAccount,i=(0,oe.Bo)({store:e}),s=i.activeMultisigAccount,u=(0,oe.DQ)({store:e}),l=u.fetchTransactions,c=u.getAccountAllTransactions,d=u.getAccountTransactionsState,m=(0,Ze.iH)(!1),f=(0,rn.eJ)("fungibleTokens","availableTokens"),v=(0,B.Fl)((function(){return Object.keys(f.value)})),g=(0,B.Fl)((function(){var e,t;return(null===(e=n.value)||void 0===e?void 0:e.isMultisig)?null===(t=s.value)||void 0===t?void 0:t.gaAccountId:o.value.address})),w=(0,B.Fl)((function(){return!!d(g.value).nextPageUrl})),y=(0,B.Fl)((function(){return c(g.value)}));function b(e){return v.value.includes(e.contractId)}function C(e){var t;return(null===(t=n.value)||void 0===t?void 0:t.contractId)?e.filter((function(e){var t,a,r=(0,k.wG)(e.tx);return(null===(t=n.value)||void 0===t?void 0:t.contractId)!==h.ik?(null===r||void 0===r?void 0:r.contractId)===(null===(a=n.value)||void 0===a?void 0:a.contractId):!r.contractId||!b(r)})):e}var A=(0,B.Fl)((function(){return C(y.value)}));function x(e){return ts(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return m.value=!0,t.prev=1,t.next=4,l(a.Rh,!!e,g.value);case 4:return t.prev=4,m.value=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))}function _(){return ts(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(m.value||!w.value){e.next=3;break}return e.next=3,x();case 3:case"end":return e.stop()}}),e)})))}return(0,B.bv)((function(){x()})),{loading:m,filteredTransactions:A,loadMore:_,tokenProps:n}}}),as=(0,qe.Z)(ns,[["render",es]]),rs=as;var os={class:"token-details"},is={class:"white"},ss={class:"white"};function us(e,t,n,a,r,o){var i=(0,B.up)("Tokens"),s=(0,B.up)("DetailsRow"),u=(0,B.up)("AddressTruncated"),l=(0,B.up)("ExternalLink"),c=(0,B.up)("LinkButton"),d=(0,B.up)("IonContent"),p=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(p,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(d,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){var t,n,a,r,o,d,p,m,f,v,g,h;return[(0,B._)("div",os,[(null===(t=e.tokenData)||void 0===t?void 0:t.symbol)?((0,B.wg)(),(0,B.j4)(s,{key:0,label:e.isAe?e.$t("pages.token-details.coin"):e.$t("pages.token-details.token"),text:null===(n=e.tokenData)||void 0===n?void 0:n.symbol},{text:(0,B.w5)((function(){return[e.tokens?((0,B.wg)(),(0,B.j4)(i,{key:0,class:"token-details-tokens",tokens:e.tokens},null,8,["tokens"])):(0,B.kq)("",!0)]})),_:1},8,["label","text"])):(0,B.kq)("",!0),(null===(a=e.tokenData)||void 0===a?void 0:a.decimals)?((0,B.wg)(),(0,B.j4)(s,{key:1,label:e.$t("pages.token-details.decimals"),text:e.tokenData.decimals},null,8,["label","text"])):(0,B.kq)("",!0),(null===(r=e.tokenData)||void 0===r?void 0:r.contractId)&&!e.isAe?((0,B.wg)(),(0,B.j4)(s,{key:2,label:e.$t("common.smartContract")},{text:(0,B.w5)((function(){return[(0,B.Wm)(u,{"show-explorer-link":"",protocol:e.PROTOCOL_AETERNITY,address:e.tokenData.contractId},null,8,["protocol","address"])]})),_:1},8,["label"])):(0,B.kq)("",!0),(null===(o=e.tokenData)||void 0===o?void 0:o.circulatingSupply)?((0,B.wg)(),(0,B.j4)(s,{key:3,label:e.$t("pages.token-details.max-supply"),text:e.formatNumber(e.tokenData.circulatingSupply)},null,8,["label","text"])):(0,B.kq)("",!0),(null===(d=e.tokenData)||void 0===d?void 0:d.totalSupply)?((0,B.wg)(),(0,B.j4)(s,{key:4,label:e.$t("pages.token-details.total-supply"),text:e.formatNumber(e.tokenData.totalSupply)},null,8,["label","text"])):(0,B.kq)("",!0),(null===(p=e.tokenData)||void 0===p?void 0:p.marketCap)?((0,B.wg)(),(0,B.j4)(s,{key:5,label:e.$t("pages.token-details.market-cap"),class:"price",text:e.formatCurrency(e.tokenData.marketCap)},null,8,["label","text"])):(0,B.kq)("",!0),e.tokenPairs.balances?((0,B.wg)(),(0,B.j4)(s,{key:6,label:e.$t("pages.token-details.holders"),text:e.tokenPairs.balances.size},null,8,["label","text"])):(0,B.kq)("",!0),e.tokenPairs.token0&&e.tokenPairs.token0.amount>0?((0,B.wg)(),(0,B.j4)(s,{key:7,text:e.getPooledTokenAmount(e.tokenPairs.token0)},{label:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.token-details.pooled"))+" ",1),(0,B._)("span",is,(0,me.zw)(e.tokenPairs.token0.symbol),1)]})),_:1},8,["text"])):(0,B.kq)("",!0),e.tokenPairs.token1&&e.tokenPairs.token1.amount>0?((0,B.wg)(),(0,B.j4)(s,{key:8,text:e.getPooledTokenAmount(e.tokenPairs.token1)},{label:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.token-details.pooled"))+" ",1),(0,B._)("span",ss,(0,me.zw)(e.tokenPairs.token1.symbol),1)]})),_:1},8,["text"])):(0,B.kq)("",!0),e.poolShare?((0,B.wg)(),(0,B.j4)(s,{key:9,label:e.$t("pages.token-details.poolShare"),text:e.poolShare},null,8,["label","text"])):(0,B.kq)("",!0),!e.isAe&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(s,{key:10,label:e.$t("pages.token-details.transactions")},null,8,["label"])):(0,B.kq)("",!0),(null===(m=e.tokenData)||void 0===m?void 0:m.totalVolume)?((0,B.wg)(),(0,B.j4)(s,{key:11,label:e.$t("pages.token-details.volume"),text:e.formatCurrency(e.tokenData.totalVolume)},null,8,["label","text"])):(0,B.kq)("",!0),(null===(f=e.tokenData)||void 0===f?void 0:f.marketCapChange24h)?((0,B.wg)(),(0,B.j4)(s,{key:12,class:"price",label:e.$t("pages.token-details.volumeDaily")},{text:(0,B.w5)((function(){var t,n,a;return[(0,B._)("span",{class:(0,me.C_)({green:(null===(t=e.tokenData)||void 0===t?void 0:t.marketCapChangePercentage24h)>0,red:(null===(n=e.tokenData)||void 0===n?void 0:n.marketCapChangePercentage24h)<0})},(0,me.zw)(Number(e.tokenData.marketCapChangePercentage24h).toFixed(2))+"% ",3),(0,B.Uk)(" "+(0,me.zw)(e.formatCurrency(null===(a=e.tokenData)||void 0===a?void 0:a.marketCapChange24h)),1)]})),_:1},8,["label"])):(0,B.kq)("",!0),!e.isAe&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(s,{key:13,label:e.$t("pages.token-details.feeDaily")},null,8,["label"])):(0,B.kq)("",!0),e.isAe?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(s,{key:14,class:"link",label:e.$t("pages.token-details.chart")},{text:(0,B.w5)((function(){return[(0,B.Wm)(c,{to:e.AE_DEX_URL},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.displayDexUrl)+" ",1),(0,B.Wm)(l)]})),_:1},8,["to"])]})),_:1},8,["label"])),!e.isAe&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(s,{key:15,label:e.$t("pages.token-details.price-ae")},null,8,["label"])):(0,B.kq)("",!0),(null===(v=e.tokenData)||void 0===v?void 0:v.currentPrice)?((0,B.wg)(),(0,B.j4)(s,{key:16,class:"price",label:e.$t("pages.token-details.price")},{text:(0,B.w5)((function(){return[(0,B._)("span",{class:(0,me.C_)({green:e.tokenData.priceChangePercentage24h>0,red:e.tokenData.priceChangePercentage24h<0})},(0,me.zw)(Number(e.tokenData.priceChangePercentage24h).toFixed(2))+"% ",3),(0,B.Uk)(" "+(0,me.zw)(e.formatCurrency(e.tokenData.currentPrice)),1)]})),_:1},8,["label"])):(0,B.kq)("",!0),(null===(g=e.tokenData)||void 0===g?void 0:g.ath)?((0,B.wg)(),(0,B.j4)(s,{key:17,label:e.$t("pages.token-details.ath-change"),text:e.formatCurrency(e.tokenData.ath)},null,8,["label","text"])):(0,B.kq)("",!0),(null===(h=e.tokenData)||void 0===h?void 0:h.atl)?((0,B.wg)(),(0,B.j4)(s,{key:18,label:e.$t("pages.token-details.atl-change"),text:e.formatCurrency(e.tokenData.atl)},null,8,["label","text"])):(0,B.kq)("",!0)])]})),_:1})]})),_:1})}n(74916),n(15306);var ls={class:"details-row"},cs={class:"title"},ds={class:"text"};function ps(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("div",ls,[(0,B._)("div",cs,[(0,B.WI)(e.$slots,"label",{},(function(){return[(0,B.Uk)((0,me.zw)(n.label),1)]}),!0)]),(0,B._)("span",ds,[(0,B.WI)(e.$slots,"text",{},(function(){return[(0,B.Uk)((0,me.zw)(n.text),1)]}),!0)])])}const ms={props:{label:{type:String,default:null},text:{type:[String,Number],default:"N/A"}}},fs=(0,qe.Z)(ms,[["render",ps],["__scopeId","data-v-29f62982"]]),vs=fs,gs=(0,B.aZ)({name:"TokenDetails",components:{DetailsRow:vs,AddressTruncated:Mo.Z,Tokens:ji.Z,ExternalLink:Ge.Z,LinkButton:Ue.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.Ld)(),n=t.tokenDetails,r=n.value,o=r.tokenData,i=r.contractId,s=r.tokens,u=r.tokenPairs,l=(0,oe.jg)({store:e}),c=l.formatCurrency,d=h.GF.replace("https://",""),m=(0,B.Fl)((function(){return(null===o||void 0===o?void 0:o.contractId)===h.ik})),f=(0,B.Fl)((function(){return u&&u.balance&&u.totalSupply?"".concat((0,g.er)(new Kr.Z(u.balance).times(100).div(u.totalSupply)),"%"):null})),v=function(e){return(0,g.er)((0,g.Yt)(e.amount,-e.decimals))};return{PROTOCOL_AETERNITY:a.DJ,AE_DEX_URL:h.GF,UNFINISHED_FEATURES:a._0,displayDexUrl:d,isAe:m,poolShare:f,getPooledTokenAmount:v,formatCurrency:c,formatNumber:g.uf,contractId:i,tokens:s,tokenPairs:u,tokenData:o}}}),hs=(0,qe.Z)(gs,[["render",us],["__scopeId","data-v-405b7261"]]),ws=hs;var ys=n(45560),ks=n.n(ys),bs={key:0,class:"iframe-image",src:ks()},Cs={key:1,class:"not-iframe"},As={class:"heading"},xs={class:"receive"},_s={class:"store"},Ds={class:"send"},Ts={class:"aeternity-name"},Ss={key:0,class:"wallet-button-box"};function Is(e,t,n,a,r,o){var i=(0,B.up)("SuperheroLogoIcon"),s=(0,B.up)("i18n-t"),u=(0,B.up)("Platforms"),l=(0,B.up)("CheckBox"),c=(0,B.up)("RouterLink"),d=(0,B.up)("BtnSubheader"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(p,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",{class:(0,me.C_)(["index",{"extended-top-padding":!e.IS_WEB&&!e.IS_MOBILE_DEVICE,"ios-top-padding":e.IS_IOS}])},[e.IN_FRAME?((0,B.wg)(),(0,B.iD)("img",bs)):((0,B.wg)(),(0,B.iD)("div",Cs,[(0,B.Wm)(i,{class:"superhero-logo"}),(0,B._)("div",As,[(0,B.Wm)(s,{keypath:"pages.index.heading.message",tag:"span",class:"tag",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("span",xs,(0,me.zw)(e.$t("pages.index.heading.receive")),1),(0,B._)("span",_s,(0,me.zw)(e.$t("pages.index.heading.store")),1),(0,B._)("span",Ds,(0,me.zw)(e.$t("pages.index.heading.send")),1),(0,B._)("span",Ts,(0,me.zw)(e.$t("pages.index.heading.aeternityBlockchain")),1)]})),_:1})]),e.IS_WEB?((0,B.wg)(),(0,B.j4)(u,{key:0},{header:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.index.platforms.heading")),1)]})),footer:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.index.webVersion")),1)]})),_:1})):(0,B.kq)("",!0)])),(0,B._)("div",{class:(0,me.C_)(["terms-agreement",{mobile:!e.IS_WEB}])},[(0,B.Wm)(l,{modelValue:e.termsAgreed,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.termsAgreed=t}),"data-cy":"checkbox"},{default:(0,B.w5)((function(){return[(0,B._)("span",null,(0,me.zw)(e.$t("pages.index.term1")),1)]})),_:1},8,["modelValue"]),(0,B.Wm)(c,{to:{name:"about-terms"},"data-cy":"terms",class:(0,me.C_)(["terms-of-use",{agreed:e.termsAgreed}])},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.index.termsAndConditions")),1)]})),_:1},8,["class"])],2),(0,B.Wm)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[e.termsAgreed?((0,B.wg)(),(0,B.iD)("div",Ss,[(0,B.Wm)(d,{"data-cy":"generate-wallet",subheader:e.$t("pages.index.getStartedWithWallet"),header:e.$t("pages.index.generateWallet"),icon:e.PlusCircleIcon,onClick:e.createWallet},null,8,["subheader","header","icon","onClick"]),(0,B.Wm)(d,{"data-cy":"import-wallet",subheader:e.$t("pages.index.enterSeed"),header:e.$t("pages.index.importWallet"),icon:e.CheckCircleIcon,onClick:e.importWallet},null,8,["subheader","header","icon","onClick"])])):(0,B.kq)("",!0)]})),_:1})],2)]})),_:1})]})),_:1})}var Fs=n(75885),Es=(n(27852),n(30891)),Rs=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function Bs(e){return Rs(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[],t.next=3,Es.fy.readdir({path:e});case 3:a=t.sent,r=(0,x.Z)(a.files),t.prev=5,r.s();case 7:if((o=r.n()).done){t.next=17;break}if(i=o.value,"directory"!==i.type){t.next=14;break}return t.next=12,Bs(i.uri).then((function(e){n.push.apply(n,(0,de.Z)(e))}));case 12:t.next=15;break;case 14:"file"===i.type&&i.uri.endsWith(".mnemonic")&&n.push(i);case 15:t.next=7;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t["catch"](5),r.e(t.t0);case 22:return t.prev=22,r.f(),t.finish(22);case 25:return t.abrupt("return",n);case 26:case"end":return t.stop()}}),t,null,[[5,19,22,25]])})))}function Zs(){return Rs(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Es.fy.getUri({path:"Caches",directory:Es.tP.Library});case 2:return t=e.sent,e.next=5,Bs(t.uri);case 5:if(n=e.sent,!n.length){e.next=8;break}return e.abrupt("return",n[0].name.replace(".mnemonic",""));case 8:return e.abrupt("return",null);case 9:case"end":return e.stop()}}),e)})))}function Us(){return Rs(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Es.fy.getUri({path:"Caches",directory:Es.tP.Library});case 2:return t=e.sent,e.next=5,Bs(t.uri);case 5:n=e.sent,a=(0,x.Z)(n),e.prev=7,a.s();case 9:if((r=a.n()).done){e.next=20;break}return o=r.value,e.prev=11,e.next=14,Es.fy.deleteFile({path:o.uri});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e["catch"](11);case 18:e.next=9;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e["catch"](7),a.e(e.t1);case 25:return e.prev=25,a.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[7,22,25,28],[11,16]])})))}var Ps={class:"checkbox-container"},Ms=["disabled","checked","type","name"];function Ls(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("label",Ps,[(0,B._)("input",{disabled:e.disabled,checked:!!e.modelValue,type:e.type,name:e.name,onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.checked)})},null,40,Ms),(0,B._)("span",{class:(0,me.C_)(["checkmark",{checked:e.modelValue,disabled:e.disabled}])},null,2),e.$slots["default"]?((0,B.wg)(),(0,B.iD)("div",{key:0,class:(0,me.C_)(["label-text",{checked:e.modelValue}])},[(0,B.WI)(e.$slots,"default",{},void 0,!0)],2)):(0,B.kq)("",!0)])}const Os=(0,B.aZ)({name:"CheckBox",props:{modelValue:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean},emits:["update:modelValue"]}),Ns=(0,qe.Z)(Os,[["render",Ls],["__scopeId","data-v-276ed195"]]),Ws=Ns;var Hs={class:"box"},Vs={class:"message"},js={class:"heading"},qs={class:"description"};function zs(e,t,n,a,r,o){var i=(0,B.up)("IconWrapper"),s=(0,B.up)("BtnBase");return(0,B.wg)(),(0,B.j4)(s,(0,B.dG)(Object.assign(Object.assign({},e.$attrs),e.$props),{class:"button-subheader",extend:"",variant:"dark"}),{default:(0,B.w5)((function(){return[(0,B._)("div",Hs,[e.icon||e.protocolIcon?((0,B.wg)(),(0,B.j4)(i,{key:0,icon:e.icon,"icon-size":e.iconSize,"protocol-icon":e.protocolIcon,"is-boxed":""},null,8,["icon","icon-size","protocol-icon"])):(0,B.kq)("",!0),(0,B._)("div",Vs,[(0,B._)("span",js,(0,me.zw)(e.header),1),(0,B._)("span",qs,(0,me.zw)(e.subheader),1)])])]})),_:1},16)}const Ys=(0,B.aZ)({components:{BtnBase:Ke.ZP,IconWrapper:vn.ZP},props:Object.assign({header:{type:String,default:""},subheader:{type:String,default:""},icon:{type:Object,default:null},iconSize:vn.Eg,protocolIcon:vn.WI},Ke.Yy)}),$s=(0,qe.Z)(Ys,[["render",zs],["__scopeId","data-v-664f7dd3"]]),Gs=$s;var Ks=n(31058),Js=n.n(Ks),Qs=n(69538),Xs=n.n(Qs),eu={class:"platforms"},tu={class:"heading"},nu={key:0,class:"mobile-web-icons"},au={key:1,class:"web-icons-wrapper"},ru={class:"web-icons"},ou={class:"web-icons-title"},iu={class:"web-icons-platforms"},su={class:"web-icons"},uu={class:"web-icons-title"},lu={class:"web-icons-platforms"},cu={class:"footer"};function du(e,t,a,r,o,i){var s=(0,B.up)("LinkButton"),u=(0,B.up)("PlatformIcon");return(0,B.wg)(),(0,B.iD)("div",eu,[(0,B._)("div",tu,[(0,B.WI)(e.$slots,"header",{},void 0,!0)]),e.IS_MOBILE_DEVICE?((0,B.wg)(),(0,B.iD)("div",nu,[(0,B.Wm)(s,{to:e.APP_LINK_IOS},{default:(0,B.w5)((function(){return[(0,B._)("img",{class:(0,me.C_)({grey:!e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:Js(),alt:"App Store"},null,2)]})),_:1},8,["to"]),(0,B.Wm)(s,{to:e.APP_LINK_ANDROID},{default:(0,B.w5)((function(){return[(0,B._)("img",{class:(0,me.C_)({grey:e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:Xs(),alt:"Google Play"},null,2)]})),_:1},8,["to"])])):((0,B.wg)(),(0,B.iD)("div",au,[(0,B._)("div",ru,[(0,B._)("div",ou,(0,me.zw)(e.$t("pages.index.platforms.browser-extension")),1),(0,B._)("div",iu,[(0,B.Wm)(u,{to:e.APP_LINK_FIREFOX,disabled:!e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(2438),alt:"Firefox"},null,8,["to","disabled","src"]),(0,B.Wm)(u,{to:e.APP_LINK_CHROME,disabled:e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(95036),alt:"Chrome"},null,8,["to","disabled","src"])])]),(0,B._)("div",su,[(0,B._)("div",uu,(0,me.zw)(e.$t("pages.index.platforms.mobile-app")),1),(0,B._)("div",lu,[(0,B.Wm)(u,{to:e.APP_LINK_IOS,disabled:!e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(59047),alt:"App Store"},null,8,["to","disabled","src"]),(0,B.Wm)(u,{to:e.APP_LINK_ANDROID,disabled:e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(11006),alt:"Google Play"},null,8,["to","disabled","src"])])])])),(0,B._)("div",cu,[(0,B.WI)(e.$slots,"footer",{},void 0,!0)])])}var pu=["src","alt"];function mu(e,t,n,a,r,o){var i=(0,B.up)("LinkButton");return(0,B.wg)(),(0,B.j4)(i,{to:e.to,class:"platform-icon"},{default:(0,B.w5)((function(){return[(0,B._)("img",{class:(0,me.C_)(["platform-icon-image",{grey:e.disabled}]),src:e.src,alt:e.alt},null,10,pu)]})),_:1},8,["to"])}const fu=(0,B.aZ)({components:{LinkButton:Ue.Z},props:{to:{type:String,required:!0},src:{type:String,required:!0},alt:{type:String,required:!0},disabled:Boolean}}),vu=(0,qe.Z)(fu,[["render",mu],["__scopeId","data-v-18a3b1c4"]]),gu=vu,hu={components:{PlatformIcon:gu,LinkButton:Ue.Z},data:function(){return{IS_MOBILE_DEVICE:a.ry,IS_IOS:a.cj,IS_FIREFOX:a.D1,APP_LINK_CHROME:a.RF,APP_LINK_FIREFOX:a.gI,APP_LINK_ANDROID:a.hS,APP_LINK_IOS:a.dO}}},wu=(0,qe.Z)(hu,[["render",du],["__scopeId","data-v-11c59964"]]),yu=wu;var ku={viewBox:"0 0 262 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},bu=(0,B.uE)('',8),Cu=[bu];function Au(e,t){return(0,B.wg)(),(0,B.iD)("svg",ku,Cu)}const xu={},_u=(0,qe.Z)(xu,[["render",Au]]),Du=_u;var Tu=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Su=(0,B.aZ)({components:{SuperheroLogoIcon:Du,CheckBox:Ws,BtnSubheader:Gs,Platforms:yu,IonContent:W.W2,IonPage:W._i},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.tv)(),r=(0,oe.ol)(),o=r.openModal,i=(0,oe.bl)(),s=i.loginTargetLocation,u=i.setLoaderVisible,l=(0,Ze.iH)(!1);function c(){return Tu(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.commit("setMnemonic",(0,Fs.generateMnemonic)()),n.push(s.value);case 2:case"end":return e.stop()}}),e)})))}function d(){return Tu(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",o(a.PH));case 1:case"end":return e.stop()}}),e)})))}return(0,B.bv)((function(){return Tu(e,void 0,void 0,regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a.cj||!a.Ag){e.next=7;break}return u(!0),e.next=4,Zs();case 4:r=e.sent,u(!1),r&&(t.commit("setMnemonic",r),Us(),n.push(s.value));case 7:case"end":return e.stop()}}),e)})))})),{PlusCircleIcon:ka.Z,CheckCircleIcon:co,IS_WEB:a.Pl,IS_IOS:a.cj,IS_MOBILE_DEVICE:a.ry,IN_FRAME:a.KA,termsAgreed:l,createWallet:c,importWallet:d}}}),Iu=(0,qe.Z)(Su,[["render",Is],["__scopeId","data-v-56c65848"]]),Fu=Iu;var Eu={class:"invite-page"},Ru={class:"section-title"},Bu={key:0,class:"generated-links"},Zu={class:"section-title"};function Uu(e,t,n,a,r,o){var i=(0,B.up)("AccountInfo"),s=(0,B.up)("BalanceInfo"),u=(0,B.up)("InputAmount"),l=(0,B.up)("BtnMain"),c=(0,B.up)("Field"),d=(0,B.up)("InviteItem"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(p,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Eu,[(0,B.Wm)(i,{address:e.activeAccount.address,name:e.activeAccount.name,idx:e.activeAccount.idx,protocol:e.activeAccount.protocol,"can-copy-address":"","with-protocol-icon":""},null,8,["address","name","idx","protocol"]),(0,B.Wm)(s,{balance:e.balance.toNumber(),protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"]),(0,B._)("p",Ru,(0,me.zw)(e.$t("pages.invite.generate-link")),1),(0,B.Wm)(c,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:Object.assign(Object.assign({min_value_exclusive:0},+e.balance.minus(e.fee)>0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,B.w5)((function(n){var a=n.field,r=n.errorMessage;return[(0,B.Wm)(u,(0,B.dG)(a,{"model-value":e.formModel.amount,class:"amount",name:"amount",label:e.$t("pages.invite.tip-attached"),message:r,readonly:"",protocol:e.PROTOCOL_AETERNITY,"selected-asset":e.formModel.selectedAsset,onAssetSelected:t[0]||(t[0]=function(t){return e.formModel.selectedAsset=t})}),null,16,["model-value","label","message","protocol","selected-asset"]),(0,B.Wm)(l,{extend:"",icon:e.PlusCircleFillIcon,disabled:!e.formModel.amount||!!r,onClick:e.generate},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.invite.generate")),1)]})),_:2},1032,["icon","disabled","onClick"])]})),_:1},8,["modelValue","rules"]),e.invites.length>0?((0,B.wg)(),(0,B.iD)("div",Bu,[(0,B._)("p",Zu,(0,me.zw)(e.$t("pages.invite.created-links")),1),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.invites,(function(n){return(0,B.wg)(),(0,B.j4)(d,(0,B.dG)(null!==n&&void 0!==n?n:null,{key:n.secretKey,onLoading:t[2]||(t[2]=function(t){return e.setLoaderVisible(t)})}),null,16)})),128))])):(0,B.kq)("",!0)])]})),_:1})]})),_:1})}var Pu=n(12954),Mu=n(34502),Lu=n(61080),Ou=n(72925),Nu=(n(29254),{class:"invite-row"}),Wu={class:"invite-info"},Hu={class:"date"},Vu={class:"invite-link-url"},ju={key:0,class:"centered-buttons"},qu={class:"centered-buttons"};function zu(e,t,n,a,r,o){var i=(0,B.up)("TokenAmount"),s=(0,B.up)("CopyText"),u=(0,B.up)("BtnMain"),l=(0,B.up)("InputAmount"),c=(0,B.up)("Field");return(0,B.wg)(),(0,B.iD)("div",Nu,[(0,B._)("div",Wu,[(0,B.Wm)(i,{amount:e.inviteLinkBalance,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"]),(0,B._)("span",Hu,(0,me.zw)(e.formatDate(e.createdAt)),1)]),(0,B.Wm)(s,{class:"invite-link",value:e.link.toString()},{default:(0,B.w5)((function(){return[(0,B._)("span",Vu,(0,me.zw)(e.link),1)]})),_:1},8,["value"]),e.topUp?((0,B.wg)(),(0,B.j4)(c,{key:1,modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:{required:!0,max_value:e.max}},{default:(0,B.w5)((function(t){var n=t.field,a=t.errorMessage;return[(0,B.Wm)(l,(0,B.dG)(n,{"model-value":e.formModel.amount,name:"amount",class:"input-amount",label:e.$t("pages.invite.top-up-with"),message:a,protocol:e.PROTOCOL_AETERNITY,readonly:""}),null,16,["model-value","label","message","protocol"]),(0,B._)("div",qu,[(0,B.Wm)(u,{variant:"muted",text:e.$t("pages.invite.collapse"),onClick:e.resetTopUpChanges},null,8,["text","onClick"]),(0,B.Wm)(u,{disabled:!e.formModel.amount||!!a,text:e.$t("pages.invite.top-up"),onClick:e.sendTopUp},null,8,["disabled","text","onClick"])])]})),_:1},8,["modelValue","rules"])):((0,B.wg)(),(0,B.iD)("div",ju,[e.inviteLinkBalance>0?((0,B.wg)(),(0,B.j4)(u,{key:0,class:"button",variant:"muted",text:e.$t("pages.invite.claim"),onClick:e.claim},null,8,["text","onClick"])):((0,B.wg)(),(0,B.j4)(u,{key:1,class:"button",variant:"muted",text:e.$t("pages.invite.delete"),onClick:e.deleteItem},null,8,["text","onClick"])),(0,B.Wm)(u,{class:"button",text:e.$t("pages.invite.top-up"),onClick:t[0]||(t[0]=function(t){return e.topUp=!0})},null,8,["text"])]))])}n(54678);var Yu=n(48764)["Buffer"],$u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Gu=(0,B.aZ)({components:{TokenAmount:oi.Z,BtnMain:yn.Z,InputAmount:Ou.Z,CopyText:ki.Z,Field:Pu.gN},props:{secretKey:{type:Yu,required:!0},createdAt:{type:Number,required:!0}},setup:function(e,t){var n=t.emit,o=(0,p.oR)(),i=(0,Qt.tv)(),s=(0,oe.jg)({store:o}),u=s.marketData,c=(0,oe.cn)({store:o}),m=c.getAeSdk,f=(0,oe.ln)({store:o}),v=f.balance,h=(0,oe.xe)({store:o}),w=h.getLastActiveProtocolAccount,y=(0,Ze.iH)({amount:"",selectedAsset:r.l.getAdapter(a.DJ).getDefaultCoin(u.value,+v.value)}),b=(0,oe.Wp)({formModel:y,store:o}),C=b.max,A=(0,Ze.iH)(!1),x=(0,Ze.iH)(0),_=(0,B.Fl)((function(){var t=(0,d.cv)(Yu.from(e.secretKey),l.e.Name).slice(3);return new URL("".concat(i.resolve({name:pe.GH}).href.replace(/^#/,""),"#").concat(t),a.Bk)})),D=(0,B.Fl)((function(){return(0,k.qD)(e.secretKey).address}));function T(){o.commit("invites/delete",e.secretKey)}function S(){return $u(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return t=e.sent,e.t0=parseFloat,e.next=6,t.getBalance(D.value,{format:Lu.fM.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),x.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function I(){var t;return $u(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n("loading",!0),r.prev=1,r.next=4,o.dispatch("invites/claim",{secretKey:Yu.from(e.secretKey),recipientId:null===(t=w(a.DJ))||void 0===t?void 0:t.address,isMax:!0});case 4:return r.next=6,S();case 6:r.next=15;break;case 8:return r.prev=8,r.t0=r["catch"](1),r.next=12,o.dispatch("invites/handleNotEnoughFoundsError",{error:r.t0,isInviteError:!0});case 12:if(!r.sent){r.next=14;break}return r.abrupt("return");case 14:throw r.t0;case 15:return r.prev=15,n("loading",!1),r.finish(15);case 18:case"end":return r.stop()}}),r,null,[[1,8,15,18]])})))}function F(){return $u(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return y.value.amount="",e.next=3,(0,B.Y3)();case 3:A.value=!1;case 4:case"end":return e.stop()}}),e)})))}function E(){return $u(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n("loading",!0),e.next=3,m();case 3:return t=e.sent,e.prev=4,e.next=7,t.spend(y.value.amount,D.value,{denomination:Lu.fM.AE});case 7:return e.next=9,S();case 9:F(),e.next=19;break;case 12:return e.prev=12,e.t0=e["catch"](4),e.next=16,o.dispatch("invites/handleNotEnoughFoundsError",{error:e.t0});case 16:if(!e.sent){e.next=18;break}return e.abrupt("return");case 18:throw e.t0;case 19:return e.prev=19,n("loading",!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[4,12,19,22]])})))}return(0,B.YP)((function(){return e.secretKey}),(function(){return S()}),{immediate:!0}),{PROTOCOL_AETERNITY:a.DJ,formModel:y,max:C,topUp:A,inviteLinkBalance:x,link:_,formatDate:g.p6,resetTopUpChanges:F,deleteItem:T,sendTopUp:E,claim:I}}}),Ku=(0,qe.Z)(Gu,[["render",zu],["__scopeId","data-v-75984546"]]),Ju=Ku;var Qu=n(48764)["Buffer"],Xu=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const el=(0,B.aZ)({components:{AccountInfo:bt.Z,BalanceInfo:Ct.Z,InputAmount:Ou.Z,BtnMain:yn.Z,InviteItem:Ju,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.xe)({store:e}),n=t.activeAccount,o=(0,oe.jg)({store:e}),i=o.marketData,s=(0,oe.cn)({store:e}),u=s.getAeSdk,l=(0,oe.ln)({store:e}),c=l.balance,d=(0,oe.bl)(),m=d.setLoaderVisible,f=(0,Ze.iH)({amount:"",selectedAsset:r.l.getAdapter(a.DJ).getDefaultCoin(i.value,+c.value)}),v=(0,oe.Wp)({formModel:f,store:e}),g=v.max,h=v.fee,w=(0,rn.eJ)("invites","invites");function y(){return Xu(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return m(!0),n=(0,Mu.Au)(),a=n.publicKey,r=n.secretKey,t.prev=2,t.next=5,u();case 5:return o=t.sent,t.next=8,o.spend(f.value.amount||0,a,{denomination:Lu.fM.AE});case 8:t.next=17;break;case 10:return t.prev=10,t.t0=t["catch"](2),t.next=14,e.dispatch("invites/handleNotEnoughFoundsError",{error:t.t0});case 14:if(!t.sent){t.next=16;break}return t.abrupt("return");case 16:throw t.t0;case 17:return t.prev=17,m(!1),t.finish(17);case 20:e.commit("invites/add",Qu.from(r,"hex").slice(0,32)),f.value.amount="";case 22:case"end":return t.stop()}}),t,null,[[2,10,17,20]])})))}return{PROTOCOL_AETERNITY:a.DJ,PlusCircleFillIcon:ka.Z,activeAccount:n,balance:c,fee:h,invites:w,max:g,formModel:f,generate:y,setLoaderVisible:m}}}),tl=(0,qe.Z)(el,[["render",Uu],["__scopeId","data-v-35ff545e"]]),nl=tl;function al(e,t,n,a,r,o){var i=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(i)}var rl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ol=(0,B.aZ)({components:{IonPage:W._i},setup:function(){var e=this,t=(0,p.oR)(),n=(0,W.cj)(),r=(0,Qt.yj)(),o=(0,oe.ol)(),i=o.openDefaultModal,s=o.openModal,u=(0,oe.bl)(),l=u.setLoaderVisible;(0,W.Yr)((function(){return rl(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l(!0),n.push({name:pe.I}),e.prev=2,e.next=5,s(a.$A,{secretKey:(0,d.Jx)("nm_".concat(r.hash?r.hash.replace("#",""):r.fullPath.split("/").at(-1)))});case 5:e.next=18;break;case 7:if(e.prev=7,e.t0=e["catch"](2),"Invalid checksum"!==e.t0.message){e.next=13;break}return e.next=12,i({msg:"The invite link is broken"});case 12:return e.abrupt("return");case 13:return e.next=15,t.dispatch("invites/handleNotEnoughFoundsError",{error:e.t0,isInviteError:!0});case 15:if(!e.sent){e.next=17;break}return e.abrupt("return");case 17:throw e.t0;case 18:return e.prev=18,l(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[2,7,18,21]])})))}))}}),il=(0,qe.Z)(ol,[["render",al]]),sl=il;var ul={class:"language-settings"},ll={class:"text-description"},cl={class:"languages"},dl=["onClick"];function pl(e,t,n,a,r,o){var i=(0,B.up)("RadioButton"),s=(0,B.up)("IonContent"),u=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(u,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",ul,[(0,B._)("p",ll,(0,me.zw)(e.$t("pages.languageSettings.chooseLanguage")),1),(0,B._)("div",cl,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.list,(function(t){var n=t.code,a=t.name;return(0,B.wg)(),(0,B.j4)(i,{key:n,value:e.active&&e.active.name==a,disabled:!1,class:(0,me.C_)(["language",{active:e.active&&e.active.name==a}]),onInput:function(e){return o.switchLanguage(n)}},{default:(0,B.w5)((function(){return[(0,B._)("div",{class:"row",onClick:function(e){return o.switchLanguage(n)}},[(0,B._)("div",null,[(0,B.Uk)((0,me.zw)(a)+" ",1),(0,B._)("span",null,"("+(0,me.zw)(n)+")",1)])],8,dl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}var ml=n(70090);const fl={components:{RadioButton:ml.Z,IonPage:W._i,IonContent:W.W2},computed:(0,p.Se)("languages",["list","active"]),methods:{switchLanguage:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.dropdown=!1,t.$store.commit("languages/setActiveCode",e);case 2:case"end":return n.stop()}}),n)})))()}}},vl=(0,qe.Z)(fl,[["render",pl],["__scopeId","data-v-5ad4f319"]]),gl=vl;var hl={class:"currency-settings"},wl={class:"text-description"},yl={class:"options"},kl=["onClick"],bl={class:"left"},Cl={class:"code"},Al={class:"symbol"},xl={class:"name"};function _l(e,t,n,a,r,o){var i=(0,B.up)("RadioButton"),s=(0,B.up)("IonContent"),u=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(u,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",hl,[(0,B._)("p",wl,(0,me.zw)(e.$t("pages.currencySettings.chooseLanguage")),1),(0,B._)("div",yl,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.CURRENCIES,(function(t,n){var a=t.code,r=t.name,o=t.symbol;return(0,B.wg)(),(0,B.j4)(i,{key:"".concat(n,"-").concat(a),value:e.currentCurrencyCode===a,class:(0,me.C_)([{active:e.currentCurrencyCode===a},"currency"]),onInput:function(t){return e.setCurrentCurrency(a)}},{default:(0,B.w5)((function(){return[(0,B._)("div",{class:"row",onClick:function(t){return e.setCurrentCurrency(a)}},[(0,B._)("div",bl,[(0,B._)("div",Cl,(0,me.zw)(a),1),(0,B._)("div",Al," ("+(0,me.zw)(o)+") ",1)]),(0,B._)("div",xl,(0,me.zw)(r),1)],8,kl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}const Dl=(0,B.aZ)({name:"CurrencySettings",components:{RadioButton:ml.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.jg)({store:e}),n=t.CURRENCIES,a=t.currentCurrencyCode,r=t.setCurrentCurrency;return{CURRENCIES:n,currentCurrencyCode:a,setCurrentCurrency:r}}}),Tl=(0,qe.Z)(Dl,[["render",_l],["__scopeId","data-v-4ecb496d"]]),Sl=Tl;var Il={class:"auction"},Fl={class:"auction-tabs"};function El(e,t,n,a,r,o){var i=(0,B.up)("Tab"),s=(0,B.up)("Tabs"),u=(0,B.up)("IonRouterOutlet"),l=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(l,null,{default:(0,B.w5)((function(){return[(0,B._)("div",Il,[(0,B._)("div",Fl,[(0,B.Wm)(s,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{to:{name:"auction-bid",params:e.routeParams},text:e.$t("pages.names.auctions.place-bid"),"exact-path":""},null,8,["to","text"]),(0,B.Wm)(i,{to:{name:"auction-history",params:e.routeParams},text:e.$t("pages.names.auctions.bid-history")},null,8,["to","text"])]})),_:1})]),e.isLoaderVisible?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(u,{key:0,animation:e.fadeAnimation,class:"auction-router",name:e.name},null,8,["animation","name"]))])]})),_:1})}var Rl=n(12442),Bl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Zl=3e3;const Ul=(0,B.aZ)({name:"Auction",components:{Tabs:qi.Z,Tab:zi.Z,IonRouterOutlet:W.jP,IonPage:W._i},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,Qt.tv)(),a=(0,oe.dp)(),r=a.getMiddleware,o=(0,Qt.yj)(),i=o.params,s=(0,oe.bl)(),u=s.isAppActive,l=s.isLoaderVisible,c=s.setLoaderVisible;function d(){return Bl(this,void 0,void 0,regeneratorRuntime.mark((function a(){var o,i,s,u,l,d,p,m;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,r();case 2:return o=a.sent,a.prev=3,i=(0,Rl.W)(e.name),a.next=7,Promise.all([o.getName(e.name),o.getAccountActivities(i,{limit:100})]);case 7:s=a.sent,u=(0,te.Z)(s,2),l=u[0],d=u[1],p=l.info.auctionEnd,m=d.data.filter((function(e){var t=e.type;return"NameClaimEvent"===t})).filter((function(e){var t=e.payload.sourceTxType;return"NameClaimTx"===t})).map((function(e){var t=e.payload.tx,n=t.accountId,a=t.nameFee;return{nameFee:new Kr.Z((0,k.mW)(a)),accountId:n}})),t.commit("names/setAuctionEntry",{name:e.name,expiration:p,bids:m}),a.next=19;break;case 16:a.prev=16,a.t0=a["catch"](3),n.push({name:"auction-bid"});case 19:c(!1);case 20:case"end":return a.stop()}}),a,null,[[3,16]])})))}c(!0);var m=(0,g.ID)((function(){u.value&&d()}),Zl);return(0,B.Jd)((function(){clearInterval(m)})),(0,B.YP)((function(){return e.name}),(function(){return d()})),{isLoaderVisible:l,routeParams:i,fadeAnimation:Vi.qy}}}),Pl=(0,qe.Z)(Ul,[["render",El],["__scopeId","data-v-69fdacb7"]]),Ml=Pl;var Ll={class:"auction-bid"},Ol={class:"form"},Nl={class:"tx-details"};function Wl(e,t,n,a,r,o){var i=(0,B.up)("AuctionCard"),s=(0,B.up)("InputAmount"),u=(0,B.up)("Field"),l=(0,B.up)("TokenAmount"),c=(0,B.up)("DetailsItem"),d=(0,B.up)("BtnMain"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(p,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Ll,[(0,B.Wm)(i,{name:e.name},null,8,["name"]),(0,B._)("div",Ol,[(0,B.Wm)(u,{name:"amount",rules:{enough_coin:e.amountTotal.toString(),required:!0}},{default:(0,B.w5)((function(n){var a=n.field,r=n.errorMessage;return[(0,B.Wm)(s,(0,B.dG)(a,{modelValue:e.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.amount=t}),name:"amount",message:e.amountError||r,protocol:e.PROTOCOL_AETERNITY,readonly:""}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),(0,B._)("div",Nl,[(0,B.Wm)(c,{label:e.$t("transaction.fee")},{value:(0,B.w5)((function(){return[(0,B.Wm)(l,{amount:+e.txFee,protocol:e.PROTOCOL_AETERNITY,"hide-fiat":""},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,B.Wm)(c,{label:e.$t("common.total")},{value:(0,B.w5)((function(){return[(0,B.Wm)(l,{amount:+e.amountTotal,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"])]})),_:1},8,["label"])]),(0,B.Wm)(d,{disabled:!!e.amountError||!e.amount||e.errorName,class:"button",extend:"",onClick:e.bid},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.names.auctions.place-bid")),1)]})),_:1},8,["disabled","onClick"])])])]})),_:1})]})),_:1})}var Hl={class:"auction-card"},Vl={class:"name"};function jl(e,t,n,a,r,o){var i=(0,B.up)("BtnHelp"),s=(0,B.up)("Avatar"),u=(0,B.up)("AuctionOverview");return(0,B.wg)(),(0,B.iD)("div",Hl,[(0,B.Wm)(i,{class:"help-button",title:e.$t("modals.auctions-help.title"),msg:e.$t("modals.auctions-help.msg")},null,8,["title","msg"]),(0,B.Wm)(s,{name:n.name},null,8,["name"]),(0,B._)("span",Vl,(0,me.zw)(n.name),1),(0,B.Wm)(u,{name:n.name},null,8,["name"])])}var ql=n(18492),zl={class:"auction-overview"};function Yl(e,t,n,a,r,o){var i=(0,B.up)("TokenAmount"),s=(0,B.up)("DetailsItem");return(0,B.wg)(),(0,B.iD)("div",zl,[(0,B.Wm)(s,{label:e.$t("pages.auctionBid.current-highest-bid")},{value:(0,B.w5)((function(){return[(0,B.Wm)(i,{amount:e.amount,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,B.Wm)(s,{class:"end-height",label:e.$t("pages.auctionBid.ending-height"),value:e.auction.expiration,secondary:"(≈".concat(e.endHeight,")")},null,8,["label","value","secondary"])])}const $l=(0,B.aZ)({components:{DetailsItem:ri.Z,TokenAmount:oi.Z},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,oe.i6)({store:t}),r=n.topBlockHeight,o=(0,rn.X_)("names/getHighestBid"),i=(0,rn.X_)("names/getAuction"),s=(0,B.Fl)((function(){return i.value(e.name)})),u=(0,B.Fl)((function(){return s.value.expiration-r.value})),l=(0,B.Fl)((function(){return+o.value(e.name).nameFee})),c=(0,B.Fl)((function(){return(0,g.vz)(u.value)}));return{PROTOCOL_AETERNITY:a.DJ,blocksToRelativeTime:g.vz,auction:s,amount:l,endHeight:c}}}),Gl=(0,qe.Z)($l,[["render",Yl],["__scopeId","data-v-7fa2c619"]]),Kl=Gl,Jl={components:{Avatar:Po.Z,BtnHelp:ql.Z,AuctionOverview:Kl},props:{name:{type:String,required:!0}}},Ql=(0,qe.Z)(Jl,[["render",jl],["__scopeId","data-v-57d51d1e"]]),Xl=Ql;var ec=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const tc=(0,B.aZ)({name:"AuctionBid",components:{AuctionCard:Xl,InputAmount:Ou.Z,DetailsItem:ri.Z,TokenAmount:oi.Z,BtnMain:yn.Z,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,Qt.tv)(),r=(0,no.QT)(),o=r.t,i=(0,Pu.cI)(),s=i.validate,u=(0,Pu.qk)("amount"),l=(0,oe.cn)({store:t}),c=l.getAeSdk,d=(0,oe.ol)(),m=d.openDefaultModal,f=(0,oe.bl)(),v=f.setLoaderVisible,g=(0,Ze.iH)(""),w=(0,rn.X_)("names/getHighestBid"),y=(0,B.Fl)((function(){var t;return(null===(t=w.value(e.name))||void 0===t?void 0:t.nameFee)||new Kr.Z(0)})),b=(0,B.Fl)((function(){return(0,Kr.Z)((0,$.vq)((0,$.lE)({tag:Y.Vp.NameClaimTx,accountId:G.VW,nonce:G.VO,name:e.name,nameSalt:0,nameFee:(0,k.Ze)(y.value.multipliedBy(h.FY).toString())}),Y.Vp.NameClaimTx).fee).shiftedBy(-h.T3)})),C=(0,B.Fl)((function(){return b.value.plus(g.value||0)})),A=(0,B.Fl)((function(){var e=y.value.multipliedBy(h.FY);return""!==g.value&&e.isGreaterThanOrEqualTo(+g.value)?o("pages.names.auctions.min-bid",{minBid:e}):null}));function x(){return ec(this,void 0,void 0,regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,s();case 2:if(t.sent.valid){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,c();case 6:if(a=t.sent,!A.value){t.next=9;break}return t.abrupt("return");case 9:return t.prev=9,v(!0),t.next=13,a.aensBid(e.name,(0,k.Ze)(g.value));case 13:m({msg:o("pages.names.auctions.bid-added",{name:e.name})}),n.push({name:"auction-history",params:{name:e.name}}),t.next=22;break;case 17:t.prev=17,t.t0=t["catch"](9),r=t.t0.message,r.includes("is not enough to execute")&&(r=o("pages.names.balance-error")),m({msg:r});case 22:return t.prev=22,v(!1),t.finish(22);case 25:case"end":return t.stop()}}),t,null,[[9,17,22,25]])})))}return{PROTOCOL_AETERNITY:a.DJ,amount:g,amountTotal:C,amountError:A,errorName:u,txFee:b,bid:x}}}),nc=(0,qe.Z)(tc,[["render",Wl],["__scopeId","data-v-076144c5"]]),ac=nc;var rc={class:"auction-history"},oc={class:"title"},ic={class:"name"},sc={class:"item"};function uc(e,t,n,a,r,o){var i=(0,B.up)("AccountItem"),s=(0,B.up)("AuctionOverview"),u=(0,B.up)("TokenAmount"),l=(0,B.up)("IonContent"),c=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(c,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(l,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",rc,[(0,B._)("span",oc,[(0,B.Uk)((0,me.zw)(e.$t("pages.names.auctions.bids-on"))+" ",1),(0,B._)("span",ic,(0,me.zw)(e.name),1)]),(0,B._)("div",sc,[(0,B.Wm)(i,{address:e.highestBid.accountId,name:e.getPreferred(e.highestBid.accountId),protocol:e.PROTOCOL_AETERNITY},null,8,["address","name","protocol"]),(0,B.Wm)(s,{name:e.name},null,8,["name"])]),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.previousBids,(function(t,n){return(0,B.wg)(),(0,B.iD)("div",{key:n,class:"item"},[(0,B.Wm)(u,{amount:+t.nameFee,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"]),(0,B.Wm)(i,{protocol:e.PROTOCOL_AETERNITY,address:t.accountId,name:e.getPreferred(t.accountId)},null,8,["protocol","address","name"])])})),128))])]})),_:1})]})),_:1})}var lc=n(23623);const cc=(0,B.aZ)({components:{AccountItem:lc.Z,AuctionOverview:Kl,TokenAmount:oi.Z,IonPage:W._i,IonContent:W.W2},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,rn.X_)("names/getHighestBid"),n=(0,rn.X_)("names/getAuction"),r=(0,rn.X_)("names/getPreferred"),o=(0,B.Fl)((function(){return t.value(e.name)})),i=(0,B.Fl)((function(){return n.value(e.name).bids.filter((function(e){return e!==o.value}))}));return{PROTOCOL_AETERNITY:a.DJ,getPreferred:r,highestBid:o,previousBids:i}}}),dc=(0,qe.Z)(cc,[["render",uc],["__scopeId","data-v-109a0fe0"]]),pc=dc;var mc={class:"auction-list-content"},fc={key:0,class:"list"},vc={class:"name-wrapper"},gc={class:"name"},hc={key:0,class:"expiration"};function wc(e,t,n,a,r,o){var i=(0,B.up)("Filters"),s=(0,B.up)("IonToolbar"),u=(0,B.up)("TokenAmount"),l=(0,B.up)("NameRow"),c=(0,B.up)("AnimatedSpinner"),d=(0,B.up)("RegisterName"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,{class:"auction-list"},{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"toolbar"},{default:(0,B.w5)((function(){return[e.activeAuctions.length||e.auctions.length||e.loading?((0,B.wg)(),(0,B.j4)(i,{key:0,modelValue:e.displayMode,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.displayMode=t}),filters:e.filters,sticky:""},null,8,["modelValue","filters"])):(0,B.kq)("",!0)]})),_:1}),(0,B.Wm)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,B.w5)((function(){return[(0,B._)("div",mc,[e.activeAuctions.length||e.auctions.length?((0,B.wg)(),(0,B.iD)("ul",fc,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.auctions,(function(t,n){var a=t.name,r=t.expiration,o=t.lastBid;return(0,B.wg)(),(0,B.j4)(l,{key:n,to:{name:"auction-bid",params:{name:a}},name:a,address:o.accountId},{default:(0,B.w5)((function(){return[(0,B._)("div",vc,[(0,B._)("div",gc,[(0,B.Uk)((0,me.zw)(a)+" ",1),(0,B.Wm)(u,{amount:e.getAeFee(o.nameFee),protocol:e.PROTOCOL_AETERNITY},null,8,["amount","protocol"])]),e.topBlockHeight?((0,B.wg)(),(0,B.iD)("div",hc,(0,me.zw)(e.$t("pages.names.auctions.expires"))+" in ≈ "+(0,me.zw)(e.blocksToRelativeTime(r-e.topBlockHeight)),1)):(0,B.kq)("",!0)])]})),_:2},1032,["to","name","address"])})),128))])):e.loading?((0,B.wg)(),(0,B.j4)(c,{key:1,class:"spinner"})):((0,B.wg)(),(0,B.j4)(d,{key:2,msg:e.$t("pages.names.auctions.no-auctions")},null,8,["msg"]))])]})),_:1})]})),_:1})}n(2707),n(91058);var yc=n(34978),kc={class:"content"},bc={class:"name-info"};function Cc(e,t,n,a,r,o){var i=(0,B.up)("Avatar"),s=(0,B.up)("ListItemWrapper");return(0,B.wg)(),(0,B.j4)(s,{to:n.to,replace:"",class:"name-row",onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},{default:(0,B.w5)((function(){return[(0,B._)("div",kc,[(0,B.Wm)(i,{name:n.name,address:n.address},null,8,["name","address"]),(0,B._)("div",bc,[(0,B.WI)(e.$slots,"default",{},void 0,!0)])])]})),_:3},8,["to"])}var Ac=n(85202);const xc={components:{ListItemWrapper:Ac.Z,Avatar:Po.Z},props:{name:{type:String,default:""},address:{type:String,default:""},to:{type:Object,default:null}}},_c=(0,qe.Z)(xc,[["render",Cc],["__scopeId","data-v-5a99e238"]]),Dc=_c;var Tc={class:"register-name"},Sc={class:"message"};function Ic(e,t,n,a,r,o){var i=(0,B.up)("BtnMain");return(0,B.wg)(),(0,B.iD)("div",Tc,[(0,B._)("p",Sc,(0,me.zw)(n.msg),1),(0,B.Wm)(i,{class:"btn",text:e.$t("pages.names.list.register-name"),to:{name:"account-details-names-claim"}},null,8,["text"])])}const Fc={components:{BtnMain:yn.Z},props:{msg:{type:String,required:!0}}},Ec=(0,qe.Z)(Fc,[["render",Ic],["__scopeId","data-v-06542595"]]),Rc=Ec;var Bc=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Zc={soonest:"soonest",bid:"bid",length:"length"},Uc=1,Pc=-1;const Mc=(0,B.aZ)({components:{Filters:yc.Z,NameRow:Dc,TokenAmount:oi.Z,AnimatedSpinner:br.Z,RegisterName:Rc,IonPage:W._i,IonContent:W.W2,IonToolbar:W.sr},setup:function(){var e=this,t=(0,p.oR)(),n=(0,no.QT)(),r=n.t,o=(0,oe.i6)({store:t}),i=o.topBlockHeight,s=(0,Ze.iH)(!1),u=(0,Ze.iH)([]),l=(0,Ze.iH)({key:"soonest",rotated:!1}),c=(0,Ze.iH)({soonest:{rotated:!1,name:r("filters.soonest")},bid:{rotated:!1,name:r("filters.bid")},length:{rotated:!1,name:r("filters.length")}}),d=(0,B.Fl)((function(){return(0,de.Z)(u.value).sort((function(e,t){switch(l.value.key){case Zc.length:return e.name.length-t.name.length;case Zc.bid:return parseInt(e.lastBid.nameFee,10)-parseInt(t.lastBid.nameFee,10);default:return 1}})).sort((function(){return l.value.rotated?Pc:Uc}))}));return(0,B.bv)((function(){return Bc(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s.value=!0,e.next=3,t.dispatch("names/fetchAuctions");case 3:u.value=e.sent,s.value=!1;case 5:case"end":return e.stop()}}),e)})))})),{PROTOCOL_AETERNITY:a.DJ,blocksToRelativeTime:g.vz,loading:s,displayMode:l,activeAuctions:u,auctions:d,filters:c,topBlockHeight:i,getAeFee:k.FH}}}),Lc=(0,qe.Z)(Mc,[["render",wc],["__scopeId","data-v-2416ab86"]]),Oc=Lc;var Nc={class:"more"};function Wc(e,t,n,a,r,o){var i=(0,B.up)("Settings"),s=(0,B.up)("PanelItem"),u=(0,B.up)("ClaimTips"),l=(0,B.up)("Invites"),c=(0,B.up)("BugReport"),d=(0,B.up)("BuyIcon"),p=(0,B.up)("FaucetIcon"),m=(0,B.up)("Dex"),f=(0,B.up)("About"),v=(0,B.up)("IonContent"),g=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(g,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(v,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Nc,[(0,B.Wm)(s,{to:{name:"settings"},title:e.$t("pages.titles.settings"),"data-cy":"settings"},{icon:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),_:1},8,["title"]),e.isNodeMainnet||e.isNodeTestnet?((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Wm)(s,{to:{name:"tips-claim"},title:e.$t("pages.claimTips.title"),disabled:!e.isAccountAe,"data-cy":"tips-claim"},{icon:(0,B.w5)((function(){return[(0,B.Wm)(u)]})),_:1},8,["title","disabled"]),(0,B.Wm)(s,{to:{name:"invite"},title:e.$t("pages.titles.giftCards"),disabled:!e.isAccountAe,"data-cy":"invite"},{icon:(0,B.w5)((function(){return[(0,B.Wm)(l)]})),_:1},8,["title","disabled"])],64)):(0,B.kq)("",!0),(0,B.Wm)(s,{href:e.BUG_REPORT_URL,title:e.$t("pages.about.reportBug")},{icon:(0,B.w5)((function(){return[(0,B.Wm)(c)]})),_:1},8,["href","title"]),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.j4)(s,{key:1,href:e.AE_SIMPLEX_URL,title:e.$t("pages.fungible-tokens.buyAe")},{icon:(0,B.w5)((function(){return[(0,B.Wm)(d)]})),_:1},8,["href","title"])):e.isNodeTestnet?((0,B.wg)(),(0,B.j4)(s,{key:2,disabled:!e.isActiveAccountAe,href:e.activeAccountFaucetUrl,title:e.$t("common.faucet")},{icon:(0,B.w5)((function(){return[(0,B.Wm)(p)]})),_:1},8,["disabled","href","title"])):(0,B.kq)("",!0),(0,B.Wm)(s,{href:e.AE_DEX_URL,title:e.$t("pages.more.dex")},{icon:(0,B.w5)((function(){return[(0,B.Wm)(m)]})),_:1},8,["href","title"]),(0,B.Wm)(s,{to:{name:"about"},title:e.$t("pages.titles.about"),"data-cy":"about"},{icon:(0,B.w5)((function(){return[(0,B.Wm)(f)]})),_:1},8,["title"])])]})),_:1})]})),_:1})}var Hc={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Vc=(0,B._)("path",{d:"M12 22C12.2779 22 12.6734 21.7969 12.9941 21.5938C18.9695 17.7456 22.7963 13.2346 22.7963 8.65954C22.7963 4.7365 20.0919 2 16.682 2C14.5548 2 12.962 3.17584 12 4.9396C11.0593 3.18653 9.45588 2 7.32868 2C3.91874 2 1.20361 4.7365 1.20361 8.65954C1.20361 13.2346 5.03044 17.7456 11.0059 21.5938C11.3372 21.7969 11.7327 22 12 22ZM8.55797 13.0102C8.55797 12.8926 8.60073 12.7857 8.69693 12.6788L13.0689 7.22715C13.4324 6.77819 14.0203 7.08819 13.8065 7.63335L12.3955 11.4281H15.0572C15.271 11.4281 15.4634 11.5885 15.4634 11.8022C15.4634 11.9198 15.4099 12.0374 15.3137 12.1443L10.9524 17.5852C10.589 18.0342 9.99036 17.7242 10.2041 17.179L11.6258 13.3843H8.95348C8.73969 13.3843 8.55797 13.2239 8.55797 13.0102Z",fill:"currentColor"},null,-1),jc=[Vc];function qc(e,t){return(0,B.wg)(),(0,B.iD)("svg",Hc,jc)}const zc={},Yc=(0,qe.Z)(zc,[["render",qc]]),$c=Yc;var Gc={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Kc=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.061 21.1533C10.1626 21.6782 10.5859 22 11.1279 22H12.8721C13.3971 22 13.8205 21.6782 13.9221 21.1533L14.4132 19.1211C14.7519 19.0025 15.0737 18.8671 15.3446 18.7485L17.1228 19.8154C17.5631 20.1372 18.105 20.0694 18.4776 19.6969L19.6799 18.4945C20.0525 18.105 20.1372 17.5461 19.7985 17.1058L18.7485 15.3446C18.884 15.0567 19.0025 14.7519 19.1041 14.4301L21.1533 13.956C21.6782 13.8374 22 13.431 22 12.8891V11.1787C22 10.6537 21.6782 10.2303 21.1533 10.1287L19.1211 9.6376C19.0025 9.28196 18.8671 8.9602 18.7485 8.70618L19.8323 6.92803C20.1372 6.47079 20.1033 5.94581 19.7138 5.55631L18.4776 4.35394C18.0881 3.99831 17.6308 3.93057 17.1566 4.20152L15.3446 5.30229C15.0737 5.16681 14.7519 5.03133 14.4132 4.91279L13.9221 2.86367C13.8205 2.3387 13.3971 2 12.8721 2H11.1279C10.5859 2 10.1626 2.3387 10.061 2.88061L9.56986 4.89585C9.2481 5.01439 8.9094 5.14987 8.62151 5.28535L6.84335 4.20152C6.36918 3.93057 5.895 3.98137 5.5055 4.35394L4.26926 5.55631C3.87976 5.94581 3.84589 6.47079 4.15072 6.92803L5.23455 8.70618C5.116 8.9602 4.98053 9.28196 4.86198 9.6376L2.84674 10.1287C2.30483 10.2303 2 10.6537 2 11.1787V12.8891C2 13.431 2.30483 13.8374 2.84674 13.956L4.87892 14.4301C4.98053 14.7519 5.09907 15.0567 5.25148 15.3446L4.18459 17.1058C3.86283 17.5461 3.93057 18.105 4.30313 18.4945L5.5055 19.6969C5.895 20.0694 6.43692 20.1372 6.86029 19.8154L8.63844 18.7485C8.9094 18.8671 9.2481 19.0025 9.56986 19.1211L10.061 21.1533ZM15.3108 11.9915C15.3108 13.8036 13.8205 15.3108 11.9915 15.3108C10.1795 15.3108 8.68925 13.8036 8.68925 11.9915C8.68925 10.1964 10.1795 8.70618 11.9915 8.70618C13.8205 8.70618 15.3108 10.1964 15.3108 11.9915Z",fill:"currentColor"},null,-1),Jc=[Kc];function Qc(e,t){return(0,B.wg)(),(0,B.iD)("svg",Gc,Jc)}const Xc={},ed=(0,qe.Z)(Xc,[["render",Qc]]),td=ed;var nd={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},ad=(0,B._)("path",{d:"M11.9957 22C14.3743 22 16.4319 19.4486 16.4319 16.7078C16.4319 16.3374 16.3743 16.0329 16.2508 15.7695C16.4566 15.8272 16.6706 15.8848 16.8764 15.9342C17.4196 16.0988 17.5842 16.3374 17.5101 16.823L16.9175 20.6996C16.8352 21.2263 17.1644 21.5309 17.5924 21.5309C18.0451 21.5309 18.2508 21.251 18.3249 20.7984L18.9916 16.5597C19.1562 15.5144 18.7364 14.9465 17.6006 14.6914L13.8722 13.8272L13.864 13.7449C14.1932 13.5885 14.4155 13.2757 14.5307 12.9383L17.1068 12.6091C18.2179 12.4691 18.7118 11.8272 18.7118 10.7325V7.90946C18.7118 7.46502 18.4566 7.20165 18.0122 7.20165C17.5677 7.20165 17.3126 7.46502 17.3126 7.90946V10.4362C17.3126 11.0617 16.9751 11.2675 16.4072 11.3333L14.5965 11.5638C14.506 11.3169 14.3414 11.0947 14.1192 10.9465V10.8642C15.5513 10.6008 16.3414 9.73663 16.3414 8.46914C16.3414 7.45679 15.971 6.51852 15.3702 5.78601L15.4772 5.71193C16.3249 5.10288 16.4731 4.22222 15.9299 3.2428L15.4525 2.44444C15.2879 2.13169 15.0904 2 14.8023 2C14.4401 2 14.1603 2.2716 14.1603 2.62551C14.1603 2.78189 14.185 2.87243 14.2755 3.04527L14.6871 3.68724C14.9504 4.11523 14.934 4.49383 14.5883 4.79012C14.5471 4.83128 14.506 4.85597 14.4566 4.89712C13.757 4.40329 12.9093 4.12346 11.9957 4.12346C11.0986 4.12346 10.2591 4.40329 9.55949 4.88889C9.51834 4.85597 9.47719 4.82305 9.43603 4.78189C9.09035 4.49383 9.07389 4.11523 9.33727 3.68724L9.74879 3.04527C9.84756 2.87243 9.86402 2.78189 9.86402 2.62551C9.86402 2.2716 9.59241 2 9.22204 2C8.94221 2 8.73644 2.13169 8.57184 2.44444L8.09447 3.2428C7.55126 4.22222 7.69941 5.10288 8.54714 5.71193L8.63768 5.77778C8.03686 6.50206 7.65826 7.44856 7.65826 8.46914C7.65826 9.73663 8.44838 10.6008 9.87225 10.8642V10.9465C9.65003 11.0947 9.49365 11.3169 9.39488 11.5638L7.59241 11.3333C7.02451 11.2675 6.68706 11.0617 6.68706 10.4362V7.90946C6.68706 7.46502 6.43192 7.20165 5.98747 7.20165C5.54303 7.20165 5.27965 7.46502 5.27965 7.90946V10.7325C5.27965 11.8272 5.78171 12.4691 6.89282 12.6091L9.46896 12.9383C9.57595 13.2757 9.8064 13.5885 10.1356 13.7449V13.8272L6.399 14.6914C5.26319 14.9465 4.84344 15.5144 5.00805 16.5597L5.67472 20.7984C5.74879 21.251 5.95455 21.5309 6.40723 21.5309C6.83521 21.5309 7.16443 21.2263 7.08212 20.6996L6.48953 16.823C6.41546 16.3292 6.58007 16.0988 7.13151 15.9342C7.33727 15.8765 7.54303 15.8272 7.74879 15.7695C7.62533 16.0329 7.56772 16.3374 7.56772 16.7078C7.56772 19.4486 9.62533 22 11.9957 22Z",fill:"currentColor"},null,-1),rd=[ad];function od(e,t){return(0,B.wg)(),(0,B.iD)("svg",nd,rd)}const id={},sd=(0,qe.Z)(id,[["render",od]]),ud=sd;var ld={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},cd=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7ZM12 10C12.5523 10 13 10.4477 13 11V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V11C11 10.4477 11.4477 10 12 10Z",fill:"currentColor"},null,-1),dd=[cd];function pd(e,t){return(0,B.wg)(),(0,B.iD)("svg",ld,dd)}const md={},fd=(0,qe.Z)(md,[["render",pd]]),vd=fd;var gd={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},hd=(0,B._)("path",{d:"M5 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3C4.55228 3 5 3.44772 5 4V19Z",fill:"currentColor"},null,-1),wd=(0,B._)("path",{opacity:"0.44",d:"M8.72954 14.684C8.35181 15.0869 7.71897 15.1073 7.31606 14.7296C6.91315 14.3518 6.89274 13.719 7.27047 13.3161L11.0205 9.3161C11.3858 8.92644 11.9928 8.89264 12.3991 9.23935L15.3589 11.765L19.2151 6.8804C19.5573 6.44692 20.1862 6.37294 20.6196 6.71516C21.0531 7.05738 21.1271 7.68621 20.7849 8.11969L16.2849 13.8197C15.9334 14.2649 15.2824 14.3289 14.8509 13.9607L11.8268 11.3802L8.72954 14.684Z",fill:"currentColor"},null,-1),yd=[hd,wd];function kd(e,t){return(0,B.wg)(),(0,B.iD)("svg",gd,yd)}const bd={},Cd=(0,qe.Z)(bd,[["render",kd]]),Ad=Cd;var xd={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},_d=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 10L7 4H17L24 10L12 21L0 10ZM16.583 10.667C16.694 10.667 16.8 10.711 16.878 10.789C16.956 10.867 17 10.973 17 11.084V11.917C17 12.028 16.956 12.133 16.878 12.212C16.8 12.29 16.694 12.334 16.583 12.334H12.833V16.084C12.833 16.194 12.789 16.3 12.711 16.379C12.633 16.456 12.527 16.5 12.417 16.5H11.583C11.472 16.5 11.367 16.456 11.289 16.378C11.211 16.3 11.167 16.194 11.167 16.083V12.333H7.417C7.306 12.333 7.201 12.289 7.122 12.211C7.044 12.133 7 12.027 7 11.916V11.083C7 10.972 7.044 10.867 7.122 10.788C7.2 10.71 7.306 10.666 7.417 10.666H11.167V6.916C11.167 6.805 11.211 6.7 11.289 6.621C11.368 6.544 11.474 6.5 11.584 6.5H12.417C12.528 6.5 12.633 6.544 12.711 6.622C12.789 6.7 12.833 6.806 12.833 6.917V10.667H16.583Z",fill:"currentColor"},null,-1),Dd=[_d];function Td(e,t){return(0,B.wg)(),(0,B.iD)("svg",xd,Dd)}const Sd={},Id=(0,qe.Z)(Sd,[["render",Td]]),Fd=Id,Ed=(0,B.aZ)({name:"More",components:{PanelItem:Xe,Invites:$c,Settings:td,About:vd,BuyIcon:Dt.Z,Dex:Ad,BugReport:ud,ClaimTips:Fd,FaucetIcon:Gi.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.xe)({store:e}),n=t.activeAccount,r=t.activeAccountFaucetUrl,o=t.isActiveAccountAe,i=(0,oe.cn)({store:e}),s=i.isNodeMainnet,u=i.isNodeTestnet,l=(0,B.Fl)((function(){return n.value.protocol===a.DJ}));return{AE_DEX_URL:h.GF,AE_SIMPLEX_URL:h.HK,BUG_REPORT_URL:a.$m,UNFINISHED_FEATURES:a._0,activeAccountFaucetUrl:r,isActiveAccountAe:o,isNodeMainnet:s,isNodeTestnet:u,isAccountAe:l}}}),Rd=(0,qe.Z)(Ed,[["render",Wc],["__scopeId","data-v-f255322e"]]),Bd=Rd;var Zd={class:"claim"},Ud={class:"chain-name-counter"},Pd={class:"aens-domain"},Md={class:"auto-extend-label"};function Ld(e,t,n,a,r,o){var i=(0,B.up)("InputField"),s=(0,B.up)("Field"),u=(0,B.up)("BtnHelp"),l=(0,B.up)("CheckBox"),c=(0,B.up)("i18n-t"),d=(0,B.up)("BtnMain"),p=(0,B.up)("IonContent"),m=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(m,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,B.w5)((function(){return[(0,B._)("div",Zd,[(0,B.Wm)(s,{name:"name",rules:{enough_coin:e.totalNameClaimAmount.toString(),required:!0,name:!0,name_unregistered:!0}},{default:(0,B.w5)((function(n){var a=n.field,r=n.errorMessage;return[(0,B.Wm)(i,(0,B.dG)(a,{modelValue:e.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.name=t}),name:"name",class:"chain-name",label:e.$t("pages.names.claim.register-name"),message:r,placeholder:e.$t("pages.names.claim.name-placeholder")}),{"label-after":(0,B.w5)((function(){return[(0,B._)("span",Ud,(0,me.zw)(e.name.length)+"/"+(0,me.zw)(e.maxNameLength),1)]})),after:(0,B.w5)((function(){return[(0,B._)("span",Pd,(0,me.zw)(e.AE_AENS_DOMAIN),1)]})),_:2},1040,["modelValue","label","message","placeholder"])]})),_:1},8,["rules"]),(0,B.Wm)(l,{modelValue:e.autoExtend,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.autoExtend=t})},{default:(0,B.w5)((function(){return[(0,B._)("div",Md,[(0,B.Uk)((0,me.zw)(e.$t("pages.names.claim.auto-extend"))+" ",1),(0,B.Wm)(u,{title:e.$t("modals.autoextend-help.title"),msg:e.$t("modals.autoextend-help.msg"),class:(0,me.C_)({active:e.autoExtend})},null,8,["title","msg","class"])])]})),_:1},8,["modelValue"]),(0,B.Wm)(c,{keypath:"pages.names.claim.short-names.message",tag:"p",class:"text-description explanation",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",null,(0,me.zw)(e.$t("pages.names.claim.short-names.insertion")),1)]})),_:1}),(0,B.Wm)(d,{class:"btn-register",extend:"",disabled:!e.isAeSdkReady||!e.name||e.errorName,onClick:e.claim},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.isNameValid?e.$t("pages.names.claim.button-price",[e.totalNameClaimAmount.toFixed(4)]):e.$t("pages.names.claim.button")),1)]})),_:1},8,["disabled","onClick"])])]})),_:1})]})),_:1})}var Od=n(36179),Nd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Wd=0xef0073dca94fb;const Hd=(0,B.aZ)({name:"Claim",components:{InputField:Od.Z,CheckBox:Ws,BtnMain:yn.Z,BtnHelp:ql.Z,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,Qt.tv)(),t=(0,p.oR)(),n=(0,Pu.cI)(),a=n.validate,r=(0,Pu.qk)("name"),o=(0,no.QT)(),i=o.t,s=(0,oe.bl)(),u=s.setLoaderVisible,l=(0,Ze.iH)(""),c=(0,Ze.iH)(!1),d=h.YJ-h.Dq.length,m=(0,B.Fl)((function(){return"".concat(l.value).concat(h.Dq)})),f=(0,B.Fl)((function(){return l.value&&(0,k.qi)(m.value)})),v=(0,B.Fl)((function(){return l.value.length?(0,Kr.Z)((0,$.vq)((0,$.lE)({tag:Y.Vp.NamePreclaimTx,accountId:G.VW,nonce:G.VO,commitmentId:(0,Rl.B4)(m.value,Wd)}),Y.Vp.NamePreclaimTx).fee).plus((0,Xo.Pq)((0,$.lE)({tag:Y.Vp.NameClaimTx,accountId:G.VW,nonce:G.VO,name:m.value,nameSalt:0,nameFee:(0,Rl.yL)(m.value)})).toString()).shiftedBy(-h.T3):(0,Kr.Z)(0)})),g=(0,oe.cn)({store:t}),w=g.getAeSdk,y=g.isAeSdkReady;function b(){return Nd(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o,s,l,d,p,f,v,g,y;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,a();case 2:if(n.sent.valid){n.next=4;break}return n.abrupt("return");case 4:return r=(0,oe.ol)(),o=r.openDefaultModal,s=(0,oe.xe)({store:t}),l=s.activeAccount,n.next=8,w();case 8:return d=n.sent,n.next=11,d.api.getNameEntryByName(m.value)["catch"]((function(){return!1}));case 11:if(p=n.sent,!p){n.next=16;break}o({title:i("modals.name-exist.msg")}),n.next=51;break;case 16:return u(!0),n.prev=17,n.next=20,d.aensPreclaim(m.value);case 20:return v=n.sent,g=v.salt,n.next=24,d.aensClaim(m.value,g,{waitMined:!1});case 24:f=n.sent.hash,c.value&&t.commit("names/setPendingAutoExtendName",m.value),e.push({name:pe.Gf}),n.next=35;break;case 29:return n.prev=29,n.t0=n["catch"](17),y=n.t0.message,(y.includes("is not enough to execute")||404===n.t0.statusCode)&&(y=i("pages.names.balance-error")),o({icon:"critical",msg:y}),n.abrupt("return");case 35:return n.prev=35,u(!1),n.finish(35);case 38:return n.prev=38,t.dispatch("names/fetchOwned"),n.next=42,d.poll(f);case 42:h.xF0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,B.w5)((function(n){var a=n.field,r=n.errorMessage;return[(0,B.Wm)(u,(0,B.dG)(a,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.amount=t}),name:"amount",class:"amount-input",readonly:"",message:r,protocol:e.PROTOCOL_AETERNITY}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),e.tip.title?((0,B.wg)(),(0,B.iD)("div",zv,(0,me.zw)(e.tip.title),1)):(0,B.kq)("",!0),(0,B.Wm)(c,{class:"bottom-btn",extend:"",disabled:!e.isTippingSupported||e.errorAmount,onClick:e.sendTip},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"]),(0,B.Wm)(c,{class:"bottom-btn",extend:"",onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.cancel")),1)]})),_:1})])]})),_:1})]})),_:1})}var $v=n(35812),Gv=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Kv=(0,B.aZ)({name:"Retip",components:{InputAmount:Ou.Z,UrlStatus:$v.Z,BtnMain:yn.Z,BalanceInfo:Ct.Z,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.yj)(),o=(0,no.QT)(),i=o.t,s=(0,Pu.qk)(),u=(0,oe.bl)(),l=u.setLoaderVisible,c=(0,Ze.iH)({amount:""}),d=(0,y.H)(),m=d.getCacheTip,f=(0,oe.cn)({store:t}),v=f.isTippingSupported,w=(0,oe.ol)(),k=w.openDefaultModal,b=(0,oe.jg)({store:t}),C=b.marketData,A=(0,oe.xe)({store:t}),x=A.getLastActiveProtocolAccount,_=(0,oe.TW)(),D=_.openCallbackOrGoHome,T=(0,oe.ln)({store:t}),S=T.balance,I=(0,oe.Wp)({formModel:c,store:t}),F=I.max,E=I.fee,R=(0,oe.YA)({store:t}),Z=R.getTippingContracts,U=(0,oe.DQ)({store:t}),P=U.upsertCustomPendingTransactionForAccount,M=n.query.id,L=(0,Ze.iH)({url:"default",id:""}),O=(0,rn.X_)("tipUrl/status")[L.value.url],N=(0,B.Fl)((function(){return S.value.toNumber()}));function W(){var e,n,r;return Gv(this,void 0,void 0,regeneratorRuntime.mark((function o(){var s,u,d,p,m,f,v,w,y;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return s=(null===(e=c.value.selectedAsset)||void 0===e?void 0:e.contractId)!==h.ik?c.value.selectedAsset.decimals:h.T3,u=(0,g.Yt)(+(c.value.amount||0),s).toNumber(),d=x(a.DJ),l(!0),o.prev=4,o.next=7,Z();case 7:if(p=o.sent,m=p.tippingV1,f=p.tippingV2,v=(null===M||void 0===M?void 0:M.includes("_v2"))||(null===M||void 0===M?void 0:M.includes("_v3"))?f:m,v){o.next=13;break}throw Error("failed to initialize tipping contract");case 13:if(w=null,!f||!(null===(n=c.value.selectedAsset)||void 0===n?void 0:n.contractId)||c.value.selectedAsset.contractId===h.ik){o.next=22;break}return o.next=17,t.dispatch("fungibleTokens/createOrChangeAllowance",[c.value.selectedAsset.contractId,c.value.amount]);case 17:return o.next=19,f.retip_token(+L.value.id.split("_")[0],c.value.selectedAsset.contractId,u,{waitMined:!1});case 19:w=o.sent,o.next=25;break;case 22:return o.next=24,v.retip(+L.value.id.split("_")[0],Object.assign(Object.assign({},{amount:u}),{waitMined:!1}));case 24:w=o.sent;case 25:y={hash:w.hash,tipUrl:L.value.url,pending:!0,transactionOwner:d.address,tx:{amount:u,callerId:d.address,contractId:v.$options.address,type:Y.Vp[Y.Vp.ContractCallTx],function:"retip",selectedTokenContractId:null===(r=c.value.selectedAsset)||void 0===r?void 0:r.contractId,arguments:[],fee:0}},P(d.address,y),D(!0),o.next=35;break;case 30:throw o.prev=30,o.t0=o["catch"](4),k({title:i("modals.transaction-failed.msg"),icon:"critical"}),o.t0.payload=L.value,o.t0;case 35:return o.prev=35,l(!1),o.finish(35);case 38:case"end":return o.stop()}}),o,null,[[4,30,35,38]])})))}return(0,B.bv)((function(){return Gv(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(l(!0),c.value.selectedAsset=r.l.getAdapter(a.DJ).getDefaultCoin(C.value,+S.value),M){e.next=4;break}throw new Error('"id" param is missing');case 4:return e.prev=4,e.next=7,m(M);case 7:L.value=e.sent,e.next=14;break;case 10:throw e.prev=10,e.t0=e["catch"](4),e.t0.payload=M,e.t0;case 14:l(!1);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})))})),{PROTOCOL_AETERNITY:a.DJ,tip:L,formModel:c,urlStatus:O,isTippingSupported:v,numericBalance:N,sendTip:W,max:F,fee:E,balance:S,openCallbackOrGoHome:D,errorAmount:s}}}),Jv=(0,qe.Z)(Kv,[["render",Yv],["__scopeId","data-v-c912407c"]]),Qv=Jv;var Xv={class:"seed-phrase-settings"};function eg(e,t,n,a,r,o){var i=(0,B.up)("i18n-t"),s=(0,B.up)("BtnMain"),u=(0,B.up)("IonContent"),l=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(l,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Xv,[(0,B.Wm)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall",tag:"p",class:"text-description",scope:"global"}),(0,B.Wm)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-2",tag:"p",class:"text-description",scope:"global"}),(0,B.Wm)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-3",tag:"p",class:"text-description",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",null,(0,me.zw)(e.$t("pages.seed-phrase-settings.seedRecoverySmallBackItUp")),1)]})),_:1}),(0,B.Wm)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-4",tag:"p",class:"text-description",scope:"global"}),(0,B.Wm)(s,{class:"button",extend:"",to:{name:"settings-seed-phrase-details"}},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.seed-phrase-settings.seedRecoveryBtn")),1)]})),_:1})])]})),_:1})]})),_:1})}const tg={components:{BtnMain:yn.Z,IonPage:W._i,IonContent:W.W2}},ng=(0,qe.Z)(tg,[["render",eg],["__scopeId","data-v-2062bb15"]]),ag=ng;var rg={class:"seed-phrase-details"},og={class:"text-heading-1"},ig={class:"mnemonics"},sg={class:"mnemonics-text"},ug={class:"buttons"};function lg(e,t,n,a,r,o){var i=(0,B.up)("BtnMain"),s=(0,B.up)("i18n-t"),u=(0,B.up)("IonContent"),l=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(l,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",rg,[(0,B._)("div",og,(0,me.zw)(e.$t("pages.seed-phrase-settings.this-your-seed-phrase")),1),(0,B._)("div",ig,[(0,B._)("p",sg,(0,me.zw)(e.mnemonic),1),(0,B.Wm)(i,{variant:"dark",class:"copy-btn","big-icon":"",icon:e.copied?e.CheckSuccessCircle:e.CopyOutlined,onClick:t[0]||(t[0]=function(t){return e.copy(e.mnemonic)})},{default:(0,B.w5)((function(){return[e.copied?((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B.Uk)((0,me.zw)(e.$t("common.addressCopied")),1)],64)):((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Uk)((0,me.zw)(e.$t("pages.seed-phrase-settings.copy")),1)],64))]})),_:1},8,["icon"])]),(0,B.Wm)(s,{keypath:"pages.seedPhrase.backUpYourSeedPhrase",tag:"p",class:"text-description",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",null,(0,me.zw)(e.$t("pages.seedPhrase.inCorrectOrder")),1)]})),_:1}),(0,B.Wm)(s,{keypath:"pages.seedPhrase.toBeSureYouGotItRight",tag:"p",class:"text-description",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",null,(0,me.zw)(e.$t("pages.seedPhrase.verifyYourSeedPhrase")),1)]})),_:1}),(0,B._)("div",ug,[(0,B.Wm)(i,{class:"button",extend:"",to:{name:"settings-seed-phrase-verify"}},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.seedPhrase.verifySeed")),1)]})),_:1}),(0,B.Wm)(i,{variant:"muted",extend:"",onClick:e.setBackedUpSeed},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.seedPhrase.doneThis")),1)]})),_:1},8,["onClick"])])])]})),_:1})]})),_:1})}var cg=n(3686),dg={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},pg=(0,B._)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),mg=(0,B._)("path",{d:"M16.769 7.81801C16.95 7.62414 17.2006 7.51011 17.4657 7.50102C17.597 7.49651 17.7278 7.5179 17.8508 7.56397C17.9738 7.61004 18.0865 7.67988 18.1825 7.76951C18.2785 7.85914 18.3559 7.9668 18.4103 8.08634C18.4647 8.20588 18.495 8.33496 18.4995 8.46622C18.504 8.59747 18.4826 8.72833 18.4365 8.85132C18.3905 8.9743 18.3206 9.08701 18.231 9.18301L11.231 16.683C11.055 16.8716 10.813 16.9849 10.5555 16.9993C10.2979 17.0136 10.0448 16.9279 9.84901 16.76L6.34901 13.76C6.2454 13.6759 6.15968 13.5718 6.09692 13.454C6.03416 13.3362 5.99562 13.207 5.98357 13.0741C5.97153 12.9411 5.98622 12.8071 6.02678 12.6799C6.06734 12.5528 6.13295 12.435 6.21974 12.3336C6.30653 12.2322 6.41275 12.1492 6.53213 12.0895C6.65152 12.0297 6.78165 11.9945 6.91485 11.9859C7.04805 11.9773 7.18164 11.9954 7.30773 12.0392C7.43382 12.083 7.54986 12.1516 7.64901 12.241L10.423 14.617L16.769 7.81801Z",fill:"currentColor"},null,-1),fg=[pg,mg];function vg(e,t){return(0,B.wg)(),(0,B.iD)("svg",dg,fg)}const gg={},hg=(0,qe.Z)(gg,[["render",vg]]),wg=hg,yg=(0,B.aZ)({name:"SeedPhraseDetailsSettings",components:{BtnMain:yn.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,Qt.tv)(),n=(0,oe.FU)(),a=n.copy,r=n.copied,o=(0,B.Fl)((function(){return e.state.mnemonic}));function i(){e.commit("setBackedUpSeed"),t.push({name:pe.I})}return{CopyOutlined:cg.Z,CheckSuccessCircle:wg,copy:a,copied:r,mnemonic:o,setBackedUpSeed:i}}}),kg=(0,qe.Z)(yg,[["render",lg],["__scopeId","data-v-34af2012"]]),bg=kg;n(40561);var Cg={class:"seed-phrase-verify-settings"},Ag={class:"seed-phrase-verify-settings-body"},xg={class:"text-heading-1"},_g={class:"text-description"},Dg={class:"phraser"},Tg={class:"phraser bright"};function Sg(e,t,n,a,r,o){var i=(0,B.up)("i18n-t"),s=(0,B.up)("SeedPhraseBadge"),u=(0,B.up)("BtnMain"),l=(0,B.up)("SeedPhraseNotification"),c=(0,B.up)("FixedScreenFooter"),d=(0,B.up)("IonContent"),p=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(p,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(d,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Cg,[(0,B._)("div",Ag,[(0,B._)("div",xg,(0,me.zw)(e.$t("pages.seed-phrase-settings.verifyYourSeedPhrase")),1),(0,B._)("div",_g,(0,me.zw)(e.$t("pages.seed-phrase-settings.confirm-that-you-save-your-seed-phrase")),1),(0,B.Wm)(i,{keypath:"pages.seed-phrase-settings.compose-your-seed-phrase",tag:"div",class:"text-description",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",null,(0,me.zw)(e.$t("pages.seed-phrase-settings.in-correct-order")),1)]})),_:1}),(0,B._)("div",Dg,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.mnemonicShuffled,(function(t,n){return(0,B.wg)(),(0,B.j4)(s,{key:n,text:t,selected:e.selectedWordIds.includes(n),onClick:function(t){return e.onSelectWord(n)}},null,8,["text","selected","onClick"])})),128))]),(0,B._)("div",Tg,[e.selectedWordIds.length?((0,B.wg)(!0),(0,B.iD)(B.HY,{key:1},(0,B.Ko)(e.selectedWordIds,(function(t,n){return(0,B.wg)(),(0,B.j4)(s,{key:t,text:e.mnemonicShuffled[t],editable:"",onClick:function(t){return e.selectedWordIds.splice(n,1)}},null,8,["text","onClick"])})),128)):((0,B.wg)(!0),(0,B.iD)(B.HY,{key:0},(0,B.Ko)(e.examplePhrase,(function(e,t){return(0,B.wg)(),(0,B.j4)(s,{key:t,text:e,selected:"",editable:""},null,8,["text"])})),128))])]),(0,B.Wm)(c,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{class:"verify-button",disabled:!e.selectedWordIds||e.selectedWordIds.length!==e.mnemonicShuffled.length,onClick:e.verifyLastStep},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.seedPhrase.verify")),1)]})),_:1},8,["disabled","onClick"]),e.showNotification?((0,B.wg)(),(0,B.j4)(l,{key:0,"has-error":e.hasError},null,8,["has-error"])):(0,B.kq)("",!0)]})),_:1})])]})),_:1})]})),_:1})}n(69600);var Ig=n(15607),Fg={class:"icon-wrapper"},Eg={class:"text"};function Rg(e,t,n,a,r,o){var i=(0,B.up)("AlertIcon"),s=(0,B.up)("CheckCircleIcon");return(0,B.wg)(),(0,B.iD)("div",{class:(0,me.C_)(["seed-phrase-notification",{error:e.hasError}])},[(0,B._)("div",Fg,[e.hasError?((0,B.wg)(),(0,B.j4)(i,{key:0})):((0,B.wg)(),(0,B.j4)(s,{key:1}))]),(0,B._)("div",Eg,[(0,B._)("div",null,(0,me.zw)(e.notificationMessage),1)])],2)}var Bg={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Zg=(0,B._)("path",{fill:"currentColor",opacity:"0.44",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z"},null,-1),Ug=(0,B._)("path",{fill:"currentColor",d:"M33.538 15.6361C33.9 15.2484 34.4013 15.0203 34.9314 15.0022C35.1939 14.9931 35.4557 15.0359 35.7016 15.1281C35.9476 15.2202 36.173 15.3599 36.365 15.5391C36.557 15.7184 36.7118 15.9337 36.8206 16.1728C36.9294 16.4119 36.99 16.67 36.999 16.9326C37.008 17.1951 36.9652 17.4568 36.8731 17.7028C36.781 17.9487 36.6413 18.1742 36.462 18.3661L22.462 33.3661C22.1101 33.7433 21.626 33.9699 21.111 33.9986C20.5959 34.0273 20.0897 33.8559 19.698 33.5201L12.698 27.5201C12.4908 27.3518 12.3194 27.1437 12.1938 26.9081C12.0683 26.6725 11.9912 26.4141 11.9671 26.1482C11.9431 25.8824 11.9724 25.6144 12.0536 25.36C12.1347 25.1057 12.2659 24.8701 12.4395 24.6673C12.6131 24.4645 12.8255 24.2985 13.0643 24.179C13.303 24.0596 13.5633 23.9892 13.8297 23.9719C14.0961 23.9547 14.3633 23.9909 14.6155 24.0785C14.8676 24.1662 15.0997 24.3034 15.298 24.4821L20.846 29.2341L33.538 15.6361Z"},null,-1),Pg=[Zg,Ug];function Mg(e,t){return(0,B.wg)(),(0,B.iD)("svg",Bg,Pg)}const Lg={},Og=(0,qe.Z)(Lg,[["render",Mg]]),Ng=Og;var Wg={viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Hg=(0,B._)("path",{fill:"currentColor",opacity:"0.44",d:"M24.8942 7.95537C24.7073 7.6575 24.4435 7.41259 24.1293 7.24504C23.8151 7.07749 23.4613 6.99316 23.1033 7.00043C22.7452 7.00771 22.3954 7.10635 22.0886 7.28652C21.7818 7.46669 21.5288 7.72211 21.3548 8.02731L4.25832 38.0305C4.08475 38.3348 3.99575 38.6781 4.00016 39.0263C4.00456 39.3745 4.1022 39.7155 4.28342 40.0156C4.46463 40.3157 4.72312 40.5644 5.03326 40.7371C5.34341 40.9097 5.69444 41.0004 6.05158 41H41.9517C42.3156 40.9998 42.6729 40.9051 42.9868 40.7257C43.3008 40.5463 43.5601 40.2886 43.7381 39.9791C43.9161 39.6697 44.0064 39.3195 43.9996 38.9648C43.9929 38.61 43.8895 38.2634 43.6999 37.9605L24.8942 7.95537Z"},null,-1),Vg=(0,B._)("path",{fill:"currentColor",d:"M25.3999 19C25.3999 17.8954 24.5045 17 23.3999 17C22.2953 17 21.3999 17.8954 21.3999 19V29C21.3999 30.1046 22.2953 31 23.3999 31C24.5045 31 25.3999 30.1046 25.3999 29V19Z"},null,-1),jg=(0,B._)("path",{fill:"currentColor",d:"M25.3999 35C25.3999 33.8954 24.5045 33 23.3999 33C22.2953 33 21.3999 33.8954 21.3999 35C21.3999 36.1046 22.2953 37 23.3999 37C24.5045 37 25.3999 36.1046 25.3999 35Z"},null,-1),qg=[Hg,Vg,jg];function zg(e,t){return(0,B.wg)(),(0,B.iD)("svg",Wg,qg)}const Yg={},$g=(0,qe.Z)(Yg,[["render",zg]]),Gg=$g,Kg=(0,B.aZ)({components:{CheckCircleIcon:Ng,AlertIcon:Gg},props:{hasError:Boolean},setup:function(e){var t=(0,no.QT)(),n=t.t,a=(0,B.Fl)((function(){return e.hasError?n("pages.seed-phrase-settings.seed-phrase-incorrect"):n("pages.seed-phrase-settings.seed-phrase-correct")}));return{notificationMessage:a}}}),Jg=(0,qe.Z)(Kg,[["render",Rg],["__scopeId","data-v-58f8a7a3"]]),Qg=Jg;function Xg(e,t,n,a,r,o){var i=(0,B.up)("CloseIcon"),s=(0,B.up)("BtnPlain");return(0,B.wg)(),(0,B.j4)(s,(0,B.dG)({class:["seed-phrase-badge",{selected:e.selected,editable:e.editable}]},e.$attrs,{onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})}),{default:(0,B.w5)((function(){return[(0,B._)("div",null,(0,me.zw)(e.text),1),e.editable?((0,B.wg)(),(0,B.j4)(i,{key:0,class:"close-icon"})):(0,B.kq)("",!0)]})),_:1},16,["class"])}var eh=n(32669);const th=(0,B.aZ)({components:{BtnPlain:_a.Z,CloseIcon:eh.Z},props:{selected:Boolean,editable:Boolean,text:{type:String,required:!0}},emits:["click"]}),nh=(0,qe.Z)(th,[["render",Xg],["__scopeId","data-v-54512592"]]),ah=nh,rh=(0,B.aZ)({components:{SeedPhraseBadge:ah,SeedPhraseNotification:Qg,FixedScreenFooter:jo.Z,BtnMain:yn.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,Qt.tv)(),n=(0,no.QT)(),a=n.t,r=(0,Ze.iH)([]),o=(0,Ze.iH)(!1),i=(0,Ze.iH)(!1),s=(0,Ze.iH)([a("pages.seedPhrase.first"),a("pages.seedPhrase.second"),"..."]),u=(0,B.Fl)((function(){return e.state.mnemonic})),l=(0,B.Fl)((function(){return(0,Ig.Z)(u.value.split(" "))}));function c(){var n=r.value.map((function(e){return l.value[e]})).join(" ");o.value=!0,i.value=u.value!==n,u.value===n&&e.commit("setBackedUpSeed"),setTimeout((function(){o.value=!1,t.push({name:pe.I})}),3e3)}function d(e){r.value.includes(e)||r.value.push(e)}return{selectedWordIds:r,showNotification:o,hasError:i,examplePhrase:s,mnemonic:u,mnemonicShuffled:l,verifyLastStep:c,onSelectWord:d}}}),oh=(0,qe.Z)(rh,[["render",Sg],["__scopeId","data-v-71dd1346"]]),ih=oh;var sh={class:"settings"};function uh(e,t,n,a,r,o){var i=(0,B.up)("PanelItem"),s=(0,B.up)("IonContent"),u=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(u,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",sh,[(0,B.Wm)(i,{to:{name:"settings-seed-phrase"},title:e.$t("pages.index.seedPhrase")},null,8,["title"]),(0,B.Wm)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},title:e.$t("pages.titles.networks"),info:e.activeNetwork.name,"data-cy":"networks-settings"},null,8,["to","title","info"]),(0,B.Wm)(i,{to:{name:"permissions-settings"},title:e.$t("pages.titles.permissionsSettings")},null,8,["title"]),(0,B.Wm)(i,{to:{name:"notification-settings"},title:e.$t("pages.titles.notifications")},null,8,["title"]),(0,B.Wm)(i,{to:{name:"settings-language"},title:e.$t("pages.titles.language")},null,8,["title"]),(0,B.Wm)(i,{to:{name:"settings-currency"},title:e.$t("pages.titles.currency"),info:e.activeCurrency},null,8,["title","info"]),(0,B.Wm)(i,{to:{name:"settings-errors-log"},title:e.$t("pages.titles.saveErrorsLog"),info:e.saveErrorLog?"On":"Off"},null,8,["title","info"]),(0,B.Wm)(i,{to:{name:"settings-reset-wallet"},title:e.$t("pages.titles.resetWallet")},null,8,["title"])])]})),_:1})]})),_:1})}const lh=(0,B.aZ)({name:"Settings",components:{PanelItem:Xe,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,p.oR)(),t=(0,oe.jg)({store:e}),n=t.currentCurrencyInfo,a=(0,oe.e9)(),r=a.activeNetwork,o=(0,rn.eJ)("saveErrorLog"),i=(0,B.Fl)((function(){return"".concat(n.value.code.toUpperCase()," (").concat(n.value.symbol.toUpperCase(),")")}));return{ROUTE_NETWORK_SETTINGS:pe.wR,activeNetwork:r,saveErrorLog:o,activeCurrency:i}}}),ch=(0,qe.Z)(lh,[["render",uh],["__scopeId","data-v-df0a15e2"]]),dh=ch;function ph(e,t,n,a,r,o){var i=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(i)}var mh=n(48764)["Buffer"],fh=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const vh=(0,B.aZ)({name:"SignMessage",components:{IonPage:W._i},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.yj)();(0,B.bv)((function(){return fh(e,void 0,void 0,regeneratorRuntime.mark((function e(){var r,o,i,s,u,l,c,d,p,m,f,v,h,w,y,k,b,C,A,x,_;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l=(0,oe.TW)(),c=l.callbackOrigin,d=l.openCallbackOrGoHome,p=(0,oe.cn)({store:t}),m=p.getAeSdk,f=(0,oe.ol)(),v=f.openModal,h=(0,oe.bl)(),w=h.setLoaderVisible,e.prev=4,w(!0),e.next=8,m();case 8:return y=e.sent,k=null===(r=n.query.message)||void 0===r?void 0:r.toString(),b=!!k&&"hex"===(null===(o=n.query.encoding)||void 0===o?void 0:o.toString()),C=b?mh.from(k,"hex"):k,A=null===C||void 0===C?void 0:C.toString(),e.next=15,v(a.$E,{message:A,app:{name:null===(i=c.value)||void 0===i?void 0:i.host,host:null===(s=c.value)||void 0===s?void 0:s.host,url:null===(u=c.value)||void 0===u?void 0:u.href}});case 15:return e.next=17,y.signMessage(C);case 17:x=e.sent,_=mh.from(x).toString("hex"),d(!0,{signature:_}),e.next=26;break;case 22:e.prev=22,e.t0=e["catch"](4),d(!1),e.t0 instanceof zt.x&&(0,g.ac)(e.t0);case 26:return e.prev=26,w(!1),e.finish(26);case 29:case"end":return e.stop()}}),e,null,[[4,22,26,29]])})))}))}}),gh=(0,qe.Z)(vh,[["render",ph]]),hh=gh;function wh(e,t,n,a,r,o){var i=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(i)}var yh=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const kh=(0,B.aZ)({name:"SignTransaction",components:{IonPage:W._i},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.yj)(),r=(0,no.QT)(),o=r.t;(0,B.bv)((function(){return yh(e,void 0,void 0,regeneratorRuntime.mark((function e(){var r,i,s,u,l,c,d,p,m,f,v,h,w,y,k,b,C,A,x;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=(0,oe.TW)(),s=i.callbackOrigin,u=i.openCallbackOrGoHome,l=(0,oe.cn)({store:t}),c=l.nodeNetworkId,d=l.getAeSdk,p=(0,oe.ol)(),m=p.openDefaultModal,f=(0,oe.bl)(),v=f.setLoaderVisible,e.prev=4,v(!0),e.next=8,d();case 8:if(h=e.sent,w=n.query,y=w.transaction,k=w.networkId,b=w.broadcast,k===c.value){e.next=15;break}return e.next=13,m({icon:"warning",title:o("modals.wrongNetwork.title"),msg:o("modals.wrongNetwork.msg",[k]),buttonMessage:o("modals.wrongNetwork.button")});case 13:return u(!1),e.abrupt("return");case 15:return e.next=17,h.signTransaction(decodeURIComponent(y),{networkId:k,aeppOrigin:null===(r=s.value)||void 0===r?void 0:r.toString()});case 17:if(C=e.sent,!b){e.next=28;break}return e.next=21,h.api.postTransaction({tx:C});case 21:return A=e.sent,x=A.txHash,e.next=25,h.poll(x,{blocks:a.Hn});case 25:u(!0,{"transaction-hash":x}),e.next=29;break;case 28:u(!0,{transaction:C});case 29:e.next=37;break;case 31:return e.prev=31,e.t0=e["catch"](4),e.next=35,m({title:o("modals.transaction-failed.msg"),icon:"critical",msg:e.t0.message});case 35:u(!1),e.t0 instanceof zt.x&&(0,g.ac)(e.t0);case 37:return e.prev=37,v(!1),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[4,31,37,40]])})))}))}}),bh=(0,qe.Z)(kh,[["render",wh]]),Ch=bh;var Ah=function(e){return(0,B.dD)("data-v-dd719c76"),e=e(),(0,B.Cn)(),e},xh={class:"terms-of-service"},_h=Ah((function(){return(0,B._)("p",{class:"italic"},[(0,B.Uk)(" The present "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(" are effective since 9th April 2020. ")],-1)})),Dh=Ah((function(){return(0,B._)("p",{class:"italic"},[(0,B._)("b",null,"Superhero.com LVC"),(0,B.Uk)(" reserves its right to modify and update these "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(" according to the policy and practice of the "),(0,B._)("b",null,"company"),(0,B.Uk)(". The new version of the "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(" becomes effective from the day it is announced on "),(0,B._)("b",null,"Our Superhero Wallet"),(0,B.Uk)(" unless stated otherwise. ")],-1)})),Th=Ah((function(){return(0,B._)("hr",null,null,-1)})),Sh=Ah((function(){return(0,B._)("p",{class:"bolder"}," THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",-1)})),Ih=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" These "),(0,B._)("b",null,"TERMS OF USE („TERMS“)"),(0,B.Uk)(" apply exclusively for the "),(0,B._)("b",null,"Superhero Wallet"),(0,B.Uk)(" (hereinafter referred to as the “"),(0,B._)("b",null,"Wallet"),(0,B.Uk)("” or the “"),(0,B._)("b",null,"application"),(0,B.Uk)("”) and all the content available on the website extension. Please make sure that you have carefully read the "),(0,B._)("b",null,"TERMS"),(0,B.Uk)(" before using the "),(0,B._)("b",null,"application"),(0,B.Uk)(". Otherwise, by using it, we consider these actions implicit agreement to the "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(". These "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(" represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „"),(0,B._)("b",null,"YOU"),(0,B.Uk)("“) and "),(0,B._)("b",null,"Superhero.com LVC (“Superhero”, “we”, “us”"),(0,B.Uk)(" or "),(0,B._)("b",null,"“our”)"),(0,B.Uk)(" in connection to your use of the "),(0,B._)("b",null,"Superhero Wallet application."),(0,B.Uk)(". ")],-1)})),Fh=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Please, do not use the application provided by "),(0,B._)("b",null,"Superhero"),(0,B.Uk)(", if you do not agree to the "),(0,B._)("b",null,"TERMS"),(0,B.Uk)(" applied within this document. ")],-1)})),Eh=Ah((function(){return(0,B._)("b",null,"WE",-1)})),Rh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),Bh=Ah((function(){return(0,B._)("b",null,"USERS",-1)})),Zh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),Uh=Ah((function(){return(0,B._)("b",null,"application",-1)})),Ph=Ah((function(){return(0,B._)("b",null,"YOU",-1)})),Mh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),Lh=Ah((function(){return(0,B._)("b",null,"Wallet",-1)})),Oh=Ah((function(){return(0,B._)("b",null,"YOU",-1)})),Nh=Ah((function(){return(0,B._)("b",null,"Wallet",-1)})),Wh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),Hh=Ah((function(){return(0,B._)("b",null,"YOU",-1)})),Vh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),jh=Ah((function(){return(0,B._)("b",null,"Wallet",-1)})),qh=Ah((function(){return(0,B._)("b",null,"Superhero",-1)})),zh=Ah((function(){return(0,B._)("b",null,"YOU",-1)})),Yh=Ah((function(){return(0,B._)("b",null,"TERMS",-1)})),$h=Ah((function(){return(0,B._)("p",{class:"italic underline"},[(0,B.Uk)(" Once you agree to the "),(0,B._)("b",null,"TERMS OF USE"),(0,B.Uk)(", we consider this an explicit consent to the following: ")],-1)})),Gh=Ah((function(){return(0,B._)("strong",null,"Superhero.com Establishment (“Superhero”, “we”, “us”, “our”",-1)})),Kh=Ah((function(){return(0,B._)("strong",null,"“the company” ",-1)})),Jh=Ah((function(){return(0,B._)("strong",null,"Superhero Wallet",-1)})),Qh=Ah((function(){return(0,B._)("strong",null,"Superhero",-1)})),Xh=Ah((function(){return(0,B._)("strong",null,"Superhero Wallet",-1)})),ew=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.2. “"),(0,B._)("strong",null,"USER"),(0,B.Uk)("“ or “"),(0,B._)("strong",null,"YOU"),(0,B.Uk)("“ means a natural or legal person, who has downloaded and uses the "),(0,B._)("strong",null,"Superhero Wallet"),(0,B.Uk)(),(0,B._)("strong",null,"application"),(0,B.Uk)(". ")],-1)})),tw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.3. “"),(0,B._)("strong",null,"Blockchain"),(0,B.Uk)("“ means the list of records, also known as "),(0,B._)("em",null,"blocks"),(0,B.Uk)(", which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can access, create and save information on the "),(0,B._)("strong",null,"Aeternity blockchain"),(0,B.Uk)(". The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of "),(0,B._)("strong",null,"Validators"),(0,B.Uk)(", which cannot be altered retroactively. ")],-1)})),nw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.4. “"),(0,B._)("strong",null,"Superhero Wallet"),(0,B.Uk)("” (“"),(0,B._)("strong",null,"Wallet"),(0,B.Uk)("” or “"),(0,B._)("strong",null,"application"),(0,B.Uk)("”) is a software program designed for end users, which allows supporters to send value to content creators, causes, charities, groups or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is a piece of software which is available for downloading/access and use as it follows: ")],-1)})),aw=Ah((function(){return(0,B._)("strong",null,"application",-1)})),rw=Ah((function(){return(0,B._)("strong",null,"application",-1)})),ow=Ah((function(){return(0,B._)("strong",null,"application",-1)})),iw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.5"),(0,B._)("strong",null,". “Æid“, “Æternity token”"),(0,B.Uk)(" or “"),(0,B._)("strong",null,"Æ token"),(0,B.Uk)("” are the "),(0,B._)("strong",null,"Æternity "),(0,B.Uk)("digital assets, which can be tracked or transferred on the "),(0,B._)("strong",null,"Æternity blockchain. ")],-1)})),sw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.6. “"),(0,B._)("strong",null,"Validators"),(0,B.Uk)("” are independent physical persons or entities, which are not in any way part of "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(". Their function in the system includes responsibility for "),(0,B._)("em",null,"blocks"),(0,B.Uk)(" constitution and broadcast of these "),(0,B._)("em",null,"blocks"),(0,B.Uk)(" with the "),(0,B._)("strong",null,"Aeternity"),(0,B.Uk)(),(0,B._)("strong",null,"blockchain"),(0,B.Uk)(". ")],-1)})),uw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.7. “"),(0,B._)("strong",null,"Account address"),(0,B.Uk)("” or “"),(0,B._)("strong",null,"Wallet address"),(0,B.Uk)("” is a hashed version of the "),(0,B._)("strong",null,"USER’s public key"),(0,B.Uk)(", used to identify "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(". ")],-1)})),lw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.8. “"),(0,B._)("strong",null,"Keys"),(0,B.Uk)("” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information. ")],-1)})),cw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.9. “"),(0,B._)("strong",null,"Æternity Naming System"),(0,B.Uk)("” allows "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" to claim names and associate them with one or more "),(0,B._)("strong",null,"Æternity"),(0,B.Uk)(" accounts. ")],-1)})),dw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" 1.10. “"),(0,B._)("strong",null,"Name of account"),(0,B.Uk)("” is a domain-like identification string, which allows "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" control over its creation, development and alienation. ")],-1)})),pw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.1. The application ")],-1)})),mw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" designed and built the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" as a cryptocurrency wallet which is connected with the "),(0,B._)("strong",null,"Æternity"),(0,B._)("strong",null,"blockchain"),(0,B.Uk)(".Through it, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can store, send and collect "),(0,B._)("strong",null,"Æ tokens."),(0,B.Uk)("  The purpose is to conduct donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights and quality content. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can donate to different platforms through the "),(0,B._)("strong",null,"application"),(0,B.Uk)(". ")],-1)})),fw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" is a software solution, the interface is provided with the purpose of facilitating the interaction between the "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" and the protocols of the "),(0,B._)("strong",null,"Aeternity blockchain,"),(0,B.Uk)(" to manage your "),(0,B._)("strong",null,"account"),(0,B.Uk)(" and your "),(0,B._)("strong",null,"Æ tokens. "),(0,B.Uk)("The Protocols represent a system that is implemented with the purpose of reaching consensus between "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" and validating transactions on the "),(0,B._)("strong",null,"Aeternity blockchain. Superhero"),(0,B.Uk)(" does not in any way control the blockchain due to the fact it is decentralized and all transactions are executed between "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" in a peer-to-peer manner in which "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" is not involved. ")],-1)})),vw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can use a variety of options to download and access the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(". They can download the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" as a browser extension, access it on an Internet address or download a mobile application. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" should be aware that they can use all the options mentioned with the same "),(0,B._)("strong",null,"account"),(0,B.Uk)(" only when they have created a seed phrase and they use it to link their "),(0,B._)("strong",null,"accounts"),(0,B.Uk)(" on the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(". ")],-1)})),gw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.2. Sending tips")],-1)})),hw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" when downloaded and used as an extension only, automatically finds the URL of a website for the purpose of the donation. Once "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are on the URL address that"),(0,B._)("strong",null," YOU "),(0,B.Uk)("want to tip, you have to: ")],-1)})),ww=Ah((function(){return(0,B._)("ul",null,[(0,B._)("li",null," Open your Superhero wallet extension. The button should be in the upper right of your browser tool bar. "),(0,B._)("li",null,[(0,B.Uk)("Click “Send "),(0,B._)("strong",null,"Æ"),(0,B.Uk)("”.")]),(0,B._)("li",null,[(0,B.Uk)(" On the next screen, fill in the required fields. Enter the amount of tips "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,B._)("li",null,"Click “Send Tips”."),(0,B._)("li",null,"On the next screen, review the details of your tip."),(0,B._)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),yw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" When the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is accessed from the Web or as a mobile application, "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" have to choose and copy the URL address of the website "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" would like to tip and afterwards: ")],-1)})),kw=Ah((function(){return(0,B._)("ul",null,[(0,B._)("li",null,[(0,B.Uk)("Click “Send "),(0,B._)("strong",null,"Æ"),(0,B.Uk)("”.")]),(0,B._)("li",null,[(0,B.Uk)(" On the next screen, fill in the required fields. Enter the URL address, amount of tips "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,B._)("li",null,"Click “Send Tips”."),(0,B._)("li",null,"On the next screen, review the details of your tip."),(0,B._)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),bw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Please bear in mind that the transactions are irreversible when completed – meaning that "),(0,B._)("strong",null,"YOU "),(0,B.Uk)("cannot change the URL address you sent the tip to, the amount or comment sent. ")],-1)})),Cw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The donations can be oriented in two flows as it follows - "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can tip the owner of the whole website/platform or the specific creator/author on the platform who has written/prepared the news/article/section/material. ")],-1)})),Aw=Ah((function(){return(0,B._)("strong",null,"USERS’",-1)})),xw=Ah((function(){return(0,B._)("strong",null,"USERS",-1)})),_w=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.3. Collecting tips")],-1)})),Dw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" If "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" want to receive such tips yourself, copy your "),(0,B._)("strong",null,"Wallet address "),(0,B.Uk)("and paste it onto your web page or profile – it could be a blog, a social media account or any other online profile. Save the change and refresh the page. "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" can also add your"),(0,B._)("strong",null," Wallet address"),(0,B.Uk)(" in the source code of the web page. Then, "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" should open your "),(0,B._)("strong",null,"Superhero Wallet"),(0,B.Uk)(" to access the tips received. Please bear in mind that there may be slight delays in collecting tips, we advise that you wait for a few minutes and open the "),(0,B._)("strong",null,"Wallet "),(0,B.Uk)("again. Do not hesitate to contact us if "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" experience any difficulties. ")],-1)})),Tw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.4. Loading your wallet")],-1)})),Sw=Ah((function(){return(0,B._)("strong",null,"Wallet ",-1)})),Iw=Ah((function(){return(0,B._)("strong",null,"Æ tokens,",-1)})),Fw=Ah((function(){return(0,B._)("strong",null,"YOU",-1)})),Ew=Ah((function(){return(0,B._)("strong",null,"application",-1)})),Rw=Ah((function(){return(0,B._)("strong",null,"YOU",-1)})),Bw=Ah((function(){return(0,B._)("strong",null,"Æ tokens",-1)})),Zw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Please bear in mind that the third-party platforms may collect fees. They are unilaterally determined and are not an object of control by "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(". ")],-1)})),Uw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.5. Withdrawing tips")],-1)})),Pw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" To withdraw your tips, "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" can use one of the third-party crypto exchanges that supports "),(0,B._)("strong",null,"Æ tokens. "),(0,B.Uk)("Again, additional information about the platforms can be seen in our Superhero Tutorial and "),(0,B._)("strong",null,"WE"),(0,B.Uk)(" are at disposal for further assistance. ")],-1)})),Mw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"2.6. Transactions on the application and Æ claims")],-1)})),Lw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Transactions on the application"),(0,B.Uk)(": USERS")]),(0,B.Uk)(" can browse through their transaction history. "),(0,B._)("strong",null,"The Wallet"),(0,B.Uk)(" displays the "),(0,B._)("strong",null,"USER’s"),(0,B.Uk)(" tokens. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" are in charge of the safe storage, sending and receiving of funds. The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the "),(0,B._)("strong",null,"USER’s"),(0,B.Uk)(" own risk. ")],-1)})),Ow=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Æ claims:")]),(0,B.Uk)(" Please bear in mind that for the present moment the "),(0,B._)("strong",null,[(0,B._)("u",null,"Æ claims function is not possible, ")]),(0,B.Uk)("however, Superhero’s intention is to constantly develop and improve the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" for all"),(0,B._)("strong",null," USERS"),(0,B.Uk)(" and once this function is available on the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(", the following will be applicable: ")],-1)})),Nw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The tips are sent to the "),(0,B._)("strong",null,"Superhero Wallet"),(0,B.Uk)(" of the URL address entered when there is such "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" created. Donations can also be made to websites/platforms/organizations/people who have not downloaded and used the "),(0,B._)("strong",null,"Superhero Wallet"),(0,B.Uk)(" before or during the moment of tipping. ")],-1)})),Ww=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"Æternity blockchain "),(0,B.Uk)("manages "),(0,B._)("u",null,"smart contracts"),(0,B.Uk)(" – they are self-enforcing agreements which are embedded in the source code. Therefore, the "),(0,B._)("u",null,"smart contracts"),(0,B.Uk)(" are independent, with incorporated set of rules when and how to act without any control or interference conducted by "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" under any form. The "),(0,B._)("u",null,"smart contracts"),(0,B.Uk)(" are a specific feature of the decentralized public ledger. If the websites/platforms/organizations/people who are tipped, do not have a "),(0,B._)("strong",null,"Superhero Wallet, "),(0,B.Uk)("the sent tip is stored in the so called “"),(0,B._)("u",null,"Tipping Smart Contract"),(0,B.Uk)("”. The "),(0,B._)("u",null,"Oracles"),(0,B.Uk)(" – also a function of the decentralized blockchain – follows when the receiver of the tip will generate a "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(". If the receiver of the tip creates a "),(0,B._)("strong",null,"Wallet,"),(0,B.Uk)(" they can claim the "),(0,B._)("strong",null,"Æ tokens "),(0,B.Uk)("initially tipped and stored in the “"),(0,B._)("u",null,"Tipping Smart Contract"),(0,B.Uk)("”. The receiver of the tip has the right to access and claim the "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" in a time frame of 1 (one) year from the moment of tipping. After the lapse of this 1 (one) year, the receiver loses their right to gain the "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(". Within the second year from the moment of tipping, only the tipping "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" can claim its "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" back. After the lapse of the second year, the tipping "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" loses its right to regain back the "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" he has sent. Due to the decentralized character of the blockchain, "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" cannot control the accumulation/receipt of the tips and to return them back when they are not received. Only the "),(0,B._)("u",null,"smart contract "),(0,B.Uk)("and the "),(0,B._)("strong",null,"USERS "),(0,B.Uk)("themselves can affect the "),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" due to the peer-to-peer method. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand that if the "),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" are not claimed, they can be stored in the "),(0,B._)("u",null,"smart contract"),(0,B.Uk)(" without limitation of time and without any purpose. This is why, after the lapse of the two years in which the receiver and the sender of the tips could claim the "),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" but have not"),(0,B._)("strong",null,","),(0,B.Uk)(" the “"),(0,B._)("u",null,"Tipping Smart Contract"),(0,B.Uk)("” sends the "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" to an "),(0,B._)("strong",null,"address"),(0,B.Uk)(" of "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(". Once the "),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" are received by "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(", receivers and senders of the tip accept and agree that they shall not have any claims over the "),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" and "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall not be held liable for their receipt provided it is caused by the receiver and the sender’s inactivity from their side during the above-mentioned periods of time. The tips will then be used by "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" for the further development of the "),(0,B._)("strong",null,"blockchain"),(0,B.Uk)(" ecosystem, the development of the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" or any other project or activity it finds suitable and reasonable. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall make such decisions at its own estimation. ")],-1)})),Hw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The application gives two possibilities for identification of "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" as it follows: ")],-1)})),Vw=Ah((function(){return(0,B._)("ul",null,[(0,B._)("li",null,[(0,B._)("strong",null,"Account address")]),(0,B._)("li",null,[(0,B._)("strong",null,"Name of account ")])],-1)})),jw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"Account address"),(0,B.Uk)(" consists of random string of numbers and letters that starts with “ak_”. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can find their "),(0,B._)("strong",null,"Wallet addresses"),(0,B.Uk)(" on the dashboard, right above the balance. The "),(0,B._)("strong",null,"Account address"),(0,B.Uk)(" is the public ID other "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" see by default. Once a "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" has downloaded the "),(0,B._)("strong",null,"application"),(0,B.Uk)(", the "),(0,B._)("strong",null,"Wallet "),(0,B.Uk)("automatically generates the account address."),(0,B._)("strong",null,"  ")],-1)})),qw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" In addition, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" are given the option to claim a "),(0,B._)("strong",null,"name"),(0,B.Uk)(" for their account(s) via the "),(0,B._)("strong",null,"Æternity Naming System"),(0,B.Uk)(". If a "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" claims a "),(0,B._)("strong",null,"name"),(0,B.Uk)(" on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(", other "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" may associate it with the corresponding account. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" are free to choose the "),(0,B._)("strong",null,"name"),(0,B.Uk)(". The only requirement is that the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" must have a minimum amount of "),(0,B._)("strong",null,"Æ tokens "),(0,B.Uk)("in the "),(0,B._)("strong",null,"WALLET depending on the number of letters of the domain to be claimed"),(0,B.Uk)(". "),(0,B._)("strong",null,"We"),(0,B.Uk)(" request from "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" not to use any offensive, racist, misleading, provocative or any other inappropriate wording. ")],-1)})),zw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The idea behind account "),(0,B._)("strong",null,"names"),(0,B.Uk)(" is to serve as an alternative to the "),(0,B._)("strong",null,"Account address"),(0,B.Uk)(", making it much easier for other "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" to send a tip. ")],-1)})),Yw=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can claim "),(0,B._)("strong",null,"names"),(0,B.Uk)(" via a set of "),(0,B._)("u",null,"smart contracts"),(0,B.Uk)(". The name establishment to a person can be an object of an auction. ")],-1)})),$w=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" In Section “Names” every "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" can freely claim a "),(0,B._)("strong",null,"name"),(0,B.Uk)(". The "),(0,B._)("strong",null,"name"),(0,B.Uk)(" pre-claim requires the payment of a transaction fee in micro "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" and the commitment of the fee to the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" owned account. Once a person has set up a "),(0,B._)("strong",null,"name"),(0,B.Uk)(", the "),(0,B._)("strong",null,"Æternity Naming System"),(0,B.Uk)(" launches an auction within which all "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" of the "),(0,B._)("strong",null,"WALLET"),(0,B.Uk)(" can bid and within which a final "),(0,B._)("strong",null,"name"),(0,B.Uk)(" fee is paid. Please bear in mind that "),(0,B._)("strong",null,"names"),(0,B.Uk)(" with 13 (thirteen) or more characters are claimed directly without undergoing an auction and after the payment of the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" fee. The period of time during which the auction is available (for names with less than 13 characters) cannot be specified - it is based on the length of the name and the number of bids. Each bid resets the auction counter on the ongoing auction. The highest bid after the time has passed, receives the "),(0,B._)("strong",null,"name"),(0,B.Uk)(". Please bear in mind that the person who has suggested the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" and the person who has received the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" can be two separate people and the claim of the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" solely depends on the bids in the auctions. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not regulate or control the auctions. The claim is only available for 100 (one hundred) days. ")],-1)})),Gw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Before the lapse of 100 (one hundred) days, if the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" wants to preserve the "),(0,B._)("strong",null,"name"),(0,B.Uk)(", they should update the claim and pay for the same. Each update is for one more period of 100 (one hundred) days with an option for reservation for an additional period of 100 (one hundred) days. Once it reaches the expiration date on the claim, the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" is released, i.e. transition into the unclaimed state, after which it can be claimed again. During the claim, if the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" decides to extend the account related "),(0,B._)("strong",null,"name"),(0,B.Uk)(", they shall only pay the transaction fee without paying additional "),(0,B._)("strong",null,"name"),(0,B.Uk)(" fees. The extension possibility is available within the above-mentioned period of 100 (one hundred) days and is not a prerequisite for renewal of the period.  ")],-1)})),Kw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"Æternity Naming System"),(0,B.Uk)(" gives the possibility for "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" to exchange and transfer their "),(0,B._)("strong",null,"names"),(0,B.Uk)(". The "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" who has received the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" can transfer it to an account of another "),(0,B._)("strong",null,"USER "),(0,B.Uk)("- third party, or another "),(0,B._)("strong",null,"Æ Wallet address"),(0,B.Uk)(" the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" owns. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not control in any way the assignment and alienation of "),(0,B._)("strong",null,"names"),(0,B.Uk)(". The decisions undertaken during the claim period of the "),(0,B._)("strong",null,"name"),(0,B.Uk)(" are a result of the "),(0,B._)("strong",null,"USER’s"),(0,B.Uk)(" sole estimation. ")],-1)})),Jw=Ah((function(){return(0,B._)("strong",null,"name",-1)})),Qw=Ah((function(){return(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" As a "),(0,B._)("strong",null,"USER"),(0,B.Uk)(", "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" agree to the following rules applicable for the"),(0,B._)("strong",null," Superhero Wallet"),(0,B.Uk)(" : ")]),(0,B._)("ul",null,[(0,B._)("li",null,[(0,B._)("strong",null,"YOU"),(0,B.Uk)(" shall comply with the rules set within the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" and perform any actions on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" in good faith and according to the applicable legislation; ")]),(0,B._)("li",null,[(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are an adult and "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are not persons under judicial disability ("),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" have obtained full legal capacity); ")]),(0,B._)("li",null,[(0,B._)("strong",null,"YOU"),(0,B.Uk)(" shall not try to obtain or gain access over any personal or identifiable information, including but not limited to seed phrases, private keys, from other "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(", nor shall "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" disclose such information about yourself; ")]),(0,B._)("li",null,[(0,B._)("strong",null,"YOU"),(0,B.Uk)(" shall not in any way compromise or exploit the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" or use the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" for any illegal activity or outside the purpose for its creation; ")]),(0,B._)("li",null,[(0,B._)("strong",null,"Your"),(0,B.Uk)(" actions do not in any manner mislead into thinking that "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are another person or company; "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" shall not purposefully provide information by using another person’s seed phrases, "),(0,B._)("strong",null,"account addresses"),(0,B.Uk)(", "),(0,B._)("strong",null,"account"),(0,B.Uk)(),(0,B._)("strong",null,"names"),(0,B.Uk)(" with the purpose of representing as somebody else. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall undertake any possible action against such identity thefts and frauds in case the "),(0,B._)("strong",null,"company"),(0,B.Uk)(" suspects a "),(0,B._)("strong",null,"USER"),(0,B.Uk)("; ")]),(0,B._)("li",null,[(0,B.Uk)(" the device "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content. ")])]),(0,B._)("p",null,[(0,B._)("strong",null,"USERS"),(0,B.Uk)(" shall be liable for any action undertaken in violation of the present article. ")])],-1)})),Xw=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" As mentioned above, the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" is only a software solution, which facilitates the interaction between "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" and the decentralized, public ledger. Therefore, "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are solely responsible and liable for any and all of your actions and inactions on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" and all gains and losses sustained from your use of it. "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" indemnify "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(", its employees and affiliates in full for any and all negative consequences that might arise from the use of the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" due to the lack of control over the peer-to-peer activities. ")],-1)})),ey=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"General Disclaimer:")]),(0,B.Uk)(" The "),(0,B._)("strong",null,"Æternity blockchain"),(0,B.Uk)(" is open-source, public and permissionless ledger, meaning that anyone can download, participate, develop, improve and validate transactions on the "),(0,B._)("strong",null,"blockchain"),(0,B.Uk)(". "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" cannot and does not control in any way the transactions conducted by "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(". "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not ensure the trustworthiness and validity of the same. Please, bear in mind that every "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" is solely responsible for the actions undertaken on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" and the information presented by them. ")],-1)})),ty=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Password and Seed Phrase Security Disclaimer:")]),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" take responsibility for their digital security. The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" gives the possibility to set up a seed phrase, consisting of random unique combination of words. The purpose of the seed phrase is to restore the access to the "),(0,B._)("strong",null,"account"),(0,B.Uk)(", once the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" has lost access to the original "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" for any reason (migrating to a new device, reinstalling browser, etc.). "),(0,B._)("strong",null,"Superhero"),(0,B._)("strong",null,"does not collect the private keys or the seed phrases and shall not be treated under any circumstances as a custodian wallet provider. WE HIGHLY RECOMMEND ALL USERS TO SET UP A SEED PHRASE AND PROTECT IT."),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" should store their seed phrase offline safely. Please bear in mind that if a "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" has not set up a seed phrase for backup or they have forgotten the seed phrase and its exact wording, the access to their "),(0,B._)("strong",null,"accounts"),(0,B.Uk)(" can be permanently restricted. The lack of access does not mean in any way that the "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" are lost. The "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall not be held liable in any case of lost, forgotten or misspelled seed phrases. In addition, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" must not share their seed phrase with anyone. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" to regain access to their account on the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(". ")],-1)})),ny=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Please bear in mind that the option “Retrieve existing account” is applicable only in case the "),(0,B._)("strong",null,"USER"),(0,B.Uk)(" has a seed phrase. ")],-1)})),ay=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Decentralization and Control "),(0,B._)("u",null,"Transparency Disclaimer")]),(0,B.Uk)(": "),(0,B._)("strong",null,"Blockchain"),(0,B.Uk)(" technology is decentralized by nature - which means that the makers of the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" cannot access or freeze your "),(0,B._)("strong",null,"account"),(0,B.Uk)("; recover or reset your seed phrase; reverse, cancel or refund transactions. Only "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" are in charge of the safe storage and sending of their funds. By agreeing to the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(", "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" accept and guarantee to defend, indemnify and hold "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of the "),(0,B._)("strong",null,"application"),(0,B.Uk)(". ")],-1)})),ry=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Access and Connectivity Disclaimer")]),(0,B.Uk)(": The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" can be downloaded or used from the following places: ")],-1)})),oy=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Please bear in mind that the marketplaces for downloading are third-party owned and therefore, can cease the supporting of the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" in their own estimation, making it difficult or impossible to receive any functionality from the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" or updates. ")],-1)})),iy=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" Moreover, please bear in mind that the source code to the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is uploaded on GitHub. When any modifications/updates, etc. are conducted on the source code, they are automatically reflected on the browser extension option and the web browser due to the fact they are Internet connected "),(0,B._)("strong",null,"application"),(0,B.Uk)(" access points. However, for "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" who use the mobile options from Google Play or App Store, for them to receive updates, modifications, etc. of the "),(0,B._)("strong",null,"application"),(0,B.Uk)(", they should download the new version of the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" from the same marketplaces. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and agree that if they do not download the newest versions from Google Play or App Store, they will not receive the latest features, improvements, etc. ")],-1)})),sy=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" It is possible that devices on which the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" is installed to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section "),(0,B._)("strong",null,[(0,B._)("u",null,"Password and Seed Phrase Security Disclaimer")]),(0,B.Uk)(" in regard to seed phrases. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, "),(0,B._)("strong",null,"WE"),(0,B.Uk)(" shall not be held liable for any loss of data on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" caused in these cases. ")],-1)})),uy=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Cryptocurrency Guidance Disclaimer:")]),(0,B.Uk)(" The content presented on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(", including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. ")],-1)})),ly=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Jurisdiction and Regulatory Disclaimer:")]),(0,B.Uk)(" The access to the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is granted worldwide. The use of the "),(0,B._)("strong",null,"Wallet "),(0,B.Uk)("may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" have to inform yourself about such legal restrictions and "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are liable solely in case of a breach of any legal norms. The access to our "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is prohibited provided the access point is in a territory where the content is illegal. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not have the obligation to control the legislation applicability according to each access point of "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" and shall not be held liable in these circumstances. ")],-1)})),cy=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the "),(0,B._)("strong",null,"Æternity blockchain’s"),(0,B.Uk)(" or the "),(0,B._)("strong",null,"Wallet’s "),(0,B.Uk)("development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" or the "),(0,B._)("strong",null,"Æ"),(0,B.Uk)(),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" held by them. ")],-1)})),dy=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"Risks")]),(0,B.Uk)(": "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and agree with the risks related to the "),(0,B._)("strong",null,"Æternity blockchain"),(0,B.Uk)(" contribution and/or with the allocation, use and ownership of "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" and guarantee to relieve of responsibility "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" in these cases. ")],-1)})),py=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)("The risks mentioned within the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" are not comprehensive:")],-1)})),my=Ah((function(){return(0,B._)("ul",null,[(0,B._)("li",null,[(0,B._)("u",null,"Risk of software weaknesses: "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" are in a constant development process. There is no warranty that the receipt and transfer of "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(" shall be uninterrupted or error-free at all times. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" accept and guarantee to dispense of responsibility "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(". ")]),(0,B._)("li",null,[(0,B._)("u",null,"Risk of theft:"),(0,B.Uk)(),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the "),(0,B._)("strong",null,"application"),(0,B.Uk)(", the "),(0,B._)("strong",null,"Æternity blockchain"),(0,B.Uk)(" and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of "),(0,B._)("strong",null,"Æ tokens"),(0,B.Uk)(". ")]),(0,B._)("li",null,[(0,B._)("u",null,"Risk of mining attacks"),(0,B.Uk)(": "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that due to "),(0,B._)("strong",null,"the application’s"),(0,B.Uk)(" blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, 'selfish-mining' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on the "),(0,B._)("strong",null,"application"),(0,B.Uk)(". ")])],-1)})),fy=Ah((function(){return(0,B._)("p",null,[(0,B._)("u",null,[(0,B.Uk)("Risk of phishing attacks and "),(0,B._)("strong",null,"forks"),(0,B.Uk)(":")]),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an "),(0,B._)("strong",null,"application"),(0,B.Uk)("/ "),(0,B._)("strong",null,"website"),(0,B.Uk)(" with high percentage of resemblance with the original one. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" should be careful when they download and use the original "),(0,B._)("strong",null,"application"),(0,B.Uk)(". "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" can identity the authentic "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" by verifying that the developer on the marketplace is "),(0,B._)("strong",null,"Superhero.com / Superhero.com LVC"),(0,B.Uk)(" and can use the hyperlinks for downloading, incorporated in the present Terms. Due to the fact "),(0,B._)("strong",null,"Æternity blockchain"),(0,B.Uk)(" is public and permissionless, any person has the possibility to create a “"),(0,B._)("strong",null,"fork"),(0,B.Uk)("”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" understand and accept that "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" cannot avoid the creation of such "),(0,B._)("strong",null,"forks"),(0,B.Uk)(" and is not responsible for them. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" shall not be held liable for any losses and/or damages resulted from the use of "),(0,B._)("strong",null,"forks"),(0,B.Uk)(". ")],-1)})),vy=Ah((function(){return(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" does not collect any fees or taxes for its use "),(0,B._)("strong",null,"application "),(0,B.Uk)("- it is free of charge. However, taxes and fees are payable for the transactions on the "),(0,B._)("strong",null,"Æternity blockchain"),(0,B.Uk)(" including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. ")]),(0,B._)("p",null,[(0,B.Uk)(" In addition, depending on the territory access point, the transfer and receipt of funds through the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" are obliged to inform themselves about such requirements and are solely responsible for their donations. ")])],-1)})),gy=Ah((function(){return(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" To send someone a tip, please make sure that "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" are no the URL that "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" want to tip or "),(0,B._)("strong",null,"YOU"),(0,B.Uk)(" have copied and pasted the right URL (depending on the option for access to the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)("). "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not participate or control in any way the tips and shall not be held liable for any mistakes and wrong donations. The tips cannot be modified. Please bear in mind that the "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" shall be fully liable for any use of the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" in violation of its purpose and the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(". "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" does not control the platforms the donations are sent to. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" is not responsible for the content on the third-party platforms in any way. ")]),(0,B._)("p",null,[(0,B.Uk)(" In addition, any use of third-party platforms for the purpose of exchanging "),(0,B._)("strong",null,"Æ"),(0,B.Uk)(),(0,B._)("strong",null,"tokens"),(0,B.Uk)(" with other cryptocurrencies or fiat currencies is subject to compliance with the third-party platform’s Terms of use and other compulsory documentation. It is solely your responsibility to comply duly with the rules, applicable for these platforms. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" is not responsible in any way for the use of these third-party platforms in relation to loading the "),(0,B._)("strong",null,"USERS’"),(0,B.Uk)(" wallets and the withdrawal of "),(0,B._)("strong",null,"Æ"),(0,B._)("strong",null,"tokens"),(0,B.Uk)(". ")]),(0,B._)("p",null,[(0,B.Uk)(" Moreover, the platforms from which the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" can be downloaded are owned by third parties. Therefore, "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" should comply their behaviour with the rules applicable for these third-party platforms. ")])],-1)})),hy=Ah((function(){return(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is developed under the open-source, permissive free software ISC License (“ISC”). Under this license other developers have the right to use, copy, modify and distribute the source code of the "),(0,B._)("strong",null,"Wallet"),(0,B.Uk)(" for any purpose without a fee. The license only requires preservation of the copyright and license notice below. "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" is not liable in any way for the diffusion and public access to the amended/modified by other developers source code files due to the open source character of the software. ")]),(0,B._)("p",null,"The notice is as it follows:"),(0,B._)("p",null,"“ISC License"),(0,B._)("p",null,"Copyright (c) 2019, Superhero"),(0,B._)("p",null," Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. "),(0,B._)("p",null,' THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.” ')],-1)})),wy=Ah((function(){return(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" is developed by "),(0,B._)("strong",null,"Superhero. "),(0,B.Uk)("The "),(0,B._)("strong",null,"application"),(0,B.Uk)(" may display or include elements which are subject of intellectual property regulation including but not limited to logos, trademarks, domain names, etc.  It is prohibited to use any intellectual property of "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" before a prior explicit consent from the latter. ")]),(0,B._)("p",null,[(0,B.Uk)(" None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(". ")]),(0,B._)("p",null,[(0,B._)("strong",null,"Superhero"),(0,B.Uk)(" reserves its right to take any necessary legal action against intellectual property infringement. ")]),(0,B._)("p",null,[(0,B.Uk)(" The present article does not in any way exclude or interfere with the rights granted according to article 8- "),(0,B._)("strong",null,[(0,B._)("u",null,"LICENSE")]),(0,B.Uk)(", of the present Terms. ")])],-1)})),yy=Ah((function(){return(0,B._)("strong",null,"USERS",-1)})),ky=Ah((function(){return(0,B._)("strong",null,"the application",-1)})),by=Ah((function(){return(0,B._)("strong",null,"Wallet",-1)})),Cy=Ah((function(){return(0,B._)("strong",null,"application",-1)})),Ay=Ah((function(){return(0,B._)("strong",null,"YOU",-1)})),xy=Ah((function(){return(0,B._)("strong",null,"USER",-1)})),_y=Ah((function(){return(0,B._)("strong",null,"tokens",-1)})),Dy=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" These "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" set forth the entire understanding and agreement as to the subject matter hereof and supersedes any and all prior discussions, agreements, and understandings of any kind and every nature between "),(0,B._)("strong",null,"USERS"),(0,B.Uk)(" and "),(0,B._)("strong",null,"Superhero"),(0,B.Uk)(". ")],-1)})),Ty=Ah((function(){return(0,B._)("p",null,[(0,B.Uk)(" The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" without regard to possible conflict of law provisions. The invalidity of one or more clauses/ provisions in the "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" does not lead to the invalidity of the whole agreement. ")],-1)})),Sy=Ah((function(){return(0,B._)("p",null,[(0,B._)("strong",null,[(0,B._)("u",null,"The Privacy Policy")]),(0,B.Uk)(" is an inseparable part of the present "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the "),(0,B._)("strong",null,"Privacy Policy"),(0,B.Uk)(", all rules from the "),(0,B._)("strong",null,"TERMS"),(0,B.Uk)(" apply respectively. ")],-1)})),Iy=Ah((function(){return(0,B._)("strong",null,"TERMS",-1)})),Fy=Ah((function(){return(0,B._)("strong",null,"Superhero",-1)}));function Ey(e,t,n,a,r,o){var i=(0,B.up)("LinkButton"),s=(0,B.up)("AccordionItem"),u=(0,B.up)("IonContent"),l=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(l,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",xh,[_h,Dh,Th,Sh,Ih,Fh,(0,B._)("p",null,[Eh,(0,B.Uk)(" preserve our right to modify the "),Rh,(0,B.Uk)(" at any time in our sole discretion. "),Bh,(0,B.Uk)(" will be notified of such changes by posting information for the new Effective Date of the "),Zh,(0,B.Uk)(" on the "),Uh,(0,B.Uk)(". "),Ph,(0,B.Uk)(" may be required to read and accept the updated "),Mh,(0,B.Uk)(" in order to continue your use of the "),Lh,(0,B.Uk)(". If "),Oh,(0,B.Uk)(" continue to use the "),Nh,(0,B.Uk)(" after a notification for the amended "),Wh,(0,B.Uk)(", "),Hh,(0,B.Uk)(" are agreeing to be bound by the modifications. If you don’t agree to be bound by the modified "),Vh,(0,B.Uk)(", then you should discontinue any use of the "),jh,(0,B.Uk)(". Please contact "),qh,(0,B.Uk)(" via an email to "),(0,B.Wm)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,B.Uk)(" for the provision of information about the steps for termination of your use. Please check the Effective Date above to determine if there have been any changes since "),zh,(0,B.Uk)(" have last reviewed these "),Yh,(0,B.Uk)(". ")]),$h,(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section1Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[(0,B._)("p",null,[(0,B.Uk)(" 1.1. "),Gh,(0,B.Uk)(" or "),Kh,(0,B.Uk)(") is a company with seat and registered address at: Dr. Grass Str. 12, 9490 Vaduz, Liechtenstein, with email address for communication related to the "),Jh,(0,B.Uk)(": "),(0,B.Wm)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,B.Uk)(". "),Qh,(0,B.Uk)(" is the company, which created and developed "),Xh,(0,B.Uk)(". ")]),ew,tw,nw,(0,B._)("p",null,[(0,B.Uk)(" 1) the "),aw,(0,B.Uk)(" can act  as an add-on to the web browsers Firefox, Chrome, Brave and Opera and contributes to the browsers’ additional functionalities. For Firefox: "),(0,B.Wm)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,B.Uk)(" ; for Chrome, Brave and Opera:       "),(0,B.Wm)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,B.Uk)("; ")]),(0,B._)("p",null,[(0,B.Uk)(" 2) the "),rw,(0,B.Uk)(" can be accessed and used from any Browser at the address: "),(0,B.Wm)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,B.Uk)("; ")]),(0,B._)("p",null,[(0,B.Uk)(" 3) the "),ow,(0,B.Uk)(" can be downloaded from Google Play and/or App Store. For Google Play: "),(0,B.Wm)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,B.Uk)(" and for App Store: "),(0,B.Wm)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,B.Uk)("; ")]),(0,B._)("p",null,[(0,B.Uk)(" The results of the donations and comments are published on the website "),(0,B.Wm)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)(" superhero.com ")]})),_:1},8,["to"]),(0,B.Uk)(" . ")]),iw,sw,uw,lw,cw,dw])]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section2Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[pw,mw,fw,vw,gw,hw,ww,yw,kw,bw,Cw,(0,B._)("p",null,[(0,B.Uk)(" After that, the website - "),(0,B.Wm)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)(" superhero.com ")]})),_:1},8,["to"]),(0,B.Uk)(", reflects the "),Aw,(0,B.Uk)(" donations and comments and gives the possibility for other "),xw,(0,B.Uk)(" to actively donate and comment on the newsfeed of the Website. ")]),_w,Dw,Tw,(0,B._)("p",null,[(0,B.Uk)(" In order to load your "),Sw,(0,B.Uk)("with "),Iw,Fw,(0,B.Uk)(" should click Button “Top Up” of the "),Ew,(0,B.Uk)(" and "),Rw,(0,B.Uk)(" can exchange other cryptocurrencies or fiat currencies with "),Bw,(0,B.Uk)(" through partnering third-party platforms. A full list of these platforms, you can see in our Superhero Tutorial. Our team is also ready to provide detailed information when contacted through email at "),(0,B.Wm)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,B.Uk)(". ")]),Zw,Uw,Pw,Mw,Lw,Ow,Nw,Ww])]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section3Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[Hw,Vw,jw,qw,zw,Yw,$w,Gw,Kw,(0,B._)("p",null,[(0,B.Uk)(" The "),Jw,(0,B.Uk)(" can also be used as your profile name on the Superhero website "),(0,B.Wm)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)(" superhero.com ")]})),_:1},8,["to"]),(0,B.Uk)(". ")])])]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section4Title")},{default:(0,B.w5)((function(){return[Qw]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section5Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[Xw,ey,ty,ny,ay,ry,(0,B._)("p",null,[(0,B.Uk)(" 1) downloaded as an add-on (extension) to Firefox: "),(0,B.Wm)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,B.Uk)(" ; to Chrome, Brave and Opera:        "),(0,B.Wm)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,B.Uk)("; ")]),(0,B._)("p",null,[(0,B.Uk)(" 2) accessed from any Browser at the address: "),(0,B.Wm)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,B.Uk)(" ; ")]),(0,B._)("p",null,[(0,B.Uk)(" 3) downloaded from Google Play:     "),(0,B.Wm)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,B.Uk)(" and ")]),(0,B._)("p",null,[(0,B.Uk)(" from App Store: "),(0,B.Wm)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,B.Uk)(". ")]),oy,iy,sy,uy,ly,cy,dy,py,my,fy])]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section6Title")},{default:(0,B.w5)((function(){return[vy]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section7Title")},{default:(0,B.w5)((function(){return[gy]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section8Title")},{default:(0,B.w5)((function(){return[hy]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section9Title")},{default:(0,B.w5)((function(){return[wy]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section10Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[(0,B._)("p",null,[yy,(0,B.Uk)(" understand and accept "),ky,(0,B.Uk)(" can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the "),by,(0,B.Uk)(", the visual representation of the "),Cy,(0,B.Uk)(" or could result in malfunction. In the latter case, if "),Ay,(0,B.Uk)(" as a "),xy,(0,B.Uk)(" notice any change in the "),_y,(0,B.Uk)(", settings, accounts or any other information on the application, please contact "),(0,B.Wm)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,B.Uk)(" for assistance. ")])])]})),_:1},8,["label"]),(0,B.Wm)(s,{label:e.$t("pages.termsOfService.section11Title")},{default:(0,B.w5)((function(){return[(0,B._)("div",null,[Dy,Ty,Sy,(0,B._)("p",null,[(0,B.Uk)(" For more information regarding our Services and the present "),Iy,(0,B.Uk)(", please do not hesitate to contact the "),Fy,(0,B.Uk)(" team at: "),(0,B.Wm)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,B.Uk)(". ")])])]})),_:1},8,["label"])])]})),_:1})]})),_:1})}var Ry={class:"accordion-item"},By={class:"accordion-label-text"},Zy={key:0,"data-cy":"accordion-item-content"};function Uy(e,t,n,a,r,o){var i=(0,B.up)("ChevronDownIcon");return(0,B.wg)(),(0,B.iD)("div",Ry,[(0,B._)("a",{class:"accordion-label","data-cy":"accordion-item-label",onClick:t[0]||(t[0]=function(t){return e.toggleVisibility()})},[(0,B.Wm)(i,{class:(0,me.C_)(["accordion-label-chevron",{rotated:e.isVisible}])},null,8,["class"]),(0,B._)("span",By,(0,me.zw)(e.label),1)]),(0,B.Wm)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[e.isVisible?((0,B.wg)(),(0,B.iD)("div",Zy,[(0,B.WI)(e.$slots,"default",{},void 0,!0)])):(0,B.kq)("",!0)]})),_:3})])}const Py=(0,B.aZ)({components:{ChevronDownIcon:rp.Z},props:{label:{type:String,required:!0}},setup:function(){var e=(0,Ze.iH)(!1);function t(){e.value=!e.value}return{isVisible:e,toggleVisibility:t}}}),My=(0,qe.Z)(Py,[["render",Uy],["__scopeId","data-v-77e13361"]]),Ly=My,Oy=(0,B.aZ)({components:{AccordionItem:Ly,LinkButton:Ue.Z,IonPage:W._i,IonContent:W.W2},setup:function(){return{APP_LINK_WEB:a.Bk,APP_LINK_CHROME:a.RF,APP_LINK_FIREFOX:a.gI,APP_LINK_ANDROID:a.hS,APP_LINK_IOS:a.dO,AGGREGATOR_URL:a.IE,CONTACT_EMAIL:a.be}}}),Ny=(0,qe.Z)(Oy,[["render",Ey],["__scopeId","data-v-dd719c76"]]),Wy=Ny;var Hy={class:"tips-claim"},Vy={class:"header"},jy={class:"text-description"};function qy(e,t,n,a,r,o){var i=(0,B.up)("AccountInfo"),s=(0,B.up)("BtnHelp"),u=(0,B.up)("InputField"),l=(0,B.up)("BtnMain"),c=(0,B.up)("IonContent"),d=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(d,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(c,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Hy,[(0,B.Wm)(i,{address:e.activeAccount.address,name:e.activeAccount.name,idx:e.activeAccount.idx,protocol:e.activeAccount.protocol},null,8,["address","name","idx","protocol"]),(0,B._)("div",Vy,[(0,B._)("p",jy,(0,me.zw)(e.$t("pages.claimTips.header")),1),(0,B.Wm)(s,{class:"help-button",title:e.$t("modals.verify.title"),msg:e.$t("modals.verify.msg"),option:{attrs:{href:e.AE_BLOG_CLAIM_TIP_URL,target:"_blank"}},icon:"success"},null,8,["title","msg","option"])]),(0,B.Wm)(u,{modelValue:e.tipUrl,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.tipUrl=t}),label:e.$t("pages.claimTips.urlToClaim"),error:!e.normalizedUrl},null,8,["modelValue","label","error"]),(0,B.Wm)(l,{disabled:!e.normalizedUrl||!e.isTippingSupported,extend:"",onClick:e.handleClaimTips},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"])])]})),_:1})]})),_:1})}var zy=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Yy=(0,B.aZ)({name:"TipsClaim",components:{InputField:Od.Z,BtnMain:yn.Z,BtnHelp:ql.Z,AccountInfo:bt.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=this,t=(0,no.QT)(),n=t.t,r=(0,p.oR)(),o=(0,Qt.tv)(),i=(0,y.H)(),s=i.claimTips,u=i.cacheInvalidateOracle,l=i.cacheInvalidateTips,c=(0,oe.cn)({store:r}),d=c.isTippingSupported,m=(0,oe.xe)({store:r}),f=m.activeAccount,v=(0,oe.ol)(),w=v.openModal,b=v.openDefaultModal,C=(0,oe.YA)({store:r}),A=C.getTippingContracts,x=(0,oe.bl)(),_=x.setLoaderVisible,D=(0,Ze.iH)(""),T=(0,B.Fl)((function(){return(0,g.pM)(D.value)?(0,g.ju)(D.value).toString():""}));function S(){return zy(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,r,i,c,d,p,m,v;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=T.value,_(!0),e.prev=2,e.next=5,A();case 5:return r=e.sent,i=r.tippingV1,e.t0=parseFloat,e.t1=k.mW,e.next=11,i.unclaimed_for_url(t).then((function(e){return e.decodedResult}))["catch"]((function(){return 1}));case 11:if(e.t2=e.sent,e.t3=(0,e.t1)(e.t2),c=(0,e.t0)(e.t3),c){e.next=16;break}throw new Error("NO_ZERO_AMOUNT_PAYOUT");case 16:return e.next=18,s(t,f.value.address);case 18:return e.next=20,Promise.all([u,l]);case 20:w(a.BN,{url:t,claimAmount:c}),o.push({name:pe.I}),e.next=34;break;case 24:if(e.prev=24,e.t4=e["catch"](2),d=e.t4.response?e.t4.response.data:{},p=d.error,m=void 0===p?"":p,m.includes("MORE_ORACLES_NEEDED")?v=n("pages.claim.moreOracles"):m.includes("URL_NOT_EXISTING")?v=n("pages.claim.urlNotExisting"):m.includes("NO_ZERO_AMOUNT_PAYOUT")||e.t4.message.includes("NO_ZERO_AMOUNT_PAYOUT")?v=n("pages.claim.noZeroClaim"):m.includes("ORACLE_SERVICE_CHECK_CLAIM_FAILED")?v=n("pages.claim.oracleFailed"):m&&(v=m),!v){e.next=32;break}b({msg:v}),e.next=34;break;case 32:throw e.t4.payload={url:t},e.t4;case 34:return e.prev=34,_(!1),e.finish(34);case 37:case"end":return e.stop()}}),e,null,[[2,24,34,37]])})))}return(0,B.bv)((function(){return zy(e,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(_(!1),!a.FH||!browser){e.next=8;break}return e.next=4,browser.tabs.query({active:!0,currentWindow:!0});case 4:t=e.sent,n=(0,te.Z)(t,1),r=n[0],(null===r||void 0===r?void 0:r.url)&&(0,g.pM)(r.url)&&(D.value=r.url);case 8:case"end":return e.stop()}}),e)})))})),{activeAccount:f,normalizedUrl:T,tipUrl:D,isTippingSupported:d,AE_BLOG_CLAIM_TIP_URL:h.yl,handleClaimTips:S}}}),$y=(0,qe.Z)(Yy,[["render",qy],["__scopeId","data-v-5a5b8cdc"]]),Gy=$y;var Ky={class:"multisig-proposal-details"},Jy={class:"header"},Qy={class:"content"},Xy={class:"explorer"},ek={class:"data-grid"},tk={class:"receiving-address"},nk={class:"text-address"},ak={class:"row"},rk={class:"text-address"},ok={class:"span-3-columns"},ik={key:1,class:"bottom-buttons"},sk={class:"row"};function uk(e,t,n,a,r,o){var i=(0,B.up)("AnimatedSpinner"),s=(0,B.up)("TransactionTokens"),u=(0,B.up)("TransactionInfo"),l=(0,B.up)("ExternalLink"),c=(0,B.up)("LinkButton"),d=(0,B.up)("Avatar"),p=(0,B.up)("CopyText"),m=(0,B.up)("DetailsItem"),f=(0,B.up)("AccountItem"),v=(0,B.up)("DialogBox"),g=(0,B.up)("MultisigProposalConsensus"),h=(0,B.up)("PayloadDetails"),w=(0,B.up)("TokenAmount"),y=(0,B.up)("BtnMain"),k=(0,B.up)("IonContent"),b=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(b,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(k,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Ky,[e.activeMultisigAccount&&e.multisigTx?((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B._)("div",Jy,[e.multisigTx?((0,B.wg)(),(0,B.j4)(s,{key:0,transaction:{tx:e.multisigTx},"icon-size":"md"},null,8,["transaction"])):(0,B.kq)("",!0)]),(0,B._)("div",Qy,[e.multisigTx?((0,B.wg)(),(0,B.j4)(u,{key:0,class:"transaction-overview",sender:{label:e.$t("multisig.multisigVault"),address:e.activeMultisigAccount.gaAccountId},recipient:{label:e.$t("common.smartContract"),address:e.activeMultisigAccount.contractId},transaction:{tx:e.multisigTx}},null,8,["sender","recipient","transaction"])):(0,B.kq)("",!0),(0,B._)("div",Xy,[(0,B.Wm)(c,{to:e.activeMultisigAccountExplorerUrl,variant:"muted",underlined:""},{icon:(0,B.w5)((function(){return[(0,B.Wm)(l)]})),default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.transactionDetails.explorer"))+" ",1)]})),_:1},8,["to"])]),(0,B._)("div",ek,[e.multisigTx&&e.multisigTx.recipientId?((0,B.wg)(),(0,B.j4)(m,{key:0,label:e.$t("pages.proposalDetails.receivingAddress"),small:""},{value:(0,B.w5)((function(){return[(0,B._)("div",tk,[(0,B.Wm)(d,{address:e.multisigTx.recipientId,size:"sm"},null,8,["address"]),(0,B.Wm)(p,{"hide-icon":"",value:e.multisigTx.recipientId,"copied-text":e.$t("common.addressCopied")},{default:(0,B.w5)((function(){return[(0,B._)("span",nk,(0,me.zw)(e.splitAddress(e.multisigTx.recipientId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.activeMultisigAccount.proposedBy?((0,B.wg)(),(0,B.j4)(m,{key:1,label:e.$t("pages.proposalDetails.proposedBy"),small:""},{value:(0,B.w5)((function(){return[(0,B._)("div",ak,[(0,B.Wm)(f,{address:e.activeMultisigAccount.proposedBy,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,B.wg)(),(0,B.j4)(v,{key:0,dense:""},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.you")),1)]})),_:1})):(0,B.kq)("",!0)])]})),_:1},8,["label"])):(0,B.kq)("",!0),(0,B.Wm)(g,{"proposal-completed":e.proposalCompleted},null,8,["proposal-completed"]),e.transaction?((0,B.wg)(),(0,B.j4)(m,{key:2,label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,B.w5)((function(){return[(0,B.Wm)(p,{"hide-icon":"",value:e.transaction.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,B.w5)((function(){return[(0,B._)("span",rk,(0,me.zw)(e.splitAddress(e.transaction.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.multisigTx?((0,B.wg)(),(0,B.j4)(h,{key:3,payload:e.getTransactionPayload(e.multisigTx)},null,8,["payload"])):(0,B.kq)("",!0),(0,B._)("div",ok,[e.activeMultisigAccount.expirationHeight?((0,B.wg)(),(0,B.j4)(m,{key:0,value:e.activeMultisigAccount.expirationHeight,label:e.$t("pages.proposalDetails.expiresAt"),secondary:e.expirationHeightToRelativeTime},null,8,["value","label","secondary"])):e.transaction?((0,B.wg)(),(0,B.j4)(m,{key:1,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight")},null,8,["value","label"])):(0,B.kq)("",!0),e.activeMultisigAccount.nonce?((0,B.wg)(),(0,B.j4)(m,{key:2,value:e.activeMultisigAccount.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,B.kq)("",!0)]),e.multisigTx.gasPrice?((0,B.wg)(),(0,B.j4)(m,{key:4,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,B.w5)((function(){return[(0,B.Wm)(w,{amount:+e.aettosToAe(e.multisigTx.gasPrice),protocol:e.PROTOCOL_AETERNITY,symbol:e.AE_SYMBOL,"hide-fiat":""},null,8,["amount","protocol","symbol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.transaction&&e.transaction.tx?((0,B.wg)(),(0,B.j4)(m,{key:5,label:e.$t("pages.transactionDetails.gasPrice")},{value:(0,B.w5)((function(){return[(0,B.Wm)(w,{amount:+e.aettosToAe(e.transaction.tx.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.transaction&&e.transaction.tx?((0,B.wg)(),(0,B.j4)(m,{key:6,value:e.transaction.tx.gas,label:e.$t("pages.transactionDetails.gasUsed")},null,8,["value","label"])):(0,B.kq)("",!0),e.multisigTx?((0,B.wg)(),(0,B.j4)(m,{key:7,label:e.$t("modals.multisigTxProposal.fee")},{value:(0,B.w5)((function(){return[(0,B.Wm)(w,{amount:+e.aettosToAe(e.multisigTx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.transaction?((0,B.wg)(),(0,B.j4)(m,{key:8,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,B.w5)((function(){return[(0,B.Wm)(w,{amount:+e.aettosToAe(e.transaction.tx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0),e.totalSpent?((0,B.wg)(),(0,B.j4)(m,{key:9,label:e.$t("common.total"),"data-cy":"amount"},{value:(0,B.w5)((function(){return[(0,B.Wm)(w,{amount:+e.aettosToAe(e.totalSpent),symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY,"high-precision":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,B.kq)("",!0)]),!e.proposalCompleted&&e.activeMultisigAccount.txHash?((0,B.wg)(),(0,B.iD)("div",ik,[(0,B._)("div",sk,[(0,B.Wm)(y,{variant:"muted",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[0]||(t[0]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.refuse,e.$t("pages.proposalDetails.refuse"))})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.proposalDetails.refuse")),1)]})),_:1},8,["disabled"]),e.pendingMultisigTxCanBeSent?((0,B.wg)(),(0,B.j4)(y,{key:0,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxExpired,onClick:t[1]||(t[1]=function(t){return e.processProposal()})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.send")),1)]})),_:1},8,["disabled"])):((0,B.wg)(),(0,B.j4)(y,{key:1,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxConfirmedByLocalSigners||e.pendingMultisigTxExpired,onClick:t[2]||(t[2]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.confirm,e.$t("pages.proposalDetails.sign"))})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.proposalDetails.sign")),1)]})),_:1},8,["disabled"]))]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,B.wg)(),(0,B.j4)(y,{key:0,variant:"muted",extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[3]||(t[3]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.revoke,e.$t("pages.proposalDetails.revoke"))})},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.proposalDetails.revokeTransaction")),1)]})),_:1},8,["disabled"])):(0,B.kq)("",!0)])):(0,B.kq)("",!0)])],64)):((0,B.wg)(),(0,B.j4)(i,{key:0,class:"spinner"}))])]})),_:1})]})),_:1})}var lk=n(27128),ck=n(84032),dk={class:"transaction-multisig-consensus"},pk={key:0,class:"consensus-label"},mk={class:"label"},fk={class:"confirmations-count"},vk={class:"consensus"},gk={key:0,class:"signers"};function hk(e,t,n,a,r,o){var i=(0,B.up)("BtnHelp"),s=(0,B.up)("ConsensusLabel"),u=(0,B.up)("AccountItem"),l=(0,B.up)("CheckCircle"),c=(0,B.up)("CloseCircle"),d=(0,B.up)("DialogBox"),p=(0,B.up)("InfoBox");return(0,B.wg)(),(0,B.iD)("div",dk,[e.isPendingMultisigTxCompleted?(0,B.kq)("",!0):((0,B.wg)(),(0,B.iD)("div",pk,[(0,B._)("div",mk,[(0,B._)("span",null,(0,me.zw)(e.$t("multisig.consensus")),1),(0,B.Wm)(i,{class:"btn-help",onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]),(0,B._)("span",fk,[(0,B.Wm)(s,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])])),(0,B._)("div",vk,[e.isPendingMultisigTxCompleted?(0,B.kq)("",!0):((0,B.wg)(),(0,B.iD)("div",gk,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.pendingMultisigTxSortedSigners,(function(t){return(0,B.wg)(),(0,B.iD)("div",{key:t,class:"signer"},[(0,B.Wm)(u,{address:t,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"]),e.pendingMultisigTxConfirmedBy.includes(t)||e.proposalCompleted?((0,B.wg)(),(0,B.j4)(l,{key:0,class:"check-icon active"})):e.pendingMultisigTxRefusedBy.includes(t)?((0,B.wg)(),(0,B.j4)(c,{key:1,class:"close-icon"})):((0,B.wg)(),(0,B.j4)(l,{key:2,class:"check-icon"})),e.isLocalAccountAddress(t)?((0,B.wg)(),(0,B.j4)(d,{key:3,dense:""},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.you")),1)]})),_:1})):(0,B.kq)("",!0)])})),128))])),(0,B.Wm)(p,{type:e.infoBox.type},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.infoBox.content),1)]})),_:1},8,["type"])])])}var wk={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},yk=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),kk=[yk];function bk(e,t){return(0,B.wg)(),(0,B.iD)("svg",wk,kk)}const Ck={},Ak=(0,qe.Z)(Ck,[["render",bk]]),xk=Ak;var _k={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Dk=(0,B._)("path",{d:"M11.9952 22C17.4761 22 22 17.4739 22 12C22 6.52611 17.4664 2 11.9855 2C6.51426 2 2 6.52611 2 12C2 17.4739 6.52392 22 11.9952 22ZM8.69889 16.2166C8.18656 16.2166 7.78057 15.8104 7.78057 15.2882C7.78057 15.0561 7.87724 14.824 8.0609 14.6499L10.6902 12.0097L8.0609 9.37911C7.87724 9.20503 7.78057 8.97292 7.78057 8.74081C7.78057 8.21857 8.18656 7.82205 8.69889 7.82205C8.96955 7.82205 9.18221 7.90909 9.35621 8.08317L11.9952 10.7137L14.6438 8.0735C14.8371 7.88975 15.0401 7.80271 15.3011 7.80271C15.8134 7.80271 16.2194 8.2089 16.2194 8.72147C16.2194 8.96325 16.1228 9.17602 15.9391 9.36944L13.3098 12.0097L15.9391 14.6402C16.1131 14.824 16.2098 15.0464 16.2098 15.2882C16.2098 15.8104 15.8038 16.2166 15.2818 16.2166C15.0208 16.2166 14.7985 16.1199 14.6148 15.9458L11.9952 13.325L9.37554 15.9458C9.20155 16.1296 8.96955 16.2166 8.69889 16.2166Z",fill:"currentColor"},null,-1),Tk=[Dk];function Sk(e,t){return(0,B.wg)(),(0,B.iD)("svg",_k,Tk)}const Ik={},Fk=(0,qe.Z)(Ik,[["render",Sk]]),Ek=Fk,Rk=(0,B.aZ)({name:"TransactionMultisigConsensus",components:{BtnHelp:ql.Z,ConsensusLabel:ao.Z,AccountItem:lc.Z,CheckCircle:xk,CloseCircle:Ek,DialogBox:ck.Z,InfoBox:Lv.Z},props:{proposalCompleted:Boolean},setup:function(e){var t=(0,p.oR)(),n=(0,no.QT)(),r=n.t,o=(0,oe.ol)(),i=o.openModal,s=(0,oe.Bo)({store:t}),u=s.activeMultisigAccount,l=(0,oe.xe)({store:t}),c=l.isLocalAccountAddress,d=(0,oe.cX)({store:t}),m=d.pendingMultisigTxConfirmedBy,f=d.pendingMultisigTxRefusedBy,v=d.pendingMultisigTxSortedSigners,g=d.pendingMultisigTxConfirmed,h=d.pendingMultisigTxRevoked,w=d.pendingMultisigTxProposingAccountRevoked,y=d.pendingMultisigTxRequiredConfirmations,k=d.pendingMultisigTxPendingConfirmationsCount,b=d.pendingMultisigTxExpired,C=d.isPendingMultisigTxCompleted,A=d.isPendingMultisigTxCompletedAndRevoked,x=d.isPendingMultisigTxCompletedAndConfirmed,_=(0,B.Fl)((function(){return e.proposalCompleted||x.value?{content:r("pages.proposalDetails.infoBox.completed"),type:Lv._.success}:b.value?{content:r("pages.proposalDetails.infoBox.expired"),type:Lv._.warning}:g.value?{content:r("pages.proposalDetails.infoBox.approved"),type:Lv._["default"]}:A.value?{content:r("pages.proposalDetails.infoBox.justRevoked"),type:Lv._.danger}:w.value?{content:r("pages.proposalDetails.infoBox.proposingAccountRevoked"),type:Lv._.danger}:h.value?{content:r("pages.proposalDetails.infoBox.revoked",[f.value.length,y.value]),type:Lv._.danger}:{content:r("pages.proposalDetails.infoBox.pending",[k.value,k.value>1?r("pages.proposalDetails.infoBox.signatures"):r("pages.proposalDetails.infoBox.signature")]),type:Lv._["default"]}}));function D(){i(a.zo)}return{PROTOCOL_AETERNITY:a.DJ,activeMultisigAccount:u,isLocalAccountAddress:c,infoBox:_,pendingMultisigTxSortedSigners:v,pendingMultisigTxConfirmedBy:m,pendingMultisigTxRefusedBy:f,isPendingMultisigTxCompleted:C,openConsensusInfoModal:D}}}),Bk=(0,qe.Z)(Rk,[["render",hk],["__scopeId","data-v-2d65e988"]]),Zk=Bk;var Uk=n(70237),Pk=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Mk=(0,B.aZ)({components:{PayloadDetails:lk.Z,TransactionTokens:Uk.Z,MultisigProposalConsensus:Zk,TransactionInfo:wi.Z,DialogBox:ck.Z,Avatar:Po.Z,TokenAmount:oi.Z,DetailsItem:ri.Z,LinkButton:Ue.Z,AccountItem:lc.Z,BtnMain:yn.Z,CopyText:ki.Z,AnimatedSpinner:br.Z,ExternalLink:Ge.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,oe.ol)(),t=e.openDefaultModal,n=e.openModal,r=(0,p.oR)(),o=(0,Qt.tv)(),i=(0,no.QT)(),s=i.t,u=(0,oe.Bo)({store:r}),l=u.activeMultisigAccount,c=u.activeMultisigAccountExplorerUrl,d=u.updateMultisigAccounts,m=u.fetchAdditionalInfo,f=u.stopFetchingAdditionalInfo,v=(0,oe.cX)({store:r}),w=v.pendingMultisigTxExpired,y=v.pendingMultisigTxExpiresAt,b=v.pendingMultisigTxCanBeSent,C=v.pendingMultisigTxLocalSigners,A=v.pendingMultisigTxConfirmedByLocalSigners,x=(0,oe.RS)({store:r}),_=x.fetchActiveMultisigTx,D=x.fetchTransactionByHash,T=x.sendTx,S=x.callContractMethod,I=(0,oe.xe)({store:r}),F=I.isLocalAccountAddress,E=(0,oe.bl)(),R=E.isLoaderVisible,Z=E.setLoaderVisible,U=(0,rn.X_)("getTxSymbol"),P=(0,Ze.iH)(null),M=(0,Ze.iH)(null),L=(0,Ze.iH)(!1),O=(0,B.Fl)((function(){var e;if(!L.value||!M.value)return 0;var t=M.value.tx,n=null===(e=t.tx)||void 0===e?void 0:e.tx;return n?new Kr.Z(n.amount).plus(t.fee).plus(n.fee).toString():0})),N=(0,B.Fl)((function(){return y.value>0?"(≈".concat((0,g.vz)(y.value),")"):null}));function H(){return Pk(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:P.value=Object.assign(Object.assign({},t.tx),{type:Y.Vp[Y.Vp.GaMetaTx],tag:Y.Vp.GaMetaTx});case 6:case"end":return e.stop()}}),e)})))}function V(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0;if(e){var r,o=e.message;(0,k._X)(e)&&(o=n?s("modals.vaultLowBalance.msg"):s("modals.accountLowBalance.msg",{action:a}),r=s(n?"modals.vaultLowBalance.title":"modals.accountLowBalance.title")),t({icon:"warning",title:r,msg:o,textCenter:!0})}}function j(e,t){var r;return Pk(this,void 0,void 0,regeneratorRuntime.mark((function i(){var s,u,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(l.value){i.next=2;break}return i.abrupt("return");case 2:return Z(!0),i.prev=3,i.next=6,n(a.mI,{action:e,signers:C.value});case 6:return s=l.value,u=s.contractId,c=s.txHash,i.next=9,S(e,u,c);case 9:return i.next=11,d();case 11:(null===(r=l.value)||void 0===r?void 0:r.txHash)||o.push({name:pe.I}),i.next=17;break;case 14:i.prev=14,i.t0=i["catch"](3),V(i.t0,!1,t.toString().toLowerCase());case 17:Z(!1);case 18:case"end":return i.stop()}}),i,null,[[3,14]])})))}function q(){return Pk(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(l.value&&b.value){e.next=2;break}return e.abrupt("return");case 2:return Z(!0),e.prev=3,t=l.value,n=t.gaAccountId,a=t.txHash,r=t.nonce,e.next=7,D(a);case 7:if(o=e.sent,o){e.next=10;break}throw Error("failed to load a transaction");case 10:return e.next=12,T(n,o.tx,r);case 12:return M.value=e.sent,e.next=15,d();case 15:L.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](3),V(e.t0,!0);case 21:Z(!1);case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))}return(0,B.YP)((function(){return l.value}),(function(e,t){e&&!(0,ae.Z)(e,t)&&H()}),{immediate:!0}),(0,B.YP)((function(){return P.value}),(function(){m()})),(0,W.l3)((function(){f(),Z(!1)})),{AE_SYMBOL:h.WJ,PROTOCOL_AETERNITY:a.DJ,TX_FUNCTIONS_MULTISIG:h.$L,activeMultisigAccount:l,activeMultisigAccountExplorerUrl:c,multisigTx:P,transaction:M,totalSpent:O,getTxSymbol:U,getTransactionPayload:k.gO,splitAddress:g.wC,aettosToAe:k.mW,formatDate:g.p6,formatTime:g.mr,isLocalAccountAddress:F,isLoaderVisible:R,pendingMultisigTxCanBeSent:b,pendingMultisigTxExpired:w,expirationHeightToRelativeTime:N,pendingMultisigTxConfirmedByLocalSigners:A,proposalCompleted:L,blocksToRelativeTime:g.vz,dispatchProposalAction:j,processProposal:q}}}),Lk=(0,qe.Z)(Mk,[["render",uk],["__scopeId","data-v-51c1854d"]]),Ok=Lk;var Nk={class:"reset-wallet-settings"},Wk={class:"text-description"};function Hk(e,t,n,a,r,o){var i=(0,B.up)("RouterLink"),s=(0,B.up)("i18n-t"),u=(0,B.up)("BtnMain"),l=(0,B.up)("IonContent"),c=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(c,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(l,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Nk,[(0,B._)("p",Wk,(0,me.zw)(e.$t("pages.resetWallet.description")),1),(0,B.Wm)(s,{keypath:"pages.resetWallet.description2",tag:"p",class:"text-description",scope:"global"},{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{to:{name:"settings-seed-phrase"}},{default:(0,B.w5)((function(){return[(0,B.Uk)(" seed phrase ")]})),_:1})]})),_:1}),(0,B.Wm)(u,{variant:"danger",class:"reset-wallet-button",extend:"",text:e.$t("pages.resetWallet.title"),icon:e.ResetWalletIcon,onClick:e.onResetWallet},null,8,["text","icon","onClick"])])]})),_:1})]})),_:1})}var Vk={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},jk=(0,B._)("path",{d:"M22.6722 10.9517H21.4542C20.9409 6.54084 17.113 3 12.5021 3C9.95303 3 7.63887 4.11358 6.03809 5.85355C5.6118 6.27115 5.6292 6.82794 5.9772 7.14983C6.33389 7.48043 6.84718 7.48043 7.28217 7.08023C8.57845 5.67956 10.4402 4.80087 12.5021 4.80087C16.1734 4.80087 19.1401 7.48913 19.636 10.9517H18.3049C17.635 10.9517 17.4523 11.4476 17.8438 11.9869L19.9231 14.9275C20.245 15.3625 20.7321 15.3712 21.0453 14.9275L23.1333 11.9957C23.5248 11.4476 23.3508 10.9517 22.6722 10.9517ZM12.5108 13.4311C12.9893 13.4311 13.259 13.1614 13.2764 12.6568L13.4069 8.47221C13.4243 7.95892 13.0415 7.59352 12.5021 7.59352C11.9627 7.59352 11.5886 7.95022 11.606 8.46351L11.7278 12.6655C11.7452 13.1614 12.0236 13.4311 12.5108 13.4311ZM2.33196 13.0483H3.55864C4.07193 17.4592 7.89986 21 12.5021 21C15.0685 21 17.3827 19.8777 18.9835 18.1377C19.4011 17.7202 19.3837 17.1634 19.0357 16.8415C18.679 16.5109 18.1744 16.5109 17.7307 16.9198C16.4518 18.3204 14.5901 19.1991 12.5021 19.1991C8.83945 19.1991 5.8728 16.5109 5.37691 13.0483H6.69928C7.36047 13.0483 7.55187 12.5524 7.16038 12.0131L5.07241 9.0725C4.75922 8.63751 4.27202 8.62881 3.95883 9.0725L1.87086 12.0043C1.47067 12.5524 1.65337 13.0483 2.33196 13.0483ZM12.5108 16.3195C13.0763 16.3195 13.5374 15.9106 13.5374 15.3625C13.5374 14.8057 13.0763 14.4055 12.5108 14.4055C11.9453 14.4055 11.4842 14.8144 11.4842 15.3625C11.4842 15.9106 11.954 16.3195 12.5108 16.3195Z",fill:"currentColor"},null,-1),qk=[jk];function zk(e,t){return(0,B.wg)(),(0,B.iD)("svg",Vk,qk)}const Yk={},$k=(0,qe.Z)(Yk,[["render",zk]]),Gk=$k,Kk=(0,B.aZ)({components:{BtnMain:yn.Z,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,oe.ol)(),t=e.openModal;function n(){t(a.CD)}return{ResetWalletIcon:Gk,onResetWallet:n}}}),Jk=(0,qe.Z)(Kk,[["render",Hk],["__scopeId","data-v-11f9ae84"]]),Qk=Jk;var Xk=function(e){var t,n,a=function(){var e;return null===(e=window.popupProps)||void 0===e?void 0:e.reject(new zt.x)};window.addEventListener("beforeunload",a);var r=function(e){return function(){e.apply(void 0,arguments),window.removeEventListener("beforeunload",a),window.close()}},o=Object.assign(Object.assign({},window.popupProps),{resolve:r(null===(t=window.popupProps)||void 0===t?void 0:t.resolve),reject:r(null===(n=window.popupProps)||void 0===n?void 0:n.reject)}),i=(0,oe.M1)(),s=i.setPopupProps;return s(o),(0,B.h)(e)},eb=a.Pl&&a.AR?[{name:a.kL,component:Wf},{name:a.Tz,component:Jf},{name:a.eR,component:xi},{name:a.Me,component:pi},{name:a.$E,component:av}].map((function(e){var t=e.name,n=e.component;return{name:"".concat(pe.WN,"-").concat(t),path:"/".concat(pe.WN,"/").concat(t),component:Xk(n),meta:{notPersist:!0,hideHeader:!0}}})):[];const tb=eb;var nb={"data-cy":"networks",class:"networks"},ab={class:"text-description"},rb={class:"networks-list"};function ob(e,t,n,a,r,o){var i=(0,B.up)("NetworkRow"),s=(0,B.up)("BtnMain"),u=(0,B.up)("IonContent"),l=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(l,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",nb,[(0,B._)("p",ab,(0,me.zw)(e.$t("pages.network.listLabel")),1),(0,B._)("div",rb,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.networks,(function(t){return(0,B.wg)(),(0,B.j4)(i,{key:t.name,network:t,"is-active":t.name===e.activeNetwork.name,onSelectNetwork:e.switchNetwork,onDeleteNetwork:e.deleteCustomNetwork},null,8,["network","is-active","onSelectNetwork","onDeleteNetwork"])})),128))]),(0,B.Wm)(s,{extend:"",variant:"muted",class:"add-custom-network","data-cy":"to-add",text:e.$t("pages.network.addCustomNetwork"),icon:e.PlusCircleIcon,to:{name:e.ROUTE_NETWORK_ADD}},null,8,["text","icon","to"])])]})),_:1})]})),_:1})}var ib={class:"name-and-actions"},sb={class:"name","data-cy":"network-name"},ub={key:0,class:"actions"},lb={class:"network-details"},cb=["textContent"];function db(e,t,n,a,r,o){var i=(0,B.up)("BtnIcon"),s=(0,B.up)("RadioButton");return(0,B.wg)(),(0,B.iD)("div",{class:(0,me.C_)(["network-row",{inactive:!e.isActive}])},[(0,B.Wm)(s,{value:e.isActive,type:"radio",name:"activeNetwork",onInput:t[1]||(t[1]=function(t){return e.$emit("selectNetwork",e.network.name)})},{default:(0,B.w5)((function(){return[(0,B._)("div",ib,[(0,B._)("p",sb,(0,me.zw)(e.network.name),1),e.network.type===e.NETWORK_TYPE_CUSTOM?((0,B.wg)(),(0,B.iD)("div",ub,[(0,B.Wm)(i,{size:"sm","data-cy":"network-edit",dimmed:"",to:{name:e.ROUTE_NETWORK_EDIT,params:{name:e.network.name}},icon:e.PencilIcon},null,8,["to","icon"]),(0,B.Wm)(i,{size:"sm","data-cy":"network-delete","icon-variant":"danger",dimmed:"",icon:e.TrashIcon,onClick:t[0]||(t[0]=function(t){e.$emit("deleteNetwork",e.network.name)})},null,8,["icon"])])):(0,B.kq)("",!0)])]})),_:1},8,["value"]),(0,B._)("table",lb,[(0,B._)("tbody",null,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.networkSettingsToDisplay,(function(t,n){var a;return(0,B.wg)(),(0,B.iD)("tr",{key:n,class:"url"},[(0,B._)("td",{class:"url-label",textContent:(0,me.zw)(e.getProtocolName(n))},null,8,cb),(0,B._)("td",null,(0,me.zw)(null===(a=t.nodeUrl)||void 0===a?void 0:a.replace("https://","")),1)])})),128))])])],2)}var pb=n(28255);const mb=(0,B.aZ)({components:{BtnIcon:on.Z,RadioButton:ml.Z},props:{network:{type:Object,required:!0},isActive:Boolean},emits:{selectNetwork:function(e){},deleteNetwork:function(e){}},setup:function(e){var t=(0,B.Fl)((function(){return Object.keys(e.network.protocols).reduce((function(t,n){var a=e.network.protocols[n];return a.nodeUrl&&(t[n]=a),t}),{})}));function n(e){return r.l.getAdapter(e).protocolName}return{NETWORK_TYPE_CUSTOM:a.GE,ROUTE_NETWORK_EDIT:pe.$Q,PencilIcon:pb.Z,TrashIcon:yf.Z,networkSettingsToDisplay:t,getProtocolName:n}}}),fb=(0,qe.Z)(mb,[["render",db],["__scopeId","data-v-640debbe"]]),vb=fb;var gb={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},hb=(0,B._)("path",{d:"M9.99605 18.3334C14.5635 18.3334 18.3334 14.5617 18.3334 10.0001C18.3334 5.43851 14.5554 1.66675 9.988 1.66675C5.42863 1.66675 1.66675 5.43851 1.66675 10.0001C1.66675 14.5617 5.43669 18.3334 9.99605 18.3334ZM6.09723 10.0081C6.09723 9.53264 6.43556 9.20221 6.90277 9.20221H9.19857V6.9053C9.19857 6.43786 9.52078 6.10743 9.97994 6.10743C10.4552 6.10743 10.7855 6.43786 10.7855 6.9053L10.7855 9.20221L13.0893 9.20221C13.5485 9.20221 13.8868 9.53264 13.8868 10.0081C13.8868 10.4675 13.5485 10.798 13.0893 10.798H10.7855V13.0949C10.7855 13.5542 10.4552 13.8927 9.97994 13.8927C9.52078 13.8927 9.19857 13.5542 9.19857 13.0949L9.19857 10.798L6.90277 10.798C6.43556 10.798 6.09723 10.4675 6.09723 10.0081Z",fill:"currentColor"},null,-1),wb=[hb];function yb(e,t){return(0,B.wg)(),(0,B.iD)("svg",gb,wb)}const kb={},bb=(0,qe.Z)(kb,[["render",yb]]),Cb=bb,Ab=(0,B.aZ)({components:{BtnMain:yn.Z,NetworkRow:vb,IonPage:W._i,IonContent:W.W2},setup:function(){var e=(0,oe.e9)(),t=e.activeNetwork,n=e.networks,a=e.switchNetwork,r=e.deleteCustomNetwork;return{activeNetwork:t,networks:n,PlusCircleIcon:Cb,ROUTE_NETWORK_ADD:pe.Z$,switchNetwork:a,deleteCustomNetwork:r}}}),xb=(0,qe.Z)(Ab,[["render",ob],["__scopeId","data-v-00a35ffe"]]),_b=xb;var Db=function(e){return(0,B.dD)("data-v-7bbf3432"),e=e(),(0,B.Cn)(),e},Tb={class:"network-form","data-cy":"network-form"},Sb={key:1,class:"text-description"},Ib=["data-cy"],Fb=Db((function(){return(0,B._)("hr",null,null,-1)})),Eb=["textContent"],Rb={class:"button-wrapper"};function Bb(e,t,n,a,r,o){var i=(0,B.up)("InfoBox"),s=(0,B.up)("InputField"),u=(0,B.up)("Field"),l=(0,B.up)("BtnMain"),c=(0,B.up)("IonContent"),d=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(d,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(c,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",Tb,[e.isNetworkPrefilled?((0,B.wg)(),(0,B.j4)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("pages.network.thirdPartyDetails")},null,8,["type","text"])):((0,B.wg)(),(0,B.iD)("p",Sb,(0,me.zw)(e.$t("pages.network.formLabel")),1)),(0,B.Wm)(u,{key:"name",name:"name",rules:{required:!0,network_name:!0,network_exists:e.customNetworks,max_len:e.NETWORK_NAME_MAX_LENGTH}},{default:(0,B.w5)((function(n){var a=n.field,r=n.errorMessage;return[(0,B.Wm)(s,(0,B.dG)(a,{modelValue:e.newNetworkName,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.newNetworkName=t}),"data-cy":"network-name",placeholder:e.$t("pages.network.networkNamePlaceholder"),label:e.$t("pages.network.networkNameLabel"),message:r,"text-limit":e.NETWORK_NAME_MAX_LENGTH}),null,16,["modelValue","placeholder","label","message","text-limit"])]})),_:1},8,["rules"]),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.formStructure,(function(t){var n=t.inputs,a=t.name,r=t.protocol;return(0,B.wg)(),(0,B.iD)("div",{key:r,"data-cy":"group-".concat(r)},[Fb,(0,B._)("h3",{class:"text-heading-3",textContent:(0,me.zw)(a)},null,8,Eb),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(n,(function(t){return(0,B.wg)(),(0,B.j4)(u,{key:r+t.key,name:"".concat(r,"-").concat(t.key),rules:{required:!0===t.required,invalid_hostname:!0}},{default:(0,B.w5)((function(n){var a=n.field,o=n.errorMessage;return[(0,B.Wm)(s,(0,B.dG)(a,{modelValue:e.newNetworkProtocols[r][t.key],"onUpdate:modelValue":function(n){return e.newNetworkProtocols[r][t.key]=n},placeholder:t.getPlaceholder(),label:t.getLabel(),"data-cy":t.key,message:o}),null,16,["modelValue","onUpdate:modelValue","placeholder","label","data-cy","message"])]})),_:2},1032,["name","rules"])})),128))],8,Ib)})),128)),(0,B.Wm)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[Object.keys(e.errors).length?((0,B.wg)(),(0,B.j4)(i,{key:0,class:"invalid-form-message",type:e.INFO_BOX_TYPES.danger,text:e.$t("validation.formInvalid")},null,8,["type","text"])):(0,B.kq)("",!0)]})),_:1}),(0,B._)("div",Rb,[(0,B.Wm)(l,{"data-cy":"cancel",variant:"muted",class:"cancel-button","extra-padded":"",text:e.$t("common.cancel"),onClick:e.goBack},null,8,["text","onClick"]),(0,B.Wm)(l,{icon:e.isEdit?null:e.PlusCircleIcon,disabled:Object.keys(e.errors).length,"data-cy":"btn-add-network",class:"add-button",onClick:t[1]||(t[1]=function(t){return e.addOrUpdateNetwork()})},{default:(0,B.w5)((function(){return[e.isEdit?((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Uk)((0,me.zw)(e.$t("pages.network.apply")),1)],64)):((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B.Uk)((0,me.zw)(e.$t("pages.network.addNetwork")),1)],64))]})),_:1},8,["icon","disabled"])])])]})),_:1})]})),_:1})}var Zb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Ub=(0,B.aZ)({name:"NetworkForm",components:{InfoBox:Lv.Z,BtnMain:yn.Z,InputField:Od.Z,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},setup:function(){var e=this,t=(0,Pu.cI)(),n=t.setValues,o=t.validate,i=t.errors,s=a.UM.map((function(e){var t=r.l.getAdapter(e);return{protocol:e,name:t.protocolName,inputs:t.getNetworkSettings()}})),u=(0,Qt.tv)(),l=(0,Qt.yj)(),c=(0,oe.e9)(),d=c.networks,p=c.customNetworks,m=c.switchNetwork,f=c.addCustomNetwork,v=c.updateCustomNetwork,g=l.name===pe.$Q,h=g?p.value.findIndex((function(e){var t=e.name;return t===l.params.name.toString()})):null,w=a.UM.reduce((function(e,t){return Object.assign(Object.assign({},e),(0,V.Z)({},t,{}))}),{}),y=(0,Ze.iH)(""),k=(0,Ze.iH)(w),b=(0,Ze.iH)(!1);function C(){u.replace({name:pe.wR})}function A(){return Zb(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:if(e.sent.valid){e.next=4;break}return e.abrupt("return");case 4:t={name:y.value,type:a.GE,protocols:k.value},g?v(h,t):f(t),m(y.value),C();case 8:case"end":return e.stop()}}),e)})))}function x(){a.UM.forEach((function(e){var t=r.l.getAdapter(e),n=t.getNetworkSettings();k.value[e]=n.reduce((function(e,t){var n=t.key,a=t.defaultValue;return a&&(e[n]=a),e}),{})}))}function _(){if(Object.keys(l.query).length){var e=["nodeUrl","middlewareUrl"];e.forEach((function(e){var t=l.query[e];t&&"string"===typeof t&&(k.value[a.DJ][e]=t,b.value=!0)}))}}function D(){var e={name:y.value};a.UM.forEach((function(t){var n=k.value[t];Object.keys(n).forEach((function(a){e["".concat(t,"-").concat(a)]=n[a]}))})),n(e)}return(0,B.bv)((function(){return Zb(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:g?(y.value=l.params.name.toString(),k.value=d.value[y.value].protocols):(x(),_()),D();case 2:case"end":return e.stop()}}),e)})))})),{NETWORK_NAME_MAX_LENGTH:a.t3,INFO_BOX_TYPES:Lv._,PlusCircleIcon:Cb,newNetworkProtocols:k,newNetworkName:y,networks:d,customNetworks:p,isNetworkPrefilled:b,isEdit:g,formStructure:s,errors:i,addOrUpdateNetwork:A,goBack:C}}}),Pb=(0,qe.Z)(Ub,[["render",Bb],["__scopeId","data-v-7bbf3432"]]),Mb=Pb;var Lb={key:0,class:"multisig-details"},Ob={class:"address-row"},Nb={class:"address-row"},Wb={class:"row"};function Hb(e,t,n,a,r,o){var i=(0,B.up)("Avatar"),s=(0,B.up)("AddressFormatted"),u=(0,B.up)("DetailsItem"),l=(0,B.up)("ExternalLinkIcon"),c=(0,B.up)("LinkButton"),d=(0,B.up)("BtnHelp"),p=(0,B.up)("ConsensusLabel"),m=(0,B.up)("AuthorizedAccounts"),f=(0,B.up)("IonContent"),v=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(v,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(f,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[e.activeMultisigAccount?((0,B.wg)(),(0,B.iD)("div",Lb,[(0,B.Wm)(u,{label:e.$t("multisig.address")},{value:(0,B.w5)((function(){return[(0,B._)("div",Ob,[(0,B.Wm)(i,{class:"avatar",address:e.activeMultisigAccount.gaAccountId},null,8,["address"]),(0,B.Wm)(s,{address:e.activeMultisigAccount.gaAccountId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,B.Wm)(u,{label:e.$t("common.contractId")},{value:(0,B.w5)((function(){return[(0,B._)("div",Nb,[(0,B.Wm)(i,{class:"avatar",address:e.activeMultisigAccount.contractId},null,8,["address"]),(0,B.Wm)(s,{address:e.activeMultisigAccount.contractId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,B.Wm)(c,{class:"explorer-link",to:e.activeMultisigAccountExplorerUrl},{icon:(0,B.w5)((function(){return[(0,B.Wm)(l,{class:"external-icon"})]})),default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("multisig.explorerLink"))+" ",1)]})),_:1},8,["to"]),(0,B._)("div",Wb,[(0,B.Wm)(u,{class:"details-item",label:e.$t("multisig.version"),value:e.activeMultisigAccount.version},null,8,["label","value"]),(0,B.Wm)(u,{class:"details-item",label:e.$t("multisig.currentNonce"),value:e.activeMultisigAccount.nonce},null,8,["label","value"])]),(0,B.Wm)(u,{class:"details-item",label:e.$t("multisig.consensus")},{label:(0,B.w5)((function(){return[(0,B.Wm)(d,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),value:(0,B.w5)((function(){return[(0,B.Wm)(p,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]})),_:1},8,["label"]),(0,B.Wm)(m,{"address-list":e.activeMultisigAccount.signers},null,8,["address-list"])])):(0,B.kq)("",!0)]})),_:1})]})),_:1})}var Vb=n(77558),jb={class:"account-list"};function qb(e,t,n,a,r,o){var i=(0,B.up)("AccountItem"),s=(0,B.up)("DialogBox"),u=(0,B.up)("DetailsItem");return(0,B.wg)(),(0,B.j4)(u,{label:e.$t("multisig.authorizedSigners"),class:"authorized-accounts"},{value:(0,B.w5)((function(){return[(0,B._)("div",jb,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.addressList,(function(t){return(0,B.wg)(),(0,B.iD)("div",{key:t,class:"account-row"},[(0,B.Wm)(i,{address:t,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"]),e.isLocalAccountAddress(t)?((0,B.wg)(),(0,B.j4)(s,{key:0,class:"dialog",dense:""},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.you")),1)]})),_:1})):(0,B.kq)("",!0)])})),128))])]})),_:1},8,["label"])}const zb=(0,B.aZ)({name:"AuthorizedAccounts",components:{DialogBox:ck.Z,DetailsItem:ri.Z,AccountItem:lc.Z},props:{addressList:{type:Array,default:function(){return[]}}},setup:function(){var e=(0,p.oR)(),t=(0,oe.xe)({store:e}),n=t.isLocalAccountAddress;return{isLocalAccountAddress:n,PROTOCOL_AETERNITY:a.DJ}}}),Yb=(0,qe.Z)(zb,[["render",qb],["__scopeId","data-v-667dace1"]]),$b=Yb,Gb=(0,B.aZ)({name:"MultisigDetails",components:{BtnHelp:ql.Z,ConsensusLabel:ao.Z,LinkButton:Ue.Z,AuthorizedAccounts:$b,Avatar:Po.Z,AddressFormatted:Vb.Z,DetailsItem:ri.Z,ExternalLinkIcon:Ge.Z,IonContent:W.W2,IonPage:W._i},setup:function(){var e=(0,p.oR)(),t=(0,oe.ol)(),n=t.openModal,r=(0,oe.Bo)({store:e}),o=r.activeMultisigAccount,i=r.activeMultisigAccountExplorerUrl,s=r.fetchAdditionalInfo,u=r.stopFetchingAdditionalInfo;function l(){n(a.zo)}return(0,W.KA)(s),(0,W.l3)(u),(0,B.Jd)(u),{activeMultisigAccount:o,activeMultisigAccountExplorerUrl:i,openConsensusInfoModal:l}}}),Kb=(0,qe.Z)(Gb,[["render",Hb],["__scopeId","data-v-304d54fa"]]),Jb=Kb;function Qb(e,t,n,a,r,o){var i=(0,B.up)("IonRouterOutlet"),s=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(s,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{animated:!e.RUNNING_IN_TESTS&&!e.IS_FIREFOX,animation:e.popInAnimation},null,8,["animated","animation"])]})),_:1})}const Xb=(0,B.aZ)({components:{IonRouterOutlet:W.jP,IonPage:W._i},setup:function(){var e=(0,Qt.yj)(),t=(0,oe.bl)(),n=t.setHomeRouteName;function r(){var t=(0,te.Z)(e.matched,1),a=t[0];n(a.meta.isMultisig?pe.sn:pe.I)}return(0,B.ic)((function(){r()})),(0,B.bv)((function(){r()})),{RUNNING_IN_TESTS:a.Hp,IS_FIREFOX:a.D1,popInAnimation:Vi.t8}}}),eC=(0,qe.Z)(Xb,[["render",Qb]]),tC=eC;var nC={class:"apps-browser"},aC={key:0},rC={class:"apps-browser-popular-apps"},oC={class:"apps-browser-list"},iC=["src"];function sC(e,t,n,a,r,o){var i=(0,B.up)("AppsBrowserHeader"),s=(0,B.up)("BtnIcon"),u=(0,B.up)("InputField"),l=(0,B.up)("Field"),c=(0,B.up)("AppsBrowserListItem"),d=(0,B.up)("IonContent"),p=(0,B.up)("IonPage");return(0,B.wg)(),(0,B.j4)(p,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(d,{class:"ion-padding ion-content-bg"},{default:(0,B.w5)((function(){return[(0,B._)("div",nC,[(0,B.Wm)(i,{"selected-app":e.selectedApp,iframe:e.iframeRef,onBack:t[0]||(t[0]=function(t){return e.back()}),onRefresh:t[1]||(t[1]=function(t){return e.refresh()})},null,8,["selected-app","iframe"]),e.selectedApp?((0,B.wg)(),(0,B.iD)("iframe",{key:1,ref:"iframeRef",class:"apps-browser-iframe",src:e.selectedApp.url,onLoad:t[3]||(t[3]=function(t){return e.onAppLoaded()})},null,40,iC)):((0,B.wg)(),(0,B.iD)("div",aC,[(0,B.Wm)(l,{modelValue:e.customAppURL,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.customAppURL=t}),name:"customAppURL",rules:{url:e.customAppURL.length>0}},{default:(0,B.w5)((function(t){var n=t.field,a=t.errorMessage,r=t.resetField;return[(0,B.Wm)(u,(0,B.dG)(n,{"model-value":e.customAppURL,class:"input-url",type:"url","show-message-help":"",placeholder:e.$t("pages.appsBrowser.inputPlaceholder"),message:a,onKeydown:(0,N.D2)((0,N.iM)((function(t){return e.handleEnter(t,a)}),["stop"]),["enter"])}),{after:(0,B.w5)((function(){return[e.customAppURL.length?((0,B.wg)(),(0,B.j4)(s,{key:1,size:"sm",icon:e.CloseIcon,onClick:function(e){return r({value:""})}},null,8,["icon","onClick"])):((0,B.wg)(),(0,B.j4)((0,B.LL)(e.GlobeSmallIcon),{key:0}))]})),_:2},1040,["model-value","placeholder","message","onKeydown"])]})),_:1},8,["modelValue","rules"]),(0,B._)("div",rC,(0,me.zw)(e.$t("pages.appsBrowser.popularApps")),1),(0,B._)("div",oC,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.DAPPS_LIST,(function(t){return(0,B.wg)(),(0,B.iD)("div",{key:t.title,class:"apps-browser-card"},[(0,B.Wm)(c,{"app-title":t.title,"app-icon":t.icon,"app-image":t.image,onClick:function(n){return e.onSelectApp(t)}},null,8,["app-title","app-icon","app-image","onClick"])])})),128))])]))])]})),_:1})]})),_:1})}n(23157);var uC=n(6244),lC={class:"apps-browser-header"},cC={key:0,class:"left"},dC={class:"title"},pC={key:1,class:"host"},mC={class:"right"};function fC(e,t,n,a,r,o){var i=(0,B.up)("AccountSelector"),s=(0,B.up)("BtnIcon"),u=(0,B.up)("Truncate"),l=(0,B.up)("SecureIcon"),c=(0,B.up)("BtnClose");return(0,B.wg)(),(0,B.iD)("div",lC,[e.selectedApp?((0,B.wg)(),(0,B.iD)("div",cC,[(0,B.Wm)(i,{modelValue:e.accountAddress,"onUpdate:modelValue":[t[0]||(t[0]=function(t){return e.accountAddress=t}),e.onAccountChange],"avatar-only":"",options:e.aeAccountsSelectOptions},null,8,["modelValue","options","onUpdate:modelValue"]),(0,B.Wm)(s,{class:"icon-btn","data-cy":"back-arrow",icon:e.BackIcon,onClick:e.back},null,8,["icon","onClick"])])):(0,B.kq)("",!0),(0,B._)("div",dC,[e.selectedApp?((0,B.wg)(),(0,B.iD)("div",pC,[e.isSecure?((0,B.wg)(),(0,B.j4)(l,{key:0,class:"icon secure-lock"})):(0,B.kq)("",!0),(0,B.Uk)(" "+(0,me.zw)(e.selectedAppHost),1)])):((0,B.wg)(),(0,B.j4)(u,{key:0,str:e.$t("pages.titles.appsBrowser"),class:"text"},null,8,["str"]))]),(0,B._)("div",mC,[e.selectedApp?((0,B.wg)(),(0,B.j4)(s,{key:0,icon:e.ThreeDotsIcon,onClick:e.openActions},null,8,["icon","onClick"])):(0,B.kq)("",!0),(0,B.Wm)(c,{class:"btn-close",onClick:e.close},null,8,["onClick"])])])}var vC=n(62654),gC={viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},hC=(0,B._)("path",{id:"Vector",d:"M5.99143 15.1C5.50286 15.1 5.13214 14.9693 4.87929 14.708C4.62643 14.4509 4.5 14.0632 4.5 13.5448V9.06237C4.5 8.54817 4.62643 8.16252 4.87929 7.90542C5.13214 7.64832 5.50286 7.51977 5.99143 7.51977H12.0086C12.4971 7.51977 12.8679 7.64832 13.1207 7.90542C13.3736 8.16252 13.5 8.54817 13.5 9.06237V13.5448C13.5 14.0632 13.3736 14.4509 13.1207 14.708C12.8679 14.9693 12.4971 15.1 12.0086 15.1H5.99143ZM6.17143 13.962H11.8286C11.9614 13.962 12.0643 13.922 12.1371 13.8419C12.21 13.766 12.2464 13.6522 12.2464 13.5005V9.11295C12.2464 8.96121 12.21 8.84742 12.1371 8.77155C12.0643 8.69569 11.9614 8.65775 11.8286 8.65775H6.17143C6.04286 8.65775 5.94 8.69569 5.86286 8.77155C5.79 8.84742 5.75357 8.96121 5.75357 9.11295V13.5005C5.75357 13.6522 5.79 13.766 5.86286 13.8419C5.94 13.922 6.04286 13.962 6.17143 13.962ZM5.67643 8.05083V6.04039C5.67643 5.26066 5.83071 4.60948 6.13929 4.08685C6.45214 3.56001 6.86143 3.16382 7.36714 2.89829C7.87286 2.63276 8.41714 2.5 9 2.5C9.58286 2.5 10.1271 2.63276 10.6329 2.89829C11.1386 3.16382 11.5457 3.56001 11.8543 4.08685C12.1671 4.60948 12.3236 5.26066 12.3236 6.04039V8.05083H11.1214V5.92659C11.1214 5.43347 11.0229 5.01831 10.8257 4.68113C10.6329 4.33974 10.3757 4.08053 10.0543 3.90351C9.73286 3.72649 9.38143 3.63798 9 3.63798C8.61857 3.63798 8.26714 3.72649 7.94571 3.90351C7.62429 4.08053 7.36714 4.33974 7.17429 4.68113C6.98143 5.01831 6.885 5.43347 6.885 5.92659V8.05083H5.67643Z",fill:"currentColor"},null,-1),wC=[hC];function yC(e,t){return(0,B.wg)(),(0,B.iD)("svg",gC,wC)}const kC={},bC=(0,qe.Z)(kC,[["render",yC]]),CC=bC;var AC={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},xC=(0,B._)("path",{d:"M17 12C17 11.5055 17.1466 11.0222 17.4213 10.6111C17.696 10.2 18.0865 9.87952 18.5433 9.6903C19.0001 9.50108 19.5028 9.45157 19.9877 9.54804C20.4727 9.6445 20.9181 9.8826 21.2678 10.2322C21.6174 10.5819 21.8555 11.0273 21.952 11.5123C22.0484 11.9972 21.9989 12.4999 21.8097 12.9567C21.6205 13.4135 21.3 13.804 20.8889 14.0787C20.4778 14.3534 19.9945 14.5 19.5 14.5C18.837 14.5 18.2011 14.2366 17.7322 13.7678C17.2634 13.2989 17 12.663 17 12Z",fill:"currentColor"},null,-1),_C=(0,B._)("path",{opacity:"0.66",d:"M9.92133 10.6111C9.64662 11.0222 9.5 11.5055 9.5 12C9.5 12.663 9.76339 13.2989 10.2322 13.7678C10.7011 14.2366 11.337 14.5 12 14.5C12.4945 14.5 12.9778 14.3534 13.3889 14.0787C13.8 13.804 14.1205 13.4135 14.3097 12.9567C14.4989 12.4999 14.5484 11.9972 14.452 11.5123C14.3555 11.0273 14.1174 10.5819 13.7678 10.2322C13.4181 9.8826 12.9727 9.6445 12.4877 9.54804C12.0028 9.45157 11.5001 9.50108 11.0433 9.6903C10.5865 9.87952 10.196 10.2 9.92133 10.6111Z",fill:"currentColor"},null,-1),DC=(0,B._)("path",{opacity:"0.44",d:"M2.42133 10.6111C2.14662 11.0222 2 11.5055 2 12C2 12.663 2.26339 13.2989 2.73223 13.7678C3.20107 14.2366 3.83696 14.5 4.5 14.5C4.99445 14.5 5.4778 14.3534 5.88893 14.0787C6.30005 13.804 6.62048 13.4135 6.8097 12.9567C6.99892 12.4999 7.04843 11.9972 6.95196 11.5123C6.8555 11.0273 6.6174 10.5819 6.26777 10.2322C5.91814 9.8826 5.47268 9.6445 4.98773 9.54804C4.50277 9.45157 4.00011 9.50108 3.54329 9.6903C3.08648 9.87952 2.69603 10.2 2.42133 10.6111Z",fill:"currentColor"},null,-1),TC=[xC,_C,DC];function SC(e,t){return(0,B.wg)(),(0,B.iD)("svg",AC,TC)}const IC={},FC=(0,qe.Z)(IC,[["render",SC]]),EC=FC;var RC=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const BC=(0,B.aZ)({components:{BtnClose:vC.Z,Truncate:No.Z,BtnIcon:on.Z,SecureIcon:CC,AccountSelector:Vo},props:{selectedApp:{type:Object,required:!0},iframe:{type:Object,required:!0}},emits:["back","refresh"],setup:function(e,t){var n=t.emit,r=(0,p.oR)(),o=(0,W.cj)(),i=(0,oe.ol)(),s=i.openModal,u=(0,oe.bl)(),l=u.homeRouteName,c=(0,oe.xe)({store:r}),d=c.aeAccounts,m=c.isLoggedIn,f=c.activeAccount,v=c.setActiveAccountByAddress,g=c.prepareAccountSelectOptions,h=(0,B.Fl)((function(){return m.value?l.value:pe.dK})),w=(0,B.Fl)((function(){return e.selectedApp.url.startsWith("https://")})),y=(0,B.Fl)((function(){var t=new URL(e.selectedApp.url);return t.host})),k=(0,B.Fl)((function(){return g(d.value)})),b=(0,Ze.iH)((0,Ze.SU)(f.value.address));function C(e){v(e)}function A(){n("back")}function x(){o.navigate("/".concat(h.value),"back","push")}function _(){return RC(this,void 0,void 0,regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s(a.Pq,{iframe:e.iframe,selectedApp:e.selectedApp});case 3:r=t.sent,(null===r||void 0===r?void 0:r.action)===a.KP.refresh&&n("refresh"),t.next=10;break;case 7:throw t.prev=7,t.t0=t["catch"](0),t.t0;case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))}return{isSecure:w,openActions:_,homeRouteName:l,accountAddress:b,selectedAppHost:y,onAccountChange:C,aeAccountsSelectOptions:k,BackIcon:Ra,ThreeDotsIcon:EC,ROUTE_ACCOUNT:pe.I,ROUTE_MORE:pe.vh,back:A,close:x}}}),ZC=(0,qe.Z)(BC,[["render",fC],["__scopeId","data-v-5143cb24"]]),UC=ZC;var PC={class:"apps-browser-list-item"},MC={class:"app-image-wrapper"},LC=["src"],OC={class:"app-title"};function NC(e,t,n,a,r,o){var i=(0,B.up)("IconWrapper");return(0,B.wg)(),(0,B.iD)("button",PC,[(0,B._)("div",MC,[e.appIcon?((0,B.wg)(),(0,B.j4)(i,{key:0,icon:e.appIcon,class:"app-image","is-full":""},null,8,["icon"])):e.appImage?((0,B.wg)(),(0,B.iD)("img",{key:1,src:e.getImageUrl(e.appImage),class:"app-image"},null,8,LC)):(0,B.kq)("",!0)]),(0,B._)("div",OC,(0,me.zw)(e.appTitle),1)])}const WC=(0,B.aZ)({name:"AppsBrowserListItem",components:{IconWrapper:vn.ZP},props:{appTitle:{type:String,required:!0},appIcon:{type:Object,default:null},appImage:{type:String,default:null}},setup:function(){function e(e){return n(35564)("./".concat(e))}return{getImageUrl:e}}}),HC=(0,qe.Z)(WC,[["render",NC],["__scopeId","data-v-75944b2a"]]),VC=HC;var jC={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},qC=(0,B.uE)('',49),zC=[qC];function YC(e,t){return(0,B.wg)(),(0,B.iD)("svg",jC,zC)}const $C={},GC=(0,qe.Z)($C,[["render",YC]]),KC=GC;var JC={viewBox:"0 0 34 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},QC=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.09196L9.00282 0H24.9972L34 8.09196L17.0479 24L0 8.09196ZM10.0085 2.48276H14.893L25.3324 12.7356L17 20.5517L3.73521 8.13794L10.0085 2.48276Z",fill:"#00FF9D"},null,-1),XC=[QC];function eA(e,t){return(0,B.wg)(),(0,B.iD)("svg",JC,XC)}const tA={},nA=(0,qe.Z)(tA,[["render",eA]]),aA=nA;var rA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},oA=[{title:"Aeternity Governance",url:"https://governance.aeternity.com/",image:"Governance.png"},{title:"Graffiti Aepp",url:"https://graffiti.aeternity.com",icon:KC},{title:"Superhero DEX",url:"https://aepp.dex.superhero.com/swap",icon:aA}],iA="selected-app";const sA=(0,B.aZ)({components:{AppsBrowserListItem:VC,AppsBrowserHeader:UC,InputField:Od.Z,BtnIcon:on.Z,Field:Pu.gN,IonPage:W._i,IonContent:W.W2},setup:function(){var e,t=(0,p.oR)(),n=(0,Ze.iH)(),r=(0,Ze.iH)(),o=(0,Ze.iH)(""),i=(0,Ze.iH)(""),s=(0,oe.cn)({store:t}),u=s.getAeSdk,l=(0,oe.ol)(),c=l.openModal,d=l.modalsOpen,m=(0,B.Fl)((function(){return!!d.value.find((function(e){return e.name===a.Bd}))}));function f(){return rA(this,void 0,void 0,regeneratorRuntime.mark((function t(){var a,o,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.value&&n.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,u();case 4:a=t.sent,o=r.value.contentWindow;try{s=new uC.Z({target:o,origin:void 0}),i.value=a.addRpcClient(s),a.shareWalletInfo(i.value),e=setInterval((function(){try{a._clients.get(i.value)&&a.shareWalletInfo(i.value)}catch(e){(0,g.ac)(e)}}),3e3)}catch(l){(0,g.ac)(l)}case 7:case"end":return t.stop()}}),t)})))}function v(){r.value&&n.value&&((0,g.D$)([iA],n.value),window.location.reload())}function h(e){c(a.Bd).then((function(){var t=e.url.startsWith("http://")||e.url.startsWith("https://")?e.url:"https://".concat(e.url);n.value=Object.assign(Object.assign({},e),{url:t})}),(function(){}))}function w(e,t){o.value.length>0&&!t&&!m.value&&((null===e||void 0===e?void 0:e.target).blur(),h({url:o.value}))}function y(){return rA(this,void 0,void 0,regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.value=null,o.value="",e&&clearInterval(e),!i.value){t.next=8;break}return t.next=6,u();case 6:a=t.sent,a._clients.get(i.value)&&a.removeRpcClient(i.value);case 8:case"end":return t.stop()}}),t)})))}function k(){y()}return(0,B.bv)((function(){var e=(0,g.le)([iA]);e&&(n.value=e,(0,g.D$)([iA],null))})),(0,B.Ah)((function(){y()})),{refresh:v,iframeRef:r,customAppURL:o,DAPPS_LIST:oA,selectedApp:n,onSelectApp:h,onAppLoaded:f,CloseIcon:Ek,GlobeSmallIcon:Mr.Z,back:k,isWarningModalOpened:m,handleEnter:w}}}),uA=(0,qe.Z)(sA,[["render",sC],["__scopeId","data-v-5be80fbe"]]),lA=uA;var cA=n(34451),dA=[].concat((0,de.Z)(tb),[{path:"/",name:pe.dK,component:Fu,meta:{title:"",hideHeader:!0,ifNotAuthOnly:!0,notPersist:!0}},{path:"/",component:tC,redirect:{name:pe.I},children:[{path:"account",name:pe.I,component:Nr},{path:"account-details/",component:Hv,props:{viewComponentName:a.Un},children:[{path:"assets",name:pe.v3,component:Hv,props:{viewComponentName:a.eb},meta:{redirectIfNull:pe.ID,showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:pe.ID,component:Hv,props:{viewComponentName:a.pJ},meta:{hideHeader:!0,showFilterBar:!0}},{path:"names",component:Hv,props:{viewComponentName:a.yh},meta:{redirectIfNull:pe.ID},children:[{path:"",name:pe.Gf,component:Ip,props:!0,meta:{hideHeader:!0}},{path:"auctions",component:Oc,props:!0,name:pe.zW,meta:{hideHeader:!0}},{path:"claim",component:jd,props:!0,name:pe.eW,meta:{hideHeader:!0}}]}]}]},{path:"/account-details/transactions/:hash/:transactionOwner",name:pe.L5,component:Hv,props:{viewComponentName:a.b6},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:pe.ID}}},{path:"/multisig",component:tC,meta:{isMultisig:!0},children:[{path:"",name:pe.sn,component:Io},{path:"details/",component:It,children:[{path:"assets",name:pe.FD,component:Ut,meta:{showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:pe.MZ,component:jt,meta:{hideHeader:!0,showFilterBar:!0}},{path:"info",name:pe.Pq,component:Jb,meta:{hideHeader:!0}}]},{path:"details/transactions/:hash/:transactionOwner",name:pe.br,component:cA["default"],props:{multisigDashboard:!0},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:pe.MZ}}},{path:"details/multisig-proposals",name:pe.QA,component:Ok,props:!0,meta:{title:"multisigProposalDetails",backRoute:{name:pe.MZ},showHeaderNavigation:!0}},{path:"coins/:id",component:Xi,children:[{name:pe.Zr,path:"",component:rs,props:!0,meta:{title:"coinDetails",backRoute:{name:pe.FD},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0,isMultisig:!0}},{name:pe.x5,path:"details",component:ws,props:!0,meta:{title:"coinDetails",backRoute:{name:pe.FD},showHeaderNavigation:!0,isMultisig:!0}}]}]},{path:"/transfer/:t(.*)",redirect:"/account/:a(.*)"},{name:"popup-sign-tx",path:"/popup-sign-tx",component:pi,props:!0,meta:{notPersist:!0}},{name:"popup-raw-sign",path:"/popup-raw-sign",component:xi,props:!0,meta:{notPersist:!0}},{name:"connect",path:"/connect",component:Wf,props:!0,meta:{notPersist:!0}},{name:"message-sign",path:"/message-sign",component:av,props:!0,meta:{notPersist:!0}},{name:"account-list",path:"/account-list",component:Jf,props:!0,meta:{notPersist:!0}},{path:"/more/settings",name:"settings",component:dh,meta:{title:"settings",showHeaderNavigation:!0}},{path:"/more/settings/reset-wallet",name:"settings-reset-wallet",component:Qk,meta:{title:"resetWallet",showHeaderNavigation:!0}},{path:"/more/settings/errors-log",name:"settings-errors-log",component:Gm,meta:{title:"saveErrorsLog",showHeaderNavigation:!0}},{path:"/more/settings/language",name:"settings-language",component:gl,meta:{title:"language",showHeaderNavigation:!0}},{path:"/more/settings/currency",name:"settings-currency",component:Sl,meta:{title:"currency",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase",name:"settings-seed-phrase",component:ag,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details",name:"settings-seed-phrase-details",component:bg,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details/verify",name:"settings-seed-phrase-verify",component:ih,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/networks",name:pe.wR,component:_b,props:!0,meta:{title:"networks",showHeaderNavigation:!0}},{path:"/more/settings/networks/add",name:pe.Z$,component:Mb,props:!0,meta:{title:"networkAdd",showHeaderNavigation:!0}},{path:"/more/settings/networks/:name",name:pe.$Q,component:Mb,props:!0,meta:{title:"networkEdit",showHeaderNavigation:!0}},{path:"/more/settings/permissions",component:tf,name:"permissions-settings",meta:{title:"permissionsSettings",showHeaderNavigation:!0}},{path:"/more/settings/permissions/add",component:Af,name:"permissions-add",meta:{title:"permissionsAdd",showHeaderNavigation:!0}},{path:"/more/settings/permissions/:host",component:Af,name:"permissions-details",meta:{title:"permissionsEdit",showHeaderNavigation:!0,isEdit:!0}},{path:"/more/about",component:ht,name:"about",meta:{title:"about",showHeaderNavigation:!0}},{path:"/more/about/terms",component:Wy,name:"about-terms",meta:{title:"terms",showHeaderNavigation:!0,showScrollbar:!0,ifNotAuth:!0}},{path:"/more/about/privacy",component:Ev,name:"about-privacy",meta:{title:"privacy",ifNotAuth:!0,showHeaderNavigation:!0,showScrollbar:!0}},{path:"/more/tips-claim",name:"tips-claim",component:Gy,meta:{title:"claimTips",showHeaderNavigation:!0}},{path:"/tips",redirect:"/account"},{path:"/retip",component:Qv,meta:{title:"sendTip",notPersist:!0,showHeaderNavigation:!0}},{path:"/more",component:Bd,name:"more",meta:{title:"more",showHeaderNavigation:!0}},{path:"/more/invite",name:"invite",component:nl,meta:{title:"giftCards",showHeaderNavigation:!0}},{path:"/more/settings/notifications",name:"notification-settings",component:Hm,meta:{title:"notifications",showHeaderNavigation:!0}},{path:"/account-details/names/auctions/:name/",component:Ml,props:!0,children:[{path:"",component:ac,props:!0,name:"auction-bid",meta:{title:"auction",showHeaderNavigation:!0}},{path:"history",component:pc,props:!0,name:"auction-history",meta:{title:"auction",backRoute:{name:pe.zW},showHeaderNavigation:!0}}]},{path:"/comment",component:$o,meta:{title:"commentNew",notPersist:!0,showHeaderNavigation:!0}},{name:pe.Li,path:"/donate-error",component:Pi,props:!0,meta:{title:"donateError",notPersist:!0,ifNotAuth:!0}},{name:"address",path:"/address",component:Kt,meta:{title:"address",notPersist:!0}},{path:"/coins/:id",component:Xi,children:[{name:pe.DU,path:"",component:rs,props:!0,meta:{title:"coinDetails",backRoute:{name:pe.v3},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:pe.uj,path:"details",component:ws,props:!0,meta:{title:"coinDetails",backRoute:{name:pe.v3},showHeaderNavigation:!0}}]},{path:"/tokens/:id",component:Xi,children:[{name:pe.C0,path:"",component:rs,props:!0,meta:{title:"tokenDetails",backRoute:{name:pe.v3},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:pe.rW,path:"details",component:ws,props:!0,meta:{title:"tokenDetails",backRoute:{name:pe.v3},showHeaderNavigation:!0}}]},{name:"sign-message",path:"/sign-message",component:hh,meta:{title:"signMessage",notPersist:!0}},{name:"sign-transaction",path:"/sign-transaction",component:Ch,meta:{title:"signTransaction",notPersist:!0}},{name:pe.gs,path:"/apps-browser",component:lA,meta:{title:"appsBrowser",hideHeader:!0,notPersist:!0}},{name:pe.GH,path:"/invite/:secretKey?",component:sl,props:!0,meta:{title:"invite",notPersist:!0}},{path:"/notifications",name:pe.J7,component:_m,meta:{title:"notifications",showHeaderNavigation:!0,notPersist:!0}},{name:pe.vl,path:"/:pathMatch(.*)*",component:zp,props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}}]),pA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},mA=(0,q.p7)({routes:dA,history:a.Pl?(0,q.PO)():(0,q.r5)(),scrollBehavior:function(e,t,n){return n||{left:0,top:0}}}),fA="last-path",vA=(0,oe.xe)({store:H.Z}),gA=vA.isLoggedIn,hA=vA.activeAccount,wA=vA.setActiveAccountByGlobalIdx,yA=vA.getLastActiveProtocolAccount,kA=(0,oe.M1)(),bA=kA.setPopupProps,CA=(0,oe.bl)(),AA=CA.setLoginTargetLocation;ce.t.init(mA);var xA=mA.beforeEach((function(e,t,n){return pA(void 0,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,g.mu)((function(){return H.Z.state.isRestored}));case 2:if(t.t0=n,t.t2=!a.KZ&&e.name===pe.dK,!t.t2){t.next=9;break}return t.next=7,null===browser||void 0===browser?void 0:browser.storage.local.get(fA);case 7:t.t3=fA,t.t2=t.sent[t.t3];case 9:if(t.t1=t.t2,t.t1){t.next=12;break}t.t1=void 0;case 12:t.t4=t.t1,(0,t.t0)(t.t4),xA();case 15:case"end":return t.stop()}}),t)})))}));mA.beforeEach((function(e,t,n){return pA(void 0,void 0,void 0,regeneratorRuntime.mark((function t(){var r,o,i,s,u,l,c,d,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(gA.value){t.next=3;break}return(null===(r=e.meta)||void 0===r?void 0:r.ifNotAuthOnly)||(null===(o=e.meta)||void 0===o?void 0:o.ifNotAuth)?n():(AA(e),n({name:pe.dK})),t.abrupt("return");case 3:if(e.name!==pe.gs){t.next=12;break}if(a.Ag||a._0){t.next=7;break}return n({name:pe.vl}),t.abrupt("return");case 7:if(hA.value.protocol===a.DJ){t.next=12;break}return s=yA(a.DJ),wA(null===s||void 0===s?void 0:s.globalIdx),n({name:pe.gs}),t.abrupt("return");case 12:if(u=(0,oe.cn)({store:H.Z}),l=u.isAeSdkReady,l.value||a.KZ||ue(),!a.KZ||e.name===pe.vl){t.next=28;break}if(d=(c={},(0,V.Z)(c,a.Zh,"connect"),(0,V.Z)(c,a.SW,"account-list"),(0,V.Z)(c,a.TS,"popup-sign-tx"),(0,V.Z)(c,a.NL,"popup-raw-sign"),(0,V.Z)(c,a.id,"message-sign"),(0,V.Z)(c,a.v1,"transaction-sign"),c)[a.Af],p={},Object.keys(e.params).length){t.next=24;break}return t.next=20,ee();case 20:if(p=t.sent,null===p||void 0===p?void 0:p.app){t.next=24;break}return n({name:pe.vl,params:{hideHomeButton:!0}}),t.abrupt("return");case 24:if(d===e.name){t.next=28;break}return bA(p),n({name:d}),t.abrupt("return");case 28:n((null===(i=e.meta)||void 0===i?void 0:i.ifNotAuthOnly)?{name:pe.I}:void 0);case 29:case"end":return t.stop()}}),t)})))})),mA.afterEach((function(e){return pA(void 0,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a.KZ){t.next=2;break}return t.abrupt("return");case 2:if(!(null===(n=e.meta)||void 0===n?void 0:n.notPersist)){t.next=7;break}return t.next=5,null===browser||void 0===browser?void 0:browser.storage.local.remove(fA);case 5:t.next=9;break;case 7:return t.next=9,null===browser||void 0===browser?void 0:browser.storage.local.set((0,V.Z)({},fA,e.path));case 9:case"end":return t.stop()}}),t)})))}));var _A=new Promise((function(e){return document.addEventListener("deviceready",e)})),DA=new Promise((function(e){var t=mA.afterEach((function(){e(!0),setTimeout(t)}))}));a.Ag&&function(){pA(void 0,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([_A,DA]);case 2:j.g.addListener("appUrlOpen",(function(e){var t=new URL(e.url),n=["superhero:",a.Bk].find((function(e){return t.origin===e}));if(!n)throw new Error("Unknown url: ".concat(t.origin));try{mA.push({path:t.pathname,hash:t.hash,query:Object.fromEntries(t.searchParams.entries())})}catch(r){if("NavigationDuplicated"!==r.name)throw r}})),mA.afterEach((function(e){"/"===e.path?document.body.classList.remove("color-bg-app"):document.body.classList.add("color-bg-app")}));case 4:case"end":return e.stop()}}),e)})))}();const TA=mA;var SA={class:"content-wrapper"},IA={class:"text-heading-1"},FA={class:"message"};function EA(e,t,n,a,r,o){var i=(0,B.up)("BtnSubheader"),s=(0,B.up)("Loader"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{class:"account-create-modal","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,B.w5)((function(){return[(0,B._)("div",SA,[(0,B._)("h1",IA,(0,me.zw)(e.isMultisig?e.$t("modals.createAccount.titleMultisig"):e.$t("modals.createAccount.titleAeternityAccount")),1),(0,B._)("p",FA,(0,me.zw)(e.isMultisig?e.$t("modals.createAccount.msgMultisig"):e.$t("modals.createAccount.msgAeternity")),1),e.isMultisig?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(i,{key:0,header:e.$t("pages.accounts.addAccount"),subheader:e.$t("modals.createAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[0]||(t[0]=function(t){return e.createPlainAccount()})},null,8,["header","subheader","icon","disabled"])),(0,B.Wm)(i,{header:e.$t("modals.createMultisigAccount.btnText"),subheader:e.$t("modals.createMultisigAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[1]||(t[1]=function(t){return e.createMultisigAccount()})},null,8,["header","subheader","icon","disabled"]),e.loading?((0,B.wg)(),(0,B.j4)(s,{key:1})):(0,B.kq)("",!0)])]})),_:1},8,["onClose"])}var RA=n(15401),BA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ZA=(0,B.aZ)({components:{Modal:ni.Z,BtnSubheader:Gs,Loader:RA.Z},props:{resolve:{type:Function,required:!0},isMultisig:Boolean},setup:function(e){var t=(0,p.oR)(),n=(0,oe.Rc)(),r=n.isOnline,o=(0,oe.ol)(),i=o.openModal,s=(0,Ze.iH)(!1);function u(){return BA(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s.value=!0,n.next=3,t.dispatch("accounts/hdWallet/create",{isRestored:!1,protocol:a.DJ});case 3:s.value=!1,e.resolve();case 5:case"end":return n.stop()}}),n)})))}function l(){return BA(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i(a.I7);case 2:e.resolve();case 3:case"end":return t.stop()}}),t)})))}return{PlusCircleIcon:ka.Z,isOnline:r,loading:s,createPlainAccount:u,createMultisigAccount:l}}}),UA=(0,qe.Z)(ZA,[["render",EA],["__scopeId","data-v-34ec1364"]]),PA=UA;var MA=["textContent"];function LA(e,t,n,a,r,o){var i=(0,B.up)("BtnSubheader"),s=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(s,{"from-bottom":"","has-close-button":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{default:(0,B.w5)((function(){return[(0,B._)("p",{class:"text-heading-1 text-center",textContent:(0,me.zw)(e.$t("pages.network.connectToNetwork"))},null,8,MA),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.defaultNetworks,(function(t){return(0,B.wg)(),(0,B.j4)(i,{key:t.type,header:t.name,subheader:t.name===e.activeNetwork.name?e.$t("pages.network.connectedTo",{name:t.name.toLowerCase()}):e.$t("pages.network.connectTo",{name:t.name.toLowerCase()}),icon:t.type===e.NETWORK_TYPE_MAINNET?e.GlobeIcon:e.GlobeCogIcon,selected:t.name===e.activeNetwork.name,"icon-size":"lg",onClick:function(n){return e.switchNetworkAndClose(t.name)}},null,8,["header","subheader","icon","selected","onClick"])})),128)),(0,B.Wm)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},icon:e.ThreeDotsIcon,header:e.$t("pages.network.moreNetworks"),subheader:e.$t("pages.network.viewAndManage"),onClick:t[0]||(t[0]=function(t){return e.resolve()})},null,8,["to","icon","header","subheader"])]})),_:1})}var OA={viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},NA=(0,B._)("path",{d:"M13.9997 25.0147C17.1794 25.0147 19.7759 20.316 19.7759 14.0168C19.7759 7.68332 17.1909 2.98465 13.9997 2.98465C10.8085 2.98465 8.22355 7.68332 8.22355 14.0168C8.22355 20.316 10.82 25.0147 13.9997 25.0147ZM13.9997 4.36796C16.2415 4.36796 18.2432 8.82655 18.2432 14.0168C18.2432 19.1156 16.2415 23.6199 13.9997 23.6199C11.7579 23.6199 9.75623 19.1156 9.75623 14.0168C9.75623 8.82655 11.7579 4.36796 13.9997 4.36796ZM13.2562 3.1447V24.7974H14.7546V3.1447H13.2562ZM13.9997 18.2925C10.4768 18.2925 7.35426 19.2185 5.75295 20.6933L6.90818 21.6422C8.41799 20.4418 10.8771 19.7901 13.9997 19.7901C17.1222 19.7901 19.5814 20.4418 21.0913 21.6422L22.2464 20.6933C20.6451 19.2185 17.5226 18.2925 13.9997 18.2925ZM24.5569 13.2394H3.44249V14.737H24.5569V13.2394ZM13.9997 9.75257C17.5226 9.75257 20.6451 8.82655 22.2464 7.35178L21.0913 6.40291C19.5814 7.59186 17.1222 8.25493 13.9997 8.25493C10.8771 8.25493 8.41799 7.59186 6.90818 6.40291L5.75295 7.35178C7.35426 8.82655 10.4768 9.75257 13.9997 9.75257ZM13.9997 25.6548C20.3821 25.6548 25.6663 20.3618 25.6663 13.9939C25.6663 7.61472 20.3707 2.33301 13.9883 2.33301C7.61733 2.33301 2.33301 7.61472 2.33301 13.9939C2.33301 20.3618 7.62877 25.6548 13.9997 25.6548ZM13.9997 24.1001C8.47518 24.1001 3.88857 19.5158 3.88857 13.9939C3.88857 8.47215 8.46374 3.8878 13.9883 3.8878C19.5128 3.8878 24.1108 8.47215 24.1108 13.9939C24.1108 19.5158 19.5242 24.1001 13.9997 24.1001Z",fill:"currentColor"},null,-1),WA=[NA];function HA(e,t){return(0,B.wg)(),(0,B.iD)("svg",OA,WA)}const VA={},jA=(0,qe.Z)(VA,[["render",HA]]),qA=jA;var zA={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},YA=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.44443 12.6372C7.31746 12.5659 7.18707 12.5 7.05355 12.4398C6.42706 12.1573 5.73189 12 5 12C4.41736 12 3.85799 12.0997 3.33802 12.2829C3.2064 12.3292 3.0773 12.381 2.95098 12.4378C2.63045 12.582 2.32786 12.7589 2.04747 12.9644C2.01608 12.6467 2 12.325 2 12C2 6.52942 6.52942 2 11.9902 2C17.4608 2 22 6.52942 22 12C22 17.4608 17.4706 22 12 22C10.5358 22 9.1378 21.6737 7.87583 21.0907C8.27342 20.8107 8.62836 20.4741 8.92896 20.0928C9.15487 20.1802 9.38514 20.2582 9.6193 20.3266C9.45828 20.1623 9.30268 19.9814 9.15313 19.7851C9.42815 19.3758 9.64427 18.9236 9.78933 18.4406C10.2477 19.2668 10.7872 19.8578 11.3628 20.1136V16.9815C10.8879 16.998 10.4329 17.0331 9.99927 17.0864C9.99975 17.0576 10 17.0288 10 17C10 16.5949 9.95183 16.2011 9.86091 15.824C10.3458 15.76 10.8481 15.7175 11.3628 15.6982V12.6372H8.37415C8.38297 12.8765 8.39684 13.1138 8.41551 13.3484C8.12262 13.0743 7.79672 12.835 7.44443 12.6372ZM14.3807 20.3266C15.6776 19.9482 16.8552 19.2702 17.8315 18.375C17.3354 18.029 16.7381 17.7434 16.0505 17.5222C15.616 18.6915 15.0444 19.6494 14.3807 20.3266ZM14.7715 17.2041C14.2284 18.6674 13.4754 19.7353 12.6471 20.1092V16.9818C13.4085 17.0087 14.1188 17.0836 14.7715 17.2041ZM15.1488 15.9933C14.3678 15.833 13.5255 15.732 12.6471 15.6986V12.6372H15.6259C15.5819 13.8307 15.4122 14.973 15.1488 15.9933ZM16.427 16.3258C17.3297 16.6154 18.1079 16.9948 18.7085 17.4461C19.8018 16.1071 20.5074 14.4433 20.6429 12.6372H16.9412C16.8985 13.9754 16.7178 15.2192 16.427 16.3258ZM16.9398 11.353H20.6421C20.5056 9.56517 19.8091 7.91715 18.7308 6.58608C18.129 7.04342 17.3458 7.42768 16.4355 7.72054C16.7183 8.81173 16.895 10.0359 16.9398 11.353ZM15.162 8.05305C14.3772 8.21491 13.5305 8.31691 12.6471 8.35051V11.353H15.6245C15.5791 10.1753 15.4151 9.0546 15.162 8.05305ZM14.7907 6.8387C14.1327 6.96233 13.416 7.03947 12.6471 7.06702V3.88953C13.4852 4.26474 14.2461 5.34605 14.7907 6.8387ZM16.0622 6.51889C16.7571 6.29375 17.3594 6.00368 17.8578 5.6542C16.8749 4.74544 15.6858 4.05736 14.3757 3.67462C15.0481 4.35789 15.6255 5.32966 16.0622 6.51889ZM9.6316 3.66727C8.3152 4.04793 7.12162 4.73746 6.13624 5.64997C6.6358 6.00135 7.2402 6.29284 7.93782 6.51889C8.37608 5.32539 8.95613 4.35091 9.6316 3.66727ZM9.20939 6.83871C9.75603 5.3402 10.5208 4.25627 11.3628 3.88515V7.06737C10.5901 7.04013 9.87016 6.96286 9.20939 6.83871ZM7.5645 7.72055C6.65179 7.42692 5.86682 7.04139 5.26447 6.58244C4.18819 7.91414 3.4938 9.56354 3.35785 11.353H7.06029C7.10503 10.0359 7.28172 8.81173 7.5645 7.72055ZM8.3756 11.353C8.42099 10.1753 8.58494 9.05461 8.8381 8.05305C9.62575 8.21551 10.4759 8.31767 11.3628 8.35088V11.353H8.3756Z",fill:"currentColor"},null,-1),$A=(0,B._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.22439 20.6613C4.26503 20.8713 4.43438 21 4.65114 21H5.34886C5.55885 21 5.7282 20.8713 5.76884 20.6613L5.96528 19.8484C6.10076 19.801 6.22947 19.7468 6.33785 19.6994L7.04911 20.1262C7.22523 20.2549 7.442 20.2278 7.59102 20.0787L8.07197 19.5978C8.221 19.442 8.25487 19.2185 8.11939 19.0423L7.69941 18.3378C7.7536 18.2227 7.80102 18.1008 7.84166 17.9721L8.6613 17.7824C8.8713 17.735 9 17.5724 9 17.3556V16.6715C9 16.4615 8.8713 16.2921 8.6613 16.2515L7.84843 16.055C7.80102 15.9128 7.74682 15.7841 7.69941 15.6825L8.13294 14.9712C8.25487 14.7883 8.24132 14.5783 8.08552 14.4225L7.59102 13.9416C7.43522 13.7993 7.25233 13.7722 7.06266 13.8806L6.33785 14.3209C6.22947 14.2667 6.10076 14.2125 5.96528 14.1651L5.76884 13.3455C5.7282 13.1355 5.55885 13 5.34886 13H4.65114C4.43438 13 4.26503 13.1355 4.22439 13.3522L4.02794 14.1583C3.89924 14.2058 3.76376 14.2599 3.6486 14.3141L2.93734 13.8806C2.74767 13.7722 2.558 13.7925 2.4022 13.9416L1.90771 14.4225C1.75191 14.5783 1.73836 14.7883 1.86029 14.9712L2.29382 15.6825C2.2464 15.7841 2.19221 15.9128 2.14479 16.055L1.3387 16.2515C1.12193 16.2921 1 16.4615 1 16.6715V17.3556C1 17.5724 1.12193 17.735 1.3387 17.7824L2.15157 17.9721C2.19221 18.1008 2.23963 18.2227 2.30059 18.3378L1.87384 19.0423C1.74513 19.2185 1.77223 19.442 1.92125 19.5978L2.4022 20.0787C2.558 20.2278 2.77477 20.2549 2.94412 20.1262L3.65538 19.6994C3.76376 19.7468 3.89924 19.801 4.02794 19.8484L4.22439 20.6613ZM6.3243 16.9966C6.3243 17.7214 5.7282 18.3243 4.99661 18.3243C4.2718 18.3243 3.6757 17.7214 3.6757 16.9966C3.6757 16.2786 4.2718 15.6825 4.99661 15.6825C5.7282 15.6825 6.3243 16.2786 6.3243 16.9966Z",fill:"currentColor"},null,-1),GA=[YA,$A];function KA(e,t){return(0,B.wg)(),(0,B.iD)("svg",zA,GA)}const JA={},QA=(0,qe.Z)(JA,[["render",KA]]),XA=QA,ex=(0,B.aZ)({components:{Modal:ni.Z,BtnSubheader:Gs},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,oe.e9)(),n=t.activeNetwork,r=t.defaultNetworks,o=t.customNetworks,i=t.switchNetwork;function s(t){t===n.value.name?e.resolve():(i(t),setTimeout((function(){return e.resolve()}),500))}return{ROUTE_NETWORK_SETTINGS:pe.wR,NETWORK_TYPE_MAINNET:a.sI,GlobeIcon:qA,GlobeCogIcon:XA,ThreeDotsIcon:EC,activeNetwork:n,defaultNetworks:r,customNetworks:o,switchNetworkAndClose:s}}}),tx=(0,qe.Z)(ex,[["render",LA]]),nx=tx;var ax={key:0,class:"top-icon-wrapper"},rx={class:"text-heading-2 text-center title"};function ox(e,t,n,a,r,o){var i=(0,B.up)("StatusIcon"),s=(0,B.up)("IconBoxed"),u=(0,B.up)("TemplateRenderer"),l=(0,B.up)("BtnMain"),c=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(c,(0,B.dG)({class:["default",{"text-center":e.textCenter}],"has-close-button":"","full-screen":e.fullScreen},(0,B.mx)({close:e.close||e.resolve})),{footer:(0,B.w5)((function(){return[(0,B.WI)(e.$slots,"footer",{},(function(){return[(0,B.Wm)(l,{class:(0,me.C_)({"center-button":e.textCenter}),onClick:e.resolve},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.buttonMessage||e.$t("common.ok")),1)]})),_:1},8,["class","onClick"])]}),!0)]})),default:(0,B.w5)((function(){return[e.icon?((0,B.wg)(),(0,B.iD)("div",ax,[(0,B.Wm)(s,null,{default:(0,B.w5)((function(){return[(0,B.Wm)(i,{status:e.icon,class:"status-icon"},null,8,["status"])]})),_:1})])):(0,B.kq)("",!0),(0,B._)("h2",rx,(0,me.zw)(e.title),1),(0,B.WI)(e.$slots,"msg",{},(function(){return[(0,B.Wm)(u,{str:e.msg},null,8,["str"])]}),!0),(0,B.WI)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class","full-screen"])}function ix(e,t,n,a,r,o){return e.icon?((0,B.wg)(),(0,B.j4)((0,B.LL)(e.icon),{key:0,class:(0,me.C_)(["status-icon",e.status]),onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},null,8,["class"])):(0,B.kq)("",!0)}var sx={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},ux=(0,B._)("circle",{opacity:"0.5",cx:"12",cy:"12",r:"10",fill:"currentColor"},null,-1),lx=(0,B._)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),cx=[ux,lx];function dx(e,t){return(0,B.wg)(),(0,B.iD)("svg",sx,cx)}const px={},mx=(0,qe.Z)(px,[["render",dx]]),fx=mx;var vx={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},gx=(0,B._)("g",null,[(0,B._)("path",{fill:"currentColor",d:"M37.1444 8.53067L5.53296 40.1421L8.86048 43.4696L40.4719 11.8582L37.1444 8.53067Z"}),(0,B._)("path",{fill:"currentColor",opacity:"0.44",d:"M19.7918 20.4706H16.9447V15.7648C16.9447 14.2589 17.4271 12.793 18.3188 11.5813C19.2106 10.3695 20.4671 9.47304 21.9047 9.02598C23.3423 8.57892 24.8835 8.60245 26.307 9.09186C27.4364 9.48245 28.4317 10.1577 29.227 11.0354L32.4247 7.83775L32.54 7.66598C31.4435 6.50363 30.1211 5.57658 28.6529 4.94599C27.1847 4.31541 25.6012 3.99305 24.0035 4.00011C20.8835 4.00482 17.8953 5.24482 15.6883 7.44951C13.4836 9.65656 12.2436 12.6448 12.2389 15.7648V20.4706H9.88592C8.63886 20.4706 7.44122 20.9671 6.55887 21.8495C5.67652 22.7318 5.18005 23.9295 5.18005 25.1765V35.0824L19.7918 20.4706Z"}),(0,B._)("path",{fill:"currentColor",opacity:"0.44",d:"M38.1211 20.4707H37.5917L14.0624 44H38.1211C39.3682 44 40.5658 43.5036 41.4482 42.6212C42.3305 41.7389 42.827 40.5436 42.827 39.2942V25.1766C42.827 23.9295 42.3305 22.7319 41.4482 21.8495C40.5658 20.9672 39.3682 20.4707 38.1211 20.4707Z"})],-1),hx=[gx];function wx(e,t){return(0,B.wg)(),(0,B.iD)("svg",vx,hx)}const yx={},kx=(0,qe.Z)(yx,[["render",wx]]),bx=kx,Cx=(0,B.aZ)({props:{status:{type:String,required:!0,validator:function(e){return a.MG.includes(e)}}},setup:function(e){var t={critical:fn,alert:Gg,warning:yi.Z,info:fx,success:Ng,"not-secure":bx,help:qA},n=(0,B.Fl)((function(){return t[e.status]}));return{icon:n}}}),Ax=(0,qe.Z)(Cx,[["render",ix],["__scopeId","data-v-6ee6fe2e"]]),xx=Ax;n(91038);var _x=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return n.childNodes.length?Array.from(n.childNodes).filter((function(e){return[Node.ELEMENT_NODE,Node.TEXT_NODE].includes(e.nodeType)})).map((function(n){switch(n.tagName){case"strong":return t("strong",e(t,n));case"a":return t("a",(0,Ri.Z)({},a),e(t,n));case"br":return t("br");default:return n.textContent}})):n.textContent};const Dx=(0,B.aZ)({name:"TemplateRenderer",props:{str:{type:String,required:!0},option:{type:Object,default:null}},setup:function(e,t){var n=t.attrs;return function(){return(0,B.h)("span",{class:n["class"]},_x(B.h,(new DOMParser).parseFromString("".concat(e.str||"",""),"text/xml").childNodes[0],e.option))}}}),Tx=Dx,Sx=Tx;var Ix={class:"icon-boxed"};function Fx(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("div",Ix,[(0,B.WI)(e.$slots,"default",{},(function(){return[((0,B.wg)(),(0,B.j4)((0,B.LL)(e.icon),{class:"icon"}))]}))])}const Ex=(0,B.aZ)({props:{icon:{type:Object,default:null}}}),Rx=(0,qe.Z)(Ex,[["render",Fx]]),Bx=Rx,Zx=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z,TemplateRenderer:Sx,StatusIcon:xx,IconBoxed:Bx},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},buttonMessage:{type:String,default:""},textCenter:Boolean,fullScreen:Boolean}}),Ux=(0,qe.Z)(Zx,[["render",ox],["__scopeId","data-v-0b41fe35"]]),Px=Ux;var Mx={class:"content-wrapper"},Lx={class:"text-heading-1"},Ox={class:"message"};function Nx(e,t,n,a,r,o){var i=(0,B.up)("BtnSubheader"),s=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(s,{class:"account-create","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,B.w5)((function(){return[(0,B._)("div",Mx,[(0,B._)("h2",Lx,(0,me.zw)(e.$t("modals.createAccount.title")),1),(0,B._)("p",Ox,(0,me.zw)(e.$t("modals.createAccount.msg")),1),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.PROTOCOLS,(function(t){return(0,B.wg)(),(0,B.j4)(i,{key:t,header:e.getProtocolName(t),subheader:e.$t("modals.createAccount.addProtocolAccount",{name:e.getProtocolName(t)}),"protocol-icon":t,onClick:function(n){return e.createAccount(t)}},null,8,["header","subheader","protocol-icon","onClick"])})),128))])]})),_:1},8,["onClose"])}var Wx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Hx=(0,B.aZ)({components:{Modal:ni.Z,BtnSubheader:Gs},props:{resolve:{type:Function,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,oe.Rc)(),o=n.isOnline,i=(0,oe.ol)(),s=i.openModal,u=(0,oe.bl)(),l=u.setLoaderVisible;function c(n){return Wx(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:l(!0),r.t0=n,r.next=r.t0===a.DJ?4:r.t0===a.ou?7:10;break;case 4:return r.next=6,s(a.a5);case 6:return r.abrupt("break",10);case 7:return r.next=9,t.dispatch("accounts/hdWallet/create",{isRestored:!1,protocol:a.ou});case 9:return r.abrupt("break",10);case 10:l(!1),e.resolve();case 12:case"end":return r.stop()}}),r)})))}function d(e){return r.l.getAdapter(e).protocolName}return(0,B.bv)((function(){l(!1)})),{PROTOCOLS:a.UM,PROTOCOL_AETERNITY:a.DJ,PROTOCOL_BITCOIN:a.ou,isOnline:o,createAccount:c,getProtocolName:d}}}),Vx=(0,qe.Z)(Hx,[["render",Nx],["__scopeId","data-v-37748331"]]),jx=Vx;var qx={class:"import-account"},zx={class:"header"},Yx={class:"regular-text"};function $x(e,t,n,a,r,o){var i=(0,B.up)("QrScanIcon"),s=(0,B.up)("FormTextarea"),u=(0,B.up)("BtnMain"),l=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(l,{class:"import-account-modal","from-bottom":"","has-close-button":"",onClose:e.resolve},{footer:(0,B.w5)((function(){return[(0,B.Wm)(u,{disabled:!e.mnemonic||!!e.error,"data-cy":"import",class:"import-button",extend:"",center:"",onClick:e.importAccount},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.index.importAccount")),1)]})),_:1},8,["disabled","onClick"])]})),default:(0,B.w5)((function(){return[(0,B._)("div",qx,[(0,B._)("span",zx,(0,me.zw)(e.$t("pages.index.importWallet")),1),(0,B._)("p",Yx,(0,me.zw)(e.$t("pages.index.enterSeedPhrase")),1),(0,B.Wm)(s,{modelValue:e.mnemonic,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.mnemonic=t}),size:"xs",label:e.$t("pages.index.seedPhrase"),placeholder:e.$t("pages.index.seedPlaceHolder"),message:e.error,resizable:!1,"enter-submit":"",onSubmit:e.importAccount},{"label-after":(0,B.w5)((function(){return[(0,B._)("a",{class:"scan-button","data-cy":"scan-button",onClick:t[0]||(t[0]=function(){return e.openScanQrModal&&e.openScanQrModal.apply(e,arguments)})},[(0,B.Wm)(i)])]})),_:1},8,["modelValue","label","placeholder","message","onSubmit"])])]})),_:1},8,["onClose"])}n(73210);var Gx=n(39702),Kx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Jx=(0,B.aZ)({components:{BtnMain:yn.Z,Modal:ni.Z,FormTextarea:Bi.Z,QrScanIcon:Gx.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,Qt.tv)(),r=(0,no.QT)(),o=r.t,i=(0,oe.ol)(),s=i.openModal,u=(0,oe.bl)(),l=u.loginTargetLocation,c=(0,Ze.iH)(""),d=(0,Ze.iH)("");function m(){return Kx(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,i=this;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=c.value.toLowerCase().replace(/\s+/g," ").replace(/[^a-z ]/g,"").trim(),(0,g.Bo)(r)){a.next=4;break}return d.value=o("pages.index.invalidSeed"),a.abrupt("return");case 4:if(r&&(0,Fs.validateMnemonic)(r)){a.next=7;break}return d.value=o("pages.index.accountNotFound"),a.abrupt("return");case 7:t.commit("setMnemonic",r),t.commit("setBackedUpSeed"),e.resolve(),setTimeout((function(){return Kx(i,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.dispatch("accounts/hdWallet/discover");case 1:case"end":return e.stop()}}),e)})))}),100),n.push(l.value);case 12:case"end":return a.stop()}}),a)})))}function f(){return Kx(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s(a.U0,{title:o("pages.index.scanSeedPhrase"),icon:"critical"});case 2:t=e.sent,t&&(c.value=t);case 4:case"end":return e.stop()}}),e)})))}return(0,B.YP)(c,(function(){d.value=""})),{mnemonic:c,error:d,importAccount:m,openScanQrModal:f}}}),Qx=(0,qe.Z)(Jx,[["render",$x],["__scopeId","data-v-6ba70527"]]),Xx=Qx;function e_(e,t,n,a,r,o){var i=(0,B.up)("FormSelectOptionsHeader"),s=(0,B.up)("AccountSelectOptionsItem"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{class:"account-select-options","has-close-button":"","no-padding":"","from-bottom":"","full-screen":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,B.w5)((function(){return[(0,B.Wm)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length,"search-placeholder":e.$t("pages.accounts.searchAccountsPlaceholder")},null,8,["modelValue","title","options-length","search-placeholder"])]})),default:(0,B.w5)((function(){return[(0,B._)("div",null,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.optionsFiltered,(function(t,n){return(0,B.wg)(),(0,B.j4)(s,{key:n,account:t,value:e.value,onClick:function(n){return e.resolve(t.address)}},null,8,["account","value","onClick"])})),128))])]})),_:1})}function t_(e,t,n,a,r,o){var i=(0,B.up)("AccountInfo"),s=(0,B.up)("TokenAmount"),u=(0,B.up)("BtnPlain");return(0,B.wg)(),(0,B.j4)(u,{class:"account-select-options-item",style:(0,me.j5)(e.bgColorStyle),onClick:t[0]||(t[0]=(0,N.iM)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,B.w5)((function(){return[(0,B._)("div",{class:(0,me.C_)(["option-wrapper",{selected:e.account.address===e.value}])},[(0,B.Wm)(i,{address:e.account.address,name:e.account.name,idx:e.account.idx,protocol:e.account.protocol,"avatar-size":"rg","avatar-borderless":"","is-list-name":"",class:"account-info"},null,8,["address","name","idx","protocol"]),(0,B.Wm)(s,{amount:e.balance,symbol:e.tokenSymbol,protocol:e.account.protocol,"fiat-below":"",class:"token-amount",small:""},null,8,["amount","symbol","protocol"])],2)]})),_:1},8,["style"])}const n_=(0,B.aZ)({components:{TokenAmount:oi.Z,AccountInfo:bt.Z,BtnPlain:_a.Z},props:{account:{type:Object,default:function(){}},value:{type:[String,Number],default:null}},setup:function(e){var t=(0,p.oR)(),n=(0,oe.ln)({store:t}),a=n.getAccountBalance,o=(0,B.Fl)((function(){return{"--bg-color":(0,g.BR)(e.account.address)}})),i=(0,B.Fl)((function(){var t;return(null===(t=e.account)||void 0===t?void 0:t.address)?a(e.account.address).toNumber():0})),s=(0,B.Fl)((function(){return r.l.getAdapter(e.account.protocol).getCoinSymbol(!0)}));return{balance:i,bgColorStyle:o,tokenSymbol:s,AE_SYMBOL:h.WJ}}}),a_=(0,qe.Z)(n_,[["render",t_],["__scopeId","data-v-2a76cd77"]]),r_=a_;var o_={class:"form-select-options-header"},i_={class:"text-heading-3 text-muted title"};function s_(e,t,n,a,r,o){var i=(0,B.up)("InputSearch");return(0,B.wg)(),(0,B.iD)("div",o_,[(0,B._)("span",i_,(0,me.zw)(e.title),1),e.optionsLength>e.SHOW_SEARCH_THRESHOLD?((0,B.wg)(),(0,B.j4)(i,{key:0,value:e.value,placeholder:e.searchPlaceholder||e.$t("common.search"),class:"search-field","onUpdate:modelValue":e.filterOptions},null,8,["value","placeholder","onUpdate:modelValue"])):(0,B.kq)("",!0)])}var u_=n(85619),l_=3;const c_=(0,B.aZ)({components:{InputSearch:u_.Z},props:{value:{type:String,default:""},title:{type:String,default:""},optionsLength:{type:Number,default:0},searchPlaceholder:{type:String,default:""}},setup:function(e,t){var n=t.emit;function a(e){n("update:modelValue",e?e.toLowerCase():"")}return{filterOptions:a,SHOW_SEARCH_THRESHOLD:l_}}}),d_=(0,qe.Z)(c_,[["render",s_],["__scopeId","data-v-25410311"]]),p_=d_,m_=(0,B.aZ)({components:{FormSelectOptionsHeader:p_,AccountSelectOptionsItem:r_,Modal:ni.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,Ze.iH)(""),n=(0,B.Fl)((function(){return e.options.filter((function(e){var n=e.text,a=e.value;return n.toLowerCase().includes(t.value)||a.toString().includes(t.value)}))}));return{searchPhrase:t,optionsFiltered:n}}}),f_=(0,qe.Z)(m_,[["render",e_]]),v_=f_;var g_={class:"claimed"};function h_(e,t,n,a,r,o){var i=(0,B.up)("CheckIcon"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{"has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{onClick:e.resolve},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),default:(0,B.w5)((function(){return[(0,B.Wm)(i,{class:"check-icon"}),(0,B._)("span",null,[(0,B._)("b",null,(0,me.zw)(e.$t("pages.claim.url"))+":",1),(0,B.Uk)(" "+(0,me.zw)(e.url),1)]),(0,B._)("span",null,[(0,B._)("b",null,(0,me.zw)(e.$t("pages.claim.tipsOnUrl"))+":",1),(0,B.Uk)(" "+(0,me.zw)(e.claimAmount)+" "+(0,me.zw)(e.$t("pages.claim.ae")),1)]),(0,B._)("span",g_,(0,me.zw)(e.$t("pages.claim.claimed")),1)]})),_:1},8,["onClose"])}var w_={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",class:"icon"},y_=(0,B.uE)('',1),k_=[y_];function b_(e,t){return(0,B.wg)(),(0,B.iD)("svg",w_,k_)}const C_={},A_=(0,qe.Z)(C_,[["render",b_]]),x_=A_,__=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z,CheckIcon:x_},props:{resolve:{type:Function,required:!0},url:{type:String,required:!0},claimAmount:{type:Number,required:!0}}}),D_=(0,qe.Z)(__,[["render",h_],["__scopeId","data-v-0e52278e"]]),T_=D_;function S_(e,t,n,a,r,o){var i=(0,B.up)("TemplateRenderer"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Default");return(0,B.wg)(),(0,B.j4)(u,(0,B.dG)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{close:e.cancel}),{msg:(0,B.w5)((function(){return[(0,B.Wm)(i,{str:e.msg},null,8,["str"])]})),footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,B.Wm)(s,{"data-cy":"to-confirm",text:e.$t("common.confirm"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["close"])}const I_=(0,B.aZ)({components:{Default:Px,TemplateRenderer:Sx,BtnMain:yn.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},msg:{type:String,default:""}},setup:function(e){function t(){e.reject(new zt.x)}return{cancel:t}}}),F_=(0,qe.Z)(I_,[["render",S_]]),E_=F_;var R_={class:"text-heading-2 text-center"},B_={class:"error-msg"};function Z_(e,t,n,a,r,o){var i=(0,B.up)("BtnMain"),s=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(s,{"has-close-button":"",onClose:e.resolve},{footer:(0,B.w5)((function(){return[(0,B.Wm)(i,{variant:"muted",onClick:e.cancel},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.cancel")),1)]})),_:1},8,["onClick"]),(0,B.Wm)(i,{onClick:e.createReport},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("modals.error-log.create-report")),1)]})),_:1},8,["onClick"])]})),default:(0,B.w5)((function(){return[(0,B._)("h2",R_,(0,me.zw)(e.$t("modals.error-log.title")),1),(0,B._)("div",B_,(0,me.zw)(e.messageTruncated)+"... ",1),(0,B._)("div",null,[(0,B._)("span",null,(0,me.zw)(e.$t("modals.error-log.sub-title")),1),(0,B.Uk)(" "+(0,me.zw)(e.$t("modals.error-log.content")),1)])]})),_:1},8,["onClose"])}n(83650);const U_=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},entry:{type:Object,required:!0}},setup:function(e){var t=(0,Qt.tv)(),n=(0,B.Fl)((function(){var t=e.entry.error.message,n=void 0===t?"":t;return n.substr(0,150)}));function a(){e.reject(new zt.x)}function r(){e.resolve(!0),t.push({name:pe.Li,params:{entry:e.entry}})}return{messageTruncated:n,cancel:a,createReport:r}}}),P_=(0,qe.Z)(U_,[["render",Z_],["__scopeId","data-v-56780574"]]),M_=P_;function L_(e,t,n,a,r,o){var i=(0,B.up)("FormSelectOptionsHeader"),s=(0,B.up)("FormSelectOptionsItem"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{class:"form-select-options","from-bottom":"","has-close-button":"","no-padding":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,B.w5)((function(){return[(0,B.Wm)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length},null,8,["modelValue","title","options-length"])]})),default:(0,B.w5)((function(){return[(0,B._)("div",null,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.optionsFiltered,(function(t,n){return(0,B.wg)(),(0,B.j4)(s,{key:n,option:t,onClick:function(n){return e.resolve(t.value)}},null,8,["option","onClick"])})),128))])]})),_:1})}var O_={class:"option-wrapper"};function N_(e,t,n,a,r,o){var i=(0,B.up)("Avatar"),s=(0,B.up)("ListItemWrapper");return(0,B.wg)(),(0,B.j4)(s,{class:"form-select-options-item",selected:e.option.value===e.value,onClick:t[0]||(t[0]=(0,N.iM)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,B.w5)((function(){return[(0,B._)("div",O_,[e.option.address?((0,B.wg)(),(0,B.j4)(i,{key:0,address:e.option.address,size:"sm"},null,8,["address"])):(0,B.kq)("",!0),(0,B.Uk)(" "+(0,me.zw)(e.option.text),1)])]})),_:1},8,["selected"])}const W_=(0,B.aZ)({components:{ListItemWrapper:Ac.Z,Avatar:Po.Z},props:{option:{type:Object,default:function(){}},value:{type:[String,Number],default:null}}}),H_=(0,qe.Z)(W_,[["render",N_],["__scopeId","data-v-583e6b6c"]]),V_=H_,j_=(0,B.aZ)({components:{FormSelectOptionsHeader:p_,FormSelectOptionsItem:V_,Modal:ni.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,Ze.iH)(""),n=(0,B.Fl)((function(){return e.options.filter((function(e){var n=e.text,a=e.value;return n.toLowerCase().includes(t.value)||a.toString().includes(t.value)}))}));return{searchPhrase:t,optionsFiltered:n}}}),q_=(0,qe.Z)(j_,[["render",L_]]),z_=q_;var Y_={class:"top-icon-wrapper"},$_=["textContent"],G_=["textContent"],K_={class:"camera"},J_={class:"video-loader"},Q_={ref:"qrCodeVideoEl",class:"video"};function X_(e,t,n,a,r,o){var i=(0,B.up)("IconBoxed"),s=(0,B.up)("AnimatedSpinnerIcon"),u=(0,B.up)("BtnMain"),l=(0,B.up)("Modal");return e.browserReader||!e.cameraAllowed?((0,B.wg)(),(0,B.j4)(l,{key:0,class:"qr-code-reader","has-close-button":"",centered:"","from-bottom":"",onClose:e.cancelReading},(0,B.Nv)({default:(0,B.w5)((function(){return[(0,B._)("div",Y_,[(0,B.Wm)(i,{icon:e.QrScanIcon},null,8,["icon"])]),e.heading?((0,B.wg)(),(0,B.iD)("div",{key:0,class:"heading",textContent:(0,me.zw)(e.heading)},null,8,$_)):(0,B.kq)("",!0),(0,B._)("div",{class:"subtitle",textContent:(0,me.zw)(e.cameraAllowed?e.title:e.$t("modals.qrCodeReader.subtitle"))},null,8,G_),(0,B._)("div",K_,[(0,B._)("span",J_,[(0,B.Wm)(s,{class:"spinner"})]),(0,B.wy)((0,B._)("div",null,[(0,B._)("video",Q_,null,512)],512),[[N.F8,e.cameraAllowed]])])]})),_:2},[e.IS_MOBILE_APP?{name:"footer",fn:(0,B.w5)((function(){return[(0,B.Wm)(u,{text:e.$t("modals.qrCodeReader.settings"),onClick:e.openSettings},null,8,["text","onClick"])]})),key:"0"}:void 0]),1032,["onClose"])):(0,B.kq)("",!0)}var eD=n(86693),tD=n(96826),nD=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},aD="scanner-active";const rD=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z,IconBoxed:Bx,AnimatedSpinnerIcon:br.Z},props:{title:{type:String,required:!0},resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=this,r=(0,Ze.iH)(a.Ag?"granted":"denied"),o=(0,Ze.iH)(),i=(0,Ze.iH)(),s=(0,Ze.iH)(),u=(0,Qt.yj)(),l=(0,no.QT)(),c=l.t,d=(0,oe.bl)(),p=d.setQrScanner,m=(0,B.Fl)((function(){return"granted"===r.value})),f=(0,B.Fl)((function(){return"granted"===r.value?c("modals.qrCodeReader.scanQr"):c("modals.qrCodeReader.grantPermission")}));function v(){return nD(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.e(998).then(n.bind(n,71076));case 2:t=e.sent,a=t.BrowserQRCodeReader,o.value=new a;case 5:case"end":return e.stop()}}),e)})))}function h(){var e,t;a.Ag?(null===(e=document.querySelector("body"))||void 0===e||e.classList.remove(aD),eD.mR.showBackground(),p(!1),eD.mR.stopScan()):null===(t=i.value)||void 0===t||t.stop()}function w(){var e;return nD(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a.Ag){t.next=12;break}return p(!0),null===(e=document.querySelector("body"))||void 0===e||e.classList.add(aD),t.next=5,eD.mR.hideBackground();case 5:return setTimeout((function(){var e;null===(e=document.querySelector("#camera-close-btn"))||void 0===e||e.addEventListener("click",h)}),500),t.next=8,eD.mR.startScan();case 8:if(n=t.sent,!n.hasContent){t.next=11;break}return t.abrupt("return",n.content);case 11:return t.abrupt("return",new Error("No content"));case 12:return t.abrupt("return",new Promise((function(e){var t;null===(t=o.value)||void 0===t||t.decodeFromVideoDevice(void 0,s.value,(function(t,n,a){i.value=a,t&&(null===a||void 0===a||a.stop(),e(t.getText()))}))["catch"]((function(e){"NotAllowedError"!==e.name?(0,g.ac)(e):r.value="denied"}))})));case 13:case"end":return t.stop()}}),t)})))}function y(){return nD(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,tD.V1.checkPermissions();case 2:if(t=e.sent,"granted"!==t.camera){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,tD.V1.requestPermissions({permissions:["camera"]});case 7:if(n=e.sent,"granted"!==n.camera){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})))}function k(){h(),e.reject(new zt.x)}function b(){eD.mR.openAppSettings()}function C(){a.FH&&navigator.mediaDevices.getUserMedia({video:!0}).then((function(){r.value="granted"}))["catch"]((function(){(0,g.oL)(browser.extension.getURL("./CameraRequestPermission.html")),e.reject(new zt.d)}))}return(0,B.YP)(r,(function(n){return nD(t,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("denied"!==n){t.next=3;break}return h(),t.abrupt("return");case 3:return a.FH&&"prompt"===n&&C(),t.prev=4,t.t0=e,t.next=8,w();case 8:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=25;break;case 12:if(t.prev=12,t.t2=t["catch"](4),"NotAllowedError"!==t.t2.name){t.next=24;break}return t.prev=15,t.next=18,new Promise((function(e,t){var n;a.FH&&(C(),t()),(null===(n=navigator.mediaDevices)||void 0===n?void 0:n.getUserMedia)?navigator.mediaDevices.getUserMedia({video:!0}).then(e,t):t(new Error("Sorry, your browser does not support getUserMedia"))}));case 18:t.next=23;break;case 20:t.prev=20,t.t3=t["catch"](15),r.value="denied";case 23:return t.abrupt("return");case 24:(0,g.ac)(t.t2);case 25:case"end":return t.stop()}}),t,null,[[4,12],[15,20]])})))})),(0,B.YP)((function(){return u.fullPath}),(function(){e.resolve()})),(0,B.bv)((function(){return nD(t,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a.Ag){t.next=17;break}return t.next=3,y();case 3:if(!t.sent){t.next=9;break}return r.value="granted",t.next=7,eD.mR.prepare();case 7:t.next=11;break;case 9:return r.value="denied",t.abrupt("return");case 11:return t.t0=e,t.next=14,w();case 14:return t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.abrupt("return");case 17:return t.next=19,v();case 19:if(t.t2=navigator.permissions,!t.t2){t.next=24;break}return t.next=23,navigator.permissions.query({name:"camera"})["catch"]((function(e){var t="'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.";return e.message!==t&&(0,g.ac)(e),null}));case 23:t.t2=t.sent;case 24:if(n=t.t2,!n){t.next=29;break}return r.value=n.state,n.onchange=function(){r.value=n.state},t.abrupt("return");case 29:r.value=a.FH?"prompt":"granted";case 30:case"end":return t.stop()}}),t)})))})),(0,B.Jd)((function(){h()})),{cameraAllowed:m,browserReader:o,IS_MOBILE_APP:a.Ag,heading:f,QrScanIcon:Gx.Z,cancelReading:k,openSettings:b,qrCodeVideoEl:s}}}),oD=(0,qe.Z)(rD,[["render",X_],["__scopeId","data-v-dd846234"]]),iD=oD;function sD(e,t,n,a,r,o){var i=(0,B.up)("TemplateRenderer"),s=(0,B.up)("Default");return(0,B.wg)(),(0,B.j4)(s,(0,B.dG)(e.$attrs,{icon:n.icon||"info"}),{msg:(0,B.w5)((function(){return[(0,B.Wm)(i,{str:n.msg,option:n.option},null,8,["str","option"])]})),_:1},16,["icon"])}const uD={components:{Default:Px,TemplateRenderer:Sx},props:{msg:{type:String,default:""},option:{type:Object,default:null},icon:{type:String,default:null}}},lD=(0,qe.Z)(uD,[["render",sD]]),cD=lD;var dD=["textContent"];function pD(e,t,n,a,r,o){var i=(0,B.up)("InputSearch"),s=(0,B.up)("Loader"),u=(0,B.up)("TokensListItem"),l=(0,B.up)("BackToTop"),c=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(c,{"full-screen":"","from-bottom":"","has-close-button":"","no-padding":"",class:"asset-selector",onClose:t[1]||(t[1]=function(t){return e.reject()}),onOpen:e.onModalOpen},{header:(0,B.w5)((function(){return[(0,B._)("span",{class:"text-heading-3 text-muted title",textContent:(0,me.zw)(e.$t("pages.fungible-tokens.select-asset"))},null,8,dD),(0,B.Wm)(i,{modelValue:e.searchTerm,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchTerm=t}),class:"search-bar",placeholder:e.$t("pages.fungible-tokens.searchAssetsPlaceholder")},null,8,["modelValue","placeholder"])]})),default:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:(0,me.C_)(["appearing-element",{visible:e.loading}])},null,8,["class"]),(0,B.wy)((0,B._)("div",{class:(0,me.C_)(["appearing-element",{visible:!e.loading}])},[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.filteredTokens,(function(t){return(0,B.wg)(),(0,B.j4)(u,{key:t.contractId||t.id,"token-data":t,selected:e.isTokenSelected(t),"show-current-price":"","prevent-navigation":"",onClick:function(n){return e.resolve(t)}},null,8,["token-data","selected","onClick"])})),128))],2),[[N.F8,e.isFullyOpen]]),(0,B.Wm)(l)]})),_:1},8,["onOpen"])}var mD=n(86017);function fD(e,t,n,a,r,o){var i=(0,B.up)("Chevron"),s=(0,B.up)("BtnPlain");return r.isVisible?((0,B.wg)(),(0,B.j4)(s,{key:0,class:"back-to-top",onClick:o.scrollTop},{default:(0,B.w5)((function(){return[(0,B.Wm)(i)]})),_:1},8,["onClick"])):(0,B.kq)("",!0)}const vD={components:{BtnPlain:_a.Z,Chevron:Ra},data:function(){return{isVisible:!1}},mounted:function(){var e;null!==(e=this.$el)&&void 0!==e&&e.parentNode&&this.$el.parentNode.addEventListener("scroll",this.handleVisibility)},beforeUnmount:function(){var e;null!==(e=this.$el)&&void 0!==e&&e.parentNode&&this.$el.parentNode.removeEventListener("scroll",this.handleVisibility)},methods:{handleVisibility:function(){var e,t=null===(e=this.$el)||void 0===e?void 0:e.parentNode;t&&(this.isVisible=t.scrollTop>0)},scrollTop:function(){var e=this.$el.parentNode;e.scrollTo({top:0,behavior:"smooth"})}}},gD=(0,qe.Z)(vD,[["render",fD],["__scopeId","data-v-12577589"]]),hD=gD;var wD=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yD=(0,B.aZ)({name:"AssetSelector",components:{BackToTop:hD,TokensListItem:mD.Z,Modal:ni.Z,InputSearch:u_.Z,Loader:RA.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},selectedToken:{type:Object,default:null},showTokensWithBalance:Boolean},setup:function(e){var t=(0,p.oR)(),n=(0,Ze.iH)(!0),a=(0,Ze.iH)(""),r=(0,Ze.iH)(!1),o=(0,oe.sY)({store:t,searchTerm:a,withBalanceOnly:e.showTokensWithBalance}),i=o.filteredTokens;function s(t){return!!e.selectedToken&&e.selectedToken.contractId===t.contractId}function u(){return wD(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,B.Y3)();case 2:r.value=!0,setTimeout((function(){n.value=!1}),250);case 4:case"end":return e.stop()}}),e)})))}return{loading:n,searchTerm:a,isFullyOpen:r,filteredTokens:i,isTokenSelected:s,onModalOpen:u}}}),kD=(0,qe.Z)(yD,[["render",pD],["__scopeId","data-v-26e13b95"]]),bD=kD;var CD={class:"icon-wrapper"},AD={class:"info"},xD={class:"title"},_D={class:"text"};function DD(e,t,n,a,r,o){var i=(0,B.up)("IconBoxed"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{class:"reset-wallet","from-bottom":"","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{variant:"muted",onClick:e.reject},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.cancel")),1)]})),_:1},8,["onClick"]),(0,B.Wm)(s,{variant:"danger",onClick:e.onReset},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("pages.resetWallet.reset")),1)]})),_:1},8,["onClick"])]})),default:(0,B.w5)((function(){return[(0,B._)("div",CD,[(0,B.Wm)(i,{icon:e.ResetWalletIcon},null,8,["icon"])]),(0,B._)("div",AD,[(0,B._)("h3",xD,(0,me.zw)(e.$t("pages.resetWallet.title"))+"? ",1),(0,B._)("div",_D,[(0,B._)("span",null,(0,me.zw)(e.$t("pages.resetWallet.warning")),1),(0,B._)("span",null,(0,me.zw)(e.$t("pages.resetWallet.warningConfirm")),1)])])]})),_:1},8,["onClose"])}var TD=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const SD=(0,B.aZ)({components:{Modal:ni.Z,BtnMain:yn.Z,IconBoxed:Bx},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,rn.I0)("reset");function n(){return TD(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.resolve();case 2:return n.next=4,t();case 4:case"end":return n.stop()}}),n)})))}return{ResetWalletIcon:Gk,onReset:n}}}),ID=(0,qe.Z)(SD,[["render",DD],["__scopeId","data-v-0ccd3544"]]),FD=ID;var ED={class:"msg"},RD={key:0},BD={class:"help"},ZD=["href"];function UD(e,t,n,a,r,o){var i=(0,B.up)("BtnMain"),s=(0,B.up)("Default");return(0,B.wg)(),(0,B.j4)(s,(0,B.dG)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:e.icon,title:e.title,close:e.resolve}),{msg:(0,B.w5)((function(){return[(0,B._)("div",ED,[(0,B.Uk)((0,me.zw)(e.msg)+" ",1),e.UNFINISHED_FEATURES?((0,B.wg)(),(0,B.iD)("p",RD,[(0,B._)("section",BD,[(0,B.Uk)((0,me.zw)(e.$t("modals.readMore.msg"))+" ",1),(0,B._)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,me.zw)(e.$t("modals.readMore.linkTitle")),9,ZD)])])):(0,B.kq)("",!0)])]})),footer:(0,B.w5)((function(){return[(0,B.Wm)(i,{class:"footer",onClick:e.resolve},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["icon","title","close"])}const PD=(0,B.aZ)({components:{Default:Px,BtnMain:yn.Z},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},type:{type:String,default:""},icon:{type:String,default:""}},setup:function(){return{AE_BLOG_CLAIM_TIP_URL:h.yl,UNFINISHED_FEATURES:a._0}}}),MD=(0,qe.Z)(PD,[["render",UD],["__scopeId","data-v-3ffbff84"]]),LD=MD;var OD={class:"msg"},ND={class:"sub-header"},WD={key:0,class:"title"},HD={key:0},VD={class:"title"},jD={key:1},qD=["href"];function zD(e,t,n,a,r,o){var i=(0,B.up)("i18n-t"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Default");return(0,B.wg)(),(0,B.j4)(u,(0,B.dG)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"help",title:e.$t("modals.recipient.title"),close:e.resolve,"full-screen":""}),{msg:(0,B.w5)((function(){return[(0,B._)("div",OD,[(0,B._)("span",ND,(0,me.zw)(e.isProtocolAe?e.$t("modals.recipient.ae-sub-header"):e.$t("modals.recipient.sub-header",{protocolName:e.protocolName})),1),(0,B._)("p",{class:(0,me.C_)({capitalize:!e.isProtocolAe})},[(0,B.Wm)(i,{keypath:"modals.recipient.msg.publicAddress.msg",tag:"div",scope:"global"},{default:(0,B.w5)((function(){return[e.isProtocolAe?((0,B.wg)(),(0,B.iD)("strong",WD,(0,me.zw)(e.$t("modals.recipient.msg.publicAddress.title")),1)):(0,B.kq)("",!0)]})),_:1})],2),e.isProtocolAe?((0,B.wg)(),(0,B.iD)("p",HD,[(0,B.Wm)(i,{keypath:"modals.recipient.msg.chain.msg",tag:"div",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("strong",VD,(0,me.zw)(e.$t("modals.recipient.msg.chain.title"))+": ",1),(0,B.Uk)(" "+(0,me.zw)(e.$t("modals.recipient.msg.chain.linkTitle")),1)]})),_:1})])):(0,B.kq)("",!0),e.UNFINISHED_FEATURES&&e.isProtocolAe?((0,B.wg)(),(0,B.iD)("p",jD,[(0,B.Wm)(i,{keypath:"modals.readMore.msg",class:"help",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,me.zw)(e.$t("modals.readMore.linkTitle")),9,qD)]})),_:1})])):(0,B.kq)("",!0)])]})),footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"footer",extend:"",onClick:e.resolve},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["title","close"])}const YD=(0,B.aZ)({components:{Default:Px,BtnMain:yn.Z},props:{resolve:{type:Function,required:!0},protocol:{type:String,required:!0},close:{type:Function,default:null}},setup:function(e){var t=(0,B.Fl)((function(){return e.protocol===a.DJ})),n=(0,B.Fl)((function(){return r.l.getAdapter(e.protocol).protocolName}));return{AE_BLOG_CLAIM_TIP_URL:h.yl,UNFINISHED_FEATURES:a._0,protocolName:n,isProtocolAe:t}}}),$D=(0,qe.Z)(YD,[["render",zD],["__scopeId","data-v-179cf921"]]),GD=$D;var KD={class:"content"},JD={class:"subtitle"},QD={class:"list"};function XD(e,t,n,a,r,o){var i=(0,B.up)("TemplateRenderer"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Default");return(0,B.wg)(),(0,B.j4)(u,(0,B.dG)({class:"consensus-info"},Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"info",title:e.$t("modals.consensusInfo.title"),close:e.resolve}),{msg:(0,B.w5)((function(){return[(0,B._)("div",KD,[(0,B._)("div",JD,(0,me.zw)(e.$t("modals.consensusInfo.subtitle")),1),(0,B._)("ul",QD,[(0,B._)("li",null,[(0,B.Wm)(i,{str:e.$t("modals.consensusInfo.firstPoint")},null,8,["str"])]),(0,B._)("li",null,[(0,B.Wm)(i,{str:e.$t("modals.consensusInfo.secondPoint")},null,8,["str"])]),(0,B._)("li",null,[(0,B.Wm)(i,{str:e.$t("modals.consensusInfo.thirdPoint")},null,8,["str"])])]),(0,B.Wm)(i,{str:e.$t("modals.consensusInfo.description")},null,8,["str"])])]})),footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"footer",extend:"",text:e.$t("ok"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["title","close"])}const eT=(0,B.aZ)({components:{TemplateRenderer:Sx,Default:Px,BtnMain:yn.Z},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null}}}),tT=(0,qe.Z)(eT,[["render",XD],["__scopeId","data-v-2c9349fa"]]),nT=tT;var aT={class:"header text-heading-2"},rT={class:"description text-description"},oT={class:"wrapper"};function iT(e,t,n,a,r,o){var i=(0,B.up)("FormTextarea"),s=(0,B.up)("BtnMain"),u=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(u,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"",class:"payload-form",onClose:t[3]||(t[3]=function(t){return e.reject()})},{footer:(0,B.w5)((function(){return[(0,B.Wm)(s,{class:"btn-cancel",variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.reject()})},null,8,["text"]),(0,B.Wm)(s,{text:e.$t("modals.payloadForm.doneBtn"),disabled:!e.value.length,onClick:t[2]||(t[2]=function(t){return e.resolve(e.value)})},null,8,["text","disabled"])]})),default:(0,B.w5)((function(){return[(0,B._)("div",aT,(0,me.zw)(e.$t("modals.payloadForm.title")),1),(0,B._)("div",rT,(0,me.zw)(e.$t("modals.payloadForm.desc")),1),(0,B._)("div",oT,[(0,B.Wm)(i,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.value=t}),size:"sm",resizable:!1},{label:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("modals.payloadForm.label")),1)]})),_:1},8,["modelValue"])])]})),_:1})}const sT=(0,B.aZ)({name:"PayloadForm",components:{BtnMain:yn.Z,FormTextarea:Bi.Z,Modal:ni.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},payload:{type:String,default:""}},setup:function(e){return{value:(0,Ze.iH)(e.payload)}}}),uT=(0,qe.Z)(sT,[["render",iT],["__scopeId","data-v-3d4412a8"]]),lT=uT;var cT={class:"header text-heading-2"},dT={class:"redeemed-amount"},pT={class:"redeemed-by"},mT={class:"redeem-balance"},fT={key:0},vT={key:1,class:"already-redeemed"},gT={class:"buttons"};function hT(e,t,n,a,r,o){var i=(0,B.up)("CheckCircleIcon"),s=(0,B.up)("AccountSelector"),u=(0,B.up)("AccountItem"),l=(0,B.up)("DetailsItem"),c=(0,B.up)("BalanceInfo"),d=(0,B.up)("BtnPlain"),p=(0,B.up)("TransferSendAmount"),m=(0,B.up)("BtnMain"),f=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(f,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"","min-height":"",class:"claim-gift-card",onClose:e.reject},{footer:(0,B.w5)((function(){return[(0,B._)("div",gT,[e.step===e.STEPS.initial?((0,B.wg)(),(0,B.j4)(m,{key:0,variant:"muted",text:e.$t("modals.claimGiftCard.redeemPartially"),disabled:e.loading,onClick:t[2]||(t[2]=function(t){return e.step=e.STEPS.form})},null,8,["text","disabled"])):(0,B.kq)("",!0),(0,B.Wm)(m,{icon:e.loading?e.AnimatedSpinner:null,text:e.mainButtonText,disabled:e.isDisabled||e.loading,onClick:t[3]||(t[3]=function(t){return e.handleMainButtonClick()})},null,8,["icon","text","disabled"])])]})),default:(0,B.w5)((function(){return[(0,B._)("div",cT,(0,me.zw)(e.$t("modals.claimGiftCard.title")),1),e.step===e.STEPS.redeemPartially||e.step===e.STEPS.redeemFull&&!e.isCardEmpty?((0,B.wg)(),(0,B.iD)(B.HY,{key:0},[(0,B.Wm)(i,{class:"check-circle-icon"}),(0,B._)("div",dT,[(0,B._)("span",null,(0,me.zw)(e.amount)+" "+(0,me.zw)(e.AE_SYMBOL),1),(0,B._)("span",pT,(0,me.zw)(e.$t("modals.claimGiftCard.redeemedBy",["(".concat(e.currencyFormatted,")")])),1)])],64)):(0,B.kq)("",!0),(0,B.Wm)(l,null,{label:(0,B.w5)((function(){return[e.step!==e.STEPS.redeemPartially&&e.step!==e.STEPS.redeemFull?((0,B.wg)(),(0,B.j4)(s,{key:0,modelValue:e.recipientId,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.recipientId=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"])):e.isCardEmpty?(0,B.kq)("",!0):((0,B.wg)(),(0,B.j4)(u,{key:1,address:e.recipientId,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"]))]})),_:1}),(0,B._)("div",mT,[e.step===e.STEPS.initial&&e.isCardEmpty?(0,B.kq)("",!0):((0,B.wg)(),(0,B.iD)("span",fT,(0,me.zw)(e.$t("modals.claimGiftCard.balance")),1)),(0,B.Wm)(c,{balance:e.balance.toNumber(),protocol:e.PROTOCOL_AETERNITY,class:(0,me.C_)({gray:0===e.balance.toNumber()})},null,8,["balance","protocol","class"])]),e.isCardEmpty?((0,B.wg)(),(0,B.iD)("span",vT,(0,me.zw)(e.$t("modals.claimGiftCard.alreadyRedeemed")),1)):(0,B.kq)("",!0),e.step===e.STEPS.form?((0,B.wg)(),(0,B.j4)(p,{key:2,modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),errors:e.errors,readonly:"",protocol:e.PROTOCOL_AETERNITY,"custom-label":e.$t("modals.claimGiftCard.amount"),"validation-rules":{max_redeem:e.max.toString()},"without-margin":""},{"label-after":(0,B.w5)((function(){return[(0,B.Wm)(d,{class:(0,me.C_)(["max-button",{chosen:e.isMax}]),onClick:e.setMaxAmount},{default:(0,B.w5)((function(){return[(0,B.Uk)((0,me.zw)(e.$t("common.max")),1)]})),_:1},8,["class","onClick"])]})),_:1},8,["modelValue","errors","protocol","custom-label","validation-rules"])):(0,B.kq)("",!0)]})),_:1},8,["onClose"])}var wT=n(78250),yT=n(48764)["Buffer"],kT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},bT={initial:"initial",form:"form",redeemPartially:"redeemPartially",redeemFull:"redeemFull"};const CT=(0,B.aZ)({components:{AccountSelector:Vo,AccountItem:lc.Z,BalanceInfo:Ct.Z,BtnMain:yn.Z,CheckCircleIcon:Ng,DetailsItem:ri.Z,TransferSendAmount:wT.Z,Modal:ni.Z},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},secretKey:{type:yT,required:!0}},setup:function(e){var t=this,n=(0,p.oR)(),r=(0,no.QT)(),o=r.t,i=(0,Pu.cI)(),s=i.errors,u=(0,oe.cn)({store:n}),c=u.getAeSdk,m=(0,oe.xe)({store:n}),f=m.aeAccounts,v=m.aeAccountsSelectOptions,g=(0,oe.jg)({store:n}),w=g.getFormattedFiat,y=(0,Ze.iH)(f.value[0].address),b=(0,Ze.iH)(""),C=(0,Ze.iH)(new Kr.Z(0)),A=(0,Ze.iH)(bT.initial),x=(0,Ze.iH)(!1),_=(0,Ze.iH)(!1),D=(0,B.Fl)((function(){return w(+b.value,a.DJ)})),T=(0,B.Fl)((function(){switch(A.value){case bT.initial:return o("modals.claimGiftCard.redeemFull");case bT.form:return o("modals.claimGiftCard.redeem");case bT.redeemPartially:case bT.redeemFull:return o("common.ok");default:return null}})),S=(0,k.qD)(e.secretKey),I=S.address,F=(0,Kr.Z)((0,$.vq)((0,$.lE)({tag:Y.Vp.SpendTx,senderId:I,recipientId:y.value,amount:+b.value,payload:(0,d.cv)((new TextEncoder).encode(""),l.e.Bytearray),nonce:1}),Y.Vp.SpendTx).fee).shiftedBy(-h.T3),E=(0,B.Fl)((function(){return C.value.minus(F)})),R=(0,B.Fl)((function(){return b.value.toString()===E.value.toString()}));function Z(){return kT(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c();case 2:return t=e.sent,e.t0=Kr.Z,e.next=6,t.getBalance(I,{format:Lu.fM.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),C.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function U(){b.value=E.value.isPositive()?E.value.toString():"0"}function P(){return kT(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:_.value=!0,t.t0=A.value,t.next=t.t0===bT.initial?4:t.t0===bT.form?9:t.t0===bT.redeemPartially||t.t0===bT.redeemFull?13:15;break;case 4:return U(),t.next=7,n.dispatch("invites/claim",{secretKey:e.secretKey,recipientId:y.value,isMax:!0});case 7:return A.value=bT.redeemFull,t.abrupt("break",16);case 9:return t.next=11,n.dispatch("invites/claim",{secretKey:e.secretKey,recipientId:y.value,amount:b.value,isMax:E.value.toString()===b.value.toString()});case 11:return A.value=bT.redeemPartially,t.abrupt("break",16);case 13:return e.resolve(),t.abrupt("break",16);case 15:throw new Error("Unknown step ".concat(A.value));case 16:_.value=!1;case 17:case"end":return t.stop()}}),t)})))}var M=(0,B.Fl)((function(){var e;switch(A.value){case bT.form:return!b.value||!!(null===(e=s.value)||void 0===e?void 0:e.amount);default:return!1}}));return(0,B.bv)((function(){return kT(t,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Z();case 2:0===C.value.toNumber()&&(A.value=bT.redeemFull,x.value=!0),setInterval(Z,3e3);case 4:case"end":return e.stop()}}),e)})))})),{AE_SYMBOL:h.WJ,AnimatedSpinner:br.Z,aeAccountsSelectOptions:v,amount:b,balance:C,currencyFormatted:D,errors:s,fee:F,handleMainButtonClick:P,isCardEmpty:x,isDisabled:M,isMax:R,loading:_,mainButtonText:T,max:E,PROTOCOL_AETERNITY:a.DJ,recipientId:y,setMaxAmount:U,step:A,STEPS:bT,updateBalance:Z}}}),AT=(0,qe.Z)(CT,[["render",hT],["__scopeId","data-v-4e9dc4e3"]]),xT=AT;var _T={class:"text-heading-1"},DT=["onClick"],TT=["onClick"],ST={class:"signers-add-wrapper"},IT={class:"consensus"},FT={class:"description"},ET={class:"signers-count"},RT={class:"text-emphasis"};function BT(e,t,n,a,r,o){var i=(0,B.up)("FormSelect"),s=(0,B.up)("QrScanIcon"),u=(0,B.up)("PlusCircleIcon"),l=(0,B.up)("FormTextarea"),c=(0,B.up)("Field"),d=(0,B.up)("BtnText"),p=(0,B.up)("BtnHelp"),m=(0,B.up)("FormNumberSelect"),f=(0,B.up)("i18n-t"),v=(0,B.up)("Form"),g=(0,B.up)("MultisigVaultCreateReview"),h=(0,B.up)("MultisigVaultCreateProgress"),w=(0,B.up)("BtnMain"),y=(0,B.up)("Modal");return(0,B.wg)(),(0,B.j4)(y,{"full-screen":"","from-bottom":"","has-close-button":"",class:"multisig-vault-create",onClose:t[1]||(t[1]=function(t){return e.reject()})},{footer:(0,B.w5)((function(){return[e.currentStep===e.STEPS.form?((0,B.wg)(),(0,B.j4)(w,{key:0,text:e.$t("modals.createMultisigAccount.btnText"),disabled:!e.canCreateMultisig,onClickOnce:e.openReviewStep},null,8,["text","disabled","onClickOnce"])):e.currentStep===e.STEPS.review?((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B.Wm)(w,{variant:"muted",text:e.$t("common.edit"),onClick:e.openFormStep},null,8,["text","onClick"]),(0,B.Wm)(w,{text:e.$t("modals.createMultisigAccount.btnTextShort"),wide:"",disabled:e.multisigAccountCreationPhase!=e.MULTISIG_CREATION_PHASES.signed||e.notEnoughBalanceToCreateMultisig,onClick:e.createMultisigAccount},null,8,["text","disabled","onClick"])],64)):e.currentStep===e.STEPS.processing?((0,B.wg)(),(0,B.j4)(w,{key:2,text:e.$t("modals.creatingMultisigAccount.btnText"),disabled:!(e.isMultisigAccountCreated||e.isMultisigAccountAccessible),onClick:e.navigateToMultisigVault},null,8,["text","disabled","onClick"])):(0,B.kq)("",!0)]})),default:(0,B.w5)((function(){return[e.currentStep===e.STEPS.form?((0,B.wg)(),(0,B.j4)(v,{key:0,class:"multisig-vault-create-form",onSubmit:(0,N.iM)(e.openReviewStep,["prevent"])},{default:(0,B.w5)((function(){return[(0,B._)("h2",_T,(0,me.zw)(e.$t("modals.createMultisigAccount.title")),1),((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.signers,(function(t,n){return(0,B.wg)(),(0,B.iD)("div",{key:"signer".concat(n)},[0===n?((0,B.wg)(),(0,B.j4)(i,{key:0,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},"default-text":e.$t("modals.createMultisigAccount.signerInputPlaceholder"),label:e.getSignerLabel(n),"item-title":"address",options:e.aeAccountsSelectOptions,"account-select":""},null,8,["modelValue","onUpdate:modelValue","default-text","label","options"])):((0,B.wg)(),(0,B.j4)(c,{key:1,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},name:"signer-address-".concat(n),rules:{required:!0,account_address:!0}},{default:(0,B.w5)((function(a){var r=a.field,o=a.errorMessage;return[(0,B.Wm)(l,(0,B.dG)(r,{"model-value":t.address,"auto-height":"",label:e.getSignerLabel(n),placeholder:e.$t("modals.createMultisigAccount.signerInputPlaceholder"),name:"signer-address-".concat(n),message:o||e.getErrorMessage(t),class:{error:e.checkIfSignerAddressDuplicated(t)}}),{"label-after":(0,B.w5)((function(){return[(0,B._)("a",{class:"scan-button",onClick:(0,N.iM)((function(t){return e.openScanQrModal(n)}),["prevent"])},[(0,B.Wm)(s)],8,DT)]})),after:(0,B.w5)((function(){return[n>=e.MULTISIG_VAULT_MIN_NUM_OF_SIGNERS?((0,B.wg)(),(0,B.iD)("a",{key:0,onClick:function(t){return e.removeSigner(n)}},[(0,B.Wm)(u,{class:"btn-remove-signer"})],8,TT)):(0,B.kq)("",!0)]})),_:2},1040,["model-value","label","placeholder","name","message","class"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name"]))])})),128)),(0,B._)("div",ST,[(0,B.Wm)(d,{icon:e.PlusCircleIcon,text:e.$t("modals.createMultisigAccount.addSigner"),onClick:e.addNewSigner},null,8,["icon","text","onClick"]),(0,B.Wm)(p,{title:e.$t("multisig.authorizedSigners"),msg:e.$t("modals.createMultisigAccount.addSignerHelpMsg")},null,8,["title","msg"])]),(0,B._)("div",IT,[(0,B._)("div",FT,(0,me.zw)(e.$t("modals.createMultisigAccount.consensusRequiredDesc")),1),(0,B._)("div",ET,[(0,B.Wm)(m,{modelValue:e.confirmationsRequired,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.confirmationsRequired=t}),size:e.signers.length},null,8,["modelValue","size"]),(0,B.Wm)(f,{keypath:"modals.createMultisigAccount.consensusRequiredContent",tag:"span",class:"text",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("span",RT,(0,me.zw)(e.signers.length),1)]})),_:1}),(0,B.Wm)(p,{title:e.$t("modals.createMultisigAccount.consensusRequiredHelpTitle"),msg:e.$t("modals.createMultisigAccount.consensusRequiredHelpMsg")},null,8,["title","msg"])])])]})),_:1},8,["onSubmit"])):e.currentStep===e.STEPS.review?((0,B.wg)(),(0,B.j4)(g,{key:1,signers:e.signers,phase:e.multisigAccountCreationPhase,"confirmations-required":e.confirmationsRequired,"account-id":e.currentMultisigAccountId},null,8,["signers","phase","confirmations-required","account-id"])):e.currentStep===e.STEPS.processing?((0,B.wg)(),(0,B.j4)(h,{key:2,phase:e.multisigAccountCreationPhase,"multisig-account":e.multisigAccount,"is-accessible":e.isMultisigAccountAccessible,"is-created":e.isMultisigAccountCreated},null,8,["phase","multisig-account","is-accessible","is-created"])):(0,B.kq)("",!0)]})),_:1})}var ZT=n(66429),UT={class:"number-select"},PT=["value"],MT=["value","selected"];function LT(e,t,n,a,r,o){var i=(0,B.up)("ChevronDownIcon");return(0,B.wg)(),(0,B.iD)("div",UT,[e.modelValue?((0,B.wg)(),(0,B.iD)("select",{key:0,value:e.modelValue,class:"number-select-input",onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",+(null===t||void 0===t?void 0:t.target).value)})},[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.size,(function(t){return(0,B.wg)(),(0,B.iD)("option",{key:t,value:t,selected:t===e.modelValue},(0,me.zw)(t),9,MT)})),128))],40,PT)):(0,B.kq)("",!0),(0,B.Wm)(i,{class:"chevron-icon"})])}const OT=(0,B.aZ)({components:{ChevronDownIcon:rp.Z},props:{size:{type:Number,required:!0},modelValue:{type:Number,required:!0}},emits:["update:modelValue"]}),NT=(0,qe.Z)(OT,[["render",LT],["__scopeId","data-v-5b045253"]]),WT=NT;var HT={class:"multisig-vault-create-review"},VT={class:"text-heading-1"},jT={class:"authorized-signers"};function qT(e,t,n,a,r,o){var i=(0,B.up)("AccountSelector"),s=(0,B.up)("i18n-t"),u=(0,B.up)("DetailsItem"),l=(0,B.up)("BtnHelp"),c=(0,B.up)("ConsensusLabel"),d=(0,B.up)("AccountItem"),p=(0,B.up)("DialogBox"),m=(0,B.up)("LoadingIcon"),f=(0,B.up)("TokenAmount");return(0,B.wg)(),(0,B.iD)("div",HT,[(0,B._)("h2",VT,(0,me.zw)(e.$t("modals.createMultisigAccount.title")),1),(0,B.Wm)(u,{label:e.$t("multisig.creatingAccount")},{value:(0,B.w5)((function(){return[(0,B.Wm)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions,protocol:e.PROTOCOL_AETERNITY},null,8,["modelValue","options","protocol"]),e.notEnoughBalanceToCreateMultisig?((0,B.wg)(),(0,B.j4)(s,{key:0,keypath:"modals.createMultisigAccount.errorNotEnoughBalanceToCreateVault",tag:"div",class:"creator-error-message",scope:"global"},{default:(0,B.w5)((function(){return[(0,B._)("span",null,(0,me.zw)(e.fee)+" "+(0,me.zw)(e.AE_SYMBOL),1)]})),_:1})):(0,B.kq)("",!0)]})),_:1},8,["label"]),(0,B.Wm)(u,{label:e.$t("multisig.consensus")},{label:(0,B.w5)((function(){return[(0,B.Wm)(l,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),default:(0,B.w5)((function(){return[(0,B.Wm)(c,{"confirmations-required":e.confirmationsRequired,signers:e.signers,"default-confirmed-by":e.confirmationsRequired},null,8,["confirmations-required","signers","default-confirmed-by"])]})),_:1},8,["label"]),(0,B.Wm)(u,{label:e.$t("multisig.authorizedSigners")},{value:(0,B.w5)((function(){return[(0,B._)("div",jT,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.signers,(function(t){return(0,B.wg)(),(0,B.iD)("div",{key:t.address,class:"authorized-signers-row"},[(0,B.Wm)(d,{address:t.address,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"]),e.isLocalAccountAddress(t.address)?((0,B.wg)(),(0,B.j4)(p,{key:0,dense:"",textContent:(0,me.zw)(e.$t("common.you"))},null,8,["textContent"])):(0,B.kq)("",!0)])})),128))])]})),_:1},8,["label"]),e.fee&&e.callData&&e.creatorAccountFetched?((0,B.wg)(),(0,B.iD)(B.HY,{key:1},[(0,B.Wm)(u,{label:e.$t("transaction.fee")},{value:(0,B.w5)((function(){return[(0,B.Wm)(f,{amount:e.fee,symbol:e.AE_SYMBOL,protocol:e.PROTOCOL_AETERNITY},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,B.Wm)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,B.w5)((function(){return[(0,B.Wm)(u,{label:e.$t("common.nonce"),value:e.creatorAccountFetched.nonce},null,8,["label","value"]),(0,B.Wm)(u,{label:e.$t("common.callData"),value:e.callData,small:""},null,8,["label","value"])]})),_:1},8,["label"])],64)):((0,B.wg)(),(0,B.j4)(m,{key:0,class:"loading-icon"}))])}var zT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const YT=(0,B.aZ)({components:{BtnHelp:ql.Z,AccountSelector:Vo,ConsensusLabel:ao.Z,DetailsItem:ri.Z,AccountItem:lc.Z,DialogBox:ck.Z,TokenAmount:oi.Z,LoadingIcon:br.Z},props:{phase:{type:String,default:null},signers:{type:Array,required:!0},confirmationsRequired:{type:Number,required:!0},accountId:{type:String,required:!0}},setup:function(e){var t=this,n=(0,p.oR)(),r=(0,oe.xe)({store:n}),o=r.aeAccounts,i=r.aeAccountsSelectOptions,s=(0,oe.uN)({store:n}),u=s.multisigAccountCreationFee,l=s.prepareVaultCreationRawTx,c=s.pendingMultisigCreationTxs,d=s.notEnoughBalanceToCreateMultisig,m=(0,oe.xe)({store:n}),f=m.isLocalAccountAddress,v=(0,oe.cn)({store:n}),w=v.getAeSdk,y=(0,oe.ol)(),k=y.openModal,b=(0,Ze.iH)(e.signers[0].address||o.value[0].address),C=(0,Ze.iH)(),A=(0,B.Fl)((function(){return o.value.find((function(e){var t=e.address;return t===b.value}))})),x=(0,B.Fl)((function(){return u.value})),_=(0,B.Fl)((function(){return c.value[e.accountId].multisigAccountCreationEncodedCallData}));function D(){k(a.zo)}return(0,B.YP)(b,(function(n,a){return zT(t,void 0,void 0,regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n===a){t.next=18;break}return C.value=void 0,t.next=4,w();case 4:return r=t.sent,t.prev=5,t.next=8,r.api.getAccountByPubkey(n);case 8:o=t.sent,C.value=Object.assign(Object.assign({},o),{balance:o.balance.toString()}),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](5),(0,g.ac)(t.t0),C.value={balance:"0",id:n,kind:"basic",nonce:0,payable:!1};case 16:return t.next=18,l(n,e.accountId);case 18:case"end":return t.stop()}}),t,null,[[5,12]])})))}),{immediate:!0}),{AE_SYMBOL:h.WJ,aeAccountsSelectOptions:i,creatorAddress:b,creatorAccount:A,creatorAccountFetched:C,isLocalAccountAddress:f,fee:x,callData:_,notEnoughBalanceToCreateMultisig:d,openConsensusInfoModal:D,PROTOCOL_AETERNITY:a.DJ}}}),$T=(0,qe.Z)(YT,[["render",qT],["__scopeId","data-v-4ce16a02"]]),GT=$T;var KT={class:"multisig-vault-creation-progress"},JT={class:"text-heading-1"},QT={class:"phase-list"},XT={key:2,class:"phase-number"},eS={class:"phase-item-name"},tS={key:0},nS={key:1},aS={key:2,class:"phase-item-caption"},rS={key:0,class:"multisig-account-created"},oS={class:"message"},iS={key:1,class:"multisig-account-created left"},sS={class:"message"},uS={class:"sub-message"};function lS(e,t,n,a,r,o){var i=(0,B.up)("ProgressBar"),s=(0,B.up)("PendingIcon"),u=(0,B.up)("CheckSuccessCircleIcon"),l=(0,B.up)("AvatarWithChainName");return(0,B.wg)(),(0,B.iD)("div",KT,[(0,B._)("h2",JT,(0,me.zw)(e.$t("modals.creatingMultisigAccount.title")),1),(0,B.Wm)(i,{progress:e.progressPercentage},null,8,["progress"]),(0,B._)("div",QT,[((0,B.wg)(!0),(0,B.iD)(B.HY,null,(0,B.Ko)(e.localPhases,(function(t,n){return(0,B.wg)(),(0,B.iD)("div",{key:n,class:(0,me.C_)([{highlighted:e.isPhaseCompleted(n)||e.isPhaseCurrent(n)},"phase-item"])},[e.isPhaseCurrent(n)?((0,B.wg)(),(0,B.j4)(s,{key:0,class:"phase-pending-icon"})):e.isPhaseCompleted(n)?((0,B.wg)(),(0,B.j4)(u,{key:1,class:"phase-success-icon"})):((0,B.wg)(),(0,B.iD)("div",XT,(0,me.zw)(n+1),1)),(0,B._)("div",eS,[e.isPhaseCurrent(n)?((0,B.wg)(),(0,B.iD)("div",tS,(0,me.zw)(t.pendingText||t.text)+"… ",1)):((0,B.wg)(),(0,B.iD)("div",nS,(0,me.zw)(t.text),1)),t.caption&&!e.isAccessible&&e.isPhaseCurrent(n)?((0,B.wg)(),(0,B.iD)("div",aS,(0,me.zw)(t.caption),1)):(0,B.kq)("",!0)])],2)})),128))]),(0,B.Wm)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[e.isAccessible?((0,B.wg)(),(0,B.iD)("div",rS,[(0,B._)("div",oS,(0,me.zw)(e.$t("modals.creatingMultisigAccount.vaultAccessibleMessage")),1),(0,B.Wm)(l,{address:e.multisigAccount.gaAccountId,class:"ae-address","show-address":"","column-count":9},null,8,["address"])])):e.isCreated?((0,B.wg)(),(0,B.iD)("div",iS,[(0,B._)("div",sS,(0,me.zw)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessage")),1),(0,B._)("div",uS,(0,me.zw)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessageSub")),1)])):(0,B.kq)("",!0)]})),_:1})])}var cS=n(75693),dS={class:"progress-bar"};function pS(e,t,n,a,r,o){return(0,B.wg)(),(0,B.iD)("div",dS,[(0,B._)("div",{class:"progress",style:(0,me.j5)({width:"".concat(e.progress,"%")})},null,4)])}const mS=(0,B.aZ)({props:{progress:{type:Number,default:0}}}),fS=(0,qe.Z)(mS,[["render",pS],["__scopeId","data-v-1dd3e346"]]),vS=fS,gS=(0,B.aZ)({name:"MultisigVaultCreateProgress",components:{ProgressBar:vS,AvatarWithChainName:cS.Z,CheckSuccessCircleIcon:wg,PendingIcon:Qa.Z},props:{multisigAccount:{type:Object,default:null},phase:{type:String,default:null},isAccessible:Boolean,isCreated:Boolean},setup:function(e){var t=(0,no.QT)(),n=t.t,a=[{key:h.OM.prepared,text:n("modals.creatingMultisigAccount.preparingMultisigVault")},{key:h.OM.deployed,text:n("modals.creatingMultisigAccount.deployingSmartContract")},{key:h.OM.created,text:n("modals.creatingMultisigAccount.creatingMultisigVault"),caption:n("modals.creatingMultisigAccount.creatingMultisigVault")},{key:h.OM.accessible,text:n("modals.creatingMultisigAccount.addingToWallet"),pendingText:n("modals.creatingMultisigAccount.syncingVault"),caption:n("modals.creatingMultisigAccount.takingLong")}],r=(0,B.Fl)((function(){return a.findIndex((function(t){var n=t.key;return n===e.phase}))})),o=(0,B.Fl)((function(){return 100/a.length*(r.value+1)}));function i(e){return e===r.value+1}function s(t){return!!e.multisigAccount||t<=r.value}return{PlusCircle:ka.Z,localPhases:a,progressPercentage:o,isPhaseCurrent:i,isPhaseCompleted:s}}}),hS=(0,qe.Z)(gS,[["render",lS],["__scopeId","data-v-38dc3033"]]),wS=hS;var yS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},kS={form:"form",review:"review",processing:"processing"};const bS=(0,B.aZ)({name:"MultisigVaultCreate",components:{FormNumberSelect:WT,FormTextarea:Bi.Z,Modal:ni.Z,BtnMain:yn.Z,BtnText:ZT.Z,BtnHelp:ql.Z,MultisigVaultCreateProgress:wS,QrScanIcon:Gx.Z,PlusCircleIcon:ka.Z,MultisigVaultCreateReview:GT,FormSelect:Oo.Z,Field:Pu.gN,Form:Pu.l0},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,p.oR)(),n=(0,Qt.tv)(),r=(0,no.QT)(),o=r.t,i=(0,oe.xe)({store:t}),s=i.aeAccountsSelectOptions,u=(0,oe.ol)(),l=u.openModal,c=u.openDefaultModal,d=(0,Pu.VA)(),m=(0,oe.Bo)({store:t,pollOnce:!0}),f=m.setActiveMultisigAccountId,v=(0,oe.uN)({store:t}),w=v.multisigAccount,y=v.multisigAccountCreationPhase,b=v.pendingMultisigCreationTxs,C=v.multisigAccountCreationFee,A=v.isMultisigAccountAccessible,x=v.isMultisigAccountCreated,_=v.prepareVaultCreationAttachTx,D=v.deployMultisigAccount,T=v.notEnoughBalanceToCreateMultisig,S=(0,Ze.iH)(kS.form),I=(0,Ze.iH)([]),F=(0,Ze.iH)(h.rD),E=(0,Ze.iH)(),R=(0,B.Fl)((function(){return I.value.map((function(e){var t=e.address;return t})).filter(g.cs)}));function Z(e){return(0,k.ax)(e.address).valid&&I.value.filter((function(t){var n=t.address;return e.address===n})).length>=2}var U=(0,B.Fl)((function(){return!I.value.filter((function(e){return!(0,k.ax)(e.address).valid||Z(e)})).length})),P=(0,B.Fl)((function(){var e;return I.value.length>=h.rD&&U.value&&!(null===(e=d.value)||void 0===e?void 0:e.length)}));function M(){I.value.push({address:void 0})}function L(e){I.value.splice(e,1)}function O(e){return Z(e)?o("modals.createMultisigAccount.errorDuplicatingInputMessage"):null}function N(e){return yS(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,r,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l(a.U0,{title:o("multisig.scanAddress"),icon:"critical"});case 2:if(n=t.sent,n){t.next=5;break}return t.abrupt("return");case 5:if(r=(0,k.ax)(n),i=r.valid,s=r.isName,i&&!s){t.next=9;break}return c({title:o("modals.invalid-qr-code.msg"),icon:"critical"}),t.abrupt("return");case 9:if(!I.value.find((function(e){return e.address===n}))){t.next=12;break}return c({title:o("modals.createMultisigAccount.errorDuplicatingSigner"),icon:"critical"}),t.abrupt("return");case 12:I.value[e].address=n;case 13:case"end":return t.stop()}}),t)})))}function W(e){return"".concat(o("modals.createMultisigAccount.signer")," ").concat(e+1)}function H(){S.value=kS.form}function V(){return yS(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,_(F.value,R.value);case 2:E.value=e.sent,S.value=kS.review;case 4:case"end":return e.stop()}}),e)})))}function j(){return yS(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(S.value=kS.processing,e.prev=1,E.value){e.next=4;break}throw Error(String(o("multisig.multisigVaultCreationFailed")));case 4:return e.next=6,D(E.value,F.value,R.value);case 6:e.next=14;break;case 8:return e.prev=8,e.t0=e["catch"](1),(0,g.ac)(e.t0),e.next=13,c({title:o("multisig.multisigVaultCreationFailed"),icon:"critical"});case 13:S.value=kS.form;case 14:case"end":return e.stop()}}),e,null,[[1,8]])})))}function q(){return yS(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!w.value){t.next=5;break}return t.next=3,e.resolve();case 3:f(w.value.gaAccountId),n.push({name:pe.Pq});case 5:case"end":return t.stop()}}),t)})))}return(0,B.bv)((function(){if(!I.value.length)for(var e=0;e99:return"99+";default:return e}}));return{BellIcon:WI,notificationsCount:r}}}),VI=(0,qe.Z)(HI,[["render",ZI]]),jI=VI;function qI(e,t,n,a,r,o){var i=(0,B.up)("BtnPill");return(0,B.wg)(),(0,B.j4)(i,{class:"network-button","with-hover-effects":"",dense:"",hollow:"",onClick:t[0]||(t[0]=(0,N.iM)((function(t){return e.openNetworkSwitcherModal()}),["prevent"]))},{default:(0,B.w5)((function(){return[(0,B._)("div",{class:(0,me.C_)(["circle",{connected:e.isOnline&&e.isAeNodeReady,error:!e.isOnline||e.isAeNodeError}])},null,2),(0,B.Uk)(" "+(0,me.zw)(e.activeNetwork.name),1)]})),_:1})}const zI=(0,B.aZ)({components:{BtnPill:Lo.Z},setup:function(){var e=(0,p.oR)(),t=(0,oe.Rc)(),n=t.isOnline,r=(0,oe.e9)(),o=r.activeNetwork,i=(0,oe.ol)(),s=i.openModal,u=(0,oe.cn)({store:e}),l=u.isAeNodeReady,c=u.isAeNodeError;function d(){return s(a.ek)}return{isOnline:n,isAeNodeReady:l,isAeNodeError:c,activeNetwork:o,openNetworkSwitcherModal:d}}}),YI=(0,qe.Z)(zI,[["render",qI],["__scopeId","data-v-8877cc2c"]]),$I=YI;function GI(e,t,n,a,r,o){var i=(0,B.up)("BtnIcon");return(0,B.wg)(),(0,B.j4)(i,{class:"open-apps-browser-button","data-cy":"apps-browser-btn",icon:e.GlobeSmallIcon,to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","to"])}const KI=(0,B.aZ)({components:{BtnIcon:on.Z},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(){return{GlobeSmallIcon:Mr.Z,ROUTE_APPS_BROWSER:pe.gs}}}),JI=(0,qe.Z)(KI,[["render",GI],["__scopeId","data-v-fde1aa64"]]),QI=JI,XI=(0,B.aZ)({components:{NetworkButton:$I,AppsBrowserBtn:QI,NotificationsIcon:jI,BtnClose:vC.Z,BtnPlain:_a.Z,Logo:BI.Z,Truncate:No.Z,BtnIcon:on.Z,IonHeader:W.Gu,IonToolbar:W.sr},setup:function(){var e=(0,p.oR)(),t=(0,Qt.yj)(),n=(0,W.cj)(),r=(0,no.QT)(),o=r.t,i=(0,oe.bl)(),s=i.homeRouteName,u=(0,oe.xe)({store:e}),l=u.isLoggedIn,c={settings:function(){return o("pages.titles.settings")},language:function(){return o("pages.titles.language")},about:function(){return o("pages.titles.about")},sendTip:function(){return o("pages.titles.sendTip")},claimTips:function(){return o("pages.claimTips.title")},terms:function(){return o("pages.titles.terms")},privacy:function(){return o("pages.titles.privacy")},currency:function(){return o("pages.titles.currency")},notifications:function(){return o("pages.titles.notifications")},auction:function(){return o("pages.titles.auction")},more:function(){return o("pages.titles.more")},networks:function(){return o("pages.titles.networks")},permissionsSettings:function(){return o("pages.titles.permissionsSettings")},permissionsEdit:function(){return o("pages.titles.permissionsEdit")},permissionsAdd:function(){return o("pages.titles.permissionsAdd")},commentNew:function(){return o("pages.titles.commentNew")},donateError:function(){return o("pages.titles.donateError")},address:function(){return o("pages.titles.address")},signMessage:function(){return o("pages.titles.signMessage")},signTransaction:function(){return o("pages.titles.signTransaction")},giftCards:function(){return o("pages.titles.giftCards")},txDetails:function(){return o("pages.titles.txDetails")},tokenDetails:function(){return o("pages.titles.tokenDetails")},coinDetails:function(){return o("pages.titles.coinDetails")},saveErrorsLog:function(){return o("pages.titles.saveErrorsLog")},resetWallet:function(){return o("pages.resetWallet.title")},seedPhrase:function(){return o("pages.titles.seedPhrase")},networkAdd:function(){return o("pages.titles.networkAdd")},networkEdit:function(){return o("pages.titles.networkEdit")},notFound:function(){return o("pages.titles.notFound")},multisigProposalDetails:function(){return o("pages.titles.multisigProposalDetails")}},d=(0,B.Fl)((function(){return l.value?s.value:pe.dK})),m=(0,B.Fl)((function(){return t.meta})),f=(0,B.Fl)((function(){var e;return!!(null===(e=m.value)||void 0===e?void 0:e.showHeaderNavigation)})),v=(0,B.Fl)((function(){return t.name===pe.I})),g=(0,B.Fl)((function(){var e;return(null===(e=m.value)||void 0===e?void 0:e.title)&&c[m.value.title]?c[m.value.title]():""}));function h(){var e=t.fullPath,a=t.meta,r=a||{},o=r.backRoute;if(!l.value)return n.navigate({name:d.value},"back","push");if(o)return n.navigate(o,"back","push");var i=e.endsWith("/")?e.slice(0,-1):e;return n.navigate(i.substr(0,i.lastIndexOf("/"))||{name:d.value},"back","push")}function w(){n.navigate({name:d.value},"back","push")}return(0,W.Kx)(1,h),{UNFINISHED_FEATURES:a._0,homeRouteName:s,BackIcon:or,ThreeDotsIcon:EC,ROUTE_ACCOUNT:pe.I,ROUTE_MORE:pe.vh,IS_MOBILE_APP:a.Ag,isLoggedIn:l,showHeaderNavigation:f,isLogoDisabled:v,titleTruncated:g,back:h,close:w}}}),eF=(0,qe.Z)(XI,[["render",RI],["__scopeId","data-v-1b86e0cc"]]),tF=eF;function nF(e,t,n,a,r,o){return(0,B.wg)(),(0,B.j4)(N.uT,{name:"fade-transition"},{default:(0,B.w5)((function(){return[e.statusText?((0,B.wg)(),(0,B.iD)("div",{key:0,"data-cy":"connect-node",class:(0,me.C_)(["node-connection-status",{"is-error":e.isError}])},(0,me.zw)(e.statusText),3)):(0,B.kq)("",!0)]})),_:1})}var aF=2e3;const rF=(0,B.aZ)({setup:function(){var e=(0,p.oR)(),t=(0,no.QT)(),n=t.t,a=(0,oe.Rc)(),r=a.isOnline,o=(0,oe.cn)({store:e}),i=o.isAeNodeConnecting,s=o.isAeNodeReady,u=o.isAeNodeError,l=(0,oe.xe)({store:e}),c=l.isLoggedIn,d=(0,Ze.iH)(!1),m=(0,B.Fl)((function(){return!r.value||u.value}));(0,B.YP)(s,(function(e){d.value=e,e&&setTimeout((function(){d.value=!1}),aF)}));var f=(0,B.Fl)((function(){switch(!0){case!r.value:return n("connectionStatus.offline");case!c.value:return null;case i.value:return n("connectionStatus.node.connecting");case d.value:return n("connectionStatus.node.connected");case u.value:return n("connectionStatus.node.error");default:return null}}));return{isError:m,statusText:f}}}),oF=(0,qe.Z)(rF,[["render",nF],["__scopeId","data-v-43e2443e"]]),iF=oF;var sF=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const uF=(0,B.aZ)({name:"App",components:{Header:tF,NodeConnectionStatus:iF,Close:eh.Z,IonApp:W.dr,IonRouterOutlet:W.jP,IonPage:W._i,Loader:RA.Z},setup:function(){var e=this,t=(0,p.oR)(),n=(0,Qt.yj)(),r=(0,Qt.tv)(),o=(0,no.QT)(),i=o.t,s=(0,y.H)(),u=s.getCacheChainNames,l=(0,oe.Rc)(),c=l.watchConnectionStatus,d=(0,oe.bl)(),m=d.qrScannerOpen,f=d.isLoaderVisible,v=d.initVisibilityListeners,h=(0,oe.ol)(),w=h.modalsOpen,k=(0,oe.xe)({store:t}),b=k.isLoggedIn,C=(0,oe.zn)({store:t}),A=C.addWalletNotification,x=(0,oe.jg)({store:t,withoutPolling:!0}),_=x.loadCoinsData,D=(0,SI.v)(),T=D.restore,S=(0,oe.Bo)({store:t,pollingDisabled:!0}),I=S.multisigAccounts,F=(0,Ze.iH)(),E=(0,Ze.iH)(!1),R=(0,B.Fl)((function(){return t.state.isRestored})),Z=(0,B.Fl)((function(){return t.state.backedUpSeed})),U=(0,B.Fl)((function(){return n.meta})),P=(0,B.Fl)((function(){var e;return null===(e=U.value)||void 0===e?void 0:e.showScrollbar})),M=(0,B.Fl)((function(){var e;return!(a.KZ||n.params.app||(null===(e=U.value)||void 0===e?void 0:e.hideHeader))}));function L(){document.documentElement.style.setProperty("--height",a.Ag&&a.cj?"100vh":"100%"),a.FH&&document.documentElement.classList.add("is-extension")}function O(){var e;return sF(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,r,o,s,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=null===(e=null===browser||void 0===browser?void 0:browser.runtime)||void 0===e?void 0:e.requestUpdateCheck,!a.FH||!n){t.next=11;break}return t.next=4,n();case 4:r=t.sent,o=(0,te.Z)(r,1),s=o[0],u="",a.D1&&(u=a.gI),a.p7&&(u=a.RF),"update_available"===s&&A({text:i("pages.account.updateAvailableText"),title:i("pages.account.updateAvailable"),buttonLabel:i("pages.notifications.goToStore"),path:u});case 11:case"end":return t.stop()}}),t)})))}function N(){return sF(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,g.mu)(R);case 2:0===t.state.notificationSettings.length&&t.commit("setNotificationSettings",a.__);case 3:case"end":return e.stop()}}),e)})))}function W(){return sF(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,u();case 3:e.t1=e.sent,e.t0.commit.call(e.t0,"setChainNames",e.t1);case 5:case"end":return e.stop()}}),e)})))}return(0,B.YP)(b,(function(e){e&&!Z.value&&A({title:i("pages.account.secureYourAccount"),text:i("pages.account.seedNotification"),buttonLabel:i("pages.account.backupNow"),path:"/more/settings/seed-phrase",isSeedBackup:!0})})),(0,B.YP)((function(){return n.fullPath}),(function(){F.value&&(F.value.scrollTop=0)})),(0,B.YP)(I,(function(e){var t;!(null===e||void 0===e?void 0:e.length)&&(null===(t=U.value)||void 0===t?void 0:t.isMultisig)&&r.push({name:pe.I})})),(0,B.YP)(M,(function(t){return sF(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}E.value=!0,e.next=8;break;case 4:if(b.value){e.next=7;break}return E.value=!1,e.abrupt("return");case 7:setTimeout((function(){E.value=!1}),a.WV);case 8:case"end":return e.stop()}}),e)})))}),{immediate:!0}),v(),(0,B.wF)((function(){return sF(e,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a.Ag&&(TI.A_.setStyle({style:TI.bg.Dark}),TI.A_.setBackgroundColor({color:"#141414"}),null===(n=null===(t=window.screen.orientation)||void 0===t?void 0:t.lock)||void 0===n||n.call(t,"portrait"));case 1:case"end":return e.stop()}}),e)})))})),(0,B.bv)((function(){return sF(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:L(),O(),a.Ag&&setTimeout((function(){DI.c.hide({fadeOutDuration:300})}),2e3),c(),T(),a.KZ||Promise.allSettled([_(),W(),N()]);case 6:case"end":return e.stop()}}),e)})))})),{IS_FIREFOX:a.D1,IS_IOS:a.cj,IS_WEB:a.Pl,IS_EXTENSION:a.FH,IS_MOBILE_DEVICE:a.ry,RUNNING_IN_TESTS:a.Hp,modalsOpen:w,qrScannerOpen:m,showHeader:M,delayedShowHeader:E,showScrollbar:P,innerElement:F,isLoaderVisible:f}}}),lF=(0,qe.Z)(uF,[["render",_I],["__scopeId","data-v-29de1f5a"]]),cF=lF;AI();var dF=(0,N.ri)(cF);dF.use(W.oX),dF.use(v.a),dF.use(H.Z),dF.use(TA),dF.mount("#app"),ap.Z.init({app:dF})},94308:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>S,C0:()=>A,DU:()=>b,FD:()=>h,Fj:()=>B,GH:()=>F,Gf:()=>s,I:()=>r,ID:()=>o,J7:()=>k,L5:()=>w,Li:()=>E,MZ:()=>f,Pq:()=>v,QA:()=>g,WN:()=>I,Z$:()=>T,Zr:()=>d,br:()=>m,dK:()=>a,eW:()=>l,gs:()=>R,rW:()=>x,sn:()=>c,uj:()=>C,v3:()=>i,vh:()=>y,vl:()=>_,wR:()=>D,x5:()=>p,zW:()=>u});var a="index",r="account",o="account-details",i="account-details-assets",s="account-details-names",u="account-details-names-auctions",l="account-details-names-claim",c="account-multisig",d="multisig-coin",p="multisig-coin-details",m="multisig-tx-details",f="multisig-account-details",v="multisig-account-details-info",g="account-details-multisig-proposal-details",h="multisig-account-details-assets",w="tx-details",y="more",k="notifications",b="coin",C="coin-details",A="token",x="token-details",_="not-found",D="network-settings",T="network-add",S="network-edit",I="web-iframe-popup",F="invite-claim",E="donate-error",R="apps-browser",B="about-terms"},14838:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,H:()=>l});var a=n(66252),r=n(79323),o=n(94277),i=n(28243);function s(){var e=(0,o.e)(),t=e.activeNetwork,n=e.activeNetworkName,s=(0,a.Fl)((function(){return t.value.protocols.aeternity})),u=(0,a.Fl)((function(){var e=t.value.type===r.GE?r.Rn:t.value.type,n=i.Rz[e];return n||{}}));return{activeNetworkName:n,aeActiveNetworkSettings:s,aeActiveNetworkPredefinedSettings:u}}n(92222);var u=n(48854);function l(){var e=s(),t=e.aeActiveNetworkSettings,n=t.value.backendUrl;function a(e,t){return(0,u.uz)("".concat(n,"/claim/submit"),{body:{url:e,address:t}})}function r(){return(0,u.rd)("".concat(n,"/cache/invalidate/oracle"))}function o(){return(0,u.rd)("".concat(n,"/cache/invalidate/tips"))}function i(e){return(0,u.uz)("".concat(n,"/errorreport"),{body:e})}function l(){return(0,u.rd)("".concat(n,"/cache/chainnames"))}function c(e){return(0,u.rd)("".concat(n,"/tips/single/").concat(e))}return{claimTips:a,cacheInvalidateOracle:r,cacheInvalidateTips:o,donateError:i,getCacheChainNames:l,getCacheTip:c}}},28243:(e,t,n)=>{"use strict";n.d(t,{XB:()=>X,FY:()=>U,Dq:()=>R,xF:()=>Z,YJ:()=>B,_4:()=>D,yl:()=>T,Jt:()=>w,Jx:()=>v,T3:()=>h,iD:()=>f,n4:()=>S,ik:()=>d,GF:()=>I,mI:()=>F,D4:()=>M,tE:()=>P,Rz:()=>_,yt:()=>x,Pz:()=>A,wt:()=>y,d9:()=>k,bh:()=>g,HK:()=>E,WJ:()=>p,e:()=>m,Io:()=>re,yn:()=>oe,Yj:()=>ee,Nt:()=>J,du:()=>Y,Y0:()=>$,co:()=>G,Lx:()=>Q,OM:()=>te,S1:()=>c,fE:()=>ae,rD:()=>ne,aP:()=>L,ls:()=>O,$L:()=>N,O0:()=>W,XQ:()=>q,QN:()=>j,c:()=>z,Kv:()=>V,zq:()=>H});var a,r,o,i=n(62118),s=(n(41539),n(70189),n(78783),n(33948),n(27469)),u=n(65986),l=n(79323),c="cb_+RCaRgOgve9Y9UQL6KRoPwfVNJcBlzMvD+DQb6//M5OJCG3AVQjAuRBsuQ0r/gP+MbwANwA3CIcCNwA3AZdABydHACdHABcHF4cCNwA3AUcAGgoAhgg+hgIEDAOvggABAD8MAoQMAwMMAwMMA38MAwAMA38MA6+CAAEAPycMEABGOgIAACgsAAJE/gQjAAICAigsBgICAxGgN2kGDwIIKCwIAgIDEaA3aQYPAgoMAgICAxGKkmS6DwIMDAICAgMR6tQZlA8CECgsBAJE/hIjAAICAgwCBAwChAwCCAwCCgwCDCgsAgIMAhAMAhInDBAA/gUnlSICNwKXQIcCNwEHNwEHNwAMAQICAxERgicfDwIAVQICAgMRNr2PA1UAAgMR0MNsuA8CBAIDETa9jwMPAgYMAQAMAgAMAgIMAgQMAgYnDApE/oYjAA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jS5TaW1wbGVHQU11bHRpU2lnLmV4cGlyYXRpb25faGVpZ2h0ERV7P4adLlNpbXBsZUdBTXVsdGlTaWcuY29uZmlybV9hbmRfdXBkYXRlX3R4ETLxdQlZZGlzYWJsZV9mZWVfcHJvdGVjdGlvbhE2vY8DIS5TZXQubmV3EUTWRB8RaW5pdBFYZpLQGXJlZnVzZRFgcrjnhS5TaW1wbGVHQU11bHRpU2lnLmludGVybmFsX3Jldm9rZRFg2SfnSWdldF9mZWVfcHJvdGVjdGlvbhFjUXRtJS5TZXQuc2l6ZRFlpeAPLUNoYWluLmV2ZW50EWkRZsSNLlNpbXBsZUdBTXVsdGlTaWcucmVmdXNlX2FuZF9yZXZva2URbPJXCyVhdXRob3JpemURcxd2Uh1jb25maXJtEXTaWjEtLlNldC5kZWxldGURipJkun0uU2ltcGxlR0FNdWx0aVNpZy5oYXNfY29uc2Vuc3VzEZnlH6otZ2V0X3NpZ25lcnMRoAKLeCUuTGlzdC5tYXARoDdpBjEuU2V0LnRvX2xpc3QRyxS1tR1wcm9wb3NlEdDDbLgtLlNldC5pbnNlcnQR0bdm1C0uU2V0Lm1lbWJlchHZqMEoJWdldF9ub25jZRHj8zwIJS5QYWlyLmZzdBHnnnnifS5TaW1wbGVHQU11bHRpU2lnLnZlcmlmeV90eF9mZWUR6tQZlGUuU2ltcGxlR0FNdWx0aVNpZy5leHBpcmVkEfZYXzFVdXBkYXRlX2ZlZV9wcm90ZWN0aW9uEfbWMu1laXNfZmVlX3Byb3RlY3Rpb25fZW5hYmxlZBH6lKxHRS5PcHRpb24uZm9yY2VfbXNnEfuGrxo1Lk9wdGlvbi5mb3JjZRH9kfTjGS5eMTQ0MoIvAIU2LjEuMADBfpyn",d="aeternity",p="AE",m="Æ",f="AE Coin",v="Aeternity",g="æternity",h=18,w="aeternity",y="ae_mainnet",k="ae_uat",b="https://mainnet.aeternity.io",C="https://testnet.aeternity.io",A=(a={},(0,i.Z)(a,l.sI,{nodeUrl:b,middlewareUrl:"https://mainnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-mainnet.prd.service.aepps.com"}),(0,i.Z)(a,l.Rn,{nodeUrl:C,middlewareUrl:"https://testnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-testnet.prd.service.aepps.com"}),a),x=A[l.Rn],_=(r={},(0,i.Z)(r,l.sI,{explorerUrl:"https://aescan.io",multisigBackendUrl:"https://ga-multisig-backend-mainnet.prd.service.aepps.com"}),(0,i.Z)(r,l.Rn,{explorerUrl:"https://testnet.aescan.io",multisigBackendUrl:"https://ga-multisig-backend-testnet.prd.service.aepps.com"}),r),D="https://avatars.z52da5wt.xyz/",T="https://blog.aeternity.com/superhero-how-to-send-receive-superhero-tips-34971b18c919#024e",S="https://github.com/aeternity/superhero-wallet/commit/",I="https://aepp.dex.superhero.com",F="https://faucet.aepps.com",E="https://simplex.superhero.com",R=".chain",B=63+R.length,Z=12+R.length,U=1.05,P=5e3,M=[s.e.AccountAddress,s.e.Channel,s.e.ContractAddress,s.e.Name,s.e.OracleAddress,s.e.TxHash],L=32,O={tip:"tip",retip:"retip",tipToken:"tip_token",retipToken:"retip_token",transfer:"transfer",deposit:"deposit",propose:"propose",addLiquidity:"add_liquidity",addLiquidityAe:"add_liquidity_ae",removeLiquidity:"remove_liquidity",removeLiquidityAe:"remove_liquidity_ae",swapExactTokensForTokens:"swap_exact_tokens_for_tokens",swapTokensForExactTokens:"swap_tokens_for_exact_tokens",swapExactAeForTokens:"swap_exact_ae_for_tokens",swapTokensForExactAe:"swap_tokens_for_exact_ae",swapExactTokensForAe:"swap_exact_tokens_for_ae",swapAeForExactTokens:"swap_ae_for_exact_tokens",createAllowance:"create_allowance",changeAllowance:"change_allowance",transferAllowance:"transfer_allowance",transferPayload:"transfer_payload",withdraw:"withdraw",claim:"claim",spend:"spend",namePreclaim:"name_preclaim",nameClaim:"name_claim",nameTransfer:"name_transfer",incompleteTransfer:"incomplete_transfer",pendingSpend:"pending_spend",pendingTransfer:"pending_transfer",pendingTipAe:"pending_tip_ae",pendingTipToken:"pending_tip_token",payForGaAttach:"pay_for_ga_attach",gaMetaSpend:"ga_meta_spend"},N={propose:"propose",confirm:"confirm",refuse:"refuse",revoke:"revoke"},W={pool:["remove_liquidity","remove_liquidity_ae","add_liquidity","add_liquidity_ae"],removeLiquidity:["remove_liquidity","remove_liquidity_ae"],addLiquidity:["add_liquidity","add_liquidity_ae"],swap:["deposit","withdraw","swap_exact_tokens_for_tokens","swap_tokens_for_exact_tokens","swap_exact_ae_for_tokens","swap_tokens_for_exact_ae","swap_exact_tokens_for_ae","swap_ae_for_exact_tokens"],allowance:["transfer_allowance","change_allowance","create_allowance"],maxSpent:["swap_tokens_for_exact_tokens","swap_tokens_for_exact_ae","swap_ae_for_exact_tokens"],minReceived:["swap_exact_tokens_for_tokens","swap_exact_ae_for_tokens","swap_exact_tokens_for_ae"]},H=[u.Vp.SpendTx,u.Vp.ContractCreateTx,u.Vp.ContractCallTx,u.Vp.NamePreclaimTx,u.Vp.NameClaimTx,u.Vp.NameUpdateTx,u.Vp.NameTransferTx],V=new Set([u.Vp.NameClaimTx,u.Vp.NamePreclaimTx,u.Vp.NameRevokeTx,u.Vp.NameUpdateTx]),j="ok",q="abort",z="revert",Y=(o={},(0,i.Z)(o,y,{router:["ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3"],wae:["ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa"]}),(0,i.Z)(o,k,{router:["ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6","ct_6iyAWnbGoEbX6hxWsjKMLSM3Hx542PM9dZeG8mHo1bXzB7DDW","ct_N3fFG5QqyTb2dhqw8YcTQ3gqQjxjCJT9MTvDWfqBes7wEu4r9","ct_2eyXvDw3V3WSbcCpSiWcsCYHShBmEJEkU8PpUg7ymDLfZ4cSy4","ct_2mZo6oniJYbbAuBqJxqydc2ZzUhgrdFbTaR4vq2QxocChGUymJ","ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb"],wae:["ct_RzxedNERBDa9Kfx8FENNKQ33TQTt5FzV8i1WppiaTSC4adRXd","ct_y1sufvYLCwbbumgV16p8Bk9f5uHGFiteRDC1x8WNxxyvGJEw2","ct_2kc9naWGGnx4TWGK7UR9gut2cVcDvf7pv8CBYG1a8WML2jzUeb","ct_24gNuddxAbMYtT32sh8Xm1PpB2fZ3HMGtfST5sA3irect3Yu76","ct_2mdY71wG4zAjrdmqDJPXU6h8dYpzNs4mMZ81ujeNnrQPU2jMto","ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF"]}),o),$="provide_liquidity",G="remove_liquidity",K="swap",J="allow_token",Q={add_liquidity:$,add_liquidity_ae:$,remove_liquidity:G,remove_liquidity_ae:G,swap_exact_tokens_for_tokens:K,swap_exact_ae_for_tokens:K,swap_tokens_for_exact_tokens:K,swap_tokens_for_exact_ae:K,swap_exact_tokens_for_ae:K,swap_ae_for_exact_tokens:K,create_allowance:J,change_allowance:J,transfer_allowance:J,deposit:K,withdraw:K},X="Aex9TransferEvent",ee={other:0,current:1,subAccount:2},te={prepared:"prepared",signed:"signed",deployed:"deployed",created:"created",accessible:"accessible"},ne=2,ae="2.0.0",re={tippingV1:"ct_2AfnEfCSZCTEkxL5Yoi4Yfq6fF7YapHRaFKDJK3THMXMBspp5z"},oe={tippingV1:"ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",tippingV2:"ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu"}},34601:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>N,mW:()=>W,N8:()=>O,Jq:()=>H,Bg:()=>V,fF:()=>ge,W7:()=>he,qD:()=>we,eE:()=>j,FH:()=>q,wG:()=>$,aG:()=>G,g6:()=>K,fo:()=>J,gO:()=>Q,jt:()=>X,U5:()=>M,Py:()=>ee,pf:()=>z,I7:()=>te,qi:()=>re,Mk:()=>Y,Tz:()=>ve,_X:()=>ne,cU:()=>oe,I5:()=>ie,eN:()=>pe,a8:()=>se,EQ:()=>ce,$V:()=>de,N9:()=>le,mA:()=>me,gJ:()=>ue,V8:()=>ae,ax:()=>fe});var a=n(25706),r=n(95822),o=(n(41539),n(78783),n(33948),n(60285),n(41637),n(46229),n(17330),n(62062),n(96647),n(83710),n(39714),n(56977),n(69826),n(26699),n(32023),n(21249),n(74916),n(77601),n(84944),n(33792),n(26833),n(92222),n(27852),n(50780)),i=n.n(o),s=n(61080),u=n(65986),l=n(70732),c=n(36878),d=n(1471),p=n(27469),m=n(34502),f=n(82428),v=n(70794),g=n(79323),h=n(48854),w=n(28243),y={symbol:w.WJ,decimals:w.T3},k={symbol:"Pool Token",decimals:w.T3},b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return function(o){var i,s,u,l,c,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,m=e(o),f=t(o),v=[];if(o.tx["return"]&&("tuple"===o.tx["return"].type||!n&&"list"===o.tx["return"].type)&&(v=o.tx["return"].value),((null===p||void 0===p?void 0:p[m.contractId])||m.isAe)&&((null===p||void 0===p?void 0:p[f.contractId])||f.isAe)){var g=m.isAe?w.WJ:null===p||void 0===p?void 0:p[m.contractId].symbol,h=f.isAe?w.WJ:null===p||void 0===p?void 0:p[f.contractId].symbol;d="".concat(g,"/").concat(h)}return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},m),{amount:(null===(i=null===v||void 0===v?void 0:v[0])||void 0===i?void 0:i.value)||m.amount}),y),{symbol:"Token A"}),null===p||void 0===p?void 0:p[m.contractId]),{isReceived:"remove"===a}),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),{amount:(null===(s=null===v||void 0===v?void 0:v[1])||void 0===s?void 0:s.value)||f.amount}),y),{symbol:"Token B"}),null===p||void 0===p?void 0:p[f.contractId]),{isReceived:"remove"===a||!a})].concat((0,r.Z)(n?[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),d?{symbol:d}:{}),{amount:(null===(u=null===v||void 0===v?void 0:v[2])||void 0===u?void 0:u.value)||n(o)}),null===p||void 0===p?void 0:p[null===(c=null===(l=o.tx.log)||void 0===l?void 0:l[0])||void 0===c?void 0:c.address]),{isReceived:a&&"add"===a,isPool:!0})]:[]))}}},C=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[5])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return new v.Z(null===(t=o[2])||void 0===t?void 0:t.value).times(null===(n=o[3])||void 0===n?void 0:n.value).sqrt().minus(null===(r=null===(a=o[7])||void 0===a?void 0:a.value[1])||void 0===r?void 0:r.value)}),"add"),A=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[1])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx,a=n.arguments,r=n.contractId,o=n.amount;return{contractId:r,minAmount:null===(t=a[3])||void 0===t?void 0:t.value,amount:o,isAe:!0}}),(function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return new v.Z(null===(t=o[1])||void 0===t?void 0:t.value).times(i).sqrt().minus(null===(a=null===(n=o[5])||void 0===n?void 0:n.value[1])||void 0===a?void 0:a.value)}),"add"),x=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[3])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[4])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[2])||void 0===t?void 0:t.value}),"remove"),_=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a=e.tx,r=a.arguments,o=a.contractId;return{contractId:o,minAmount:null===(t=r[3])||void 0===t?void 0:t.value,amount:null===(n=r[3])||void 0===n?void 0:n.value,isAe:!0}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[1])||void 0===t?void 0:t.value}),"remove"),D=b((function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}}),(function(e){var t,n,a,r,o,i,s,u=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=u[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=u[2])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,minAmount:null===(i=u[1])||void 0===i?void 0:i.value,amount:null===(s=u[1])||void 0===s?void 0:s.value}})),T=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i,s=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=s[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=s[2])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,amount:null===(i=s[0])||void 0===i?void 0:i.value}})),S=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isAe:!0}}),(function(e){var t,n,a,r,o,i,s,u=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=u[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=u[1])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,minAmount:null===(i=u[0])||void 0===i?void 0:i.value,amount:null===(s=u[0])||void 0===s?void 0:s.value}})),I=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i,s,u=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=u[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=u[2])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,minAmount:null===(i=u[0])||void 0===i?void 0:i.value,amount:null===(s=u[0])||void 0===s?void 0:s.value,isAe:!0}})),F=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i,s,u=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=u[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=u[2])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,maxAmount:null===(i=u[1])||void 0===i?void 0:i.value,amount:null===(s=u[1])||void 0===s?void 0:s.value,isAe:!0}})),E=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isAe:!0}}),(function(e){var t,n,a,r,o,i,s=e.tx.arguments;return{contractId:null===(o=null===(n=null===(t=s[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[(null===(r=null===(a=s[1])||void 0===a?void 0:a.value)||void 0===r?void 0:r.length)-1])||void 0===o?void 0:o.value,amount:null===(i=s[0])||void 0===i?void 0:i.value}})),R=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign({amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[1])||void 0===n?void 0:n.value},y),{symbol:"Amount"}),null===a||void 0===a?void 0:a[e.tx.contractId])]}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.Z)(e.tx.arguments,3),r=n[0],o=n[1],i=n[2],s=Object.assign(Object.assign(Object.assign({amount:null===i||void 0===i?void 0:i.value},y),{symbol:"Amount"}),null===t||void 0===t?void 0:t[e.tx.contractId]);return{tokens:[s],sender:null===r||void 0===r?void 0:r.value,recipient:null===o||void 0===o?void 0:o.value}},Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign({},y),{amount:e.tx.amount,isReceived:!1,isAe:!0}),Object.assign(Object.assign(Object.assign(Object.assign({},y),{amount:e.tx.amount,symbol:"WAE"}),null===t||void 0===t?void 0:t[e.tx.contractId]),{isReceived:!0})]}},U=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign({},y),{amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[0])||void 0===n?void 0:n.value,symbol:"WAE"}),null===o||void 0===o?void 0:o[e.tx.contractId]),{isReceived:!1}),Object.assign(Object.assign({},y),{amount:null===(r=null===(a=e.tx.arguments)||void 0===a?void 0:a[0])||void 0===r?void 0:r.value,isReceived:!0,isAe:!0})]}},P={addLiquidity:C,addLiquidityAe:A,removeLiquidity:x,removeLiquidityAe:_,swapExactTokensForTokens:D,swapExactTokensForAe:F,swapExactAeForTokens:S,swapTokensForExactTokens:T,swapTokensForExactAe:I,swapAeForExactTokens:E,changeAllowance:R,createAllowance:R,transferAllowance:B,deposit:Z,withdraw:U};function M(e){return P[e]}var L=n(48764)["Buffer"];function O(e){var t=new URL(w.HK);return t.searchParams.set("wallet_address",e),t.toString()}function N(e){return(0,s.dN)(e.toString(),{denomination:s.fM.AE,targetDenomination:s.fM.AETTOS})}function W(e){return(0,s.dN)(e.toString(),{denomination:s.fM.AETTOS,targetDenomination:s.fM.AE})}function H(e,t,n){if(!e||!t||!n)return null;var a=new v.Z(e).times(100).div(t),r=new v.Z(n).times(a).div(100);return r.toFixed(0)}function V(e){var t;if(!(0,h.CO)(e.tx.type,u.Vp[u.Vp.ContractCallTx]))return null;if(e.incomplete||e.pending){var n=e.tx;return{amount:n.amount,token:null!==(t=n.selectedTokenContractId)&&void 0!==t?t:n.contractId,to:e.incomplete?n.recipientId:n.callerId}}var a=e.tx;switch(a["function"]){case"transfer":case"transfer_payload":case"change_allowance":case"create_allowance":return{to:a.arguments[0].value,amount:a.arguments[1].value,token:a.contractId};case"tip_token":return{url:a.arguments[0].value,note:a.arguments[1].value,amount:a.arguments[3].value,token:a.arguments[2].value};case"retip_token":return{url:a.arguments[0].value,amount:a.arguments[2].value,token:a.arguments[1].value};default:return null}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"account_pubkey";return(e.pointers&&e.pointers.find((function(e){var n=e.key;return n===t}))||{}).id}function q(e){return+W(new v.Z(e||0).toNumber())}function z(e){return(null===e||void 0===e?void 0:e.accountId)||(null===e||void 0===e?void 0:e.callerId)||(null===e||void 0===e?void 0:e.ownerId)}function Y(e){return["GAMetaTx",u.Vp[u.Vp.GaMetaTx],u.Vp[u.Vp.PayingForTx]].includes(e.type)}function $(e){var t;return e?Y(e)?null===(t=e.tx)||void 0===t?void 0:t.tx:e:null}function G(e){return e.isMultisigTransaction?e:void 0}function K(e,t,n){var a=z(n);return e.address===a?w.Yj.current:t.find((function(e){var t=e.address;return t===a}))?w.Yj.subAccount:w.Yj.other}function J(e){return e.isMultisigTransaction?void 0:e}function Q(e){var t,n;return(null===(t=e.tx)||void 0===t?void 0:t.payload)?(0,l.Jx)(null===(n=e.tx)||void 0===n?void 0:n.payload).toString():null}function X(e){var t,n,a;return e.tipUrl||e.url||!e.pending&&!e.claim&&(null===(t=e.tx.log)||void 0===t?void 0:t[0])&&(null===(n=e.tx)||void 0===n?void 0:n["function"])&&(0,h.q9)([w.ls.tip,w.ls.claim],e.tx["function"])&&(0,l.Jx)(e.tx.log[0].data).toString()||(null===(a=V(e))||void 0===a?void 0:a.url)||""}function ee(e,t){var n;if((null===(n=e)||void 0===n?void 0:n.tag)===u.Vp.SpendTx)return e.senderId===t?g.Dl.sent:g.Dl.received;var a=["senderId","accountId","ownerId","callerId","payerId"];return a.map((function(t){var n;return null===(n=e)||void 0===n?void 0:n[t]})).includes(t)?g.Dl.sent:g.Dl.received}function te(e){return e.tag?e.tag:(0,h.CO)(e.type,"GAAttachTx")?u.Vp.GaAttachTx:(0,h.CO)(e.type,"GAMetaTx")?u.Vp.GaMetaTx:e.type in u.Vp?u.Vp[e.type]:null}function ne(e){return e instanceof c.InvalidTxError&&(0,h.Bf)(e,"InsufficientBalance")}function ae(e){try{var t=(0,d.vq)(e);return w.zq.includes(t.tag)}catch(n){return!1}}function re(e){return e.length<=w.YJ&&/^(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8F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E00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+\.chain$/g.test(e)}function oe(e){var t,n=null===(t=V(e))||void 0===t?void 0:t.token;return!!e.tx&&!!n&&n!==w.ik}function ie(e,t){var n=t||{},a=n.wae,o=void 0===a?[]:a,i=n.router,s=void 0===i?[]:i;return!!(e&&e.contractId&&e["function"]&&Object.values(w.O0).flat().includes(e["function"])&&[].concat((0,r.Z)(o),(0,r.Z)(s)).includes(e.contractId))}function se(e){return!!e&&(0,h.q9)(w.O0.allowance,e)}function ue(e){return!!e&&(0,h.q9)(w.O0.swap,e)}function le(e){return!!e&&(0,h.q9)(w.O0.pool,e)}function ce(e){return!!e&&(0,h.q9)(w.O0.maxSpent,e)}function de(e){return!!e&&(0,h.q9)(w.O0.minReceived,e)}function pe(e){return!!e&&(0,h.q9)(w.O0.addLiquidity,e)}function me(e){return!!e&&(0,h.q9)(w.O0.removeLiquidity,e)}function fe(e){var t=!!(null===e||void 0===e?void 0:e.endsWith(w.Dq)),n=!1,r=null,o=null;if(e){var i=e.split("_"),s=(0,a.Z)(i,2);r=s[0],o=s[1],n=w.D4.includes(r)&&g.$L.test(o)||t}return{valid:n,isName:t,prefix:r,hash:o}}function ve(e){var t=fe(e),n=t.valid,a=t.prefix;return n&&a===p.e.ContractAddress}function ge(e){return(0,m.NX)(e,p.e.AccountAddress)||(0,m.NX)(e,p.e.ContractAddress)||(0,m.NX)(e,p.e.OracleAddress)}function he(e){return ge(e)||(0,m.NX)(e,p.e.Channel)}function we(e){return new f.Z(L.from(e).length===w.aP?i().sign.keyPair.fromSeed(L.from(e)).secretKey:L.from(e))}},74906:(e,t,n)=>{"use strict";n.d(t,{T:()=>l});var a,r=n(62118),o=n(79112),i=n(55665),s=(n(92222),n(27469)),u=n(34601),l=function(){function e(t){(0,o.Z)(this,e),this.explorerUrl=t}return(0,i.Z)(e,[{key:"prepareUrlByHash",value:function(t){var n=e.getEndpointByHash(t);return n?"".concat(this.explorerUrl,"/").concat(n,"/").concat(t):void 0}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/accounts/").concat(e)}}],[{key:"getEndpointByHash",value:function(t){var n=(0,u.ax)(t),a=n.valid,r=n.prefix;if(a&&r)return e.ADDRESS_TYPES[r]}}]),e}();l.ADDRESS_TYPES=(a={},(0,r.Z)(a,s.e.AccountAddress,"accounts"),(0,r.Z)(a,s.e.ContractAddress,"contracts"),(0,r.Z)(a,s.e.Name,"names"),(0,r.Z)(a,s.e.OracleAddress,"oracles/queries"),(0,r.Z)(a,s.e.TxHash,"transactions"),a)},3437:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>d,Nd:()=>s,Uz:()=>c,Vn:()=>p,ir:()=>u,lT:()=>m,uZ:()=>l,zM:()=>f});var a,r,o=n(62118),i=n(79323),s="bitcoin",u="BTC",l="Bitcoin",c=8,d="bitcoin",p=546,m=(a={},(0,o.Z)(a,i.sI,{nodeUrl:"https://blockstream.info/api"}),(0,o.Z)(a,i.Rn,{nodeUrl:"https://blockstream.info/testnet/api"}),a),f=(r={},(0,o.Z)(r,i.sI,{explorerUrl:"https://blockstream.info"}),(0,o.Z)(r,i.Rn,{explorerUrl:"https://blockstream.info/testnet"}),r)},49097:(e,t,n)=>{"use strict";n.d(t,{CG:()=>d,Ez:()=>l,oK:()=>c});var a=n(70794),r=n(95488),o=n(17656),i=n(79323),s=n(3437);function u(e){return e/Math.pow(10,s.Uz)}function l(e,t){try{var n=o.QW[t];return(0,r.toOutputScript)(e,n),!0}catch(a){return!1}}function c(e,t){var n,r;return new a.Z((null===(n=e.tx)||void 0===n?void 0:n.amount)||0).plus(t?0:(null===(r=e.tx)||void 0===r?void 0:r.fee)||0).toNumber()}function d(e,t){var n=e.fee,a=e.status,r=e.txid,o=e.vin,s=e.vout;return{protocol:i.ou,transactionOwner:t,hash:r,microTime:1e3*a.block_time,pending:!a.confirmed,tx:{amount:u(s[0].value),fee:u(n),senderId:o[0].prevout.scriptpubkey_address,recipientId:s[0].scriptpubkey_address,type:"SpendTx",arguments:[],callerId:"",contractId:""}}}},57940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m,a:()=>u,tg:()=>l});var a=n(25706),r=(n(35666),n(33948),n(41539),n(78783),n(26699),n(32023),n(2707),n(21249),n(69720),n(68309),n(69826),n(79150)),o=n(45984),i=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},s="en",u=(0,r.o)({allowComposition:!0,fallbackLocale:s,locale:s,messages:{en:o}}),l=u.global.t,c={en:{name:"English",getMessages:function(){return Promise.resolve().then(n.t.bind(n,45984,19))}},cn:{name:"中国人",getMessages:function(){return n.e(76).then(n.t.bind(n,44655,19))}}},d=function(e){return i(void 0,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(u.global.availableLocales.includes(e)){t.next=5;break}return t.next=3,c[e].getMessages();case 3:n=t.sent["default"],u.global.setLocaleMessage(e,n);case 5:u.global.locale.value=e;case 6:case"end":return t.stop()}}),t)})))},p=function(){var e=navigator.language.split("-")[0];return c[e]?e:s}();const m=function(e){var t;e.registerModule("languages",{namespaced:!0,state:{activeCode:(null===(t=e.state.languages)||void 0===t?void 0:t.activeCode)||p},getters:{list:function(){return Object.entries(c).map((function(e){var t=(0,a.Z)(e,2),n=t[0],r=t[1].name;return{code:n,name:r}})).sort()},active:function(e,t){var n=e.activeCode,a=t.list;return a.find((function(e){var t=e.code;return t===n}))}},mutations:{setActiveCode:function(e,t){e.activeCode=t}}}),e.watch((function(e){var t=e.languages.activeCode;return t}),(function(e){return d(e)}),{immediate:!0})}},48854:(e,t,n)=>{"use strict";n.d(t,{er:()=>F,vz:()=>E,MX:()=>R,bO:()=>ce,NH:()=>B,CO:()=>Z,Ds:()=>U,cG:()=>le,mR:()=>ue,Bf:()=>P,SC:()=>ge,cs:()=>M,ID:()=>L,qJ:()=>O,rd:()=>N,p6:()=>he,uf:()=>we,Cl:()=>ye,mr:()=>ke,U5:()=>H,BR:()=>g,gg:()=>W,le:()=>V,B:()=>Ue,DM:()=>Se,pX:()=>xe,oE:()=>De,ac:()=>q,q9:()=>z,eN:()=>Y,TM:()=>$,XD:()=>G,Bo:()=>Ee,pM:()=>Fe,oL:()=>K,zG:()=>J,uz:()=>Q,Tm:()=>be,R0:()=>X,e8:()=>j,Kg:()=>ee,D$:()=>te,EC:()=>ne,wC:()=>ae,Yt:()=>re,ju:()=>Ce,FP:()=>oe,aS:()=>ie,mu:()=>se});var a=n(2714);n(91058),n(96647),n(83710),n(41539),n(39714),n(83650),n(74916),n(77601);function r(e){var t,n=40,a=16,r=0,o=0,i=encodeURI(e)+"%80",s=[],u=[],l=1732584193,c=4023233417,d=~l,p=~c,m=3285377520,f=[l,c,d,p,m],v=0,g="";function h(e,t){return e<>>32-t}for(;r>2]=s[o>>2]|("%"==i[r]?parseInt(i.substring(r+1,r+=3),16):i.charCodeAt(r++))<<8*(3-(3&o));for(t=(1+(o+7>>6))*a,s[t-1]=8*o-8;v>3]>>>4*(7-(7&r))&15).toString(16);return g}function o(e){return e|=0,e<0?"00":e<16?"0"+e.toString(16):e<256?e.toString(16):"ff"}function i(e,t,n){return n=n<0?n+6:n>6?n-6:n,o(255*(n<1?e+(t-e)*n:n<3?t:n<4?e+(t-e)*(4-n):e))}function s(e,t,n){var a;if(0==t){var r=o(255*n);a=r+r+r}else{var s=n<=.5?n*(t+1):n+t-n*t,u=2*n-s;a=i(u,s,6*e+2)+i(u,s,6*e)+i(u,s,6*e-2)}return"#"+a}function u(e,t,n){var a=[.55,.5,.5,.46,.6,.55,.55],r=a[6*e+.5|0];return n=n<.5?n*r*2:r+(n-.5)*(1-r)*2,s(e,t,n)}function l(e,t){return e=t.X(e),[u(e,t.F,t.G(0)),u(e,t.o,t.p(.5)),u(e,t.F,t.G(1)),u(e,t.o,t.p(1)),u(e,t.o,t.p(0))]}function c(e,t,n){return parseInt(e.substr(t,n),16)}function d(e){return r(null==e?"":""+e)}function p(e){return/^[0-9a-f]{11,}$/i.test(e)&&e}var m={lightness:{color:.57,grayscale:[.47,.58]},saturation:{color:.83,grayscale:.42},backColor:"#12121bff"};function f(e){if(/^#[0-9a-f]{3,8}$/i.test(e)){var t,n=e.length;if(n<6){var a=e[1],r=e[2],o=e[3],i=e[4]||"";t="#"+a+a+r+r+o+o+i+i}return(7==n||n>8)&&(t=e),t}}function v(e,t){var n="object"==(0,a.Z)(e)&&e||rootConfigurationHolder[CONFIG_PROPERTIES.n]||GLOBAL[CONFIG_PROPERTIES.W]||{},r=n["lightness"]||{},o=n["saturation"]||{},i="color"in o?o["color"]:o,s=o["grayscale"],u=n["backColor"],l=n["padding"];function c(e,t){var n=r[e];return n&&n.length>1||(n=t),function(e){return e=n[0]+e*(n[1]-n[0]),e<0?0:e>1?1:e}}function d(e){var t,a=n["hues"];return a&&a.length>0&&(t=a[0|.999*e*a.length]),"number"==typeof t?(t/360%1+1)%1:e}return{X:d,o:"number"==typeof i?i:.5,F:"number"==typeof s?s:0,p:c("color",[.4,.8]),G:c("grayscale",[.3,.9]),H:f(u),Y:"number"==typeof e?e:"number"==typeof l?l:t}}var g=function(e){var t=p(e)||d(e),n=c(t,-7)/268435455,a=v(m,.08);return l(n,a)[4]},h=n(25706),w=n(95822),y=(n(35666),n(15306),n(33948),n(56977),n(69600),n(92222),n(79753),n(5212),n(32564),n(57658),n(68309),n(47941),n(26699),n(32023),n(85827),n(38862),n(2707),n(21249),n(34553),n(44048),n(9653),n(4723),n(47042),n(23157),n(94986),n(57327),n(78783),n(91038),n(27852),n(26541),n(66252)),k=n(27860),b=n(48001),C=n(70794),A=n(94161),x=n(79150),_=n(79323),D=n(57940),T=n(49097),S=n(34502),I=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function F(e){var t=2,n="object"===(0,a.Z)(e)?e:new C.Z(e);return n.lt(.01)&&n.toString().length-t<_.x0?n.toFixed():n.toFixed(n.lt(.01)?_.x0:_.dp)}function E(e){return ee(3*e*60)}function R(e){var t=F(e).replace(/\D/g,"").length;return t<=8?"18px":t<=11?"16px":t<=14?"14px":"12px"}function B(e){return fetch(e).then((function(e){return!!e.ok}))["catch"]((function(){return!1}))}function Z(e,t){return(null===e||void 0===e?void 0:e.toLocaleLowerCase())===(null===t||void 0===t?void 0:t.toLocaleLowerCase())}function U(e){return[_.hk].concat((0,w.Z)(Array.isArray(e)?e:[e])).join("_")}function P(e,t){var n;return null===(n=e.validation)||void 0===n?void 0:n.some((function(e){var n=e.key;return t===n}))}function M(e){return!!e}function L(e,t){return e(),setInterval(e,t)}function O(e,t){return I(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a,r,o,i,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:a=[],r="";case 2:if(null===r){n.next=12;break}return n.next=5,r?t(r):e();case 5:o=n.sent,i=o.data,s=o.next,(null===i||void 0===i?void 0:i.length)&&a.push.apply(a,(0,w.Z)(i)),r=s||null,n.next=2;break;case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})))}function N(e,t){return I(this,void 0,void 0,regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,fetch(e,t);case 2:if(a=n.sent,204!==a.status){n.next=5;break}return n.abrupt("return",null);case 5:return n.abrupt("return",a.json());case 6:case"end":return n.stop()}}),n)})))}function W(e){var t=e.protocol,n=e.protocolIdx;return"".concat(t||""," ").concat((0,D.tg)("pages.account.heading")," ").concat((n||0)+1)}function H(e){return(null===e||void 0===e?void 0:e.name)||W({protocol:null===e||void 0===e?void 0:e.protocol,protocolIdx:null===e||void 0===e?void 0:e.idx})}function V(e){var t=window.localStorage.getItem([_.hk].concat((0,w.Z)(e)).join("_"));return t?JSON.parse(t):void 0}function j(e){return window.localStorage.removeItem([_.hk].concat((0,w.Z)(e)).join("_"))}function q(e){return console.warn("Unknown rejection",e)}function z(e,t){return e.includes(t)}function Y(e,t){return null===e||void 0===e?void 0:e.toLocaleLowerCase().includes(null===t||void 0===t?void 0:t.toLocaleLowerCase())}function $(e){return I(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,A.m.canShare();case 2:if(n=t.sent.value,!n){t.next=6;break}return t.next=6,A.m.share({text:e});case 6:case"end":return t.stop()}}),t)})))}function G(e){return 404===(null===e||void 0===e?void 0:e.statusCode)}function K(e){window.open(e,"_blank")}function J(e){return function(t){return e.reduce((function(e,t){return t(e)}),t)}}function Q(e,t){return N(e,Object.assign(Object.assign({method:"post",headers:{"Content-Type":"application/json"}},t),{body:(null===t||void 0===t?void 0:t.body)&&JSON.stringify(t.body)}))}function X(e){return(0,k.Z)(e,(function(e,t){return e.hash===t.hash&&e.transactionOwner===t.transactionOwner}))}function ee(e,t){var n=(0,x.QT)(),a=n.t,r=60,o=60*r,i=24*o;return et?"...":""):""}function se(e){return new Promise((function(t){var n=(0,y.YP)(e,(function(e){e&&(t(e),(0,b.Z)((function(){return n()})))}),{immediate:!0})}))}function ue(e,t){return t?t.startsWith("ak_")&&(0,S.NX)(t)?_.DJ:(0,T.Ez)(t,e)?_.ou:null:null}function le(e,t,n){return I(this,void 0,void 0,regeneratorRuntime.mark((function a(){var r,o,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=0,o=0,i=[];case 3:return a.prev=3,r=i.lastIndexOf(!0)+o,o+=i.length,a.next=8,Promise.all(Array.from(Array(_.Ug+r-o+1).keys(),(function(e){return e+o})).map((function(a){return e(t(n,a).address)})));case 8:i=a.sent,a.next=14;break;case 11:return a.prev=11,a.t0=a["catch"](3),a.abrupt("break",15);case 14:if(-1!==i.lastIndexOf(!0)&&i.filter((function(e){return!e})).length!==_.Ug){a.next=3;break}case 15:return a.abrupt("return",r);case 16:case"end":return a.stop()}}),a,null,[[3,11]])})))}function ce(e){var t=_.IE.endsWith("/")?_.IE.slice(0,-1):_.IE;return[e["x-success"],e["x-cancel"]].every((function(e){return e&&e.startsWith(t)}))}n(60285),n(41637),n(46229),n(17330),n(62062);var de=n(27484),pe=n.n(de),me=n(84110),fe=n.n(me);pe().extend(fe());const ve=pe();function ge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/(\r\n|\n|\r|\n\r)/gm," ").replace(/"/g,"")}function he(e){return new Date(+e).toLocaleDateString(_.ZW,{year:"2-digit",month:"2-digit",day:"2-digit"})}function we(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(_.ZW,t).format(e)}function ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(_.ZW,t).formatToParts(e)}function ke(e){return new Date(+e).toLocaleTimeString(navigator.language,{timeStyle:"short"})}function be(e){return ve().to(ve(e))}function Ce(e){return new URL(e.includes("://")?e:"https://".concat(e))}var Ae={ChannelCloseSoloTx:function(){return(0,D.tg)("transaction.type.channelCloseSoloTx")},ChannelSlashTx:function(){return(0,D.tg)("transaction.type.channelSlashTx")},ChannelSettleTx:function(){return(0,D.tg)("transaction.type.channelSettleTx")},ChannelSnapshotSoloTx:function(){return(0,D.tg)("transaction.type.channelSnapshotSoloTx")},ContractCreateTx:function(){return(0,D.tg)("transaction.type.contractCreateTx")},ContractCallTx:function(){return(0,D.tg)("transaction.type.contractCallTx")},GaMetaTx:function(){return(0,D.tg)("transaction.type.gaMetaTx")},GaAttachTx:function(){return(0,D.tg)("transaction.type.gaAttachTx")},NamePreclaimTx:function(){return(0,D.tg)("transaction.type.namePreclaimTx")},NameClaimTx:function(){return(0,D.tg)("transaction.type.nameClaimTx")},NameUpdateTx:function(){return(0,D.tg)("transaction.type.nameUpdateTx")},NameTransferTx:function(){return(0,D.tg)("transaction.type.nameTransferTx")},NameRevokeTx:function(){return(0,D.tg)("transaction.type.nameRevokeTx")},OracleRegisterTx:function(){return(0,D.tg)("transaction.type.oracleRegisterTx")},OracleExtendTx:function(){return(0,D.tg)("transaction.type.oracleExtendTx")},OracleQueryTx:function(){return(0,D.tg)("transaction.type.oraclePostQueryTx")},OracleResponseTx:function(){return(0,D.tg)("transaction.type.oracleRespondTx")},PayingForTx:function(){return(0,D.tg)("transaction.type.payingForTx")},SpendTx:function(){return(0,D.tg)("transaction.type.sentTx")}};function xe(e){var t=Ae[e];return t?t():""}var _e={NamePreclaimTx:function(){return(0,D.tg)("transaction.listType.namePreclaimTx")},NameClaimTx:function(){return(0,D.tg)("transaction.listType.nameClaimTx")},NameUpdateTx:function(){return(0,D.tg)("transaction.listType.nameUpdateTx")},NameTransferTx:function(){return(0,D.tg)("transaction.listType.nameTransferTx")},NameRevokeTx:function(){return(0,D.tg)("transaction.listType.nameRevokeTx")},SpendTx:function(){return(0,D.tg)("transaction.listType.sentTx")}};function De(e){var t=_e[e];return t?t():""}var Te={propose:function(){return(0,D.tg)("transaction.function.propose")},revoke:function(){return(0,D.tg)("transaction.function.revoke")},refuse:function(){return(0,D.tg)("transaction.function.refuse")},confirm:function(){return(0,D.tg)("transaction.function.confirm")},tip_token:function(){return(0,D.tg)("transaction.function.tip_token")},retip_token:function(){return(0,D.tg)("transaction.function.retip_token")}};function Se(e){var t=Te[e];return t?t():""}var Ie=n(48966);function Fe(e){try{var t=Ce(e);return["http:","https:"].includes(t.protocol)&&(0,Ie.isFQDN)(t.hostname)}catch(n){return!1}}function Ee(e){return e&&e.split(" ").length>=_.aP}var Re=n(3437),Be=/(?:[\0-@\[-`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u0530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07C9\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09EF\u09F2-\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B70\u0B72-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57-\u0D5E\u0D62-\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0EDB\u0EE0-\u0EFF\u0F01-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u1040-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16F0\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u194F\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19FF\u1A17-\u1A1F\u1A55-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BFF\u1C24-\u1C4C\u1C50-\u1C59\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u2182\u2185-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3007-\u3030\u3036-\u303A\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA620-\uA629\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6E6-\uA716\uA720\uA721\uA789\uA78A\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA802\uA806\uA80B\uA823-\uA83F\uA874-\uA881\uA8B4-\uA8F1\uA8F8-\uA8FA\uA8FC\uA8FF-\uA909\uA926-\uA92F\uA947-\uA95F\uA97D-\uA983\uA9B3-\uA9CE\uA9D0-\uA9DF\uA9E5\uA9F0-\uA9F9\uA9FF\uAA29-\uAA3F\uAA43\uAA4C-\uAA5F\uAA77-\uAA79\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAC3-\uAADA\uAADE\uAADF\uAAEB-\uAAF1\uAAF5-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABE3-\uABF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FEF\uDFFF]|\uD83A[\uDCC5-\uDCFF\uDD44-\uDD4A\uDD4C-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,Ze=[(0,D.tg)("validation.notSameAs").replace(Be,""),(0,D.tg)("validation.maxValueVault").replace(Be,"")];function Ue(e){return e?Ze.includes(e.replace(Be,"").replace(Re.ir,"").replace((0,D.tg)("common.tokens"),""))?{status:"warning",text:e}:{status:"error",text:e}:{status:"success"}}},92133:(e,t,n)=>{var a=n(91774)["default"],r=n(13930)["default"],o=n(1977)["default"];n(79753),n(41539),n(85827),n(57327),n(21249),n(47941),n(89554),n(54747),n(69720),n(38862),window.browser={runtime:{getURL:function(e){return e}},storage:{local:{get:function(e){var t=Array.isArray(e)?e:[e];return Promise.resolve(t.map((function(e){var t=localStorage.getItem(e);return[e,null===t?void 0:JSON.parse(t)]})).filter((function(e){var t=o(e,2),n=t[1];return void 0!==n})).reduce((function(e,t){var n=o(t,2),i=n[0],s=n[1];return r(r({},e),{},a({},i,s))}),{}))},set:function(e){return Object.entries(e).forEach((function(e){var t=o(e,2),n=t[0],a=t[1];return localStorage.setItem(n,JSON.stringify(a))})),Promise.resolve()},remove:function(e){var t=Array.isArray(e)?e:[e];return t.forEach((function(e){return localStorage.removeItem(e)})),Promise.resolve()},clear:function(){return localStorage.clear(),Promise.resolve()}}}}},48244:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(62118),r=n(11538),o=n(25706),i=n(2714),s=(n(83753),n(85827),n(41539),n(21249),n(69720),n(79753),n(96647),n(83710),n(39714),n(5735),n(92222),n(89784)),u=n.n(s),l=n(70794),c=u()({storeAsString:!0}),d=function e(t){if("object"===(0,i.Z)(t)&&null!==t&&t.constructor===Object)return Object.entries(t).map((function(t){var n=(0,o.Z)(t,2),a=n[0],r=n[1];return[a,e(r)]})).reduce((function(e,t){var n=(0,o.Z)(t,2),i=n[0],s=n[1];return(0,r.Z)((0,r.Z)({},e),{},(0,a.Z)({},i,s))}),{});if(Array.isArray(t))return t.map((function(t){return e(t)}));if("string"===typeof t&&(0,l.Z)(t).toString(10)===t){var n=(0,l.Z)(t);return n.toJSON=function(){return n.toString(10)},n}return t.toString()};const p={stringify:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a{"use strict";n.d(t,{Z:()=>we});var a=n(33907),r=n(97144),o=n(11538),i=n(82998),s=(n(21249),n(70794)),u=n(75885),l=n(48854),c=n(79323),d=n(28243),p=n(34601),m=n(71584),f=["idx","type","protocol"];const v={wallet:function(e){var t=e.mnemonic;return t?(0,u.mnemonicToSeed)(t):null},accounts:function(e,t){var n=e.accounts.list;return t.wallet?n.map((function(e,n){var a=e.idx,r=e.type,s=e.protocol,u=void 0===s?c.DJ:s,l=(0,i.Z)(e,f);return(0,o.Z)((0,o.Z)({globalIdx:n,idx:a,type:r,protocol:u},l),r===c.yF?m.l.getAdapter(u).getHdWalletAccountFromMnemonicSeed(t.wallet,a):{})})).map((function(e){var n=Object.assign({},((0,r.Z)(e),e));return(0,o.Z)((0,o.Z)({},n),{},{name:t["names/getDefault"](n.address)})})):[]},getTxSymbol:function(e){var t=e.fungibleTokens.availableTokens;return function(e){var n,a;if(e.pendingTokenTx)return null===(n=t[e.tx.contractId])||void 0===n?void 0:n.symbol;var r=e.tx&&(0,p.Bg)(e);return(null===(a=t[null===r||void 0===r?void 0:r.token])||void 0===a?void 0:a.symbol)||d.WJ}},getTxAmountTotal:function(e){var t=e.fungibleTokens.availableTokens;return function(e){var n,a,r,o,i,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.Dl.sent,d=e.tx&&(0,p.Bg)(e);if(d&&t[d.token])return+(0,l.Yt)(d.amount,-t[d.token].decimals);var m=u===c.Dl.received;return+(0,p.mW)(new s.Z((null===(n=e.tx)||void 0===n?void 0:n.amount)||(null===(a=e.tx)||void 0===a||null===(a=a.tx)||void 0===a||null===(a=a.tx)||void 0===a?void 0:a.amount)||(null===(r=e.tx)||void 0===r?void 0:r.nameFee)||0).plus(m?0:(null===(o=e.tx)||void 0===o?void 0:o.fee)||0).plus(m?0:(null===(i=e.tx)||void 0===i||null===(i=i.tx)||void 0===i||null===(i=i.tx)||void 0===i?void 0:i.fee)||0))}}};n(34553),n(57658);const g={setNotificationSettings:function(e,t){e.notificationSettings=t},toggleNotificationSetting:function(e,t){var n=e.notificationSettings.findIndex((function(e){return e.type===t}));e.notificationSettings[n].checked=!e.notificationSettings[n].checked},setChainNames:function(e,t){e.chainNames=t},setMnemonic:function(e,t){e.mnemonic=t},setBackedUpSeed:function(e){e.backedUpSeed=!0},setSaveErrorLog:function(e,t){e.saveErrorLog=t},hideCard:function(e,t){e.hiddenCards.push(t)}};var h=n(70780),w=n(25706),y=n(42010),k=(n(35666),n(33948),n(74916),n(4723),n(5212),n(41539),n(26699),n(32023),n(23157),n(78783),n(14838));function b(e){var t=e.match(/https:\/\/twitter.com\/[a-zA-Z0-9_]+/g);return!!t&&t[0]}const C=function(e){return e.registerModule("tipUrl",{namespaced:!0,state:{verifiedUrls:[],blacklistedUrls:[]},getters:{status:function(t){var n=t.verifiedUrls,a=t.blacklistedUrls;return function(t){if(e.dispatch("tipUrl/ensureFetched"),!t)return"default";var r,o=b(t),i=o||t;return r=a.some((function(e){return i.includes(e)}))?"blacklisted":n.includes(i)?"verified":(0,l.pM)(i)&&i.startsWith("http:")?"not-secure":"not-verified",r}}},mutations:{setVerified:function(e,t){e.verifiedUrls=t},setBlacklisted:function(e,t){e.blacklistedUrls=t}},actions:{ensureFetched:function(e){return(0,y.Z)(regeneratorRuntime.mark((function t(){var n,a,r,o,i,s,u,c,d,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.state,a=n.verifiedUrls,r=n.blacklistedUrls,o=e.commit,!a.length||!r.length){t.next=3;break}return t.abrupt("return");case 3:return i=(0,k.C)(),s=i.aeActiveNetworkSettings,t.next=6,Promise.all([(0,l.rd)("".concat(s.value.backendUrl,"/verified")),(0,l.rd)("".concat(s.value.backendUrl,"/static/wallet/graylist"))]);case 6:u=t.sent,c=(0,w.Z)(u,2),d=c[0],p=c[1],o("setVerified",d),o("setBlacklisted",p);case 12:case"end":return t.stop()}}),t)})))()}}})};n(33792),n(69826),n(68309),n(92222),n(85827),n(57327),n(84944);var A=n(66252),x=n(9697),_=n(57940),D=["tx"];const T=function(e){var t=(0,k.C)(),n=t.aeActiveNetworkSettings,a=(0,x.cn)({store:e}),r=a.nodeNetworkId,s=a.getAeSdk,u=a.fetchRespondChallenge,d=(0,x.dp)(),m=d.isMiddlewareReady,f=d.getMiddleware,v=d.getMiddlewareRef,g=d.fetchFromMiddlewareCamelCased,h=(0,x.DQ)({store:e}),b=h.fetchPendingTransactions,C=(0,x.ol)(),T=C.openDefaultModal,S=(0,x.xe)({store:e}),I=S.aeAccounts,F=S.aeNextAccountIdx,E=S.getLastActiveProtocolAccount;e.registerModule("names",{namespaced:!0,state:{owned:[],defaults:{},preferred:{},auctions:{},pendingAutoExtendNames:[],areNamesFetching:!1},getters:{get:function(e){var t=e.owned;return function(e){return t.find((function(t){return t.name===e}))}},getDefault:function(e){var t=e.defaults;return function(e){return t?t["".concat(e,"-").concat(r.value)]:""}},getPreferred:function(t,n){var a=t.preferred,o=n.getDefault;return function(t){return E(c.DJ).address===t?o(t):(e.dispatch("names/setPreferred",t),a["".concat(t,"-").concat(r.value)]||"")}},getName:function(e){var t=e.owned;return function(e){return t.find((function(t){return t.name===e}))}},getAuction:function(e){var t=e.auctions;return function(e){return t[e]||null}},getHighestBid:function(e,t){var n=t.getAuction;return function(e){return n(e)&&n(e).bids.reduce((function(e,t){return e.nameFee.isGreaterThan(t.nameFee)?e:t}))}}},mutations:{setAreNamesFetching:function(e,t){e.areNamesFetching=t},set:function(e,t){e.owned=t},setDefault:function(e,t){var n=e.defaults,a=t.address,o=t.name;o?n["".concat(a,"-").concat(r.value)]=o:delete n["".concat(a,"-").concat(r.value)]},setAutoExtend:function(e,t){var n=t.name,a=t.value,r=e.owned.findIndex((function(e){return e.name===n}));e.owned[r].autoExtend=a},setPreferred:function(e,t){var n=e.preferred,a=t.address,o=t.name,i="".concat(a,"-").concat(r.value);o?n[i]=o:delete n[i]},setAuctionEntry:function(e,t){var n=t.name,a=t.expiration,r=t.bids;e.auctions[n]={expiration:a,bids:r}},setPendingAutoExtendName:function(e,t){e.pendingAutoExtendNames.push(t)}},actions:{fetchOwned:function(e){return(0,y.Z)(regeneratorRuntime.mark((function t(){var n,a,r,s,u,c,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.state,a=n.owned,r=n.pendingAutoExtendNames,s=e.commit,s("setAreNamesFetching",!0),u=function(e){return b(e).then((function(e){return e.filter((function(e){var t=e.tx.type;return"NameClaimTx"===t})).map((function(e){var t=e.tx,n=(0,i.Z)(e,D);return(0,o.Z)((0,o.Z)((0,o.Z)({},n),t),{},{owner:t.accountId})}))}))},t.next=5,f();case 5:return c=t.sent,t.next=8,Promise.all(I.value.map((function(e){var t=e.address;return Promise.all([u(t),(0,l.qJ)((function(){return c.getNames({owned_by:t,state:"active",limit:100})}),g).then((function(e){return e.map((function(e){var t,n=e.info,o=e.name,i=e.hash;return{createdAtHeight:n.activeFrom,expiresAt:n.expireHeight,owner:n.ownership.current,pointers:n.pointers,autoExtend:!!(null!==(t=a.find((function(e){return e.name===o})))&&void 0!==t&&t.autoExtend||null!==r&&void 0!==r&&r.includes(o)),name:o,hash:i}}))}))])}))).then((function(e){return e.flat(2)}));case 8:d=t.sent,s("set",d),s("setAreNamesFetching",!1);case 11:case"end":return t.stop()}}),t)})))()},fetchAuctions:function(){return(0,y.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:return t=e.sent,e.next=5,(0,l.qJ)((function(){return t.getNamesAuctions({by:"expiration",direction:"forward",limit:100})}),g);case 5:return e.abrupt("return",e.sent.map((function(e){var t=e.name,n=e.info;return{name:t,expiration:n.auctionEnd,lastBid:n.lastBid.tx}})));case 6:case"end":return e.stop()}}),e)})))()},updatePointer:function(e,t){return(0,y.Z)(regeneratorRuntime.mark((function e(){var n,a,r,o,i,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.name,a=t.address,r=t.type,o=void 0===r?"update":r,e.next=3,s();case 3:return i=e.sent,e.next=6,i.aensQuery(n);case 6:if(u=e.sent,e.prev=7,"extend"!==o){e.next=13;break}return e.next=11,u.extendTtl();case 11:e.next=16;break;case 13:if("update"!==o){e.next=16;break}return e.next=16,i.aensUpdate(n,{account_pubkey:a},{extendPointers:!0});case 16:T({msg:(0,_.tg)("pages.names.pointer-added",{type:o})}),e.next=22;break;case 19:e.prev=19,e.t0=e["catch"](7),e.t0.message.includes("Account not found")?(0,l.ac)(e.t0):T({msg:(0,p._X)(e.t0)?i18n.t("modals.insufficient-balance.msg"):e.t0.message});case 22:case"end":return e.stop()}}),e,null,[[7,19]])})))()},setDefaults:function(e){return(0,y.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,Promise.all(I.value.map(function(){var e=(0,y.Z)(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.address,e.next=3,(0,l.rd)("".concat(n.value.backendUrl,"/profile/").concat(r))["catch"]((function(){}));case 3:o=e.sent,a("setDefault",{address:r,name:null===o||void 0===o?void 0:o.preferredChainName});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return t.stop()}}),t)})))()},setDefault:function(e,t){return(0,y.Z)(regeneratorRuntime.mark((function a(){var r,o,i,s,c;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=e.commit,o=t.name,i=t.address,a.next=4,(0,l.uz)("".concat(n.value.backendUrl,"/profile/").concat(i),{body:{preferredChainName:o}});case 4:return s=a.sent,a.next=7,u(s);case 7:return c=a.sent,a.next=10,(0,l.uz)("".concat(n.value.backendUrl,"/profile/").concat(i),{body:c});case 10:r("setDefault",{name:o,address:i});case 11:case"end":return a.stop()}}),a)})))()},getAddress:function(e,t){return(0,y.Z)(regeneratorRuntime.mark((function e(){var n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(0,p.fF)(t)){e.next=2;break}return e.abrupt("return",t);case 2:if(!(0,p.qi)(t)){e.next=11;break}return e.next=5,f();case 5:return a=e.sent,e.next=8,a.getName(t);case 8:return r=e.sent,o=r.info,e.abrupt("return",null===(n=o.pointers)||void 0===n?void 0:n.accountPubkey);case 11:return e.abrupt("return","");case 12:case"end":return e.stop()}}),e)})))()},setPreferred:function(e,t){return(0,y.Z)(regeneratorRuntime.mark((function a(){var r,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=e.commit,a.next=3,(0,l.rd)("".concat(n.value.backendUrl,"/profile/").concat(t))["catch"]((function(){}));case 3:o=a.sent,null!==o&&void 0!==o&&o.preferredChainName?r("setPreferred",{address:t,name:null===o||void 0===o?void 0:o.preferredChainName}):r("setPreferred",{address:t});case 5:case"end":return a.stop()}}),a)})))()}}}),(0,A.YP)(v(),(0,y.Z)(regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!m.value){t.next=11;break}return t.next=3,Promise.all([s(),e.dispatch("names/fetchOwned")["catch"]((function(){})),e.dispatch("names/setDefaults")]);case 3:return n=t.sent,a=(0,w.Z)(n,1),r=a[0],t.next=8,r.getHeight();case 8:return o=t.sent,t.next=11,Promise.all(e.state.names.owned.filter((function(e){var t=e.autoExtend;return t})).filter((function(e){var t=e.expiresAt;return t-o{"use strict";n.d(t,{Z:()=>c,g:()=>l});var a=n(42010),r=n(11538),o=n(55665),i=n(79112),s=(n(35666),n(83710),n(68309),n(57658),n(34601)),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{addresses:e,address:t,messageSign:t,transactionSignLimit:t?50:0,transactionSignLimitLeft:t?50:0,transactionSignFirstAskedOn:null}},l=(0,o.Z)((function e(t){(0,i.Z)(this,e),this.host=t}));const c={namespaced:!0,state:{},mutations:{setTransactionSignLimit:function(e,t){var n=t.host,a=t.value;e[n]=(0,r.Z)((0,r.Z)({},e[n]),{},{transactionSignLimit:a,transactionSignLimitLeft:a,transactionSignFirstAskedOn:new Date})},setTransactionSignLimitLeft:function(e,t){var n=t.host,a=t.value;e[n]=(0,r.Z)((0,r.Z)({},e[n]),{},{transactionSignLimitLeft:a})},resetTransactionSignLimitLeft:function(e,t){e[t]=(0,r.Z)((0,r.Z)({},e[t]),{},{transactionSignLimitLeft:e[t].transactionSignLimit,transactionSignFirstAskedOn:new Date})},addAddressToHost:function(e,t){var n=t.host,a=t.address,o=t.name;e[n]?e[n].addresses.push(a):e[n]=(0,r.Z)((0,r.Z)({},u([a])),{},{name:o,host:n})},addPermission:function(e,t){e[t.host]=t},removePermission:function(e,t){delete e[t]}},actions:{checkTransactionSignPermission:function(e,t){var n=e.state,a=e.commit,r=t.host,o=t.amount,i=void 0===o?0:o,u=t.fee,l=void 0===u?0:u,c=t.nameFee,d=void 0===c?0:c,p=n[r]||{},m=p.transactionSignLimit,f=p.transactionSignFirstAskedOn;if(!m)return!1;(!f||new Date-new Date(f)>=864e5)&&a("resetTransactionSignLimitLeft",r);var v=n[r].transactionSignLimitLeft-(0,s.mW)(+i+ +l+ +d);return!(v<0)&&(a("setTransactionSignLimitLeft",{host:r,value:v}),!0)},checkPermissions:function(e,t){var n,a=e.dispatch,o=e.state,i=t.host,s=t.method,u=t.params,l=void 0===u?{}:u;if("transaction.sign"===s)return a("checkTransactionSignPermission",(0,r.Z)({host:i},l));var c={"connection.open":"address","address.subscribe":"address","message.sign":"messageSign","address.get":"addressList"};return null===(n=o[i])||void 0===n?void 0:n[c[s]]},requestAddressForHost:function(e,t){return(0,a.Z)(regeneratorRuntime.mark((function n(){var a,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.dispatch,r=t.host,o=t.connectionPopupCb,n.next=4,a("checkPermissions",{host:r,method:"connection.open"});case 4:if(!n.sent){n.next=6;break}return n.abrupt("return",!0);case 6:return n.prev=6,n.next=9,o();case 9:return n.abrupt("return",!0);case 12:return n.prev=12,n.t0=n["catch"](6),n.abrupt("return",!1);case 15:case"end":return n.stop()}}),n,null,[[6,12]])})))()},requestAllAddressesForHost:function(e,t){return(0,a.Z)(regeneratorRuntime.mark((function n(){var a,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.dispatch,r=t.host,o=t.connectionPopupCb,n.next=4,a("checkPermissions",{host:r,method:"address.get"});case 4:if(!n.sent){n.next=6;break}return n.abrupt("return",!0);case 6:return n.prev=6,n.next=9,o();case 9:return n.abrupt("return",!0);case 12:return n.prev=12,n.t0=n["catch"](6),n.abrupt("return",!1);case 15:case"end":return n.stop()}}),n,null,[[6,12]])})))()}}}},70780:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k,y:()=>w});var a=n(11538),r=n(25706),o=n(82998),i=n(42010),s=n(62118),u=(n(21703),n(96647),n(89554),n(41539),n(54747),n(69720),n(35666),n(64841)),l=n(50576),c=n(79082),d=n(79323),p=["isRestored"],m=["persistStateSavedBy"],f=["persistStateSavedBy"],v="state",g=function(e){return browser.storage.local.set((0,s.Z)({},v,d.D1?(0,u.Z)(e):e))},h=function(){var e=(0,i.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,browser.storage.local.get(v);case 2:return e.t0=v,e.abrupt("return",e.sent[e.t0]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=(0,i.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0={};case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=d.FH&&(d.un?"background":"popup");const k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e||{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){e.isRestored;var t=(0,o.Z)(e,p);return(0,c.Z)(t)};return function(){var n=(0,i.Z)(regeneratorRuntime.mark((function n(s){var c,p,w,k;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s.registerModule("persistState",{actions:!d.un&&{reset:function(){return(0,i.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c(),e.next=3,browser.storage.local.clear();case 3:if(d.FH&&browser.runtime.sendMessage({method:"reload"}),t={extension:"./index.html",ionic:"./index.html",web:"/"}[d.iw],t){e.next=7;break}throw new Error("Unknown platform");case 7:window.location=t;case 8:case"end":return e.stop()}}),e)})))()}},mutations:{syncState:function(e,t){Object.entries(t).forEach((function(e){var t=(0,r.Z)(e,2),n=t[0],a=t[1];s.state[n]=a}))}}}),n.t0=e,n.next=4,h();case 4:return n.t1=n.sent,n.next=7,(0,n.t0)(n.t1);case 7:p=n.sent,p.persistStateSavedBy,w=(0,o.Z)(p,m),s.commit("syncState",(0,a.Z)((0,a.Z)({},w),{},{isRestored:!0})),k=t((0,u.Z)(s.state)),c=s.subscribe(function(){var e=(0,i.Z)(regeneratorRuntime.mark((function e(n,r){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=(0,u.Z)(t(r)),!(0,l.Z)(o,k)){e.next=3;break}return e.abrupt("return");case 3:return k=o,e.next=6,g((0,a.Z)((0,a.Z)({},o),y&&{persistStateSavedBy:y}));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),d.FH&&browser.storage.onChanged.addListener((function(e,t){var n,a=null===(n=e[v])||void 0===n?void 0:n.newValue;if("local"===t&&a){var r=a.persistStateSavedBy,i=(0,o.Z)(a,f);r!==y&&(k=(0,u.Z)(i),s.commit("syncState",i))}}));case 14:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}},79082:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=function(e){var t=e.migrations,n=e.names,a=e.languages,r=e.backedUpSeed,o=e.mnemonic,i=e.saveErrorLog,s=e.invites,u=e.notificationSettings,l=e.permissions,c=e.fungibleTokens,d=e.accounts,p=void 0===d?{}:d,m=p.list,f=p.activeIdx,v=e.hiddenCards;return{migrations:t,names:n,languages:a,backedUpSeed:r,mnemonic:o,saveErrorLog:i,invites:s,notificationSettings:u,permissions:l,fungibleTokens:c,accounts:{list:m,activeIdx:f},hiddenCards:v}}},14201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.uE)('',3),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},40633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M5.95552 18.0443C6.147 18.2358 6.42146 18.3443 6.70868 18.3379L15.1274 18.3315C15.4274 18.3251 15.6635 18.2294 15.8486 18.0443C16.2507 17.6422 16.2571 17.0614 15.8678 16.672C15.6635 16.4678 15.4146 16.372 15.1529 16.3784L12.2616 16.3593L8.71921 16.5188L10.2957 15.121L18.0315 7.38527C18.4528 6.96401 18.4528 6.37681 18.0379 5.96194C17.6166 5.54068 17.0294 5.54068 16.6082 5.96194L8.8724 13.6977L7.48098 15.2678L7.63416 11.7319L7.61501 8.84051C7.6214 8.57883 7.52566 8.3299 7.32141 8.12566C6.93207 7.73632 6.35125 7.7427 5.94914 8.1448C5.76405 8.3299 5.66192 8.57244 5.65554 8.89796V17.2848C5.64916 17.572 5.75766 17.8464 5.95552 18.0443Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},6299:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M18.0314 5.95549C17.8399 5.76401 17.5655 5.65551 17.2782 5.66189L8.85952 5.66827C8.55954 5.67465 8.32338 5.77039 8.13828 5.95549C7.73618 6.3576 7.72979 6.93842 8.11914 7.32776C8.32338 7.532 8.5723 7.62775 8.83399 7.62136L11.7253 7.64051L15.2677 7.48094L13.6912 8.87874L5.95542 16.6145C5.53416 17.0358 5.53416 17.623 5.94903 18.0379C6.37029 18.4591 6.95749 18.4591 7.37875 18.0379L15.1145 10.3021L16.5059 8.73194L16.3528 12.2679L16.3719 15.1593C16.3655 15.421 16.4613 15.6699 16.6655 15.8741C17.0548 16.2635 17.6357 16.2571 18.0378 15.855C18.2229 15.6699 18.325 15.4273 18.3314 15.1018V6.71503C18.3378 6.42781 18.2293 6.15335 18.0314 5.95549Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},21800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.167368 0.167368C0.390524 -0.0557892 0.752333 -0.0557892 0.97549 0.167368L4 3.19188L7.02451 0.167368C7.24767 -0.0557892 7.60948 -0.0557892 7.83263 0.167368C8.05579 0.390524 8.05579 0.752333 7.83263 0.97549L4.40406 4.40406C4.1809 4.62722 3.8191 4.62722 3.59594 4.40406L0.167368 0.97549C-0.0557892 0.752333 -0.0557892 0.390524 0.167368 0.167368Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},32669:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M6.28388 16.2874C5.91275 16.6584 5.89508 17.321 6.29272 17.7008C6.67269 18.0984 7.34427 18.0807 7.7154 17.7097L12.0011 13.4251L16.2868 17.7097C16.6668 18.0895 17.3207 18.0984 17.7007 17.7008C18.0983 17.321 18.0895 16.6584 17.7095 16.2785L13.4238 11.994L17.7095 7.71829C18.0895 7.32959 18.0983 6.67587 17.7007 6.296C17.3207 5.89847 16.6668 5.9073 16.2868 6.28717L12.0011 10.5717L7.7154 6.28717C7.34427 5.91614 6.67269 5.89847 6.29272 6.296C5.89508 6.67587 5.91275 7.33843 6.28388 7.70946L10.5696 11.994L6.28388 16.2874Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},3686:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M15.8888 9.16675H10.3888C9.71383 9.16675 9.16663 9.71396 9.16663 10.389V15.889C9.16663 16.564 9.71383 17.1112 10.3888 17.1112H15.8888C16.5639 17.1112 17.1111 16.564 17.1111 15.889V10.389C17.1111 9.71396 16.5639 9.16675 15.8888 9.16675Z",stroke:"currentColor","stroke-opacity":"0.85","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=(0,a._)("path",{d:"M6.72213 12.8334H6.11102C5.78686 12.8334 5.47599 12.7046 5.24677 12.4754C5.01756 12.2462 4.88879 11.9353 4.88879 11.6111V6.11114C4.88879 5.78698 5.01756 5.47611 5.24677 5.2469C5.47599 5.01769 5.78686 4.88892 6.11102 4.88892H11.611C11.9352 4.88892 12.246 5.01769 12.4753 5.2469C12.7045 5.47611 12.8332 5.78698 12.8332 6.11114V6.72225",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),s=[o,i];function u(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,s)}var l=n(83744);const c={},d=(0,l.Z)(c,[["render",u]]),p=d},28904:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M19.2202 4.67847H4.77995C2.95486 4.67847 2.00006 5.62481 2.00006 7.43301V8.19346H22.0001V7.43301C22.0001 5.62481 21.0537 4.67847 19.2202 4.67847ZM5.53196 16.6176C5.03344 16.6176 4.69546 16.2881 4.69546 15.8065V14.2433C4.69546 13.7701 5.03344 13.4322 5.53196 13.4322H7.60209C8.09216 13.4322 8.43014 13.7701 8.43014 14.2433V15.8065C8.43014 16.2881 8.09216 16.6176 7.60209 16.6176H5.53196ZM4.77995 19.3215H19.2202C21.0537 19.3215 22.0001 18.3667 22.0001 16.5585V10.1791H2.00006V16.5585C2.00006 18.3751 2.95486 19.3215 4.77995 19.3215Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},26041:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M14.6667 11.6111V15.2778C14.6667 15.6019 14.5379 15.9128 14.3087 16.142C14.0795 16.3712 13.7686 16.5 13.4444 16.5H6.72222C6.39807 16.5 6.08719 16.3712 5.85798 16.142C5.62877 15.9128 5.5 15.6019 5.5 15.2778V8.55556C5.5 8.2314 5.62877 7.92052 5.85798 7.69131C6.08719 7.4621 6.39807 7.33333 6.72222 7.33333H10.3889M12.8333 5.5H16.5M16.5 5.5V9.16667M16.5 5.5L9.77778 12.2222",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},67962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.33209 4.50633L11.0376 4.90916C11.2965 4.41113 11.8172 4.07007 12.4161 4.07007C13.0206 4.07007 13.5429 4.41086 13.8021 4.90849L17.5084 4.50633C18.2633 4.42241 18.8001 4.90057 18.8001 5.62204C18.8001 6.35197 18.2633 6.83845 17.5084 6.75467L13.8002 6.34499C13.6571 6.61958 13.4344 6.84584 13.1627 6.99368V8.00465H13.6662C14.3287 8.00465 14.7399 8.41567 14.7399 9.07846V10.0348H14.9665C15.3355 10.0348 15.4781 10.1438 15.6291 10.5633L16.1409 11.9476C16.1836 12.0645 16.2631 12.1613 16.3756 12.2165C16.4406 12.2483 16.5164 12.2663 16.6023 12.2663H16.963C19.6813 12.2663 22.5 13.8687 22.5 18.6422V19.4223C22.5 19.7747 22.3322 19.9341 21.9798 19.9341H18.9094C18.5571 19.9341 18.3976 19.7747 18.3976 19.4223V18.2563C18.3976 17.1489 17.7348 16.5365 16.9044 16.5365C16.468 16.5365 15.9731 16.7294 15.5955 17.1069C14.6561 17.9711 13.8088 18.5415 12.4078 18.5415C10.9984 18.5415 9.89919 17.8788 9.07715 16.9812C8.70816 16.5533 8.44793 16.4861 7.92774 16.4861H3.85056V17.9207C3.85056 18.2899 3.5487 18.6002 3.17112 18.6002C2.80212 18.6002 2.5 18.2899 2.5 17.9207V11.0667C2.5 10.6976 2.80212 10.3871 3.17112 10.3871C3.5487 10.3871 3.85056 10.6976 3.85056 11.0667V12.2663H8.21294C8.4396 12.2663 8.59885 12.1321 8.67459 11.9476L9.17786 10.5633C9.33711 10.1438 9.47139 10.0348 9.84065 10.0348H10.0754V9.07846C10.0754 8.41567 10.4865 8.00465 11.141 8.00465H11.6778V6.99516C11.406 6.84718 11.1831 6.62012 11.0397 6.34432L7.33209 6.75467C6.56886 6.83845 6.03175 6.35197 6.03175 5.62204C6.03175 4.90057 6.56886 4.42241 7.33209 4.50633Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},92350:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM8.14255 4.20915C5.32236 5.60819 3.37003 8.49343 3.30984 11.8406C3.96861 11.9404 4.59539 12.1157 4.63655 12.4582C4.65044 12.5704 4.65925 12.69 4.66784 12.8064C4.66952 12.8292 4.6712 12.8519 4.6729 12.8744L4.67296 12.8754C4.71136 13.4318 4.75104 14.0067 5.20353 14.2064C5.2495 14.2275 5.29937 14.2389 5.34995 14.2397C5.53998 14.2397 5.67809 14.069 5.82658 13.8619L5.84424 13.838C5.97508 13.6559 6.09865 13.4842 6.25961 13.4842C6.31785 13.4863 6.37406 13.5062 6.42056 13.5415C6.61654 13.6617 6.82176 13.7661 7.03427 13.8536L7.048 13.8598C7.59079 14.1038 8.19938 14.3774 8.19938 14.7901C8.19327 15.0147 8.1749 15.2388 8.14434 15.4613C8.09034 15.9202 8.0405 16.3531 8.19938 16.4624C8.67464 16.9005 9.08327 17.406 9.41225 17.9629C9.43 18.0796 9.45815 18.1945 9.49637 18.3063C9.61978 18.6222 9.67328 18.9613 9.65317 19.3C9.52869 19.6252 9.36796 19.9345 9.17453 20.222C10.0604 20.5264 11.0109 20.6916 12 20.6916C16.8002 20.6916 20.6916 16.8002 20.6916 12C20.6916 11.495 20.6485 11.0001 20.5659 10.5187C20.4129 10.7734 20.1635 11.0284 19.8966 11.3014L19.8858 11.3125C19.2627 11.9421 18.5659 12.6559 18.8089 13.6445C18.8228 13.6912 18.8267 13.7404 18.8204 13.7888C18.8142 13.8372 18.7979 13.8837 18.7726 13.9254C18.622 14.1679 18.1495 14.273 17.6428 14.3843C17.0949 14.4314 16.5773 14.6561 16.1682 15.0243C16.0585 15.1698 15.9142 15.2854 15.7484 15.3605C15.5825 15.4355 15.4006 15.4677 15.2191 15.454C14.7713 15.4352 14.3317 15.327 13.9263 15.1356C13.8639 15.111 13.7969 15.1003 13.73 15.1044C13.647 15.1044 13.5514 15.1134 13.4491 15.123C13.4413 15.1237 13.4336 15.1245 13.4258 15.1252H13.4081L13.4018 15.1258C13.2766 15.137 13.1643 15.1471 13.055 15.1471C12.9706 15.1577 12.8849 15.1502 12.8037 15.1251C12.7224 15.1 12.6474 15.0578 12.5836 15.0014C12.5433 14.948 12.5151 14.8865 12.5009 14.8211C12.4868 14.7556 12.487 14.6879 12.5016 14.6226C12.5846 13.9402 13.0517 13.7653 13.6434 13.5437C13.6566 13.5387 13.6704 13.5335 13.6838 13.5285C13.8313 13.4729 13.9839 13.4154 14.1391 13.3448C14.7799 13.0565 15.6916 12.2001 15.6615 11.8078C15.6585 11.768 15.6422 11.7303 15.6153 11.7009C15.5884 11.6715 15.5523 11.6519 15.513 11.6455C14.7158 11.3947 13.9842 10.9696 13.3709 10.401C12.7576 9.83232 12.2781 9.13429 11.9668 8.35729C11.9159 8.34688 11.8837 8.14917 11.8442 7.89839C11.758 7.35417 11.6262 6.53315 11.161 6.49777C11.1294 6.49777 11.0981 6.49597 11.0667 6.49415C11.035 6.49232 11.0032 6.49049 10.9709 6.49049C10.7902 6.49348 10.6098 6.50808 10.4309 6.53419C10.2375 6.56103 10.0426 6.57563 9.84735 6.5779C9.59361 6.57653 9.34067 6.54933 9.09242 6.49673C8.29387 6.3344 8.26168 5.88279 8.20561 4.98165C8.19127 4.75485 8.1739 4.49768 8.14255 4.20915Z",fill:"white"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},13529:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.09196L9.00282 0H24.9972L34 8.09196L17.0479 24L0 8.09196ZM10.0085 2.48276H14.893L25.3324 12.7356L17 20.5517L3.73521 8.13794L10.0085 2.48276Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},28255:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M16.8246 5.12346L17.9121 4.04114C18.4509 3.49998 18.4709 2.90871 17.982 2.40763L17.5929 2.00678C17.104 1.51572 16.4954 1.56583 15.9666 2.09697L14.8791 3.16927L16.8246 5.12346ZM4.60249 17.3797L15.8668 6.06547L13.9312 4.13133L2.66691 15.4255L1.68914 17.7906C1.57939 18.0912 1.88868 18.422 2.188 18.3117L4.60249 17.3797Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},43625:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M23.9903 44C34.9522 44 44 34.9478 44 24C44 13.0522 34.9328 4 23.971 4C13.0285 4 4 13.0522 4 24C4 34.9478 13.0478 44 23.9903 44ZM14.6332 24.0193C14.6332 22.8781 15.4451 22.0851 16.5665 22.0851H22.0764V16.5725C22.0764 15.4507 22.8497 14.6576 23.9517 14.6576C25.0923 14.6576 25.885 15.4507 25.885 16.5725V22.0851H31.4142C32.5162 22.0851 33.3282 22.8781 33.3282 24.0193C33.3282 25.1219 32.5162 25.9149 31.4142 25.9149H25.885V31.4275C25.885 32.53 25.0923 33.3424 23.9517 33.3424C22.8497 33.3424 22.0764 32.53 22.0764 31.4275V25.9149H16.5665C15.4451 25.9149 14.6332 25.1219 14.6332 24.0193Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},39702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.uE)('',1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},76575:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M12 22C17.4695 22 22 17.4792 22 12C22 6.53049 17.4695 2 11.9903 2C6.52081 2 2 6.53049 2 12C2 17.4792 6.53049 22 12 22ZM12 20.0348C7.54695 20.0348 3.97483 16.453 3.97483 12C3.97483 7.54695 7.53727 3.97483 11.9903 3.97483C16.4434 3.97483 20.0252 7.54695 20.0348 12C20.0348 16.453 16.453 20.0348 12 20.0348Z",fill:"currentColor"},null,-1),i=(0,a._)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,s)}var l=n(83744);const c={},d=(0,l.Z)(c,[["render",u]]),p=d},95936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r={viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("circle",{opacity:"0.5",cx:"8.50016",cy:"8.24998",r:"6.66667",fill:"currentColor"},null,-1),i=(0,a._)("path",{d:"M4.5 8.39293C4.49979 8.02697 4.54964 7.6627 4.64819 7.31026L5.38191 7.51598C5.18682 8.21199 5.23051 8.95329 5.506 9.62157C5.7815 10.2898 6.27292 10.8466 6.90183 11.2029C7.53074 11.5592 8.26089 11.6946 8.97573 11.5874C9.69058 11.4802 10.3489 11.1367 10.8457 10.6116C11.3424 10.0865 11.649 9.41012 11.7164 8.69044C11.7838 7.97075 11.6081 7.24923 11.2175 6.64103C10.8269 6.03284 10.2438 5.57303 9.56123 5.335C8.87872 5.09696 8.13613 5.09442 7.452 5.32779L7.90571 5.86836C7.92848 5.89544 7.94326 5.92832 7.94838 5.96332C7.95351 5.99832 7.94879 6.03406 7.93475 6.06653C7.92071 6.09901 7.89791 6.12692 7.86889 6.14716C7.83988 6.1674 7.8058 6.17916 7.77048 6.18112L5.91638 6.28588C5.88665 6.28777 5.85689 6.28265 5.8295 6.27095C5.8021 6.25925 5.77783 6.24128 5.75864 6.2185C5.73945 6.19571 5.72587 6.16874 5.71899 6.13976C5.71212 6.11077 5.71214 6.08057 5.71905 6.0516L6.15029 4.24931C6.15851 4.21508 6.17606 4.1838 6.20099 4.15894C6.22592 4.13407 6.25725 4.11661 6.29151 4.10848C6.32576 4.10035 6.3616 4.10187 6.39504 4.11288C6.42849 4.12389 6.45822 4.14395 6.48095 4.17084L6.93429 4.71255C7.72546 4.37601 8.60402 4.30335 9.43974 4.50534C10.2755 4.70733 11.0238 5.17323 11.574 5.83397C12.1241 6.49471 12.4467 7.31512 12.494 8.1736C12.5412 9.03209 12.3106 9.88294 11.8363 10.6001C11.3619 11.3172 10.6692 11.8624 9.86068 12.1548C9.05217 12.4473 8.17094 12.4715 7.34761 12.2238C6.52429 11.9761 5.80268 11.4697 5.28976 10.7797C4.77684 10.0896 4.4999 9.25271 4.5 8.39293Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,s)}var l=n(83744);const c={},d=(0,l.Z)(c,[["render",u]]),p=d},64327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.1111 15.9498C13.8923 16.4718 14.8107 16.7504 15.7502 16.7504C17.01 16.7504 18.2182 16.2499 19.1091 15.3591C19.9999 14.4682 20.5004 13.26 20.5004 12.0002C20.5004 11.0607 20.2218 10.1423 19.6998 9.36112C19.1779 8.57996 18.436 7.97112 17.568 7.61159C16.7 7.25206 15.7449 7.15799 14.8235 7.34128C13.902 7.52456 13.0556 7.97697 12.3913 8.6413C11.727 9.30562 11.2746 10.152 11.0913 11.0735C10.908 11.9949 11.0021 12.95 11.3616 13.818C11.7211 14.686 12.33 15.4279 13.1111 15.9498ZM12.2778 17.197C13.3056 17.8838 14.514 18.2504 15.7502 18.2504C17.4078 18.2504 18.9976 17.5919 20.1697 16.4197C21.3419 15.2476 22.0004 13.6578 22.0004 12.0002C22.0004 10.764 21.6338 9.55561 20.947 8.52777C20.2602 7.49993 19.2841 6.69883 18.142 6.22577C17 5.75271 15.7433 5.62893 14.5308 5.8701C13.3184 6.11126 12.2047 6.70653 11.3306 7.58064C10.4565 8.45474 9.86126 9.56842 9.6201 10.7808C9.37893 11.9933 9.50271 13.25 9.97577 14.392C10.4488 15.5341 11.2499 16.5102 12.2778 17.197Z",fill:"currentColor"},null,-1),i=(0,a._)("path",{d:"M8.25018 18.2504C7.01402 18.2504 5.80561 17.8838 4.77777 17.197C3.74993 16.5102 2.94883 15.5341 2.47577 14.392C2.00271 13.25 1.87893 11.9933 2.1201 10.7808C2.36126 9.56842 2.95653 8.45474 3.83064 7.58064C4.70474 6.70653 5.81842 6.11126 7.03083 5.8701C8.24325 5.62893 9.49995 5.75271 10.642 6.22577C11.7841 6.69883 12.7602 7.49993 13.447 8.52777C14.1338 9.55561 14.5004 10.764 14.5004 12.0002C14.5004 13.6578 13.8419 15.2476 12.6697 16.4197C11.4976 17.5919 9.90784 18.2504 8.25018 18.2504Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,s)}var l=n(83744);const c={},d=(0,l.Z)(c,[["render",u]]),p=d},86311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{d:"M6.47614 18.3334H13.5317C14.5524 18.3334 15.1485 17.7895 15.1932 16.7763L15.6626 6.01036H16.6907C17.0707 6.01036 17.3613 5.71234 17.3613 5.33982C17.3613 4.9673 17.0632 4.68418 16.6907 4.68418H13.4572V3.56661C13.4572 2.37454 12.6898 1.66675 11.4083 1.66675H8.57717C7.29569 1.66675 6.5283 2.37454 6.5283 3.56661V4.68418H3.3097C2.93718 4.68418 2.63916 4.97475 2.63916 5.33982C2.63916 5.7198 2.93718 6.01036 3.3097 6.01036H4.34531L4.82214 16.7763C4.8594 17.7895 5.45543 18.3334 6.47614 18.3334ZM8.07799 3.63367C8.07799 3.2984 8.30896 3.08233 8.68148 3.08233H11.3115C11.684 3.08233 11.915 3.2984 11.915 3.63367V4.68418H8.07799V3.63367ZM7.60861 16.0461C7.3106 16.0461 7.10198 15.8524 7.09453 15.5544L6.87102 7.64201C6.86357 7.34399 7.07218 7.14283 7.3851 7.14283C7.68312 7.14283 7.89173 7.33654 7.89918 7.63456L8.12269 15.5469C8.1376 15.845 7.92898 16.0461 7.60861 16.0461ZM10.0002 16.0461C9.68729 16.0461 9.47868 15.8524 9.47868 15.5544V7.63456C9.47868 7.34399 9.68729 7.14283 10.0002 7.14283C10.3131 7.14283 10.5292 7.34399 10.5292 7.63456V15.5544C10.5292 15.8524 10.3131 16.0461 10.0002 16.0461ZM12.3918 16.0536C12.0714 16.0536 11.8628 15.845 11.8777 15.5544L12.1012 7.63456C12.1087 7.33654 12.3173 7.14283 12.6153 7.14283C12.9282 7.14283 13.1369 7.34399 13.1294 7.64201L12.9059 15.5544C12.8984 15.8524 12.6898 16.0536 12.3918 16.0536Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},92387:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(66252),r={viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a._)("path",{opacity:"0.5",d:"M10.5001 18.8333C15.1025 18.8333 18.8334 15.1024 18.8334 10.5C18.8334 5.89763 15.1025 2.16667 10.5001 2.16667C5.89771 2.16667 2.16675 5.89763 2.16675 10.5C2.16675 15.1024 5.89771 18.8333 10.5001 18.8333Z",fill:"currentColor"},null,-1),i=(0,a._)("path",{d:"M11.3334 7.16666C11.3334 6.70642 10.9603 6.33333 10.5001 6.33333C10.0398 6.33333 9.66675 6.70642 9.66675 7.16666V12.1667C9.66675 12.6269 10.0398 13 10.5001 13C10.9603 13 11.3334 12.6269 11.3334 12.1667V7.16666Z",fill:"currentColor"},null,-1),s=(0,a._)("path",{d:"M11.3334 14.6667C11.3334 14.2064 10.9603 13.8333 10.5001 13.8333C10.0398 13.8333 9.66675 14.2064 9.66675 14.6667C9.66675 15.1269 10.0398 15.5 10.5001 15.5C10.9603 15.5 11.3334 15.1269 11.3334 14.6667Z",fill:"currentColor"},null,-1),u=[o,i,s];function l(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,u)}var c=n(83744);const d={},p=(0,c.Z)(d,[["render",l]]),m=p},3464:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 160"},o=(0,a.uE)('',3),i=[o];function s(e,t){return(0,a.wg)(),(0,a.iD)("svg",r,i)}var u=n(83744);const l={},c=(0,u.Z)(l,[["render",s]]),d=c},66355:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});n(68309);var a=n(66252),r=n(3577),o={class:"account-details"},i={class:"account-info-wrapper"},s={class:"buttons"},u={ref:"headerEl",class:"header"};function l(e,t,n,l,c,d){var p=(0,a.up)("AccountInfo"),m=(0,a.up)("BtnClose"),f=(0,a.up)("BalanceInfo"),v=(0,a.up)("OpenTransferReceiveModalButton"),g=(0,a.up)("OpenTransferSendModalButton"),h=(0,a.up)("TransactionAndTokenFilter"),w=(0,a.up)("IonRouterOutlet");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",i,[e.$slots["account-info"]?(0,a.WI)(e.$slots,"account-info",{key:0},void 0,!0):((0,a.wg)(),(0,a.j4)(p,{key:1,address:e.activeAccount.address,name:e.activeAccount.name,idx:e.activeAccount.idx,protocol:e.activeAccount.protocol,"can-copy-address":"","with-protocol-icon":""},null,8,["address","name","idx","protocol"])),(0,a.Wm)(m,{class:"close-button",onClick:e.close},null,8,["onClick"])]),(0,a._)("div",null,[e.$slots.balance?(0,a.WI)(e.$slots,"balance",{key:0},void 0,!0):((0,a.wg)(),(0,a.j4)(f,{key:1,balance:e.balanceNumeric,protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"])),(0,a._)("div",s,[e.withoutDefaultButtons?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)(v),(0,a.Wm)(g)],64)),e.$slots.buttons?(0,a.WI)(e.$slots,"buttons",{key:1},void 0,!0):(0,a.kq)("",!0)]),(0,a._)("div",u,[(0,a.WI)(e.$slots,"navigation",{},void 0,!0),((0,a.wg)(),(0,a.j4)(h,{key:e.routeName,"show-filters":e.showFilters},null,8,["show-filters"]))],512),(0,a._)("div",{class:"tabs-content",style:(0,r.j5)({height:e.routerHeight||"350px"})},[(0,a.Wm)(w,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])],4)])])}n(32564);var c=n(51268),d=n(82136),p=n(2262),m=n(22201),f=n(33907),v=n(79323),g=n(9697),h=n(10704),w=n(90629),y=n(47108),k=n(63827),b=n(62654),C=n(60298),A=n(82475);const x=(0,a.aZ)({name:"AccountDetailsBase",components:{AccountInfo:k.Z,BalanceInfo:y.Z,OpenTransferSendModalButton:w.Z,OpenTransferReceiveModalButton:h.Z,TransactionAndTokenFilter:C.Z,BtnClose:b.Z,IonRouterOutlet:c.jP},props:{withoutDefaultButtons:Boolean},setup:function(){var e=(0,m.yj)(),t=(0,f.oR)(),n=(0,c.cj)(),r=(0,g.xe)({store:t}),o=r.activeAccount,i=(0,g.R0)(),s=i.resetFilter,u=(0,g._b)(),l=u.isScrollEnabled,h=(0,g.bl)(),w=h.homeRouteName,y=(0,g.ln)({store:t}),k=y.balance,b=(0,p.iH)(),C=(0,p.iH)(),x=(0,a.Fl)((function(){return k.value.toNumber()})),_=(0,a.Fl)((function(){return e.name})),D=(0,a.Fl)((function(){return l.value}));function T(){var e,t,n,a,r=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,o=null===(a=null===(n=C.value)||void 0===n?void 0:n.getBoundingClientRect())||void 0===a?void 0:a.bottom,i=Math.ceil(r-o);b.value="".concat(i,"px")}function S(){n.navigate({name:w.value},"back","push",A.gk)}function I(){var e=new ResizeObserver((function(){(0,a.Y3)((function(){T()}))}));e.observe(C.value)}return(0,a.YP)((function(){return e}),(function(){s()})),(0,a.bv)((function(){v.Ag&&d.A_.setBackgroundColor({color:"#191919"}),setTimeout((function(){I(),T()}),250)})),(0,a.Jd)((function(){v.Ag&&d.A_.setBackgroundColor({color:"#141414"})})),{close:S,headerEl:C,homeRouteName:w,showFilters:D,routeName:_,balanceNumeric:x,activeAccount:o,routerHeight:b,fadeAnimation:A.qy,IS_FIREFOX:v.D1}}});var _=n(83744);const D=(0,_.Z)(x,[["render",l],["__scopeId","data-v-5df121b1"]]),T=D},54481:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(66252),r={class:"account-details-navigation"},o={key:0,class:"sub-tabs"};function i(e,t,n,i,s,u){var l=(0,a.up)("Tab"),c=(0,a.up)("Tabs"),d=(0,a.up)("BtnPill");return(0,a.wg)(),(0,a.iD)("div",r,[(0,a.Wm)(c,null,{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.currentTabs,(function(e){return(0,a.wg)(),(0,a.j4)(l,{key:e.routeName,"exact-path":e.exact,to:{name:e.routeName},text:e.text,"data-cy":e.routeName},null,8,["exact-path","to","text","data-cy"])})),128))]})),_:1}),e.isOnline&&e.currentSubTabs.length?((0,a.wg)(),(0,a.iD)("div",o,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.currentSubTabs,(function(e){return(0,a.wg)(),(0,a.j4)(d,{key:e.routeName,to:{name:e.routeName},text:e.text,exact:e.exact},null,8,["to","text","exact"])})),128))])):(0,a.kq)("",!0)])}n(69826),n(41539),n(5212),n(68309);var s=n(22201),u=n(79150),l=n(9697),c=n(94308),d=n(21244),p=n(36333),m=n(32833);const f=(0,a.aZ)({name:"AccountDetailsNavigation",components:{Tabs:m.Z,Tab:p.Z,BtnPill:d.Z},props:{isMultisig:Boolean},setup:function(e){var t=(0,s.yj)(),n=(0,u.QT)(),r=n.t,o=(0,l.Rc)(),i=o.isOnline,d=[{text:r("modals.accountDetails.transactions"),routeName:c.ID,exact:!0},{text:r("modals.accountDetails.assets"),routeName:c.v3},{text:r("modals.accountDetails.names"),routeName:c.Gf,children:[{text:r("pages.names.tabs.my-names"),routeName:c.Gf,exact:!0},{text:r("pages.names.tabs.auctions"),routeName:c.zW},{text:r("pages.names.tabs.register"),routeName:c.eW}]}],p=[{text:r("modals.accountDetails.transactions"),routeName:c.MZ,exact:!0},{text:r("modals.accountDetails.assets"),routeName:c.FD},{text:r("modals.accountDetails.details"),routeName:c.Pq}],m=(0,a.Fl)((function(){return e.isMultisig?p:d})),f=(0,a.Fl)((function(){var e;return(null===(e=m.value.find((function(e){var n=e.children;return null===n||void 0===n?void 0:n.some((function(e){var n=e.routeName;return n===t.name}))})))||void 0===e?void 0:e.children)||[]}));return{isOnline:i,currentTabs:m,currentSubTabs:f}}});var v=n(83744);const g=(0,v.Z)(f,[["render",i],["__scopeId","data-v-152ad2b6"]]),h=g},63827:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});n(68309);var a=n(66252),r=n(3577),o={key:0,class:"account-name"},i={key:1,class:"account-name-truncated"},s={key:2,"data-cy":"account-name-number",class:"account-name"},u={key:3,class:"account-address"};function l(e,t,n,l,c,d){var p=(0,a.up)("Avatar"),m=(0,a.up)("Truncate"),f=(0,a.up)("IconWrapper"),v=(0,a.up)("AddressTruncated"),g=(0,a.up)("CopyText");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["account-info",{"can-copy-address":e.canCopyAddress}])},[(0,a.Wm)(p,{class:"avatar",address:e.address,name:e.name,size:e.avatarSize,borderless:e.avatarBorderless},null,8,["address","name","size","borderless"]),(0,a._)("div",{class:(0,r.C_)(["account-details",{"list-name":e.isListName}])},[e.isMultisig?((0,a.wg)(),(0,a.iD)("div",o,(0,r.zw)(e.$t("multisig.multisigVault")),1)):e.name?((0,a.wg)(),(0,a.iD)("div",i,[(0,a.Wm)(m,{str:e.name},null,8,["str"])])):((0,a.wg)(),(0,a.iD)("div",s,(0,r.zw)(e.getDefaultAccountLabel({protocol:e.protocolName,protocolIdx:e.idx})),1)),e.address&&e.address.length?((0,a.wg)(),(0,a.iD)("div",u,[e.withProtocolIcon?((0,a.wg)(),(0,a.j4)(f,{key:0,"protocol-icon":e.protocol,class:"protocol-icon"},null,8,["protocol-icon"])):(0,a.kq)("",!0),(0,a.Wm)(g,{"data-cy":"copy",value:e.address,disabled:!e.canCopyAddress},{default:(0,a.w5)((function(){return[(0,a.Wm)(v,{address:e.address,protocol:e.protocol,class:"ae-address"},null,8,["address","protocol"])]})),_:1},8,["value","disabled"])])):(0,a.kq)("",!0)],2)],2)}n(9653);var c=n(48854),d=n(71584),p=n(46010),m=n(91802),f=n(27338),v=n(27344),g=n(32412);const h=(0,a.aZ)({components:{IconWrapper:g.ZP,AddressTruncated:v.Z,Avatar:p.Z,Truncate:f.Z,CopyText:m.Z},props:{address:{type:String,required:!0},name:{type:String,default:""},protocol:{type:String,required:!0},avatarSize:{type:String,default:"lg"},idx:{type:Number,default:0},canCopyAddress:Boolean,isMultisig:Boolean,avatarBorderless:Boolean,isListName:Boolean,withProtocolIcon:Boolean},setup:function(e){var t=(0,a.Fl)((function(){return d.l.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)})),n=(0,a.Fl)((function(){return d.l.getAdapter(e.protocol).protocolName}));return{explorerUrl:t,protocolName:n,getDefaultAccountLabel:c.gg}}});var w=n(83744);const y=(0,w.Z)(h,[["render",l],["__scopeId","data-v-54009fff"]]),k=y},23623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});n(68309);var a=n(66252),r=n(3577),o={key:0,class:"name"};function i(e,t,n,i,s,u){var l=(0,a.up)("Avatar"),c=(0,a.up)("ProtocolIcon"),d=(0,a.up)("Truncate"),p=(0,a.up)("AddressTruncated"),m=(0,a.up)("ExternalLinkIcon"),f=(0,a.up)("LinkButton");return(0,a.wg)(),(0,a.j4)(f,{to:e.explorerUrl,class:"account-item",variant:"muted"},{icon:(0,a.w5)((function(){return[(0,a.Wm)(m,{class:"external-link-icon"})]})),default:(0,a.w5)((function(){return[(0,a._)("div",{class:(0,r.C_)(["avatar-wrapper",{"has-protocol-icon":e.protocol}])},[(0,a.Wm)(l,{address:e.address,name:e.name,class:(0,r.C_)({avatar:e.protocol}),size:"sm"},null,8,["address","name","class"]),e.protocol?((0,a.wg)(),(0,a.j4)(c,{key:0,protocol:e.protocol,"icon-size":"sm",class:"protocol-icon"},null,8,["protocol"])):(0,a.kq)("",!0)],2),e.name?((0,a.wg)(),(0,a.iD)("span",o,[(0,a.Wm)(d,{class:(0,r.C_)([e.size]),str:e.name},null,8,["class","str"])])):((0,a.wg)(),(0,a.j4)(p,{key:1,class:"address",address:e.address,protocol:e.protocol},null,8,["address","protocol"]))]})),_:1},8,["to"])}n(26699);var s=n(71584),u=n(27344),l=n(46010),c=n(70764),d=n(27338),p=n(26693),m=n(26041),f=["rg","md"];const v=(0,a.aZ)({components:{ProtocolIcon:p.Z,Avatar:l.Z,AddressTruncated:u.Z,ExternalLinkIcon:m.Z,LinkButton:c.Z,Truncate:d.Z},props:{address:{type:String,required:!0},name:{type:String,default:""},protocol:{type:String,required:!0},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}}},setup:function(e){var t=(0,a.Fl)((function(){return s.l.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{explorerUrl:t}}});var g=n(83744);const h=(0,g.Z)(v,[["render",i],["__scopeId","data-v-368128d6"]]),w=h},77558:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r=n(3577),o={class:"address-formatted"},i={key:1};function s(e,t,n,s,u,l){return(0,a.wg)(),(0,a.iD)("div",o,[e.isAddress||e.splitAddress?((0,a.wg)(!0),(0,a.iD)(a.HY,{key:0},(0,a.Ko)(e.addressChunks,(function(t,n){return(0,a.wg)(),(0,a.iD)("span",{key:n,class:(0,r.C_)(["address-formatted-chunk",{"align-right":e.alignRight}]),style:(0,r.j5)(e.cssVariable)},(0,r.zw)(t),7)})),128)):((0,a.wg)(),(0,a.iD)("span",i,(0,r.zw)(e.address),1))])}n(9653),n(92222),n(82481),n(74916),n(4723),n(21249);var u=n(34601);const l=(0,a.aZ)({props:{address:{type:String,required:!0},columnCount:{type:Number,default:6},splitAddress:Boolean,alignRight:Boolean},setup:function(e){var t=3;function n(e){return e.length===t?e:"".concat(e).concat(" ".repeat(t-e.length))}var r=(0,a.Fl)((function(){var t=(0,u.ax)(e.address),n=t.valid,a=t.isName;return n&&!a})),o=(0,a.Fl)((function(){var t;return null===(t=e.address.match(/.{1,3}/g))||void 0===t?void 0:t.map(n)})),i=(0,a.Fl)((function(){return{"--column-width":"".concat(100/e.columnCount,"%")}}));return{prepareChunk:n,isAddress:r,addressChunks:o,cssVariable:i}}});var c=n(83744);const d=(0,c.Z)(l,[["render",s],["__scopeId","data-v-0c681493"]]),p=d},27344:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var a=n(66252),r=n(3577),o=function(e){return(0,a.dD)("data-v-4b03fcb1"),e=e(),(0,a.Cn)(),e},i={class:"address-truncated"},s={class:"address-truncated-chunks"},u={class:"address-chunk"},l=o((function(){return(0,a._)("span",{class:"dots"}," ··· ",-1)})),c={class:"address-chunk"};function d(e,t,n,o,d,p){var m=(0,a.up)("ProtocolIcon"),f=(0,a.up)("ExternalLinkIcon"),v=(0,a.up)("LinkButton");return(0,a.wg)(),(0,a.iD)("div",i,[e.showProtocolIcon?((0,a.wg)(),(0,a.j4)(m,{key:0,protocol:e.protocol,class:"protocol-icon"},null,8,["protocol"])):(0,a.kq)("",!0),(0,a._)("div",s,[(0,a._)("span",u,(0,r.zw)(e.truncatedAddress[0]),1),l,(0,a._)("span",c,(0,r.zw)(e.truncatedAddress[1]),1)]),e.showExplorerLink?((0,a.wg)(),(0,a.j4)(v,{key:1,to:e.explorerUrl,class:"external-link"},{icon:(0,a.w5)((function(){return[(0,a.Wm)(f,{class:"external-link-icon"})]})),_:1},8,["to"])):(0,a.kq)("",!0)])}var p=n(48854),m=n(71584),f=n(26041),v=n(26693),g=n(70764);const h=(0,a.aZ)({components:{ProtocolIcon:v.Z,LinkButton:g.Z,ExternalLinkIcon:f.Z},props:{address:{type:String,required:!0},protocol:{type:String,required:!0},showExplorerLink:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,a.Fl)((function(){return(0,p.FP)(e.address)})),n=(0,a.Fl)((function(){return m.l.getAdapter(e.protocol).getExplorer().prepareUrlByHash(e.address)}));return{truncatedAddress:t,explorerUrl:n}}});var w=n(83744);const y=(0,w.Z)(h,[["render",d],["__scopeId","data-v-4b03fcb1"]]),k=y},46010:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(66252),r=n(3577),o=["src"];function i(e,t,n,i,s,u){return(0,a.wg)(),(0,a.iD)("img",{class:(0,r.C_)(["avatar",[e.size,{borderless:e.borderless}]]),src:e.hasProfileImage?e.profileImage:e.avatar,style:(0,r.j5)(e.avatarStyle)},null,14,o)}n(35666),n(41539),n(26699),n(92222),n(68309);var s=n(2262),u=n(48854),l=n(28243),c=n(34601),d=n(14838),p=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=["xs","sm","rg","md","lg","xl"];const f=(0,a.aZ)({props:{address:{type:String,default:""},name:{type:String,default:null},size:{type:String,default:"rg",validator:function(e){return m.includes(e)}},borderless:Boolean},setup:function(e){var t=this,n=(0,d.C)(),r=n.aeActiveNetworkSettings,o=(0,s.iH)(!1),i=(0,s.iH)(!1),m=(0,a.Fl)((function(){return"".concat(l._4).concat(e.name||e.address)})),f=(0,a.Fl)((function(){return e.address?(0,u.BR)(e.address):null})),v=(0,a.Fl)((function(){return(0,c.Tz)(e.address)||""===e.address?null:"".concat(r.value.backendUrl,"/profile/image/").concat(e.address)})),g=(0,a.Fl)((function(){return e.borderless?null:{"border-color":f.value}}));return(0,a.bv)((function(){return p(t,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.t0=!!v.value,!e.t0){e.next=5;break}return e.next=4,(0,u.NH)(v.value);case 4:e.t0=e.sent;case 5:i.value=e.t0;case 6:case"end":return e.stop()}}),e)})))})),{error:o,avatar:m,color:f,profileImage:v,avatarStyle:g,hasProfileImage:i}}});var v=n(83744);const g=(0,v.Z)(f,[["render",i],["__scopeId","data-v-85a6815a"]]),h=g},75693:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(68309);var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("Avatar"),l=(0,a.up)("AddressFormatted");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["avatar-with-chain-name",{"only-name":(n.name||!n.showAddress)&&!n.hideAvatar}])},[n.hideAvatar?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(u,(0,a.dG)({key:0},e.$attrs,{size:n.avatarSize,address:n.address}),null,16,["size","address"])),n.name||!n.showAddress?((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,r.C_)(["chain-name",{centered:n.hideAvatar}])},(0,r.zw)(n.name),3)):((0,a.wg)(),(0,a.j4)(l,(0,a.dG)({key:2},e.$attrs,{address:n.address,columns:""}),null,16,["address"]))],2)}var i=n(46010),s=n(77558);const u={components:{AddressFormatted:s.Z,Avatar:i.Z},props:{address:{type:String,required:!0},name:{type:String,default:""},hideAvatar:Boolean,avatarSize:{type:String,default:"md"},showAddress:Boolean}};var l=n(83744);const c=(0,l.Z)(u,[["render",o],["__scopeId","data-v-247c52a6"]]),d=c},47108:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(66252),r=n(3577),o={class:"balance-info","data-cy":"balance-info"},i={class:"display-value"};function s(e,t,n,s,u,l){var c=(0,a.up)("MainBalance"),d=(0,a.up)("MessageOffline");return(0,a.wg)(),(0,a.iD)("div",o,[e.isOnline?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)(c,{balance:e.balance,protocol:e.protocol},null,8,["balance","protocol"]),(0,a._)("div",i,(0,r.zw)(e.currencyFormatted),1)],64)):((0,a.wg)(),(0,a.j4)(d,{key:1,text:e.$t("common.balanceUnavailable"),horizontal:e.horizontalOfflineMessage,"disable-colors":!e.horizontalOfflineMessage},null,8,["text","horizontal","disable-colors"]))])}n(9653);var u=n(33907),l=n(9697),c={class:"token-symbol"},d={class:"token-integer"},p={class:"token-fractional"};function m(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["main-balance",[e.tokenFontSize]])},[(0,a._)("span",c,(0,r.zw)(e.tokenSymbol),1),(0,a._)("span",d,(0,r.zw)(e.balanceParts.integer)+(0,r.zw)(e.balanceParts.decimal),1),(0,a._)("span",p,(0,r.zw)(e.balanceParts.fraction),1)],2)}n(85827),n(41539),n(92222);var f=n(71584),v=n(48854);const g=(0,a.aZ)({props:{balance:{type:Number,default:0},protocol:{type:String,required:!0}},setup:function(e){var t=(0,a.Fl)((function(){var t=f.l.getAdapter(e.protocol).getAmountPrecision({amount:e.balance}),n=(0,v.Cl)(e.balance,{minimumFractionDigits:2,maximumFractionDigits:t}).reduce((function(e,t){return"decimal"===t.type?Object.assign(Object.assign({},e),{decimal:t.value}):"fraction"===t.type?Object.assign(Object.assign({},e),{fraction:t.value}):Object.assign(Object.assign({},e),{integer:"".concat(e.integer||"").concat(t.value)})}),{integer:"",decimal:"0",fraction:","}),a=n.integer,r=n.fraction,o=n.decimal;return{integer:a,fraction:r,decimal:o}})),n=(0,a.Fl)((function(){return f.l.getAdapter(e.protocol).getCoinSymbol(!0)})),r=(0,a.Fl)((function(){var e=t.value,n=e.fraction,a=e.integer,r=a.length+n.length;return r>=16?"sm":r>=14?"md":r>=13?"lg":null}));return{tokenSymbol:n,balanceParts:t,tokenFontSize:r}}});var h=n(83744);const w=(0,h.Z)(g,[["render",m]]),y=w;var k=n(88757);const b=(0,a.aZ)({components:{MainBalance:y,MessageOffline:k.Z},props:{balance:{type:Number,required:!0},protocol:{type:String,required:!0},horizontalOfflineMessage:Boolean},setup:function(e){var t=(0,u.oR)(),n=(0,l.jg)({store:t}),r=n.getFormattedFiat,o=(0,l.Rc)(),i=o.isOnline,s=(0,a.Fl)((function(){return r(e.balance,e.protocol)}));return{isOnline:i,currencyFormatted:s}}}),C=(0,h.Z)(b,[["render",s],["__scopeId","data-v-a7dcfd3c"]]),A=C},83477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577),o={class:"consensus-label"};function i(e,t,n,i,s,u){return(0,a.wg)(),(0,a.iD)("span",o,(0,r.zw)(e.localConfirmedBy)+"/"+(0,r.zw)(e.confirmationsRequired)+" "+(0,r.zw)(e.$t("common.of"))+" "+(0,r.zw)(e.totalConfirmations),1)}n(9653);const s=(0,a.aZ)({props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,a.Fl)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,a.Fl)((function(){return e.signers.length}));return{localConfirmedBy:t,totalConfirmations:n}}});var u=n(83744);const l=(0,u.Z)(s,[["render",i]]),c=l},91802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r=n(3577),o={key:0,class:"copied"};function i(e,t,n,i,s,u){var l=(0,a.up)("CopyOutlinedIcon");return(0,a.wg)(),(0,a.iD)("a",{class:(0,r.C_)(["copy-text",{"has-icon":!e.hideIcon,disabled:e.disabled}]),onClick:t[0]||(t[0]=function(t){return e.copyText(t)})},[e.copied||e.copiedLocally?((0,a.wg)(),(0,a.iD)("div",o,[(0,a.Wm)(l,{class:"copy-icon-copied"}),(0,a.Uk)(" "+(0,r.zw)(e.copiedText||e.$t("common.addressCopied")),1)])):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.value),1)]}),!0),e.hideIcon||e.disabled?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(l,{key:1,class:"copy-icon-indicator"}))],2)}var s=n(9697),u=n(3686);const l=(0,a.aZ)({name:"CopyText",components:{CopyOutlinedIcon:u.Z},props:{value:{type:String,default:null},copiedText:{type:String,default:""},copied:Boolean,disabled:Boolean,hideIcon:Boolean},setup:function(e){var t=(0,s.FU)(),n=t.copied,a=t.copy;function r(t){e.disabled||(a(e.value),t.preventDefault())}return{copiedLocally:n,copyText:r}}});var c=n(83744);const d=(0,c.Z)(l,[["render",i],["__scopeId","data-v-4027e3b3"]]),p=d},11362:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});n(37268);var a=n(66252),r=n(3577),o=n(49963),i={key:0,class:"secondary"};function s(e,t,n,s,u,l){var c=(0,a.up)("ChevronDownIcon");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["details-item",{expandable:e.expandable,expanded:e.expanded}])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.expandable?"BtnPlain":"div"),{class:"label",onClick:t[0]||(t[0]=function(t){return e.toggleExpanded()})},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,r.zw)(e.label)+" ",1),e.$slots.label?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,r.C_)({indent:e.label})},[(0,a.WI)(e.$slots,"label",{},void 0,!0)],2)):(0,a.kq)("",!0),e.expandable?((0,a.wg)(),(0,a.j4)(c,{key:1,class:"expand-arrow"})):(0,a.kq)("",!0)]})),_:3})),(0,a.Wm)(o.uT,{name:"fade-transition"},{default:(0,a.w5)((function(){return[e.expanded?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["value",{small:e.small,highlight:e.highlight}])},[(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.value)+" ",1),e.secondary?((0,a.wg)(),(0,a.iD)("span",i,(0,r.zw)(e.secondary),1)):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"value",{},void 0,!0)]}),!0)],2)):(0,a.kq)("",!0)]})),_:3})],2)}n(9653);var u=n(2262),l=n(21800),c=n(85721);const d=(0,a.aZ)({name:"DetailsItem",components:{ChevronDownIcon:l.Z,BtnPlain:c.Z},props:{label:{type:String,default:""},value:{type:[String,Number,Array],default:""},secondary:{type:String,default:""},expandable:Boolean,small:Boolean,highlight:Boolean},setup:function(e){var t=(0,u.iH)(!e.expandable);function n(){e.expandable&&(t.value=!t.value)}return{expanded:t,toggleExpanded:n}}});var p=n(83744);const m=(0,p.Z)(d,[["render",s],["__scopeId","data-v-1aaea9da"]]),f=m},84032:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["dialog",[e.position,{dense:e.dense}]])},[(0,a.WI)(e.$slots,"default",{},void 0,!0)],2)}n(26699);var i=["left","bottom"];const s=(0,a.aZ)({name:"DialogBox",props:{dense:Boolean,position:{type:String,validator:function(e){return i.includes(e)},default:i[0]}}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-5b9d82eb"]]),c=l},34978:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});n(57327),n(41539),n(68309);var a=n(66252),r=n(3577),o={"data-cy":"filters",class:"filters"};function i(e,t,n,i,s,u){var l=(0,a.up)("SortIcon"),c=(0,a.up)("FilterArrowIcon"),d=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.iD)("div",o,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.filters,(function(t,n){return(0,a.wg)(),(0,a.j4)(d,{key:n,class:(0,r.C_)(["filter",{active:e.modelValue.key===n||e.modelValue.filter===n}]),onClick:function(t){return e.handleClick(n)}},{default:(0,a.w5)((function(){return[(0,a._)("span",null,(0,r.zw)(t.name),1),void 0!==t.rotated?((0,a.wg)(),(0,a.j4)(l,{key:0,class:(0,r.C_)({rotate:!t.rotated})},null,8,["class"])):((0,a.wg)(),(0,a.j4)(c,{key:1}))]})),_:2},1032,["class","onClick"])})),128))])}n(9653);var s=n(2262),u=n(7303),l={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},c=(0,a._)("g",{"clip-path":"url(#clip0)"},[(0,a._)("path",{d:"M2.08 2.57516C2.03543 2.52175 2.00829 2.45825 2.00162 2.39176C1.99495 2.32527 2.00901 2.25842 2.04223 2.19871C2.07545 2.139 2.12652 2.08878 2.18971 2.05369C2.2529 2.01859 2.32572 2 2.4 2H13.6C13.6743 2 13.7471 2.01859 13.8103 2.05369C13.8735 2.08878 13.9245 2.139 13.9578 2.19871C13.991 2.25842 14.0051 2.32527 13.9984 2.39176C13.9917 2.45825 13.9646 2.52175 13.92 2.57516L9.6 7.75161V13.6405C9.6 13.7018 9.58255 13.7621 9.54932 13.8157C9.51609 13.8692 9.46818 13.9142 9.41014 13.9464C9.3521 13.9786 9.28586 13.9969 9.21771 13.9996C9.14957 14.0024 9.08178 13.9894 9.0208 13.9619L6.4 12.7843V7.75161L2.08 2.57516Z",fill:"currentColor"})],-1),d=[c];function p(e,t){return(0,a.wg)(),(0,a.iD)("svg",l,d)}var m=n(83744);const f={},v=(0,m.Z)(f,[["render",p]]),g=v;var h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},w=(0,a._)("g",{"clip-path":"url(#clip0)"},[(0,a._)("path",{d:"M12.875 2H3.125C2.50368 2 2 2.53726 2 3.2C2 3.86274 2.50368 4.4 3.125 4.4H12.875C13.4963 4.4 14 3.86274 14 3.2C14 2.53726 13.4963 2 12.875 2Z",fill:"white"}),(0,a._)("path",{opacity:"0.44",d:"M6.875 13.9999C6.57663 13.9999 6.29048 13.8735 6.0795 13.6485C5.86853 13.4234 5.75 13.1182 5.75 12.7999C5.75 12.4817 5.86853 12.1764 6.0795 11.9514C6.29048 11.7264 6.57663 11.5999 6.875 11.5999H9.125C9.42337 11.5999 9.70952 11.7264 9.9205 11.9514C10.1315 12.1764 10.25 12.4817 10.25 12.7999C10.25 13.1182 10.1315 13.4234 9.9205 13.6485C9.70952 13.8735 9.42337 13.9999 9.125 13.9999H6.875ZM4.625 9.19993C4.32663 9.19993 4.04048 9.0735 3.8295 8.84845C3.61853 8.62341 3.5 8.31819 3.5 7.99993C3.5 7.68167 3.61853 7.37644 3.8295 7.1514C4.04048 6.92635 4.32663 6.79993 4.625 6.79993H11.375C11.6734 6.79993 11.9595 6.92635 12.1705 7.1514C12.3815 7.37644 12.5 7.68167 12.5 7.99993C12.5 8.31819 12.3815 8.62341 12.1705 8.84845C11.9595 9.0735 11.6734 9.19993 11.375 9.19993H4.625Z",fill:"white"})],-1),y=[w];function k(e,t){return(0,a.wg)(),(0,a.iD)("svg",h,y)}const b={},C=(0,m.Z)(b,[["render",k]]),A=C;var x=n(85721);const _=(0,a.aZ)({components:{FilterArrowIcon:g,SortIcon:A,BtnPlain:x.Z},props:{modelValue:{type:Object,required:!0},filters:{type:Object,required:!0},scrollTopThreshold:{type:Number,default:140}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,a=(0,u.S)(),r=a.viewportElement,o=(0,s.iH)(e.filters);function i(t){var a=o.value[t];r.value&&r.value.scrollTop>e.scrollTopThreshold&&r.value.scrollTo({top:e.scrollTopThreshold,behavior:"smooth"}),void 0!==a.rotated&&e.modelValue.key===t&&(a.rotated=!a.rotated);var i=Object.assign(Object.assign({},o.value[t]),{key:t});n("update:modelValue",i)}return{rotatableFilters:o,handleClick:i}}}),D=(0,m.Z)(_,[["render",i],["__scopeId","data-v-78158338"]]),T=D},77743:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["fixed-screen-footer",{mobile:e.IS_MOBILE_DEVICE},{noPaddingTop:e.noPaddingTop}])},[(0,a.WI)(e.$slots,"default",{},void 0,!0)],2)}var i=n(79323);const s=(0,a.aZ)({props:{noPaddingTop:Boolean},setup:function(){return{IS_MOBILE_DEVICE:i.ry}}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-511dcdca"]]),c=l},2484:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r={class:"tokens-list"};function o(e,t,n,o,i,s){var u=(0,a.up)("TokensListItem");return(0,a.wg)(),(0,a.iD)("div",r,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.filteredTokens,(function(t){return(0,a.wg)(),(0,a.j4)(u,{key:t.contractId||t.id,"token-data":t,"is-multisig":e.isMultisig},null,8,["token-data","is-multisig"])})),128))])}var i=n(33907),s=n(9697),u=n(86017);const l=(0,a.aZ)({components:{TokensListItem:u.Z},props:{searchTerm:{type:String,default:""},isMultisig:Boolean},setup:function(e){var t=(0,i.oR)(),n=(0,s.sY)({store:t,ownedOnly:!0,searchTerm:(0,a.Fl)((function(){return e.searchTerm})),isMultisig:e.isMultisig}),r=n.filteredTokens;return{filteredTokens:r}}});var c=n(83744);const d=(0,c.Z)(l,[["render",o]]),p=d},86017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(66252),r=n(3577),o={class:"row"},i={key:0,class:"row bottom"},s={class:"price"},u={class:"price"};function l(e,t,n,l,c,d){var p=(0,a.up)("Tokens"),m=(0,a.up)("TokenAmount"),f=(0,a.up)("ListItemWrapper");return e.tokenData?((0,a.wg)(),(0,a.j4)(f,(0,a.dG)({key:0},e.$attrs,{class:"tokens-list-item",to:e.preventNavigation?null:{name:e.targetRouteName,params:{id:e.tokenData.contractId}},replace:"",extend:e.preventNavigation,selected:e.selected}),{default:(0,a.w5)((function(){return[(0,a._)("div",o,[(0,a.Wm)(p,{tokens:[e.tokenData],"icon-size":"lg","full-symbol":"",bright:""},null,8,["tokens"]),(0,a.Wm)(m,{amount:+e.tokenData.convertedBalance||0,symbol:e.tokenData.symbol,aex9:e.isTokenAeCoin,protocol:e.PROTOCOL_AETERNITY,"dynamic-sizing":"","no-symbol":"","hide-fiat":""},null,8,["amount","symbol","aex9","protocol"])]),e.isTokenAeCoin?((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",s," @ "+(0,r.zw)(e.price),1),(0,a._)("div",u,(0,r.zw)(e.balanceFormatted),1)])):(0,a.kq)("",!0)]})),_:1},16,["to","extend","selected"])):(0,a.kq)("",!0)}var c=n(28243),d=n(33907),p=n(79323),m=n(94308),f=n(9697),v=n(26906),g=n(1009),h=n(85202);const w=(0,a.aZ)({components:{TokenAmount:v.Z,Tokens:g.Z,ListItemWrapper:h.Z},props:{tokenData:{type:Object,default:null},preventNavigation:Boolean,showCurrentPrice:Boolean,selected:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,d.oR)(),n=(0,f.jg)({store:t}),r=n.getCurrentCurrencyRate,o=n.getFormattedFiat,i=n.formatCurrency,s=(0,a.Fl)((function(){return i(r(p.DJ))})),u=(0,a.Fl)((function(){return o(e.tokenData.convertedBalance||0,p.DJ)})),l=(0,a.Fl)((function(){return e.tokenData.contractId===c.ik})),v=(0,a.Fl)((function(){return e.isMultisig?m.Zr:l.value?m.DU:m.C0}));return{PROTOCOL_AETERNITY:p.DJ,isTokenAeCoin:l,price:s,targetRouteName:v,balanceFormatted:u}}});var y=n(83744);const k=(0,y.Z)(w,[["render",l],["__scopeId","data-v-7d458446"]]),b=k},32412:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>m,Eg:()=>u,WI:()=>l});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("ProtocolIcon");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["icon-wrapper",["icon-size-".concat(e.iconSize),{"is-boxed":e.isBoxed}]])},[e.icon?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.icon),{key:0,class:(0,r.C_)(["icon-wrapper-icon",{"icon-wrapper-fill":e.isFull}])},null,8,["class"])):e.protocolIcon?((0,a.wg)(),(0,a.j4)(u,{key:1,protocol:e.protocolIcon},null,8,["protocol"])):(0,a.kq)("",!0)],2)}n(26699);var i=n(26693),s=["rg","lg"],u={type:String,default:"rg",validator:function(e){return s.includes(e)}},l={type:String,default:null};const c=(0,a.aZ)({components:{ProtocolIcon:i.Z},props:{icon:{type:Object,default:null},isFull:Boolean,isBoxed:Boolean,iconSize:u,protocolIcon:l}});var d=n(83744);const p=(0,d.Z)(c,[["render",o],["__scopeId","data-v-0b415b92"]]),m=p},9645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r={class:"infinite-scroll"};function o(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",r,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])}var i=n(7303);const s=(0,a.aZ)({name:"InfiniteScroll",props:{isMoreData:{type:Boolean,required:!0}},emits:["loadMore"],setup:function(e,t){var n=t.emit,r=(0,i.S)(),o=r.viewportElement,s=r.onViewportScroll;(0,a.YP)(o,(function(){s((function(t){var a=t.isOutsideOfViewport;e.isMoreData&&a&&n("loadMore")}))}),{immediate:!0})}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-f9e758f0"]]),c=l},33741:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["info-box",[e.type]])},[(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.text),1)]}),!0)],2)}n(26699),n(32023),n(47941);var i={default:"default",success:"success",danger:"danger",warning:"warning"};const s=(0,a.aZ)({props:{type:{type:String,validator:function(e){return Object.keys(i).includes(e)},default:i["default"]},text:{type:String,default:null}}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-13169d05"]]),c=l},72925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var a=n(66252),r=n(3577),o=["textContent"],i={key:0,class:"input-amount-desc-total","data-cy":"total-amount-currency"},s={key:0},u={key:1,class:"input-amount-desc-at"};function l(e,t,n,l,c,d){var p=(0,a.up)("InputSelectAsset"),m=(0,a.up)("InputField");return(0,a.wg)(),(0,a.j4)(m,(0,a.dG)(e.$attrs,{class:"input-amount",type:"number",placeholder:"0.00","model-value":e.modelValue,label:e.label,message:e.$attrs["message"],"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),(0,a.Nv)({after:(0,a.w5)((function(n){var i=n.focused;return[e.readonly?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"readonly-symbol",textContent:(0,r.zw)(e.defaultCoin.symbol)},null,8,o)):((0,a.wg)(),(0,a.j4)(p,(0,a.dG)({key:0},e.$attrs,{"data-cy":"select-asset",value:e.currentAsset,focused:i,"show-tokens-with-balance":e.showTokensWithBalance,onSelectAsset:t[0]||(t[0]=function(t){return e.handleAssetSelected(t)})}),null,16,["value","focused","show-tokens-with-balance"]))]})),under:(0,a.w5)((function(t){var n=t.focused;return[(0,a._)("div",{class:(0,r.C_)(["input-amount-desc",{focused:n}])},[e.currentAssetFiatPrice?((0,a.wg)(),(0,a.iD)("span",i,[e.modelValue?((0,a.wg)(),(0,a.iD)("span",s,"≈")):(0,a.kq)("",!0),(0,a.Uk)(" "+(0,r.zw)(e.totalAmountFormatted),1)])):(0,a.kq)("",!0),e.currentAssetFiatPrice?((0,a.wg)(),(0,a.iD)("span",u," @"+(0,r.zw)(e.currentAssetFiatPrice?e.currentAssetFiatPriceFormatted:e.$t("common.priceNotAvailable")),1)):(0,a.kq)("",!0)],2)]})),_:2},[(0,a.Ko)(e.$slots,(function(t,n){return{name:n,fn:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["model-value","label","message"])}n(9653),n(26699),n(32023),n(21249);var c=n(33907),d=n(9697),p=n(71584),m=n(36179);function f(e,t,n,o,i,s){var u=(0,a.up)("ChevronDown"),l=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.j4)(l,{class:(0,r.C_)(["select-asset",{focused:e.focused,disabled:e.disabled}]),onClick:e.openAssetSelector},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,r.zw)(e.displayToken)+" ",1),e.disabled?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(u,{key:0,class:"chevron-down"}))]})),_:1},8,["class","onClick"])}n(92222);var v=n(79323),g=n(21800),h=n(85721);const w=(0,a.aZ)({components:{BtnPlain:h.Z,ChevronDown:g.Z},props:{value:{type:Object,default:null},disabled:Boolean,focused:Boolean,showTokensWithBalance:Boolean},emits:["select-asset"],setup:function(e,t){var n=t.emit,r=(0,d.ol)(),o=r.openModal,i=(0,a.Fl)((function(){if(e.value){var t=e.value.symbol;return"".concat(String(t).substring(0,11)).concat(t.length>11?"...":"")}return""}));function s(e){n("select-asset",e)}function u(){e.disabled||o(v.bj,{selectedToken:e.value,showTokensWithBalance:e.showTokensWithBalance,resolve:function(e){return e}}).then((function(e){return s(e)}))["catch"]((function(){}))}return{displayToken:i,handleChange:s,openAssetSelector:u}}});var y=n(83744);const k=(0,y.Z)(w,[["render",f],["__scopeId","data-v-2815dc49"]]),b=k,C=(0,a.aZ)({components:{InputSelectAsset:b,InputField:m.Z},props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:null},selectedAsset:{type:Object,default:null},readonly:Boolean,showTokensWithBalance:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e,t){var n=t.emit,r=(0,c.oR)(),o=(0,d.jg)({store:r}),i=o.getCurrentCurrencyRate,s=o.marketData,u=o.formatCurrency,l=(0,d.ln)({store:r}),m=l.balance,f=(0,d.xe)({store:r}),v=f.protocolsInUse,g=(0,a.Fl)((function(){return p.l.getAdapter(e.protocol).getDefaultCoin(s.value,+m.value)})),h=(0,a.Fl)((function(){return e.selectedAsset||g.value})),w=(0,a.Fl)((function(){return v.value.map((function(e){return p.l.getAdapter(e).getDefaultAssetContractId()})).includes(h.value.contractId)})),y=(0,a.Fl)((function(){return w.value?i(e.protocol):0})),k=(0,a.Fl)((function(){return u(y.value)})),b=(0,a.Fl)((function(){return u(y.value?(+e.modelValue||0)*y.value:0)}));function C(e){n("asset-selected",e)}return(0,a.bv)((function(){e.selectedAsset||C(g.value)})),{defaultCoin:g,totalAmountFormatted:b,currentAssetFiatPrice:y,currentAssetFiatPriceFormatted:k,currentAsset:h,formatCurrency:u,handleAssetSelected:C}}}),A=(0,y.Z)(C,[["render",l],["__scopeId","data-v-e47c5a92"]]),x=A},36179:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(66252),r=n(3577),o={key:0,class:"label"},i=["for"],s={key:1,class:"label-after"},u={class:"main-inner"},l=["id","value","disabled","maxlength","inputmode"],c={class:"under"},d={key:1,class:"message","data-cy":"input-message"},p=["for"];function m(e,t,n,m,f,v){var g=(0,a.up)("BtnHelp");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["input-field",{error:e.hasError,warning:e.hasWarning,readonly:e.readonly,code:e.code,thin:e.thin}])},[e.label||e.$slots.label||e.$slots["label-after"]?((0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("label",{for:e.inputId,class:"label-text",onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},[(0,a.WI)(e.$slots,"label",{},(function(){return[(0,a.Uk)((0,r.zw)(e.label),1)]}),!0)],8,i),e.showHelp?((0,a.wg)(),(0,a.j4)(g,{key:0,class:"btn-help",onHelp:t[1]||(t[1]=function(t){return e.$emit("help")})})):(0,a.kq)("",!0),e.$slots["label-after"]||e.textLimit?((0,a.wg)(),(0,a.iD)("div",s,[(0,a.WI)(e.$slots,"label-after",{},(function(){return[(0,a.Uk)((0,r.zw)(e.availableTextLimit),1)]}),!0)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0),(0,a._)("label",{"data-cy":"input-wrapper",class:"input-wrapper",onClick:t[6]||(t[6]=function(t){return e.$emit("click",t)})},[(0,a._)("div",u,[e.hasError||e.hasWarning?(0,a.kq)("",!0):(0,a.WI)(e.$slots,"before",{key:0},void 0,!0),(0,a.WI)(e.$slots,"default",{id:e.uid,inputId:e.inputId},(function(){return[(0,a._)("input",(0,a.dG)(e.$attrs,{id:e.inputId,class:"input",autocomplete:"off",step:"any","data-cy":"input",value:e.modelValue,disabled:e.readonly,maxlength:e.textLimit,inputmode:e.inputMode,onInput:t[2]||(t[2]=function(){return e.handleInput&&e.handleInput.apply(e,arguments)}),onKeydown:t[3]||(t[3]=function(){return e.checkIfNumber&&e.checkIfNumber.apply(e,arguments)}),onFocusin:t[4]||(t[4]=function(t){return e.focused=!0}),onFocusout:t[5]||(t[5]=function(t){return e.focused=!1})}),null,16,l)]}),!0),(0,a.WI)(e.$slots,"after",{focused:e.focused},void 0,!0)]),(0,a._)("div",c,[(0,a.WI)(e.$slots,"under",{focused:e.focused},void 0,!0)])]),e.showMessage?((0,a.wg)(),(0,a.iD)("div",d,[(0,a._)("label",{class:"message-text","data-cy":"input-field-message",for:e.inputId},(0,r.zw)(e.messageAsObject?e.messageAsObject.text:null),9,p)])):(0,a.kq)("",!0)],2)}var f=n(2714),v=(n(15306),n(9653),n(26699),n(32023),n(74916),n(77601),n(2262)),g=n(79323),h=n(18492);const w=(0,a.aZ)({name:"InputField",components:{BtnHelp:h.Z},props:{modelValue:{type:[String,Number],default:null},label:{type:String,default:""},type:{type:String,default:"text",validator:function(e){return["text","number","url"].includes(e)}},message:{type:[String,Object],validator:function(e){return"object"!==(0,f.Z)(e)||!e.status||!!g.Bi[e.status]},default:null},readonly:Boolean,showHelp:Boolean,showMessageHelp:Boolean,code:Boolean,thin:Boolean,textLimit:{type:Number,default:null}},emits:["update:modelValue","focus-change","click","help"],setup:function(e,t){var n,r=t.emit,o=null===(n=(0,a.FN)())||void 0===n?void 0:n.uid,i="input-".concat(o),s=(0,v.iH)(!1),u=(0,a.Fl)((function(){return"number"===e.type?"decimal":"text"})),l=(0,a.Fl)((function(){return"object"===(0,f.Z)(e.message)?e.message:{text:e.message}})),c=(0,a.Fl)((function(){var e,t;return(null===(e=l.value)||void 0===e?void 0:e.status)===g.Bi.error||!!(null===(t=l.value)||void 0===t?void 0:t.text)})),d=(0,a.Fl)((function(){var e;return(null===(e=l.value)||void 0===e?void 0:e.status)===g.Bi.warning})),p=(0,a.Fl)((function(){var e,t;return!(null===(e=l.value)||void 0===e?void 0:e.hideMessage)&&!!(null===(t=l.value)||void 0===t?void 0:t.text)})),m=(0,a.Fl)((function(){return e.textLimit&&e.modelValue?e.textLimit-String(e.modelValue).length:e.textLimit}));function h(t){var n,a=1===t.key.length&&!t.ctrlKey&&!t.metaKey,r="string"===typeof e.modelValue&&(null===(n=e.modelValue)||void 0===n?void 0:n.includes("."))&&[",","."].includes(t.key);"number"!==e.type||!a||!r&&/^([0-9]+|,|\.)$/.test(t.key)||t.preventDefault()}function w(t){var n=t.target.value;r("update:modelValue","number"===e.type?null===n||void 0===n?void 0:n.replace(",","."):n)}return(0,a.YP)((function(){return s.value}),(function(e){return r("focus-change",e)})),{focused:s,uid:o,inputId:i,inputMode:u,messageAsObject:l,hasError:c,hasWarning:d,showMessage:p,availableTextLimit:m,checkIfNumber:h,handleInput:w}}});var y=n(83744);const k=(0,y.Z)(w,[["render",m],["__scopeId","data-v-11474a89"]]),b=k},85619:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("Search"),u=(0,a.up)("Eraser"),l=(0,a.up)("InputField");return(0,a.wg)(),(0,a.j4)(l,(0,a.dG)({class:"input-search"},e.$attrs,{thin:"","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),{after:(0,a.w5)((function(){return[e.$attrs.value?((0,a.wg)(),(0,a.j4)(u,{key:1,class:"erase-icon",onClick:t[0]||(t[0]=function(t){return e.$emit("update:modelValue","")})})):((0,a.wg)(),(0,a.j4)(s,{key:0}))]})),_:1},16)}var o=n(36179),i={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},s=(0,a._)("path",{d:"M10.603 17.126C11.9371 17.126 13.1872 16.7233 14.2276 16.0353L17.9025 19.7186C18.1458 19.9535 18.4562 20.0709 18.7918 20.0709C19.4882 20.0709 20 19.5256 20 18.8376C20 18.5188 19.8909 18.2083 19.656 17.9734L16.0063 14.3069C16.7614 13.233 17.2061 11.9325 17.2061 10.523C17.2061 6.89003 14.236 3.91992 10.603 3.91992C6.9785 3.91992 4 6.89003 4 10.523C4 14.1559 6.97011 17.126 10.603 17.126ZM10.603 15.3641C7.94337 15.3641 5.76193 13.1826 5.76193 10.523C5.76193 7.86329 7.94337 5.68185 10.603 5.68185C13.2627 5.68185 15.4442 7.86329 15.4442 10.523C15.4442 13.1826 13.2627 15.3641 10.603 15.3641Z",fill:"currentColor"},null,-1),u=[s];function l(e,t){return(0,a.wg)(),(0,a.iD)("svg",i,u)}var c=n(83744);const d={},p=(0,c.Z)(d,[["render",l]]),m=p;var f={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},v=(0,a._)("g",{opacity:"0.7"},[(0,a._)("path",{opacity:"0.44",d:"M7.71402 19.71C7.90028 19.8947 8.15168 19.9989 8.41402 20H20.994C21.5245 20 22.0332 19.7893 22.4082 19.4142C22.7833 19.0391 22.994 18.5304 22.994 18V6C22.994 5.46957 22.7833 4.96086 22.4082 4.58579C22.0332 4.21071 21.5245 4 20.994 4H8.42002C8.15768 4.0011 7.90628 4.10526 7.72002 4.29L0.657021 11.29C0.563141 11.383 0.488619 11.4936 0.437761 11.6156C0.386903 11.7375 0.360718 11.8684 0.360718 12.0005C0.360718 12.1326 0.386903 12.2635 0.437761 12.3854C0.488619 12.5074 0.563141 12.618 0.657021 12.711L7.71402 19.71Z",fill:"white"}),(0,a._)("path",{d:"M15.414 14.829L14 13.415L12.586 14.829C12.3983 15.0165 12.1439 15.1218 11.8786 15.1217C11.6134 15.1216 11.359 15.0161 11.1715 14.8285C10.984 14.6408 10.8787 14.3864 10.8788 14.1211C10.8789 13.8559 10.9843 13.6015 11.172 13.414L12.585 12L11.172 10.586C10.9898 10.3974 10.889 10.1448 10.8913 9.88259C10.8936 9.62039 10.9988 9.36958 11.1842 9.18417C11.3696 8.99876 11.6204 8.89359 11.8826 8.89131C12.1448 8.88903 12.3974 8.98983 12.586 9.17199L14 10.585L15.414 9.17199C15.5068 9.07908 15.6171 9.00536 15.7384 8.95506C15.8597 8.90475 15.9898 8.87883 16.1211 8.87878C16.2525 8.87874 16.3826 8.90456 16.5039 8.95478C16.6253 9.00501 16.7356 9.07864 16.8285 9.17149C16.9214 9.26433 16.9951 9.37457 17.0454 9.4959C17.0957 9.61723 17.1216 9.74728 17.1217 9.87863C17.1217 10.01 17.0959 10.1401 17.0457 10.2614C16.9955 10.3828 16.9218 10.4931 16.829 10.586L15.415 12L16.829 13.414C17.0166 13.6016 17.122 13.8561 17.122 14.1215C17.122 14.3869 17.0166 14.6413 16.829 14.829C16.6413 15.0166 16.3869 15.122 16.1215 15.122C15.8561 15.122 15.6016 15.0166 15.414 14.829Z",fill:"white"})],-1),g=[v];function h(e,t){return(0,a.wg)(),(0,a.iD)("svg",f,g)}const w={},y=(0,c.Z)(w,[["render",h]]),k=y,b={components:{InputField:o.Z,Search:m,Eraser:k}},C=(0,c.Z)(b,[["render",r],["__scopeId","data-v-b52ecd9a"]]),A=C},70764:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(66252),r=n(3577),o=["href"],i={key:0,class:"link-icon"};function s(e,t,n,s,u,l){return(0,a.wg)(),(0,a.iD)("a",{class:(0,r.C_)(["link-button",e.variant,{underlined:e.underlined}]),href:e.IS_MOBILE_APP?void 0:e.to,target:"_blank",onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick.apply(e,arguments)})},[(0,a.WI)(e.$slots,"default",{},void 0,!0),e.$slots.icon?((0,a.wg)(),(0,a.iD)("span",i,[(0,a.WI)(e.$slots,"icon",{},void 0,!0)])):(0,a.kq)("",!0)],10,o)}n(35666),n(41539),n(26699);var u=n(79323),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},c=["default","muted","simple"];const d=(0,a.aZ)({props:{to:{type:String,required:!0},underlined:Boolean,variant:{type:String,validator:function(e){return c.includes(e)},default:c[0]}},setup:function(e){function t(t){return l(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:u.Ag&&(t.preventDefault(),window.open(e.to,"_system"));case 1:case"end":return n.stop()}}),n)})))}return{LINK_BUTTON_VARIANT:c,IS_MOBILE_APP:u.Ag,onClick:t}}});var p=n(83744);const m=(0,p.Z)(d,[["render",s],["__scopeId","data-v-3c49ebb4"]]),f=m},85202:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.j4)(s,(0,a.dG)(e.$attrs,{class:["list-item-wrapper",{selected:e.selected}]}),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class"])}var o=n(85721);const i=(0,a.aZ)({components:{BtnPlain:o.Z},props:{selected:Boolean}});var s=n(83744);const u=(0,s.Z)(i,[["render",r],["__scopeId","data-v-22701c0f"]]),l=u},15401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(66252),r={class:"loader","data-cy":"loader"},o={class:"container"};function i(e,t,n,i,s,u){var l=(0,a.up)("AnimatedSpinner");return(0,a.wg)(),(0,a.iD)("div",r,[(0,a._)("div",o,[(0,a.Wm)(l,{class:"spinner"})])])}var s=n(3464);const u={components:{AnimatedSpinner:s.Z}};var l=n(83744);const c=(0,l.Z)(u,[["render",i],["__scopeId","data-v-5af93660"]]),d=c},88757:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var a=n(66252),r=n(3577),o={key:0,class:"text"};function i(e,t,n,i,s,u){var l=(0,a.up)("OfflineIcon");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["message-offline",{horizontal:e.horizontal,"colors-disabled":e.disableColors}])},[(0,a.Wm)(l,{class:"offline-icon"}),e.text?((0,a.wg)(),(0,a.iD)("p",o,(0,r.zw)(e.text),1)):(0,a.kq)("",!0)],2)}var s={viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},u=(0,a._)("path",{opacity:".5",d:"M22.56 33.59c9.09 0 16.61-7.52 16.61-16.63 0-9.1-7.54-16.63-16.62-16.63C14.09.33 7 6.83 6.06 15.08a9.97 9.97 0 0 1 2.64-.23 13.34 13.34 0 0 1 2.73-6.34 12.2 12.2 0 0 0 3.7 1.8 25.8 25.8 0 0 0-.77 5.5h-1.75a10.7 10.7 0 0 1 3.13 2.28h5.7v4.54c-1.02.03-2.03.14-2.98.28.2.68.3 1.44.34 2.21.82-.13 1.7-.2 2.64-.24v4.99c-1.02-.45-1.95-1.56-2.7-3.14-.13.93-.4 1.82-.75 2.67.23.4.52.74.8 1-.38-.1-.75-.23-1.1-.37a9.1 9.1 0 0 1-1.48 2.25c1.95.84 4.1 1.3 6.35 1.3ZM12.88 6.85a13.8 13.8 0 0 1 5.73-3.33c-1.13 1.1-2.11 2.7-2.83 4.7-1.13-.37-2.1-.82-2.9-1.37Zm16.45 1.37c-.72-2-1.69-3.6-2.83-4.7a13.6 13.6 0 0 1 5.71 3.33c-.77.55-1.74 1.02-2.88 1.37Zm-11.32.55c.85-2.37 2.1-4.1 3.43-4.7v5.05A24.61 24.61 0 0 1 18 8.77Zm5.68.35V4.07c1.33.6 2.55 2.33 3.42 4.7-1.06.19-2.22.3-3.42.35Zm7.06 6.71a26.15 26.15 0 0 0-.76-5.52 13.2 13.2 0 0 0 3.7-1.78 13.7 13.7 0 0 1 2.85 7.3h-5.8Zm-14.1 0c.07-1.75.33-3.44.7-4.94 1.27.26 2.65.44 4.09.48v4.46h-4.8Zm7.04 0v-4.46c1.41-.04 2.8-.22 4.07-.48.38 1.5.64 3.19.7 4.94H23.7Zm0 6.8v-4.54h4.77a23.03 23.03 0 0 1-.72 5 26.64 26.64 0 0 0-4.05-.46Zm6.28 1.04c.44-1.67.71-3.56.78-5.58h5.79c-.21 2.75-1.27 5.3-2.9 7.37-.95-.73-2.2-1.32-3.67-1.79Zm-6.28 6.2v-5c1.2.06 2.34.17 3.39.36-.87 2.32-2.06 4.01-3.4 4.64Zm2.86.53c1.1-1.1 2.06-2.69 2.77-4.62 1.12.35 2.07.79 2.86 1.34a13.8 13.8 0 0 1-5.63 3.28Z",fill:"white"},null,-1),l=(0,a._)("path",{d:"M8.27 33.67a8.32 8.32 0 0 0 8.28-8.28 8.33 8.33 0 0 0-8.29-8.27A8.32 8.32 0 0 0 0 25.4a8.32 8.32 0 0 0 8.27 8.28Zm-2.73-4.79a.76.76 0 0 1-.53-1.3L7.2 25.4 5 23.23a.75.75 0 0 1 .53-1.29c.23 0 .4.07.55.21l2.18 2.18 2.19-2.18a.74.74 0 0 1 .54-.23c.43 0 .76.34.76.76 0 .2-.08.38-.23.54L9.36 25.4l2.17 2.18a.76.76 0 0 1-.54 1.3.78.78 0 0 1-.55-.22l-2.17-2.17-2.17 2.17a.74.74 0 0 1-.56.22Z",fill:"currentColor"},null,-1),c=[u,l];function d(e,t){return(0,a.wg)(),(0,a.iD)("svg",s,c)}var p=n(83744);const m={},f=(0,p.Z)(m,[["render",d]]),v=f,g=(0,a.aZ)({components:{OfflineIcon:v},props:{text:{type:String,default:null},horizontal:Boolean,disableColors:Boolean}}),h=(0,p.Z)(g,[["render",i],["__scopeId","data-v-129d996a"]]),w=h},89815:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(66252),r=n(49963),o=n(3577),i={class:"container"},s={key:0,class:"header-icon"},u={class:"header-default-text"};function l(e,t,n,l,c,d){var p=(0,a.up)("BtnClose"),m=(0,a.up)("FixedScreenFooter");return(0,a.wg)(),(0,a.j4)(r.uT,{appear:"",name:e.fromBottom?"from-bottom-transition":"pop-in-transition",onAfterEnter:t[1]||(t[1]=function(t){return e.$emit("open")})},{default:(0,a.w5)((function(){return[e.show?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["modal",{"full-screen":e.fullScreen,"from-bottom":e.fromBottom,"has-header":e.showHeader,"has-close-button":e.hasCloseButton,"no-padding":e.noPadding,dense:e.dense,"semi-dense":e.semiDense,"blur-bg":!(e.IS_FIREFOX&&e.IS_EXTENSION),"min-height":e.minHeight}])},[(0,a._)("div",i,[e.showHeader?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["header",{transparent:e.hasCloseButton&&!(e.$slots.header||e.header)}])},[e.$slots.icon?((0,a.wg)(),(0,a.iD)("div",s,[(0,a.WI)(e.$slots,"icon",{},void 0,!0)])):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"header",{},(function(){return[(0,a._)("div",u,(0,o.zw)(e.header),1)]}),!0),e.hasCloseButton?((0,a.wg)(),(0,a.j4)(p,{key:1,"data-cy":"btn-close",class:"close-button",onClick:e.handleClose},null,8,["onClick"])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0),e.$slots["default"]?((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,o.C_)(["body",{"text-center":e.centered,"without-padding-bottom":e.bodyWithoutPaddingBottom}])},[(0,a.WI)(e.$slots,"default",{},void 0,!0)],2)):(0,a.kq)("",!0),e.$slots.footer?((0,a.wg)(),(0,a.j4)(m,(0,o.vs)((0,a.dG)({key:2},e.$attrs)),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"footer",{},void 0,!0)]})),_:3},16)):(0,a.kq)("",!0)]),(0,a._)("div",{class:"cover",onClick:t[0]||(t[0]=function(){return e.handleClose&&e.handleClose.apply(e,arguments)})})],2)):(0,a.kq)("",!0)]})),_:3},8,["name"])}var c=n(79323),d=n(62654),p=n(77743);const m=(0,a.aZ)({components:{FixedScreenFooter:p.Z,BtnClose:d.Z},props:{show:Boolean,hasCloseButton:Boolean,fullScreen:Boolean,fromBottom:Boolean,dense:Boolean,semiDense:Boolean,noPadding:Boolean,centered:Boolean,bodyWithoutPaddingBottom:Boolean,minHeight:Boolean,header:{type:String,default:null}},emits:["close","open"],setup:function(e,t){var n=t.slots,r=t.emit,o=(0,a.Fl)((function(){return e.hasCloseButton||e.header||n.header}));function i(){r("close")}function s(e){e.detail.register(100,i)}return(0,a.bv)((function(){document.addEventListener("ionBackButton",s),document.body.style.overflow||(document.body.style.overflow="hidden")})),(0,a.Jd)((function(){document.removeEventListener("ionBackButton",s),document.body.style.overflow=""})),{handleClose:i,IS_FIREFOX:c.D1,IS_EXTENSION:c.FH,showHeader:o}}});var f=n(83744);const v=(0,f.Z)(m,[["render",l],["__scopeId","data-v-388cf64b"]]),g=v},10704:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("BtnBox");return(0,a.wg)(),(0,a.j4)(s,{text:e.$t("common.receive"),subtitle:e.subtitle,icon:e.ArrowReceiveIcon,"is-big":e.isBig,onClick:t[0]||(t[0]=function(t){return e.openTransferReceiveModal()})},null,8,["text","subtitle","icon","is-big"])}var o=n(79150),i=n(79323),s=n(9697),u=n(84394),l=n(40633);const c=(0,a.aZ)({components:{BtnBox:u.Z},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(e){var t=(0,s.ol)(),n=t.openModal,r=(0,o.QT)(),u=r.t;function c(){n(i.Rs,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var d=(0,a.Fl)((function(){return e.isBig?e.isMultisig?u("dashboard.receiveCard.descriptionMultisig"):u("dashboard.receiveCard.description"):""}));return{subtitle:d,ArrowReceiveIcon:l.Z,openTransferReceiveModal:c}}});var d=n(83744);const p=(0,d.Z)(c,[["render",r]]),m=p},90629:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("BtnBox");return(0,a.wg)(),(0,a.j4)(s,{text:e.isMultisig?e.$t("dashboard.proposeCard.title"):e.$t("common.send"),subtitle:e.subtitle,icon:e.ArrowSendIcon,disabled:!e.isOnline||!!e.pendingMultisigTransaction&&e.isMultisig,"data-cy":"send","is-big":e.isBig,onClick:t[0]||(t[0]=function(t){return e.openTransferSendModal()})},null,8,["text","subtitle","icon","disabled","is-big"])}var o=n(33907),i=n(79150),s=n(79323),u=n(9697),l=n(84394),c=n(6299);const d=(0,a.aZ)({components:{BtnBox:l.Z},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(e){var t=(0,o.oR)(),n=(0,i.QT)(),r=n.t,l=(0,u.Rc)(),d=l.isOnline,p=(0,u.ol)(),m=p.openModal,f=(0,u.cX)({store:t}),v=f.pendingMultisigTransaction;function g(){m(s.O,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var h=(0,a.Fl)((function(){return e.isMultisig?r("dashboard.proposeCard.description"):r("dashboard.sendCard.description")}));return{isOnline:d,pendingMultisigTransaction:v,subtitle:h,ArrowSendIcon:c.Z,openTransferSendModal:g}}});var p=n(83744);const m=(0,p.Z)(d,[["render",r]]),f=m},27128:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(66252),r=n(3577),o={key:0,class:"payload"},i={class:"payload-header"},s={class:"label-text"},u={class:"payload-text"};function l(e,t,n,l,c,d){return n.payload&&n.payload.length?((0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",i,[(0,a._)("span",s,(0,r.zw)(e.$t("modals.send.payload")),1),(0,a.WI)(e.$slots,"default",{},void 0,!0)]),(0,a._)("div",u,(0,r.zw)(n.payload),1)])):(0,a.kq)("",!0)}const c={name:"PayloadDetails",props:{payload:{type:String,default:""}}};var d=n(83744);const p=(0,d.Z)(c,[["render",l],["__scopeId","data-v-30e23ae8"]]),m=p},26693:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){return e.selectedIcon?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.selectedIcon),{key:0,class:(0,r.C_)(["protocol-icon",[e.iconSize]])},null,8,["class"])):(0,a.kq)("",!0)}n(26699);var i=n(79323),s={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},u=(0,a._)("circle",{cx:"8",cy:"8",r:"8",fill:"white"},null,-1),l=(0,a._)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"#F7296E"},null,-1),c=(0,a._)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"#F7296E"},null,-1),d=[u,l,c];function p(e,t){return(0,a.wg)(),(0,a.iD)("svg",s,d)}var m=n(83744);const f={},v=(0,m.Z)(f,[["render",p]]),g=v;var h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},w=(0,a.uE)('',2),y=[w];function k(e,t){return(0,a.wg)(),(0,a.iD)("svg",h,y)}const b={},C=(0,m.Z)(b,[["render",k]]),A=C;var x=["sm","rg"];const _=(0,a.aZ)({props:{protocol:{type:String,required:!0},iconSize:{type:String,default:"rg",validator:function(e){return x.includes(e)}}},setup:function(e){var t=(0,a.Fl)((function(){switch(e.protocol){case i.DJ:return g;case i.ou:return A;default:return null}}));return{selectedIcon:t}}}),D=(0,m.Z)(_,[["render",o],["__scopeId","data-v-5a76876d"]]),T=D},70090:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(68309);var a=n(66252),r=n(3577),o=["disabled","value","type","name"];function i(e,t,n,i,s,u){return(0,a.wg)(),(0,a.iD)("label",{class:(0,r.C_)(["radio-button",{disabled:e.disabled}])},[(0,a._)("span",{class:(0,r.C_)(["radio-dot",{checked:e.value}])},[(0,a._)("input",{class:"input",disabled:e.disabled,value:e.value,type:e.type,name:e.name,onChange:t[0]||(t[0]=function(){return e.handleChange&&e.handleChange.apply(e,arguments)})},null,40,o)],2),(0,a._)("span",{class:(0,r.C_)(["radio-holder",{checked:e.value}])},[(0,a.WI)(e.$slots,"default",{},void 0,!0)],2)],2)}n(9653);const s=(0,a.aZ)({props:{value:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean},setup:function(e,t){var n=t.emit;function a(t){var a;e.disabled||n("input",(null===(a=t.target)||void 0===a?void 0:a.checked)||!1)}return{handleChange:a}}});var u=n(83744);const l=(0,u.Z)(s,[["render",i],["__scopeId","data-v-e6085678"]]),c=l},26906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});n(37268);var a=n(66252),r=n(3577),o={key:0,class:"label"},i={key:0,class:"symbol"};function s(e,t,n,s,u,l){return(0,a.wg)(),(0,a.iD)("span",{class:(0,r.C_)(["token-amount",[{large:e.large,"has-label":!!e.label,small:e.small}]])},[(0,a._)("span",null,[e.label?((0,a.wg)(),(0,a.iD)("span",o,(0,r.zw)(e.label),1)):(0,a.kq)("",!0),(0,a._)("span",{class:"amount",style:(0,r.j5)(e.dynamicSizing?{"--font-size":e.calculateFontSize(e.amountRounded)}:{})},[(0,a.Uk)((0,r.zw)(e.amountRounded)+" ",1),e.noSymbol?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",i,(0,r.zw)(e.symbol),1))],4)]),e.amountFiat?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,r.C_)(["fiat",{"fiat-below":e.fiatBelow}])},(0,r.zw)(e.amountFiat),3)):(0,a.kq)("",!0)],2)}n(9653),n(33161);var u=n(33907),l=n(48854),c=n(9697),d=n(28243),p=n(71584);const m=(0,a.aZ)({props:{amount:{type:Number,required:!0},label:{type:String,default:null},symbol:{type:String,default:d.WJ},aex9:{type:Boolean,default:!1},fiatBelow:{type:Boolean,default:!1},hideFiat:Boolean,large:Boolean,row:Boolean,noSymbol:Boolean,highPrecision:Boolean,dynamicSizing:Boolean,small:Boolean,protocol:{type:String,required:!0}},setup:function(e){var t=(0,u.oR)(),n=(0,c.jg)({store:t}),r=n.getFormattedAndRoundedFiat,o=(0,a.Fl)((function(){return Number.isInteger(e.amount)||0===e.amount?e.amount:(0,l.uf)(e.amount,{minimumFractionDigits:2,maximumFractionDigits:p.l.getAdapter(e.protocol).getAmountPrecision({amount:e.amount,highPrecision:e.highPrecision})})})),i=(0,a.Fl)((function(){return e.hideFiat||e.aex9?"":r(e.amount,e.protocol)}));return{amountRounded:o,amountFiat:i,calculateFontSize:l.MX}}});var f=n(83744);const v=(0,f.Z)(m,[["render",s],["__scopeId","data-v-d4094518"]]),g=v},1009:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});n(68309);var a=n(66252),r=n(3577),o={key:0,class:"icon"},i=["src","title"],s={class:"symbols"},u=["textContent"],l={key:1,class:"separator"},c=["textContent"];function d(e,t,n,d,p,m){var f,v,g,h,w,y,k,b=(0,a.up)("ProtocolIcon");return(0,a.wg)(),(0,a.iD)("span",{class:(0,r.C_)(["tokens",[e.iconSize,{vertical:e.vertical,bright:e.bright}]])},[e.noIcons?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",o,[(null===(f=e.imgToken)||void 0===f?void 0:f.symbol)===e.BTC_SYMBOL?((0,a.wg)(),(0,a.j4)(b,{key:0,class:"icon-image",protocol:e.PROTOCOL_BITCOIN,"icon-size":e.iconSize},null,8,["protocol","icon-size"])):((0,a.wg)(),(0,a.iD)("img",{key:1,class:(0,r.C_)(["icon-image",{"with-border":!e.imgToken.image}]),src:e.imgToken.image||e.getTokenPlaceholderUrl(e.imgToken),title:e.imgToken.symbol},null,10,i))])),(0,a._)("span",s,[e.fromToken?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"symbol",textContent:(0,r.zw)(e.truncateString(null!==(g=null===(v=e.fromToken)||void 0===v?void 0:v.name)&&void 0!==g?g:null===(h=e.fromToken)||void 0===h?void 0:h.symbol))},null,8,u)):(0,a.kq)("",!0),e.fromToken&&e.toToken?((0,a.wg)(),(0,a.iD)("span",l," / ")):(0,a.kq)("",!0),e.toToken?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"symbol",textContent:(0,r.zw)(e.truncateString(null!==(y=null===(w=e.toToken)||void 0===w?void 0:w.name)&&void 0!==y?y:null===(k=e.toToken)||void 0===k?void 0:k.symbol))},null,8,c)):(0,a.kq)("",!0)])],2)}n(9653),n(26699),n(69826),n(41539),n(21249),n(92222);var p=n(79323),m=n(48854),f=n(28243),v=n(3437),g=n(69646),h=n.n(g),w=n(26693),y=["rg","md","lg","xl"];const k=(0,a.aZ)({components:{ProtocolIcon:w.Z},props:{tokens:{type:Array,required:!0},symbolLength:{type:Number,default:11},doubleSymbolLength:{type:Number,default:5},iconSize:{type:String,default:"rg",validator:function(e){return y.includes(e)}},vertical:Boolean,noIcons:Boolean,fullSymbol:Boolean,bright:Boolean},setup:function(e){function t(){var t;if((null===(t=e.tokens)||void 0===t?void 0:t.length)<2)return e.symbolLength;var n=e.tokens.map((function(e){var t=e.symbol;return t.length})).find((function(t){return t{"use strict";n.d(t,{Z:()=>w});var a=n(66252),r=n(3577),o=n(49963),i={key:0,ref:"transactionFilterEl",class:"filter-wrapper"};function s(e,t,n,s,u,l){var c=(0,a.up)("InputSearch"),d=(0,a.up)("Filters");return e.showFilterBar?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["transaction-filter",{"without-search":e.hideSearch}]),style:(0,r.j5)({maxHeight:e.openHeight})},[(0,a.Wm)(o.uT,{name:"fade-transition",mode:"out-in"},{default:(0,a.w5)((function(){return[e.firstRender||e.openHeight?((0,a.wg)(),(0,a.iD)("div",i,[!e.hideSearch&&e.isActiveAccountAe?((0,a.wg)(),(0,a.j4)(c,{key:0,modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),class:"input-search",placeholder:e.$t("pages.fungible-tokens.searchPlaceholder"),onFocusChange:e.handleFocus},null,8,["modelValue","placeholder","onFocusChange"])):(0,a.kq)("",!0),e.hideFilterButton?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(d,{key:1,modelValue:e.displayMode,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.displayMode=t}),class:"filters",filters:e.isActiveAccountAe?e.filtersConfigAe:e.filtersConfig,"scroll-top-threshold":e.scrollTopThreshold},null,8,["modelValue","filters","scroll-top-threshold"]))],512)):(0,a.kq)("",!0)]})),_:1})],6)):(0,a.kq)("",!0)}n(35666),n(41539);var u=n(2262),l=n(22201),c=n(33907),d=n(9697),p=n(85619),m=n(34978),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const v=(0,a.aZ)({name:"TransactionAndTokenFilter",components:{Filters:m.Z,InputSearch:p.Z},props:{showFilters:Boolean},setup:function(e){var t=this,n=(0,l.yj)(),r=(0,c.oR)(),o=(0,d.R0)(),i=o.isSearchBarAndFilterExpanded,s=o.searchPhrase,p=o.displayMode,m=o.filtersConfig,v=o.filtersConfigAe,g=(0,d.Sj)(),h=g.viewportElement,w=(0,d.xe)({store:r}),y=w.isActiveAccountAe,k=140,b=(0,u.iH)(0),C=(0,u.iH)(!0),A=(0,u.iH)(!1),x=(0,u.iH)(),_=(0,u.iH)(),D=(0,a.Fl)((function(){return e.showFilters||A.value||i.value?"".concat(b.value,"px"):0})),T=(0,a.Fl)((function(){var e;return!!(null===(e=n.meta)||void 0===e?void 0:e.showFilterBar)})),S=(0,a.Fl)((function(){var e;return!!(null===(e=n.meta)||void 0===e?void 0:e.hideSearchBar)})),I=(0,a.Fl)((function(){var e;return!!(null===(e=n.meta)||void 0===e?void 0:e.hideFilterButton)}));function F(e){A.value=e}function E(){_.value=new ResizeObserver((function(){var e,t=(null===(e=x.value)||void 0===e?void 0:e.clientHeight)||0;t&&t>0&&(b.value=t)}))}return(0,a.YP)(x,(function(e){var t,n;e?null===(t=_.value)||void 0===t||t.observe(e):null===(n=_.value)||void 0===n||n.disconnect()})),(0,a.YP)((function(){return s.value}),(function(){h.value&&h.value.scrollTop>k&&h.value.scrollTo({top:k,behavior:"smooth"})})),(0,a.bv)((function(){return f(t,void 0,void 0,regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:T.value&&(b.value=null===(t=null===x||void 0===x?void 0:x.value)||void 0===t?void 0:t.clientHeight,C.value=!1,E());case 1:case"end":return e.stop()}}),e)})))})),{transactionFilterEl:x,searchPhrase:s,filtersConfig:m,filtersConfigAe:v,isActiveAccountAe:y,openHeight:D,hideSearch:S,showFilterBar:T,hideFilterButton:I,displayMode:p,firstRender:C,scrollTopThreshold:k,handleFocus:F}}});var g=n(83744);const h=(0,g.Z)(v,[["render",s],["__scopeId","data-v-010c99c5"]]),w=h},57413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Re});var a=n(66252),r=n(3577),o={class:"transaction-details-base"},i={key:0,class:"header"},s={class:"content"},u={class:"explorer"},l={class:"data-grid"},c={class:"text-address"},d={class:"text-address"},p={class:"row payer-id"},m={class:"text-address"},f={class:"row"},v={class:"text-address"},g={class:"span-3-columns"};function h(e,t,n,h,w,y){var k=(0,a.up)("TransactionErrorStatus"),b=(0,a.up)("TransactionTokens"),C=(0,a.up)("TransactionOverview"),A=(0,a.up)("ExternalLink"),x=(0,a.up)("LinkButton"),_=(0,a.up)("SwapRates"),D=(0,a.up)("SwapRoute"),T=(0,a.up)("DetailsItem"),S=(0,a.up)("TransactionDetailsPoolTokens"),I=(0,a.up)("CopyText"),F=(0,a.up)("Avatar"),E=(0,a.up)("DialogBox"),R=(0,a.up)("PayloadDetails"),B=(0,a.up)("AnimatedPending"),Z=(0,a.up)("TokenAmount");return(0,a.wg)(),(0,a.iD)("div",o,[!e.isDexAllowance||e.isErrorTransaction?((0,a.wg)(),(0,a.iD)("div",i,[e.isErrorTransaction?((0,a.wg)(),(0,a.j4)(k,{key:0,"return-type":e.transaction.tx.returnType},null,8,["return-type"])):(0,a.kq)("",!0),(0,a.Wm)(b,{"ext-tokens":e.noneAeCoin,"is-rounded":!!e.noneAeCoin,transaction:e.transaction,direction:e.direction,"is-allowance":e.isDexAllowance,error:e.isErrorTransaction,class:(0,r.C_)({reverse:e.isPool}),"icon-size":"md"},null,8,["ext-tokens","is-rounded","transaction","direction","is-allowance","error","class"])])):(0,a.kq)("",!0),(0,a._)("div",s,[(0,a.Wm)(C,{transaction:e.transaction},null,8,["transaction"]),(0,a._)("div",u,[(0,a.Wm)(x,{to:e.explorerUrl},{icon:(0,a.w5)((function(){return[(0,a.Wm)(A)]})),default:(0,a.w5)((function(){return[(0,a.Uk)((0,r.zw)(e.$t("pages.transactionDetails.explorer"))+" ",1)]})),_:1},8,["to"])]),(0,a._)("div",l,[e.isSwap&&!e.isErrorTransaction?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)(_,{transaction:e.transaction},null,8,["transaction"]),(0,a.Wm)(D,{transaction:e.transaction},null,8,["transaction"])],64)):(0,a.kq)("",!0),e.isErrorTransaction?((0,a.wg)(),(0,a.j4)(T,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.transaction.tx["return"],class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,a.kq)("",!0),e.isPool||e.isDexAllowance?((0,a.wg)(),(0,a.j4)(S,{key:2,transaction:e.transaction,direction:e.direction,"tx-function":e.transaction.tx["function"],"is-allowance":e.isDexAllowance,class:(0,r.C_)({reverse:e.isPool})},null,8,["transaction","direction","tx-function","is-allowance","class"])):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"tip-url",{},void 0,!0),e.contractId&&e.isContract(e.contractId)?((0,a.wg)(),(0,a.j4)(T,{key:3,label:e.$t("common.smartContract"),small:""},{value:(0,a.w5)((function(){return[(0,a.Wm)(I,{"hide-icon":"",value:e.contractId,"copied-text":e.$t("common.hashCopied")},{default:(0,a.w5)((function(){return[(0,a._)("span",c,(0,r.zw)(e.splitAddress(e.contractId)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,a.kq)("",!0),(0,a.Wm)(T,{label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,a.w5)((function(){return[(0,a.Wm)(I,{"hide-icon":"",value:e.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,a.w5)((function(){return[(0,a._)("span",d,(0,r.zw)(e.splitAddress(e.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"]),e.multisigTransactionFeePaidBy?((0,a.wg)(),(0,a.j4)(T,{key:4,label:e.$t("pages.transactionDetails.feePaidBy"),small:""},{default:(0,a.w5)((function(){return[(0,a._)("div",p,[(0,a.Wm)(F,{address:e.multisigTransactionFeePaidBy,size:"sm"},null,8,["address"]),(0,a._)("div",null,[e.isLocalAccountAddress(e.multisigTransactionFeePaidBy)?((0,a.wg)(),(0,a.j4)(E,{key:0,class:"dialog-box",dense:"",position:"bottom"},{default:(0,a.w5)((function(){return[(0,a.Uk)((0,r.zw)(e.$t("common.you")),1)]})),_:1})):(0,a.kq)("",!0),(0,a.Wm)(I,{"hide-icon":"",value:e.multisigTransactionFeePaidBy,"copied-text":e.$t("common.addressCopied")},{default:(0,a.w5)((function(){return[(0,a._)("span",m,(0,r.zw)(e.splitAddress(e.multisigTransactionFeePaidBy)),1)]})),_:1},8,["value","copied-text"])])])]})),_:1},8,["label"])):(0,a.kq)("",!0),e.multisigContractId?((0,a.wg)(),(0,a.j4)(T,{key:5,label:e.$t("pages.transactionDetails.vaultContractId"),small:""},{default:(0,a.w5)((function(){return[(0,a._)("div",f,[(0,a.Wm)(F,{address:e.multisigContractId,size:"sm"},null,8,["address"]),(0,a.Wm)(I,{"hide-icon":"",value:e.multisigContractId,"copied-text":e.$t("common.addressCopied")},{default:(0,a.w5)((function(){return[(0,a._)("span",v,(0,r.zw)(e.splitAddress(e.multisigContractId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,a.kq)("",!0),(0,a.Wm)(R,{payload:e.payload},null,8,["payload"]),(0,a._)("div",g,[e.transaction.microTime&&!e.transaction.pending?((0,a.wg)(),(0,a.j4)(T,{key:0,value:e.formatDate(e.transaction.microTime),secondary:e.formatTime(e.transaction.microTime),label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},null,8,["value","secondary","label"])):e.transaction.pending?((0,a.wg)(),(0,a.j4)(T,{key:1,label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},{value:(0,a.w5)((function(){return[(0,a.Wm)(B,{class:"pending-icon"}),(0,a.Uk)(" "+(0,r.zw)(e.$t("common.pending"))+"... ",1)]})),_:1},8,["label"])):(0,a.kq)("",!0),e.transaction.blockHeight&&e.transaction.blockHeight>0?((0,a.wg)(),(0,a.j4)(T,{key:2,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight"),"data-cy":"block-height"},null,8,["value","label"])):(0,a.kq)("",!0),e.transaction.tx.nonce?((0,a.wg)(),(0,a.j4)(T,{key:3,value:e.transaction.tx.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,a.kq)("",!0)]),e.isDex||e.isDexAllowance||e.isMultisig?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(T,{key:6,label:e.$t("common.amount"),"data-cy":"amount"},{value:(0,a.w5)((function(){return[(0,a.Wm)(Z,{amount:e.totalAmount,symbol:e.tokenSymbol,"hide-fiat":e.isTransactionAex9,"high-precision":!!e.noneAeCoin,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"])),e.gasPrice?((0,a.wg)(),(0,a.j4)(T,{key:7,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,a.w5)((function(){return[(0,a.Wm)(Z,{amount:+e.gasPrice,protocol:e.PROTOCOL_AETERNITY,symbol:e.AE_SYMBOL,"hide-fiat":""},null,8,["amount","protocol","symbol"])]})),_:1},8,["label"])):(0,a.kq)("",!0),e.gasUsed?((0,a.wg)(),(0,a.j4)(T,{key:8,value:e.gasUsed,label:e.$t("pages.transactionDetails.gasUsed"),"data-cy":"gas"},null,8,["value","label"])):(0,a.kq)("",!0),e.transactionFee?((0,a.wg)(),(0,a.j4)(T,{key:9,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,a.w5)((function(){return[(0,a.Wm)(Z,{amount:e.transactionFee,symbol:e.coinSymbol,protocol:e.protocol,"high-precision":!!e.noneAeCoin},null,8,["amount","symbol","protocol","high-precision"])]})),_:1},8,["label"])):(0,a.kq)("",!0)])])])}n(9653);var w=n(79323),y=n(48854),k=n(34601),b=n(1839),C=function(e){return(0,a.dD)("data-v-e104491c"),e=e(),(0,a.Cn)(),e},A={key:0,class:"swap-route"},x={class:"title"},_={class:"swap-wrapper"},D={key:0,class:"divider"},T=C((function(){return(0,a._)("span",{class:"space"},null,-1)})),S={class:"arrow"};function I(e,t,n,o,i,s){var u=(0,a.up)("ArrowHead"),l=(0,a.up)("Tokens");return s.tokens.length>1?((0,a.wg)(),(0,a.iD)("div",A,[(0,a._)("div",x,(0,r.zw)(e.$t("pages.transactionDetails.swapRoute")),1),(0,a._)("div",_,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.tokens,(function(t,n){return(0,a.wg)(),(0,a.iD)("span",{key:n,class:"swap"},[n?((0,a.wg)(),(0,a.iD)("span",D,[T,(0,a.Uk)(" "+(0,r.zw)(s.checkWaeAeTx(n-1)?0:"".concat(n>1&&s.checkWaeAeTx(n-2)||1===n?"":"<","0.3"))+"% "+(0,r.zw)(e.$t("pages.transactionDetails.poolFee"))+" ",1),(0,a._)("span",S,[(0,a.Wm)(u)])])):(0,a.kq)("",!0),(0,a.Wm)(l,{tokens:[t]},null,8,["tokens"])])})),128))])])):(0,a.kq)("",!0)}var F=n(95822),E=n(11538),R=(n(34553),n(92222),n(21249),n(47042),n(26699),n(32023),n(30541),n(57658),n(33907)),B=n(43767),Z=n(9697),U=n(28243),P=n(1009),M={viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},L=(0,a._)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.58586 6.00001L0.292969 1.70712L1.70718 0.292908L7.41429 6.00001L1.70718 11.7071L0.292969 10.2929L4.58586 6.00001Z",fill:"currentColor"},null,-1),O=[L];function N(e,t){return(0,a.wg)(),(0,a.iD)("svg",M,O)}var W=n(83744);const H={},V=(0,W.Z)(H,[["render",N]]),j=V,q={components:{Tokens:P.Z,ArrowHead:j},props:{transaction:{type:Object,required:!0}},computed:(0,E.Z)((0,E.Z)({},(0,R.rn)("fungibleTokens",["availableTokens"])),{},{tokens:function(){var e,t=this;if(!(0,k.gJ)(this.transaction.tx["function"]))return[];var n=(0,k.U5)((0,B.Z)(this.transaction.tx["function"]));if(!n)return[];var a=n(this.transaction,this.availableTokens),r=a.tokens,o=this.transaction.tx.arguments.findIndex((function(e){var t=e.type;return"list"===t}));o>=0&&this.transaction.tx.arguments[o].value.length>r.length&&(r=[r[0]].concat((0,F.Z)(this.transaction.tx.arguments[o].value.slice(1,this.transaction.tx.arguments[o].value.length-1).map((function(e){var n=e.value;return t.availableTokens[n]}))),[r[1]]));var i=(0,Z.cn)({store:this.$store}),s=i.nodeNetworkId,u=null===(e=U.du[s.value])||void 0===e?void 0:e.wae;return!r[0].isAe||!u||null!==u&&void 0!==u&&u.includes(r[1].contractId)||(r.unshift((0,E.Z)((0,E.Z)({},r[0]),{},{isAe:!0})),r[1].isAe=!1),!r[r.length-1].isAe||!u||null!==u&&void 0!==u&&u.includes(r[r.length-2].contractId)||(r[r.length-1].isAe=!1,r.push((0,E.Z)((0,E.Z)({},r[r.length-1]),{},{isAe:!0}))),r}}),methods:{checkWaeAeTx:function(e){var t,n;if(e===this.tokens.length-1)return!1;var a=(0,Z.cn)({store:this.$store}),r=a.nodeNetworkId,o=U.du[r.value];return(null===o||void 0===o||null===(t=o.wae)||void 0===t?void 0:t.includes(this.tokens[e].contractId))&&this.tokens[e+1].isAe||(null===o||void 0===o||null===(n=o.wae)||void 0===n?void 0:n.includes(this.tokens[e+1].contractId))&&this.tokens[e].isAe}}},z=(0,W.Z)(q,[["render",I],["__scopeId","data-v-e104491c"]]),Y=z;var $=function(e){return(0,a.dD)("data-v-469e4033"),e=e(),(0,a.Cn)(),e},G={key:0,class:"swap-rates"},K={class:"title"},J=$((function(){return(0,a._)("span",{class:"price"},"1",-1)}));function Q(e,t,n,o,i,s){var u=(0,a.up)("Tokens"),l=(0,a.up)("TokenAmount");return e.rates.length?((0,a.wg)(),(0,a.iD)("div",G,[(0,a._)("div",K,(0,r.zw)(e.$t("pages.transactionDetails.rates")),1),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.rates,(function(t,n){return(0,a.wg)(),(0,a.iD)("div",{key:n,class:"rate"},[(0,a._)("div",null,[J,(0,a.Wm)(u,{tokens:[t.from],"no-icons":""},null,8,["tokens"])]),(0,a._)("div",null,[(0,a.Wm)(l,{amount:t.price,protocol:e.PROTOCOL_AETERNITY,class:"price","hide-fiat":"","no-symbol":"",aex9:"","high-precision":""},null,8,["amount","protocol"]),(0,a.Wm)(u,{tokens:[t.to],"no-icons":""},null,8,["tokens"])])])})),128))])):(0,a.kq)("",!0)}n(26541),n(41539);var X=n(32720),ee=n(26906);const te=(0,a.aZ)({components:{Tokens:P.Z,TokenAmount:ee.Z},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=(0,X.eJ)("fungibleTokens","availableTokens"),n=(0,a.Fl)((function(){return(0,k.gJ)(e.transaction.tx["function"])||(0,k.N9)(e.transaction.tx["function"])})),r=(0,a.Fl)((function(){if(!n.value)return[];var a=(0,k.U5)((0,B.Z)(e.transaction.tx["function"]));if(!a)return[];var r=a(e.transaction,t.value),o=r.tokens;if((null===o||void 0===o?void 0:o.length)<=1)return[];var i=o.every((function(e){return!!e.amount}));return[{from:o[0],to:o[1],price:i?o[1].amount/o[0].amount:0},{from:o[1],to:o[0],price:i?o[0].amount/o[1].amount:0}]}));return{PROTOCOL_AETERNITY:w.DJ,availableTokens:t,isSwapTx:n,rates:r}}}),ne=(0,W.Z)(te,[["render",Q],["__scopeId","data-v-469e4033"]]),ae=ne;var re=n(11362),oe=n(70764),ie=n(70237),se=n(91802),ue={class:"pool-tokens"};function le(e,t,n,r,o,i){var s=(0,a.up)("TransactionDetailsPoolTokenRow");return(0,a.wg)(),(0,a.iD)("div",ue,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.tokens,(function(t,n){return(0,a.wg)(),(0,a.j4)(s,{key:n,token:t,tokens:e.tokens,"hide-amount":e.hideAmount,label:e.getLabel(t.isPool)},null,8,["token","tokens","hide-amount","label"])})),128))])}var ce=n(79150),de=n(74761);const pe=(0,a.aZ)({components:{TransactionDetailsPoolTokenRow:de.Z},props:{transaction:{type:Object,required:!0},txFunction:{type:String,required:!0},direction:{type:String,required:!0},hideAmount:Boolean,isAllowance:Boolean},setup:function(e){var t=(0,R.oR)(),n=(0,ce.QT)(),a=n.t,r=(0,Z.Jp)({store:t,transaction:e.transaction,direction:e.direction,isAllowance:e.isAllowance,showDetailedAllowanceInfo:!0}),o=r.tokens;function i(t){var n=U.Lx[e.txFunction],r=n===U.Y0;return n===U.Nt?a("pages.transactionDetails.approveTokenUse"):a(t?r?"pages.transactionDetails.poolTokenReceived":"pages.transactionDetails.poolTokenSpent":r?"pages.transactionDetails.deposited":"pages.transactionDetails.withdrawn")}return{tokens:o,aettosToAe:k.mW,getLabel:i}}}),me=(0,W.Z)(pe,[["render",le],["__scopeId","data-v-3dd663a7"]]),fe=me;var ve=n(27128),ge={class:"transaction-reverted-status"},he={class:"status-wrapper"},we={class:"text-wrapper"},ye={key:0,class:"revert-info"};function ke(e,t,n,o,i,s){var u=(0,a.up)("Revert"),l=(0,a.up)("Failed");return(0,a.wg)(),(0,a.iD)("div",ge,[(0,a._)("div",he,[(0,a._)("div",we,[s.isReverted?((0,a.wg)(),(0,a.j4)(u,{key:0,class:"icon"})):((0,a.wg)(),(0,a.j4)(l,{key:1,class:"icon"})),(0,a.Uk)(" "+(0,r.zw)(s.isReverted?e.$t("pages.transactionDetails.revert"):e.$t("pages.transactionDetails.failed")),1)])]),s.isReverted?((0,a.wg)(),(0,a.iD)("div",ye,(0,r.zw)(e.$t("pages.transactionDetails.revertInfo")),1)):(0,a.kq)("",!0)])}var be=n(95936),Ce=n(92387);const Ae={components:{Revert:be.Z,Failed:Ce.Z},props:{returnType:{type:String,default:""}},computed:{isReverted:function(){return"revert"===this.returnType}}},xe=(0,W.Z)(Ae,[["render",ke],["__scopeId","data-v-e674478a"]]),_e=xe;var De=n(46010),Te=n(84032),Se=n(14201),Ie=n(26041);const Fe=(0,a.aZ)({components:{PayloadDetails:ve.Z,TransactionErrorStatus:_e,TransactionDetailsPoolTokens:fe,TransactionTokens:ie.Z,TransactionOverview:b.Z,TokenAmount:ee.Z,DetailsItem:re.Z,LinkButton:oe.Z,CopyText:se.Z,SwapRoute:Y,SwapRates:ae,AnimatedPending:Se.Z,ExternalLink:Ie.Z,Avatar:De.Z,DialogBox:Te.Z},props:{transaction:{type:Object,required:!0},coinSymbol:{type:String,required:!0},transactionFee:{type:Number,required:!0},isSwap:{type:Boolean},isPool:{type:Boolean},tokenSymbol:{type:String,required:!0},totalAmount:{type:Number,required:!0},isErrorTransaction:{type:Boolean},isDexAllowance:{type:Boolean},isDex:{type:Boolean},isTransactionAex9:{type:Boolean},payload:{type:String,default:""},isMultisig:{type:Boolean},direction:{type:String,required:!0},explorerUrl:{type:String,required:!0},isLocalAccountAddress:{type:Function,default:function(){return!1}},gasPrice:{type:Number,default:0},gasUsed:{type:Number,default:0},contractId:{type:String,default:""},multisigTransactionFeePaidBy:{type:String,default:""},multisigContractId:{type:String,default:""},hash:{type:String,required:!0},noneAeCoin:{type:Array,default:null},protocol:{type:String,required:!0}},setup:function(){return{PROTOCOL_AETERNITY:w.DJ,AE_SYMBOL:U.WJ,formatDate:y.p6,formatTime:y.mr,splitAddress:y.wC,isContract:k.Tz}}}),Ee=(0,W.Z)(Fe,[["render",h],["__scopeId","data-v-4d3f28ab"]]),Re=Ee},74761:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(66252),r={class:"token-info"};function o(e,t,n,o,i,s){var u=(0,a.up)("TokenAmount"),l=(0,a.up)("Tokens"),c=(0,a.up)("AddressTruncated"),d=(0,a.up)("DetailsItem");return(0,a.wg)(),(0,a.j4)(d,{label:e.label,class:"pool-token-row"},{value:(0,a.w5)((function(){return[(0,a._)("div",null,[e.hideAmount?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(u,{key:0,amount:e.amount,protocol:e.PROTOCOL_AETERNITY,"hide-fiat":"","no-symbol":""},null,8,["amount","protocol"])),(0,a._)("div",r,[e.token?((0,a.wg)(),(0,a.j4)(l,{key:0,tokens:e.token.isPool?e.tokens:[e.token]},null,8,["tokens"])):(0,a.kq)("",!0),e.token.contractId?((0,a.wg)(),(0,a.j4)(c,{key:1,"show-explorer-link":"",address:e.token.contractId,protocol:e.PROTOCOL_AETERNITY},null,8,["address","protocol"])):(0,a.kq)("",!0)])])]})),_:1},8,["label"])}var i=n(48854),s=n(79323),u=n(11362),l=n(26906),c=n(1009),d=n(27344);const p=(0,a.aZ)({components:{AddressTruncated:d.Z,TokenAmount:l.Z,DetailsItem:u.Z,Tokens:c.Z},props:{label:{type:String,default:""},token:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:{type:Boolean,default:!1}},setup:function(e){var t=(0,a.Fl)((function(){return+(e.token.decimals?(0,i.Yt)(e.token.amount,-e.token.decimals):e.token.amount)}));return{PROTOCOL_AETERNITY:s.DJ,amount:t}}});var m=n(83744);const f=(0,m.Z)(p,[["render",o],["__scopeId","data-v-2f8a705b"]]),v=f},61501:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me});n(68309);var a=n(66252),r=n(3577),o=function(e){return(0,a.dD)("data-v-37c99e44"),e=e(),(0,a.Cn)(),e},i={class:"transaction-info"},s={class:"parties"},u={class:"mid"},l=o((function(){return(0,a._)("div",{class:"line"},null,-1)})),c={key:2,class:"avatar"},d={class:"details"};function p(e,t,n,o,p,m){var f=(0,a.up)("TransactionTagList"),v=(0,a.up)("Avatar"),g=(0,a.up)("TriangleRight"),h=(0,a.up)("AensIcon"),w=(0,a.up)("SHLogo"),y=(0,a.up)("ActionIcon"),k=(0,a.up)("TransactionInfoDetailsParty");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a.Wm)(f,(0,r.vs)((0,a.F4)(e.$attrs)),null,16),(0,a._)("div",s,[e.sender.address?((0,a.wg)(),(0,a.j4)(v,{key:0,name:e.sender.name,address:e.sender.address,borderless:""},null,8,["name","address"])):(0,a.kq)("",!0),(0,a._)("div",u,[(0,a.Wm)(g,{class:"triangle"}),l]),e.recipient.address?((0,a.wg)(),(0,a.j4)(v,{key:1,address:e.recipient.address,name:e.recipient.name,borderless:""},null,8,["address","name"])):((0,a.wg)(),(0,a.iD)("div",c,[e.recipient.aens?((0,a.wg)(),(0,a.j4)(h,{key:0,class:"icon"})):(0,a.kq)("",!0),e.recipient.wallet?((0,a.wg)(),(0,a.j4)(w,{key:1,class:"icon logo"})):((0,a.wg)(),(0,a.j4)(y,{key:2,class:"icon"}))]))]),(0,a._)("div",d,[(0,a.Wm)(k,{"tx-party":e.sender,"data-cy":"sender"},null,8,["tx-party"]),(0,a.Wm)(k,{"tx-party":e.recipient,"data-cy":"recipient","is-recipient":""},null,8,["tx-party"])])])}var m={viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},f=(0,a._)("path",{d:"M1.75 2.00481L13 8.5L1.75 14.9952L1.75 2.00481Z",fill:"#141414",stroke:"currentColor","stroke-width":"2"},null,-1),v=[f];function g(e,t){return(0,a.wg)(),(0,a.iD)("svg",m,v)}var h=n(83744);const w={},y=(0,h.Z)(w,[["render",g]]),k=y;var b={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},C=(0,a._)("path",{d:"M24 30.036C24 30.2506 24.0691 30.4595 24.197 30.6318C24.3248 30.8042 24.5048 30.9308 24.7102 30.993C24.9156 31.0552 25.1356 31.0496 25.3376 30.9772C25.5396 30.9047 25.7129 30.7692 25.832 30.5907L33.6306 18.8933C33.731 18.7427 33.7887 18.5677 33.7974 18.3869C33.8061 18.2062 33.7656 18.0264 33.6802 17.8668C33.5948 17.7072 33.4677 17.5738 33.3125 17.4808C33.1572 17.3878 32.9796 17.3387 32.7986 17.3387H26.6653V9.96934C26.6649 9.7551 26.5956 9.54668 26.4678 9.37476C26.34 9.20284 26.1603 9.07652 25.9553 9.0144C25.7502 8.95228 25.5307 8.95764 25.3289 9.0297C25.1272 9.10177 24.9539 9.23671 24.8346 9.41467L17.036 21.112C16.9356 21.2626 16.8779 21.4376 16.8692 21.6184C16.8605 21.7992 16.901 21.9789 16.9864 22.1385C17.0718 22.2981 17.1989 22.4315 17.3541 22.5245C17.5094 22.6175 17.687 22.6667 17.868 22.6667H24.0013L24 30.036Z",fill:"currentColor"},null,-1),A=(0,a._)("path",{opacity:"0.44",d:"M9.99998 30.6667C9.46955 30.6667 8.96084 30.456 8.58577 30.081C8.21069 29.7059 7.99998 29.1972 7.99998 28.6667C7.99998 28.1363 8.21069 27.6276 8.58577 27.2525C8.96084 26.8775 9.46955 26.6667 9.99998 26.6667H16.6666C17.1971 26.6667 17.7058 26.8775 18.0809 27.2525C18.4559 27.6276 18.6666 28.1363 18.6666 28.6667C18.6666 29.1972 18.4559 29.7059 18.0809 30.081C17.7058 30.456 17.1971 30.6667 16.6666 30.6667H9.99998ZM7.33331 22.6667C6.80288 22.6667 6.29417 22.456 5.9191 22.081C5.54403 21.7059 5.33331 21.1972 5.33331 20.6667C5.33331 20.1363 5.54403 19.6276 5.9191 19.2525C6.29417 18.8775 6.80288 18.6667 7.33331 18.6667H12.6666C13.1971 18.6667 13.7058 18.8775 14.0809 19.2525C14.4559 19.6276 14.6666 20.1363 14.6666 20.6667C14.6666 21.1972 14.4559 21.7059 14.0809 22.081C13.7058 22.456 13.1971 22.6667 12.6666 22.6667H7.33331ZM9.99998 14.6667C9.46955 14.6667 8.96084 14.456 8.58577 14.081C8.21069 13.7059 7.99998 13.1972 7.99998 12.6667C7.99998 12.1363 8.21069 11.6276 8.58577 11.2525C8.96084 10.8775 9.46955 10.6667 9.99998 10.6667H16.6666C17.1971 10.6667 17.7058 10.8775 18.0809 11.2525C18.4559 11.6276 18.6666 12.1363 18.6666 12.6667C18.6666 13.1972 18.4559 13.7059 18.0809 14.081C17.7058 14.456 17.1971 14.6667 16.6666 14.6667H9.99998Z",fill:"currentColor"},null,-1),x=[C,A];function _(e,t){return(0,a.wg)(),(0,a.iD)("svg",b,x)}const D={},T=(0,h.Z)(D,[["render",_]]),S=T;var I={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},F=(0,a._)("path",{d:"M25 33.3253H9.00001C8.64667 33.3253 8.30667 33.1853 8.05734 32.9347C7.80667 32.6855 7.66667 32.3456 7.66667 31.9924V7.99967C7.66667 7.64645 7.80667 7.30655 8.05734 7.0573C8.30667 6.80671 8.64667 6.66675 9.00001 6.66675H25C26.0613 6.66675 27.0787 7.08795 27.828 7.83839C28.5787 8.5875 29 9.60452 29 10.6655V29.3265C29 30.3875 28.5787 31.4045 27.828 32.1536C27.0787 32.9041 26.0613 33.3253 25 33.3253ZM18.3213 19.996C17.4853 19.9294 16.6453 20.0347 15.8507 20.3039C15.056 20.5732 14.3253 21.0024 13.7027 21.5635C13.08 22.1247 12.5787 22.8072 12.228 23.5696C11.8787 24.3307 11.6867 25.1558 11.6667 25.9942C11.6947 26.1781 11.7827 26.3474 11.9187 26.4754C11.988 26.5687 12.0867 26.634 12.2 26.6606H24.436C24.5093 26.6646 24.5827 26.654 24.652 26.6273C24.7213 26.602 24.784 26.562 24.836 26.5114C24.956 26.3674 25.016 26.1821 25 25.9942C24.8013 22.294 22.2427 19.996 18.3213 19.996ZM18.3333 13.3314C17.8053 13.3314 17.2907 13.4873 16.852 13.7806C16.4133 14.0738 16.072 14.4897 15.8693 14.9775C15.668 15.4641 15.6147 15.9999 15.7173 16.5171C15.82 17.0343 16.0747 17.5088 16.4467 17.882C16.82 18.2552 17.2947 18.5085 17.812 18.6111C18.3307 18.7151 18.8667 18.6618 19.3533 18.4605C19.84 18.2592 20.2573 17.9166 20.5507 17.4781C20.844 17.0396 21 16.5251 21 15.9972C21 15.2908 20.7187 14.6123 20.2187 14.1125C19.7187 13.6126 19.04 13.3314 18.3333 13.3314Z",fill:"currentColor"},null,-1),E=(0,a._)("path",{opacity:"0.44",d:"M31.3211 7.83875C30.6727 7.08808 29.794 6.66675 28.8785 6.66675L25.6978 6.66941L26.5753 6.91208C27.0555 7.10941 27.5 7.41475 27.8662 7.83875C28.5146 8.58941 28.8785 9.60675 28.8785 10.6667V29.3334C28.8785 30.3947 28.5146 31.4121 27.8662 32.1614C27.5 32.5854 27.0544 32.8907 26.5753 33.0881L25.6667 33.3121L28.8785 33.3334C29.7952 33.3334 30.6739 32.9121 31.3211 32.1614C31.9683 31.4107 32.3333 30.3934 32.3333 29.3334V10.6667C32.3333 9.60541 31.9694 8.58808 31.3211 7.83875Z",fill:"currentColor"},null,-1),R=[F,E];function B(e,t){return(0,a.wg)(),(0,a.iD)("svg",I,R)}const Z={},U=(0,h.Z)(Z,[["render",B]]),P=U;var M=n(13529),L=n(46010),O={key:1,class:"wallet"};function N(e,t,n,o,i,s){var u=(0,a.up)("Truncate"),l=(0,a.up)("LinkButton"),c=(0,a.up)("AddressFormatted"),d=(0,a.up)("CopyText");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["transaction-info-details-party",{recipient:e.isRecipient}])},[e.txParty.url||!e.isRecipient?((0,a.wg)(),(0,a.j4)(l,{key:0,to:e.txParty.url,class:"name"},{default:(0,a.w5)((function(){return[(0,a.Wm)(u,{right:e.isRecipient,str:e.txParty.name||e.txParty.label||e.$t("common.fellowSuperhero")},null,8,["right","str"])]})),_:1},8,["to"])):e.txParty.wallet?((0,a.wg)(),(0,a.iD)("span",O,(0,r.zw)(e.$t("common.title")),1)):((0,a.wg)(),(0,a.iD)("span",{key:2,class:(0,r.C_)(["name",{aens:e.txParty.aens}])},(0,r.zw)(e.txParty.label||e.$t("transaction.overview.accountAddress")),3)),e.txParty.address?((0,a.wg)(),(0,a.j4)(d,{key:3,"hide-icon":"",value:e.txParty.address},{default:(0,a.w5)((function(){return[(0,a.Wm)(c,{address:e.txParty.address,"column-count":5,"align-right":e.isRecipient,class:"text-address","data-cy":"address"},null,8,["address","align-right"])]})),_:1},8,["value"])):(0,a.kq)("",!0)],2)}var W=n(91802),H=n(27338),V=n(77558),j=n(70764);const q=(0,a.aZ)({components:{AddressFormatted:V.Z,CopyText:W.Z,LinkButton:j.Z,Truncate:H.Z},props:{isRecipient:Boolean,txParty:{type:Object,required:!0}}}),z=(0,h.Z)(q,[["render",N],["__scopeId","data-v-06588384"]]),Y=z;function $(e,t,n,o,i,s){var u=(0,a.up)("TransactionTag");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["transaction-tag-list",{dense:e.dense}])},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.labels,(function(e){return(0,a.wg)(),(0,a.j4)(u,{key:e,"tx-type":e,class:"title-tag","data-cy":"label"},null,8,["tx-type"])})),128))],2)}n(57658),n(26699),n(32023),n(57327),n(41539);var G=n(79150),K=n(65986),J=n(33907),Q=n(9697),X=n(48854),ee=n(79323),te=n(28243),ne=n(34601),ae={class:"transaction-tag"};function re(e,t,n,o,i,s){return(0,a.wg)(),(0,a.iD)("div",ae,(0,r.zw)(n.txType),1)}const oe={props:{txType:{type:String,required:!0}}},ie=(0,h.Z)(oe,[["render",re],["__scopeId","data-v-156e7b98"]]),se=ie,ue=(0,a.aZ)({components:{TransactionTag:se},props:{customTitle:{type:String,default:null},transaction:{type:Object,default:null},additionalTag:{type:String,default:null},dense:Boolean},setup:function(e){var t,n,r=(0,J.oR)(),o=(0,G.QT)(),i=o.t,s=(0,Q.Wj)({store:r,tx:null===(t=e.transaction)||void 0===t?void 0:t.tx,externalAddress:null===(n=e.transaction)||void 0===n?void 0:n.transactionOwner}),u=s.direction,l=s.innerTx,c=s.innerTxTag,d=s.outerTxTag,p=s.txTypeLabel,m=s.txFunctionLabel,f=s.isDex,v=s.isDexAllowance,g=(0,Q.YA)({store:r}),h=g.tippingContractAddresses,w=(0,a.Fl)((function(){return r.state.fungibleTokens.availableTokens})),y=(0,a.Fl)((function(){var t;if(e.customTitle)return[e.customTitle];if(!(null===(t=e.transaction)||void 0===t?void 0:t.tx)||e.transaction.pending||d.value===K.Vp.NameTransferTx)return[];var n=h.value,a=n.tippingV1,r=n.tippingV2,o=[];return e.additionalTag&&o.push(e.additionalTag),d.value===K.Vp.GaMetaTx?o.push(i("transaction.type.gaMetaTx")):d.value===K.Vp.PayingForTx&&o.push(i("transaction.type.payingForTx")),te.Kv.has(d.value)?o.push(ee.td,p.value):c.value===K.Vp.GaMetaTx?o.push(i("transaction.type.contractCallTx"),i("transaction.type.multisigProposal")):c.value===K.Vp.SpendTx?o.push(i("transaction.type.spendTx"),u.value===ee.Dl.received?i("transaction.spendType.in"):i("transaction.spendType.out")):v.value?o.push(i("transaction.dexType.allowToken")):f.value?o.push(ee.AA,(0,ne.N9)(l.value["function"])?i("transaction.dexType.pool"):i("common.swap")):e.transaction.claim?o.push(i("pages.token-details.tip"),i("transaction.spendType.in")):l.value.contractId&&[a,r].includes(l.value.contractId)&&(0,X.q9)([te.ls.tip,te.ls.retip],l.value["function"])?o.push(i("pages.token-details.tip"),i("transaction.spendType.out")):d.value===K.Vp.PayingForTx&&c.value===K.Vp.GaAttachTx?o.push(i("transaction.type.createMultisigVault")):d.value===K.Vp.ContractCallTx&&w.value[l.value.contractId]&&(l.value["function"]===te.ls.transfer||e.transaction.incomplete)?o.push(i("transaction.type.spendTx"),l.value.callerId!==e.transaction.transactionOwner&&e.transaction.transactionOwner?i("transaction.spendType.in"):i("transaction.spendType.out")):e.transaction.tx["function"]?o.push(m.value,p.value):o.push(p.value),o.filter(X.cs)}));return{labels:y}}}),le=(0,h.Z)(ue,[["render",$],["__scopeId","data-v-9bc8871c"]]),ce=le,de=(0,a.aZ)({name:"TransactionInfo",components:{TransactionTagList:ce,TransactionInfoDetailsParty:Y,TriangleRight:k,ActionIcon:S,AensIcon:P,Avatar:L.Z,SHLogo:M.Z},props:{sender:{type:Object,required:!0},recipient:{type:Object,required:!0}}}),pe=(0,h.Z)(de,[["render",p],["__scopeId","data-v-37c99e44"]]),me=pe},25327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(66252),r=n(49963),o=n(3577),i={key:0,class:"message"},s=["textContent"];function u(e,t,n,u,l,c){var d=(0,a.up)("TransactionListItem"),p=(0,a.up)("InfiniteScroll"),m=(0,a.up)("AnimatedSpinner");return(0,a.wg)(),(0,a.iD)("div",{key:e.activeAccount.address,class:"transaction-list"},[(0,a.Wm)(p,{class:"list","data-cy":"list","is-more-data":"",onLoadMore:t[0]||(t[0]=function(t){return e.$emit("loadMore")})},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.filteredTransactions,(function(t){return(0,a.wg)(),(0,a.j4)(d,{key:t.hash,transaction:e.getTransaction(t),"multisig-transaction":e.getMultisigTransaction(t),"is-multisig":e.isMultisig},null,8,["transaction","multisig-transaction","is-multisig"])})),128))]})),_:1}),(0,a.wy)((0,a.Wm)(m,{class:"spinner","data-cy":"loader"},null,512),[[r.F8,e.loading]]),e.loading||e.filteredTransactions.length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("p",{textContent:(0,o.zw)(e.$t("pages.recentTransactions.noTransactionsFound"))},null,8,s)]))])}n(57327),n(41539),n(21703),n(96647),n(92222);var l=n(79150),c=n(33907),d=n(79323),p=n(48854),m=n(32720),f=n(9697),v=n(28243),g=n(34601),h=n(13338),w=n(3464),y=n(9645);const k=(0,a.aZ)({components:{InfiniteScroll:y.Z,TransactionListItem:h.Z,AnimatedSpinner:w.Z},props:{transactions:{type:Array,default:function(){return[]}},tokenContractId:{type:String,default:""},isMultisig:Boolean,loading:Boolean},emits:["loadMore"],setup:function(e,t){var n=t.emit,r=(0,c.oR)(),o=(0,l.QT)(),i=o.t,s=(0,f.xe)({store:r}),u=s.accounts,h=s.activeAccount,w=(0,f.cn)({store:r}),y=w.dexContracts,k=(0,f.Sj)(),b=k.viewportElement,C=(0,f.R0)(),A=C.searchPhrase,x=C.displayMode,_=C.FILTER_MODE,D=(0,m.X_)("getTxSymbol");function T(e){return e.filter((function(e){var t=e.tx,n=e.tx?(0,g.wG)(e.tx):null,a=(0,g.pf)(n),r=(0,g.Py)((null===t||void 0===t?void 0:t.payerId)?t:n,e.transactionOwner||(0,g.g6)(h.value,u.value,n)!==v.Yj.current&&a||h.value.address),o=(0,g.I5)(n,y.value);switch(x.value.key){case _.all:return!0;case _.dex:return o;case _.out:return r===d.Dl.sent&&!o;case _["in"]:return r===d.Dl.received;default:throw new Error("".concat(i("pages.recentTransactions.unknownMode")," ").concat(x.value.key))}}))}function S(e){return e.filter((function(e){return!A.value||(0,p.eN)(D.value(e),A.value.toLocaleLowerCase())}))}function I(){if(b.value){var e=b.value,t=e.scrollHeight,a=e.scrollTop,r=e.clientHeight;t-a<=r+100&&n("loadMore")}}(0,a.YP)(x,(function(){I()})),(0,a.YP)((function(){return e.loading}),(function(e){e||I()}));var F=(0,a.Fl)((function(){return(0,p.zG)([T,S,p.EC])(e.transactions)}));return{activeAccount:h,filteredTransactions:F,getMultisigTransaction:g.aG,getTransaction:g.fo}}});var b=n(83744);const C=(0,b.Z)(k,[["render",u],["__scopeId","data-v-7efc931c"]]),A=C},13338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>J});var a=n(66252),r=n(3577),o={class:"body"},i={class:"footer"},s={key:0,class:"consensus"},u={key:0},l={key:1,class:"date"};function c(e,t,n,c,d,p){var m=(0,a.up)("TransactionTokenRows"),f=(0,a.up)("ConsensusApprovedLabel"),v=(0,a.up)("TransactionLabel"),g=(0,a.up)("ListItemWrapper");return(0,a.wg)(),(0,a.j4)(g,{class:"transaction-item",to:e.redirectRoute,replace:"","data-cy":e.currentTransaction.pending&&"pending-txs"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[(0,a.Wm)(m,{"ext-tokens":e.tokens,error:e.isErrorTransaction,"icon-size":"md"},null,8,["ext-tokens","error"]),(0,a._)("div",i,[e.multisigTransaction&&!e.hasConsensus?((0,a.wg)(),(0,a.iD)("div",s,[(0,a.Wm)(f,{"confirmations-required":e.multisigTransaction.confirmationsRequired,"has-pending-transaction":e.multisigTransaction.hasPendingTransaction,"confirmed-by":e.multisigTransaction.confirmedBy,signers:e.multisigTransaction.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])):((0,a.wg)(),(0,a.j4)(v,{key:1,transaction:e.currentTransaction,"transaction-date":e.transactionDate,"show-transaction-owner":e.showTransactionOwner,dense:""},null,8,["transaction","transaction-date","show-transaction-owner"])),e.multisigTransaction?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)(a.HY,{key:2},[e.fiatAmount&&!e.showTransactionOwner?((0,a.wg)(),(0,a.iD)("span",u,(0,r.zw)(e.fiatAmount),1)):e.showTransactionOwner?((0,a.wg)(),(0,a.iD)("span",l,(0,r.zw)(e.transactionDate),1)):(0,a.kq)("",!0)],64))])])]})),_:1},8,["to","data-cy"])}n(69826),n(41539),n(28733);var d=n(2262),p=n(27484),m=n.n(p),f=n(33907),v=n(48854),g=n(79323),h=n(94308),w=n(9697),y=n(70237),k={ref:"transactionLabelRef",class:"transaction-label"},b={key:1,class:"error"},C={class:"label"},A={key:0},x={key:0,class:"secondary"},_=["textContent"],D={key:4,class:"secondary"},T={key:5,class:"owner"},S={class:"secondary"};function I(e,t,n,o,i,s){var u=(0,a.up)("PendingIcon"),l=(0,a.up)("WarningIcon"),c=(0,a.up)("RevertedIcon"),d=(0,a.up)("Truncate");return(0,a.wg)(),(0,a.iD)("div",k,[e.transaction.pending?((0,a.wg)(),(0,a.j4)(u,{key:0,class:"icon"})):e.isErrorTransaction?((0,a.wg)(),(0,a.iD)("div",b,[e.transaction.tx.returnType===e.TX_RETURN_TYPE_ABORT?((0,a.wg)(),(0,a.j4)(l,{key:0,class:"icon"})):((0,a.wg)(),(0,a.j4)(c,{key:1,class:"icon"}))])):(0,a.kq)("",!0),(0,a._)("div",C,[e.label.customPending&&e.isErrorTransaction?((0,a.wg)(),(0,a.iD)("span",A,(0,r.zw)(e.label.customPending),1)):e.transaction.pending?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",{key:1,ref:"labelRef",class:(0,r.C_)(["type",{secondary:e.showTransactionOwner}])},[(0,a.Uk)((0,r.zw)(e.label.text)+" ",1),e.label.hasComma&&!e.showTransactionOwner?((0,a.wg)(),(0,a.iD)("span",x," , ")):(0,a.kq)("",!0)],2)),e.isErrorTransaction?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"error-type",textContent:(0,r.zw)(e.errorTypeName)},null,8,_)):(0,a.kq)("",!0),e.transaction.pending?((0,a.wg)(),(0,a.iD)("span",{key:3,class:(0,r.C_)({secondary:!e.label.customPending||e.showTransactionOwner})},(0,r.zw)(e.label.customPending||e.$t("common.pending"))+"... ",3)):e.showTransactionOwner?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",D,(0,r.zw)(e.transactionDate),1)),e.showTransactionOwner?((0,a.wg)(),(0,a.iD)("div",T,[(0,a._)("span",S,(0,r.zw)(e.$t("common.by")),1),(0,a.Wm)(d,{str:e.ownerName},null,8,["str"])])):(0,a.kq)("",!0)])],512)}var F=n(65986),E=n(79150),R=n(32720),B=n(28243),Z=n(27338),U=n(14201),P=n(95936),M=n(92387);const L=(0,a.aZ)({components:{Truncate:Z.Z,PendingIcon:U.Z,RevertedIcon:P.Z,WarningIcon:M.Z},props:{transaction:{type:Object,required:!0},transactionDate:{type:String,default:""},showTransactionOwner:Boolean,dense:Boolean},setup:function(e){var t=(0,f.oR)(),n=(0,w.xe)({store:t}),r=n.accounts,o=n.activeAccount,i=(0,E.QT)(),s=i.t,u=(0,w.Wj)({store:t,tx:e.transaction.tx,externalAddress:e.transaction.transactionOwner}),l=u.outerTxTag,c=u.innerTxTag,d=u.direction,p=u.innerTx,m=u.isDex,h=u.isDexAddLiquidity,y=u.isDexAllowance,k=u.isDexRemoveLiquidity,b=u.isErrorTransaction,C=u.isTip,A=u.txTypeListLabel,x=(0,R.eJ)("fungibleTokens","availableTokens"),_=(0,a.Fl)((function(){var t,n=!e.transaction.transactionOwner,a=A.value;if(l.value===F.Vp.SpendTx||l.value===F.Vp.GaMetaTx&&c.value===F.Vp.SpendTx){var r=d.value===g.Dl.sent;a=s(r?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=s(r?"transaction.type.sentTx":"transaction.type.receivedTx")}else if(l.value===F.Vp.PayingForTx&&c.value===F.Vp.GaAttachTx)a=s("transaction.type.multisigVaultCreated");else if(y.value)a=s("transaction.dexType.allowToken");else if(h.value)a=s("transaction.dexType.provideLiquidity");else if(k.value)a=s("transaction.dexType.removeLiquidity");else if(m.value)a=s("common.swap"),n=!0;else if(C.value&&e.transaction.claim)a=s("transaction.listType.tipReceived");else if(C.value)a=s("transaction.listType.tipSent");else if(l.value===F.Vp.ContractCallTx&&x.value[p.value.contractId]&&(p.value["function"]===B.ls.transfer||e.transaction.incomplete)){var i=e.transaction.transactionOwner?e.transaction.transactionOwner===p.value.callerId:p.value.callerId===o.value.address;a=s(i?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=s(i?"transaction.type.sentTx":"transaction.type.receivedTx")}else l.value===F.Vp.ContractCreateTx?a=s("transaction.type.contractCreateTx"):l.value===F.Vp.ContractCallTx&&(a=s("transaction.type.contractCallTx"));return{text:a,customPending:t,hasComma:n}})),D=(0,a.Fl)((function(){return(0,v.U5)(r.value.find((function(t){return t.address===e.transaction.transactionOwner})))})),T=(0,a.Fl)((function(){switch(e.transaction.tx.returnType){case B.XQ:return s("transaction.returnType.abort");case B.c:return s("transaction.returnType.revert");default:return null}}));return{TX_RETURN_TYPE_ABORT:B.XQ,isErrorTransaction:b,ownerName:D,label:_,errorTypeName:T}}});var O=n(83744);const N=(0,O.Z)(L,[["render",I],["__scopeId","data-v-148bf52a"]]),W=N;var H=n(85202),V={class:"consensus-approved-label"};function j(e,t,n,o,i,s){var u=(0,a.up)("PendingIcon"),l=(0,a.up)("ConsensusLabel");return(0,a.wg)(),(0,a.iD)("span",V,[e.isConsensusReached?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Uk)((0,r.zw)(e.$t("multisig.approved")),1)],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)(u,{class:"icon"}),(0,a.Uk)(" "+(0,r.zw)(e.$t("multisig.consensusPending")),1)],64)),(0,a.Uk)("   "),(0,a.Wm)(l,{"confirmations-required":e.confirmationsRequired,"has-pending-transaction":e.hasPendingTransaction,"default-confirmed-by":e.defaultConfirmedBy,"confirmed-by":e.confirmedBy,signers:e.signers},null,8,["confirmations-required","has-pending-transaction","default-confirmed-by","confirmed-by","signers"]),e.isConsensusReached?((0,a.wg)(),(0,a.iD)(a.HY,{key:2},[(0,a.Uk)(" . "+(0,r.zw)(e.$t("multisig.waitingToBeSent")),1)],64)):(0,a.kq)("",!0)])}n(9653);var q=n(83477);const z=(0,a.aZ)({components:{ConsensusLabel:q.Z,PendingIcon:U.Z},props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,a.Fl)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,a.Fl)((function(){return t.value===e.confirmationsRequired}));return{localConfirmedBy:t,isConsensusReached:n}}}),Y=(0,O.Z)(z,[["render",j]]),$=Y,G=(0,a.aZ)({components:{ConsensusApprovedLabel:$,TransactionLabel:W,TransactionTokenRows:y.Z,ListItemWrapper:H.Z},props:{transaction:{type:Object,default:null},multisigTransaction:{type:Object,default:null},isMultisig:Boolean,showTransactionOwner:Boolean,hasConsensus:Boolean},setup:function(e){var t,n=(0,f.oR)(),r=(0,w.jg)({store:n}),o=r.getFormattedAndRoundedFiat,i=(0,d.iH)(),s=(0,a.Fl)((function(){return e.multisigTransaction||e.transaction})),u=(0,a.Fl)((function(){var t;return null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner})),l=(0,w.Wj)({store:n,tx:s.value.tx,externalAddress:u.value}),c=l.direction,p=l.isDexAllowance,y=l.isDexPool,k=l.isErrorTransaction,b=(0,w.Jp)({store:n,direction:c.value,isAllowance:p.value,transaction:e.multisigTransaction||e.transaction}),C=b.tokens,A=(0,a.Fl)((function(){return e.multisigTransaction?{name:h.QA}:{name:e.isMultisig?h.br:h.L5,params:{hash:e.transaction.hash,transactionOwner:e.transaction.transactionOwner||""}}})),x=(0,a.Fl)((function(){var e,t=null===(e=C.value)||void 0===e?void 0:e.find((function(e){return null===e||void 0===e?void 0:e.isAe}));return!t||k.value||y.value?0:o(+(0,v.er)(t.decimals?(0,v.Yt)(t.amount||0,-t.decimals):t.amount),g.DJ)}));return(0,a.bv)((function(){t=(0,v.ID)((function(){i.value=e.transaction?(0,v.Tm)(m()(e.transaction.microTime).toISOString()):void 0}),5e3)})),(0,a.Jd)((function(){clearInterval(t)})),{redirectRoute:A,fiatAmount:x,transactionDate:i,isErrorTransaction:k,tokens:C,currentTransaction:s,transactionOwner:u,direction:c,formatDate:v.p6,formatTime:v.mr}}}),K=(0,O.Z)(G,[["render",c],["__scopeId","data-v-87ec8a54"]]),J=K},1839:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("TransactionInfo");return(0,a.wg)(),(0,a.j4)(s,{class:"transaction-overview",title:e.preparedTransaction.title,sender:e.preparedTransaction.sender,recipient:e.preparedTransaction.recipient,"transaction-function":e.preparedTransaction["function"],transaction:e.transaction,"additional-tag":e.additionalTag},null,8,["title","sender","recipient","transaction-function","transaction","additional-tag"])}n(35666),n(41539),n(21703),n(96647),n(23157),n(68309);var o=n(65986),i=n(2262),s=n(79150),u=n(33907),l=n(23023),c=n(79323),d=n(28243),p=n(9697),m=n(32720),f=n(14838),v=n(74906),g=n(61501),h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const w=(0,a.aZ)({components:{TransactionInfo:g.Z},props:{transaction:{type:Object,required:!0},additionalTag:{type:String,default:null}},setup:function(e){var t,n=this,r=(0,u.oR)(),g=(0,s.QT)(),w=g.t,y=g.tm,k=(0,f.C)(),b=k.aeActiveNetworkPredefinedSettings,C=(0,p.cn)({store:r}),A=C.getAeSdk,x=(0,p.dp)(),_=x.getMiddleware,D=(0,i.iH)(""),T=(0,i.iH)({}),S=(0,m.X_)("names/getPreferred"),I=(0,p.Wj)({store:r,tx:e.transaction.tx,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),F=I.isDex,E=I.outerTxTag,R=I.innerTxTag,B=I.direction,Z=I.getOwnershipAccount,U=I.innerTx;function P(e){return{address:e,label:w("transaction.overview.accountAddress"),url:new v.T(b.value.explorerUrl).prepareUrlByHash(e)}}var M=(0,a.Fl)((function(){var t,n=y("transaction.type"),a=new v.T(b.value.explorerUrl),r=U.value,i=r.senderId,s=r.recipientId,u=r.contractId,l=r.callerId;switch(E.value){case o.Vp.SpendTx:return{sender:{address:i,name:S.value(i),url:a.prepareUrlByHash(i),label:w("transaction.overview.accountAddress")},recipient:{address:s,name:D.value||S.value(s),url:a.prepareUrlByHash(s),label:w("transaction.overview.accountAddress")},title:w("transaction.type.spendTx")};case o.Vp.ContractCallTx:var p,m={address:u,url:a.prepareUrlByHash(u),label:F.value?w("transaction.overview.superheroDex"):w("common.smartContract")},f=m;if(e.transaction.transactionOwner&&(p=P(e.transaction.transactionOwner)),U.value["function"]===d.ls.transfer){var g=s||(null===(t=U.value.arguments)||void 0===t?void 0:t[0].value);f=P(B.value===c.Dl.received?l:g)}return{sender:B.value===c.Dl.sent?T.value:f,recipient:B.value===c.Dl.received?null!==p&&void 0!==p?p:T.value:m,title:w("transaction.type.contractCallTx"),function:U.value["function"]};case o.Vp.ContractCreateTx:return{sender:T.value,recipient:{label:w("transaction.overview.contractCreate")},title:w("transaction.type.contractCreateTx")};case o.Vp.NamePreclaimTx:case o.Vp.NameClaimTx:case o.Vp.NameUpdateTx:return{sender:T.value,recipient:{label:w("transaction.overview.aens")},title:E.value?n[E.value]:void 0};case o.Vp.PayingForTx:return{sender:{address:U.value.ownerId,name:S.value(U.value.ownerId),url:a.prepareUrlByHash(U.value.ownerId),label:w("multisig.multisigVault")},recipient:{label:w("common.smartContract"),address:U.value.contractId}};case o.Vp.GaMetaTx:if(R.value===o.Vp.SpendTx)return{sender:{address:i,name:S.value(i),url:a.prepareUrlByHash(i),label:w("transaction.overview.accountAddress")},recipient:{address:s,name:D.value||S.value(s),url:a.prepareUrlByHash(s),label:w("transaction.overview.accountAddress")},title:w("transaction.type.spendTx")};default:throw new Error("Unsupported transaction type ".concat(E.value))}}));function L(){var e;return h(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,r,o,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=U.value.callData||U.value.call_data,U.value.contractId&&n){t.next=3;break}return t.abrupt("return",void 0);case 3:return t.next=5,A();case 5:return a=t.sent,t.next=8,a.getContractByteCode(U.value.contractId);case 8:if(r=t.sent,o=r.bytecode,i=new l.BytecodeContractCallEncoder(o),s=i.decodeCall(n),s){t.next=14;break}return t.abrupt("return",void 0);case 14:return t.abrupt("return",null===(e=s.args)||void 0===e?void 0:e[0]);case 15:case"end":return t.stop()}}),t)})))}return(0,a.bv)((function(){return h(n,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,_();case 2:if(n=e.sent,!(null===(t=U.value.recipientId)||void 0===t?void 0:t.startsWith("nm_"))){e.next=7;break}return e.next=6,n.getName(U.value.recipientId);case 6:D.value=e.sent.name;case 7:if(U.value["function"]!==d.ls.claim){e.next=11;break}return e.next=10,L();case 10:a=e.sent;case 11:T.value=Object.assign(Object.assign({},Z(a)),{label:w("transaction.overview.accountAddress")});case 12:case"end":return e.stop()}}),e)})))})),{preparedTransaction:M}}});var y=n(83744);const k=(0,y.Z)(w,[["render",r],["__scopeId","data-v-b698e8c6"]]),b=k},70237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var a=n(66252),r=n(3577),o={key:0,class:"transaction-token-rows"},i={class:"amount"},s={class:"token-name"};function u(e,t,n,u,l,c){var d=(0,a.up)("Tokens");return e.filteredTokens.length?((0,a.wg)(),(0,a.iD)("div",o,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.filteredTokens,(function(t){return(0,a.wg)(),(0,a.iD)("div",{key:t.symbol,class:(0,r.C_)(["token-row",{error:e.error,received:t.isReceived}]),style:(0,r.j5)({"--font-size":e.calculateFontSize(t.amount)})},[(0,a.Wm)(d,{tokens:t.isPool?e.filteredTokens:[t],"icon-size":e.iconSize,"full-symbol":""},null,8,["tokens","icon-size"]),(0,a._)("span",i,[(0,a.Uk)((0,r.zw)(t.isReceived?"":"−")+" "+(0,r.zw)(e.isRounded?t.amount:e.amountRounded(t.amount))+" ",1),(0,a._)("span",s,(0,r.zw)(e.truncateString(e.getTokenName(t),5)),1)])],6)})),128))])):(0,a.kq)("",!0)}n(57327),n(41539);var l=n(2262),c=n(33907),d=n(48854),p=n(79323),m=n(9697),f=n(28243),v=n(1009);const g=(0,a.aZ)({name:"TransactionTokenRows",components:{Tokens:v.Z},props:{transaction:{type:Object,default:null},extTokens:{type:Array,default:null},iconSize:{type:String,default:"rg"},direction:{type:String,default:""},error:Boolean,isAllowance:Boolean,isRounded:Boolean},setup:function(e){var t=(0,c.oR)(),n=(0,l.iH)();if(!e.extTokens&&e.transaction){var r=(0,m.Jp)({store:t,transaction:e.transaction,direction:e.direction,isAllowance:e.isAllowance,showDetailedAllowanceInfo:!0}),o=r.tokens;n.value=o.value}var i=(0,a.Fl)((function(){var t;return(null===(t=e.extTokens||n.value)||void 0===t?void 0:t.filter((function(e){var t=e.amount;return void 0!==t})))||[]})),s=function(e){return(null===e||void 0===e?void 0:e.isAe)?f.WJ:e.symbol};return{filteredTokens:i,truncateString:d.aS,getTokenName:s,amountRounded:d.er,calculateFontSize:d.MX,TX_DIRECTION:p.Dl}}});var h=n(83744);const w=(0,h.Z)(g,[["render",u],["__scopeId","data-v-3a515ffa"]]),y=w},78250:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("InputAmount"),l=(0,a.up)("Field");return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["transfer-send-amount",{"without-margin":e.withoutMargin}])},[(0,a.Wm)(l,{ref:"amountField",name:"amount","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,min_value_exclusive:0},e.validationRules)},{default:(0,a.w5)((function(n){var r=n.field;return[(0,a.Wm)(u,(0,a.dG)(r,{"model-value":e.modelValue,name:"amount","data-cy":"amount",class:"amount-input","show-tokens-with-balance":"",label:e.customLabel||e.$t("common.amount"),message:e.amountMessage,protocol:e.protocol,readonly:e.readonly,"selected-asset":e.selectedAsset,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)}),onAssetSelected:t[1]||(t[1]=function(t){return e.$emit("assetSelected",t)})}),{"label-after":(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"label-after",{},void 0,!0)]})),_:2},1040,["model-value","label","message","protocol","readonly","selected-asset"])]})),_:3},8,["model-value","validate-on-mount","rules"])],2)}var i=n(12954),s=n(72925),u=n(48854);const l=(0,a.aZ)({components:{InputAmount:s.Z,Field:i.gN},props:{modelValue:{type:String,default:""},validationRules:{type:Object,default:function(){}},selectedAsset:{type:Object,default:function(){}},errors:{type:Object,required:!0},customLabel:{type:String,default:""},readonly:Boolean,withoutMargin:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e){var t=(0,a.Fl)((function(){return(0,u.B)(e.errors.amount)}));return{amountMessage:t}}});var c=n(83744);const d=(0,c.Z)(l,[["render",o],["__scopeId","data-v-e0bc7e78"]]),p=d},27338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});n(29253);var a=n(66252),r=n(3577),o=["textContent"];function i(e,t,n,i,s,u){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["truncate",{right:e.right}])},[(0,a._)("span",{ref:"container",class:(0,r.C_)(["container",{fixed:e.fixed,scrollable:e.shouldScroll}]),style:(0,r.j5)({"--animationTranslate":e.animationTranslate,"--animationDuration":e.animationDuration})},[(0,a._)("span",{ref:"scroll",class:"inner"},(0,r.zw)(e.nameComponent),513)],6),e.nameComponent!==e.str?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"domain",textContent:(0,r.zw)(e.AE_AENS_DOMAIN)},null,8,o)):(0,a.kq)("",!0)],2)}n(35666),n(15306),n(41539),n(27852),n(74916),n(32564);var s=n(2262),u=n(28243),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const c=(0,a.aZ)({props:{str:{type:String,required:!0},fixed:Boolean,right:Boolean},setup:function(e){var t=this,n=(0,s.iH)(),r=(0,s.iH)(),o=(0,s.iH)(!1),i=(0,a.Fl)((function(){var t;return(null===(t=e.str)||void 0===t?void 0:t.endsWith(u.Dq))?e.str.replace(u.Dq,""):e.str})),c=(0,s.iH)(),d=(0,s.iH)(),p=function(){return l(t,void 0,void 0,regeneratorRuntime.mark((function t(){var i,s,u,l,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o.value=!1,t.next=3,(0,a.Y3)();case 3:!e.fixed&&r.value&&(null===(i=n.value)||void 0===i?void 0:i.clientWidth)&&(s=n.value.clientWidth,u=r.value.clientWidth,l=u-s,p=2,u>s&&(c.value="-".concat(l+p,"px"),d.value="".concat(200*(l+p),"ms"),o.value=!0));case 4:case"end":return t.stop()}}),t)})))};return(0,a.YP)(i,p),(0,a.bv)((function(){setTimeout((function(){p()}),500)})),{AE_AENS_DOMAIN:u.Dq,container:n,scroll:r,shouldScroll:o,nameComponent:i,animationTranslate:c,animationDuration:d}}});var d=n(83744);const p=(0,d.Z)(c,[["render",i],["__scopeId","data-v-70951260"]]),m=p},35812:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var a=n(66252),r=n(3577),o={class:"title"};function i(e,t,n,i,s,u){var l=(0,a.up)("QuestionCircleIcon"),c=(0,a.up)("Default");return u.data?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["url-status",n.status])},[(0,a._)("span",o,(0,r.zw)(e.$rt(u.data.content.title)),1),(0,a._)("a",{class:(0,r.C_)(["icon-link",n.status]),onClick:t[0]||(t[0]=function(){return u.showModal&&u.showModal.apply(u,arguments)})},[(0,a.Wm)(l,{class:"icon"})],2)],2)):((0,a.wg)(),(0,a.j4)(c,{key:1}))}n(26699),n(21703),n(96647);var s=n(79323),u=n(9697),l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",class:"icon"},c=(0,a._)("path",{id:"Path_443","data-name":"Path 443",d:"M55,46a9,9,0,1,0,9,9A9.01,9.01,0,0,0,55,46Zm7.3,12.6H59.487a15.842,15.842,0,0,0,.395-3.171h3.25A8.085,8.085,0,0,1,62.3,58.6ZM46.868,55.429H50.12a15.774,15.774,0,0,0,.393,3.171H47.7A8.083,8.083,0,0,1,46.868,55.429Zm.669-3.686h2.9a15.975,15.975,0,0,0-.318,2.829H46.868A8.083,8.083,0,0,1,47.538,51.743Zm7.891-.857v-3.98a3.882,3.882,0,0,1,2.343,2.232,9.9,9.9,0,0,1,.695,1.749Zm3.258.857a15,15,0,0,1,.336,2.829H55.429V51.743Zm-4.115-4.837v3.98H51.534a9.9,9.9,0,0,1,.695-1.749A3.884,3.884,0,0,1,54.571,46.905Zm0,4.837v2.829H50.977a14.994,14.994,0,0,1,.336-2.829Zm-3.594,3.686h3.594V58.6H51.394A14.764,14.764,0,0,1,50.977,55.429Zm3.594,4.029v3.638a3.882,3.882,0,0,1-2.343-2.232,9.589,9.589,0,0,1-.587-1.406Zm.857,3.637V59.457h2.93a9.594,9.594,0,0,1-.587,1.406A3.884,3.884,0,0,1,55.429,63.095Zm0-4.495V55.429h3.594a14.765,14.765,0,0,1-.416,3.171Zm4.453-4.029a16.031,16.031,0,0,0-.319-2.829h2.9a8.083,8.083,0,0,1,.669,2.829Zm2.143-3.686H59.357a9.031,9.031,0,0,0-1.837-3.629A8.183,8.183,0,0,1,62.024,50.886Zm-9.544-3.629a9.036,9.036,0,0,0-1.837,3.629H47.976a8.183,8.183,0,0,1,4.505-3.629Zm-4.292,12.2h2.554a8.726,8.726,0,0,0,1.738,3.286A8.181,8.181,0,0,1,48.189,59.457Zm9.331,3.286a8.724,8.724,0,0,0,1.738-3.286h2.554A8.181,8.181,0,0,1,57.519,62.743Z",transform:"translate(-46 -46)",fill:"#bcbcc4"},null,-1),d=[c];function p(e,t){return(0,a.wg)(),(0,a.iD)("svg",l,d)}var m=n(83744);const f={},v=(0,m.Z)(f,[["render",p]]),g=v;var h=n(76575);const w={components:{Default:g,QuestionCircleIcon:h.Z},props:{status:{type:String,required:!0,validator:function(e){return["verified","blacklisted","not-secure","not-verified","default"].includes(e)}}},computed:{data:function(){switch(this.status){case"verified":return{icon:"success",content:this.$tm("modals.verified")};case"blacklisted":return{icon:"alert",content:this.$tm("modals.blacklisted")};case"not-secure":return{icon:"not-secure",content:this.$tm("modals.not-secure")};case"not-verified":return{icon:"warning",content:this.$tm("modals.not-verified")};case"default":return null;default:throw new Error("Unknown url status: ".concat(this.status))}}},methods:{showModal:function(){var e=(0,u.ol)(),t=e.openModal;t(s.gt,{title:this.$rt(this.data.content.title),msg:this.$rt(this.data.content.msg),icon:this.data.icon})}}},y=(0,m.Z)(w,[["render",i],["__scopeId","data-v-74a50e4c"]]),k=y},18147:(e,t,n)=>{"use strict";n.d(t,{Yy:()=>u,ZP:()=>p});var a=n(66252);function r(e,t,n,r,o,i){return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.component),(0,a.dG)(e.$attrs,{to:e.to,href:e.href,target:e.href?"_blank":null,"aria-disabled":e.disabled?"true":null,style:e.bgColorStyle,type:e.submit?"submit":null,class:[["variant-".concat(e.variant),{disabled:e.disabled,hollow:e.hollow,outlined:e.outlined,selected:e.selected}],"btn-base"],onClick:e.onClick}),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["to","href","target","aria-disabled","style","type","class","onClick"])}n(35666),n(41539),n(26699);var o=n(79323),i=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},s=["primary","secondary","muted","danger","purple","dark"],u={to:{type:[Object,String],default:null},href:{type:String,default:null},variant:{type:String,validator:function(e){return s.includes(e)},default:s[0]},bgColor:{type:String,default:null},submit:Boolean,disabled:Boolean,hollow:Boolean,outlined:Boolean,selected:Boolean};const l=(0,a.aZ)({props:u,setup:function(e){var t=(0,a.Fl)((function(){switch(!0){case!!e.to:return"RouterLink";case!!e.href:return"a";default:return"button"}}));function n(t){return i(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:o.Ag&&e.href&&(t.preventDefault(),window.open(e.href,"_system"));case 1:case"end":return n.stop()}}),n)})))}var r=(0,a.Fl)((function(){return e.bgColor?{"--bg-color":e.bgColor}:null}));return{IS_MOBILE_APP:o.Ag,onClick:n,component:t,bgColorStyle:r}}});var c=n(83744);const d=(0,c.Z)(l,[["render",r],["__scopeId","data-v-70694c86"]]),p=d},84394:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(66252),r=n(3577),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,l){var c=(0,a.up)("IconWrapper"),d=(0,a.up)("BtnBase");return(0,a.wg)(),(0,a.j4)(d,(0,a.dG)(e.$attrs,{class:["btn-box",{disabled:n.disabled,"is-big":n.isBig}],variant:"dark",disabled:n.disabled}),{default:(0,a.w5)((function(){return[n.icon?((0,a.wg)(),(0,a.j4)(c,{key:0,class:"icon",icon:n.icon,"is-boxed":n.isBig},null,8,["icon","is-boxed"])):(0,a.kq)("",!0),n.text?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,o)):(0,a.kq)("",!0),n.isBig&&n.subtitle?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"subtitle",textContent:(0,r.zw)(n.subtitle)},null,8,i)):(0,a.kq)("",!0)]})),_:1},16,["disabled","class"])}var u=n(32412),l=n(18147);const c={components:{BtnBase:l.ZP,IconWrapper:u.ZP},props:{text:{type:String,default:null},subtitle:{type:String,default:null},icon:{type:Object,default:null},disabled:Boolean,isBig:Boolean}};var d=n(83744);const p=(0,d.Z)(c,[["render",s],["__scopeId","data-v-aded6086"]]),m=p},62654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("BtnIcon");return(0,a.wg)(),(0,a.j4)(s,(0,a.dG)({class:"btn-close"},e.$attrs,{icon:r.CloseIcon}),null,16,["icon"])}var o=n(56378),i=n(32669);const s={name:"BtnClose",components:{BtnIcon:o.Z},setup:function(){return{CloseIcon:i.Z}}};var u=n(83744);const l=(0,u.Z)(s,[["render",r]]),c=l},18492:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});n(37268);var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("QuestionCircle"),l=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.j4)(l,{class:(0,r.C_)(["btn-help",{small:e.small}]),onClick:e.showHelpModal},{default:(0,a.w5)((function(){return[(0,a.Wm)(u,{class:"icon"})]})),_:1},8,["class","onClick"])}var i=n(9697),s=n(79323),u=n(85721),l=n(76575);const c=(0,a.aZ)({components:{BtnPlain:u.Z,QuestionCircle:l.Z},props:{title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},option:{type:Object,default:null},small:Boolean},setup:function(e,t){var n=t.emit,a=(0,i.ol)(),r=a.openModal;function o(){n("help"),(e.title.length||e.msg.length)&&r(s.kx,{icon:e.icon||"info",title:e.title,msg:e.msg,option:e.option,textCenter:!0})}return{showHelpModal:o}}});var d=n(83744);const p=(0,d.Z)(c,[["render",o],["__scopeId","data-v-2658afd8"]]),m=p},56378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("Badge"),u=(0,a.up)("BtnBase");return(0,a.wg)(),(0,a.j4)(u,(0,a.dG)(e.$attrs,{class:["btn-icon",["size-".concat(n.size),"icon-variant-".concat(n.iconVariant),{dimmed:n.dimmed}]],variant:"muted",hollow:""}),{default:(0,a.w5)((function(){return[(0,a.Wm)(s,{class:"badge",text:n.badgeText},{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"default",{},(function(){return[n.icon?((0,a.wg)(),(0,a.j4)((0,a.LL)(n.icon),{key:0,class:"icon"})):(0,a.kq)("",!0)]}))]})),_:3},8,["text"])]})),_:3},16,["class"])}n(26699),n(9653);var o=n(3577),i={class:"badge"},s=["textContent"];function u(e,t,n,r,u,l){return(0,a.wg)(),(0,a.iD)("span",i,[(0,a.WI)(e.$slots,"default",{},void 0,!0),null!==e.text?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"badge-inner","data-cy":"badge-text",textContent:(0,o.zw)(e.text)},null,8,s)):(0,a.kq)("",!0)])}const l=(0,a.aZ)({props:{text:{type:[Number,String],default:null}}});var c=n(83744);const d=(0,c.Z)(l,[["render",u],["__scopeId","data-v-f4a4a6c2"]]),p=d;var m=n(18147),f=["sm","rg"],v=["default","light","dimmed","danger"];const g={components:{BtnBase:m.ZP,Badge:p},props:{icon:{type:Object,default:null},iconVariant:{type:String,default:"default",validator:function(e){return v.includes(e)}},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},badgeText:{type:[String,Number],default:null},dimmed:Boolean}},h=(0,c.Z)(g,[["render",r]]),w=h},59882:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("BtnBase");return(0,a.wg)(),(0,a.j4)(u,(0,a.dG)(e.$attrs,{class:["btn-main",[{extend:e.extend,third:e.third,inline:e.inline,nowrap:e.nowrap,wide:e.wide,"extra-padded":e.extraPadded,"has-icon":!!e.icon}]]}),{default:(0,a.w5)((function(){return[e.icon?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.icon),{key:0,class:(0,r.C_)(["btn-main-icon",{lg:e.bigIcon}])},null,8,["class"])):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(18147);const s=(0,a.aZ)({components:{BtnBase:i.ZP},props:{text:{type:String,default:""},icon:{type:Object,default:null},extend:Boolean,third:Boolean,inline:Boolean,nowrap:Boolean,wide:Boolean,extraPadded:Boolean,bigIcon:Boolean}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-d5cda4a6"]]),c=l},21244:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("BtnBase");return(0,a.wg)(),(0,a.j4)(u,(0,a.dG)(e.$attrs,{class:["btn-pill",{dense:e.dense,static:e["static"],avatar:e.avatar}],to:e.to}),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.text),1)]}),!0)]})),_:3},16,["class","to"])}var i=n(18147);const s=(0,a.aZ)({components:{BtnBase:i.ZP},props:{to:{type:[String,Object],default:null},text:{type:String,default:null},avatar:Boolean,dense:Boolean,static:Boolean}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-76bf0744"]]),c=l},85721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){return(0,a.wg)(),(0,a.j4)((0,a.LL)(n.to?"RouterLink":"button"),(0,a.dG)(e.$attrs,{class:["button-plain",{extend:n.extend,avatar:n.avatar}],to:n.to}),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(n.text),1)]}),!0)]})),_:3},16,["class","to"])}const i={props:{extend:Boolean,text:{type:String,default:null},to:{type:[Object,String],default:null},avatar:Boolean}};var s=n(83744);const u=(0,s.Z)(i,[["render",o],["__scopeId","data-v-ea8fa866"]]),l=u},66429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(66252),r=n(3577);function o(e,t,n,o,i,s){var u=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.j4)(u,{class:(0,r.C_)(["btn-text",{"has-icon":!!e.icon}]),disabled:e.disabled},{default:(0,a.w5)((function(){return[e.icon?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.icon),{key:0,class:"btn-text-icon"})):(0,a.kq)("",!0),(0,a.WI)(e.$slots,"default",{},(function(){return[(0,a.Uk)((0,r.zw)(e.text),1)]}),!0)]})),_:3},8,["class","disabled"])}var i=n(85721);const s=(0,a.aZ)({name:"BtnText",components:{BtnPlain:i.Z},props:{text:{type:String,default:""},icon:{type:Object,default:null},disabled:Boolean}});var u=n(83744);const l=(0,u.Z)(s,[["render",o],["__scopeId","data-v-656ac1bf"]]),c=l},82825:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(66252),r=n(3577),o={class:"input-field-text-wrapper"};function i(e,t,n,i,s,u){var l=(0,a.up)("ChevronDownIcon"),c=(0,a.up)("BtnPlain"),d=(0,a.up)("InputField");return e.unstyled?((0,a.wg)(),(0,a.j4)(c,(0,a.dG)({key:0,class:"form-select unstyled"},e.$attrs,{onClick:e.openOptionsModal}),{default:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,"current-text",{text:e.currentText},(function(){return[(0,a.Uk)((0,r.zw)(e.currentText),1)]}),!0),e.hideArrow?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(l,{key:0,class:"arrow-icon"}))]})),_:3},16,["onClick"])):((0,a.wg)(),(0,a.j4)(d,(0,a.dG)({key:1},e.$attrs,{class:"form-select",onClick:e.openOptionsModal}),{after:(0,a.w5)((function(){return[(0,a.Wm)(l,{class:"arrow-icon"})]})),default:(0,a.w5)((function(){return[(0,a._)("div",o,(0,r.zw)(e.currentText),1)]})),_:1},16,["onClick"]))}n(9653),n(69826),n(41539);var s=n(79323),u=n(9697),l=n(85721),c=n(36179),d=n(21800);const p=(0,a.aZ)({name:"FormSelect",components:{BtnPlain:l.Z,ChevronDownIcon:d.Z,InputField:c.Z},model:{event:"select"},props:{modelValue:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}},itemTitle:{type:String,default:"text"},defaultText:{type:String,required:!0},accountSelect:Boolean,persistentDefaultText:Boolean,unstyled:Boolean,hideArrow:Boolean},emits:["select","update:modelValue"],setup:function(e,t){var n=t.emit,r=(0,u.ol)(),o=r.openModal,i=(0,a.Fl)((function(){var t;return e.persistentDefaultText||!e.modelValue?e.defaultText:null===(t=e.options.find((function(t){var n=t.value;return n===e.modelValue})))||void 0===t?void 0:t[e.itemTitle]}));function l(){o(e.accountSelect?s.Wy:s.h_,{value:e.modelValue,options:e.options,title:e.defaultText}).then((function(e){n("select",e),n("update:modelValue",e)}))["catch"]((function(){return null}))}return{currentText:i,openOptionsModal:l}}});var m=n(83744);const f=(0,m.Z)(p,[["render",i],["__scopeId","data-v-183e0b50"]]),v=f},48358:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(66252),r=n(3577),o=n(49963),i=["id","placeholder","value"];function s(e,t,n,s,u,l){var c=(0,a.up)("InputField");return(0,a.wg)(),(0,a.j4)(c,(0,a.dG)(e.$attrs,{class:["textarea",[e.size,{"auto-height":e.autoHeight}]],"onUpdate:modelValue":e.handleInput}),(0,a.Nv)({default:(0,a.w5)((function(n){var s=n.inputId;return[(0,a._)("textarea",{id:s,ref:"textarea","data-cy":"textarea",class:(0,r.C_)(["textarea-input styled-scrollbar",{resizable:e.resizable&&!e.autoHeight}]),style:(0,r.j5)({height:e.height}),placeholder:e.placeholder,value:e.modelValue,rows:1,onKeydown:t[0]||(t[0]=(0,o.D2)((0,o.iM)((function(){return e.handleEnterClick&&e.handleEnterClick.apply(e,arguments)}),["prevent"]),["enter"])),onInput:t[1]||(t[1]=function(t){return e.handleInput(t)})},null,46,i)]})),_:2},[(0,a.Ko)(e.$slots,(function(t,n){return{name:n,fn:(0,a.w5)((function(){return[(0,a.WI)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["class","onUpdate:modelValue"])}n(26699);var u=n(2262),l=n(36179),c=["xs","sm","rg","md"];const d=(0,a.aZ)({components:{InputField:l.Z},props:{type:{type:String,default:""},modelValue:{type:String,default:""},placeholder:{type:String,default:""},enterSubmit:Boolean,resizable:{type:Boolean,default:!0},size:{type:String,default:null,validator:function(e){return c.includes(e)}},autoHeight:Boolean},emits:["update:modelValue","submit"],setup:function(e,t){var n=t.emit,r=(0,u.iH)(),o=(0,u.iH)();function i(e){var t=e.target.value;n("update:modelValue",t)}function s(){e.enterSubmit&&n("submit")}return(0,a.bv)((function(){(0,a.YP)((function(){return e.modelValue}),(function(){e.autoHeight&&r.value&&(o.value="auto",(0,a.Y3)((function(){var e=r.value,t=e.scrollHeight,n=e.clientHeight,a=n>t?n:t;o.value="".concat(a,"px")})))}),{immediate:!0})})),{textarea:r,height:o,handleInput:i,handleEnterClick:s}}});var p=n(83744);const m=(0,p.Z)(d,[["render",s],["__scopeId","data-v-4059d241"]]),f=m},36333:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(66252);function r(e,t,n,r,o,i){var s=(0,a.up)("BtnPlain");return(0,a.wg)(),(0,a.j4)(s,(0,a.dG)(e.$attrs,{class:["tab",[e.active,e.exactPath?"exact":"not-exact"]],text:e.text}),null,16,["class","text"])}var o=n(85721);const i=(0,a.aZ)({components:{BtnPlain:o.Z},props:{text:{type:String,required:!0},active:Boolean,exactPath:Boolean}});var s=n(83744);const u=(0,s.Z)(i,[["render",r],["__scopeId","data-v-7f81e821"]]),l=u},32833:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(66252),r={class:"tabs"};function o(e,t){return(0,a.wg)(),(0,a.iD)("div",r,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])}var i=n(83744);const s={},u=(0,i.Z)(s,[["render",o],["__scopeId","data-v-b4464f30"]]),l=u},34451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var a=n(66252),r={class:"transaction-details"};function o(e,t,n,o,i,s){var u=(0,a.up)("Truncate"),l=(0,a.up)("LinkButton"),c=(0,a.up)("CopyText"),d=(0,a.up)("DetailsItem"),p=(0,a.up)("TransactionDetailsBase"),m=(0,a.up)("IonContent"),f=(0,a.up)("IonPage");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((function(){return[(0,a.Wm)(m,{class:"ion-padding ion-content-bg"},{default:(0,a.w5)((function(){return[(0,a._)("div",r,[e.transaction&&!e.transaction.incomplete?((0,a.wg)(),(0,a.j4)(p,{key:0,transaction:e.transaction,"coin-symbol":e.AE_SYMBOL,"transaction-fee":+e.aettosToAe(e.transactionFee),"is-swap":e.isSwap,"is-pool":e.isPool,"token-symbol":e.getTxSymbol(e.transaction),"total-amount":e.getTxAmountTotal(e.transaction,e.direction),"is-error-transaction":e.isErrorTransaction,"is-dex-allowance":e.isDexAllowance,"is-dex":e.isDex,"is-transaction-aex9":e.isTransactionAex9(e.transaction),payload:e.getTransactionPayload(e.transaction),"is-multisig":e.isMultisig,direction:e.direction,"explorer-url":e.explorerUrl||"","is-local-account-address":e.isLocalAccountAddress,"gas-price":e.gasPrice?+e.aettosToAe(e.gasPrice):0,"gas-used":e.gasUsed,"contract-id":e.contractId,"multisig-transaction-fee-paid-by":e.multisigTransactionFeePaidBy,"multisig-contract-id":e.multisigContractId,hash:e.hash,protocol:e.PROTOCOL_AETERNITY},{"tip-url":(0,a.w5)((function(){return[e.tipUrl?((0,a.wg)(),(0,a.j4)(d,{key:0,label:e.$t("pages.transactionDetails.tipUrl"),class:"tip-url","data-cy":"tip-url"},{value:(0,a.w5)((function(){return[(0,a.Wm)(c,{value:e.tipUrl},{default:(0,a.w5)((function(){return[(0,a.Wm)(l,{to:e.tipLink},{default:(0,a.w5)((function(){return[(0,a.Wm)(u,{str:e.tipUrl,fixed:""},null,8,["str"])]})),_:1},8,["to"])]})),_:1},8,["value"])]})),_:1},8,["label"])):(0,a.kq)("",!0)]})),_:1},8,["transaction","coin-symbol","transaction-fee","is-swap","is-pool","token-symbol","total-amount","is-error-transaction","is-dex-allowance","is-dex","is-transaction-aex9","payload","is-multisig","direction","explorer-url","is-local-account-address","gas-price","gas-used","contract-id","multisig-transaction-fee-paid-by","multisig-contract-id","hash","protocol"])):(0,a.kq)("",!0)])]})),_:1})]})),_:1})}n(35666),n(41539),n(74916),n(77601),n(57658),n(92222);var i=n(2262),s=n(33907),u=n(22201),l=n(65986),c=n(51268),d=n(9697),p=n(79323),m=n(48854),f=n(94308),v=n(28243),g=n(34601),h=n(14838),w=n(74906),y=n(57413),k=n(11362),b=n(70764),C=n(27338),A=n(91802),x=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const _=(0,a.aZ)({components:{TransactionDetailsBase:y.Z,DetailsItem:k.Z,CopyText:A.Z,LinkButton:b.Z,Truncate:C.Z,IonContent:c.W2,IonPage:c._i},props:{multisigDashboard:{type:Boolean}},setup:function(e){var t=this,n=(0,s.oR)(),r=(0,u.tv)(),o=(0,u.yj)(),c=(0,h.C)(),y=c.aeActiveNetworkSettings,k=c.aeActiveNetworkPredefinedSettings,b=(0,d.dp)(),C=b.getMiddleware,A=(0,d.Bo)({store:n,pollOnce:!0}),_=A.activeMultisigAccountId,D=(0,d.xe)({store:n}),T=D.activeAccount,S=D.isLocalAccountAddress,I=(0,d.bl)(),F=I.setLoaderVisible,E=o.params.hash,R=o.params.transactionOwner,B=(0,a.Fl)((function(){return R||(e.multisigDashboard?_.value:T.value.address)})),Z=(0,d.Wj)({store:n,externalAddress:B.value}),U=Z.setExternalAddress,P=Z.setTransactionTx,M=Z.direction,L=Z.isErrorTransaction,O=Z.isDex,N=Z.isDexAllowance,W=Z.isMultisig,H=Z.outerTxTag,V=(0,d.DQ)({store:n}),j=V.fetchAllPendingTransactions,q=V.updateAccountTransaction,z=V.getTransactionByHash,Y=(0,i.iH)(),$=(0,i.iH)(),G=(0,a.Fl)((function(){return n.getters.getTxSymbol})),K=(0,a.Fl)((function(){return n.getters.getTxAmountTotal})),J=(0,a.Fl)((function(){return Y.value?(0,g.jt)(Y.value):""})),Q=(0,a.Fl)((function(){var e;return null===(e=Y.value)||void 0===e?void 0:e.tx.contractId})),X=(0,a.Fl)((function(){var e,t;return null===(t=null===(e=Y.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t["function"]})),ee=(0,a.Fl)((function(){return(0,g.gJ)(X.value)})),te=(0,a.Fl)((function(){return(0,g.N9)(X.value)})),ne=(0,a.Fl)((function(){return/^http[s]*:\/\//.test(J.value)?J.value:"http://".concat(J.value)})),ae=(0,a.Fl)((function(){return new w.T(k.value.explorerUrl).prepareUrlByHash(E)})),re=(0,a.Fl)((function(){var e,t,n,a,r,o,i,s;return(null===(n=null===(t=null===(e=Y.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)&&"gasPrice"in(null===(o=null===(r=null===(a=Y.value)||void 0===a?void 0:a.tx)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.tx)?Y.value.tx.tx.tx.gasPrice:null===(s=null===(i=Y.value)||void 0===i?void 0:i.tx)||void 0===s?void 0:s.gasPrice})),oe=(0,a.Fl)((function(){var e,t,n,a,r;return(null===(n=null===(t=null===(e=Y.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)&&"gasUsed"in Y.value.tx.tx.tx?Y.value.tx.tx.tx.gasUsed:null===(r=null===(a=Y.value)||void 0===a?void 0:a.tx)||void 0===r?void 0:r.gasUsed})),ie=(0,a.Fl)((function(){var e,t,n;return H.value!==l.Vp.PayingForTx?null:null!==(n=null===(t=null===(e=Y.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payerId)&&void 0!==n?n:null})),se=(0,a.Fl)((function(){var e,t,n,a,r,o=null!==(e=Y.value)&&void 0!==e?e:{},i=o.tx,s=null!==(t=null===i||void 0===i?void 0:i.fee)&&void 0!==t?t:0,u=null!==(r=null===(a=null===(n=null===i||void 0===i?void 0:i.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.fee)&&void 0!==r?r:0;return s+u}));return(0,a.bv)((function(){return x(t,void 0,void 0,regeneratorRuntime.mark((function t(){var n,a,o,i,s,u,c,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=z(T.value.address,E),i&&!i.incomplete){t.next=32;break}return t.next=4,C();case 4:return s=t.sent,t.prev=5,t.next=8,s.getTx(E);case 8:i=t.sent,t.next=19;break;case 11:return t.prev=11,t.t0=t["catch"](5),t.next=15,j();case 15:if(i=z(T.value.address,E),i){t.next=19;break}return r.push({name:f.vl}),t.abrupt("return");case 19:if(!(null===i||void 0===i?void 0:i.tx)){t.next=30;break}if(!e.multisigDashboard){t.next=25;break}return t.next=23,(0,m.mu)((function(){return _.value}));case 23:t.next=27;break;case 25:return t.next=27,(0,m.mu)((function(){return T.value}));case 27:U(B.value),Y.value=Object.assign(Object.assign({},i),{transactionOwner:B.value}),q(T.value.address,Y.value);case 30:t.next=33;break;case 32:Y.value=i;case 33:if((null===(n=Y.value)||void 0===n?void 0:n.tx)&&P(Y.value.tx),H.value!==l.Vp.GaMetaTx){t.next=47;break}return t.prev=35,t.next=38,(0,m.rd)("".concat(y.value.nodeUrl,"/v3/accounts/").concat(null===(o=null===(a=Y.value)||void 0===a?void 0:a.tx)||void 0===o?void 0:o.gaId));case 38:u=t.sent,c=u.contract_id,d=void 0===c?null:c,$.value=d,t.next=47;break;case 44:t.prev=44,t.t1=t["catch"](35),(0,m.ac)(t.t1);case 47:case"end":return t.stop()}}),t,null,[[5,11],[35,44]])})))})),(0,a.YP)(Y,(function(e){var t=!(e&&!e.incomplete);F(t)}),{immediate:!0,deep:!0}),{AE_SYMBOL:v.WJ,PROTOCOL_AETERNITY:p.DJ,transaction:Y,isSwap:ee,isPool:te,getTxSymbol:G,getTxAmountTotal:K,isErrorTransaction:L,isDexAllowance:N,isDex:O,isTransactionAex9:g.cU,getTransactionPayload:g.gO,isMultisig:W,tipUrl:J,tipLink:ne,direction:M,explorerUrl:ae,hash:E,splitAddress:m.wC,aettosToAe:g.mW,isLocalAccountAddress:S,gasPrice:re,gasUsed:oe,contractId:Q,multisigTransactionFeePaidBy:ie,multisigContractId:$,transactionFee:se}}});var D=n(83744);const T=(0,D.Z)(_,[["render",o]]),S=T},35564:(e,t,n)=>{var a={"./Governance.png":84340,"./SuperheroDEX.svg":87071,"./dapp-favorite.svg":94300,"./dapp-refresh.svg":99514,"./dapp-share.svg":50063,"./graffiti.svg":37764};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=35564},84340:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABwlSURBVHgB7V17sJ1VdV/7O+fm3iQ3D0hCSHKT3JsEAhUlUh8IIkFFO9UBweIDKQZfVaeoM51x2s44hrb+XUWdzuhUio/6KGK0thVBAUGN1QpVFEgISUhy8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MDvWvdsduVrn9fja7qol6tbZC2EuvjhHKfGKSPR9QwqwxWkR4EqNsW/CmaW6v5l3TQGE632PayMX/A8MOq3cRJk1KKigRJ7U3/XexExtaobqqoEnQgEKxsn3wmAKSuDBITvFciKRuH7LhOijabtIsdqsLvHKlw6UHLhLsHptPwlp+BtOEMYfi7rOyv98XcitZXWrdwKgBRoSEAunzeBp55JZUaV2+KyU6KOe7hOPunDhMVg5+wmfZFp/tZqdRlwx2xPcrB50IMsWVx+rbkGYEYtCgyN1+oQr/XNBOxwo8zZUjW6Fwtq4646FPX7oFa8BWaaMH1n2ukYLKdAabUhgmACyd3zscfSP1MA6UtaViDewvSk+p5cYnOdy+9rKwedJZWavKXeM7u4fWoSNlNjT/4/0FflR4fKVfW4WqsLWdDdhxZ174LNZaBKmJa/T9hcWffnkBB2vWPrP9yeXXPfLSM5wE2i+W0/HbZWYZSx9IPhj9uHj/I7XRDLuZ96KothVpU8G8rwH0xiCUWrMpWLZt/rrtu2oarN3W0vKzDbzDhzBBe+vff+x65bdQUx2FwcZwzlj0/t7lck0/y9qcxj2jzbJmGbm9ghW8sv2rW5fF3xKczm67du/gznrPki7thz313XrtjI32+EGaVyZVpl6watclFdPiMJ26oIziDvc0oInyZw/85f1vR3d+697/5rV16+myz5Bni+/6Op3QLe0mp3b82fV0BjGskR33nDz2/5jL7ZspVfvuSTm2porqYcDPZg+AIrnu668qWHu/IWZpJaVASrKj2DZCpeYe/touuH6eK+qd7i9pvInpUf/QN2XHYw/MqfrAAAAABJRU5ErkJggg=="},24654:()=>{},52361:()=>{},94616:()=>{},55024:()=>{},29012:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Mint":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"},{"name":"value","type":"int"}],"name":"mint","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]')},45984:e=>{"use strict";e.exports=JSON.parse('{"common":{"address":"Address","addressCopied":"Copied","ae":"AE","all":"All","allAddresses":"All account addresses","amount":"Amount","balanceUnavailable":"Unable to load balance.","buy":"Buy","by":"by","callData":"Call data","cancel":"Cancel","confirm":"Confirm","contractId":"Contract ID","copy":"Copy","days":"{n} days | {n} day | {n} days","edit":"Edit","faucet":"Faucet","fellowSuperhero":"Fellow Superhero","fundsAreSafe":"Keep calm! Your funds are safe with Superhero wallet.","hashCopied":"Hash copied","hours":"{n} hours | {n} hour | {n} hours","hoursShort":"{n} h","minutes":"{n} minutes | {n} minute | {n} minutes","minutesShort":"{n} mins | {n} min | {n} mins","next":"Next","nonce":"Nonce","of":"of","ok":"OK","pending":"Pending","priceNotAvailable":"price: n/a","receive":"Receive","search":"Search","seconds":"{n} seconds | {n} second | {n} seconds","secondsShort":"{n} s","send":"Send","smartContract":"Smart contract","swap":"Swap","browser":"Browser","title":"Superhero wallet","total":"Total","totalMultisig":"Total in multisig vaults","tx":"Tx","you":"You","verifying":"Verifying","max":"MAX","tokens":"tokens","transferSpeed":{"fast":"Fast","medium":"Medium","slow":"Slow"}},"connectionStatus":{"offline":"You are offline. Go online to get real time data.","node":{"error":"Unable to connect to the chosen node.","connecting":"Connecting to the node...","connected":"Connected"},"middleware":{"unavailable":"Middleware is offline."}},"badges":{"verified":"Verified","notVerified":"Not verified"},"dashboard":{"receiveCard":{"description":"from existing wallet","descriptionMultisig":"to multisig vault"},"sendCard":{"description":"assets to others"},"proposeCard":{"title":"Propose Tx","description":"to other signers"},"backUpCard":{"title":"Back up your seed phrase","description":"Make a copy of your seed phrase to be able to recover your wallet and avoid losing your funds.","button":"Back up now"},"daeppBrowserCard":{"title":"Browse the æcosystem","description":"Explore æpps from within your wallet with the new built-in browser.","button":"Browse"},"buyCard":{"title":"Buy AE coin","description":"Use Simplex to buy AE coins with your credit card or bank account.","button":"Buy AE"},"nameCard":{"title":"Claim your own .chain name","description":"Get a human-readable name for your account and receive funds with it.","button":"Claim a name"},"latestTransactionCard":{"title":"Latest transactions"},"pendingMultisigCard":{"title":"Pending multisig transaction"}},"multisig":{"backToMainAccounts":"Back to main accounts","showMultisigVaults":"Show multisig vaults","consensus":"Consensus","signatureRequested":"Your signature is requested.","transactionSigned":"You have signed the transaction.","transactionReady":"Transaction is ready to be sent","multisigVault":"Multisig vault","address":"Multisig vault address","version":"Contract version","currentNonce":"Current nonce","authorizedSigners":"Authorized signers","explorerLink":"View smart contract in blockchain explorer","consensusPending":"Consensus pending","multisigVaultCreationFailed":"Multisig creation failed","needForApproval":"Needed for approval","creatingAccount":"Creating account (pays for the transaction)","approved":"Approved","waitingToBeSent":"Waiting to be sent...","scanAddress":"Scan æternity address"},"modals":{"createAccount":{"title":"Add account","titleMultisig":"Add multisig vault","titleAeternityAccount":"Add æternity account","msg":"Please select blockchain to add an account address to.","msgMultisig":"Generate new multisig account address and add it to your wallet.","msgAeternity":"Generate new account address to store, send and receive crypto currency on the æternity blockhain.","btnSubtitle":"Derive another account from your seed","addProtocolAccount":"Add {name} account"},"transaction-failed":{"msg":"We cannot process this transaction. Please, try again later."},"required":{"msg":"Please fill in all fields."},"payloadInfo":{"title":"Payload message","msg":"A payload is an optional public message composed by the sender and sent to the recipient along with a blockchain transaction.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Payload can be utilized as additional transaction identifier, destination tag (required by some centralized exchanges when depositing funds), or just to provide any extra information in free-form text."},"payloadForm":{"title":"Add payload (optional)","desc":"Send a public message with your transaction for approx. 0.00000002 AE per character.","label":"Payload message","doneBtn":"Done"},"only-chars":{"msg":"Only letters and numbers are allowed."},"name-exist":{"msg":"This name is already registered."},"name-length":{"msg":"Names on SUPERHERO have to be a minimum of 13 characters."},"incorrect-address":{"msg":"Please make sure that you have entered a valid public address."},"incorrect-amount":{"msg":"Please make sure you entered a valid amount."},"insufficient-balance":{"msg":"You do not have enough balance for this transaction."},"vaultLowBalance":{"title":"Insufficient vault balance","msg":"The vault does not have enough funds to pay for this transaction (proposed amount + network fee)."},"accountLowBalance":{"title":"Insufficient funds","msg":"You don’t have enough AE on your signing account to {action} this transaction."},"createMultisigAccount":{"title":"Create new multisig vault","btnText":"Create multisig vault","btnTextShort":"Create vault","btnSubtitle":"Manage funds with multiple accounts","signer":"Signer","signerInputPlaceholder":"Signer\'s account address","addSigner":"Add Signer","selectAccount":"Select an account","addSignerHelpMsg":"Each multisig transaction needs to be confirmed by the signatures of a preset number of authorized accounts.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}As the creator of this multisig vault you can determine the authorized signers and set the consensus required for a transaction confirmation.","consensusRequiredDesc":"Consensus required for tx confirmation:","consensusRequiredContent":"of {0} signatures","consensusRequiredHelpTitle":"Consensus required","consensusRequiredHelpMsg":"As the creator of this multisig vault you can determine the authorized signers and set the consensus needed for a transaction confirmation (how many signatures are required to confirm each transaction).","createMultisigVault":"Create Vault","errorDuplicatingSigner":"You can not add the same account address as a signer more than once.","errorDuplicatingInputMessage":"Duplicated account address","errorNotEnoughBalanceToCreateVault":"Not enough balance in this account. Creating multisig vault requires at least {0}."},"creatingMultisigAccount":{"title":"Creating vault progress","btnText":"Go to multisig vault","vaultAccessibleMessage":"It\'s ready! Your new multisig vault is added to Superhero wallet.","vaultCreatedMessage":"You may proceed and explore your newly created vault.","vaultCreatedMessageSub":"However it will become visible to the other authorized signers in a short period of time (usually it takes between 30 seconds and 1 minute).","preparingMultisigVault":"Preparing multisig vault","deployingSmartContract":"Deploying smart contract","creatingMultisigVault":"Creating multisig vault account","addingToWallet":"Adding multisig vault to the wallet","syncingVault":"Syncing multisig vault","takingLong":"This step may take a few moments.","syncing":"Syncing..."},"consensusInfo":{"title":"Multisig consensus","subtitle":" X/Y of Z","firstPoint":"{\'<\'}strong{\'>\'}X ={\'<\'}/strong{\'>\'} accounts that have already signed the transaction;","secondPoint":"{\'<\'}strong{\'>\'}Y ={\'<\'}/strong{\'>\'} number of signatures required to approve the transaction;","thirdPoint":"{\'<\'}strong{\'>\'}Z ={\'<\'}/strong{\'>\'} number of authorized signers.","description":"If {\'<\'}strong{\'>\'}X=Y{\'<\'}/strong{\'>\'} the multisig consensus has been reached. The transaction proposal has been approved and the transaction can be sent by any of the authorized signers."},"removeAccount":{"title":"Are you sure you want to remove this account?","msg":"This action will remove your account from the wallet and will delete the extension storage. Make sure you have backed up your seed phrase before proceeding. This action cannot be undone!"},"verify":{"title":"Verify your URL","msg":"Make sure that the public address of your Superhero wallet, or your .chain name, is added somewhere on the website you want to claim tips for."},"recipient":{"title":"Send cryptocurrency","ae-sub-header":"to public address or .chain name","sub-header":"to public {protocolName} address","msg":{"publicAddress":{"title":"Send to public address","msg":"{0} scan QR code or manually enter recipient’s account address."},"chain":{"title":"Send to .chain name","linkTitle":"claim your own .chain name","msg":"{0} AENS name is a human friendly nickname ending with .chain that points to recipient’s æccount. Before sending any funds make sure the recipient is still the name owner. You can also {1} and set a pointer to one of your public addresses!"}}},"readMore":{"msg":"{0} about tipping and claiming cryptocurrency tips.","linkTitle":"Read more"},"verified":{"title":"Verified URL","msg":"The Superhero wallet identifies this URL as verified. This means that æternity blockchain account address has been found on the webpage and tips can be successfully claimed by its owner."},"not-verified":{"title":"Not verified URL","msg":"This means that we could not find æternity blockchain account address at this URL. The URL owner will be able to claim all tips accumulated as soon as they add their account address to the web page content."},"blacklisted":{"title":"Inaccessible URL","msg":"The Superhero wallet can tip any public URL. Currently, web pages that require logging in to view information cannot be tipped. We\'re still working on solutions for this."},"not-secure":{"title":"Not secure URL","msg":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only. The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"Something went wrong","sub-title":"Be a Superhero!","content":"Please provide more information about the error you encountered so we can improve our superpowers. No personal data will be collected.","create-report":"Create report"},"donate-errors":{"title":"Your Error Report Has Been Sent","msg":"Thank you for being such a helpful Superhero!"},"donate-errors-error":{"title":"Your Error Report Was not send","msg":"There was problem sending your error report."},"invalid-qr-code":{"msg":"The scanned QR code is invalid."},"confirmTransactionSign":{"recipientId":"Recipient ID","commitmentId":"Commitment ID","nameFee":"Name fee","nameId":"Name ID","pointers":"Pointers","data-sign":"Data to sign","functionName":"Function name","arguments":"Arguments","superheroChat":"Superhero Chat","unableToExecute":"This transaction can not be executed.","confirmSigning":"would like you to confirm a transaction."},"confirm-raw-sign":{"title":"Sign raw transaction","warning":{"title":"Transaction Warning","content":"Transaction data is either broken or Superhero wallet doesn’t support this type of transactions yet. Signing it may cause unexpected results including loss of your funds or other malicious effects.{0}{0}Be careful and sign the data only if you trust the aepp and its owner."}},"qrCodeReader":{"grantPermission":"Grant camera permission","scanQr":"Scan QR code","subtitle":"Allow Superhero wallet to access your camera in order to scan QR codes.","settings":"Settings"},"name-pointers-help":{"title":"Name pointers","msg":"Name pointer associates a .chain name with an account address so that the name becomes human-readable alias of the address."},"auctions-help":{"title":"Auctions and bidding","msg":"If your .chain name is {\'<\'}strong{\'>\'}12 characters or less{\'<\'}/strong{\'>\'} – you’ve got to bid for it in an auction. To win the bidding process, all you have to do is have the highest bid once the auction ends! If somebody outbids you – all of your funds are automatically returned.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Auction periods and initial fees vary as the length of the name varies – the shorter the name, the higher the fee and longer the period."},"autoextend-help":{"title":"Autoextend name","msg":"In order to encourage the active usage of .chain names their ownership is limited in time by default.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Selecting the auto-extend option guarantees that you will not lose the ownership of a .chain name.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Your .chain name will be auto-extended at the cost of a simple name update transaction (under a penny as you are taking advantage of the super-low transaction fees of aeternity blockchain)"},"receive":{"funds":"funds","title":"Receive {name} to public address","requestAmount":"Request specific amount (optional)","copied":"Copied!","share":"Share","shareTextNoAmount":"My {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}","shareTextWithAmount":"{amount} {coinSymbol} has been requested. Send to {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}"},"receiveMultisig":{"title":"Receive funds to multisig vault"},"send":{"sendTitle":"Send funds","sendAsset":"Send {name}","reviewTitle":"Review transaction","successTitle":"Transaction successfully submitted","recipientLabel":"Recipient","recipientPlaceholder":"Enter public address or .chain name","recipientPlaceholderUrl":"Enter public address, .chain name or URL","recipientPlaceholderProtocol":"Enter {name} public address","transactionSpeed":"Transaction speed","transactionWillBeCompleted":"Transaction will be completed in ≈{time}.","payload":"Payload"},"multisigTxProposal":{"title":"Multisig transaction proposal","multisigVault":"Multisig vault","amount":"Propose amount","amountProposed":"Proposed amount","signingAddress":"Signing address","signingAccount":"Signing account","fee":"Proposal transaction fee","proposeAndApprove":"Propose and approve","tokenWarning":"Multisig transactions currently support AE coin only."},"wrongNetwork":{"title":"Network discrepancy","msg":"This action was initiated on a different network. Please switch to {0} in your wallet settings to proceed.","button":"Dismiss"},"accountDetails":{"assets":"Assets","assetsNotAvailable":"Assets list is not available offline.","transactions":"Transactions","transactionsNotAvailable":"Transactions history is not available offline.","names":"Names","namesNotAvailable":"Names list is not available offline.","details":"Details"},"claimGiftCard":{"title":"Redeem gift card","selectAccount":"Select account","balance":"Remaining card balance","amount":"Amount to redeem","redeem":"Redeem","redeemPartially":"Redeem partially","redeemFull":"Redeem full amount","redeemedBy":"{0} redeemed by","alreadyRedeemed":"This gift card has already been redeemed."}},"filters":{"out":"Out","in":"In","dex":"DEX","date":"Date","tips":"Tips","bid":"Bid","soonest":"Ending soon","length":"Name length"},"transaction":{"fee":"Transaction fee","advancedDetails":"Advanced transaction details","type":{"spendTx":"Spend","contractCreateTx":"Contract create","contractCallTx":"Contract call","namePreclaimTx":"Preclaim name","nameClaimTx":"Claim name","nameUpdateTx":"Update name","nameTransferTx":"Transfer name","nameRevokeTx":"Revoke name","oracleRegisterTx":"Register oracle","oracleExtendTx":"Extend oracle","oraclePostQueryTx":"Post query oracle","oracleRespondTx":"Respond oracle","channelCloseSoloTx":"Solo close channel","channelSlashTx":"Slash channel","channelSettleTx":"Settle channel","channelSnapshotSoloTx":"Solo snapshot channel","payingForTx":"Pay For Tx","gaMetaTx":"GA Meta Tx","gaAttachTx":"GA Attach Tx","multisigProposal":"Multisig Proposal","sentTx":"Sending","receivedTx":"Receiving","multisigVaultCreated":"Multisig vault created","createMultisigVault":"Create Multisig Vault"},"listType":{"sentTx":"Sent","receivedTx":"Received","namePreclaimTx":"Name preclaimed","nameClaimTx":"Name claimed","nameUpdateTx":"Name updated","nameTransferTx":"Name transferred","nameRevokeTx":"Revoke name","tipSent":"Tip sent","tipReceived":"Tip received"},"dexType":{"provideLiquidity":"Liquidity provided","removeLiquidity":"Liquidity removed","allowToken":"Allow token","changeAllowance":"Allow token","transferAllowance":"Allow token","deposit":"Deposit","withdraw":"Withdraw","pool":"Pool"},"spendType":{"out":"out","in":"in"},"function":{"propose":"Propose Tx","revoke":"Revoke Tx","refuse":"Disapprove Tx","confirm":"Approve Tx","tip_token":"tip_token","retip_token":"retip_token"},"overview":{"aens":"AENS","contractCreate":"Contract create","accountAddress":"Account address","superheroDex":"Superhero DEX"},"returnType":{"abort":"Failed","revert":"Reverted"}},"pages":{"titles":{"settings":"Wallet settings","language":"Language","about":"About","sendTip":"Send tip","terms":"Terms of Use","privacy":"Privacy Policy","currency":"Currency","notifications":"Notifications","auction":"Bidding","more":"More","networks":"Network","permissionsSettings":"Permissions","permissionsEdit":"Edit permissions","permissionsAdd":"Add permissions","commentNew":"Add comment","donateError":"Donate Data","address":"Send Address","signMessage":"Sign Message","signTransaction":"Sign Transaction","giftCards":"Gift cards","txDetails":"Transaction details","tokenDetails":"Token details","coinDetails":"Coin details","saveErrorsLog":"Save error log","resetWallet":"Reset wallet","seedPhrase":"Seed phrase","networkAdd":"Add custom network","networkEdit":"Edit network","notFound":"Feature not found","multisigProposalDetails":"Multisig Tx proposal details","appsBrowser":"Browse the æcosystem"},"errors-log-settings":{"description":"This will help us to identify what causes the errors. Thank you for being a fellow Superhero!"},"about":{"systemName":"Superhero","terms":"Terms","privacyPolicy":"Privacy","reportBug":"Report a bug","name":"Name","commit":"Commit","software-version":"Software version","sdk-version":"SDK version","middleware-version":"Middleware version","node-version":"Node version"},"account":{"heading":"account","accountName":"Account name","claim":"Claim Tip","latestTransactions":"Latest transactions","noTransactionsFound":"No transactions found!","balance":"Balance","secureYourAccount":"Secure your account","backupNow":"Back up now","seedNotification":"Welcome to Superhero wallet! Please backup your seed phrase!","backup":"backup","updateExtension":"New version available! Please update your extension.","updateAvailable":"Update available","updateAvailableText":"There is a new wallet version available for download in the store","claim-name":"Claim your .chain name"},"accounts":{"addAccount":"Add account","searchAccountsPlaceholder":"Search for account","addAccountDescription":"Add an account to your wallet to manage funds separately."},"vaults":{"addVault":"Add vault","addVaultDescription":"Add a multisig vault to your wallet to manage funds with multiple accounts."},"claim":{"claim":"Claim tips","noZeroClaim":"There are no tips to be claimed for this URL.","noAddress":"Address not found","errorClaim":"Error.","ae":"AE tokens","claimed":" Claim request sent! ","url":"URL","tipsOnUrl":"Tips on this URL","urlNotExisting":"No tips for this URL at the moment.","moreOracles":"There aren\'t enough active Oracles to verify your claim request. Please try again later.","oracleFailed":"Oracle service check claim failed. Please try again later.","unknownError":"Error occured during claim request. Please try again later.","noMobileClaim":"Claiming is currently only available on desktop."},"claimTips":{"title":"Claim tips","header":"You need to verify ownership of the URL before you can claim any tips.","urlToClaim":"Claim tips from this URL:"},"notFound":{"header":"Lost in space?","description":"The feature could not be found in this Universe. Keep calm and safely fly back home.","backToHome":"Return home","reportBug":"Report a bug"},"recentTransactions":{"title":"Recent transactions","viewMore":"View full transaction history","noTransactionsFound":"There are no recent transactions for this account.","searchPlaceholder":"Search transactions by asset name","unknownMode":"Unknown display mode type:"},"advancedSettings":{"heading":"Advanced","exportKeypair":"Export keypair","exportKeystore":"Export keystore"},"airGapSetup":{"heading":"AirGap Setup","step1heading":"Install AirGap on your phone","step1info":"Search for AirGap.it in the store or scan this QR code","setupSteps1heading":"Open AirGap on the 2nd device","setupSteps2heading":"Create secret key","setupSteps3heading":"Write it down in the right order","setupSteps4heading":"Add an aeternity wallet","setupSteps5heading":"Link your aeternity wallet","setupSteps1":"For security, turn off your internet connection before opening AirGap","setupSteps2":"No internet connection means maximum security for the key","setupSteps3":"You will need it for recovery","setupSteps4":"Tap wallet, add wallet, and choose aeternity","setupSteps5":"Finish by linking your vault to your aeternity address","linkVault":"Link Vault"},"auctionBid":{"backToAuctions":"Back to auctions","bidding":"Bidding","bidOn":"Bid on","current-highest-bid":"Current highest bid","remaining-time":"Remaining Time","ending-height":"Ending height"},"accountListConfirm":{"websiteRequestConnect":"would like to connect to your Superhero wallet.","addressesRequest":"This aepp is requesting access to view all of your account addresses.","message":"Make sure you trust the aepp provider before accepting the request."},"connectConfirm":{"title":"Allow access","websiteRequestConnect":"would like to connect to your account.","websiteRequest":"This website is requesting access to view your current account address. Always make sure you trust the website you interact with. ","cancelButton":"Deny","confirmButton":"Accept","transactionLabel":"Transaction","addressRequest":"This aepp is requesting access to view your current account address.","transactionRequest":"This aepp may prepare a transaction, you are in charge of confirming it.","websiteRequestAccounts":"would like to get account addresses","addressesLabel":"Addresses","addressesRequest":"This aepp is requesting access to view your account addresses","connecting":"Connecting"},"fungible-tokens":{"add":"Add Fungible Token","add-info":"This allows you to add token from given deployed fungible token contract","deploy":"Deploy Token","deploy-info":"This allows you to deploy your own fungible token contract","allowances":"Allowances","allowances-info":"Give or take an allowance","mint-info":"This allows you to mint or burn token amount","tokens":"Tokens","searchPlaceholder":"Search by token name or contract address","searchAssetsPlaceholder":"Search for assets","myTokens":"My Tokens","mcap":"MCap","price":"Price","not-available":"N/A","noTokens":"No tokens in account balance.","buyAe":"Buy AE","receiveTokens":"Receive tokens","select-asset":"Select asset"},"token-details":{"details":"Token Details","proposeTx":"Propose Tx","tip":"Tip","token-details":"Token details","coin-details":"Coin details","token":"Token","coin":"Coin","token-description":"Token Description","community":"Community","decimals":"Decimals","available-supply":"Available supply","total-supply":"Total supply","max-supply":"Max supply","supply":"Supply","price-ae":"Price (AE)","price":"Price","volume":"Total Volume","volumeDaily":"Volume (24h)","feeDaily":"Fee (24h)","market-cap":"Market Cap","atl-change":"All time low","ath-change":"All time high","chart":"Chart","poolShare":"Pool share","holders":"Holders","transactions":"Transactions","pooled":"Pooled"},"more":{"get-ae":"Get AE","dex":"Superhero DEX"},"names":{"default":"Default","balance-error":"Your account balance is not enough to execute this transaction.","pointer-added":"Name {type} successful!","auto-extend":"Auto-extend","tabs":{"my-names":"My names","auctions":"Auctions","register":"Register name"},"list":{"default":"Default","default-make":"Make default","valid-identifier-error":"Enter valid ae blockchain identifier","no-names":"There are no .chain names owned by this account. Would you like to register one?","register-name":"Register .chain name","name-hash":"Name code","pointers":"Pointers"},"details":{"created-height":"Created at height","expires-height":"Expires at height","set-pointer":"Set pointer","address-placeholder":"Enter ak_, ct_, ok_, ch_"},"claim":{"auto-extend":"Auto extend name","register-name":"Register .chain name","name-placeholder":"Enter .chain name","button":"Register name","button-price":"Register name for {0} AE","short-names":{"message":"Ownership of .chain names {0} will be acquired at an auction by the account that places the highest bid.","insertion":"shorter than 13 characters"}},"auctions":{"button":"Auctions","soonest":"Soonest","length":"Name length","bid":"Bid","expires":"Ends","no-auctions":"There are no .chain names for auction at the moment. Would you like to register one?","not-found":"Not found","current-bid":"Current bid","previous-bids":"Previous bids","bidding":"Go for bidding","bid-on":"Bid on","current-heighest-bid":"Current heighest bid","remaining-time":"Remaining Time","add-amount":"Enter amount","min-bid":"Bid must be more than {minBid} AE","bid-added":"Bid added successfully","place-bid":"Place bid","bid-history":"Bid history","bids-on":"Bids on"}},"languageSettings":{"chooseLanguage":"Choose Superhero wallet UI language."},"currencySettings":{"heading":"Currency","chooseLanguage":"Choose Superhero wallet fiat currency conversion. Conversion to XAU (gold) is also an available option."},"index":{"term1":"I agree to the Superhero ","term2":"Terms of Use","term3":"Privacy Policy","termsAndConditions":"Terms of Use","heading":{"message":"More than just a way to {0}, {1} & {2} on the {3}","receive":"receive","store":"store","send":"send tokens","aeternityBlockchain":"æternity blockchain"},"ready":"Ready to go?","go":"Go!","platforms":{"heading":"Download for your device","browser-extension":"Browser extension","mobile-app":"Mobile app"},"webVersion":"or continue with web version","securingAccount":"Securing your account","generateWallet":"Create new wallet","getStartedWithWallet":"Get started with Superhero Wallet","importWallet":"Restore existing wallet","enterSeed":"Enter seed phrase","passwordError":"Password must be at lest 4 symbols.","loginButton":"Login","seedPhrase":"Seed phrase","enterSeedPhrase":"Please enter the 12 words or more of your seed phrase (separated by spaces) in the correct order to restore your Superhero wallet.","continueButton":"Continue","continue":"Continue","importAccount":"Restore wallet","accountNotFound":"Account not found. Please check again your seed phrase.","invalidSeed":"Your seed phrase should consist of 12 words or more separated by spaces.","seedPlaceHolder":"Enter or paste your seed phrase here","scanSeedPhrase":"Scan Seed Phrase"},"ledgerSetup":{"ledgerConnectSetup":"How to connect from Ledger","ledgerAccount":"Add Ledger Account","ledgerSteps":"Steps","ledgerUsb":"Connect your Ledger via USB and unlock it","ledgerLedger":"Open the aeternity app on your Ledger","ledgerAccountCreate":"Create a first account by pressing the button bellow"},"notifications":{"wallet":"Wallet","superhero":"Superhero.com","commentOnComment":"replied to your comment.","commentOnTip":"commented on your tip.","tipOnComment":"tipped on your comment","retipOnTip":"retipped your tip.","claimOfTip":"claimed your tip.","claimOfRetip":"claimed your retip.","viewOnSuperhero":"View on Superhero.com","goToStore":"Go to store","noNotifications":"You do not have any unread notifications."},"notification-settings":{"description":"Wallet notifications are always on by default and you are not able of turning them off.","description2":"You can choose below which notifications to receive from social platform Superhero.com.","commentOnTip":"Someone commented on your tip or post.","commentOnComment":"Someone replied to your comment.","retipOnTip":"Someone retipped to your tip.","wallet":"Wallet notifications (always on).","tipOnComment":"Someone tipped to your comment.","claimOfTip":"Someone claimed your tip.","claimOfRetip":"Someone claimed your retip."},"privacyPolicy":{"heading":"Privacy Policy","content":"Your privacy is important to us. It is Superhero\'s policy to respect your privacy regarding any information we may collect from you across our website and other sites we own and operate. We don\'t ask for personal information to provide a service to you. We don\'t collect and retain any information for providing your requested service. We don’t share any personally identifying information publicly or with third-parties. Our website and browser extension may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies. Your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us. This policy is effective as of 31 January 2020."},"seed-phrase-settings":{"verifyYourSeedPhrase":"Verify your seed phrase!","backToSettings":"Back to settings","heading":"Security and Privacy","privacyDataHeading":"Privacy Data","privacyDataSmall":"Clear privacy data so all websites must request access to view account information again.","privacyDataClearBtn":"Clear Privacy Data","privateKeyHeading":"Reveal Private Key","privateKeySmall":"You can view your private key after you enter your password","privateKeyRevealBtn":"Reveal Private Key","privateKeyWarning":"Do not share your private key with anyone, it can be used to steal all your accounts","privateKey":"Your private key","showPrivateKey":"Show Private Key","incorrectPassword":"Incorrect Password","decryptingPrivateKey":"Decrypting private key","seedRecoveryHeading":"Show seed phrase","seedRecoverySmall":"Your seed phrase is a combination of 12 words and serves as password to access and restore your wallet accounts.","seedRecoverySmall-2":"Never disclose this to anyone.","seedRecoverySmall-3":"Make sure you {0} on a piece of paper or in a file that no one else can see - but that you will never lose.","seedRecoverySmall-4":"Losing your seed phrase means losing access to your wallet and all funds in your accounts.","seedRecoverySmallBackItUp":"back it up in the correct word sequence","seedRecoveryBtn":"Show seed phrase","seedPhrase":"Your seed phrase","copy":"Copy to clipboard","this-your-seed-phrase":"This is your seed phrase. Keep it safe!","confirm-that-you-save-your-seed-phrase":"Confirm that you got your seed phrase correctly.","compose-your-seed-phrase":"Tap the words below {0} to compose your seed phrase.","in-correct-order":"in the correct order","seed-phrase-correct":"Seed phrase has been verified!","seed-phrase-incorrect":"Seed phrase words are not in the correct order. Please enter your seed phrase again!"},"seedPhrase":{"securingAccount":"Securing your account","attentionMsg":"Please make sure to keep your seed phrase safe! Superhero does not store and cannot recover your seed phrase for you. It is your responsibility to keep it safe. If you lose access to your seed phrase, you will lose access to your wallet and all your funds.","tips":"Tips on protecting your funds","tip1":"Save a backup in multiple places","tip2":"Remember your password to decrypt your wallet","tip3":"Never share your seed phrase with anyone","confirmSeedPhrase":"Confirm your seed phrase. Tap the words below to compose your seed phrase in the correct order.","recoveryPhrase":"Your recovery seed phrase","first":"first","second":"second","third":"third","dontLose":"Do not lose this seed phrase!","nextScreen":"To make sure you got it right, you will be asked to recreate this seed phrase in the next screen.","verifySeed":"Verify your seed phrase","doneThis":"I have verified seed phrase before","verify":"Verify seed phrase","seedConfirmed":"Seed phrase confirmed.","toDashboard":"Back to Dashboard","backUpYourSeedPhrase":"Back up your seed phrase {0} on a piece of paper or file that no one but you will ever see. Make multiple copies. Make sure you keep your seed phrase in a safe place!","inCorrectOrder":"in the correct order of 12 words","toBeSureYouGotItRight":"To be sure you got it right, you should {0} clicking on the button below!","verifyYourSeedPhrase":"verify your seed phrase"},"send":{"title":"Transaction has been submitted","subtitle":"You may check the status of your transaction in æternity blockchain explorer","success":"Success","viewInExplorer":"View in explorer","scan":"Scan QR code","review":"Review and send","reviewtx":"Review transaction","checkalert":"Please check the information carefully.","sender":"Sending address","recipient":"Receiving address","successAlert":"has been successfully sent to","receivingUrl":"Receiving URL","sending":"Sending","sendingTo":"sending to","sentTo":"have been successfully sent to","sendingCryptoToUrl":"Sending tip to URL","tipInfo":"Your transaction will be publicly displayed as URL tip on {0}","to":"To","hash":"Transaction Hash","messageUrlOwner":"Message the URL owner (optional)","scanAddress":"Scan the recipient’s account address QR code in order to send {assetName} to them.","error":"Invalid AE address or AENS name","confirm-sending-to-same-account":"Are you sure you want to send tokens to your own address?"},"signTransaction":{"unknownAccount":"Unknown","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","reject":"Reject","contractCall":"Contract call","contractCalling":"Calling contract method. Please do not close the window","insufficientBalance":"Insufficient Balance","incorrectAddress":"Incorrect address","compiledCode":"Compiled Code","callData":"Call Data","payload":"Payload","newContract":"New Contract","aens":"AENS","balanceError":"Your account balance is not enough to execute this transaction.","maxSpent":"Maximum spent","minReceived":"Minimum received","from":"From","to":"To","approveUseOfToken":"Approve use of token","approveUseOfTokens":"Approve use of tokens","maximumDeposited":"Maximum deposited","poolTokenSpent":"Pool token spent","minimumWithdrawn":"Minimum withdrawn"},"termsOfService":{"terms-of-use":"Terms of use","terms-with-quotes":"(„TERMS“)","terms":"terms","sub-heading":"The present @:termsOfService.terms-of-use were created on 3 April 2020.","section0Content":"@:termsOfService.superhero-com reserves its right to modify and update these @:termsOfService.terms-of-use according to the policy and practice of the @:termsOfService.company. The new version of thе @:termsOfService.terms-of-use becomes effective from the day it is announced on @:termsOfService.our-superhero-wallet unless stated otherwise.","superhero-com":"Superhero.com LVC","company":"company","our-superhero-wallet":"Our Superhero Wallet","section01Content":"THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","section02Content":"These @:termsOfService.terms-of-use @:termsOfService.terms-with-quotes apply exclusively for the @:termsOfService.superHero-wallet (hereinafter referred to as the “@:termsOfService.wallet“ or the “@:termsOfService.application”) and all the content available on the @:termsOfService.website-extension. Please make sure that you have carefully read the @:termsOfService.terms before using the @:termsOfService.application. Otherwise, by using it, we consider these actions implicit agreement to the @:termsOfService.terms-of-use. These @:termsOfService.terms-of-use represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „@:termsOfService.you“) and Superhero.com LVC @:termsOfService.superhero-we-us-with-quotes or @:termsOfService.our-with-quotes in connection to your use of the @:termsOfService.superHero-wallet @:termsOfService.website-extension.","superHero-wallet":"Superhero Wallet","wallet":"Wallet","application":"application","website-extension":"website extension","you":"you","superhero-we-us-with-quotes":"(“Superhero”, “we”, “us”","our-with-quotes":"“our”)","section1Title":"1. Definitions","section1Content":"1.1. Superhero.com Establishment (Superhero.com ”, “we”, “us”, “our” or “the company”) ​is a company with email address for communication related to Superhero Wallet: superherowallet{\'@\'}protonmail.com. Superhero.com ​is the company, which created and developed Superhero Wallet​. \\n 1.2. ​„USER“ or ​„YOU“ means a natural or legal person, who has downloaded and uses the Superhero Wallet ​website extension. \\n 1.3. „​Blockchain​“ means the list of records, also known as ​blocks,​ which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. ​USERS can access, create and save information on the aeternity blockchain. The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of ​Validators​, which cannot be altered retroactively. \\n 1.4. Superhero Wallet​” (“​WALLET​” or “​the application​”) is a website extension, which allows supporters to send value to content creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The website extension is a piece of software which acts as an add-on to the web browser Firefox and contributes to the browser’s additional functionality. The application is available at: https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/ . The results of the donations and comments are published on the website ​https://superhero.com/​ . \\n 1.5. “​Validators​” are independent physical persons or entities, which are not in any way part of Superhero.com . ​Their function in the system includes responsibility for ​blocks constitution and broadcast of these ​blocks​ with the​ aeternity ​network. \\n 1.6. “​Account address​” is a hashed version of the ​USER’s ​public key​, used to identify USERS​ on ​the application​. \\n 1.7. “​Keys​” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information.","section2Title":"2. GENERAL PROVISIONS","section2Content":"Superhero.com ​designed and built ​the application as a cryptocurrency wallet through which ​USERS can store and send Superhero.com tokens for the purpose of conducting donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content​. USERS can donate to different websites through the application. The application automatically searches for the public key of the website for the purpose of the donation. The donations can be oriented in two flows as it follows- ​USERS can tip the owner of the whole website or ​USERS can choose specific creators and authors on the website who have written the news to whom to send the tokens. \\n After that, the website ​https://superhero.com/ reflects the ​USERS’ donations and comments and gives the possibility for other ​USERS to actively donate and comment on the news available on the newsfeed of the Website. \\n USERS ​can browse through their transaction history. ​The Wallet displays the ​USER’s tokens​. ​USERS​ are in charge of the safe storage, sending and receiving of funds. \\n The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the ​USER’s​ own risk.","section3Title":"3. USERS IDENTIFICATION","section3Content":"The application uses ​Account address​ for identification of ​USERS​. \\n For ​USERS to send Superhero.com tokens, they should share only their account address. Any other information is not shared or collected by the application. Once a ​USER has downloaded the application, the ​Wallet ​automatically generates the account address. ​For more information about the processing of the account address, please read the Privacy Policy of the application.","section4Title":"​4. USERS OBLIGATIONS","section4Content":"As a ​USER​, ​You​ agree to the following rules applicable for Superhero.com ​: \\n ● You ​shall comply with the rules set within the present ​TERMS and perform any actions on the application in good faith and according to the applicable legislation; \\n ● You are an adult and ​YOU are not persons under judicial disability (​You have obtained full legal capacity); \\n ● You shall not try to obtain or gain access over any personal or identifiable information, including but not limited to recover passphrases, from other ​USERS​, nor shall ​You​ disclose such information about yourself; \\n ● You shall not in any way compromise or exploit the application or use the application for any illegal activity or outside the purpose for its creation; \\n ● Your actions do not in any manner mislead into thinking that ​You are another person or company; ​You shall not purposefully provide information by using another person’s recover phrases, account addresses, etc. with the purpose of representing as somebody else. Superhero.com ​shall undertake any possible action against such identity thefts and frauds in case ​the company​ suspects a ​USER​; \\n ● the device ​You use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content; \\n USERS​ shall be liable for any action undertaken in violation of the present article.","section5Title":"5. WARRANTY and LIABILITY DISCLAIMERS","section5Content":"\\n General Disclaimer: The Superhero.com ​network is open-source, public and permissionless blockchain, meaning that anyone can download, participate, develop, improve and validate transactions on the blockchain. Superhero.com ​cannot and does not control in any way the transactions conducted by USERS​. Superhero.com ​does not ensure the trustworthiness and validity of the same. Please, bear in mind that every ​USER is solely responsible for the actions undertaken on the application and the information presented by them. \\n Password and Security Disclaimer: ​USERS take responsibility for their digital security. The application ​gives the possibility to set up a recovery passphrase, consisting of random unique combination of words. The purpose of the recovery passphrase is to restore the access to the account, once the ​USER has lost access to the original ​Wallet​. Superhero.com does not collect the private keys or the recovery passphrases and shall not be treated under any circumstances as a custodian wallet provider. ​WE HIGHLY RECOMMEND ALL USERS TO SET UP A RECOVERY PASSPHRASE AND PROTECT IT. ​Therefore​, USERS should store their recovery passphrase offline safely. Please bear in mind that if a USER has not set up a recovery passphrase for backup or they have forgotten the recovery passphrase and its exact wording, the access to their accounts can be permanently restricted. The lack of access does not mean in any way that the Superhero.com tokens ​are lost. The ​tokens ​remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. Superhero.com ​shall not be held liable in any case of lost, forgotten or misspelled recovery passphrases. In addition, ​USERS ​must not share their recovery passphrase with anyone. Superhero.com ​should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of ​USERS to regain access to their account​ on the ​Wallet​. \\n Please bear in mind that the option “Already have an account? Retrieve existing account” is applicable only in case the ​USER​ has a recovery passphrase. \\n Decentralization and Control Transparency Disclaimer: ​Blockchain technology is decentralized by nature- which means that the makers of ​the Wallet cannot access or freeze your account; recover or reset your recovery passphrase; reverse, cancel or refund transactions. Only ​USERS are in charge of the safe storage and sending of their funds. By agreeing to the present ​TERMS​, ​USERS accept and guarantee to defend, indemnify and hold Superhero.com ​harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of ​the application​. \\n Access and Connectivity Disclaimer: ​The Wallet ​can be downloaded from https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/​. Please bear in mind that the website can delist or remove ​the application in their own estimation, making it difficult to receive updates. Devices on which the ​Wallet is installed are likely to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section Password and Security Disclaimer in regard to recovery passphrases. Superhero.com ​is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, ​WE shall not be held liable for any loss of data on ​the application ​caused in these cases. \\n Cryptocurrency Guidance Disclaimer: The content presented on the application is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. Superhero.com ​does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. Superhero.com ​shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by ​YOU​, including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. \\n Jurisdiction and Regulatory Disclaimer: ​The access to ​the application is granted worldwide. The use of the application may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that you have to inform yourself about such legal restrictions and you are liable solely in case of a breach of any legal norms. The access to our website is prohibited provided the access point is in a territory where the content is illegal. Superhero.com ​does not have the obligation to control the legislation applicability according to each access point of ​USERS and shall not be held liable in these circumstances. \\n USERS understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the Superhero.com ​Network development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, ​USERS understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through ​the application ​or the​ Superhero.com tokens​ held by them. \\n Risks​: USERS understand and agree with the risks related to Superhero.com ​Contribution and/or with the allocation, use and ownership of Superhero.com tokens ​and guarantee to relieve of responsibility Superhero.com in these cases. The risks mentioned within the present ​TERMS​ are not comprehensive: \\n ● Risk of software weaknesses​: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and ​the application are in a constant development process. There is no warranty that the receipt and transfer of Superhero.com tokens ​shall be uninterrupted or error-free at all times. ​USERS accept and guarantee to dispense of responsibility Superhero.com ​for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of Superhero.com tokens. \\n ● Risk of theft: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the application, the Superhero.com ​Network and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of Superhero.com tokens. \\n ● Risk of mining attacks: ​USERS understand and accept that due to Superhero.com ​blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, \'selfish-mining\' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on ​the application​. \\n ● Risk of phishing attacks and ​forks​: ​USERS understand and accept that the application can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an application/ website with high percentage of resemblance with the original one. ​USERS should be careful when they download and use ​the ​application​. ​USERS can identity the authentic Wallet ​by verifying that the developer on the marketplace is Superhero.com / Superhero.com LVC. \\n Due to the fact Superhero.com blockchain is public and permissionless, any person has the possibility to create a “​fork​”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. ​USERS understand and accept that Superhero.com ​cannot avoid the creation of such ​forks and is not responsible for them. Superhero.com ​shall not be held liable for any losses and/or damages resulted from the use of ​forks​.","section6Title":"6. TAXES AND FEES","section6Content":"The Wallet does not collect any fees or taxes for the use of ​the application- ​it is free of charge. However, taxes and fees are payable for the transactions on the Superhero.com blockchain including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. \\n In addition, depending on the territory access point, the transfer and receipt of funds through the application may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. ​USERS are obliged to inform themselves about such requirements and are solely responsible for their donations.","section7Title":"7. THIRD-PARTY PLATFORMS","section7Content":"In order to donate, ​USERS should copy and paste in the Section “Send a tip to” the URL of a website to which they would like to donate. Please bear in mind that the applications is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, ​USERS shall be fully liable for any use of the ​Wallet in violation of the purpose of the ​Wallet and the present Terms. Superhero.com ​does not control the websites the donations are sent to. Superhero.com ​is not responsible for the content on the websites in any way.","section8Title":"8. LICENSE","section8Content":"The application is created, developed and operated by Superhero.com ​. Each component on the application including but not limited to logos, trademarks and other intellectual property displayed on the application are considered a property of Superhero.com ​and are protected by the applicable intellectual property legislation. It is prohibited to use any intellectual property of Superhero.com ​before a prior explicit consent from the latter. \\n None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of Superhero.com. \\n Superhero.com ​reserves its right to take any necessary legal action against intellectual property infringement.","section9Title":"9. INTELLECTUAL PROPERTY RIGHTS","section9Content":"USERS understand and accept ​the application can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the Wallet​, the visual representation of ​the application ​or could result in malfunction. In the latter case, if ​You as a ​USER notice any change in the funds, settings, accounts or any other information on the application, please superherowallet{\'@\'}protonmail.com​ for assistance.","section10Title":"10. MODIFICATIONS","section10Content":"The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present ​TERMS​. The invalidity of one or more clauses/ provisions in the ​TERMS does not lead to the invalidity of the whole agreement. \\n The Privacy Policy is an inseparable part of the present ​TERMS and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the Privacy Policy, all rules from the ​TERMS​ apply respectively.","section11Title":"11. FINAL PROVISIONS"},"tipPage":{"url":"Send Tip to","claimingExplanation":"With Superhero wallet URL owners will be able to claim all tips from the URL as soon as their account address can be found on the page.","maxNoteLengthError":"Please enter a message below 280 characters.","minAmountError":"Tips should be over 0.01 USD in tokens."},"transactionDetails":{"poolFee":"pool fee","heading":"Transactions Details","type":"Type","txHash":"Tx hash","transactions":"Transactions","backToTransactions":"Back to Transactions","explorer":"View transaction in blockchain explorer","txName":"Name","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","advancedMode":"Advanced Mode","blockHeight":"Block height","signatures":"Signatures","nonce":"Nonce","callData":"Call Data","gasUsed":"Gas used","gasPrice":"Gas price","code":"Code","abiV":"Abi version","vmV":"Vm version","payload":"Payload","commitment":"Commitment id","clientTtl":"Client TTL","nameTtl":"Name TTL","pointerId":"Pointer Id","pointerKey":"Pointer Key","moreInfo":"More Info","hash":"Hash","status":"Status","revert":"Reverted","revertInfo":"Transaction has been reverted. All states returned to the state before the transaction.","failed":"Failed","reason":"Reason","tipUrl":"Tipped URL","timestamp":"Timestamp","poolTokenReceived":"Pool token received","poolTokenSpent":"Pool token spent","approveTokenUse":"Approved use of token","deposited":"Deposited","withdrawn":"Withdrawn","rates":"Rates","swapRoute":"Swap route","feePaidBy":"Transaction fee paid by","vaultContractId":"Vault contract Id"},"proposalDetails":{"receivingAddress":"Receiving address","proposedBy":"Proposed by","revoke":"Revoke","revokeTransaction":"Revoke transaction proposal","refuse":"Disapprove","sign":"Approve","expiresAt":"Expires at height","infoBox":{"signatures":"signatures","signature":"signature","expired":"Transaction proposal has been expired!!","pending":"Pending consensus: {0} more {1} is required to approve the transaction proposal.","approved":"Transaction proposal has been approved by the required number of authorized signers. Transaction can be sent by any of the authorized signers.","revoked":"Transaction proposal has been disapproved by {0} out of {1} required authorized signers. ","proposingAccountRevoked":"Transaction proposal has been revoked by the proposing account.","justRevoked":"Transaction proposal has been revoked.","completed":"Transaction has been successfully sent."},"signDialog":{"title":"Approve transaction proposal","formSelectText":"Signing account","btnText":"Approve","msg":"Approve transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot approve the transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already signed this transaction proposal!"},"revokeDialog":{"title":"Revoke transaction proposal","formSelectText":"Signing account","btnText":"Revoke proposal","msg":"Are you sure you would like to revoke the transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot revoke transaction with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already revoked this transaction!"},"refuseDialog":{"title":"Disapprove transaction proposal","formSelectText":"Signing account","btnText":"Disapprove","msg":"Are you sure you would like to disapprove the transaction?","cannotDoActionWithSelectedAccount":"Cannot disapprove this transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already disapproved this transaction proposal!"}},"transactions":{"heading":"Transaction history","filters":"Filters","loadMore":"Load More","allLoaded":"All transactions loaded.","newTransactions":"new transactions","noTransactions":"No transactions found","type":"Type","incoming":"Incoming","outgoing":"Outgoing","spendType":"Spend Type","spexdTx":"spend tx","namePreclaim":"name preclaim tx","nameClaim":"name claim tx","nameUpdate":"name update tx","createTx":"create tx","clear":"Clear filter","apply":"Apply filter","sent":"Sent","received":"Received","search":"Search by token"},"popupMessageSign":{"title":"Sign message","heading":"would like to sign message.","message":"Message"},"network":{"connectToNetwork":"Connect to network","connectTo":"Connect to {name}","connectedTo":"Connected to {name}","listLabel":"Choose between æternity’s Mainnet and Testnet or add custom node to connect to. Only add custom networks you trust to avoid malicious providers.","formLabel":"Fill in the custom node details in the fields below. Make sure to add only trusted custom networks.","thirdPartyDetails":"Network details below have been provided by a third party. Make sure you trust the network provider to avoid malicious behavior resulting in lose of funds.","delete":"Delete","middleware":"Middleware","allNetworks":"Your networks","addCustomNetwork":"Add custom network","addNetwork":"Add network","apply":"Apply","networkNamePlaceholder":"Enter network name","networkNameLabel":"Network name","networkUrlPlaceholder":"Enter network URL","networkUrlLabel":"Network URL","networkMiddlewarePlaceholder":"Enter network middleware URL","networkMiddlewareLabel":"Network middleware","backendUrlPlaceholder":"Enter tipping Backend URL","backendUrlLabel":"Tipping backend","showTippingConfig":"Show Tipping Configuration","hideTippingConfig":"Hide Tipping Configuration","save":"Connect","error":{"networkExists":"Network with this name exist","invalidHostname":"Invalid hostname","enterName":"Enter network name"},"confirmDelete":"Are you sure you want to delete this custom network?","moreNetworks":"More","viewAndManage":"View and manage all networks"},"donate-error":{"error-report":"Error Report:","error-placeholder":"Describe what were your actions before the error occurred (optional).","data-collected":"Data Collected","browser":"Browser version","details":"Technical details:","donate":"Donate Data"},"invite":{"generate-link":"Generate new gift card","generate":"Generate gift card","created-links":"Gift cards","top-up":"Top up","collapse":"Collapse","claim":"Claim Back","insufficient-balance":"Insufficient balance","insufficient-invite-balance":"This invite Link expired and the Tokens are already claimed.","tip-attached":"Gift card amount","top-up-with":"Top up with","delete":"Delete"},"permissions":{"login":"Don\'t ask for login requests","message-sign":"Auto-sign messages","addressList":"Don\'t ask for list of all addresses","daily-spending-limit":"Daily spending limit without asking","transaction-sign":"Limit for spending without asking per day","spent-today":"Spent today","left-today":"Left today","delete":"Remove permission","add":"Add permission","add-description":"Use this feature with caution and only for platforms you trust.","empty":"You aren\'t connected to any aepps","description":"Manage confirmation popups and daily spending limits. For security reasons use this feature with caution only for trusted platforms such as {0} and your localhost environment.","custom-name":"Custom name","enter-custom-name":"Enter custom name of your choice","permissions-for-url":"Permissions for URL","enter-url":"Enter URL","always-ask":"always ask"},"resetWallet":{"title":"Reset wallet","description":"This action will remove all accounts from your wallet and delete the extension storage.","description2":"Make sure you have backed up your {0} before proceeding. This action cannot be undone!","warning":"This action will remove all accounts from your wallet and delete the extension storage.\\n This action cannot be undone!","warningConfirm":"Are you sure you would like to proceed?","reset":"Reset"},"appsBrowser":{"popularApps":"Featured","inputPlaceholder":"Enter URL"},"warningDappBrowser":{"title":"You are going to visit a \\n third-party website","warning":"Superhero Wallet is not liable for failures in this or any other third-party website as stated in the Superhero wallet {0}.","warning2":"By interacting with this or any other third-party website you agree to be subject to its Terms and Privacy Policy.","decline":"Decline"}},"dappActionBrowser":{"refresh":{"title":"Refresh","description":"Reload contents of the page"},"bookmark":{"title":"Add bookmark","description":"Add this page to your favorites"},"share":{"title":"Share","description":"Share this page with your contacts"}},"validation":{"formInvalid":"One or more fields above are not valid. Please review the information you entered.","required":"This field is required","url":"Invalid URL","address":"Enter valid blockchain address or .chain name","name":"Enter valid .chain name","nameRegisteredAddress":"Invalid address or .chain name","nameUnregistered":"This name has already been registered.","notSameAs":"Sender and receiver address are the same. You will send {0} to your own account.","tokenToAnAddress":"Unfortunately you can only send AEX-9 Tokens to an address","addressBtc":"Invalid BTC address","minValue":"This field must be {0} or more","minValueExclusive":"This field must be more than {0}","enoughCoin":"Not enough {0} balance","enoughAeSigner":"Insufficient balance on your signing account to propose a transaction","maxLength":"The value should be no longer than {0} characters","maxValue":"This field must be {0} or less","maxRedeem":"Maximum redeemable amount is {0} AE.","maxValueVault":"Amount is exceeding the vault\'s balance: {0}","notToken":"Tokens are currently not allowed, please switch to AE","invalidAddressChainUrl":"Invalid address, .chain name or URL","invalidAddress":"Invalid account address"}}')}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(c=0;c=o)&&Object.keys(n.O).every((e=>n.O[e](a[u])))?a.splice(u--,1):(s=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&a;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+{64:"chunk-common",76:"locale-cn",86:"ae-account-details",117:"ae-account-details-transactions",200:"btc-transfer-receive-modal",473:"ae-account-details-names",476:"btc-transaction-details",641:"ae-transfer-send-modal",711:"btc-account-details-transactions",766:"ae-transfer-receive-modal",857:"ae-account-details-tokens",881:"btc-account-details",899:"btc-transfer-send-modal"}[e]+"."+{64:"c9eb2036",76:"f116874e",86:"85b2a4e8",117:"de6181b9",200:"be30826f",473:"67401e35",476:"eac14af4",641:"d271ac01",711:"1e4a25b2",766:"a6a43f0d",857:"c4b6c236",881:"226ca90e",899:"4ecf5ec4"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{86:"ae-account-details",117:"ae-account-details-transactions",200:"btc-transfer-receive-modal",473:"ae-account-details-names",641:"ae-transfer-send-modal",711:"btc-account-details-transactions",766:"ae-transfer-receive-modal",857:"ae-account-details-tokens",881:"btc-account-details",899:"btc-transfer-send-modal"}[e]+"."+{86:"166c118f",117:"9c39cc2e",200:"03b0cc24",473:"bd692696",641:"7aca592c",711:"60fe40e1",766:"03b0cc24",857:"55882403",881:"8bbdcf25",899:"a9ac4361"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="superhero-wallet:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var s,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c{s.onerror=s.onload=null,clearTimeout(m);var r=e[a];if(delete e[a],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(n))),t)return t(n)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{n.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,n,a,r)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css";var i=n=>{if(o.onerror=o.onload=null,"load"===n.type)a();else{var i=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=i,u.request=s,o.parentNode&&o.parentNode.removeChild(o),r(u)}};return o.onerror=o.onload=i,o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o),o},t=(e,t)=>{for(var n=document.getElementsByTagName("link"),a=0;anew Promise(((r,o)=>{var i=n.miniCssF(a),s=n.p+i;if(t(i,s))return r();e(a,s,null,r,o)})),r={42:0};n.f.miniCss=(e,t)=>{var n={86:1,117:1,200:1,473:1,641:1,711:1,766:1,857:1,881:1,899:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=a(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={42:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),s=new Error,u=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}};n.l(i,u,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,s,u]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(u)var c=u(n)}for(t&&t(a);ln(39564)));a=n.O(a)})(); \ No newline at end of file diff --git a/js/popup.ee2c6e45.js b/js/popup.ee2c6e45.js new file mode 100644 index 000000000..9545efb12 --- /dev/null +++ b/js/popup.ee2c6e45.js @@ -0,0 +1 @@ +(()=>{var e={3199:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=3199,e.exports=t},4483:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 34 24'%3e%3cpath fill='%2300FF9D' fill-rule='evenodd' d='M0 8.092 9.003 0h15.994L34 8.092 17.048 24zm10.009-5.61h4.884l10.44 10.254L17 20.552 3.735 8.138z' clip-rule='evenodd'/%3e%3c/svg%3e"},13839:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath stroke='currentColor' stroke-width='1.4' d='m12.43 17.086-.414-.303-.413.303-4.794 3.51-.002.002c-.293.217-.482.147-.523.12-.023-.015-.049-.041-.065-.1-.016-.064-.026-.193.045-.398l.002-.006 1.89-5.626.165-.49-.42-.302-4.929-3.533-.002-.002c-.162-.115-.228-.22-.252-.283-.024-.06-.02-.101-.01-.127.012-.038.096-.187.419-.187H9.71l.158-.484 1.823-5.603.002-.008c.086-.274.244-.319.322-.319s.237.045.322.319l.002.005 1.8 5.604.156.486h6.587c.32 0 .398.146.41.182a.2.2 0 0 1-.011.135c-.026.066-.091.17-.247.284h-.001l-4.904 3.532-.417.3.162.489 1.868 5.626.003.008c.07.205.061.334.044.399-.015.06-.041.086-.063.1-.038.026-.217.094-.495-.116l-.009-.006z'/%3e%3c/svg%3e"},17660:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M17.135 16.33a7.4 7.4 0 0 1-5.992 3.065 7.37 7.37 0 0 1-7.402-7.402A7.366 7.366 0 0 1 11.143 4.6c3.484 0 6.376 2.35 7.176 5.567h-1.124c-.337 0-.591.118-.695.348-.101.223-.032.5.147.759l1.982 2.823c.157.22.366.35.593.352.226.001.438-.126.6-.352l1.974-2.814c.187-.263.26-.541.158-.767-.104-.232-.361-.349-.698-.349h-1.159c-.854-4.148-4.576-7.317-8.954-7.317C6.15 2.85 2 6.99 2 11.993c0 4.994 4.15 9.144 9.143 9.144 3.023 0 5.702-1.534 7.394-3.826.34-.44.236-1.008-.182-1.269l-.002-.001c-.432-.257-.922-.116-1.218.289' clip-rule='evenodd'/%3e%3c/svg%3e"},97952:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='m21.46 12.962-7.384 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944M3.558 18.365c.165 0 .243-.134.274-.196l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007-6.374-6.084a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1m17.904-5.403-7.385 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944m-9.81-4.897V4.642c0-.674.49-1.202 1.174-1.202.455 0 .784.183 1.32.681l7.384 6.88c.343.327.471.692.471 1.017 0 .316-.128.69-.471 1.016l-7.385 6.928c-.482.455-.86.634-1.337.634-.67 0-1.156-.485-1.156-1.156V16h-.336c-1.711 0-3.1.25-4.249.85-1.15.601-2.05 1.549-2.789 2.924-.175.327-.367.52-.568.634a1.3 1.3 0 0 1-.656.15c-.29 0-.548-.134-.738-.41-.192-.28-.315-.707-.315-1.286 0-3.372.743-6.07 2.273-7.923 1.526-1.85 3.848-2.874 7.042-2.874zm2.052-2.448a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1.165 0 .243-.133.274-.195l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007zm6.302 6.153-6.372-6.083a.33.33 0 0 0-.23-.103.24.24 0 0 0-.174.068.24.24 0 0 0-.069.175V9.35c0 .074-.012.119-.03.146l-.011.017-.018.011c-.027.018-.071.03-.145.03h-1.194c-3.027 0-5.089 1.001-6.41 2.575-1.318 1.57-1.888 3.698-1.964 5.934v.006c0 .045.01.094.04.133a.16.16 0 0 0 .129.063c.101 0 .155-.08.185-.14v-.003c1.095-2.278 3.767-3.624 8.02-3.624h1.194c.074 0 .118.012.145.03l.018.012.01.017c.019.027.031.071.031.146v3.44c0 .068.021.132.067.18.047.05.11.072.176.072a.33.33 0 0 0 .22-.102l.002-.002L20 12.272l.003-.004a.5.5 0 0 0 .094-.122.3.3 0 0 0 .03-.128c0-.097-.053-.17-.119-.245z' clip-rule='evenodd'/%3e%3c/svg%3e"},32239:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none'%3e%3cpath fill='%2363F' d='M47.817 41.059h-4.194v-4.774h4.194z'/%3e%3cpath fill='%2309F' d='M47.817 36.285h-4.194v-4.8h4.194z'/%3e%3cpath fill='%233F0' d='M47.817 31.485h-4.194v-4.773h4.194z'/%3e%3cpath fill='%23FF0' d='M43.623 21.919h4.194v4.793h-4.194z'/%3e%3cpath fill='%23F90' d='M47.817 17.122h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M47.817 17.122h-4.194v-4.77h4.194z'/%3e%3cpath fill='%2363F' d='M43.623 42.971h-4.194v-4.773h4.194z'/%3e%3cpath fill='%2309F' d='M43.623 38.199h-4.194v-4.784h4.194z'/%3e%3cpath fill='%233F0' d='M43.623 33.415h-4.194v-4.79h4.194z'/%3e%3cpath fill='%23FF0' d='M39.429 23.818h4.194v4.806h-4.194z'/%3e%3cpath fill='%23F90' d='M43.623 19.035h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M43.623 19.035h-4.194V14.27h4.194z'/%3e%3cpath fill='%2363F' d='M39.429 41.06h-4.195v-4.8h4.194z'/%3e%3cpath fill='%2309F' d='M39.429 36.26h-4.195v-4.772h4.194z'/%3e%3cpath fill='%233F0' d='M39.429 31.488h-4.195v-4.774h4.194z'/%3e%3cpath fill='%23FF0' d='M35.235 21.9h4.194v4.814h-4.194z'/%3e%3cpath fill='%23F90' d='M39.429 17.127h-4.195V21.9h4.194z'/%3e%3cpath fill='red' d='M39.429 17.127h-4.195v-4.773h4.194z'/%3e%3cpath fill='%2363F' d='M35.234 39.159h-4.207v-4.826h4.207z'/%3e%3cpath fill='%2309F' d='M35.234 34.333h-4.207V29.54h4.207z'/%3e%3cpath fill='%233F0' d='M35.234 29.54h-4.207V24.8h4.207z'/%3e%3cpath fill='%23FF0' d='M31.027 19.988h4.207V24.8h-4.207z'/%3e%3cpath fill='%23F90' d='M35.235 15.213h-4.207v4.775h4.207z'/%3e%3cpath fill='red' d='M35.234 15.213h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2363F' d='M31.027 37.178h-4.181v-4.78h4.181z'/%3e%3cpath fill='%2309F' d='M31.027 32.398h-4.181v-4.753h4.181z'/%3e%3cpath fill='%233F0' d='M31.027 27.644h-4.181v-4.76h4.181z'/%3e%3cpath fill='%23FF0' d='M26.846 18.085h4.181v4.8h-4.181z'/%3e%3cpath fill='%23F90' d='M31.027 13.275h-4.181v4.81h4.181z'/%3e%3cpath fill='red' d='M31.027 13.275h-4.181v-4.75h4.181z'/%3e%3cpath fill='%2363F' d='M26.846 39.151H22.65V34.38h4.195z'/%3e%3cpath fill='%2309F' d='M26.846 34.379H22.65v-4.8h4.195z'/%3e%3cpath fill='%233F0' d='M26.846 29.579H22.65v-4.78h4.195z'/%3e%3cpath fill='%23FF0' d='M22.652 20.012h4.194V24.8h-4.194z'/%3e%3cpath fill='%23F90' d='M26.846 15.219H22.65v4.794h4.195z'/%3e%3cpath fill='red' d='M26.846 15.219H22.65v-4.781h4.195z'/%3e%3cpath fill='%2363F' d='M22.652 41.059h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2309F' d='M22.652 36.285h-4.207v-4.8h4.207z'/%3e%3cpath fill='%233F0' d='M22.652 31.485h-4.207v-4.773h4.207z'/%3e%3cpath fill='%23FF0' d='M18.445 21.933h4.207v4.779h-4.207z'/%3e%3cpath fill='%23F90' d='M22.652 17.122h-4.207v4.81h4.207z'/%3e%3cpath fill='red' d='M22.652 17.122h-4.207v-4.77h4.207z'/%3e%3cpath fill='%2363F' d='M18.451 42.987h-3.77v-4.774h3.77z'/%3e%3cpath fill='%2309F' d='M18.445 38.213h-3.764v-4.8h3.764z'/%3e%3cpath fill='%233F0' d='M18.445 33.413h-3.764V28.64h3.764z'/%3e%3cpath fill='%23FF0' d='M14.68 23.833h3.765v4.807H14.68z'/%3e%3cpath fill='%23F90' d='M18.45 19.07h-3.77v4.776h3.77z'/%3e%3cpath fill='red' d='M18.445 19.07h-3.764v-4.803h3.764z'/%3e%3cpath fill='%23FDFDFD' d='M15.925 46.4H.019V48h15.906zM7.962 5.29a1.31 1.31 0 0 1-1.317-1.318 1.31 1.31 0 0 1 1.317-1.318A1.31 1.31 0 0 1 9.28 3.972a1.31 1.31 0 0 1-1.318 1.317M0 11.105h15.906v-1.6H8.753V7.962h3.181V0H3.972v7.962h3.18v1.544H0zm14.099 22.89h-6.08v-6.08h6.08zm-6.193-6.194h-6.08v-6.08h6.08zM15.925 12.8H.019v31.793h15.906z'/%3e%3c/svg%3e"},84316:(e,t,n)=>{e.exports=n.p+"img/sendAndReceive.5eca3aa8.svg"},24538:(e,t,n)=>{e.exports=n.p+"img/app-store-mobile.aa908fdc.svg"},72347:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.5' x2='.5' y2='1' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2317c9fb'/%3e%3cstop offset='1' stop-color='%231a74e8'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M8.76 0h22.48A8.76 8.76 0 0 1 40 8.76v22.48A8.76 8.76 0 0 1 31.24 40H8.76A8.76 8.76 0 0 1 0 31.24V8.76A8.76 8.76 0 0 1 8.76 0'/%3e%3cpath fill='%23fff' d='m12.819 29.033-1.363 2.37a1.808 1.808 0 1 1-3.131-1.808l1.007-1.745.1-.168a1.49 1.49 0 0 1 1.451-.6s2.006.218 2.151 1.26a1.2 1.2 0 0 1-.211.686Zm19.4-6.05h-4.267a.63.63 0 0 1-.467-.18l-4.565-7.907h-.006l-.274-.393c-.449-.686-1.161 1.069-1.161 1.069-.851 1.956.121 4.179.459 4.851l6.338 10.98a1.808 1.808 0 1 0 3.131-1.808l-1.585-2.746c-.031-.067-.084-.247.241-.248h2.154a1.808 1.808 0 0 0 0-3.616Zm-8.283 2.458s.225 1.162-.651 1.162H7.515a1.808 1.808 0 1 1 0-3.616h4.053c.654-.038.81-.416.81-.416l5.294-9.168a.4.4 0 0 0 0-.371l-1.747-3.029a1.808 1.808 0 0 1 3.131-1.8l.81 1.4.809-1.4a1.808 1.808 0 1 1 3.131 1.808l-7.362 12.751c-.032.078-.042.2.2.221h4.4v.043a2.956 2.956 0 0 1 2.889 2.414Z'/%3e%3c/svg%3e"},78116:(e,t,n)=>{e.exports=n.p+"img/chrome.ac34fdda.svg"},24601:(e,t,n)=>{e.exports=n.p+"img/firefox.d4d36a42.svg"},59485:(e,t,n)=>{e.exports=n.p+"img/google-play-mobile.a27ad291.svg"},40958:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36.501 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.915' x2='-.383' y1='.05' y2='.719' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1.076' x2='-1.305' y1='.5' y2='.5' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='.862' x2='-.501' y1='.178' y2='1.948' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='-.188' x2='.421' y1='-.542' y2='.249' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.068' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M.732 1.156A3.09 3.09 0 0 0 0 3.34v34.387a3.08 3.08 0 0 0 .732 2.184l.118.112 19.581-19.261v-.454L.849 1.043z' data-name='Path 1203' transform='translate(.006 -.538)'/%3e%3cpath fill='url(%23b)' d='m35.635 32.643-6.525-6.424v-.454l6.527-6.422.149.081 7.733 4.322c2.209 1.234 2.209 3.253 0 4.49l-7.733 4.321Z' data-name='Path 1204' transform='translate(-8.674 -5.994)'/%3e%3cpath fill='url(%23c)' d='m27.416 35.384-6.676-6.567L1.043 48.2c.728.759 1.932.852 3.284.1z' data-name='Path 1205' transform='translate(-.305 -8.82)'/%3e%3cpath fill='url(%23d)' d='M27.416 13.754 4.327.845C2.975.089 1.771.183 1.043.941L20.74 20.32l6.676-6.568Z' data-name='Path 1206' transform='translate(-.305 -.323)'/%3e%3cg data-name='Group 971'%3e%3cpath d='M26.963 26.421 4.023 39.243c-1.285.719-2.43.671-3.166.017l-.118.116.118.111a2.67 2.67 0 0 0 3.166-.015l23.089-12.908-.148-.143Z' data-name='Path 1207' opacity='.2'/%3e%3cpath d='M.738 39.148a3.09 3.09 0 0 1-.732-2.184v.227a3.08 3.08 0 0 0 .732 2.18l.118-.116-.118-.112Z' data-name='Path 1208' opacity='.12'/%3e%3c/g%3e%3cpath d='m34.845 22.016-7.882 4.406.149.145 7.733-4.321A2.73 2.73 0 0 0 36.502 20a2.9 2.9 0 0 1-1.657 2.017Z' data-name='Path 1209' opacity='.12'/%3e%3cpath fill='%23fff' d='m4.022.75 30.821 17.227a2.9 2.9 0 0 1 1.657 2.018 2.73 2.73 0 0 0-1.657-2.246L4.022.524C1.815-.711.006.315.006 2.803v.227C.006.541 1.813-.484 4.022.75' data-name='Path 1210' opacity='.25'/%3e%3c/svg%3e"},35726:(e,t,n)=>{var a=n(9295)["default"];n(2008),n(51629),n(64346),n(62062),n(33110),n(5506),n(53921),n(79432),n(26099),n(47764),n(23500),n(62953),n(62953),window.browser={runtime:{getURL:function(e){return e}},storage:{local:{get:function(e){var t=Array.isArray(e)?e:[e];return Promise.resolve(Object.fromEntries(t.map((function(e){var t=localStorage.getItem(e);return[e,null===t?void 0:JSON.parse(t)]})).filter((function(e){var t=a(e,2),n=t[1];return void 0!==n})).map((function(e){var t=a(e,2),n=t[0],r=t[1];return[n,r]}))))},set:function(e){return Object.entries(e).forEach((function(e){var t=a(e,2),n=t[0],r=t[1];return localStorage.setItem(n,JSON.stringify(r))})),Promise.resolve()},remove:function(e){var t=Array.isArray(e)?e:[e];return t.forEach((function(e){return localStorage.removeItem(e)})),Promise.resolve()},clear:function(){return localStorage.clear(),Promise.resolve()}}}}},52347:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(55096),r=n(73808),o=(n(27208),n(76918),n(28706),n(64346),n(62062),n(60739),n(23288),n(5506),n(53921),n(26099),n(38781),n(1843)),i=n.n(o),s=n(60346),u=i()({storeAsString:!0}),c=function e(t){if("object"===(0,r.A)(t)&&null!==t&&t.constructor===Object)return Object.fromEntries(Object.entries(t).map((function(t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return[r,e(o)]})).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,r]})));if(Array.isArray(t))return t.map((function(t){return e(t)}));if("string"===typeof t&&(0,s.A)(t).toString(10)===t){var n=(0,s.A)(t);return n.toJSON=function(){return n.toString(10)},n}return t.toString()};const l={stringify:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a{"use strict";n.d(t,{S:()=>f});var a=n(6682),r=n(55096),o=(n(28706),n(2008),n(50113),n(74423),n(62062),n(62010),n(5506),n(26099),n(21699),n(11392),n(42762),n(60346)),i=n(20641),s=n(65563),u=n(32118),c=n(53592),l=n(85522),d=n(68411),p=n(53048),v=n(40239);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ownedOnly,n=void 0!==t&&t,f=e.withBalanceOnly,m=void 0!==f&&f,g=e.searchTerm,h=e.isMultisig,A=void 0!==h&&h,k=(0,c.Z)(),y=k.marketData,b=(0,v.t)(),w=b.balance,C=(0,d.o)(),x=C.activeAccount,L=(0,p.c)(),S=L.activeMultisigAccount,T=(0,l.Y)(),E=T.getAccountTokenBalances,I=T.getProtocolAvailableTokens,_=(0,i.EW)((function(){var e,t=A?null===(e=S.value)||void 0===e?void 0:e.balance:w.value;return new o.A(null!==t&&void 0!==t?t:0)})),W=(0,i.EW)((function(){return A?s.yv.aeternity:x.value.protocol})),F=(0,i.EW)((function(){var e;return E(A?null===(e=S.value)||void 0===e?void 0:e.gaAccountId:x.value.address)})),D=(0,i.EW)((function(){return I(W.value)})),B=(0,i.EW)((function(){return F.value.map((function(e){var t=e.contractId;return t}))})),P=(0,i.EW)((function(){return u.C.getAdapter(W.value).getDefaultCoin(y.value,+_.value)})),M=(0,i.EW)((function(){var e=A?[]:Object.entries(D.value).map((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1],o=F.value.find((function(e){return e.contractId===n}));return o?Object.assign(Object.assign({},a),o):a}));return[].concat((0,a.A)(P.value?[P.value]:[]),(0,a.A)(e))})),O=(0,i.EW)((function(){var e=((null===g||void 0===g?void 0:g.value)||"").trim().toLowerCase(),t=e.startsWith("ct_"),a=u.C.getAdapter(W.value).coinContractId;return M.value.filter((function(e){var t=e.contractId;return!n||t===a||B.value.includes(t)})).filter((function(e){var t=e.contractId,n=e.convertedBalance;return!m||t===a||+(n||0)})).filter((function(n){var a=n.contractId,r=n.symbol,o=n.name;return!e||(null===r||void 0===r?void 0:r.toLowerCase().includes(e))||(null===o||void 0===o?void 0:o.toLowerCase().includes(e))||t&&(null===a||void 0===a?void 0:a.toLowerCase().includes(e))}))}));return{accountAssets:M,accountAssetsFiltered:O,protocolCoinBalance:_}}},68411:(e,t,n)=>{"use strict";n.d(t,{o:()=>Z});var a=n(2327),r=n(1287),o=n(6682),i=(n(62953),n(28706),n(50113),n(51629),n(74423),n(62062),n(44114),n(72712),n(53921),n(79432),n(26099),n(21699),n(47764),n(23500),n(50953)),s=n(20641),u=n(41343),c=n(46582),l=n(65563),d=n(31189),p=n(32118),v=n(35306),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e){return f(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,v.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.accounts;case 12:if(t.t4=r=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===r;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=r.list;case 21:if(o=t.t5,!(null===o||void 0===o?void 0:o.length)){t.next=24;break}return t.abrupt("return",o.reduce((function(e,t){var n=t.protocol,a=t.type;return l.E4.includes(n)&&a===l.zE&&e.push({isRestored:!0,protocol:n,type:a}),e}),[]));case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const g=m;var h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},A=function(e){return h(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=15;break}return t.next=3,(0,v.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.mnemonic;case 12:if(r=t.t2,!r||!(0,c.validateMnemonic)(r)){t.next=15;break}return t.abrupt("return",r);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const k=A;var y=n(26169),b=(n(25440),n(62010),n(27495),n(99449),n(84754)),w=n(85142),C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function x(e){return C(this,void 0,void 0,(0,a.A)().mark((function t(){var n,r,i,s,u;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[],t.next=3,w.YA.readdir({path:e});case 3:r=t.sent,i=(0,y.A)(r.files),t.prev=5,i.s();case 7:if((s=i.n()).done){t.next=17;break}if(u=s.value,"directory"!==u.type){t.next=14;break}return t.next=12,x(u.uri).then((function(e){n.push.apply(n,(0,o.A)(e))}));case 12:t.next=15;break;case 14:"file"===u.type&&u.uri.endsWith(".mnemonic")&&n.push(u);case 15:t.next=7;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t["catch"](5),i.e(t.t0);case 22:return t.prev=22,i.f(),t.finish(22);case 25:return t.abrupt("return",n);case 26:case"end":return t.stop()}}),t,null,[[5,19,22,25]])})))}function L(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:if(n=e.sent,!n.length){e.next=8;break}return e.abrupt("return",n[0].name.replace(".mnemonic",""));case 8:return e.abrupt("return",null);case 9:case"end":return e.stop()}}),e)})))}function S(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,r,o,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:n=e.sent,r=(0,y.A)(n),e.prev=7,r.s();case 9:if((o=r.n()).done){e.next=20;break}return i=o.value,e.prev=11,e.next=14,w.YA.deleteFile({path:i.uri});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e["catch"](11);case 18:e.next=9;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e["catch"](7),r.e(e.t1);case 25:return e.prev=25,r.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[7,22,25,28],[11,16]])})))}var T=function(e){return C(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e||!l.pz||!l.I$){t.next=13;break}return n=(0,b.mv)(),r=n.setLoaderVisible,r(!0),t.prev=3,t.next=6,L();case 6:if(o=t.sent,!o){t.next=10;break}return S(),t.abrupt("return",o);case 10:return t.prev=10,r(!1),t.finish(10);case 13:return t.abrupt("return",e);case 14:case"end":return t.stop()}}),t,null,[[3,,10,13]])})))};const E=T;var I=n(54228),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=!1,F=(0,d.pe)(),D=F.addCallback,B=F.runCallbacks,P=(0,i.KR)(!1),M=(0,I.S)("",l.d5.mnemonic,{backgroundSync:!0,migrations:[].concat((0,o.A)(l.pz&&l.I$?[E]:[]),[k])}),O=(0,I.S)([],l.d5.accountsRaw,{backgroundSync:!0,migrations:[g],onRestored:function(){P.value=!0}}),R=(0,I.S)(0,l.d5.activeAccountGlobalIdx,{backgroundSync:!0}),N=(0,I.S)({},l.d5.protocolLastActiveAccountIdx,{backgroundSync:!0}),U=(0,s.EW)((function(){return M.value?(0,c.mnemonicToSeed)(M.value):null})),X=(0,s.EW)((function(){var e;if(!M.value||!(null===(e=O.value)||void 0===e?void 0:e.length))return[];var t=Object.fromEntries(l.E4.map((function(e){return[e,0]})));return O.value.map((function(e,n){var a=t[e.protocol],r=p.C.getAdapter(e.protocol).getHdWalletAccountFromMnemonicSeed(U.value,a);return t[e.protocol]+=1,Object.assign(Object.assign({globalIdx:n,idx:a},e),r)}))})),V=(0,s.EW)((function(){return X.value[R.value]||{}})),H=(0,s.EW)((function(){return X.value.reduce((function(e,t){return Object.assign(Object.assign({},e),(0,r.A)({},t.protocol,[].concat((0,o.A)((null===e||void 0===e?void 0:e[t.protocol])||[]),[t])))}),{})})),$=(0,s.EW)((function(){return H.value[l.yv.aeternity]||[]})),j=(0,s.EW)((function(){return X.value.map((function(e){var t=e.address;return t}))})),K=(0,s.EW)((function(){return(0,d.dZ)(X.value)})),q=(0,s.EW)((function(){return(0,d.dZ)($.value)})),G=(0,s.EW)((function(){return V.value&&Object.keys(V.value).length>0})),Q=(0,s.EW)((function(){return(0,u.A)(X.value.map((function(e){var t=e.protocol;return t})))}));function Z(){var e=this;function t(e){return X.value.find((function(t){return t.address===e}))}function n(e){return X.value.find((function(t){return t.globalIdx===e}))}function r(e){if(V.value.protocol===e)return V.value;var t=N.value[e];return t?n(t):X.value.find((function(t){return t.protocol===e}))}function o(e){var t=H.value[e];return t?t[t.length-1]:void 0}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=V.value,a=n(e);R.value=(null===a||void 0===a?void 0:a.globalIdx)||0,a&&t.address!==a.address&&(N.value[a.protocol]=a.globalIdx,B(a,t))}function s(e){var n;e&&i(null===(n=t(e))||void 0===n?void 0:n.globalIdx)}function u(e,t){var n,a=null===(n=H.value[e])||void 0===n?void 0:n.find((function(e){return e.idx===t}));a&&i(a.globalIdx)}function v(e){var t=r(e);u(e,(null===t||void 0===t?void 0:t.idx)||0)}function f(e){M.value=e}function m(){f((0,c.generateMnemonic)())}function g(e){return j.value.includes(e)}function h(e){var t,n=e.isRestored,a=e.protocol;return O.value.push({protocol:a,isRestored:n,type:l.zE}),(null===(t=o(a))||void 0===t?void 0:t.idx)||0}function A(){return _(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(l.E4.map((function(e){return p.C.getAdapter(e).discoverLastUsedAccountIndex(U.value)})));case 2:t=e.sent,l.E4.forEach((function(e,n){for(var a=0;a<=t[n];a+=1)h({isRestored:!0,protocol:e})}));case 4:case"end":return e.stop()}}),e)})))}function k(){M.value="",O.value=[],R.value=0}return function(){_(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(W){e.next=5;break}return W=!0,e.next=4,(0,d.mU)(G);case 4:N.value[V.value.protocol]=V.value.globalIdx;case 5:case"end":return e.stop()}}),e)})))}(),{accounts:X,aeAccounts:$,accountsAddressList:j,accountsSelectOptions:K,aeAccountsSelectOptions:q,accountsRaw:O,activeAccount:V,activeAccountGlobalIdx:R,areAccountsRestored:P,isLoggedIn:G,mnemonic:M,mnemonicSeed:U,protocolsInUse:Q,discoverAccounts:A,isLocalAccountAddress:g,addRawAccount:h,getAccountByAddress:t,getAccountByGlobalIdx:n,getLastActiveProtocolAccount:r,onAccountChange:D,setActiveAccountByAddress:s,setActiveAccountByGlobalIdx:i,setActiveAccountByProtocolAndIdx:u,setActiveAccountByProtocol:v,setMnemonic:f,setGeneratedMnemonic:m,resetAccounts:k}}},75265:(e,t,n)=>{"use strict";n.d(t,{C:()=>Q});var a,r,o,i=n(2327),s=(n(62953),n(76918),n(51629),n(23288),n(62010),n(26099),n(38781),n(47764),n(23500),n(50953)),u=n(20641),c=n(46512),l=n(31490),d=n(60182),p=n(41417),v=n(13217),f=n(6624),m=n(84177),g=n(22342),h=n(217),A=(n(62062),n(3798)),k=n(65563),y=n(68411),b=n(91392),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=function(e){function t(e,n){var a;return(0,p.A)(this,t),a=(0,f.A)(this,t,[e]),a.nodeNetworkId=n,a}return(0,h.A)(t,e),(0,v.A)(t,[{key:"_resolveAccount",value:function(){return new b.L(this.nodeNetworkId)}},{key:"getAccounts",value:function(){var e={connected:{},current:{}},t=(0,y.o)(),n=t.getLastActiveProtocolAccount,a=n(k.yv.aeternity);return a&&(e.current[a.address]={}),e}},{key:"addresses",value:function(){var e=(0,y.o)(),t=e.aeAccounts;return t.value.map((function(e){var t=e.address;return t}))}},{key:"spendWithCustomOptions",value:function(e,n,a){return(0,m.A)((0,g.A)(t.prototype),"spend",this).call(this,e,n,a)}},{key:"getWalletInfo",value:function(){return w(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=this.id,e.t1=this.name,e.next=4,this.api.getNetworkId();case 4:return e.t2=e.sent,e.t3=void 0,e.t4=this._type,e.abrupt("return",{id:e.t0,name:e.t1,networkId:e.t2,origin:e.t3,type:e.t4});case 8:case"end":return e.stop()}}),e,this)})))}}]),t}(A.A),x=n(6682),L=(n(28706),n(2008),n(74423),n(31415),n(21699),n(99834)),S=n(22146),T=n(31189),E=3e3,I=function(){var e,t=new Set,n=!1;function a(){return[window.parent].concat((0,x.A)((0,L.A)(window.parent.frames.length,(function(e){return window.parent.frames[e]}))))}function r(r){n=!0,clearInterval(e);try{e=(0,T.mX)((function(){return a().filter((function(e){return e!==window})).forEach((function(e){if(!t.has(e)){t.add(e);var n,o=new S.A({target:e}),i=o.connect;o.connect=function(t){i.call(this,(function(a,r,o){o===e&&(clearInterval(n),t(a,r,o))}),(function(){}))};var s=r.addRpcClient(o);n=(0,T.mX)((function(){a().includes(e)?r.shareWalletInfo(s):clearInterval(n)}),3e3)}}))}),E)}catch(o){(0,T.fY)(o)}}return{initialized:n,init:r}}(),_=n(59755),W=n(41549),F=n(12082),D=n(81881),B=n(48287)["Buffer"],P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},M=!1,O=(0,s.KR)(),R=(0,s.KR)(!1),N=(0,s.KR)(!1),U=(0,s.KR)(!1),X=(0,s.KR)(!1),V={},H=(0,u.EW)((function(){return!R.value&&a})),$=(0,u.EW)((function(){return O.value===_.LK})),j=(0,u.EW)((function(){return O.value===_.aR})),K=(0,u.EW)((function(){return!$.value&&!j.value})),q=(0,u.EW)((function(){return k.yW||!K.value})),G=(0,u.EW)((function(){return O.value?_.ml[O.value]:void 0}));function Q(){var e=this,t=(0,D.f)(),n=t.activeNetworkName,s=t.areNetworksRestored,u=t.onNetworkChange,p=(0,y.o)(),v=p.accountsAddressList,f=p.isLoggedIn,m=p.getLastActiveProtocolAccount,g=p.onAccountChange,h=(0,F.S)(),A=h.checkOrAskPermission,b=(0,W.$L)(),w=b.aeActiveNetworkSettings;function x(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return N.value=!1,X.value=!1,U.value=!0,t.prev=3,n=new c.A(e),t.next=7,n.getStatus();case 7:O.value=t.sent.networkId,N.value=!0,t.next=16;break;case 11:return t.prev=11,t.t0=t["catch"](3),O.value=void 0,X.value=!0,t.abrupt("return",null);case 16:return U.value=!1,t.abrupt("return",n);case 18:case"end":return t.stop()}}),t,null,[[3,11]])})))}function L(e,t){return P(this,void 0,void 0,(0,i.A)().mark((function n(){return(0,i.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return R.value=!0,a.pool["delete"](e.name),n.t0=a,n.t1=t.name,n.next=6,x(t.protocols.aeternity.nodeUrl);case 6:n.t2=n.sent,n.t0.addNode.call(n.t0,n.t1,n.t2,!0),R.value=!1;case 9:case"end":return n.stop()}}),n)})))}function S(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return R.value=!0,e.next=3,Promise.all([(0,T.mU)(f),(0,T.mU)(s)]);case 3:return r=n.value,e.next=6,x(w.value.nodeUrl);case 6:t=e.sent,a=new C({name:"Superhero",nodes:[{name:n.value,instance:t}],id:"Superhero Wallet",type:k.hL?l.VE.extension:l.VE.window,onConnection:function(e,t,n){V[e]=Object.assign(Object.assign({},t),{origin:n})},onDisconnect:function(e){delete V[e]},onSubscription:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.subscribeAddress,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",m(k.yv.aeternity).address);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))},onAskAccounts:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.address,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",v.value);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))}},O),k.IX&&!I.initialized&&I.init(a),R.value=!1;case 10:case"end":return e.stop()}}),e)})))}function E(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!R.value){e.next=5;break}return e.next=3,(0,T.mU)((function(){return!R.value}));case 3:e.next=8;break;case 5:if(a){e.next=8;break}return e.next=8,S();case 8:return e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))}function _(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t,a;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=5;break}return t=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o=new d.A({nodes:[{name:n.value,instance:t}]}),r=n.value,e.abrupt("return",o);case 5:return r!==n.value&&(a=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o.pool["delete"](r),o.pool["delete"](n.value),o.addNode(n.value,a,!0)),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e)})))}function K(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n,a;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.t0=B,t.next=6,n.signMessage(e.challenge);case 6:return t.t1=t.sent,a=t.t0.from.call(t.t0,t.t1).toString("hex"),t.abrupt("return",{challenge:e.challenge,signature:a});case 9:case"end":return t.stop()}}),t)})))}function Q(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!k.IX){e.next=5;break}return e.next=3,E();case 3:t=e.sent,t._clients.forEach((function(e,n){e.status===l.fE.CONNECTED&&e.rpc.notify(l.J8.closeConnection,null),t.removeRpcClient(n)}));case 5:case"end":return e.stop()}}),e)})))}function Z(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.abrupt("return",n.poll(e));case 4:case"end":return t.stop()}}),t)})))}return M||(M=!0,u((function(e,t){L(t,e)})),g((function(){return P(e,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,E();case 2:t=e.sent,t._pushAccountsToApps();case 4:case"end":return e.stop()}}),e)})))}))),{isAeNodeReady:N,isAeNodeConnecting:U,isAeNodeError:X,isNodeMainnet:$,isNodeTestnet:j,isAeSdkReady:H,nodeNetworkId:O,isTippingSupported:q,dexContracts:G,getAeSdk:E,getDryAeSdk:_,resetNode:L,fetchRespondChallenge:K,createNodeInstance:x,disconnectDapps:Q,waitTransactionMined:Z}}},40239:(e,t,n)=>{"use strict";n.d(t,{t:()=>y});var a=n(2327),r=(n(62953),n(62062),n(72712),n(9868),n(53921),n(26099),n(47764),n(20641)),o=n(87471),i=n(60346),s=n(65563),u=n(31189),c=n(32118),l=n(53592),d=n(58449),p=n(68411),v=n(54228),f=n(81881),m=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},g=!1,h=5e3,A=(0,d.y)(h),k=(0,v.S)({},s.d5.balances,{serializer:{read:function(e){return(0,o.A)(e,(function(e){return new i.A(e)}))},write:function(e){return(0,o.A)(e,(function(e){return e.toFixed()}))}}});function y(){var e=(0,p.o)(),t=e.activeAccount,n=e.accounts,o=(0,f.f)(),s=o.onNetworkChange,d=(0,l.Z)(),v=d.getCurrentCurrencyRate,h=(0,r.EW)((function(){return k.value[t.value.address]||new i.A(0)})),y=(0,r.EW)((function(){var e=n.value.reduce((function(e,t){var n,a=null===(n=k.value)||void 0===n?void 0:n[t.address];return a?e+v(t.protocol)*a.toNumber():e}),0);return e.toFixed(2)}));function b(e){return k.value[e]||new i.A(0)}function w(){return m(this,void 0,void 0,(0,a.A)().mark((function e(){var t,r,o,s=this;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.value,r=t.map((function(e){var t=e.address,n=e.protocol;return m(s,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c.C.getAdapter(n).fetchBalance(t)["catch"]((function(e){return(0,u.El)(e)||(0,u.fY)(e),0})));case 1:case"end":return e.stop()}}),e)})))})),e.next=4,Promise.all(r);case 4:o=e.sent,k.value=Object.fromEntries(o.map((function(e,n){return[t[n].address,(0,i.A)(e||0)]})));case 6:case"end":return e.stop()}}),e)})))}return A((function(){return w()})),g||(g=!0,s((function(){w()}))),{balances:k,accountsTotalBalance:y,balance:h,getAccountBalance:b,updateBalances:w}}},58449:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,y:()=>u});n(76031);var a=n(50953),r=n(20641),o=n(24122),i=n(909);function s(e){var t;return function(){return t||(t=(0,a.uY)(!0).run(e)||e()),t}}function u(e){var t=(0,o.w)(),n=t.isOnline,a=(0,i.m)(),s=a.isAppActive,u=!1,c=null,l=0;return function(t){function a(){n.value&&s.value&&(u=!0,t())}(0,r.nI)()&&((0,r.sV)((function(){l+=1,l>0&&!c&&(u||a(),c=setInterval((function(){return a()}),e))})),(0,r.xo)((function(){l-=1,0===l&&c&&(clearInterval(c),c=null)})))}}},24122:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var a=n(50953),r=n(20641),o=n(81849),i=n(65563),s=!1,u=(0,a.KR)(window.navigator.onLine);function c(){function e(){s||(s=!0,i.I$?o.l.addListener("networkStatusChange",(function(e){u.value=e.connected})):(window.addEventListener("online",(function(){u.value=!0})),window.addEventListener("offline",(function(){u.value=!1}))))}return i.I$&&!s&&o.l.getStatus().then((function(e){u.value=e.connected})),{isOnline:(0,r.EW)((function(){return u.value})),watchConnectionStatus:e}}},53592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var a=n(2327),r=(n(50113),n(48598),n(62062),n(9868),n(53921),n(26099),n(50953)),o=n(20641),i=n(66401),s=n(46661),u=n(65563),c=n(31189),l=n(32118),d=n(68411),p=n(41417),v=n(13217),f=(n(62953),n(48408),n(76918),n(28706),n(23288),n(38781),n(47764),n(14603),n(47566),n(98721),n(43089)),m=n.n(f),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h="https://api.coingecko.com/api/v3",A=function(){function e(){(0,p.A)(this,e)}return(0,v.A)(e,null,[{key:"fetchFromApi",value:function(e,t){var n=new URLSearchParams(t).toString();return(0,c.x6)("".concat(h).concat(e,"?").concat(n))}},{key:"fetchCoinMarketData",value:function(t,n){return g(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.fetchFromApi("/coins/markets",{ids:t,vs_currency:n});case 3:if(a.t0=a.sent,a.t0){a.next=6;break}a.t0=[];case 6:return o=a.t0,a.abrupt("return",o?m()(o):null);case 10:return a.prev=10,a.t1=a["catch"](0),a.abrupt("return",null);case 13:case"end":return a.stop()}}),r,null,[[0,10]])})))}},{key:"fetchCoinCurrencyRates",value:function(t){return g(this,void 0,void 0,(0,a.A)().mark((function n(){return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.fetchFromApi("/simple/price",{ids:t,vs_currencies:u.yR.map((function(e){var t=e.code;return t})).join(",")});case 3:return n.abrupt("return",n.sent);case 6:return n.prev=6,n.t0=n["catch"](0),n.abrupt("return",null);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))}}]),e}(),k=n(58449),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=!1,w=36e5,C="currency",x="usd",L=(0,r.KR)(null),S=(0,r.KR)({}),T=(0,r.KR)(!1),E=(0,r.KR)((0,c._S)([C])||x),I=(0,k.y)(w);function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pollingDisabled,n=void 0!==t&&t,r=(0,d.o)(),p=r.protocolsInUse,v=r.isLoggedIn,f=(0,o.EW)((function(){return u.yR.find((function(e){var t=e.code;return t===E.value}))}));function m(e){var t,n;return(null===(n=null===(t=S.value)||void 0===t?void 0:t[e])||void 0===n?void 0:n[E.value])||0}function g(){return p.value.map((function(e){return l.C.getAdapter(e).getCoinGeckoCoinId()})).join(",")}function h(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.mU)(v);case 3:return e.next=5,A.fetchCoinMarketData(g(),E.value);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=[];case 8:t=e.t0,n=Object.fromEntries(t.map((function(e){return[e.id,e]}))),L.value=(0,i.A)(n)?null:n,e.next=17;break;case 13:e.prev=13,e.t1=e["catch"](0),(0,c.fY)(e.t1),L.value=null;case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))}function k(e){E.value=e,h(),(0,c.AP)([C],e)}function w(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return T.value=!0,e.next=3,A.fetchCoinCurrencyRates(g());case 3:t=e.sent,t&&(S.value=t),T.value=!1;case 6:case"end":return e.stop()}}),e)})))}function x(e){return new Intl.NumberFormat(u.Xn,{style:"currency",currencyDisplay:"narrowSymbol",currency:E.value}).format(e)}function _(e,t){return+(m(t)*e).toFixed(2)}function W(e,t){return x(_(e,t))}function F(e,t){if(!m(t)||0===e)return x(0);var n=_(e,t);return n<.01?"<".concat(x(.01)):x(n)}return n||I((function(){return w()})),b||(b=!0,(0,o.wB)(p,(function(e,t){(0,s.A)(e,t).length&&!T.value&&w()}))),{CURRENCIES:u.yR,marketData:L,currencyRates:S,currentCurrencyCode:E,currentCurrencyInfo:f,getCurrentCurrencyRate:m,loadCoinsData:h,loadCurrencyRates:w,setCurrentCurrency:k,formatCurrency:x,getFiat:_,getFormattedFiat:W,getFormattedAndRoundedFiat:F}}},85522:(e,t,n)=>{"use strict";n.d(t,{Y:()=>W});var a=n(73808),r=n(55096),o=n(2327),i=(n(93514),n(25440),n(62953),n(18107),n(2008),n(50113),n(46449),n(62062),n(44114),n(72712),n(62010),n(2892),n(5506),n(26099),n(16034),n(27495),n(67357),n(47764),n(20641)),s=n(60346),u=n(41805),c=n(31189),l=n(65563),d=n(32118),p=n(12717),v=n(59755),f=n(58338),m=n(5582),g=n(68411),h=n(75265),A=n(97911),k=n(58449),y=n(54228),b=n(81881),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=!1,x=(0,y.S)({},l.d5.fungibleTokenList),L=(0,y.S)([],l.d5.fungibleTokenBalances),S=(0,i.EW)((function(){var e=(0,m.A)(L.value,"contractId").map((function(e){return{contractId:e.contractId,protocol:e.protocol,name:null===e||void 0===e?void 0:e.name,symbol:null===e||void 0===e?void 0:e.symbol}})),t=e.reduce((function(e,t){var n,a,r=t.contractId,o=t.protocol;return e[o]||(e[o]={}),(null===(a=null===(n=null===x||void 0===x?void 0:x.value)||void 0===n?void 0:n[o])||void 0===a?void 0:a[r])||(e[o][r]=t),e}),{});return Object.values(l.yv).reduce((function(e,n){return e[n]=Object.assign(Object.assign({},x.value[n]),t[n]),e}),{})}));function T(e){return S.value[e]||{}}var E=(0,k.y)(6e4),I=(0,k.y)(1e4),_=!1;function W(){var e=this,t=(0,b.f)(),n=t.activeNetwork,m=t.onNetworkChange,k=(0,h.C)(),y=k.getAeSdk,W=(0,A.k)(),F=W.tippingContractAddresses,D=(0,g.o)(),B=D.accounts,P=D.protocolsInUse,M=D.getLastActiveProtocolAccount;function O(e){return L.value.filter((function(t){return t.address===e}))||[]}function R(e,t){return O(e).find((function(e){return e.contractId===t}))}function N(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=P.value.map((function(e){var t,n;return null===(n=(t=d.C.getAdapter(e)).fetchAvailableTokens)||void 0===n?void 0:n.call(t)})),a=n.value.name,e.next=4,Promise.all(t);case 4:if(r=e.sent.map((function(e,t){return e||Object.values(x.value[P.value[t]]||{})})).flat(),a===n.value.name){e.next=7;break}return e.abrupt("return");case 7:x.value=r.reduce((function(e,t){var n=t.contractId,a=t.protocol;return e[a]||(e[a]={}),e[a][n]=t,e}),{});case 8:case"end":return e.stop()}}),e)})))}function U(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,i=this;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!_){e.next=2;break}return e.abrupt("return");case 2:return _=!0,t={},B.value.map((function(e){var n,a,r,o=e.address,i=e.protocol;return t[o]=null!==(r=null===(a=(n=d.C.getAdapter(i)).fetchAccountTokenBalances)||void 0===a?void 0:a.call(n,o))&&void 0!==r?r:[],null})),n=L.value,a={},n.map((function(e){return a[e.address]||(a[e.address]=[]),a[e.address].push(e),null})),e.next=10,Promise.all(Object.entries(t).map((function(e){var t=(0,r.A)(e,2),n=t[0],s=t[1];return w(i,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s;case 2:if(e.t1=e.sent,e.t1){e.next=5;break}e.t1=a[n];case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=[];case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e)})))})));case 10:L.value=e.sent.flat(),_=!1;case 12:case"end":return e.stop()}}),e)})))}function X(e,t){var n,a,r,i;return w(this,void 0,void 0,(0,o.A)().mark((function d(){var v,f,m,g,h,A,k,b;return(0,o.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,y();case 2:return v=o.sent,f=M(l.yv.aeternity),m=T(l.yv.aeternity)[e],o.next=7,v.initializeContract({aci:p,address:e});case 7:return g=o.sent,o.next=10,g.allowance({from_account:null===f||void 0===f?void 0:f.address,for_account:null===(a=null===(n=null===F||void 0===F?void 0:F.value)||void 0===n?void 0:n.tippingV2)||void 0===a?void 0:a.replace("ct_","ak_")});case 10:return h=o.sent,A=h.decodedResult,k=void 0!==A?new s.A(A).multipliedBy(-1).plus((0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals)).toNumber():(0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals).toNumber(),b=g.methods[void 0!==A?"change_allowance":"create_allowance"],o.abrupt("return",b(null===(i=null===(r=F.value)||void 0===r?void 0:r.tippingV2)||void 0===i?void 0:i.replace("".concat(u.W.ContractAddress,"_"),"".concat(u.W.AccountAddress,"_")),k));case 15:case"end":return o.stop()}}),d)})))}function V(e){var t,n=e||{},a=n.protocol,r=void 0===a?l.yv.aeternity:a,o=n.tx,i=void 0===o?{}:o,s=T(r);return(0,c.go)(i.contractId)||!i.contractId?d.C.getAdapter(r).coinSymbol:null===(t=s[i.contractId])||void 0===t?void 0:t.symbol}function H(e){var t,n,r,o,i,u,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.NX.sent,p=d===l.NX.received,m=e||{},g=m.protocol,h=m.tx;if(g&&g!==l.yv.aeternity)return new s.A((null===h||void 0===h?void 0:h.amount)||0).plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).toNumber();var A=(null===e||void 0===e?void 0:e.tx)&&(0,f.BY)(e),k=g&&T(g)[null===A||void 0===A?void 0:A.assetContractId];if(A&&k)return+(0,c.Y9)(A.amount||0,-(k.decimals||v.kS));var y="claim"===h["function"]?null===(n=null===(t=h.log)||void 0===t?void 0:t[0])||void 0===n?void 0:n.topics[2]:null,b=(null===h||void 0===h?void 0:h.amount)||(null===(o=null===(r=null===h||void 0===h?void 0:h.tx)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.amount)||(null===h||void 0===h?void 0:h.nameFee)||y||0,w="object"===(0,a.A)(b)?b:new s.A(Number(b));return+(0,f.c4)(w.plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).plus(p?0:(null===(u=null===(i=null===h||void 0===h?void 0:h.tx)||void 0===i?void 0:i.tx)||void 0===u?void 0:u.fee)||0))}return E((function(){return N()})),I((function(){return U()})),C||(C=!0,(0,i.wB)(B,(function(e,t){e.length!==t.length&&(U(),1===e.filter((function(t){var n,a=t.protocol;return a===(null===(n=e.at(-1))||void 0===n?void 0:n.protocol)})).length&&N())})),m((function(t,n){return w(e,void 0,void 0,(0,o.A)().mark((function e(){var a,r,i,s;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.protocols[l.yv.aeternity].middlewareUrl,s=null===(r=null===(a=null===n||void 0===n?void 0:n.protocols)||void 0===a?void 0:a[l.yv.aeternity])||void 0===r?void 0:r.middlewareUrl,i===s){e.next=9;break}return L.value=[],x.value={},e.next=7,N();case 7:return e.next=9,U();case 9:case"end":return e.stop()}}),e)})))}))),{tokenBalances:L,tokensAvailable:S,createOrChangeAllowance:X,getAccountTokenBalance:R,getAccountTokenBalances:O,getProtocolAvailableTokens:T,getTxAssetSymbol:V,getTxAmountTotal:H,loadTokenBalances:U,loadAvailableTokens:N}}},84754:(e,t,n)=>{"use strict";n.d(t,{Sr:()=>Xe.S,oV:()=>a.o,CP:()=>oe.C,YY:()=>i,ty:()=>s.t,w5:()=>f.w,T9:()=>v,ZN:()=>m.Z,si:()=>C,Y7:()=>H.Y,_V:()=>O,Jt:()=>lt,rb:()=>Z,Ym:()=>se,U8:()=>b.U,Nc:()=>Ae,ci:()=>ue.c,jC:()=>We,fI:()=>B.f,E$:()=>Fe.E,ju:()=>Re,Sk:()=>dt.S,m:()=>Ne.m,J$:()=>it,S7:()=>D.S,kz:()=>Ue.k,U6:()=>Te,QR:()=>qe,my:()=>Ze,_8:()=>at,mv:()=>ze.m,kW:()=>rt.k});var a=n(68411),r=(n(51629),n(79432),n(26099),n(23500),n(50953)),o=(0,r.Kh)({});function i(){function e(e){Object.keys(e).forEach((function(t){o[t]=e[t]}))}function t(){Object.keys(o).forEach((function(e){o[e]=void 0}))}return{sharedAssetDetails:o,setSharedAssetDetails:e,resetSharedAssetDetails:t}}var s=n(40239),u=n(2327),c=(n(27495),n(71761),n(76031),n(85811)),l=n(31189),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function p(e){var t=document.createElement("textarea");if(t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable="true",t.readOnly=!0;var n=document.createRange();n.selectNodeContents(t);var a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n)),t.setSelectionRange(0,999999)}else t.select();document.execCommand("copy"),document.body.removeChild(t)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timeout,n=void 0===t?1e3:t,a=(0,r.KR)(!1);function o(e){return d(this,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e){t.next=19;break}if(t.prev=1,!c.B){t.next=6;break}c.B.write({string:e}),t.next=12;break;case 6:if(!navigator.clipboard){t.next=11;break}return t.next=9,navigator.clipboard.writeText(e);case 9:t.next=12;break;case 11:p(e);case 12:a.value=!0,setTimeout((function(){a.value=!1}),n),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](1),(0,l.fY)(t.t0);case 19:case"end":return t.stop()}}),t,null,[[1,16]])})))}return{copied:a,copy:o}}var f=n(24122),m=n(53592),g=n(55096),h=(n(25440),n(62953),n(3296),n(48408),n(72712),n(34782),n(5506),n(84864),n(57465),n(87745),n(38781),n(47764),n(14603),n(47566),n(98721),n(75220)),A=n(62759),k=n(90973),y=n(65563),b=n(21452),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function C(){var e=(0,A.jq)(),t=(0,h.lq)(),n=(0,r.KR)(t.query["x-success"]?new URL(decodeURIComponent(t.query["x-success"])):null);function a(e){return w(this,void 0,void 0,(0,u.A)().mark((function t(){var n,a;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.path.slice(1)===k.qJ&&(0,l.DB)(e.query)&&(n=(0,b.U)(),a=n.openModal,a(y.Fv));case 1:case"end":return t.stop()}}),t)})))}function o(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.query[n?"x-success":"x-cancel"];if(r){var o=Object.entries(a).reduce((function(e,t){var n=(0,g.A)(t,2),a=n[0],r=n[1];return e.replace(new RegExp("{".concat(a,"}"),"g"),encodeURIComponent(r))}),decodeURIComponent(String(t.query[n?"x-success":"x-cancel"])));e.replace({name:k.qJ}),y.I$&&!y.pz?window.open(o,"_system"):window.open(o,"_self")}else e.replace({name:k.qJ})}return{checkIfOpenTransferSendModal:a,callbackOrigin:n,openCallbackOrGoHome:o}}n(27208),n(2008),n(74423),n(13609),n(59089),n(60739),n(23288),n(62010),n(21699);var x=n(60182),L=n(46512),S=n(65984),T=n(44343),E=n(58338),I=n(35306),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=function(e){return _(void 0,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,I.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.invites;case 12:if(t.t4=a=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===a;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=a.invites;case 21:if(r=t.t5,!(null===r||void 0===r?void 0:r.length)){t.next=24;break}return t.abrupt("return",r);case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const F=W;var D=n(54228),B=n(81881),P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},M=(0,D.S)([],y.d5.invites,{migrations:[F]});function O(){var e=(0,B.f)(),t=e.activeNetwork,n=(0,b.U)(),a=n.openDefaultModal;function r(e){M.value.unshift({secretKey:e.toJSON(),createdAt:Date.now()})}function o(e){M.value=M.value.filter((function(t){return t.secretKey!==e}))}function i(e){var n=e.secretKey,a=e.recipientId,r=e.amount,o=void 0===r?"0":r,i=e.isMax,s=void 0!==i&&i;return P(this,void 0,void 0,(0,u.A)().mark((function e(){var r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=new x.A({nodes:[{name:t.value.name,instance:new L.A(t.value.protocols.aeternity.nodeUrl)}],accounts:[(0,E.Sf)(n)]}),s){e.next=6;break}return e.next=4,r.spend(o,a,{denomination:S.j8.AE});case 4:e.next=8;break;case 6:return e.next=8,r.transferFunds(1,a,{verify:!1});case 8:case"end":return e.stop()}}),e)})))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return P(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if((t||e.message.includes("is not enough to execute"))&&(!t||e.message.includes("Transaction build error"))){n.next=2;break}return n.abrupt("return",!1);case 2:return n.next=4,a({msg:t?(0,T.tg)("pages.invite.insufficient-invite-balance"):(0,T.tg)("pages.invite.insufficient-balance")});case 4:return n.abrupt("return",!0);case 5:case"end":return n.stop()}}),n)})))}return{invites:M,addInvite:r,removeInvite:o,claimInvite:i,handleInsufficientBalanceError:s}}var R=n(6682),N=(n(93514),n(28706),n(46449),n(62062),n(44114),n(16034),n(20641)),U=n(50824),X=n(46996),V=n(32118),H=n(85522),$=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},j=!1,K=(0,D.S)({},y.d5.transactionsLatest),q=(0,D.S)({},y.d5.transactionsPending),G=(0,r.KR)(!1),Q=(0,N.EW)((function(){var e=[].concat((0,R.A)(Object.values(K.value).flat()),(0,R.A)(Object.values(q.value).flat()));return(0,l.Fs)([l.j0,l.jL])(e)}));function Z(){var e=(0,a.o)(),t=e.accounts,n=e.getAccountByAddress,r=(0,B.f)(),o=r.activeNetwork,i=r.onNetworkChange,c=(0,s.t)(),l=c.balances,d=(0,H.Y)(),p=d.tokenBalances;function v(e,t){q.value[e]=(0,U.A)(q.value[e],(function(e){return t===e.hash}))}function f(e){var t,n=e.address,a=e.protocol;return $(this,void 0,void 0,(0,u.A)().mark((function e(){var r,i,s,c,l,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=V.C.getAdapter(a),i=o.value.name,e.next=4,r.fetchAccountTransactions(n);case 4:if(s=e.sent,c=s.regularTransactions,l=s.pendingTransactions,d=s.tipWithdrawnTransactions,i===o.value.name){e.next=10;break}return e.abrupt("return",!0);case 10:return(c.length||(null===l||void 0===l?void 0:l.length)||(null===d||void 0===d?void 0:d.length))&&(K.value[n]=[].concat((0,R.A)(c),(0,R.A)(l||[]),(0,R.A)(d||[])),(null===(t=q.value[n])||void 0===t?void 0:t.length)&&c.forEach((function(e){var t=e.hash;return v(n,t)}))),e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e)})))}function m(){return $(this,void 0,void 0,(0,u.A)().mark((function e(){var n=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(G.value){e.next=5;break}return G.value=!0,e.next=4,Promise.all(t.value.map((function(e){return $(n,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",f(e));case 1:case"end":return t.stop()}}),t)})))})));case 4:G.value=!1;case 5:case"end":return e.stop()}}),e)})))}function h(e,t){return $(this,void 0,void 0,(0,u.A)().mark((function a(){var r;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=n(e),!r||!(null===t||void 0===t?void 0:t.hash)){a.next=11;break}return q.value[e]||(q.value[e]=[]),q.value[e].push(Object.assign(Object.assign({},t),{microTime:Date.now()})),a.prev=4,a.next=7,V.C.getAdapter(r.protocol).waitTransactionMined(t.hash);case 7:f(r);case 8:return a.prev=8,v(e,t.hash),a.finish(8);case 11:case"end":return a.stop()}}),a,null,[[4,,8,11]])})))}return j||(j=!0,m(),setInterval((function(){Object.entries(q.value).forEach((function(e){var t=(0,g.A)(e,2),n=t[0],a=t[1];a.forEach((function(e){var t=e.hash,a=e.microTime;Date.now()-(a||0)>y.tk&&v(n,t)}))}))}),6e4),(0,N.wB)(l,(function(e,n){t.value.forEach((function(t){var a=n[t.address],r=e[t.address];a&&r&&!r.isEqualTo(a)&&setTimeout((function(){return f(t)}),V.C.getAdapter(t.protocol).mdwToNodeApproxDelayTime)}))}),{deep:!0}),(0,N.wB)(p,(function(e,t){(0,X.A)(e,t)||m()}),{deep:!0}),i((function(e,t){e.name!==t.name&&(K.value={},q.value={},m())}))),{accountsTransactionsLatest:K,accountsTransactionsPending:q,areLatestTransactionsUpdating:G,allLatestTransactions:Q,addAccountPendingTransaction:h,loadAllLatestTransactions:m}}n(76918),n(9868);var Y=n(60346),z=n(19636),J=n(91087),ee=n(57889),te=n(41805),ne=n(59794),ae=n(59755),re=n(12717),oe=n(75265),ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function se(e){var t,n,o,i=this,c=e.formModel,d=(0,oe.C)(),p=d.getAeSdk,v=(0,s.t)(),f=v.balance,m=(0,a.o)(),g=m.getLastActiveProtocolAccount,h=(0,r.KR)(new Y.A(0)),A=(0,r.KR)(new Y.A(0)),k=(0,r.KR)(0),b=(0,r.KR)(0),w=(0,N.EW)((function(){var e,t;if(f.value&&(null===(t=null===(e=c.value)||void 0===e?void 0:e.selectedAsset)||void 0===t?void 0:t.contractId)===ae.cK){var n=f.value.minus(h.value);return(n.isPositive()?n:0).toString()}return A.value.toString()}));function C(){return g(y.yv.aeternity)}return(0,N.wB)((function(){return c.value}),(function(e){return ie(i,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r,i,s,c,d;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.selectedAsset){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,p();case 4:if(n=t.sent,a=e.selectedAsset.contractId===ae.cK,r=C(),a){t.next=13;break}if(o&&o.$options.address===e.selectedAsset.contractId){t.next=12;break}return t.next=11,n.initializeContract({aci:re,address:e.selectedAsset.contractId});case 11:o=t.sent;case 12:b.value=e.selectedAsset.decimals;case 13:if(i=e.amount&&+e.amount>0?e.amount:0,s=new Y.A(i).shiftedBy(ae.kS),a&&(!e.address||(0,E.F7)(e.address)||!(0,l.Ks)(e.address))){t.next=20;break}return c=ne._7,o&&(c=o._calldata.encode(o._name,"transfer",[r.address,s.toFixed()])),h.value=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.ContractCallTx,callerId:r.address,contractId:a?ne.zk:e.selectedAsset.contractId,amount:0,callData:c,nonce:k.value}),J.vw.ContractCallTx).fee).shiftedBy(-ae.kS),t.abrupt("return");case 20:a&&o&&(o=null),d=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.SpendTx,senderId:r.address,recipientId:r.address,amount:s,payload:(0,ee.lF)((new TextEncoder).encode(e.payload),te.W.Bytearray),nonce:k.value}),J.vw.SpendTx).fee).shiftedBy(-ae.kS),d.isEqualTo(h.value)||(h.value=d);case 23:case"end":return t.stop()}}),t)})))}),{deep:!0,immediate:!0}),(0,N.sV)((function(){t=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,p();case 4:return e.t0=Y.A,e.next=7,o.balance(C().address);case 7:if(e.t2=t=e.sent.decodedResult,e.t1=null!==e.t2,!e.t1){e.next=11;break}e.t1=void 0!==t;case 11:if(!e.t1){e.next=15;break}e.t3=t,e.next=16;break;case 15:e.t3=0;case 16:e.t4=e.t3,A.value=new e.t0(e.t4).shiftedBy(-b.value);case 18:case"end":return e.stop()}}),e)})))}),1e3),n=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:return t=e.sent,e.prev=3,e.next=6,t.api.getAccountNextNonce(C().address);case 6:k.value=e.sent.nextNonce,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),e.t0.message.includes("Account not found")||(0,l.fY)(e.t0);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})))}),5e3)})),(0,N.xo)((function(){clearInterval(t),clearInterval(n)})),{max:w,fee:h}}var ue=n(53048),ce=(n(16280),n(1688),n(67892)),le=n(81265),de=n(74353),pe=n.n(de),ve=n(10854),fe=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},me=(0,r.KR)({}),ge=(0,r.KR)(null),he=(0,r.KR)(!1);function Ae(){var e=(0,oe.C)(),t=e.getDryAeSdk,n=e.getAeSdk,a=(0,ue.c)({pollOnce:!0}),o=a.getMultisigAccountByContractId,i=a.addPendingMultisigAccount,c=(0,s.t)(),l=c.balances,d=(0,r.KR)(null),p=(0,r.KR)(0),v=(0,N.EW)((function(){return d.value&&ge.value===ae._B.accessible})),f=(0,N.EW)((function(){return d.value&&ge.value===ae._B.created}));function m(){return fe(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:return n=e.sent,e.abrupt("return",n.initializeContract({aci:ve,bytecode:ae.Di}));case 4:case"end":return e.stop()}}),e)})))}function g(e,t,n,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.t0=e,r.t0){r.next=5;break}return r.next=4,m();case 4:r.t0=r.sent;case 5:return r.abrupt("return",r.t0._estimateGas("init",[t,n],{senderId:a}));case 6:case"end":return r.stop()}}),r)})))}function h(e,n){return fe(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s,c;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!(e>n.length)){a.next=2;break}throw Error("Number of confirmations exceed amount of signers");case 2:return r=[e,n],a.next=5,t();case 5:return o=a.sent,i=(0,ce.TZ)(),me.value[i.publicKey]={},a.next=10,m();case 10:return s=a.sent,me.value[i.publicKey].multisigAccountCreationEncodedCallData=s._calldata.encode(s._name,"init",r),a.t0=o,a.t1=i.publicKey,a.t2=s.$options.bytecode,a.t3=me.value[i.publicKey].multisigAccountCreationEncodedCallData,a.t4=(0,ce.tW)("authorize"),a.t5=J.vw.GaAttachTx,a.next=20,g(s,e,n,i.publicKey);case 20:return a.t6=a.sent,a.t7={ownerId:a.t1,code:a.t2,callData:a.t3,authFun:a.t4,tag:a.t5,gasLimit:a.t6,nonce:1},a.next=24,a.t0.buildTx.call(a.t0,a.t7);case 24:return c=a.sent,a.next=27,o.signTransaction(c,{innerTx:!0,onAccount:new le.A(i.secretKey)});case 27:return me.value[i.publicKey].signedAttachTx=a.sent,ge.value=ae._B.prepared,a.abrupt("return",i.publicKey);case 30:case"end":return a.stop()}}),a)})))}function A(e,t){var a;return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var o,i,s,c,d,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o=me.value[t].signedAttachTx,o){r.next=3;break}throw Error("GA Attach Tx not found for account ".concat(t,", Prepare attach transaction first"));case 3:return r.next=5,n();case 5:return i=r.sent,r.t0=i,r.next=9,i.buildTx({tag:J.vw.PayingForTx,payerId:e,tx:o});case 9:return r.t1=r.sent,r.t2={fromAccount:e},r.next=13,r.t0.signTransaction.call(r.t0,r.t1,r.t2);case 13:if(s=r.sent,me.value[t].rawTx=s,c=(0,z.pj)(s,J.vw.SignedTx),c.encodedTx.tag===J.vw.PayingForTx&&c.encodedTx.tx.encodedTx.tag===J.vw.GaAttachTx){r.next=18;break}throw Error("Transaction build failed");case 18:d=c.encodedTx.fee,v=c.encodedTx.tx.encodedTx.fee,f=new Y.A(d).plus(v).toFixed(),p.value=+(0,E.c4)(f),ge.value=ae._B.signed,he.value=null===(a=l.value[e])||void 0===a?void 0:a.isLessThan(p.value);case 24:case"end":return r.stop()}}),r)})))}function k(e,t,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var s,c,l,p,v,f,m;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(s=me.value[e].rawTx,s){r.next=3;break}throw Error("Raw PayForTransaction not found for account ".concat(e,", Prepare PayForTransaction first"));case 3:return r.next=5,n();case 5:return c=r.sent,r.next=8,c.api.postTransaction({tx:s});case 8:return l=r.sent,p=l.txHash,r.next=12,c.poll(p,{blocks:y.u8});case 12:if(v=r.sent,!v||-1===v.blockHeight){r.next=24;break}return ge.value=ae._B.deployed,r.next=17,c.getAccount(e);case 17:f=r.sent,ge.value=ae._B.created,m=pe()().toISOString(),d.value={contractId:f.contractId,balance:new Y.A(f.balance.toString()),gaAccountId:e,signers:a,confirmationsRequired:t,nonce:1,createdAt:m,updatedAt:m,hasPendingTransaction:!1,confirmedBy:[],expired:!1,id:0,proposedBy:"",refusedBy:[],txHash:void 0,version:ae.cq,expirationHeight:0,signerId:a[0],height:-1,pending:!0},delete me.value[e],r.next=25;break;case 24:throw Error("Vault creation transaction is not mined within the expected time");case 25:return i(d.value),r.next=28,new Promise((function(e){var t=setInterval((function(){var n;(null===(n=d.value)||void 0===n?void 0:n.contractId)&&o(d.value.contractId)&&(ge.value=ae._B.accessible,e(!0),clearInterval(t))}),1e3)}));case 28:case"end":return r.stop()}}),r)})))}return{multisigAccount:d,multisigAccountCreationPhase:ge,pendingMultisigCreationTxs:me,multisigAccountCreationFee:p,isMultisigAccountAccessible:v,isMultisigAccountCreated:f,prepareVaultCreationAttachTx:h,prepareVaultCreationRawTx:A,deployMultisigAccount:k,notEnoughBalanceToCreateMultisig:he}}n(21489),n(75044),n(28845),n(373),n(11745),n(48140),n(81630),n(72170),n(69539),n(31694),n(89955),n(21903),n(91134),n(33206),n(44496),n(66651),n(12887),n(19369),n(66812),n(8995),n(31575),n(36072),n(88747),n(29423),n(57301),n(86614),n(41405),n(37467),n(44732),n(33684),n(79577),n(26280),n(27913),n(47801);var ke=n(25801),ye=n(41549),be=n(58449),we=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ce=3e4,xe=!1,Le=(0,be.y)(Ce),Se=(0,r.KR)();function Te(){var e=(0,B.f)(),t=e.onNetworkChange,n=(0,oe.C)(),a=n.getAeSdk,r=(0,N.EW)((function(){var e;return(null===(e=Se.value)||void 0===e?void 0:e.height)||0}));function o(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:return t=e.sent,e.next=5,t.api.getTopHeader();case 5:Se.value=e.sent;case 6:case"end":return e.stop()}}),e)})))}function i(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:return e.abrupt("return",r.value);case 3:case"end":return e.stop()}}),e)})))}return Le((function(){return o()})),xe||(xe=!0,t((function(){o()}))),{topHeaderData:Se,topBlockHeight:r,updateTopHeaderData:o,fetchCurrentTopBlockHeight:i}}var Ee=n(48287)["Buffer"],Ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},_e=480;function We(){var e=(0,ye.$L)(),t=e.aeActiveNetworkPredefinedSettings,n=(0,oe.C)(),a=n.nodeNetworkId,r=n.getDryAeSdk,o=n.getAeSdk,i=Te(),s=i.fetchCurrentTopBlockHeight;function c(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,o();case 2:return i=r.sent,r.abrupt("return",i.buildTx({tag:J.vw.SpendTx,senderId:e,recipientId:t,amount:n,payload:(0,ee.lF)((new TextEncoder).encode(a),te.W.Bytearray)}));case 4:case"end":return r.stop()}}),r)})))}function d(e){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,l.x6)("".concat(t.value.multisigBackendUrl,"/tx/").concat(e)).then((function(e){return e}))["catch"](l.fY));case 1:case"end":return n.stop()}}),n)})))}function p(){var e,t,n;return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ue.c)(),o=r.activeMultisigAccount,i=null===(e=o.value)||void 0===e?void 0:e.txHash,!i||!(null===(t=o.value)||void 0===t?void 0:t.hasPendingTransaction)&&!(null===(n=o.value)||void 0===n?void 0:n.pending)){a.next=7;break}return a.next=5,d(i);case 5:return s=a.sent,a.abrupt("return",Object.assign(Object.assign({},o.value),{totalConfirmations:o.value.confirmedBy.length,hash:i,tx:s?(0,z.pj)(s.tx):void 0,isMultisig:!0,microTime:s?Date.now():void 0,protocol:y.yv.aeternity}));case 7:return a.abrupt("return",null);case 8:case"end":return a.stop()}}),a)})))}function v(e,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,l.B2)("".concat(t.value.multisigBackendUrl,"/tx"),{body:{hash:n,tx:e}}));case 1:case"end":return a.stop()}}),a)})))}function f(e,t){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){var r,i,c,l,d,p,v;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([o(),s()]);case 2:return r=n.sent,i=(0,g.A)(r,2),c=i[0],l=i[1],d=l+_e,p=new Uint8Array((0,ce.tW)(Ee.concat([Ee.from(a.value),(0,ee.D4)(e)]))),n.next=10,c.initializeContract({aci:ve,address:t});case 10:return v=n.sent,n.next=13,v.propose(p,{FixedTTL:[d]});case 13:return n.abrupt("return",Ee.from(p).toString("hex"));case 14:case"end":return n.stop()}}),n)})))}function m(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i,c,l,d,p,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Promise.all([o(),s()]);case 2:return i=r.sent,c=(0,g.A)(i,2),l=c[0],d=c[1],p=d+_e,r.next=9,l.initializeContract({aci:ve,address:t});case 9:return v=r.sent,r.next=12,v[e](n,Object.assign({FixedTTL:[p]},a));case 12:return f=r.sent,r.abrupt("return",f);case 14:case"end":return r.stop()}}),r)})))}function h(e,t,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var o,i;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,r();case 2:return o=a.sent,a.next=5,o.initializeContract({aci:ve,bytecode:ae.Di});case 5:return i=a.sent,a.abrupt("return",o.sendTransaction(t,{authData:{callData:i._calldata.encode(i._name,"authorize",[n])},onAccount:new ke.A(e)}));case 7:case"end":return a.stop()}}),a)})))}return{buildSpendTx:c,postSpendTx:v,proposeTx:f,fetchTransactionByHash:d,sendTx:h,fetchActiveMultisigTx:p,callContractMethod:m}}var Fe=n(34281),De=(n(26910),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),Be=!1,Pe=(0,r.KR)(null),Me=(0,r.KR)(null),Oe=(0,r.KR)(!1);function Re(){var e=this,t=(0,ye.ef)(),n=t.getMiddleware,o=(0,ue.c)(),i=o.activeMultisigAccount,s=We(),c=s.fetchActiveMultisigTx,d=Te(),p=d.topBlockHeight,v=(0,a.o)(),f=v.aeAccounts,m=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmationsRequired)&&void 0!==t?t:ae.sL})),h=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.signers)&&void 0!==t?t:[]})),A=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmedBy)&&void 0!==t?t:[]})),k=(0,N.EW)((function(){return m.value-A.value.length})),y=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.refusedBy)&&void 0!==t?t:[]})),b=(0,N.EW)((function(){return(0,R.A)(h.value).sort((function(e){var t;return(null===(t=i.value)||void 0===t?void 0:t.confirmedBy.includes(e))?-1:1}))})),w=(0,N.EW)((function(){return A.value.length>=m.value})),C=(0,N.EW)((function(){return h.value.length-y.value.length=i.value.expirationHeight})),S=(0,N.EW)((function(){return i.value?i.value.expirationHeight-p.value:0})),T=(0,N.EW)((function(){return!L.value&&w.value})),E=(0,N.EW)((function(){return f.value.filter((function(e){var t=e.address;return h.value.includes(t)}))})),I=(0,N.EW)((function(){return E.value.filter((function(e){var t,n,a=e.address;return null===(n=null===(t=i.value)||void 0===t?void 0:t.confirmedBy)||void 0===n?void 0:n.includes(a)})).length===E.value.length})),_=(0,N.EW)((function(){var e;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)})),W=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Me.value)||void 0===t?void 0:t.tx["function"])===ae.y5.revoke})),F=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Me.value)||void 0===t?void 0:t.tx["function"])===ae.y5.confirm}));function D(){var e;return De(this,void 0,void 0,(0,u.A)().mark((function t(){var a,r,o,s,c;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a=null===(e=i.value)||void 0===e?void 0:e.contractId,t.next=4,n();case 4:return r=t.sent,t.next=7,r.getTxs({direction:"backward",limit:1,contract:a});case 7:return o=t.sent,s=(0,g.A)(o.data,1),c=s[0],t.abrupt("return",c);case 13:return t.prev=13,t.t0=t["catch"](0),(0,l.fY)(t.t0),t.abrupt("return",null);case 17:case"end":return t.stop()}}),t,null,[[0,13]])})))}return Be||(Be=!0,(0,r.uY)(!0).run((function(){var t=(0,ue.c)(),n=t.activeMultisigAccount;(0,N.wB)(n,(function(t,n){return De(e,void 0,void 0,(0,u.A)().mark((function e(){var a,r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t||(0,X.A)(t,n)){e.next=18;break}if(null===t||void 0===t?void 0:t.txHash){e.next=6;break}Me.value=null,Pe.value=null,e.next=18;break;case 6:if(t.txHash===(null===n||void 0===n?void 0:n.txHash)){e.next=17;break}return Oe.value=!0,e.next=10,Promise.all([D(),c()]);case 10:a=e.sent,r=(0,g.A)(a,2),Me.value=r[0],Pe.value=r[1],Oe.value=!1,e.next=18;break;case 17:!(0,X.A)(t.confirmedBy,n.confirmedBy)&&Pe.value&&(Pe.value=Object.assign(Object.assign(Object.assign({},Pe.value),t),{totalConfirmations:t.confirmedBy.length}));case 18:case"end":return e.stop()}}),e)})))}),{immediate:!0})}))),{pendingMultisigTransaction:Pe,pendingMultisigTxSigners:h,pendingMultisigTxConfirmedBy:A,pendingMultisigTxRefusedBy:y,pendingMultisigTxSortedSigners:b,pendingMultisigTxConfirmed:w,pendingMultisigTxRevoked:C,pendingMultisigTxProposingAccountRevoked:x,pendingMultisigTxRequiredConfirmations:m,pendingMultisigTxPendingConfirmationsCount:k,pendingMultisigTxExpired:L,pendingMultisigTxExpiresAt:S,pendingMultisigTxCanBeSent:T,pendingMultisigTxLocalSigners:E,pendingMultisigTxConfirmedByLocalSigners:I,isLoading:Oe,isPendingMultisigTxCompleted:_,isPendingMultisigTxCompletedAndRevoked:W,isPendingMultisigTxCompletedAndConfirmed:F}}var Ne=n(98822),Ue=n(97911),Xe=n(59602),Ve={all:"all",in:"in",out:"out"},He=Object.assign(Object.assign({},Ve),{dex:"dex"});function $e(){return{rotated:!0,key:He.all}}var je=(0,r.KR)(""),Ke=(0,r.KR)($e());function qe(){var e=(0,N.EW)((function(){return Ke.value.key!==He.all||!!je.value.length})),t=(0,r.KR)({all:{name:(0,T.tg)("common.all")},in:{name:(0,T.tg)("filters.in")},out:{name:(0,T.tg)("filters.out")}}),n=(0,r.KR)(Object.assign(Object.assign({},t.value),{dex:{name:(0,T.tg)("filters.dex")}}));function a(){je.value="",Ke.value=$e()}return{searchPhrase:je,displayMode:Ke,isSearchBarAndFilterExpanded:e,filtersConfig:t,filtersConfigAe:n,resetFilter:a,FILTER_MODE:He}}n(52675),n(50113),n(25276);var Ge=n(95993),Qe=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.transaction,n=e.externalAddress,o=e.showDetailedAllowanceInfo,i=void 0!==o&&o,s=(0,oe.C)(),u=s.dexContracts,c=(0,a.o)(),d=c.accounts,p=c.activeAccount,v=(0,Ue.k)(),f=v.tippingContractAddresses,m=(0,H.Y)(),g=m.getProtocolAvailableTokens,h=m.getTxAmountTotal,A=m.getTxAssetSymbol,k=(0,r.KR)(t),b=(0,r.KR)(n),w=(0,N.EW)((function(){var e;return null===(e=k.value)||void 0===e?void 0:e.tx})),C=(0,N.EW)((function(){return w.value?(0,E.Bd)(w.value):void 0})),x=(0,N.EW)((function(){return w.value?(0,E.bB)(w.value):null})),L=(0,N.EW)((function(){return C.value?(0,E.bB)(C.value):null})),S=(0,N.EW)((function(){return x.value?J.vw[x.value]:null})),T=(0,N.EW)((function(){return S.value?(0,l.XK)(S.value):""})),I=(0,N.EW)((function(){var e=S.value?(0,l.xx)(S.value):"";return null!==e&&void 0!==e?e:T.value})),_=(0,N.EW)((function(){var e;return(null===(e=w.value)||void 0===e?void 0:e["function"])?(0,l.vQ)(w.value["function"]):""})),W=(0,N.EW)((function(){var e;return!(null===(e=w.value)||void 0===e?void 0:e.contractId)||(0,l.go)(w.value.contractId)})),F=(0,N.EW)((function(){return(0,E._B)(C.value,u.value)})),D=(0,N.EW)((function(){var e;return!!C.value&&(0,E.uW)(null===(e=C.value)||void 0===e?void 0:e["function"])&&!!g(y.yv.aeternity)[C.value.contractId]})),B=(0,N.EW)((function(){var e;return(0,E.t1)(null===(e=C.value)||void 0===e?void 0:e["function"])})),P=(0,N.EW)((function(){var e;return(0,E.KJ)(null===(e=C.value)||void 0===e?void 0:e["function"])})),M=(0,N.EW)((function(){var e;return(0,E.wX)(null===(e=C.value)||void 0===e?void 0:e["function"])})),O=(0,N.EW)((function(){var e;return!!(null===(e=w.value)||void 0===e?void 0:e["function"])&&((0,l.mK)(Object.values(ae.y5),w.value["function"])||!!w.value.payerId)})),R=(0,N.EW)((function(){var e,t;return!!((null===(e=C.value)||void 0===e?void 0:e.contractId)&&(null===(t=C.value)||void 0===t?void 0:t["function"])&&(0,l.mK)([f.value.tippingV1,f.value.tippingV2],C.value.contractId)&&(0,l.mK)([ae.vG.tip,ae.vG.retip,ae.vG.claim],C.value["function"]))})),U=(0,N.EW)((function(){var e=w.value||{},t=e.returnType;return!(!t||t===ae.Mb)})),X=(0,N.EW)((function(){return(0,E.c0)(C.value)})),$=(0,N.EW)((function(){return(0,E.Sl)(p.value,d.value,C.value)})),j=(0,N.EW)((function(){var e,t;return(null===(e=C.value)||void 0===e?void 0:e["function"])===ae.vG.claim?y.NX.received:(0,E.qE)((null===(t=w.value)||void 0===t?void 0:t.payerId)?w.value:C.value,n||$.value!==ae.Zi.current&&X.value||p.value.address)})),K=(0,N.EW)((function(){var e,t,n,a,r;if(!(null===(e=k.value)||void 0===e?void 0:e.tx))return[];var o=!1,s=k.value.protocol,u=void 0===s?y.yv.aeternity:s,c=V.C.getAdapter(u),d=g(u);if(u===y.yv.aeternity){if((null===(t=C.value)||void 0===t?void 0:t["function"])&&(!D.value||i)){var p=(0,Ge.A)(C.value["function"]),v=(0,E.Ke)(p);if(v)return v({tx:w.value},d).tokens.map((function(e){var t=e.amount,n=e.decimals,a=Qe(e,["amount","decimals"]);return Object.assign({amount:+(0,l.Y9)(t,-n)},a)}))}d[null===(n=C.value)||void 0===n?void 0:n.contractId]&&L.value!==J.vw.ContractCreateTx||(o=!0)}var f=D.value?(0,l.Y9)((null===(a=C.value)||void 0===a?void 0:a.fee)||0,-c.coinPrecision):h(k.value,j.value),m=j.value===y.NX.received;if(W.value||D.value||O.value||o)return[Object.assign(Object.assign({},C.value||{}),{amount:f,assetType:y.Dd.coin,contractId:c.coinContractId,isReceived:m,name:c.coinName,protocol:u,symbol:c.coinSymbol})];var b=d[w.value.contractId];return[Object.assign(Object.assign(Object.assign({},C.value||{}),b||{}),{amount:f,assetType:y.Dd.token,contractId:null===(r=w.value)||void 0===r?void 0:r.contractId,isReceived:m,name:null===b||void 0===b?void 0:b.name,protocol:u,symbol:A(k.value)})]}));function q(e){k.value=e}function G(e){b.value=e}function Q(e){var t,n=ae.Zi.current,a=ae.Zi.subAccount;switch($.value){case n:return p.value.address;case a:var r=C.value||{},o=r.accountId,i=r.callerId;return null===(t=d.value.find((function(e){var t=e.address;return[o,i].includes(t)})))||void 0===t?void 0:t.address;default:return e||X.value}}return{outerTxTag:x,innerTxTag:L,innerTx:C,txTypeLabel:T,txTypeListLabel:I,txFunctionLabel:_,isErrorTransaction:U,isDex:F,isDexAddLiquidity:B,isDexAllowance:D,isDexPool:M,isDexRemoveLiquidity:P,isMultisig:O,isTip:R,isTransactionCoin:W,direction:j,transactionAssets:K,getOwnershipAddress:Q,setActiveTransaction:q,setExternalAddress:G}}var Ye=n(5582),ze=n(909),Je=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},et=(0,D.S)({isEndReached:!1,isInitialLoadDone:!1,nextPagePaginationParams:{},transactionsLoaded:[]},y.d5.transactionsLoaded),tt=(0,N.EW)((function(){return et.value.isEndReached})),nt=(0,N.EW)((function(){return et.value.transactionsLoaded}));function at(e){var t,n=e.accountAddress,a=e.assetContractId,o=e.protocol,i=(0,r.KR)(!1),s=(0,f.w)(),c=s.isOnline,d=(0,ze.m)(),p=d.isAppActive,v=(0,B.f)(),m=v.activeNetwork,g=Z(),h=g.accountsTransactionsPending,A=V.C.getAdapter(o),k=(0,N.EW)((function(){return(h.value[n]||[]).filter((function(e){var t=e.tx;return(null===t||void 0===t?void 0:t.contractId)===a}))})),b=(0,N.EW)((function(){return[].concat((0,R.A)(k.value),(0,R.A)(nt.value))}));function w(){et.value={accountAddress:n,assetContractId:a,isEndReached:!1,isInitialLoadDone:!1,networkName:m.value.name,nextPagePaginationParams:{},transactionsLoaded:[]}}function C(e){return a?A.fetchAccountAssetTransactions(n,a,e):A.fetchAccountTransactions(n,e)}function x(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var t,r,o,s,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!c.value||i.value||et.value.isEndReached){e.next=15;break}return i.value=!0,e.next=4,C(et.value.nextPagePaginationParams);case 4:if(t=e.sent,r=t.paginationParams,o=t.regularTransactions,s=t.pendingTransactions,d=t.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=11;break}return e.abrupt("return");case 11:(0,l.xB)(r)?et.value.nextPagePaginationParams=r:et.value.isEndReached=!0,((null===o||void 0===o?void 0:o.length)||(null===s||void 0===s?void 0:s.length)||(null===d||void 0===d?void 0:d.length))&&(et.value.transactionsLoaded=(0,Ye.A)([].concat((0,R.A)(et.value.isInitialLoadDone?et.value.transactionsLoaded:[]),(0,R.A)(o),(0,R.A)(s||[]),(0,R.A)(d||[])),"hash")),i.value=!1,et.value.isInitialLoadDone=!0;case 15:case"end":return e.stop()}}),e)})))}function L(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var r=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(et.value.isInitialLoadDone&&nt.value.length){e.next=7;break}return et.value.isInitialLoadDone&&!nt.value.length&&w(),e.next=4,x();case 4:if(n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=7;break}return i.value=!1,e.abrupt("return");case 7:t=setInterval((function(){return Je(r,void 0,void 0,(0,u.A)().mark((function e(){var r,o,s,c,l,d,v,f;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value){e.next=14;break}return e.next=3,C();case 3:if(s=e.sent,c=s.paginationParams,l=s.regularTransactions,d=s.pendingTransactions,v=s.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=12;break}return i.value=!1,clearInterval(t),e.abrupt("return");case 12:f=et.value.transactionsLoaded.filter((function(e){var t=e.claim,n=void 0!==t&&t,a=e.pending,r=void 0!==a&&a;return!n&&!r})),(null===l||void 0===l?void 0:l.length)&&(null===(r=null===l||void 0===l?void 0:l[0])||void 0===r?void 0:r.hash)!==(null===(o=null===f||void 0===f?void 0:f[0])||void 0===o?void 0:o.hash)&&(et.value.transactionsLoaded=[].concat((0,R.A)(l),(0,R.A)(d||[]),(0,R.A)(v||[])),et.value.nextPagePaginationParams=c,et.value.isEndReached=!1);case 14:case"end":return e.stop()}}),e)})))}),y.uw);case 8:case"end":return e.stop()}}),e)})))}function S(){clearInterval(t)}return et.value.accountAddress===n&&et.value.assetContractId===a&&et.value.networkName===m.value.name||w(),{isLoading:i,isEndReached:tt,transactionsLoaded:nt,transactionsLoadedAndPending:b,fetchTransactions:C,loadCurrentPageTransactions:x,initializeTransactionListPolling:L,stopTransactionListPolling:S}}var rt=n(53368),ot=(0,r.KR)(!1);function it(){function e(e){ot.value=e}return{setScrollConf:e,isScrollEnabled:ot}}var st=n(53319),ut=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},ct="active-language";function lt(){var e=T.Ru.global.locale;function t(t){return ut(this,void 0,void 0,(0,u.A)().mark((function n(){var a;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t!==e.value){n.next=2;break}return n.abrupt("return");case 2:if(T.Ru.global.availableLocales.includes(t)){n.next=7;break}return n.next=5,T.eo[t].getMessages();case 5:a=n.sent["default"],T.Ru.global.setLocaleMessage(t,a);case 7:T.Ru.global.locale.value=t,document.documentElement.setAttribute("lang",t),st.v.set(ct,t);case 10:case"end":return n.stop()}}),n)})))}function n(){return ut(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,st.v.get(ct);case 2:n=e.sent,n?t(n):document.documentElement.setAttribute("lang",T.Ru.global.locale.value);case 4:case"end":return e.stop()}}),e)})))}return{activeLanguage:e,restoreLanguage:n,switchLanguage:t}}var dt=n(12082)},21452:(e,t,n)=>{"use strict";n.d(t,{U:()=>g});n(9391),n(62953),n(52675),n(16280),n(76918),n(28706),n(2008),n(48980),n(25276),n(62062),n(44114),n(54554),n(62010),n(36033),n(26099),n(47764);var a=n(50953),r=n(20641),o=n(65563),i=n(31189),s=n(90973),u=n(98822),c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{},a=l.get(e);if(!a)return Promise.reject(new Error('Modal with name "'.concat(e,'" not registered')));var r=o.IX&&o.u2&&!!a.showInPopupIfWebFrame,i=p+1;p+=1;var c=new Promise((function(t,o){if(d.value.push({name:e,key:i,inPopup:r,props:Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0})}),a.showInPopupIfWebFrame&&!r){var c=(0,u.m)(),l=c.setPopupProps;l(Object.assign(Object.assign({},n),{resolve:t,reject:o}))}r&&(v&&v.focus(),f["catch"]((function(){}))["finally"]((function(){v=window.open("/".concat(s.t,"/").concat(e),"popup-".concat(i),"height=600,width=375"),v?v.popupProps=Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0}):o(new Error("Can't show popup window"))})))}))["finally"]((function(){return t(i)}));return r&&(f=c),c}function a(e){return n(o.o1,e)}function g(e){return n(o.Hn,e)}function h(e){return n(o.g_,{entry:e})["catch"](i.fY)}return{modalsOpen:e,registerModal:m,openModal:n,openDefaultModal:a,openConfirmModal:g,openErrorModal:h,closeModalByKey:t}}},53048:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var a=n(55096),r=n(2327),o=n(6682),i=(n(62953),n(52675),n(76918),n(28706),n(2008),n(50113),n(74423),n(25276),n(62062),n(44114),n(15086),n(26910),n(23288),n(2892),n(26099),n(38781),n(21699),n(47764),n(50953)),s=n(20641),u=n(5582),c=n(43089),l=n.n(c),d=n(65626),p=n(60346),v=n(31189),f=n(10854),m=n(59755),g=n(12533),h=n(41549),A=n(58449),k=n(75265),y=n(68411),b=n(81881),w=n(48287)["Buffer"],C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r2&&void 0!==arguments[2]&&arguments[2];return(0,v.AP)([n?E:T,t],e)}function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,v._S)([t?E:T,e])||[]}var W=(0,i.KR)([]),F=(0,i.KR)([]),D=(0,i.KR)(),B=(0,i.KR)(""),P=(0,i.KR)(!1),M=(0,A.y)(S);function O(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.pollOnce,i=void 0!==n&&n,c=t.pollingDisabled,A=void 0!==c&&c,S=(0,b.f)(),E=S.onNetworkChange,O=(0,h.$L)(),R=O.aeActiveNetworkPredefinedSettings,N=(0,k.C)(),U=N.nodeNetworkId,X=N.getAeSdk,V=(0,y.o)(),H=V.aeAccounts,$=(0,s.EW)((function(){return[].concat((0,o.A)(W.value),(0,o.A)(F.value))})),j=(0,s.EW)((function(){return $.value.find((function(e){return e.gaAccountId===D.value}))})),K=(0,s.EW)((function(){return j.value?new g.w(R.value.explorerUrl).prepareUrlForHash(j.value.contractId):null})),q=(0,s.EW)((function(){var e;return!!(null===(e=j.value)||void 0===e?void 0:e.gaAccountId)&&!!F.value.find((function(e){var t=e.gaAccountId;return t===j.value.gaAccountId}))}));function G(e){e&&$.value.some((function(t){return t.gaAccountId===e}))&&(D.value=e,B.value=U.value,(0,v.AP)([T,"active",U.value],e))}function Q(e){F.value.push(e),I(F.value,U.value,!0)}function Z(e,t,n){F.value=F.value.map((function(a){return a.gaAccountId===t?Object.assign(Object.assign({},a),{txHash:e,hasPendingTransaction:!0,proposedBy:n}):a})),I(F.value,U.value,!0)}function Y(){var e;if(null===(e=F.value)||void 0===e?void 0:e.length){var t=F.value.filter((function(e){return!W.value.find((function(t){return t.gaAccountId===e.gaAccountId}))}));F.value=t,I(t,U.value,!0)}}function z(){var e;return C(this,void 0,void 0,(0,r.A)().mark((function t(){var n,i,s,c,g=this;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=function(e){return e.hasPendingTransaction&&e.signers.some((function(t){return H.value.map((function(e){var t=e.address;return t})).includes(t)&&!e.confirmedBy.includes(t)}))},t.next=3,X();case 3:return n=t.sent,i=[],t.prev=5,t.next=8,Promise.all(H.value.map((function(e){var t=e.address;return C(g,void 0,void 0,(0,r.A)().mark((function e(){var n;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=(n=i).push,e.t1=n,e.t2=o.A,e.next=5,(0,v.x6)("".concat(R.value.multisigBackendUrl,"/").concat(t));case 5:return e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.abrupt("return",e.t0.apply.call(e.t0,e.t1,e.t4));case 8:case"end":return e.stop()}}),e)})))})));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](5),console.log("failed to fetch multisigAccounts");case 13:return i=(0,u.A)(i,"contractId"),t.next=16,Promise.all(i.filter((function(e){var t=e.version;return t===m.cq})).map((function(e){return C(g,void 0,void 0,(0,r.A)().mark((function t(){var o,i,s,u,c,p,g,h,A,k,y,b,C,L,S;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=e.contractId,i=e.gaAccountId,s=x(e,["contractId","gaAccountId"]),t.prev=1,t.next=4,n.initializeContract({aci:f,address:o});case 4:return u=t.sent,c=W.value.find((function(e){return e.contractId===o})),t.next=8,Promise.all([P.value&&i===D.value||null==(null===c||void 0===c?void 0:c.nonce)?u.get_nonce():{decodedResult:c.nonce},(null===c||void 0===c?void 0:c.signers)?{decodedResult:c.signers}:u.get_signers(),u.get_consensus_info(),i?n.getBalance(i):0]);case 8:return p=t.sent,g=(0,a.A)(p,4),h=g[0],A=g[1],k=g[2],y=g[3],b=k.decodedResult,C=b.tx_hash,L=l()(b),L.expirationHeight=Number(L.expirationHeight),L.confirmationsRequired=Number(L.confirmationsRequired),S=!!C&&!L.expired,t.abrupt("return",Object.assign(Object.assign(Object.assign({},L),s),{contractId:o,gaAccountId:i,nonce:Number(h.decodedResult),signers:A.decodedResult,balance:(0,v.Y9)(y,-m.kS),hasPendingTransaction:S,txHash:C?w.from(C).toString("hex"):void 0}));case 23:return t.prev=23,t.t0=t["catch"](1),t.t0 instanceof d.Vz||(0,v.fY)(t.t0),t.abrupt("return",W.value.find((function(e){return e.contractId===o})));case 27:case"end":return t.stop()}}),t,null,[[1,23]])})))})));case 16:c=t.sent.filter(Boolean).sort((function(e,t){var n;return e.hasPendingTransaction&&!t.hasPendingTransaction?-1:!e.hasPendingTransaction&&t.hasPendingTransaction?1:s(e)&&!s(t)?-1:!s(e)&&s(t)?1:t.confirmedBy.length&&e.confirmedBy.length&&t.confirmedBy.length!==e.confirmedBy.length?t.confirmedBy.length-e.confirmedBy.length:p.A.isBigNumber(e.balance)&&p.A.isBigNumber(t.balance)&&!(null===(n=t.balance)||void 0===n?void 0:n.minus(e.balance).isZero())?t.balance.minus(e.balance).toNumber():new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()})),W.value=c,D.value&&B.value===U.value||G(null===(e=c[0])||void 0===e?void 0:e.gaAccountId),I(c,U.value),Y();case 21:case"end":return t.stop()}}),t,null,[[5,10]])})))}function J(){P.value=!0,z()}function ee(){P.value=!1}function te(e){return $.value.find((function(t){return t.contractId===e}))}return function(){C(e,void 0,void 0,(0,r.A)().mark((function e(){return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,X();case 2:W.value.length&&B.value===U.value||(W.value=_(U.value),F.value=_(U.value,!0)),D.value&&B.value===U.value||(D.value=(0,v._S)([T,"active",U.value])||void 0,B.value=U.value);case 4:case"end":return e.stop()}}),e)})))}(),A||(i&&!_(U.value).length?z():i||M((function(){return z()}))),L||(L=!0,E((function(){z()}))),{multisigAccounts:$,pendingMultisigAccounts:F,isAdditionalInfoNeeded:P,isActiveMultisigAccountPending:q,activeMultisigAccountId:D,activeMultisigAccount:j,activeMultisigAccountExplorerUrl:K,addTransactionToPendingMultisigAccount:Z,fetchAdditionalInfo:J,setActiveMultisigAccountId:G,stopFetchingAdditionalInfo:ee,updateMultisigAccounts:z,getMultisigAccountByContractId:te,addPendingMultisigAccount:Q}}},81881:(e,t,n)=>{"use strict";n.d(t,{f:()=>S});var a=n(2327),r=n(6682),o=(n(16280),n(76918),n(28706),n(48980),n(51629),n(62062),n(44114),n(54554),n(62010),n(53921),n(26099),n(23500),n(50953)),i=n(20641),s=n(65563),u=n(31189),c=n(32118),l=n(44343),d=n(21452),p=n(54228),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=!1,m=(0,u.pe)(),g=m.addCallback,h=m.runCallbacks,A=[],k=(0,o.KR)(!1),y=(0,p.S)([],s.d5.customNetworks,{backgroundSync:!0}),b=(0,p.S)(s.y1,s.d5.activeNetworkName,{backgroundSync:!0,onRestored:function(){k.value=!0}}),w=(0,i.EW)((function(){return Object.fromEntries([].concat(A,(0,r.A)(y.value)).map((function(e){return[e.name,e]})))})),C=(0,i.EW)((function(){return w.value[b.value]})),x=(0,i.EW)((function(){return C.value.type===s.Oj}));function L(){if(0===A.length){var e=[s.dk,s.Oj];e.forEach((function(e){A.push({name:e===s.dk?s.y1:s.I1,protocols:Object.fromEntries(s.E4.map((function(t){return[t,c.C.getAdapter(t).getNetworkTypeDefaultValues(e)]}))),type:e})}))}}function S(){var e=(0,d.U)(),t=e.openConfirmModal;function n(e){if(!w.value[e])throw Error('Could not switch to "'.concat(e,'" network as it does not exist'));var t=C.value;b.value=e,h(C.value,t)}function r(e){y.value.push(e)}function o(e,t){return!!y.value[e]&&(y.value[e]=t,!0)}function i(e){return v(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t({msg:(0,l.tg)("pages.network.confirmDelete")});case 3:if(o=y.value.findIndex((function(t){return t.name===e})),!(o>-1)){a.next=8;break}return e===C.value.name&&n(s.y1),y.value.splice(o,1),a.abrupt("return",!0);case 8:return a.abrupt("return",!1);case 11:return a.prev=11,a.t0=a["catch"](0),a.abrupt("return",!1);case 14:case"end":return a.stop()}}),r,null,[[0,11]])})))}function u(){y.value=[],b.value=s.y1}return f||(f=!0,L(),C.value||n(s.y1)),{areNetworksRestored:k,networks:w,customNetworks:y,defaultNetworks:A,activeNetwork:C,isActiveNetworkTestnet:x,activeNetworkName:b,switchNetwork:n,addCustomNetwork:r,updateCustomNetwork:o,deleteCustomNetwork:i,resetNetworks:u,onNetworkChange:g}}},34281:(e,t,n)=>{"use strict";n.d(t,{E:()=>T});var a=n(2327),r=n(55096),o=n(6682),i=(n(62953),n(3296),n(48408),n(52675),n(76918),n(28706),n(2008),n(50113),n(51629),n(74423),n(25276),n(62062),n(44114),n(34782),n(26910),n(1688),n(23288),n(5506),n(26099),n(38781),n(21699),n(47764),n(23500),n(14603),n(47566),n(98721),n(50953)),s=n(20641),u=n(31189),c=n(65563),l=(n(72712),n(79432),n(16034),n(35306)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=function(e){return d(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=16;break}return t.next=3,(0,l.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.notificationSettings;case 12:if(r=t.t2,!(null===r||void 0===r?void 0:r.length)){t.next=16;break}return o=Object.values(c.I9),t.abrupt("return",r.reduce((function(e,t){return o.includes(t.type)&&(e[t.type]=!!t.checked),e}),{}));case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})))};const v=p;var f=n(41549),m=n(68411),g=n(58449),h=n(75265),A=n(54228),k=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},n=t.requirePolling,l=void 0!==n&&n,d=(0,f.$L)(),p=d.aeActiveNetworkSettings,v=(0,h.C)(),g=v.fetchRespondChallenge,A=(0,m.o)(),b=A.activeAccount,T=(0,i.KR)(!0),E=(0,i.KR)(0);function I(e){return[void 0,!0].includes(x.value[e])}var _=(0,s.EW)((function(){return[].concat((0,o.A)(L.value),(0,o.A)(S.value)).sort((function(e,t){return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()}))})),W=(0,s.EW)((function(){return _.value.filter((function(e){var t=e.type;return I(t)}))})),F=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.PM}))})),D=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.w}))})),B=(0,s.EW)((function(){return W.value.slice(0,E.value*w)}));function P(){return k(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,o,i,s;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b.value.protocol===c.yv.aeternity){e.next=2;break}return e.abrupt("return",[]);case 2:return e.prev=2,t="".concat(p.value.backendUrl,"/notification/user/").concat(b.value.address),e.next=6,(0,u.x6)(t);case 6:return n=e.sent,e.next=9,g(n);case 9:return o=e.sent,i=new URL(t),Object.entries(o).forEach((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1];return i.searchParams.append(n,a)})),e.next=14,(0,u.x6)(i.toString());case 14:return s=e.sent,e.abrupt("return",!s||s.err?[]:s);case 18:return e.prev=18,e.t0=e["catch"](2),(0,u.fY)(e.t0),e.abrupt("return",[]);case 22:case"end":return e.stop()}}),e,null,[[2,18]])})))}function M(e,t){return k(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s=this;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.length){n.next=2;break}return n.abrupt("return");case 2:return r=function(e){return k(s,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.B2)("".concat(p.value.backendUrl,"/notification"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},n.next=5,r({ids:e,status:t,author:b.value.address});case 5:return o=n.sent,n.next=8,g(o);case 8:return i=n.sent,n.next=11,r(i);case 11:case"end":return n.stop()}}),n)})))}function O(e){S.value.push(Object.assign(Object.assign({},e),{type:c.I9.wallet,status:c.w,createdAt:(new Date).toISOString()}))}function R(e,t){var n=S.value.find((function(t){return t.createdAt===e}));n&&(n.status=t)}function N(){T.value=!1,E.value+=1,B.value.length{"use strict";n.d(t,{S:()=>P});var a=n(2327),r=n(1287),o=(n(62953),n(3296),n(48408),n(1688),n(23288),n(26099),n(47764),n(14603),n(47566),n(98721),n(31490)),i=n(65563),s=n(31189),u=n(58338),c=(n(35726),n(55096),n(28706),n(62010),n(11392),n(73808)),l=(n(51629),n(23500),n(42302)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p="web",v=!1,f="extension"===p&&!v,m="connectConfirm",g={},h=function(e){return new URL(e.connection.port.sender.url)},A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d(void 0,void 0,void 0,(0,a.A)().mark((function r(){var o,i,s,u,d,p,v,A,k,y,b,w,C;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return o=(0,l.A)(),i="object"===(0,c.A)(t)?h(t):new URL(t),s=i.href,u=i.protocol,d=i.host,p="object"===(0,c.A)(t)?t:{},v=p.name,A=void 0===v?d:v,a.next=5,browser.tabs.query({active:!0});case 5:return k=a.sent,k.forEach((function(e){var t=e.url,n=e.id,a=new URL(t);a.searchParams.get("type")===m&&decodeURIComponent(a.searchParams.get("url")||"")===s&&browser.tabs.remove(n)})),y=browser.runtime.getURL("./index.html"),b="".concat(y,"?id=").concat(o,"&type=").concat(e,"&url=").concat(encodeURIComponent(s)),w=f&&browser.runtime.getPlatformInfo().then((function(e){var t=e.os;return"mac"===t})),a.t0=browser.windows,a.t1=b,a.next=14,w;case 14:if(!a.sent){a.next=18;break}a.t2=360,a.next=19;break;case 18:a.t2=375;case 19:return a.t3=a.t2,a.t4={url:a.t1,type:"popup",height:630,width:a.t3},a.next=23,a.t0.create.call(a.t0,a.t4);case 23:if(C=a.sent,C){a.next=26;break}return a.abrupt("return",null);case 26:return g[o]={id:o,props:{app:{url:s,name:A,protocol:u,host:d},message:n.message,tx:n.tx,txBase64:n.txBase64}},a.abrupt("return",g[o]);case 28:case"end":return a.stop()}}),r)})))},k=function(e){return delete g[e]},y=function(e){return g[e]},b=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function w(e,t){return b(this,void 0,void 0,(0,a.A)().mark((function n(){var r;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!i.$M){n.next=8;break}n.t0=e,n.next="openPopup"===n.t0?4:"removePopup"===n.t0?5:"getPopup"===n.t0?6:7;break;case 4:return n.abrupt("return",A(t.popupType,t.aepp,t.params));case 5:return n.abrupt("return",k(t.id));case 6:return n.abrupt("return",y(t.id));case 7:return n.abrupt("return",null);case 8:return r=(0,s.lk)(t),n.abrupt("return",browser.runtime.sendMessage({target:"background",method:e,params:r}));case 10:case"end":return n.stop()}}),n)})))}var C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x={},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return C(void 0,void 0,void 0,(0,a.A)().mark((function r(){return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",w("openPopup",{popupType:e,aepp:t,params:n}).then((function(e){return new Promise((function(t,n){var a=Object.assign(Object.assign({},e),{actions:{resolve:t,reject:n}}),r=a.id;return x[r]=a,a}))})));case 1:case"end":return a.stop()}}),r)})))},S=(n(79432),n(35306)),T=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},E=function(e){return T(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=21;break}return t.next=3,(0,S.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.permissions;case 12:if(r=t.t2,t.prev=13,!r||!Object.keys(r).length){t.next=16;break}return t.abrupt("return",r);case 16:t.next=21;break;case 18:t.prev=18,t.t3=t["catch"](13),(0,s.fY)(t.t3);case 21:return t.abrupt("return",e);case 22:case"end":return t.stop()}}),t,null,[[13,18]])})))};const I=E;var _=n(54228),W=n(21452),F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=(0,_.S)({},i.d5.permissions,{backgroundSync:!0,migrations:[I]}),B=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.J8.subscribeAddress,{modal:i.kV,popup:i.tF}),o.J8.address,{modal:i.Mc,popup:i.ze}),o.J8.signMessage,{modal:i.gK,popup:i.MW}),o.J8.sign,{modal:i.K$,popup:i.sW});function P(){var e=(0,W.U)(),t=e.openModal;function n(e){D.value[e]=Object.assign(Object.assign({},D.value[e]),{transactionSignSpent:0,transactionSignFirstAskedOn:(new Date).toISOString()})}function r(e){D.value[e.host]=e}function c(e){delete D.value[e]}function l(e){return(new Date).getTime()-new Date(e).getTime()>=864e5}function d(e,t){var a=t.amount,r=void 0===a?0:a,o=t.fee,i=void 0===o?0:o,s=t.nameFee,c=void 0===s?0:s,d=D.value[e]||{},p=d.transactionSignLimit,v=d.transactionSignFirstAskedOn;if(!p)return!1;v&&!l(v)||n(e);var f=+(0,u.c4)(+r+ +i+ +c),m=(D.value[e].transactionSignSpent||0)+f;return!(m>p)&&(D.value[e].transactionSignSpent=m,!0)}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=D.value[e];if(!a)return!1;switch(t){case o.J8.sign:return d(e,n);case o.J8.connect:return a.address;case o.J8.address:return a.addressList;case o.J8.signMessage:return a.messageSign;case o.J8.subscribeAddress:return a.address;default:return!1}}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return F(this,void 0,void 0,(0,a.A)().mark((function c(){var l,d,v,f,m,g;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(d=(0,s.lk)(r),!n){a.next=7;break}if(v=new URL(n),!p(v.host,e,r.tx)){a.next=5;break}return a.abrupt("return",!0);case 5:l={host:v.host,name:v.hostname,protocol:v.protocol,url:v.href},d=Object.assign(Object.assign({},d),{app:l});case 7:if(a.prev=7,f=B[e]||{},m=f.modal,g=f.popup,m&&g){a.next=11;break}return a.abrupt("return",!1);case 11:return e!==o.J8.sign||r.txBase64&&(0,u.P)(r.txBase64)||(m=i.iE,g=i.LZ),a.next=14,i.pb&&(null===l||void 0===l?void 0:l.url)?L(g,l.url,d):t(m,d);case 14:return a.abrupt("return",!0);case 17:return a.prev=17,a.t0=a["catch"](7),a.abrupt("return",!1);case 20:case"end":return a.stop()}}),c,null,[[7,17]])})))}return{permissions:D,addPermission:r,removePermission:c,checkPermission:p,checkOrAskPermission:v,checkTransactionSignLimit:d}}},98822:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});n(62010);var a=n(50953),r=n(20641),o=(0,a.KR)(null);function i(){function e(e){o.value=e}var t=(0,r.EW)((function(){var e,t,n,a,r,i;return{name:null===(t=null===(e=o.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.name,address:null===(a=null===(n=o.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.host,url:null===(i=null===(r=o.value)||void 0===r?void 0:r.app)||void 0===i?void 0:i.url}}));return{sender:t,popupProps:o,setPopupProps:e}}},54228:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var a=n(2327),r=(n(26099),n(76031),n(50953)),o=n(20641),i=n(31189),s=n(53319),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(e,t){var n=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=c.serializer,d=c.backgroundSync,p=void 0!==d&&d,v=c.migrations,f=c.onRestored,m=!1,g=(0,r.KR)(e);function h(e){null!==e&&(m=!0,g.value=(null===l||void 0===l?void 0:l.read)?l.read(e):e,setTimeout((function(){m=!1}),0))}function A(e){s.v.set(t,e&&(null===l||void 0===l?void 0:l.write)?l.write(e):e)}return function(){u(n,void 0,void 0,(0,a.A)().mark((function e(){var n,r;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.v.get(t);case 2:if(r=e.sent,!(null===v||void 0===v?void 0:v.length)){e.next=8;break}return e.next=6,(0,i.dP)(v)(r);case 6:r=e.sent,null!==r&&A(r);case 8:null===f||void 0===f||f(r),h(r),(0,o.wB)(g,(function(e){m||A(e)}),{deep:!0}),p&&(null===(n=s.v.watch)||void 0===n||n.call(s.v,t,(function(e){return h(e)})));case 12:case"end":return e.stop()}}),e)})))}(),g}},97911:(e,t,n)=>{"use strict";n.d(t,{k:()=>A});var a=n(2327),r=n(55096),o=(n(62953),n(16280),n(76918),n(26099),n(47764),n(50953)),i=n(20641),s=n(65563);const u=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"caller","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","int","Tipping.url"]},{"ReTipReceived":["address","int","Tipping.url"]},{"TipWithdrawn":["address","int","Tipping.url"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"},{"name":"owner","type":"address"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"change_oracle_service","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"new_contract","type":"address"}],"name":"migrate_balance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"unclaimed_for_url","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int"]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"owner","type":"address"},{"name":"oracle_service","type":"OracleService"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"tip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"timestamp","type":"int"},{"name":"url_id","type":"Tipping.url_id"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]'),c=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"TokenContract","payable":false,"typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"account","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","Tipping.amount","Tipping.url"]},{"ReTipReceived":["address","Tipping.amount","Tipping.url"]},{"TipWithdrawn":["address","Tipping.amount","Tipping.url"]},{"TipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"ReTipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"TipDirectReceived":["address","Tipping.amount","Tipping.receiver_str"]},{"TipDirectTokenReceived":["address","Tipping.amount","Tipping.receiver_str","TokenContract"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"}],"name":"tip_direct","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token_direct","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"retip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"unclaimed_for_url","payable":false,"returns":{"tuple":["int",{"map":["TokenContract","int"]}]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int",{"map":["TokenContract","int"]}]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"oracle_service","type":"OracleService"},{"name":"version","type":"string"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"amount","typedef":"int","vars":[]},{"name":"receiver","typedef":"address","vars":[]},{"name":"receiver_str","typedef":"string","vars":[]},{"name":"tip","typedef":{"variant":[{"AeTip":["Tipping.tip_meta","Tipping.url_id","Tipping.amount","Tipping.claim_gen"]},{"TokenTip":["Tipping.tip_meta","Tipping.url_id","Tipping.tip_token_data","Tipping.claim_gen"]},{"DirectAeTip":["Tipping.tip_meta","Tipping.receiver","Tipping.amount"]},{"DirectTokenTip":["Tipping.tip_meta","Tipping.receiver","Tipping.tip_token_data"]}]},"vars":[]},{"name":"tip_token_data","typedef":{"record":[{"name":"token","type":"TokenContract"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"tip_meta","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"timestamp","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"token_amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"token","type":{"option":["TokenContract"]}},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]');var l,d,p=n(31189),v=n(59755),f=n(75265),m=n(81881),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h=(0,o.KR)(!1);function A(){var e=(0,m.f)(),t=e.activeNetwork,n=(0,f.C)(),o=n.getAeSdk,A=n.isTippingSupported,k=(0,i.EW)((function(){switch(t.value.type){case s.dk:return v.qD;case s.Oj:return v.n1;default:return{}}}));function y(){return g(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A.value&&k.value){e.next=2;break}return e.abrupt("return");case 2:return h.value=!0,e.next=5,o();case 5:return t=e.sent,e.next=8,Promise.all([t.initializeContract({aci:u,address:k.value.tippingV1}),k.value.tippingV2?t.initializeContract({aci:c,address:k.value.tippingV2}):void 0]);case 8:n=e.sent,i=(0,r.A)(n,2),l=i[0],d=i[1],h.value=!1;case 13:case"end":return e.stop()}}),e)})))}function b(){var e;return g(this,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l&&l.$options.address===(null===(e=k.value)||void 0===e?void 0:e.tippingV1)){t.next=5;break}return t.next=3,y();case 3:t.next=8;break;case 5:if(!h.value){t.next=8;break}return t.next=8,(0,p.mU)((function(){return!h.value}));case 8:if(l){t.next=10;break}throw Error("failed to initialize tipping contract");case 10:return t.abrupt("return",{tippingV1:l,tippingV2:d});case 11:case"end":return t.stop()}}),t)})))}return{tippingContractAddresses:k,getTippingContracts:b}}},43631:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});n(76031);var a=n(75220),r=n(65563),o=n(84754),i=n(31189);function s(){var e=(0,a.lq)(),t=e.meta,n=(0,o.U8)(),s=n.openModal;function u(e){(0,i.AP)([r.d5.transferSendData],e)}function c(){var e=(0,i._S)([r.d5.transferSendData]);r.hL&&e&&setTimeout((function(){var n,a;s(r.Fv,Object.assign({isMultisig:null===(n=t.value)||void 0===n?void 0:n.isMultisig,tokenContractId:null===(a=null===e||void 0===e?void 0:e.selectedAsset)||void 0===a?void 0:a.contractId},e)),(0,i.sc)([r.d5.transferSendData])}),100)}return{restore:c,save:u}}},909:(e,t,n)=>{"use strict";n.d(t,{m:()=>L});n(44114);var a=n(50953),r=n(20641),o=n(65563),i=n(90973),s=n(2327),u=(n(26099),n(35306)),c=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},l=function(e){return c(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=15;break}return t.next=3,(0,u.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.hiddenCards;case 12:if(a=t.t2,!(null===a||void 0===a?void 0:a.length)){t.next=15;break}return t.abrupt("return",a);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const d=l;var p=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},v=function(e){return p(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=12;break}return t.next=3,(0,u.a)();case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0={};case 6:return n=t.t0,a=n.backedUpSeed,r=void 0!==a&&a,o=n.saveErrorLog,i=void 0!==o&&o,t.abrupt("return",{isSeedBackedUp:r,saveErrorLog:i});case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t)})))};const f=v;var m=n(54228),g=(0,a.KR)(i.qJ),h=(0,a.KR)(!1),A=(0,a.KR)(!1),k=(0,a.KR)({name:i.qJ}),y=(0,a.KR)(!1),b=(0,m.S)([],o.d5.hiddenCards,{migrations:[d]}),w=(0,m.S)({},o.d5.otherSettings,{migrations:[f]}),C=(0,r.EW)((function(){return!!w.value.isSeedBackedUp})),x=(0,r.EW)((function(){return!!w.value.saveErrorLog}));function L(){function e(e,t){g.value!==e&&(g.value=e,t&&t())}function t(e){A.value=e}function n(e){k.value=e}function a(e){y.value=e}function o(){h.value=!document.hidden}function i(e){b.value.push(e)}function s(e){w.value.isSeedBackedUp=e}function u(e){w.value.saveErrorLog=e}function c(){o(),(0,r.sV)((function(){document.addEventListener("visibilitychange",o)})),(0,r.xo)((function(){document.removeEventListener("visibilitychange",o)}))}function l(){b.value=[],w.value={}}return{homeRouteName:g,hiddenCards:b,isAppActive:h,loginTargetLocation:k,qrScannerOpen:y,isLoaderVisible:A,isSeedBackedUp:C,saveErrorLog:x,initVisibilityListeners:c,setCardHidden:i,setBackedUpSeed:s,setSaveErrorLog:u,setHomeRouteName:e,setLoginTargetLocation:n,setQrScanner:a,setLoaderVisible:t,resetUiSettings:l}}},53368:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var a=n(63366),r=n(50953),o=n(20641),i=(0,r.KR)(),s=function(){var e=(0,a.A)((function(e){if(i.value){var t=i.value,n=t.scrollHeight,a=t.scrollTop,r=t.clientHeight,o=n-a<=r+100;e({isOutsideOfViewport:o})}}),50);function t(e){i.value=e}function n(t){i.value&&i.value.addEventListener("scroll",(function(){return e(t)})),window.addEventListener("scroll",(function(){return e(t)})),(0,o.xo)((function(){i.value&&i.value.removeEventListener("scroll",(function(){return e(t)})),window.removeEventListener("scroll",(function(){return e(t)}))}))}return{viewportElement:i,onViewportScroll:n,initViewport:t}}},37534:(e,t,n)=>{"use strict";n.d(t,{$b:()=>fe,$m:()=>a,AK:()=>i,Dd:()=>Ve,E0:()=>Z,E4:()=>o,E9:()=>v,Fl:()=>U,Fv:()=>ke,G9:()=>$,H1:()=>X,He:()=>we,Hk:()=>g,Hn:()=>J,I1:()=>L,I9:()=>D,IS:()=>De,Iu:()=>P,Jw:()=>_e,K$:()=>ee,K0:()=>I,LX:()=>l,LY:()=>q,LZ:()=>Te,MW:()=>Se,Mc:()=>ae,NB:()=>Fe,NX:()=>h,OO:()=>E,Oj:()=>w,PM:()=>F,Pu:()=>Y,Qb:()=>C,R$:()=>ge,TG:()=>ye,TP:()=>f,VG:()=>S,X0:()=>de,XA:()=>p,Xn:()=>Re,Y6:()=>Xe,ZH:()=>A,_3:()=>Be,_B:()=>se,_V:()=>s,b1:()=>N,bG:()=>re,c9:()=>ue,d5:()=>M,dL:()=>Ne,dk:()=>b,dy:()=>Ue,eN:()=>le,ei:()=>K,gK:()=>ce,g_:()=>ie,hS:()=>Me,hg:()=>We,iE:()=>te,iL:()=>he,iP:()=>d,jA:()=>Ee,kQ:()=>ve,kV:()=>ne,ld:()=>pe,mp:()=>Ae,nO:()=>V,nZ:()=>c,nf:()=>m,o1:()=>oe,om:()=>be,pE:()=>z,qj:()=>_,rM:()=>me,rh:()=>u,sW:()=>Le,su:()=>Ie,tF:()=>Ce,tk:()=>He,u8:()=>T,uL:()=>j,uR:()=>Q,ul:()=>G,um:()=>B,uw:()=>$e,w:()=>W,wz:()=>Pe,x0:()=>Oe,xS:()=>k,y1:()=>x,y5:()=>H,yR:()=>O,yS:()=>R,yv:()=>r,zE:()=>y,ze:()=>xe});n(16034);var a="sh-wallet",r={aeternity:"aeternity",bitcoin:"bitcoin",ethereum:"ethereum"},o=Object.values(r),i="AccountDetails",s="AccountDetailsTokens",u="AccountDetailsNames",c="TransactionDetails",l="TransferReceiveModal",d="TransferSendModal",p=[i,c,s,u,l,d],v=5,f=12,m=9,g=2,h={sent:"sent",received:"received"},A={POPUP:"POPUP",OTHER:"OTHER"},k=/^[1-9A-HJ-NP-Za-km-z]{48,50}$/,y="hd-wallet",b="mainnet",w="testnet",C="custom",x="Mainnet",L="Testnet",S=15,T=15,E=30,I=30,_=17e3,W="CREATED",F="READ",D={wallet:"wallet",commentOnTip:"COMMENT_ON_TIP",commentOnComment:"COMMENT_ON_COMMENT",tipOnComment:"TIP_ON_COMMENT",claimOfTip:"CLAIM_OF_TIP",claimOfRetip:"CLAIM_OF_RETIP",retipOnTip:"RETIP_ON_TIP"},B="AENS",P="DEX",M={mnemonic:"mnemonic",accountsRaw:"accounts-raw",activeAccountGlobalIdx:"active-account-global-idx",protocolLastActiveAccountIdx:"protocol-last-active-account-idx",balances:"balances",customNetworks:"custom-networks",activeNetworkName:"active-network-name",hiddenCards:"hidden-cards",otherSettings:"other-settings",errorLog:"error-log",invites:"invites",namesOwned:"names-owned",namesDefault:"names-default",notificationsSettings:"notifications-settings",lastRoute:"last-route",fungibleTokenList:"fungible-token-list",fungibleTokenBalances:"fungible-token-balances",permissions:"permissions",appsBrowserHistory:"apps-browser-history",transactionsLatest:"transactions-latest",transactionsLoaded:"transactions-loaded",transactionsPending:"transactions-pending",transferSendData:"transfer-send-data"},O=[{name:"United States Dollar",code:"usd",symbol:"$"},{name:"Euro",code:"eur",symbol:"€"},{name:"Australia Dollar",code:"aud",symbol:"AU$"},{name:"Brasil Real",code:"brl",symbol:"R$"},{name:"Canada Dollar",code:"cad",symbol:"CA$"},{name:"Swiss Franc",code:"chf",symbol:"CHF"},{name:"China Yuan Renminbi",code:"cny",symbol:"¥"},{name:"Czech Republic Koruna",code:"czk",symbol:"Kč"},{name:"Denmark Krone",code:"dkk",symbol:"Kr"},{name:"United Kingdom Pound",code:"gbp",symbol:"£"},{name:"Hong Kong Dollar",code:"hkd",symbol:"HK$"},{name:"Hungary Forint",code:"huf",symbol:"Ft"},{name:"Indonesia Rupiah",code:"idr",symbol:"Rp"},{name:"Israel Shekel",code:"ils",symbol:"₪"},{name:"India Rupee",code:"inr",symbol:"₹"},{name:"Japan Yen",code:"jpy",symbol:"¥"},{name:"South Korea Won",code:"krw",symbol:"₩"},{name:"Mexico Peso",code:"mxn",symbol:"MX$"},{name:"Malaysia Ringgit",code:"myr",symbol:"MR"},{name:"Norway Krone",code:"nok",symbol:"Kr"},{name:"New Zealand Dollar",code:"nzd",symbol:"NZ$"},{name:"Philippines Peso",code:"php",symbol:"₱"},{name:"Poland Zloty",code:"pln",symbol:"zł"},{name:"Russia Ruble",code:"rub",symbol:"₽"},{name:"Sweden Krona",code:"sek",symbol:"Kr"},{name:"Singapore Dollar",code:"sgd",symbol:"SG$"},{name:"Thailand Baht",code:"thb",symbol:"฿"},{name:"Turkey Lira",code:"try",symbol:"₺"},{name:"South Africa Rand",code:"zar",symbol:"R"},{name:"Gold Ounce",code:"xau",symbol:"XAU"}],R="https://wallet.superhero.com",N="https://chrome.google.com/webstore/detail/superhero/mnhmmkepfddpifjkamaligfeemcbhdne",U="https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet",X="https://play.google.com/store/apps/details?id=com.superhero.cordova",V="https://apps.apple.com/us/app/superhero-wallet/id1502786641",H="https://spgrrc00ymg.typeform.com/to/Kk3Zyjdr",$="https://superhero.com/",j=["https://chat.superhero.com","https://chat.superhero.chat","https://matrix.superhero.chat"],K="superherowallet@protonmail.com",q="account-create",G="account-ae-create",Q="import-account",Z="account-select-options",Y="asset-selector",z="claim-success",J="confirm",ee="confirm-transaction-sign",te="confirm-raw-sign",ne="confirm-connect",ae="confirm-account-list",re="consensus-info",oe="default",ie="error-log",se="form-select-options",ue="help",ce="confirm-message-sign",le="multisig-proposal-confirm-action",de="multisig-vault-create",pe="network-switcher",ve="payload-form",fe="read-qr-code",me="recipient-helper",ge="recipient-info",he="reset-wallet",Ae="transfer-receive",ke="transfer-send",ye="browser-actions",be="warning-dapp-browser",we="claim-gift-card",Ce="connectConfirm",xe="account-list",Le="sign",Se="messageSign",Te="rawSign",Ee="address",Ie="transactions",_e={getProps:"getProps",resolve:"resolve",reject:"reject"},We={host:"",name:"",address:!1,addressList:!1,messageSign:!1,dailySpendLimit:!1,transactionSignLimit:0,transactionSignSpent:0,transactionSignFirstAskedOn:null},Fe="TIP",De={success:"success",warning:"warning",error:"error"},Be={buyAe:"buyAe",claimName:"claimName",faucet:"faucet",daeppBrowser:null},Pe=["alert","critical","help","info","not-secure","success","warning"],Me={xs:"xs",sm:"sm",rg:"rg",md:"md",lg:"lg",xl:"xl",xxl:"xxl"},Oe={form:"form",review:"review",reviewTip:"tip"},Re="en-US",Ne={refresh:"refresh",share:"share",favourite:"favourite"},Ue=150,Xe=10,Ve={coin:"coin",token:"token"},He=6e5,$e=15e3},65563:(e,t,n)=>{"use strict";n.d(t,{zE:()=>a.zE,E9:()=>a.E9,um:()=>a.um,G9:()=>a.G9,wz:()=>a.wz,H1:()=>a.H1,b1:()=>a.b1,Fl:()=>a.Fl,nO:()=>a.nO,yS:()=>a.yS,Dd:()=>a.Dd,qj:()=>a.qj,dL:()=>a.dL,y5:()=>a.y5,ZH:()=>a.ZH,ei:()=>a.ei,yR:()=>a.yR,_3:()=>a._3,nf:()=>a.nf,Hk:()=>a.Hk,Xn:()=>a.Xn,u8:()=>a.u8,Iu:()=>a.Iu,XA:()=>a.XA,l2:()=>x,OO:()=>a.OO,xS:()=>a.xS,hS:()=>a.hS,IS:()=>a.IS,IX:()=>p,bW:()=>l,m_:()=>y,hL:()=>m,ys:()=>g,$M:()=>b,pz:()=>A,I$:()=>f,Hy:()=>k,pb:()=>h,p8:()=>w,u2:()=>v,$m:()=>a.$m,Y6:()=>a.Y6,LY:()=>a.LY,uR:()=>a.uR,E0:()=>a.E0,ul:()=>a.ul,Pu:()=>a.Pu,He:()=>a.He,pE:()=>a.pE,Hn:()=>a.Hn,Mc:()=>a.Mc,kV:()=>a.kV,iE:()=>a.iE,K$:()=>a.K$,bG:()=>a.bG,TG:()=>a.TG,o1:()=>a.o1,g_:()=>a.g_,_B:()=>a._B,c9:()=>a.c9,gK:()=>a.gK,eN:()=>a.eN,X0:()=>a.X0,ld:()=>a.ld,kQ:()=>a.kQ,$b:()=>a.$b,rM:()=>a.rM,R$:()=>a.R$,iL:()=>a.iL,mp:()=>a.mp,Fv:()=>a.Fv,om:()=>a.om,y1:()=>a.y1,VG:()=>a.VG,I1:()=>a.I1,Qb:()=>a.Qb,dk:()=>a.dk,Oj:()=>a.Oj,NB:()=>a.NB,w:()=>a.w,PM:()=>a.PM,I9:()=>a.I9,dy:()=>a.dy,hg:()=>a.hg,uw:()=>a.uw,Jw:()=>a.Jw,jA:()=>a.jA,su:()=>a.su,WZ:()=>d,ze:()=>a.ze,tF:()=>a.tF,MW:()=>a.MW,LZ:()=>a.LZ,sW:()=>a.sW,yv:()=>a.yv,E4:()=>a.E4,AK:()=>a.AK,_V:()=>a._V,rh:()=>a.rh,nZ:()=>a.nZ,LX:()=>a.LX,iP:()=>a.iP,dx:()=>c,yW:()=>u,TP:()=>a.TP,d5:()=>a.d5,uL:()=>a.uL,tk:()=>a.tk,x0:()=>a.x0,K0:()=>a.K0,NX:()=>a.NX,s4:()=>C});var a=n(37534),r=(n(74423),n(62010),n(26099),n(99449),n(21699),n(47764),n(11392),n(62953),n(3296),n(48408),n(14603),n(47566),n(98721),n(37736)),o=navigator.userAgent.toLowerCase(),i=new URL(window.location.href),s="web",u=!1,c=!(!i.searchParams.get("id")||!window.location.pathname.includes("index.html")&&!u),l=!!window.opener&&window.name.startsWith("popup-"),d=i.searchParams.get("type")||null,p=window.parent!==window,v="web"===s,f="ionic"===s,m="extension"===s&&!u,g=m&&window.location.href.endsWith("_generated_background_page.html"),h="/offscreen.html"===window.location.pathname,A=(0,r.a)("ios"),k=((0,r.a)("android"),(0,r.a)("mobile")),y=o.includes("chrome"),b=o.includes("firefox"),w=!0,C=!1,x=""},59794:(e,t,n)=>{"use strict";n.d(t,{DZ:()=>x,FE:()=>b,_7:()=>d,km:()=>c,xQ:()=>v,zk:()=>l});var a=n(1287),r=(n(23288),n(91087)),o=n(65984),i=n(60346),s=n(59755),u=n(37534),c="ak_enAPooFqpTQKkhJmU47J16QZu9HbPQQPwWBVeGnzDbDnv9dxp",l="ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6",d="cb_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDJfUrsdAtW6IZtMvhp0+eVDUiQivrquyBwXrl/ujPLcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUEMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJvjRF",p="tx_+FEMAaEByqPFadmQk4sGtyDiquosAZyKJNmherKOhheVIEYTLCKhAcqjxWnZkJOLBrcg4qrqLAGciiTZoXqyjoYXlSBGEywiC4YPJvVhyAAAE4ALeFGB",v=1e4,f="ct_T6MWNrowGVC9dyTDksCBrCCSaeK3hzBMMY5hhMKwvwr8wJvM8",m="ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",g="ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu",h={mnemonic:"media view gym mystery all fault truck target envelope kit drop fade",address:"ak_2fxchiLvnj9VADMAXHBiKPsaCEsTFehAspcmWJ3ZzF3pFK1hB5",protocol:u.yv.aeternity},A="ak_2ELPCWzcTdiyYuumjaV4D7kE843d1Ts27zH1Y2LBMKDbNtfq1Q",k="ct_ym8eXWR2YfQZcMaXA8GFid9aarfCozGkeMcRHYVCVoBdVMzio",y=(s.GO,{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}),b=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.tF,{app:y}),u.ze,{app:y}),u.MW,{app:y,message:"test"}),u.LZ,{app:y,txBase64:p}),u.sW,{app:y,tx:{type:r.vw[r.vw.SpendTx],VSN:"1",senderId:h.address,recipientId:A,amount:1e15,fee:1682e10,nonce:190,payload:"ba_Xfbg4g==",arguments:[],callerId:c,contractId:l}}),"base",{app:y,action:{params:{returnSigned:!1},method:"transaction.sign"}}),w=new i.A(2).exponentiatedBy(256).minus(1).toNumber(),C={amount:1e17,ttl:w,nonce:w,fee:1e16,gas:1579e3,gasPrice:1e9,waitMined:!0,denomination:o.j8.AETTOS,clientTtl:84600,nameTtl:5e4,nameFee:0,deposit:0,options:"",dryRunAccount:{pub:"ak_11111111111111111111111111111111273Yts",amount:1e35},queryFee:3e4,oracleTtl:{type:"delta",value:500},queryTtl:{type:"delta",value:10},responseTtl:{type:"delta",value:10},ctVersion:{abiVersion:r.BL.Sophia,vmVersion:r.SM.Sophia},abiVersion:r.BL.Sophia,callData:d},x=(0,a.A)((0,a.A)((0,a.A)({},r.vw[r.vw.ContractCreateTx],Object.assign({ownerId:h.address,code:"cb_+LBGA6DK15BWhAK4E5OWH1kkfhQIx/qEDTVv8hrfY/bk13cN88C4g7hT/iiALJYANwGXQDcAGgaCAAEDP/5E1kQfADcANwAaDoKfAYEKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqgEDP/6LoCthADcAl0ABAoKqLwMRKIAsliVzZXRfYnl0ZXMRRNZEHxFpbml0EYugK2ElZ2V0X2J5dGVzgi8AhTQuMi4wABHX/Rk="},C)),r.vw[r.vw.ContractCallTx],Object.assign({contractId:k,callerId:h.address},C)),r.vw[r.vw.SpendTx],Object.assign({senderId:h.address,recipientId:A},C)),L=(new Date).getTime();u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,s.cK,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity},32118:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});n(16280),n(76918),n(72712),n(26099);var a=n(65563),r=function(){var e={},t={};function n(t,n){e[t]=n}function r(n){if(!e[n])throw new Error("Protocol ".concat(n," is not registered"));return t[n]||(t[n]=new e[n]),t[n]}function o(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isAccountAddressValid(e,t)&&(n=o)}return n}),void 0)}function i(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isValidAddressOrNameEncoding(e,t)&&(n=o)}return n}),void 0)}return{registerAdapter:n,getAdapter:r,getAdapterByAccountAddress:o,getAdapterByAddressOrNameEncoding:i}}()},41370:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var a=n(13217),r=n(41417),o=(0,a.A)((function e(){(0,r.A)(this,e)}))},74335:(e,t,n)=>{"use strict";n.d(t,{r:()=>l});var a=n(1287),r=(n(62953),n(48408),n(76918),n(50113),n(48598),n(44114),n(23288),n(26099),n(38781),n(47764),n(14603),n(47566),n(98721),n(84754)),o=n(65563),i=n(90973),s=n(32118),u="op",c="token",l=function(){function e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return[o.yS,e,"?",new URLSearchParams(Object.assign((0,a.A)({},u,t),n)).toString()].join("")}var t={transferSend:function(e,t){var n=(0,r.U8)(),a=n.openModal,i=(0,r.oV)(),u=i.setActiveAccountByProtocol,l=t[c],d=o.E4.find((function(e){var t=s.C.getAdapter(e);return t.getUrlTokenKey()===l}));return u(d||o.yv.aeternity),a(o.Fv),!0},addNetwork:function(e,t){return e.push({name:i.jA,query:t}),!1}};function n(e){var n=e.beforeResolve((function(a,r,o){var i=a.query,s=null===i||void 0===i?void 0:i[u];if(s&&"string"===typeof s&&t[s]){var c=Object.assign({},i);delete c[u];var l=t[s](e,c);l&&o(),n()}else o()}))}return{createUrl:e,init:n}}()},53319:(e,t,n)=>{"use strict";n.d(t,{v:()=>d});var a=n(2327),r=n(1287),o=(n(74423),n(33110),n(79432),n(26099),n(21699),n(46996)),i=n(65563),s=n(31189),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(){var e=this,t=browser.storage.local;return{set:function(e,n){return t.set((0,r.A)({},(0,s.ee)(e),JSON.stringify(n)))},get:function(n){return u(e,void 0,void 0,(0,a.A)().mark((function e(){var r,o;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,s.ee)(n),e.next=3,t.get(r);case 3:return e.t0=r,o=e.sent[e.t0],e.abrupt("return",o?JSON.parse(o):null);case 6:case"end":return e.stop()}}),e)})))},remove:function(e){return t.remove(e)},watch:function(e,t){var n,a;null===(a=null===(n=null===browser||void 0===browser?void 0:browser.storage)||void 0===n?void 0:n.onChanged)||void 0===a||a.addListener((function(n){var a=n[(0,s.ee)(e)];a&&!(0,o.A)(a.newValue,a.oldValue)&&t(JSON.parse(a.newValue))}))},clear:function(){return t.clear()}}}function l(){var e=this;return{set:function(e,t){return new Promise((function(n){return n(localStorage.setItem((0,s.ee)(e),JSON.stringify(t)))}))},get:function(e){return new Promise((function(t){var n=localStorage.getItem((0,s.ee)(e));t(n?JSON.parse(n):null)}))},remove:function(e){return new Promise((function(t){return t(localStorage.removeItem((0,s.ee)(e)))}))},watch:function(e,t){i.pb&&window.addEventListener("storage",(function(n){(0,s.ee)(e).includes(n.key)&&n&&!(0,o.A)(n.newValue,n.oldValue)&&t(JSON.parse(n.newValue))}))},clear:function(){return u(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",localStorage.clear());case 1:case"end":return e.stop()}}),e)})))}}}var d=!i.yW&&!i.pb&&i.ys&&browser?c():l()},39262:(e,t,n)=>{"use strict";n.d(t,{v:()=>u,y:()=>c});var a=n(13217),r=n(41417),o=n(6624),i=n(217),s=n(20852),u=(n(16280),n(76918),n(62010),function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["Rejected by user"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))),c=function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["No UserMedia permission"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))},12589:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(6682),r=n(73808),o=n(2327),i=n(41417),s=n(13217),u=(n(52675),n(76918),n(28706),n(74423),n(25276),n(59089),n(23288),n(62010),n(1480),n(26099),n(38781),n(21699),n(83997)),c=n(48468),l=n(65563),d=n(84754),p=n(39262),v=n(53319),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},a=n.background,i=void 0!==a&&a,s=n.app;e.background=i,!i&&s&&(s.config.errorHandler=function(t,n,a){console.error(t,a),t&&t instanceof p.v&&e.write({message:t.toString(),info:a,type:"vue-error"})},s.config.warnHandler=function(e,t,n){console.warn(e,n)}),window.addEventListener("unhandledrejection",(function(n){return f(t,void 0,void 0,(0,o.A)().mark((function t(){var a,r,i,s;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=n.reason||{},r=a.stack,i=a.message,s=a.name,!("string"===typeof a&&a.includes("CompileError: WebAssembly.instantiate()")||"NavigationDuplicated"===s||a&&a instanceof p.v)){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,e.write({message:"string"===typeof a?a:i,stack:r,type:"unhandledrejection"});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](4),console.error("Logger:",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))})),window.onerror=function(t,n,a,o,i){e.write({message:"object"===(0,r.A)(t)?t.type:t,stack:"".concat(n," ").concat(a,":").concat(o),type:"window-error",info:i})}}},{key:"write",value:function(t){var n=t.modal,r=void 0===n?!l.p8:n,i=m(t,["modal"]);return f(this,void 0,void 0,(0,o.A)().mark((function t(){var n,s,p,f;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.saveErrorLog.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.get();case 4:n=t.sent,s={error:Object.assign({},(0,u.A)(i,["name"].concat((0,a.A)(Object.getOwnPropertyNames(i))))),appVersion:"2.2.0",browser:(0,c.o0)(),platform:"web",time:Date.now()},v.v.set(l.d5.errorLog,[].concat((0,a.A)(n),[s])),!e.background&&r&&i.message&&(p=(0,d.U8)(),f=p.openErrorModal,f(s));case 8:case"end":return t.stop()}}),t)})))}},{key:"get",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v.v.get(l.d5.errorLog);case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[];case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e)})))}},{key:"sendLog",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function t(){return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.get();case 2:t.sent;case 4:case"end":return t.stop()}}),t)})))}}]),e}();g.saveErrorLog=(0,d.mv)().saveErrorLog},35306:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});var a=n(2327),r=(n(26099),n(65563)),o=n(31189),i=n(50953),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=function(){var e,t=(0,i.KR)(!1);return function(){return s(void 0,void 0,void 0,(0,a.A)().mark((function n(){var i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===window||void 0===window?void 0:window.browser)){n.next=21;break}if(!t.value){n.next=6;break}return n.next=4,(0,o.mU)(t);case 4:n.next=21;break;case 6:if(e||r.pb){n.next=21;break}return t.value=!0,n.next=10,window.browser.storage.local.get("state");case 10:if(n.t1=i=n.sent,n.t0=null===n.t1,n.t0){n.next=14;break}n.t0=void 0===i;case 14:if(!n.t0){n.next=18;break}n.t2=void 0,n.next=19;break;case 18:n.t2=i.state;case 19:e=n.t2,t.value=!1;case 21:return n.abrupt("return",e);case 22:case"end":return n.stop()}}),n)})))}}()},44416:(e,t,n)=>{"use strict";n.d(t,{r4:()=>u,l$:()=>o,KR:()=>i});var a=n(67746),r=n(65563),o=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).fromTo("transform","translateY(70%)","translateY(0px)").duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).addElement(document.querySelector("#header")).fromTo("opacity",1,0).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},i=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).addElement(document.querySelector("#header")).fromTo("opacity",0,1).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0).fromTo("transform","translateY(0)","translateY(70%)").duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},s=100,u=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).duration(s),r=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0),o=(0,a.c)().addAnimation(n).addAnimation(r);return o}},44343:(e,t,n)=>{"use strict";n.d(t,{Ru:()=>u,eo:()=>l,tg:()=>c});var a=n(1287),r=(n(26099),n(47764),n(62953),n(46992));const o=JSON.parse('{"common":{"address":"Address","addressCopied":"Copied","ae":"AE","all":"All","allAddresses":"All account addresses","amount":"Amount","balanceUnavailable":"Unable to load balance.","buy":"Buy","by":"by","callData":"Call data","cancel":"Cancel","confirm":"Confirm","contractId":"Contract ID","copy":"Copy","days":"{n} days | {n} day | {n} days","edit":"Edit","faucet":"Faucet","fellowSuperhero":"Fellow Superhero","fundsAreSafe":"Keep calm! Your funds are safe with Superhero wallet.","hashCopied":"Hash copied","hours":"{n} hours | {n} hour | {n} hours","hoursShort":"{n} h","minutes":"{n} minutes | {n} minute | {n} minutes","minutesShort":"{n} mins | {n} min | {n} mins","next":"Next","nonce":"Nonce","of":"of","ok":"OK","pending":"Pending","priceNotAvailable":"price: n/a","receive":"Receive","search":"Search","seconds":"{n} seconds | {n} second | {n} seconds","secondsShort":"{n} s","send":"Send","smartContract":"Smart contract","swap":"Swap","browser":"Browser","title":"Superhero wallet","total":"Total","totalMultisig":"Total in multisig vaults","tx":"Tx","unrecognized":"Unrecognized","you":"You","verifying":"Verifying","max":"MAX","tokens":"tokens","transferSpeed":{"fast":"Fast","medium":"Medium","slow":"Slow"},"actionMayTakeFewMoments":"This may take a few moments.","backToHome":"Proceed to dashboard"},"connectionStatus":{"offline":"You are offline. Go online to get real time data.","node":{"error":"Unable to connect to the chosen node.","connecting":"Connecting to the node...","connected":"Connected"},"middleware":{"unavailable":"Middleware is offline."}},"badges":{"verified":"Verified","notVerified":"Not verified"},"dashboard":{"selectAccount":"Select active account","receiveCard":{"description":"from existing wallet","descriptionMultisig":"to multisig vault"},"sendCard":{"description":"assets to others"},"proposeCard":{"title":"Propose Tx","description":"to other signers"},"backUpCard":{"title":"Back up your seed phrase","description":"Make a copy of your seed phrase to be able to recover your wallet and avoid losing your funds.","button":"Back up now"},"daeppBrowserCard":{"title":"Browse the æcosystem","description":"Explore æpps from within your wallet with the new built-in browser.","button":"Browse"},"buyCard":{"title":"Buy AE coin","description":"Use Simplex to buy AE coins with your credit card or bank account.","button":"Buy AE"},"nameCard":{"title":"Claim your own .chain name","description":"Get a human-readable name for your account and receive funds with it.","button":"Claim a name"},"latestTransactionCard":{"title":"Latest transactions"},"pendingMultisigCard":{"title":"Pending multisig transaction"}},"multisig":{"backToMainAccounts":"Back to main accounts","showMultisigVaults":"Show multisig vaults","consensus":"Consensus","signatureRequested":"Your signature is requested.","transactionSigned":"You have signed the transaction.","transactionReady":"Transaction is ready to be sent","multisigVault":"Multisig vault","address":"Multisig vault address","version":"Contract version","currentNonce":"Current nonce","authorizedSigners":"Authorized signers","explorerLink":"View smart contract in blockchain explorer","consensusPending":"Consensus pending","multisigVaultCreationFailed":"Multisig creation failed","needForApproval":"Needed for approval","creatingAccount":"Creating account (pays for the transaction)","approved":"Approved","waitingToBeSent":"Waiting to be sent...","scanAddress":"Scan æternity address"},"modals":{"createAccount":{"title":"Add account","titleMultisig":"Add multisig vault","titleAeternityAccount":"Add æternity account","msg":"Please select blockchain to add an account address to.","msgMultisig":"Generate new multisig account address and add it to your wallet.","msgAeternity":"Generate new account address to store, send and receive crypto currency on the æternity blockhain.","btnSubtitle":"Derive another account from your seed","addProtocolAccount":"Add {name} account"},"transaction-failed":{"msg":"We cannot process this transaction. Please, try again later."},"required":{"msg":"Please fill in all fields."},"payloadInfo":{"title":"Payload message","msg":"A payload is an optional public message composed by the sender and sent to the recipient along with a blockchain transaction.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Payload can be utilized as additional transaction identifier, destination tag (required by some centralized exchanges when depositing funds), or just to provide any extra information in free-form text."},"payloadForm":{"title":"Add payload (optional)","desc":"Send a public message with your transaction for approx. 0.00000002 AE per character.","label":"Payload message","doneBtn":"Done"},"only-chars":{"msg":"Only letters and numbers are allowed."},"name-exist":{"msg":"This name is already registered."},"name-length":{"msg":"Names on SUPERHERO have to be a minimum of 13 characters."},"incorrect-address":{"msg":"Please make sure that you have entered a valid public address."},"incorrect-amount":{"msg":"Please make sure you entered a valid amount."},"insufficient-balance":{"msg":"You do not have enough balance for this transaction."},"vaultLowBalance":{"title":"Insufficient vault balance","msg":"The vault does not have enough funds to pay for this transaction (proposed amount + network fee)."},"accountLowBalance":{"title":"Insufficient funds","msg":"You don’t have enough AE on your signing account to {action} this transaction."},"createMultisigAccount":{"title":"Create new multisig vault","btnText":"Create multisig vault","btnTextShort":"Create vault","btnSubtitle":"Manage funds with multiple accounts","signer":"Signer","signerInputPlaceholder":"Signer\'s account address","addSigner":"Add Signer","selectAccount":"Select an account","addSignerHelpMsg":"Each multisig transaction needs to be confirmed by the signatures of a preset number of authorized accounts.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}As the creator of this multisig vault you can determine the authorized signers and set the consensus required for a transaction confirmation.","consensusRequiredDesc":"Consensus required for tx confirmation:","consensusRequiredContent":"of {0} signatures","consensusRequiredHelpTitle":"Consensus required","consensusRequiredHelpMsg":"As the creator of this multisig vault you can determine the authorized signers and set the consensus needed for a transaction confirmation (how many signatures are required to confirm each transaction).","createMultisigVault":"Create Vault","errorDuplicatingSigner":"You can not add the same account address as a signer more than once.","errorDuplicatingInputMessage":"Duplicated account address","errorNotEnoughBalanceToCreateVault":"Not enough balance in this account. Creating multisig vault requires at least {0}."},"creatingMultisigAccount":{"title":"Creating vault progress","btnText":"Go to wallet dashboard","vaultAccessibleMessage":"Multisig vault has been successfully added to you wallet dashboard.","vaultCreatedMessage":"You may proceed to wallet dashboard.","vaultCreatedMessageSub":"Your newly created multisig vault will become visible to other authorized signers in a short period of time (usually it takes about a minute or two).","preparingMultisigVault":"Preparing multisig vault","deployingSmartContract":"Deploying smart contract","creatingMultisigVault":"Creating multisig vault account","addingToWallet":"Adding multisig vault to the wallet","addingToWalletCard":"Adding to wallet...","syncingVault":"Syncing multisig vault","takingLong":"This step may take a few moments.","syncing":"Syncing..."},"consensusInfo":{"title":"Multisig consensus","subtitle":" X/Y of Z","firstPoint":"{\'<\'}strong{\'>\'}X ={\'<\'}/strong{\'>\'} accounts that have already signed the transaction;","secondPoint":"{\'<\'}strong{\'>\'}Y ={\'<\'}/strong{\'>\'} number of signatures required to approve the transaction;","thirdPoint":"{\'<\'}strong{\'>\'}Z ={\'<\'}/strong{\'>\'} number of authorized signers.","description":"If {\'<\'}strong{\'>\'}X=Y{\'<\'}/strong{\'>\'} the multisig consensus has been reached. The transaction proposal has been approved and the transaction can be sent by any of the authorized signers."},"removeAccount":{"title":"Are you sure you want to remove this account?","msg":"This action will remove your account from the wallet and will delete the extension storage. Make sure you have backed up your seed phrase before proceeding. This action cannot be undone!"},"verify":{"title":"Verify your URL","msg":"Make sure that the public address of your Superhero wallet, or your .chain name, is added somewhere on the website you want to claim tips for."},"recipient":{"title":"Send cryptocurrency","ae-sub-header":"to public address or .chain name","sub-header":"to public {protocolName} address","msg":{"publicAddress":{"title":"Send to public address","msg":"{0} scan QR code or manually enter recipient’s account address."},"chain":{"title":"Send to .chain name","linkTitle":"claim your own .chain name","msg":"{0} AENS name is a human friendly nickname ending with .chain that points to recipient’s æccount. Before sending any funds make sure the recipient is still the name owner. You can also {1} and set a pointer to one of your public addresses!"}}},"readMore":{"msg":"{0} about tipping and claiming cryptocurrency tips.","linkTitle":"Read more"},"verified":{"title":"Verified URL","msg":"The Superhero wallet identifies this URL as verified. This means that æternity blockchain account address has been found on the webpage and tips can be successfully claimed by its owner."},"not-verified":{"title":"Not verified URL","msg":"This means that we could not find æternity blockchain account address at this URL. The URL owner will be able to claim all tips accumulated as soon as they add their account address to the web page content."},"blacklisted":{"title":"Inaccessible URL","msg":"The Superhero wallet can tip any public URL. Currently, web pages that require logging in to view information cannot be tipped. We\'re still working on solutions for this."},"not-secure":{"title":"Not secure URL","msg":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only. The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"Something went wrong","sub-title":"Be a Superhero!","content":"Please provide more information about the error you encountered so we can improve our superpowers. No personal data will be collected.","create-report":"Create report"},"donate-errors":{"title":"Your Error Report Has Been Sent","msg":"Thank you for being such a helpful Superhero!"},"donate-errors-error":{"title":"Your Error Report Was not send","msg":"There was problem sending your error report."},"invalid-qr-code":{"msg":"The scanned QR code is invalid."},"confirmTransactionSign":{"recipientId":"Recipient ID","commitmentId":"Commitment ID","nameFee":"Name fee","nameId":"Name ID","pointers":"Pointers","data-sign":"Data to sign","functionName":"Function name","arguments":"Arguments","superheroChat":"Superhero Chat","unableToExecute":"This transaction can not be executed.","confirmSigning":"would like you to confirm a transaction."},"confirm-raw-sign":{"title":"Sign raw transaction","warning":{"title":"Transaction Warning","content":"Transaction data is either broken or Superhero wallet doesn’t support this type of transactions yet. Signing it may cause unexpected results including loss of your funds or other malicious effects.{0}{0}Be careful and sign the data only if you trust the aepp and its owner."}},"qrCodeReader":{"grantPermission":"Grant camera permission","scanQr":"Scan QR code","subtitle":"Allow Superhero wallet to access your camera in order to scan QR codes.","settings":"Settings"},"name-pointers-help":{"title":"Name pointers","msg":"Name pointer associates a .chain name with an account address so that the name becomes human-readable alias of the address."},"auctions-help":{"title":"Auctions and bidding","msg":"If your .chain name is {\'<\'}strong{\'>\'}12 characters or less{\'<\'}/strong{\'>\'} – you’ve got to bid for it in an auction. To win the bidding process, all you have to do is have the highest bid once the auction ends! If somebody outbids you – all of your funds are automatically returned.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Auction periods and initial fees vary as the length of the name varies – the shorter the name, the higher the fee and longer the period."},"autoextend-help":{"title":"Autoextend name","msg":"In order to encourage the active usage of .chain names their ownership is limited in time by default.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Selecting the auto-extend option guarantees that you will not lose the ownership of a .chain name.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Your .chain name will be auto-extended at the cost of a simple name update transaction (under a penny as you are taking advantage of the super-low transaction fees of aeternity blockchain)"},"receive":{"funds":"funds","title":"Receive {name} to public address","requestAmount":"Request specific amount (optional)","copied":"Copied!","share":"Share","shareTextNoAmount":"My {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}","shareTextWithAmount":"{amount} {coinSymbol} has been requested. Send to {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}"},"receiveMultisig":{"title":"Receive funds to multisig vault"},"send":{"sendTitle":"Send funds","sendAsset":"Send {name}","reviewTitle":"Review transaction","successTitle":"Transaction successfully submitted","recipientLabel":"Recipient","recipientPlaceholder":"Enter public address or .chain name","recipientPlaceholderUrl":"Enter public address, .chain name or URL","recipientPlaceholderProtocol":"Enter {name} public address","recipientPlaceholderENS":"or ENS name","transactionSpeed":"Transaction speed","transactionWillBeCompleted":"Transaction will be completed in ≈{time}.","payload":"Payload"},"multisigTxProposal":{"title":"Multisig transaction proposal","multisigVault":"Multisig vault","amount":"Propose amount","amountProposed":"Proposed amount","signingAddress":"Signing address","signingAccount":"Signing account","fee":"Proposal transaction fee","proposeAndApprove":"Propose and approve","tokenWarning":"Multisig transactions currently support AE coin only."},"wrongNetwork":{"title":"Network discrepancy","msg":"This action was initiated on a different network. Please switch to {0} in your wallet settings to proceed.","button":"Dismiss"},"accountDetails":{"assets":"Assets","assetsNotAvailable":"Assets list is not available offline.","transactions":"Transactions","transactionsNotAvailable":"Transactions history is not available offline.","names":"Names","namesNotAvailable":"Names list is not available offline.","details":"Details"},"claimGiftCard":{"title":"Redeem gift card","selectAccount":"Select account","balance":"Remaining card balance","amount":"Amount to redeem","redeem":"Redeem","redeemPartially":"Redeem partially","redeemFull":"Redeem full amount","redeemedBy":"{0} redeemed by","alreadyRedeemed":"This gift card has already been redeemed."}},"filters":{"out":"Out","in":"In","dex":"DEX","date":"Date","tips":"Tips","bid":"Bid","soonest":"Ending soon","length":"Name length"},"transaction":{"fee":"Transaction fee","advancedDetails":"Advanced transaction details","type":{"spendTx":"Spend","contractCreateTx":"Contract create","contractCallTx":"Contract call","namePreclaimTx":"Preclaim name","nameClaimTx":"Claim name","nameUpdateTx":"Update name","nameTransferTx":"Transfer name","nameRevokeTx":"Revoke name","oracleRegisterTx":"Register oracle","oracleExtendTx":"Extend oracle","oraclePostQueryTx":"Post query oracle","oracleRespondTx":"Respond oracle","channelCloseSoloTx":"Solo close channel","channelSlashTx":"Slash channel","channelSettleTx":"Settle channel","channelSnapshotSoloTx":"Solo snapshot channel","payingForTx":"Pay For Tx","gaMetaTx":"GA Meta Tx","gaAttachTx":"GA Attach Tx","multisigProposal":"Multisig Proposal","sentTx":"Sending","receivedTx":"Receiving","multisigVaultCreated":"Multisig vault created","createMultisigVault":"Create Multisig Vault"},"listType":{"sentTx":"Sent","receivedTx":"Received","namePreclaimTx":"Name preclaimed","nameClaimTx":"Name claimed","nameUpdateTx":"Name updated","nameTransferTx":"Name transferred","nameRevokeTx":"Revoke name","tipSent":"Tip sent","tipReceived":"Tip received"},"dexType":{"provideLiquidity":"Liquidity provided","removeLiquidity":"Liquidity removed","allowToken":"Allow token","changeAllowance":"Allow token","transferAllowance":"Allow token","deposit":"Deposit","withdraw":"Withdraw","pool":"Pool"},"spendType":{"out":"out","in":"in"},"function":{"propose":"Propose Tx","revoke":"Revoke Tx","refuse":"Disapprove Tx","confirm":"Approve Tx","tip_token":"tip_token","retip_token":"retip_token"},"overview":{"aens":"AENS","contractCreate":"Contract create","accountAddress":"Account address","superheroDex":"Superhero DEX"},"returnType":{"abort":"Failed","revert":"Reverted"}},"pages":{"titles":{"settings":"Wallet settings","language":"Language","about":"About","sendTip":"Send tip","terms":"Terms of Use","privacy":"Privacy Policy","currency":"Currency","notifications":"Notifications","auction":"Bidding","more":"More","networks":"Network","permissionsSettings":"Permissions","permissionsEdit":"Edit permissions","permissionsAdd":"Add permissions","commentNew":"Add comment","donateError":"Donate Data","address":"Send Address","signMessage":"Sign Message","signTransaction":"Sign Transaction","giftCards":"Gift cards","txDetails":"Transaction details","tokenDetails":"Token details","coinDetails":"Coin details","saveErrorsLog":"Save error log","resetWallet":"Reset wallet","seedPhrase":"Seed phrase","networkAdd":"Add custom network","networkEdit":"Edit network","notFound":"Feature not found","multisigProposalDetails":"Multisig Tx proposal details","appsBrowser":"Browse the æcosystem"},"errors-log-settings":{"description":"This will help us to identify what causes the errors. Thank you for being a fellow Superhero!"},"about":{"systemName":"Superhero","terms":"Terms","privacyPolicy":"Privacy","reportBug":"Report a bug","name":"Name","commit":"Commit","software-version":"Software version","sdk-version":"SDK version","middleware-version":"Middleware version","node-version":"Node version"},"account":{"heading":"account","accountName":"Account name","claim":"Claim Tip","latestTransactions":"Latest transactions","noTransactionsFound":"No transactions found!","balance":"Balance","secureYourAccount":"Secure your account","backupNow":"Back up now","seedNotification":"Welcome to Superhero wallet! Please backup your seed phrase!","backup":"backup","updateExtension":"New version available! Please update your extension.","updateAvailable":"Update available","updateAvailableText":"There is a new wallet version available for download in the store","claim-name":"Claim your .chain name"},"accounts":{"addAccount":"Add account","searchAccountsPlaceholder":"Search for account","addAccountDescription":"Add an account to your wallet to manage funds separately."},"vaults":{"addVault":"Add vault","addVaultDescription":"Add a multisig vault to your wallet to manage funds with multiple accounts."},"claim":{"claim":"Claim tips","noZeroClaim":"There are no tips to be claimed for this URL.","noAddress":"Address not found","errorClaim":"Error.","ae":"AE tokens","claimed":" Claim request sent! ","url":"URL","tipsOnUrl":"Tips on this URL","urlNotExisting":"No tips for this URL at the moment.","moreOracles":"There aren\'t enough active Oracles to verify your claim request. Please try again later.","oracleFailed":"Oracle service check claim failed. Please try again later.","unknownError":"Error occured during claim request. Please try again later.","noMobileClaim":"Claiming is currently only available on desktop."},"claimTips":{"title":"Claim tips","header":"You need to verify ownership of the URL before you can claim any tips.","urlToClaim":"Claim tips from this URL:"},"notFound":{"header":"Lost in space?","description":"The feature could not be found in this Universe. Keep calm and safely fly back home.","backToHome":"Return home","reportBug":"Report a bug"},"recentTransactions":{"title":"Recent transactions","viewMore":"View full transaction history","noTransactionsFound":"There are no recent transactions for this account.","searchPlaceholder":"Search transactions by asset name","unknownMode":"Unknown display mode type:","transactionListEnd":"There are no older transactions for this account."},"advancedSettings":{"heading":"Advanced","exportKeypair":"Export keypair","exportKeystore":"Export keystore"},"airGapSetup":{"heading":"AirGap Setup","step1heading":"Install AirGap on your phone","step1info":"Search for AirGap.it in the store or scan this QR code","setupSteps1heading":"Open AirGap on the 2nd device","setupSteps2heading":"Create secret key","setupSteps3heading":"Write it down in the right order","setupSteps4heading":"Add an aeternity wallet","setupSteps5heading":"Link your aeternity wallet","setupSteps1":"For security, turn off your internet connection before opening AirGap","setupSteps2":"No internet connection means maximum security for the key","setupSteps3":"You will need it for recovery","setupSteps4":"Tap wallet, add wallet, and choose aeternity","setupSteps5":"Finish by linking your vault to your aeternity address","linkVault":"Link Vault"},"auctionBid":{"backToAuctions":"Back to auctions","bidding":"Bidding","bidOn":"Bid on","current-highest-bid":"Current highest bid","remaining-time":"Remaining Time","ending-height":"Ending height"},"accountListConfirm":{"websiteRequestConnect":"would like to connect to your Superhero wallet.","addressesRequest":"This aepp is requesting access to view all of your account addresses.","message":"Make sure you trust the aepp provider before accepting the request."},"connectConfirm":{"title":"Allow access","websiteRequestConnect":"would like to connect to your account.","websiteRequest":"This website is requesting access to view your current account address. Always make sure you trust the website you interact with. ","cancelButton":"Deny","confirmButton":"Accept","transactionLabel":"Transaction","addressRequest":"This aepp is requesting access to view your current account address.","transactionRequest":"This aepp may prepare a transaction, you are in charge of confirming it.","websiteRequestAccounts":"would like to get account addresses","addressesLabel":"Addresses","addressesRequest":"This aepp is requesting access to view your account addresses","connecting":"Connecting"},"fungible-tokens":{"tokens":"Tokens | Token | Tokens","searchPlaceholder":"Search by token name or contract address","searchAssetsPlaceholder":"Search for assets","buyAe":"Buy AE","select-asset":"Select asset"},"token-details":{"details":"Token Details","proposeTx":"Propose Tx","tip":"Tip","token-details":"Token details","coin-details":"Coin details","token":"Token","name":"Name","coin":"Coin","token-description":"Token Description","community":"Community","decimals":"Decimals","available-supply":"Available supply","total-supply":"Total supply","max-supply":"Max supply","supply":"Supply","priceAe":"Price (AE)","price":"Price","volume":"Total Volume","volumeDaily":"Volume (24h)","feeDaily":"Fee (24h)","market-cap":"Market Cap","atl-change":"All time low","ath-change":"All time high","more":"More","poolShare":"Pool share","holders":"Holders","transactions":"Transactions","pooled":"Pooled"},"more":{"get-ae":"Get AE","dex":"Superhero DEX"},"names":{"default":"Default","balance-error":"Your account balance is not enough to execute this transaction.","pointer-added":"Name {type} successful!","auto-extend":"Auto-extend","tabs":{"my-names":"My names","auctions":"Auctions","register":"Register name"},"list":{"default":"Default","default-make":"Make default","valid-identifier-error":"Enter valid ae blockchain identifier","no-names":"There are no .chain names owned by this account. Would you like to register one?","register-name":"Register .chain name","name-hash":"Name code","pointers":"Pointers"},"details":{"created-height":"Created at height","expires-height":"Expires at height","set-pointer":"Set pointer","address-placeholder":"Enter ak_, ct_, ok_, ch_"},"claim":{"auto-extend":"Auto extend name","register-name":"Register .chain name","name-placeholder":"Enter .chain name","button":"Register name","button-price":"Register name for {0} AE","short-names":{"message":"Ownership of .chain names {0} will be acquired at an auction by the account that places the highest bid.","insertion":"shorter than 13 characters"}},"auctions":{"button":"Auctions","soonest":"Soonest","length":"Name length","bid":"Bid","expires":"Ends","no-auctions":"There are no .chain names for auction at the moment. Would you like to register one?","not-found":"Not found","current-bid":"Current bid","previous-bids":"Previous bids","bidding":"Go for bidding","bid-on":"Bid on","current-heighest-bid":"Current heighest bid","remaining-time":"Remaining Time","add-amount":"Enter amount","min-bid":"Bid must be more than {minBid} AE","bid-added":"Bid added successfully","place-bid":"Place bid","bid-history":"Bid history","bids-on":"Bids on"}},"languageSettings":{"chooseLanguage":"Choose Superhero wallet UI language."},"currencySettings":{"heading":"Currency","chooseLanguage":"Choose Superhero wallet fiat currency conversion. Conversion to XAU (gold) is also an available option."},"index":{"term1":"I agree to the Superhero ","term2":"Terms of Use","term3":"Privacy Policy","termsAndConditions":"Terms of Use","heading":{"message":"More than just a way to {0}, {1} & {2} on the {3}","receive":"receive","store":"store","send":"send tokens","aeternityBlockchain":"æternity blockchain"},"ready":"Ready to go?","go":"Go!","platforms":{"heading":"Download for your device","browser-extension":"Browser extension","mobile-app":"Mobile app"},"webVersion":"or continue with web version","securingAccount":"Securing your account","generateWallet":"Create new wallet","getStartedWithWallet":"Get started with Superhero Wallet","importWallet":"Restore existing wallet","enterSeed":"Enter seed phrase","passwordError":"Password must be at lest 4 symbols.","loginButton":"Login","seedPhrase":"Seed phrase","enterSeedPhrase":"Please enter the 12 words or more of your seed phrase (separated by spaces) in the correct order to restore your Superhero wallet.","continueButton":"Continue","continue":"Continue","importAccount":"Restore wallet","accountNotFound":"Account not found. Please check again your seed phrase.","invalidSeed":"Your seed phrase should consist of 12 words or more separated by spaces.","seedPlaceHolder":"Enter or paste your seed phrase here","scanSeedPhrase":"Scan Seed Phrase","restoringAccounts":"Restoring accounts..."},"ledgerSetup":{"ledgerConnectSetup":"How to connect from Ledger","ledgerAccount":"Add Ledger Account","ledgerSteps":"Steps","ledgerUsb":"Connect your Ledger via USB and unlock it","ledgerLedger":"Open the aeternity app on your Ledger","ledgerAccountCreate":"Create a first account by pressing the button bellow"},"notifications":{"wallet":"Wallet","superhero":"Superhero.com","commentOnComment":"replied to your comment.","commentOnTip":"commented on your tip.","tipOnComment":"tipped on your comment","retipOnTip":"retipped your tip.","claimOfTip":"claimed your tip.","claimOfRetip":"claimed your retip.","viewOnSuperhero":"View on Superhero.com","goToStore":"Go to store","noNotifications":"You do not have any unread notifications."},"notificationSettings":{"description":"Wallet notifications are always on by default and you are not able of turning them off.","description2":"You can choose below which notifications to receive from social platform Superhero.com.","commentOnTip":"Someone commented on your tip or post.","commentOnComment":"Someone replied to your comment.","retipOnTip":"Someone retipped to your tip.","wallet":"Wallet notifications (always on).","tipOnComment":"Someone tipped to your comment.","claimOfTip":"Someone claimed your tip.","claimOfRetip":"Someone claimed your retip."},"privacyPolicy":{"heading":"Privacy Policy","content":"Your privacy is important to us. It is Superhero\'s policy to respect your privacy regarding any information we may collect from you across our website and other sites we own and operate. We don\'t ask for personal information to provide a service to you. We don\'t collect and retain any information for providing your requested service. We don’t share any personally identifying information publicly or with third-parties. Our website and browser extension may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies. Your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us. This policy is effective as of 31 January 2020."},"seed-phrase-settings":{"verifyYourSeedPhrase":"Verify your seed phrase!","backToSettings":"Back to settings","heading":"Security and Privacy","privacyDataHeading":"Privacy Data","privacyDataSmall":"Clear privacy data so all websites must request access to view account information again.","privacyDataClearBtn":"Clear Privacy Data","privateKeyHeading":"Reveal Private Key","privateKeySmall":"You can view your private key after you enter your password","privateKeyRevealBtn":"Reveal Private Key","privateKeyWarning":"Do not share your private key with anyone, it can be used to steal all your accounts","privateKey":"Your private key","showPrivateKey":"Show Private Key","incorrectPassword":"Incorrect Password","decryptingPrivateKey":"Decrypting private key","seedRecoveryHeading":"Show seed phrase","seedRecoverySmall":"Your seed phrase is a combination of 12 words and serves as password to access and restore your wallet accounts.","seedRecoverySmall-2":"Never disclose this to anyone.","seedRecoverySmall-3":"Make sure you {0} on a piece of paper or in a file that no one else can see - but that you will never lose.","seedRecoverySmall-4":"Losing your seed phrase means losing access to your wallet and all funds in your accounts.","seedRecoverySmallBackItUp":"back it up in the correct word sequence","seedRecoveryBtn":"Show seed phrase","seedPhrase":"Your seed phrase","copy":"Copy to clipboard","this-your-seed-phrase":"This is your seed phrase. Keep it safe!","confirm-that-you-save-your-seed-phrase":"Confirm that you got your seed phrase correctly.","compose-your-seed-phrase":"Tap the words below {0} to compose your seed phrase.","in-correct-order":"in the correct order","seed-phrase-correct":"Seed phrase has been verified!","seed-phrase-incorrect":"Seed phrase words are not in the correct order. Please enter your seed phrase again!"},"seedPhrase":{"securingAccount":"Securing your account","attentionMsg":"Please make sure to keep your seed phrase safe! Superhero does not store and cannot recover your seed phrase for you. It is your responsibility to keep it safe. If you lose access to your seed phrase, you will lose access to your wallet and all your funds.","tips":"Tips on protecting your funds","tip1":"Save a backup in multiple places","tip2":"Remember your password to decrypt your wallet","tip3":"Never share your seed phrase with anyone","confirmSeedPhrase":"Confirm your seed phrase. Tap the words below to compose your seed phrase in the correct order.","recoveryPhrase":"Your recovery seed phrase","first":"first","second":"second","third":"third","dontLose":"Do not lose this seed phrase!","nextScreen":"To make sure you got it right, you will be asked to recreate this seed phrase in the next screen.","verifySeed":"Verify your seed phrase","doneThis":"I have verified seed phrase before","verify":"Verify seed phrase","seedConfirmed":"Seed phrase confirmed.","toDashboard":"Back to Dashboard","backUpYourSeedPhrase":"Back up your seed phrase {0} on a piece of paper or file that no one but you will ever see. Make multiple copies. Make sure you keep your seed phrase in a safe place!","inCorrectOrder":"in the correct order of 12 words","toBeSureYouGotItRight":"To be sure you got it right, you should {0} clicking on the button below!","verifyYourSeedPhrase":"verify your seed phrase"},"send":{"title":"Transaction has been submitted","subtitle":"You may check the status of your transaction in æternity blockchain explorer","success":"Success","viewInExplorer":"View in explorer","scan":"Scan QR code","review":"Review and send","reviewtx":"Review transaction","checkalert":"Please check the information carefully.","sender":"Sending address","recipient":"Receiving address","successAlert":"has been successfully sent to","receivingUrl":"Receiving URL","sending":"Sending","sendingTo":"sending to","sentTo":"have been successfully sent to","sendingCryptoToUrl":"Sending tip to URL","tipInfo":"Your transaction will be publicly displayed as URL tip on {0}","to":"To","hash":"Transaction Hash","messageUrlOwner":"Message the URL owner (optional)","scanAddress":"Scan the recipient’s account address QR code in order to send {assetName} to them.","error":"Invalid AE address or AENS name","confirm-sending-to-same-account":"Are you sure you want to send tokens to your own address?"},"signTransaction":{"unknownAccount":"Unknown","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","reject":"Reject","contractCall":"Contract call","contractCalling":"Calling contract method. Please do not close the window","insufficientBalance":"Insufficient Balance","incorrectAddress":"Incorrect address","compiledCode":"Compiled Code","callData":"Call Data","payload":"Payload","newContract":"New Contract","aens":"AENS","balanceError":"Your account balance is not enough to execute this transaction.","maxSpent":"Maximum spent","minReceived":"Minimum received","from":"From","to":"To","approveUseOfToken":"Approve use of token","approveUseOfTokens":"Approve use of tokens","maximumDeposited":"Maximum deposited","poolTokenSpent":"Pool token spent","minimumWithdrawn":"Minimum withdrawn"},"termsOfService":{"terms-of-use":"Terms of use","terms-with-quotes":"(„TERMS“)","terms":"terms","sub-heading":"The present @:termsOfService.terms-of-use were created on 3 April 2020.","section0Content":"@:termsOfService.superhero-com reserves its right to modify and update these @:termsOfService.terms-of-use according to the policy and practice of the @:termsOfService.company. The new version of thе @:termsOfService.terms-of-use becomes effective from the day it is announced on @:termsOfService.our-superhero-wallet unless stated otherwise.","superhero-com":"Superhero.com LVC","company":"company","our-superhero-wallet":"Our Superhero Wallet","section01Content":"THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","section02Content":"These @:termsOfService.terms-of-use @:termsOfService.terms-with-quotes apply exclusively for the @:termsOfService.superHero-wallet (hereinafter referred to as the “@:termsOfService.wallet“ or the “@:termsOfService.application”) and all the content available on the @:termsOfService.website-extension. Please make sure that you have carefully read the @:termsOfService.terms before using the @:termsOfService.application. Otherwise, by using it, we consider these actions implicit agreement to the @:termsOfService.terms-of-use. These @:termsOfService.terms-of-use represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „@:termsOfService.you“) and Superhero.com LVC @:termsOfService.superhero-we-us-with-quotes or @:termsOfService.our-with-quotes in connection to your use of the @:termsOfService.superHero-wallet @:termsOfService.website-extension.","superHero-wallet":"Superhero Wallet","wallet":"Wallet","application":"application","website-extension":"website extension","you":"you","superhero-we-us-with-quotes":"(“Superhero”, “we”, “us”","our-with-quotes":"“our”)","section1Title":"1. Definitions","section1Content":"1.1. Superhero.com Establishment (Superhero.com ”, “we”, “us”, “our” or “the company”) ​is a company with email address for communication related to Superhero Wallet: superherowallet{\'@\'}protonmail.com. Superhero.com ​is the company, which created and developed Superhero Wallet​. \\n 1.2. ​„USER“ or ​„YOU“ means a natural or legal person, who has downloaded and uses the Superhero Wallet ​website extension. \\n 1.3. „​Blockchain​“ means the list of records, also known as ​blocks,​ which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. ​USERS can access, create and save information on the aeternity blockchain. The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of ​Validators​, which cannot be altered retroactively. \\n 1.4. Superhero Wallet​” (“​WALLET​” or “​the application​”) is a website extension, which allows supporters to send value to content creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The website extension is a piece of software which acts as an add-on to the web browser Firefox and contributes to the browser’s additional functionality. The application is available at: https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/ . The results of the donations and comments are published on the website ​https://superhero.com/​ . \\n 1.5. “​Validators​” are independent physical persons or entities, which are not in any way part of Superhero.com . ​Their function in the system includes responsibility for ​blocks constitution and broadcast of these ​blocks​ with the​ aeternity ​network. \\n 1.6. “​Account address​” is a hashed version of the ​USER’s ​public key​, used to identify USERS​ on ​the application​. \\n 1.7. “​Keys​” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information.","section2Title":"2. GENERAL PROVISIONS","section2Content":"Superhero.com ​designed and built ​the application as a cryptocurrency wallet through which ​USERS can store and send Superhero.com tokens for the purpose of conducting donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content​. USERS can donate to different websites through the application. The application automatically searches for the public key of the website for the purpose of the donation. The donations can be oriented in two flows as it follows- ​USERS can tip the owner of the whole website or ​USERS can choose specific creators and authors on the website who have written the news to whom to send the tokens. \\n After that, the website ​https://superhero.com/ reflects the ​USERS’ donations and comments and gives the possibility for other ​USERS to actively donate and comment on the news available on the newsfeed of the Website. \\n USERS ​can browse through their transaction history. ​The Wallet displays the ​USER’s tokens​. ​USERS​ are in charge of the safe storage, sending and receiving of funds. \\n The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the ​USER’s​ own risk.","section3Title":"3. USERS IDENTIFICATION","section3Content":"The application uses ​Account address​ for identification of ​USERS​. \\n For ​USERS to send Superhero.com tokens, they should share only their account address. Any other information is not shared or collected by the application. Once a ​USER has downloaded the application, the ​Wallet ​automatically generates the account address. ​For more information about the processing of the account address, please read the Privacy Policy of the application.","section4Title":"​4. USERS OBLIGATIONS","section4Content":"As a ​USER​, ​You​ agree to the following rules applicable for Superhero.com ​: \\n ● You ​shall comply with the rules set within the present ​TERMS and perform any actions on the application in good faith and according to the applicable legislation; \\n ● You are an adult and ​YOU are not persons under judicial disability (​You have obtained full legal capacity); \\n ● You shall not try to obtain or gain access over any personal or identifiable information, including but not limited to recover passphrases, from other ​USERS​, nor shall ​You​ disclose such information about yourself; \\n ● You shall not in any way compromise or exploit the application or use the application for any illegal activity or outside the purpose for its creation; \\n ● Your actions do not in any manner mislead into thinking that ​You are another person or company; ​You shall not purposefully provide information by using another person’s recover phrases, account addresses, etc. with the purpose of representing as somebody else. Superhero.com ​shall undertake any possible action against such identity thefts and frauds in case ​the company​ suspects a ​USER​; \\n ● the device ​You use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content; \\n USERS​ shall be liable for any action undertaken in violation of the present article.","section5Title":"5. WARRANTY and LIABILITY DISCLAIMERS","section5Content":"\\n General Disclaimer: The Superhero.com ​network is open-source, public and permissionless blockchain, meaning that anyone can download, participate, develop, improve and validate transactions on the blockchain. Superhero.com ​cannot and does not control in any way the transactions conducted by USERS​. Superhero.com ​does not ensure the trustworthiness and validity of the same. Please, bear in mind that every ​USER is solely responsible for the actions undertaken on the application and the information presented by them. \\n Password and Security Disclaimer: ​USERS take responsibility for their digital security. The application ​gives the possibility to set up a recovery passphrase, consisting of random unique combination of words. The purpose of the recovery passphrase is to restore the access to the account, once the ​USER has lost access to the original ​Wallet​. Superhero.com does not collect the private keys or the recovery passphrases and shall not be treated under any circumstances as a custodian wallet provider. ​WE HIGHLY RECOMMEND ALL USERS TO SET UP A RECOVERY PASSPHRASE AND PROTECT IT. ​Therefore​, USERS should store their recovery passphrase offline safely. Please bear in mind that if a USER has not set up a recovery passphrase for backup or they have forgotten the recovery passphrase and its exact wording, the access to their accounts can be permanently restricted. The lack of access does not mean in any way that the Superhero.com tokens ​are lost. The ​tokens ​remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. Superhero.com ​shall not be held liable in any case of lost, forgotten or misspelled recovery passphrases. In addition, ​USERS ​must not share their recovery passphrase with anyone. Superhero.com ​should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of ​USERS to regain access to their account​ on the ​Wallet​. \\n Please bear in mind that the option “Already have an account? Retrieve existing account” is applicable only in case the ​USER​ has a recovery passphrase. \\n Decentralization and Control Transparency Disclaimer: ​Blockchain technology is decentralized by nature- which means that the makers of ​the Wallet cannot access or freeze your account; recover or reset your recovery passphrase; reverse, cancel or refund transactions. Only ​USERS are in charge of the safe storage and sending of their funds. By agreeing to the present ​TERMS​, ​USERS accept and guarantee to defend, indemnify and hold Superhero.com ​harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of ​the application​. \\n Access and Connectivity Disclaimer: ​The Wallet ​can be downloaded from https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/​. Please bear in mind that the website can delist or remove ​the application in their own estimation, making it difficult to receive updates. Devices on which the ​Wallet is installed are likely to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section Password and Security Disclaimer in regard to recovery passphrases. Superhero.com ​is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, ​WE shall not be held liable for any loss of data on ​the application ​caused in these cases. \\n Cryptocurrency Guidance Disclaimer: The content presented on the application is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. Superhero.com ​does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. Superhero.com ​shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by ​YOU​, including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. \\n Jurisdiction and Regulatory Disclaimer: ​The access to ​the application is granted worldwide. The use of the application may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that you have to inform yourself about such legal restrictions and you are liable solely in case of a breach of any legal norms. The access to our website is prohibited provided the access point is in a territory where the content is illegal. Superhero.com ​does not have the obligation to control the legislation applicability according to each access point of ​USERS and shall not be held liable in these circumstances. \\n USERS understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the Superhero.com ​Network development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, ​USERS understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through ​the application ​or the​ Superhero.com tokens​ held by them. \\n Risks​: USERS understand and agree with the risks related to Superhero.com ​Contribution and/or with the allocation, use and ownership of Superhero.com tokens ​and guarantee to relieve of responsibility Superhero.com in these cases. The risks mentioned within the present ​TERMS​ are not comprehensive: \\n ● Risk of software weaknesses​: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and ​the application are in a constant development process. There is no warranty that the receipt and transfer of Superhero.com tokens ​shall be uninterrupted or error-free at all times. ​USERS accept and guarantee to dispense of responsibility Superhero.com ​for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of Superhero.com tokens. \\n ● Risk of theft: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the application, the Superhero.com ​Network and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of Superhero.com tokens. \\n ● Risk of mining attacks: ​USERS understand and accept that due to Superhero.com ​blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, \'selfish-mining\' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on ​the application​. \\n ● Risk of phishing attacks and ​forks​: ​USERS understand and accept that the application can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an application/ website with high percentage of resemblance with the original one. ​USERS should be careful when they download and use ​the ​application​. ​USERS can identity the authentic Wallet ​by verifying that the developer on the marketplace is Superhero.com / Superhero.com LVC. \\n Due to the fact Superhero.com blockchain is public and permissionless, any person has the possibility to create a “​fork​”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. ​USERS understand and accept that Superhero.com ​cannot avoid the creation of such ​forks and is not responsible for them. Superhero.com ​shall not be held liable for any losses and/or damages resulted from the use of ​forks​.","section6Title":"6. TAXES AND FEES","section6Content":"The Wallet does not collect any fees or taxes for the use of ​the application- ​it is free of charge. However, taxes and fees are payable for the transactions on the Superhero.com blockchain including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. \\n In addition, depending on the territory access point, the transfer and receipt of funds through the application may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. ​USERS are obliged to inform themselves about such requirements and are solely responsible for their donations.","section7Title":"7. THIRD-PARTY PLATFORMS","section7Content":"In order to donate, ​USERS should copy and paste in the Section “Send a tip to” the URL of a website to which they would like to donate. Please bear in mind that the applications is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, ​USERS shall be fully liable for any use of the ​Wallet in violation of the purpose of the ​Wallet and the present Terms. Superhero.com ​does not control the websites the donations are sent to. Superhero.com ​is not responsible for the content on the websites in any way.","section8Title":"8. LICENSE","section8Content":"The application is created, developed and operated by Superhero.com ​. Each component on the application including but not limited to logos, trademarks and other intellectual property displayed on the application are considered a property of Superhero.com ​and are protected by the applicable intellectual property legislation. It is prohibited to use any intellectual property of Superhero.com ​before a prior explicit consent from the latter. \\n None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of Superhero.com. \\n Superhero.com ​reserves its right to take any necessary legal action against intellectual property infringement.","section9Title":"9. INTELLECTUAL PROPERTY RIGHTS","section9Content":"USERS understand and accept ​the application can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the Wallet​, the visual representation of ​the application ​or could result in malfunction. In the latter case, if ​You as a ​USER notice any change in the funds, settings, accounts or any other information on the application, please superherowallet{\'@\'}protonmail.com​ for assistance.","section10Title":"10. MODIFICATIONS","section10Content":"The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present ​TERMS​. The invalidity of one or more clauses/ provisions in the ​TERMS does not lead to the invalidity of the whole agreement. \\n The Privacy Policy is an inseparable part of the present ​TERMS and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the Privacy Policy, all rules from the ​TERMS​ apply respectively.","section11Title":"11. FINAL PROVISIONS"},"tipPage":{"url":"Send tip to","claimingExplanation":"With Superhero wallet URL owners will be able to claim all tips from the URL as soon as their account address can be found on the page.","maxNoteLengthError":"Please enter a message below 280 characters.","minAmountError":"Tips should be over 0.01 USD in tokens."},"transactionDetails":{"poolFee":"pool fee","heading":"Transactions Details","type":"Type","txHash":"Tx hash","transactions":"Transactions","backToTransactions":"Back to Transactions","explorer":"View transaction in blockchain explorer","txName":"Name","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","advancedMode":"Advanced Mode","blockHeight":"Block height","signatures":"Signatures","nonce":"Nonce","callData":"Call Data","gasUsed":"Gas used","gasPrice":"Gas price","code":"Code","abiV":"Abi version","vmV":"Vm version","payload":"Payload","commitment":"Commitment id","clientTtl":"Client TTL","nameTtl":"Name TTL","pointerId":"Pointer Id","pointerKey":"Pointer Key","moreInfo":"More Info","hash":"Hash","status":"Status","revert":"Reverted","revertInfo":"Transaction has been reverted. All states returned to the state before the transaction.","failed":"Failed","reason":"Reason","tipUrl":"Tipped URL","timestamp":"Timestamp","poolTokenReceived":"Pool token received","poolTokenSpent":"Pool token spent","approveTokenUse":"Approved use of token","deposited":"Deposited","withdrawn":"Withdrawn","rates":"Rates","swapRoute":"Swap route","feePaidBy":"Transaction fee paid by","vaultContractId":"Vault contract Id"},"proposalDetails":{"receivingAddress":"Receiving address","proposedBy":"Proposed by","revoke":"Revoke","revokeTransaction":"Revoke transaction proposal","refuse":"Disapprove","sign":"Approve","expiresAt":"Expires at height","infoBox":{"signatures":"signatures","signature":"signature","expired":"Transaction proposal has been expired!!","pending":"Pending consensus: {0} more {1} is required to approve the transaction proposal.","approved":"Transaction proposal has been approved by the required number of authorized signers. Transaction can be sent by any of the authorized signers.","revoked":"Transaction proposal has been disapproved by {0} out of {1} required authorized signers. ","proposingAccountRevoked":"Transaction proposal has been revoked by the proposing account.","justRevoked":"Transaction proposal has been revoked.","completed":"Transaction has been successfully sent."},"signDialog":{"title":"Approve transaction proposal","formSelectText":"Signing account","btnText":"Approve","msg":"Approve transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot approve the transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already signed this transaction proposal!"},"revokeDialog":{"title":"Revoke transaction proposal","formSelectText":"Signing account","btnText":"Revoke proposal","msg":"Are you sure you would like to revoke the transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot revoke transaction with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already revoked this transaction!"},"refuseDialog":{"title":"Disapprove transaction proposal","formSelectText":"Signing account","btnText":"Disapprove","msg":"Are you sure you would like to disapprove the transaction?","cannotDoActionWithSelectedAccount":"Cannot disapprove this transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already disapproved this transaction proposal!"}},"transactions":{"heading":"Transaction history","filters":"Filters","loadMore":"Load More","allLoaded":"All transactions loaded.","newTransactions":"new transactions","noTransactions":"No transactions found","type":"Type","incoming":"Incoming","outgoing":"Outgoing","spendType":"Spend Type","spexdTx":"spend tx","namePreclaim":"name preclaim tx","nameClaim":"name claim tx","nameUpdate":"name update tx","createTx":"create tx","clear":"Clear filter","apply":"Apply filter","sent":"Sent","received":"Received","search":"Search by token"},"popupMessageSign":{"title":"Sign message","heading":"would like to sign message.","message":"Message"},"network":{"connectToNetwork":"Connect to network","connectTo":"Connect to {name}","connectedTo":"Connected to {name}","listLabel":"Choose between æternity’s Mainnet and Testnet or add custom node to connect to. Only add custom networks you trust to avoid malicious providers.","formLabel":"Fill in the custom node details in the fields below. Make sure to add only trusted custom networks.","thirdPartyDetails":"Network details below have been provided by a third party. Make sure you trust the network provider to avoid malicious behavior resulting in lose of funds.","delete":"Delete","middleware":"Middleware","allNetworks":"Your networks","addCustomNetwork":"Add custom network","addNetwork":"Add network","apply":"Apply","networkNamePlaceholder":"Enter network name","networkNameLabel":"Network name","networkUrlPlaceholder":"Enter network URL","networkUrlLabel":"Network URL","networkMiddlewarePlaceholder":"Enter network middleware URL","networkMiddlewareLabel":"Network middleware","backendUrlPlaceholder":"Enter tipping Backend URL","backendUrlLabel":"Tipping backend","chainIdPlaceholder":"0x1","chainIdLabel":"Chain id (hex)","showTippingConfig":"Show Tipping Configuration","hideTippingConfig":"Hide Tipping Configuration","save":"Connect","error":{"networkExists":"Network with this name exist","invalidHostname":"Invalid hostname","enterName":"Enter network name"},"confirmDelete":"Are you sure you want to delete this custom network?","moreNetworks":"More","viewAndManage":"View and manage all networks"},"donate-error":{"error-report":"Error Report:","error-placeholder":"Describe what were your actions before the error occurred (optional).","data-collected":"Data Collected","browser":"Browser version","details":"Technical details:","donate":"Donate Data"},"invite":{"generate-link":"Generate new gift card","generate":"Generate gift card","created-links":"Gift cards","top-up":"Top up","collapse":"Collapse","claim":"Claim Back","insufficient-balance":"Insufficient balance","insufficient-invite-balance":"This invite Link expired and the Tokens are already claimed.","tip-attached":"Gift card amount","top-up-with":"Top up with","delete":"Delete"},"permissions":{"login":"Don\'t ask for login requests","message-sign":"Auto-sign messages","addressList":"Don\'t ask for list of all addresses","daily-spending-limit":"Daily spending limit without asking","transaction-sign":"Limit for spending without asking per day","spent-today":"Spent today","left-today":"Left today","delete":"Remove permission","add":"Add permission","add-description":"Use this feature with caution and only for platforms you trust.","empty":"You aren\'t connected to any aepps","description":"Manage confirmation popups and daily spending limits. For security reasons use this feature with caution only for trusted platforms such as {0} and your localhost environment.","custom-name":"Custom name","enter-custom-name":"Enter custom name of your choice","permissions-for-url":"Permissions for URL","enter-url":"Enter URL","always-ask":"always ask"},"resetWallet":{"title":"Reset wallet","description":"This action will remove all accounts from your wallet and delete the extension storage.","description2":"Make sure you have backed up your {0} before proceeding. This action cannot be undone!","warning":"This action will remove all accounts from your wallet and delete the extension storage.\\n This action cannot be undone!","warningConfirm":"Are you sure you would like to proceed?","reset":"Reset"},"appsBrowser":{"popularApps":"Featured","recentApps":"Latest visited","inputPlaceholder":"Enter URL"},"warningDappBrowser":{"title":"You are going to visit a \\n third-party website","warning":"Superhero Wallet is not liable for failures in this or any other third-party website as stated in the Superhero wallet {0}.","warning2":"By interacting with this or any other third-party website you agree to be subject to its Terms and Privacy Policy.","decline":"Decline"}},"dappActionBrowser":{"refresh":{"title":"Refresh","description":"Reload contents of the page"},"bookmark":{"title":"Add bookmark","description":"Add this page to your favorites"},"share":{"title":"Share","description":"Share this page with your contacts"}},"validation":{"formInvalid":"One or more fields above are not valid. Please review the information you entered.","required":"This field is required","url":"Invalid URL","address":"Enter valid blockchain address or .chain name","name":"Enter valid .chain name","nameRegisteredAddress":"Invalid address or .chain name","nameUnregistered":"This name has already been registered.","addressNotSameAs":"Sender and receiver address are the same. You will send {0} to your own account.","tokenToAnAddress":"Unfortunately you can only send AEX-9 Tokens to an address","addressGeneric":"Invalid {protocol} address","minValue":"This field must be {0} or more","minValueExclusive":"This field must be more than {0}","enoughCoin":"Not enough {0} balance","enoughAeSigner":"Insufficient balance on your signing account to propose a transaction","maxLength":"The value should be no longer than {0} characters","maxValue":"This field must be {0} or less","hexFormat":"The value should be in hex format","maxRedeem":"Maximum redeemable amount is {0} AE.","maxValueVault":"Amount is exceeding the vault\'s balance: {0}","notToken":"Tokens are currently not allowed, please switch to AE","invalidAddressChainUrl":"Invalid address, .chain name or URL","invalidAddress":"Invalid account address","doesNotExceedDecimals":"Amount should not exceed {0} decimals"}}');var i={en:"en",cn:"cn"},s=i.en,u=(0,r.hU)({allowComposition:!0,fallbackLocale:s,locale:s,messages:{en:o}}),c=u.global.t,l=(0,a.A)((0,a.A)({},i.en,{name:"English",getMessages:function(){return o}}),i.cn,{name:"中国人",getMessages:function(){return n.e(625).then(n.t.bind(n,1659,19))}})},78904:(e,t,n)=>{"use strict";n(23792),n(3362),n(69085),n(9391),n(35726);var a=n(55096),r=n(1287),o=(n(51629),n(5506),n(26099),n(23500),n(65563)),i=n(32118),s=n(2327),u=n(41417),c=n(13217),l=n(6624),d=n(217),p=(n(62953),n(52675),n(16280),n(76918),n(18107),n(28706),n(2008),n(74423),n(25276),n(62062),n(94490),n(59089),n(23288),n(94170),n(33110),n(9868),n(67357),n(21699),n(47764),n(11392),n(5582)),v=n(41805),f=n(67892),m=n(24007),g=n(91087),h=n(57889),A=n(43089),k=n.n(A),y=n(52347),b=n(12717),w=n(75265),C=(0,c.A)((function e(){(0,u.A)(this,e)})),x=n(44343),L=n(31189),S=n(12589),T=n(59755),E=n(12533),I=n(41549),_=n(58338),W=n(48287)["Buffer"],F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.highPrecision,n=e.amount;return t||n&&n<.01?9:2}},{key:"getUrlTokenKey",value:function(){return T.kf}},{key:"getCoinGeckoCoinId",value:function(){return T.GO}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.aeternity])||{}),{protocol:o.yv.aeternity,contractId:this.coinContractId,decimals:this.coinPrecision,name:this.coinName,symbol:this.coinSymbol,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return T._c[e]}},{key:"fetchBalance",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getAeSdk,t.next=3,a();case 3:return r=t.sent,t.next=6,r.getBalance(e);case 6:return o=t.sent,t.abrupt("return",(0,_.c4)(o));case 8:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e){return(0,f.pL)(e,v.W.AccountAddress)}},{key:"isValidAddressOrNameEncoding",value:function(e){return(0,f.pL)(e,v.W.ContractAddress)||(0,f.pL)(e,v.W.AccountAddress)||(0,f.pL)(e,v.W.Name)}},{key:"isAccountUsed",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getDryAeSdk,t.next=3,a();case 3:return r=t.sent,t.abrupt("return",r.api.getAccountByPubkey(e).then((function(){return!0}),(function(){return!1})));case 5:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,m.An)(e,t);return Object.assign(Object.assign({},n),{publicKey:W.from(n.publicKey),secretKey:W.from(n.secretKey,"hex"),address:n.publicKey})}},{key:"discoverLastUsedAccountIndex",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e);case 2:return n=t.sent,t.abrupt("return",n>-1?n:0);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return F(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,I.ef)(),n=t.fetchFromMiddleware,e.t0=k(),e.next=4,(0,L.Ey)((function(){return n("/v2/aex9?by=name&limit=100&direction=forward")}),n);case 4:return e.t1=e.sent,a=(0,e.t0)(e.t1),e.abrupt("return",(a||[]).map((function(e){return Object.assign(Object.assign({},e),{protocol:o.yv.aeternity})})));case 7:case"end":return e.stop()}}),e)})))}},{key:"fetchAccountTokenBalances",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.ef)(),a=n.fetchFromMiddleware,t.prev=1,t.t0=k(),t.next=5,(0,L.Ey)((function(){return a("/v2/aex9/account-balances/".concat(e,"?limit=100"))}),a);case 5:return t.t1=t.sent,r=(0,t.t0)(t.t1),t.abrupt("return",r.map((function(t){var n=t.amount,a=t.contractId,r=t.decimals;return{address:e,amount:n,contractId:a,convertedBalance:+(0,L.k0)((0,L.Y9)(n,-r)),protocol:o.yv.aeternity}})));case 10:t.prev=10,t.t2=t["catch"](1),(0,L.fY)(t.t2);case 13:return t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[1,10]])})))}},{key:"transferToken",value:function(e,t,n,a){return F(this,void 0,void 0,(0,s.A)().mark((function r(){var o,i,u,c;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=(0,w.C)(),i=o.getAeSdk,r.next=3,i();case 3:return u=r.sent,r.next=6,u.initializeContract({aci:b,address:n});case 6:return c=r.sent,r.abrupt("return",c.transfer(t,e.toFixed(),a));case 8:case"end":return r.stop()}}),r)})))}},{key:"fetchRegularTransactions",value:function(e,t,n){var a,r;return F(this,void 0,void 0,(0,s.A)().mark((function o(){var i,u,c,l,d,v,f,m;return(0,s.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return i=(0,I.ef)(),u=i.fetchFromMiddlewareCamelCased,c=i.normalizeMiddlewareTransactionStructure,l=n||"/v2/accounts/".concat(e,"/activities?limit=").concat(t),o.prev=2,o.next=5,u(l);case 5:if(d=o.sent,v=d.data,f=d.next,m=(v||[]).filter((function(e){var t=e.type;return!(null===t||void 0===t?void 0:t.startsWith("Internal"))})).map((function(t){return c(t,e)})),(null===(a=v.at(-1))||void 0===a?void 0:a.type)!==T.di){o.next=13;break}return o.next=12,this.fetchTransactionByHash(null===(r=v.at(-1))||void 0===r?void 0:r.payload.txHash,e);case 12:m[m.length-1]=o.sent;case 13:return m=(0,p.A)(m.reverse(),"hash").reverse(),o.abrupt("return",{regularTransactions:m,nextPageUrl:f});case 17:return o.prev=17,o.t0=o["catch"](2),o.abrupt("return",{});case 20:case"end":return o.stop()}}),o,this,[[2,17]])})))}},{key:"fetchPendingTransactions",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=(0,w.C)(),a=n.getAeSdk,t.next=4,a();case 4:return r=t.sent,t.next=7,r.api.getPendingAccountTransactionsByPubkey(e);case 7:return i=t.sent,t.abrupt("return",y.A.parse(y.A.stringify((null===i||void 0===i?void 0:i.transactions)||[])).map((function(t){return Object.assign(Object.assign({},t),{pending:!0,protocol:o.yv.aeternity,microTime:Date.now(),transactionOwner:e})})));case 11:return t.prev=11,t.t0=t["catch"](0),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))}},{key:"fetchTipWithdrawnTransactions",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i,u,c,l;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,a=(0,I.$L)(),r=a.aeActiveNetworkSettings,i=(0,w.C)(),u=i.getAeSdk,n.next=5,u();case 5:return n.next=7,(0,L.x6)("".concat(r.value.backendUrl,"/cache/events/?address=").concat(e,"&event=TipWithdrawn").concat(t?"&limit=5":""));case 7:if(c=n.sent,!c.message){n.next=10;break}return n.abrupt("return",[]);case 10:return l=c.map((function(t){var n=t.amount,a=t.contract,r=t.height,i=t.data.tx,s=D(t,["amount","contract","height","data"]);return Object.assign(Object.assign({tx:Object.assign(Object.assign({},i),{address:e,amount:n,contractId:a,type:g.vw[g.vw.ContractCallTx]})},s),{microTime:new Date(s.createdAt).getTime(),blockHeight:r,claim:!0,protocol:o.yv.aeternity,transactionOwner:e})})),n.abrupt("return",l);case 14:return n.prev=14,n.t0=n["catch"](0),n.abrupt("return",[]);case 17:case"end":return n.stop()}}),n,null,[[0,14]])})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function t(){var r,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},t.next=3,Promise.all([this.fetchRegularTransactions(e,o.K0,n),this.fetchPendingTransactions(e),this.fetchTipWithdrawnTransactions(e,!n)]);case 3:return i=t.sent,u=(0,a.A)(i,3),c=u[0],l=c.regularTransactions,d=c.nextPageUrl,p=u[1],v=u[2],d&&(r.nextPageUrl=d),t.abrupt("return",{regularTransactions:l,pendingTransactions:p,tipWithdrawnTransactions:v,paginationParams:r});case 12:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u=this;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={},o=[],n.prev=2,n.next=5,this.fetchAccountTransactions(e,{nextPageUrl:a});case 5:i=n.sent,r=i.paginationParams,o=t===this.coinContractId?i.regularTransactions.filter((function(e){var t=e.tx;return!t.contractId||t.contractId===u.coinContractId})):i.regularTransactions.filter((function(e){var n=e.tx;return n.contractId===t||JSON.stringify(Object.assign(Object.assign({},n.arguments),n.log)).includes(t)})),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](2),S.A.write(n.t0);case 13:return n.abrupt("return",{paginationParams:r,regularTransactions:o});case 14:case"end":return n.stop()}}),n,this,[[2,10]])})))}},{key:"fetchTransactionByHash",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=(0,I.ef)(),r=a.getMiddleware,n.next=3,r();case 3:return i=n.sent,n.t0=Object,n.t1=Object,n.t2={},n.next=9,i.getTx(e);case 9:return n.t3=n.sent,n.t4=n.t1.assign.call(n.t1,n.t2,n.t3),n.t5={protocol:o.yv.aeternity,transactionOwner:t},n.abrupt("return",n.t0.assign.call(n.t0,n.t4,n.t5));case 13:case"end":return n.stop()}}),n)})))}},{key:"constructAndSignTx",value:function(){throw new Error("Method not implemented.")}},{key:"spend",value:function(e,t,n){return F(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,w.C)(),o=r.getAeSdk,a.next=3,o();case 3:return i=a.sent,a.abrupt("return",i.spendWithCustomOptions(e,t,{waitMined:!1,payload:(0,h.lF)(W.from(n.payload),v.W.Bytearray)}));case 5:case"end":return a.stop()}}),a)})))}},{key:"waitTransactionMined",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,w.C)().waitTransactionMined(e));case 1:case"end":return t.stop()}}),t)})))}}]),t}(C),P=n(26169),M=(n(26910),n(2892),n(38781),n(76031),n(44774)),O=n(852),R=n(21757),N=n(70057),U=n(14673),X=n(81881),V=n(28446),H=n(11948),$=n(41370),j=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),K=n(20641);function q(){var e=(0,X.f)(),t=e.activeNetwork,n=e.activeNetworkName,a=(0,K.EW)((function(){return t.value.protocols[o.yv.bitcoin]})),r=(0,K.EW)((function(){var e=t.value.type===o.Qb?o.Oj:t.value.type;return V.Hl[e]||{}}));return{activeNetworkName:n,btcActiveNetworkSettings:a,btcActiveNetworkPredefinedSettings:r}}var G=n(38700),Q=function(){function e(t,n){(0,u.A)(this,e),this.publicKey=n,this.secretKey=t}return(0,c.A)(e,[{key:"sign",value:function(e){var t=(0,G.Ay)(M);return t.fromPrivateKey(this.secretKey).sign(e)}}]),e}(),Z=n(48287)["Buffer"],Y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},z=5e3,J=10,ee=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.bitcoin,e.protocolName="Bitcoin",e.coinName=V.OX,e.coinSymbol=V.HF,e.coinContractId=V.bR,e.coinPrecision=V.Jb,e.hasTokensSupport=!1,e.mdwToNodeApproxDelayTime=0,e.bip32=(0,O.Pr)(M),e.networkSettings=[{key:"nodeUrl",testId:"url",required:!0,defaultValue:V.tW[o.Oj].nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getAccountPrefix",value:function(){var e=(0,X.f)(),t=e.activeNetwork;return t.value.type===o.Oj?"tb1q":"bc1q"}},{key:"getExplorer",value:function(){var e=q(),t=e.btcActiveNetworkPredefinedSettings;return new j(t.value.explorerUrl)}},{key:"getAmountPrecision",value:function(){return V.Jb}},{key:"getUrlTokenKey",value:function(){return V.bR}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return V.tW[e]}},{key:"getCoinGeckoCoinId",value:function(){return V.nM}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.bitcoin])||{}),{protocol:o.yv.bitcoin,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.getAmountPrecision(),name:V.OX,convertedBalance:t})}},{key:"fetchBalance",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i,u,c,l,d,p;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats,u=i.funded_txo_sum,c=i.spent_txo_sum,l=o.mempool_stats,d=l.funded_txo_sum,p=l.spent_txo_sum,t.abrupt("return",(0,U.toBitcoin)(Number(u)-Number(c)+Number(d)-Number(p)).toString());case 12:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e,t){try{var n=(0,r.A)((0,r.A)({},o.dk,"bitcoin"),o.Oj,"testnet"),a=t?R.o8[n[t]]:void 0;return(0,N.toOutputScript)(e,a),!0}catch(i){return!1}}},{key:"isValidAddressOrNameEncoding",value:function(e,t){return this.isAccountAddressValid(e,t)}},{key:"isAccountUsed",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats.funded_txo_sum,t.abrupt("return",!!i);case 7:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,X.f)(),a=n.activeNetwork,r=R.o8[a.value.type]||R.o8.bitcoin,i=a.value.type===o.Oj?1:0,s=this.bip32.fromSeed(Z.from(e)),u="m/84'/".concat(i,"'/").concat(t,"'/0/0"),c=s.derivePath(u),l=R.KT.p2wpkh({pubkey:c.publicKey,network:r}),d=l.address;return{secretKey:c.privateKey,publicKey:c.publicKey,address:d}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed,this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.lastTxId;return Y(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,n.next=4,(0,L.x6)(a?"".concat(i,"/address/").concat(e,"/txs/chain/").concat(a):"".concat(i,"/address/").concat(e,"/txs"));case 4:return u=n.sent,c=u.map((function(t){return(0,H.n1)(t,e)})),n.abrupt("return",{regularTransactions:c,paginationParams:{lastTxId:(null===(t=c[c.length-1])||void 0===t?void 0:t.hash)||void 0}});case 7:case"end":return n.stop()}}),n)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.fetchAccountTransactions(e,n));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchTransactionByHash",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/tx/").concat(e));case 4:return o=t.sent,t.abrupt("return",(0,H.n1)(o));case 6:case"end":return t.stop()}}),t)})))}},{key:"constructAndSignTx",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,S,T,E=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=R.o8[o.value.type]||R.o8.bitcoin,u=o.value.protocols.bitcoin.nodeUrl,c=(0,U.toSatoshi)(e),l=(0,U.toSatoshi)(n.fee),d=0,p=!1,v=new R.iL({network:i}),a.next=10,(0,L.x6)("".concat(u,"/address/").concat(n.address,"/utxo"));case 10:return f=a.sent,a.next=13,Promise.all(f.map((function(e){var t=e.txid,n=e.vout,a=e.value;return Y(E,void 0,void 0,(0,s.A)().mark((function e(){var r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(u,"/tx/").concat(t,"/hex"));case 2:return r=e.sent,e.t0=t,e.t1=n,e.t2=a,e.next=8,r.text();case 8:return e.t3=e.sent,e.abrupt("return",{txid:e.t0,vout:e.t1,value:e.t2,transactionInHex:e.t3});case 10:case"end":return e.stop()}}),e)})))})));case 13:m=a.sent,g=m.sort((function(e,t){return Math.abs(e.value-c+l)-Math.abs(t.value-c+l)})),h=(0,P.A)(g),a.prev=16,h.s();case 18:if((A=h.n()).done){a.next=30;break}if(k=A.value,y=k.txid,b=k.vout,w=k.value,C=k.transactionInHex,!p){a.next=22;break}return a.abrupt("break",30);case 22:x=R.ZX.fromHex(C),S=x.outs.at(b),T=x.hasWitnesses(),T?v.addInput({hash:y,index:b,witnessUtxo:{script:S.script,value:w}}):v.addInput({hash:y,index:b,nonWitnessUtxo:Z.from(C,"hex")}),d+=w,d>=c+l&&(p=!0);case 28:a.next=18;break;case 30:a.next=35;break;case 32:a.prev=32,a.t0=a["catch"](16),h.e(a.t0);case 35:return a.prev=35,h.f(),a.finish(35);case 38:if(p){a.next=40;break}throw new Error("Insufficient balance");case 40:return v.addOutput({address:t,value:c}),d-(c+l)>V.uR&&v.addOutput({address:n.address,value:d-c-l}),a.next=44,v.signAllInputs(new Q(n.secretKey,n.publicKey));case 44:return a.next=46,v.finalizeAllInputs();case 46:return a.abrupt("return",v.extractTransaction());case 47:case"end":return a.stop()}}),a,null,[[16,32,35,38]])})))}},{key:"spend",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,a.next=4,this.constructAndSignTx(e,t,n);case 4:return u=a.sent.toHex(),c={method:"POST",headers:new Headers({"Content-Type":"text/plain"}),body:u,redirect:"follow"},a.next=8,fetch("".concat(i,"/tx"),c).then((function(e){return Y(d,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(200===e.status){t.next=6;break}return t.t0=Error,t.next=4,e.text();case 4:throw t.t1=t.sent,new t.t0(t.t1);case 6:return t.abrupt("return",e.text());case 7:case"end":return t.stop()}}),t)})))}));case 8:return l=a.sent,a.abrupt("return",{hash:l});case 10:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){var t=this;return new Promise((function(n){var a=0,r=setInterval((function(){return Y(t,void 0,void 0,(0,s.A)().mark((function t(){var o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a+=1,o=a>=J,t.next=4,this.fetchTransactionByHash(e);case 4:if(i=t.sent,!i){t.next=8;break}return clearInterval(r),t.abrupt("return",n(i));case 8:if(!o){t.next=11;break}return clearInterval(r),t.abrupt("return",n(null));case 11:return t.abrupt("return",null);case 12:case"end":return t.stop()}}),t,this)})))}),z)}))}}]),t}(C),te=n(6682),ne=(n(48980),n(64346),n(54554),n(78459),n(69825)),ae=n(38653),re=n(40166),oe=n(97362),ie=n(37061),se=n(20345),ue=n(7595),ce=n(84754),le=n(28388),de=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),pe=(n(48408),n(50113),n(58940),n(14603),n(47566),n(98721),n(60346));function ve(e,t,n){var a=e||{},r=a.blockNumber,i=a.from,s=a.hash,u=a.gas,c=a.gasPrice,l=a.to,d=a.value,p=a.type,v=t||{},f=v.timestamp,m=0===Number(p),g=(0,ae.BA)(n);return{transactionOwner:g,protocol:o.yv.ethereum,hash:s,microTime:f?new Date(1e3*Number(f)).getTime():void 0,pending:!r,blockHeight:Number(r),tx:{amount:Number((0,ae.kX)(d||0,"ether")),fee:m?0:+(0,ae.kX)(Number(u||0)*Number(c||0),"ether"),senderId:i?(0,ae.BA)(i):void 0,recipientId:l?(0,ae.BA)(l):void 0,type:"SpendTx",arguments:[],callerId:"",contractId:ue.Xn}}}function fe(e){return e&&(null===e||void 0===e?void 0:e.startsWith("0x"))?(0,ae.BA)(e):e}var me,ge,he=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ae="No transactions found",ke=function(){function e(t){(0,u.A)(this,e),this.freeVersionTimeDelay=o.l2?250:5300,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){return he(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=new URLSearchParams(Object.assign(Object.assign({},(0,L.pV)(e)),{apikey:o.l2})).toString(),a=(new Date).getTime(),r=me?this.freeVersionTimeDelay-(a-me):0,me=a+(r>0?r:0),!(r>0)){t.next=7;break}return t.next=7,(0,L.yy)(r);case 7:return t.abrupt("return",(0,L.x6)("".concat(this.apiUrl,"?").concat(n)));case 8:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountCoinTransactions",value:function(t,n){var a;return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=n.page,u=void 0===i?"1":i,c=n.offset,l=void 0===c?o.K0.toString():c,r.next=3,this.fetchFromApi({module:"account",action:"txlist",address:t,page:u,offset:l,sort:"desc"});case 3:if(d=r.sent,"1"===(null===d||void 0===d?void 0:d.status)||(null===d||void 0===d?void 0:d.message)===Ae){r.next=6;break}throw new Error((null===d||void 0===d?void 0:d.result)||(null===d||void 0===d?void 0:d.message));case 6:return r.abrupt("return",(null===(a=null===d||void 0===d?void 0:d.result)||void 0===a?void 0:a.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactions",value:function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d,p,v,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=a.assetContractId,u=a.page,c=void 0===u?"1":u,l=a.offset,d=void 0===l?o.K0.toString():l,p=a.startblock,v=a.endblock,r.next=3,this.fetchFromApi({module:"account",action:"tokentx",contractaddress:i,address:t,page:c,offset:d,sort:"desc",startblock:p,endblock:v});case 3:if(f=r.sent,"1"===(null===f||void 0===f?void 0:f.status)||(null===f||void 0===f?void 0:f.message)===Ae){r.next=6;break}throw new Error((null===f||void 0===f?void 0:f.result)||(null===f||void 0===f?void 0:f.message));case 6:return r.abrupt("return",(null===(n=null===f||void 0===f?void 0:f.result)||void 0===n?void 0:n.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t,i)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactionByHash",value:function(e,t,n){return he(this,void 0,void 0,(0,s.A)().mark((function a(){var r;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,this.fetchAccountTokenTransactions(t,{startblock:n,endblock:n});case 2:return r=a.sent,a.abrupt("return",r.find((function(t){return t.hash===e})));case 4:case"end":return a.stop()}}),a,this)})))}}],[{key:"normalizeEtherscanTransactionStructure",value:function(e,t,n){var a=e.confirmations,r=e.contractAddress,i=e.from,s=e.functionName,u=e.gasUsed,c=e.gasPrice,l=e.hash,d=e.nonce,p=e.timeStamp,v=e.to,f=e.value,m=fe(i),g=fe(v),h=fe(t),A=fe(r||n)||ue.Xn,k=Number((0,ae.kX)(c,"ether")),y=u*k,b=Number((0,ae.kX)(f,"ether")),w=parseInt(a,10)<=ue.Id,C=1e3*p,x=!r;return{protocol:o.yv.ethereum,transactionOwner:h,hash:l,microTime:C,pending:w,tx:{amount:b,fee:y,senderId:m,recipientId:g,type:x?"SpendTx":"ContractCallTx",arguments:[],callerId:x?"":m,contractId:A,function:s,nonce:d,gasPrice:k,gasUsed:u}}}}]),e}(),ye=(n(62010),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),be="freekey",we=429,Ce=function(){function e(t){(0,u.A)(this,e),this.resourcesUrl="https://ethplorer.io",this.freeVersionTimeDelay=600,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=new URLSearchParams(Object.assign(Object.assign({},t),{apiKey:be})).toString(),be&&"freekey"!==be){n.next=8;break}if(r=(new Date).getTime(),o=ge?this.freeVersionTimeDelay-(r-ge):0,ge=r+(o>0?o:0),!(o>0)){n.next=8;break}return n.next=8,(0,L.yy)(o);case 8:return n.abrupt("return",(0,L.x6)("".concat(this.apiUrl).concat(e,"?").concat(a)));case 9:case"end":return n.stop()}}),n,this)})))}},{key:"normalizeTokenStructure",value:function(e){return{contractId:fe(e.address),decimals:Number(e.decimals),name:e.name,protocol:o.yv.ethereum,symbol:e.symbol,image:e.image?"".concat(this.resourcesUrl).concat(e.image):void 0}}},{key:"fetchTopTokens",value:function(){var e;return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTopTokens");case 2:if(n=t.sent,(null===(e=null===n||void 0===n?void 0:n.error)||void 0===e?void 0:e.code)!==we){t.next=5;break}return t.abrupt("return",null);case 5:return a=n.tokens||[],t.abrupt("return",a.filter((function(e){var t=e.address,n=e.name,a=e.symbol;return t&&n&&a})).filter((function(e){var t=e.address;return t!==ue.LB})).map((function(e){return r.normalizeTokenStructure(e)})));case 7:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTokenBalances",value:function(e){var t;return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.fetchFromApi("/getAddressInfo/".concat(e));case 2:if(a=n.sent,(null===(t=null===a||void 0===a?void 0:a.error)||void 0===t?void 0:t.code)!==we){n.next=5;break}return n.abrupt("return",null);case 5:return r=a.tokens||[],n.abrupt("return",r.map((function(t){var n=t.rawBalance,a=t.tokenInfo,r=a.address,i=a.decimals,s=a.name,u=a.symbol;return{address:e,amount:n,contractId:fe(r),convertedBalance:+(0,L.k0)((0,L.Y9)(n,-i)),decimals:i,symbol:u,name:s,protocol:o.yv.ethereum}}))||[]);case 7:case"end":return n.stop()}}),n,this)})))}},{key:"fetchTokenInfo",value:function(e){return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTokenInfo/".concat(e));case 2:return n=t.sent,t.abrupt("return",(null===n||void 0===n?void 0:n.error)?void 0:this.normalizeTokenStructure(n));case 4:case"end":return t.stop()}}),t,this)})))}}]),e}(),xe=n(48287)["Buffer"],Le=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Se=6e3,Te=10,Ee=3,Ie=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.ethereum,e.protocolName=ue.Dz,e.coinName=ue.Sf,e.coinSymbol=ue.xU,e.coinContractId=ue.Xn,e.coinPrecision=ue.hj,e.hasTokensSupport=!0,e.mdwToNodeApproxDelayTime=ue.nE,e.bip32=(0,O.Pr)(M),e.networkSettings=[{key:"nodeUrl",testId:"url",defaultValue:ue.vZ.nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}},{key:"chainId",defaultValue:ue.vZ.chainId,validationRules:{url:!1,is_hex_format:!0},getPlaceholder:function(){return(0,x.tg)("pages.network.chainIdPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.chainIdLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getTransactionCount",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.ym)(n,e,"pending",ie.XD);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})))}},{key:"getAccountPrefix",value:function(){return"0x"}},{key:"getAmountPrecision",value:function(){return 9}},{key:"getCoinGeckoCoinId",value:function(){return ue.z2}},{key:"getExplorer",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkPredefinedSettings;return new de(t.value.explorerUrl)}},{key:"getUrlTokenKey",value:function(){return ue.Xn}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.ethereum])||{}),{protocol:o.yv.ethereum,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.coinPrecision,name:ue.Sf,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return ue.RA[e]}},{key:"fetchBalance",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.r1)(n,e,"latest",ie.XD);case 3:return a=t.sent,t.abrupt("return",(0,ae.kX)(a,"ether").toString());case 5:case"end":return t.stop()}}),t,this)})))}},{key:"isAccountAddressValid",value:function(e){return(0,ne.PW)(e)}},{key:"isValidAddressOrNameEncoding",value:function(e){return this.isAccountAddressValid(e)}},{key:"isAccountUsed",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=Promise,t.next=3,this.fetchBalance(e);case 3:return t.t1=t.sent,t.t2=this.getTransactionCount(e),t.t3=[t.t1,t.t2],t.next=8,t.t0.all.call(t.t0,t.t3);case 8:return n=t.sent,r=(0,a.A)(n,2),o=r[0],i=r[1],t.abrupt("return",parseFloat(o)>0||i>0);case 13:case"end":return t.stop()}}),t,this)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=this.bip32.fromSeed(xe.from(e)),a="m/44'/60'/".concat(t,"'/0/0"),r=n.derivePath(a),o=(0,ae.BA)((0,oe.uX)(r.privateKey).toString());return{secretKey:r.privateKey,publicKey:r.publicKey,address:o}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return Le(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,le.G)(),n=t.ethActiveNetworkPredefinedSettings,a=n.value.tokenMiddlewareUrl,e.prev=2,e.abrupt("return",new Ce(a).fetchTopTokens());case 6:return e.prev=6,e.t0=e["catch"](2),S.A.write(e.t0),e.abrupt("return",null);case 10:case"end":return e.stop()}}),e,null,[[2,6]])})))}},{key:"fetchAccountTokenBalances",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchAccountTokenBalances(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"fetchTokenInfo",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchTokenInfo(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",void 0);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"transferToken",value:function(e,t,n,r){return Le(this,void 0,void 0,(0,s.A)().mark((function i(){var u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,L,S,T,E,I,_,W,F;return(0,s.A)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=u.ethActiveNetworkPredefinedSettings,d=(0,ce.oV)(),p=d.getAccountByAddress,v=l.value.middlewareUrl,f=p(r.fromAccount),f&&f.protocol===o.yv.ethereum){i.next=6;break}throw new Error("Token transfer were initiated from not existing or not ethereum account.");case 6:return i.next=8,new ke(v).fetchFromApi({module:"contract",action:"getabi",address:n});case 8:return m=i.sent,g=new re.NZ(m&&Array.isArray(null===m||void 0===m?void 0:m.result)?m.result:ue.iA,n,{from:r.fromAccount}),h=c.value,A=h.chainId,k=h.nodeUrl,g.setProvider(k),i.t0=oe.Q9,i.t1=BigInt,i.t2=ae.fq,i.t3=e,i.t4=Number,i.next=19,g.methods.decimals().call();case 19:return i.t5=i.sent,i.t6=(0,i.t4)(i.t5),i.t7=i.t3.toFixed.call(i.t3,i.t6),i.t8=(0,i.t2)(i.t7,"ether"),i.t9=(0,i.t1)(i.t8),y=(0,i.t0)(i.t9),b=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxPriorityFeePerGas,"ether"))),w=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxFeePerGas,"ether"))),i.next=29,Promise.all([this.getTransactionCount(r.fromAccount),g.methods.transfer(t,y).estimateGas()]);case 29:return C=i.sent,x=(0,a.A)(C,2),L=x[0],S=x[1],T={chainId:A,nonce:L,to:n,data:g.methods.transfer(t,y).encodeABI(),value:0,maxPriorityFeePerGas:b,maxFeePerGas:w,gasLimit:"0x".concat(S.toString(16)),type:"0x02"},E=oe.nx.fromTxData(T),I=E.sign(f.secretKey),_=I.serialize(),W=this.getWeb3EthInstance(),F="0x".concat(xe.from(I.hash()).toString("hex")),(0,ie.f7)(W,_,se.Hh),i.abrupt("return",{hash:F});case 41:case"end":return i.stop()}}),i,this)})))}},{key:"fetchTransactionByHash",value:function(e,t){return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o,i,u,c,l,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=this.getWeb3EthInstance(),n.next=3,(0,ie.xw)(a,e,se.Hh);case 3:if(r=n.sent,"0x"===(null===r||void 0===r?void 0:r.input)||!(null===r||void 0===r?void 0:r.blockNumber)){n.next=11;break}return o=(0,le.G)(),i=o.ethActiveNetworkPredefinedSettings,u=new ke(i.value.middlewareUrl),n.next=9,u.fetchAccountTokenTransactionByHash(e,null!==t&&void 0!==t?t:r.from,r.blockNumber);case 9:return c=n.sent,n.abrupt("return",c);case 11:if(!(null===r||void 0===r?void 0:r.blockHash)){n.next=17;break}return n.next=14,(0,ie.gd)(a,r.blockHash,!0,se.Hh);case 14:n.t0=n.sent,n.next=18;break;case 17:n.t0=void 0;case 18:return l=n.t0,d=ve(r,l,t),n.abrupt("return",d);case 21:case"end":return n.stop()}}),n,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var r,o,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},o=[],t.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t.next=7,Promise.all([c.fetchAccountCoinTransactions(e,{page:n}),c.fetchAccountTokenTransactions(e,{page:n})]);case 7:l=t.sent,d=(0,a.A)(l,2),p=d[0],v=d[1],v.forEach((function(e){var t=p.findIndex((function(t){return t.hash===e.hash}));t>-1&&p.splice(t,1)})),o=[].concat((0,te.A)(p),(0,te.A)(v)),(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(n?+n+1:2).toString()),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](2),S.A.write(t.t0);case 19:return t.abrupt("return",{regularTransactions:o,paginationParams:r});case 20:case"end":return t.stop()}}),t,null,[[2,16]])})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r={},o=[],n.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t!==this.coinContractId){n.next=11;break}return n.next=8,c.fetchAccountCoinTransactions(e,{page:a});case 8:n.t0=n.sent,n.next=14;break;case 11:return n.next=13,c.fetchAccountTokenTransactions(e,{page:a,assetContractId:t});case 13:n.t0=n.sent;case 14:o=n.t0,(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(a?+a+1:2).toString()),n.next=21;break;case 18:n.prev=18,n.t1=n["catch"](2),S.A.write(n.t1);case 21:return n.abrupt("return",{regularTransactions:o,paginationParams:r});case 22:case"end":return n.stop()}}),n,this,[[2,18]])})))}},{key:"constructAndSignTx",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ce.oV)(),i=r.getAccountByAddress,u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=i(n.fromAccount),l&&l.protocol===o.yv.ethereum){a.next=5;break}throw new Error("Ethereum transaction construction & signing was initiated from non existing or not ethereum account.");case 5:return a.next=7,this.getTransactionCount(n.fromAccount);case 7:return d=a.sent,p=c.value.chainId,v=(0,oe.Q9)(BigInt((0,ae.fq)(e.toFixed(ue.hj),"ether"))),f=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxPriorityFeePerGas,"ether"))),m=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxFeePerGas,"ether"))),g={chainId:p,nonce:d,to:t,value:v,data:"0x",maxPriorityFeePerGas:f,maxFeePerGas:m,gasLimit:"0x".concat(ue.un.toString(16)),type:"0x02"},a.abrupt("return",oe.nx.fromTxData(g).sign(l.secretKey));case 14:case"end":return a.stop()}}),a,this)})))}},{key:"spend",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=this.getWeb3EthInstance(),a.next=3,this.constructAndSignTx(e,t,n);case 3:return o=a.sent,i=o.serialize(),u="0x".concat(xe.from(o.hash()).toString("hex")),(0,ie.f7)(r,i,se.Hh),a.abrupt("return",{hash:u});case 8:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.abrupt("return",new Promise((function(t){var r=0,o=setInterval((function(){return Le(a,void 0,void 0,(0,s.A)().mark((function a(){var i,u,c;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r+=1,i=r>=Te,a.next=4,(0,ie.h9)(n,e,se.Hh);case 4:return u=a.sent,a.next=7,(0,ie.gd)(n,"latest",!0,se.Hh);case 7:if(c=a.sent,!(null===u||void 0===u?void 0:u.blockNumber)||!((null===c||void 0===c?void 0:c.number)&&c.number-BigInt(u.blockNumber)>=Ee||i)){a.next=11;break}return clearInterval(o),a.abrupt("return",t(u));case 11:if(!i){a.next=14;break}return clearInterval(o),a.abrupt("return",t(null));case 14:return a.abrupt("return",null);case 15:case"end":return a.stop()}}),a)})))}),Se)})));case 2:case"end":return t.stop()}}),t,this)})))}},{key:"getWeb3EthInstance",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkSettings,n=t.value.nodeUrl;return new ie.Ay(n)}}]),t}(C),_e=(0,r.A)((0,r.A)((0,r.A)({},o.yv.aeternity,B),o.yv.bitcoin,ee),o.yv.ethereum,Ie);Object.entries(_e).forEach((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];i.C.registerAdapter(n,r)}));var We=n(53751),Fe=n(62759),De=(n(89463),n(34782),n(15261)),Be=n(3505),Pe=n(63366),Me=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};(0,De.Km)("required",(function(e){return(0,Be.mw)(e)||(0,x.tg)("validation.required")})),(0,De.Km)("url",(function(e){return!e||(0,L.Ks)(e)||(0,x.tg)("validation.url")})),(0,De.Km)("account",(function(e){return(0,f.pL)(e)||(0,_.F7)(e)||(0,x.tg)("validation.address")})),(0,De.Km)("account_address",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return i.C.getAdapter(r).isAccountAddressValid(e,o)||(0,x.tg)("validation.addressGeneric",{protocol:r})})),(0,De.Km)("min_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isGreaterThanOrEqualTo(r)||(0,x.tg)("validation.minValue",[r])})),(0,De.Km)("min_value_exclusive",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isGreaterThan(r)||(0,x.tg)("validation.minValueExclusive",[r])})),(0,De.Km)("max_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValue",[r])})),(0,De.Km)("max_redeem",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxRedeem",[r])})),(0,De.Km)("max_value_vault",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValueVault",[r])})),(0,De.Km)("max_len",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&e.length<=r||(0,x.tg)("validation.maxLength",[r])})),(0,De.Km)("network_exists",(function(e,t){var n=(0,a.A)(t,2),r=n[0],i=n[1];return!([o.y1,o.I1].includes(e)||e!==i&&r.find((function(t){var n=t.name;return n===e})))||(0,x.tg)("pages.network.error.networkExists")})),(0,De.Km)("is_hex_format",(function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.toString())||void 0===t?void 0:t.startsWith("0x"))&&e.length>=3&&parseInt(e.slice(2),16).toString(16)===e.slice(2).toLowerCase()||(0,x.tg)("validation.hexFormat")}));const Oe=function(){var e,t=(0,ce.ty)(),n=t.balance,u=t.updateBalances,c=(0,ce.ZN)({pollingDisabled:!0}),l=c.currencyRates,d=(0,ce.CP)(),p=d.getAeSdk,v={REGISTERED:Symbol("name state: registered"),REGISTERED_ADDRESS:Symbol("name state: registered and points to address"),UNREGISTERED:Symbol("name state: unregistered"),NOT_SAME:Symbol("name state: not same as provided")},m=(0,Pe.A)((function(e,t,n,a){var o=a.resolve,i=a.reject;return Me(void 0,void 0,void 0,(0,s.A)().mark((function a(){var u,c,l;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,p();case 3:return u=a.sent,a.next=6,u.api.getNameEntryByName(e);case 6:c=a.sent,l=(0,_.Pd)(c),o((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},v.REGISTERED,!0),v.REGISTERED_ADDRESS,!!l),v.UNREGISTERED,!1),v.NOT_SAME,n!==l)[t]),a.next=14;break;case 11:a.prev=11,a.t0=a["catch"](0),(0,L.El)(a.t0)?o(t===v.UNREGISTERED||t===v.NOT_SAME):i(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})))}),300,{leading:!0});function g(t){return function(n,r){var o=(0,a.A)(r,1),i=o[0];return new Promise((function(a,r){n===e&&m.flush(),e=n,m(n,t,i,{resolve:a,reject:r})}))}}var h=function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,t.t0=(0,f.pL)(e),t.t0){t.next=6;break}return t.next=5,g(v.REGISTERED_ADDRESS)(e,[]);case 5:t.t0=t.sent;case 6:return t.abrupt("return",t.t0);case 9:return t.prev=9,t.t1=t["catch"](0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))};(0,De.Km)("ae_min_tip_amount",(function(e){var t,n=.01/((null===(t=l.value)||void 0===t?void 0:t[o.yv.aeternity].usd)||1);return(0,pe.A)(e).isGreaterThan(n)||(0,x.tg)("pages.tipPage.minAmountError")})),(0,De.Km)("aens_name",(function(e){return(0,_.F7)("".concat(e).concat(T.CT))||(0,x.tg)("validation.name")})),(0,De.Km)("aens_name_unregistered",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,g(v.UNREGISTERED)("".concat(e,".chain"),[]);case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0=(0,x.tg)("validation.nameUnregistered");case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.nameRegisteredAddress"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address_or_url",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e)||(0,L.Ks)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.invalidAddressChainUrl"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("token_to_an_address",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!(0,_.F7)(e)||(0,_.F7)(e)&&!r||(0,x.tg)("validation.tokenToAnAddress")})),(0,De.Km)("address_not_same_as",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e!==r||(0,x.tg)("validation.addressNotSameAs",[o?i.C.getAdapter(o).coinSymbol:(0,x.tg)("common.tokens")])})),(0,De.Km)("enough_coin",(function(e,t){var r=(0,a.A)(t,2),o=r[0],i=r[1];return Me(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughCoin",[i||T.kf]));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("enough_ae_signer",(function(e,t){var r=(0,a.A)(t,1),o=r[0];return Me(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughAeSigner"));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("does_not_exceed_decimals",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!e||(0,pe.A)(e).dp()<=r||(0,x.tg)("validation.doesNotExceedDecimals",[r])}))};n(3296),n(44114),n(53921),n(79432);var Re=n(26186),Ne=n(92875),Ue=n(42302),Xe=n(19636),Ve=n(59794),He=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function $e(e){var t=Object.assign(Object.assign({},Ve.DZ[e]),{tag:g.vw[e]});return(0,Xe.pr)(t)}var je=function(){var e,t={};return function(n){var a=n.type,r=n.payload;return He(void 0,void 0,void 0,(0,s.A)().mark((function n(){var i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o.hL&&browser){n.next=2;break}throw new Error("Supported only in browser extension");case 2:return e||(e=browser.runtime.connect({name:o.ZH.POPUP}),e.onMessage.addListener((function(e){var n=e.uuid,a=e.res;if(!t[n])throw new Error("Can't find request with id: ".concat(n));t[n].resolve(a),delete t[n]}))),i=(0,Ue.A)(),e.postMessage({type:a,payload:r,uuid:i}),n.abrupt("return",new Promise((function(e,n){t[i]={resolve:e,reject:n}})));case 6:case"end":return n.stop()}}),n)})))}}(),Ke=function(e){var t=e.type;return He(void 0,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=t,e.next=e.t0===o.Jw.getProps?3:e.t0===o.Jw.resolve||e.t0===o.Jw.reject?12:14;break;case 3:return e.next=5,browser.storage.local.get("txType");case 5:if(n=e.sent,a=n.txType,!a){e.next=11;break}return r=Ve.FE.base,r.tx=(0,Xe.pj)($e(a)),e.abrupt("return",r);case 11:return e.abrupt("return",o.WZ?Ve.FE[o.WZ]:{});case 12:return window[t]="send",e.abrupt("break",15);case 14:throw new Error("Unknown type: ".concat(t));case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))};function qe(){return He(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,i,u,c,l=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=o.yW?Ke:je,n=!1,a=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.resolve}));case 1:case"end":return e.stop()}}),e)})))},r=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.reject}));case 1:case"end":return e.stop()}}),e)})))},i=function(){n||r()},window.addEventListener("beforeunload",i,!0),u=function(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r5?((0,K.uX)(),(0,K.CE)("p",{key:2,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.transactionListEnd"))},null,8,gn)):(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("p",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.noTransactionsFound"))},null,8,mn))])):(0,K.Q3)("",!0),e.isOnline?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.transactionsNotAvailable")},null,8,["text"]))],512),(0,K.bF)(l)]})),_:1})}var An=n(46992),kn=n(74022),yn=n(17831),bn={class:"body"},wn={class:"footer"},Cn={key:0,class:"consensus"},xn=["textContent"],Ln=["textContent"];function Sn(e,t,n,a,r,o){var i=(0,K.g2)("TransactionAssetRows"),s=(0,K.g2)("ConsensusApprovedLabel"),u=(0,K.g2)("TransactionLabel"),c=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(c,{class:"transaction-item",to:e.redirectRoute,"data-cy":e.currentTransaction.pending?"pending-txs":null,replace:""},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",bn,[(0,K.bF)(i,{assets:e.transactionAssets,error:e.isErrorTransaction,protocol:e.transactionProtocol,"icon-size":"rg"},null,8,["assets","error","protocol"]),(0,K.Lk)("div",wn,[e.multisigTransaction&&!e.hasConsensus?((0,K.uX)(),(0,K.CE)("div",Cn,[(0,K.bF)(s,{"confirmations-required":e.multisigTransaction.confirmationsRequired,"has-pending-transaction":e.multisigTransaction.hasPendingTransaction,"confirmed-by":e.multisigTransaction.confirmedBy,signers:e.multisigTransaction.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])):((0,K.uX)(),(0,K.Wv)(u,{key:1,transaction:e.currentTransaction,"transaction-date":e.transactionDate,"show-transaction-owner":e.showTransactionOwner,dense:""},null,8,["transaction","transaction-date","show-transaction-owner"])),e.multisigTransaction?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[e.fiatAmount&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:0,textContent:(0,tt.v_)(e.fiatAmount)},null,8,xn)):e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:1,class:"date",textContent:(0,tt.v_)(e.transactionDate)},null,8,Ln)):(0,K.Q3)("",!0)],64))])])]})),_:1},8,["to","data-cy"])}var Tn=n(3260),En={ref:"transactionLabelRef",class:"transaction-label"},In={key:1,class:"error"},_n={class:"label"},Wn={key:0},Fn={key:0,class:"secondary"},Dn=["textContent"],Bn={key:4,class:"secondary"},Pn={key:5,class:"owner"},Mn={class:"secondary"};function On(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("WarningIcon"),u=(0,K.g2)("RevertedIcon"),c=(0,K.g2)("Truncate");return(0,K.uX)(),(0,K.CE)("div",En,[e.transaction.pending?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("div",In,[e.transaction.tx.returnType===e.TX_RETURN_TYPE_ABORT?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"icon"}))])):(0,K.Q3)("",!0),(0,K.Lk)("div",_n,[e.label.customPending&&e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",Wn,(0,tt.v_)(e.label.customPending),1)):e.transaction.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",{key:1,ref:"labelRef",class:(0,tt.C4)(["type",{secondary:e.showTransactionOwner}])},[(0,K.eW)((0,tt.v_)(e.label.text)+" ",1),e.label.hasComma&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",Fn," , ")):(0,K.Q3)("",!0)],2)),e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",{key:2,class:"error-type",textContent:(0,tt.v_)(e.errorTypeName)},null,8,Dn)):(0,K.Q3)("",!0),e.transaction.pending?((0,K.uX)(),(0,K.CE)("span",{key:3,class:(0,tt.C4)({secondary:!e.label.customPending||e.showTransactionOwner})},(0,tt.v_)(e.label.customPending||e.$t("common.pending"))+"... ",3)):e.showTransactionOwner?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",Bn,(0,tt.v_)(e.transactionDate),1)),e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("div",Pn,[(0,K.Lk)("span",Mn,(0,tt.v_)(e.$t("common.by")),1),(0,K.bF)(c,{str:e.ownerName},null,8,["str"])])):(0,K.Q3)("",!0)])],512)}var Rn=n(49012),Nn=n(39893),Un=n(87053),Xn=n(36100),Vn=n(29592);const Hn=(0,K.pM)({components:{Truncate:Nn.A,PendingIcon:Un.A,RevertedIcon:Xn.A,WarningIcon:Vn.A},props:{transaction:{type:Object,required:!0},transactionDate:{type:String,default:""},showTransactionOwner:Boolean,dense:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.activeAccount,a=t.getAccountByAddress,r=(0,An.s9)(),i=r.t,s=(0,Rn.q)(),u=s.getName,c=(0,ce.my)({transaction:e.transaction,externalAddress:e.transaction.transactionOwner}),l=c.outerTxTag,d=c.innerTxTag,p=c.direction,v=c.innerTx,f=c.isDex,m=c.isDexAddLiquidity,h=c.isDexAllowance,A=c.isDexRemoveLiquidity,k=c.isErrorTransaction,y=c.isTip,b=c.txTypeListLabel,w=(0,ce.Y7)(),C=w.getProtocolAvailableTokens,x=(0,K.EW)((function(){var t,a=!e.transaction.transactionOwner,r=b.value;if(l.value===g.vw.SpendTx||l.value===g.vw.GaMetaTx&&d.value===g.vw.SpendTx){var s=p.value===o.NX.sent;r=i(s?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(s?"transaction.type.sentTx":"transaction.type.receivedTx")}else if(l.value===g.vw.PayingForTx&&d.value===g.vw.GaAttachTx)r=i("transaction.type.multisigVaultCreated");else if(h.value)r=i("transaction.dexType.allowToken");else if(m.value)r=i("transaction.dexType.provideLiquidity");else if(A.value)r=i("transaction.dexType.removeLiquidity");else if(f.value)r=i("common.swap"),a=!0;else if(y.value&&e.transaction.claim)r=i("transaction.listType.tipReceived");else if(y.value)r=i("transaction.listType.tipSent");else if(l.value===g.vw.ContractCallTx&&C(o.yv.aeternity)[v.value.contractId]&&(v.value["function"]===T.vG.transfer||e.transaction.incomplete)){var u=e.transaction.transactionOwner?e.transaction.transactionOwner===v.value.callerId:v.value.callerId===n.value.address;r=i(u?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(u?"transaction.type.sentTx":"transaction.type.receivedTx")}else l.value===g.vw.ContractCreateTx?r=i("transaction.type.contractCreateTx"):l.value===g.vw.ContractCallTx&&(r=i("transaction.type.contractCallTx"));return{text:r,customPending:t,hasComma:a}})),S=(0,K.EW)((function(){var t=a(e.transaction.transactionOwner);return u(null===t||void 0===t?void 0:t.address).value||(0,L.$W)(t)})),E=(0,K.EW)((function(){switch(e.transaction.tx.returnType){case T.S4:return i("transaction.returnType.abort");case T.wb:return i("transaction.returnType.revert");default:return null}}));return{TX_RETURN_TYPE_ABORT:T.S4,isErrorTransaction:k,ownerName:S,label:x,errorTypeName:E}}}),$n=(0,Ft.A)(Hn,[["render",On],["__scopeId","data-v-bde64a88"]]),jn=$n;var Kn=n(68369),qn={class:"consensus-approved-label"};function Gn(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel");return(0,K.uX)(),(0,K.CE)("span",qn,[e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("multisig.approved")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(i,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensusPending")),1)],64)),(0,K.eW)("   "),(0,K.bF)(s,{"confirmations-required":e.confirmationsRequired,"has-pending-transaction":e.hasPendingTransaction,"default-confirmed-by":e.defaultConfirmedBy,"confirmed-by":e.confirmedBy,signers:e.signers},null,8,["confirmations-required","has-pending-transaction","default-confirmed-by","confirmed-by","signers"]),e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[(0,K.eW)(" . "+(0,tt.v_)(e.$t("multisig.waitingToBeSent")),1)],64)):(0,K.Q3)("",!0)])}var Qn={class:"consensus-label"};function Zn(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("span",Qn,(0,tt.v_)(e.localConfirmedBy)+"/"+(0,tt.v_)(e.confirmationsRequired)+" "+(0,tt.v_)(e.$t("common.of"))+" "+(0,tt.v_)(e.totalConfirmations),1)}const Yn=(0,K.pM)({props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return e.signers.length}));return{localConfirmedBy:t,totalConfirmations:n}}}),zn=(0,Ft.A)(Yn,[["render",Zn]]),Jn=zn,ea=(0,K.pM)({components:{ConsensusLabel:Jn,PendingIcon:Un.A},props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return t.value===e.confirmationsRequired}));return{localConfirmedBy:t,isConsensusReached:n}}}),ta=(0,Ft.A)(ea,[["render",Gn]]),na=ta,aa=(0,K.pM)({components:{ConsensusApprovedLabel:na,TransactionLabel:jn,TransactionAssetRows:Tn.A,ListItemWrapper:Kn.A},props:{transaction:{type:Object,default:null},multisigTransaction:{type:Object,default:null},isMultisig:Boolean,showTransactionOwner:Boolean,hasConsensus:Boolean},setup:function(e){var t,n=(0,ce.ZN)(),a=n.getFormattedAndRoundedFiat,r=(0,bt.KR)(),i=(0,K.EW)((function(){return e.multisigTransaction||e.transaction})),s=(0,K.EW)((function(){var t,n;return null!==(n=null===(t=e.transaction)||void 0===t?void 0:t.protocol)&&void 0!==n?n:o.yv.aeternity})),u=(0,K.EW)((function(){var t,n,a;return e.multisigTransaction?null===(n=null===(t=e.multisigTransaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.senderId:null===(a=e.transaction)||void 0===a?void 0:a.transactionOwner})),c=(0,ce.my)({transaction:i.value,externalAddress:u.value}),l=c.direction,d=c.isDexPool,p=c.isErrorTransaction,v=c.transactionAssets,f=(0,K.EW)((function(){return e.multisigTransaction?{name:Ye.Ie}:{name:e.isMultisig?Ye.tX:Ye.iB,params:{hash:e.transaction.hash,transactionOwner:e.transaction.transactionOwner||""}}})),m=(0,K.EW)((function(){var e,t=null===(e=v.value)||void 0===e?void 0:e.find((function(e){var t=e.assetType;return t===o.Dd.coin}));return!t||p.value||d.value||!t.protocol?0:a(+(0,L.k0)(t.decimals?(0,L.Y9)(t.amount||0,-t.decimals):t.amount),t.protocol)}));return(0,K.sV)((function(){t=(0,L.mX)((function(){var t;r.value=(null===(t=e.transaction)||void 0===t?void 0:t.microTime)?(0,L.d6)(Ze()(e.transaction.microTime).toISOString()):void 0}),5e3)})),(0,K.xo)((function(){clearInterval(t)})),{redirectRoute:f,fiatAmount:m,transactionDate:r,isErrorTransaction:p,currentTransaction:i,transactionAssets:v,transactionProtocol:s,transactionOwner:u,direction:l,formatDate:L.Yq,formatTime:L.fU}}}),ra=(0,Ft.A)(aa,[["render",Sn],["__scopeId","data-v-5d0ffd7a"]]),oa=ra;var ia=n(54598),sa={class:"infinite-scroll"};function ua(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",sa,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}var ca=n(53368);const la=(0,K.pM)({name:"InfiniteScroll",emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,ca.k)(),r=a.viewportElement,o=a.onViewportScroll;(0,K.wB)(r,(function(){o((function(e){var t=e.isOutsideOfViewport;t&&n("load-more")}))}),{immediate:!0})}}),da=(0,Ft.A)(la,[["render",ua],["__scopeId","data-v-f3c3c2da"]]),pa=da;var va=n(89460),fa=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ma=(0,K.pM)({components:{TransactionListItem:oa,AnimatedSpinner:ia.A,InfiniteScroll:pa,MessageOffline:yn.A,IonContent:Fe.W9,BackToTop:va.A},props:{transactions:{type:Array,default:function(){return[]}},isLoading:Boolean,isEndReached:Boolean,isMultisig:Boolean},emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,An.s9)(),r=a.t,i=(0,ce.oV)(),u=i.accounts,c=i.activeAccount,l=(0,ce.CP)(),d=l.dexContracts,p=(0,ce.w5)(),v=p.isOnline,f=(0,ce.J$)(),m=f.setScrollConf,g=(0,ce.kW)(),h=g.initViewport,A=g.viewportElement,k=(0,ce.Y7)(),y=k.getTxAssetSymbol,b=(0,ce.QR)(),w=b.searchPhrase,C=b.displayMode,x=b.FILTER_MODE,S=(0,bt.KR)(),E=(0,bt.KR)(0),I=(0,K.EW)((function(){var e;return null===(e=S.value)||void 0===e?void 0:e.parentElement})),W=(0,K.EW)((function(){return w.value.toLocaleLowerCase()}));function F(e){return e.filter((function(e){var t=e.tx,n=e.tx?(0,_.Bd)(e.tx):null,a=(0,_.c0)(n),i=(0,_._B)(n,d.value),s=(0,_.qE)((null===t||void 0===t?void 0:t.payerId)?t:n,e.transactionOwner||(0,_.Sl)(c.value,u.value,n)!==T.Zi.current&&a||c.value.address);switch(C.value.key){case x.all:return!0;case x.dex:return i;case x.out:return s===o.NX.sent&&!i;case x["in"]:return s===o.NX.received;default:throw new Error("".concat(r("pages.recentTransactions.unknownMode")," ").concat(C.value.key))}}))}function D(e){return e.filter((function(e){var t,n,a;return!w.value||(null===(n=null===(t=e.tx)||void 0===t?void 0:t.contractId)||void 0===n?void 0:n.includes(W.value))||(null===(a=y(e))||void 0===a?void 0:a.toLocaleLowerCase().includes(W.value))}))}var B=(0,K.EW)((function(){return(0,L.Fs)([F,D,L.jL])(e.transactions)}));function P(){e.isLoading||n("load-more")}function M(){return fa(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,K.dY)();case 2:return t.next=4,(0,L.mU)((function(){return!e.isLoading}));case 4:A.value&&(n=A.value,a=n.scrollHeight,r=n.scrollTop,o=n.clientHeight,a-r<=o+100&&(P(),e.isEndReached||M()));case 5:case"end":return t.stop()}}),t)})))}function O(){return(0,kn.A)((function(){var e,t;E.value=null!==(t=null===(e=null===I||void 0===I?void 0:I.value)||void 0===e?void 0:e.scrollTop)&&void 0!==t?t:0}),200)}return(0,K.wB)(E,(function(e){return m(e>=o.OO)})),(0,K.wB)(C,(function(){return M()})),(0,K.sV)((function(){m(!1),h(I.value),S.value&&I.value&&I.value.addEventListener("scroll",O())})),(0,K.hi)((function(){return m(!1)})),{activeAccount:c,isOnline:v,loadMore:P,innerScrollElem:S,filteredTransactions:B,getMultisigTransaction:_.jO,getTransaction:_.xw}}}),ga=(0,Ft.A)(ma,[["render",hn],["__scopeId","data-v-0c1013d8"]]),ha=ga;var Aa=!1;const ka=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce._8)({accountAddress:t.value.address,protocol:t.value.protocol}),a=n.transactionsLoadedAndPending,r=n.isEndReached,o=n.isLoading,i=n.loadCurrentPageTransactions,s=n.initializeTransactionListPolling,u=n.stopTransactionListPolling,c=(0,bt.KR)(!1);return(0,Fe.UO)((function(){c.value=!0,Aa||(s(),Aa=!0)})),(0,Fe.r0)((function(){c.value=!1,u(),Aa=!1})),(0,K.hi)((function(){c.value=!1,u(),Aa=!1})),{isPageActive:c,isLoading:o,isEndReached:r,transactionsLoadedAndPending:a,loadCurrentPageTransactions:i}}}),ya=(0,Ft.A)(ka,[["render",vn]]),ba=ya;function wa(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("AccountDetailsNavigation"),p=(0,K.g2)("AccountDetailsBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount&&e.isPageActive?((0,K.uX)(),(0,K.Wv)(p,{key:0,"without-default-buttons":""},{"account-info":(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.convertMultisigAccountToAccount(e.activeMultisigAccount),"is-multisig":"","show-protocol-icon":"","can-copy-address":""},null,8,["account"])]})),balance:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:+(e.activeMultisigAccount.balance||0),protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-multisig":""}),(0,K.bF)(c,{"is-multisig":""}),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,icon:e.CreditCardIcon,text:e.$t("common.buy"),href:e.simplexLink},null,8,["icon","text","href"])):(0,K.Q3)("",!0)]})),navigation:(0,K.k6)((function(){return[(0,K.bF)(d,{"route-names":[e.ROUTE_MULTISIG_DETAILS,e.ROUTE_MULTISIG_DETAILS_INFO,e.ROUTE_MULTISIG_DETAILS_ASSETS]},null,8,["route-names"])]})),_:1})):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var Ca=n(28645),xa=n(58071),La=n(39098),Sa=n(20756),Ta=n(94449),Ea=n(15653),Ia=n(65568),_a=n(45799);const Wa=(0,K.pM)({components:{OpenTransferSendModalButton:Ia.A,BtnBox:Ca.A,OpenTransferReceiveModalButton:Ea.A,AccountDetailsNavigation:Ta.A,BalanceInfo:Sa.A,AccountInfo:La.A,AccountDetailsBase:xa.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!1),t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,K.EW)((function(){return n.value?(0,_.hj)(n.value.gaAccountId):""}));return(0,Fe.UO)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{UNFINISHED_FEATURES:o.s4,PROTOCOLS:o.yv,ROUTE_MULTISIG_DETAILS:Ye.uc,ROUTE_MULTISIG_DETAILS_INFO:Ye.n3,ROUTE_MULTISIG_DETAILS_ASSETS:Ye.kb,activeMultisigAccount:n,isPageActive:e,simplexLink:a,CreditCardIcon:_a.A,convertMultisigAccountToAccount:_.dT}}}),Fa=(0,Ft.A)(Wa,[["render",wa]]),Da=Fa;var Ba={class:"multisig-token-list-wrapper"};function Pa(e,t,n,a,r,o){var i=(0,K.g2)("AssetList"),s=(0,K.g2)("BackToTop"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Ba,[(0,K.bF)(i,{"search-term":e.searchPhrase,"is-multisig":""},null,8,["search-term"])]),(0,K.bF)(s)]})),_:1})]})),_:1})}var Ma=n(50118);const Oa=(0,K.pM)({components:{AssetList:Ma.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},props:{showFilters:Boolean},setup:function(){var e=(0,ce.QR)(),t=e.searchPhrase;return{searchPhrase:t}}}),Ra=(0,Ft.A)(Oa,[["render",Pa],["__scopeId","data-v-d304c11c"]]),Na=Ra;function Ua(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,"is-multisig":"",transactions:e.transactionList,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var Xa=!1;const Va=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e,t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,ce.ju)(),r=a.pendingMultisigTransaction,i=(0,ce._8)({accountAddress:null===(e=n.value)||void 0===e?void 0:e.gaAccountId,protocol:o.yv.aeternity}),s=i.transactionsLoaded,u=i.isLoading,c=i.isEndReached,l=i.initializeTransactionListPolling,d=i.loadCurrentPageTransactions,p=i.stopTransactionListPolling,v=(0,bt.KR)(!1),f=(0,K.EW)((function(){return[].concat((0,te.A)(r.value?[r.value]:[]),(0,te.A)(s.value))}));return(0,Fe.UO)((function(){v.value=!0,Xa||(l(),Xa=!0)})),(0,Fe.r0)((function(){v.value=!1,p(),Xa=!1})),(0,K.hi)((function(){v.value=!1,p(),Xa=!1})),{isPageActive:v,isLoading:u,isEndReached:c,transactionList:f,loadCurrentPageTransactions:d}}}),Ha=(0,Ft.A)(Va,[["render",Ua]]),$a=Ha;function ja(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var Ka=n(39262),qa=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Ga=(0,K.pM)({name:"Address",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,ce.CP)(),n=t.nodeNetworkId,a=(0,ce.si)(),r=a.openCallbackOrGoHome,i=a.callbackOrigin,u=(0,ce.oV)(),c=u.activeAccount,l=(0,ce.U8)(),d=l.openModal,p=(0,K.EW)((function(){return i.value?{name:i.value.hostname,url:i.value.origin,host:i.value.host}:{}}));(0,K.sV)((function(){return qa(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(o.kV,{access:[o.jA],app:p.value});case 3:r(!0,{address:c.value.address,networkId:n.value}),e.next=10;break;case 6:e.prev=6,e.t0=e["catch"](0),r(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))}))}}),Qa=(0,Ft.A)(Ga,[["render",ja]]),Za=Qa;function Ya(e,t,n,a,r,o){var i=(0,K.g2)("AccountCard"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("LatestTransactionsCard"),d=(0,K.g2)("DashboardCard"),p=(0,K.g2)("DashboardBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"dashboard",accounts:e.accounts,"accounts-select-options":e.accountsSelectOptions,"active-account-address":e.activeAccount.address,"active-idx":e.activeAccountGlobalIdx,"balances-total":e.accountsTotalBalance,onSelectAccount:t[1]||(t[1]=function(t){return e.setActiveAccountByAddress(t)})},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.activeAccountGlobalIdx,"address-list":e.accountsAddressList,onSelectAccount:t[0]||(t[0]=function(t){return e.setActiveAccountByGlobalIdx(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.accounts[n],selected:a,idx:n,to:{name:e.ROUTE_ACCOUNT_DETAILS}},null,8,["account","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-big":""}),(0,K.bF)(c,{"is-big":""})]})),cards:(0,K.k6)((function(){return[(0,K.bF)(l),e.IS_MOBILE_APP||e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:0,title:e.$t("dashboard.daeppBrowserCard.title"),description:e.$t("dashboard.daeppBrowserCard.description"),"btn-text":e.$t("dashboard.daeppBrowserCard.button"),background:e.daeppBrowserBackground,icon:e.GlobeIcon,to:{name:e.ROUTE_APPS_BROWSER},"card-id":e.DASHBOARD_CARD_ID.daeppBrowser},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:1,title:e.$t("dashboard.buyCard.title"),description:e.$t("dashboard.buyCard.description"),"btn-text":e.$t("dashboard.buyCard.button"),background:e.buyBackground,icon:e.CardIcon,href:e.activeAccountSimplexLink,"card-id":e.DASHBOARD_CARD_ID.buyAe},null,8,["title","description","btn-text","background","icon","href","card-id"])):(0,K.Q3)("",!0),(e.isNodeMainnet||e.isNodeTestnet)&&e.activeAccount.protocol===e.PROTOCOLS.aeternity?((0,K.uX)(),(0,K.Wv)(d,{key:2,title:e.$t("dashboard.nameCard.title"),description:e.$t("dashboard.nameCard.description"),"btn-text":e.$t("dashboard.nameCard.button"),background:e.chainNameBackground,icon:e.MenuCardIcon,to:{name:e.ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM},"card-id":e.DASHBOARD_CARD_ID.claimName,variant:"purple"},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0)]})),_:1},8,["accounts","accounts-select-options","active-account-address","active-idx","balances-total"])]})),_:1})]})),_:1})}var za=n(75220);function Ja(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("AccountCardTotalTokens"),c=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(c,{class:"account-card",selected:e.selected,address:e.account.address},{top:(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.account,"avatar-borderless":"","show-protocol-icon":""},null,8,["account"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:e.numericBalance,protocol:e.account.protocol},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[(0,K.bF)(u,{account:e.account},null,8,["account"])]})),_:1},8,["selected","address"])}var er={key:0,class:"account-card-total-tokens"},tr={class:"total-tokens"},nr={class:"digit"},ar={class:"wording"};function rr(e,t,n,a,r,o){return e.hasTokensSupport&&e.isOnline?((0,K.uX)(),(0,K.CE)("div",er,[(0,K.Lk)("div",tr,[(0,K.Lk)("span",nr,(0,tt.v_)(e.totalTokens),1),(0,K.Lk)("span",ar,(0,tt.v_)(e.$t("pages.fungible-tokens.tokens",e.totalTokens)),1)])])):(0,K.Q3)("",!0)}const or=(0,K.pM)({props:{account:{type:Object,required:!0}},setup:function(e){var t=(0,ce.w5)(),n=t.isOnline,a=(0,ce.Y7)(),r=a.getAccountTokenBalances,o=i.C.getAdapter(e.account.protocol),s=o.hasTokensSupport,u=(0,K.EW)((function(){return r(e.account.address).length}));return{isOnline:n,hasTokensSupport:s,totalTokens:u}}}),ir=(0,Ft.A)(or,[["render",rr],["__scopeId","data-v-35e45495"]]),sr=ir;var ur={class:"top"},cr={class:"middle"},lr={class:"bottom"};function dr(e,t,n,a,r,o){var i=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(i,{"data-cy":"account-card-base",class:(0,tt.C4)(["account-card-base",{active:e.selected&&!e.pending}]),to:e.to,disabled:!e.selected||e.pending,"bg-color":e.color,variant:e.color?void 0:"dark"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ur,[(0,K.RG)(e.$slots,"top",{},void 0,!0)]),(0,K.Lk)("div",cr,[(0,K.RG)(e.$slots,"middle",{},void 0,!0)]),(0,K.Lk)("div",lr,[(0,K.RG)(e.$slots,"bottom",{},void 0,!0)])]})),_:3},8,["class","to","disabled","bg-color","variant"])}var pr={selected:Boolean,pending:Boolean};const vr=(0,K.pM)({components:{BtnBase:Ot.Ay},props:Object.assign({address:{type:String,default:""},to:{type:Object,default:null}},pr),setup:function(e){var t=(0,K.EW)((function(){return e.address?(0,L.cr)(e.address):void 0}));return{color:t}}}),fr=(0,Ft.A)(vr,[["render",dr],["__scopeId","data-v-69ea429a"]]),mr=fr,gr=(0,K.pM)({components:{AccountCardBase:mr,AccountCardTotalTokens:sr,AccountInfo:La.A,BalanceInfo:Sa.A},props:Object.assign({account:{type:Object,required:!0}},pr),setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,K.EW)((function(){return n(e.account.address).toNumber()}));return{numericBalance:a}}}),hr=(0,Ft.A)(gr,[["render",Ja]]),Ar=hr;var kr={class:"account-swiper"},yr={class:"account-swiper-bottom"};function br(e,t,n,a,r,o){var i=(0,K.g2)("SwiperSlide"),s=(0,K.g2)("AccountCardAdd"),u=(0,K.g2)("Swiper"),c=(0,K.g2)("ChevronIcon"),l=(0,K.g2)("BtnPlain"),d=(0,K.g2)("BulletSwitcher"),p=(0,K.g2)("ToggleMultisigButton");return(0,K.uX)(),(0,K.CE)("div",kr,[(0,K.Lk)("div",{class:(0,tt.C4)(["swiper-wrapper",{"is-swiping":e.isSwiping}])},[(0,K.bF)(u,{ref:"customSwiper",class:"swiper","slides-per-view":1.1,"space-between":8,"centered-slides":!0,virtual:"",onSlideChange:e.onSlideChange,onSliderFirstMove:t[0]||(t[0]=function(t){return e.isSwiping=!0}),onTouchEnd:t[1]||(t[1]=function(t){return e.isSwiping=!1})},{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(i,{key:t,"swiper-ref":e.customSwiper,"virtual-index":n,class:"account-swiper-slide"},{default:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"slide",{index:n,selected:n===e.activeIdx},void 0,!0)]})),_:2},1032,["swiper-ref","virtual-index"])})),128)),(0,K.bF)(i,{class:"account-swiper-slide","virtual-index":e.addressList.length,"swiper-ref":e.customSwiper},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{"is-multisig":e.isMultisig,idx:e.addressList.length,selected:""},null,8,["is-multisig","idx"])]})),_:1},8,["virtual-index","swiper-ref"])]})),_:3},8,["onSlideChange"]),e.IS_MOBILE_APP?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[e.isSwiping||0===e.currentIdx?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"nav-btn prev","data-cy":"account-card-btn-prev",onClick:t[2]||(t[2]=(0,We.D$)((function(t){return e.setCurrentSlide(e.currentIdx-1)}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1}))]})),_:1}),(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[!e.isSwiping&&e.currentIdxNr})),n=(0,K.EW)((function(){var n;return n=e.currentIdx=e.optionsSize-1?e.optionsSize-5:e.currentIdx-Rr,-n*Or}));function a(t){return Math.abs(e.currentIdx-t)-(0===e.currentIdx?1:0)}function r(e){return!!t.value&&2===a(e)}function o(e){return!!t.value&&a(e)>2}return{BULLET_SIZE:Or,translateXValue:n,isMedium:r,isSmall:o}}}),Xr=(0,Ft.A)(Ur,[["render",Pr],["__scopeId","data-v-27e20eff"]]),Vr=Xr;var Hr={class:"text"},$r={key:0,class:"has-pending"},jr={class:"text"};function Kr(e,t,n,a,r,o){var i=(0,K.g2)("ArrowBackIcon"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("BtnPlain");return e.multisigAccounts.length?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"multisig-button",onClick:t[0]||(t[0]=function(t){return e.toggleMultisigDashboard(!e.isMultisig)})},{default:(0,K.k6)((function(){return[e.isMultisig?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"icon-back"}),(0,K.Lk)("span",Hr,(0,tt.v_)(e.$t("multisig.backToMainAccounts")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[e.hasPendingMultisigTransaction?((0,K.uX)(),(0,K.CE)("div",$r,[(0,K.bF)(s,{class:"icon-pending"}),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("common.tx")),1)])):(0,K.Q3)("",!0),(0,K.Lk)("span",jr,(0,tt.v_)(e.$t("multisig.showMultisigVaults")),1)],64))]})),_:1})):(0,K.Q3)("",!0)}n(15086);var qr={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Gr=(0,K.Lk)("path",{d:"M3.44995 12.0045C3.44995 12.2753 3.56729 12.5461 3.7749 12.7447L9.73235 18.6931C9.94898 18.9007 10.1837 19 10.4454 19C11.0141 19 11.4293 18.5938 11.4293 18.0432C11.4293 17.7544 11.321 17.5106 11.1314 17.3301L9.1005 15.2721L6.48283 12.8801L8.58599 13.0064H19.526C20.1218 13.0064 20.537 12.5912 20.537 12.0045C20.537 11.4088 20.1218 10.9936 19.526 10.9936H8.58599L6.49186 11.1199L9.1005 8.72792L11.1314 6.66989C11.321 6.48936 11.4293 6.24565 11.4293 5.9568C11.4293 5.40619 11.0141 5 10.4454 5C10.1837 5 9.93996 5.09929 9.70527 5.32495L3.7749 11.2553C3.56729 11.4539 3.44995 11.7247 3.44995 12.0045Z"},null,-1),Qr=[Gr];function Zr(e,t){return(0,K.uX)(),(0,K.CE)("svg",qr,Qr)}const Yr={},zr=(0,Ft.A)(Yr,[["render",Zr]]),Jr=zr,eo=(0,K.pM)({components:{BtnPlain:Mr.A,PendingIcon:Un.A,ArrowBackIcon:Jr},props:{isMultisig:Boolean},setup:function(){var e=(0,za.rd)(),t=(0,ce.ci)(),n=t.multisigAccounts,a=(0,K.EW)((function(){return n.value.some((function(e){return e.hasPendingTransaction}))}));function r(t){e.push({name:t?Ye.zn:Ye.qJ})}return{multisigAccounts:n,hasPendingMultisigTransaction:a,toggleMultisigDashboard:r}}}),to=(0,Ft.A)(eo,[["render",Kr],["__scopeId","data-v-34a0d63e"]]),no=to;var ao=n(46841),ro=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};Cr.A.use([xr.AV]);const oo=(0,K.pM)({components:{ToggleMultisigButton:no,BulletSwitcher:Vr,BtnPlain:Mr.A,Swiper:wr.RC,SwiperSlide:wr.qr,AccountCardAdd:Wr,ChevronIcon:ao.A},props:{activeIdx:{type:Number,required:!0},addressList:{type:Array,required:!0},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(e,t){var n=t.emit,a=(0,bt.KR)(),r=(0,bt.KR)(0),i=(0,bt.KR)(!1),u=(0,K.EW)((function(){var e;return null===(e=a.value)||void 0===e?void 0:e.$el.swiper}));function c(e,t){return ro(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(e>-1&&r.value!==e)){n.next=4;break}return n.next=3,(0,K.dY)();case 3:u.value.slideTo(e,t);case 4:case"end":return n.stop()}}),n)})))}function l(){var t=u.value.activeIndex;t=0&&n("select-account",t),r.value!==t&&(r.value=t)}function d(t){return(0,L.cr)(e.addressList[t])}return(0,K.sV)((function(){e.activeIdx&&c(e.activeIdx,0),(0,K.wB)((function(){return e.activeIdx}),(function(e){c(e,0)}))})),{IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,currentIdx:r,customSwiper:a,isSwiping:i,getAccountColor:d,onSlideChange:l,setCurrentSlide:c}}}),io=(0,Ft.A)(oo,[["render",br],["__scopeId","data-v-62def7db"]]),so=io;var uo={class:"dashboard-base"},co={class:"dashboard-header"},lo={key:0,class:"dashboard-header-info"},po={class:"account-number"},vo={class:"account-number-current"},fo={class:"dashboard-base-swiper"},mo={class:"dashboard-base-cards"},go={key:0,class:"buttons-row"};function ho(e,t,n,a,r,o){var i=(0,K.g2)("TotalWalletAmount"),s=(0,K.g2)("FormSelect"),u=(0,K.g2)("BtnPill"),c=(0,K.g2)("DashboardCard");return(0,K.uX)(),(0,K.CE)("div",uo,[(0,K.Lk)("div",co,[e.accounts.length>1?((0,K.uX)(),(0,K.CE)("div",lo,[(0,K.bF)(i,{"total-balance":e.balancesTotal,"is-multisig":e.isMultisig,class:"total-amount"},null,8,["total-balance","is-multisig"]),(0,K.bF)(u,{class:"account-select-btn",hollow:""},{default:(0,K.k6)((function(){return[e.accounts.length>5&&e.accountsSelectOptions?((0,K.uX)(),(0,K.Wv)(s,{key:0,"default-text":e.$t("dashboard.selectAccount"),options:e.accountsSelectOptions,"model-value":e.activeAccountAddress,class:"account-select-input",unstyled:"","account-select":"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("select-account",t)})},{"current-text":(0,K.k6)((function(){return[(0,K.Lk)("div",po,[(0,K.Lk)("span",vo,(0,tt.v_)(e.activeIdx+1),1),(0,K.eW)(" / "+(0,tt.v_)(e.accounts.length),1)])]})),_:1},8,["default-text","options","model-value"])):(0,K.Q3)("",!0)]})),_:1})])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",fo,[(0,K.RG)(e.$slots,"swiper",{},void 0,!0)]),(0,K.Lk)("div",mo,[e.$slots.buttons?((0,K.uX)(),(0,K.CE)("div",go,[(0,K.RG)(e.$slots,"buttons",{},void 0,!0)])):(0,K.Q3)("",!0),(0,K.RG)(e.$slots,"widgets",{},void 0,!0),e.isSeedBackedUp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,title:e.$t("dashboard.backUpCard.title"),description:e.$t("dashboard.backUpCard.description"),"btn-text":e.$t("dashboard.backUpCard.button"),icon:e.WarningTriangleIcon,to:{name:"settings-seed-phrase"},"data-cy":"backup-seed-phrase",variant:"danger"},null,8,["title","description","btn-text","icon"])),(0,K.RG)(e.$slots,"cards",{},void 0,!0)])])}function Ao(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Card");return(0,K.uX)(),(0,K.Wv)(s,{class:"dashboard-card",text:e.title,description:e.description,background:e.background,icon:e.icon,"card-id":e.cardId},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"card-button",text:e.btnText,href:e.href,to:e.to,variant:e.variant,inline:""},null,8,["text","href","to","variant"])]})),_:1},8,["text","description","background","icon","card-id"])}var ko={class:"text"},yo={class:"description"},bo={key:1,class:"card-close"};function wo(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["card",{dense:e.dense,disabled:e.disabled}]),style:(0,tt.Tr)(e.styleComponent)},[e.icon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,class:"card-icon","is-boxed":""},null,8,["icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",null,[(0,K.Lk)("div",ko,(0,tt.v_)(e.text),1),(0,K.Lk)("div",yo,(0,tt.v_)(e.description),1),(0,K.RG)(e.$slots,"default",{},void 0,!0)]),e.cardId?((0,K.uX)(),(0,K.CE)("div",bo,[(0,K.bF)(s,{"icon-variant":"light",icon:e.CloseIcon,onClick:t[0]||(t[0]=function(t){return e.setCardHidden(e.cardId)})},null,8,["icon"])])):(0,K.Q3)("",!0)],6)):(0,K.Q3)("",!0)]})),_:3})}var Co=n(33100),xo={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Lo=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z"},null,-1),So=(0,K.Lk)("path",{fill:"currentColor",d:"M27.7783 29.1924C27.5907 29.3799 27.3364 29.4853 27.0712 29.4853C26.806 29.4853 26.5516 29.3799 26.3641 29.1924L20.0001 22.8284L13.6361 29.1924C13.4486 29.3799 13.1943 29.4853 12.929 29.4853C12.6638 29.4853 12.4095 29.3799 12.2219 29.1924L10.8077 27.7782C10.6202 27.5906 10.5148 27.3363 10.5148 27.0711C10.5148 26.8059 10.6202 26.5515 10.8077 26.364L17.1717 20L10.8077 13.636C10.6202 13.4485 10.5148 13.1941 10.5148 12.9289C10.5148 12.6637 10.6202 12.4094 10.8077 12.2218L12.2219 10.8076C12.4095 10.6201 12.6638 10.5147 12.929 10.5147C13.1943 10.5147 13.4486 10.6201 13.6361 10.8076L20.0001 17.1716L26.3641 10.8076C26.5516 10.6201 26.806 10.5147 27.0712 10.5147C27.3364 10.5147 27.5907 10.6201 27.7783 10.8076L29.1925 12.2218C29.38 12.4094 29.4854 12.6637 29.4854 12.9289C29.4854 13.1941 29.38 13.4485 29.1925 13.636L22.8285 20L29.1925 26.364C29.38 26.5515 29.4854 26.8059 29.4854 27.0711C29.4854 27.3363 29.38 27.5906 29.1925 27.7782L27.7783 29.1924Z"},null,-1),To=[Lo,So];function Eo(e,t){return(0,K.uX)(),(0,K.CE)("svg",xo,To)}const Io={},_o=(0,Ft.A)(Io,[["render",Eo]]),Wo=_o;var Fo=n(58411);const Do=(0,K.pM)({name:"Card",components:{BtnIcon:Co.A,IconWrapper:Fo.Ay},props:{text:{type:String,required:!0},description:{type:String,required:!0},background:{type:String,default:null},cardId:{type:String,default:null},icon:{type:Object,default:null},dense:Boolean,disabled:Boolean},setup:function(e){var t=(0,ce.mv)(),n=t.hiddenCards,a=t.setCardHidden,r=(0,K.EW)((function(){return{backgroundImage:e.background?'url("'.concat(e.background,'")'):null}})),o=(0,K.EW)((function(){return!(e.cardId&&n.value.includes(e.cardId))}));return{CloseIcon:Wo,styleComponent:r,isVisible:o,hiddenCards:n,setCardHidden:a}}}),Bo=(0,Ft.A)(Do,[["render",wo],["__scopeId","data-v-d2868f74"]]),Po=Bo;var Mo=n(24574);const Oo=(0,K.pM)({components:{BtnMain:Mo.A,Card:Po},props:{title:{type:String,required:!0},description:{type:String,required:!0},btnText:{type:String,required:!0},background:{type:String,default:null},variant:{type:String,default:"secondary"},href:{type:String,default:null},cardId:{type:String,default:null},to:{type:Object,default:null},icon:{type:Object,default:null}}}),Ro=(0,Ft.A)(Oo,[["render",Ao],["__scopeId","data-v-153553d6"]]),No=Ro;var Uo={class:"total-amount"},Xo=["textContent"],Vo=["textContent"];function Ho(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Uo,[(0,K.Lk)("span",{textContent:(0,tt.v_)(e.totalAmount)},null,8,Xo),(0,K.Lk)("span",{class:"label",textContent:(0,tt.v_)(e.isMultisig?e.$t("common.totalMultisig"):e.$t("common.total"))},null,8,Vo)])}const $o=(0,K.pM)({props:{totalBalance:{type:String,default:"0"},isMultisig:Boolean},setup:function(e){var t=(0,ce.ZN)(),n=t.formatCurrency,a=(0,K.EW)((function(){return n(+e.totalBalance)}));return{totalAmount:a}}}),jo=(0,Ft.A)($o,[["render",Ho],["__scopeId","data-v-1384e7ae"]]),Ko=jo;var qo=n(19442),Go=n(15320),Qo={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Zo=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5414 21.1299C21.0235 21.1299 22 20.0574 22 18.7081C22 18.3102 21.8954 17.895 21.6687 17.5145L14.1011 4.10805C13.6303 3.27775 12.8282 2.87988 12.0087 2.87988C11.1718 2.87988 10.3348 3.29503 9.88141 4.10805L2.33128 17.5145C2.10465 17.895 2 18.3102 2 18.7081C2 20.0574 2.95903 21.1299 4.44117 21.1299H19.5414ZM11.2578 7.89673C11.0889 8.06079 10.9913 8.29675 11.0006 8.58588V8.58643L11.147 13.7902C11.1567 14.0792 11.2426 14.2845 11.3796 14.418C11.5164 14.5513 11.7217 14.6299 12.0053 14.6299C12.2781 14.6299 12.475 14.554 12.6063 14.423C12.7383 14.2913 12.8224 14.0858 12.8322 13.7903L12.9995 8.59631C13.0176 8.03479 12.597 7.62988 11.9948 7.62988C11.6793 7.62988 11.4275 7.73199 11.2578 7.89673ZM13 16.8799C13 17.4322 12.5523 17.8799 12 17.8799C11.4477 17.8799 11 17.4322 11 16.8799C11 16.3276 11.4477 15.8799 12 15.8799C12.5523 15.8799 13 16.3276 13 16.8799Z",fill:"currentColor"},null,-1),Yo=[Zo];function zo(e,t){return(0,K.uX)(),(0,K.CE)("svg",Qo,Yo)}const Jo={},ei=(0,Ft.A)(Jo,[["render",zo]]),ti=ei,ni=(0,K.pM)({name:"DashboardBase",components:{BtnPill:Go.A,DashboardCard:No,FormSelect:qo.A,TotalWalletAmount:Ko},props:{accounts:{type:Array,default:function(){return[]}},accountsSelectOptions:{type:Array,default:null},activeAccountAddress:{type:String,default:""},activeIdx:{type:Number,default:0},balancesTotal:{type:String,default:null},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(){var e=(0,ce.mv)(),t=e.isSeedBackedUp;return{isSeedBackedUp:t,WarningTriangleIcon:ti}}}),ai=(0,Ft.A)(ni,[["render",ho],["__scopeId","data-v-16ddc864"]]),ri=ai;var oi={key:1};function ii(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionListItem"),u=(0,K.g2)("Panel");return e.showWidget?((0,K.uX)(),(0,K.Wv)(u,{key:0,ref:"latestTransactionCardEl",class:"latest-transaction-card",header:e.$t("dashboard.latestTransactionCard.title")},{default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",oi,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.latestTransactionsToDisplay,(function(e){return(0,K.uX)(),(0,K.Wv)(s,{key:"".concat(e.transactionOwner,"-").concat(e.hash),class:"transaction-item",transaction:e,"show-transaction-owner":""},null,8,["transaction"])})),128))]))]})),_:1})]})),_:1},8,["header"])):(0,K.Q3)("",!0)}var si=3;const ui=(0,K.pM)({name:"LatestTransactionsCard",components:{Panel:qt,TransactionListItem:oa,AnimatedSpinner:ia.A},setup:function(){var e=(0,za.lq)(),t=(0,bt.KR)(null),n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.kW)(),o=r.viewportElement,i=(0,ce.rb)(),s=i.allLatestTransactions,u=i.areLatestTransactionsUpdating,c=(0,K.EW)((function(){return e.query})),l=(0,K.EW)((function(){return u.value&&!s.value.length})),d=(0,K.EW)((function(){return a.value&&(u.value||s.value.length)})),p=(0,K.EW)((function(){return s.value.slice(0,si)}));function v(e){var n;e&&o.value&&(null===(n=t.value)||void 0===n?void 0:n.$el)&&o.value.scrollTo({top:t.value.$el.getBoundingClientRect().x+50})}return(0,K.wB)(c,(function(e){v(e.latestTxHash)})),(0,K.sV)((function(){v(c.value.latestTxHash)})),{allLatestTransactions:s,latestTransactionCardEl:t,latestTransactionsToDisplay:p,showWidget:d,isLoading:l}}}),ci=(0,Ft.A)(ui,[["render",ii],["__scopeId","data-v-365b4ce0"]]),li=ci;var di=n(84648),pi=n(65608),vi=n(18427),fi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",class:"icon"},mi=(0,K.Lk)("path",{d:"M5.23248,1.12932L12.7184,2.45348c.7945.14124,1.4566.36193,2.0039.66208l-.0088-.58263c-.0354-1.915617-1.3683-2.8337-3.5488-2.44528L5.23248,1.12932ZM2.54886,18.2286l9.73694,1.7126c1.845.3266,2.9838-.7239,2.9838-2.7366v-10.65506c0-1.84499-.9004-2.56004-2.7719-2.88666L3.06086,1.99444c-1.38595-.23835-2.330513.54731-2.330513,1.92444v12.19992c0,1.1829.626763,1.8979,1.818513,2.1098ZM4.30557,7.26458c-.34428-.05296-.53849-.31779-.53849-.6709c0-.42373.33545-.70622.80332-.62677l6.7885,1.19174c.362.07062.5562.28249.5562.67091c0,.42373-.309.71504-.7769.64442L4.30557,7.26458Zm0,3.61932c-.33545-.0617-.53849-.3177-.53849-.6709c0-.41486.33545-.69735.80332-.6179l6.7885,1.1917c.362.0707.5562.2825.5562.6533c0,.4414-.309.7327-.7769.6621L4.30557,10.8839Z",transform:"translate(2 0)",fill:"currentColor"},null,-1),gi=[mi];function hi(e,t){return(0,K.uX)(),(0,K.CE)("svg",fi,gi)}const Ai={},ki=(0,Ft.A)(Ai,[["render",hi]]),yi=ki,bi=n.p+"img/buy-ae.616acc4d.webp",wi=n.p+"img/chain-name.bc49b8b5.webp",Ci=n.p+"img/aepp-browser.0207bbdb.webp",xi=(0,K.pM)({name:"Dashboard",components:{AccountCard:Ar,AccountSwiper:so,DashboardBase:ri,DashboardCard:No,IonPage:Fe.AO,IonContent:Fe.W9,LatestTransactionsCard:li,OpenTransferReceiveModalButton:Ea.A,OpenTransferSendModalButton:Ia.A},setup:function(){var e=(0,bt.KR)(!0),t=(0,za.lq)(),n=(0,ce.oV)(),a=n.accounts,r=n.accountsAddressList,i=n.accountsSelectOptions,s=n.activeAccount,u=n.activeAccountGlobalIdx,c=n.setActiveAccountByGlobalIdx,l=n.setActiveAccountByAddress,d=(0,ce.ty)(),p=d.accountsTotalBalance,v=(0,ce.si)(),f=v.checkIfOpenTransferSendModal,m=(0,ce.CP)(),g=m.isNodeMainnet,h=m.isNodeTestnet,A=(0,K.EW)((function(){return(0,_.mV)(s.value.address)})),k=(0,K.EW)((function(){return(0,_.hj)(s.value.address)}));return(0,K.wB)((function(){return t.query}),(function(){return f(t)}),{deep:!0,immediate:!0}),(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{DASHBOARD_CARD_ID:o._3,IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,ROUTE_ACCOUNT_DETAILS:Ye.no,ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM:Ye.PC,ROUTE_APPS_BROWSER:Ye.qC,UNFINISHED_FEATURES:o.s4,ArrowSendIcon:pi.A,ArrowReceiveIcon:di.A,CardIcon:_a.A,GlobeIcon:vi.A,MenuCardIcon:yi,accounts:a,accountsAddressList:r,accountsSelectOptions:i,accountsTotalBalance:p,activeAccount:s,activeAccountSimplexLink:k,activeAccountFaucetUrl:A,activeAccountGlobalIdx:u,buyBackground:bi,chainNameBackground:wi,daeppBrowserBackground:Ci,isNodeMainnet:g,isNodeTestnet:h,pageIsActive:e,setActiveAccountByGlobalIdx:c,setActiveAccountByAddress:l}}}),Li=(0,Ft.A)(xi,[["render",Ya]]),Si=Li;function Ti(e,t,n,a,r,o){var i=(0,K.g2)("AccountCardMultisig"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("PendingMultisigTransactionCard"),d=(0,K.g2)("DashboardBase"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(d,{class:"dashboard-multisig","active-idx":e.multisigAccountIdx,"balances-total":e.multisigBalancesTotal,accounts:e.multisigAccounts,"is-multisig":""},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.multisigAccountIdx,"address-list":e.addressList,"is-multisig":"",onSelectAccount:t[0]||(t[0]=function(t){return e.selectAccount(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.multisigAccounts[n],pending:e.isPendingAccount(e.multisigAccounts[n]),selected:a,idx:n,to:{name:e.ROUTE_MULTISIG_DETAILS}},null,8,["account","pending","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{disabled:e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"]),(0,K.bF)(c,{disabled:!!e.pendingMultisigTransaction||e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"])]})),widgets:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["active-idx","balances-total","accounts"])]})),_:1})]})),_:1})}n(72712);var Ei={class:"pending"},Ii=["textContent"];function _i(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("AccountInfo"),u=(0,K.g2)("BalanceInfo"),c=(0,K.g2)("AccountCardConsensus"),l=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(l,{class:"account-card-multisig",selected:e.selected,pending:e.pending,address:e.account.gaAccountId},{top:(0,K.k6)((function(){return[(0,K.bF)(s,{account:e.convertMultisigAccountToAccount(e.account),"is-placeholder":e.pending,"is-multisig":"","avatar-borderless":"","show-protocol-icon":""},(0,K.eX)({_:2},[e.pending?{name:"address",fn:(0,K.k6)((function(){return[(0,K.Lk)("div",Ei,[(0,K.bF)(i,{class:"pending-icon"}),(0,K.Lk)("span",{class:"pending-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.addingToWalletCard"))},null,8,Ii)])]})),key:"0"}:void 0]),1032,["account","is-placeholder"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(u,{balance:+e.account.balance,protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[e.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:0,"multisig-account":e.account},null,8,["multisig-account"]))]})),_:1},8,["selected","pending","address"])}var Wi={key:0,class:"account-card-consensus"},Fi={class:"consensus-row"},Di={key:0,class:"consensus-row"};function Bi(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("CheckCircleFillIcon");return e.isOnline&&e.multisigAccount.hasPendingTransaction?((0,K.uX)(),(0,K.CE)("div",Wi,[(0,K.Lk)("div",Fi,[(0,K.bF)(i,{class:"icon pending"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensus"))+" ",1),(0,K.bF)(s,{"confirmations-required":e.multisigAccount.confirmationsRequired,"has-pending-transaction":e.multisigAccount.hasPendingTransaction,"confirmed-by":e.multisigAccount.confirmedBy,signers:e.multisigAccount.signers,class:"highlighted"},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]),e.transactionMessage?((0,K.uX)(),(0,K.CE)("div",Di,[(0,K.bF)(u,{class:"icon check-circle"}),(0,K.eW)(" "+(0,tt.v_)(e.transactionMessage),1)])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)}n(88431);var Pi={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Mi=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Oi=[Mi];function Ri(e,t){return(0,K.uX)(),(0,K.CE)("svg",Pi,Oi)}const Ni={},Ui=(0,Ft.A)(Ni,[["render",Ri]]),Xi=Ui,Vi=(0,K.pM)({components:{ConsensusLabel:Jn,PendingIcon:Un.A,CheckCircleFillIcon:Xi},props:{multisigAccount:{type:Object,required:!0}},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,ce.w5)(),r=a.isOnline,o=(0,ce.oV)(),i=o.isLocalAccountAddress,s=(0,K.EW)((function(){var t=e.multisigAccount.signers.filter((function(e){return i(e)}));return t.every((function(t){return e.multisigAccount.confirmedBy.includes(t)}))})),u=(0,K.EW)((function(){var t=e.multisigAccount,a=t.confirmedBy,r=t.confirmationsRequired,o=t.signers;return a.length===r?n("multisig.transactionReady"):s.value?n("multisig.transactionSigned"):o.some((function(e){return i(e)}))?n("multisig.signatureRequested"):null}));return{isOnline:r,transactionMessage:u}}}),Hi=(0,Ft.A)(Vi,[["render",Bi],["__scopeId","data-v-0f931edd"]]),$i=Hi,ji=(0,K.pM)({components:{AccountCardBase:mr,AccountCardConsensus:$i,AccountInfo:La.A,BalanceInfo:Sa.A,PendingIcon:Un.A},props:Object.assign({account:{type:Object,required:!0}},pr),setup:function(){return{PROTOCOLS:o.yv,convertMultisigAccountToAccount:_.dT}}}),Ki=(0,Ft.A)(ji,[["render",_i],["__scopeId","data-v-becb8358"]]),qi=Ki;var Gi={key:1};function Qi(e,t,n,a,r,o){var i,s=(0,K.g2)("AnimatedSpinner"),u=(0,K.g2)("TransactionListItem"),c=(0,K.g2)("Panel");return(null===(i=e.pendingMultisigTransaction)||void 0===i?void 0:i.tx)?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"pending-multisig-transaction-card",header:e.$t("dashboard.pendingMultisigCard.title")},{default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",Gi,[(0,K.bF)(u,{"is-multisig":"","multisig-transaction":e.pendingMultisigTransaction},null,8,["multisig-transaction"])]))]})),_:1})]})),_:1},8,["header"])):(0,K.Q3)("",!0)}const Zi=(0,K.pM)({components:{AnimatedSpinner:ia.A,Panel:qt,TransactionListItem:oa},setup:function(){var e=(0,ce.ju)(),t=e.isLoading,n=e.pendingMultisigTransaction;return{isLoading:t,pendingMultisigTransaction:n}}}),Yi=(0,Ft.A)(Zi,[["render",Qi],["__scopeId","data-v-8b3187dc"]]),zi=Yi,Ji=(0,K.pM)({name:"DashboardMultisig",components:{AccountCardMultisig:qi,AccountSwiper:so,OpenTransferSendModalButton:Ia.A,OpenTransferReceiveModalButton:Ea.A,DashboardBase:ri,PendingMultisigTransactionCard:zi,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!0),t=(0,ce.U8)(),n=t.openModal,a=(0,ce.ci)(),r=a.multisigAccounts,i=a.activeMultisigAccountId,s=a.pendingMultisigAccounts,u=a.isActiveMultisigAccountPending,c=a.setActiveMultisigAccountId,l=(0,ce.ju)(),d=l.pendingMultisigTransaction,p=(0,K.EW)((function(){return r.value.map((function(e){return e.gaAccountId}))})),v=(0,K.EW)((function(){return r.value.findIndex((function(e){return e.gaAccountId===i.value}))})),f=(0,K.EW)((function(){return r.value.map((function(e){return e.balance})).reduce((function(e,t){return e.plus(t)}),new pe.A(0)).toFixed()}));function m(e){var t=r.value[e];t.gaAccountId&&c(t.gaAccountId)}function g(){n(o.Fv,{isMultisig:!0})}function h(e){return!!s.value.find((function(t){var n=t.gaAccountId;return n===e.gaAccountId}))}return(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{isActiveMultisigAccountPending:u,pendingMultisigTransaction:d,pageIsActive:e,ROUTE_MULTISIG_DETAILS:Ye.uc,ArrowSendIcon:pi.A,addressList:p,multisigAccountIdx:v,multisigAccounts:r,multisigBalancesTotal:f,openTransferSendModal:g,selectAccount:m,isPendingAccount:h}}}),es=(0,Ft.A)(Ji,[["render",Ti]]),ts=es;var ns={class:"comment-new"},as={class:"comment-text"};function rs(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("FixedScreenFooter"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ns,[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions,onSelect:e.setActiveAccountByAddress},null,8,["modelValue","options","onSelect"]),(0,K.Lk)("div",as,(0,tt.v_)(e.text),1),(0,K.bF)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",class:"cancel-button",onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{disabled:!e.isTippingSupported,onClick:e.sendComment},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"])]})),_:1})])]})),_:1})]})),_:1})}var os={class:"account-selector"},is={key:0};function ss(e,t,n,a,r,o){var i,s=(0,K.g2)("Avatar"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("FormSelect"),l=(0,K.g2)("BtnPill"),d=(0,K.g2)("AddressTruncated");return(0,K.uX)(),(0,K.CE)("div",os,[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(s,{key:0,address:e.modelValue.toString(),size:"lg"},null,8,["address"])),(0,K.Lk)("div",null,[(0,K.bF)(l,{class:(0,tt.C4)(["account-select",{"avatar-only":e.avatarOnly}]),avatar:e.avatarOnly,dense:""},{default:(0,K.k6)((function(){return[(0,K.bF)(c,(0,K.v6)(e.$attrs,{avatar:e.avatarOnly,"model-value":e.modelValue,options:e.options||e.accountsSelectOptions,"hide-arrow":e.avatarOnly,"default-text":e.$t("modals.createMultisigAccount.selectAccount"),"account-select":"",unstyled:"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)})}),{"current-text":(0,K.k6)((function(t){var n=t.text;return[(0,K.RG)(e.$slots,"default",{},(function(){return[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",is,[(0,K.bF)(u,{class:"account-select-text",str:n},null,8,["str"])])),e.avatarOnly?((0,K.uX)(),(0,K.Wv)(s,{key:1,address:e.modelValue.toString(),size:"sm"},null,8,["address"])):(0,K.Q3)("",!0)]}),!0)]})),_:3},16,["avatar","model-value","options","hide-arrow","default-text"])]})),_:3},8,["class","avatar"]),e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(d,{key:0,"show-explorer-link":"","show-protocol-icon":"",address:e.modelValue.toString(),protocol:null===(i=e.selectedAccount)||void 0===i?void 0:i.protocol,class:"address-truncated"},null,8,["address","protocol"]))])])}var us=n(59480),cs=n(28192);const ls=(0,K.pM)({components:{Avatar:us.A,AddressTruncated:cs.A,BtnPill:Go.A,FormSelect:qo.A,Truncate:Nn.A},model:{event:"select"},props:{modelValue:{type:String,default:null},options:{type:Array,default:function(){return null}},avatarOnly:Boolean},emits:["update:modelValue"],setup:function(e){var t=(0,ce.oV)(),n=t.accountsSelectOptions,a=t.getAccountByAddress,r=(0,K.EW)((function(){return e.modelValue?a(e.modelValue):void 0}));return{accountsSelectOptions:n,selectedAccount:r}}}),ds=(0,Ft.A)(ls,[["render",ss],["__scopeId","data-v-77f77faa"]]),ps=ds;var vs=n(71364),fs=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ms=(0,K.pM)({name:"CommentNew",components:{AccountSelector:ps,BtnMain:Mo.A,FixedScreenFooter:vs.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,za.rd)(),n=(0,za.lq)(),a=(0,An.s9)(),r=a.t,i=(0,ce.mv)(),u=i.setLoaderVisible,c=(0,I.$L)(),l=c.aeActiveNetworkSettings,d=(0,ce.CP)(),p=d.getAeSdk,v=d.fetchRespondChallenge,f=d.isTippingSupported,m=(0,ce.U8)(),g=m.openDefaultModal,h=(0,ce.si)(),A=h.openCallbackOrGoHome,k=(0,ce.oV)(),y=k.aeAccountsSelectOptions,b=k.getLastActiveProtocolAccount,w=k.setActiveAccountByAddress,C=(0,bt.KR)(b(o.yv.aeternity).address),x=(0,bt.KR)(""),S=(0,bt.KR)(void 0),T=(0,bt.KR)("");function E(){return fs(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,o=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,t=function(e){return fs(o,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.B2)("".concat(l.value.backendUrl,"/comment/api/"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},e.next=5,t({tipId:x.value,text:T.value,author:C.value,parentId:S.value});case 5:return n=e.sent,e.next=8,v(n);case 8:a=e.sent,t(a),A(!0),e.next=18;break;case 13:throw e.prev=13,e.t0=e["catch"](1),g({title:r("modals.transaction-failed.msg"),icon:"critical"}),e.t0.payload={id:x,parentId:S,text:T},e.t0;case 18:return e.prev=18,u(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[1,13,18,21]])})))}return(0,K.wB)((function(){return n}),(function(e){var n,a,r=e.query;if(x.value=null!==(n=r.id)&&void 0!==n?n:"",S.value=r.parentId?+r.parentId:void 0,T.value=null!==(a=r.text)&&void 0!==a?a:"",!x.value||!T.value)throw t.push({name:Ye.qJ}),new Error("CommentNew: Invalid arguments")}),{immediate:!0}),function(){fs(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.next=3,p();case 3:u(!1);case 4:case"end":return e.stop()}}),e)})))}(),{creatorAddress:C,aeAccountsSelectOptions:y,id:x,parentId:S,text:T,isTippingSupported:f,sendComment:E,openCallbackOrGoHome:A,setActiveAccountByAddress:w}}}),gs=(0,Ft.A)(ms,[["render",rs],["__scopeId","data-v-67d57742"]]),hs=gs;var As={class:"app-name"},ks={class:"details"};function ys(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionOverview"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("TransactionDetailsPoolTokenRow"),l=(0,K.g2)("TokenAmount"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-transaction-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted","data-cy":"deny",third:"","extra-padded":"",text:e.$t("pages.signTransaction.reject"),onClick:t[0]||(t[0]=function(t){return e.cancel()})},null,8,["text"]),(0,K.bF)(d,{class:"button-action-primary","data-cy":"accept",third:"",disabled:!!e.error||e.verifying,icon:e.verifying?e.AnimatedSpinner:null,text:e.verifying?e.$t("common.verifying"):e.$t("common.confirm"),onClick:t[1]||(t[1]=function(t){var n;return null===(n=e.popupProps)||void 0===n?void 0:n.resolve()})},null,8,["disabled","icon","text"])]})),default:(0,K.k6)((function(){var t;return[e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"loader"})):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(s,{transaction:e.completeTransaction,"additional-tag":e.isAeppChatSuperhero?e.$t("modals.confirmTransactionSign.superheroChat"):null},null,8,["transaction","additional-tag"]),e.isAeppChatSuperhero||e.error?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["subtitle",{warning:!!e.error}])},[e.error?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("modals.confirmTransactionSign.unableToExecute")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("span",As,(0,tt.v_)(e.$t("modals.confirmTransactionSign.superheroChat")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirmTransactionSign.confirmSigning")),1)],64))],2)):(0,K.Q3)("",!0),e.error?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.error,class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,K.Q3)("",!0),(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:2,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),(e.isDex||e.isDexAllowance)&&e.tokenList.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:3},(0,K.pI)(e.tokenList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(c,{key:t.contractId,token:t,tokens:t.tokens,label:e.getLabels(t,n),"hide-amount":e.isSwap},null,8,["token","tokens","label","hide-amount"])})),128)):(0,K.Q3)("",!0),e.nameAeFee?((0,K.uX)(),(0,K.Wv)(u,{key:4,label:e.$t("modals.confirmTransactionSign.nameFee"),class:"name-fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.nameAeFee,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.Lk)("div",ks,[e.isSwap?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.swapDirectionTranslation},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.tokenAmount,symbol:e.tokenSymbol,"hide-fiat":!e.swapTokenAmountData.isWrappedCoin||e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(u,{label:e.$t("transaction.fee")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.txAeFee,protocol:e.PROTOCOLS.aeternity,"data-cy":"fee"},null,8,["amount","protocol"])]})),_:1},8,["label"]),"total"===e.swapDirection?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("common.total")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.executionCost||e.totalAmount,symbol:e.singleToken.symbol,"hide-fiat":e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){var t;return[(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),e.transactionArguments?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("modals.confirmTransactionSign.arguments"),value:e.transactionArguments},null,8,["label","value"])):(0,K.Q3)("",!0),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.filteredTxFields,(function(t){var n,a;return(0,K.uX)(),(0,K.Wv)(u,{key:t,label:e.getTxKeyLabel(t),value:t===e.PAYLOAD_FIELD?e.decodedPayload:null===(a=null===(n=e.popupProps)||void 0===n?void 0:n.tx)||void 0===a?void 0:a[t],class:(0,tt.C4)({"hash-field":e.isHash(t)})},null,8,["label","value","class"])})),128))]})),_:1},8,["label"])],64))]})),_:1})}var bs=n(95993),ws=n(49792),Cs=n(1863),xs=n(66176),Ls=n(285),Ss=n(29351),Ts=n(74494),Es=n(39953),Is=n(18665),_s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ws="payload",Fs={callData:function(){return(0,x.tg)("common.callData")},code:function(){return(0,x.tg)("pages.transactionDetails.code")},contractId:function(){return(0,x.tg)("common.contractId")},commitmentId:function(){return(0,x.tg)("modals.confirmTransactionSign.commitmentId")},name:function(){return(0,x.tg)("pages.transactionDetails.name")},nameFee:function(){return(0,x.tg)("modals.confirmTransactionSign.nameFee")},nameSalt:function(){return(0,x.tg)("pages.transactionDetails.nameSalt")},nameId:function(){return(0,x.tg)("pages.transactionDetails.nameId")},nonce:function(){return(0,x.tg)("pages.transactionDetails.nonce")},payload:function(){return(0,x.tg)("pages.transactionDetails.payload")},pointers:function(){return(0,x.tg)("modals.confirmTransactionSign.pointers")},recipientId:function(){return(0,x.tg)("modals.confirmTransactionSign.recipientId")}};const Ds=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,TransactionOverview:Ss.A,DetailsItem:Ts.A,TokenAmount:Es.A,TransactionDetailsPoolTokenRow:Is.A,AnimatedSpinner:ia.A},setup:function(){var e,t=this,n=(0,An.s9)(),r=n.t,i=(0,I.$L)(),u=i.aeActiveNetworkSettings,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.oV)(),p=d.getLastActiveProtocolAccount,v=(0,ce.m)(),f=v.popupProps,m=v.setPopupProps,A=(0,ce.Y7)(),k=A.getProtocolAvailableTokens,b=A.getTxAssetSymbol,w=A.getTxAmountTotal,C=(0,ce.my)({transaction:{tx:null===(e=f.value)||void 0===e?void 0:e.tx}}),x=C.direction,S=C.isDexAllowance,E=C.isDex,W=C.setActiveTransaction,F=(0,bt.KR)(!1),D=(0,bt.KR)([]),B=(0,bt.KR)(),P=(0,bt.KR)(0),M=(0,bt.KR)(!1),O=(0,bt.KR)(""),R=(0,bt.KR)(!1),N=(0,bt.KR)(),U=(0,K.EW)((function(){var e,t,n,a;return o.uL.includes("".concat(null===(t=null===(e=f.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.protocol,"//").concat(null===(a=null===(n=f.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.name))})),X=(0,K.EW)((function(){var e;return{tx:null===(e=f.value)||void 0===e?void 0:e.tx}})),V=(0,K.EW)((function(){return(0,_.Ng)(B.value)})),H=(0,K.EW)((function(){return(0,_.wX)(B.value)})),$=(0,K.EW)((function(){return(0,_._M)(B.value)})),j=(0,K.EW)((function(){return(0,_.hQ)(B.value)})),q=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.fee)})),G=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.nameFee)})),Q=p(o.yv.aeternity),Z=(0,K.EW)((function(){return $.value?"maxSpent":j.value?"minReceived":"total"})),Y=(0,K.EW)((function(){switch(Z.value){case"maxSpent":return r("pages.signTransaction.maxSpent");case"minReceived":return r("pages.signTransaction.minReceived");default:return r("common.total")}})),z=(0,K.EW)((function(){return w(X.value,x.value)})),J=(0,K.EW)((function(){var e;return{isReceived:x.value===o.NX.received,amount:z.value,symbol:b(null===(e=f.value)||void 0===e?void 0:e.tx)}})),ee=(0,K.EW)((function(){var e,t,n,a;return(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payload)?(0,h.D4)(null===(a=null===(n=f.value)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.payload).toString():void 0})),te=(0,K.EW)((function(){return Object.keys(Fs).filter((function(e){var t,n;return e===Ws?!!ee.value:!!(null===(n=null===(t=f.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n[e])}))})),ne=(0,K.EW)((function(){var e="maxSpent"===Z.value?D.value[0]:D.value[1];return e||{}})),ae=(0,K.EW)((function(){return+(0,L.Y9)(ne.value.amount||0,-(ne.value.decimals||0))})),re=(0,K.EW)((function(){return ne.value.isWrappedCoin?T.kf:ne.value.symbol})),oe=(0,K.EW)((function(){var e;return{tx:Object.assign(Object.assign({},null===(e=f.value)||void 0===e?void 0:e.tx),{function:B.value})}})),ie=(0,K.EW)((function(){return B.value&&T.$y[B.value]===T.xf})),se=(0,K.EW)((function(){var e,t;return(null===(t=null===(e=N.value)||void 0===e?void 0:e.args)||void 0===t?void 0:t.length)?y.A.stringify(N.value.args):void 0}));function ue(e){var t,n;if(!E.value&&!S.value)return[J.value];var a=(0,bs.A)(e["function"]),r=(0,_.Ke)(a);if(!r)return[];var i=null===(n=r({tx:Object.assign(Object.assign({},e),null===(t=f.value)||void 0===t?void 0:t.tx)},k(o.yv.aeternity)))||void 0===n?void 0:n.tokens;return H.value?ie.value?i.filter((function(e){return!e.isPool})):i.reverse():i}function le(e){var t=["callData","contractId"];return t.includes(e)}function de(e,t){return S.value?r("pages.signTransaction.approveUseOfToken"):V.value?r(t?"pages.signTransaction.to":"pages.signTransaction.from"):H.value&&ie.value?e.isPool?"":r("pages.signTransaction.maximumDeposited"):H.value&&B.value&&T.$y[B.value]===T.yk?e.isPool?r("pages.signTransaction.poolTokenSpent"):r("pages.signTransaction.minimumWithdrawn"):""}function ve(){var e;null===(e=f.value)||void 0===e||e.reject(new Ka.v)}function fe(){var e,t;return _s(this,void 0,void 0,(0,s.A)().mark((function n(){var a,o,i,u,c,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(e=f.value)||void 0===e?void 0:e.txBase64)){n.next=33;break}return n.prev=1,R.value=!0,n.next=5,l();case 5:return a=n.sent,n.next=8,a.getBalance((null===(t=f.value)||void 0===t?void 0:t.fromAccount)||Q.address)["catch"]((function(e){return(0,L.El)(e)||(0,L.fY)(e),0}));case 8:if(o=n.sent,i=(0,ws.oo)(f.value.txBase64).toString(),P.value=(0,_.px)(i),!new pe.A(o).isLessThan(i)){n.next=14;break}return O.value=r("validation.enoughCoin"),n.abrupt("return");case 14:if(u=(0,Xe.pj)(f.value.txBase64),u.tag!==g.vw.ContractCallTx&&u.tag!==g.vw.ContractCreateTx){n.next=25;break}return c=(0,Cs.A)(f.value.txBase64),n.next=19,a.api.getAccountByPubkey(c);case 19:return n.t0=n.sent.nonce,u.nonce=n.t0+1,n.next=23,a.txDryRun((0,Xe.pr)(u),c);case 23:d=n.sent,d.callObj&&"ok"!==d.callObj.returnType&&(O.value=(new xs.ContractByteArrayEncoder).decode(d.callObj.returnValue));case 25:n.next=30;break;case 27:n.prev=27,n.t1=n["catch"](1),O.value=n.t1.message;case 30:return n.prev=30,R.value=!1,n.finish(30);case 33:case"end":return n.stop()}}),n,null,[[1,27,30,33]])})))}function me(){var e,t;return _s(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,c,d,p,v;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.contractId)||!f.value.tx.callData){n.next=28;break}return n.prev=1,M.value=!0,setTimeout((function(){M.value=!1}),2e4),n.next=6,Promise.all([(0,L.x6)("".concat(u.value.nodeUrl,"/v3/contracts/").concat(f.value.tx.contractId,"/code")),l()]);case 6:if(r=n.sent,o=(0,a.A)(r,1),i=o[0].bytecode,c=new xs.BytecodeContractCallEncoder(i),N.value=c.decodeCall(f.value.tx.callData),N.value){n.next=13;break}return n.abrupt("return");case 13:d={function:N.value.functionName,arguments:N.value.args.map((function(e){return{type:Array.isArray(e)?"list":"any",value:Array.isArray(e)?e.map((function(e){return{value:e}})):e}}))},p=Object.assign(Object.assign({},d),f.value.tx),B.value=d["function"],W({tx:p}),v=ue(p),D.value=v.map((function(e){return Object.assign(Object.assign({},e),{tokens:e.isPool&&!ie.value?v.filter((function(e){return!e.isPool})).reverse():[e]})})),n.next=25;break;case 21:n.prev=21,n.t0=n["catch"](1),D.value=[],B.value=void 0;case 25:return n.prev=25,M.value=!1,n.finish(25);case 28:case"end":return n.stop()}}),n,null,[[1,21,25,28]])})))}function ge(e){var t=Fs[e];return t?t():""}return(0,K.sV)((function(){return _s(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!f.value){e.next=5;break}return e.next=3,Promise.all([fe(),me()]);case 3:e.next=6;break;case 5:O.value=r("modals.transaction-failed.msg");case 6:case"end":return e.stop()}}),e)})))})),(0,K.hi)((function(){m(null)})),{PROTOCOLS:o.yv,AnimatedSpinner:ia.A,PAYLOAD_FIELD:Ws,cancel:ve,completeTransaction:oe,decodedCallData:N,decodedPayload:ee,error:O,executionCost:P,filteredTxFields:te,getLabels:de,getTxKeyLabel:ge,getTxAssetSymbol:b,isAeppChatSuperhero:U,isDex:E,isDexAllowance:S,isHash:le,isSwap:V,isTransactionAex9:_.a3,loading:M,nameAeFee:G,popupProps:f,showAdvanced:F,singleToken:J,swapDirection:Z,swapDirectionTranslation:Y,swapTokenAmountData:ne,tokenAmount:ae,tokenList:D,tokenSymbol:re,totalAmount:z,transactionArguments:se,transactionWrapped:X,txAeFee:q,verifying:R}}}),Bs=(0,Ft.A)(Ds,[["render",ys],["__scopeId","data-v-166c5fe2"]]),Ps=Bs;var Ms=function(e){return(0,K.Qi)("data-v-50ead23c"),e=e(),(0,K.jt)(),e},Os={class:"warning","data-cy":"warning"},Rs={class:"title"},Ns=Ms((function(){return(0,K.Lk)("br",null,null,-1)}));function Us(e,t,n,a,r,o){var i=(0,K.g2)("TransactionInfo"),s=(0,K.g2)("Warning"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("CopyText"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-raw-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted",third:"","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(d,{third:"",text:e.$t("common.confirm"),onClick:e.confirm},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(i,{"custom-title":e.$t("modals.confirm-raw-sign.title"),sender:e.sender,recipient:e.activeAccount},null,8,["custom-title","sender","recipient"]),(0,K.Lk)("div",Os,[(0,K.Lk)("span",Rs,[(0,K.bF)(s,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirm-raw-sign.warning.title")),1)]),(0,K.bF)(u,{keypath:"modals.confirm-raw-sign.warning.content",tag:"span",class:"content",scope:"global"},{default:(0,K.k6)((function(){return[Ns]})),_:1})]),(0,K.bF)(l,{label:e.$t("modals.confirmTransactionSign.data-sign"),"data-cy":"data"},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{value:e.dataAsString},null,8,["value"])]})),_:1},8,["label"])]})),_:1})}var Xs=n(8783),Vs=n(20789);const Hs=(0,K.pM)({components:{Modal:Ls.A,TransactionInfo:Xs.A,BtnMain:Mo.A,DetailsItem:Ts.A,Warning:Vn.A,CopyText:Vs.A},setup:function(){var e=(0,ce.m)(),t=e.popupProps,n=e.sender,a=e.setPopupProps,r=(0,ce.oV)(),i=r.getLastActiveProtocolAccount,s=i(o.yv.aeternity),u=(0,K.EW)((function(){var e,n;return(null===(n=null===(e=t.value)||void 0===e?void 0:e.txBase64)||void 0===n?void 0:n.toString())||""}));function c(){var e;null===(e=t.value)||void 0===e||e.resolve()}function l(){var e;null===(e=t.value)||void 0===e||e.reject(new Ka.v)}return(0,K.hi)((function(){a(null)})),{confirm:c,cancel:l,activeAccount:s,dataAsString:u,sender:n}}}),$s=(0,Ft.A)(Hs,[["render",Us],["__scopeId","data-v-50ead23c"]]),js=$s;var Ks={class:"donate-error"},qs={class:"error-info-title"},Gs={class:"error-info-content"},Qs={class:"error-info-title"},Zs={class:"error-info-content"},Ys={class:"error-info-content"};function zs(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",Ks,[(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.error-report")),1),(0,K.bF)(i,{modelValue:e.description,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.description=t}),placeholder:e.$t("pages.donate-error.error-placeholder"),size:"md"},null,8,["modelValue","placeholder"]),(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.data-collected")),1),(0,K.Lk)("h2",qs,(0,tt.v_)(e.$t("pages.donate-error.browser")),1),(0,K.Lk)("p",Gs,(0,tt.v_)(o.browser),1),(0,K.Lk)("h2",Qs,(0,tt.v_)(e.$t("pages.donate-error.details")),1),(0,K.Lk)("p",Zs,(0,tt.v_)(o.error.message),1),(0,K.Lk)("p",Ys,(0,tt.v_)(o.error.stack),1),(0,K.bF)(s,{variant:"muted",inline:"","extra-padded":"",to:"/"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{inline:"",onClick:o.donate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.donate-error.donate")),1)]})),_:1},8,["onClick"])])}var Js=n(38151),eu=n(81503),tu=n(75417);const nu={components:{FormTextarea:tu.A,BtnMain:Mo.A},props:{entry:{type:Object,default:function(){return{}}}},data:function(){return{description:null}},computed:{browser:function(){var e=this.entry.browser||{},t=e.name,n=e.os,a=e.version;return"".concat(t,", Version ").concat(a," (").concat(n,")")},error:function(){return this.entry.error}},methods:{donate:function(){var e=this;return(0,eu.A)((0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,ce.U8)(),a=n.openDefaultModal,r=(0,I.ti)(),o=r.donateError,t.prev=2,t.next=5,o((0,Js.A)((0,Js.A)({},e.entry),{},{description:e.description}));case 5:return t.next=7,a({title:e.$t("modals.donate-errors.title"),msg:e.$t("modals.donate-errors.msg")});case 7:t.next=13;break;case 9:return t.prev=9,t.t0=t["catch"](2),t.next=13,a({title:e.$t("modals.donate-errors-error.title"),msg:e.$t("modals.donate-errors-error.msg")});case 13:return t.prev=13,e.$router.push("/account"),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,9,13,16]])})))()}}},au=(0,Ft.A)(nu,[["render",zs],["__scopeId","data-v-de37d780"]]),ru=au;var ou={class:"token-container"},iu={class:"token-content"},su={class:"top"},uu={class:"token-actions"},cu={ref:"stickyTabsWrapperEl",class:"sticky-tabs-wrapper"};function lu(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("Tab"),p=(0,K.g2)("Tabs"),v=(0,K.g2)("TransactionAndTokenFilter"),f=(0,K.g2)("IonRouterOutlet"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("div",ou,[(0,K.Lk)("div",iu,[(0,K.Lk)("div",su,[(0,K.bF)(i,{tokens:e.tokens,"symbol-length":22,"icon-size":e.ICON_SIZES.xxl,"full-symbol":"",vertical:""},null,8,["tokens","icon-size"]),(0,K.bF)(s,{class:"token-amount","hide-symbol":"",vertical:"",large:"",protocol:e.currentActiveProtocol,amount:e.assetBalance,"hide-fiat":!e.isCoin},null,8,["protocol","amount","hide-fiat"])]),(0,K.Lk)("div",uu,[(0,K.bF)(u,{"is-multisig":e.isMultisig,"token-contract-id":null===(t=e.fungibleToken)||void 0===t?void 0:t.contractId},null,8,["is-multisig","token-contract-id"]),(0,K.bF)(c,{"is-multisig":e.isMultisig,"token-contract-id":null===(n=e.fungibleToken)||void 0===n?void 0:n.contractId},null,8,["is-multisig","token-contract-id"]),e.isAe&&e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,text:e.$t("common.buy"),icon:e.BuyIcon,href:e.activeAccountSimplexLink},null,8,["text","icon","href"])):e.isAe&&e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.faucet"),icon:e.FaucetIcon,href:e.activeAccountFaucetUrl},null,8,["text","icon","href"])):e.IS_IOS||!e.isNodeMainnet&&!e.isNodeTestnet||e.currentActiveProtocol!==e.PROTOCOLS.aeternity?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:2,text:e.$t("common.swap"),icon:e.SwapIcon,href:e.AE_DEX_URL},null,8,["text","icon","href"]))]),(0,K.Lk)("div",cu,[(0,K.bF)(p,null,{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.tabs,(function(t){return(0,K.uX)(),(0,K.Wv)(d,{key:t.routeName,"exact-path":t.exact,to:{name:t.routeName,params:e.route.params},text:t.text},null,8,["exact-path","to","text"])})),128))]})),_:1}),((0,K.uX)(),(0,K.Wv)(v,{key:null===(a=e.routeName)||void 0===a?void 0:a.toString(),"show-filters":e.showFilterBar},null,8,["show-filters"]))],512)]),(0,K.bF)(f,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation,class:"token-router",style:(0,tt.Tr)({height:e.routerHeight||"350px"})},null,8,["animated","animation","style"])])]})),_:1})]})),_:1})}var du=n(44416);const pu=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"namespace":{"name":"Utils","typedefs":[]}},{"namespace":{"name":"UQ112x112","typedefs":[]}},{"namespace":{"name":"Math","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"},{"name":"_3","type":"int"}],"name":"aedex_v2_call","payable":false,"returns":"unit","stateful":false}],"kind":"contract_interface","name":"IAedexV2Callback","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"Deposit":["address","int"]},{"Withdrawal":["address","int"]}]},"functions":[{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAEX9Minimal.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"create_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAEX9Minimal","payable":false,"typedefs":[{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]}]}},{"contract":{"functions":[{"arguments":[],"name":"fee_to","payable":false,"returns":{"option":["address"]},"stateful":false}],"kind":"contract_interface","name":"IAedexV2FactoryForPair","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAedexV2FactoryForPair"},{"name":"_2","type":"IAEX9Minimal"},{"name":"_3","type":"IAEX9Minimal"},{"name":"_4","type":{"option":["int"]}},{"name":"_5","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"void","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"k_last","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"},{"name":"_3","type":"address"},{"name":"_4","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"skim","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAedexV2Pair","payable":false,"typedefs":[{"name":"amounts","typedef":{"record":[{"name":"amount0","type":"int"},{"name":"amount1","type":"int"}]},"vars":[]},{"name":"reserves","typedef":{"record":[{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"}]},"vars":[]}]}},{"namespace":{"name":"Option","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"min_liquidity","type":{"option":["int"]}},{"name":"debug_time","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"AedexV2Pair.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"AedexV2Pair.balances","stateful":false},{"arguments":[{"name":"address","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"AedexV2Pair.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"AedexV2Pair.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[{"name":"time","type":"int"}],"name":"set_debug_time","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"amount0_out","type":"int"},{"name":"amount1_out","type":"int"},{"name":"to","type":"address"},{"name":"callback_opt","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"skim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"recipient","type":"address"},{"name":"amount","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"AedexV2Pair","payable":false,"state":{"record":[{"name":"total_supply","type":"int"},{"name":"balance_of","type":"AedexV2Pair.balances"},{"name":"locked_liquidity","type":"int"},{"name":"allowances","type":"AedexV2Pair.allowances"},{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"},{"name":"price0_cumulative_last","type":"int"},{"name":"price1_cumulative_last","type":"int"},{"name":"min_liquidity","type":"int"},{"name":"k_last","type":"int"},{"name":"debug_time","type":{"option":["int"]}}]},"typedefs":[{"name":"owner","typedef":"address","vars":[]},{"name":"spender","typedef":"address","vars":[]},{"name":"allowance_accounts","typedef":"IAEX9Minimal.allowance_accounts","vars":[]},{"name":"allowances","typedef":{"map":["AedexV2Pair.allowance_accounts","int"]},"vars":[]},{"name":"balances","typedef":{"map":["AedexV2Pair.owner","int"]},"vars":[]}]}}]');var vu=n(70694),fu=n(90640),mu=n(56633),gu=n(8666),hu=n(43226),Au=n(57171),ku=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yu=(0,K.pM)({name:"AssetDetails",components:{TransactionAndTokenFilter:gu.A,TokenAmount:Es.A,BtnBox:Ca.A,Tokens:vu.A,Tabs:fu.A,Tab:mu.A,OpenTransferReceiveModalButton:Ea.A,OpenTransferSendModalButton:Ia.A,IonPage:Fe.AO,IonContent:Fe.W9,IonRouterOutlet:Fe.Rg},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),r=n.t,u=(0,ce.YY)(),c=u.setSharedAssetDetails,l=u.resetSharedAssetDetails,d=(0,ce.mv)(),p=d.setLoaderVisible,v=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.isMultisig)})),f=(0,ce.CP)(),m=f.isNodeMainnet,g=f.isNodeTestnet,h=f.getAeSdk,A=(0,ce.oV)(),k=A.activeAccount,y=A.getLastActiveProtocolAccount,b=(0,ce.Sr)({isMultisig:v.value}),w=b.protocolCoinBalance,C=(0,ce.ZN)(),x=C.marketData,S=(0,ce.Y7)(),E=S.getAccountTokenBalance,I=S.getProtocolAvailableTokens,W=(0,ce.ci)(),F=W.activeMultisigAccount,D=(0,K.EW)((function(){var e;return v.value?null===(e=F.value)||void 0===e?void 0:e.gaAccountId:k.value.address})),B=(0,K.EW)((function(){return v.value?o.yv.aeternity:k.value.protocol})),P=!!t.matched.find((function(e){var t=e.name;return t&&[Ye.s4,Ye.r,Ye.fc,Ye.iz].includes(t.toString())})),M=t.params.id,O=M===T.cK,R=P?Ye.r:Ye.tE,N=P?Ye.s4:Ye.uY,U=[{text:r("pages.transactionDetails.transactions"),routeName:v.value?Ye.fc:N,exact:!0},{text:r(P?"pages.token-details.coin-details":"pages.token-details.token-details"),routeName:v.value?Ye.iz:R,exact:!0}],X=(0,bt.KR)(),V=(0,bt.KR)({token0:null,token1:null}),H=(0,bt.KR)(),$=(0,K.EW)((function(){return I(B.value)[M]})),j=(0,K.EW)((function(){return P?void 0:E(D.value,M)})),q=(0,K.EW)((function(){return t.name})),G=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.showFilterBar)})),Q=(0,K.EW)((function(){return O?(0,_.mV)(D.value):null})),Z=(0,K.EW)((function(){return O?(0,_.hj)(D.value):null})),Y=(0,K.EW)((function(){return P?i.C.getAdapter(B.value).getDefaultCoin(x.value):$.value})),z=(0,K.EW)((function(){var e=[V.value.token0,V.value.token1],t=e[0],n=e[1],a=t&&n?[t,n,Y.value]:[Y.value];return a.filter(L.__)})),J=(0,K.EW)((function(){var e;return P?w.value.toNumber():(null===(e=E(D.value,M))||void 0===e?void 0:e.convertedBalance)||0}));function ee(){(0,K.dY)((function(){var e,t,n,a=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,r=null===(n=H.value)||void 0===n?void 0:n.getBoundingClientRect().bottom;X.value="".concat(a-r,"px")}))}function te(){var e=new ResizeObserver((function(){ee()}));e.observe(H.value)}function ne(e){return ku(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h();case 3:return n=t.sent,r=y(o.yv.aeternity),t.next=7,n.initializeContract({aci:pu,address:e});case 7:return i=t.sent,u=I(o.yv.aeternity),t.next=11,Promise.all([i.balances(),i.balance(null===r||void 0===r?void 0:r.address),i.token0(),i.token1(),i.get_reserves(),i.total_supply()]);case 11:return c=t.sent,l=(0,a.A)(c,6),d=l[0].decodedResult,p=l[1].decodedResult,v=l[2].decodedResult,f=l[3].decodedResult,m=l[4].decodedResult,g=l[5].decodedResult,t.abrupt("return",{token0:u[v]?Object.assign(Object.assign({},u[v]),{amount:(0,_._2)(p,g,m.reserve0)}):void 0,token1:u[f]?Object.assign(Object.assign({},u[f]),{amount:(0,_._2)(p,g,m.reserve1)}):void 0,totalSupply:g,balance:p,balances:d});case 22:return t.prev=22,t.t0=t["catch"](0),t.abrupt("return",{});case 25:case"end":return t.stop()}}),t,null,[[0,22]])})))}return(0,K.sV)((function(){return ku(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(0,_.bK)(M)||O){e.next=8;break}return p(!0),e.next=4,h();case 4:return e.next=6,ne(M);case 6:V.value=e.sent,p(!1);case 8:setTimeout((function(){te(),ee()}),250);case 9:case"end":return e.stop()}}),e)})))})),(0,K.wB)(Y,(function(e){c({contractId:M,tokenPairs:V.value,tokenData:e,tokenBalance:j.value,tokens:z.value,isMultisig:v.value})}),{immediate:!0}),(0,Fe.r0)((function(){l()})),{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,ICON_SIZES:o.hS,IS_FIREFOX:o.$M,IS_IOS:o.pz,AE_DEX_URL:T.hD,BuyIcon:_a.A,FaucetIcon:Au.A,SwapIcon:hu.A,assetBalance:J,assetData:Y,contractId:M,currentActiveProtocol:B,stickyTabsWrapperEl:H,fungibleToken:$,isAe:O,isCoin:P,isNodeMainnet:m,isNodeTestnet:g,activeAccountSimplexLink:Z,activeAccountFaucetUrl:Q,tabs:U,tokenPairs:V,tokens:z,showFilterBar:G,routeName:q,isMultisig:v,route:t,routerHeight:X,fadeAnimation:du.r4}}}),bu=(0,Ft.A)(yu,[["render",lu],["__scopeId","data-v-dca0ef5e"]]),wu=bu;function Cu(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,transactions:e.transactionsLoadedAndPending,"is-multisig":e.isMultisig,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-multisig","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var xu=!1;const Lu=(0,K.pM)({name:"AssetDetailsTransactions",components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e=(0,za.lq)(),t=e.params.id,n=(0,ce.YY)(),a=n.sharedAssetDetails,r=(0,ce.oV)(),s=r.activeAccount,u=(0,ce.ci)(),c=u.activeMultisigAccount,l=i.C.getAdapter(s.value.protocol),d=(0,bt.KR)(!1),p=(0,K.EW)((function(){return!!a.isMultisig})),v=(0,K.EW)((function(){return t===l.coinContractId})),f=(0,K.EW)((function(){var e;return p.value?null===(e=c.value)||void 0===e?void 0:e.gaAccountId:s.value.address})),m=(0,ce._8)({accountAddress:f.value,assetContractId:t,protocol:p.value?o.yv.aeternity:s.value.protocol}),g=m.isEndReached,h=m.isLoading,A=m.transactionsLoadedAndPending,k=m.loadCurrentPageTransactions,y=m.initializeTransactionListPolling,b=m.stopTransactionListPolling;return(0,Fe.UO)((function(){d.value=!0,xu||(y(),xu=!0)})),(0,Fe.r0)((function(){d.value=!1,b(),xu=!1})),(0,K.hi)((function(){d.value=!1,b(),xu=!1})),{sharedAssetDetails:a,currentAddress:f,transactionsLoadedAndPending:A,isAssetCoin:v,isEndReached:g,isLoading:h,isPageActive:d,isMultisig:p,loadCurrentPageTransactions:k}}}),Su=(0,Ft.A)(Lu,[["render",Cu]]),Tu=Su;var Eu={class:"token-details"},Iu={class:"white"},_u={class:"white"};function Wu(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("DetailsRow"),u=(0,K.g2)("AddressTruncated"),c=(0,K.g2)("LinkButton"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a,r,o,l,d,p,v,f,m,g;return[(0,K.Lk)("div",Eu,[(null===(t=e.assetData)||void 0===t?void 0:t.symbol)?((0,K.uX)(),(0,K.Wv)(s,{key:0,label:e.isCoin?e.$t("pages.token-details.coin"):e.$t("pages.token-details.token"),text:null===(n=e.assetData)||void 0===n?void 0:n.symbol},{text:(0,K.k6)((function(){return[e.tokens?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"token-details-tokens",tokens:e.tokens,bright:""},null,8,["tokens"])):(0,K.Q3)("",!0)]})),_:1},8,["label","text"])):(0,K.Q3)("",!0),(null===(a=e.assetData)||void 0===a?void 0:a.name)?((0,K.uX)(),(0,K.Wv)(s,{key:1,label:e.$t("pages.token-details.name"),text:e.assetData.name},null,8,["label","text"])):(0,K.Q3)("",!0),e.decimals?((0,K.uX)(),(0,K.Wv)(s,{key:2,label:e.$t("pages.token-details.decimals"),text:e.decimals},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(r=e.assetData)||void 0===r?void 0:r.contractId)&&!e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:3,label:e.$t("common.smartContract")},{text:(0,K.k6)((function(){return[(0,K.bF)(u,{"show-explorer-link":"",protocol:e.assetData.protocol,address:e.assetData.contractId},null,8,["protocol","address"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(o=e.assetData)||void 0===o?void 0:o.circulatingSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:4,label:e.$t("pages.token-details.max-supply"),text:e.formatNumber(e.assetData.circulatingSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(l=e.assetData)||void 0===l?void 0:l.totalSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:5,label:e.$t("pages.token-details.total-supply"),text:e.formatNumber(e.assetData.totalSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(d=e.assetData)||void 0===d?void 0:d.marketCap)?((0,K.uX)(),(0,K.Wv)(s,{key:6,label:e.$t("pages.token-details.market-cap"),class:"price",text:e.formatCurrency(e.assetData.marketCap)},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.balances?((0,K.uX)(),(0,K.Wv)(s,{key:7,label:e.$t("pages.token-details.holders"),text:e.tokenPairs.balances.size},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.token0&&e.tokenPairs.token0.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:8,text:e.getPooledTokenAmount(e.tokenPairs.token0)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",Iu,(0,tt.v_)(e.tokenPairs.token0.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.tokenPairs.token1&&e.tokenPairs.token1.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:9,text:e.getPooledTokenAmount(e.tokenPairs.token1)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",_u,(0,tt.v_)(e.tokenPairs.token1.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.poolShare?((0,K.uX)(),(0,K.Wv)(s,{key:10,label:e.$t("pages.token-details.poolShare"),text:e.poolShare},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(p=e.assetData)||void 0===p?void 0:p.totalVolume)?((0,K.uX)(),(0,K.Wv)(s,{key:11,label:e.$t("pages.token-details.volume"),text:e.formatCurrency(e.assetData.totalVolume)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(v=e.assetData)||void 0===v?void 0:v.marketCapChange24h)?((0,K.uX)(),(0,K.Wv)(s,{key:12,class:"price",label:e.$t("pages.token-details.volumeDaily")},{text:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("span",{class:(0,tt.C4)({green:(null===(t=e.assetData)||void 0===t?void 0:t.marketCapChangePercentage24h)>0,red:(null===(n=e.assetData)||void 0===n?void 0:n.marketCapChangePercentage24h)<0})},(0,tt.v_)(Number(e.assetData.marketCapChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(null===(a=e.assetData)||void 0===a?void 0:a.marketCapChange24h)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)(K.FK,{key:13},[(0,K.bF)(s,{label:e.$t("pages.token-details.transactions")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.feeDaily")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.priceAe")},null,8,["label"])],64)):(0,K.Q3)("",!0),(null===(f=e.assetData)||void 0===f?void 0:f.currentPrice)?((0,K.uX)(),(0,K.Wv)(s,{key:14,class:"price",label:e.$t("pages.token-details.price")},{text:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:(0,tt.C4)({green:e.assetData.priceChangePercentage24h>0,red:e.assetData.priceChangePercentage24h<0})},(0,tt.v_)(Number(e.assetData.priceChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(e.assetData.currentPrice)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(m=e.assetData)||void 0===m?void 0:m.ath)?((0,K.uX)(),(0,K.Wv)(s,{key:15,label:e.$t("pages.token-details.ath-change"),text:e.formatCurrency(e.assetData.ath)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(g=e.assetData)||void 0===g?void 0:g.atl)?((0,K.uX)(),(0,K.Wv)(s,{key:16,label:e.$t("pages.token-details.atl-change"),text:e.formatCurrency(e.assetData.atl)},null,8,["label","text"])):(0,K.Q3)("",!0),e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:17,class:"link",label:e.$t("pages.token-details.more")},{text:(0,K.k6)((function(){return[(0,K.bF)(c,{"is-external":"",to:e.coinGeckoLinkUrl,variant:"muted"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.coinGeckoLinkLabel),1)]})),_:1},8,["to"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}n(27495),n(25440);var Fu={class:"details-row"},Du={class:"title"},Bu={class:"text"};function Pu(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Fu,[(0,K.Lk)("div",Du,[(0,K.RG)(e.$slots,"label",{},(function(){return[(0,K.eW)((0,tt.v_)(n.label),1)]}),!0)]),(0,K.Lk)("div",Bu,[(0,K.RG)(e.$slots,"text",{},(function(){return[(0,K.eW)((0,tt.v_)(n.text),1)]}),!0)])])}const Mu={props:{label:{type:String,default:null},text:{type:[String,Number],default:"N/A"}}},Ou=(0,Ft.A)(Mu,[["render",Pu],["__scopeId","data-v-1887a5f2"]]),Ru=Ou,Nu=(0,K.pM)({name:"AssetDetailsInfo",components:{DetailsRow:Ru,AddressTruncated:cs.A,Tokens:vu.A,IonPage:Fe.AO,IonContent:Fe.W9,LinkButton:wt.A},setup:function(){var e=(0,ce.YY)(),t=e.sharedAssetDetails,n=(0,ce.ZN)(),a=n.formatCurrency,r=(0,K.EW)((function(){return t.tokenData||{}})),s=(0,K.EW)((function(){var e;return i.C.getAdapter(null===(e=r.value)||void 0===e?void 0:e.protocol)})),u=(0,K.EW)((function(){return r.value.contractId})),c=(0,K.EW)((function(){return t.tokens})),l=(0,K.EW)((function(){return t.tokenPairs||{}})),d=(0,K.EW)((function(){return t.tokenBalance})),p=(0,K.EW)((function(){return(0,L.go)(u.value)})),v=(0,K.EW)((function(){var e,t;return(null===(e=r.value)||void 0===e?void 0:e.decimals)||(null===(t=d.value)||void 0===t?void 0:t.decimals)})),f=(0,K.EW)((function(){return"https://www.coingecko.com/en/coins/".concat(s.value.getCoinGeckoCoinId())})),m=(0,K.EW)((function(){return f.value.replace("https://","").replace("en/coins","...")})),g=(0,K.EW)((function(){var e,t;return(null===(e=l.value)||void 0===e?void 0:e.balance)&&(null===(t=l.value)||void 0===t?void 0:t.totalSupply)?"".concat((0,L.k0)(new pe.A(l.value.balance).times(100).div(l.value.totalSupply)),"%"):null})),h=function(e){return(0,L.k0)((0,L.Y9)(e.amount,-e.decimals))};return{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,isCoin:p,poolShare:g,getPooledTokenAmount:h,formatCurrency:a,formatNumber:L.ZV,sharedAssetDetails:t,coinGeckoLinkUrl:f,coinGeckoLinkLabel:m,tokens:c,tokenPairs:l,tokenBalance:d,assetData:r,decimals:v}}}),Uu=(0,Ft.A)(Nu,[["render",Wu],["__scopeId","data-v-b062462c"]]),Xu=Uu;var Vu=n(84316),Hu=n.n(Vu),$u={key:0,class:"iframe-image",src:Hu(),alt:"Send & receive tips across the globe!"},ju={key:1,class:"not-iframe"},Ku={class:"heading"},qu={class:"receive"},Gu={class:"store"},Qu={class:"send"},Zu={class:"aeternity-name"},Yu={key:0,class:"wallet-button-box"};function zu(e,t,n,a,r,o){var i=(0,K.g2)("SuperheroLogoIcon"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("Platforms"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("RouterLink"),d=(0,K.g2)("BtnSubheader"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["index",{"extended-top-padding":!e.IS_WEB&&!e.IS_MOBILE_DEVICE,"ios-top-padding":e.IS_IOS}])},[e.IN_FRAME?((0,K.uX)(),(0,K.CE)("img",$u)):((0,K.uX)(),(0,K.CE)("div",ju,[(0,K.bF)(i,{class:"superhero-logo"}),(0,K.Lk)("div",Ku,[(0,K.bF)(s,{keypath:"pages.index.heading.message",tag:"span",class:"tag",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",qu,(0,tt.v_)(e.$t("pages.index.heading.receive")),1),(0,K.Lk)("span",Gu,(0,tt.v_)(e.$t("pages.index.heading.store")),1),(0,K.Lk)("span",Qu,(0,tt.v_)(e.$t("pages.index.heading.send")),1),(0,K.Lk)("span",Zu,(0,tt.v_)(e.$t("pages.index.heading.aeternityBlockchain")),1)]})),_:1})]),e.IS_WEB?((0,K.uX)(),(0,K.Wv)(u,{key:0},{header:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.platforms.heading")),1)]})),footer:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.webVersion")),1)]})),_:1})):(0,K.Q3)("",!0)])),(0,K.Lk)("div",{class:(0,tt.C4)(["terms-agreement",{mobile:!e.IS_WEB}])},[(0,K.bF)(c,{modelValue:e.termsAgreed,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.termsAgreed=t}),"data-cy":"checkbox"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.index.term1")),1)]})),_:1},8,["modelValue"]),(0,K.bF)(l,{to:{name:"about-terms"},"data-cy":"terms",class:(0,tt.C4)(["terms-of-use",{agreed:e.termsAgreed}])},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.termsAndConditions")),1)]})),_:1},8,["class"])],2),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.termsAgreed?((0,K.uX)(),(0,K.CE)("div",Yu,[(0,K.bF)(d,{"data-cy":"generate-wallet",subheader:e.$t("pages.index.getStartedWithWallet"),header:e.$t("pages.index.generateWallet"),icon:e.PlusCircleIcon,onClick:e.createWallet},null,8,["subheader","header","icon","onClick"]),(0,K.bF)(d,{"data-cy":"import-wallet",subheader:e.$t("pages.index.enterSeed"),header:e.$t("pages.index.importWallet"),icon:e.CheckCircleIcon,onClick:e.importWallet},null,8,["subheader","header","icon","onClick"])])):(0,K.Q3)("",!0)]})),_:1})],2)]})),_:1})]})),_:1})}var Ju={class:"checkbox-container"},ec=["disabled","checked","type","name"];function tc(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("label",Ju,[(0,K.Lk)("input",{disabled:e.disabled,checked:!!e.modelValue,type:e.type,name:e.name,onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.checked)})},null,40,ec),(0,K.Lk)("span",{class:(0,tt.C4)(["checkmark",{checked:e.modelValue,disabled:e.disabled}])},null,2),e.$slots["default"]?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["label-text",{checked:e.modelValue}])},[(0,K.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,K.Q3)("",!0)])}const nc=(0,K.pM)({name:"CheckBox",props:{modelValue:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean},emits:["update:modelValue"]}),ac=(0,Ft.A)(nc,[["render",tc],["__scopeId","data-v-3d62511b"]]),rc=ac;var oc={class:"box"},ic={class:"message"},sc={class:"heading"},uc={class:"description"};function cc(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),e.$props),{class:"button-subheader",extend:"",variant:"dark"}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",oc,[e.icon||e.protocolIcon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,"icon-size":e.iconSize,"protocol-icon":e.protocolIcon,"is-boxed":""},null,8,["icon","icon-size","protocol-icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",ic,[(0,K.Lk)("span",sc,(0,tt.v_)(e.header),1),(0,K.Lk)("span",uc,(0,tt.v_)(e.subheader),1)])])]})),_:1},16)}const lc=(0,K.pM)({components:{BtnBase:Ot.Ay,IconWrapper:Fo.Ay},props:Object.assign({header:{type:String,default:""},subheader:{type:String,default:""},icon:{type:Object,default:null},iconSize:Fo.m0,protocolIcon:Fo.ZO},Ot.Mp)}),dc=(0,Ft.A)(lc,[["render",cc],["__scopeId","data-v-664f7dd3"]]),pc=dc;var vc=n(24538),fc=n.n(vc),mc=n(59485),gc=n.n(mc),hc={class:"platforms"},Ac={class:"heading"},kc={key:0,class:"mobile-web-icons"},yc={key:1,class:"web-icons-wrapper"},bc={class:"web-icons"},wc={class:"web-icons-title"},Cc={class:"web-icons-platforms"},xc={class:"web-icons"},Lc={class:"web-icons-title"},Sc={class:"web-icons-platforms"},Tc={class:"footer"};function Ec(e,t,a,r,o,i){var s=(0,K.g2)("LinkButton"),u=(0,K.g2)("PlatformIcon");return(0,K.uX)(),(0,K.CE)("div",hc,[(0,K.Lk)("div",Ac,[(0,K.RG)(e.$slots,"header",{},void 0,!0)]),e.IS_MOBILE_DEVICE?((0,K.uX)(),(0,K.CE)("div",kc,[(0,K.bF)(s,{to:e.APP_LINK_IOS},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:!e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:fc(),alt:"App Store"},null,2)]})),_:1},8,["to"]),(0,K.bF)(s,{to:e.APP_LINK_ANDROID},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:gc(),alt:"Google Play"},null,2)]})),_:1},8,["to"])])):((0,K.uX)(),(0,K.CE)("div",yc,[(0,K.Lk)("div",bc,[(0,K.Lk)("div",wc,(0,tt.v_)(e.$t("pages.index.platforms.browser-extension")),1),(0,K.Lk)("div",Cc,[(0,K.bF)(u,{to:e.APP_LINK_FIREFOX,disabled:!e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(24601),alt:"Firefox"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_CHROME,disabled:e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(78116),alt:"Chrome"},null,8,["to","disabled","src"])])]),(0,K.Lk)("div",xc,[(0,K.Lk)("div",Lc,(0,tt.v_)(e.$t("pages.index.platforms.mobile-app")),1),(0,K.Lk)("div",Sc,[(0,K.bF)(u,{to:e.APP_LINK_IOS,disabled:!e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(72347),alt:"App Store"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_ANDROID,disabled:e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(40958),alt:"Google Play"},null,8,["to","disabled","src"])])])])),(0,K.Lk)("div",Tc,[(0,K.RG)(e.$slots,"footer",{},void 0,!0)])])}var Ic=["src","alt"];function _c(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton");return(0,K.uX)(),(0,K.Wv)(i,{to:e.to,class:"platform-icon"},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)(["platform-icon-image",{grey:e.disabled}]),src:e.src,alt:e.alt},null,10,Ic)]})),_:1},8,["to"])}const Wc=(0,K.pM)({components:{LinkButton:wt.A},props:{to:{type:String,required:!0},src:{type:String,required:!0},alt:{type:String,required:!0},disabled:Boolean}}),Fc=(0,Ft.A)(Wc,[["render",_c],["__scopeId","data-v-18a3b1c4"]]),Dc=Fc,Bc={components:{PlatformIcon:Dc,LinkButton:wt.A},data:function(){return{IS_MOBILE_DEVICE:o.Hy,IS_IOS:o.pz,IS_FIREFOX:o.$M,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO}}},Pc=(0,Ft.A)(Bc,[["render",Ec],["__scopeId","data-v-11c59964"]]),Mc=Pc;var Oc={viewBox:"0 0 262 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Rc=(0,K.Fv)('',8),Nc=[Rc];function Uc(e,t){return(0,K.uX)(),(0,K.CE)("svg",Oc,Nc)}const Xc={},Vc=(0,Ft.A)(Xc,[["render",Uc]]),Hc=Vc;var $c=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const jc=(0,K.pM)({components:{SuperheroLogoIcon:Hc,CheckBox:rc,BtnSubheader:pc,Platforms:Mc,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.rd)(),n=(0,ce.oV)(),a=n.isLoggedIn,r=n.addRawAccount,i=n.setGeneratedMnemonic,u=n.mnemonic,c=n.discoverAccounts,l=n.setActiveAccountByGlobalIdx,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.loginTargetLocation,m=(0,bt.KR)(!1),g=!1;function h(){return $c(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:g=!0,i(),r({isRestored:!1,protocol:o.yv.aeternity}),t.push(f.value);case 4:case"end":return e.stop()}}),e)})))}function A(){return $c(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return g=!0,e.next=3,p(o.uR);case 3:case"end":return e.stop()}}),e)})))}return(0,K.sV)((function(){return $c(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!o.pz||!o.I$){e.next=8;break}return e.next=3,(0,L.mU)(u);case 3:if(!u.value||g){e.next=8;break}return e.next=6,c();case 6:l(0),a.value&&t.push(f.value);case 8:case"end":return e.stop()}}),e)})))})),{PlusCircleIcon:Er.A,CheckCircleIcon:Xi,IS_WEB:o.u2,IS_IOS:o.pz,IS_MOBILE_DEVICE:o.Hy,IN_FRAME:o.IX,termsAgreed:m,createWallet:h,importWallet:A}}}),Kc=(0,Ft.A)(jc,[["render",zu],["__scopeId","data-v-67e61e9e"]]),qc=Kc;var Gc={class:"invite-page"},Qc={class:"section-title"},Zc={key:0,class:"generated-links"},Yc={class:"section-title"};function zc(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("InputAmount"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Field"),d=(0,K.g2)("InviteItem"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var n;return[(0,K.Lk)("div",Gc,[(0,K.bF)(i,{account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{balance:e.balance.toNumber(),protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"]),(0,K.Lk)("p",Qc,(0,tt.v_)(e.$t("pages.invite.generate-link")),1),(0,K.bF)(l,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:Object.assign(Object.assign({does_not_exceed_decimals:null===(n=e.formModel.selectedAsset)||void 0===n?void 0:n.decimals,min_value_exclusive:0},+e.balance.minus(e.fee)>0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(u,(0,K.v6)(a,{"model-value":e.formModel.amount,class:"amount",name:"amount",label:e.$t("pages.invite.tip-attached"),message:r,readonly:"",protocol:e.PROTOCOLS.aeternity,"selected-asset":e.formModel.selectedAsset,onAssetSelected:t[0]||(t[0]=function(t){return e.formModel.selectedAsset=t})}),null,16,["model-value","label","message","protocol","selected-asset"]),(0,K.bF)(c,{extend:"",icon:e.PlusCircleFillIcon,disabled:!e.formModel.amount||!!r,"data-cy":"invite-generate",onClick:e.generate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.invite.generate")),1)]})),_:2},1032,["icon","disabled","onClick"])]})),_:1},8,["modelValue","rules"]),e.invites.length>0?((0,K.uX)(),(0,K.CE)("div",Zc,[(0,K.Lk)("p",Yc,(0,tt.v_)(e.$t("pages.invite.created-links")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.invites,(function(n){return(0,K.uX)(),(0,K.Wv)(d,(0,K.v6)(null!==n&&void 0!==n?n:null,{key:n.secretKey.toString(),onLoading:t[2]||(t[2]=function(t){return e.setLoaderVisible(t)})}),null,16)})),128))])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}var Jc=n(65984),el=n(99366),tl=(n(50778),{class:"invite-row"}),nl={class:"invite-info"},al={class:"date"},rl={class:"invite-link-url"},ol={key:0,class:"centered-buttons"},il={class:"centered-buttons"};function sl(e,t,n,a,r,o){var i,s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("CopyText"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("InputAmount"),d=(0,K.g2)("Field");return(0,K.uX)(),(0,K.CE)("div",tl,[(0,K.Lk)("div",nl,[(0,K.bF)(s,{amount:e.inviteLinkBalance,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"]),(0,K.Lk)("span",al,(0,tt.v_)(e.formatDate(e.createdAt)),1)]),(0,K.bF)(u,{class:"invite-link",value:e.link.toString()},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",rl,(0,tt.v_)(e.link),1)]})),_:1},8,["value"]),e.topUp?((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:{required:!0,max_value:e.max,does_not_exceed_decimals:null===(i=e.formModel.selectedAsset)||void 0===i?void 0:i.decimals}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage;return[(0,K.bF)(l,(0,K.v6)(n,{"model-value":e.formModel.amount,name:"amount",class:"input-amount",label:e.$t("pages.invite.top-up-with"),message:a,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["model-value","label","message","protocol"]),(0,K.Lk)("div",il,[(0,K.bF)(c,{variant:"muted",text:e.$t("pages.invite.collapse"),onClick:e.resetTopUpChanges},null,8,["text","onClick"]),(0,K.bF)(c,{disabled:!e.formModel.amount||!!a,text:e.$t("pages.invite.top-up"),onClick:e.sendTopUp},null,8,["disabled","text","onClick"])])]})),_:1},8,["modelValue","rules"])):((0,K.uX)(),(0,K.CE)("div",ol,[e.inviteLinkBalance>0?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"button",variant:"muted","data-cy":"invite-claim",text:e.$t("pages.invite.claim"),onClick:e.claim},null,8,["text","onClick"])):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"button",variant:"muted","data-cy":"invite-delete",text:e.$t("pages.invite.delete"),onClick:e.deleteItem},null,8,["text","onClick"])),(0,K.bF)(c,{class:"button","data-cy":"invite-top-up",text:e.$t("pages.invite.top-up"),onClick:t[0]||(t[0]=function(t){return e.topUp=!0})},null,8,["text"])]))])}var ul=n(48287)["Buffer"],cl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ll=(0,K.pM)({components:{TokenAmount:Es.A,BtnMain:Mo.A,InputAmount:el.A,CopyText:Vs.A,Field:De.D0},props:{secretKey:{type:ul,required:!0},createdAt:{type:Number,required:!0}},setup:function(e,t){var n=t.emit,a=(0,za.rd)(),r=(0,ce.oV)(),u=r.getLastActiveProtocolAccount,c=(0,ce.ZN)(),l=c.marketData,d=(0,ce.ty)(),p=d.balance,f=(0,ce.CP)(),m=f.getAeSdk,g=(0,ce._V)(),A=g.claimInvite,k=g.removeInvite,y=g.handleInsufficientBalanceError,b=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(l.value,+p.value)}),w=(0,ce.Ym)({formModel:b}),C=w.max,x=(0,bt.KR)(!1),S=(0,bt.KR)(0),T=(0,K.EW)((function(){var t=(0,h.lF)(ul.from(e.secretKey),v.W.Name).slice(3);return new URL("".concat(a.resolve({name:Ye.HH}).href.replace(/^#/,""),"#").concat(t),o.yS)})),E=(0,K.EW)((function(){return(0,_.Sf)(e.secretKey).address}));function I(){k(e.secretKey)}function W(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return t=e.sent,e.t0=parseFloat,e.next=6,t.getBalance(E.value,{format:Jc.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),S.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function F(){var t;return cl(this,void 0,void 0,(0,s.A)().mark((function a(){return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n("loading",!0),a.prev=1,a.next=4,A({secretKey:ul.from(e.secretKey),recipientId:null===(t=u(o.yv.aeternity))||void 0===t?void 0:t.address,isMax:!0});case 4:return a.next=6,W();case 6:a.next=15;break;case 8:return a.prev=8,a.t0=a["catch"](1),a.next=12,y(a.t0,!0);case 12:if(!a.sent){a.next=14;break}return a.abrupt("return");case 14:throw a.t0;case 15:return a.prev=15,n("loading",!1),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[1,8,15,18]])})))}function D(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return b.value.amount="",e.next=3,(0,K.dY)();case 3:x.value=!1;case 4:case"end":return e.stop()}}),e)})))}function B(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n("loading",!0),e.next=3,m();case 3:return t=e.sent,e.prev=4,e.next=7,t.spend(b.value.amount,E.value,{denomination:Jc.j8.AE});case 7:return e.next=9,W();case 9:D(),e.next=19;break;case 12:return e.prev=12,e.t0=e["catch"](4),e.next=16,y(e.t0);case 16:if(!e.sent){e.next=18;break}return e.abrupt("return");case 18:throw e.t0;case 19:return e.prev=19,n("loading",!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[4,12,19,22]])})))}return(0,K.wB)((function(){return e.secretKey}),(function(){return W()}),{immediate:!0}),{PROTOCOLS:o.yv,formModel:b,max:C,topUp:x,inviteLinkBalance:S,link:T,formatDate:L.Yq,resetTopUpChanges:D,deleteItem:I,sendTopUp:B,claim:F}}}),dl=(0,Ft.A)(ll,[["render",sl],["__scopeId","data-v-9a6ba60a"]]),pl=dl;var vl=n(48287)["Buffer"],fl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ml=(0,K.pM)({components:{AccountInfo:La.A,BalanceInfo:Sa.A,InputAmount:el.A,BtnMain:Mo.A,InviteItem:pl,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.ZN)(),a=n.marketData,r=(0,ce.CP)(),u=r.getAeSdk,c=(0,ce.ty)(),l=c.balance,d=(0,ce._V)(),p=d.invites,v=d.addInvite,m=d.handleInsufficientBalanceError,g=(0,ce.mv)(),h=g.setLoaderVisible,A=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(a.value,+l.value)}),k=(0,ce.Ym)({formModel:A}),y=k.max,b=k.fee;function w(){return fl(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return h(!0),t=(0,f.TZ)(),n=t.publicKey,a=t.secretKey,e.prev=2,e.next=5,u();case 5:return r=e.sent,e.next=8,r.spend(A.value.amount||0,n,{denomination:Jc.j8.AE});case 8:e.next=17;break;case 10:return e.prev=10,e.t0=e["catch"](2),e.next=14,m(e.t0);case 14:if(!e.sent){e.next=16;break}return e.abrupt("return");case 16:throw e.t0;case 17:return e.prev=17,h(!1),e.finish(17);case 20:v(vl.from(a,"hex").slice(0,32)),A.value.amount="";case 22:case"end":return e.stop()}}),e,null,[[2,10,17,20]])})))}return{PROTOCOLS:o.yv,PlusCircleFillIcon:Er.A,activeAccount:t,balance:l,fee:b,invites:p,max:y,formModel:A,generate:w,setLoaderVisible:h}}}),gl=(0,Ft.A)(ml,[["render",zc],["__scopeId","data-v-47b6712e"]]),hl=gl;function Al(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var kl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yl=(0,K.pM)({components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,Fe.jq)(),n=(0,za.lq)(),a=(0,ce.U8)(),r=a.openDefaultModal,i=a.openModal,u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,ce._V)(),d=l.handleInsufficientBalanceError;(0,Fe.UO)((function(){return kl(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c(!0),t.push({name:Ye.qJ}),e.prev=2,e.next=5,i(o.He,{secretKey:(0,h.D4)("nm_".concat(n.hash?n.hash.replace("#",""):n.fullPath.split("/").at(-1)))});case 5:e.next=18;break;case 7:if(e.prev=7,e.t0=e["catch"](2),"Invalid checksum"!==e.t0.message){e.next=13;break}return e.next=12,r({msg:"The invite link is broken"});case 12:return e.abrupt("return");case 13:return e.next=15,d(e.t0,!0);case 15:if(!e.sent){e.next=17;break}return e.abrupt("return");case 17:throw e.t0;case 18:return e.prev=18,c(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[2,7,18,21]])})))}))}}),bl=(0,Ft.A)(yl,[["render",Al]]),wl=bl;var Cl={class:"language-settings"},xl={class:"text-description"},Ll={class:"languages"},Sl=["onClick"];function Tl(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Cl,[(0,K.Lk)("p",xl,(0,tt.v_)(e.$t("pages.languageSettings.chooseLanguage")),1),(0,K.Lk)("div",Ll,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.languageList,(function(t){var n=t.code,a=t.name;return(0,K.uX)(),(0,K.Wv)(i,{key:n,value:e.activeLanguage===n,disabled:!1,class:(0,tt.C4)(["language",[{active:e.activeLanguage===n}]]),onInput:function(t){return e.switchLanguage(n)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.switchLanguage(n)}},[(0,K.Lk)("div",null,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.Lk)("span",null,"("+(0,tt.v_)(n)+")",1)])],8,Sl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}var El=n(67239),Il=Object.entries(x.eo).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1].name;return{code:n,name:r}})).sort();const _l=(0,K.pM)({components:{RadioButton:El.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.Jt)(),t=e.activeLanguage,n=e.switchLanguage;return{languageList:Il,activeLanguage:t,switchLanguage:n}}}),Wl=(0,Ft.A)(_l,[["render",Tl],["__scopeId","data-v-2f99176c"]]),Fl=Wl;var Dl={class:"currency-settings"},Bl={class:"text-description"},Pl={class:"options"},Ml=["onClick"],Ol={class:"left"},Rl={class:"code"},Nl={class:"symbol"},Ul={class:"name"};function Xl(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Dl,[(0,K.Lk)("p",Bl,(0,tt.v_)(e.$t("pages.currencySettings.chooseLanguage")),1),(0,K.Lk)("div",Pl,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.CURRENCIES,(function(t,n){var a=t.code,r=t.name,o=t.symbol;return(0,K.uX)(),(0,K.Wv)(i,{key:"".concat(n,"-").concat(a),value:e.currentCurrencyCode===a,class:(0,tt.C4)([{active:e.currentCurrencyCode===a},"currency"]),onInput:function(t){return e.setCurrentCurrency(a)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.setCurrentCurrency(a)}},[(0,K.Lk)("div",Ol,[(0,K.Lk)("div",Rl,(0,tt.v_)(a),1),(0,K.Lk)("div",Nl," ("+(0,tt.v_)(o)+") ",1)]),(0,K.Lk)("div",Ul,(0,tt.v_)(r),1)],8,Ml)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}const Vl=(0,K.pM)({name:"CurrencySettings",components:{RadioButton:El.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.CURRENCIES,n=e.currentCurrencyCode,a=e.setCurrentCurrency;return{CURRENCIES:t,currentCurrencyCode:n,setCurrentCurrency:a}}}),Hl=(0,Ft.A)(Vl,[["render",Xl],["__scopeId","data-v-d9f35b18"]]),$l=Hl;var jl={class:"auction"},Kl={class:"auction-tabs"};function ql(e,t,n,a,r,o){var i=(0,K.g2)("Tab"),s=(0,K.g2)("Tabs"),u=(0,K.g2)("IonRouterOutlet"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.Lk)("div",jl,[(0,K.Lk)("div",Kl,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_BID,params:e.routeParams},text:e.$t("pages.names.auctions.place-bid"),"exact-path":""},null,8,["to","text"]),(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_HISTORY,params:e.routeParams},text:e.$t("pages.names.auctions.bid-history")},null,8,["to","text"])]})),_:1})]),e.isLoaderVisible?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:0,animation:e.fadeAnimation,class:"auction-router",name:e.name},null,8,["animation","name"]))])]})),_:1})}var Gl=n(67283),Ql=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Zl=3e3;const Yl=(0,K.pM)({name:"Auction",components:{Tabs:fu.A,Tab:mu.A,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,I.ef)(),r=n.getMiddleware,o=(0,za.lq)(),i=o.params,u=(0,ce.mv)(),c=u.isAppActive,l=u.isLoaderVisible,d=u.setLoaderVisible,p=(0,Rn.q)(),v=p.setAuctionEntry;function f(){return Ql(this,void 0,void 0,(0,s.A)().mark((function n(){var o,i,u,c,l,p,f,m;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,r();case 2:return o=n.sent,n.prev=3,i=(0,Gl.bt)(e.name),n.next=7,Promise.all([o.getName(e.name),o.getAccountActivities(i,{limit:100})]);case 7:u=n.sent,c=(0,a.A)(u,2),l=c[0],p=c[1],f=l.info.auctionEnd,m=p.data.filter((function(e){var t=e.type;return"NameClaimEvent"===t})).filter((function(e){var t=e.payload.sourceTxType;return"NameClaimTx"===t})).map((function(e){var t=e.payload.tx,n=t.accountId,a=t.nameFee;return{nameFee:new pe.A((0,_.c4)(a)),accountId:n}})),v({name:e.name,expiration:f,bids:m}),n.next=19;break;case 16:n.prev=16,n.t0=n["catch"](3),t.push({name:Ye.cH});case 19:d(!1);case 20:case"end":return n.stop()}}),n,null,[[3,16]])})))}d(!0);var m=(0,L.mX)((function(){c.value&&f()}),Zl);return(0,K.xo)((function(){clearInterval(m)})),(0,K.wB)((function(){return e.name}),(function(){return f()})),{ROUTE_AUCTION_BID:Ye.cH,ROUTE_AUCTION_HISTORY:Ye.Bh,isLoaderVisible:l,routeParams:i,fadeAnimation:du.r4}}}),zl=(0,Ft.A)(Yl,[["render",ql],["__scopeId","data-v-a1bc958c"]]),Jl=zl;var ed={class:"auction-bid"},td={class:"form"},nd={class:"tx-details"};function ad(e,t,n,a,r,o){var i=(0,K.g2)("AuctionCard"),s=(0,K.g2)("InputAmount"),u=(0,K.g2)("Field"),c=(0,K.g2)("TokenAmount"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ed,[(0,K.bF)(i,{name:e.name},null,8,["name"]),(0,K.Lk)("div",td,[(0,K.bF)(u,{name:"amount",rules:{enough_coin:e.amountTotal.toString(),required:!0,does_not_exceed_decimals:e.AE_COIN_PRECISION}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.amount=t}),name:"amount",message:e.amountError||r,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),(0,K.Lk)("div",nd,[(0,K.bF)(l,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.txFee,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(l,{label:e.$t("common.total")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.amountTotal,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])]),(0,K.bF)(d,{disabled:!!e.amountError||!e.amount||e.errorName,class:"button",extend:"",onClick:e.bid},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.place-bid")),1)]})),_:1},8,["disabled","onClick"])])])]})),_:1})]})),_:1})}var rd={class:"auction-card"},od={class:"name"};function id(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("Avatar"),u=(0,K.g2)("AuctionOverview");return(0,K.uX)(),(0,K.CE)("div",rd,[(0,K.bF)(i,{class:"help-button",title:e.$t("modals.auctions-help.title"),msg:e.$t("modals.auctions-help.msg")},null,8,["title","msg"]),(0,K.bF)(s,{name:n.name},null,8,["name"]),(0,K.Lk)("span",od,(0,tt.v_)(n.name),1),(0,K.bF)(u,{name:n.name},null,8,["name"])])}var sd=n(31157),ud={class:"auction-overview"};function cd(e,t,n,a,r,o){var i=(0,K.g2)("TokenAmount"),s=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.CE)("div",ud,[(0,K.bF)(s,{label:e.$t("pages.auctionBid.current-highest-bid")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{amount:e.amount,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(s,{class:"end-height",label:e.$t("pages.auctionBid.ending-height"),value:e.auction.expiration,secondary:"(≈".concat(e.endHeight,")")},null,8,["label","value","secondary"])])}const ld=(0,K.pM)({components:{DetailsItem:Ts.A,TokenAmount:Es.A},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,ce.U6)(),n=t.topBlockHeight,a=(0,Rn.q)(),r=a.getNameAuctionHighestBid,i=a.getNameAuction,s=(0,K.EW)((function(){return i(e.name)})),u=(0,K.EW)((function(){return s.value.expiration-n.value})),c=(0,K.EW)((function(){return+r(e.name).nameFee})),l=(0,K.EW)((function(){return(0,L.zw)(u.value)}));return{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,auction:s,amount:c,endHeight:l}}}),dd=(0,Ft.A)(ld,[["render",cd],["__scopeId","data-v-ae141ce8"]]),pd=dd,vd={components:{Avatar:us.A,BtnHelp:sd.A,AuctionOverview:pd},props:{name:{type:String,required:!0}}},fd=(0,Ft.A)(vd,[["render",id],["__scopeId","data-v-57d51d1e"]]),md=fd;var gd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const hd=(0,K.pM)({name:"AuctionBid",components:{AuctionCard:md,InputAmount:el.A,DetailsItem:Ts.A,TokenAmount:Es.A,BtnMain:Mo.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,De.mN)(),i=r.validate,u=(0,De.YS)("amount"),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,Rn.q)(),p=d.getNameAuctionHighestBid,v=(0,ce.U8)(),f=v.openDefaultModal,m=(0,ce.mv)(),h=m.setLoaderVisible,A=(0,bt.KR)(""),k=(0,K.EW)((function(){var t;return(null===(t=p(e.name))||void 0===t?void 0:t.nameFee)||new pe.A(0)})),y=(0,K.EW)((function(){return(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:e.name,nameSalt:0,nameFee:(0,_.qX)(k.value.multipliedBy(T.YI).toString())}),g.vw.NameClaimTx).fee).shiftedBy(-T.kS)})),b=(0,K.EW)((function(){return y.value.plus(A.value||0)})),w=(0,K.EW)((function(){var e=k.value.multipliedBy(T.YI);return""!==A.value&&e.isGreaterThanOrEqualTo(+A.value)?a("pages.names.auctions.min-bid",{minBid:e}):null}));function C(){return gd(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,i();case 2:if(n.sent.valid){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,l();case 6:if(r=n.sent,!w.value){n.next=9;break}return n.abrupt("return");case 9:return n.prev=9,h(!0),n.next=13,r.aensBid(e.name,(0,_.qX)(A.value));case 13:f({msg:a("pages.names.auctions.bid-added",{name:e.name})}),t.push({name:Ye.Bh,params:{name:e.name}}),n.next=22;break;case 17:n.prev=17,n.t0=n["catch"](9),o=n.t0.message,o.includes("is not enough to execute")&&(o=a("pages.names.balance-error")),f({msg:o});case 22:return n.prev=22,h(!1),n.finish(22);case 25:case"end":return n.stop()}}),n,null,[[9,17,22,25]])})))}return{AE_COIN_PRECISION:T.kS,PROTOCOLS:o.yv,amount:A,amountTotal:b,amountError:w,errorName:u,txFee:y,bid:C}}}),Ad=(0,Ft.A)(hd,[["render",ad],["__scopeId","data-v-3431fc86"]]),kd=Ad;var yd={class:"auction-history"},bd={class:"title"},wd={class:"name"},Cd={class:"item"};function xd(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("AuctionOverview"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",yd,[(0,K.Lk)("span",bd,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.bids-on"))+" ",1),(0,K.Lk)("span",wd,(0,tt.v_)(e.name),1)]),(0,K.Lk)("div",Cd,[(0,K.bF)(i,{address:e.highestBid.accountId,name:e.getName(e.highestBid.accountId).value,protocol:e.protocol},null,8,["address","name","protocol"]),(0,K.bF)(s,{name:e.name},null,8,["name"])]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.previousBids,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:"item"},[(0,K.bF)(u,{amount:+t.nameFee,protocol:e.protocol},null,8,["amount","protocol"]),(0,K.bF)(i,{protocol:e.protocol,address:t.accountId,name:e.getName(t.accountId).value},null,8,["protocol","address","name"])])})),128))])]})),_:1})]})),_:1})}var Ld=n(29086);const Sd=(0,K.pM)({components:{AccountItem:Ld.A,AuctionOverview:pd,TokenAmount:Es.A,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,Rn.q)(),n=t.getNameAuctionHighestBid,a=t.getNameAuction,r=t.getName,i=(0,K.EW)((function(){return n(e.name)})),s=(0,K.EW)((function(){return a(e.name).bids.filter((function(e){return e!==i.value}))}));return{protocol:o.yv.aeternity,getName:r,highestBid:i,previousBids:s}}}),Td=(0,Ft.A)(Sd,[["render",xd],["__scopeId","data-v-66adf79c"]]),Ed=Td;var Id={class:"auction-list-content"},_d={key:0,class:"list"},Wd={class:"name-wrapper"},Fd={class:"name"},Dd={key:0,class:"expiration"};function Bd(e,t,n,a,r,o){var i=(0,K.g2)("Filters"),s=(0,K.g2)("IonToolbar"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("NameRow"),l=(0,K.g2)("AnimatedSpinner"),d=(0,K.g2)("RegisterName"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,{class:"auction-list"},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"toolbar"},{default:(0,K.k6)((function(){return[e.activeAuctions.length||e.auctions.length||e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:e.displayMode,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.displayMode=t}),filters:e.filters,sticky:""},null,8,["modelValue","filters"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Id,[e.activeAuctions.length||e.auctions.length?((0,K.uX)(),(0,K.CE)("ul",_d,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.auctions,(function(t,n){var a=t.name,r=t.expiration,o=t.lastBid;return(0,K.uX)(),(0,K.Wv)(c,{key:n,to:{name:"auction-bid",params:{name:a}},name:a,address:o.accountId},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Wd,[(0,K.Lk)("div",Fd,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.bF)(u,{amount:e.getAeFee(o.nameFee),protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]),e.topBlockHeight?((0,K.uX)(),(0,K.CE)("div",Dd,(0,tt.v_)(e.$t("pages.names.auctions.expires"))+" in ≈ "+(0,tt.v_)(e.blocksToRelativeTime(r-e.topBlockHeight)),1)):(0,K.Q3)("",!0)])]})),_:2},1032,["to","name","address"])})),128))])):e.loading?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"spinner"})):((0,K.uX)(),(0,K.Wv)(d,{key:2,msg:e.$t("pages.names.auctions.no-auctions")},null,8,["msg"]))])]})),_:1})]})),_:1})}var Pd=n(9776),Md={class:"content"},Od={class:"name-info"};function Rd(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{to:n.to,replace:"",class:"name-row",onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Md,[(0,K.bF)(i,{name:n.name,address:n.address},null,8,["name","address"]),(0,K.Lk)("div",Od,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])])]})),_:3},8,["to"])}const Nd={components:{ListItemWrapper:Kn.A,Avatar:us.A},props:{name:{type:String,default:""},address:{type:String,default:""},to:{type:Object,default:null}}},Ud=(0,Ft.A)(Nd,[["render",Rd],["__scopeId","data-v-5a99e238"]]),Xd=Ud;var Vd={class:"register-name"},Hd={class:"message"};function $d(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",Vd,[(0,K.Lk)("p",Hd,(0,tt.v_)(n.msg),1),(0,K.bF)(i,{class:"btn",text:e.$t("pages.names.list.register-name"),to:{name:"account-details-names-claim"}},null,8,["text"])])}const jd={components:{BtnMain:Mo.A},props:{msg:{type:String,required:!0}}},Kd=(0,Ft.A)(jd,[["render",$d],["__scopeId","data-v-06542595"]]),qd=Kd;var Gd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Qd={soonest:"soonest",bid:"bid",length:"length"},Zd=1,Yd=-1;const zd=(0,K.pM)({components:{Filters:Pd.A,NameRow:Xd,TokenAmount:Es.A,AnimatedSpinner:ia.A,RegisterName:qd,IonPage:Fe.AO,IonContent:Fe.W9,IonToolbar:Fe.ai},setup:function(){var e=this,t=(0,An.s9)(),n=t.t,a=(0,ce.U6)(),r=a.topBlockHeight,i=(0,I.ef)(),u=i.getMiddleware,c=i.fetchFromMiddlewareCamelCased,l=(0,bt.KR)(!1),d=(0,bt.KR)([]),p=(0,bt.KR)({key:"soonest",rotated:!1}),v=(0,bt.KR)({soonest:{rotated:!1,name:n("filters.soonest")},bid:{rotated:!1,name:n("filters.bid")},length:{rotated:!1,name:n("filters.length")}}),f=(0,K.EW)((function(){return(0,te.A)(d.value).sort((function(e,t){switch(p.value.key){case Qd.length:return e.name.length-t.name.length;case Qd.bid:return parseInt(e.lastBid.nameFee,10)-parseInt(t.lastBid.nameFee,10);default:return 1}})).sort((function(){return p.value.rotated?Yd:Zd}))}));return(0,K.sV)((function(){return Gd(e,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l.value=!0,e.next=3,u();case 3:return t=e.sent,e.next=6,(0,L.Ey)((function(){return t.getNamesAuctions({by:"expiration",direction:"forward",limit:100})}),c);case 6:d.value=e.sent.map((function(e){var t=e.name,n=e.info;return{name:t,expiration:n.auctionEnd,lastBid:n.lastBid.tx}})),l.value=!1;case 8:case"end":return e.stop()}}),e)})))})),{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,loading:l,displayMode:p,activeAuctions:d,auctions:f,filters:v,topBlockHeight:r,getAeFee:_.px}}}),Jd=(0,Ft.A)(zd,[["render",Bd],["__scopeId","data-v-1442f094"]]),ep=Jd;var tp={class:"more"};function np(e,t,n,a,r,o){var i=(0,K.g2)("Settings"),s=(0,K.g2)("PanelItem"),u=(0,K.g2)("ClaimTips"),c=(0,K.g2)("Invites"),l=(0,K.g2)("BugReport"),d=(0,K.g2)("BuyIcon"),p=(0,K.g2)("FaucetIcon"),v=(0,K.g2)("Dex"),f=(0,K.g2)("About"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",tp,[(0,K.bF)(s,{to:{name:"settings"},title:e.$t("pages.titles.settings"),"data-cy":"settings"},{icon:(0,K.k6)((function(){return[(0,K.bF)(i)]})),_:1},8,["title"]),e.isNodeMainnet||e.isNodeTestnet?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(s,{to:{name:"tips-claim"},title:e.$t("pages.claimTips.title"),disabled:!e.isActiveAccountAe,"data-cy":"tips-claim"},{icon:(0,K.k6)((function(){return[(0,K.bF)(u)]})),_:1},8,["title","disabled"]),(0,K.bF)(s,{to:{name:"invite"},title:e.$t("pages.titles.giftCards"),disabled:!e.isActiveAccountAe,"data-cy":"invite"},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1},8,["title","disabled"])],64)):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.BUG_REPORT_URL,title:e.$t("pages.about.reportBug")},{icon:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["href","title"]),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(s,{key:1,href:e.AE_SIMPLEX_URL,title:e.$t("pages.fungible-tokens.buyAe")},{icon:(0,K.k6)((function(){return[(0,K.bF)(d)]})),_:1},8,["href","title"])):e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(s,{key:2,disabled:!e.isActiveAccountAe,href:e.activeAccountFaucetUrl,title:e.$t("common.faucet")},{icon:(0,K.k6)((function(){return[(0,K.bF)(p)]})),_:1},8,["disabled","href","title"])):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.AE_DEX_URL,title:e.$t("pages.more.dex")},{icon:(0,K.k6)((function(){return[(0,K.bF)(v)]})),_:1},8,["href","title"]),(0,K.bF)(s,{to:{name:"about"},title:e.$t("pages.titles.about"),"data-cy":"about"},{icon:(0,K.k6)((function(){return[(0,K.bF)(f)]})),_:1},8,["title"])])]})),_:1})]})),_:1})}var ap={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},rp=(0,K.Lk)("path",{d:"M12 22C12.2779 22 12.6734 21.7969 12.9941 21.5938C18.9695 17.7456 22.7963 13.2346 22.7963 8.65954C22.7963 4.7365 20.0919 2 16.682 2C14.5548 2 12.962 3.17584 12 4.9396C11.0593 3.18653 9.45588 2 7.32868 2C3.91874 2 1.20361 4.7365 1.20361 8.65954C1.20361 13.2346 5.03044 17.7456 11.0059 21.5938C11.3372 21.7969 11.7327 22 12 22ZM8.55797 13.0102C8.55797 12.8926 8.60073 12.7857 8.69693 12.6788L13.0689 7.22715C13.4324 6.77819 14.0203 7.08819 13.8065 7.63335L12.3955 11.4281H15.0572C15.271 11.4281 15.4634 11.5885 15.4634 11.8022C15.4634 11.9198 15.4099 12.0374 15.3137 12.1443L10.9524 17.5852C10.589 18.0342 9.99036 17.7242 10.2041 17.179L11.6258 13.3843H8.95348C8.73969 13.3843 8.55797 13.2239 8.55797 13.0102Z",fill:"currentColor"},null,-1),op=[rp];function ip(e,t){return(0,K.uX)(),(0,K.CE)("svg",ap,op)}const sp={},up=(0,Ft.A)(sp,[["render",ip]]),cp=up;var lp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},dp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.061 21.1533C10.1626 21.6782 10.5859 22 11.1279 22H12.8721C13.3971 22 13.8205 21.6782 13.9221 21.1533L14.4132 19.1211C14.7519 19.0025 15.0737 18.8671 15.3446 18.7485L17.1228 19.8154C17.5631 20.1372 18.105 20.0694 18.4776 19.6969L19.6799 18.4945C20.0525 18.105 20.1372 17.5461 19.7985 17.1058L18.7485 15.3446C18.884 15.0567 19.0025 14.7519 19.1041 14.4301L21.1533 13.956C21.6782 13.8374 22 13.431 22 12.8891V11.1787C22 10.6537 21.6782 10.2303 21.1533 10.1287L19.1211 9.6376C19.0025 9.28196 18.8671 8.9602 18.7485 8.70618L19.8323 6.92803C20.1372 6.47079 20.1033 5.94581 19.7138 5.55631L18.4776 4.35394C18.0881 3.99831 17.6308 3.93057 17.1566 4.20152L15.3446 5.30229C15.0737 5.16681 14.7519 5.03133 14.4132 4.91279L13.9221 2.86367C13.8205 2.3387 13.3971 2 12.8721 2H11.1279C10.5859 2 10.1626 2.3387 10.061 2.88061L9.56986 4.89585C9.2481 5.01439 8.9094 5.14987 8.62151 5.28535L6.84335 4.20152C6.36918 3.93057 5.895 3.98137 5.5055 4.35394L4.26926 5.55631C3.87976 5.94581 3.84589 6.47079 4.15072 6.92803L5.23455 8.70618C5.116 8.9602 4.98053 9.28196 4.86198 9.6376L2.84674 10.1287C2.30483 10.2303 2 10.6537 2 11.1787V12.8891C2 13.431 2.30483 13.8374 2.84674 13.956L4.87892 14.4301C4.98053 14.7519 5.09907 15.0567 5.25148 15.3446L4.18459 17.1058C3.86283 17.5461 3.93057 18.105 4.30313 18.4945L5.5055 19.6969C5.895 20.0694 6.43692 20.1372 6.86029 19.8154L8.63844 18.7485C8.9094 18.8671 9.2481 19.0025 9.56986 19.1211L10.061 21.1533ZM15.3108 11.9915C15.3108 13.8036 13.8205 15.3108 11.9915 15.3108C10.1795 15.3108 8.68925 13.8036 8.68925 11.9915C8.68925 10.1964 10.1795 8.70618 11.9915 8.70618C13.8205 8.70618 15.3108 10.1964 15.3108 11.9915Z",fill:"currentColor"},null,-1),pp=[dp];function vp(e,t){return(0,K.uX)(),(0,K.CE)("svg",lp,pp)}const fp={},mp=(0,Ft.A)(fp,[["render",vp]]),gp=mp;var hp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Ap=(0,K.Lk)("path",{d:"M11.9957 22C14.3743 22 16.4319 19.4486 16.4319 16.7078C16.4319 16.3374 16.3743 16.0329 16.2508 15.7695C16.4566 15.8272 16.6706 15.8848 16.8764 15.9342C17.4196 16.0988 17.5842 16.3374 17.5101 16.823L16.9175 20.6996C16.8352 21.2263 17.1644 21.5309 17.5924 21.5309C18.0451 21.5309 18.2508 21.251 18.3249 20.7984L18.9916 16.5597C19.1562 15.5144 18.7364 14.9465 17.6006 14.6914L13.8722 13.8272L13.864 13.7449C14.1932 13.5885 14.4155 13.2757 14.5307 12.9383L17.1068 12.6091C18.2179 12.4691 18.7118 11.8272 18.7118 10.7325V7.90946C18.7118 7.46502 18.4566 7.20165 18.0122 7.20165C17.5677 7.20165 17.3126 7.46502 17.3126 7.90946V10.4362C17.3126 11.0617 16.9751 11.2675 16.4072 11.3333L14.5965 11.5638C14.506 11.3169 14.3414 11.0947 14.1192 10.9465V10.8642C15.5513 10.6008 16.3414 9.73663 16.3414 8.46914C16.3414 7.45679 15.971 6.51852 15.3702 5.78601L15.4772 5.71193C16.3249 5.10288 16.4731 4.22222 15.9299 3.2428L15.4525 2.44444C15.2879 2.13169 15.0904 2 14.8023 2C14.4401 2 14.1603 2.2716 14.1603 2.62551C14.1603 2.78189 14.185 2.87243 14.2755 3.04527L14.6871 3.68724C14.9504 4.11523 14.934 4.49383 14.5883 4.79012C14.5471 4.83128 14.506 4.85597 14.4566 4.89712C13.757 4.40329 12.9093 4.12346 11.9957 4.12346C11.0986 4.12346 10.2591 4.40329 9.55949 4.88889C9.51834 4.85597 9.47719 4.82305 9.43603 4.78189C9.09035 4.49383 9.07389 4.11523 9.33727 3.68724L9.74879 3.04527C9.84756 2.87243 9.86402 2.78189 9.86402 2.62551C9.86402 2.2716 9.59241 2 9.22204 2C8.94221 2 8.73644 2.13169 8.57184 2.44444L8.09447 3.2428C7.55126 4.22222 7.69941 5.10288 8.54714 5.71193L8.63768 5.77778C8.03686 6.50206 7.65826 7.44856 7.65826 8.46914C7.65826 9.73663 8.44838 10.6008 9.87225 10.8642V10.9465C9.65003 11.0947 9.49365 11.3169 9.39488 11.5638L7.59241 11.3333C7.02451 11.2675 6.68706 11.0617 6.68706 10.4362V7.90946C6.68706 7.46502 6.43192 7.20165 5.98747 7.20165C5.54303 7.20165 5.27965 7.46502 5.27965 7.90946V10.7325C5.27965 11.8272 5.78171 12.4691 6.89282 12.6091L9.46896 12.9383C9.57595 13.2757 9.8064 13.5885 10.1356 13.7449V13.8272L6.399 14.6914C5.26319 14.9465 4.84344 15.5144 5.00805 16.5597L5.67472 20.7984C5.74879 21.251 5.95455 21.5309 6.40723 21.5309C6.83521 21.5309 7.16443 21.2263 7.08212 20.6996L6.48953 16.823C6.41546 16.3292 6.58007 16.0988 7.13151 15.9342C7.33727 15.8765 7.54303 15.8272 7.74879 15.7695C7.62533 16.0329 7.56772 16.3374 7.56772 16.7078C7.56772 19.4486 9.62533 22 11.9957 22Z",fill:"currentColor"},null,-1),kp=[Ap];function yp(e,t){return(0,K.uX)(),(0,K.CE)("svg",hp,kp)}const bp={},wp=(0,Ft.A)(bp,[["render",yp]]),Cp=wp;var xp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Lp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7ZM12 10C12.5523 10 13 10.4477 13 11V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V11C11 10.4477 11.4477 10 12 10Z",fill:"currentColor"},null,-1),Sp=[Lp];function Tp(e,t){return(0,K.uX)(),(0,K.CE)("svg",xp,Sp)}const Ep={},Ip=(0,Ft.A)(Ep,[["render",Tp]]),_p=Ip;var Wp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Fp=(0,K.Lk)("path",{d:"M5 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3C4.55228 3 5 3.44772 5 4V19Z",fill:"currentColor"},null,-1),Dp=(0,K.Lk)("path",{opacity:"0.44",d:"M8.72954 14.684C8.35181 15.0869 7.71897 15.1073 7.31606 14.7296C6.91315 14.3518 6.89274 13.719 7.27047 13.3161L11.0205 9.3161C11.3858 8.92644 11.9928 8.89264 12.3991 9.23935L15.3589 11.765L19.2151 6.8804C19.5573 6.44692 20.1862 6.37294 20.6196 6.71516C21.0531 7.05738 21.1271 7.68621 20.7849 8.11969L16.2849 13.8197C15.9334 14.2649 15.2824 14.3289 14.8509 13.9607L11.8268 11.3802L8.72954 14.684Z",fill:"currentColor"},null,-1),Bp=[Fp,Dp];function Pp(e,t){return(0,K.uX)(),(0,K.CE)("svg",Wp,Bp)}const Mp={},Op=(0,Ft.A)(Mp,[["render",Pp]]),Rp=Op;var Np={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Up=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 10L7 4H17L24 10L12 21L0 10ZM16.583 10.667C16.694 10.667 16.8 10.711 16.878 10.789C16.956 10.867 17 10.973 17 11.084V11.917C17 12.028 16.956 12.133 16.878 12.212C16.8 12.29 16.694 12.334 16.583 12.334H12.833V16.084C12.833 16.194 12.789 16.3 12.711 16.379C12.633 16.456 12.527 16.5 12.417 16.5H11.583C11.472 16.5 11.367 16.456 11.289 16.378C11.211 16.3 11.167 16.194 11.167 16.083V12.333H7.417C7.306 12.333 7.201 12.289 7.122 12.211C7.044 12.133 7 12.027 7 11.916V11.083C7 10.972 7.044 10.867 7.122 10.788C7.2 10.71 7.306 10.666 7.417 10.666H11.167V6.916C11.167 6.805 11.211 6.7 11.289 6.621C11.368 6.544 11.474 6.5 11.584 6.5H12.417C12.528 6.5 12.633 6.544 12.711 6.622C12.789 6.7 12.833 6.806 12.833 6.917V10.667H16.583Z",fill:"currentColor"},null,-1),Xp=[Up];function Vp(e,t){return(0,K.uX)(),(0,K.CE)("svg",Np,Xp)}const Hp={},$p=(0,Ft.A)(Hp,[["render",Vp]]),jp=$p,Kp=(0,K.pM)({name:"More",components:{PanelItem:Ut,Invites:cp,Settings:gp,About:_p,BuyIcon:_a.A,Dex:Rp,BugReport:Cp,ClaimTips:jp,FaucetIcon:Au.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.CP)(),a=n.isNodeMainnet,r=n.isNodeTestnet,i=(0,K.EW)((function(){return t.value.protocol===o.yv.aeternity})),s=(0,K.EW)((function(){return i.value?(0,_.mV)(t.value.address):null}));return{AE_DEX_URL:T.hD,AE_SIMPLEX_URL:T.Q5,BUG_REPORT_URL:o.y5,UNFINISHED_FEATURES:o.s4,activeAccountFaucetUrl:s,isActiveAccountAe:i,isNodeMainnet:a,isNodeTestnet:r}}}),qp=(0,Ft.A)(Kp,[["render",np],["__scopeId","data-v-2588bf9a"]]),Gp=qp;var Qp={class:"claim"},Zp={class:"chain-name-counter"},Yp={class:"aens-domain"},zp={class:"auto-extend-label"};function Jp(e,t,n,a,r,o){var i=(0,K.g2)("InputField"),s=(0,K.g2)("Field"),u=(0,K.g2)("BtnHelp"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("i18n-t"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Qp,[(0,K.bF)(s,{name:"name",rules:{enough_coin:e.totalNameClaimAmount.toString(),required:!0,aens_name:!0,aens_name_unregistered:!0}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(i,(0,K.v6)(a,{modelValue:e.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.name=t}),name:"name",class:"chain-name",label:e.$t("pages.names.claim.register-name"),message:r,placeholder:e.$t("pages.names.claim.name-placeholder")}),{"label-after":(0,K.k6)((function(){return[(0,K.Lk)("span",Zp,(0,tt.v_)(e.name.length)+"/"+(0,tt.v_)(e.maxNameLength),1)]})),after:(0,K.k6)((function(){return[(0,K.Lk)("span",Yp,(0,tt.v_)(e.AE_AENS_DOMAIN),1)]})),_:2},1040,["modelValue","label","message","placeholder"])]})),_:1},8,["rules"]),(0,K.bF)(c,{modelValue:e.autoExtend,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.autoExtend=t})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",zp,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.claim.auto-extend"))+" ",1),(0,K.bF)(u,{title:e.$t("modals.autoextend-help.title"),msg:e.$t("modals.autoextend-help.msg"),class:(0,tt.C4)({active:e.autoExtend})},null,8,["title","msg","class"])])]})),_:1},8,["modelValue"]),(0,K.bF)(l,{keypath:"pages.names.claim.short-names.message",tag:"p",class:"text-description explanation",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.names.claim.short-names.insertion")),1)]})),_:1}),(0,K.bF)(d,{class:"btn-register",extend:"",disabled:e.isLoaderVisible||!e.name||e.errorName,onClick:e.claim},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.isNameValid?e.$t("pages.names.claim.button-price",[e.totalNameClaimAmount.toFixed(4)]):e.$t("pages.names.claim.button")),1)]})),_:1},8,["disabled","onClick"])])]})),_:1})]})),_:1})}var ev=n(19389),tv=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},nv=0xef0073dca94fb;const av=(0,K.pM)({name:"Claim",components:{InputField:ev.A,CheckBox:rc,BtnMain:Mo.A,BtnHelp:sd.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,za.rd)(),t=(0,De.mN)(),n=t.validate,a=(0,De.YS)("name"),r=(0,An.s9)(),o=r.t,i=(0,ce.oV)(),u=i.activeAccount,c=(0,ce.U8)(),l=c.openDefaultModal,d=(0,ce.CP)(),p=d.getAeSdk,v=(0,ce.mv)(),f=v.isLoaderVisible,m=v.setLoaderVisible,h=(0,Rn.q)(),A=h.setPendingAutoExtendName,k=h.updateOwnedNames,y=h.updateNamePointer,b=(0,bt.KR)(""),w=(0,bt.KR)(!1),C=T.d-T.CT.length,x=(0,K.EW)((function(){return"".concat(b.value).concat(T.CT)})),L=(0,K.EW)((function(){return b.value&&(0,_.F7)(x.value)})),S=(0,K.EW)((function(){return b.value.length?(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NamePreclaimTx,accountId:Ve.km,nonce:Ve.xQ,commitmentId:(0,Gl.MN)(x.value,nv)}),g.vw.NamePreclaimTx).fee).plus((0,ws.oo)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:x.value,nameSalt:0,nameFee:(0,Gl.YQ)(x.value)})).toString()).shiftedBy(-T.kS):(0,pe.A)(0)}));function E(){return tv(this,void 0,void 0,(0,s.A)().mark((function t(){var a,r,i,c,d,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return m(!0),t.next=3,n();case 3:if(t.sent.valid){t.next=6;break}return m(!1),t.abrupt("return");case 6:return t.next=8,p();case 8:return a=t.sent,t.next=11,a.api.getNameEntryByName(x.value)["catch"]((function(){return!1}));case 11:if(r=t.sent,!r){t.next=17;break}m(!1),l({title:o("modals.name-exist.msg")}),t.next=54;break;case 17:return t.prev=17,t.next=20,a.aensPreclaim(x.value);case 20:return c=t.sent,d=c.salt,t.next=24,a.aensClaim(x.value,d,{waitMined:!1});case 24:return i=t.sent.hash,w.value&&A(x.value),t.next=28,(0,K.dY)();case 28:e.push({name:Ye.ao}),t.next=37;break;case 31:return t.prev=31,t.t0=t["catch"](17),v=t.t0.message,(v.includes("is not enough to execute")||404===t.t0.statusCode)&&(v=o("pages.names.balance-error")),l({icon:"critical",msg:v}),t.abrupt("return");case 37:return t.prev=37,m(!1),t.finish(37);case 40:return t.prev=40,t.next=43,a.poll(i);case 43:if(!(T.pR0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(c,(0,K.v6)(a,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.amount=t}),name:"amount",class:"amount-input",readonly:"",message:r,protocol:e.PROTOCOLS.aeternity}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),e.tip.title?((0,K.uX)(),(0,K.CE)("div",nh,(0,tt.v_)(e.tip.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",ah,[(0,K.bF)(d,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},null,8,["text"]),(0,K.bF)(d,{wide:"",disabled:!e.isTippingSupported||e.errorAmount,text:e.$t("common.confirm"),onClick:e.sendTip},null,8,["disabled","text","onClick"])])])]})),_:1})]})),_:1})}var oh=n(5335),ih=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const sh=(0,K.pM)({name:"Retip",components:{InputAmount:el.A,UrlStatus:oh.A,BtnMain:Mo.A,BalanceInfo:Sa.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,DetailsItem:Ts.A},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),a=n.t,r=(0,De.YS)(),u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,bt.KR)({amount:""}),d=(0,I.ti)(),p=d.getCacheTip,v=(0,ce.CP)(),f=v.isTippingSupported,m=(0,ce.U8)(),h=m.openDefaultModal,A=(0,ce.ZN)(),k=A.marketData,y=(0,ce.oV)(),b=y.getLastActiveProtocolAccount,w=(0,ce.si)(),C=w.openCallbackOrGoHome,x=(0,ce.ty)(),S=x.balance,E=(0,ce.Ym)({formModel:l}),_=E.max,W=E.fee,F=(0,ce.kz)(),D=F.getTippingContracts,B=(0,ce.rb)(),P=B.addAccountPendingTransaction,M=(0,I.NC)(),O=M.getTippingUrlStatus,R=(0,ce.Y7)(),N=R.createOrChangeAllowance,U=t.query.id,X=(0,bt.KR)({url:"default",id:""}),V=(0,K.EW)((function(){return O(X.value.url)})),H=(0,K.EW)((function(){return S.value.toNumber()}));function $(){var e,t,n;return ih(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,d,p,v,f,m,A,k;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=(null===(e=l.value.selectedAsset)||void 0===e?void 0:e.contractId)!==T.cK?l.value.selectedAsset.decimals:T.kS,u=(0,L.Y9)(+(l.value.amount||0),i).toNumber(),d=b(o.yv.aeternity),c(!0),r.prev=4,r.next=7,D();case 7:if(p=r.sent,v=p.tippingV1,f=p.tippingV2,m=(null===U||void 0===U?void 0:U.includes("_v2"))||(null===U||void 0===U?void 0:U.includes("_v3"))?f:v,m){r.next=13;break}throw Error("failed to initialize tipping contract");case 13:if(A=null,!f||!(null===(t=l.value.selectedAsset)||void 0===t?void 0:t.contractId)||l.value.selectedAsset.contractId===T.cK){r.next=22;break}return r.next=17,N(l.value.selectedAsset.contractId,l.value.amount||0);case 17:return r.next=19,f.retip_token(+X.value.id.split("_")[0],l.value.selectedAsset.contractId,u,{waitMined:!1});case 19:A=r.sent,r.next=25;break;case 22:return r.next=24,m.retip(+X.value.id.split("_")[0],Object.assign(Object.assign({},{amount:u}),{waitMined:!1}));case 24:A=r.sent;case 25:k={hash:A.hash,tipUrl:X.value.url,pending:!0,protocol:o.yv.aeternity,transactionOwner:d.address,tx:{amount:u,callerId:d.address,contractId:m.$options.address,type:g.vw[g.vw.ContractCallTx],function:"retip",selectedTokenContractId:null===(n=l.value.selectedAsset)||void 0===n?void 0:n.contractId,arguments:[],fee:0}},P(d.address,k),C(!0),r.next=35;break;case 30:throw r.prev=30,r.t0=r["catch"](4),h({title:a("modals.transaction-failed.msg"),icon:"critical"}),r.t0.payload=X.value,r.t0;case 35:return r.prev=35,c(!1),r.finish(35);case 38:case"end":return r.stop()}}),r,null,[[4,30,35,38]])})))}return(0,K.sV)((function(){return ih(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c(!0),l.value.selectedAsset=i.C.getAdapter(o.yv.aeternity).getDefaultCoin(k.value,+S.value),U){e.next=4;break}throw new Error('"id" param is missing');case 4:return e.prev=4,e.next=7,p(U);case 7:X.value=e.sent,e.next=14;break;case 10:throw e.prev=10,e.t0=e["catch"](4),e.t0.payload=U,e.t0;case 14:c(!1);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})))})),{PROTOCOLS:o.yv,tip:X,formModel:l,urlStatus:V,isTippingSupported:f,numericBalance:H,sendTip:$,max:_,fee:W,balance:S,openCallbackOrGoHome:C,errorAmount:r}}}),uh=(0,Ft.A)(sh,[["render",rh],["__scopeId","data-v-69aca2f2"]]),ch=uh;var lh={class:"seed-phrase-settings"};function dh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",lh,[(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-2",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-3",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoverySmallBackItUp")),1)]})),_:1}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-4",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(s,{class:"button",extend:"",to:{name:"settings-seed-phrase-details"}},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoveryBtn")),1)]})),_:1})])]})),_:1})]})),_:1})}const ph={components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9}},vh=(0,Ft.A)(ph,[["render",dh],["__scopeId","data-v-2062bb15"]]),fh=vh;var mh={class:"seed-phrase-details"},gh={class:"text-heading-1"},hh={class:"mnemonics-text"},Ah={class:"buttons"};function kh(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("CardMnemonic"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",mh,[(0,K.Lk)("div",gh,(0,tt.v_)(e.$t("pages.seed-phrase-settings.this-your-seed-phrase")),1),(0,K.bF)(s,{class:"mnemonics"},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",hh,(0,tt.v_)(e.mnemonic),1),(0,K.bF)(i,{variant:"dark",class:"copy-btn","big-icon":"",icon:e.copied?e.CheckSuccessCircle:e.CopyOutlined,onClick:t[0]||(t[0]=function(t){return e.copy(e.mnemonic)})},{default:(0,K.k6)((function(){return[e.copied?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("common.addressCopied")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.copy")),1)],64))]})),_:1},8,["icon"])]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.backUpYourSeedPhrase",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.inCorrectOrder")),1)]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.toBeSureYouGotItRight",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.verifyYourSeedPhrase")),1)]})),_:1}),(0,K.Lk)("div",Ah,[(0,K.bF)(i,{class:"button",extend:"",text:e.$t("pages.seedPhrase.verifySeed"),to:{name:"settings-seed-phrase-verify"}},null,8,["text"]),(0,K.bF)(i,{variant:"muted",extend:"",text:e.$t("pages.seedPhrase.doneThis"),onClick:t[1]||(t[1]=function(t){return e.markSeedPhraseAsBackedUp()})},null,8,["text"])])])]})),_:1})]})),_:1})}var yh={class:"card-mnemonic"};function bh(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",yh,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}const wh=(0,K.pM)({name:"CardMnemonic"}),Ch=(0,Ft.A)(wh,[["render",bh],["__scopeId","data-v-e74c1a8c"]]),xh=Ch;var Lh=n(74462),Sh={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Th=(0,K.Lk)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),Eh=(0,K.Lk)("path",{d:"M16.769 7.81801C16.95 7.62414 17.2006 7.51011 17.4657 7.50102C17.597 7.49651 17.7278 7.5179 17.8508 7.56397C17.9738 7.61004 18.0865 7.67988 18.1825 7.76951C18.2785 7.85914 18.3559 7.9668 18.4103 8.08634C18.4647 8.20588 18.495 8.33496 18.4995 8.46622C18.504 8.59747 18.4826 8.72833 18.4365 8.85132C18.3905 8.9743 18.3206 9.08701 18.231 9.18301L11.231 16.683C11.055 16.8716 10.813 16.9849 10.5555 16.9993C10.2979 17.0136 10.0448 16.9279 9.84901 16.76L6.34901 13.76C6.2454 13.6759 6.15968 13.5718 6.09692 13.454C6.03416 13.3362 5.99562 13.207 5.98357 13.0741C5.97153 12.9411 5.98622 12.8071 6.02678 12.6799C6.06734 12.5528 6.13295 12.435 6.21974 12.3336C6.30653 12.2322 6.41275 12.1492 6.53213 12.0895C6.65152 12.0297 6.78165 11.9945 6.91485 11.9859C7.04805 11.9773 7.18164 11.9954 7.30773 12.0392C7.43382 12.083 7.54986 12.1516 7.64901 12.241L10.423 14.617L16.769 7.81801Z",fill:"currentColor"},null,-1),Ih=[Th,Eh];function _h(e,t){return(0,K.uX)(),(0,K.CE)("svg",Sh,Ih)}const Wh={},Fh=(0,Ft.A)(Wh,[["render",_h]]),Dh=Fh,Bh=(0,K.pM)({name:"SeedPhraseDetailsSettings",components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9,CardMnemonic:xh},setup:function(){var e=(0,za.rd)(),t=(0,ce.mv)(),n=t.setBackedUpSeed,a=(0,ce.T9)(),r=a.copy,o=a.copied,i=(0,ce.oV)(),s=i.mnemonic,u=(0,ce.E$)({requirePolling:!1}),c=u.removeIsSeedBackedUpNotification;function l(){n(!0),c(),e.push({name:Ye.qJ})}return{CopyOutlined:Lh.A,CheckSuccessCircle:Dh,copy:r,copied:o,mnemonic:s,markSeedPhraseAsBackedUp:l}}}),Ph=(0,Ft.A)(Bh,[["render",kh],["__scopeId","data-v-2f6603ef"]]),Mh=Ph;var Oh={class:"seed-phrase-verify-settings"},Rh={class:"seed-phrase-verify-settings-body"},Nh=["textContent"],Uh=["textContent"],Xh={class:"source-phrases"},Vh={class:"selected-phrases"};function Hh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("SeedPhraseBadge"),u=(0,K.g2)("SeedPhraseNotification"),c=(0,K.g2)("CardMnemonic"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("FixedScreenFooter"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Oh,[(0,K.Lk)("div",Rh,[(0,K.Lk)("div",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.verifyYourSeedPhrase"))},null,8,Nh),(0,K.Lk)("div",{class:"text-description",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.confirm-that-you-save-your-seed-phrase"))},null,8,Uh),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.compose-your-seed-phrase",tag:"div",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.in-correct-order")),1)]})),_:1}),(0,K.Lk)("div",Xh,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.mnemonicShuffled,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,text:t,selected:e.selectedWordIds.includes(n),onClick:function(t){return e.onSelectWord(n)}},null,8,["text","selected","onClick"])})),128))]),(0,K.Lk)("div",Vh,[e.showNotification?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"selected-phrases-notification","has-error":e.hasError},null,8,["has-error"])):(0,K.Q3)("",!0),(0,K.bF)(c,{class:"selected-phrases-list"},{default:(0,K.k6)((function(){return[e.selectedWordIds.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:1},(0,K.pI)(e.selectedWordIds,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e.mnemonicShuffled[t],editable:"",onClick:function(t){return e.selectedWordIds.splice(n,1)}},null,8,["text","onClick"])})),128)):((0,K.uX)(!0),(0,K.CE)(K.FK,{key:0},(0,K.pI)(e.examplePhrase,(function(e,t){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e,selected:"",editable:""},null,8,["text"])})),128))]})),_:1})])]),(0,K.bF)(d,null,{default:(0,K.k6)((function(){return[e.hasError||!e.showNotification?((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"verify-button",disabled:e.isVerifyButtonDisabled,text:e.$t("pages.seedPhrase.verify"),onClick:e.verifyLastStep},null,8,["disabled","text","onClick"])):((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.backToHome"),to:{name:e.ROUTE_ACCOUNT}},null,8,["text","to"]))]})),_:1})])]})),_:1})]})),_:1})}n(48598);var $h=n(984),jh={class:"icon-wrapper"},Kh=["textContent"];function qh(e,t,n,a,r,o){var i=(0,K.g2)("AlertIcon"),s=(0,K.g2)("CheckCircleIcon");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["seed-phrase-notification",{error:e.hasError}])},[(0,K.Lk)("div",jh,[e.hasError?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(s,{key:1,class:"icon"}))]),(0,K.Lk)("div",{class:"text",textContent:(0,tt.v_)(e.notificationMessage)},null,8,Kh)],2)}var Gh={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Qh=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z"},null,-1),Zh=(0,K.Lk)("path",{fill:"currentColor",d:"M33.538 15.6361C33.9 15.2484 34.4013 15.0203 34.9314 15.0022C35.1939 14.9931 35.4557 15.0359 35.7016 15.1281C35.9476 15.2202 36.173 15.3599 36.365 15.5391C36.557 15.7184 36.7118 15.9337 36.8206 16.1728C36.9294 16.4119 36.99 16.67 36.999 16.9326C37.008 17.1951 36.9652 17.4568 36.8731 17.7028C36.781 17.9487 36.6413 18.1742 36.462 18.3661L22.462 33.3661C22.1101 33.7433 21.626 33.9699 21.111 33.9986C20.5959 34.0273 20.0897 33.8559 19.698 33.5201L12.698 27.5201C12.4908 27.3518 12.3194 27.1437 12.1938 26.9081C12.0683 26.6725 11.9912 26.4141 11.9671 26.1482C11.9431 25.8824 11.9724 25.6144 12.0536 25.36C12.1347 25.1057 12.2659 24.8701 12.4395 24.6673C12.6131 24.4645 12.8255 24.2985 13.0643 24.179C13.303 24.0596 13.5633 23.9892 13.8297 23.9719C14.0961 23.9547 14.3633 23.9909 14.6155 24.0785C14.8676 24.1662 15.0997 24.3034 15.298 24.4821L20.846 29.2341L33.538 15.6361Z"},null,-1),Yh=[Qh,Zh];function zh(e,t){return(0,K.uX)(),(0,K.CE)("svg",Gh,Yh)}const Jh={},eA=(0,Ft.A)(Jh,[["render",zh]]),tA=eA;var nA={viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},aA=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24.8942 7.95537C24.7073 7.6575 24.4435 7.41259 24.1293 7.24504C23.8151 7.07749 23.4613 6.99316 23.1033 7.00043C22.7452 7.00771 22.3954 7.10635 22.0886 7.28652C21.7818 7.46669 21.5288 7.72211 21.3548 8.02731L4.25832 38.0305C4.08475 38.3348 3.99575 38.6781 4.00016 39.0263C4.00456 39.3745 4.1022 39.7155 4.28342 40.0156C4.46463 40.3157 4.72312 40.5644 5.03326 40.7371C5.34341 40.9097 5.69444 41.0004 6.05158 41H41.9517C42.3156 40.9998 42.6729 40.9051 42.9868 40.7257C43.3008 40.5463 43.5601 40.2886 43.7381 39.9791C43.9161 39.6697 44.0064 39.3195 43.9996 38.9648C43.9929 38.61 43.8895 38.2634 43.6999 37.9605L24.8942 7.95537Z"},null,-1),rA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 19C25.3999 17.8954 24.5045 17 23.3999 17C22.2953 17 21.3999 17.8954 21.3999 19V29C21.3999 30.1046 22.2953 31 23.3999 31C24.5045 31 25.3999 30.1046 25.3999 29V19Z"},null,-1),oA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 35C25.3999 33.8954 24.5045 33 23.3999 33C22.2953 33 21.3999 33.8954 21.3999 35C21.3999 36.1046 22.2953 37 23.3999 37C24.5045 37 25.3999 36.1046 25.3999 35Z"},null,-1),iA=[aA,rA,oA];function sA(e,t){return(0,K.uX)(),(0,K.CE)("svg",nA,iA)}const uA={},cA=(0,Ft.A)(uA,[["render",sA]]),lA=cA,dA=(0,K.pM)({components:{CheckCircleIcon:tA,AlertIcon:lA},props:{hasError:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,K.EW)((function(){return e.hasError?n("pages.seed-phrase-settings.seed-phrase-incorrect"):n("pages.seed-phrase-settings.seed-phrase-correct")}));return{notificationMessage:a}}}),pA=(0,Ft.A)(dA,[["render",qh],["__scopeId","data-v-53556f6a"]]),vA=pA;function fA(e,t,n,a,r,o){var i=(0,K.g2)("CloseIcon"),s=(0,K.g2)("BtnPlain");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)({class:["seed-phrase-badge",{selected:e.selected,editable:e.editable}]},e.$attrs,{onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,(0,tt.v_)(e.text),1),e.editable?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"close-icon"})):(0,K.Q3)("",!0)]})),_:1},16,["class"])}var mA=n(5684);const gA=(0,K.pM)({components:{BtnPlain:Mr.A,CloseIcon:mA.A},props:{selected:Boolean,editable:Boolean,text:{type:String,required:!0}},emits:["click"]}),hA=(0,Ft.A)(gA,[["render",fA],["__scopeId","data-v-6c333003"]]),AA=hA,kA=(0,K.pM)({components:{SeedPhraseBadge:AA,SeedPhraseNotification:vA,FixedScreenFooter:vs.A,BtnMain:Mo.A,CardMnemonic:xh,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,An.s9)(),t=e.t,n=(0,ce.mv)(),a=n.setBackedUpSeed,r=(0,ce.oV)(),o=r.mnemonic,i=(0,ce.E$)({requirePolling:!1}),s=i.removeIsSeedBackedUpNotification,u=(0,bt.KR)([]),c=(0,bt.KR)(!1),l=(0,bt.KR)(!1),d=(0,bt.KR)([t("pages.seedPhrase.first"),t("pages.seedPhrase.second"),"..."]),p=(0,K.EW)((function(){return(0,$h.A)(o.value.split(" "))})),v=(0,K.EW)((function(){return!u.value.length||u.value.length!==p.value.length||l.value&&c.value}));function f(){var e=u.value.map((function(e){return p.value[e]})).join(" ");c.value=!0,l.value=o.value!==e,l.value?setTimeout((function(){c.value=!1}),3e3):(a(!0),s())}function m(e){u.value.includes(e)||u.value.push(e)}return(0,Fe.Y0)((function(){u.value=[],c.value=!1,l.value=!1})),{ROUTE_ACCOUNT:Ye.qJ,selectedWordIds:u,showNotification:c,hasError:l,examplePhrase:d,mnemonic:o,mnemonicShuffled:p,isVerifyButtonDisabled:v,verifyLastStep:f,onSelectWord:m}}}),yA=(0,Ft.A)(kA,[["render",Hh],["__scopeId","data-v-25d35038"]]),bA=yA;var wA={class:"settings"};function CA(e,t,n,a,r,o){var i=(0,K.g2)("PanelItem"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",wA,[(0,K.bF)(i,{to:{name:"settings-seed-phrase"},title:e.$t("pages.index.seedPhrase")},null,8,["title"]),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},title:e.$t("pages.titles.networks"),info:e.activeNetwork.name,"data-cy":"networks-settings"},null,8,["to","title","info"]),(0,K.bF)(i,{to:{name:e.ROUTE_PERMISSIONS_SETTINGS},title:e.$t("pages.titles.permissionsSettings")},null,8,["to","title"]),(0,K.bF)(i,{to:{name:"notification-settings"},title:e.$t("pages.titles.notifications")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-language"},title:e.$t("pages.titles.language")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-currency"},title:e.$t("pages.titles.currency"),info:e.activeCurrency},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-errors-log"},title:e.$t("pages.titles.saveErrorsLog"),info:e.saveErrorLog?"On":"Off"},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-reset-wallet"},title:e.$t("pages.titles.resetWallet")},null,8,["title"])])]})),_:1})]})),_:1})}const xA=(0,K.pM)({name:"Settings",components:{PanelItem:Ut,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.currentCurrencyInfo,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.mv)(),o=r.saveErrorLog,i=(0,K.EW)((function(){return"".concat(t.value.code.toUpperCase()," (").concat(t.value.symbol.toUpperCase(),")")}));return{ROUTE_NETWORK_SETTINGS:Ye.nj,ROUTE_PERMISSIONS_SETTINGS:Ye.z0,activeNetwork:a,saveErrorLog:o,activeCurrency:i}}}),LA=(0,Ft.A)(xA,[["render",CA],["__scopeId","data-v-e9e78210"]]),SA=LA;function TA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var EA=n(48287)["Buffer"],IA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const _A=(0,K.pM)({name:"SignMessage",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.lq)();(0,K.sV)((function(){return IA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.setLoaderVisible,e.prev=4,f(!0),e.next=8,l();case 8:return m=e.sent,g=null===(n=t.query.message)||void 0===n?void 0:n.toString(),h=!!g&&"hex"===(null===(a=t.query.encoding)||void 0===a?void 0:a.toString()),A=h?EA.from(g,"hex"):g,k=null===A||void 0===A?void 0:A.toString(),y=i.value||{},b=y.host,w=y.href,e.next=16,p(o.gK,{message:k,app:{host:b,name:b,url:w}});case 16:return e.next=18,m.signMessage(A);case 18:C=e.sent,x=EA.from(C).toString("hex"),u(!0,{signature:x}),e.next=27;break;case 23:e.prev=23,e.t0=e["catch"](4),u(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 27:return e.prev=27,f(!1),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[4,23,27,30]])})))}))}}),WA=(0,Ft.A)(_A,[["render",TA]]),FA=WA;function DA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var BA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const PA=(0,K.pM)({name:"SignTransaction",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),a=n.t;(0,K.sV)((function(){return BA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.nodeNetworkId,d=c.getAeSdk,p=(0,ce.U8)(),v=p.openDefaultModal,f=(0,ce.mv)(),m=f.setLoaderVisible,e.prev=4,m(!0),e.next=8,d();case 8:if(g=e.sent,h=t.query,A=h.transaction,k=h.networkId,y=h.broadcast,k===l.value){e.next=15;break}return e.next=13,v({icon:"warning",title:a("modals.wrongNetwork.title"),msg:a("modals.wrongNetwork.msg",[k]),buttonMessage:a("modals.wrongNetwork.button")});case 13:return u(!1),e.abrupt("return");case 15:return e.next=17,g.signTransaction(decodeURIComponent(A),{networkId:k,aeppOrigin:null===(n=i.value)||void 0===n?void 0:n.toString()});case 17:if(b=e.sent,!y){e.next=28;break}return e.next=21,g.api.postTransaction({tx:b});case 21:return w=e.sent,C=w.txHash,e.next=25,g.poll(C,{blocks:o.u8});case 25:u(!0,{"transaction-hash":C}),e.next=29;break;case 28:u(!0,{transaction:b});case 29:e.next=37;break;case 31:return e.prev=31,e.t0=e["catch"](4),e.next=35,v({title:a("modals.transaction-failed.msg"),icon:"critical",msg:e.t0.message});case 35:u(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 37:return e.prev=37,m(!1),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[4,31,37,40]])})))}))}}),MA=(0,Ft.A)(PA,[["render",DA]]),OA=MA;var RA=function(e){return(0,K.Qi)("data-v-6eec62a2"),e=e(),(0,K.jt)(),e},NA={class:"terms-of-service"},UA=RA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.eW)(" The present "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" are effective since 9th April 2020. ")],-1)})),XA=RA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.Lk)("b",null,"Superhero.com LVC"),(0,K.eW)(" reserves its right to modify and update these "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" according to the policy and practice of the "),(0,K.Lk)("b",null,"company"),(0,K.eW)(". The new version of the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" becomes effective from the day it is announced on "),(0,K.Lk)("b",null,"Our Superhero Wallet"),(0,K.eW)(" unless stated otherwise. ")],-1)})),VA=RA((function(){return(0,K.Lk)("hr",null,null,-1)})),HA=RA((function(){return(0,K.Lk)("p",{class:"bolder"}," THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",-1)})),$A=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("b",null,"TERMS OF USE („TERMS“)"),(0,K.eW)(" apply exclusively for the "),(0,K.Lk)("b",null,"Superhero Wallet"),(0,K.eW)(" (hereinafter referred to as the “"),(0,K.Lk)("b",null,"Wallet"),(0,K.eW)("” or the “"),(0,K.Lk)("b",null,"application"),(0,K.eW)("”) and all the content available on the website extension. Please make sure that you have carefully read the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" before using the "),(0,K.Lk)("b",null,"application"),(0,K.eW)(". Otherwise, by using it, we consider these actions implicit agreement to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(". These "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „"),(0,K.Lk)("b",null,"YOU"),(0,K.eW)("“) and "),(0,K.Lk)("b",null,"Superhero.com LVC (“Superhero”, “we”, “us”"),(0,K.eW)(" or "),(0,K.Lk)("b",null,"“our”)"),(0,K.eW)(" in connection to your use of the "),(0,K.Lk)("b",null,"Superhero Wallet application."),(0,K.eW)(". ")],-1)})),jA=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please, do not use the application provided by "),(0,K.Lk)("b",null,"Superhero"),(0,K.eW)(", if you do not agree to the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" applied within this document. ")],-1)})),KA=RA((function(){return(0,K.Lk)("b",null,"WE",-1)})),qA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),GA=RA((function(){return(0,K.Lk)("b",null,"USERS",-1)})),QA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ZA=RA((function(){return(0,K.Lk)("b",null,"application",-1)})),YA=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),zA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),JA=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),ek=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),tk=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),nk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ak=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),rk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ok=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),ik=RA((function(){return(0,K.Lk)("b",null,"Superhero",-1)})),sk=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),uk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ck=RA((function(){return(0,K.Lk)("p",{class:"italic underline"},[(0,K.eW)(" Once you agree to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(", we consider this an explicit consent to the following: ")],-1)})),lk=RA((function(){return(0,K.Lk)("strong",null,"Superhero.com Establishment (“Superhero”, “we”, “us”, “our”",-1)})),dk=RA((function(){return(0,K.Lk)("strong",null,"“the company” ",-1)})),pk=RA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),vk=RA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)})),fk=RA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),mk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.2. “"),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("“ or “"),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)("“ means a natural or legal person, who has downloaded and uses the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),gk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.3. “"),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)("“ means the list of records, also known as "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(", which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can access, create and save information on the "),(0,K.Lk)("strong",null,"Aeternity blockchain"),(0,K.eW)(". The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of "),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)(", which cannot be altered retroactively. ")],-1)})),hk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.4. “"),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)("” (“"),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"application"),(0,K.eW)("”) is a software program designed for end users, which allows supporters to send value to content creators, causes, charities, groups or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is a piece of software which is available for downloading/access and use as it follows: ")],-1)})),Ak=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),kk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),yk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),bk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.5"),(0,K.Lk)("strong",null,". “Æid“, “Æternity token”"),(0,K.eW)(" or “"),(0,K.Lk)("strong",null,"Æ token"),(0,K.eW)("” are the "),(0,K.Lk)("strong",null,"Æternity "),(0,K.eW)("digital assets, which can be tracked or transferred on the "),(0,K.Lk)("strong",null,"Æternity blockchain. ")],-1)})),wk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.6. “"),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)("” are independent physical persons or entities, which are not in any way part of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Their function in the system includes responsibility for "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" constitution and broadcast of these "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" with the "),(0,K.Lk)("strong",null,"Aeternity"),(0,K.eW)(),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". ")],-1)})),Ck=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.7. “"),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"Wallet address"),(0,K.eW)("” is a hashed version of the "),(0,K.Lk)("strong",null,"USER’s public key"),(0,K.eW)(", used to identify "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),xk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.8. “"),(0,K.Lk)("strong",null,"Keys"),(0,K.eW)("” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information. ")],-1)})),Lk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.9. “"),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)("” allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to claim names and associate them with one or more "),(0,K.Lk)("strong",null,"Æternity"),(0,K.eW)(" accounts. ")],-1)})),Sk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.10. “"),(0,K.Lk)("strong",null,"Name of account"),(0,K.eW)("” is a domain-like identification string, which allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" control over its creation, development and alienation. ")],-1)})),Tk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.1. The application ")],-1)})),Ek=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" designed and built the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" as a cryptocurrency wallet which is connected with the "),(0,K.Lk)("strong",null,"Æternity"),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(".Through it, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can store, send and collect "),(0,K.Lk)("strong",null,"Æ tokens."),(0,K.eW)("  The purpose is to conduct donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights and quality content. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can donate to different platforms through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Ik=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is a software solution, the interface is provided with the purpose of facilitating the interaction between the "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the protocols of the "),(0,K.Lk)("strong",null,"Aeternity blockchain,"),(0,K.eW)(" to manage your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" and your "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("The Protocols represent a system that is implemented with the purpose of reaching consensus between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and validating transactions on the "),(0,K.Lk)("strong",null,"Aeternity blockchain. Superhero"),(0,K.eW)(" does not in any way control the blockchain due to the fact it is decentralized and all transactions are executed between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" in a peer-to-peer manner in which "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not involved. ")],-1)})),_k=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can use a variety of options to download and access the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". They can download the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" as a browser extension, access it on an Internet address or download a mobile application. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be aware that they can use all the options mentioned with the same "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" only when they have created a seed phrase and they use it to link their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),Wk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.2. Sending tips")],-1)})),Fk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" when downloaded and used as an extension only, automatically finds the URL of a website for the purpose of the donation. Once "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are on the URL address that"),(0,K.Lk)("strong",null," YOU "),(0,K.eW)("want to tip, you have to: ")],-1)})),Dk=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null," Open your Superhero wallet extension. The button should be in the upper right of your browser tool bar. "),(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),Bk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" When the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is accessed from the Web or as a mobile application, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to choose and copy the URL address of the website "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" would like to tip and afterwards: ")],-1)})),Pk=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the URL address, amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),Mk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the transactions are irreversible when completed – meaning that "),(0,K.Lk)("strong",null,"YOU "),(0,K.eW)("cannot change the URL address you sent the tip to, the amount or comment sent. ")],-1)})),Ok=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The donations can be oriented in two flows as it follows - "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can tip the owner of the whole website/platform or the specific creator/author on the platform who has written/prepared the news/article/section/material. ")],-1)})),Rk=RA((function(){return(0,K.Lk)("strong",null,"USERS’",-1)})),Nk=RA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),Uk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.3. Collecting tips")],-1)})),Xk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" If "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to receive such tips yourself, copy your "),(0,K.Lk)("strong",null,"Wallet address "),(0,K.eW)("and paste it onto your web page or profile – it could be a blog, a social media account or any other online profile. Save the change and refresh the page. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can also add your"),(0,K.Lk)("strong",null," Wallet address"),(0,K.eW)(" in the source code of the web page. Then, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" should open your "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" to access the tips received. Please bear in mind that there may be slight delays in collecting tips, we advise that you wait for a few minutes and open the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("again. Do not hesitate to contact us if "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" experience any difficulties. ")],-1)})),Vk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.4. Loading your wallet")],-1)})),Hk=RA((function(){return(0,K.Lk)("strong",null,"Wallet ",-1)})),$k=RA((function(){return(0,K.Lk)("strong",null,"Æ tokens,",-1)})),jk=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Kk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),qk=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Gk=RA((function(){return(0,K.Lk)("strong",null,"Æ tokens",-1)})),Qk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the third-party platforms may collect fees. They are unilaterally determined and are not an object of control by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),Zk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.5. Withdrawing tips")],-1)})),Yk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" To withdraw your tips, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can use one of the third-party crypto exchanges that supports "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("Again, additional information about the platforms can be seen in our Superhero Tutorial and "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" are at disposal for further assistance. ")],-1)})),zk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.6. Transactions on the application and Æ claims")],-1)})),Jk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Transactions on the application"),(0,K.eW)(": USERS")]),(0,K.eW)(" can browse through their transaction history. "),(0,K.Lk)("strong",null,"The Wallet"),(0,K.eW)(" displays the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" tokens. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage, sending and receiving of funds. The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" own risk. ")],-1)})),ey=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims:")]),(0,K.eW)(" Please bear in mind that for the present moment the "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims function is not possible, ")]),(0,K.eW)("however, Superhero’s intention is to constantly develop and improve the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for all"),(0,K.Lk)("strong",null," USERS"),(0,K.eW)(" and once this function is available on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(", the following will be applicable: ")],-1)})),ty=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The tips are sent to the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" of the URL address entered when there is such "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" created. Donations can also be made to websites/platforms/organizations/people who have not downloaded and used the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" before or during the moment of tipping. ")],-1)})),ny=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain "),(0,K.eW)("manages "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" – they are self-enforcing agreements which are embedded in the source code. Therefore, the "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are independent, with incorporated set of rules when and how to act without any control or interference conducted by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" under any form. The "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are a specific feature of the decentralized public ledger. If the websites/platforms/organizations/people who are tipped, do not have a "),(0,K.Lk)("strong",null,"Superhero Wallet, "),(0,K.eW)("the sent tip is stored in the so called “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The "),(0,K.Lk)("u",null,"Oracles"),(0,K.eW)(" – also a function of the decentralized blockchain – follows when the receiver of the tip will generate a "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". If the receiver of the tip creates a "),(0,K.Lk)("strong",null,"Wallet,"),(0,K.eW)(" they can claim the "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("initially tipped and stored in the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The receiver of the tip has the right to access and claim the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" in a time frame of 1 (one) year from the moment of tipping. After the lapse of this 1 (one) year, the receiver loses their right to gain the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". Within the second year from the moment of tipping, only the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can claim its "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" back. After the lapse of the second year, the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" loses its right to regain back the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" he has sent. Due to the decentralized character of the blockchain, "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot control the accumulation/receipt of the tips and to return them back when they are not received. Only the "),(0,K.Lk)("u",null,"smart contract "),(0,K.eW)("and the "),(0,K.Lk)("strong",null,"USERS "),(0,K.eW)("themselves can affect the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" due to the peer-to-peer method. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that if the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are not claimed, they can be stored in the "),(0,K.Lk)("u",null,"smart contract"),(0,K.eW)(" without limitation of time and without any purpose. This is why, after the lapse of the two years in which the receiver and the sender of the tips could claim the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" but have not"),(0,K.Lk)("strong",null,","),(0,K.eW)(" the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("” sends the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" to an "),(0,K.Lk)("strong",null,"address"),(0,K.eW)(" of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Once the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are received by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", receivers and senders of the tip accept and agree that they shall not have any claims over the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for their receipt provided it is caused by the receiver and the sender’s inactivity from their side during the above-mentioned periods of time. The tips will then be used by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for the further development of the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(" ecosystem, the development of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" or any other project or activity it finds suitable and reasonable. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall make such decisions at its own estimation. ")],-1)})),ay=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The application gives two possibilities for identification of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" as it follows: ")],-1)})),ry=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Account address")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Name of account ")])],-1)})),oy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" consists of random string of numbers and letters that starts with “ak_”. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can find their "),(0,K.Lk)("strong",null,"Wallet addresses"),(0,K.eW)(" on the dashboard, right above the balance. The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" is the public ID other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" see by default. Once a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has downloaded the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("automatically generates the account address."),(0,K.Lk)("strong",null,"  ")],-1)})),iy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are given the option to claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" for their account(s) via the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(". If a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" claims a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" may associate it with the corresponding account. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are free to choose the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The only requirement is that the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" must have a minimum amount of "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("in the "),(0,K.Lk)("strong",null,"WALLET depending on the number of letters of the domain to be claimed"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"We"),(0,K.eW)(" request from "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" not to use any offensive, racist, misleading, provocative or any other inappropriate wording. ")],-1)})),sy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The idea behind account "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" is to serve as an alternative to the "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(", making it much easier for other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to send a tip. ")],-1)})),uy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can claim "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" via a set of "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(". The name establishment to a person can be an object of an auction. ")],-1)})),cy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In Section “Names” every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can freely claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" pre-claim requires the payment of a transaction fee in micro "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and the commitment of the fee to the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owned account. Once a person has set up a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" launches an auction within which all "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" of the "),(0,K.Lk)("strong",null,"WALLET"),(0,K.eW)(" can bid and within which a final "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee is paid. Please bear in mind that "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with 13 (thirteen) or more characters are claimed directly without undergoing an auction and after the payment of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee. The period of time during which the auction is available (for names with less than 13 characters) cannot be specified - it is based on the length of the name and the number of bids. Each bid resets the auction counter on the ongoing auction. The highest bid after the time has passed, receives the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". Please bear in mind that the person who has suggested the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" and the person who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can be two separate people and the claim of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" solely depends on the bids in the auctions. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not regulate or control the auctions. The claim is only available for 100 (one hundred) days. ")],-1)})),ly=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Before the lapse of 100 (one hundred) days, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" wants to preserve the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they should update the claim and pay for the same. Each update is for one more period of 100 (one hundred) days with an option for reservation for an additional period of 100 (one hundred) days. Once it reaches the expiration date on the claim, the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" is released, i.e. transition into the unclaimed state, after which it can be claimed again. During the claim, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" decides to extend the account related "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they shall only pay the transaction fee without paying additional "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fees. The extension possibility is available within the above-mentioned period of 100 (one hundred) days and is not a prerequisite for renewal of the period.  ")],-1)})),dy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" gives the possibility for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to exchange and transfer their "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can transfer it to an account of another "),(0,K.Lk)("strong",null,"USER "),(0,K.eW)("- third party, or another "),(0,K.Lk)("strong",null,"Æ Wallet address"),(0,K.eW)(" the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owns. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control in any way the assignment and alienation of "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The decisions undertaken during the claim period of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" are a result of the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" sole estimation. ")],-1)})),py=RA((function(){return(0,K.Lk)("strong",null,"name",-1)})),vy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" As a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" agree to the following rules applicable for the"),(0,K.Lk)("strong",null," Superhero Wallet"),(0,K.eW)(" : ")]),(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall comply with the rules set within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and perform any actions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in good faith and according to the applicable legislation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are an adult and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are not persons under judicial disability ("),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have obtained full legal capacity); ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not try to obtain or gain access over any personal or identifiable information, including but not limited to seed phrases, private keys, from other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(", nor shall "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" disclose such information about yourself; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not in any way compromise or exploit the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or use the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for any illegal activity or outside the purpose for its creation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Your"),(0,K.eW)(" actions do not in any manner mislead into thinking that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are another person or company; "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not purposefully provide information by using another person’s seed phrases, "),(0,K.Lk)("strong",null,"account addresses"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with the purpose of representing as somebody else. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall undertake any possible action against such identity thefts and frauds in case the "),(0,K.Lk)("strong",null,"company"),(0,K.eW)(" suspects a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("; ")]),(0,K.Lk)("li",null,[(0,K.eW)(" the device "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content. ")])]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be liable for any action undertaken in violation of the present article. ")])],-1)})),fy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" As mentioned above, the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is only a software solution, which facilitates the interaction between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the decentralized, public ledger. Therefore, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are solely responsible and liable for any and all of your actions and inactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and all gains and losses sustained from your use of it. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" indemnify "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", its employees and affiliates in full for any and all negative consequences that might arise from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" due to the lack of control over the peer-to-peer activities. ")],-1)})),my=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"General Disclaimer:")]),(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is open-source, public and permissionless ledger, meaning that anyone can download, participate, develop, improve and validate transactions on the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot and does not control in any way the transactions conducted by "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not ensure the trustworthiness and validity of the same. Please, bear in mind that every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" is solely responsible for the actions undertaken on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and the information presented by them. ")],-1)})),gy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer:")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" take responsibility for their digital security. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" gives the possibility to set up a seed phrase, consisting of random unique combination of words. The purpose of the seed phrase is to restore the access to the "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(", once the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has lost access to the original "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any reason (migrating to a new device, reinstalling browser, etc.). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.Lk)("strong",null,"does not collect the private keys or the seed phrases and shall not be treated under any circumstances as a custodian wallet provider. WE HIGHLY RECOMMEND ALL USERS TO SET UP A SEED PHRASE AND PROTECT IT."),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should store their seed phrase offline safely. Please bear in mind that if a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has not set up a seed phrase for backup or they have forgotten the seed phrase and its exact wording, the access to their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" can be permanently restricted. The lack of access does not mean in any way that the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" are lost. The "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of lost, forgotten or misspelled seed phrases. In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" must not share their seed phrase with anyone. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to regain access to their account on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),hy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the option “Retrieve existing account” is applicable only in case the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has a seed phrase. ")],-1)})),Ay=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Decentralization and Control "),(0,K.Lk)("u",null,"Transparency Disclaimer")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)(" technology is decentralized by nature - which means that the makers of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" cannot access or freeze your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)("; recover or reset your seed phrase; reverse, cancel or refund transactions. Only "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage and sending of their funds. By agreeing to the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to defend, indemnify and hold "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),ky=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Access and Connectivity Disclaimer")]),(0,K.eW)(": The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be downloaded or used from the following places: ")],-1)})),yy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the marketplaces for downloading are third-party owned and therefore, can cease the supporting of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in their own estimation, making it difficult or impossible to receive any functionality from the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or updates. ")],-1)})),by=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, please bear in mind that the source code to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is uploaded on GitHub. When any modifications/updates, etc. are conducted on the source code, they are automatically reflected on the browser extension option and the web browser due to the fact they are Internet connected "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" access points. However, for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" who use the mobile options from Google Play or App Store, for them to receive updates, modifications, etc. of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", they should download the new version of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" from the same marketplaces. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree that if they do not download the newest versions from Google Play or App Store, they will not receive the latest features, improvements, etc. ")],-1)})),wy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" It is possible that devices on which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is installed to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer")]),(0,K.eW)(" in regard to seed phrases. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" shall not be held liable for any loss of data on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" caused in these cases. ")],-1)})),Cy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Cryptocurrency Guidance Disclaimer:")]),(0,K.eW)(" The content presented on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(", including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. ")],-1)})),xy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Jurisdiction and Regulatory Disclaimer:")]),(0,K.eW)(" The access to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is granted worldwide. The use of the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to inform yourself about such legal restrictions and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are liable solely in case of a breach of any legal norms. The access to our "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is prohibited provided the access point is in a territory where the content is illegal. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not have the obligation to control the legislation applicability according to each access point of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and shall not be held liable in these circumstances. ")],-1)})),Ly=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the "),(0,K.Lk)("strong",null,"Æternity blockchain’s"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Wallet’s "),(0,K.eW)("development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" held by them. ")],-1)})),Sy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Risks")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree with the risks related to the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" contribution and/or with the allocation, use and ownership of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and guarantee to relieve of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" in these cases. ")],-1)})),Ty=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)("The risks mentioned within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" are not comprehensive:")],-1)})),Ey=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of software weaknesses: "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" are in a constant development process. There is no warranty that the receipt and transfer of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" shall be uninterrupted or error-free at all times. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to dispense of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of theft:"),(0,K.eW)(),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of mining attacks"),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to "),(0,K.Lk)("strong",null,"the application’s"),(0,K.eW)(" blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, 'selfish-mining' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")])],-1)})),Iy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("u",null,[(0,K.eW)("Risk of phishing attacks and "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(":")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an "),(0,K.Lk)("strong",null,"application"),(0,K.eW)("/ "),(0,K.Lk)("strong",null,"website"),(0,K.eW)(" with high percentage of resemblance with the original one. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be careful when they download and use the original "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can identity the authentic "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" by verifying that the developer on the marketplace is "),(0,K.Lk)("strong",null,"Superhero.com / Superhero.com LVC"),(0,K.eW)(" and can use the hyperlinks for downloading, incorporated in the present Terms. Due to the fact "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is public and permissionless, any person has the possibility to create a “"),(0,K.Lk)("strong",null,"fork"),(0,K.eW)("”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot avoid the creation of such "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(" and is not responsible for them. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for any losses and/or damages resulted from the use of "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(". ")],-1)})),_y=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" does not collect any fees or taxes for its use "),(0,K.Lk)("strong",null,"application "),(0,K.eW)("- it is free of charge. However, taxes and fees are payable for the transactions on the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, depending on the territory access point, the transfer and receipt of funds through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are obliged to inform themselves about such requirements and are solely responsible for their donations. ")])],-1)})),Wy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" To send someone a tip, please make sure that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are no the URL that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to tip or "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have copied and pasted the right URL (depending on the option for access to the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not participate or control in any way the tips and shall not be held liable for any mistakes and wrong donations. The tips cannot be modified. Please bear in mind that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be fully liable for any use of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" in violation of its purpose and the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control the platforms the donations are sent to. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for the content on the third-party platforms in any way. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, any use of third-party platforms for the purpose of exchanging "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" with other cryptocurrencies or fiat currencies is subject to compliance with the third-party platform’s Terms of use and other compulsory documentation. It is solely your responsibility to comply duly with the rules, applicable for these platforms. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible in any way for the use of these third-party platforms in relation to loading the "),(0,K.Lk)("strong",null,"USERS’"),(0,K.eW)(" wallets and the withdrawal of "),(0,K.Lk)("strong",null,"Æ"),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, the platforms from which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" can be downloaded are owned by third parties. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should comply their behaviour with the rules applicable for these third-party platforms. ")])],-1)})),Fy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed under the open-source, permissive free software ISC License (“ISC”). Under this license other developers have the right to use, copy, modify and distribute the source code of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any purpose without a fee. The license only requires preservation of the copyright and license notice below. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not liable in any way for the diffusion and public access to the amended/modified by other developers source code files due to the open source character of the software. ")]),(0,K.Lk)("p",null,"The notice is as it follows:"),(0,K.Lk)("p",null,"“ISC License"),(0,K.Lk)("p",null,"Copyright (c) 2019, Superhero"),(0,K.Lk)("p",null," Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. "),(0,K.Lk)("p",null,' THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.” ')],-1)})),Dy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed by "),(0,K.Lk)("strong",null,"Superhero. "),(0,K.eW)("The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may display or include elements which are subject of intellectual property regulation including but not limited to logos, trademarks, domain names, etc.  It is prohibited to use any intellectual property of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" before a prior explicit consent from the latter. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" reserves its right to take any necessary legal action against intellectual property infringement. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The present article does not in any way exclude or interfere with the rights granted according to article 8- "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"LICENSE")]),(0,K.eW)(", of the present Terms. ")])],-1)})),By=RA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),Py=RA((function(){return(0,K.Lk)("strong",null,"the application",-1)})),My=RA((function(){return(0,K.Lk)("strong",null,"Wallet",-1)})),Oy=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),Ry=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Ny=RA((function(){return(0,K.Lk)("strong",null,"USER",-1)})),Uy=RA((function(){return(0,K.Lk)("strong",null,"tokens",-1)})),Xy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" set forth the entire understanding and agreement as to the subject matter hereof and supersedes any and all prior discussions, agreements, and understandings of any kind and every nature between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),Vy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" without regard to possible conflict of law provisions. The invalidity of one or more clauses/ provisions in the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" does not lead to the invalidity of the whole agreement. ")],-1)})),Hy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"The Privacy Policy")]),(0,K.eW)(" is an inseparable part of the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the "),(0,K.Lk)("strong",null,"Privacy Policy"),(0,K.eW)(", all rules from the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" apply respectively. ")],-1)})),$y=RA((function(){return(0,K.Lk)("strong",null,"TERMS",-1)})),jy=RA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)}));function Ky(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton"),s=(0,K.g2)("AccordionItem"),u=(0,K.g2)("BackToTop"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg","data-cy":"terms-of-service"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",NA,[UA,XA,VA,HA,$A,jA,(0,K.Lk)("p",null,[KA,(0,K.eW)(" preserve our right to modify the "),qA,(0,K.eW)(" at any time in our sole discretion. "),GA,(0,K.eW)(" will be notified of such changes by posting information for the new Effective Date of the "),QA,(0,K.eW)(" on the "),ZA,(0,K.eW)(". "),YA,(0,K.eW)(" may be required to read and accept the updated "),zA,(0,K.eW)(" in order to continue your use of the "),JA,(0,K.eW)(". If "),ek,(0,K.eW)(" continue to use the "),tk,(0,K.eW)(" after a notification for the amended "),nk,(0,K.eW)(", "),ak,(0,K.eW)(" are agreeing to be bound by the modifications. If you don’t agree to be bound by the modified "),rk,(0,K.eW)(", then you should discontinue any use of the "),ok,(0,K.eW)(". Please contact "),ik,(0,K.eW)(" via an email to "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for the provision of information about the steps for termination of your use. Please check the Effective Date above to determine if there have been any changes since "),sk,(0,K.eW)(" have last reviewed these "),uk,(0,K.eW)(". ")]),ck,(0,K.bF)(s,{label:e.$t("pages.termsOfService.section1Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" 1.1. "),lk,(0,K.eW)(" or "),dk,(0,K.eW)(") is a company with seat and registered address at: Dr. Grass Str. 12, 9490 Vaduz, Liechtenstein, with email address for communication related to the "),pk,(0,K.eW)(": "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". "),vk,(0,K.eW)(" is the company, which created and developed "),fk,(0,K.eW)(". ")]),mk,gk,hk,(0,K.Lk)("p",null,[(0,K.eW)(" 1) the "),Ak,(0,K.eW)(" can act  as an add-on to the web browsers Firefox, Chrome, Brave and Opera and contributes to the browsers’ additional functionalities. For Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; for Chrome, Brave and Opera:       "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) the "),kk,(0,K.eW)(" can be accessed and used from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) the "),yk,(0,K.eW)(" can be downloaded from Google Play and/or App Store. For Google Play: "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and for App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The results of the donations and comments are published on the website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(" . ")]),bk,wk,Ck,xk,Lk,Sk])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section2Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Tk,Ek,Ik,_k,Wk,Fk,Dk,Bk,Pk,Mk,Ok,(0,K.Lk)("p",null,[(0,K.eW)(" After that, the website - "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(", reflects the "),Rk,(0,K.eW)(" donations and comments and gives the possibility for other "),Nk,(0,K.eW)(" to actively donate and comment on the newsfeed of the Website. ")]),Uk,Xk,Vk,(0,K.Lk)("p",null,[(0,K.eW)(" In order to load your "),Hk,(0,K.eW)("with "),$k,jk,(0,K.eW)(" should click Button “Top Up” of the "),Kk,(0,K.eW)(" and "),qk,(0,K.eW)(" can exchange other cryptocurrencies or fiat currencies with "),Gk,(0,K.eW)(" through partnering third-party platforms. A full list of these platforms, you can see in our Superhero Tutorial. Our team is also ready to provide detailed information when contacted through email at "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),Qk,Zk,Yk,zk,Jk,ey,ty,ny])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section3Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[ay,ry,oy,iy,sy,uy,cy,ly,dy,(0,K.Lk)("p",null,[(0,K.eW)(" The "),py,(0,K.eW)(" can also be used as your profile name on the Superhero website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section4Title")},{default:(0,K.k6)((function(){return[vy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section5Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[fy,my,gy,hy,Ay,ky,(0,K.Lk)("p",null,[(0,K.eW)(" 1) downloaded as an add-on (extension) to Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; to Chrome, Brave and Opera:        "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) accessed from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)(" ; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) downloaded from Google Play:     "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and ")]),(0,K.Lk)("p",null,[(0,K.eW)(" from App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),yy,by,wy,Cy,xy,Ly,Sy,Ty,Ey,Iy])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section6Title")},{default:(0,K.k6)((function(){return[_y]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section7Title")},{default:(0,K.k6)((function(){return[Wy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section8Title")},{default:(0,K.k6)((function(){return[Fy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section9Title")},{default:(0,K.k6)((function(){return[Dy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section10Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[By,(0,K.eW)(" understand and accept "),Py,(0,K.eW)(" can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the "),My,(0,K.eW)(", the visual representation of the "),Oy,(0,K.eW)(" or could result in malfunction. In the latter case, if "),Ry,(0,K.eW)(" as a "),Ny,(0,K.eW)(" notice any change in the "),Uy,(0,K.eW)(", settings, accounts or any other information on the application, please contact "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for assistance. ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section11Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Xy,Vy,Hy,(0,K.Lk)("p",null,[(0,K.eW)(" For more information regarding our Services and the present "),$y,(0,K.eW)(", please do not hesitate to contact the "),jy,(0,K.eW)(" team at: "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"])]),(0,K.bF)(u)]})),_:1})]})),_:1})}var qy={class:"accordion-item"},Gy={class:"accordion-label-text"},Qy={key:0,"data-cy":"accordion-item-content"};function Zy(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",qy,[(0,K.Lk)("a",{class:"accordion-label","data-cy":"accordion-item-label",onClick:t[0]||(t[0]=function(t){return e.toggleVisibility()})},[(0,K.bF)(i,{class:(0,tt.C4)(["accordion-label-chevron",{rotated:e.isVisible}])},null,8,["class"]),(0,K.Lk)("span",Gy,(0,tt.v_)(e.label),1)]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",Qy,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])):(0,K.Q3)("",!0)]})),_:3})])}const Yy=(0,K.pM)({components:{ChevronDownIcon:hv.A},props:{label:{type:String,required:!0}},setup:function(){var e=(0,bt.KR)(!1);function t(){e.value=!e.value}return{isVisible:e,toggleVisibility:t}}}),zy=(0,Ft.A)(Yy,[["render",Zy],["__scopeId","data-v-77e13361"]]),Jy=zy,eb=(0,K.pM)({components:{AccordionItem:Jy,LinkButton:wt.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},setup:function(){return{APP_LINK_WEB:o.yS,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO,AGGREGATOR_URL:o.G9,CONTACT_EMAIL:o.ei}}}),tb=(0,Ft.A)(eb,[["render",Ky],["__scopeId","data-v-6eec62a2"]]),nb=tb;var ab={class:"tips-claim"},rb={class:"header"},ob={class:"text-description"};function ib(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BtnHelp"),u=(0,K.g2)("InputField"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ab,[(0,K.bF)(i,{account:e.activeAccount},null,8,["account"]),(0,K.Lk)("div",rb,[(0,K.Lk)("p",ob,(0,tt.v_)(e.$t("pages.claimTips.header")),1),(0,K.bF)(s,{class:"help-button",title:e.$t("modals.verify.title"),msg:e.$t("modals.verify.msg"),option:{attrs:{href:e.AE_BLOG_CLAIM_TIP_URL,target:"_blank"}},icon:"success"},null,8,["title","msg","option"])]),(0,K.bF)(u,{modelValue:e.tipUrl,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.tipUrl=t}),label:e.$t("pages.claimTips.urlToClaim"),error:!e.normalizedUrl},null,8,["modelValue","label","error"]),(0,K.bF)(c,{disabled:!e.normalizedUrl||!e.isTippingSupported,text:e.$t("common.confirm"),extend:"",onClick:t[1]||(t[1]=function(t){return e.handleClaimTips()})},null,8,["disabled","text"])])]})),_:1})]})),_:1})}var sb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ub=(0,K.pM)({name:"TipsClaim",components:{InputField:ev.A,BtnMain:Mo.A,BtnHelp:sd.A,AccountInfo:La.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,An.s9)(),n=t.t,r=(0,za.rd)(),i=(0,I.ti)(),u=i.claimTips,c=i.cacheInvalidateOracle,l=i.cacheInvalidateTips,d=(0,ce.CP)(),p=d.isTippingSupported,v=(0,ce.oV)(),f=v.activeAccount,m=(0,ce.U8)(),g=m.openModal,h=m.openDefaultModal,A=(0,ce.kz)(),k=A.getTippingContracts,y=(0,ce.mv)(),b=y.setLoaderVisible,w=(0,bt.KR)(""),C=(0,K.EW)((function(){return(0,L.Ks)(w.value)?(0,L.Xz)(w.value).toString():""}));function x(){return sb(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a,i,d,p,v,m,A;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=C.value,b(!0),e.prev=2,e.next=5,k();case 5:return a=e.sent,i=a.tippingV1,e.t0=parseFloat,e.t1=_.c4,e.next=11,i.unclaimed_for_url(t).then((function(e){return e.decodedResult}))["catch"]((function(){return 1}));case 11:if(e.t2=e.sent,e.t3=(0,e.t1)(e.t2),d=(0,e.t0)(e.t3),d){e.next=16;break}throw new Error("NO_ZERO_AMOUNT_PAYOUT");case 16:return e.next=18,u(t,f.value.address);case 18:return e.next=20,Promise.all([c,l]);case 20:g(o.pE,{url:t,claimAmount:d}),r.push({name:Ye.qJ}),e.next=34;break;case 24:if(e.prev=24,e.t4=e["catch"](2),p=e.t4.response?e.t4.response.data:{},v=p.error,m=void 0===v?"":v,m.includes("MORE_ORACLES_NEEDED")?A=n("pages.claim.moreOracles"):m.includes("URL_NOT_EXISTING")?A=n("pages.claim.urlNotExisting"):m.includes("NO_ZERO_AMOUNT_PAYOUT")||e.t4.message.includes("NO_ZERO_AMOUNT_PAYOUT")?A=n("pages.claim.noZeroClaim"):m.includes("ORACLE_SERVICE_CHECK_CLAIM_FAILED")?A=n("pages.claim.oracleFailed"):m&&(A=m),!A){e.next=32;break}h({msg:A}),e.next=34;break;case 32:throw e.t4.payload={url:t},e.t4;case 34:return e.prev=34,b(!1),e.finish(34);case 37:case"end":return e.stop()}}),e,null,[[2,24,34,37]])})))}return(0,K.sV)((function(){return sb(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b(!1),!o.hL||!browser){e.next=8;break}return e.next=4,browser.tabs.query({active:!0,currentWindow:!0});case 4:t=e.sent,n=(0,a.A)(t,1),r=n[0],(null===r||void 0===r?void 0:r.url)&&(0,L.Ks)(r.url)&&(w.value=r.url);case 8:case"end":return e.stop()}}),e)})))})),{activeAccount:f,normalizedUrl:C,tipUrl:w,isTippingSupported:p,AE_BLOG_CLAIM_TIP_URL:T.Z3,handleClaimTips:x}}}),cb=(0,Ft.A)(ub,[["render",ib],["__scopeId","data-v-1e037461"]]),lb=cb;var db={class:"multisig-proposal-details"},pb={class:"header"},vb={class:"content"},fb={class:"explorer"},mb={class:"data-grid"},gb={class:"receiving-address"},hb={class:"text-address"},Ab={class:"row"},kb={class:"text-address"},yb={class:"span-3-columns"},bb={key:1,class:"bottom-buttons"},wb={class:"row"};function Cb(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionAssetRows"),u=(0,K.g2)("TransactionInfo"),c=(0,K.g2)("ExternalLink"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("Avatar"),p=(0,K.g2)("CopyText"),v=(0,K.g2)("DetailsItem"),f=(0,K.g2)("AccountItem"),m=(0,K.g2)("DialogBox"),g=(0,K.g2)("MultisigProposalConsensus"),h=(0,K.g2)("PayloadDetails"),A=(0,K.g2)("TokenAmount"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("IonContent"),b=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(b,null,{default:(0,K.k6)((function(){return[(0,K.bF)(y,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",db,[e.activeMultisigAccount&&e.multisigTx?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("div",pb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(s,{key:0,assets:e.transactionAssets,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg"},null,8,["assets","protocol"])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",vb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"transaction-overview",sender:{label:e.$t("multisig.multisigVault"),address:e.activeMultisigAccount.gaAccountId,url:e.protocolExplorer.prepareUrlForAccount(e.activeMultisigAccount.gaAccountId)},recipient:{label:e.$t("common.smartContract"),address:e.activeMultisigAccount.contractId,url:e.activeMultisigAccountExplorerUrl},transaction:{tx:e.multisigTx}},null,8,["sender","recipient","transaction"])):(0,K.Q3)("",!0),(0,K.Lk)("div",fb,[(0,K.bF)(l,{to:e.activeMultisigAccountExplorerUrl,variant:"muted",underlined:""},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.transactionDetails.explorer"))+" ",1)]})),_:1},8,["to"])]),(0,K.Lk)("div",mb,[e.multisigTx&&e.multisigTx.recipientId?((0,K.uX)(),(0,K.Wv)(v,{key:0,label:e.$t("pages.proposalDetails.receivingAddress"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",gb,[(0,K.bF)(d,{address:e.multisigTx.recipientId,size:"sm"},null,8,["address"]),(0,K.bF)(p,{"hide-icon":"",value:e.multisigTx.recipientId,"copied-text":e.$t("common.addressCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",hb,(0,tt.v_)(e.splitAddress(e.multisigTx.recipientId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.proposedBy?((0,K.uX)(),(0,K.Wv)(v,{key:1,label:e.$t("pages.proposalDetails.proposedBy"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",Ab,[(0,K.bF)(f,{address:e.activeMultisigAccount.proposedBy,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(m,{key:0,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(g,{"proposal-completed":e.proposalCompleted},null,8,["proposal-completed"]),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:2,label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,K.k6)((function(){return[(0,K.bF)(p,{"hide-icon":"",value:e.transaction.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",kb,(0,tt.v_)(e.splitAddress(e.transaction.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(h,{key:3,payload:e.getTransactionPayload(e.multisigTx)},null,8,["payload"])):(0,K.Q3)("",!0),(0,K.Lk)("div",yb,[e.activeMultisigAccount.expirationHeight?((0,K.uX)(),(0,K.Wv)(v,{key:0,value:e.activeMultisigAccount.expirationHeight,label:e.$t("pages.proposalDetails.expiresAt"),secondary:e.expirationHeightToRelativeTime},null,8,["value","label","secondary"])):e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:1,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight")},null,8,["value","label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.nonce?((0,K.uX)(),(0,K.Wv)(v,{key:2,value:e.activeMultisigAccount.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,K.Q3)("",!0)]),e.multisigTx.gasPrice?((0,K.uX)(),(0,K.Wv)(v,{key:4,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.gasPrice),protocol:e.PROTOCOLS.aeternity,symbol:e.AE_SYMBOL,"hide-fiat":""},null,8,["amount","protocol","symbol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:5,label:e.$t("pages.transactionDetails.gasPrice")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:6,value:e.transaction.tx.gas,label:e.$t("pages.transactionDetails.gasUsed")},null,8,["value","label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(v,{key:7,label:e.$t("modals.multisigTxProposal.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:8,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.totalSpent?((0,K.uX)(),(0,K.Wv)(v,{key:9,label:e.$t("common.total"),"data-cy":"amount"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.totalSpent),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),!e.proposalCompleted&&e.activeMultisigAccount.txHash?((0,K.uX)(),(0,K.CE)("div",bb,[(0,K.Lk)("div",wb,[(0,K.bF)(k,{variant:"muted",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[0]||(t[0]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.refuse,e.$t("pages.proposalDetails.refuse"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.refuse")),1)]})),_:1},8,["disabled"]),e.pendingMultisigTxCanBeSent?((0,K.uX)(),(0,K.Wv)(k,{key:0,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxExpired,onClick:t[1]||(t[1]=function(t){return e.processProposal()})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.send")),1)]})),_:1},8,["disabled"])):((0,K.uX)(),(0,K.Wv)(k,{key:1,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxConfirmedByLocalSigners||e.pendingMultisigTxExpired,onClick:t[2]||(t[2]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.confirm,e.$t("pages.proposalDetails.sign"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.sign")),1)]})),_:1},8,["disabled"]))]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(k,{key:0,variant:"muted",extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[3]||(t[3]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.revoke,e.$t("pages.proposalDetails.revoke"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.revokeTransaction")),1)]})),_:1},8,["disabled"])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)])],64)):((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"spinner"}))])]})),_:1})]})),_:1})}var xb=n(46996),Lb=n(91392),Sb=n(37134),Tb=n(79708),Eb={class:"transaction-multisig-consensus"},Ib={key:0,class:"consensus-label"},_b={class:"label"},Wb={class:"confirmations-count"},Fb={class:"consensus"},Db={key:0,class:"signers"};function Bb(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("CheckCircle"),l=(0,K.g2)("CloseCircle"),d=(0,K.g2)("DialogBox"),p=(0,K.g2)("InfoBox");return(0,K.uX)(),(0,K.CE)("div",Eb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Ib,[(0,K.Lk)("div",_b,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("multisig.consensus")),1),(0,K.bF)(i,{class:"btn-help",onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]),(0,K.Lk)("span",Wb,[(0,K.bF)(s,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])])),(0,K.Lk)("div",Fb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Db,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.pendingMultisigTxSortedSigners,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"signer"},[(0,K.bF)(u,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.pendingMultisigTxConfirmedBy.includes(t)||e.proposalCompleted?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"check-icon active"})):e.pendingMultisigTxRefusedBy.includes(t)?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"close-icon"})):((0,K.uX)(),(0,K.Wv)(c,{key:2,class:"check-icon"})),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(d,{key:3,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])),(0,K.bF)(p,{type:e.infoBox.type},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.infoBox.content),1)]})),_:1},8,["type"])])])}var Pb={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Mb=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Ob=[Mb];function Rb(e,t){return(0,K.uX)(),(0,K.CE)("svg",Pb,Ob)}const Nb={},Ub=(0,Ft.A)(Nb,[["render",Rb]]),Xb=Ub;var Vb={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Hb=(0,K.Lk)("path",{d:"M11.9952 22C17.4761 22 22 17.4739 22 12C22 6.52611 17.4664 2 11.9855 2C6.51426 2 2 6.52611 2 12C2 17.4739 6.52392 22 11.9952 22ZM8.69889 16.2166C8.18656 16.2166 7.78057 15.8104 7.78057 15.2882C7.78057 15.0561 7.87724 14.824 8.0609 14.6499L10.6902 12.0097L8.0609 9.37911C7.87724 9.20503 7.78057 8.97292 7.78057 8.74081C7.78057 8.21857 8.18656 7.82205 8.69889 7.82205C8.96955 7.82205 9.18221 7.90909 9.35621 8.08317L11.9952 10.7137L14.6438 8.0735C14.8371 7.88975 15.0401 7.80271 15.3011 7.80271C15.8134 7.80271 16.2194 8.2089 16.2194 8.72147C16.2194 8.96325 16.1228 9.17602 15.9391 9.36944L13.3098 12.0097L15.9391 14.6402C16.1131 14.824 16.2098 15.0464 16.2098 15.2882C16.2098 15.8104 15.8038 16.2166 15.2818 16.2166C15.0208 16.2166 14.7985 16.1199 14.6148 15.9458L11.9952 13.325L9.37554 15.9458C9.20155 16.1296 8.96955 16.2166 8.69889 16.2166Z",fill:"currentColor"},null,-1),$b=[Hb];function jb(e,t){return(0,K.uX)(),(0,K.CE)("svg",Vb,$b)}const Kb={},qb=(0,Ft.A)(Kb,[["render",jb]]),Gb=qb,Qb=(0,K.pM)({name:"TransactionMultisigConsensus",components:{BtnHelp:sd.A,ConsensusLabel:Jn,AccountItem:Ld.A,CheckCircle:Xb,CloseCircle:Gb,DialogBox:Tb.h,InfoBox:Qg.A},props:{proposalCompleted:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openModal,i=(0,ce.ci)(),s=i.activeMultisigAccount,u=(0,ce.oV)(),c=u.isLocalAccountAddress,l=(0,ce.ju)(),d=l.pendingMultisigTxConfirmedBy,p=l.pendingMultisigTxRefusedBy,v=l.pendingMultisigTxSortedSigners,f=l.pendingMultisigTxConfirmed,m=l.pendingMultisigTxRevoked,g=l.pendingMultisigTxProposingAccountRevoked,h=l.pendingMultisigTxRequiredConfirmations,A=l.pendingMultisigTxPendingConfirmationsCount,k=l.pendingMultisigTxExpired,y=l.isPendingMultisigTxCompleted,b=l.isPendingMultisigTxCompletedAndRevoked,w=l.isPendingMultisigTxCompletedAndConfirmed,C=(0,K.EW)((function(){return e.proposalCompleted||w.value?{content:n("pages.proposalDetails.infoBox.completed"),type:Qg.F.success}:k.value?{content:n("pages.proposalDetails.infoBox.expired"),type:Qg.F.warning}:f.value?{content:n("pages.proposalDetails.infoBox.approved"),type:Qg.F["default"]}:b.value?{content:n("pages.proposalDetails.infoBox.justRevoked"),type:Qg.F.danger}:g.value?{content:n("pages.proposalDetails.infoBox.proposingAccountRevoked"),type:Qg.F.danger}:m.value?{content:n("pages.proposalDetails.infoBox.revoked",[p.value.length,h.value]),type:Qg.F.danger}:{content:n("pages.proposalDetails.infoBox.pending",[A.value,A.value>1?n("pages.proposalDetails.infoBox.signatures"):n("pages.proposalDetails.infoBox.signature")]),type:Qg.F["default"]}}));function x(){r(o.bG)}return{PROTOCOLS:o.yv,activeMultisigAccount:s,isLocalAccountAddress:c,infoBox:C,pendingMultisigTxSortedSigners:v,pendingMultisigTxConfirmedBy:d,pendingMultisigTxRefusedBy:p,isPendingMultisigTxCompleted:y,openConsensusInfoModal:x}}}),Zb=(0,Ft.A)(Qb,[["render",Bb],["__scopeId","data-v-2ceebdf7"]]),Yb=Zb;var zb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Jb=(0,K.pM)({components:{PayloadDetails:Sb.A,TransactionAssetRows:Tn.A,MultisigProposalConsensus:Yb,TransactionInfo:Xs.A,DialogBox:Tb.h,Avatar:us.A,TokenAmount:Es.A,DetailsItem:Ts.A,LinkButton:wt.A,AccountItem:Ld.A,BtnMain:Mo.A,CopyText:Vs.A,AnimatedSpinner:ia.A,ExternalLink:Mt.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,za.rd)(),t=(0,An.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openDefaultModal,u=a.openModal,c=(0,ce.mv)(),l=c.isLoaderVisible,d=c.setLoaderVisible,p=(0,ce.oV)(),v=p.activeAccount,f=p.isLocalAccountAddress,m=(0,ce.ci)(),h=m.activeMultisigAccount,A=m.activeMultisigAccountExplorerUrl,k=m.updateMultisigAccounts,y=m.fetchAdditionalInfo,b=m.stopFetchingAdditionalInfo,w=(0,ce.CP)(),C=w.nodeNetworkId,x=(0,ce.ju)(),S=x.pendingMultisigTxExpired,E=x.pendingMultisigTxExpiresAt,I=x.pendingMultisigTxCanBeSent,W=x.pendingMultisigTxLocalSigners,F=x.pendingMultisigTxConfirmedByLocalSigners,D=(0,ce.jC)(),B=D.fetchActiveMultisigTx,P=D.fetchTransactionByHash,M=D.sendTx,O=D.callContractMethod,R=(0,ce.Y7)(),N=R.getTxAssetSymbol,U=i.C.getAdapter(o.yv.aeternity).getExplorer(),X=(0,bt.KR)(null),V=(0,bt.KR)(null),H=(0,bt.KR)(!1),$=(0,ce.my)(),j=$.transactionAssets,q=$.setActiveTransaction,G=(0,K.EW)((function(){var e;if(!H.value||!V.value)return 0;var t=V.value.tx,n=null===(e=t.tx)||void 0===e?void 0:e.tx;return n?new pe.A(n.amount).plus(t.fee).plus(n.fee).toString():0})),Q=(0,K.EW)((function(){return E.value>0?"(≈".concat((0,L.zw)(E.value),")"):null}));function Z(){return zb(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,B();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:X.value=Object.assign(Object.assign({},t.tx),{type:g.vw[g.vw.GaMetaTx],tag:g.vw.GaMetaTx}),q({tx:X.value});case 7:case"end":return e.stop()}}),e)})))}function Y(e,t,a){if(e){var o,i=e.message;(0,_.mo)(e)&&(i=t?n("modals.vaultLowBalance.msg"):n("modals.accountLowBalance.msg",{action:a}),o=n(t?"modals.vaultLowBalance.title":"modals.accountLowBalance.title")),r({icon:"warning",title:o,msg:i,textCenter:!0})}}function z(t,n){var a;return zb(this,void 0,void 0,(0,s.A)().mark((function r(){var i,c,l,p,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(h.value){r.next=2;break}return r.abrupt("return");case 2:return d(!0),r.prev=3,r.next=6,u(o.eN,{action:t,signers:W.value});case 6:return i=r.sent,c=h.value,l=c.contractId,p=c.txHash,f=new Lb.L(C),r.next=11,O(t,l,p,v.value.address!==i?{onAccount:{address:i,signTransaction:f.signTransaction.bind({nodeNetworkId:C,sign:f.sign})},fromAccount:i}:{});case 11:return r.next=13,k();case 13:(null===(a=h.value)||void 0===a?void 0:a.txHash)||e.push({name:Ye.zn}),r.next=19;break;case 16:r.prev=16,r.t0=r["catch"](3),Y(r.t0,!1,n.toString().toLowerCase());case 19:return r.prev=19,d(!1),r.finish(19);case 22:case"end":return r.stop()}}),r,null,[[3,16,19,22]])})))}function J(){return zb(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,o;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value&&I.value){e.next=2;break}return e.abrupt("return");case 2:return d(!0),e.prev=3,t=h.value,n=t.gaAccountId,a=t.txHash,r=t.nonce,e.next=7,P(a);case 7:if(o=e.sent,o){e.next=10;break}throw Error("failed to load a transaction");case 10:return e.next=12,M(n,o.tx,r);case 12:return V.value=e.sent,e.next=15,k();case 15:H.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](3),Y(e.t0,!0);case 21:d(!1);case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))}return(0,K.wB)((function(){return h.value}),(function(e,t){e&&!(0,xb.A)(e,t)&&Z()}),{immediate:!0}),(0,K.wB)((function(){return X.value}),(function(){y()})),(0,Fe.Y0)((function(){b(),d(!1)})),{AE_SYMBOL:T.kf,PROTOCOLS:o.yv,TX_FUNCTIONS_MULTISIG:T.y5,activeMultisigAccount:h,activeMultisigAccountExplorerUrl:A,multisigTx:X,transaction:V,transactionAssets:j,totalSpent:G,getTxAssetSymbol:N,getTransactionPayload:_.L5,splitAddress:L.lS,aettosToAe:_.c4,formatDate:L.Yq,formatTime:L.fU,isLocalAccountAddress:f,isLoaderVisible:l,pendingMultisigTxCanBeSent:I,pendingMultisigTxExpired:S,protocolExplorer:U,expirationHeightToRelativeTime:Q,pendingMultisigTxConfirmedByLocalSigners:F,proposalCompleted:H,blocksToRelativeTime:L.zw,dispatchProposalAction:z,processProposal:J}}}),ew=(0,Ft.A)(Jb,[["render",Cb],["__scopeId","data-v-59015a73"]]),tw=ew;var nw={class:"reset-wallet-settings"},aw={class:"text-description"};function rw(e,t,n,a,r,o){var i=(0,K.g2)("RouterLink"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",nw,[(0,K.Lk)("p",aw,(0,tt.v_)(e.$t("pages.resetWallet.description")),1),(0,K.bF)(s,{keypath:"pages.resetWallet.description2",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:"settings-seed-phrase"}},{default:(0,K.k6)((function(){return[(0,K.eW)(" seed phrase ")]})),_:1})]})),_:1}),(0,K.bF)(u,{variant:"danger",class:"reset-wallet-button",extend:"",text:e.$t("pages.resetWallet.title"),icon:e.ResetWalletIcon,onClick:e.onResetWallet},null,8,["text","icon","onClick"])])]})),_:1})]})),_:1})}var ow={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},iw=(0,K.Lk)("path",{d:"M22.6722 10.9517H21.4542C20.9409 6.54084 17.113 3 12.5021 3C9.95303 3 7.63887 4.11358 6.03809 5.85355C5.6118 6.27115 5.6292 6.82794 5.9772 7.14983C6.33389 7.48043 6.84718 7.48043 7.28217 7.08023C8.57845 5.67956 10.4402 4.80087 12.5021 4.80087C16.1734 4.80087 19.1401 7.48913 19.636 10.9517H18.3049C17.635 10.9517 17.4523 11.4476 17.8438 11.9869L19.9231 14.9275C20.245 15.3625 20.7321 15.3712 21.0453 14.9275L23.1333 11.9957C23.5248 11.4476 23.3508 10.9517 22.6722 10.9517ZM12.5108 13.4311C12.9893 13.4311 13.259 13.1614 13.2764 12.6568L13.4069 8.47221C13.4243 7.95892 13.0415 7.59352 12.5021 7.59352C11.9627 7.59352 11.5886 7.95022 11.606 8.46351L11.7278 12.6655C11.7452 13.1614 12.0236 13.4311 12.5108 13.4311ZM2.33196 13.0483H3.55864C4.07193 17.4592 7.89986 21 12.5021 21C15.0685 21 17.3827 19.8777 18.9835 18.1377C19.4011 17.7202 19.3837 17.1634 19.0357 16.8415C18.679 16.5109 18.1744 16.5109 17.7307 16.9198C16.4518 18.3204 14.5901 19.1991 12.5021 19.1991C8.83945 19.1991 5.8728 16.5109 5.37691 13.0483H6.69928C7.36047 13.0483 7.55187 12.5524 7.16038 12.0131L5.07241 9.0725C4.75922 8.63751 4.27202 8.62881 3.95883 9.0725L1.87086 12.0043C1.47067 12.5524 1.65337 13.0483 2.33196 13.0483ZM12.5108 16.3195C13.0763 16.3195 13.5374 15.9106 13.5374 15.3625C13.5374 14.8057 13.0763 14.4055 12.5108 14.4055C11.9453 14.4055 11.4842 14.8144 11.4842 15.3625C11.4842 15.9106 11.954 16.3195 12.5108 16.3195Z",fill:"currentColor"},null,-1),sw=[iw];function uw(e,t){return(0,K.uX)(),(0,K.CE)("svg",ow,sw)}const cw={},lw=(0,Ft.A)(cw,[["render",uw]]),dw=lw,pw=(0,K.pM)({components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.U8)(),t=e.openModal;function n(){t(o.iL)}return{ResetWalletIcon:dw,onResetWallet:n}}}),vw=(0,Ft.A)(pw,[["render",rw],["__scopeId","data-v-11f9ae84"]]),fw=vw;var mw=function(e){var t,n,a=function(){var e,t;return null===(t=null===(e=window.popupProps)||void 0===e?void 0:e.reject)||void 0===t?void 0:t.call(e,new Ka.v)};window.addEventListener("beforeunload",a);var r=function(e){return function(){e.apply(void 0,arguments),window.removeEventListener("beforeunload",a),window.close()}},o=Object.assign(Object.assign({},window.popupProps),{resolve:r(null===(t=window.popupProps)||void 0===t?void 0:t.resolve),reject:r(null===(n=window.popupProps)||void 0===n?void 0:n.reject)}),i=(0,ce.m)(),s=i.setPopupProps;return s(o),(0,K.h)(e)},gw=o.u2&&o.bW?[{name:o.kV,component:Zm},{name:o.Mc,component:ig},{name:o.iE,component:js},{name:o.K$,component:Ps},{name:o.gK,component:pg}].map((function(e){var t=e.name,n=e.component;return{name:"".concat(Ye.t,"-").concat(t),path:"/".concat(Ye.t,"/").concat(t),component:mw(n),meta:{notPersist:!0,hideHeader:!0}}})):[];const hw=gw;var Aw={"data-cy":"networks",class:"networks"},kw={class:"text-description"},yw={class:"networks-list"};function bw(e,t,n,a,r,o){var i=(0,K.g2)("NetworkRow"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Aw,[(0,K.Lk)("p",kw,(0,tt.v_)(e.$t("pages.network.listLabel")),1),(0,K.Lk)("div",yw,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.name,network:t,"is-active":t.name===e.activeNetwork.name,onSelectNetwork:e.switchNetwork,onDeleteNetwork:e.deleteCustomNetwork},null,8,["network","is-active","onSelectNetwork","onDeleteNetwork"])})),128))]),(0,K.bF)(s,{extend:"",variant:"muted",class:"add-custom-network","data-cy":"to-add",text:e.$t("pages.network.addCustomNetwork"),icon:e.PlusCircleIcon,to:{name:e.ROUTE_NETWORK_ADD}},null,8,["text","icon","to"])])]})),_:1})]})),_:1})}var ww={class:"name-and-actions"},Cw={class:"name","data-cy":"network-name"},xw={key:0,class:"actions"},Lw={class:"network-details"},Sw=["textContent"];function Tw(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon"),s=(0,K.g2)("RadioButton");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["network-row",{inactive:!e.isActive}])},[(0,K.bF)(s,{value:e.isActive,type:"radio",name:"activeNetwork",onInput:t[1]||(t[1]=function(t){return e.$emit("selectNetwork",e.network.name)})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ww,[(0,K.Lk)("p",Cw,(0,tt.v_)(e.network.name),1),e.network.type===e.NETWORK_TYPE_CUSTOM?((0,K.uX)(),(0,K.CE)("div",xw,[(0,K.bF)(i,{size:"sm","data-cy":"network-edit",dimmed:"",to:{name:e.ROUTE_NETWORK_EDIT,params:{name:e.network.name}},icon:e.PencilIcon},null,8,["to","icon"]),(0,K.bF)(i,{size:"sm","data-cy":"network-delete","icon-variant":"danger",dimmed:"",icon:e.TrashIcon,onClick:t[0]||(t[0]=function(t){e.$emit("deleteNetwork",e.network.name)})},null,8,["icon"])])):(0,K.Q3)("",!0)])]})),_:1},8,["value"]),(0,K.Lk)("table",Lw,[(0,K.Lk)("tbody",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networkSettingsToDisplay,(function(t,n){var a;return(0,K.uX)(),(0,K.CE)("tr",{key:n,class:"url"},[(0,K.Lk)("td",{class:"url-label",textContent:(0,tt.v_)(e.getProtocolName(n))},null,8,Sw),(0,K.Lk)("td",null,(0,tt.v_)(null===(a=t.nodeUrl)||void 0===a?void 0:a.replace("https://","")),1)])})),128))])])],2)}var Ew=n(94386);const Iw=(0,K.pM)({components:{BtnIcon:Co.A,RadioButton:El.A},props:{network:{type:Object,required:!0},isActive:Boolean},emits:{selectNetwork:function(e){return!0},deleteNetwork:function(e){return!0}},setup:function(e){var t=(0,K.EW)((function(){return Object.fromEntries(Object.keys(e.network.protocols).map((function(t){var n=e.network.protocols[t];return n.nodeUrl?[t,n]:[]})))}));function n(e){return i.C.getAdapter(e).protocolName}return{NETWORK_TYPE_CUSTOM:o.Qb,ROUTE_NETWORK_EDIT:Ye.iO,PencilIcon:Ew.A,TrashIcon:Em.A,networkSettingsToDisplay:t,getProtocolName:n}}}),_w=(0,Ft.A)(Iw,[["render",Tw],["__scopeId","data-v-f4fc97a8"]]),Ww=_w;var Fw={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Dw=(0,K.Lk)("path",{d:"M9.99605 18.3334C14.5635 18.3334 18.3334 14.5617 18.3334 10.0001C18.3334 5.43851 14.5554 1.66675 9.988 1.66675C5.42863 1.66675 1.66675 5.43851 1.66675 10.0001C1.66675 14.5617 5.43669 18.3334 9.99605 18.3334ZM6.09723 10.0081C6.09723 9.53264 6.43556 9.20221 6.90277 9.20221H9.19857V6.9053C9.19857 6.43786 9.52078 6.10743 9.97994 6.10743C10.4552 6.10743 10.7855 6.43786 10.7855 6.9053L10.7855 9.20221L13.0893 9.20221C13.5485 9.20221 13.8868 9.53264 13.8868 10.0081C13.8868 10.4675 13.5485 10.798 13.0893 10.798H10.7855V13.0949C10.7855 13.5542 10.4552 13.8927 9.97994 13.8927C9.52078 13.8927 9.19857 13.5542 9.19857 13.0949L9.19857 10.798L6.90277 10.798C6.43556 10.798 6.09723 10.4675 6.09723 10.0081Z",fill:"currentColor"},null,-1),Bw=[Dw];function Pw(e,t){return(0,K.uX)(),(0,K.CE)("svg",Fw,Bw)}const Mw={},Ow=(0,Ft.A)(Mw,[["render",Pw]]),Rw=Ow,Nw=(0,K.pM)({components:{BtnMain:Mo.A,NetworkRow:Ww,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.fI)(),t=e.activeNetwork,n=e.networks,a=e.switchNetwork,r=e.deleteCustomNetwork;return{activeNetwork:t,networks:n,PlusCircleIcon:Rw,ROUTE_NETWORK_ADD:Ye.jA,switchNetwork:a,deleteCustomNetwork:r}}}),Uw=(0,Ft.A)(Nw,[["render",bw],["__scopeId","data-v-00a35ffe"]]),Xw=Uw;var Vw=function(e){return(0,K.Qi)("data-v-e89c9e08"),e=e(),(0,K.jt)(),e},Hw={class:"network-form","data-cy":"network-form"},$w={key:1,class:"text-description"},jw=["data-cy"],Kw=Vw((function(){return(0,K.Lk)("hr",null,null,-1)})),qw=["textContent"],Gw={class:"button-wrapper"};function Qw(e,t,n,a,r,o){var i=(0,K.g2)("InfoBox"),s=(0,K.g2)("InputField"),u=(0,K.g2)("Field"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Hw,[e.isNetworkPrefilled?((0,K.uX)(),(0,K.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("pages.network.thirdPartyDetails")},null,8,["type","text"])):((0,K.uX)(),(0,K.CE)("p",$w,(0,tt.v_)(e.$t("pages.network.formLabel")),1)),(0,K.bF)(u,{key:"name",name:"name",rules:{required:!0,network_exists:[e.customNetworks,e.savedNetworkName],max_len:e.NETWORK_NAME_MAX_LENGTH}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkName,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.newNetworkName=t}),"data-cy":"network-name",placeholder:e.$t("pages.network.networkNamePlaceholder"),label:e.$t("pages.network.networkNameLabel"),message:r,"text-limit":e.NETWORK_NAME_MAX_LENGTH}),null,16,["modelValue","placeholder","label","message","text-limit"])]})),_:1},8,["rules"]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.formStructure,(function(t){var n=t.inputs,a=t.name,r=t.protocol;return(0,K.uX)(),(0,K.CE)("div",{key:r,"data-cy":"group-".concat(r)},[Kw,(0,K.Lk)("h3",{class:"text-heading-3",textContent:(0,tt.v_)(a)},null,8,qw),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(n,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:r+t.key,name:"".concat(r,"-").concat(t.key),rules:Object.assign({required:!0===t.required,url:!0},t.validationRules)},{default:(0,K.k6)((function(n){var a=n.field,o=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkProtocols[r][t.key],"onUpdate:modelValue":function(n){return e.newNetworkProtocols[r][t.key]=n},placeholder:t.getPlaceholder(),label:t.getLabel(),"data-cy":t.key,message:o}),null,16,["modelValue","onUpdate:modelValue","placeholder","label","data-cy","message"])]})),_:2},1032,["name","rules"])})),128))],8,jw)})),128)),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[Object.keys(e.errors).length?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"invalid-form-message",type:e.INFO_BOX_TYPES.danger,text:e.$t("validation.formInvalid")},null,8,["type","text"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.Lk)("div",Gw,[(0,K.bF)(c,{"data-cy":"cancel",variant:"muted",class:"cancel-button","extra-padded":"",text:e.$t("common.cancel"),onClick:e.goBack},null,8,["text","onClick"]),(0,K.bF)(c,{icon:e.isEdit?null:e.PlusCircleIcon,disabled:!!Object.keys(e.errors).length,"data-cy":"btn-add-network",class:"add-button",onClick:t[1]||(t[1]=function(t){return e.addOrUpdateNetwork()})},{default:(0,K.k6)((function(){return[e.isEdit?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.apply")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.addNetwork")),1)],64))]})),_:1},8,["icon","disabled"])])])]})),_:1})]})),_:1})}var Zw=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Yw=(0,K.pM)({name:"NetworkForm",components:{InfoBox:Qg.A,BtnMain:Mo.A,InputField:ev.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e,t=this,n=(0,De.mN)(),a=n.setValues,r=n.validate,u=n.errors,c=o.E4.map((function(e){var t=i.C.getAdapter(e);return{protocol:e,name:t.protocolName,inputs:t.getNetworkSettings()}})),l=(0,za.rd)(),d=(0,za.lq)(),p=(0,ce.fI)(),v=p.networks,f=p.customNetworks,m=p.switchNetwork,g=p.addCustomNetwork,h=p.updateCustomNetwork,A=d.name===Ye.iO,k=null===(e=d.params.name)||void 0===e?void 0:e.toString(),y=A?f.value.findIndex((function(e){var t=e.name;return t===k})):null,b=Object.fromEntries(o.E4.map((function(e){return[e,{}]}))),w=(0,bt.KR)(""),C=(0,bt.KR)(b),x=(0,bt.KR)(!1);function L(){l.replace({name:Ye.nj})}function S(){return Zw(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r();case 2:if(e.sent.valid){e.next=4;break}return e.abrupt("return");case 4:t={name:w.value,type:o.Qb,protocols:C.value},A?h(y,t):g(t),m(w.value),L();case 8:case"end":return e.stop()}}),e)})))}function T(){o.E4.forEach((function(e){var t=i.C.getAdapter(e),n=t.getNetworkSettings();C.value[e]=Object.fromEntries(n.map((function(e){var t=e.key,n=e.defaultValue;return n?[t,n]:[]})))}))}function E(){if(Object.keys(d.query).length){var e=["nodeUrl","middlewareUrl"];e.forEach((function(e){var t=d.query[e];t&&"string"===typeof t&&(C.value[o.yv.aeternity][e]=t,x.value=!0)}))}}function I(){var e={name:w.value};o.E4.forEach((function(t){var n=C.value[t];Object.keys(n).forEach((function(a){e["".concat(t,"-").concat(a)]=n[a]}))})),a(e)}return(0,K.sV)((function(){return Zw(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:A?(w.value=k,C.value=v.value[w.value].protocols):(T(),E()),I();case 2:case"end":return e.stop()}}),e)})))})),{NETWORK_NAME_MAX_LENGTH:o.VG,INFO_BOX_TYPES:Qg.F,PlusCircleIcon:Rw,savedNetworkName:k,newNetworkProtocols:C,newNetworkName:w,networks:v,customNetworks:f,isNetworkPrefilled:x,isEdit:A,formStructure:c,errors:u,addOrUpdateNetwork:S,goBack:L}}}),zw=(0,Ft.A)(Yw,[["render",Qw],["__scopeId","data-v-e89c9e08"]]),Jw=zw;var eC={key:0,class:"multisig-details"},tC={class:"address-row"},nC={class:"address-row"},aC={class:"row"};function rC(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("AddressFormatted"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("ExternalLinkIcon"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("BtnHelp"),p=(0,K.g2)("ConsensusLabel"),v=(0,K.g2)("AuthorizedAccounts"),f=(0,K.g2)("IonContent"),m=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(m,null,{default:(0,K.k6)((function(){return[(0,K.bF)(f,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount?((0,K.uX)(),(0,K.CE)("div",eC,[(0,K.bF)(u,{label:e.$t("multisig.address")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",tC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.gaAccountId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.gaAccountId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("common.contractId")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",nC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.contractId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.contractId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(l,{class:"explorer-link",to:e.activeMultisigAccountExplorerUrl},{icon:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"external-icon"})]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("multisig.explorerLink"))+" ",1)]})),_:1},8,["to"]),(0,K.Lk)("div",aC,[(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.version"),value:e.activeMultisigAccount.version},null,8,["label","value"]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.currentNonce"),value:e.activeMultisigAccount.nonce},null,8,["label","value"])]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(d,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),value:(0,K.k6)((function(){return[(0,K.bF)(p,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]})),_:1},8,["label"]),(0,K.bF)(v,{"address-list":e.activeMultisigAccount.signers},null,8,["address-list"])])):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var oC=n(74295),iC={class:"account-list"};function sC(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("DialogBox"),u=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.Wv)(u,{label:e.$t("multisig.authorizedSigners"),class:"authorized-accounts"},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",iC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"account-row"},[(0,K.bF)(i,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"dialog",dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"])}const uC=(0,K.pM)({name:"AuthorizedAccounts",components:{DialogBox:Tb.h,DetailsItem:Ts.A,AccountItem:Ld.A},props:{addressList:{type:Array,default:function(){return[]}}},setup:function(){var e=(0,ce.oV)(),t=e.isLocalAccountAddress;return{isLocalAccountAddress:t,PROTOCOLS:o.yv}}}),cC=(0,Ft.A)(uC,[["render",sC],["__scopeId","data-v-1229a01e"]]),lC=cC,dC=(0,K.pM)({name:"MultisigDetails",components:{BtnHelp:sd.A,ConsensusLabel:Jn,LinkButton:wt.A,AuthorizedAccounts:lC,Avatar:us.A,AddressFormatted:oC.A,DetailsItem:Ts.A,ExternalLinkIcon:Mt.A,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=(0,ce.U8)(),t=e.openModal,n=(0,ce.ci)(),a=n.activeMultisigAccount,r=n.activeMultisigAccountExplorerUrl,i=n.fetchAdditionalInfo,s=n.stopFetchingAdditionalInfo;function u(){t(o.bG)}return(0,Fe.xX)(i),(0,Fe.Y0)(s),(0,K.xo)(s),{activeMultisigAccount:a,activeMultisigAccountExplorerUrl:r,openConsensusInfoModal:u}}}),pC=(0,Ft.A)(dC,[["render",rC],["__scopeId","data-v-170ee221"]]),vC=pC;function fC(e,t,n,a,r,o){var i=(0,K.g2)("IonRouterOutlet"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{animated:!e.RUNNING_IN_TESTS&&!e.IS_FIREFOX,animation:e.popInAnimation},null,8,["animated","animation"])]})),_:1})}const mC=(0,K.pM)({components:{IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},setup:function(){var e=(0,za.lq)(),t=(0,ce.mv)(),n=t.setHomeRouteName;function r(){var t=(0,a.A)(e.matched,1),r=t[0];n(r.meta.isMultisig?Ye.zn:Ye.qJ)}return(0,K.$u)((function(){r()})),(0,K.sV)((function(){r()})),{RUNNING_IN_TESTS:o.yW,IS_FIREFOX:o.$M,popInAnimation:du.l$}}}),gC=(0,Ft.A)(mC,[["render",fC]]),hC=gC;var AC={key:0},kC={class:"apps-browser-popular-apps"},yC={class:"apps-browser-list"},bC=["src"];function wC(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHeader"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("InputField"),c=(0,K.g2)("Field"),l=(0,K.g2)("AppsBrowserListItem"),d=(0,K.g2)("AppsBrowserHistory"),p=(0,K.g2)("BackToTop"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["apps-browser",{"app-selected":e.selectedApp}])},[(0,K.bF)(i,{"selected-app":e.selectedApp,iframe:e.iframeRef,onBack:t[0]||(t[0]=function(t){return e.back()}),onRefresh:t[1]||(t[1]=function(t){return e.refresh()})},null,8,["selected-app","iframe"]),e.selectedApp?((0,K.uX)(),(0,K.CE)("iframe",{key:1,ref:"iframeRef",title:"selectedApp",class:"apps-browser-iframe",src:e.selectedApp.url,onLoad:t[3]||(t[3]=function(t){return e.onAppLoaded()})},null,40,bC)):((0,K.uX)(),(0,K.CE)("div",AC,[(0,K.bF)(c,{modelValue:e.customAppURL,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.customAppURL=t}),name:"customAppURL",rules:{url:e.customAppURL.length>0}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage,r=t.resetField;return[(0,K.bF)(u,(0,K.v6)(n,{"model-value":e.customAppURL,class:"input-url",type:"url","show-message-help":"",placeholder:e.$t("pages.appsBrowser.inputPlaceholder"),message:a,onKeydown:(0,We.jR)((0,We.D$)((function(t){return e.handleEnter(t,a)}),["stop"]),["enter"])}),{after:(0,K.k6)((function(){return[e.customAppURL.length?((0,K.uX)(),(0,K.Wv)(s,{key:1,size:"sm",icon:e.CloseIcon,onClick:function(e){return r({value:""})}},null,8,["icon","onClick"])):((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.GlobeSmallIcon),{key:0}))]})),_:2},1040,["model-value","placeholder","message","onKeydown"])]})),_:1},8,["modelValue","rules"]),(0,K.Lk)("div",kC,(0,tt.v_)(e.$t("pages.appsBrowser.popularApps")),1),(0,K.Lk)("div",yC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.DAPPS_LIST,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.title,class:"apps-browser-card"},[(0,K.bF)(l,{title:t.title,image:t.image,onClick:function(n){return e.onSelectApp(t)}},null,8,["title","image","onClick"])])})),128))]),(0,K.bF)(d,{onSelectApp:e.onSelectApp},null,8,["onSelectApp"])]))],2),e.selectedApp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(p,{key:0}))]})),_:1})]})),_:1})}var CC=n(22146),xC=n(31490),LC=(n(13609),n(54228)),SC=(0,LC.S)([],o.d5.appsBrowserHistory);function TC(){function e(e){var t=new URL(e),n=t.hostname,a=t.pathname;return"".concat(n).concat(a)}function t(t){var n=e(t.url),a=SC.value.filter((function(e){return e.cleanPath!==n}));a.unshift(Object.assign(Object.assign({},t),{cleanPath:n})),a.length>o.Y6&&a.pop(),SC.value=a}return{history:SC,addHistoryItem:t}}var EC={class:"apps-browser-header"},IC={key:0,class:"left"},_C={class:"title"},WC={key:1,class:"host"},FC={class:"right"};function DC(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("SecureIcon"),l=(0,K.g2)("BtnClose");return(0,K.uX)(),(0,K.CE)("div",EC,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",IC,[(0,K.bF)(i,{modelValue:e.accountAddress,"onUpdate:modelValue":[t[0]||(t[0]=function(t){return e.accountAddress=t}),e.onAccountChange],"avatar-only":"",options:e.aeAccountsSelectOptions},null,8,["modelValue","options","onUpdate:modelValue"]),(0,K.bF)(s,{class:"icon-btn","data-cy":"back-arrow",icon:e.BackIcon,onClick:e.back},null,8,["icon","onClick"])])):(0,K.Q3)("",!0),(0,K.Lk)("div",_C,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",WC,[e.isSecure?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"icon secure-lock"})):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.selectedAppHost),1)])):((0,K.uX)(),(0,K.Wv)(u,{key:0,str:e.$t("pages.titles.appsBrowser"),class:"text"},null,8,["str"]))]),(0,K.Lk)("div",FC,[e.selectedApp?((0,K.uX)(),(0,K.Wv)(s,{key:0,icon:e.ThreeDotsIcon,onClick:e.openActions},null,8,["icon","onClick"])):(0,K.Q3)("",!0),(0,K.bF)(l,{"data-cy":"btn-close",class:"btn-close",onClick:e.close},null,8,["onClick"])])])}var BC=n(86295),PC={viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},MC=(0,K.Lk)("path",{id:"Vector",d:"M5.99143 15.1C5.50286 15.1 5.13214 14.9693 4.87929 14.708C4.62643 14.4509 4.5 14.0632 4.5 13.5448V9.06237C4.5 8.54817 4.62643 8.16252 4.87929 7.90542C5.13214 7.64832 5.50286 7.51977 5.99143 7.51977H12.0086C12.4971 7.51977 12.8679 7.64832 13.1207 7.90542C13.3736 8.16252 13.5 8.54817 13.5 9.06237V13.5448C13.5 14.0632 13.3736 14.4509 13.1207 14.708C12.8679 14.9693 12.4971 15.1 12.0086 15.1H5.99143ZM6.17143 13.962H11.8286C11.9614 13.962 12.0643 13.922 12.1371 13.8419C12.21 13.766 12.2464 13.6522 12.2464 13.5005V9.11295C12.2464 8.96121 12.21 8.84742 12.1371 8.77155C12.0643 8.69569 11.9614 8.65775 11.8286 8.65775H6.17143C6.04286 8.65775 5.94 8.69569 5.86286 8.77155C5.79 8.84742 5.75357 8.96121 5.75357 9.11295V13.5005C5.75357 13.6522 5.79 13.766 5.86286 13.8419C5.94 13.922 6.04286 13.962 6.17143 13.962ZM5.67643 8.05083V6.04039C5.67643 5.26066 5.83071 4.60948 6.13929 4.08685C6.45214 3.56001 6.86143 3.16382 7.36714 2.89829C7.87286 2.63276 8.41714 2.5 9 2.5C9.58286 2.5 10.1271 2.63276 10.6329 2.89829C11.1386 3.16382 11.5457 3.56001 11.8543 4.08685C12.1671 4.60948 12.3236 5.26066 12.3236 6.04039V8.05083H11.1214V5.92659C11.1214 5.43347 11.0229 5.01831 10.8257 4.68113C10.6329 4.33974 10.3757 4.08053 10.0543 3.90351C9.73286 3.72649 9.38143 3.63798 9 3.63798C8.61857 3.63798 8.26714 3.72649 7.94571 3.90351C7.62429 4.08053 7.36714 4.33974 7.17429 4.68113C6.98143 5.01831 6.885 5.43347 6.885 5.92659V8.05083H5.67643Z",fill:"currentColor"},null,-1),OC=[MC];function RC(e,t){return(0,K.uX)(),(0,K.CE)("svg",PC,OC)}const NC={},UC=(0,Ft.A)(NC,[["render",RC]]),XC=UC;var VC={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},HC=(0,K.Lk)("path",{d:"M17 12C17 11.5055 17.1466 11.0222 17.4213 10.6111C17.696 10.2 18.0865 9.87952 18.5433 9.6903C19.0001 9.50108 19.5028 9.45157 19.9877 9.54804C20.4727 9.6445 20.9181 9.8826 21.2678 10.2322C21.6174 10.5819 21.8555 11.0273 21.952 11.5123C22.0484 11.9972 21.9989 12.4999 21.8097 12.9567C21.6205 13.4135 21.3 13.804 20.8889 14.0787C20.4778 14.3534 19.9945 14.5 19.5 14.5C18.837 14.5 18.2011 14.2366 17.7322 13.7678C17.2634 13.2989 17 12.663 17 12Z",fill:"currentColor"},null,-1),$C=(0,K.Lk)("path",{opacity:"0.66",d:"M9.92133 10.6111C9.64662 11.0222 9.5 11.5055 9.5 12C9.5 12.663 9.76339 13.2989 10.2322 13.7678C10.7011 14.2366 11.337 14.5 12 14.5C12.4945 14.5 12.9778 14.3534 13.3889 14.0787C13.8 13.804 14.1205 13.4135 14.3097 12.9567C14.4989 12.4999 14.5484 11.9972 14.452 11.5123C14.3555 11.0273 14.1174 10.5819 13.7678 10.2322C13.4181 9.8826 12.9727 9.6445 12.4877 9.54804C12.0028 9.45157 11.5001 9.50108 11.0433 9.6903C10.5865 9.87952 10.196 10.2 9.92133 10.6111Z",fill:"currentColor"},null,-1),jC=(0,K.Lk)("path",{opacity:"0.44",d:"M2.42133 10.6111C2.14662 11.0222 2 11.5055 2 12C2 12.663 2.26339 13.2989 2.73223 13.7678C3.20107 14.2366 3.83696 14.5 4.5 14.5C4.99445 14.5 5.4778 14.3534 5.88893 14.0787C6.30005 13.804 6.62048 13.4135 6.8097 12.9567C6.99892 12.4999 7.04843 11.9972 6.95196 11.5123C6.8555 11.0273 6.6174 10.5819 6.26777 10.2322C5.91814 9.8826 5.47268 9.6445 4.98773 9.54804C4.50277 9.45157 4.00011 9.50108 3.54329 9.6903C3.08648 9.87952 2.69603 10.2 2.42133 10.6111Z",fill:"currentColor"},null,-1),KC=[HC,$C,jC];function qC(e,t){return(0,K.uX)(),(0,K.CE)("svg",VC,KC)}const GC={},QC=(0,Ft.A)(GC,[["render",qC]]),ZC=QC;var YC=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const zC=(0,K.pM)({components:{BtnClose:BC.A,Truncate:Nn.A,BtnIcon:Co.A,SecureIcon:XC,AccountSelector:ps},props:{selectedApp:{type:Object,default:null},iframe:{type:Object,default:null}},emits:["back","refresh"],setup:function(e,t){var n=t.emit,a=(0,Fe.jq)(),r=(0,ce.U8)(),i=r.openModal,u=(0,ce.mv)(),c=u.homeRouteName,l=(0,ce.oV)(),d=l.isLoggedIn,p=l.activeAccount,v=l.aeAccountsSelectOptions,f=l.setActiveAccountByAddress,m=(0,K.EW)((function(){return d.value?c.value:Ye.nv})),g=(0,K.EW)((function(){var t;return null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url.startsWith("https://")})),h=(0,K.EW)((function(){var t,n=new URL(null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url);return null===n||void 0===n?void 0:n.host})),A=(0,bt.KR)((0,bt.R1)(p.value.address));function k(e){f(e)}function y(){n("back")}function b(){a.navigate("/".concat(m.value),"back","push")}function w(){return YC(this,void 0,void 0,(0,s.A)().mark((function t(){var a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i(o.TG,{iframe:e.iframe,selectedApp:null===e||void 0===e?void 0:e.selectedApp});case 3:a=t.sent,(null===a||void 0===a?void 0:a.action)===o.dL.refresh&&n("refresh"),t.next=10;break;case 7:throw t.prev=7,t.t0=t["catch"](0),t.t0;case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))}return{isSecure:g,openActions:w,homeRouteName:c,accountAddress:A,selectedAppHost:h,onAccountChange:k,aeAccountsSelectOptions:v,BackIcon:ao.A,ThreeDotsIcon:ZC,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,back:y,close:b}}}),JC=(0,Ft.A)(zC,[["render",DC],["__scopeId","data-v-639ab793"]]),ex=JC;var tx={class:"apps-browser-list-item",type:"button"},nx={class:"app-image-wrapper"},ax=["src"],rx={class:"app-title"};function ox(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("button",tx,[(0,K.Lk)("div",nx,[(0,K.Lk)("img",{src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,ax)]),(0,K.Lk)("div",rx,(0,tt.v_)(e.title),1)])}const ix=(0,K.pM)({name:"AppsBrowserListItem",props:{title:{type:String,required:!0},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t}}}),sx=(0,Ft.A)(ix,[["render",ox],["__scopeId","data-v-4e0231c6"]]),ux=sx;var cx={key:0,class:"apps-browser-history"},lx={class:"apps-browser-history-title"},dx={class:"apps-browser-list"};function px(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHistoryListItem");return e.hasHistory?((0,K.uX)(),(0,K.CE)("div",cx,[(0,K.Lk)("div",lx,(0,tt.v_)(e.$t("pages.appsBrowser.recentApps")),1),(0,K.Lk)("div",dx,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.history,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.cleanPath},[(0,K.bF)(i,{title:t.title,image:t.image,url:t.url,onClick:function(n){return e.$emit("select-app",t)}},null,8,["title","image","url","onClick"])])})),128))])])):(0,K.Q3)("",!0)}var vx={class:"app-image-wrapper"},fx=["src"],mx={class:"app-info"},gx={key:0,class:"app-title"},hx={class:"app-url"};function Ax(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper");return(0,K.uX)(),(0,K.CE)("button",{class:(0,tt.C4)(["apps-browser-history-list-item",{"no-title":!e.title}]),type:"button"},[(0,K.Lk)("div",vx,[e.image?((0,K.uX)(),(0,K.CE)("img",{key:0,src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,fx)):((0,K.uX)(),(0,K.Wv)(i,{key:1,icon:e.GlobeSmallIcon,class:"app-image default","is-full":""},null,8,["icon"]))]),(0,K.Lk)("div",mx,[e.title?((0,K.uX)(),(0,K.CE)("div",gx,(0,tt.v_)(e.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",hx,(0,tt.v_)(e.url),1)])],2)}const kx=(0,K.pM)({name:"AppsBrowserHistoryListItem",components:{IconWrapper:Fo.Ay},props:{url:{type:String,required:!0},title:{type:String,default:null},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t,GlobeSmallIcon:vi.A}}}),yx=(0,Ft.A)(kx,[["render",Ax],["__scopeId","data-v-bd95fcd4"]]),bx=yx,wx=(0,K.pM)({name:"AppsBrowserHistory",components:{AppsBrowserHistoryListItem:bx},emits:["select-app"],setup:function(){var e=TC(),t=e.history,n=(0,K.EW)((function(){return t.value.length>0}));return{hasHistory:n,history:t}}}),Cx=(0,Ft.A)(wx,[["render",px],["__scopeId","data-v-46fe5ab0"]]),xx=Cx;var Lx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Sx=[{title:"Aeternity Governance",url:"https://governance.aeternity.com/",image:"Governance.webp"},{title:"Graffiti Aepp",url:"https://graffiti.aeternity.com",image:"graffiti.svg"},{title:"Superhero DEX",url:"https://aepp.dex.superhero.com/swap",image:"SuperheroDEX.svg"}],Tx="selected-app";const Ex=(0,K.pM)({components:{AppsBrowserListItem:ux,AppsBrowserHeader:ex,AppsBrowserHistory:xx,InputField:ev.A,BtnIcon:Co.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},setup:function(){var e,t=TC(),n=t.addHistoryItem,a=(0,bt.KR)(),r=(0,bt.KR)(),i=(0,bt.KR)(""),u=(0,bt.KR)(""),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=d.modalsOpen,f=(0,K.EW)((function(){return!!v.value.find((function(e){return e.name===o.om}))}));function m(){return Lx(this,void 0,void 0,(0,s.A)().mark((function t(){var o,i,c,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.value&&a.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,l();case 4:o=t.sent,i=!1,c=r.value.contentWindow;try{d=new CC.A({target:c,origin:void 0}),u.value=o.addRpcClient(d),o.shareWalletInfo(u.value),e=setInterval((function(){try{var e=o._clients.get(u.value);e&&(o.shareWalletInfo(u.value),e.status!==xC.fE.CONNECTED||i||(i=!0,n(a.value)))}catch(t){(0,L.fY)(t)}}),3e3)}catch(s){(0,L.fY)(s)}case 8:case"end":return t.stop()}}),t)})))}function g(){r.value&&a.value&&((0,L.AP)([Tx],a.value),window.location.reload())}function h(e){p(o.om).then((function(){var t=e.url.startsWith("http://")||e.url.startsWith("https://")?e.url:"https://".concat(e.url);a.value=Object.assign(Object.assign({},e),{url:t})}),(function(){}))}function A(e,t){i.value.length>0&&!t&&!f.value&&((null===e||void 0===e?void 0:e.target).blur(),h({url:i.value}))}function k(){return Lx(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a.value=null,i.value="",e&&clearInterval(e),!u.value){t.next=8;break}return t.next=6,l();case 6:n=t.sent,n._clients.get(u.value)&&n.removeRpcClient(u.value);case 8:case"end":return t.stop()}}),t)})))}function y(){k()}return(0,K.sV)((function(){var e=(0,L._S)([Tx]);e&&(a.value=e,(0,L.AP)([Tx],null))})),(0,K.hi)((function(){k()})),{refresh:g,iframeRef:r,customAppURL:i,DAPPS_LIST:Sx,selectedApp:a,onSelectApp:h,onAppLoaded:m,CloseIcon:Gb,GlobeSmallIcon:vi.A,back:y,isWarningModalOpened:f,handleEnter:A}}}),Ix=(0,Ft.A)(Ex,[["render",wC],["__scopeId","data-v-1a03c862"]]),_x=Ix;var Wx=n(55437),Fx=[].concat((0,te.A)(hw),[{path:"/",name:Ye.nv,component:qc,meta:{title:"",hideHeader:!0,ifNotAuthOnly:!0,notPersist:!0}},{path:"/",component:hC,redirect:{name:Ye.qJ},children:[{path:"account",name:Ye.qJ,component:Si},{path:"account-details/",component:Jg,props:{viewComponentName:o.AK},children:[{path:"assets",name:Ye.r9,component:Jg,props:{viewComponentName:o._V},meta:{redirectIfNull:Ye.no,showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.no,component:ba,meta:{hideHeader:!0,showFilterBar:!0}},{path:"names",component:Jg,props:{viewComponentName:o.rh},meta:{redirectIfNull:Ye.no},children:[{path:"",name:Ye.ao,component:Vv,props:!0,meta:{hideHeader:!0}},{path:"auctions",component:ep,props:!0,name:Ye.tl,meta:{hideHeader:!0}},{path:"claim",component:ov,props:!0,name:Ye.PC,meta:{hideHeader:!0}}]}]}]},{path:"/account-details/transactions/:hash/:transactionOwner",name:Ye.iB,component:Jg,props:{viewComponentName:o.nZ},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.no}}},{path:"/multisig",component:hC,meta:{isMultisig:!0},children:[{path:"",name:Ye.zn,component:ts},{path:"details/",component:Da,children:[{path:"assets",name:Ye.kb,component:Na,meta:{showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.uc,component:$a,meta:{hideHeader:!0,showFilterBar:!0}},{path:"info",name:Ye.n3,component:vC,meta:{hideHeader:!0}}]},{path:"details/transactions/:hash/:transactionOwner",name:Ye.tX,component:Wx["default"],props:{multisigDashboard:!0},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.uc}}},{path:"details/multisig-proposals",name:Ye.Ie,component:tw,props:!0,meta:{title:"multisigProposalDetails",backRoute:{name:Ye.uc},showHeaderNavigation:!0}},{path:"coins/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.zn})},children:[{name:Ye.fc,path:"",component:$a,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0,isMultisig:!0}},{name:Ye.iz,path:"details",component:Xu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,isMultisig:!0}}]}]},{path:"/transfer/:t(.*)",redirect:"/account/:a(.*)"},{name:Ye.kM,path:"/popup-sign-tx",component:Ps,props:!0,meta:{notPersist:!0}},{name:Ye.Q6,path:"/popup-raw-sign",component:js,props:!0,meta:{notPersist:!0}},{name:Ye.E8,path:"/connect",component:Zm,props:!0,meta:{notPersist:!0}},{name:Ye.xO,path:"/message-sign",component:pg,props:!0,meta:{notPersist:!0}},{name:Ye.Go,path:"/account-list",component:ig,props:!0,meta:{notPersist:!0}},{path:"/more/settings",name:"settings",component:SA,meta:{title:"settings",showHeaderNavigation:!0}},{path:"/more/settings/reset-wallet",name:"settings-reset-wallet",component:fw,meta:{title:"resetWallet",showHeaderNavigation:!0}},{path:"/more/settings/errors-log",name:"settings-errors-log",component:sm,meta:{title:"saveErrorsLog",showHeaderNavigation:!0}},{path:"/more/settings/language",name:"settings-language",component:Fl,meta:{title:"language",showHeaderNavigation:!0}},{path:"/more/settings/currency",name:"settings-currency",component:$l,meta:{title:"currency",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase",name:"settings-seed-phrase",component:fh,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details",name:"settings-seed-phrase-details",component:Mh,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details/verify",name:"settings-seed-phrase-verify",component:bA,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/networks",name:Ye.nj,component:Xw,props:!0,meta:{title:"networks",showHeaderNavigation:!0}},{path:"/more/settings/networks/add",name:Ye.jA,component:Jw,props:!0,meta:{title:"networkAdd",showHeaderNavigation:!0}},{path:"/more/settings/networks/:name",name:Ye.iO,component:Jw,props:!0,meta:{title:"networkEdit",showHeaderNavigation:!0}},{path:"/more/settings/permissions",component:fm,name:Ye.z0,meta:{title:"permissionsSettings",showHeaderNavigation:!0}},{path:"/more/settings/permissions/add",component:Fm,name:Ye.pe,meta:{title:"permissionsAdd",showHeaderNavigation:!0}},{path:"/more/settings/permissions/:host",component:Fm,name:Ye.eS,meta:{title:"permissionsEdit",showHeaderNavigation:!0,isEdit:!0}},{path:"/more/about",component:pn,name:"about",meta:{title:"about",showHeaderNavigation:!0}},{path:"/more/about/terms",component:nb,name:"about-terms",meta:{title:"terms",showHeaderNavigation:!0,showScrollbar:!0,ifNotAuth:!0}},{path:"/more/about/privacy",component:Ug,name:"about-privacy",meta:{title:"privacy",ifNotAuth:!0,showHeaderNavigation:!0,showScrollbar:!0}},{path:"/more/tips-claim",name:"tips-claim",component:lb,meta:{title:"claimTips",showHeaderNavigation:!0}},{path:"/tips",redirect:"/account"},{path:"/retip",component:ch,meta:{title:"sendTip",notPersist:!0,showHeaderNavigation:!0}},{path:"/more",component:Gp,name:"more",meta:{title:"more",showHeaderNavigation:!0}},{path:"/more/invite",name:"invite",component:hl,meta:{title:"giftCards",showHeaderNavigation:!0}},{path:"/more/settings/notifications",name:"notification-settings",component:em,meta:{title:"notifications",showHeaderNavigation:!0}},{path:"/account-details/names/auctions/:name/",component:Jl,props:!0,children:[{path:"",component:kd,props:!0,name:Ye.cH,meta:{title:"auction",showHeaderNavigation:!0}},{path:"history",component:Ed,props:!0,name:Ye.Bh,meta:{title:"auction",backRoute:{name:Ye.tl},showHeaderNavigation:!0}}]},{path:"/comment",component:hs,meta:{title:"commentNew",notPersist:!0,showHeaderNavigation:!0}},{name:Ye.rh,path:"/donate-error",component:ru,props:!0,meta:{title:"donateError",notPersist:!0,ifNotAuth:!0}},{name:"address",path:"/address",component:Za,meta:{title:"address",notPersist:!0}},{path:"/coins/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.s4,path:"",component:Tu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.r,path:"details",component:Xu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{path:"/tokens/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.uY,path:"",component:Tu,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.tE,path:"details",component:Xu,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{name:"sign-message",path:"/sign-message",component:FA,meta:{title:"signMessage",notPersist:!0}},{name:"sign-transaction",path:"/sign-transaction",component:OA,meta:{title:"signTransaction",notPersist:!0}},{name:Ye.qC,path:"/apps-browser",component:_x,meta:{title:"appsBrowser",hideHeader:!0,notPersist:!0}},{name:Ye.HH,path:"/invite/:secretKey?",component:wl,props:!0,meta:{title:"invite",notPersist:!0}},{name:Ye.Ld,path:"/notifications",component:Of,meta:{title:"notifications",showHeaderNavigation:!0,notPersist:!0}},{name:Ye.hN,path:"/page-not-found",component:of,props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}},{path:"/:pathMatch(.*)*",redirect:{name:Ye.hN},props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}}]),Dx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Bx=(0,Ne.aE)({routes:Fx,history:o.u2?(0,Ne.LA)():(0,Ne.Bt)(),scrollBehavior:function(e,t,n){return n||{left:0,top:0}}}),Px=(0,ce.oV)(),Mx=Px.isLoggedIn,Ox=Px.activeAccount,Rx=Px.areAccountsRestored,Nx=Px.setActiveAccountByGlobalIdx,Ux=Px.getLastActiveProtocolAccount,Xx=(0,ce.m)(),Vx=Xx.setPopupProps,Hx=(0,ce.mv)(),$x=Hx.setLoginTargetLocation;Ge.r.init(Bx),et.init(Bx),Bx.beforeEach((function(e,t,n){return Dx(void 0,void 0,void 0,(0,s.A)().mark((function t(){var a,i,u,c;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.mU)(Rx);case 2:if(a=e.meta,Mx.value){t.next=6;break}return(null===a||void 0===a?void 0:a.ifNotAuthOnly)||(null===a||void 0===a?void 0:a.ifNotAuth)?n():($x(e),n({name:Ye.nv})),t.abrupt("return");case 6:if(e.name!==Ye.qC){t.next=15;break}if(o.I$||o.s4){t.next=10;break}return n({name:Ye.hN}),t.abrupt("return");case 10:if(Ox.value.protocol===o.yv.aeternity){t.next=15;break}return i=Ux(o.yv.aeternity),Nx(null===i||void 0===i?void 0:i.globalIdx),n({name:Ye.qC}),t.abrupt("return");case 15:if(!o.dx||e.name===Ye.hN){t.next=29;break}if(u=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.tF,Ye.E8),o.ze,Ye.Go),o.sW,Ye.kM),o.LZ,Ye.Q6),o.MW,Ye.xO)[o.WZ],c=null,Object.keys(e.params).length){t.next=25;break}return t.next=21,qe();case 21:if(c=t.sent,null===c||void 0===c?void 0:c.app){t.next=25;break}return n({name:Ye.hN,params:{hideHomeButton:!0}}),t.abrupt("return");case 25:if(u===e.name){t.next=29;break}return Vx(c),n({name:u}),t.abrupt("return");case 29:n((null===a||void 0===a?void 0:a.ifNotAuthOnly)?{name:Ye.qJ}:void 0);case 30:case"end":return t.stop()}}),t)})))}));var jx=new Promise((function(e){return document.addEventListener("deviceready",e)})),Kx=new Promise((function(e){var t=Bx.afterEach((function(){e(!0),setTimeout(t)}))}));o.I$&&function(){Dx(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([jx,Kx]);case 2:Re.q.addListener("appUrlOpen",(function(e){var t=new URL(e.url),n=["superhero:",o.yS].find((function(e){return t.origin===e}));if(!n)throw new Error("Unknown url: ".concat(t.origin));try{Bx.push({path:t.pathname,hash:t.hash,query:Object.fromEntries(t.searchParams.entries())})}catch(a){if("NavigationDuplicated"!==a.name)throw a}})),Bx.afterEach((function(e){"/"===e.path?document.body.classList.remove("color-bg-app"):document.body.classList.add("color-bg-app")}));case 4:case"end":return e.stop()}}),e)})))}();const qx=Bx;var Gx={class:"content-wrapper"},Qx={class:"text-heading-1"},Zx={class:"message"};function Yx(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create-modal","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Gx,[(0,K.Lk)("h1",Qx,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.titleMultisig"):e.$t("modals.createAccount.titleAeternityAccount")),1),(0,K.Lk)("p",Zx,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.msgMultisig"):e.$t("modals.createAccount.msgAeternity")),1),e.isMultisig?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(i,{key:0,header:e.$t("pages.accounts.addAccount"),subheader:e.$t("modals.createAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[0]||(t[0]=function(t){return e.createPlainAccount()})},null,8,["header","subheader","icon","disabled"])),(0,K.bF)(i,{header:e.$t("modals.createMultisigAccount.btnText"),subheader:e.$t("modals.createMultisigAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[1]||(t[1]=function(t){return e.createMultisigAccount()})},null,8,["header","subheader","icon","disabled"])])]})),_:1},8,["onClose"])}var zx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Jx=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0},isMultisig:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),i=r.isOnline,u=(0,ce.U8)(),c=u.openModal;function l(){return zx(this,void 0,void 0,(0,s.A)().mark((function t(){var r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=n({isRestored:!1,protocol:o.yv.aeternity}),a(o.yv.aeternity,r),e.resolve();case 3:case"end":return t.stop()}}),t)})))}function d(){return zx(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.X0);case 2:e.resolve();case 3:case"end":return t.stop()}}),t)})))}return{PlusCircleIcon:Er.A,isOnline:i,createPlainAccount:l,createMultisigAccount:d}}}),eL=(0,Ft.A)(Jx,[["render",Yx],["__scopeId","data-v-0b7c85d9"]]),tL=eL;var nL=["textContent"];function aL(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"from-bottom":"","has-close-button":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",{class:"text-heading-1 text-center",textContent:(0,tt.v_)(e.$t("pages.network.connectToNetwork"))},null,8,nL),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.defaultNetworks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.type,header:t.name,subheader:t.name===e.activeNetwork.name?e.$t("pages.network.connectedTo",{name:t.name.toLowerCase()}):e.$t("pages.network.connectTo",{name:t.name.toLowerCase()}),icon:t.type===e.NETWORK_TYPE_MAINNET?e.GlobeIcon:e.GlobeCogIcon,selected:t.name===e.activeNetwork.name,"icon-size":"xl",onClick:function(n){return e.switchNetworkAndClose(t.name)}},null,8,["header","subheader","icon","selected","onClick"])})),128)),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},icon:e.ThreeDotsIcon,header:e.$t("pages.network.moreNetworks"),subheader:e.$t("pages.network.viewAndManage"),onClick:t[0]||(t[0]=function(t){return e.resolve()})},null,8,["to","icon","header","subheader"])]})),_:1})}var rL={viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},oL=(0,K.Lk)("path",{d:"M13.9997 25.0147C17.1794 25.0147 19.7759 20.316 19.7759 14.0168C19.7759 7.68332 17.1909 2.98465 13.9997 2.98465C10.8085 2.98465 8.22355 7.68332 8.22355 14.0168C8.22355 20.316 10.82 25.0147 13.9997 25.0147ZM13.9997 4.36796C16.2415 4.36796 18.2432 8.82655 18.2432 14.0168C18.2432 19.1156 16.2415 23.6199 13.9997 23.6199C11.7579 23.6199 9.75623 19.1156 9.75623 14.0168C9.75623 8.82655 11.7579 4.36796 13.9997 4.36796ZM13.2562 3.1447V24.7974H14.7546V3.1447H13.2562ZM13.9997 18.2925C10.4768 18.2925 7.35426 19.2185 5.75295 20.6933L6.90818 21.6422C8.41799 20.4418 10.8771 19.7901 13.9997 19.7901C17.1222 19.7901 19.5814 20.4418 21.0913 21.6422L22.2464 20.6933C20.6451 19.2185 17.5226 18.2925 13.9997 18.2925ZM24.5569 13.2394H3.44249V14.737H24.5569V13.2394ZM13.9997 9.75257C17.5226 9.75257 20.6451 8.82655 22.2464 7.35178L21.0913 6.40291C19.5814 7.59186 17.1222 8.25493 13.9997 8.25493C10.8771 8.25493 8.41799 7.59186 6.90818 6.40291L5.75295 7.35178C7.35426 8.82655 10.4768 9.75257 13.9997 9.75257ZM13.9997 25.6548C20.3821 25.6548 25.6663 20.3618 25.6663 13.9939C25.6663 7.61472 20.3707 2.33301 13.9883 2.33301C7.61733 2.33301 2.33301 7.61472 2.33301 13.9939C2.33301 20.3618 7.62877 25.6548 13.9997 25.6548ZM13.9997 24.1001C8.47518 24.1001 3.88857 19.5158 3.88857 13.9939C3.88857 8.47215 8.46374 3.8878 13.9883 3.8878C19.5128 3.8878 24.1108 8.47215 24.1108 13.9939C24.1108 19.5158 19.5242 24.1001 13.9997 24.1001Z",fill:"currentColor"},null,-1),iL=[oL];function sL(e,t){return(0,K.uX)(),(0,K.CE)("svg",rL,iL)}const uL={},cL=(0,Ft.A)(uL,[["render",sL]]),lL=cL;var dL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},pL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.44443 12.6372C7.31746 12.5659 7.18707 12.5 7.05355 12.4398C6.42706 12.1573 5.73189 12 5 12C4.41736 12 3.85799 12.0997 3.33802 12.2829C3.2064 12.3292 3.0773 12.381 2.95098 12.4378C2.63045 12.582 2.32786 12.7589 2.04747 12.9644C2.01608 12.6467 2 12.325 2 12C2 6.52942 6.52942 2 11.9902 2C17.4608 2 22 6.52942 22 12C22 17.4608 17.4706 22 12 22C10.5358 22 9.1378 21.6737 7.87583 21.0907C8.27342 20.8107 8.62836 20.4741 8.92896 20.0928C9.15487 20.1802 9.38514 20.2582 9.6193 20.3266C9.45828 20.1623 9.30268 19.9814 9.15313 19.7851C9.42815 19.3758 9.64427 18.9236 9.78933 18.4406C10.2477 19.2668 10.7872 19.8578 11.3628 20.1136V16.9815C10.8879 16.998 10.4329 17.0331 9.99927 17.0864C9.99975 17.0576 10 17.0288 10 17C10 16.5949 9.95183 16.2011 9.86091 15.824C10.3458 15.76 10.8481 15.7175 11.3628 15.6982V12.6372H8.37415C8.38297 12.8765 8.39684 13.1138 8.41551 13.3484C8.12262 13.0743 7.79672 12.835 7.44443 12.6372ZM14.3807 20.3266C15.6776 19.9482 16.8552 19.2702 17.8315 18.375C17.3354 18.029 16.7381 17.7434 16.0505 17.5222C15.616 18.6915 15.0444 19.6494 14.3807 20.3266ZM14.7715 17.2041C14.2284 18.6674 13.4754 19.7353 12.6471 20.1092V16.9818C13.4085 17.0087 14.1188 17.0836 14.7715 17.2041ZM15.1488 15.9933C14.3678 15.833 13.5255 15.732 12.6471 15.6986V12.6372H15.6259C15.5819 13.8307 15.4122 14.973 15.1488 15.9933ZM16.427 16.3258C17.3297 16.6154 18.1079 16.9948 18.7085 17.4461C19.8018 16.1071 20.5074 14.4433 20.6429 12.6372H16.9412C16.8985 13.9754 16.7178 15.2192 16.427 16.3258ZM16.9398 11.353H20.6421C20.5056 9.56517 19.8091 7.91715 18.7308 6.58608C18.129 7.04342 17.3458 7.42768 16.4355 7.72054C16.7183 8.81173 16.895 10.0359 16.9398 11.353ZM15.162 8.05305C14.3772 8.21491 13.5305 8.31691 12.6471 8.35051V11.353H15.6245C15.5791 10.1753 15.4151 9.0546 15.162 8.05305ZM14.7907 6.8387C14.1327 6.96233 13.416 7.03947 12.6471 7.06702V3.88953C13.4852 4.26474 14.2461 5.34605 14.7907 6.8387ZM16.0622 6.51889C16.7571 6.29375 17.3594 6.00368 17.8578 5.6542C16.8749 4.74544 15.6858 4.05736 14.3757 3.67462C15.0481 4.35789 15.6255 5.32966 16.0622 6.51889ZM9.6316 3.66727C8.3152 4.04793 7.12162 4.73746 6.13624 5.64997C6.6358 6.00135 7.2402 6.29284 7.93782 6.51889C8.37608 5.32539 8.95613 4.35091 9.6316 3.66727ZM9.20939 6.83871C9.75603 5.3402 10.5208 4.25627 11.3628 3.88515V7.06737C10.5901 7.04013 9.87016 6.96286 9.20939 6.83871ZM7.5645 7.72055C6.65179 7.42692 5.86682 7.04139 5.26447 6.58244C4.18819 7.91414 3.4938 9.56354 3.35785 11.353H7.06029C7.10503 10.0359 7.28172 8.81173 7.5645 7.72055ZM8.3756 11.353C8.42099 10.1753 8.58494 9.05461 8.8381 8.05305C9.62575 8.21551 10.4759 8.31767 11.3628 8.35088V11.353H8.3756Z",fill:"currentColor"},null,-1),vL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.22439 20.6613C4.26503 20.8713 4.43438 21 4.65114 21H5.34886C5.55885 21 5.7282 20.8713 5.76884 20.6613L5.96528 19.8484C6.10076 19.801 6.22947 19.7468 6.33785 19.6994L7.04911 20.1262C7.22523 20.2549 7.442 20.2278 7.59102 20.0787L8.07197 19.5978C8.221 19.442 8.25487 19.2185 8.11939 19.0423L7.69941 18.3378C7.7536 18.2227 7.80102 18.1008 7.84166 17.9721L8.6613 17.7824C8.8713 17.735 9 17.5724 9 17.3556V16.6715C9 16.4615 8.8713 16.2921 8.6613 16.2515L7.84843 16.055C7.80102 15.9128 7.74682 15.7841 7.69941 15.6825L8.13294 14.9712C8.25487 14.7883 8.24132 14.5783 8.08552 14.4225L7.59102 13.9416C7.43522 13.7993 7.25233 13.7722 7.06266 13.8806L6.33785 14.3209C6.22947 14.2667 6.10076 14.2125 5.96528 14.1651L5.76884 13.3455C5.7282 13.1355 5.55885 13 5.34886 13H4.65114C4.43438 13 4.26503 13.1355 4.22439 13.3522L4.02794 14.1583C3.89924 14.2058 3.76376 14.2599 3.6486 14.3141L2.93734 13.8806C2.74767 13.7722 2.558 13.7925 2.4022 13.9416L1.90771 14.4225C1.75191 14.5783 1.73836 14.7883 1.86029 14.9712L2.29382 15.6825C2.2464 15.7841 2.19221 15.9128 2.14479 16.055L1.3387 16.2515C1.12193 16.2921 1 16.4615 1 16.6715V17.3556C1 17.5724 1.12193 17.735 1.3387 17.7824L2.15157 17.9721C2.19221 18.1008 2.23963 18.2227 2.30059 18.3378L1.87384 19.0423C1.74513 19.2185 1.77223 19.442 1.92125 19.5978L2.4022 20.0787C2.558 20.2278 2.77477 20.2549 2.94412 20.1262L3.65538 19.6994C3.76376 19.7468 3.89924 19.801 4.02794 19.8484L4.22439 20.6613ZM6.3243 16.9966C6.3243 17.7214 5.7282 18.3243 4.99661 18.3243C4.2718 18.3243 3.6757 17.7214 3.6757 16.9966C3.6757 16.2786 4.2718 15.6825 4.99661 15.6825C5.7282 15.6825 6.3243 16.2786 6.3243 16.9966Z",fill:"currentColor"},null,-1),fL=[pL,vL];function mL(e,t){return(0,K.uX)(),(0,K.CE)("svg",dL,fL)}const gL={},hL=(0,Ft.A)(gL,[["render",mL]]),AL=hL,kL=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,ce.fI)(),n=t.activeNetwork,a=t.defaultNetworks,r=t.customNetworks,i=t.switchNetwork;function s(t){t===n.value.name?e.resolve():(i(t),setTimeout((function(){return e.resolve()}),500))}return{ROUTE_NETWORK_SETTINGS:Ye.nj,NETWORK_TYPE_MAINNET:o.dk,GlobeIcon:lL,GlobeCogIcon:AL,ThreeDotsIcon:ZC,activeNetwork:n,defaultNetworks:a,customNetworks:r,switchNetworkAndClose:s}}}),yL=(0,Ft.A)(kL,[["render",aL]]),bL=yL;var wL={key:0,class:"top-icon-wrapper"},CL={class:"text-heading-2 text-center title"};function xL(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("TemplateRenderer"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(l,(0,K.v6)({class:["default",{"text-center":e.textCenter}],"has-close-button":"","full-screen":e.fullScreen},(0,K.Tb)({close:e.close||e.resolve})),{footer:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"footer",{},(function(){return[(0,K.bF)(c,{class:(0,tt.C4)({"center-button":e.textCenter}),text:e.buttonMessage||e.$t("common.ok"),onClick:e.resolve},null,8,["class","text","onClick"])]}),!0)]})),default:(0,K.k6)((function(){return[e.icon?((0,K.uX)(),(0,K.CE)("div",wL,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:e.icon,class:"status-icon"},null,8,["status"])]})),_:1})])):(0,K.Q3)("",!0),(0,K.Lk)("h2",CL,(0,tt.v_)(e.title),1),(0,K.RG)(e.$slots,"msg",{},(function(){return[(0,K.bF)(u,{str:e.msg},null,8,["str"])]}),!0),(0,K.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class","full-screen"])}function LL(e,t,n,a,r,o){return e.icon?((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{key:0,class:(0,tt.C4)(["status-icon",e.status]),onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},null,8,["class"])):(0,K.Q3)("",!0)}var SL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},TL=(0,K.Lk)("circle",{opacity:"0.5",cx:"12",cy:"12",r:"10",fill:"currentColor"},null,-1),EL=(0,K.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),IL=[TL,EL];function _L(e,t){return(0,K.uX)(),(0,K.CE)("svg",SL,IL)}const WL={},FL=(0,Ft.A)(WL,[["render",_L]]),DL=FL;var BL={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},PL=(0,K.Lk)("g",null,[(0,K.Lk)("path",{fill:"currentColor",d:"M37.1444 8.53067L5.53296 40.1421L8.86048 43.4696L40.4719 11.8582L37.1444 8.53067Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M19.7918 20.4706H16.9447V15.7648C16.9447 14.2589 17.4271 12.793 18.3188 11.5813C19.2106 10.3695 20.4671 9.47304 21.9047 9.02598C23.3423 8.57892 24.8835 8.60245 26.307 9.09186C27.4364 9.48245 28.4317 10.1577 29.227 11.0354L32.4247 7.83775L32.54 7.66598C31.4435 6.50363 30.1211 5.57658 28.6529 4.94599C27.1847 4.31541 25.6012 3.99305 24.0035 4.00011C20.8835 4.00482 17.8953 5.24482 15.6883 7.44951C13.4836 9.65656 12.2436 12.6448 12.2389 15.7648V20.4706H9.88592C8.63886 20.4706 7.44122 20.9671 6.55887 21.8495C5.67652 22.7318 5.18005 23.9295 5.18005 25.1765V35.0824L19.7918 20.4706Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M38.1211 20.4707H37.5917L14.0624 44H38.1211C39.3682 44 40.5658 43.5036 41.4482 42.6212C42.3305 41.7389 42.827 40.5436 42.827 39.2942V25.1766C42.827 23.9295 42.3305 22.7319 41.4482 21.8495C40.5658 20.9672 39.3682 20.4707 38.1211 20.4707Z"})],-1),ML=[PL];function OL(e,t){return(0,K.uX)(),(0,K.CE)("svg",BL,ML)}const RL={},NL=(0,Ft.A)(RL,[["render",OL]]),UL=NL,XL=(0,K.pM)({props:{status:{type:String,required:!0,validator:function(e){return o.wz.includes(e)}}},setup:function(e){var t={critical:Wo,alert:lA,warning:Vn.A,info:DL,success:tA,"not-secure":UL,help:lL},n=(0,K.EW)((function(){return t[e.status]}));return{icon:n}}}),VL=(0,Ft.A)(XL,[["render",LL],["__scopeId","data-v-6ee6fe2e"]]),HL=VL;n(23418);var $L=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return n.childNodes.length?Array.from(n.childNodes).filter((function(e){return[Node.ELEMENT_NODE,Node.TEXT_NODE].includes(e.nodeType)})).map((function(n){switch(n.tagName){case"strong":return t("strong",e(t,n));case"a":return t("a",(0,Js.A)({},a),e(t,n));case"br":return t("br");default:return n.textContent}})):n.textContent};const jL=(0,K.pM)({name:"TemplateRenderer",props:{str:{type:String,required:!0},option:{type:Object,default:null}},setup:function(e,t){var n=t.attrs;return function(){return(0,K.h)("span",{class:n["class"]},$L(K.h,(new DOMParser).parseFromString("".concat(e.str||"",""),"text/xml").childNodes[0],e.option))}}}),KL=jL,qL=KL;var GL={class:"icon-boxed"};function QL(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",GL,[(0,K.RG)(e.$slots,"default",{},(function(){return[((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{class:"icon"}))]}))])}const ZL=(0,K.pM)({props:{icon:{type:Object,default:null}}}),YL=(0,Ft.A)(ZL,[["render",QL]]),zL=YL,JL=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,TemplateRenderer:qL,StatusIcon:HL,IconBoxed:zL},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},buttonMessage:{type:String,default:""},textCenter:Boolean,fullScreen:Boolean}}),eS=(0,Ft.A)(JL,[["render",xL],["__scopeId","data-v-55c32d28"]]),tS=eS;var nS={class:"content-wrapper"},aS={class:"text-heading-1"},rS={class:"message"};function oS(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",nS,[(0,K.Lk)("h2",aS,(0,tt.v_)(e.$t("modals.createAccount.title")),1),(0,K.Lk)("p",rS,(0,tt.v_)(e.$t("modals.createAccount.msg")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.PROTOCOL_LIST,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t,header:e.getProtocolName(t),subheader:e.$t("modals.createAccount.addProtocolAccount",{name:e.getProtocolName(t)}),"protocol-icon":t,onClick:function(n){return e.createAccount(t)}},null,8,["header","subheader","protocol-icon","onClick"])})),128))])]})),_:1},8,["onClose"])}var iS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const sS=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0}},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),u=r.isOnline,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.setLoaderVisible;function v(t){return iS(this,void 0,void 0,(0,s.A)().mark((function r(){var i;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:p(!0),r.t0=t,r.next=r.t0===o.yv.aeternity?4:r.t0===o.yv.bitcoin||r.t0===o.yv.ethereum?7:10;break;case 4:return r.next=6,l(o.ul);case 6:return r.abrupt("break",11);case 7:return i=n({isRestored:!1,protocol:t}),a(t,i),r.abrupt("break",11);case 10:throw new Error("createAccount not implemented for protocol: ".concat(t));case 11:p(!1),e.resolve();case 13:case"end":return r.stop()}}),r)})))}function f(e){return i.C.getAdapter(e).protocolName}return(0,K.sV)((function(){p(!1)})),{PROTOCOL_LIST:o.E4,isOnline:u,createAccount:v,getProtocolName:f}}}),uS=(0,Ft.A)(sS,[["render",oS],["__scopeId","data-v-55406748"]]),cS=uS;var lS=function(e){return(0,K.Qi)("data-v-0764afea"),e=e(),(0,K.jt)(),e},dS={class:"text-center"},pS=["textContent"],vS={key:0},fS={class:"text-description"},mS=lS((function(){return(0,K.Lk)("br",null,null,-1)})),gS={key:1},hS=["textContent"];function AS(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinnerIcon"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("FormTextarea"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(d,{class:"import-account-modal","from-bottom":"","has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(l,{disabled:!e.mnemonic||!!e.error||e.discovering,text:e.$t("pages.index.importAccount"),"data-cy":"btn-import",class:"import-button",extend:"",center:"",onClick:t[1]||(t[1]=(0,We.D$)((function(){return e.importAccount()}),["prevent"]))},null,8,["disabled","text"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",dS,[(0,K.Lk)("p",{class:"text-heading-2",textContent:(0,tt.v_)(e.$t("pages.index.importWallet"))},null,8,pS),e.discovering?((0,K.uX)(),(0,K.CE)("div",vS,[(0,K.bF)(i,{class:"loader"}),(0,K.Lk)("p",fS,[(0,K.eW)((0,tt.v_)(e.$t("pages.index.restoringAccounts")),1),mS,(0,K.eW)(" "+(0,tt.v_)(e.$t("common.actionMayTakeFewMoments")),1)])])):((0,K.uX)(),(0,K.CE)("div",gS,[(0,K.Lk)("p",{textContent:(0,tt.v_)(e.$t("pages.index.enterSeedPhrase"))},null,8,hS)]))]),(0,K.bF)(c,{modelValue:e.mnemonic,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.mnemonic=t}),size:"xs",label:e.$t("pages.index.seedPhrase"),placeholder:e.$t("pages.index.seedPlaceHolder"),message:e.error,resizable:!1,readonly:e.discovering,"data-cy":"field-mnemonic","enter-submit":"",onSubmit:e.importAccount},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{"data-cy":"scan-button",class:(0,tt.C4)(["scan-button",{disabled:e.discovering}]),onClick:e.openScanQrModal},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:1},8,["class","onClick"])]})),_:1},8,["modelValue","label","placeholder","message","readonly","onSubmit"])]})),_:1},8,["onClose"])}n(42762);var kS=n(46582),yS=n(73665),bS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const wS=(0,K.pM)({components:{BtnMain:Mo.A,BtnPlain:Mr.A,Modal:Ls.A,FormTextarea:tu.A,QrScanIcon:yS.A,AnimatedSpinnerIcon:ia.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,ce.oV)(),i=r.discoverAccounts,u=r.setMnemonic,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.loginTargetLocation,v=d.setBackedUpSeed,f=(0,bt.KR)(!1),m=(0,bt.KR)(""),g=(0,bt.KR)("");function h(){return bS(this,void 0,void 0,(0,s.A)().mark((function n(){var r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=m.value.toLowerCase().replace(/\s+/g," ").replace(/[^a-z ]/g,"").trim(),(0,L.SN)(r)){n.next=4;break}return g.value=a("pages.index.invalidSeed"),n.abrupt("return");case 4:if(r&&(0,kS.validateMnemonic)(r)){n.next=7;break}return g.value=a("pages.index.accountNotFound"),n.abrupt("return");case 7:return f.value=!0,u(r),v(!0),n.next=12,i();case 12:e.resolve(),t.push(p.value),f.value=!1;case 15:case"end":return n.stop()}}),n)})))}function A(){return bS(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l(o.$b,{title:a("pages.index.scanSeedPhrase"),icon:"critical"});case 2:t=e.sent,t&&(m.value=t);case 4:case"end":return e.stop()}}),e)})))}return(0,K.wB)(m,(function(){g.value=""})),{discovering:f,mnemonic:m,error:g,importAccount:h,openScanQrModal:A}}}),CS=(0,Ft.A)(wS,[["render",AS],["__scopeId","data-v-0764afea"]]),xS=CS;function LS(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("AccountSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"account-select-options","has-close-button":"","no-padding":"","from-bottom":"","full-screen":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length,"search-placeholder":e.$t("pages.accounts.searchAccountsPlaceholder")},null,8,["modelValue","title","options-length","search-placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t.value||n,option:t,selected:t.value===e.value,onClick:function(n){return e.resolve(t.value)}},null,8,["option","selected","onClick"])})),128))])]})),_:1})}function SS(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("BtnPlain");return e.account?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"account-select-options-item",style:(0,tt.Tr)(e.bgColorStyle),onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["option-wrapper",{selected:e.selected}])},[(0,K.bF)(i,{account:e.account,class:"account-info","avatar-size":"rg","avatar-borderless":"","is-list-name":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{amount:e.balance,symbol:e.tokenSymbol,protocol:e.account.protocol,class:"token-amount",vertical:"",small:""},null,8,["amount","symbol","protocol"])],2)]})),_:1},8,["style"])):(0,K.Q3)("",!0)}const TS=(0,K.pM)({components:{TokenAmount:Es.A,AccountInfo:La.A,BtnPlain:Mr.A},props:{option:{type:Object,default:function(){return{}}},selected:Boolean},setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,ce.oV)(),r=a.getAccountByAddress,o=r(e.option.value),s=(0,K.EW)((function(){return{"--bg-color":(0,L.cr)(e.option.value)}})),u=(0,K.EW)((function(){var t;return(null===(t=e.option)||void 0===t?void 0:t.value)?n(e.option.value).toNumber():0})),c=(0,K.EW)((function(){return i.C.getAdapter(o.protocol).coinSymbol}));return{account:o,balance:u,bgColorStyle:s,tokenSymbol:c,AE_SYMBOL:T.kf}}}),ES=(0,Ft.A)(TS,[["render",SS],["__scopeId","data-v-527219b2"]]),IS=ES;var _S={class:"form-select-options-header"},WS={class:"text-heading-3 text-muted title"};function FS(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch");return(0,K.uX)(),(0,K.CE)("div",_S,[(0,K.Lk)("span",WS,(0,tt.v_)(e.title),1),e.optionsLength>e.SHOW_SEARCH_THRESHOLD?((0,K.uX)(),(0,K.Wv)(i,{key:0,value:e.value,placeholder:e.searchPlaceholder||e.$t("common.search"),class:"search-field","onUpdate:modelValue":e.filterOptions},null,8,["value","placeholder","onUpdate:modelValue"])):(0,K.Q3)("",!0)])}var DS=n(76801),BS=3;const PS=(0,K.pM)({components:{InputSearch:DS.A},props:{value:{type:String,default:""},title:{type:String,default:""},optionsLength:{type:Number,default:0},searchPlaceholder:{type:String,default:""}},setup:function(e,t){var n=t.emit;function a(e){n("update:modelValue",e?e.toLowerCase():"")}return{filterOptions:a,SHOW_SEARCH_THRESHOLD:BS}}}),MS=(0,Ft.A)(PS,[["render",FS],["__scopeId","data-v-1e8729bf"]]),OS=MS,RS=(0,K.pM)({components:{FormSelectOptionsHeader:OS,AccountSelectOptionsItem:IS,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,Rn.q)(),n=t.getName,a=(0,bt.KR)(""),r=(0,K.EW)((function(){return e.options.filter((function(e){var t=e.text,r=e.value;return t.toLowerCase().includes(a.value)||r.toString().includes(a.value)||n(r).value.includes(a.value)}))}));return{searchPhrase:a,optionsFiltered:r}}}),NS=(0,Ft.A)(RS,[["render",LS]]),US=NS;var XS={class:"top-icon-wrapper"},VS={class:"claimed"};function HS(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{class:"claim-success-modal","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(u,{onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",XS,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:"success",class:"status-icon"})]})),_:1})]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.url"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.url),1)]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.tipsOnUrl"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.claimAmount)+" "+(0,tt.v_)(e.$t("pages.claim.ae")),1)]),(0,K.Lk)("span",VS,(0,tt.v_)(e.$t("pages.claim.claimed")),1)]})),_:1},8,["onClose"])}const $S=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL,StatusIcon:HL},props:{resolve:{type:Function,required:!0},url:{type:String,required:!0},claimAmount:{type:Number,required:!0}}}),jS=(0,Ft.A)($S,[["render",HS],["__scopeId","data-v-78c5e1d6"]]),KS=jS;function qS(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{close:e.cancel}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:e.msg},null,8,["str"])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(s,{"data-cy":"to-confirm",text:e.$t("common.confirm"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["close"])}const GS=(0,K.pM)({components:{Default:tS,TemplateRenderer:qL,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},msg:{type:String,default:""}},setup:function(e){function t(){e.reject(new Ka.v)}return{cancel:t}}}),QS=(0,Ft.A)(GS,[["render",qS]]),ZS=QS;var YS={class:"text-heading-2 text-center"},zS={class:"error-msg"};function JS(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(i,{variant:"muted",onClick:e.cancel},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1},8,["onClick"]),(0,K.bF)(i,{onClick:e.createReport},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.error-log.create-report")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("h2",YS,(0,tt.v_)(e.$t("modals.error-log.title")),1),(0,K.Lk)("div",zS,(0,tt.v_)(e.messageTruncated)+"... ",1),(0,K.Lk)("div",null,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("modals.error-log.sub-title")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.error-log.content")),1)])]})),_:1},8,["onClose"])}n(50375);const eT=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},entry:{type:Object,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,K.EW)((function(){var t=e.entry.error.message,n=void 0===t?"":t;return n.substr(0,150)}));function a(){e.reject(new Ka.v)}function r(){e.resolve(!0),t.push({name:Ye.rh,params:{entry:e.entry}})}return{messageTruncated:n,cancel:a,createReport:r}}}),tT=(0,Ft.A)(eT,[["render",JS],["__scopeId","data-v-56780574"]]),nT=tT;function aT(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("FormSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"form-select-options","from-bottom":"","has-close-button":"","no-padding":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length},null,8,["modelValue","title","options-length"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,option:t,onClick:function(n){return e.resolve(t.value)}},null,8,["option","onClick"])})),128))])]})),_:1})}var rT={class:"option-wrapper"};function oT(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{class:"form-select-options-item",selected:e.option.value===e.value,onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",rT,[e.option.address?((0,K.uX)(),(0,K.Wv)(i,{key:0,address:e.option.address,size:"sm"},null,8,["address"])):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.option.text),1)])]})),_:1},8,["selected"])}const iT=(0,K.pM)({components:{ListItemWrapper:Kn.A,Avatar:us.A},props:{option:{type:Object,default:function(){}},value:{type:[String,Number],default:null}}}),sT=(0,Ft.A)(iT,[["render",oT],["__scopeId","data-v-583e6b6c"]]),uT=sT,cT=(0,K.pM)({components:{FormSelectOptionsHeader:OS,FormSelectOptionsItem:uT,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,bt.KR)(""),n=(0,K.EW)((function(){return e.options.filter((function(e){var n=e.text,a=e.value;return n.toLowerCase().includes(t.value)||a.toString().includes(t.value)}))}));return{searchPhrase:t,optionsFiltered:n}}}),lT=(0,Ft.A)(cT,[["render",aT]]),dT=lT;var pT=function(e){return(0,K.Qi)("data-v-1ecdcc39"),e=e(),(0,K.jt)(),e},vT={class:"top-icon-wrapper"},fT=["textContent"],mT=["textContent"],gT={class:"camera"},hT={class:"video-loader"},AT={ref:"qrCodeVideoEl",class:"video"},kT=pT((function(){return(0,K.Lk)("track",{kind:"captions",title:"Scanning Qr Code"},null,-1)})),yT=[kT];function bT(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("AnimatedSpinnerIcon"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return e.browserReader||!e.cameraAllowed?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"qr-code-reader","has-close-button":"",centered:"","from-bottom":"",onClose:e.cancelReading},(0,K.eX)({default:(0,K.k6)((function(){return[(0,K.Lk)("div",vT,[(0,K.bF)(i,{icon:e.QrScanIcon},null,8,["icon"])]),e.heading?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"heading",textContent:(0,tt.v_)(e.heading)},null,8,fT)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"subtitle",textContent:(0,tt.v_)(e.cameraAllowed?e.title:e.$t("modals.qrCodeReader.subtitle"))},null,8,mT),(0,K.Lk)("div",gT,[(0,K.Lk)("span",hT,[(0,K.bF)(s,{class:"spinner"})]),(0,K.bo)((0,K.Lk)("div",null,[(0,K.Lk)("video",AT,yT,512)],512),[[We.aG,e.cameraAllowed]])])]})),_:2},[e.IS_MOBILE_APP?{name:"footer",fn:(0,K.k6)((function(){return[(0,K.bF)(u,{text:e.$t("modals.qrCodeReader.settings"),onClick:e.openSettings},null,8,["text","onClick"])]})),key:"0"}:void 0]),1032,["onClose"])):(0,K.Q3)("",!0)}var wT=n(64302),CT=n(86986),xT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},LT="scanner-active";const ST=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL,AnimatedSpinnerIcon:ia.A},props:{title:{type:String,required:!0},resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=this,a=(0,bt.KR)(o.I$?"granted":"denied"),r=(0,bt.KR)(),i=(0,bt.KR)(),u=(0,bt.KR)(),c=(0,za.lq)(),l=(0,An.s9)(),d=l.t,p=(0,ce.mv)(),v=p.setQrScanner,f=(0,K.EW)((function(){return"granted"===a.value})),m=(0,K.EW)((function(){return"granted"===a.value?d("modals.qrCodeReader.scanQr"):d("modals.qrCodeReader.grantPermission")}));function g(){return xT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.e(504).then(n.bind(n,16380));case 2:t=e.sent,a=t.BrowserQRCodeReader,r.value=new a;case 5:case"end":return e.stop()}}),e)})))}function h(){var e,t;o.I$?(null===(e=document.querySelector("body"))||void 0===e||e.classList.remove(LT),wT.vi.showBackground(),v(!1),wT.vi.stopScan()):null===(t=i.value)||void 0===t||t.stop()}function A(){var e;return xT(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=12;break}return v(!0),null===(e=document.querySelector("body"))||void 0===e||e.classList.add(LT),t.next=5,wT.vi.hideBackground();case 5:return setTimeout((function(){var e;null===(e=document.querySelector("#camera-close-btn"))||void 0===e||e.addEventListener("click",h)}),500),t.next=8,wT.vi.startScan();case 8:if(n=t.sent,!n.hasContent){t.next=11;break}return t.abrupt("return",n.content);case 11:return t.abrupt("return",new Error("No content"));case 12:return t.abrupt("return",new Promise((function(e){var t;null===(t=r.value)||void 0===t||t.decodeFromVideoDevice(void 0,u.value,(function(t,n,a){i.value=a,t&&(null===a||void 0===a||a.stop(),e(t.getText()))}))["catch"]((function(e){"NotAllowedError"!==e.name?(0,L.fY)(e):a.value="denied"}))})));case 13:case"end":return t.stop()}}),t)})))}function k(){return xT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,CT.i7.checkPermissions();case 2:if(t=e.sent,"granted"!==t.camera){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,CT.i7.requestPermissions({permissions:["camera"]});case 7:if(n=e.sent,"granted"!==n.camera){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})))}function y(){h(),e.reject(new Ka.v)}function b(){wT.vi.openAppSettings()}function w(){o.hL&&navigator.mediaDevices.getUserMedia({video:!0}).then((function(){a.value="granted"}))["catch"]((function(){(0,L.EV)(browser.runtime.getURL("./CameraRequestPermission.html")),e.reject(new Ka.y)}))}return(0,K.wB)(a,(function(n){return xT(t,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("denied"!==n){t.next=3;break}return h(),t.abrupt("return");case 3:return o.hL&&"prompt"===n&&w(),t.prev=4,t.t0=e,t.next=8,A();case 8:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=25;break;case 12:if(t.prev=12,t.t2=t["catch"](4),"NotAllowedError"!==t.t2.name){t.next=24;break}return t.prev=15,t.next=18,new Promise((function(e,t){var n;o.hL&&(w(),t()),(null===(n=navigator.mediaDevices)||void 0===n?void 0:n.getUserMedia)?navigator.mediaDevices.getUserMedia({video:!0}).then(e,t):t(new Error("Sorry, your browser does not support getUserMedia"))}));case 18:t.next=23;break;case 20:t.prev=20,t.t3=t["catch"](15),a.value="denied";case 23:return t.abrupt("return");case 24:(0,L.fY)(t.t2);case 25:case"end":return t.stop()}}),t,null,[[4,12],[15,20]])})))})),(0,K.wB)((function(){return c.fullPath}),(function(){e.resolve()})),(0,K.sV)((function(){return xT(t,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=17;break}return t.next=3,k();case 3:if(!t.sent){t.next=9;break}return a.value="granted",t.next=7,wT.vi.prepare();case 7:t.next=11;break;case 9:return a.value="denied",t.abrupt("return");case 11:return t.t0=e,t.next=14,A();case 14:return t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.abrupt("return");case 17:return t.next=19,g();case 19:if(t.t2=navigator.permissions,!t.t2){t.next=24;break}return t.next=23,navigator.permissions.query({name:"camera"})["catch"]((function(e){var t="'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.";return e.message!==t&&(0,L.fY)(e),null}));case 23:t.t2=t.sent;case 24:if(n=t.t2,!n){t.next=29;break}return a.value=n.state,n.onchange=function(){a.value=n.state},t.abrupt("return");case 29:a.value=o.hL?"prompt":"granted";case 30:case"end":return t.stop()}}),t)})))})),(0,K.xo)((function(){h()})),{cameraAllowed:f,browserReader:r,IS_MOBILE_APP:o.I$,heading:m,QrScanIcon:yS.A,cancelReading:y,openSettings:b,qrCodeVideoEl:u}}}),TT=(0,Ft.A)(ST,[["render",bT],["__scopeId","data-v-1ecdcc39"]]),ET=TT;function IT(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(e.$attrs,{icon:n.icon||"info"}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:n.msg,option:n.option},null,8,["str","option"])]})),_:1},16,["icon"])}const _T={components:{Default:tS,TemplateRenderer:qL},props:{msg:{type:String,default:""},option:{type:Object,default:null},icon:{type:String,default:null}}},WT=(0,Ft.A)(_T,[["render",IT]]),FT=WT;var DT=["textContent"];function BT(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch"),s=(0,K.g2)("Loader"),u=(0,K.g2)("AssetListItem"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{"full-screen":"","from-bottom":"","has-close-button":"","no-padding":"",class:"asset-selector",onClose:t[1]||(t[1]=function(t){return e.reject()}),onOpen:e.onModalOpen},{header:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:"text-heading-3 text-muted title",textContent:(0,tt.v_)(e.$t("pages.fungible-tokens.select-asset"))},null,8,DT),(0,K.bF)(i,{modelValue:e.searchTerm,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchTerm=t}),class:"search-bar",placeholder:e.$t("pages.fungible-tokens.searchAssetsPlaceholder")},null,8,["modelValue","placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:(0,tt.C4)(["appearing-element",{visible:e.loading}])},null,8,["class"]),(0,K.bo)((0,K.Lk)("div",{class:(0,tt.C4)(["appearing-element",{visible:!e.loading}])},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.accountAssetsToDisplay,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:t.contractId,asset:t,selected:e.isTokenSelected(t),"show-current-price":"","prevent-navigation":"",onClick:function(n){return e.resolve(t)}},null,8,["asset","selected","onClick"])})),128))],2),[[We.aG,e.isFullyOpen]])]})),_:1},8,["onOpen"])}var PT=n(87862),MT=n(37354),OT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const RT=(0,K.pM)({name:"AssetSelector",components:{AssetListItem:PT.A,Modal:Ls.A,InputSearch:DS.A,Loader:MT.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},selectedToken:{type:Object,default:null},protocol:{type:String,default:null},showTokensWithBalance:Boolean},setup:function(e){var t=(0,bt.KR)(!0),n=(0,bt.KR)(""),a=(0,bt.KR)(!1),r=(0,ce.Sr)({searchTerm:n,withBalanceOnly:e.showTokensWithBalance}),o=r.accountAssetsFiltered,i=(0,K.EW)((function(){return e.protocol?o.value.filter((function(t){var n=t.protocol;return n===e.protocol})):o.value}));function u(t){return!!e.selectedToken&&e.selectedToken.contractId===t.contractId}function c(){return OT(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,K.dY)();case 2:a.value=!0,setTimeout((function(){t.value=!1}),250);case 4:case"end":return e.stop()}}),e)})))}return{loading:t,searchTerm:n,isFullyOpen:a,accountAssetsToDisplay:i,isTokenSelected:u,onModalOpen:c}}}),NT=(0,Ft.A)(RT,[["render",BT],["__scopeId","data-v-2df1ce3c"]]),UT=NT;var XT={class:"icon-wrapper"},VT={class:"info"},HT={class:"title"},$T={class:"text"};function jT(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"reset-wallet","from-bottom":"","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted",text:e.$t("common.cancel"),onClick:e.reject},null,8,["text","onClick"]),(0,K.bF)(s,{variant:"danger",text:e.$t("pages.resetWallet.reset"),onClick:e.onReset},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",XT,[(0,K.bF)(i,{icon:e.ResetWalletIcon},null,8,["icon"])]),(0,K.Lk)("div",VT,[(0,K.Lk)("h3",HT,(0,tt.v_)(e.$t("pages.resetWallet.title"))+"? ",1),(0,K.Lk)("div",$T,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warning")),1),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warningConfirm")),1)])])]})),_:1},8,["onClose"])}var KT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const qT=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,ce.oV)(),a=n.resetAccounts,r=(0,ce.fI)(),o=r.resetNetworks,i=(0,ce.mv)(),u=i.resetUiSettings,c=(0,ce.CP)(),l=c.disconnectDapps;function d(){return KT(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.resolve(),a(),o(),u(),l(),n.next=7,ze.v.clear();case 7:return n.next=9,t.push({name:Ye.nv});case 9:window.location.reload();case 10:case"end":return n.stop()}}),n)})))}return{ResetWalletIcon:dw,onReset:d}}}),GT=(0,Ft.A)(qT,[["render",jT],["__scopeId","data-v-13bf16f9"]]),QT=GT;var ZT={class:"msg"},YT={key:0},zT={class:"help"},JT=["href"];function eE(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:e.icon,title:e.title,close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",ZT,[(0,K.eW)((0,tt.v_)(e.msg)+" ",1),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)("p",YT,[(0,K.Lk)("section",zT,[(0,K.eW)((0,tt.v_)(e.$t("modals.readMore.msg"))+" ",1),(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,JT)])])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"footer",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["icon","title","close"])}const tE=(0,K.pM)({components:{Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},type:{type:String,default:""},icon:{type:String,default:""}},setup:function(){return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4}}}),nE=(0,Ft.A)(tE,[["render",eE],["__scopeId","data-v-3ffbff84"]]),aE=nE;var rE={class:"msg"},oE={class:"sub-header"},iE={key:0,class:"title"},sE={key:0},uE={class:"title"},cE={key:1},lE=["href"];function dE(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"help",title:e.$t("modals.recipient.title"),close:e.resolve,"full-screen":""}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",rE,[(0,K.Lk)("span",oE,(0,tt.v_)(e.isProtocolAe?e.$t("modals.recipient.ae-sub-header"):e.$t("modals.recipient.sub-header",{protocolName:e.protocolName})),1),(0,K.Lk)("p",{class:(0,tt.C4)({capitalize:!e.isProtocolAe})},[(0,K.bF)(i,{keypath:"modals.recipient.msg.publicAddress.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[e.isProtocolAe?((0,K.uX)(),(0,K.CE)("strong",iE,(0,tt.v_)(e.$t("modals.recipient.msg.publicAddress.title")),1)):(0,K.Q3)("",!0)]})),_:1})],2),e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",sE,[(0,K.bF)(i,{keypath:"modals.recipient.msg.chain.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",uE,(0,tt.v_)(e.$t("modals.recipient.msg.chain.title"))+": ",1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.recipient.msg.chain.linkTitle")),1)]})),_:1})])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES&&e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",cE,[(0,K.bF)(i,{keypath:"modals.readMore.msg",class:"help",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,lE)]})),_:1})])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["title","close"])}const pE=(0,K.pM)({components:{Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},protocol:{type:String,required:!0},close:{type:Function,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.protocol===o.yv.aeternity})),n=(0,K.EW)((function(){return i.C.getAdapter(e.protocol).protocolName}));return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4,protocolName:n,isProtocolAe:t}}}),vE=(0,Ft.A)(pE,[["render",dE],["__scopeId","data-v-2bbbdb24"]]),fE=vE;var mE={class:"content"},gE={class:"subtitle"},hE={class:"list"};function AE(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)({class:"consensus-info"},Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"info",title:e.$t("modals.consensusInfo.title"),close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",mE,[(0,K.Lk)("div",gE,(0,tt.v_)(e.$t("modals.consensusInfo.subtitle")),1),(0,K.Lk)("ul",hE,[(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.firstPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.secondPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.thirdPoint")},null,8,["str"])])]),(0,K.bF)(i,{str:e.$t("modals.consensusInfo.description")},null,8,["str"])])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",text:e.$t("common.ok"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["title","close"])}const kE=(0,K.pM)({components:{TemplateRenderer:qL,Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null}}}),yE=(0,Ft.A)(kE,[["render",AE],["__scopeId","data-v-1660ae4c"]]),bE=yE;var wE={class:"header text-heading-2"},CE={class:"description text-description"},xE={class:"wrapper"};function LE(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"",class:"payload-form",onClose:t[3]||(t[3]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"btn-cancel",variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.reject()})},null,8,["text"]),(0,K.bF)(s,{text:e.$t("modals.payloadForm.doneBtn"),disabled:!e.value.length,onClick:t[2]||(t[2]=function(t){return e.resolve(e.value)})},null,8,["text","disabled"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",wE,(0,tt.v_)(e.$t("modals.payloadForm.title")),1),(0,K.Lk)("div",CE,(0,tt.v_)(e.$t("modals.payloadForm.desc")),1),(0,K.Lk)("div",xE,[(0,K.bF)(i,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.value=t}),size:"sm",resizable:!1},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.payloadForm.label")),1)]})),_:1},8,["modelValue"])])]})),_:1})}const SE=(0,K.pM)({name:"PayloadForm",components:{BtnMain:Mo.A,FormTextarea:tu.A,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},payload:{type:String,default:""}},setup:function(e){return{value:(0,bt.KR)(e.payload)}}}),TE=(0,Ft.A)(SE,[["render",LE],["__scopeId","data-v-3d4412a8"]]),EE=TE;var IE={class:"header text-heading-2"},_E={class:"redeemed-amount"},WE={class:"redeemed-by"},FE={class:"redeem-balance"},DE={key:0},BE={key:1,class:"already-redeemed"},PE={class:"buttons"};function ME(e,t,n,a,r,o){var i=(0,K.g2)("CheckCircleIcon"),s=(0,K.g2)("AccountSelector"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("DetailsItem"),l=(0,K.g2)("BalanceInfo"),d=(0,K.g2)("BtnMaxAmount"),p=(0,K.g2)("TransferSendAmount"),v=(0,K.g2)("BtnMain"),f=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(f,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"","min-height":"",class:"claim-gift-card",onClose:e.reject},{footer:(0,K.k6)((function(){return[(0,K.Lk)("div",PE,[e.step===e.STEPS.initial?((0,K.uX)(),(0,K.Wv)(v,{key:0,variant:"muted",text:e.$t("modals.claimGiftCard.redeemPartially"),disabled:e.loading,onClick:t[2]||(t[2]=function(t){return e.step=e.STEPS.form})},null,8,["text","disabled"])):(0,K.Q3)("",!0),(0,K.bF)(v,{icon:e.loading?e.AnimatedSpinner:null,text:e.mainButtonText,disabled:e.isDisabled||e.loading,onClick:t[3]||(t[3]=function(t){return e.handleMainButtonClick()})},null,8,["icon","text","disabled"])])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",IE,(0,tt.v_)(e.$t("modals.claimGiftCard.title")),1),e.step===e.STEPS.redeemPartially||e.step===e.STEPS.redeemFull&&!e.isCardEmpty?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"check-circle-icon"}),(0,K.Lk)("div",_E,[(0,K.Lk)("span",null,(0,tt.v_)(e.amount)+" "+(0,tt.v_)(e.AE_SYMBOL),1),(0,K.Lk)("span",WE,(0,tt.v_)(e.$t("modals.claimGiftCard.redeemedBy",["(".concat(e.currencyFormatted,")")])),1)])],64)):(0,K.Q3)("",!0),(0,K.bF)(c,null,{label:(0,K.k6)((function(){return[e.step!==e.STEPS.redeemPartially&&e.step!==e.STEPS.redeemFull?((0,K.uX)(),(0,K.Wv)(s,{key:0,modelValue:e.recipientId,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.recipientId=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"])):e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:1,address:e.recipientId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))]})),_:1}),(0,K.Lk)("div",FE,[e.step===e.STEPS.initial&&e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",DE,(0,tt.v_)(e.$t("modals.claimGiftCard.balance")),1)),(0,K.bF)(l,{balance:e.balance.toNumber(),protocol:e.PROTOCOLS.aeternity,class:(0,tt.C4)({gray:0===e.balance.toNumber()})},null,8,["balance","protocol","class"])]),e.isCardEmpty?((0,K.uX)(),(0,K.CE)("span",BE,(0,tt.v_)(e.$t("modals.claimGiftCard.alreadyRedeemed")),1)):(0,K.Q3)("",!0),e.step===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(p,{key:2,modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),errors:e.errors,readonly:"",protocol:e.PROTOCOLS.aeternity,"custom-label":e.$t("modals.claimGiftCard.amount"),"validation-rules":{max_redeem:e.max.toString()},"without-margin":""},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(d,{"is-max":e.isMax,onClick:e.setMaxAmount},null,8,["is-max","onClick"])]})),_:1},8,["modelValue","errors","protocol","custom-label","validation-rules"])):(0,K.Q3)("",!0)]})),_:1},8,["onClose"])}var OE=n(40477),RE=n(48287)["Buffer"],NE=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},UE={initial:"initial",form:"form",redeemPartially:"redeemPartially",redeemFull:"redeemFull"};const XE=(0,K.pM)({components:{AccountSelector:ps,AccountItem:Ld.A,BalanceInfo:Sa.A,BtnMain:Mo.A,CheckCircleIcon:tA,DetailsItem:Ts.A,TransferSendAmount:OE.A,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},secretKey:{type:RE,required:!0}},setup:function(e){var t=this,n=(0,An.s9)(),a=n.t,r=(0,De.mN)(),i=r.errors,u=(0,ce.CP)(),c=u.getAeSdk,l=(0,ce.oV)(),d=l.aeAccounts,p=l.aeAccountsSelectOptions,f=(0,ce.ZN)(),m=f.getFormattedFiat,A=(0,ce._V)(),k=A.claimInvite,y=(0,bt.KR)(d.value[0].address),b=(0,bt.KR)(""),w=(0,bt.KR)(new pe.A(0)),C=(0,bt.KR)(UE.initial),x=(0,bt.KR)(!1),L=(0,bt.KR)(!1),S=(0,K.EW)((function(){return m(+b.value,o.yv.aeternity)})),E=(0,K.EW)((function(){switch(C.value){case UE.initial:return a("modals.claimGiftCard.redeemFull");case UE.form:return a("modals.claimGiftCard.redeem");case UE.redeemPartially:case UE.redeemFull:return a("common.ok");default:return null}})),I=(0,_.Sf)(e.secretKey),W=I.address,F=(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.SpendTx,senderId:W,recipientId:y.value,amount:+b.value,payload:(0,h.lF)((new TextEncoder).encode(""),v.W.Bytearray),nonce:1}),g.vw.SpendTx).fee).shiftedBy(-T.kS),D=(0,K.EW)((function(){return w.value.minus(F)})),B=(0,K.EW)((function(){return b.value.toString()===D.value.toString()}));function P(){return NE(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c();case 2:return t=e.sent,e.t0=pe.A,e.next=6,t.getBalance(W,{format:Jc.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),w.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function M(){b.value=D.value.isPositive()?D.value.toString():"0"}function O(){return NE(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:L.value=!0,t.t0=C.value,t.next=t.t0===UE.initial?4:t.t0===UE.form?9:t.t0===UE.redeemPartially||t.t0===UE.redeemFull?13:15;break;case 4:return M(),t.next=7,k({secretKey:e.secretKey,recipientId:y.value,isMax:!0});case 7:return C.value=UE.redeemFull,t.abrupt("break",16);case 9:return t.next=11,k({secretKey:e.secretKey,recipientId:y.value,amount:b.value,isMax:D.value.toString()===b.value.toString()});case 11:return C.value=UE.redeemPartially,t.abrupt("break",16);case 13:return e.resolve(),t.abrupt("break",16);case 15:throw new Error("Unknown step ".concat(C.value));case 16:L.value=!1;case 17:case"end":return t.stop()}}),t)})))}var R=(0,K.EW)((function(){var e;switch(C.value){case UE.form:return!b.value||!!(null===(e=i.value)||void 0===e?void 0:e.amount);default:return!1}}));return(0,K.sV)((function(){return NE(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,P();case 2:0===w.value.toNumber()&&(C.value=UE.redeemFull,x.value=!0),setInterval(P,3e3);case 4:case"end":return e.stop()}}),e)})))})),{AE_SYMBOL:T.kf,AnimatedSpinner:ia.A,aeAccountsSelectOptions:p,amount:b,balance:w,currencyFormatted:S,errors:i,fee:F,handleMainButtonClick:O,isCardEmpty:x,isDisabled:R,isMax:B,loading:L,mainButtonText:E,max:D,PROTOCOLS:o.yv,recipientId:y,setMaxAmount:M,step:C,STEPS:UE,updateBalance:P}}}),VE=(0,Ft.A)(XE,[["render",ME],["__scopeId","data-v-5805577b"]]),HE=VE;var $E={class:"text-heading-1"},jE=["data-signer-idx"],KE={class:"signers-add-wrapper"},qE={class:"consensus"},GE={class:"description"},QE={class:"signers-count"},ZE={class:"text-emphasis"};function YE(e,t,n,a,r,o){var i=(0,K.g2)("FormSelect"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("PlusCircleIcon"),l=(0,K.g2)("FormTextarea"),d=(0,K.g2)("Field"),p=(0,K.g2)("BtnText"),v=(0,K.g2)("BtnHelp"),f=(0,K.g2)("FormNumberSelect"),m=(0,K.g2)("i18n-t"),g=(0,K.g2)("Form"),h=(0,K.g2)("MultisigVaultCreateReview"),A=(0,K.g2)("MultisigVaultCreateProgress"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(y,{"full-screen":"","from-bottom":"","has-close-button":"",class:"multisig-vault-create",onClose:t[1]||(t[1]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(k,{key:0,text:e.$t("modals.createMultisigAccount.btnText"),disabled:!e.canCreateMultisig,onClickOnce:e.openReviewStep},null,8,["text","disabled","onClickOnce"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(k,{variant:"muted",text:e.$t("common.edit"),onClick:e.openFormStep},null,8,["text","onClick"]),(0,K.bF)(k,{text:e.$t("modals.createMultisigAccount.btnTextShort"),wide:"",disabled:e.multisigAccountCreationPhase!==e.MULTISIG_CREATION_PHASES.signed||e.notEnoughBalanceToCreateMultisig,onClick:e.createMultisigAccount},null,8,["text","disabled","onClick"])],64)):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(k,{key:2,text:e.$t("modals.creatingMultisigAccount.btnText"),disabled:!(e.isMultisigAccountCreated||e.isMultisigAccountAccessible),onClick:e.navigateToMultisigVault},null,8,["text","disabled","onClick"])):(0,K.Q3)("",!0)]})),default:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(g,{key:0,class:"multisig-vault-create-form",onSubmit:(0,We.D$)(e.openReviewStep,["prevent"])},{default:(0,K.k6)((function(){return[(0,K.Lk)("h2",$E,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:"signer".concat(n),"data-signer-idx":"signer-address-".concat(n)},[0===n?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},"default-text":e.$t("modals.createMultisigAccount.signerInputPlaceholder"),label:e.getSignerLabel(n),options:e.aeAccountsSelectOptions,"item-title":"value","account-select":""},null,8,["modelValue","onUpdate:modelValue","default-text","label","options"])):((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},name:"signer-address-".concat(n),rules:{required:!0,account_address:[e.PROTOCOLS.aeternity]}},{default:(0,K.k6)((function(a){var r=a.field,o=a.errorMessage;return[(0,K.bF)(l,(0,K.v6)(r,{"model-value":t.address,"auto-height":"",label:e.getSignerLabel(n),placeholder:e.$t("modals.createMultisigAccount.signerInputPlaceholder"),name:"signer-address-".concat(n),message:o||e.getErrorMessage(t),class:{error:e.checkIfSignerAddressDuplicated(t)}}),{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{class:"scan-button",onClick:(0,We.D$)((function(t){return e.openScanQrModal(n)}),["prevent"])},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:2},1032,["onClick"])]})),after:(0,K.k6)((function(){return[n>=e.MULTISIG_VAULT_MIN_NUM_OF_SIGNERS?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"btn-plain",onClick:function(t){return e.removeSigner(n)}},{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"btn-remove-signer"})]})),_:2},1032,["onClick"])):(0,K.Q3)("",!0)]})),_:2},1040,["model-value","label","placeholder","name","message","class"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules"]))],8,jE)})),128)),(0,K.Lk)("div",KE,[(0,K.bF)(p,{icon:e.PlusCircleIcon,text:e.$t("modals.createMultisigAccount.addSigner"),"data-cy":"add-signer-btn",onClick:e.addNewSigner},null,8,["icon","text","onClick"]),(0,K.bF)(v,{title:e.$t("multisig.authorizedSigners"),msg:e.$t("modals.createMultisigAccount.addSignerHelpMsg"),"data-cy":"add-signer-btn-help"},null,8,["title","msg"])]),(0,K.Lk)("div",qE,[(0,K.Lk)("div",GE,(0,tt.v_)(e.$t("modals.createMultisigAccount.consensusRequiredDesc")),1),(0,K.Lk)("div",QE,[(0,K.bF)(f,{modelValue:e.confirmationsRequired,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.confirmationsRequired=t}),size:e.signers.length,"data-cy":"multisig-num-of-signers-selector"},null,8,["modelValue","size"]),(0,K.bF)(m,{keypath:"modals.createMultisigAccount.consensusRequiredContent",tag:"span",class:"text",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",ZE,(0,tt.v_)(e.signers.length),1)]})),_:1}),(0,K.bF)(v,{title:e.$t("modals.createMultisigAccount.consensusRequiredHelpTitle"),msg:e.$t("modals.createMultisigAccount.consensusRequiredHelpMsg"),"data-cy":"multisig-num-of-signers-selector-help"},null,8,["title","msg"])])])]})),_:1},8,["onSubmit"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.Wv)(h,{key:1,signers:e.signers,phase:e.multisigAccountCreationPhase,"confirmations-required":e.confirmationsRequired,"account-id":e.currentMultisigAccountId},null,8,["signers","phase","confirmations-required","account-id"])):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(A,{key:2,phase:e.multisigAccountCreationPhase,"multisig-account":e.multisigAccount,"is-accessible":e.isMultisigAccountAccessible,"is-created":e.isMultisigAccountCreated},null,8,["phase","multisig-account","is-accessible","is-created"])):(0,K.Q3)("",!0)]})),_:1})}var zE=n(14552),JE={class:"number-select"},eI=["value"],tI=["value","selected"];function nI(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",JE,[e.modelValue?((0,K.uX)(),(0,K.CE)("select",{key:0,value:e.modelValue,class:"number-select-input","aria-label":"choose number",onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",+(null===t||void 0===t?void 0:t.target).value)})},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.size,(function(t){return(0,K.uX)(),(0,K.CE)("option",{key:t,value:t,selected:t===e.modelValue},(0,tt.v_)(t),9,tI)})),128))],40,eI)):(0,K.Q3)("",!0),(0,K.bF)(i,{class:"chevron-icon"})])}const aI=(0,K.pM)({components:{ChevronDownIcon:hv.A},props:{size:{type:Number,required:!0},modelValue:{type:Number,required:!0}},emits:["update:modelValue"]}),rI=(0,Ft.A)(aI,[["render",nI],["__scopeId","data-v-725fb95c"]]),oI=rI;var iI={class:"multisig-vault-create-review"},sI={class:"text-heading-1"},uI={class:"authorized-signers"};function cI(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("BtnHelp"),l=(0,K.g2)("ConsensusLabel"),d=(0,K.g2)("AccountItem"),p=(0,K.g2)("DialogBox"),v=(0,K.g2)("LoadingIcon"),f=(0,K.g2)("TokenAmount");return(0,K.uX)(),(0,K.CE)("div",iI,[(0,K.Lk)("h2",sI,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),(0,K.bF)(u,{label:e.$t("multisig.creatingAccount")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"]),e.notEnoughBalanceToCreateMultisig?((0,K.uX)(),(0,K.Wv)(s,{key:0,keypath:"modals.createMultisigAccount.errorNotEnoughBalanceToCreateVault",tag:"div",class:"creator-error-message",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.fee)+" "+(0,tt.v_)(e.AE_SYMBOL),1)]})),_:1})):(0,K.Q3)("",!0)]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(c,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(l,{"confirmations-required":e.confirmationsRequired,signers:e.signers,"default-confirmed-by":e.confirmationsRequired},null,8,["confirmations-required","signers","default-confirmed-by"])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.authorizedSigners")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",uI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.address,class:"authorized-signers-row"},[(0,K.bF)(d,{address:t.address,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t.address)?((0,K.uX)(),(0,K.Wv)(p,{key:0,dense:"",textContent:(0,tt.v_)(e.$t("common.you"))},null,8,["textContent"])):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"]),e.fee&&e.callData&&e.creatorAccountFetched?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(u,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(f,{amount:e.fee,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){return[(0,K.bF)(u,{label:e.$t("common.nonce"),value:e.creatorAccountFetched.nonce},null,8,["label","value"]),(0,K.bF)(u,{label:e.$t("common.callData"),value:e.callData,small:""},null,8,["label","value"])]})),_:1},8,["label"])],64)):((0,K.uX)(),(0,K.Wv)(v,{key:0,class:"loading-icon"}))])}var lI=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const dI=(0,K.pM)({components:{BtnHelp:sd.A,AccountSelector:ps,ConsensusLabel:Jn,DetailsItem:Ts.A,AccountItem:Ld.A,DialogBox:Tb.h,TokenAmount:Es.A,LoadingIcon:ia.A},props:{phase:{type:String,default:null},signers:{type:Array,required:!0},confirmationsRequired:{type:Number,required:!0},accountId:{type:String,required:!0}},setup:function(e){var t=this,n=(0,ce.oV)(),a=n.aeAccounts,r=n.aeAccountsSelectOptions,i=n.isLocalAccountAddress,u=(0,ce.Nc)(),c=u.multisigAccountCreationFee,l=u.prepareVaultCreationRawTx,d=u.pendingMultisigCreationTxs,p=u.notEnoughBalanceToCreateMultisig,v=(0,ce.CP)(),f=v.getAeSdk,m=(0,ce.U8)(),g=m.openModal,h=(0,bt.KR)(e.signers[0].address||a.value[0].address),A=(0,bt.KR)(),k=(0,K.EW)((function(){return a.value.find((function(e){var t=e.address;return t===h.value}))})),y=(0,K.EW)((function(){return c.value})),b=(0,K.EW)((function(){return d.value[e.accountId].multisigAccountCreationEncodedCallData}));function w(){g(o.bG)}return(0,K.wB)(h,(function(n,a){return lI(t,void 0,void 0,(0,s.A)().mark((function t(){var r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n===a){t.next=18;break}return A.value=void 0,t.next=4,f();case 4:return r=t.sent,t.prev=5,t.next=8,r.api.getAccountByPubkey(n);case 8:o=t.sent,A.value=Object.assign(Object.assign({},o),{balance:o.balance.toString()}),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](5),(0,L.fY)(t.t0),A.value={balance:"0",id:n,kind:"basic",nonce:0,payable:!1};case 16:return t.next=18,l(n,e.accountId);case 18:case"end":return t.stop()}}),t,null,[[5,12]])})))}),{immediate:!0}),{AE_SYMBOL:T.kf,aeAccountsSelectOptions:r,creatorAddress:h,creatorAccount:k,creatorAccountFetched:A,isLocalAccountAddress:i,fee:y,callData:b,notEnoughBalanceToCreateMultisig:p,openConsensusInfoModal:w,PROTOCOLS:o.yv}}}),pI=(0,Ft.A)(dI,[["render",cI],["__scopeId","data-v-d3f0db28"]]),vI=pI;var fI={class:"multisig-vault-creation-progress"},mI=["textContent"],gI={class:"phase-list"},hI=["textContent"],AI={class:"phase-item-name"},kI={key:0},yI={key:1},bI={key:2,class:"phase-item-caption"},wI={key:0,class:"multisig-account-created"},CI=["textContent"],xI=["textContent"],LI=["textContent"];function SI(e,t,n,a,r,o){var i=(0,K.g2)("ProgressBar"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("CheckSuccessCircleIcon");return(0,K.uX)(),(0,K.CE)("div",fI,[(0,K.Lk)("h2",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.title"))},null,8,mI),(0,K.bF)(i,{progress:e.progressPercentage},null,8,["progress"]),(0,K.Lk)("div",gI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.localPhases,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:(0,tt.C4)([{highlighted:e.isPhaseCompleted(n)||e.isPhaseCurrent(n)},"phase-item"])},[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"phase-pending-icon"})):e.isPhaseCompleted(n)?((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"phase-success-icon"})):((0,K.uX)(),(0,K.CE)("div",{key:2,class:"phase-number",textContent:(0,tt.v_)(n+1)},null,8,hI)),(0,K.Lk)("div",AI,[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",kI,(0,tt.v_)(t.pendingText||t.text)+"… ",1)):((0,K.uX)(),(0,K.CE)("div",yI,(0,tt.v_)(t.text),1)),t.caption&&!e.isAccessible&&e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",bI,(0,tt.v_)(t.caption),1)):(0,K.Q3)("",!0)])],2)})),128))]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isAccessible||e.isCreated?((0,K.uX)(),(0,K.CE)("div",wI,[e.isAccessible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultAccessibleMessage"))},null,8,CI)):e.isCreated?((0,K.uX)(),(0,K.CE)("div",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessage"))},null,8,xI)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"sub-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessageSub"))},null,8,LI)])):(0,K.Q3)("",!0)]})),_:1})])}var TI={class:"progress-bar"};function EI(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",TI,[(0,K.Lk)("div",{class:"progress",style:(0,tt.Tr)({width:"".concat(e.progress,"%")})},null,4)])}const II=(0,K.pM)({props:{progress:{type:Number,default:0}}}),_I=(0,Ft.A)(II,[["render",EI],["__scopeId","data-v-1dd3e346"]]),WI=_I,FI=(0,K.pM)({name:"MultisigVaultCreateProgress",components:{ProgressBar:WI,CheckSuccessCircleIcon:Dh,PendingIcon:Un.A},props:{multisigAccount:{type:Object,default:null},phase:{type:String,default:null},isAccessible:Boolean,isCreated:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=[{key:T._B.prepared,text:n("modals.creatingMultisigAccount.preparingMultisigVault")},{key:T._B.deployed,text:n("modals.creatingMultisigAccount.deployingSmartContract")},{key:T._B.created,text:n("modals.creatingMultisigAccount.creatingMultisigVault"),caption:n("modals.creatingMultisigAccount.creatingMultisigVault")},{key:T._B.accessible,text:n("modals.creatingMultisigAccount.addingToWallet"),pendingText:n("modals.creatingMultisigAccount.syncingVault"),caption:n("modals.creatingMultisigAccount.takingLong")}],r=(0,K.EW)((function(){return a.findIndex((function(t){var n=t.key;return n===e.phase}))})),o=(0,K.EW)((function(){return 100/a.length*(r.value+1)}));function i(e){return e===r.value+1}function s(t){return!!e.multisigAccount||t<=r.value}return{PlusCircle:Er.A,localPhases:a,progressPercentage:o,isPhaseCurrent:i,isPhaseCompleted:s}}}),DI=(0,Ft.A)(FI,[["render",SI],["__scopeId","data-v-23d2125d"]]),BI=DI;var PI=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},MI={form:"form",review:"review",processing:"processing"};const OI=(0,K.pM)({name:"MultisigVaultCreate",components:{FormNumberSelect:oI,FormTextarea:tu.A,Modal:Ls.A,BtnMain:Mo.A,BtnPlain:Mr.A,BtnText:zE.A,BtnHelp:sd.A,MultisigVaultCreateProgress:BI,QrScanIcon:yS.A,PlusCircleIcon:Er.A,MultisigVaultCreateReview:vI,FormSelect:qo.A,Field:De.D0,Form:De.lV},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,ce.oV)(),i=r.aeAccountsSelectOptions,u=(0,ce.U8)(),c=u.openModal,l=u.openDefaultModal,d=(0,De.lw)(),p=(0,ce.ci)({pollOnce:!0}),v=p.setActiveMultisigAccountId,f=(0,ce.Nc)(),m=f.multisigAccount,g=f.multisigAccountCreationPhase,h=f.pendingMultisigCreationTxs,A=f.multisigAccountCreationFee,k=f.isMultisigAccountAccessible,y=f.isMultisigAccountCreated,b=f.prepareVaultCreationAttachTx,w=f.deployMultisigAccount,C=f.notEnoughBalanceToCreateMultisig,x=(0,bt.KR)(MI.form),S=(0,bt.KR)([]),E=(0,bt.KR)(T.sL),I=(0,bt.KR)(),W=(0,K.EW)((function(){return S.value.map((function(e){var t=e.address;return t})).filter(L.__)}));function F(e){return(0,_.Fd)(e.address).valid&&S.value.filter((function(t){var n=t.address;return e.address===n})).length>=2}var D=(0,K.EW)((function(){return!S.value.filter((function(e){return!(0,_.Fd)(e.address).valid||F(e)})).length})),B=(0,K.EW)((function(){var e;return S.value.length>=T.sL&&D.value&&!(null===(e=d.value)||void 0===e?void 0:e.length)}));function P(){S.value.push({address:void 0})}function M(e){S.value.splice(e,1)}function O(e){return F(e)?a("modals.createMultisigAccount.errorDuplicatingInputMessage"):null}function R(e){return PI(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.$b,{title:a("multisig.scanAddress"),icon:"critical"});case 2:if(n=t.sent,n){t.next=5;break}return t.abrupt("return");case 5:if(r=(0,_.Fd)(n),i=r.valid,u=r.isName,i&&!u){t.next=9;break}return l({title:a("modals.invalid-qr-code.msg"),icon:"critical"}),t.abrupt("return");case 9:if(!S.value.find((function(e){return e.address===n}))){t.next=12;break}return l({title:a("modals.createMultisigAccount.errorDuplicatingSigner"),icon:"critical"}),t.abrupt("return");case 12:S.value[e].address=n;case 13:case"end":return t.stop()}}),t)})))}function N(e){return"".concat(a("modals.createMultisigAccount.signer")," ").concat(e+1)}function U(){x.value=MI.form}function X(){return PI(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,b(E.value,W.value);case 2:I.value=e.sent,x.value=MI.review;case 4:case"end":return e.stop()}}),e)})))}function V(){var e;return PI(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(x.value=MI.processing,t.prev=1,I.value){t.next=4;break}throw Error(String(a("multisig.multisigVaultCreationFailed")));case 4:return t.next=6,w(I.value,E.value,W.value);case 6:t.next=14;break;case 8:return t.prev=8,t.t0=t["catch"](1),(0,L.fY)(t.t0),t.next=13,l({title:a("multisig.multisigVaultCreationFailed"),icon:"critical",msg:null===(e=null===t.t0||void 0===t.t0?void 0:t.t0.details)||void 0===e?void 0:e.reason,textCenter:!0});case 13:x.value=MI.form;case 14:case"end":return t.stop()}}),t,null,[[1,8]])})))}function H(){return PI(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!m.value){n.next=5;break}return n.next=3,e.resolve();case 3:v(m.value.gaAccountId),t.push({name:Ye.zn});case 5:case"end":return n.stop()}}),n)})))}return(0,K.sV)((function(){if(!S.value.length)for(var e=0;e99:return"99+";default:return e.toString()}}));return{ROUTE_NOTIFICATIONS:Ye.Ld,BellIcon:rW,notificationsCount:n}}}),iW=(0,Ft.A)(oW,[["render",Z_]]),sW=iW;function uW(e,t,n,a,r,o){var i=(0,K.g2)("BtnPill");return(0,K.uX)(),(0,K.Wv)(i,{class:"network-button",dense:"",hollow:"",onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.openNetworkSwitcherModal()}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["circle",{connected:e.isOnline&&e.isAeNodeReady,error:!e.isOnline||e.isAeNodeError}])},null,2),(0,K.eW)(" "+(0,tt.v_)(e.activeNetwork.name),1)]})),_:1})}const cW=(0,K.pM)({components:{BtnPill:Go.A},setup:function(){var e=(0,ce.w5)(),t=e.isOnline,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.U8)(),i=r.openModal,s=(0,ce.CP)(),u=s.isAeNodeReady,c=s.isAeNodeError;function l(){return i(o.ld)}return{isOnline:t,isAeNodeReady:u,isAeNodeError:c,activeNetwork:a,openNetworkSwitcherModal:l}}}),lW=(0,Ft.A)(cW,[["render",uW],["__scopeId","data-v-386368e2"]]),dW=lW;function pW(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(i,{class:"open-apps-browser-button","data-cy":"apps-browser-btn",icon:e.GlobeSmallIcon,to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","to"])}const vW=(0,K.pM)({components:{BtnIcon:Co.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(){return{GlobeSmallIcon:vi.A,ROUTE_APPS_BROWSER:Ye.qC}}}),fW=(0,Ft.A)(vW,[["render",pW],["__scopeId","data-v-425bf3bf"]]),mW=fW,gW=(0,K.pM)({components:{NetworkButton:dW,AppsBrowserBtn:mW,NotificationsIcon:sW,BtnClose:BC.A,BtnPlain:Mr.A,Logo:Q_.A,Truncate:Nn.A,BtnIcon:Co.A,IonHeader:Fe.eU,IonToolbar:Fe.ai},setup:function(){var e=(0,za.lq)(),t=(0,Fe.jq)(),n=(0,An.s9)(),a=n.t,r=(0,ce.mv)(),i=r.homeRouteName,s=(0,ce.oV)(),u=s.isLoggedIn,c={settings:function(){return a("pages.titles.settings")},language:function(){return a("pages.titles.language")},about:function(){return a("pages.titles.about")},sendTip:function(){return a("pages.titles.sendTip")},claimTips:function(){return a("pages.claimTips.title")},terms:function(){return a("pages.titles.terms")},privacy:function(){return a("pages.titles.privacy")},currency:function(){return a("pages.titles.currency")},notifications:function(){return a("pages.titles.notifications")},auction:function(){return a("pages.titles.auction")},more:function(){return a("pages.titles.more")},networks:function(){return a("pages.titles.networks")},permissionsSettings:function(){return a("pages.titles.permissionsSettings")},permissionsEdit:function(){return a("pages.titles.permissionsEdit")},permissionsAdd:function(){return a("pages.titles.permissionsAdd")},commentNew:function(){return a("pages.titles.commentNew")},donateError:function(){return a("pages.titles.donateError")},address:function(){return a("pages.titles.address")},signMessage:function(){return a("pages.titles.signMessage")},signTransaction:function(){return a("pages.titles.signTransaction")},giftCards:function(){return a("pages.titles.giftCards")},txDetails:function(){return a("pages.titles.txDetails")},tokenDetails:function(){return a("pages.titles.tokenDetails")},coinDetails:function(){return a("pages.titles.coinDetails")},saveErrorsLog:function(){return a("pages.titles.saveErrorsLog")},resetWallet:function(){return a("pages.resetWallet.title")},seedPhrase:function(){return a("pages.titles.seedPhrase")},networkAdd:function(){return a("pages.titles.networkAdd")},networkEdit:function(){return a("pages.titles.networkEdit")},notFound:function(){return a("pages.titles.notFound")},multisigProposalDetails:function(){return a("pages.titles.multisigProposalDetails")}},l=(0,K.EW)((function(){return u.value?i.value:Ye.nv})),d=(0,K.EW)((function(){return e.meta})),p=(0,K.EW)((function(){var e;return!!(null===(e=d.value)||void 0===e?void 0:e.showHeaderNavigation)})),v=(0,K.EW)((function(){return e.name===Ye.qJ})),f=(0,K.EW)((function(){var e;return(null===(e=d.value)||void 0===e?void 0:e.title)&&c[d.value.title]?c[d.value.title]():""}));function m(){var n=e.fullPath,a=e.meta,r=a||{},o=r.backRoute;if(!u.value)return t.navigate({name:l.value},"back","push");if(o)return t.navigate(o,"back","push");var i=n.endsWith("/")?n.slice(0,-1):n;return t.navigate(i.substr(0,i.lastIndexOf("/"))||{name:l.value},"back","push")}function g(){t.navigate({name:l.value},"back","push")}return(0,Fe.zE)(1,m),{UNFINISHED_FEATURES:o.s4,homeRouteName:i,BackIcon:Jr,ThreeDotsIcon:ZC,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,IS_MOBILE_APP:o.I$,isLoggedIn:u,showHeaderNavigation:p,isLogoDisabled:v,titleTruncated:f,back:m,close:g}}}),hW=(0,Ft.A)(gW,[["render",G_],["__scopeId","data-v-e2406f5c"]]),AW=hW;function kW(e,t,n,a,r,o){return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.statusText?((0,K.uX)(),(0,K.CE)("div",{key:0,"data-cy":"connect-node",class:(0,tt.C4)(["node-connection-status",{"is-error":e.isError}])},(0,tt.v_)(e.statusText),3)):(0,K.Q3)("",!0)]})),_:1})}var yW=2e3;const bW=(0,K.pM)({setup:function(){var e=(0,An.s9)(),t=e.t,n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.CP)(),o=r.isAeNodeConnecting,i=r.isAeNodeReady,s=r.isAeNodeError,u=(0,ce.oV)(),c=u.isLoggedIn,l=(0,bt.KR)(!1),d=(0,K.EW)((function(){return!a.value||s.value}));(0,K.wB)(i,(function(e){l.value=e,e&&setTimeout((function(){l.value=!1}),yW)}));var p=(0,K.EW)((function(){switch(!0){case!a.value:return t("connectionStatus.offline");case!c.value:return null;case o.value:return t("connectionStatus.node.connecting");case l.value:return t("connectionStatus.node.connected");case s.value:return t("connectionStatus.node.error");default:return null}}));return{isError:d,statusText:p}}}),wW=(0,Ft.A)(bW,[["render",kW],["__scopeId","data-v-7ee50ab2"]]),CW=wW;var xW=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const LW=(0,K.pM)({name:"App",components:{Header:AW,NodeConnectionStatus:CW,Close:mA.A,IonApp:Fe.U1,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO,Loader:MT.A},setup:function(){var e=this,t=(0,za.lq)(),n=(0,za.rd)(),r=(0,An.s9)(),i=r.t,u=(0,ce.w5)(),c=u.watchConnectionStatus,l=(0,ce.mv)(),d=l.isSeedBackedUp,p=l.qrScannerOpen,v=l.isLoaderVisible,f=l.initVisibilityListeners,m=(0,ce.U8)(),g=m.modalsOpen,h=(0,ce.oV)(),A=h.isLoggedIn,k=(0,ce.E$)(),y=k.addWalletNotification,b=(0,ce.ZN)({pollingDisabled:!0}),w=b.loadCoinsData,C=(0,ce.Jt)(),x=C.restoreLanguage,S=(0,$_.t)(),T=S.restore,E=(0,ce.ci)({pollingDisabled:!0}),I=E.multisigAccounts,_=(0,bt.KR)(),W=(0,bt.KR)(!1),F=(0,K.EW)((function(){return t.meta})),D=(0,K.EW)((function(){var e;return null===(e=F.value)||void 0===e?void 0:e.showScrollbar})),B=(0,K.EW)((function(){var e;return!(o.dx||t.params.app||(null===(e=F.value)||void 0===e?void 0:e.hideHeader))}));function P(){document.documentElement.style.setProperty("--height",o.I$&&o.pz?"100vh":"100%"),o.hL&&document.documentElement.classList.add("is-extension")}function M(){var e;return xW(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,u,c,l;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=null===(e=null===browser||void 0===browser?void 0:browser.runtime)||void 0===e?void 0:e.requestUpdateCheck,!o.hL||!n){t.next=11;break}return t.next=4,n();case 4:r=t.sent,u=(0,a.A)(r,1),c=u[0],l="",o.$M&&(l=o.Fl),o.m_&&(l=o.b1),"update_available"===c&&y({text:i("pages.account.updateAvailableText"),title:i("pages.account.updateAvailable"),buttonLabel:i("pages.notifications.goToStore"),path:l});case 11:case"end":return t.stop()}}),t)})))}function O(){return xW(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:d.value||y({title:i("pages.account.secureYourAccount"),text:i("pages.account.seedNotification"),buttonLabel:i("pages.account.backupNow"),path:"/more/settings/seed-phrase",isSeedBackup:!0});case 1:case"end":return e.stop()}}),e)})))}return(0,K.wB)((function(){return t.fullPath}),(function(){_.value&&(_.value.scrollTop=0)})),(0,K.wB)(I,(function(e){var t;!(null===e||void 0===e?void 0:e.length)&&(null===(t=F.value)||void 0===t?void 0:t.isMultisig)&&n.push({name:Ye.qJ})})),(0,K.wB)(B,(function(t){return xW(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}W.value=!0,e.next=8;break;case 4:if(A.value){e.next=7;break}return W.value=!1,e.abrupt("return");case 7:setTimeout((function(){W.value=!1}),o.dy);case 8:case"end":return e.stop()}}),e)})))}),{immediate:!0}),f(),(0,K.KC)((function(){return xW(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:o.I$&&(H_.eA.setStyle({style:H_.OF.Dark}),H_.eA.setBackgroundColor({color:"#141414"}),null===(n=null===(t=window.screen.orientation)||void 0===t?void 0:t.lock)||void 0===n||n.call(t,"portrait"));case 1:case"end":return e.stop()}}),e)})))})),(0,K.sV)((function(){P(),M(),x(),T(),c(),o.I$&&setTimeout((function(){V_.S.hide({fadeOutDuration:300})}),2e3),o.dx||w(),(0,L.mU)(A).then((function(){setTimeout((function(){O()}),100)}))})),{IS_FIREFOX:o.$M,IS_IOS:o.pz,IS_WEB:o.u2,IS_EXTENSION:o.hL,IS_MOBILE_DEVICE:o.Hy,RUNNING_IN_TESTS:o.yW,modalsOpen:g,qrScannerOpen:p,showHeader:B,delayedShowHeader:W,showScrollbar:D,innerElement:_,isLoaderVisible:v}}}),SW=(0,Ft.A)(LW,[["render",X_],["__scopeId","data-v-353b17cc"]]),TW=SW;N_();var EW=(0,We.Ef)(TW);EW.use(Fe.hx),EW.use(x.Ru),EW.use(qx),EW.mount("#app"),S.A.init({app:EW}),Oe()},90973:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>P,E8:()=>N,GR:()=>D,Go:()=>X,HH:()=>_,Ie:()=>g,Ld:()=>y,PC:()=>c,Q6:()=>V,Sr:()=>k,ao:()=>s,cH:()=>B,eS:()=>O,fc:()=>d,hN:()=>L,iB:()=>A,iO:()=>E,iz:()=>p,jA:()=>T,kM:()=>U,kb:()=>h,n3:()=>m,nj:()=>S,no:()=>o,nv:()=>a,pe:()=>M,qC:()=>F,qJ:()=>r,r:()=>w,r9:()=>i,rh:()=>W,s4:()=>b,t:()=>I,tE:()=>x,tX:()=>v,tl:()=>u,uY:()=>C,uc:()=>f,xO:()=>H,z0:()=>R,zn:()=>l});var a="index",r="account",o="account-details",i="account-details-assets",s="account-details-names",u="account-details-names-auctions",c="account-details-names-claim",l="account-multisig",d="multisig-coin",p="multisig-coin-details",v="multisig-tx-details",f="multisig-account-details",m="multisig-account-details-info",g="account-details-multisig-proposal-details",h="multisig-account-details-assets",A="tx-details",k="more",y="notifications",b="coin",w="coin-details",C="token",x="token-details",L="not-found",S="network-settings",T="network-add",E="network-edit",I="web-iframe-popup",_="invite-claim",W="donate-error",F="apps-browser",D="about-terms",B="auction-bid",P="auction-history",M="permissions-add",O="permissions-details",R="permissions-settings",N="connect",U="popup-sign-tx",X="account-list",V="popup-raw-sign",H="message-sign"},55364:(e,t,n)=>{"use strict";n.d(t,{e:()=>U});var a=n(55096),r=n(2327),o=(n(28706),n(26099),n(50953)),i=n(20641),s=n(43089),u=n.n(s),c=n(95993),l=n(91087),d=n(65563),p=n(31189),v=n(29958),f=n(1287),m=n(6682),g=n(38151),h=n(81503),A=n(73808),k=(n(16280),n(76918),n(2008),n(50113),n(46449),n(74423),n(64346),n(62062),n(72712),n(34782),n(93514),n(94170),n(62010),n(33110),n(5506),n(53921),n(79432),n(16034),n(27495),n(21699),n(47764),n(25440),n(62953),n(76031),n(55886)),y=n(52347),b=["__requestBody","__queue"],w=!1;function C(e){return e.replace(/_./g,(function(e){return e[1].toUpperCase()}))}function x(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}var L=function(e,t){return Object.fromEntries(Object.entries(e).map(t))},S=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))},T=function e(t,n){return"object"!==(0,A.A)(n)||null===n?n:Array.isArray(n)?n.map((function(n){return e(t,n)})):L(n,(function(n){var r=(0,a.A)(n,2),o=r[0],i=r[1];return[t(o),e(t,i)]}))},E=T.bind(null,x),I=T.bind(null,C);function _(e){return W.apply(this,arguments)}function W(){return W=(0,h.A)((0,r.A)().mark((function e(t){var n,o,i,s,u,c,l,d,p,x,T,_,W,F,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=B.length>1&&void 0!==B[1]?B[1]:{},o=n.spec,i=n.internalUrl,s=n.disableBigNumbers,u=n.disableCaseConversion,c=n.responseInterceptor,l=s?JSON:y.A,e.next=4,Promise.all([t,i].map((function(e){if(!e)return null;var t={};return(0,k.A)({url:e,spec:o,requestInterceptor:function(e){if("GET"===e.method)return(0,g.A)((0,g.A)({},e),{},{userFetch:function(){var e=(0,h.A)((0,r.A)().mark((function e(n,a){var o,i;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=JSON.stringify((0,g.A)((0,g.A)({},a),{},{_url:n})),null!==(o=t[i])&&void 0!==o||(t[i]=fetch(n,a)),e.prev=2,e.next=5,t[i];case 5:return e.abrupt("return",e.sent.clone());case 6:return e.prev=6,delete t[i],e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[2,,6,9]])})));function n(t,n){return e.apply(this,arguments)}return n}()})},responseInterceptor:function(e){var t;if(""===e.text||0===(null===(t=e.text)||void 0===t?void 0:t.size))return e;var n=l.parse(e.text);return Object.assign(e,{body:u?n:I(n)}),c&&c(e)||e}})})));case 4:return d=e.sent,p=(0,a.A)(d,2),x=p[0],T=p[1],_=Object.assign.apply(Object,[{}].concat((0,m.A)(x.apis.external?[x.apis.external]:Object.values(x.apis)),[L((null===T||void 0===T?void 0:T.apis.internal)||{},(function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,function(){return w||(console.warn('SDK\'s wrapper of aeternity node internal API is deprecated, please use external equivalent (for example, "aeSdk.api.protectedDryRunTxs" instead of "aeSdk.api.dryRunTxs") or create a wrapper of internal API by yourself (using "genSwaggerClient")'),w=!0),r.apply(void 0,arguments)}]}))])),W=Object.fromEntries(Object.values(o.paths).map((function(e){return Object.values(e)})).flat().map((function(e){return[e.operationId,e]}))),F={},D=L(_,(function(e){var t=(0,a.A)(e,2),n=t[0],o=t[1],i=n.slice(0,1).toLowerCase()+C(n.slice(1));return[i,(0,h.A)((0,r.A)().mark((function e(){var t,s,c,d,p,k,y,w,C,x,T,I,_,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(s=B.length,c=new Array(s),d=0;d{"use strict";n.d(t,{q:()=>W});var a=n(55096),r=n(2327),o=(n(93514),n(62953),n(52675),n(28706),n(2008),n(50113),n(46449),n(74423),n(25276),n(62062),n(44114),n(72712),n(62010),n(26099),n(21699),n(47764),n(50953)),i=n(20641),s=n(31189),u=n(91087),c=n(65563),l=n(12589),d=n(84754),p=n(58449),v=n(44343),f=n(32118),m=n(59755),g=n(58338),h=n(33587),A=n(77513),k=n(55364),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{"use strict";n.d(t,{$:()=>u});var a=n(20641),r=n(65563),o=n(58449),i=n(81881),s=n(59755),u=(0,o.X)((function(){var e=(0,i.f)(),t=e.activeNetwork,n=(0,a.EW)((function(){return t.value.protocols.aeternity})),o=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=s.eT[e];return n||{}}));return{aeActiveNetworkSettings:n,aeActiveNetworkPredefinedSettings:o}}))},77513:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});n(28706);var a=n(31189),r=n(33587);function o(){var e=(0,r.$)(),t=e.aeActiveNetworkSettings,n=t.value.backendUrl;function o(e,t){return(0,a.B2)("".concat(n,"/claim/submit"),{body:{url:e,address:t}})}function i(){return(0,a.x6)("".concat(n,"/cache/invalidate/oracle"))}function s(){return(0,a.x6)("".concat(n,"/cache/invalidate/tips"))}function u(e){return(0,a.B2)("".concat(n,"/errorreport"),{body:e})}function c(){return(0,a.x6)("".concat(n,"/cache/chainnames"))}function l(e){return(0,a.x6)("".concat(n,"/tips/single/").concat(e))}return{claimTips:o,cacheInvalidateOracle:i,cacheInvalidateTips:s,donateError:u,fetchCachedChainNames:c,getCacheTip:l}}},41549:(e,t,n)=>{"use strict";n.d(t,{ef:()=>a.e,$L:()=>r.$,ti:()=>o.t,NC:()=>f});var a=n(55364),r=n(33587),o=n(77513),i=n(2327),s=n(55096),u=(n(62953),n(74423),n(15086),n(26099),n(27495),n(21699),n(47764),n(71761),n(11392),n(50953)),c=n(31189),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function d(e){var t=e.match(/https:\/\/twitter.com\/[a-zA-Z0-9_]+/g);return!!t&&t[0]}var p=(0,u.KR)([]),v=(0,u.KR)([]);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{ensureFetchedOnInit:!0},t=e.ensureFetchedOnInit;function n(e){p.value=e}function a(e){v.value=e}function o(){return l(this,void 0,void 0,(0,i.A)().mark((function e(){var t,o,u,l,d,f;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value.length||!v.value.length){e.next=2;break}return e.abrupt("return");case 2:return t=(0,r.$)(),o=t.aeActiveNetworkSettings,e.prev=3,e.next=6,Promise.all([(0,c.x6)("".concat(o.value.backendUrl,"/verified")),(0,c.x6)("".concat(o.value.backendUrl,"/static/wallet/graylist"))]);case 6:u=e.sent,l=(0,s.A)(u,2),d=l[0],f=l[1],n(d),a(f),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](3),(0,c.fY)(e.t0);case 17:case"end":return e.stop()}}),e,null,[[3,14]])})))}function u(e){if(!e)return"default";var t=d(e),n=t||e;return v.value.some((function(e){return n.includes(e)}))?"blacklisted":p.value.includes(n)?"verified":(0,c.Ks)(n)&&n.startsWith("http:")?"not-secure":"not-verified"}return t&&o(),{getTippingUrlStatus:u}}},59755:(e,t,n)=>{"use strict";n.d(t,{di:()=>G,YI:()=>_,CT:()=>T,pR:()=>I,d:()=>E,d3:()=>b,Z3:()=>w,GO:()=>v,fX:()=>l,kS:()=>p,tL:()=>C,cK:()=>c,hD:()=>x,s8:()=>L,gc:()=>F,oz:()=>W,eT:()=>y,Ix:()=>k,_c:()=>A,LK:()=>f,aR:()=>m,QS:()=>u,Q5:()=>S,kf:()=>d,qD:()=>J,n1:()=>ee,Zi:()=>Q,Op:()=>K,ml:()=>V,xf:()=>H,yk:()=>$,$y:()=>q,_B:()=>Z,Di:()=>s,cq:()=>z,sL:()=>Y,TP:()=>D,vG:()=>B,y5:()=>P,m5:()=>M,S4:()=>U,Mb:()=>N,wb:()=>X,VA:()=>R,Mu:()=>O,LD:()=>te});var a=n(1287),r=(n(26099),n(31415),n(47764),n(62953),n(41805)),o=n(91087),i=n(65563),s="cb_+RCaRgOgve9Y9UQL6KRoPwfVNJcBlzMvD+DQb6//M5OJCG3AVQjAuRBsuQ0r/gP+MbwANwA3CIcCNwA3AZdABydHACdHABcHF4cCNwA3AUcAGgoAhgg+hgIEDAOvggABAD8MAoQMAwMMAwMMA38MAwAMA38MA6+CAAEAPycMEABGOgIAACgsAAJE/gQjAAICAigsBgICAxGgN2kGDw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m9yY2VfbXNnEfuGrxo1Lk9wdGlvbi5mb3JjZRH9kfTjGS5eMTQ0MoIvAIU2LjEuMADBfpyn",u="æternity",c="aeternity",l="Æ Coin",d="AE",p=18,v="aeternity",f="ae_mainnet",m="ae_uat",g="https://mainnet.aeternity.io",h="https://testnet.aeternity.io",A=(0,a.A)((0,a.A)({},i.dk,{nodeUrl:g,middlewareUrl:"https://mainnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-mainnet.prd.service.aepps.com"}),i.Oj,{nodeUrl:h,middlewareUrl:"https://testnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-testnet.prd.service.aepps.com"}),k=A[i.Oj],y=(0,a.A)((0,a.A)({},i.dk,{explorerUrl:"https://aescan.io",multisigBackendUrl:"https://ga-multisig-backend-mainnet.prd.service.aepps.com"}),i.Oj,{explorerUrl:"https://testnet.aescan.io",multisigBackendUrl:"https://ga-multisig-backend-testnet.prd.service.aepps.com"}),b="https://avatars.z52da5wt.xyz/",w="https://blog.aeternity.com/superhero-how-to-send-receive-superhero-tips-34971b18c919#024e",C="https://github.com/aeternity/superhero-wallet/commit/",x="https://aepp.dex.superhero.com",L="https://faucet.aepps.com",S="https://simplex.superhero.com",T=".chain",E=63+T.length,I=12+T.length,_=1.05,W=5e3,F=[r.W.AccountAddress,r.W.Channel,r.W.ContractAddress,r.W.Name,r.W.OracleAddress,r.W.TxHash],D=32,B={tip:"tip",retip:"retip",tipToken:"tip_token",retipToken:"retip_token",transfer:"transfer",deposit:"deposit",propose:"propose",addLiquidity:"add_liquidity",addLiquidityAe:"add_liquidity_ae",removeLiquidity:"remove_liquidity",removeLiquidityAe:"remove_liquidity_ae",swapExactTokensForTokens:"swap_exact_tokens_for_tokens",swapTokensForExactTokens:"swap_tokens_for_exact_tokens",swapExactAeForTokens:"swap_exact_ae_for_tokens",swapTokensForExactAe:"swap_tokens_for_exact_ae",swapExactTokensForAe:"swap_exact_tokens_for_ae",swapAeForExactTokens:"swap_ae_for_exact_tokens",createAllowance:"create_allowance",changeAllowance:"change_allowance",transferAllowance:"transfer_allowance",transferPayload:"transfer_payload",withdraw:"withdraw",claim:"claim",spend:"spend",namePreclaim:"name_preclaim",nameClaim:"name_claim",nameTransfer:"name_transfer",incompleteTransfer:"incomplete_transfer",pendingSpend:"pending_spend",pendingTransfer:"pending_transfer",pendingTipAe:"pending_tip_ae",pendingTipToken:"pending_tip_token",payForGaAttach:"pay_for_ga_attach",gaMetaSpend:"ga_meta_spend",verifyAccount:"verify_account"},P={propose:"propose",confirm:"confirm",refuse:"refuse",revoke:"revoke"},M={pool:["remove_liquidity","remove_liquidity_ae","add_liquidity","add_liquidity_ae"],removeLiquidity:["remove_liquidity","remove_liquidity_ae"],addLiquidity:["add_liquidity","add_liquidity_ae"],swap:["deposit","withdraw","swap_exact_tokens_for_tokens","swap_tokens_for_exact_tokens","swap_exact_ae_for_tokens","swap_tokens_for_exact_ae","swap_exact_tokens_for_ae","swap_ae_for_exact_tokens"],allowance:["transfer_allowance","change_allowance","create_allowance"],maxSpent:["swap_tokens_for_exact_tokens","swap_tokens_for_exact_ae","swap_ae_for_exact_tokens"],minReceived:["swap_exact_tokens_for_tokens","swap_exact_ae_for_tokens","swap_exact_tokens_for_ae"]},O=[o.vw.SpendTx,o.vw.ContractCreateTx,o.vw.ContractCallTx,o.vw.NamePreclaimTx,o.vw.NameClaimTx,o.vw.NameUpdateTx,o.vw.NameTransferTx],R=new Set([o.vw.NameClaimTx,o.vw.NamePreclaimTx,o.vw.NameRevokeTx,o.vw.NameUpdateTx]),N="ok",U="abort",X="revert",V=(0,a.A)((0,a.A)({},f,{router:["ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3"],wae:["ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa"]}),m,{router:["ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6","ct_6iyAWnbGoEbX6hxWsjKMLSM3Hx542PM9dZeG8mHo1bXzB7DDW","ct_N3fFG5QqyTb2dhqw8YcTQ3gqQjxjCJT9MTvDWfqBes7wEu4r9","ct_2eyXvDw3V3WSbcCpSiWcsCYHShBmEJEkU8PpUg7ymDLfZ4cSy4","ct_2mZo6oniJYbbAuBqJxqydc2ZzUhgrdFbTaR4vq2QxocChGUymJ","ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb"],wae:["ct_RzxedNERBDa9Kfx8FENNKQ33TQTt5FzV8i1WppiaTSC4adRXd","ct_y1sufvYLCwbbumgV16p8Bk9f5uHGFiteRDC1x8WNxxyvGJEw2","ct_2kc9naWGGnx4TWGK7UR9gut2cVcDvf7pv8CBYG1a8WML2jzUeb","ct_24gNuddxAbMYtT32sh8Xm1PpB2fZ3HMGtfST5sA3irect3Yu76","ct_2mdY71wG4zAjrdmqDJPXU6h8dYpzNs4mMZ81ujeNnrQPU2jMto","ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF"]}),H="provide_liquidity",$="remove_liquidity",j="swap",K="allow_token",q={add_liquidity:H,add_liquidity_ae:H,remove_liquidity:$,remove_liquidity_ae:$,swap_exact_tokens_for_tokens:j,swap_exact_ae_for_tokens:j,swap_tokens_for_exact_tokens:j,swap_tokens_for_exact_ae:j,swap_exact_tokens_for_ae:j,swap_ae_for_exact_tokens:j,create_allowance:K,change_allowance:K,transfer_allowance:K,deposit:j,withdraw:j},G="Aex9TransferEvent",Q={other:0,current:1,subAccount:2},Z={prepared:"prepared",signed:"signed",deployed:"deployed",created:"created",accessible:"accessible"},Y=2,z="2.0.0",J={tippingV1:"ct_2AfnEfCSZCTEkxL5Yoi4Yfq6fF7YapHRaFKDJK3THMXMBspp5z"},ee={tippingV1:"ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",tippingV2:"ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu"},te={update:"update",extend:"extend"}},58338:(e,t,n)=>{"use strict";n.d(t,{qX:()=>N,c4:()=>U,mV:()=>X,hj:()=>V,_2:()=>H,BY:()=>$,jY:()=>ke,dT:()=>j,Sf:()=>ye,Pd:()=>K,px:()=>q,Bd:()=>Z,jO:()=>Y,Sl:()=>z,xw:()=>J,L5:()=>ee,fK:()=>te,Ke:()=>O,qE:()=>ne,c0:()=>G,bB:()=>ae,F7:()=>ie,bK:()=>he,mo:()=>re,a3:()=>se,_B:()=>ue,t1:()=>fe,uW:()=>ce,_M:()=>pe,hQ:()=>ve,wX:()=>de,KJ:()=>me,Ng:()=>le,P:()=>oe,Fd:()=>ge});var a=n(55096),r=n(6682),o=(n(93514),n(62953),n(3296),n(48408),n(76918),n(28706),n(50113),n(46449),n(74423),n(62062),n(23288),n(9868),n(26099),n(16034),n(27495),n(90906),n(38781),n(99449),n(21699),n(47764),n(14603),n(47566),n(98721),n(88947)),i=n.n(o),s=n(65984),u=n(91087),c=n(57889),l=n(16896),d=n(19636),p=n(41805),v=n(67892),f=n(81265),m=n(60346),g=n(65563),h=n(31189),A=n(59755),k=(n(18107),n(67357),{symbol:A.kf,name:A.fX,decimals:A.kS,contractId:A.cK}),y={symbol:"Pool Token",decimals:A.kS},b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return function(o){var i,s,u,c,l,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,v=e(o),f=t(o),m=[];if(o.tx["return"]&&("tuple"===o.tx["return"].type||!n&&"list"===o.tx["return"].type)&&(m=o.tx["return"].value),((null===p||void 0===p?void 0:p[v.contractId])||v.isWrappedCoin)&&((null===p||void 0===p?void 0:p[f.contractId])||f.isWrappedCoin)){var g=v.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[v.contractId].symbol,h=f.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[f.contractId].symbol;d="".concat(g,"/").concat(h)}return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v),{amount:(null===(i=null===m||void 0===m?void 0:m[0])||void 0===i?void 0:i.value)||v.amount}),k),null===p||void 0===p?void 0:p[v.contractId]),{isReceived:"remove"===a}),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),{amount:(null===(s=null===m||void 0===m?void 0:m[1])||void 0===s?void 0:s.value)||f.amount}),k),null===p||void 0===p?void 0:p[f.contractId]),{isReceived:"remove"===a||!a})].concat((0,r.A)(n?[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),d?{symbol:d}:{}),{amount:(null===(u=null===m||void 0===m?void 0:m[2])||void 0===u?void 0:u.value)||n(o)}),null===p||void 0===p?void 0:p[null===(l=null===(c=o.tx.log)||void 0===c?void 0:c[0])||void 0===l?void 0:l.address]),{isReceived:a&&"add"===a,isPool:!0})]:[]))}}},w=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[5])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return new m.A(null===(t=o[2])||void 0===t?void 0:t.value).times(null===(n=o[3])||void 0===n?void 0:n.value).sqrt().minus(null===(r=null===(a=o[7])||void 0===a?void 0:a.value[1])||void 0===r?void 0:r.value)}),"add"),C=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[1])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx,a=n.arguments,r=n.contractId,o=n.amount;return{contractId:r,minAmount:null===(t=a[3])||void 0===t?void 0:t.value,amount:o,isWrappedCoin:!0}}),(function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return new m.A(null===(t=o[1])||void 0===t?void 0:t.value).times(i).sqrt().minus(null===(a=null===(n=o[5])||void 0===n?void 0:n.value[1])||void 0===a?void 0:a.value)}),"add"),x=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[3])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[4])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[2])||void 0===t?void 0:t.value}),"remove"),L=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a=e.tx,r=a.arguments,o=a.contractId;return{contractId:o,minAmount:null===(t=r[3])||void 0===t?void 0:t.value,amount:null===(n=r[3])||void 0===n?void 0:n.value,isWrappedCoin:!0}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[1])||void 0===t?void 0:t.value}),"remove"),S=b((function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}})),T=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),E=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}})),I=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),_=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),W=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),F=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign({amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[1])||void 0===n?void 0:n.value},k),{symbol:"Amount"}),null===a||void 0===a?void 0:a[e.tx.contractId])]}},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.A)(e.tx.arguments,3),r=n[0],o=n[1],i=n[2],s=Object.assign(Object.assign(Object.assign({amount:null===i||void 0===i?void 0:i.value},k),{symbol:"Amount"}),null===t||void 0===t?void 0:t[e.tx.contractId]);return{tokens:[s],sender:null===r||void 0===r?void 0:r.value,recipient:null===o||void 0===o?void 0:o.value}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign({},k),{amount:e.tx.amount,isReceived:!1,isWrappedCoin:!0}),Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:e.tx.amount,symbol:"WAE"}),null===t||void 0===t?void 0:t[e.tx.contractId]),{isReceived:!0})]}},P=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[0])||void 0===n?void 0:n.value,symbol:"WAE"}),null===o||void 0===o?void 0:o[e.tx.contractId]),{isReceived:!1}),Object.assign(Object.assign({},k),{amount:null===(r=null===(a=e.tx.arguments)||void 0===a?void 0:a[0])||void 0===r?void 0:r.value,isReceived:!0,isWrappedCoin:!0})]}},M={addLiquidity:w,addLiquidityAe:C,removeLiquidity:x,removeLiquidityAe:L,swapExactTokensForTokens:S,swapExactTokensForAe:_,swapExactAeForTokens:E,swapTokensForExactTokens:T,swapTokensForExactAe:I,swapAeForExactTokens:W,changeAllowance:F,createAllowance:F,transferAllowance:D,deposit:B,withdraw:P};function O(e){return M[e]}var R=n(48287)["Buffer"];function N(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AE,targetDenomination:s.j8.AETTOS})}function U(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AETTOS,targetDenomination:s.j8.AE})}function X(e){return"".concat(A.s8,"?address=").concat(e)}function V(e){var t=new URL(A.Q5);return t.searchParams.set("wallet_address",e),t.toString()}function H(e,t,n){if(e&&t&&n){var a=new m.A(e).times(100).div(t),r=new m.A(n).times(a).div(100);return r.toFixed(0)}}function $(e){var t,n=e||{},a=n.tx,r=n.incomplete,o=n.pending;if(!(0,h.NC)(a.type,u.vw[u.vw.ContractCallTx]))return null;if(r||o)return{amount:a.amount,assetContractId:null!==(t=a.selectedTokenContractId)&&void 0!==t?t:a.contractId,to:r?a.recipientId:a.callerId};var i=(a.arguments||[]).map((function(e){return e.value}));switch(a["function"]){case A.vG.transfer:case A.vG.transferPayload:case A.vG.changeAllowance:case A.vG.createAllowance:return{to:i[0],amount:i[1],assetContractId:a.contractId};case A.vG.tipToken:return{url:i[0],note:i[1],amount:i[3],assetContractId:i[2]};case A.vG.retipToken:return{url:i[0],amount:i[2],assetContractId:i[1]};default:return null}}function j(e){return{address:e.gaAccountId,protocol:g.yv.aeternity,idx:0,globalIdx:0}}function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"account_pubkey";return(e.pointers&&e.pointers.find((function(e){var n=e.key;return n===t}))||{}).id}function q(e){return+U(new m.A(e||0).toNumber())}function G(e){return(null===e||void 0===e?void 0:e.accountId)||(null===e||void 0===e?void 0:e.callerId)||(null===e||void 0===e?void 0:e.ownerId)}function Q(e){return["GAMetaTx",u.vw[u.vw.GaMetaTx],u.vw[u.vw.PayingForTx]].includes(e.type)}function Z(e){var t;if(e)return Q(e)?null===(t=e.tx)||void 0===t?void 0:t.tx:e}function Y(e){return e.isMultisig?e:void 0}function z(e,t,n){var a=G(n);return e.address===a?A.Zi.current:t.find((function(e){var t=e.address;return t===a}))?A.Zi.subAccount:A.Zi.other}function J(e){return e.isMultisig?void 0:e}function ee(e){var t=Z(e.tx);return(null===t||void 0===t?void 0:t.payload)?(0,c.D4)(null===t||void 0===t?void 0:t.payload).toString():null}function te(e){var t,n;return e.tipUrl||e.url||!e.pending&&!e.claim&&(null===(t=e.tx.log)||void 0===t?void 0:t[0])&&(null===(n=e.tx)||void 0===n?void 0:n["function"])&&(0,h.mK)([A.vG.tip,A.vG.claim],e.tx["function"])&&(0,c.D4)(e.tx.log[0].data).toString()||""}function ne(e,t){if((null===e||void 0===e?void 0:e.tag)===u.vw.SpendTx)return e.senderId===t?g.NX.sent:g.NX.received;var n=["senderId","accountId","ownerId","callerId","payerId"];return n.map((function(t){return null===e||void 0===e?void 0:e[t]})).includes(t)?g.NX.sent:g.NX.received}function ae(e){return e.tag?e.tag:(0,h.NC)(e.type,"GAAttachTx")?u.vw.GaAttachTx:(0,h.NC)(e.type,"GAMetaTx")?u.vw.GaMetaTx:e.type in u.vw?u.vw[e.type]:null}function re(e){return e instanceof l.InvalidTxError&&(0,h.L4)(e,"InsufficientBalance")}function oe(e){try{var t=(0,d.pj)(e);return A.Mu.includes(t.tag)}catch(n){return!1}}function ie(e){return e.length<=A.d&&/^(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2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\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+\.chain$/g.test(e)}function se(e){var t,n=null===(t=$(e))||void 0===t?void 0:t.assetContractId;return!!e.tx&&!!n&&n!==A.cK}function ue(e,t){var n=t||{},a=n.wae,o=void 0===a?[]:a,i=n.router,s=void 0===i?[]:i;return!!((null===e||void 0===e?void 0:e.contractId)&&(null===e||void 0===e?void 0:e["function"])&&Object.values(A.m5).flat().includes(e["function"])&&[].concat((0,r.A)(o),(0,r.A)(s)).includes(e.contractId))}function ce(e){return!!e&&(0,h.mK)(A.m5.allowance,e)}function le(e){return!!e&&(0,h.mK)(A.m5.swap,e)}function de(e){return!!e&&(0,h.mK)(A.m5.pool,e)}function pe(e){return!!e&&(0,h.mK)(A.m5.maxSpent,e)}function ve(e){return!!e&&(0,h.mK)(A.m5.minReceived,e)}function fe(e){return!!e&&(0,h.mK)(A.m5.addLiquidity,e)}function me(e){return!!e&&(0,h.mK)(A.m5.removeLiquidity,e)}function ge(e){var t=!!(null===e||void 0===e?void 0:e.endsWith(A.CT)),n=!1,r=null,o=null;if(e){var i=e.split("_"),s=(0,a.A)(i,2);r=s[0],o=s[1],n=A.gc.includes(r)&&g.xS.test(o)||t}return{valid:n,isName:t,prefix:r,hash:o}}function he(e){var t=ge(e),n=t.valid,a=t.prefix;return n&&a===p.W.ContractAddress}function Ae(e){return(0,v.pL)(e,p.W.AccountAddress)||(0,v.pL)(e,p.W.ContractAddress)||(0,v.pL)(e,p.W.OracleAddress)}function ke(e){return Ae(e)||(0,v.pL)(e,p.W.Channel)}function ye(e){return new f.A(R.from(e).length===A.TP?i().sign.keyPair.fromSeed(R.from(e)).secretKey:R.from(e))}},91392:(e,t,n)=>{"use strict";n.d(t,{L:()=>y});var a=n(2327),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(16280),n(76918),n(28706),n(74423),n(26099),n(21699),n(91087)),c=n(19636),l=n(31490),d=n(57889),p=n(67892),v=n(56158),f=n(68411),m=n(12082),g=n(65563),h=n(48287)["Buffer"],A=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},k=[u.vw.SpendTx,u.vw.PayingForTx],y=function(e){function t(e){var n;(0,r.A)(this,t),n=(0,i.A)(this,t);var a=(0,f.o)(),o=a.getLastActiveProtocolAccount;return n.address=o(g.yv.aeternity).address,n.nodeNetworkId=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"signTransaction",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s,p,v;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(this.nodeNetworkId.value){n.next=2;break}throw new Error("Not connected to any network");case 2:if(r=(0,c.pj)(e),k.includes(r.tag)&&!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=10;break}return o=(0,m.S)(),i=o.checkOrAskPermission,n.next=7,i(l.J8.sign,null===t||void 0===t?void 0:t.aeppOrigin,Object.assign(Object.assign({},t),{txBase64:e,tx:r}));case 7:if(s=n.sent,s){n.next=10;break}throw new l.A6("Rejected by user");case 10:return p=(0,d.D4)(e),n.next=13,this.sign(h.concat([h.from(this.nodeNetworkId.value),h.from(p)]),t);case 13:return v=n.sent,n.abrupt("return",(0,c.pr)({tag:u.vw.SignedTx,encodedTx:p,signatures:[v]}));case 15:case"end":return n.stop()}}),n,this)})))}},{key:"signMessage",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=7;break}return r=(0,m.S)(),o=r.checkOrAskPermission,n.next=4,o(l.J8.signMessage,t.aeppOrigin,{message:e});case 4:if(i=n.sent,i){n.next=7;break}throw new l.A6("Rejected by user");case 7:return n.abrupt("return",this.sign((0,p.JS)(e),t));case 8:case"end":return n.stop()}}),n,this)})))}},{key:"sign",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=(0,f.o)(),o=r.getLastActiveProtocolAccount,i=r.getAccountByAddress,s=(null===t||void 0===t?void 0:t.fromAccount)?i(t.fromAccount):o(g.yv.aeternity),!s||!s.secretKey||s.protocol!==g.yv.aeternity){n.next=4;break}return n.abrupt("return",(0,p._S)(e,s.secretKey));case 4:throw new Error("Unsupported protocol");case 5:case"end":return n.stop()}}),n)})))}}]),t}(v.A)},12533:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var a=n(1287),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(28706),n(41805)),c=n(58338),l=n(41370),d=function(e){function t(e){var n;return(0,r.A)(this,t),n=(0,i.A)(this,t),n.explorerUrl=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"prepareUrlForHash",value:function(e){var n=t.getEndpointByHash(e);return n?"".concat(this.explorerUrl,"/").concat(n,"/").concat(e):void 0}},{key:"prepareUrlForAccount",value:function(e){return this.prepareUrlForHash(e)||"".concat(this.explorerUrl,"/accounts/").concat(e)}}],[{key:"getEndpointByHash",value:function(e){var n=(0,c.Fd)(e),a=n.valid,r=n.prefix;if(a&&r)return t.ADDRESS_TYPES[r]}}]),t}(l.s);d.ADDRESS_TYPES=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.W.AccountAddress,"accounts"),u.W.ContractAddress,"contracts"),u.W.Name,"names"),u.W.OracleAddress,"oracles/queries"),u.W.TxHash,"transactions")},28446:(e,t,n)=>{"use strict";n.d(t,{HF:()=>i,Hl:()=>p,Jb:()=>u,OX:()=>s,bR:()=>o,nM:()=>c,tW:()=>d,uR:()=>l});var a=n(1287),r=n(65563),o="bitcoin",i="BTC",s="Bitcoin",u=8,c="bitcoin",l=546,d=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://blockstream.info/api"}),r.Oj,{nodeUrl:"https://blockstream.info/testnet/api"}),p=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://blockstream.info"}),r.Oj,{explorerUrl:"https://blockstream.info/testnet"})},11948:(e,t,n)=>{"use strict";n.d(t,{n1:()=>u,nG:()=>s});var a=n(60346),r=n(65563),o=n(28446);function i(e){return e/Math.pow(10,o.Jb)}function s(e,t){var n,r;return new a.A((null===(n=e.tx)||void 0===n?void 0:n.amount)||0).plus(t?0:(null===(r=e.tx)||void 0===r?void 0:r.fee)||0).toNumber()}function u(e,t){var n=e.fee,a=e.status,s=e.txid,u=e.vin,c=e.vout;return{protocol:r.yv.bitcoin,transactionOwner:t,hash:s,blockHeight:a.block_height,microTime:1e3*a.block_time,pending:!a.confirmed,tx:{amount:i(c[0].value),fee:i(n),senderId:u[0].prevout.scriptpubkey_address,recipientId:c[0].scriptpubkey_address,type:"SpendTx",arguments:[],callerId:"",contractId:o.bR}}}},28388:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var a=n(20641),r=n(65563),o=n(81881),i=n(7595);function s(){var e=(0,o.f)(),t=e.activeNetwork,n=e.activeNetworkName,s=(0,a.EW)((function(){return t.value.protocols[r.yv.ethereum]})),u=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=i.$F[e];return n||{}}));return{activeNetworkName:n,ethActiveNetworkSettings:s,ethActiveNetworkPredefinedSettings:u}}},7595:(e,t,n)=>{"use strict";n.d(t,{$F:()=>h,Dz:()=>o,Id:()=>m,LB:()=>s,RA:()=>g,Sf:()=>u,Xn:()=>i,hj:()=>l,iA:()=>f,nE:()=>v,un:()=>p,vZ:()=>A,xU:()=>c,z2:()=>d});var a=n(1287),r=n(65563),o="Ethereum",i="ethereum",s="0x0000000000000000000000000000000000000000",u="Ethereum",c="ETH",l=18,d="ethereum",p=21e3,v=3e4,f=[{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"}],m=12,g=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://ethereum.publicnode.com",chainId:"0x1"}),r.Oj,{nodeUrl:"https://ethereum-sepolia.publicnode.com",chainId:"0xaa36a7"}),h=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://etherscan.io",middlewareUrl:"https://api.etherscan.io/api",tokenMiddlewareUrl:"https://api.ethplorer.io"}),r.Oj,{explorerUrl:"https://sepolia.etherscan.io",middlewareUrl:"https://api-sepolia.etherscan.io/api",tokenMiddlewareUrl:"https://sepolia-api.ethplorer.io"}),A=g[r.Oj]},31189:(e,t,n)=>{"use strict";n.d(t,{k0:()=>I,dP:()=>J,zw:()=>_,Vr:()=>W,DB:()=>fe,d3:()=>F,NC:()=>D,ee:()=>B,Jk:()=>P,pe:()=>O,L4:()=>M,y5:()=>we,__:()=>R,mX:()=>N,Ey:()=>U,x6:()=>X,Yq:()=>Ce,ZV:()=>xe,lv:()=>Le,fU:()=>Se,cr:()=>g,lk:()=>ge,$W:()=>V,yU:()=>ve,_S:()=>H,sY:()=>Ue,vQ:()=>Be,XK:()=>_e,xx:()=>Fe,fY:()=>K,mK:()=>q,oS:()=>G,go:()=>me,El:()=>Q,SN:()=>Oe,Ks:()=>Me,xB:()=>Z,EV:()=>Y,Fs:()=>z,B2:()=>te,dZ:()=>ne,d6:()=>Te,j0:()=>ae,sc:()=>$,pV:()=>j,Aq:()=>re,AP:()=>oe,yy:()=>ie,jL:()=>se,lS:()=>ue,Y9:()=>ce,Xz:()=>Ee,LV:()=>le,W5:()=>de,mU:()=>pe});var a=n(73808);n(76918),n(23288),n(26099),n(58940),n(27495),n(90906),n(38781),n(50375);function r(e){var t,n=40,a=16,r=0,o=0,i=encodeURI(e)+"%80",s=[],u=[],c=1732584193,l=4023233417,d=~c,p=~l,v=3285377520,f=[c,l,d,p,v],m=0,g="";function h(e,t){return e<>>32-t}for(;r>2]=s[o>>2]|("%"==i[r]?parseInt(i.substring(r+1,r+=3),16):i.charCodeAt(r++))<<8*(3-(3&o));for(t=(1+(o+7>>6))*a,s[t-1]=8*o-8;m>3]>>>4*(7-(7&r))&15).toString(16);return g}function o(e){return e|=0,e<0?"00":e<16?"0"+e.toString(16):e<256?e.toString(16):"ff"}function i(e,t,n){return n=n<0?n+6:n>6?n-6:n,o(255*(n<1?e+(t-e)*n:n<3?t:n<4?e+(t-e)*(4-n):e))}function s(e,t,n){var a;if(0==t){var r=o(255*n);a=r+r+r}else{var s=n<=.5?n*(t+1):n+t-n*t,u=2*n-s;a=i(u,s,6*e+2)+i(u,s,6*e)+i(u,s,6*e-2)}return"#"+a}function u(e,t,n){var a=[.55,.5,.5,.46,.6,.55,.55],r=a[6*e+.5|0];return n=n<.5?n*r*2:r+(n-.5)*(1-r)*2,s(e,t,n)}function c(e,t){return e=t.X(e),[u(e,t.F,t.G(0)),u(e,t.o,t.p(.5)),u(e,t.F,t.G(1)),u(e,t.o,t.p(1)),u(e,t.o,t.p(0))]}function l(e,t,n){return parseInt(e.substr(t,n),16)}function d(e){return r(null==e?"":""+e)}function p(e){return/^[0-9a-f]{11,}$/i.test(e)&&e}var v={lightness:{color:.57,grayscale:[.47,.58]},saturation:{color:.83,grayscale:.42},backColor:"#12121bff"};function f(e){if(/^#[0-9a-f]{3,8}$/i.test(e)){var t,n=e.length;if(n<6){var a=e[1],r=e[2],o=e[3],i=e[4]||"";t="#"+a+a+r+r+o+o+i+i}return(7==n||n>8)&&(t=e),t}}function m(e,t){var n="object"==(0,a.A)(e)&&e||rootConfigurationHolder[CONFIG_PROPERTIES.n]||GLOBAL[CONFIG_PROPERTIES.W]||{},r=n["lightness"]||{},o=n["saturation"]||{},i="color"in o?o["color"]:o,s=o["grayscale"],u=n["backColor"],c=n["padding"];function l(e,t){var n=r[e];return n&&n.length>1||(n=t),function(e){return e=n[0]+e*(n[1]-n[0]),e<0?0:e>1?1:e}}function d(e){var t,a=n["hues"];return a&&a.length>0&&(t=a[0|.999*e*a.length]),"number"==typeof t?(t/360%1+1)%1:e}return{X:d,o:"number"==typeof i?i:.5,F:"number"==typeof s?s:0,p:l("color",[.4,.8]),G:l("grayscale",[.3,.9]),H:f(u),Y:"number"==typeof e?e:"number"==typeof c?c:t}}var g=function(e){var t=p(e)||d(e),n=l(t,-7)/268435455,a=m(v,.08);return c(n,a)[4]},h=n(55096),A=n(2327),k=n(6682),y=(n(25440),n(62953),n(28706),n(88431),n(2008),n(48980),n(51629),n(23418),n(74423),n(64346),n(48598),n(8921),n(62062),n(44114),n(72712),n(34782),n(15086),n(26910),n(33110),n(36033),n(2892),n(40150),n(9868),n(5506),n(53921),n(79432),n(16034),n(99449),n(21699),n(47764),n(71761),n(11392),n(23500),n(76031),n(20641)),b=n(51543),w=n(73864),C=n(60346),x=n(40962),L=n(65563),S=n(44343),T=n(32118),E=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function I(e){var t=2,n="object"===(0,a.A)(e)?e:new C.A(Number(e));return n.lt(.01)&&n.toString().length-t0&&void 0!==arguments[0]?arguments[0]:{},t=e.protocol,n=e.idx;return[t?T.C.getAdapter(t).protocolName:null,(0,S.tg)("pages.account.heading"),(n||0)+1].filter(R).join(" ")}function H(e){var t=window.localStorage.getItem(ee(e));return t?JSON.parse(t):void 0}function $(e){return window.localStorage.removeItem([L.$m].concat((0,k.A)(e)).join("_"))}function j(e){return Object.fromEntries(Object.entries(e).filter((function(e){return void 0!==e[1]})))}function K(e){return console.warn("Unknown rejection",e)}function q(e,t){return e.includes(t)}function G(e){return E(this,void 0,void 0,(0,A.A)().mark((function t(){var n;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.S.canShare();case 2:if(n=t.sent.value,!n){t.next=6;break}return t.next=6,x.S.share({text:e});case 6:case"end":return t.stop()}}),t)})))}function Q(e){return 404===(null===e||void 0===e?void 0:e.statusCode)}function Z(e){return Object.values(e).some((function(e){return![null,void 0,!1].includes(e)}))}function Y(e){window.open(e,"_blank")}function z(e){return function(t){return e.reduce((function(e,t){return t(e)}),t)}}function J(e){var t=this;return function(n){return e.reduce((function(e,n){return E(t,void 0,void 0,(0,A.A)().mark((function t(){return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,e;case 3:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 5:case"end":return t.stop()}}),t)})))}),Promise.resolve(n))}}function ee(e){return[L.$m].concat((0,k.A)(e)).join("_")}function te(e,t){return X(e,Object.assign(Object.assign({method:"post",headers:{"Content-Type":"application/json"}},t),{body:(null===t||void 0===t?void 0:t.body)&&JSON.stringify(t.body)}))}function ne(e){return e.map((function(e){return{text:V(e),value:e.address}}))}function ae(e){return(0,b.A)(e,(function(e,t){return e.hash===t.hash&&e.transactionOwner===t.transactionOwner}))}function re(e,t){var n=S.tg,a=60,r=60*a,o=24*r;return et?"...":""):""}function pe(e){return new Promise((function(t){var n=(0,y.wB)(e,(function(e){e&&(t(e),(0,w.A)((function(){return n()})))}),{immediate:!0})}))}function ve(e,t,n){return E(this,void 0,void 0,(0,A.A)().mark((function a(){var r,o,i;return(0,A.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=0,o=0,i=[];case 3:return a.prev=3,r=i.lastIndexOf(!0)+o,o+=i.length,a.next=8,Promise.all(Array.from(Array(L.E9+r-o+1).keys(),(function(e){return e+o})).map((function(a){return e(t(n,a).address)})));case 8:i=a.sent,a.next=14;break;case 11:return a.prev=11,a.t0=a["catch"](3),a.abrupt("break",15);case 14:if(-1!==i.lastIndexOf(!0)&&i.filter((function(e){return!e})).length!==L.E9){a.next=3;break}case 15:return a.abrupt("return",r);case 16:case"end":return a.stop()}}),a,null,[[3,11]])})))}function fe(e){var t=L.G9.endsWith("/")?L.G9.slice(0,-1):L.G9;return[e["x-success"],e["x-cancel"]].every((function(e){return e&&e.startsWith(t)}))}function me(e){return L.E4.some((function(t){return T.C.getAdapter(t).coinContractId===e}))}function ge(e){var t=Object.assign({},e);return null===t||void 0===t||delete t.onCompiler,null===t||void 0===t||delete t.onNode,t}n(3296),n(48408),n(14603),n(47566),n(98721);var he=n(74353),Ae=n.n(he),ke=n(6279),ye=n.n(ke);Ae().extend(ye());const be=Ae();function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/(\r\n|\n|\r|\n\r)/gm," ").replace(/"/g,"")}function Ce(e){return new Date(+e).toLocaleDateString(L.Xn,{year:"2-digit",month:"2-digit",day:"2-digit"})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).format(e)}function Le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).formatToParts(e)}function Se(e){return new Date(+e).toLocaleTimeString(navigator.language,{timeStyle:"short"})}function Te(e){return be().to(be(e))}function Ee(e){return new URL(e.includes("://")?e:"https://".concat(e))}var Ie={ChannelCloseSoloTx:function(){return(0,S.tg)("transaction.type.channelCloseSoloTx")},ChannelSlashTx:function(){return(0,S.tg)("transaction.type.channelSlashTx")},ChannelSettleTx:function(){return(0,S.tg)("transaction.type.channelSettleTx")},ChannelSnapshotSoloTx:function(){return(0,S.tg)("transaction.type.channelSnapshotSoloTx")},ContractCreateTx:function(){return(0,S.tg)("transaction.type.contractCreateTx")},ContractCallTx:function(){return(0,S.tg)("transaction.type.contractCallTx")},GaMetaTx:function(){return(0,S.tg)("transaction.type.gaMetaTx")},GaAttachTx:function(){return(0,S.tg)("transaction.type.gaAttachTx")},NamePreclaimTx:function(){return(0,S.tg)("transaction.type.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.type.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.type.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.type.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.type.nameRevokeTx")},OracleRegisterTx:function(){return(0,S.tg)("transaction.type.oracleRegisterTx")},OracleExtendTx:function(){return(0,S.tg)("transaction.type.oracleExtendTx")},OracleQueryTx:function(){return(0,S.tg)("transaction.type.oraclePostQueryTx")},OracleResponseTx:function(){return(0,S.tg)("transaction.type.oracleRespondTx")},PayingForTx:function(){return(0,S.tg)("transaction.type.payingForTx")},SpendTx:function(){return(0,S.tg)("transaction.type.sentTx")}};function _e(e){var t=Ie[e];return t?t():""}var We={NamePreclaimTx:function(){return(0,S.tg)("transaction.listType.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.listType.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.listType.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.listType.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.listType.nameRevokeTx")},SpendTx:function(){return(0,S.tg)("transaction.listType.sentTx")}};function Fe(e){var t=We[e];return t?t():""}var De={propose:function(){return(0,S.tg)("transaction.function.propose")},revoke:function(){return(0,S.tg)("transaction.function.revoke")},refuse:function(){return(0,S.tg)("transaction.function.refuse")},confirm:function(){return(0,S.tg)("transaction.function.confirm")},tip_token:function(){return(0,S.tg)("transaction.function.tip_token")},retip_token:function(){return(0,S.tg)("transaction.function.retip_token")}};function Be(e){var t=De[e];return t?t():""}var Pe=n(57761);function Me(e){try{var t=Ee(e);return["http:","https:"].includes(t.protocol)&&(0,Pe.isFQDN)(t.hostname)}catch(n){return!1}}function Oe(e){return e&&e.split(" ").length>=L.TP}n(90744);var Re="//",Ne=[(0,S.tg)("validation.addressNotSameAs",[Re]),(0,S.tg)("validation.maxValueVault",[Re])];function Ue(e){return e?Ne.some((function(t){var n=t.split(Re);return e.startsWith(n[0])&&e.endsWith(n[1])}))?{status:"warning",text:e}:{status:"error",text:e}:{status:"success"}}},87053:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},84648:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M5.95552 18.0443C6.147 18.2358 6.42146 18.3443 6.70868 18.3379L15.1274 18.3315C15.4274 18.3251 15.6635 18.2294 15.8486 18.0443C16.2507 17.6422 16.2571 17.0614 15.8678 16.672C15.6635 16.4678 15.4146 16.372 15.1529 16.3784L12.2616 16.3593L8.71921 16.5188L10.2957 15.121L18.0315 7.38527C18.4528 6.96401 18.4528 6.37681 18.0379 5.96194C17.6166 5.54068 17.0294 5.54068 16.6082 5.96194L8.8724 13.6977L7.48098 15.2678L7.63416 11.7319L7.61501 8.84051C7.6214 8.57883 7.52566 8.3299 7.32141 8.12566C6.93207 7.73632 6.35125 7.7427 5.94914 8.1448C5.76405 8.3299 5.66192 8.57244 5.65554 8.89796V17.2848C5.64916 17.572 5.75766 17.8464 5.95552 18.0443Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},65608:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M18.0314 5.95549C17.8399 5.76401 17.5655 5.65551 17.2782 5.66189L8.85952 5.66827C8.55954 5.67465 8.32338 5.77039 8.13828 5.95549C7.73618 6.3576 7.72979 6.93842 8.11914 7.32776C8.32338 7.532 8.5723 7.62775 8.83399 7.62136L11.7253 7.64051L15.2677 7.48094L13.6912 8.87874L5.95542 16.6145C5.53416 17.0358 5.53416 17.623 5.94903 18.0379C6.37029 18.4591 6.95749 18.4591 7.37875 18.0379L15.1145 10.3021L16.5059 8.73194L16.3528 12.2679L16.3719 15.1593C16.3655 15.421 16.4613 15.6699 16.6655 15.8741C17.0548 16.2635 17.6357 16.2571 18.0378 15.855C18.2229 15.6699 18.325 15.4273 18.3314 15.1018V6.71503C18.3378 6.42781 18.2293 6.15335 18.0314 5.95549Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},19298:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.167368 0.167368C0.390524 -0.0557892 0.752333 -0.0557892 0.97549 0.167368L4 3.19188L7.02451 0.167368C7.24767 -0.0557892 7.60948 -0.0557892 7.83263 0.167368C8.05579 0.390524 8.05579 0.752333 7.83263 0.97549L4.40406 4.40406C4.1809 4.62722 3.8191 4.62722 3.59594 4.40406L0.167368 0.97549C-0.0557892 0.752333 -0.0557892 0.390524 0.167368 0.167368Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},46841:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M2 20L9.40945 11.6644C9.74624 11.2855 9.74624 10.7145 9.40945 10.3356L2 2",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},5684:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.28388 16.2874C5.91275 16.6584 5.89508 17.321 6.29272 17.7008C6.67269 18.0984 7.34427 18.0807 7.7154 17.7097L12.0011 13.4251L16.2868 17.7097C16.6668 18.0895 17.3207 18.0984 17.7007 17.7008C18.0983 17.321 18.0895 16.6584 17.7095 16.2785L13.4238 11.994L17.7095 7.71829C18.0895 7.32959 18.0983 6.67587 17.7007 6.296C17.3207 5.89847 16.6668 5.9073 16.2868 6.28717L12.0011 10.5717L7.7154 6.28717C7.34427 5.91614 6.67269 5.89847 6.29272 6.296C5.89508 6.67587 5.91275 7.33843 6.28388 7.70946L10.5696 11.994L6.28388 16.2874Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},41970:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},2041:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},74462:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M15.8888 9.16675H10.3888C9.71383 9.16675 9.16663 9.71396 9.16663 10.389V15.889C9.16663 16.564 9.71383 17.1112 10.3888 17.1112H15.8888C16.5639 17.1112 17.1111 16.564 17.1111 15.889V10.389C17.1111 9.71396 16.5639 9.16675 15.8888 9.16675Z",stroke:"currentColor","stroke-opacity":"0.85","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=(0,a.Lk)("path",{d:"M6.72213 12.8334H6.11102C5.78686 12.8334 5.47599 12.7046 5.24677 12.4754C5.01756 12.2462 4.88879 11.9353 4.88879 11.6111V6.11114C4.88879 5.78698 5.01756 5.47611 5.24677 5.2469C5.47599 5.01769 5.78686 4.88892 6.11102 4.88892H11.611C11.9352 4.88892 12.246 5.01769 12.4753 5.2469C12.7045 5.47611 12.8332 5.78698 12.8332 6.11114V6.72225",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},45799:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M19.2202 4.67847H4.77995C2.95486 4.67847 2.00006 5.62481 2.00006 7.43301V8.19346H22.0001V7.43301C22.0001 5.62481 21.0537 4.67847 19.2202 4.67847ZM5.53196 16.6176C5.03344 16.6176 4.69546 16.2881 4.69546 15.8065V14.2433C4.69546 13.7701 5.03344 13.4322 5.53196 13.4322H7.60209C8.09216 13.4322 8.43014 13.7701 8.43014 14.2433V15.8065C8.43014 16.2881 8.09216 16.6176 7.60209 16.6176H5.53196ZM4.77995 19.3215H19.2202C21.0537 19.3215 22.0001 18.3667 22.0001 16.5585V10.1791H2.00006V16.5585C2.00006 18.3751 2.95486 19.3215 4.77995 19.3215Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},78185:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M14.6667 11.6111V15.2778C14.6667 15.6019 14.5379 15.9128 14.3087 16.142C14.0795 16.3712 13.7686 16.5 13.4444 16.5H6.72222C6.39807 16.5 6.08719 16.3712 5.85798 16.142C5.62877 15.9128 5.5 15.6019 5.5 15.2778V8.55556C5.5 8.2314 5.62877 7.92052 5.85798 7.69131C6.08719 7.4621 6.39807 7.33333 6.72222 7.33333H10.3889M12.8333 5.5H16.5M16.5 5.5V9.16667M16.5 5.5L9.77778 12.2222",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},57171:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.33209 4.50633L11.0376 4.90916C11.2965 4.41113 11.8172 4.07007 12.4161 4.07007C13.0206 4.07007 13.5429 4.41086 13.8021 4.90849L17.5084 4.50633C18.2633 4.42241 18.8001 4.90057 18.8001 5.62204C18.8001 6.35197 18.2633 6.83845 17.5084 6.75467L13.8002 6.34499C13.6571 6.61958 13.4344 6.84584 13.1627 6.99368V8.00465H13.6662C14.3287 8.00465 14.7399 8.41567 14.7399 9.07846V10.0348H14.9665C15.3355 10.0348 15.4781 10.1438 15.6291 10.5633L16.1409 11.9476C16.1836 12.0645 16.2631 12.1613 16.3756 12.2165C16.4406 12.2483 16.5164 12.2663 16.6023 12.2663H16.963C19.6813 12.2663 22.5 13.8687 22.5 18.6422V19.4223C22.5 19.7747 22.3322 19.9341 21.9798 19.9341H18.9094C18.5571 19.9341 18.3976 19.7747 18.3976 19.4223V18.2563C18.3976 17.1489 17.7348 16.5365 16.9044 16.5365C16.468 16.5365 15.9731 16.7294 15.5955 17.1069C14.6561 17.9711 13.8088 18.5415 12.4078 18.5415C10.9984 18.5415 9.89919 17.8788 9.07715 16.9812C8.70816 16.5533 8.44793 16.4861 7.92774 16.4861H3.85056V17.9207C3.85056 18.2899 3.5487 18.6002 3.17112 18.6002C2.80212 18.6002 2.5 18.2899 2.5 17.9207V11.0667C2.5 10.6976 2.80212 10.3871 3.17112 10.3871C3.5487 10.3871 3.85056 10.6976 3.85056 11.0667V12.2663H8.21294C8.4396 12.2663 8.59885 12.1321 8.67459 11.9476L9.17786 10.5633C9.33711 10.1438 9.47139 10.0348 9.84065 10.0348H10.0754V9.07846C10.0754 8.41567 10.4865 8.00465 11.141 8.00465H11.6778V6.99516C11.406 6.84718 11.1831 6.62012 11.0397 6.34432L7.33209 6.75467C6.56886 6.83845 6.03175 6.35197 6.03175 5.62204C6.03175 4.90057 6.56886 4.42241 7.33209 4.50633Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},18427:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM8.14255 4.20915C5.32236 5.60819 3.37003 8.49343 3.30984 11.8406C3.96861 11.9404 4.59539 12.1157 4.63655 12.4582C4.65044 12.5704 4.65925 12.69 4.66784 12.8064C4.66952 12.8292 4.6712 12.8519 4.6729 12.8744L4.67296 12.8754C4.71136 13.4318 4.75104 14.0067 5.20353 14.2064C5.2495 14.2275 5.29937 14.2389 5.34995 14.2397C5.53998 14.2397 5.67809 14.069 5.82658 13.8619L5.84424 13.838C5.97508 13.6559 6.09865 13.4842 6.25961 13.4842C6.31785 13.4863 6.37406 13.5062 6.42056 13.5415C6.61654 13.6617 6.82176 13.7661 7.03427 13.8536L7.048 13.8598C7.59079 14.1038 8.19938 14.3774 8.19938 14.7901C8.19327 15.0147 8.1749 15.2388 8.14434 15.4613C8.09034 15.9202 8.0405 16.3531 8.19938 16.4624C8.67464 16.9005 9.08327 17.406 9.41225 17.9629C9.43 18.0796 9.45815 18.1945 9.49637 18.3063C9.61978 18.6222 9.67328 18.9613 9.65317 19.3C9.52869 19.6252 9.36796 19.9345 9.17453 20.222C10.0604 20.5264 11.0109 20.6916 12 20.6916C16.8002 20.6916 20.6916 16.8002 20.6916 12C20.6916 11.495 20.6485 11.0001 20.5659 10.5187C20.4129 10.7734 20.1635 11.0284 19.8966 11.3014L19.8858 11.3125C19.2627 11.9421 18.5659 12.6559 18.8089 13.6445C18.8228 13.6912 18.8267 13.7404 18.8204 13.7888C18.8142 13.8372 18.7979 13.8837 18.7726 13.9254C18.622 14.1679 18.1495 14.273 17.6428 14.3843C17.0949 14.4314 16.5773 14.6561 16.1682 15.0243C16.0585 15.1698 15.9142 15.2854 15.7484 15.3605C15.5825 15.4355 15.4006 15.4677 15.2191 15.454C14.7713 15.4352 14.3317 15.327 13.9263 15.1356C13.8639 15.111 13.7969 15.1003 13.73 15.1044C13.647 15.1044 13.5514 15.1134 13.4491 15.123C13.4413 15.1237 13.4336 15.1245 13.4258 15.1252H13.4081L13.4018 15.1258C13.2766 15.137 13.1643 15.1471 13.055 15.1471C12.9706 15.1577 12.8849 15.1502 12.8037 15.1251C12.7224 15.1 12.6474 15.0578 12.5836 15.0014C12.5433 14.948 12.5151 14.8865 12.5009 14.8211C12.4868 14.7556 12.487 14.6879 12.5016 14.6226C12.5846 13.9402 13.0517 13.7653 13.6434 13.5437C13.6566 13.5387 13.6704 13.5335 13.6838 13.5285C13.8313 13.4729 13.9839 13.4154 14.1391 13.3448C14.7799 13.0565 15.6916 12.2001 15.6615 11.8078C15.6585 11.768 15.6422 11.7303 15.6153 11.7009C15.5884 11.6715 15.5523 11.6519 15.513 11.6455C14.7158 11.3947 13.9842 10.9696 13.3709 10.401C12.7576 9.83232 12.2781 9.13429 11.9668 8.35729C11.9159 8.34688 11.8837 8.14917 11.8442 7.89839C11.758 7.35417 11.6262 6.53315 11.161 6.49777C11.1294 6.49777 11.0981 6.49597 11.0667 6.49415C11.035 6.49232 11.0032 6.49049 10.9709 6.49049C10.7902 6.49348 10.6098 6.50808 10.4309 6.53419C10.2375 6.56103 10.0426 6.57563 9.84735 6.5779C9.59361 6.57653 9.34067 6.54933 9.09242 6.49673C8.29387 6.3344 8.26168 5.88279 8.20561 4.98165C8.19127 4.75485 8.1739 4.49768 8.14255 4.20915Z",fill:"white"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},87398:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.09196L9.00282 0H24.9972L34 8.09196L17.0479 24L0 8.09196ZM10.0085 2.48276H14.893L25.3324 12.7356L17 20.5517L3.73521 8.13794L10.0085 2.48276Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},94386:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M16.8246 5.12346L17.9121 4.04114C18.4509 3.49998 18.4709 2.90871 17.982 2.40763L17.5929 2.00678C17.104 1.51572 16.4954 1.56583 15.9666 2.09697L14.8791 3.16927L16.8246 5.12346ZM4.60249 17.3797L15.8668 6.06547L13.9312 4.13133L2.66691 15.4255L1.68914 17.7906C1.57939 18.0912 1.88868 18.422 2.188 18.3117L4.60249 17.3797Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},71403:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M23.9903 44C34.9522 44 44 34.9478 44 24C44 13.0522 34.9328 4 23.971 4C13.0285 4 4 13.0522 4 24C4 34.9478 13.0478 44 23.9903 44ZM14.6332 24.0193C14.6332 22.8781 15.4451 22.0851 16.5665 22.0851H22.0764V16.5725C22.0764 15.4507 22.8497 14.6576 23.9517 14.6576C25.0923 14.6576 25.885 15.4507 25.885 16.5725V22.0851H31.4142C32.5162 22.0851 33.3282 22.8781 33.3282 24.0193C33.3282 25.1219 32.5162 25.9149 31.4142 25.9149H25.885V31.4275C25.885 32.53 25.0923 33.3424 23.9517 33.3424C22.8497 33.3424 22.0764 32.53 22.0764 31.4275V25.9149H16.5665C15.4451 25.9149 14.6332 25.1219 14.6332 24.0193Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},73665:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},1100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M12 22C17.4695 22 22 17.4792 22 12C22 6.53049 17.4695 2 11.9903 2C6.52081 2 2 6.53049 2 12C2 17.4792 6.53049 22 12 22ZM12 20.0348C7.54695 20.0348 3.97483 16.453 3.97483 12C3.97483 7.54695 7.53727 3.97483 11.9903 3.97483C16.4434 3.97483 20.0252 7.54695 20.0348 12C20.0348 16.453 16.453 20.0348 12 20.0348Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},36100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("circle",{opacity:"0.5",cx:"8.50016",cy:"8.24998",r:"6.66667",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M4.5 8.39293C4.49979 8.02697 4.54964 7.6627 4.64819 7.31026L5.38191 7.51598C5.18682 8.21199 5.23051 8.95329 5.506 9.62157C5.7815 10.2898 6.27292 10.8466 6.90183 11.2029C7.53074 11.5592 8.26089 11.6946 8.97573 11.5874C9.69058 11.4802 10.3489 11.1367 10.8457 10.6116C11.3424 10.0865 11.649 9.41012 11.7164 8.69044C11.7838 7.97075 11.6081 7.24923 11.2175 6.64103C10.8269 6.03284 10.2438 5.57303 9.56123 5.335C8.87872 5.09696 8.13613 5.09442 7.452 5.32779L7.90571 5.86836C7.92848 5.89544 7.94326 5.92832 7.94838 5.96332C7.95351 5.99832 7.94879 6.03406 7.93475 6.06653C7.92071 6.09901 7.89791 6.12692 7.86889 6.14716C7.83988 6.1674 7.8058 6.17916 7.77048 6.18112L5.91638 6.28588C5.88665 6.28777 5.85689 6.28265 5.8295 6.27095C5.8021 6.25925 5.77783 6.24128 5.75864 6.2185C5.73945 6.19571 5.72587 6.16874 5.71899 6.13976C5.71212 6.11077 5.71214 6.08057 5.71905 6.0516L6.15029 4.24931C6.15851 4.21508 6.17606 4.1838 6.20099 4.15894C6.22592 4.13407 6.25725 4.11661 6.29151 4.10848C6.32576 4.10035 6.3616 4.10187 6.39504 4.11288C6.42849 4.12389 6.45822 4.14395 6.48095 4.17084L6.93429 4.71255C7.72546 4.37601 8.60402 4.30335 9.43974 4.50534C10.2755 4.70733 11.0238 5.17323 11.574 5.83397C12.1241 6.49471 12.4467 7.31512 12.494 8.1736C12.5412 9.03209 12.3106 9.88294 11.8363 10.6001C11.3619 11.3172 10.6692 11.8624 9.86068 12.1548C9.05217 12.4473 8.17094 12.4715 7.34761 12.2238C6.52429 11.9761 5.80268 11.4697 5.28976 10.7797C4.77684 10.0896 4.4999 9.25271 4.5 8.39293Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},43226:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.1111 15.9498C13.8923 16.4718 14.8107 16.7504 15.7502 16.7504C17.01 16.7504 18.2182 16.2499 19.1091 15.3591C19.9999 14.4682 20.5004 13.26 20.5004 12.0002C20.5004 11.0607 20.2218 10.1423 19.6998 9.36112C19.1779 8.57996 18.436 7.97112 17.568 7.61159C16.7 7.25206 15.7449 7.15799 14.8235 7.34128C13.902 7.52456 13.0556 7.97697 12.3913 8.6413C11.727 9.30562 11.2746 10.152 11.0913 11.0735C10.908 11.9949 11.0021 12.95 11.3616 13.818C11.7211 14.686 12.33 15.4279 13.1111 15.9498ZM12.2778 17.197C13.3056 17.8838 14.514 18.2504 15.7502 18.2504C17.4078 18.2504 18.9976 17.5919 20.1697 16.4197C21.3419 15.2476 22.0004 13.6578 22.0004 12.0002C22.0004 10.764 21.6338 9.55561 20.947 8.52777C20.2602 7.49993 19.2841 6.69883 18.142 6.22577C17 5.75271 15.7433 5.62893 14.5308 5.8701C13.3184 6.11126 12.2047 6.70653 11.3306 7.58064C10.4565 8.45474 9.86126 9.56842 9.6201 10.7808C9.37893 11.9933 9.50271 13.25 9.97577 14.392C10.4488 15.5341 11.2499 16.5102 12.2778 17.197Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M8.25018 18.2504C7.01402 18.2504 5.80561 17.8838 4.77777 17.197C3.74993 16.5102 2.94883 15.5341 2.47577 14.392C2.00271 13.25 1.87893 11.9933 2.1201 10.7808C2.36126 9.56842 2.95653 8.45474 3.83064 7.58064C4.70474 6.70653 5.81842 6.11126 7.03083 5.8701C8.24325 5.62893 9.49995 5.75271 10.642 6.22577C11.7841 6.69883 12.7602 7.49993 13.447 8.52777C14.1338 9.55561 14.5004 10.764 14.5004 12.0002C14.5004 13.6578 13.8419 15.2476 12.6697 16.4197C11.4976 17.5919 9.90784 18.2504 8.25018 18.2504Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},35240:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.47614 18.3334H13.5317C14.5524 18.3334 15.1485 17.7895 15.1932 16.7763L15.6626 6.01036H16.6907C17.0707 6.01036 17.3613 5.71234 17.3613 5.33982C17.3613 4.9673 17.0632 4.68418 16.6907 4.68418H13.4572V3.56661C13.4572 2.37454 12.6898 1.66675 11.4083 1.66675H8.57717C7.29569 1.66675 6.5283 2.37454 6.5283 3.56661V4.68418H3.3097C2.93718 4.68418 2.63916 4.97475 2.63916 5.33982C2.63916 5.7198 2.93718 6.01036 3.3097 6.01036H4.34531L4.82214 16.7763C4.8594 17.7895 5.45543 18.3334 6.47614 18.3334ZM8.07799 3.63367C8.07799 3.2984 8.30896 3.08233 8.68148 3.08233H11.3115C11.684 3.08233 11.915 3.2984 11.915 3.63367V4.68418H8.07799V3.63367ZM7.60861 16.0461C7.3106 16.0461 7.10198 15.8524 7.09453 15.5544L6.87102 7.64201C6.86357 7.34399 7.07218 7.14283 7.3851 7.14283C7.68312 7.14283 7.89173 7.33654 7.89918 7.63456L8.12269 15.5469C8.1376 15.845 7.92898 16.0461 7.60861 16.0461ZM10.0002 16.0461C9.68729 16.0461 9.47868 15.8524 9.47868 15.5544V7.63456C9.47868 7.34399 9.68729 7.14283 10.0002 7.14283C10.3131 7.14283 10.5292 7.34399 10.5292 7.63456V15.5544C10.5292 15.8524 10.3131 16.0461 10.0002 16.0461ZM12.3918 16.0536C12.0714 16.0536 11.8628 15.845 11.8777 15.5544L12.1012 7.63456C12.1087 7.33654 12.3173 7.14283 12.6153 7.14283C12.9282 7.14283 13.1369 7.34399 13.1294 7.64201L12.9059 15.5544C12.8984 15.8524 12.6898 16.0536 12.3918 16.0536Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},29592:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r={viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{opacity:"0.5",d:"M10.5001 18.8333C15.1025 18.8333 18.8334 15.1024 18.8334 10.5C18.8334 5.89763 15.1025 2.16667 10.5001 2.16667C5.89771 2.16667 2.16675 5.89763 2.16675 10.5C2.16675 15.1024 5.89771 18.8333 10.5001 18.8333Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.3334 7.16666C11.3334 6.70642 10.9603 6.33333 10.5001 6.33333C10.0398 6.33333 9.66675 6.70642 9.66675 7.16666V12.1667C9.66675 12.6269 10.0398 13 10.5001 13C10.9603 13 11.3334 12.6269 11.3334 12.1667V7.16666Z",fill:"currentColor"},null,-1),s=(0,a.Lk)("path",{d:"M11.3334 14.6667C11.3334 14.2064 10.9603 13.8333 10.5001 13.8333C10.0398 13.8333 9.66675 14.2064 9.66675 14.6667C9.66675 15.1269 10.0398 15.5 10.5001 15.5C10.9603 15.5 11.3334 15.1269 11.3334 14.6667Z",fill:"currentColor"},null,-1),u=[o,i,s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p},54598:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 160"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},58071:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var a=n(20641),r=n(90033),o=["data-account-address"],i={class:"account-info-wrapper"},s={class:"buttons"},u={ref:"headerEl",class:"header"};function c(e,t,n,c,l,d){var p=(0,a.g2)("AccountInfo"),v=(0,a.g2)("BtnClose"),f=(0,a.g2)("BalanceInfo"),m=(0,a.g2)("OpenTransferReceiveModalButton"),g=(0,a.g2)("OpenTransferSendModalButton"),h=(0,a.g2)("TransactionAndTokenFilter"),A=(0,a.g2)("IonRouterOutlet");return(0,a.uX)(),(0,a.CE)("div",{class:"account-details","data-account-address":e.activeAccount.address},[(0,a.Lk)("div",i,[e.$slots["account-info"]?(0,a.RG)(e.$slots,"account-info",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(p,{key:1,account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"])),(0,a.bF)(v,{"data-cy":"btn-close",class:"close-button",onClick:e.close},null,8,["onClick"])]),(0,a.Lk)("div",null,[e.$slots.balance?(0,a.RG)(e.$slots,"balance",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(f,{key:1,balance:e.balanceNumeric,protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"])),(0,a.Lk)("div",s,[e.withoutDefaultButtons?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(m),(0,a.bF)(g)],64)),e.$slots.buttons?(0,a.RG)(e.$slots,"buttons",{key:1},void 0,!0):(0,a.Q3)("",!0)]),(0,a.Lk)("div",u,[(0,a.RG)(e.$slots,"navigation",{},void 0,!0),((0,a.uX)(),(0,a.Wv)(h,{key:e.routeName,"show-filters":e.isScrollEnabled},null,8,["show-filters"]))],512),(0,a.Lk)("div",{class:"tabs-content",style:(0,r.Tr)({height:e.routerHeight||"".concat(e.INITIAL_TABS_HEIGHT,"px")})},[(0,a.bF)(A,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])],4)])],8,o)}n(62010),n(76031);var l=n(62759),d=n(79417),p=n(50953),v=n(75220),f=n(65563),m=n(84754),g=n(44416),h=n(15653),A=n(65568),k=n(20756),y=n(39098),b=n(86295),w=n(8666),C=330;const x=(0,a.pM)({name:"AccountDetailsBase",components:{AccountInfo:y.A,BalanceInfo:k.A,OpenTransferSendModalButton:A.A,OpenTransferReceiveModalButton:h.A,TransactionAndTokenFilter:w.A,BtnClose:b.A,IonRouterOutlet:l.Rg},props:{withoutDefaultButtons:Boolean},setup:function(){var e=(0,v.lq)(),t=(0,l.jq)(),n=(0,m.oV)(),r=n.activeAccount,o=(0,m.J$)(),i=o.isScrollEnabled,s=(0,m.mv)(),u=s.homeRouteName,c=(0,m.ty)(),h=c.balance,A=(0,p.KR)(),k=(0,p.KR)(),y=(0,p.KR)(),b=(0,a.EW)((function(){return h.value.toNumber()})),w=(0,a.EW)((function(){return e.name}));function x(){var e,t,n,a,r=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,o=null===(a=null===(n=k.value)||void 0===n?void 0:n.getBoundingClientRect())||void 0===a?void 0:a.bottom,i=Math.ceil(r-o);A.value="".concat(i,"px")}function L(){t.navigate({name:u.value},"back","push",g.KR)}function S(){y.value=new ResizeObserver(x),y.value.observe(k.value)}return(0,a.sV)((function(){S(),setTimeout((function(){x()}),150),f.I$&&d.eA.setBackgroundColor({color:"#191919"})})),(0,a.xo)((function(){var e;null===(e=y.value)||void 0===e||e.disconnect(),f.I$&&d.eA.setBackgroundColor({color:"#141414"})})),{close:L,headerEl:k,homeRouteName:u,routeName:w,balanceNumeric:b,activeAccount:r,routerHeight:A,isScrollEnabled:i,fadeAnimation:g.r4,IS_FIREFOX:f.$M,INITIAL_TABS_HEIGHT:C}}});var L=n(66262);const S=(0,L.A)(x,[["render",c],["__scopeId","data-v-94271d80"]]),T=S},94449:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var a=n(20641),r={class:"account-details-navigation"},o={key:0,class:"sub-tabs"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Tab"),l=(0,a.g2)("Tabs"),d=(0,a.g2)("BtnPill");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.bF)(l,null,{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(c,{key:e.routeName,"exact-path":e.exact,to:{name:e.routeName},text:e.text,"data-cy":e.routeName},null,8,["exact-path","to","text","data-cy"])})),128))]})),_:1}),e.isOnline&&e.currentSubTabs.length?((0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentSubTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(d,{key:e.routeName,to:{name:e.routeName},text:e.text,exact:e.exact},null,8,["to","text","exact"])})),128))])):(0,a.Q3)("",!0)])}var s=n(1287),u=(n(88431),n(50113),n(62062),n(15086),n(62010),n(26099),n(75220)),c=n(46992),l=n(84754),d=n(90973),p=n(15320),v=n(56633),f=n(90640),m=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,d.no),d.r9,d.r9),d.ao,d.ao),d.uc,d.uc),d.n3,d.n3),d.kb,d.kb);const g=(0,a.pM)({name:"AccountDetailsNavigation",components:{Tabs:f.A,Tab:v.A,BtnPill:p.A},props:{routeNames:{type:Array,required:!0,validator:function(e){return e.every((function(e){return!!m[e]}))}}},setup:function(e){var t=(0,u.lq)(),n=(0,c.s9)(),r=n.t,o=(0,l.w5)(),i=o.isOnline,p=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,{text:r("modals.accountDetails.transactions"),exact:!0}),d.r9,{text:r("modals.accountDetails.assets")}),d.ao,{text:r("modals.accountDetails.names"),children:[{text:r("pages.names.tabs.my-names"),routeName:d.ao,exact:!0},{text:r("pages.names.tabs.auctions"),routeName:d.tl},{text:r("pages.names.tabs.register"),routeName:d.PC}]}),d.uc,{text:r("modals.accountDetails.transactions"),exact:!0}),d.kb,{text:r("modals.accountDetails.assets")}),d.n3,{text:r("modals.accountDetails.details")}),v=e.routeNames.map((function(e){return Object.assign({routeName:e},p[e])})),f=(0,a.EW)((function(){var e;return(null===(e=v.find((function(e){var n=e.children;return null===n||void 0===n?void 0:n.some((function(e){var n=e.routeName;return n===t.name}))})))||void 0===e?void 0:e.children)||[]}));return{isOnline:i,currentTabs:v,currentSubTabs:f}}});var h=n(66262);const A=(0,h.A)(g,[["render",i],["__scopeId","data-v-c5baaaf6"]]),k=A},39098:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});n(62010);var a=n(20641),r=n(90033),o=["textContent"],i={key:1,class:"account-name-truncated"},s=["textContent"],u={key:0,class:"account-address"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Avatar"),v=(0,a.g2)("Truncate"),f=(0,a.g2)("AddressTruncated"),m=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["account-info",{"can-copy-address":e.canCopyAddress}])},[(0,a.bF)(p,{class:"avatar",address:e.account.address,name:e.name,size:e.avatarSize,borderless:e.avatarBorderless,"is-placeholder":e.isPlaceholder},null,8,["address","name","size","borderless","is-placeholder"]),(0,a.Lk)("div",{class:(0,r.C4)(["account-details",{"list-name":e.isListName}])},[e.isMultisig?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"account-name",textContent:(0,r.v_)(e.$t("multisig.multisigVault"))},null,8,o)):e.name?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(v,{str:e.name},null,8,["str"])])):((0,a.uX)(),(0,a.CE)("div",{key:2,"data-cy":"account-name-number",class:"account-name",textContent:(0,r.v_)(e.getDefaultAccountLabel(e.account))},null,8,s)),(0,a.RG)(e.$slots,"address",{},(function(){var t;return[(null===(t=e.account.address)||void 0===t?void 0:t.length)?((0,a.uX)(),(0,a.CE)("div",u,[(0,a.bF)(m,{"data-cy":"copy",value:e.account.address,disabled:!e.canCopyAddress},{default:(0,a.k6)((function(){return[(0,a.bF)(f,{address:e.account.address,protocol:e.account.protocol,"show-protocol-icon":e.showProtocolIcon,class:"ae-address"},null,8,["address","protocol","show-protocol-icon"])]})),_:1},8,["value","disabled"])])):(0,a.Q3)("",!0)]}),!0)],2)],2)}var l=n(31189),d=n(32118),p=n(49012),v=n(59480),f=n(20789),m=n(39893),g=n(28192);const h=(0,a.pM)({components:{AddressTruncated:g.A,Avatar:v.A,Truncate:m.A,CopyText:f.A},props:{account:{type:Object,required:!0},avatarSize:{type:String,default:"lg"},canCopyAddress:Boolean,isMultisig:Boolean,avatarBorderless:Boolean,isListName:Boolean,isPlaceholder:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,p.q)(),n=t.getName,r=(0,a.EW)((function(){return n(e.account.address).value})),o=(0,a.EW)((function(){return e.account.protocol?d.C.getAdapter(e.account.protocol).getExplorer().prepareUrlForAccount(e.account.address):""}));return{name:r,explorerUrl:o,getDefaultAccountLabel:l.$W}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-bf1c6ab4"]]),y=k},29086:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});n(62010);var a=n(20641),r=n(90033),o={key:0,class:"name"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Avatar"),l=(0,a.g2)("ProtocolIcon"),d=(0,a.g2)("Truncate"),p=(0,a.g2)("AddressTruncated"),v=(0,a.g2)("ExternalLinkIcon"),f=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.Wv)(f,{to:e.explorerUrl,class:"account-item",variant:"muted"},{icon:(0,a.k6)((function(){return[(0,a.bF)(v,{class:"external-link-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",{class:(0,r.C4)(["avatar-wrapper",{"has-protocol-icon":e.protocol}])},[(0,a.bF)(c,{address:e.address,name:e.name,class:(0,r.C4)({avatar:e.protocol}),size:"sm"},null,8,["address","name","class"]),e.protocol?((0,a.uX)(),(0,a.Wv)(l,{key:0,protocol:e.protocol,"icon-size":"xs",class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0)],2),e.name?((0,a.uX)(),(0,a.CE)("span",o,[(0,a.bF)(d,{class:(0,r.C4)([e.size]),str:e.name},null,8,["class","str"])])):((0,a.uX)(),(0,a.Wv)(p,{key:1,class:"address",address:e.address,protocol:e.protocol},null,8,["address","protocol"]))]})),_:1},8,["to"])}n(74423);var s=n(32118),u=n(28192),c=n(59480),l=n(47206),d=n(39893),p=n(62376),v=n(78185),f=["rg","md"];const m=(0,a.pM)({components:{ProtocolIcon:p.A,Avatar:c.A,AddressTruncated:u.A,ExternalLinkIcon:v.A,LinkButton:l.A,Truncate:d.A},props:{address:{type:String,required:!0},name:{type:String,default:""},protocol:{type:String,required:!0},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return s.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{explorerUrl:t}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-4a2fe2f6"]]),A=h},74295:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={class:"address-formatted"},i={key:1};function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("div",o,[e.isAddress?((0,a.uX)(!0),(0,a.CE)(a.FK,{key:0},(0,a.pI)(e.addressChunks,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:(0,r.C4)(["address-formatted-chunk",{"align-right":e.alignRight}]),style:(0,r.Tr)(e.cssVariable)},(0,r.v_)(t),7)})),128)):((0,a.uX)(),(0,a.CE)("span",i,(0,r.v_)(e.address),1))])}n(28706),n(62062),n(2892),n(27495),n(71761),n(42781);var u=n(84754),c=n(32118);const l=(0,a.pM)({props:{address:{type:String,required:!0},columnCount:{type:Number,default:6},alignRight:Boolean},setup:function(e){var t=3,n=(0,u.fI)(),r=n.activeNetwork;function o(e){return e.length===t?e:"".concat(e).concat(" ".repeat(t-e.length))}var i=(0,a.EW)((function(){var t,n=null===(t=r.value)||void 0===t?void 0:t.type;return!!c.C.getAdapterByAddressOrNameEncoding(e.address,n)})),s=(0,a.EW)((function(){var t;return null===(t=e.address.match(/.{1,3}/g))||void 0===t?void 0:t.map(o)})),l=(0,a.EW)((function(){return{"--column-width":"".concat(100/e.columnCount,"%")}}));return{prepareChunk:o,isAddress:i,addressChunks:s,cssVariable:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-d647dd4e"]]),v=p},28192:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o=function(e){return(0,a.Qi)("data-v-f112ca60"),e=e(),(0,a.jt)(),e},i={class:"address-truncated"},s={class:"address-truncated-chunks"},u={class:"address-chunk"},c=o((function(){return(0,a.Lk)("span",{class:"dots"}," ··· ",-1)})),l={class:"address-chunk"};function d(e,t,n,o,d,p){var v=(0,a.g2)("ProtocolIcon"),f=(0,a.g2)("ExternalLinkIcon"),m=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.CE)("div",i,[e.showProtocolIcon?((0,a.uX)(),(0,a.Wv)(v,{key:0,protocol:e.protocol,class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.Lk)("span",u,(0,r.v_)(e.truncatedAddress[0]),1),c,(0,a.Lk)("span",l,(0,r.v_)(e.truncatedAddress[1]),1)]),e.showExplorerLink?((0,a.uX)(),(0,a.Wv)(m,{key:1,to:e.explorerUrl,class:"external-link"},{icon:(0,a.k6)((function(){return[(0,a.bF)(f,{class:"external-link-icon"})]})),_:1},8,["to"])):(0,a.Q3)("",!0)])}var p=n(31189),v=n(32118),f=n(78185),m=n(62376),g=n(47206);const h=(0,a.pM)({components:{ProtocolIcon:m.A,LinkButton:g.A,ExternalLinkIcon:f.A},props:{address:{type:String,required:!0},protocol:{type:String,required:!0},showExplorerLink:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,a.EW)((function(){return(0,p.LV)(e.address)})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{truncatedAddress:t,explorerUrl:n}}});var A=n(66262);const k=(0,A.A)(h,[["render",d],["__scopeId","data-v-f112ca60"]]),y=k},50118:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"tokens-list"};function o(e,t,n,o,i,s){var u=(0,a.g2)("AssetListItem");return(0,a.uX)(),(0,a.CE)("div",r,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.accountAssetsFiltered,(function(t){return(0,a.uX)(),(0,a.Wv)(u,{key:t.contractId,asset:t,"is-multisig":e.isMultisig},null,8,["asset","is-multisig"])})),128))])}var i=n(84754),s=n(87862);const u=(0,a.pM)({components:{AssetListItem:s.A},props:{searchTerm:{type:String,default:""},ownedOnly:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,i.Sr)({ownedOnly:e.ownedOnly,searchTerm:(0,a.EW)((function(){return e.searchTerm})),isMultisig:e.isMultisig}),n=t.accountAssetsFiltered;return{accountAssetsFiltered:n}}});var c=n(66262);const l=(0,c.A)(u,[["render",o]]),d=l},87862:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o={class:"row"},i={key:0,class:"row bottom"},s={class:"price"},u={class:"price"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Tokens"),v=(0,a.g2)("TokenAmount"),f=(0,a.g2)("ListItemWrapper");return e.asset?((0,a.uX)(),(0,a.Wv)(f,(0,a.v6)({key:0},e.$attrs,{class:"tokens-list-item",to:e.preventNavigation?null:{name:e.targetRouteName,params:{id:e.asset.contractId}},replace:"",extend:e.preventNavigation,selected:e.selected}),{default:(0,a.k6)((function(){var t;return[(0,a.Lk)("div",o,[(0,a.bF)(p,{tokens:[e.asset],"icon-size":"lg","full-symbol":"",bright:""},null,8,["tokens"]),(0,a.bF)(v,{amount:+(null!==(t=e.asset.convertedBalance)&&void 0!==t?t:0),protocol:e.PROTOCOLS.aeternity,"dynamic-sizing":"","hide-symbol":"","hide-fiat":""},null,8,["amount","protocol"])]),e.isCoin?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("div",s," @ "+(0,r.v_)(e.price),1),(0,a.Lk)("div",u,(0,r.v_)(e.balanceFormatted),1)])):(0,a.Q3)("",!0)]})),_:1},16,["to","extend","selected"])):(0,a.Q3)("",!0)}var l=n(65563),d=n(31189),p=n(84754),v=n(90973),f=n(39953),m=n(70694),g=n(68369);const h=(0,a.pM)({components:{TokenAmount:f.A,Tokens:m.A,ListItemWrapper:g.A},props:{asset:{type:Object,default:null},preventNavigation:Boolean,showCurrentPrice:Boolean,selected:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,p.ZN)(),n=t.getCurrentCurrencyRate,r=t.getFormattedFiat,o=t.formatCurrency,i=(0,a.EW)((function(){return o(n(e.asset.protocol))})),s=(0,a.EW)((function(){return r(e.asset.convertedBalance||0,e.asset.protocol)})),u=(0,a.EW)((function(){return(0,d.go)(e.asset.contractId)})),c=(0,a.EW)((function(){return e.isMultisig?v.fc:u.value?v.s4:v.uY}));return{PROTOCOLS:l.yv,isCoin:u,price:i,targetRouteName:c,balanceFormatted:s}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-686b3f34"]]),y=k},59480:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o=["src"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["avatar",[e.size,{borderless:e.borderless,placeholder:e.isPlaceholder}]]),style:(0,r.Tr)({"--color":e.color})},[!e.isPlaceholder&&e.srcUrl?((0,a.uX)(),(0,a.CE)("img",{key:0,class:"avatar-img",src:e.srcUrl,alt:"Avatar"},null,8,o)):(0,a.Q3)("",!0)],6)}var s=n(2327),u=(n(28706),n(74423),n(62010),n(26099),n(50953)),c=n(31189),l=n(59755),d=n(58338),p=n(41549),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=["xs","sm","rg","md","lg","xl"];const m=(0,a.pM)({props:{address:{type:String,default:""},name:{type:String,default:null},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},borderless:Boolean,isPlaceholder:Boolean},setup:function(e){var t=this,n=(0,p.$L)(),r=n.aeActiveNetworkSettings,o=(0,u.KR)(!1),i=(0,a.EW)((function(){return"".concat(l.d3).concat(e.name||e.address)})),f=(0,a.EW)((function(){return e.address?(0,c.cr)(e.address):void 0})),m=(0,a.EW)((function(){return""===e.address||(0,d.bK)(e.address)?null:"".concat(r.value.backendUrl,"/profile/image/").concat(e.address)})),g=(0,a.EW)((function(){return o.value?m.value:i.value}));return(0,a.sV)((function(){return v(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.t0=!!m.value,!e.t0){e.next=5;break}return e.next=4,(0,c.d3)(m.value);case 4:e.t0=e.sent;case 5:o.value=e.t0;case 6:case"end":return e.stop()}}),e)})))})),{srcUrl:g,color:f,hasProfileImage:o}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-1c2ad31e"]]),A=h},89460:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(87745);var a=n(20641),r=n(90033),o=n(53751),i={key:0,class:"back-to-top-btn-container"};function s(e,t,n,s,u,c){var l=(0,a.g2)("Chevron"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",{ref:"el",class:(0,r.C4)(["back-to-top",{sticky:e.sticky,visible:e.isVisible}])},[(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.isVisible?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(d,{class:"back-to-top-btn",onClick:e.scrollTop},{default:(0,a.k6)((function(){return[(0,a.bF)(l,{class:"chevron"})]})),_:1},8,["onClick"])])):(0,a.Q3)("",!0)]})),_:1})],2)}var u=n(50953),c=n(24528),l=n(46841);const d=(0,a.pM)({components:{BtnPlain:c.A,Chevron:l.A},props:{sticky:Boolean},setup:function(){var e=(0,u.KR)(),t=(0,u.KR)(!1);function n(){var n,a,r;(null===(n=e.value)||void 0===n?void 0:n.parentNode)&&(t.value=(null===(r=null===(a=e.value)||void 0===a?void 0:a.parentNode)||void 0===r?void 0:r.scrollTop)>800)}function r(){var t,n;null===(n=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===n||n.scrollTo({top:0,behavior:"smooth"})}return(0,a.sV)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.addEventListener("scroll",n)})),(0,a.xo)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.removeEventListener("scroll",n)})),{el:e,isVisible:t,scrollTop:r}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2c42d011"]]),f=v},20756:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"balance-info","data-cy":"balance-info"},i={class:"display-value"};function s(e,t,n,s,u,c){var l=(0,a.g2)("MainBalance"),d=(0,a.g2)("MessageOffline");return(0,a.uX)(),(0,a.CE)("div",o,[e.isOnline?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(l,{balance:e.balance,protocol:e.protocol},null,8,["balance","protocol"]),(0,a.Lk)("div",i,(0,r.v_)(e.currencyFormatted),1)],64)):((0,a.uX)(),(0,a.Wv)(d,{key:1,text:e.$t("common.balanceUnavailable"),horizontal:e.horizontalOfflineMessage,"disable-colors":!e.horizontalOfflineMessage},null,8,["text","horizontal","disable-colors"]))])}n(2892);var u=n(84754),c={class:"asset-symbol"},l={class:"asset-integer"},d={class:"asset-fractional"};function p(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["main-balance",[e.assetFontSize]])},[(0,a.Lk)("span",c,(0,r.v_)(e.assetSymbol),1),(0,a.Lk)("span",l,(0,r.v_)(e.balanceParts.integer)+(0,r.v_)(e.balanceParts.decimal),1),(0,a.Lk)("span",d,(0,r.v_)(e.balanceParts.fraction),1)],2)}n(28706),n(72712),n(26099);var v=n(32118),f=n(31189);const m=(0,a.pM)({props:{balance:{type:Number,default:0},protocol:{type:String,required:!0}},setup:function(e){var t=(0,a.EW)((function(){var t=v.C.getAdapter(e.protocol).getAmountPrecision({amount:e.balance}),n=(0,f.lv)(e.balance,{minimumFractionDigits:2,maximumFractionDigits:t}).reduce((function(e,t){return"decimal"===t.type?Object.assign(Object.assign({},e),{decimal:t.value}):"fraction"===t.type?Object.assign(Object.assign({},e),{fraction:t.value}):Object.assign(Object.assign({},e),{integer:"".concat(e.integer||"").concat(t.value)})}),{integer:"",decimal:"0",fraction:","}),a=n.integer,r=n.fraction,o=n.decimal;return{integer:a,fraction:r,decimal:o}})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).coinSymbol})),r=(0,a.EW)((function(){var e=t.value,n=e.fraction,a=e.integer,r=a.length+n.length;return r>=16?"sm":r>=14?"md":r>=13?"lg":null}));return{assetSymbol:n,balanceParts:t,assetFontSize:r}}});var g=n(66262);const h=(0,g.A)(m,[["render",p]]),A=h;var k=n(17831);const y=(0,a.pM)({components:{MainBalance:A,MessageOffline:k.A},props:{balance:{type:Number,required:!0},protocol:{type:String,required:!0},horizontalOfflineMessage:Boolean},setup:function(e){var t=(0,u.ZN)(),n=t.getFormattedFiat,r=(0,u.w5)(),o=r.isOnline,i=(0,a.EW)((function(){return n(e.balance,e.protocol)}));return{isOnline:o,currencyFormatted:i}}}),b=(0,g.A)(y,[["render",s],["__scopeId","data-v-46d07e78"]]),w=b},20789:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r=n(90033),o={key:0,class:"copied"};function i(e,t,n,i,s,u){var c=(0,a.g2)("CopyOutlinedIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["copy-text",{"has-icon":!e.hideIcon,disabled:e.disabled}]),onClick:t[0]||(t[0]=function(t){return e.copyText(t)})},[e.copied||e.copiedLocally?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(c,{class:"copy-icon-copied"}),(0,a.eW)(" "+(0,r.v_)(e.copiedText||e.$t("common.addressCopied")),1)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value),1)]}),!0),e.hideIcon||e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"copy-icon-indicator"}))],2)}var s=n(84754),u=n(74462);const c=(0,a.pM)({name:"CopyText",components:{CopyOutlinedIcon:u.A},props:{value:{type:String,default:null},copiedText:{type:String,default:""},copied:Boolean,disabled:Boolean,hideIcon:Boolean},setup:function(e){var t=(0,s.T9)(),n=t.copied,a=t.copy;function r(t){e.disabled||(a(e.value),t.preventDefault())}return{copiedLocally:n,copyText:r}}});var l=n(66262);const d=(0,l.A)(c,[["render",i],["__scopeId","data-v-4027e3b3"]]),p=d},74494:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=n(53751),i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("ChevronDownIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["details-item",{expandable:e.expandable,expanded:e.expanded}])},[((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.expandable?"BtnPlain":"div"),{class:"label",onClick:t[0]||(t[0]=function(t){return e.toggleExpanded()})},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.label)+" ",1),e.$slots.label?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,r.C4)({indent:e.label})},[(0,a.RG)(e.$slots,"label",{},void 0,!0)],2)):(0,a.Q3)("",!0),e.expandable?((0,a.uX)(),(0,a.Wv)(l,{key:1,class:"expand-arrow"})):(0,a.Q3)("",!0)]})),_:3})),(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.expanded?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["value",{small:e.small,highlight:e.highlight}])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value)+" ",1),e.secondary?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"secondary",textContent:(0,r.v_)(e.secondary)},null,8,i)):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"value",{},void 0,!0)]}),!0)],2)):(0,a.Q3)("",!0)]})),_:3})],2)}n(2892);var u=n(50953),c=n(19298),l=n(24528);const d=(0,a.pM)({name:"DetailsItem",components:{ChevronDownIcon:c.A,BtnPlain:l.A},props:{label:{type:String,default:""},value:{type:[String,Number,Array],default:""},secondary:{type:String,default:""},expandable:Boolean,small:Boolean,highlight:Boolean},setup:function(e){var t=(0,u.KR)(!e.expandable);function n(){e.expandable&&(t.value=!t.value)}return{expanded:t,toggleExpanded:n}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-68d052f1"]]),f=v},79708:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["dialog",[e.position,{dense:e.dense}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}n(74423);var i=["left","bottom"];const s=(0,a.pM)({name:"DialogBox",props:{dense:Boolean,position:{type:String,validator:function(e){return i.includes(e)},default:i[0]}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5b9d82eb"]]),l=c},9776:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});n(2008),n(62010),n(26099);var a=n(20641),r=n(90033),o={"data-cy":"filters",class:"filters"};function i(e,t,n,i,s,u){var c=(0,a.g2)("SortIcon"),l=(0,a.g2)("FilterArrowIcon"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filters,(function(t,n){return(0,a.uX)(),(0,a.Wv)(d,{key:n,class:(0,r.C4)(["filter",{active:e.modelValue.key===n||e.modelValue.filter===n}]),onClick:function(t){return e.handleClick(n)}},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",null,(0,r.v_)(t.name),1),void 0!==t.rotated?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:(0,r.C4)({rotate:!t.rotated})},null,8,["class"])):((0,a.uX)(),(0,a.Wv)(l,{key:1}))]})),_:2},1032,["class","onClick"])})),128))])}n(2892);var s=n(50953),u=n(53368),c={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},l=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M2.08 2.57516C2.03543 2.52175 2.00829 2.45825 2.00162 2.39176C1.99495 2.32527 2.00901 2.25842 2.04223 2.19871C2.07545 2.139 2.12652 2.08878 2.18971 2.05369C2.2529 2.01859 2.32572 2 2.4 2H13.6C13.6743 2 13.7471 2.01859 13.8103 2.05369C13.8735 2.08878 13.9245 2.139 13.9578 2.19871C13.991 2.25842 14.0051 2.32527 13.9984 2.39176C13.9917 2.45825 13.9646 2.52175 13.92 2.57516L9.6 7.75161V13.6405C9.6 13.7018 9.58255 13.7621 9.54932 13.8157C9.51609 13.8692 9.46818 13.9142 9.41014 13.9464C9.3521 13.9786 9.28586 13.9969 9.21771 13.9996C9.14957 14.0024 9.08178 13.9894 9.0208 13.9619L6.4 12.7843V7.75161L2.08 2.57516Z",fill:"currentColor"})],-1),d=[l];function p(e,t){return(0,a.uX)(),(0,a.CE)("svg",c,d)}var v=n(66262);const f={},m=(0,v.A)(f,[["render",p]]),g=m;var h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M12.875 2H3.125C2.50368 2 2 2.53726 2 3.2C2 3.86274 2.50368 4.4 3.125 4.4H12.875C13.4963 4.4 14 3.86274 14 3.2C14 2.53726 13.4963 2 12.875 2Z",fill:"white"}),(0,a.Lk)("path",{opacity:"0.44",d:"M6.875 13.9999C6.57663 13.9999 6.29048 13.8735 6.0795 13.6485C5.86853 13.4234 5.75 13.1182 5.75 12.7999C5.75 12.4817 5.86853 12.1764 6.0795 11.9514C6.29048 11.7264 6.57663 11.5999 6.875 11.5999H9.125C9.42337 11.5999 9.70952 11.7264 9.9205 11.9514C10.1315 12.1764 10.25 12.4817 10.25 12.7999C10.25 13.1182 10.1315 13.4234 9.9205 13.6485C9.70952 13.8735 9.42337 13.9999 9.125 13.9999H6.875ZM4.625 9.19993C4.32663 9.19993 4.04048 9.0735 3.8295 8.84845C3.61853 8.62341 3.5 8.31819 3.5 7.99993C3.5 7.68167 3.61853 7.37644 3.8295 7.1514C4.04048 6.92635 4.32663 6.79993 4.625 6.79993H11.375C11.6734 6.79993 11.9595 6.92635 12.1705 7.1514C12.3815 7.37644 12.5 7.68167 12.5 7.99993C12.5 8.31819 12.3815 8.62341 12.1705 8.84845C11.9595 9.0735 11.6734 9.19993 11.375 9.19993H4.625Z",fill:"white"})],-1),k=[A];function y(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,k)}const b={},w=(0,v.A)(b,[["render",y]]),C=w;var x=n(24528);const L=(0,a.pM)({components:{FilterArrowIcon:g,SortIcon:C,BtnPlain:x.A},props:{modelValue:{type:Object,required:!0},filters:{type:Object,required:!0},scrollTopThreshold:{type:Number,default:140}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,a=(0,u.k)(),r=a.viewportElement,o=(0,s.KR)(e.filters);function i(t){var a=o.value[t];r.value&&r.value.scrollTop>e.scrollTopThreshold&&r.value.scrollTo({top:e.scrollTopThreshold,behavior:"smooth"}),void 0!==a.rotated&&e.modelValue.key===t&&(a.rotated=!a.rotated);var i=Object.assign(Object.assign({},o.value[t]),{key:t});n("update:modelValue",i)}return{rotatableFilters:o,handleClick:i}}}),S=(0,v.A)(L,[["render",i],["__scopeId","data-v-78158338"]]),T=S},71364:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["fixed-screen-footer",[{mobile:e.IS_MOBILE_DEVICE},{noPaddingTop:e.noPaddingTop}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}var i=n(65563);const s=(0,a.pM)({props:{noPaddingTop:Boolean},setup:function(){return{IS_MOBILE_DEVICE:i.Hy}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-397b9317"]]),l=c},58411:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,m0:()=>c,ZO:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("ProtocolIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["icon-wrapper",["icon-size-".concat(e.iconSize),{"is-boxed":e.isBoxed}]])},[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["icon-wrapper-icon",{"icon-wrapper-fill":e.isFull}])},null,8,["class"])):e.protocolIcon?((0,a.uX)(),(0,a.Wv)(u,{key:1,protocol:e.protocolIcon},null,8,["protocol"])):(0,a.Q3)("",!0)],2)}n(74423),n(21699);var i=n(62376),s=n(65563),u=[s.hS.lg,s.hS.xl],c={type:String,default:s.hS.lg,validator:function(e){return u.includes(e)}},l={type:String,default:null};const d=(0,a.pM)({components:{ProtocolIcon:i.A},props:{icon:{type:Object,default:null},isFull:Boolean,isBoxed:Boolean,iconSize:c,protocolIcon:l}});var p=n(66262);const v=(0,p.A)(d,[["render",o],["__scopeId","data-v-5e9dcd14"]]),f=v},72402:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["info-box",[e.type]])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)],2)}n(74423),n(79432),n(21699);var i={default:"default",success:"success",danger:"danger",warning:"warning"};const s=(0,a.pM)({props:{type:{type:String,validator:function(e){return Object.keys(i).includes(e)},default:i["default"]},text:{type:String,default:null}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-13169d05"]]),l=c},99366:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033),o=["textContent"],i={key:0,class:"input-amount-desc-total","data-cy":"total-amount-currency"},s={key:0},u={key:1,class:"input-amount-desc-at"};function c(e,t,n,c,l,d){var p=(0,a.g2)("InputSelectAsset"),v=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(v,(0,a.v6)(e.$attrs,{class:"input-amount",type:"number",placeholder:"0.00","model-value":e.modelValue,label:e.label,message:e.$attrs.message,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),(0,a.eX)({after:(0,a.k6)((function(n){var i=n.focused;return[e.readonly?((0,a.uX)(),(0,a.CE)("div",{key:1,class:"readonly-symbol",textContent:(0,r.v_)(e.defaultCoin.symbol)},null,8,o)):((0,a.uX)(),(0,a.Wv)(p,(0,a.v6)({key:0},e.$attrs,{"data-cy":"select-asset",value:e.currentAsset,focused:i,"show-tokens-with-balance":e.showTokensWithBalance,onSelectAsset:t[0]||(t[0]=function(t){return e.handleAssetSelected(t)})}),null,16,["value","focused","show-tokens-with-balance"]))]})),under:(0,a.k6)((function(t){var n=t.focused;return[(0,a.Lk)("div",{class:(0,r.C4)(["input-amount-desc",{focused:n}])},[e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",i,[e.modelValue?((0,a.uX)(),(0,a.CE)("span",s,"≈")):(0,a.Q3)("",!0),(0,a.eW)(" "+(0,r.v_)(e.totalAmountFormatted),1)])):(0,a.Q3)("",!0),e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",u," @"+(0,r.v_)(e.currentAssetFiatPrice?e.currentAssetFiatPriceFormatted:e.$t("common.priceNotAvailable")),1)):(0,a.Q3)("",!0)],2)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["model-value","label","message"])}n(74423),n(62062),n(2892),n(21699);var l=n(84754),d=n(32118),p=n(19389);function v(e,t,n,o,i,s){var u=(0,a.g2)("ChevronDown"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["select-asset",{focused:e.focused,disabled:e.disabled}]),onClick:e.openAssetSelector},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.displayToken)+" ",1),e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"chevron-down"}))]})),_:1},8,["class","onClick"])}n(28706);var f=n(65563),m=n(19298),g=n(24528);const h=(0,a.pM)({components:{BtnPlain:g.A,ChevronDown:m.A},props:{value:{type:Object,default:null},disabled:Boolean,focused:Boolean,showTokensWithBalance:Boolean},emits:["select-asset"],setup:function(e,t){var n=t.emit,r=(0,l.U8)(),o=r.openModal,i=(0,a.EW)((function(){if(e.value){var t=e.value.symbol;return"".concat(String(t).substring(0,11)).concat(t.length>11?"...":"")}return""}));function s(e){n("select-asset",e)}function u(){e.disabled||o(f.Pu,{selectedToken:e.value,showTokensWithBalance:e.showTokensWithBalance,resolve:function(e){return e}}).then((function(e){return s(e)}))["catch"]((function(){}))}return{displayToken:i,handleChange:s,openAssetSelector:u}}});var A=n(66262);const k=(0,A.A)(h,[["render",v],["__scopeId","data-v-2815dc49"]]),y=k,b=(0,a.pM)({components:{InputSelectAsset:y,InputField:p.A},props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:null},selectedAsset:{type:Object,default:null},readonly:Boolean,showTokensWithBalance:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e,t){var n=t.emit,r=(0,l.ZN)(),o=r.getCurrentCurrencyRate,i=r.marketData,s=r.formatCurrency,u=(0,l.ty)(),c=u.balance,p=(0,l.oV)(),v=p.protocolsInUse,f=(0,a.EW)((function(){return d.C.getAdapter(e.protocol).getDefaultCoin(i.value,+c.value)})),m=(0,a.EW)((function(){return e.selectedAsset||f.value})),g=(0,a.EW)((function(){return v.value.map((function(e){return d.C.getAdapter(e).coinContractId})).includes(m.value.contractId)})),h=(0,a.EW)((function(){return g.value?o(e.protocol):0})),A=(0,a.EW)((function(){return s(h.value)})),k=(0,a.EW)((function(){return s(h.value?(+e.modelValue||0)*h.value:0)}));function y(e){n("asset-selected",e)}return(0,a.sV)((function(){e.selectedAsset||y(f.value)})),{defaultCoin:f,totalAmountFormatted:k,currentAssetFiatPrice:h,currentAssetFiatPriceFormatted:A,currentAsset:m,formatCurrency:s,handleAssetSelected:y}}}),w=(0,A.A)(b,[["render",c],["__scopeId","data-v-a339de10"]]),C=w},19389:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641),r=n(90033),o={key:0,class:"label"},i=["for"],s={key:1,class:"label-after"},u={class:"main-inner"},c=["id","value","disabled","maxlength","inputmode"],l={class:"under"},d={key:1,class:"message","data-cy":"input-message"},p=["for"];function v(e,t,n,v,f,m){var g=(0,a.g2)("BtnHelp");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["input-field",{error:e.hasError,warning:e.hasWarning,readonly:e.readonly,code:e.code,thin:e.thin}])},[e.label||e.$slots.label||e.$slots["label-after"]?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("label",{for:e.inputId,class:"label-text",onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},[(0,a.RG)(e.$slots,"label",{},(function(){return[(0,a.eW)((0,r.v_)(e.label),1)]}),!0)],8,i),e.showHelp?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"btn-help",onHelp:t[1]||(t[1]=function(t){return e.$emit("help")})})):(0,a.Q3)("",!0),e.$slots["label-after"]||e.textLimit?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"label-after",{},(function(){return[(0,a.eW)((0,r.v_)(e.availableTextLimit),1)]}),!0)])):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0),(0,a.Lk)("label",{"data-cy":"input-wrapper",class:"input-wrapper",onClick:t[6]||(t[6]=function(t){return e.$emit("click",t)})},[(0,a.Lk)("div",u,[e.hasError||e.hasWarning?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"before",{key:0},void 0,!0),(0,a.RG)(e.$slots,"default",{id:e.uid,inputId:e.inputId},(function(){return[(0,a.Lk)("input",(0,a.v6)(e.$attrs,{id:e.inputId,class:"input",autocomplete:"off",step:"any","data-cy":"input",value:e.modelValue,disabled:e.readonly,maxlength:e.textLimit,inputmode:e.inputMode,onInput:t[2]||(t[2]=function(){return e.handleInput&&e.handleInput.apply(e,arguments)}),onKeydown:t[3]||(t[3]=function(){return e.checkIfNumber&&e.checkIfNumber.apply(e,arguments)}),onFocusin:t[4]||(t[4]=function(t){return e.focused=!0}),onFocusout:t[5]||(t[5]=function(t){return e.focused=!1})}),null,16,c)]}),!0),(0,a.RG)(e.$slots,"after",{focused:e.focused},void 0,!0)]),(0,a.Lk)("div",l,[(0,a.RG)(e.$slots,"under",{focused:e.focused},void 0,!0)])]),e.showMessage?((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("label",{class:"message-text","data-cy":"input-field-message",for:e.inputId},(0,r.v_)(e.messageAsObject?e.messageAsObject.text:null),9,p)])):(0,a.Q3)("",!0)],2)}var f=n(73808),m=(n(25440),n(74423),n(2892),n(27495),n(90906),n(21699),n(50953)),g=n(65563),h=n(31157);const A=(0,a.pM)({name:"InputField",components:{BtnHelp:h.A},props:{modelValue:{type:[String,Number],default:null},label:{type:String,default:""},type:{type:String,default:"text",validator:function(e){return["text","number","url"].includes(e)}},message:{type:[String,Object],validator:function(e){return"object"!==(0,f.A)(e)||!e.status||!!g.IS[e.status]},default:null},readonly:Boolean,showHelp:Boolean,showMessageHelp:Boolean,code:Boolean,thin:Boolean,textLimit:{type:Number,default:null}},emits:["update:modelValue","focus-change","click","help"],setup:function(e,t){var n,r=t.emit,o=null===(n=(0,a.nI)())||void 0===n?void 0:n.uid,i="input-".concat(o),s=(0,m.KR)(!1),u=(0,a.EW)((function(){return"number"===e.type?"decimal":"text"})),c=(0,a.EW)((function(){return"object"===(0,f.A)(e.message)?e.message:{text:e.message}})),l=(0,a.EW)((function(){var e,t;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.error||!!(null===(t=c.value)||void 0===t?void 0:t.text)})),d=(0,a.EW)((function(){var e;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.warning})),p=(0,a.EW)((function(){var e,t;return!(null===(e=c.value)||void 0===e?void 0:e.hideMessage)&&!!(null===(t=c.value)||void 0===t?void 0:t.text)})),v=(0,a.EW)((function(){return e.textLimit&&e.modelValue?e.textLimit-String(e.modelValue).length:e.textLimit}));function h(t){var n,a=1===t.key.length&&!t.ctrlKey&&!t.metaKey,r="string"===typeof e.modelValue&&(null===(n=e.modelValue)||void 0===n?void 0:n.includes("."))&&[",","."].includes(t.key);"number"!==e.type||!a||!r&&/^([0-9]+|,|\.)$/.test(t.key)||t.preventDefault()}function A(t){var n=t.target.value;r("update:modelValue","number"===e.type?null===n||void 0===n?void 0:n.replace(",","."):n)}return(0,a.wB)((function(){return s.value}),(function(e){return r("focus-change",e)})),{focused:s,uid:o,inputId:i,inputMode:u,messageAsObject:c,hasError:l,hasWarning:d,showMessage:p,availableTextLimit:v,checkIfNumber:h,handleInput:A}}});var k=n(66262);const y=(0,k.A)(A,[["render",v],["__scopeId","data-v-124f240c"]]),b=y},76801:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("Search"),u=(0,a.g2)("Eraser"),c=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(c,(0,a.v6)({class:"input-search"},e.$attrs,{thin:"","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),{after:(0,a.k6)((function(){return[e.$attrs.value?((0,a.uX)(),(0,a.Wv)(u,{key:1,class:"erase-icon",onClick:t[0]||(t[0]=function(t){return e.$emit("update:modelValue","")})})):((0,a.uX)(),(0,a.Wv)(s,{key:0}))]})),_:1},16)}var o=n(19389),i={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},s=(0,a.Lk)("path",{d:"M10.603 17.126C11.9371 17.126 13.1872 16.7233 14.2276 16.0353L17.9025 19.7186C18.1458 19.9535 18.4562 20.0709 18.7918 20.0709C19.4882 20.0709 20 19.5256 20 18.8376C20 18.5188 19.8909 18.2083 19.656 17.9734L16.0063 14.3069C16.7614 13.233 17.2061 11.9325 17.2061 10.523C17.2061 6.89003 14.236 3.91992 10.603 3.91992C6.9785 3.91992 4 6.89003 4 10.523C4 14.1559 6.97011 17.126 10.603 17.126ZM10.603 15.3641C7.94337 15.3641 5.76193 13.1826 5.76193 10.523C5.76193 7.86329 7.94337 5.68185 10.603 5.68185C13.2627 5.68185 15.4442 7.86329 15.4442 10.523C15.4442 13.1826 13.2627 15.3641 10.603 15.3641Z",fill:"currentColor"},null,-1),u=[s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",i,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p;var f={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},m=(0,a.Lk)("g",{opacity:"0.7"},[(0,a.Lk)("path",{opacity:"0.44",d:"M7.71402 19.71C7.90028 19.8947 8.15168 19.9989 8.41402 20H20.994C21.5245 20 22.0332 19.7893 22.4082 19.4142C22.7833 19.0391 22.994 18.5304 22.994 18V6C22.994 5.46957 22.7833 4.96086 22.4082 4.58579C22.0332 4.21071 21.5245 4 20.994 4H8.42002C8.15768 4.0011 7.90628 4.10526 7.72002 4.29L0.657021 11.29C0.563141 11.383 0.488619 11.4936 0.437761 11.6156C0.386903 11.7375 0.360718 11.8684 0.360718 12.0005C0.360718 12.1326 0.386903 12.2635 0.437761 12.3854C0.488619 12.5074 0.563141 12.618 0.657021 12.711L7.71402 19.71Z",fill:"white"}),(0,a.Lk)("path",{d:"M15.414 14.829L14 13.415L12.586 14.829C12.3983 15.0165 12.1439 15.1218 11.8786 15.1217C11.6134 15.1216 11.359 15.0161 11.1715 14.8285C10.984 14.6408 10.8787 14.3864 10.8788 14.1211C10.8789 13.8559 10.9843 13.6015 11.172 13.414L12.585 12L11.172 10.586C10.9898 10.3974 10.889 10.1448 10.8913 9.88259C10.8936 9.62039 10.9988 9.36958 11.1842 9.18417C11.3696 8.99876 11.6204 8.89359 11.8826 8.89131C12.1448 8.88903 12.3974 8.98983 12.586 9.17199L14 10.585L15.414 9.17199C15.5068 9.07908 15.6171 9.00536 15.7384 8.95506C15.8597 8.90475 15.9898 8.87883 16.1211 8.87878C16.2525 8.87874 16.3826 8.90456 16.5039 8.95478C16.6253 9.00501 16.7356 9.07864 16.8285 9.17149C16.9214 9.26433 16.9951 9.37457 17.0454 9.4959C17.0957 9.61723 17.1216 9.74728 17.1217 9.87863C17.1217 10.01 17.0959 10.1401 17.0457 10.2614C16.9955 10.3828 16.9218 10.4931 16.829 10.586L15.415 12L16.829 13.414C17.0166 13.6016 17.122 13.8561 17.122 14.1215C17.122 14.3869 17.0166 14.6413 16.829 14.829C16.6413 15.0166 16.3869 15.122 16.1215 15.122C15.8561 15.122 15.6016 15.0166 15.414 14.829Z",fill:"white"})],-1),g=[m];function h(e,t){return(0,a.uX)(),(0,a.CE)("svg",f,g)}const A={},k=(0,l.A)(A,[["render",h]]),y=k,b={components:{InputField:o.A,Search:v,Eraser:y}},w=(0,l.A)(b,[["render",r],["__scopeId","data-v-b52ecd9a"]]),C=w},47206:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(20641),r=n(90033),o=["href"],i={key:0,class:"link-icon"};function s(e,t,n,s,u,c){var l=(0,a.g2)("ExternalLinkIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["link-button",e.variant,{underlined:e.underlined}]),href:e.IS_MOBILE_APP?void 0:e.to,rel:"noopener noreferrer",target:"_blank",onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick.apply(e,arguments)})},[(0,a.RG)(e.$slots,"default",{},void 0,!0),e.isExternal||e.$slots.icon?((0,a.uX)(),(0,a.CE)("span",i,[e.isExternal?((0,a.uX)(),(0,a.Wv)(l,{key:0})):(0,a.RG)(e.$slots,"icon",{key:1},void 0,!0)])):(0,a.Q3)("",!0)],10,o)}var u=n(2327),c=(n(74423),n(26099),n(65563)),l=n(78185),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=["default","muted","simple"];const v=(0,a.pM)({components:{ExternalLinkIcon:l.A},props:{to:{type:String,required:!0},underlined:Boolean,isExternal:Boolean,variant:{type:String,validator:function(e){return p.includes(e)},default:p[0]}},setup:function(e){function t(t){return d(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:c.I$&&(t.preventDefault(),window.open(e.to,"_system"));case 1:case"end":return n.stop()}}),n)})))}return{LINK_BUTTON_VARIANT:p,IS_MOBILE_APP:c.I$,onClick:t}}});var f=n(66262);const m=(0,f.A)(v,[["render",s],["__scopeId","data-v-4532e494"]]),g=m},68369:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["list-item-wrapper",{selected:e.selected}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{selected:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-22701c0f"]]),c=u},37354:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"loader","data-cy":"loader"},o={class:"container"};function i(e,t,n,i,s,u){var c=(0,a.g2)("AnimatedSpinner");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.Lk)("div",o,[(0,a.bF)(c,{class:"spinner"})])])}var s=n(54598);const u={components:{AnimatedSpinner:s.A}};var c=n(66262);const l=(0,c.A)(u,[["render",i],["__scopeId","data-v-5af93660"]]),d=l},17831:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o={key:0,class:"text"};function i(e,t,n,i,s,u){var c=(0,a.g2)("OfflineIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["message-offline",{horizontal:e.horizontal,"colors-disabled":e.disableColors}])},[(0,a.bF)(c,{class:"offline-icon"}),e.text?((0,a.uX)(),(0,a.CE)("p",o,(0,r.v_)(e.text),1)):(0,a.Q3)("",!0)],2)}var s={viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},u=(0,a.Lk)("path",{opacity:".5",d:"M22.56 33.59c9.09 0 16.61-7.52 16.61-16.63 0-9.1-7.54-16.63-16.62-16.63C14.09.33 7 6.83 6.06 15.08a9.97 9.97 0 0 1 2.64-.23 13.34 13.34 0 0 1 2.73-6.34 12.2 12.2 0 0 0 3.7 1.8 25.8 25.8 0 0 0-.77 5.5h-1.75a10.7 10.7 0 0 1 3.13 2.28h5.7v4.54c-1.02.03-2.03.14-2.98.28.2.68.3 1.44.34 2.21.82-.13 1.7-.2 2.64-.24v4.99c-1.02-.45-1.95-1.56-2.7-3.14-.13.93-.4 1.82-.75 2.67.23.4.52.74.8 1-.38-.1-.75-.23-1.1-.37a9.1 9.1 0 0 1-1.48 2.25c1.95.84 4.1 1.3 6.35 1.3ZM12.88 6.85a13.8 13.8 0 0 1 5.73-3.33c-1.13 1.1-2.11 2.7-2.83 4.7-1.13-.37-2.1-.82-2.9-1.37Zm16.45 1.37c-.72-2-1.69-3.6-2.83-4.7a13.6 13.6 0 0 1 5.71 3.33c-.77.55-1.74 1.02-2.88 1.37Zm-11.32.55c.85-2.37 2.1-4.1 3.43-4.7v5.05A24.61 24.61 0 0 1 18 8.77Zm5.68.35V4.07c1.33.6 2.55 2.33 3.42 4.7-1.06.19-2.22.3-3.42.35Zm7.06 6.71a26.15 26.15 0 0 0-.76-5.52 13.2 13.2 0 0 0 3.7-1.78 13.7 13.7 0 0 1 2.85 7.3h-5.8Zm-14.1 0c.07-1.75.33-3.44.7-4.94 1.27.26 2.65.44 4.09.48v4.46h-4.8Zm7.04 0v-4.46c1.41-.04 2.8-.22 4.07-.48.38 1.5.64 3.19.7 4.94H23.7Zm0 6.8v-4.54h4.77a23.03 23.03 0 0 1-.72 5 26.64 26.64 0 0 0-4.05-.46Zm6.28 1.04c.44-1.67.71-3.56.78-5.58h5.79c-.21 2.75-1.27 5.3-2.9 7.37-.95-.73-2.2-1.32-3.67-1.79Zm-6.28 6.2v-5c1.2.06 2.34.17 3.39.36-.87 2.32-2.06 4.01-3.4 4.64Zm2.86.53c1.1-1.1 2.06-2.69 2.77-4.62 1.12.35 2.07.79 2.86 1.34a13.8 13.8 0 0 1-5.63 3.28Z",fill:"white"},null,-1),c=(0,a.Lk)("path",{d:"M8.27 33.67a8.32 8.32 0 0 0 8.28-8.28 8.33 8.33 0 0 0-8.29-8.27A8.32 8.32 0 0 0 0 25.4a8.32 8.32 0 0 0 8.27 8.28Zm-2.73-4.79a.76.76 0 0 1-.53-1.3L7.2 25.4 5 23.23a.75.75 0 0 1 .53-1.29c.23 0 .4.07.55.21l2.18 2.18 2.19-2.18a.74.74 0 0 1 .54-.23c.43 0 .76.34.76.76 0 .2-.08.38-.23.54L9.36 25.4l2.17 2.18a.76.76 0 0 1-.54 1.3.78.78 0 0 1-.55-.22l-2.17-2.17-2.17 2.17a.74.74 0 0 1-.56.22Z",fill:"currentColor"},null,-1),l=[u,c];function d(e,t){return(0,a.uX)(),(0,a.CE)("svg",s,l)}var p=n(66262);const v={},f=(0,p.A)(v,[["render",d]]),m=f,g=(0,a.pM)({components:{OfflineIcon:m},props:{text:{type:String,default:null},horizontal:Boolean,disableColors:Boolean}}),h=(0,p.A)(g,[["render",i],["__scopeId","data-v-129d996a"]]),A=h},285:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(53751),o=n(90033),i={class:"container"},s={key:0,class:"header-icon"},u={class:"header-default-text"};function c(e,t,n,c,l,d){var p=(0,a.g2)("BtnClose"),v=(0,a.g2)("BackToTop"),f=(0,a.g2)("FixedScreenFooter");return(0,a.uX)(),(0,a.Wv)(r.eB,{appear:"",name:e.fromBottom?"from-bottom-transition":"pop-in-transition",onAfterEnter:t[1]||(t[1]=function(t){return e.$emit("open")})},{default:(0,a.k6)((function(){return[e.show?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["modal",{"full-screen":e.fullScreen,"from-bottom":e.fromBottom,"has-header":e.showHeader,"has-close-button":e.hasCloseButton,"no-padding":e.noPadding,dense:e.dense,"semi-dense":e.semiDense,"blur-bg":!(e.IS_FIREFOX&&e.IS_EXTENSION),"min-height":e.minHeight}])},[(0,a.Lk)("div",i,[e.showHeader?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["header",{transparent:e.hasCloseButton&&!(e.$slots.header||e.header)}])},[e.$slots.icon?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"icon",{},void 0,!0)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"header",{},(function(){return[(0,a.Lk)("div",u,(0,o.v_)(e.header),1)]}),!0),e.hasCloseButton?((0,a.uX)(),(0,a.Wv)(p,{key:1,"data-cy":"btn-close",class:"close-button",onClick:e.handleClose},null,8,["onClick"])):(0,a.Q3)("",!0)],2)):(0,a.Q3)("",!0),e.$slots["default"]?((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,o.C4)(["body",{"text-center":e.centered,"without-padding-bottom":e.bodyWithoutPaddingBottom}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,a.Q3)("",!0),(0,a.bF)(v,{sticky:""}),e.$slots.footer?((0,a.uX)(),(0,a.Wv)(f,(0,o._B)((0,a.v6)({key:2},e.$attrs)),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"footer",{},void 0,!0)]})),_:3},16)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",{class:"cover",onClick:t[0]||(t[0]=function(){return e.handleClose&&e.handleClose.apply(e,arguments)})})],2)):(0,a.Q3)("",!0)]})),_:3},8,["name"])}var l=n(65563),d=n(86295),p=n(71364),v=n(89460);const f=(0,a.pM)({components:{FixedScreenFooter:p.A,BtnClose:d.A,BackToTop:v.A},props:{show:Boolean,hasCloseButton:Boolean,fullScreen:Boolean,fromBottom:Boolean,dense:Boolean,semiDense:Boolean,noPadding:Boolean,centered:Boolean,bodyWithoutPaddingBottom:Boolean,minHeight:Boolean,header:{type:String,default:null}},emits:["close","open"],setup:function(e,t){var n=t.slots,r=t.emit,o=(0,a.EW)((function(){return e.hasCloseButton||e.header||n.header}));function i(){r("close")}function s(e){e.detail.register(100,i)}return(0,a.sV)((function(){document.addEventListener("ionBackButton",s),document.body.style.overflow||(document.body.style.overflow="hidden")})),(0,a.xo)((function(){document.removeEventListener("ionBackButton",s),document.body.style.overflow=""})),{handleClose:i,IS_FIREFOX:l.$M,IS_EXTENSION:l.hL,showHeader:o}}});var m=n(66262);const g=(0,m.A)(f,[["render",c],["__scopeId","data-v-79ba9f59"]]),h=g},15653:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{text:e.$t("common.receive"),subtitle:e.subtitle,icon:e.ArrowReceiveIcon,"is-big":e.isBig,disabled:e.disabled,onClick:t[0]||(t[0]=function(t){return e.openTransferReceiveModal()})},null,8,["text","subtitle","icon","is-big","disabled"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(84648);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,s.U8)(),n=t.openModal,r=(0,o.s9)(),u=r.t;function l(){n(i.mp,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var d=(0,a.EW)((function(){return e.isBig?e.isMultisig?u("dashboard.receiveCard.descriptionMultisig"):u("dashboard.receiveCard.description"):""}));return{subtitle:d,ArrowReceiveIcon:c.A,openTransferReceiveModal:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},65568:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{"data-cy":"send",text:e.isMultisig?e.$t("dashboard.proposeCard.title"):e.$t("common.send"),subtitle:e.subtitle,icon:e.ArrowSendIcon,disabled:e.disabled||!e.isOnline,"is-big":e.isBig,onClick:t[0]||(t[0]=function(t){return e.openTransferSendModal()})},null,8,["text","subtitle","icon","disabled","is-big"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(65608);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,o.s9)(),n=t.t,r=(0,s.w5)(),u=r.isOnline,l=(0,s.U8)(),d=l.openModal;function p(){d(i.Fv,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var v=(0,a.EW)((function(){return e.isMultisig?n("dashboard.proposeCard.description"):n("dashboard.sendCard.description")}));return{isOnline:u,subtitle:v,ArrowSendIcon:c.A,openTransferSendModal:p}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},37134:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={key:0,class:"payload"},i={class:"payload-header"},s={class:"label-text"},u={class:"payload-text"};function c(e,t,n,c,l,d){return n.payload&&n.payload.length?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("div",i,[(0,a.Lk)("span",s,(0,r.v_)(e.$t("modals.send.payload")),1),(0,a.RG)(e.$slots,"default",{},void 0,!0)]),(0,a.Lk)("div",u,(0,r.v_)(n.payload),1)])):(0,a.Q3)("",!0)}const l={name:"PayloadDetails",props:{payload:{type:String,default:""}}};var d=n(66262);const p=(0,d.A)(l,[["render",c],["__scopeId","data-v-30e23ae8"]]),v=p},62376:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["protocol-icon",[e.iconSize]])},null,8,["class"])):(0,a.Q3)("",!0)}var i=n(1287),s=(n(74423),n(21699),n(65563)),u={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},c=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"white"},null,-1),l=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"#F7296E"},null,-1),d=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"#F7296E"},null,-1),p=[c,l,d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",u,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(41970),k=n(2041),y=[s.hS.xs,s.hS.md,s.hS.lg];const b=(0,a.pM)({props:{protocol:{type:String,required:!0},iconSize:{type:String,default:s.hS.md,validator:function(e){return y.includes(e)}}},setup:function(e){var t=(0,i.A)((0,i.A)((0,i.A)({},s.yv.aeternity,h),s.yv.bitcoin,A.A),s.yv.ethereum,k.A),n=(0,a.EW)((function(){return t[e.protocol]}));return{selectedIcon:n}}}),w=(0,f.A)(b,[["render",o],["__scopeId","data-v-3c4b9f22"]]),C=w},67239:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});n(62010);var a=n(20641),r=n(90033),o=["disabled","value","type","name"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("label",{class:(0,r.C4)(["radio-button",{disabled:e.disabled}])},[(0,a.Lk)("span",{class:(0,r.C4)(["radio-dot",{checked:e.value}])},[(0,a.Lk)("input",{class:"input",disabled:e.disabled,value:e.value,type:e.type,name:e.name},null,8,o)],2),(0,a.Lk)("span",{class:(0,r.C4)(["radio-holder",{checked:e.value}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)],2)}n(2892);const s=(0,a.pM)({props:{value:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",i],["__scopeId","data-v-30c8e33a"]]),l=c},39953:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["token-amount",[{large:e.large,small:e.small,vertical:e.vertical}]])},[(0,a.Lk)("span",{class:"amount",style:(0,r.Tr)(e.dynamicSizing?{"--font-size":e.calculateFontSize(e.amountRounded)}:{})},[(0,a.eW)((0,r.v_)(e.amountRounded)+" ",1),e.hideSymbol?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.symbolComputed)},null,8,o))],4),e.amountFiat?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"fiat",textContent:(0,r.v_)(e.amountFiat)},null,8,i)):(0,a.Q3)("",!0)],2)}n(2892),n(32637);var u=n(31189),c=n(84754),l=n(32118);const d=(0,a.pM)({props:{amount:{type:Number,required:!0},symbol:{type:String,default:null},protocol:{type:String,required:!0},vertical:Boolean,hideFiat:Boolean,hideSymbol:Boolean,highPrecision:Boolean,dynamicSizing:Boolean,large:Boolean,small:Boolean},setup:function(e){var t=l.C.getAdapter(e.protocol),n=(0,c.ZN)(),r=n.getFormattedAndRoundedFiat,o=(0,a.EW)((function(){return Number.isInteger(e.amount)||0===e.amount?e.amount:(0,u.ZV)(e.amount,{minimumFractionDigits:2,maximumFractionDigits:t.getAmountPrecision({amount:e.amount,highPrecision:e.highPrecision})})})),i=(0,a.EW)((function(){return e.hideFiat?"":r(e.amount,e.protocol)})),s=(0,a.EW)((function(){return e.symbol||t.coinSymbol}));return{amountRounded:o,amountFiat:i,symbolComputed:s,calculateFontSize:u.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-58c0fdc8"]]),f=v},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});n(62010);var a=n(20641),r=n(90033),o={class:"symbols"},i=["title","textContent"],s={key:1,class:"separator"},u=["title","textContent"];function c(e,t,n,c,l,d){var p,v,f,m,g,h,A,k,y=(0,a.g2)("AssetIcon");return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["tokens",{vertical:e.vertical,bright:e.bright}])},[!e.noIcons&&e.imgAsset?((0,a.uX)(),(0,a.Wv)(y,{key:0,class:"icon",asset:e.imgAsset,"icon-size":e.iconSize},null,8,["asset","icon-size"])):(0,a.Q3)("",!0),(0,a.Lk)("span",o,[e.fromAsset?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",title:(null===(p=e.fromAsset)||void 0===p?void 0:p.name)||(null===(v=e.fromAsset)||void 0===v?void 0:v.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(f=e.fromAsset)||void 0===f?void 0:f.name:null===(m=e.fromAsset)||void 0===m?void 0:m.symbol)||e.$t("common.unrecognized"))},null,8,i)):(0,a.Q3)("",!0),e.fromAsset&&e.targetAsset?((0,a.uX)(),(0,a.CE)("span",s," / ")):(0,a.Q3)("",!0),e.targetAsset?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"symbol",title:(null===(g=e.targetAsset)||void 0===g?void 0:g.name)||(null===(h=e.targetAsset)||void 0===h?void 0:h.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(A=e.targetAsset)||void 0===A?void 0:A.name:null===(k=e.targetAsset)||void 0===k?void 0:k.symbol)||e.$t("common.unrecognized"))},null,8,u)):(0,a.Q3)("",!0)])],2)}n(50113),n(62062),n(2892),n(26099);var l=n(65563),d=n(31189),p=["src","title"];function v(e,t,n,o,i,s){var u,c,l,d,v;return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["asset-icon",[e.iconSize]]),title:(null===(u=e.asset)||void 0===u?void 0:u.name)||(null===(c=e.asset)||void 0===c?void 0:c.symbol)},null,8,["class","title"])):((0,a.uX)(),(0,a.CE)("img",{key:1,class:(0,r.C4)(["asset-icon",[e.iconSize,{"is-placeholder":!(null===(l=e.asset)||void 0===l?void 0:l.image)}]]),src:e.asset.image||e.getTokenPlaceholderUrl(e.asset),title:(null===(d=e.asset)||void 0===d?void 0:d.name)||(null===(v=e.asset)||void 0===v?void 0:v.symbol),alt:"Asset image"},null,10,p))}var f=n(1287),m=(n(28706),n(74423),n(21699),n(32118)),g=n(59755),h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"#F7296E"},null,-1),k=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"white"},null,-1),y=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"white"},null,-1),b=[A,k,y];function w(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,b)}var C=n(66262);const x={},L=(0,C.A)(x,[["render",w]]),S=L;var T=n(41970),E=n(2041),I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743",fill:"none",class:"icon"},_=(0,a.Lk)("path",{d:"M524.267 136.534c-2.016-1.799-3.327-2.599-4.235-2.599v-.1c-.706 0-1.21.6-1.613 1.6-.404.999.302 2.398 2.117 3.997 1.916 1.599 3.53 2.299 4.74 2.299 2.017 0 2.42-2.199-1.009-5.197",fill:"#fff"},null,-1),W=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M351.328 17c18.353 0 45.48 1 53.446 2.299a65 65 0 0 1 10.79 2.498c.504.4 1.714 4.098 2.723 8.096 2.017 6.996 2.017 7.496.201 8.695-.705.6-3.025 1-6.857 1-5.344 0-13.613-.7-24.605-1.9-4.639-.5-10.084-.7-14.824-.7-6.655 0-11.899.4-11.697 1.3.201.6 7.664 1.6 16.638 2.199a377 377 0 0 1 113.245 23.787l8.572 3.498c24.706 9.994 64.841 33.981 80.068 47.973 30.656 28.085 50.219 50.572 65.345 74.958 20.906 32.99 35.057 69.735 41.648 108.14a393 393 0 0 0 4.134 21.788c2.32 10.594 2.421 45.375.101 65.064-6.416 52.727-26.037 103.027-57.076 146.319-17.446 24.086-47.396 55.969-64.135 68.062-13.11 9.495-14.017 10.294-12.101 10.994h.202c3.63 0 23.496-15.092 40.941-31.483 7.059-6.496 10.79-9.594 12.504-9.594 1.412 0 1.513 1.799.807 5.297-1.008 5.497-3.832 9.395-11.899 16.391-4.034 3.498-11.597 10.494-16.841 15.691a310 310 0 0 1-15.63 14.292c-6.656 5.497-16.841 15.991-16.135 16.591h.202c1.513 0 11.597-5.997 18.252-10.994 4.135-3.198 5.95-4.298 7.362-4.298.504 0 1.008.2 1.512.4 3.026 1.299 4.236 7.196 2.118 10.394a104.9 104.9 0 0 1-27.227 17.491c-2.26.876-5.142 2.085-8.017 3.29l-.006.002-.01.005-.009.004-.023.009c-3.01 1.262-6.008 2.519-8.271 3.386-4.437 1.999-9.076 3.698-10.589 4.098s-4.336 1.999-6.555 3.498-6.05 3.598-8.571 4.497c-2.521.9-5.647 2.799-7.059 3.998-1.513 1.299-3.025 2.399-3.529 2.399-.505 0-3.429-2.699-6.656-5.997-3.025-3.298-6.454-5.997-7.261-5.997-.806 0-5.445 1.3-10.386 2.999a357 357 0 0 1-41.648 10.993c-7.655 1.265-9.499 1.818-11.039 4.24l6.601 5.055-.504 3.698c-.726 4.767-1.697 6.539-2.105 7.283q-.068.124-.114.213l-1.008 1.099c-2.42 2.499-5.647 2.799-10.488 2.999l-20.168 1.299a244.4 244.4 0 0 1-51.833-1.599c-5.142-.8-9.68-1.299-11.092-1.299-3.53 0-7.664-.3-11.093-2.599-2.42-1.699-5.243-4.897-5.243-10.994v-3.498l6.89-3.415a345.4 345.4 0 0 1-53.478-13.176c-4.235-1.299-7.059-1.998-9.378-1.998-3.328 0-5.446 1.499-8.672 4.797l-3.832 3.998-4.841-2.499a54 54 0 0 0-6.756-2.998c-1.513-.5-1.614-.9-.605-1.999 1.109-1.399.605-1.599-3.53-1.599-3.428 0-6.252-.8-9.277-2.599-2.42-1.399-6.757-3.398-9.681-4.397l-14.824-5.397a47.7 47.7 0 0 0-12.101-3.399c-5.042 0 7.866 8.696 32.068 20.389a223 223 0 0 0 20.37 9.095c3.832.7 3.832 2.399.101 6.497-1.916 2.098-3.832 3.198-6.454 3.198a40.6 40.6 0 0 1-15.025-4.997 368.4 368.4 0 0 1-55.06-32.682c-2.924-2.699-2.823-6.397.202-14.692a420 420 0 0 0 5.042-14.692l2.42-8.195-6.252-4.798a373 373 0 0 1-34.286-33.581c-2.723-3.298-4.74-4.797-8.068-4.797-1.916 0-4.235.499-7.462 1.499-15.126 4.597-21.48 6.496-24.807 6.496-2.218 0-3.025-.799-4.336-2.199-9.883-10.594-39.63-60.966-39.63-67.262 0-1.499 2.42-4.498 7.36-8.995 9.682-8.995 18.858-18.49 18.858-19.39a1794 1794 0 0 1-15.126-48.173c-1.614-5.397-2.925-10.394-2.925-11.194 0-1.699-3.73-2.998-14.117-4.997-11.698-2.199-22.085-5.597-23.194-7.496-2.017-3.798-3.025-19.889-3.025-47.573q0-2.443-.003-4.651c-.016-19.232-.022-25.457 3.106-28.162 1.496-1.295 3.71-1.784 6.983-2.508q.767-.168 1.611-.359l14.42-3.598 6.455-1.699 1.31-8.995c2.32-17.391 6.858-37.68 11.8-52.971l3.63-10.994-2.824-1.999a82.2 82.2 0 0 1-15.328-14.991 300.2 300.2 0 0 1 31.26-57.868c7.06-10.494 9.278-13.693 12.404-13.693 1.21 0 2.622.5 4.437 1.2a78.4 78.4 0 0 0 15.328 3.997c1.109 0 4.235-2.898 7.362-6.896 7.764-9.395 29.849-31.382 40.437-39.978 4.84-3.997 8.773-7.795 8.773-8.395 0-.5-1.008-4.997-2.622-9.994l-.02-.073c-1.871-6.656-2.842-10.11-1.86-12.895 1.06-3.004 4.392-5.23 11.318-9.857l.243-.163a211 211 0 0 1 25.211-14.891 251 251 0 0 1 32.067-15.891c2.219 0 4.235 1.998 4.235 3.997 0 1.1-2.319 2.699-6.756 4.498-13.311 5.597-53.748 28.984-53.748 31.183 0 .3.201.5.705.5 2.017 0 8.874-3.499 19.463-9.895 21.177-12.893 39.53-22.288 43.563-22.288 2.723 0 4.337 1 8.269 4.997l5.042 4.798 11.093-3.898a370 370 0 0 1 52.538-12.993c6.656-1.2 12.908-2.499 13.816-2.998.907-.5 5.647-.9 10.487-.9 4.841 0 8.572-.3 8.168-.6-.302-.3-4.638-.699-9.479-.799h-8.874l.303-4.997c.201-2.899 1.008-5.697 1.613-6.397 1.815-1.799 16.236-3.897 32.37-4.597 17.143-.8 27.228-1.6 27.631-2.199.302-.2 0-.9-.605-1.5-.605-.599-6.151-.799-13.412-.799-13.815 0-33.58.9-37.311 2.1-2.017.599-3.832.999-5.042.999-.505 0-.807 0-1.009-.2-1.815-1-.504-3.798 2.219-4.997 1.311-.6 8.369-.8 17.546-.8M233.747 89.76c1.311 0 3.428-.5 6.151-1.5 2.824-.999 6.051-1.499 8.37-1.499 1.614 0 2.824.3 3.126.8s-1.815 1.999-4.739 3.198a298 298 0 0 0-36.001 18.29l-21.681 13.193c-11.496 6.996-18.151 11.693-25.513 17.79-2.319 1.999-5.243 3.997-6.554 4.297-2.925 1-3.933 2.499-2.521 4.098 1.21 1.499-3.933 9.695-9.379 14.792-1.613 1.599-2.42 2.298-3.025 2.298-.403 0-.807-.399-1.311-.999-.907-1.199-1.613-1.699-2.017-1.699a296 296 0 0 1-21.378 34.581c-4.639 6.696-9.983 15.291-11.899 19.189-2.017 3.798-4.74 8.595-6.252 10.694a249 249 0 0 0-22.387 50.372c-3.328 10.394-5.85 23.987-4.942 26.386.404.999 1.11 1.599 2.017 1.599 1.614 0 3.63-1.3 5.647-3.598 6.555-7.296 9.177-12.693 14.219-28.884 2.824-8.795 6.05-17.691 7.059-19.989.4-.793 1.753-4.293 3.302-8.301.403-1.043.819-2.12 1.236-3.193 14.338-34.454 36.409-65.216 64.538-89.95 37.295-32.697 82.609-55.101 131.397-64.964 15.429-2.998 35.799-4.597 56.169-4.597 20.672 0 41.244 1.599 56.471 4.797 23.496 4.997 60.807 21.588 65.043 28.984 1.31 2.499 1.31 2.998 0 4.298-2.32 2.198-9.883 3.698-18.354 3.698-2.117 0-4.336 0-6.554-.3a261 261 0 0 0-77.648 5.597 159 159 0 0 0-34.589 12.793c-2.071.957-6.884 2.946-12.173 5.132l-.004.001-.002.001c-2.434 1.006-4.97 2.053-7.384 3.061a282 282 0 0 0-46.589 22.487 266 266 0 0 0-23.193 16.191c-10.085 7.596-20.875 17.991-40.236 38.479a35.5 35.5 0 0 1-6.757 6.297c-2.319 0 0-4.398 6.757-12.993a220.7 220.7 0 0 1 48.505-44.475c28.235-19.49 34.689-24.687 34.689-27.585 0-1.1-.202-1.699-1.311-1.699-1.513 0-4.336.799-10.286 2.698a309.3 309.3 0 0 0-65.547 30.683c-47.323 31.305-81.855 78.286-97.413 132.527-6.05 21.987-8.067 35.38-8.672 58.967-.706 29.184 1.714 50.072 8.874 74.658 9.973 33.074 26.42 63.877 48.404 90.65 22.724 26.637 50.913 48.17 82.69 63.165 39.009 18.652 81.836 28.126 125.144 27.685 21.984.099 28.538.799 18.253 1.998a239 239 0 0 1-22.186.3h-5.445c-12.807 0-16.437.7-8.773 1.799 7.818.582 15.665.682 23.496.3l.082-.001c18.877-.299 19.078-.302 18.876-2.498-.202-1.998.303-2.198 7.563-2.798 37.11-2.998 44.572-4.397 61.715-10.994l20.168-7.796c27.631-10.594 57.178-26.985 83.296-46.274 13.512-9.994 35.899-31.182 46.084-43.676 31.249-38.415 50.398-85.097 55.06-134.225.605-7.196 1.31-13.692 1.613-14.492.303-.799 1.21-4.597 2.017-8.395a24.85 24.85 0 0 1 3.832-9.695c5.042-5.897 4.336-35.48-1.412-63.165-2.521-11.893-10.992-38.978-15.832-50.672a314.2 314.2 0 0 0-44.875-75.158c-9.277-11.593-38.218-40.477-42.756-42.676-1.614-.8-4.942-2.998-7.463-5.197a266 266 0 0 0-44.168-26.585 99.3 99.3 0 0 0-19.563-8.096c-1.009 0 .302 1.2 4.537 3.798 3.127 1.999 5.748 3.998 5.748 4.297 0 .9-.806 1.3-1.916 1.3-1.008 0-2.319-.3-3.63-1-1.21-.6-2.521-1-3.328-1a1 1 0 0 0-.504.1c-1.008.7 5.647 7.697 10.185 10.395 1.714 1.2 3.227 2.499 3.227 2.998 0 .6-.403.9-1.008.9q-2.27 0-7.866-3.298a342 342 0 0 0-52.841-22.288 308.8 308.8 0 0 0-97.514-15.191c-15.933 0-32.571.8-42.353 2.198a205 205 0 0 1-19.462 2.499c-1.513 0-1.816-.3-1.816-.8 0-.6 1.311-.999 3.026-.999s4.739-.8 7.059-1.6c2.319-.799 5.546-1.498 7.058-1.498 1.513 0 3.832-.8 5.043-1.8 2.117-1.698 4.134-8.395 3.227-10.993-.202-.7-.606-1-1.513-1-.706 0-1.714.2-3.227.5l-18.152 3.398c-15.63 2.999-32.269 7.496-44.37 11.993l-5.748 2.1 5.345 5.396c3.025 2.999 5.143 5.497 4.84 5.797-.201.2-3.025 1.1-6.454 1.999-8.874 2.499-22.689 8.695-22.689 10.294 0 .8.605 1.3 2.017 1.3m252.16-14.792c2.684-.02 3.988-1.42 5.49-4.298 1.008-1.699 1.412-2.998 1.311-2.998l-8.874-2.998a324 324 0 0 0-60.404-15.992c-1.009 0-.404 6.497 1.109 9.195.504 1 2.118 2 3.63 2.299 9.883 1.999 38.723 9.295 47.396 12.193 5.008 1.688 8.126 2.587 10.342 2.599m0 0h.044-.1zm-311.152 45.375c.806 0 7.664-6.297 15.63-14.193 8.067-7.995 14.42-14.492 14.118-14.492-2.824.3-16.135 10.495-26.017 19.989-5.042 4.698-6.353 7.796-3.731 8.696m-51.329 48.273c1.311 0 4.841-2.799 8.975-6.896 5.042-5.198 8.975-7.896 11.093-7.896.706 0 1.21.3 1.512.8q.152.299.605.299c.706 0 1.916-.699 3.53-1.999 1.916-1.799 3.126-3.498 2.622-3.897h-.303c-.706 0-2.017.799-3.428 2.098-1.311 1.3-2.219 1.999-2.622 1.999-.303 0-.404-.299-.404-.599 0-2.799 4.135-7.996 8.774-10.994 6.252-4.198 18.454-16.791 18.454-18.99 0-.899-.706-2.198-1.614-2.998-.807-.7-2.218-2.499-3.025-3.998-.807-1.599-1.815-2.898-2.219-2.898-1.109.1-10.588 8.095-22.689 19.189a281.4 281.4 0 0 0-29.95 32.782c0 .999 8.067 3.998 10.689 3.998M51.022 319.532c4.034 0 5.345-2.399 7.26-12.793 1.917-10.694 6.152-25.786 11.194-39.978 1.614-4.597 2.924-8.795 2.924-9.195 0-.499-1.411-2.498-3.126-4.497-1.714-1.899-3.53-3.498-4.033-3.498-2.118 0-10.084 29.283-13.614 49.972-2.924 17.59-3.025 19.989-.605 19.989m273.481 364.797 2.823 2.099c4.236 3.098 11.496 3.998 39.026 4.597 5.242.2 10.283.2 14.92.2h.005c18.958 0 32.471-1.099 37.412-3.198l3.428-1.399-.504 3.598c-.302 1.999-.807 3.998-1.008 4.197-.303.3-2.622.5-5.143.6l-20.37 1.299a238.5 238.5 0 0 1-49.917-1.499c-4.437-.699-9.983-1.399-12.403-1.399-6.252 0-8.269-1.399-8.269-5.597z",fill:"#fff"},null,-1),F=(0,a.Lk)("path",{d:"M526.485 62.175c-10.588-5.097-16.638-7.396-19.664-7.396-1.008 0-1.714.3-2.117.7-1.614 1.599-.404 3.198 3.126 4.398 2.017.6 12.907 5.596 24.202 10.993 11.193 5.397 20.672 9.895 21.176 9.895.404-.1-2.016-2.599-5.344-5.597a81.5 81.5 0 0 0-21.379-12.993m202.088 292.138.303 1.299a125 125 0 0 1-.303 28.484c-.302 0-.403-4.997-.403-14.991s.101-14.792.403-14.792m-43.058 140.722c0-1.899-.404-3.498-.908-3.498a80.7 80.7 0 0 0-8.067 13.592 386.5 386.5 0 0 1-43.463 64.864c-1.714 1.099-1.109 2.599 1.109 2.599 1.4.051 2.774.392 4.034.999.807.4 1.513.7 2.219.7 2.42 0 4.538-2.499 8.067-8.596l11.798-20.188c13.211-22.488 25.211-46.475 25.211-50.472m-8.366 35.68c.706 0 1.311.699 1.311 2.398 0 2.499-7.362 17.091-13.816 27.185q-.324.536-.633 1.042l-.477.784c-1.282 2.102-2.217 3.635-2.217 3.871 0 .3-1.614 2.998-3.53 5.997-2.42 3.598-4.235 5.497-5.546 5.497q-4.689 0 2.117-8.995c2.219-2.999 6.152-9.295 8.673-13.993l7.563-13.492a106 106 0 0 0 4.134-7.796c.706-1.699 1.715-2.598 2.421-2.598zm3.33 24.386c0-1.499-2.017-3.598-3.53-3.598-.605 0-1.613 1.199-2.218 2.698-2.118 4.798-12.404 20.689-14.521 22.488l-2.118 1.799 2.723 1.199c1.008.4 1.815.7 2.621.7.605 0 1.211-.2 1.715-.5a152.7 152.7 0 0 0 15.328-24.786m-97.618 86.552c1.412 0 2.319 1.1 3.327 3.398 2.219 5.197 2.017 7.796-1.21 11.094-7.26 7.596-61.614 36.48-68.37 36.48h-.303a35 35 0 0 1-10.285-8.396c0-.399 3.025-1.998 6.857-3.897a379 379 0 0 0 63.631-35.481c3.025-2.098 4.84-3.198 6.353-3.198m-255.033 66.766 12.303 1.499a663 663 0 0 0 74.118 1.199h1.311c2.017 0 2.319.5 2.521 2.799.403 4.497-2.924 9.095-7.261 9.994a360 360 0 0 1-44.471 1.999c-11.193-.4-28.739-1.999-31.966-2.998-2.219-.8-6.858-8.695-6.858-11.893 0-1.4.101-2.599.303-2.599",fill:"#fff"},null,-1),D=[_,W,F];function B(e,t){return(0,a.uX)(),(0,a.CE)("svg",I,D)}const P={},M=(0,C.A)(P,[["render",B]]),O=M;var R=[l.hS.sm,l.hS.rg,l.hS.md,l.hS.lg,l.hS.xxl],N=(0,f.A)((0,f.A)((0,f.A)({},l.yv.aeternity,S),l.yv.bitcoin,T.A),l.yv.ethereum,E.A),U=Object.assign(Object.assign({},N),{ct_xtk8rSz9suPb6D6VLquyfVji25FcnFRDjn3dnn5mmvHsPiESt:O});const X=(0,a.pM)({props:{asset:{type:Object,required:!0},iconSize:{type:String,default:l.hS.md,validator:function(e){return R.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return e.asset.protocol||l.yv.aeternity})),n=(0,a.EW)((function(){return e.asset.contractId||m.C.getAdapter(t.value).coinContractId})),r=(0,a.EW)((function(){return U[n.value]}));function o(e){return"".concat(g.d3).concat(e.contractId)}return{selectedIcon:r,getTokenPlaceholderUrl:o}}}),V=(0,C.A)(X,[["render",v],["__scopeId","data-v-9ac94844"]]),H=V,$=(0,a.pM)({components:{AssetIcon:H},props:{tokens:{type:Array,required:!0},symbolLength:{type:Number,default:11},doubleSymbolLength:{type:Number,default:5},protocol:{type:String,default:l.yv.aeternity},iconSize:{type:String,default:l.hS.sm},vertical:Boolean,noIcons:Boolean,fullSymbol:Boolean,bright:Boolean},setup:function(e){function t(){var t;if((null===(t=e.tokens)||void 0===t?void 0:t.length)<2)return e.symbolLength;var n=e.tokens.map((function(e){var t=e.symbol;return(null===t||void 0===t?void 0:t.length)||0})).find((function(t){return t{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(90033),o=n(53751),i={key:0,ref:"transactionFilterEl",class:"filter-wrapper"};function s(e,t,n,s,u,c){var l=(0,a.g2)("InputSearch"),d=(0,a.g2)("Filters");return e.showFilterBar?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-filter",{"without-search":e.hideSearch}]),style:(0,r.Tr)({maxHeight:e.openHeight})},[(0,a.bF)(o.eB,{name:"fade-transition",mode:"out-in"},{default:(0,a.k6)((function(){return[e.firstRender||e.openHeight?((0,a.uX)(),(0,a.CE)("div",i,[!e.hideSearch&&e.isActiveAccountAe?((0,a.uX)(),(0,a.Wv)(l,{key:0,modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),class:"input-search",placeholder:e.$t("pages.fungible-tokens.searchPlaceholder"),onFocusChange:e.handleFocus},null,8,["modelValue","placeholder","onFocusChange"])):(0,a.Q3)("",!0),e.hideFilterButton?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(d,{key:1,modelValue:e.displayMode,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.displayMode=t}),class:"filters",filters:e.isActiveAccountAe?e.filtersConfigAe:e.filtersConfig,"scroll-top-threshold":e.scrollTopThreshold},null,8,["modelValue","filters","scroll-top-threshold"]))],512)):(0,a.Q3)("",!0)]})),_:1})],6)):(0,a.Q3)("",!0)}var u=n(50953),c=n(75220),l=n(65563),d=n(84754),p=n(76801),v=n(9776);const f=(0,a.pM)({name:"TransactionAndTokenFilter",components:{Filters:v.A,InputSearch:p.A},props:{showFilters:Boolean},setup:function(e){var t=(0,c.lq)(),n=(0,d.QR)(),r=n.isSearchBarAndFilterExpanded,o=n.searchPhrase,i=n.displayMode,s=n.filtersConfig,p=n.filtersConfigAe,v=n.resetFilter,f=(0,d.kW)(),m=f.viewportElement,g=(0,d.oV)(),h=g.activeAccount,A=140,k=(0,u.KR)(0),y=(0,u.KR)(!0),b=(0,u.KR)(!1),w=(0,u.KR)(),C=(0,u.KR)(),x=(0,a.EW)((function(){return h.value.protocol===l.yv.aeternity})),L=(0,a.EW)((function(){return e.showFilters||b.value||r.value?"".concat(k.value,"px"):0})),S=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.showFilterBar)})),T=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideSearchBar)})),E=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideFilterButton)}));function I(e){b.value=e}function _(){C.value=new ResizeObserver((function(){var e,t=(null===(e=w.value)||void 0===e?void 0:e.clientHeight)||0;t&&t>0&&(k.value=t)}))}return(0,a.wB)(w,(function(e){var t,n;e?null===(t=C.value)||void 0===t||t.observe(e):null===(n=C.value)||void 0===n||n.disconnect()})),(0,a.wB)((function(){return o.value}),(function(){m.value&&m.value.scrollTop>A&&m.value.scrollTo({top:A,behavior:"smooth"})})),(0,a.sV)((function(){var e;S.value&&(k.value=null===(e=null===w||void 0===w?void 0:w.value)||void 0===e?void 0:e.clientHeight,y.value=!1,_())})),(0,a.hi)((function(){return v()})),{transactionFilterEl:w,searchPhrase:o,filtersConfig:s,filtersConfigAe:p,isActiveAccountAe:x,openHeight:L,hideSearch:T,showFilterBar:S,hideFilterButton:E,displayMode:i,firstRender:y,scrollTopThreshold:A,handleFocus:I}}});var m=n(66262);const g=(0,m.A)(f,[["render",s],["__scopeId","data-v-5de9a71a"]]),h=g},3260:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o={class:"amount"},i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("Tokens");return e.filteredAssets.length?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-asset-rows",{reversed:e.isReversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filteredAssets,(function(t){return(0,a.uX)(),(0,a.CE)("div",{key:t.symbol,class:(0,r.C4)(["row",{error:e.error,received:t.isReceived,"multiple-rows":e.multipleRows}]),style:(0,r.Tr)({"--font-size":e.calculateFontSize(t.amount)})},[(0,a.bF)(l,{tokens:t.isPool?e.filteredAssets:[t],"icon-size":e.iconSize,protocol:e.protocol,"full-symbol":"",bright:""},null,8,["tokens","icon-size","protocol"]),(0,a.Lk)("span",o,[(0,a.eW)((0,r.v_)(t.isReceived?"":"−")+" "+(0,r.v_)(e.amountFormatted({token:t,isRounded:e.isRounded}))+" ",1),(null===t||void 0===t?void 0:t.symbol)?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.truncateString(t.symbol,5))},null,8,i)):(0,a.Q3)("",!0)])],6)})),128))],2)):(0,a.Q3)("",!0)}n(76918),n(2008),n(25276),n(62062),n(23288),n(26099),n(38781);var u=n(65563),c=n(31189),l=n(70694);const d=(0,a.pM)({name:"TransactionAssetRows",components:{Tokens:l.A},props:{assets:{type:Array,default:null},iconSize:{type:String,default:"sm"},protocol:{type:String,required:!0},error:Boolean,isRounded:Boolean,isReversed:Boolean,multipleRows:Boolean},setup:function(e){var t=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.assets||[])||void 0===t?void 0:t.filter((function(e){var t=e.amount;return void 0!==t})))||void 0===n?void 0:n.map((function(e){return(0,c.Jk)(e)}))})),n=function(e){var t,n=e.token,a=e.isRounded;return!n.amount||a&&-1===(null===(t=n.amount)||void 0===t?void 0:t.toString().indexOf("e"))?n.amount:(0,c.k0)(n.amount)};return{TX_DIRECTION:u.NX,filteredAssets:t,truncateString:c.W5,amountFormatted:n,calculateFontSize:c.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-1bbadb59"]]),f=v},75518:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var a=n(20641),r=n(90033),o={class:"transaction-details-base"},i={key:0,class:"header"},s={key:1,class:"content"},u={class:"explorer"},c={class:"data-grid"},l={class:"text-address"},d={class:"text-address"},p={class:"span-3-columns"};function v(e,t,n,v,f,m){var g,h,A=(0,a.g2)("TransactionErrorStatus"),k=(0,a.g2)("TransactionOverview"),y=(0,a.g2)("LinkButton"),b=(0,a.g2)("DetailsItem"),w=(0,a.g2)("CopyText"),C=(0,a.g2)("PayloadDetails"),x=(0,a.g2)("AnimatedPending"),L=(0,a.g2)("TokenAmount");return(0,a.uX)(),(0,a.CE)("div",o,[e.showHeader||e.isErrorTransaction?((0,a.uX)(),(0,a.CE)("div",i,[e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(A,{key:0,"return-type":null===(h=null===(g=e.transaction)||void 0===g?void 0:g.tx)||void 0===h?void 0:h.returnType},null,8,["return-type"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"tokens",{},void 0,!0)])):(0,a.Q3)("",!0),e.transaction?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.bF)(k,{transaction:e.transaction},null,8,["transaction"]),(0,a.Lk)("div",u,[(0,a.bF)(y,{"is-external":"",to:e.explorerUrl,variant:"muted"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("pages.transactionDetails.explorer")),1)]})),_:1},8,["to"])]),(0,a.Lk)("div",c,[e.isErrorTransaction?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"swap-data",{key:0},void 0,!0),e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(b,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.transaction.tx["return"],class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"additional-content",{},void 0,!0),e.contractId&&e.isContract(e.contractId)?((0,a.uX)(),(0,a.Wv)(b,{key:2,label:e.$t("common.smartContract"),small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.contractId,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",l,(0,r.v_)(e.splitAddress(e.contractId)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.bF)(b,{label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",d,(0,r.v_)(e.splitAddress(e.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"]),(0,a.RG)(e.$slots,"multisig-content",{},void 0,!0),(0,a.bF)(C,{payload:e.payload},null,8,["payload"]),(0,a.Lk)("div",p,[e.transaction.pending?((0,a.uX)(),(0,a.Wv)(b,{key:0,label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},{value:(0,a.k6)((function(){return[(0,a.bF)(x,{class:"pending-icon"}),(0,a.eW)(" "+(0,r.v_)(e.$t("common.pending"))+"... ",1)]})),_:1},8,["label"])):e.transaction.microTime?((0,a.uX)(),(0,a.Wv)(b,{key:1,value:e.formatDate(e.transaction.microTime),secondary:e.formatTime(e.transaction.microTime),label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},null,8,["value","secondary","label"])):(0,a.Q3)("",!0),e.transaction.blockHeight&&e.transaction.blockHeight>0?((0,a.uX)(),(0,a.Wv)(b,{key:2,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight"),"data-cy":"block-height"},null,8,["value","label"])):(0,a.Q3)("",!0),e.transaction.tx.nonce?((0,a.uX)(),(0,a.Wv)(b,{key:3,value:e.transaction.tx.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,a.Q3)("",!0)]),e.amount?((0,a.uX)(),(0,a.Wv)(b,{key:3,label:e.$t("common.amount"),"data-cy":"amount"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amount,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"gas",{},void 0,!0),e.fee?((0,a.uX)(),(0,a.Wv)(b,{key:4,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.fee,symbol:e.coinSymbol,protocol:e.protocol,"high-precision":!!e.nonAeAssets},null,8,["amount","symbol","protocol","high-precision"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.hideAmountTotal?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(b,{key:5,label:e.$t("common.total"),"data-cy":"total"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amountTotal,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"]))])])):(0,a.Q3)("",!0)])}n(2892);var f=n(31189),m=n(32118),g=n(84754),h=n(58338),A=n(29351),k=n(39953),y=n(74494),b=n(47206),w=n(20789),C=n(37134),x={class:"transaction-reverted-status"},L={class:"status-wrapper"},S={class:"text-wrapper"},T={key:0,class:"revert-info"};function E(e,t,n,o,i,s){var u=(0,a.g2)("Revert"),c=(0,a.g2)("Failed");return(0,a.uX)(),(0,a.CE)("div",x,[(0,a.Lk)("div",L,[(0,a.Lk)("div",S,[s.isReverted?((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"icon"})):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"icon"})),(0,a.eW)(" "+(0,r.v_)(s.isReverted?e.$t("pages.transactionDetails.revert"):e.$t("pages.transactionDetails.failed")),1)])]),s.isReverted?((0,a.uX)(),(0,a.CE)("div",T,(0,r.v_)(e.$t("pages.transactionDetails.revertInfo")),1)):(0,a.Q3)("",!0)])}var I=n(36100),_=n(29592);const W={components:{Revert:I.A,Failed:_.A},props:{returnType:{type:String,default:""}},computed:{isReverted:function(){return"revert"===this.returnType}}};var F=n(66262);const D=(0,F.A)(W,[["render",E],["__scopeId","data-v-e674478a"]]),B=D;var P=n(87053);const M=(0,a.pM)({components:{PayloadDetails:C.A,TransactionErrorStatus:B,TransactionOverview:A.A,TokenAmount:k.A,DetailsItem:y.A,LinkButton:b.A,CopyText:w.A,AnimatedPending:P.A},props:{transaction:{type:Object,default:null},amount:{type:Number,default:0},amountTotal:{type:Number,default:0},fee:{type:Number,default:0},payload:{type:String,default:""},hash:{type:String,required:!0},nonAeAssets:{type:Array,default:null},protocol:{type:String,required:!0},isErrorTransaction:Boolean,showHeader:Boolean,hideAmountTotal:Boolean,hideFiat:Boolean},setup:function(e){var t=m.C.getAdapter(e.protocol),n=t.coinSymbol,r=(0,g.Y7)(),o=r.getTxAssetSymbol,i=(0,a.EW)((function(){var n;return t.getExplorer().prepareUrlForHash((null===(n=null===e||void 0===e?void 0:e.transaction)||void 0===n?void 0:n.hash)||"")})),s=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.transaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.contractId})),u=(0,a.EW)((function(){return o(e.transaction)}));return{formatDate:f.Yq,formatTime:f.fU,splitAddress:f.lS,isContract:h.bK,assetSymbol:u,coinSymbol:n,contractId:s,explorerUrl:i}}}),O=(0,F.A)(M,[["render",v],["__scopeId","data-v-173f98fe"]]),R=O},18665:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r={class:"token-info"};function o(e,t,n,o,i,s){var u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("Tokens"),l=(0,a.g2)("AddressTruncated"),d=(0,a.g2)("DetailsItem");return(0,a.uX)(),(0,a.Wv)(d,{label:e.label,class:"pool-token-row"},{value:(0,a.k6)((function(){return[(0,a.Lk)("div",null,[e.hideAmount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,amount:e.amount,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","hide-symbol":""},null,8,["amount","protocol"])),(0,a.Lk)("div",r,[e.token?((0,a.uX)(),(0,a.Wv)(c,{key:0,tokens:e.assetsMapped},null,8,["tokens"])):(0,a.Q3)("",!0),!e.token.contractId||e.token.isWrappedCoin||e.isAssetCoin(e.token.contractId)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(l,{key:1,"show-explorer-link":"",address:e.token.contractId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))])])]})),_:1},8,["label"])}n(62062);var i=n(31189),s=n(65563),u=n(74494),c=n(39953),l=n(70694),d=n(28192);const p=(0,a.pM)({components:{AddressTruncated:d.A,TokenAmount:c.A,DetailsItem:u.A,Tokens:l.A},props:{label:{type:String,default:""},token:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean},setup:function(e){var t=(0,a.EW)((function(){return+(e.token.decimals?(0,i.Y9)(e.token.amount,-e.token.decimals):e.token.amount)})),n=(0,a.EW)((function(){return(e.token.isPool?e.tokens:[e.token]).map((function(e){return(0,i.Jk)(e)}))}));return{isAssetCoin:i.go,PROTOCOLS:s.yv,amount:t,assetsMapped:n}}});var v=n(66262);const f=(0,v.A)(p,[["render",o],["__scopeId","data-v-47a7c49c"]]),m=f},8783:(e,t,n)=>{"use strict";n.d(t,{A:()=>pe});n(62010);var a=n(20641),r=function(e){return(0,a.Qi)("data-v-a033de50"),e=e(),(0,a.jt)(),e},o={class:"transaction-info"},i={class:"parties"},s={class:"mid"},u=r((function(){return(0,a.Lk)("div",{class:"line"},null,-1)})),c={key:2,class:"custom-avatar"},l={class:"details"};function d(e,t,n,r,d,p){var v=(0,a.g2)("TransactionTagList"),f=(0,a.g2)("Avatar"),m=(0,a.g2)("TriangleRight"),g=(0,a.g2)("AensIcon"),h=(0,a.g2)("SHLogo"),A=(0,a.g2)("ActionIcon"),k=(0,a.g2)("TransactionInfoDetailsParty");return(0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(v,(0,a.v6)(e.$attrs,{transaction:e.transaction}),null,16,["transaction"]),(0,a.Lk)("div",i,[e.sender.address?((0,a.uX)(),(0,a.Wv)(f,{key:0,name:e.sender.name,address:e.sender.address,size:"lg"},null,8,["name","address"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.bF)(m,{class:"triangle"}),u]),e.recipient.address?((0,a.uX)(),(0,a.Wv)(f,{key:1,address:e.recipient.address,name:e.recipient.name,size:"lg"},null,8,["address","name"])):((0,a.uX)(),(0,a.CE)("div",c,[e.recipient.aens?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"icon"})):(0,a.Q3)("",!0),e.recipient.wallet?((0,a.uX)(),(0,a.Wv)(h,{key:1,class:"icon logo"})):((0,a.uX)(),(0,a.Wv)(A,{key:2,class:"icon"}))]))]),(0,a.Lk)("div",l,[(0,a.bF)(k,{"tx-party":e.sender,"data-cy":"sender"},null,8,["tx-party"]),(0,a.bF)(k,{"tx-party":e.recipient,"data-cy":"recipient","is-recipient":""},null,8,["tx-party"])])])}var p={viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},v=(0,a.Lk)("path",{d:"M1.75 2.00481L13 8.5L1.75 14.9952L1.75 2.00481Z",fill:"#141414",stroke:"currentColor","stroke-width":"2"},null,-1),f=[v];function m(e,t){return(0,a.uX)(),(0,a.CE)("svg",p,f)}var g=n(66262);const h={},A=(0,g.A)(h,[["render",m]]),k=A;var y={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},b=(0,a.Lk)("path",{d:"M24 30.036C24 30.2506 24.0691 30.4595 24.197 30.6318C24.3248 30.8042 24.5048 30.9308 24.7102 30.993C24.9156 31.0552 25.1356 31.0496 25.3376 30.9772C25.5396 30.9047 25.7129 30.7692 25.832 30.5907L33.6306 18.8933C33.731 18.7427 33.7887 18.5677 33.7974 18.3869C33.8061 18.2062 33.7656 18.0264 33.6802 17.8668C33.5948 17.7072 33.4677 17.5738 33.3125 17.4808C33.1572 17.3878 32.9796 17.3387 32.7986 17.3387H26.6653V9.96934C26.6649 9.7551 26.5956 9.54668 26.4678 9.37476C26.34 9.20284 26.1603 9.07652 25.9553 9.0144C25.7502 8.95228 25.5307 8.95764 25.3289 9.0297C25.1272 9.10177 24.9539 9.23671 24.8346 9.41467L17.036 21.112C16.9356 21.2626 16.8779 21.4376 16.8692 21.6184C16.8605 21.7992 16.901 21.9789 16.9864 22.1385C17.0718 22.2981 17.1989 22.4315 17.3541 22.5245C17.5094 22.6175 17.687 22.6667 17.868 22.6667H24.0013L24 30.036Z",fill:"currentColor"},null,-1),w=(0,a.Lk)("path",{opacity:"0.44",d:"M9.99998 30.6667C9.46955 30.6667 8.96084 30.456 8.58577 30.081C8.21069 29.7059 7.99998 29.1972 7.99998 28.6667C7.99998 28.1363 8.21069 27.6276 8.58577 27.2525C8.96084 26.8775 9.46955 26.6667 9.99998 26.6667H16.6666C17.1971 26.6667 17.7058 26.8775 18.0809 27.2525C18.4559 27.6276 18.6666 28.1363 18.6666 28.6667C18.6666 29.1972 18.4559 29.7059 18.0809 30.081C17.7058 30.456 17.1971 30.6667 16.6666 30.6667H9.99998ZM7.33331 22.6667C6.80288 22.6667 6.29417 22.456 5.9191 22.081C5.54403 21.7059 5.33331 21.1972 5.33331 20.6667C5.33331 20.1363 5.54403 19.6276 5.9191 19.2525C6.29417 18.8775 6.80288 18.6667 7.33331 18.6667H12.6666C13.1971 18.6667 13.7058 18.8775 14.0809 19.2525C14.4559 19.6276 14.6666 20.1363 14.6666 20.6667C14.6666 21.1972 14.4559 21.7059 14.0809 22.081C13.7058 22.456 13.1971 22.6667 12.6666 22.6667H7.33331ZM9.99998 14.6667C9.46955 14.6667 8.96084 14.456 8.58577 14.081C8.21069 13.7059 7.99998 13.1972 7.99998 12.6667C7.99998 12.1363 8.21069 11.6276 8.58577 11.2525C8.96084 10.8775 9.46955 10.6667 9.99998 10.6667H16.6666C17.1971 10.6667 17.7058 10.8775 18.0809 11.2525C18.4559 11.6276 18.6666 12.1363 18.6666 12.6667C18.6666 13.1972 18.4559 13.7059 18.0809 14.081C17.7058 14.456 17.1971 14.6667 16.6666 14.6667H9.99998Z",fill:"currentColor"},null,-1),C=[b,w];function x(e,t){return(0,a.uX)(),(0,a.CE)("svg",y,C)}const L={},S=(0,g.A)(L,[["render",x]]),T=S;var E={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},I=(0,a.Lk)("path",{d:"M25 33.3253H9.00001C8.64667 33.3253 8.30667 33.1853 8.05734 32.9347C7.80667 32.6855 7.66667 32.3456 7.66667 31.9924V7.99967C7.66667 7.64645 7.80667 7.30655 8.05734 7.0573C8.30667 6.80671 8.64667 6.66675 9.00001 6.66675H25C26.0613 6.66675 27.0787 7.08795 27.828 7.83839C28.5787 8.5875 29 9.60452 29 10.6655V29.3265C29 30.3875 28.5787 31.4045 27.828 32.1536C27.0787 32.9041 26.0613 33.3253 25 33.3253ZM18.3213 19.996C17.4853 19.9294 16.6453 20.0347 15.8507 20.3039C15.056 20.5732 14.3253 21.0024 13.7027 21.5635C13.08 22.1247 12.5787 22.8072 12.228 23.5696C11.8787 24.3307 11.6867 25.1558 11.6667 25.9942C11.6947 26.1781 11.7827 26.3474 11.9187 26.4754C11.988 26.5687 12.0867 26.634 12.2 26.6606H24.436C24.5093 26.6646 24.5827 26.654 24.652 26.6273C24.7213 26.602 24.784 26.562 24.836 26.5114C24.956 26.3674 25.016 26.1821 25 25.9942C24.8013 22.294 22.2427 19.996 18.3213 19.996ZM18.3333 13.3314C17.8053 13.3314 17.2907 13.4873 16.852 13.7806C16.4133 14.0738 16.072 14.4897 15.8693 14.9775C15.668 15.4641 15.6147 15.9999 15.7173 16.5171C15.82 17.0343 16.0747 17.5088 16.4467 17.882C16.82 18.2552 17.2947 18.5085 17.812 18.6111C18.3307 18.7151 18.8667 18.6618 19.3533 18.4605C19.84 18.2592 20.2573 17.9166 20.5507 17.4781C20.844 17.0396 21 16.5251 21 15.9972C21 15.2908 20.7187 14.6123 20.2187 14.1125C19.7187 13.6126 19.04 13.3314 18.3333 13.3314Z",fill:"currentColor"},null,-1),_=(0,a.Lk)("path",{opacity:"0.44",d:"M31.3211 7.83875C30.6727 7.08808 29.794 6.66675 28.8785 6.66675L25.6978 6.66941L26.5753 6.91208C27.0555 7.10941 27.5 7.41475 27.8662 7.83875C28.5146 8.58941 28.8785 9.60675 28.8785 10.6667V29.3334C28.8785 30.3947 28.5146 31.4121 27.8662 32.1614C27.5 32.5854 27.0544 32.8907 26.5753 33.0881L25.6667 33.3121L28.8785 33.3334C29.7952 33.3334 30.6739 32.9121 31.3211 32.1614C31.9683 31.4107 32.3333 30.3934 32.3333 29.3334V10.6667C32.3333 9.60541 31.9694 8.58808 31.3211 7.83875Z",fill:"currentColor"},null,-1),W=[I,_];function F(e,t){return(0,a.uX)(),(0,a.CE)("svg",E,W)}const D={},B=(0,g.A)(D,[["render",F]]),P=B;var M=n(87398),O=n(59480),R=n(90033),N={key:1,class:"wallet"};function U(e,t,n,r,o,i){var s=(0,a.g2)("Truncate"),u=(0,a.g2)("LinkButton"),c=(0,a.g2)("AddressFormatted"),l=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-info-details-party",{recipient:e.isRecipient}])},[e.txParty.url||!e.isRecipient?((0,a.uX)(),(0,a.Wv)(u,{key:0,to:e.txParty.url,class:"name"},{default:(0,a.k6)((function(){return[(0,a.bF)(s,{right:e.isRecipient,str:e.txParty.name||e.txParty.label||e.$t("common.fellowSuperhero")},null,8,["right","str"])]})),_:1},8,["to"])):e.txParty.wallet?((0,a.uX)(),(0,a.CE)("span",N,(0,R.v_)(e.$t("common.title")),1)):((0,a.uX)(),(0,a.CE)("span",{key:2,class:(0,R.C4)(["name",{aens:e.txParty.aens}])},(0,R.v_)(e.txParty.label||e.$t("transaction.overview.accountAddress")),3)),e.txParty.address?((0,a.uX)(),(0,a.Wv)(l,{key:3,"hide-icon":"",value:e.txParty.address},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{address:e.txParty.address,"column-count":5,"align-right":e.isRecipient,class:"text-address","data-cy":"address"},null,8,["address","align-right"])]})),_:1},8,["value"])):(0,a.Q3)("",!0)],2)}var X=n(20789),V=n(39893),H=n(74295),$=n(47206);const j=(0,a.pM)({components:{AddressFormatted:H.A,CopyText:X.A,LinkButton:$.A,Truncate:V.A},props:{isRecipient:Boolean,txParty:{type:Object,required:!0}}}),K=(0,g.A)(j,[["render",U],["__scopeId","data-v-06588384"]]),q=K;function G(e,t,n,r,o,i){var s=(0,a.g2)("TransactionTag");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-tag-list",{dense:e.dense}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.labels,(function(e){return(0,a.uX)(),(0,a.Wv)(s,{key:e,"tx-type":e,class:"title-tag","data-cy":"label"},null,8,["tx-type"])})),128))],2)}n(2008),n(74423),n(44114),n(26099),n(21699);var Q=n(46992),Z=n(91087),Y=n(84754),z=n(31189),J=n(65563),ee=n(59755),te=n(58338),ne={class:"transaction-tag"};function ae(e,t,n,r,o,i){return(0,a.uX)(),(0,a.CE)("div",ne,(0,R.v_)(n.txType),1)}const re={props:{txType:{type:String,required:!0}}},oe=(0,g.A)(re,[["render",ae],["__scopeId","data-v-156e7b98"]]),ie=oe,se=(0,a.pM)({components:{TransactionTag:ie},props:{customTitle:{type:String,default:null},transaction:{type:Object,default:null},additionalTag:{type:String,default:null},dense:Boolean},setup:function(e){var t,n=(0,Q.s9)(),r=n.t,o=(0,Y.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),i=o.direction,s=o.innerTx,u=o.innerTxTag,c=o.outerTxTag,l=o.txTypeLabel,d=o.txFunctionLabel,p=o.isDex,v=o.isDexAllowance,f=(0,Y.kz)(),m=f.tippingContractAddresses,g=(0,Y.Y7)(),h=g.getProtocolAvailableTokens,A=(0,a.EW)((function(){var t,n,a,o;if(e.customTitle)return[e.customTitle];if(!(null===(t=e.transaction)||void 0===t?void 0:t.tx)||e.transaction.pending||c.value===Z.vw.NameTransferTx)return[];var f=m.value,g=f.tippingV1,A=f.tippingV2,k=[];return e.additionalTag&&k.push(e.additionalTag),c.value===Z.vw.GaMetaTx?k.push(r("transaction.type.gaMetaTx")):c.value===Z.vw.PayingForTx&&k.push(r("transaction.type.payingForTx")),ee.VA.has(c.value)?k.push(J.um,l.value):u.value===Z.vw.GaMetaTx?k.push(r("transaction.type.contractCallTx"),r("transaction.type.multisigProposal")):u.value===Z.vw.SpendTx?k.push(r("transaction.type.spendTx"),i.value===J.NX.received?r("transaction.spendType.in"):r("transaction.spendType.out")):v.value?k.push(r("transaction.dexType.allowToken")):p.value?k.push(J.Iu,(0,te.wX)(s.value["function"])?r("transaction.dexType.pool"):r("common.swap")):e.transaction.claim||[g,A].includes(null===(n=s.value)||void 0===n?void 0:n.contractId)&&s.value["function"]===ee.vG.claim?k.push(r("pages.token-details.tip"),r("transaction.spendType.in")):(null===(a=s.value)||void 0===a?void 0:a.contractId)&&[g,A].includes(s.value.contractId)&&(0,z.mK)([ee.vG.tip,ee.vG.retip],s.value["function"])?k.push(r("pages.token-details.tip"),r("transaction.spendType.out")):c.value===Z.vw.PayingForTx&&u.value===Z.vw.GaAttachTx?k.push(r("transaction.type.createMultisigVault")):c.value===Z.vw.ContractCallTx&&h(J.yv.aeternity)[null===(o=s.value)||void 0===o?void 0:o.contractId]&&(s.value["function"]===ee.vG.transfer||e.transaction.incomplete)?k.push(r("transaction.type.spendTx"),s.value.callerId!==e.transaction.transactionOwner&&e.transaction.transactionOwner?r("transaction.spendType.in"):r("transaction.spendType.out")):e.transaction.tx["function"]?k.push(d.value,l.value):l.value!==(null===k||void 0===k?void 0:k[0])&&k.push(l.value),k.filter(z.__)}));return{labels:A}}}),ue=(0,g.A)(se,[["render",G],["__scopeId","data-v-abaedd20"]]),ce=ue,le=(0,a.pM)({name:"TransactionInfo",components:{TransactionTagList:ce,TransactionInfoDetailsParty:q,TriangleRight:k,ActionIcon:T,AensIcon:P,Avatar:O.A,SHLogo:M.A},props:{transaction:{type:Object,default:null},sender:{type:Object,required:!0},recipient:{type:Object,required:!0}}}),de=(0,g.A)(le,[["render",d],["__scopeId","data-v-a033de50"]]),pe=de},29351:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("TransactionInfo");return(0,a.uX)(),(0,a.Wv)(s,{class:"transaction-overview",title:e.preparedTransaction.title,sender:e.preparedTransaction.sender,recipient:e.preparedTransaction.recipient,"transaction-function":e.preparedTransaction["function"],transaction:e.transaction,"additional-tag":e.additionalTag},null,8,["title","sender","recipient","transaction-function","transaction","additional-tag"])}var o=n(2327),i=(n(16280),n(76918),n(62010),n(26099),n(11392),n(91087)),s=n(50953),u=n(46992),c=n(66176),l=n(65563),d=n(32118),p=n(84754),v=n(59755),f=n(41549),m=n(49012),g=n(8783),h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const A=(0,a.pM)({components:{TransactionInfo:g.A},props:{transaction:{type:Object,required:!0},additionalTag:{type:String,default:null}},setup:function(e){var t,n=this,r=(0,u.s9)(),g=r.t,A=r.tm,k=(0,p.CP)(),y=k.getAeSdk,b=(0,m.q)(),w=b.getName,C=(0,f.ef)(),x=C.getMiddleware,L=(0,s.KR)(""),S=(0,s.KR)({}),T=d.C.getAdapter(e.transaction.protocol||l.yv.aeternity),E=T.getExplorer(),I=(0,p.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),_=I.isDex,W=I.outerTxTag,F=I.innerTxTag,D=I.direction,B=I.getOwnershipAddress,P=I.innerTx;function M(e){return{address:e,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(e)}}var O=(0,a.EW)((function(){var t,n=A("transaction.type"),a=P.value,r=a.senderId,o=a.recipientId,s=a.contractId,u=a.callerId;switch(W.value){case i.vw.SpendTx:return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};case i.vw.ContractCallTx:var c,d={address:s,url:E.prepareUrlForHash(s),label:_.value?g("transaction.overview.superheroDex"):g("common.smartContract")},p=d;if(e.transaction.transactionOwner&&(c=M(e.transaction.transactionOwner)),P.value["function"]===v.vG.transfer){var f=o||(null===(t=P.value.arguments)||void 0===t?void 0:t[0].value);p=M(D.value===l.NX.received?u:f)}return{sender:D.value===l.NX.sent?S.value:p,recipient:D.value===l.NX.received?null!==c&&void 0!==c?c:S.value:d,title:g("transaction.type.contractCallTx"),function:P.value["function"]};case i.vw.ContractCreateTx:return{sender:S.value,recipient:{label:g("transaction.overview.contractCreate")},title:g("transaction.type.contractCreateTx")};case i.vw.NamePreclaimTx:case i.vw.NameClaimTx:case i.vw.NameUpdateTx:return{sender:S.value,recipient:{label:g("transaction.overview.aens")},title:W.value?n[W.value]:void 0};case i.vw.PayingForTx:return{sender:{address:P.value.ownerId,name:w(P.value.ownerId).value,url:E.prepareUrlForAccount(P.value.ownerId),label:g("multisig.multisigVault")},recipient:{label:g("common.smartContract"),address:P.value.contractId}};case i.vw.GaMetaTx:if(F.value===i.vw.SpendTx)return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};default:throw new Error("Unsupported transaction type ".concat(W.value))}}));function R(){var e;return h(this,void 0,void 0,(0,o.A)().mark((function t(){var n,a,r,i,s,u;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=P.value.callData||P.value.call_data,P.value.contractId&&n){t.next=3;break}return t.abrupt("return",void 0);case 3:return t.next=5,y();case 5:return a=t.sent,t.next=8,a.getContractByteCode(P.value.contractId);case 8:if(r=t.sent,i=r.bytecode,s=new c.BytecodeContractCallEncoder(i),u=s.decodeCall(n),u){t.next=14;break}return t.abrupt("return",void 0);case 14:return t.abrupt("return",null===(e=u.args)||void 0===e?void 0:e[0]);case 15:case"end":return t.stop()}}),t)})))}return(0,a.sV)((function(){return h(n,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(n=e.sent,!(null===(t=P.value.recipientId)||void 0===t?void 0:t.startsWith("nm_"))){e.next=7;break}return e.next=6,n.getName(P.value.recipientId);case 6:L.value=e.sent.name;case 7:if(P.value["function"]!==v.vG.claim){e.next=11;break}return e.next=10,R();case 10:a=e.sent;case 11:r=B(a),S.value={address:r,name:w(r).value,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(r)};case 13:case"end":return e.stop()}}),e)})))})),{preparedTransaction:O}}});var k=n(66262);const y=(0,k.A)(A,[["render",r]]),b=y},40477:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("InputAmount"),c=(0,a.g2)("Field");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["transfer-send-amount",{"without-margin":e.withoutMargin}])},[(0,a.bF)(c,{ref:"amountField",name:"amount","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,min_value_exclusive:0,does_not_exceed_decimals:e.assetDecimals},e.validationRules)},{default:(0,a.k6)((function(n){var r=n.field;return[(0,a.bF)(u,(0,a.v6)(r,{"model-value":e.modelValue,name:"amount","data-cy":"amount",class:"amount-input","show-tokens-with-balance":"",label:e.customLabel||e.$t("common.amount"),message:e.amountMessage,protocol:e.protocol,readonly:e.readonly,"selected-asset":e.selectedAsset,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)}),onAssetSelected:t[1]||(t[1]=function(t){return e.$emit("asset-selected",t)})}),{"label-after":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"label-after",{},void 0,!0)]})),_:2},1040,["model-value","label","message","protocol","readonly","selected-asset"])]})),_:3},8,["model-value","validate-on-mount","rules"])],2)}var i=n(15261),s=n(31189),u=n(32118),c=n(99366);const l=(0,a.pM)({components:{InputAmount:c.A,Field:i.D0},props:{modelValue:{type:String,default:""},validationRules:{type:Object,default:function(){}},selectedAsset:{type:Object,default:function(){}},errors:{type:Object,required:!0},customLabel:{type:String,default:""},readonly:Boolean,withoutMargin:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e){var t=(0,a.EW)((function(){return(0,s.sY)(e.errors.amount)})),n=(0,a.EW)((function(){var t,n;return null!==(n=null===(t=e.selectedAsset)||void 0===t?void 0:t.decimals)&&void 0!==n?n:u.C.getAdapter(e.protocol).coinPrecision}));return{assetDecimals:n,amountMessage:t}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-cdda66bc"]]),v=p},39893:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});n(94298);var a=n(20641),r=n(90033),o=["textContent"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["truncate",{right:e.right}])},[(0,a.Lk)("span",{ref:"container",class:(0,r.C4)(["container",{fixed:e.fixed,scrollable:e.shouldScroll}]),style:(0,r.Tr)({"--animationTranslate":e.animationTranslate,"--animationDuration":e.animationDuration})},[(0,a.Lk)("span",{ref:"scroll",class:"inner"},(0,r.v_)(e.nameComponent),513)],6),e.nameComponent!==e.str?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"domain",textContent:(0,r.v_)(e.AE_AENS_DOMAIN)},null,8,o)):(0,a.Q3)("",!0)],2)}var s=n(2327),u=(n(25440),n(26099),n(27495),n(99449),n(76031),n(50953)),c=n(59755),l=n(63366),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const p=(0,a.pM)({props:{str:{type:String,required:!0},fixed:Boolean,right:Boolean},setup:function(e){var t,n=this,r=(0,u.KR)(),o=(0,u.KR)(),i=(0,u.KR)(!1),p=(0,u.KR)(),v=(0,u.KR)(),f=(0,a.EW)((function(){var t;return(null===(t=e.str)||void 0===t?void 0:t.endsWith(c.CT))?e.str.replace(c.CT,""):e.str})),m=function(){return d(n,void 0,void 0,(0,s.A)().mark((function t(){var n,u,c,l,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i.value=!1,t.next=3,(0,a.dY)();case 3:!e.fixed&&o.value&&(null===(n=r.value)||void 0===n?void 0:n.clientWidth)&&(u=r.value.clientWidth,c=o.value.clientWidth,l=c-u,d=2,c>u&&(p.value="-".concat(l+d,"px"),v.value="".concat(200*(l+d),"ms"),i.value=!0));case 4:case"end":return t.stop()}}),t)})))};function g(){t=new ResizeObserver((0,l.A)((function(){m()}),100)),t.observe(r.value)}return(0,a.wB)(f,m),(0,a.sV)((function(){g(),setTimeout((function(){m()}),500)})),(0,a.xo)((function(){r.value&&t&&t.disconnect()})),{AE_AENS_DOMAIN:c.CT,container:r,scroll:o,shouldScroll:i,nameComponent:f,animationTranslate:p,animationDuration:v}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-72e5b080"]]),m=f},5335:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"title"};function i(e,t,n,i,s,u){var c=(0,a.g2)("QuestionCircleIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("Default");return e.statusData?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["url-status",e.status])},[(0,a.Lk)("span",o,(0,r.v_)(e.statusData.title),1),(0,a.bF)(l,{class:(0,r.C4)(["icon-link",e.status]),onClick:t[0]||(t[0]=function(t){return e.showModal()})},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"icon"})]})),_:1},8,["class"])],2)):((0,a.uX)(),(0,a.Wv)(d,{key:1}))}n(16280),n(76918),n(74423);var s=n(46992),u=n(65563),c=n(84754),l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",class:"icon"},d=(0,a.Lk)("path",{id:"Path_443","data-name":"Path 443",d:"M55,46a9,9,0,1,0,9,9A9.01,9.01,0,0,0,55,46Zm7.3,12.6H59.487a15.842,15.842,0,0,0,.395-3.171h3.25A8.085,8.085,0,0,1,62.3,58.6ZM46.868,55.429H50.12a15.774,15.774,0,0,0,.393,3.171H47.7A8.083,8.083,0,0,1,46.868,55.429Zm.669-3.686h2.9a15.975,15.975,0,0,0-.318,2.829H46.868A8.083,8.083,0,0,1,47.538,51.743Zm7.891-.857v-3.98a3.882,3.882,0,0,1,2.343,2.232,9.9,9.9,0,0,1,.695,1.749Zm3.258.857a15,15,0,0,1,.336,2.829H55.429V51.743Zm-4.115-4.837v3.98H51.534a9.9,9.9,0,0,1,.695-1.749A3.884,3.884,0,0,1,54.571,46.905Zm0,4.837v2.829H50.977a14.994,14.994,0,0,1,.336-2.829Zm-3.594,3.686h3.594V58.6H51.394A14.764,14.764,0,0,1,50.977,55.429Zm3.594,4.029v3.638a3.882,3.882,0,0,1-2.343-2.232,9.589,9.589,0,0,1-.587-1.406Zm.857,3.637V59.457h2.93a9.594,9.594,0,0,1-.587,1.406A3.884,3.884,0,0,1,55.429,63.095Zm0-4.495V55.429h3.594a14.765,14.765,0,0,1-.416,3.171Zm4.453-4.029a16.031,16.031,0,0,0-.319-2.829h2.9a8.083,8.083,0,0,1,.669,2.829Zm2.143-3.686H59.357a9.031,9.031,0,0,0-1.837-3.629A8.183,8.183,0,0,1,62.024,50.886Zm-9.544-3.629a9.036,9.036,0,0,0-1.837,3.629H47.976a8.183,8.183,0,0,1,4.505-3.629Zm-4.292,12.2h2.554a8.726,8.726,0,0,0,1.738,3.286A8.181,8.181,0,0,1,48.189,59.457Zm9.331,3.286a8.724,8.724,0,0,0,1.738-3.286h2.554A8.181,8.181,0,0,1,57.519,62.743Z",transform:"translate(-46 -46)",fill:"#bcbcc4"},null,-1),p=[d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",l,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(1100),k=n(24528);const y=(0,a.pM)({components:{Default:h,QuestionCircleIcon:A.A,BtnPlain:k.A},props:{status:{type:String,required:!0,validator:function(e){return["verified","blacklisted","not-secure","not-verified","default"].includes(e)}}},setup:function(e){var t=(0,s.s9)(),n=t.t,r=(0,c.U8)(),o=r.openModal,i=(0,a.EW)((function(){switch(e.status){case"verified":return{icon:"success",title:n("modals.verified.title"),msg:n("modals.verified.msg")};case"blacklisted":return{icon:"alert",title:n("modals.blacklisted.title"),msg:n("modals.blacklisted.msg")};case"not-secure":return{icon:"not-secure",title:n("modals.not-secure.title"),msg:n("modals.not-secure.msg")};case"not-verified":return{icon:"warning",title:n("modals.not-verified.title"),msg:n("modals.not-verified.msg")};case"default":return null;default:throw new Error("Unknown url status: ".concat(e.status))}}));function l(){var e,t,n;o(u.rM,{title:null===(e=i.value)||void 0===e?void 0:e.title,msg:null===(t=i.value)||void 0===t?void 0:t.msg,icon:null===(n=i.value)||void 0===n?void 0:n.icon})}return{statusData:i,showModal:l}}}),b=(0,f.A)(y,[["render",i],["__scopeId","data-v-7e3c0162"]]),w=b},34264:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>c,Ay:()=>v});var a=n(20641);function r(e,t,n,r,o,i){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(e.component),(0,a.v6)(e.$attrs,{to:e.to,href:e.href,target:e.href?"_blank":null,"aria-disabled":e.disabled?"true":null,style:e.bgColorStyle,type:e.submit?"submit":null,class:[["variant-".concat(e.variant),{disabled:e.disabled,hollow:e.hollow,outlined:e.outlined,selected:e.selected}],"btn-base"],onClick:e.onClick}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["to","href","target","aria-disabled","style","type","class","onClick"])}var o=n(2327),i=(n(74423),n(26099),n(65563)),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=["primary","secondary","muted","danger","purple","dark"],c={to:{type:Object,default:null},href:{type:String,default:null},variant:{type:String,validator:function(e){return u.includes(e)},default:u[0]},bgColor:{type:String,default:null},submit:Boolean,disabled:Boolean,hollow:Boolean,outlined:Boolean,selected:Boolean};const l=(0,a.pM)({props:c,setup:function(e){var t=(0,a.EW)((function(){switch(!0){case!!e.to:return"RouterLink";case!!e.href:return"a";default:return"button"}}));function n(t){return s(this,void 0,void 0,(0,o.A)().mark((function n(){return(0,o.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:i.I$&&e.href&&(t.preventDefault(),window.open(e.href,"_system"));case 1:case"end":return n.stop()}}),n)})))}var r=(0,a.EW)((function(){return e.bgColor?{"--bg-color":e.bgColor}:null}));return{IS_MOBILE_APP:i.I$,onClick:n,component:t,bgColorStyle:r}}});var d=n(66262);const p=(0,d.A)(l,[["render",r],["__scopeId","data-v-5a60e3f7"]]),v=p},28645:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("IconWrapper"),d=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(d,(0,a.v6)(e.$attrs,{class:["btn-box",{disabled:n.disabled,"is-big":n.isBig}],variant:"dark",disabled:n.disabled}),{default:(0,a.k6)((function(){return[n.icon?((0,a.uX)(),(0,a.Wv)(l,{key:0,class:"icon",icon:n.icon,"is-boxed":n.isBig},null,8,["icon","is-boxed"])):(0,a.Q3)("",!0),n.text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"text",textContent:(0,r.v_)(n.text)},null,8,o)):(0,a.Q3)("",!0),n.isBig&&n.subtitle?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"subtitle",textContent:(0,r.v_)(n.subtitle)},null,8,i)):(0,a.Q3)("",!0)]})),_:1},16,["disabled","class"])}var u=n(58411),c=n(34264);const l={components:{BtnBase:c.Ay,IconWrapper:u.Ay},props:{text:{type:String,default:null},subtitle:{type:String,default:null},icon:{type:Object,default:null},disabled:Boolean,isBig:Boolean}};var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-aded6086"]]),v=p},86295:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnIcon");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)({class:"btn-close"},e.$attrs,{icon:r.CloseIcon}),null,16,["icon"])}var o=n(33100),i=n(5684);const s={name:"BtnClose",components:{BtnIcon:o.A},setup:function(){return{CloseIcon:i.A}}};var u=n(66262);const c=(0,u.A)(s,[["render",r]]),l=c},31157:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});n(89195);var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("QuestionCircle"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["btn-help",{small:e.small}]),onClick:e.showHelpModal},{default:(0,a.k6)((function(){return[(0,a.bF)(u,{class:"icon"})]})),_:1},8,["class","onClick"])}var i=n(84754),s=n(65563),u=n(24528),c=n(1100);const l=(0,a.pM)({components:{BtnPlain:u.A,QuestionCircle:c.A},props:{title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},option:{type:Object,default:null},small:Boolean},setup:function(e,t){var n=t.emit,a=(0,i.U8)(),r=a.openModal;function o(){n("help"),(e.title.length||e.msg.length)&&r(s.c9,{icon:e.icon||"info",title:e.title,msg:e.msg,option:e.option,textCenter:!0})}return{showHelpModal:o}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-2658afd8"]]),v=p},33100:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("Badge"),u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-icon",["size-".concat(n.size),"icon-variant-".concat(n.iconVariant),{dimmed:n.dimmed}]],variant:"muted",hollow:""}),{default:(0,a.k6)((function(){return[(0,a.bF)(s,{class:"badge",text:n.badgeText},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[n.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(n.icon),{key:0,class:"icon"})):(0,a.Q3)("",!0)]}))]})),_:3},8,["text"])]})),_:3},16,["class"])}n(74423),n(2892);var o=n(90033),i={class:"badge"},s=["textContent"];function u(e,t,n,r,u,c){return(0,a.uX)(),(0,a.CE)("span",i,[(0,a.RG)(e.$slots,"default",{},void 0,!0),null!==e.text?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"badge-inner","data-cy":"badge-text",textContent:(0,o.v_)(e.text)},null,8,s)):(0,a.Q3)("",!0)])}const c=(0,a.pM)({props:{text:{type:[Number,String],default:null}}});var l=n(66262);const d=(0,l.A)(c,[["render",u],["__scopeId","data-v-f4a4a6c2"]]),p=d;var v=n(34264),f=["sm","rg"],m=["default","light","dimmed","danger"];const g={components:{BtnBase:v.Ay,Badge:p},props:{icon:{type:Object,default:null},iconVariant:{type:String,default:"default",validator:function(e){return m.includes(e)}},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},badgeText:{type:[String,Number],default:null},dimmed:Boolean}},h=(0,l.A)(g,[["render",r]]),A=h},24574:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-main",[{extend:e.extend,third:e.third,inline:e.inline,nowrap:e.nowrap,wide:e.wide,"extra-padded":e.extraPadded,"has-icon":!!e.icon}]]}),{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["btn-main-icon",{lg:e.bigIcon}])},null,8,["class"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:""},icon:{type:Object,default:null},extend:Boolean,third:Boolean,inline:Boolean,nowrap:Boolean,wide:Boolean,extraPadded:Boolean,bigIcon:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5f957749"]]),l=c},15320:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-pill",{dense:e.dense,static:e["static"],avatar:e.avatar}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:null},avatar:Boolean,dense:Boolean,static:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-67d90d96"]]),l=c},24528:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(n.to?"RouterLink":"button"),(0,a.v6)(e.$attrs,{class:["button-plain",{extend:n.extend,avatar:n.avatar}],to:n.to}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(n.text),1)]}),!0)]})),_:3},16,["class","to"])}const i={props:{extend:Boolean,text:{type:String,default:null},to:{type:[Object,String],default:null},avatar:Boolean}};var s=n(66262);const u=(0,s.A)(i,[["render",o],["__scopeId","data-v-ea8fa866"]]),c=u},14552:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(u,{class:(0,r.C4)(["btn-text",{"has-icon":!!e.icon}]),disabled:e.disabled},{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:"btn-text-icon"})):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},8,["class","disabled"])}var i=n(24528);const s=(0,a.pM)({name:"BtnText",components:{BtnPlain:i.A},props:{text:{type:String,default:""},icon:{type:Object,default:null},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-656ac1bf"]]),l=c},19442:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r=n(90033),o={class:"input-field-text-wrapper"};function i(e,t,n,i,s,u){var c=(0,a.g2)("ChevronDownIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("InputField");return e.unstyled?((0,a.uX)(),(0,a.Wv)(l,(0,a.v6)({key:0,class:"form-select unstyled"},e.$attrs,{onClick:e.openOptionsModal}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"current-text",{text:e.currentText},(function(){return[(0,a.eW)((0,r.v_)(e.currentText),1)]}),!0),e.hideArrow?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"arrow-icon"}))]})),_:3},16,["onClick"])):((0,a.uX)(),(0,a.Wv)(d,(0,a.v6)({key:1},e.$attrs,{class:"form-select",onClick:e.openOptionsModal}),{after:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"arrow-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,(0,r.v_)(e.currentText),1)]})),_:1},16,["onClick"]))}n(50113),n(2892),n(26099);var s=n(65563),u=n(84754),c=n(24528),l=n(19389),d=n(19298);const p=(0,a.pM)({name:"FormSelect",components:{BtnPlain:c.A,ChevronDownIcon:d.A,InputField:l.A},model:{event:"select"},props:{modelValue:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}},itemTitle:{type:String,default:"text"},defaultText:{type:String,required:!0},accountSelect:Boolean,persistentDefaultText:Boolean,unstyled:Boolean,hideArrow:Boolean},emits:["select","update:modelValue"],setup:function(e,t){var n=t.emit,r=(0,u.U8)(),o=r.openModal,i=(0,a.EW)((function(){var t;return e.persistentDefaultText||!e.modelValue?e.defaultText:null===(t=e.options.find((function(t){var n=t.value;return n===e.modelValue})))||void 0===t?void 0:t[e.itemTitle]}));function c(){o(e.accountSelect?s.E0:s._B,{value:e.modelValue,options:e.options,title:e.defaultText}).then((function(e){n("select",e),n("update:modelValue",e)}))["catch"]((function(){return null}))}return{currentText:i,openOptionsModal:c}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-3ac87742"]]),m=f},75417:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o=n(53751),i=["id","placeholder","value","disabled"];function s(e,t,n,s,u,c){var l=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(l,(0,a.v6)(e.$attrs,{class:["textarea",[e.size,{"auto-height":e.autoHeight}]],readonly:e.readonly,"onUpdate:modelValue":e.handleInput}),(0,a.eX)({default:(0,a.k6)((function(n){var s=n.inputId;return[(0,a.Lk)("textarea",{id:s,ref:"textarea","data-cy":"textarea",class:(0,r.C4)(["textarea-input styled-scrollbar",{resizable:e.resizable&&!e.autoHeight}]),style:(0,r.Tr)({height:e.height}),placeholder:e.placeholder,value:e.modelValue,rows:1,disabled:e.readonly,onKeydown:t[0]||(t[0]=(0,o.jR)((0,o.D$)((function(){return e.handleEnterClick&&e.handleEnterClick.apply(e,arguments)}),["prevent"]),["enter"])),onInput:t[1]||(t[1]=function(t){return e.handleInput(t)}),onBlur:t[2]||(t[2]=function(t){return e.handleInput(t)})},null,46,i)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["class","readonly","onUpdate:modelValue"])}n(74423);var u=n(50953),c=n(19389),l=["xs","sm","rg","md"];const d=(0,a.pM)({components:{InputField:c.A},props:{type:{type:String,default:""},modelValue:{type:String,default:""},placeholder:{type:String,default:""},enterSubmit:Boolean,resizable:{type:Boolean,default:!0},size:{type:String,default:null,validator:function(e){return l.includes(e)}},autoHeight:Boolean,readonly:Boolean},emits:["update:modelValue","submit"],setup:function(e,t){var n=t.emit,r=(0,u.KR)(),o=(0,u.KR)();function i(e){var t=e.target.value;n("update:modelValue",t)}function s(){e.enterSubmit&&n("submit")}return(0,a.sV)((function(){(0,a.wB)((function(){return e.modelValue}),(function(){e.autoHeight&&r.value&&(o.value="auto",(0,a.dY)((function(){var e=r.value,t=e.scrollHeight,n=e.clientHeight,a=n>t?n:t;o.value="".concat(a,"px")})))}),{immediate:!0})})),{textarea:r,height:o,handleInput:i,handleEnterClick:s}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2d4905c2"]]),f=v},56633:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["tab",[e.active,e.exactPath?"exact":"not-exact"]],text:e.text}),null,16,["class","text"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{text:{type:String,required:!0},active:Boolean,exactPath:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-6286b0cb"]]),c=u},90640:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r={class:"tabs"};function o(e,t){return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.RG)(e.$slots,"default",{},void 0,!0)])}var i=n(66262);const s={},u=(0,i.A)(s,[["render",o],["__scopeId","data-v-b4464f30"]]),c=u},55437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>se});var a=n(20641),r=n(90033),o={class:"transaction-details"},i={class:"row payer-id"},s={class:"text-address"},u={class:"row"},c={class:"text-address"};function l(e,t,n,l,d,p){var v=(0,a.g2)("TransactionAssetRows"),f=(0,a.g2)("SwapRates"),m=(0,a.g2)("SwapRoute"),g=(0,a.g2)("TransactionDetailsPoolTokens"),h=(0,a.g2)("Truncate"),A=(0,a.g2)("LinkButton"),k=(0,a.g2)("CopyText"),y=(0,a.g2)("DetailsItem"),b=(0,a.g2)("Avatar"),w=(0,a.g2)("DialogBox"),C=(0,a.g2)("TokenAmount"),x=(0,a.g2)("TransactionDetailsBase"),L=(0,a.g2)("IonContent"),S=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(S,null,{default:(0,a.k6)((function(){return[(0,a.bF)(L,{class:"ion-padding ion-content-bg"},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,[e.transaction&&!e.transaction.incomplete?((0,a.uX)(),(0,a.Wv)(x,{key:0,transaction:e.transaction,amount:e.amount,"amount-total":e.amountTotal,fee:e.transactionFee,"is-error-transaction":e.isErrorTransaction,payload:e.getTransactionPayload(e.transaction),"show-header":!e.isDexAllowance,"hide-amount-total":e.isDex||e.isDexAllowance||e.isMultisig||e.isTransactionAex9(e.transaction),"hide-fiat":e.isTransactionAex9(e.transaction),hash:e.hash,protocol:e.PROTOCOLS.aeternity},(0,a.eX)({tokens:(0,a.k6)((function(){return[(0,a.bF)(v,{assets:e.transactionAssets,error:e.isErrorTransaction,"is-reversed":e.isPool,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg","multiple-rows":""},null,8,["assets","error","is-reversed","protocol"])]})),"additional-content":(0,a.k6)((function(){return[e.isPool||e.isDexAllowance?((0,a.uX)(),(0,a.Wv)(g,{key:0,transaction:e.transaction,tokens:e.transactionAssets,reversed:e.isPool},null,8,["transaction","tokens","reversed"])):(0,a.Q3)("",!0),e.tipUrl?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.tipUrl"),class:"tip-url","data-cy":"tip-url"},{value:(0,a.k6)((function(){return[(0,a.bF)(k,{value:e.tipUrl},{default:(0,a.k6)((function(){return[(0,a.bF)(A,{to:e.tipLink},{default:(0,a.k6)((function(){return[(0,a.bF)(h,{str:e.tipUrl,fixed:""},null,8,["str"])]})),_:1},8,["to"])]})),_:1},8,["value"])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),"multisig-content":(0,a.k6)((function(){return[e.multisigTransactionFeePaidBy?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.feePaidBy"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",i,[(0,a.bF)(b,{address:e.multisigTransactionFeePaidBy,size:"sm"},null,8,["address"]),(0,a.Lk)("div",null,[e.isLocalAccountAddress(e.multisigTransactionFeePaidBy)?((0,a.uX)(),(0,a.Wv)(w,{key:0,class:"dialog-box",dense:"",position:"bottom"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("common.you")),1)]})),_:1})):(0,a.Q3)("",!0),(0,a.bF)(k,{"hide-icon":"",value:e.multisigTransactionFeePaidBy,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",s,(0,r.v_)(e.splitAddress(e.multisigTransactionFeePaidBy)),1)]})),_:1},8,["value","copied-text"])])])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.multisigContractId?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.vaultContractId"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",u,[(0,a.bF)(b,{address:e.multisigContractId,size:"sm"},null,8,["address"]),(0,a.bF)(k,{"hide-icon":"",value:e.multisigContractId,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",c,(0,r.v_)(e.splitAddress(e.multisigContractId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),gas:(0,a.k6)((function(){return[e.gasPrice?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,a.k6)((function(){return[(0,a.bF)(C,{amount:+e.aettosToAe(e.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.gasUsed?((0,a.uX)(),(0,a.Wv)(y,{key:1,value:e.gasUsed,label:e.$t("pages.transactionDetails.gasUsed"),"data-cy":"gas"},null,8,["value","label"])):(0,a.Q3)("",!0)]})),_:2},[e.isSwap?{name:"swap-data",fn:(0,a.k6)((function(){return[(0,a.bF)(f,{transaction:e.transaction},null,8,["transaction"]),(0,a.bF)(m,{transaction:e.transaction},null,8,["transaction"])]})),key:"0"}:void 0]),1032,["transaction","amount","amount-total","fee","is-error-transaction","payload","show-header","hide-amount-total","hide-fiat","hash","protocol"])):(0,a.Q3)("",!0)])]})),_:1})]})),_:1})}var d=n(2327),p=(n(28706),n(50113),n(44114),n(26099),n(27495),n(90906),n(50953)),v=n(75220),f=n(91087),m=n(62759),g=n(65563),h=n(31189),A=n(84754),k=n(90973),y=n(32118),b=n(59755),w=n(58338),C=n(41549),x=n(75518),L=n(74494),S=n(47206),T=n(39893),E=n(20789),I=function(e){return(0,a.Qi)("data-v-42b180dd"),e=e(),(0,a.jt)(),e},_=I((function(){return(0,a.Lk)("span",{class:"price"},"1",-1)}));function W(e,t,n,r,o,i){var s=(0,a.g2)("Tokens"),u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("DetailsItem");return e.rates.length?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-rates",label:e.$t("pages.transactionDetails.rates")},{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.rates,(function(t,n){return(0,a.uX)(),(0,a.CE)("div",{key:n,class:"rate"},[(0,a.Lk)("div",null,[_,(0,a.bF)(s,{tokens:[t.from],"no-icons":""},null,8,["tokens"])]),(0,a.Lk)("div",null,[(0,a.bF)(u,{amount:t.price,protocol:e.PROTOCOLS.aeternity,class:"price","hide-fiat":"","hide-symbol":"","high-precision":""},null,8,["amount","protocol"]),(0,a.bF)(s,{tokens:[t.to],"no-icons":""},null,8,["tokens"])])])})),128))]})),_:1},8,["label"])):(0,a.Q3)("",!0)}n(88431),n(2892);var F=n(95993),D=n(70694),B=n(39953);const P=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A,TokenAmount:B.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=(0,A.Y7)(),n=t.getProtocolAvailableTokens,r=(0,a.EW)((function(){return(0,w.Ng)(e.transaction.tx["function"])||(0,w.wX)(e.transaction.tx["function"])})),o=(0,a.EW)((function(){if(!r.value)return[];var t=(0,w.Ke)((0,F.A)(e.transaction.tx["function"]));if(!t)return[];var a=t(e.transaction,n(g.yv.aeternity)),o=a.tokens;if((null===o||void 0===o?void 0:o.length)<=1)return[];var i=o.every((function(e){return!!e.amount})),s=[Number(o[0].amount),Number(o[1].amount)];return[{from:o[0],to:o[1],price:i?s[1]/s[0]:0},{from:o[1],to:o[0],price:i?s[0]/s[1]:0}]}));return{PROTOCOLS:g.yv,isSwapTx:r,rates:o}}});var M=n(66262);const O=(0,M.A)(P,[["render",W],["__scopeId","data-v-42b180dd"]]),R=O;var N=function(e){return(0,a.Qi)("data-v-17e1d96a"),e=e(),(0,a.jt)(),e},U={class:"swap-steps"},X={key:0,class:"step-fee"},V=N((function(){return(0,a.Lk)("span",{class:"line"},null,-1)})),H=N((function(){return(0,a.Lk)("span",{class:"arrow"},null,-1)}));function $(e,t,n,o,i,s){var u=(0,a.g2)("Tokens"),c=(0,a.g2)("DetailsItem");return e.assetList.length>1?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-route",label:e.$t("pages.transactionDetails.swapRoute")},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",U,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.assetList,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:"swap-steps-item"},[n?((0,a.uX)(),(0,a.CE)("span",X,[V,(0,a.eW)(" "+(0,r.v_)(e.getSwapStepFee(n))+"% "+(0,r.v_)(e.$t("pages.transactionDetails.poolFee"))+" ",1),H])):(0,a.Q3)("",!0),(0,a.bF)(u,{tokens:[t]},null,8,["tokens"])])})),128))])]})),_:1},8,["label"])):(0,a.Q3)("",!0)}var j=n(6682);n(48980),n(74423),n(62062),n(34782),n(13609),n(21699);const K=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=y.C.getAdapter(g.yv.aeternity),n=(0,A.CP)(),r=n.nodeNetworkId,o=(0,A.Y7)(),i=o.getProtocolAvailableTokens,s=(0,a.EW)((function(){return i(g.yv.aeternity)}));function u(e){return(0,F.A)(e)}var c=(0,a.EW)((function(){var n,a=u(e.transaction.tx["function"]);if(!(0,w.Ng)(a)&&!(0,w.Ng)(e.transaction.tx["function"]))return[];var o=(0,w.Ke)(a);if(!o)return[];var i=o(e.transaction,s.value),c=i.tokens,l=e.transaction.tx.arguments.findIndex((function(e){var t=e.type;return"list"===t})),d=null===(n=b.ml[r.value])||void 0===n?void 0:n.wae,p=c.length-1;return l>=0&&e.transaction.tx.arguments[l].value.length>c.length&&(c=[c[0]].concat((0,j.A)(e.transaction.tx.arguments[l].value.slice(1,e.transaction.tx.arguments[l].value.length-1).map((function(e){return s.value[e.value]}))),[c[1]])),c[0].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[1].contractId))?(c[0].isWrappedCoin=!1,c.unshift(Object.assign(Object.assign(Object.assign({},c[0]),t.getDefaultCoin({})),{isWrappedCoin:!1}))):c[p].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[p-1].contractId))&&(c[p].isWrappedCoin=!1,c.push(Object.assign(Object.assign(Object.assign({},c[p]),t.getDefaultCoin({})),{isWrappedCoin:!0}))),c}));function l(e){var t,n;return!!e.contractId&&(null===(n=null===(t=b.ml[r.value])||void 0===t?void 0:t.wae)||void 0===n?void 0:n.includes(e.contractId))}function d(e){var n=c.value[e-1],a=c.value[e];return n.contractId===t.coinContractId||a.contractId===t.coinContractId?"0":l(n)||l(a)?"0.3":"<0.3"}return{assetList:c,getSwapStepFee:d}}}),q=(0,M.A)(K,[["render",$],["__scopeId","data-v-17e1d96a"]]),G=q;function Q(e,t,n,o,i,s){var u=(0,a.g2)("TransactionDetailsPoolTokenRow");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["pool-tokens",{reversed:e.reversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.tokens,(function(t,n){return(0,a.uX)(),(0,a.Wv)(u,{key:n,token:t,tokens:e.tokens,"hide-amount":e.hideAmount,label:e.getLabel(t.isPool)},null,8,["token","tokens","hide-amount","label"])})),128))],2)}var Z=n(46992),Y=n(18665);const z=(0,a.pM)({components:{TransactionDetailsPoolTokenRow:Y.A},props:{transaction:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean,reversed:Boolean},setup:function(e){var t=(0,Z.s9)(),n=t.t;function a(t){var a=b.$y[e.transaction.tx["function"]],r=a===b.xf;return a===b.Op?n("pages.transactionDetails.approveTokenUse"):n(t?r?"pages.transactionDetails.poolTokenReceived":"pages.transactionDetails.poolTokenSpent":r?"pages.transactionDetails.deposited":"pages.transactionDetails.withdrawn")}return{aettosToAe:w.c4,getLabel:a}}}),J=(0,M.A)(z,[["render",Q],["__scopeId","data-v-6d2914ca"]]),ee=J;var te=n(79708),ne=n(59480),ae=n(3260),re=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const oe=(0,a.pM)({components:{TokenAmount:B.A,Avatar:ne.A,DialogBox:te.h,SwapRoute:G,SwapRates:R,TransactionDetailsBase:x.A,TransactionDetailsPoolTokens:ee,TransactionAssetRows:ae.A,DetailsItem:L.A,CopyText:E.A,LinkButton:S.A,Truncate:T.A,IonContent:m.W9,IonPage:m.AO},props:{multisigDashboard:Boolean},setup:function(e){var t=this,n=(0,v.rd)(),r=(0,v.lq)(),o=(0,C.$L)(),i=o.aeActiveNetworkSettings,s=(0,A.ci)({pollOnce:!0}),u=s.activeMultisigAccountId,c=(0,A.oV)(),l=c.activeAccount,m=c.isLocalAccountAddress,x=(0,A.mv)(),L=x.setLoaderVisible,S=(0,A.Y7)(),T=S.getTxAmountTotal,E=r.params.hash,I=r.params.transactionOwner,_=(0,a.EW)((function(){return I||(e.multisigDashboard?u.value:l.value.address)})),W=(0,A._8)({accountAddress:_.value,protocol:g.yv.aeternity}),F=W.transactionsLoaded,D=(0,A.my)({externalAddress:_.value,showDetailedAllowanceInfo:!0}),B=D.setExternalAddress,P=D.setActiveTransaction,M=D.direction,O=D.isErrorTransaction,R=D.isDex,N=D.isDexAllowance,U=D.isMultisig,X=D.outerTxTag,V=D.transactionAssets,H=(0,p.KR)(),$=(0,p.KR)(),j=(0,a.EW)((function(){return H.value?T(H.value,g.NX.received):0})),K=(0,a.EW)((function(){return H.value?T(H.value,M.value):0})),q=(0,a.EW)((function(){return H.value?(0,w.fK)(H.value):""})),G=(0,a.EW)((function(){var e,t;return null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t["function"]})),Q=(0,a.EW)((function(){return(0,w.Ng)(G.value)})),Z=(0,a.EW)((function(){return(0,w.wX)(G.value)})),Y=(0,a.EW)((function(){return/^http[s]*:\/\//.test(q.value)?q.value:"http://".concat(q.value)})),z=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasPrice)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasPrice)})),J=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasUsed)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasUsed)})),ee=(0,a.EW)((function(){var e,t,n;return X.value!==f.vw.PayingForTx?null:null!==(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payerId)&&void 0!==n?n:null})),te=(0,a.EW)((function(){var e,t,n,a,r,o=null!==(e=H.value)&&void 0!==e?e:{},i=o.tx,s=null!==(t=null===i||void 0===i?void 0:i.fee)&&void 0!==t?t:0,u=null!==(r=null===(a=null===(n=null===i||void 0===i?void 0:i.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.fee)&&void 0!==r?r:0;return+(0,w.c4)(s+u)}));return(0,a.sV)((function(){return re(t,void 0,void 0,(0,d.A)().mark((function t(){var a,r,o,s,c,p,v,m,A;return(0,d.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=F.value.find((function(e){return e.hash===E})),s&&!s.incomplete&&!s.claim){t.next=27;break}return c=y.C.getAdapter(g.yv.aeternity),t.prev=3,t.t0=Object,t.t1=Object,t.t2=Object.assign({},s||{}),t.next=9,c.fetchTransactionByHash(E,_.value);case 9:t.t3=t.sent,t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t5={incomplete:!1},s=t.t0.assign.call(t.t0,t.t4,t.t5),t.next=24;break;case 15:return t.prev=15,t.t6=t["catch"](3),t.next=19,null===(a=c.fetchPendingTransactions)||void 0===a?void 0:a.call(c,_.value);case 19:if(p=t.sent,s=null===p||void 0===p?void 0:p.find((function(e){return e.hash===E})),s){t.next=24;break}return n.push({name:k.hN}),t.abrupt("return");case 24:return t.prev=24,L(!1),t.finish(24);case 27:if(!(null===s||void 0===s?void 0:s.tx)){t.next=38;break}if(!e.multisigDashboard){t.next=33;break}return t.next=31,(0,h.mU)((function(){return u.value}));case 31:t.next=35;break;case 33:return t.next=35,(0,h.mU)((function(){return l.value}));case 35:H.value=Object.assign(Object.assign({},s),{transactionOwner:_.value}),B(_.value),P(H.value);case 38:if(X.value!==f.vw.GaMetaTx){t.next=51;break}return t.prev=39,t.next=42,(0,h.x6)("".concat(i.value.nodeUrl,"/v3/accounts/").concat(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gaId));case 42:v=t.sent,m=v.contract_id,A=void 0===m?null:m,$.value=A,t.next=51;break;case 48:t.prev=48,t.t7=t["catch"](39),(0,h.fY)(t.t7);case 51:case"end":return t.stop()}}),t,null,[[3,15,24,27],[39,48]])})))})),(0,a.wB)(H,(function(e){var t=!(e&&!e.incomplete);L(t)}),{immediate:!0,deep:!0}),{AE_SYMBOL:b.kf,PROTOCOLS:g.yv,TX_DIRECTION:g.NX,transaction:H,amount:j,amountTotal:K,isSwap:Q,isPool:Z,isErrorTransaction:O,isDexAllowance:N,isDex:R,isTransactionAex9:w.a3,getTransactionPayload:w.L5,isMultisig:U,tipUrl:q,tipLink:Y,direction:M,hash:E,splitAddress:h.lS,aettosToAe:w.c4,isLocalAccountAddress:m,gasPrice:z,gasUsed:J,multisigTransactionFeePaidBy:ee,multisigContractId:$,transactionFee:te,transactionAssets:V}}}),ie=(0,M.A)(oe,[["render",l],["__scopeId","data-v-9edab714"]]),se=ie},33541:(e,t,n)=>{var a={"./Governance.webp":77282,"./SuperheroDEX.svg":4483,"./dapp-favorite.svg":13839,"./dapp-refresh.svg":17660,"./dapp-share.svg":97952,"./graffiti.svg":32239};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=33541},77282:e=>{"use strict";e.exports="data:image/webp;base64,UklGRigDAABXRUJQVlA4WAoAAAAQAAAAVwAAVwAAQUxQSHgAAAABd2CQbeTgj2Az+Ef5iIjpxZC9Cq5q21aV9RyHAlaAAk4OJwFRGISA3xcB/9YMbifILkBE/ycACouvCS5rAFxMtAHMTDaCh86Ujgm7a6XiVWn4Voo/Sgf7G/CrtHwrxTel1lkpU1HyeOpMYKyTAPYqVQDmX4VD1wFWUDggigIAADARAJ0BKlgAWAA+kUSaSSWkIqEo+zpwsBIJQBhsVy/IClNbABuDPPs8//fAN4v+2ZtCOwDubsTWTIsW5DOH1edlN3m4okt0XnTvLg2tZeTXVoXS9CFosGJEnEvmSF4vJcE9TWG8QUvaXKIoRY5y1Jrh0tj7kiXITtl1rXlWIt7IbNsqgGVwbx3We0DCtaEJC0YAAP7jAUM//SwiXfr++dv6Dv+cB/S0dKuHOanIRzHO/mTwsIZwRLmifd+P25UFfyVef5Vj+Bmd7x9cAn8QQGS1nojoqVBcP5QAu1BagL4a5zv57fhMN2yN0V+ywbWQUp5NZk/P+0nHq+yRKNNjWpKG9KNNjW9te25Tn/k02N5bfPrfkY0PLf5yYvzCCib4UL/yxjrWu5/0I5HPAOyrr+vS5YJmITL14jI8+QLG+aneGBDe6oTgzFXiO/VTMJMovx/5PFzuYLJJumF36uDcyW95eLaNUgfiNo4aYuPRkWK9YtJoaKekic3laKdKRifelKcOXsDdvuHUK/qTyu+lLYNQl/mWcmDYhQpIXn294HYARV4dXcT43JhwIU9DDk+keWv0Kh8Mq8z/aY5dsRNY3TITXlWxTnyjKCz7dAyyaWjYNodxsVZONE74qzjbIhDwnXXWscOrd2aAdirMBVe0/VNC10SHnsLZGmDCiqWMLuC7zaeAhaZ03zR8h9ua9vAq7w/P4pqqANRv/gMr1YSLSUpQ7af6aEnUt29XoMzy3egTDLqDTi7LFBVxs4uxTGK13SIR6dEDFnDoshy7O6l1T8RF2fBZ0dE/TdQi4cFX//x6d0MJs284ctzjaZeurVhx2VRgmUutbCffZJjpzx/S3ZB2bBYyfyb+dQAA"},42634:()=>{},15340:()=>{},79838:()=>{},71281:()=>{},12717:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Mint":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"},{"name":"value","type":"int"}],"name":"mint","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]')},10854:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"Pair","typedefs":[]}},{"namespace":{"name":"Set","typedefs":[{"name":"set","typedef":{"record":[{"name":"to_map","type":{"map":["\'a","unit"]}}]},"vars":[{"name":"\'a"}]}]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"TxProposed":["hash","address","int"]},{"TxConfirmed":["hash","address"]},{"TxRefused":["hash","address"]},{"TxConsensusReached":["hash"]},{"TxConsensusLost":["hash"]},{"TxRevoked":["hash","address"]},{"TxAuthorized":["hash"]},{"FeeProtectionDisabled":["address"]}]},"functions":[{"arguments":[{"name":"confirmations_required","type":"int"},{"name":"signers","type":{"Set.set":["address"]}}],"name":"init","payable":false,"returns":"SimpleGAMultiSig.state","stateful":true},{"arguments":[{"name":"nonce","type":"int"}],"name":"authorize","payable":false,"returns":"bool","stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"},{"name":"ttl","type":"Chain.ttl"}],"name":"propose","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"confirm","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"refuse","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"revoke","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"fee_protection","type":"SimpleGAMultiSig.fee_protection"}],"name":"update_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"disable_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_version","payable":false,"returns":"string","stateful":false},{"arguments":[],"name":"is_fee_protection_enabled","payable":false,"returns":"bool","stateful":false},{"arguments":[],"name":"get_fee_protection","payable":false,"returns":{"option":["SimpleGAMultiSig.fee_protection"]},"stateful":false},{"arguments":[],"name":"get_nonce","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_signers","payable":false,"returns":{"list":["address"]},"stateful":false},{"arguments":[],"name":"get_consensus_info","payable":false,"returns":"SimpleGAMultiSig.consensus_info","stateful":false}],"kind":"contract_main","name":"SimpleGAMultiSig","payable":false,"state":{"record":[{"name":"signers","type":{"Set.set":["address"]}},{"name":"confirmations_required","type":"int"},{"name":"current_tx","type":{"option":["SimpleGAMultiSig.transaction"]}},{"name":"fee_protection","type":{"option":["SimpleGAMultiSig.fee_protection"]}},{"name":"fee_protection_enabled","type":"bool"},{"name":"nonce","type":"int"},{"name":"version","type":"string"}]},"typedefs":[{"name":"transaction","typedef":{"record":[{"name":"tx_hash","type":"hash"},{"name":"expires_at","type":"int"},{"name":"proposed_by","type":"address"},{"name":"confirmed_by","type":{"Set.set":["address"]}},{"name":"refused_by","type":{"Set.set":["address"]}}]},"vars":[]},{"name":"consensus_info","typedef":{"record":[{"name":"tx_hash","type":{"option":["hash"]}},{"name":"confirmations_required","type":"int"},{"name":"confirmed_by","type":{"list":["address"]}},{"name":"refused_by","type":{"list":["address"]}},{"name":"has_consensus","type":"bool"},{"name":"expiration_height","type":"int"},{"name":"expired","type":"bool"},{"name":"proposed_by","type":{"option":["address"]}}]},"vars":[]},{"name":"fee_protection","typedef":{"record":[{"name":"max_fee","type":"int"},{"name":"max_gasprice","type":"int"}]},"vars":[]}]}}]')}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(l=0;l=o)&&Object.keys(n.O).every((e=>n.O[e](a[u])))?a.splice(u--,1):(s=!1,o0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&a;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",618:"eth-transaction-details",625:"locale-cn",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",838:"btc-transaction-details",875:"btc-transfer-send-modal",986:"eth-account-details-tokens",996:"chunk-common"}[e]+"."+{201:"e377462a",341:"51f28b92",375:"70325c7c",386:"bf2a1151",395:"c185f8db",522:"9c82af31",551:"25bbd180",575:"e9f47237",618:"000e6b28",625:"2f3367b5",640:"6d95d4d9",732:"c1104d81",838:"953e3017",875:"d39f4654",986:"f3a3f584",996:"9817d459"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",875:"btc-transfer-send-modal"}[e]+"."+{201:"bd692696",341:"927fff82",375:"80db357d",386:"13d9e4cd",395:"8a72039a",522:"220d3489",551:"66c17c4c",575:"c3d856bc",640:"80db357d",732:"80db357d",875:"c23d0474"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="superhero-wallet:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l{s.onerror=s.onload=null,clearTimeout(v);var r=e[a];if(delete e[a],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(n))),t)return t(n)},v=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{n.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,a,r,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",n.nc&&(i.nonce=n.nc);var s=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");u.name="ChunkLoadError",u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}};return i.onerror=i.onload=s,i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var n=document.getElementsByTagName("link"),a=0;anew Promise(((r,o)=>{var i=n.miniCssF(a),s=n.p+i;if(t(i,s))return r();e(a,s,null,r,o)})),r={887:0};n.f.miniCss=(e,t)=>{var n={201:1,341:1,375:1,386:1,395:1,522:1,551:1,575:1,640:1,732:1,875:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=a(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={887:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),s=new Error,u=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}};n.l(i,u,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,s,u]=a,c=0;if(i.some((t=>0!==e[t]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(u)var l=u(n)}for(t&&t(a);cn(78904)));a=n.O(a)})(); \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000..e69de29bb